/* ITFreeTools design system v2. Presentation only: existing IDs, routes and JS hooks remain intact. */
:root{color-scheme:light;--itft-brand-navy:#0c2740;--itft-brand-navy-deep:#071b2d;--itft-brand-teal:#087f75;--itft-brand-teal-dark:#06675f;--itft-brand-teal-bright:#24b6a6;--itft-brand-gold:#e7aa39;--itft-brand-ink:#142c3d;--itft-brand-muted:#5c7080;--itft-brand-border:#d8e2e7;--itft-brand-border-strong:#b9cad2;--itft-brand-surface:#fff;--itft-brand-surface-soft:#f5f8f9;--itft-brand-bg:#f1f5f6;--itft-brand-success:#176b52;--itft-brand-warning:#8a5706;--itft-brand-danger:#a33a32;--itft-brand-radius-sm:8px;--itft-brand-radius:14px;--itft-brand-radius-lg:20px;--itft-brand-shadow-sm:0 2px 8px rgba(12,39,64,.055);--itft-brand-shadow:0 12px 32px rgba(12,39,64,.085);--itft-brand-shadow-lg:0 24px 60px rgba(7,27,45,.14);--itft-space-1:4px;--itft-space-2:8px;--itft-space-3:12px;--itft-space-4:16px;--itft-space-5:20px;--itft-space-6:24px;--itft-space-8:32px;--itft-space-10:40px;--itft-space-12:48px;--itft-space-16:64px;--itft-content:1180px;--itft-font:Inter,Aptos,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--itft-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace}
html{scroll-behavior:smooth;scroll-padding-top:86px;text-size-adjust:100%}
body.has-itft-shell{min-width:0;color:var(--itft-brand-ink);background:var(--itft-brand-bg);font-family:var(--itft-font);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.has-itft-shell ::selection{color:#fff;background:var(--itft-brand-teal)}
body.has-itft-shell :where(h1,h2,h3,h4,h5,h6){margin-block-start:0;color:var(--itft-brand-navy);font-family:var(--itft-font);font-weight:760;letter-spacing:-.025em;text-wrap:balance}
body.has-itft-shell h1{font-size:clamp(2rem,4vw,3.45rem);line-height:1.06}
body.has-itft-shell h2{font-size:clamp(1.45rem,2.5vw,2.2rem);line-height:1.16}
body.has-itft-shell h3{font-size:1.08rem;line-height:1.35}
body.has-itft-shell :where(p,li){text-wrap:pretty}
body.has-itft-shell :where(a,button,summary,input,select,textarea){-webkit-tap-highlight-color:transparent}
.itft-skip-link{position:fixed;top:8px;left:8px;z-index:10050;padding:10px 14px;color:#fff;background:var(--itft-brand-teal-dark);border-radius:8px;box-shadow:var(--itft-brand-shadow);font-size:.82rem;font-weight:780;text-decoration:none;transform:translateY(-150%)}
.itft-skip-link:focus{transform:translateY(0);outline:3px solid #fff;outline-offset:2px}

/* Shared public header */
.itft-shell-header{background:rgba(7,27,45,.98);border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 6px 22px rgba(7,27,45,.16);backdrop-filter:blur(12px)}
.itft-shell-header__inner{width:min(var(--itft-content),calc(100% - 32px));min-height:70px;gap:var(--itft-space-5)}
.itft-shell-brand{gap:10px;letter-spacing:-.015em}
.itft-shell-brand__mark{width:38px;height:38px;color:#fff;background:var(--itft-brand-teal);border:1px solid rgba(255,255,255,.2);border-radius:10px;box-shadow:none}
.itft-shell-brand__text>span{font-size:.94rem;font-weight:820}
.itft-shell-brand__text small{color:#8fd6cd;letter-spacing:.12em}
.itft-shell-nav{gap:2px}
.itft-shell-nav a{min-height:40px;display:inline-flex;align-items:center;padding:8px 11px;color:#cbd9e1!important;border:1px solid transparent;border-radius:9px;font-size:.8rem;font-weight:700;transition:color 160ms ease,background-color 160ms ease,border-color 160ms ease}
.itft-shell-nav a:hover,.itft-shell-nav a:focus-visible{color:#fff!important;background:rgba(255,255,255,.08)}
.itft-shell-nav a[aria-current=page]{color:#fff!important;background:rgba(36,182,166,.15);border-color:rgba(98,219,204,.25)}
.itft-export summary{min-height:40px;padding:8px 13px;color:#312305;background:#f0bb58;border:1px solid rgba(255,255,255,.25);border-radius:9px;box-shadow:none}
.itft-export summary:hover{background:#f6c86f}
.itft-export__menu{top:calc(100% + 9px);padding:12px;border-radius:var(--itft-brand-radius);box-shadow:var(--itft-brand-shadow-lg)}
.itft-export__button{min-height:42px;background:var(--itft-brand-surface-soft);border-radius:var(--itft-brand-radius-sm)}

/* Page identity */
.itft-page-context{background:var(--itft-brand-navy);border-bottom:3px solid var(--itft-brand-teal)}
.itft-page-context__inner{width:min(var(--itft-content),calc(100% - 32px));min-height:108px;padding-block:22px}
.itft-page-context h1{max-width:900px;margin:0;color:#fff;font-size:clamp(1.62rem,3.2vw,2.45rem);line-height:1.12}
.itft-page-context p{margin:6px 0 0;color:#bcd0dc;font-size:.9rem}
.seo-breadcrumb{width:min(var(--itft-content),calc(100% - 32px));margin:16px auto 0;color:var(--itft-brand-muted);font-size:.78rem}
.seo-breadcrumb a{color:var(--itft-brand-teal-dark);font-weight:750;text-underline-offset:3px}
.public-purpose-note{width:min(var(--itft-content),calc(100% - 32px));margin:10px auto 24px;padding:13px 16px;color:#36505f;background:#fff;border:1px solid var(--itft-brand-border);border-left:4px solid var(--itft-brand-teal);border-radius:10px;box-shadow:var(--itft-brand-shadow-sm);font-size:.82rem;line-height:1.55}

/* Layout and surfaces */
body.has-itft-shell :where(.shell,.wrap,main){width:min(var(--itft-content),calc(100% - 32px))}
body.has-itft-shell :where(.panel,.form-card,.tool-card,.card,.guide,.content-card,.source-section,.content-section){background:var(--itft-brand-surface);border:1px solid var(--itft-brand-border);border-radius:var(--itft-brand-radius);box-shadow:var(--itft-brand-shadow-sm)}
body.has-itft-shell :where(.panel,.form-card,.content-card,.source-section,.content-section){padding:clamp(20px,2.6vw,30px)}
body.has-itft-shell :where(.panel,.form-card,.tool-card,.card){transition:border-color 160ms ease,box-shadow 160ms ease,transform 160ms ease}
body.has-itft-shell :where(.panel,.form-card){margin-block:var(--itft-space-5)}
body.has-itft-shell :where(.section-heading,.section-head,.section-row){gap:var(--itft-space-4);margin-bottom:var(--itft-space-6)}
body.has-itft-shell :where(.section-heading,.section-head) h2{margin-bottom:0}
body.has-itft-shell :where(.eyebrow,.tool-category){display:block;margin-bottom:7px;color:var(--itft-brand-teal-dark);font-size:.68rem;font-weight:850;letter-spacing:.14em;line-height:1.45;text-transform:uppercase}
body.has-itft-shell .step{width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 auto;color:#fff;background:var(--itft-brand-teal);border-radius:9px;font-size:.76rem;font-weight:850}
body.itft-pint-ae-validator .section-heading>div:has(.step){grid-template-columns:auto 1fr;align-items:center;column-gap:11px}

/* Forms */
body.has-itft-shell :where(label,legend){color:#294252;font-size:.84rem;font-weight:720}
body.has-itft-shell :where(input,select,textarea){width:100%;min-height:46px;margin-top:6px;padding:10px 12px;color:var(--itft-brand-ink);background:#fff;border:1px solid var(--itft-brand-border-strong);border-radius:9px;box-shadow:0 1px 1px rgba(12,39,64,.025);font:500 .9rem/1.35 var(--itft-font);transition:border-color 140ms ease,box-shadow 140ms ease,background-color 140ms ease}
body.has-itft-shell :where(input,textarea)::placeholder{color:#8999a4;opacity:1}
body.has-itft-shell textarea{min-height:94px;resize:vertical}
body.has-itft-shell :where(input,select,textarea):hover:not(:disabled):not([readonly]){border-color:#92aab5}
body.has-itft-shell :where(input,select,textarea):focus,body.has-itft-shell :where(input,select,textarea):focus-visible{border-color:var(--itft-brand-teal)!important;outline:none!important;box-shadow:0 0 0 3px rgba(8,127,117,.14)!important}
body.has-itft-shell :where(input,textarea)[readonly]{color:#526976;background:#eef3f5}
body.has-itft-shell :where(input[type=checkbox],input[type=radio]){width:18px;min-width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;accent-color:var(--itft-brand-teal);box-shadow:none}
body.has-itft-shell :where(.form-grid,.grid,.filters){gap:16px}
body.has-itft-shell :where(.check,.radio,.check-row,.inline-check){gap:9px}
body.has-itft-shell :where(.check.boxed,.inline-check){padding:11px 13px;background:var(--itft-brand-surface-soft);border:1px solid var(--itft-brand-border);border-radius:9px}
body.has-itft-shell :where(small,.help,.hint,.optional){color:var(--itft-brand-muted);font-size:.76rem;font-weight:480;line-height:1.5}

/* Buttons */
body.has-itft-shell :where(button,.btn,.button,.small):not(.remove):not(.remove-line):not(.close):not(.menu-button):not(.nav-button):not(.filter){min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:9px;box-shadow:none;font-size:.82rem;font-weight:780;line-height:1.25;transition:color 150ms ease,background-color 150ms ease,border-color 150ms ease,transform 150ms ease,box-shadow 150ms ease}
body.has-itft-shell :where(.primary,button[type=submit]):not(.remove):not(.remove-line):not(.close){color:#fff;background:var(--itft-brand-teal);border-color:var(--itft-brand-teal)}
body.has-itft-shell :where(.primary,button[type=submit]):not(.remove):not(.remove-line):not(.close):hover:not(:disabled){background:var(--itft-brand-teal-dark);border-color:var(--itft-brand-teal-dark);box-shadow:0 7px 16px rgba(8,127,117,.16);transform:translateY(-1px)}
body.has-itft-shell :where(.secondary,.small,.btn.secondary){color:var(--itft-brand-navy);background:#fff;border-color:var(--itft-brand-border-strong)}
body.has-itft-shell :where(.secondary,.small,.btn.secondary):hover:not(:disabled){color:var(--itft-brand-teal-dark);background:#edf7f5;border-color:#8ec9c1}
body.has-itft-shell :where(button,.btn,.button):active:not(:disabled){transform:translateY(0)}
body.has-itft-shell :where(button,.btn,.button):disabled{color:#7f909a;background:#e5ebee;border-color:#d2dce1;cursor:not-allowed;opacity:.78}
body.has-itft-shell :where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid rgba(36,182,166,.32);outline-offset:2px}

/* Tables */
body.has-itft-shell :where(.table-wrap,.table-scroll,.table-container){background:#fff;border:1px solid var(--itft-brand-border);border-radius:11px;box-shadow:inset 0 1px 0 rgba(12,39,64,.02)}
body.has-itft-shell table{border-collapse:separate;border-spacing:0}
body.has-itft-shell table th{padding:11px 10px;color:#fff;background:var(--itft-brand-navy);border-color:rgba(255,255,255,.08);font-size:.7rem;font-weight:800;letter-spacing:.025em;line-height:1.35;text-transform:none}
body.has-itft-shell table td{padding:10px;border-color:#e2e9ec;vertical-align:top}
body.has-itft-shell table tbody tr:nth-child(even){background:#f8fafb}
body.has-itft-shell table tbody tr:hover{background:#eff7f6}
body.has-itft-shell :where(.line-table input,.line-table select,.line-table textarea){min-height:39px;padding:7px 8px;font-size:.78rem}
body.has-itft-shell :where(.remove,.remove-line,.danger.remove-line){min-width:40px;min-height:40px;color:var(--itft-brand-danger);background:#fff5f4;border:1px solid #e8b9b5;border-radius:8px}
body.has-itft-shell :where(.remove,.remove-line,.danger.remove-line):hover{color:#fff;background:var(--itft-brand-danger);border-color:var(--itft-brand-danger)}

/* Feedback and disclosure */
body.has-itft-shell :where(.badge,.tool-badge){min-height:30px;display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border:1px solid transparent;border-radius:999px;font-size:.68rem;font-weight:780;line-height:1.35}
body.has-itft-shell :where(.badge.neutral,.tool-badge){color:#35605d;background:#eaf5f3;border-color:#cde6e2}
body.has-itft-shell .badge.warn{color:#76500c;background:#fff5dc;border-color:#edd8a5}
body.has-itft-shell :where(.notice,.demo-note,.sample-note,.error-summary,.rcm){padding:13px 15px;border-radius:9px;box-shadow:none;font-size:.82rem;line-height:1.55}
body.has-itft-shell :where(.notice.neutral,.demo-note,.sample-note){color:#315b5d;background:#edf7f6;border:1px solid #c8e4df}
body.has-itft-shell .notice.warning{color:#704707;background:#fff7e5;border:1px solid #efd79d}
body.has-itft-shell :where(.notice.error,.error-summary){color:#7f2d27;background:#fff2f0;border:1px solid #ebb9b4}
body.has-itft-shell details{background:#fff;border:1px solid var(--itft-brand-border);border-radius:10px}
body.has-itft-shell details>summary{min-height:44px;display:flex;align-items:center;padding:10px 13px;color:var(--itft-brand-navy);cursor:pointer;font-size:.83rem;font-weight:780}
body.has-itft-shell details[open]>summary{color:var(--itft-brand-teal-dark);background:#eef7f6;border-bottom:1px solid var(--itft-brand-border)}

/* Portal */
body.itft-portal-page>.site-header{overflow:hidden;background:var(--itft-brand-navy-deep)}
body.itft-portal-page>.site-header::before{background:radial-gradient(circle at 82% 26%,rgba(36,182,166,.13),transparent 34%)}
body.itft-portal-page .hero{min-height:590px;padding-block:76px 88px;gap:clamp(42px,7vw,84px)}
body.itft-portal-page .hero h1{max-width:760px;color:#fff;font-family:var(--itft-font);font-size:clamp(2.65rem,5.3vw,4.8rem);font-weight:760;line-height:1.02;letter-spacing:-.052em}
body.itft-portal-page .hero h1 em{color:#76d1c5;font-style:normal;font-weight:inherit}
body.itft-portal-page .hero-lead{max-width:660px;color:#b9cbd5;line-height:1.7}
body.itft-portal-page .hero .button.primary{background:var(--itft-brand-teal)}
body.itft-portal-page .hero .button.ghost{color:#e5eef2;background:transparent;border-color:rgba(255,255,255,.24)}
body.itft-portal-page .main-card{background:#112f49;border-color:rgba(255,255,255,.13);box-shadow:var(--itft-brand-shadow-lg)}
body.itft-portal-page .orbit{border-color:rgba(117,209,197,.14)}
body.itft-portal-page .float-card{background:rgba(17,47,73,.94)}
body.itft-portal-page .tools-section,body.itft-portal-page .about-section{padding-block:88px}
body.itft-portal-page .section-heading{align-items:end}
body.itft-portal-page :where(.section-heading h2,.principles-copy h2,.about-copy h2,.disclaimer-heading h2){font-family:var(--itft-font);font-weight:760}
body.itft-portal-page .tool-controls{margin:36px 0 24px}
body.itft-portal-page .search input{height:48px;padding-left:44px;background:#fff}
body.itft-portal-page .search span:first-child{top:9px;color:#6f818d}
body.itft-portal-page .filter{min-height:42px;padding:8px 14px;color:#506775;background:#fff;border:1px solid var(--itft-brand-border);border-radius:9px;font-size:.76rem;font-weight:740}
body.itft-portal-page .filter:hover,body.itft-portal-page .filter.active{color:#fff;background:var(--itft-brand-navy);border-color:var(--itft-brand-navy)}
body.itft-portal-page .tools-grid{gap:20px}
body.itft-portal-page .tool-card{min-height:402px;padding:clamp(24px,3vw,30px);border-top:4px solid #d7e3e7}
body.itft-portal-page .tool-card:hover{border-color:#b6d9d4;border-top-color:var(--itft-brand-teal);box-shadow:var(--itft-brand-shadow);transform:translateY(-3px)}
body.itft-portal-page .tool-icon{width:52px;height:52px;background:var(--itft-brand-teal);border-radius:13px;box-shadow:none}
body.itft-portal-page .tool-icon.gold{background:#ba7b18}
body.itft-portal-page .tool-icon.green{background:#237b63}
body.itft-portal-page .tool-icon.violet{background:#6555a3}
body.itft-portal-page .tool-card h3{margin:0;padding:0;color:var(--itft-brand-navy);border:0;font-size:clamp(1.3rem,2.1vw,1.65rem);font-weight:790}
body.itft-portal-page .tool-description{color:var(--itft-brand-muted);line-height:1.7}
body.itft-portal-page .card-link{min-height:46px;margin-top:auto;padding:12px 14px;color:#fff;background:var(--itft-brand-teal);border:0;border-radius:10px}
body.itft-portal-page .card-link:hover{background:var(--itft-brand-teal-dark)}
body.itft-portal-page .card-link span{width:28px;height:28px;background:rgba(7,27,45,.42)}
body.itft-portal-page :where(.principles-section,.disclaimer-section){background:var(--itft-brand-navy)}
body.itft-portal-page .about-card{padding:clamp(28px,5vw,54px);background:#e9f2f1;border:1px solid #d5e5e2;border-radius:var(--itft-brand-radius-lg)}
body.itft-portal-page .disclaimer-grid article{background:rgba(255,255,255,.045);border-radius:12px}
body.itft-portal-page .disclaimer-callout{background:#fff3d2;border:1px solid #e7cc88;border-radius:10px}

/* Office suite */
body.itft-office-tools .layout{width:min(var(--itft-content),calc(100% - 32px));gap:22px;margin:0 auto;padding:0;background:transparent}
body.itft-office-tools .sidebar{top:92px;padding:18px 14px;background:#fff;border:1px solid var(--itft-brand-border);border-radius:var(--itft-brand-radius);box-shadow:var(--itft-brand-shadow-sm)}
body.itft-office-tools .sidebar h2{padding:0 8px 10px;color:var(--itft-brand-muted);font-size:.67rem;letter-spacing:.13em;text-transform:uppercase}
body.itft-office-tools .nav-button{min-height:44px;margin:3px 0;padding:9px 10px;color:#425968;background:transparent;border:1px solid transparent;border-radius:9px;font-size:.82rem;font-weight:720;text-align:left}
body.itft-office-tools .nav-button:hover{color:var(--itft-brand-teal-dark);background:#eef7f6}
body.itft-office-tools .nav-button.active{color:#fff;background:var(--itft-brand-teal);border-color:var(--itft-brand-teal)}
body.itft-office-tools .nav-icon{width:25px;display:inline-grid;place-items:center}
body.itft-office-tools .content{min-width:0;padding:0}
body.itft-office-tools .tool-section>.section-head{padding:5px 0 2px}
body.itft-office-tools .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.itft-office-tools .tool-card{min-height:0;padding:22px}
body.itft-office-tools .tool-card:hover{border-color:#bed6d3;box-shadow:0 8px 24px rgba(12,39,64,.075)}
body.itft-office-tools .tool-title h3{padding-left:0;border:0;font-size:1.08rem}
body.itft-office-tools .tool-number{width:31px;height:31px;background:var(--itft-brand-teal);border-radius:8px}
body.itft-office-tools .metric{background:var(--itft-brand-surface-soft);border:1px solid var(--itft-brand-border);border-radius:9px}

/* Invoice and validator applications */
body.itft-vat-tax-invoice .hero,body.itft-ai-tools-directory .hero{margin-bottom:24px;padding:clamp(24px,4vw,42px);background:#e9f3f2;border:1px solid #d1e5e2;border-radius:var(--itft-brand-radius-lg)}
body.itft-vat-tax-invoice .hero h1,body.itft-ai-tools-directory .hero h1{color:var(--itft-brand-navy)}
body.itft-vat-tax-invoice .form-card{box-shadow:var(--itft-brand-shadow-sm)}
body.itft-vat-tax-invoice .entry{padding:14px;background:var(--itft-brand-surface-soft);border:1px solid var(--itft-brand-border);border-radius:10px}
body.itft-vat-tax-invoice :where(.totals,.invoice-totals),body.itft-india-gst-invoice .preview-summary,body.itft-pint-ae-validator .preview-totals{background:#f3f7f8;border:1px solid var(--itft-brand-border);border-radius:10px}
body.itft-vat-tax-invoice .sheet,body.itft-india-gst-invoice .invoice-sheet,body.itft-pint-ae-validator .invoice-preview{background:#fff;border:1px solid #cad7dd;border-radius:10px;box-shadow:0 14px 34px rgba(12,39,64,.08)}
body.itft-india-gst-invoice .legal-banner,body.itft-pint-ae-validator .legal-banner{color:#624209;background:#fff4d8;border:1px solid #ead39b;border-left:4px solid var(--itft-brand-gold);border-radius:10px;box-shadow:none}
body.itft-india-gst-invoice .legal-banner strong,body.itft-pint-ae-validator .legal-banner strong{color:#4c3305}
body.itft-india-gst-invoice .status-strip article,body.itft-pint-ae-validator .status-grid>div,body.itft-pint-ae-validator .corner-list>div,body.itft-pint-ae-validator .level-grid>div{padding:15px;background:#fff;border:1px solid var(--itft-brand-border);border-radius:10px;box-shadow:var(--itft-brand-shadow-sm)}
body.itft-india-gst-invoice .total-tile,body.itft-pint-ae-validator .totals-preview>div{padding:14px;color:#fff;background:var(--itft-brand-navy);border-radius:10px}
body.itft-pint-ae-validator .conditional-grid details{overflow:hidden}
body.itft-pint-ae-validator .conditional-grid details>:not(summary){margin-inline:13px}
body.itft-pint-ae-validator .locked-values>div{background:#f2f6f7;border:1px solid var(--itft-brand-border);border-radius:9px}
body.itft-pint-ae-validator code,body.itft-pint-ae-validator .xml-output,body.itft-office-tools .code-output{font-family:var(--itft-mono)}
body.itft-pint-ae-validator .xml-output,body.itft-office-tools .code-output{color:#d8eee9;background:#0a2235;border:1px solid #183d55;border-radius:9px}

/* AI directory */
body.itft-ai-tools-directory .filters{padding:18px;background:#fff;border:1px solid var(--itft-brand-border);border-radius:var(--itft-brand-radius);box-shadow:var(--itft-brand-shadow-sm)}
body.itft-ai-tools-directory .tool-grid{gap:18px}
body.itft-ai-tools-directory .tool-card{padding:22px}
body.itft-ai-tools-directory .tool-card:hover{border-color:#b7d6d2;box-shadow:var(--itft-brand-shadow);transform:translateY(-2px)}
body.itft-ai-tools-directory .tool-card h3{margin:0;padding:0;border:0}
body.itft-ai-tools-directory .price-box{background:#f1f7f6;border:1px solid #d4e6e3;border-radius:10px}
body.itft-ai-tools-directory .modal{background:rgba(7,27,45,.72);backdrop-filter:blur(5px)}
body.itft-ai-tools-directory .dialog{border:1px solid rgba(255,255,255,.2);border-radius:var(--itft-brand-radius-lg);box-shadow:var(--itft-brand-shadow-lg);animation:itft-dialog-in 180ms ease-out}
body.itft-ai-tools-directory .dialog-head{background:var(--itft-brand-navy)}
body.itft-ai-tools-directory .close{min-width:42px;min-height:42px;border-radius:9px}
@keyframes itft-dialog-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Footer */
.itft-shell-footer{margin-top:64px;padding:34px max(18px,calc((100% - var(--itft-content))/2));color:#cbd9e1;background:var(--itft-brand-navy-deep);border-top:3px solid var(--itft-brand-teal);font-size:.8rem}
.itft-shell-footer__title{color:#fff}
.itft-shell-footer__bottom{color:#91a7b5}

@media(max-width:1050px){.itft-shell-header__inner{gap:11px}.itft-shell-nav a{padding-inline:8px;font-size:.75rem}body.itft-office-tools .layout{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:900px){
 .itft-shell-header__inner{width:min(100% - 24px,var(--itft-content));min-height:64px}
 .itft-shell-nav{scroll-snap-type:x proximity;overscroll-behavior-inline:contain}.itft-shell-nav a{scroll-snap-align:start}
 .itft-page-context__inner,.seo-breadcrumb,.public-purpose-note,body.has-itft-shell :where(.shell,.wrap,main),body.itft-office-tools .layout{width:min(100% - 24px,var(--itft-content))}
 body.itft-portal-page .hero{min-height:auto;padding-block:64px 72px}
 body.itft-office-tools .layout{display:block}
 body.itft-office-tools .sidebar{position:relative;top:auto;display:flex;gap:6px;margin-bottom:20px;padding:9px;overflow-x:auto;scrollbar-width:thin}
 body.itft-office-tools .sidebar h2{display:none}body.itft-office-tools .nav-button{flex:0 0 auto;margin:0;white-space:nowrap}
}
@media(max-width:700px){
 html{scroll-padding-top:122px}body.has-itft-shell{font-size:14px}
 .itft-shell-header__inner{min-height:auto;padding-block:9px;flex-wrap:wrap}.itft-shell-brand{flex:1 1 auto}.itft-shell-brand__mark{width:34px;height:34px}
 .itft-shell-nav{order:3;flex-basis:100%;margin:0;padding-top:2px}.itft-shell-nav a{min-height:40px}
 .itft-page-context__inner{min-height:96px;padding-block:18px}.public-purpose-note{margin-bottom:18px}
 body.has-itft-shell :where(.panel,.form-card,.content-card,.source-section,.content-section){padding:18px 14px}
 body.has-itft-shell :where(.section-heading,.section-head){margin-bottom:18px}
 body.has-itft-shell :where(.action-row,.actions,.toolbar,.result-bar)>:where(button,.btn,.button,a){width:100%}
 body.itft-portal-page .hero{padding-block:52px 60px}body.itft-portal-page .hero h1{font-size:clamp(2.35rem,12vw,3.5rem)}
 body.itft-portal-page .tools-section,body.itft-portal-page .about-section{padding-block:68px}
 body.itft-portal-page .tool-controls{align-items:stretch}body.itft-portal-page .filter-buttons{padding-bottom:5px}body.itft-portal-page .tool-card{min-height:0}
 body.itft-office-tools .tool-grid{grid-template-columns:minmax(0,1fr)}body.itft-office-tools .tool-card{padding:18px 14px}
 .itft-shell-footer{margin-top:48px;padding-block:28px}
}
@media(max-width:420px){
 .itft-shell-header__inner,.itft-page-context__inner,.seo-breadcrumb,.public-purpose-note,body.has-itft-shell :where(.shell,.wrap,main),body.itft-office-tools .layout{width:min(100% - 20px,var(--itft-content))}
 .itft-shell-brand__text>span{font-size:.78rem}.itft-export summary{padding-inline:9px;font-size:.76rem}body.itft-portal-page .hero-actions{gap:9px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media print{body.has-itft-shell{color:#111;background:#fff}body.has-itft-shell :where(.panel,.form-card,.card,.invoice-sheet,.sheet,.invoice-preview){box-shadow:none!important}}
