/* 1. Design tokens — change these to customise the whole website. */
:root{color-scheme:light;--bg:#f7f8fa;--surface:#fff;--subtle:#f2f4f7;--text:#20242c;--muted:#626a78;--border:#e0e4e9;--accent:#354e72;--accent-hover:#263e60;--on-accent:#fff;--tint:#e9eef5;--shadow:0 12px 36px #18233313,0 2px 8px #1823330a;--radius:14px;--max:1160px;--header:72px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
:root[data-theme=dark]{color-scheme:dark;--bg:#14171d;--surface:#1c2129;--subtle:#222833;--text:#edf0f5;--muted:#aab4c3;--border:#353d49;--accent:#a8bddb;--accent-hover:#c4d4e9;--on-accent:#152339;--tint:#29374a;--shadow:0 12px 36px #0005}
/* 2. Base and utilities */
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 24px)}body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--text);font-size:15px;line-height:1.6}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button{background:none;border:0}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2;letter-spacing:-.035em}p{color:var(--muted)}[hidden]{display:none!important}.container{width:min(var(--max),calc(100% - 64px));margin-inline:auto}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-sprite,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip{position:fixed;top:8px;left:8px;transform:translateY(-150%);z-index:200;background:var(--surface);padding:10px}.skip:focus{transform:none}.buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:9px;padding:11px 18px;font-weight:600;border:1px solid transparent;min-height:44px;transition:background .15s,border .15s}.button .icon{width:17px;height:17px}.primary{background:var(--accent);color:var(--on-accent)}.primary:hover{background:var(--accent-hover)}.secondary{background:var(--surface);border-color:var(--border)}.secondary:hover{background:var(--subtle)}
/* 3. Header and navigation */
.header{position:sticky;top:0;z-index:30;background:var(--surface);border-bottom:1px solid var(--border)}.header-inner{height:var(--header);display:flex;align-items:center;gap:36px;justify-content:space-between}.site-name{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650;letter-spacing:-.025em;white-space:nowrap}.logo-placeholder{display:grid;place-items:center;width:34px;height:34px;border:1px dashed var(--border);border-radius:8px;color:var(--muted)}.logo-placeholder .icon{width:17px;height:17px}.desktop-nav{display:flex;align-items:center;gap:5px;margin-right:auto}.nav-link{display:flex;align-items:center;gap:6px;padding:9px 12px;border-radius:7px;color:var(--muted);font-size:14px;font-weight:550;white-space:nowrap}.nav-link:hover,.nav-link[aria-expanded=true],.nav-link.current{background:var(--subtle);color:var(--text)}.chevron{width:15px;height:15px;transition:transform .18s}.nav-link[aria-expanded=true] .chevron,.account-trigger[aria-expanded=true] .chevron,details[open] .chevron{transform:rotate(180deg)}.header-actions{display:flex;align-items:center;gap:8px}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;color:var(--muted);flex:none}.icon-button:hover,.icon-button[aria-expanded=true]{background:var(--subtle);color:var(--text)}.separator{height:26px;width:1px;background:var(--border);margin-inline:4px}.nav-group{position:relative}.account-trigger{display:flex;align-items:center;gap:9px;padding:5px 8px 5px 5px;border-radius:9px;font-size:14px;font-weight:550;white-space:nowrap}.account-trigger:hover,.account-trigger[aria-expanded=true]{background:var(--subtle)}.avatar{width:32px;height:32px;border-radius:50%;background:var(--tint);display:grid;place-items:center;color:var(--accent);font-size:12px;font-weight:700;flex:none}.avatar .icon{width:17px;height:17px}.avatar-lg{width:42px;height:42px}.dropdown{position:absolute;top:calc(100% + 12px);border:1px solid var(--border);background:var(--surface);border-radius:12px;box-shadow:var(--shadow);padding:8px;z-index:40;animation:appear .14s ease-out}.pages-menu{left:0;width:294px}.menu-label{display:block;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.065em;text-transform:uppercase;padding:7px 10px}.dropdown a,.dropdown button{display:flex;width:100%;align-items:center;text-align:left;gap:10px;padding:10px;border-radius:7px;font-size:14px}.dropdown a:hover,.dropdown button:hover{background:var(--subtle)}.dropdown strong,.dropdown small{display:block}.dropdown strong{font-size:14px;font-weight:600}.dropdown small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.menu-icon{display:grid;place-items:center;background:var(--tint);color:var(--accent);width:36px;height:36px;border-radius:8px;flex:none}.menu-icon .icon{width:18px;height:18px}.account-menu{right:0;width:265px}.account-heading{display:flex;align-items:center;gap:11px;padding:11px 9px}.account-heading>div{min-width:0}.menu-divider{height:1px;background:var(--border);margin:5px 0}.account-menu button .icon{width:18px;height:18px;color:var(--muted)}.account-menu .trailing{margin-left:auto}.account-menu .logout{color:#b34a4a}.hamburger,.mobile-nav{display:none}
/* 4. Page layout — optional placeholder sections */
.main{flex:1;padding-block:52px 72px}.hero{display:grid;grid-template-columns:1fr .9fr;gap:60px;align-items:center;padding:44px;border:1px solid var(--border);background:var(--surface);border-radius:20px;min-height:340px}.hero h1{font-size:clamp(38px,5vw,62px);font-weight:650;letter-spacing:-.055em}.hero p{font-size:17px;max-width:430px;margin-top:16px}.hero .buttons{margin-top:26px}.media-placeholder{display:grid;place-items:center;min-height:245px;aspect-ratio:1.55;background:var(--subtle);border:1px dashed var(--border);border-radius:12px;position:relative;overflow:hidden}.media-placeholder::before,.media-placeholder::after{content:"";position:absolute;width:140%;height:1px;background:var(--border);transform:rotate(32deg);opacity:.65}.media-placeholder::after{transform:rotate(-32deg)}.placeholder-center{z-index:1;background:var(--subtle);display:flex;flex-direction:column;align-items:center;gap:7px;padding:15px 22px;border:1px solid var(--border);border-radius:10px;color:var(--muted);font-size:12px}.placeholder-center .icon{width:25px;height:25px}.content-section{margin-top:48px}.section-heading{margin-bottom:20px}.section-heading h2{font-size:27px;font-weight:650}.section-heading p{margin-top:6px}.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.content-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:23px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.card-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:9px;background:var(--tint);color:var(--accent);margin-bottom:5px}.content-card h3{font-size:19px;font-weight:650}.content-card p{font-size:14px}.text-link{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:13px;font-weight:650;margin-top:7px}.text-link .icon{width:15px;height:15px}.text-link:hover{text-decoration:underline}.footer{border-top:1px solid var(--border);background:var(--surface);color:var(--muted);font-size:13px}.footer-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-inner div{display:flex;gap:20px;flex-wrap:wrap}.footer button{padding:0}.footer a:hover,.footer button:hover{color:var(--text);text-decoration:underline}
/* 5. Dialogs and notifications */
.dialog{width:min(460px,calc(100% - 32px));max-height:85vh;padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.dialog::backdrop{background:#0a102766;backdrop-filter:blur(2px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-header h2{font-size:23px}.dialog .buttons{margin-top:20px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:9px;padding:10px;color:var(--muted)}.search-field:focus-within{border-color:var(--accent)}.search-field input{width:100%;border:0;background:transparent;color:var(--text);outline:none}.search-results{display:grid;gap:3px;margin-top:12px}.search-results a{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:8px}.search-results a:hover{background:var(--subtle)}.search-results p{padding:10px}.toast{position:fixed;bottom:20px;right:20px;z-index:60;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);padding:12px 17px;border-radius:10px;font-size:14px;max-width:calc(100% - 40px)}@keyframes appear{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
/* 6. Responsive layout */
@media(max-width:900px){.header-inner{gap:15px}.desktop-nav{display:none}.hamburger{display:grid}.mobile-nav:not([hidden]){display:block;border-top:1px solid var(--border);max-height:calc(100dvh - var(--header));overflow:auto;box-shadow:var(--shadow)}.mobile-inner{display:grid;padding-block:12px 18px}.mobile-inner>a,.mobile-inner summary{display:flex;align-items:center;justify-content:space-between;padding:12px 8px;font-weight:550;border-bottom:1px solid var(--border)}.mobile-inner summary{cursor:pointer;list-style:none}.mobile-inner summary::-webkit-details-marker{display:none}.mobile-subnav{display:grid;padding:5px 0 5px 20px}.mobile-subnav a{padding:9px;color:var(--muted)}.hero{gap:28px;padding:30px}.hero .buttons{align-items:stretch}.content-grid{gap:12px}.content-card{padding:18px}}
@media(max-width:650px){:root{--header:64px}.container{width:calc(100% - 32px)}.header-inner{gap:6px}.header-actions{gap:3px}.account-name,.account-chevron,.separator{display:none}.account-trigger{padding:4px}.account-menu{right:-39px;max-width:calc(100vw - 32px)}.site-name{font-size:15px;gap:7px}.logo-placeholder{width:29px;height:29px}.icon-button{width:36px;height:40px}.main{padding-block:24px 42px}.hero{grid-template-columns:1fr;gap:24px;padding:24px;min-height:0;border-radius:15px}.hero p{font-size:15px}.hero h1{font-size:40px}.hero .buttons{margin-top:20px}.media-placeholder{min-height:160px;aspect-ratio:1.65}.content-section{margin-top:32px}.content-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column;align-items:flex-start;padding-block:20px;gap:8px}.footer-inner div{gap:16px}}
@media(max-width:360px){.header-inner{width:calc(100% - 20px)}.site-name{gap:5px;font-size:14px}.header-actions{gap:1px}.icon-button{width:32px}.hero{padding:18px}.hero h1{font-size:34px}.hero .buttons{flex-direction:column;align-items:stretch}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Prevent intrinsic media sizing from widening the responsive grid. */
.hero{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}.media-placeholder{min-width:0;width:100%}
@media(max-width:650px){.hero{grid-template-columns:minmax(0,1fr)}}
/* 7. Optional reusable components */
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0}.panel h3{font-size:21px;font-weight:650}.contact-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr);padding:30px;gap:40px}.contact-copy{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.contact-copy .notice{margin-top:8px;width:100%}.contact-detail{border-top:1px solid var(--border);padding-top:13px;width:100%;display:grid;gap:3px}.contact-detail>span{font-size:12px;font-weight:650;color:var(--muted);text-transform:uppercase;letter-spacing:.055em}.contact-detail a{color:var(--accent);overflow-wrap:anywhere}.contact-detail a:hover{text-decoration:underline}.form-stack{display:grid;gap:15px;min-width:0}.form-stack label:not(.check-line){display:block;font-weight:600;font-size:13px}.form-stack label>small{font-weight:400;color:var(--muted)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}select,textarea,input{font:inherit} .form-stack input:not([type=checkbox]),.form-stack textarea,.form-stack select,.table-controls select{display:block;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);margin-top:6px;min-width:0;font-size:14px;font-weight:400}.form-stack textarea{resize:vertical;min-height:110px}.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus,.table-controls select:focus{outline:2px solid var(--accent);outline-offset:2px}.field-hint{display:block;font-size:12px!important;font-weight:400;color:var(--muted);margin-top:4px}.check-line{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:var(--muted)}input[type=checkbox],input[type=range]{accent-color:var(--accent)}.check-line input{margin-top:4px}.notice{padding:13px 15px;border:1px solid var(--border);border-radius:9px;background:var(--subtle);font-size:13px}.notice p{font-size:13px;margin-top:3px}.success-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;border-left:3px solid #43866a}.component-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.component-panel{padding:24px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}.component-panel>p{font-size:14px}.component-panel>.notice{width:100%}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);width:100%;overflow-x:auto}.tabs button{padding:9px 12px;border-bottom:2px solid transparent;color:var(--muted);font-weight:600;font-size:13px;white-space:nowrap}.tabs button[aria-selected=true]{border-color:var(--accent);color:var(--accent)}.tab-pane{padding:6px 0;width:100%;font-size:14px}.tab-pane p{margin-top:5px}.progress-label{display:flex;width:100%;justify-content:space-between;align-items:center;font-size:13px;font-weight:600}.progress-label output{color:var(--muted)}progress{width:100%;height:10px;accent-color:var(--accent);border:0;border-radius:8px;overflow:hidden;background:var(--subtle)}progress::-webkit-progress-bar{background:var(--subtle)}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}#progress-control{width:100%;margin:0}.status-row{display:flex;flex-wrap:wrap;gap:8px}.status{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;border-radius:20px;padding:3px 9px;white-space:nowrap;background:var(--subtle);color:var(--muted)}.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.status-active{background:#e5f3eb;color:#246645}.status-pending{background:#f8efd9;color:#855e12}:root[data-theme=dark] .status-active{background:#253c32;color:#a6e3bc}:root[data-theme=dark] .status-pending{background:#453b27;color:#f4d995}.switch-line{display:flex;position:relative;width:100%;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);cursor:pointer}.switch-line>span:first-child{flex:1}.switch-line strong,.switch-line small{display:block;font-size:13px}.switch-line small{font-weight:400;color:var(--muted)}.switch-line input{position:absolute;right:0;opacity:0;width:42px;height:24px}.switch-track{width:42px;height:24px;background:var(--border);border-radius:20px;position:relative;flex:none;transition:background .15s}.switch-track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:white;border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform .15s}.switch-line input:checked+.switch-track{background:var(--accent)}.switch-line input:checked+.switch-track::after{transform:translateX(18px)}.switch-line input:focus-visible+.switch-track{outline:2px solid var(--accent);outline-offset:3px}.table-panel{margin-top:16px;padding:24px}.table-heading,.table-footer,.table-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.table-heading p,.table-footer p{font-size:13px;margin-top:4px}.table-controls{margin:20px 0 12px;justify-content:flex-start}.table-controls .search-field{width:min(100%,300px)}.table-controls select{width:auto;margin:0;max-width:100%}.table-scroll{overflow-x:auto;border:1px solid var(--border);border-radius:9px}.table-scroll table{border-collapse:collapse;width:100%;min-width:490px;text-align:left;font-size:14px}.table-scroll th,.table-scroll td{padding:12px 15px;border-bottom:1px solid var(--border)}.table-scroll th{font-size:12px;font-weight:650;color:var(--muted);background:var(--subtle);white-space:nowrap}.table-scroll th button{padding:0;font-weight:inherit;color:inherit;font-size:inherit}.table-scroll tbody tr:last-child td{border-bottom:0}.table-scroll tbody tr:hover{background:var(--subtle)}.table-footer{margin-top:14px}.button:disabled{opacity:.45;cursor:not-allowed}.faq-list{padding:0 24px}.faq-list details+details{border-top:1px solid var(--border)}.faq-list summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 0;font-weight:600;list-style:none;cursor:pointer}.faq-list summary::-webkit-details-marker{display:none}.faq-list details p{padding:0 0 18px;font-size:14px;max-width:760px}.preview-details{display:grid;gap:7px;margin:18px 0}.preview-details dt{font-size:12px;font-weight:650;color:var(--muted)}.preview-details dd{margin:0 0 6px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px}.back-top{position:fixed;right:20px;bottom:20px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);z-index:40}.toast{bottom:72px}textarea:focus-visible,select:focus-visible,input[type=range]:focus-visible,.table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:800px){.contact-layout{gap:25px;padding:24px}.component-panel,.table-panel{padding:20px}}
@media(max-width:650px){.contact-layout,.component-grid{grid-template-columns:minmax(0,1fr)}.contact-layout{padding:20px}.component-panel,.table-panel{padding:17px}.faq-list{padding:0 17px}.table-controls .search-field{width:100%}.table-footer .buttons{width:100%;justify-content:space-between}.table-heading{align-items:flex-start}.back-top{right:12px;bottom:12px}.toast{right:12px;bottom:64px}}
@media(max-width:390px){.field-grid{grid-template-columns:1fr}.tabs button{padding-inline:8px}}
.switch-track{pointer-events:none}
