#preferences{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:10px 28px;background:#f5f7fb;border-bottom:1px solid #dfe5ef;font:13px system-ui,'Nirmala UI','Noto Sans Sinhala',sans-serif;color:#233454}#preferences label{margin:0;font-size:12px;font-weight:600}#preferences select,#preferences button{width:auto;margin:0;min-height:38px;border:1px solid #c9d3e4;border-radius:8px;padding:7px 12px;background:white;color:#233454;font:inherit;cursor:pointer}html[lang=si] body{font-family:system-ui,'Nirmala UI','Noto Sans Sinhala',sans-serif}html[lang=si] h1,html[lang=si] h2,html[lang=si] h3{letter-spacing:0;line-height:1.55}html[lang=si] .eyebrow{letter-spacing:.3px;line-height:1.8}html[lang=si] .public-home .hero h1{font-size:clamp(38px,5vw,68px)}html[lang=si] aside nav button{line-height:1.7}html[data-theme=dark]{background:#101623;color:#e7edf8;--ink:#e7edf8;--muted:#adb9cf;--line:#344159}html[data-theme=dark] body,html[data-theme=dark] .public-home{background:#101623;color:#e7edf8;--ink:#e7edf8;--muted:#adb9cf;--line:#344159;--blue:#8caaff}html[data-theme=dark] header,html[data-theme=dark] aside,html[data-theme=dark] .card,html[data-theme=dark] .panel,html[data-theme=dark] .job,html[data-theme=dark] .public-home header,html[data-theme=dark] .public-home .service-grid article,html[data-theme=dark] .location-card,html[data-theme=dark] .nav-links{background:#182233;color:#e7edf8;border-color:#344159}html[data-theme=dark] .brand,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3{color:#e7edf8}html[data-theme=dark] p,html[data-theme=dark] .muted,html[data-theme=dark] .eyebrow,html[data-theme=dark] .job span,html[data-theme=dark] .aside-bottom{color:#b5c1d5}html[data-theme=dark] a{color:#a9bfff}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] input[type=file],html[data-theme=dark] .app-shell input,html[data-theme=dark] .app-shell select{background:#111b2b;color:#e7edf8;border-color:#4a5974}html[data-theme=dark] input::placeholder{color:#9aa8bf}html[data-theme=dark] .secondary,html[data-theme=dark] .menu-btn{background:#26344c;color:#e2ebff;border-color:#465773}html[data-theme=dark] .banner,html[data-theme=dark] .notice{background:#342e1c;color:#f4dc97;border-color:#645633}html[data-theme=dark] #message{background:#1d3051;color:#c1d3ff}html[data-theme=dark] #message.error{background:#442526;color:#ffbbb7}html[data-theme=dark] nav button{color:#b8c5dd}html[data-theme=dark] nav button.active,html[data-theme=dark] .job.selected{background:#23375b;color:#c9d9ff}html[data-theme=dark] .pill{background:#2c3c65;color:#c4d3ff}html[data-theme=dark] .pill.published,html[data-theme=dark] .pill.ready{background:#153f34;color:#9aead0}html[data-theme=dark] .pill.pending{background:#4b3c1b;color:#f8d489}html[data-theme=dark] fieldset,html[data-theme=dark] .item,html[data-theme=dark] .note,html[data-theme=dark] footer{border-color:#344159}html[data-theme=dark] #preferences{background:#131d2d;color:#c4d0e5;border-color:#344159}html[data-theme=dark] #preferences button,html[data-theme=dark] #preferences select{background:#223149;color:#e7edf8;border-color:#465773}html[data-theme=dark] .public-home .portal-strip{background:#202e46;border-color:#344159}html[data-theme=dark] .public-home .portal-copy p{color:#b5c1d5}html[data-theme=dark] .public-home .btn{background:#426cec;color:white}html[data-theme=dark] .public-home .btn.secondary{background:#314260;color:#eef3ff}html[data-theme=dark] .empty-mark{background:#253859;color:#b5caff}html[data-theme=dark] .public-home .scene-caption{color:#b5c1d5}html[data-theme=dark] .public-home .print-poster,html[data-theme=dark] .public-home .scene-sticker,html[data-theme=dark] .public-home .service-ribbon{--ink:#18233b;color:#18233b}#preferences :focus-visible{outline:3px solid #d8a619;outline-offset:2px}@media(max-width:720px){#preferences{padding:10px 16px;justify-content:flex-start}html[lang=si] aside nav{grid-template-columns:1fr}html[lang=si] aside nav button{text-align:left}html[lang=si] .public-home .hero h1{font-size:40px}}
/* Current dashboard and student portal surfaces. */
html[data-theme=dark] .main-area,html[data-theme=dark] .auth-page{background:#101827;color:#e8eef8}html[data-theme=dark] .surface-card,html[data-theme=dark] .metric,html[data-theme=dark] .auth-card,html[data-theme=dark] .topbar,html[data-theme=dark] .backend-status,html[data-theme=dark] .access-card,html[data-theme=dark] .library-toolbar,html[data-theme=dark] .document,html[data-theme=dark] .personal-upload,html[data-theme=dark] .cart,html[data-theme=dark] .receipt,html[data-theme=dark] .pdf-dialog,html[data-theme=dark] .empty-message,html[data-theme=dark] .data-table tr,html[data-theme=dark] .data-table th{background:#1a2538;color:#e8eef8;border-color:#35435b}html[data-theme=dark] .cart-foot,html[data-theme=dark] .preview-frame,html[data-theme=dark] .phone-control span,html[data-theme=dark] .hash-feedback,html[data-theme=dark] .personal-upload-status{background:#22304a;color:#c8d6ef;border-color:#35435b}html[data-theme=dark] .subheading,html[data-theme=dark] .subdued,html[data-theme=dark] .form-hint,html[data-theme=dark] .record-info small,html[data-theme=dark] .metric-label,html[data-theme=dark] .metric-note,html[data-theme=dark] .file-meta,html[data-theme=dark] .privacy-note,html[data-theme=dark] label,html[data-theme=dark] legend,html[data-theme=dark] .backend-status>summary,html[data-theme=dark] .total-row span{color:#b9c6db}html[data-theme=dark] .record-info strong,html[data-theme=dark] .metric-number,html[data-theme=dark] .card-heading h2,html[data-theme=dark] .topbar-breadcrumb strong,html[data-theme=dark] .total-row strong{color:#e8eef8}html[data-theme=dark] textarea{background:#111b2b;color:#e8eef8;border-color:#4a5974}html[data-theme=dark] .button.light,html[data-theme=dark] .quiet{background:#2b3c58;color:#d4e2ff;border-color:#3f5372}html[data-theme=dark] .record,html[data-theme=dark] .card-heading,html[data-theme=dark] .data-table td,html[data-theme=dark] .personal-file-row,html[data-theme=dark] .cart-top{border-color:#35435b}html[data-theme=dark] .button.primary,html[data-theme=dark] button.primary{background:#456be2;color:white}html[data-theme=dark] .backend-status-text[data-state=ready]{color:#8cdec0}html[data-theme=dark] .backend-status-text[data-state=warning]{color:#efcc83}html[data-theme=dark] .backend-status-text[data-state=error]{color:#ffaaa7}html[lang=si] .page-heading h1,html[lang=si] .intro h1,html[lang=si] .workspace-head h2{letter-spacing:0;line-height:1.5}html[lang=si] .nav-item,html[lang=si] button{line-height:1.6}html[lang=si] .overline{letter-spacing:.3px}html[data-theme=dark] .preview-fallback{background:#1a2538;border-color:#35435b;color:#b9c6db}html[data-theme=dark] .status-strip{background:#20374b;color:#bdd9e7}html[data-theme=dark] .backend-status{background:#162132}html[data-theme=dark] .pill.pending{background:#493c20;color:#f3d08b}html[data-theme=dark] .receipt-info span{color:#b5c3dc}html[data-theme=dark] .remove{background:#472c31;color:#ffc0ba}

/* Optional descriptions are revealed together by Help, including later-rendered order guidance. */
html[data-help="hidden"] [data-help],html[data-help="hidden"] .print-warning{display:none!important}
.help-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:38px;padding:7px 12px;border:1px solid #c9d3e4;border-radius:8px;background:#fff;color:#233454;font:inherit;cursor:pointer}
.help-toggle[aria-expanded="true"]{background:#e9efff;border-color:#2456ed;color:#1740bd}
html[data-theme="dark"] .help-toggle{background:#223149;color:#e7edf8;border-color:#465773}
html[data-theme="dark"] .help-toggle[aria-expanded="true"]{background:#304777;border-color:#8caaff}

.upload-progress{margin:14px 0;padding:12px;border:1px solid var(--line,#dfe5ef);border-radius:10px}.upload-progress p{margin:0 0 8px;font-size:13px}.upload-progress progress{display:block;width:100%;height:10px;accent-color:#2456ed}.upload-progress.error{color:#bf3535}
