:root{--navy:#10283f;--navy2:#183c5b;--blue:#174f75;--gold:#cba65a;--paper:#f5f6f8;--white:#fff;--ink:#1a2c3d;--muted:#5a6a78;--line:#dce2e8;--success:#226c4c;--warn:#976215;--red:#a73e3c;--shadow:0 5px 18px #10283f0b;--serif:Georgia,'Times New Roman',serif;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-size:16px}
*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #79b4d5;outline-offset:3px}h1,h2,h3,p{margin:0 0 .8rem}h1,h2{font-family:var(--serif);font-weight:500;line-height:1.15}h1{font-size:clamp(2rem,4vw,3rem)}h2{font-size:clamp(1.5rem,2.5vw,2.05rem)}h3{font-size:1.1rem;font-weight:700}p{line-height:1.6}small,.muted{color:var(--muted)}.muted{font-size:.95rem}.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#846b34;margin-bottom:.65rem}.wrap{max-width:1240px;width:calc(100% - 56px);margin:0 auto}.skip{position:absolute;top:-100px;left:8px;background:white;padding:1rem;z-index:99}.skip:focus{top:8px}.top{background:#0a2034;color:#d8e0e7;font-size:.77rem;letter-spacing:.04em}.top .wrap{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:12px}.top-tag{color:#e5c883}.header{background:var(--navy);color:white;border-bottom:4px solid var(--gold)}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:18px 0}.brand{display:flex;gap:13px;align-items:center;flex-shrink:0}.brand img{width:70px;height:70px;object-fit:contain}.brand strong{display:block;font-family:var(--serif);font-size:clamp(1.1rem,2.1vw,1.65rem);font-weight:500;line-height:1.05}.brand span span{display:block;font-size:.68rem;letter-spacing:.15em;color:#e5c57f;margin-top:8px;font-weight:700}.nav{display:flex;gap:16px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.nav a{font-size:.89rem;font-weight:650;color:#e6edf2;white-space:nowrap}.nav a.active,.nav a:hover{color:#f4d180}.nav .nav-ooc{border-left:1px solid #496276;padding-left:16px}.btn,.nav .btn,button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 18px;border-radius:5px;border:1px solid var(--blue);background:var(--blue);color:#fff;font-weight:650;text-align:center}.btn:hover,button:hover{filter:brightness(1.07)}button:disabled{opacity:.6;cursor:not-allowed}.btn.gold,button.gold,.nav .btn.gold{background:var(--gold);color:var(--navy);border-color:var(--gold)}.btn.outline,button.outline{background:transparent;color:var(--blue);border:1px solid #a8b9c8}.btn.light{background:transparent;border-color:#c3d1de;color:white}.btn.small,button.small{font-size:.86rem;min-height:36px;padding:7px 11px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hero{position:relative;overflow:hidden;background:linear-gradient(100deg,#10283f 0%,#173750 63%,#31546c 100%);color:white}.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;min-height:370px;position:relative;z-index:1}.hero-content{padding:48px 0 50px;max-width:630px}.hero h1{font-size:clamp(2.25rem,4.8vw,4rem);line-height:1.03;margin:12px 0 18px}.hero p{color:#deebf3;max-width:570px;font-size:1.07rem}.hero .eyebrow{color:#e1c07f}.hero-art{height:100%;min-height:370px;align-self:stretch;position:relative;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 24%);margin-right:-7vw}.hero-art img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center}.quick{background:white;border-bottom:1px solid var(--line)}.quick .wrap{display:grid;grid-template-columns:repeat(4,1fr)}.quick a{display:flex;gap:12px;align-items:center;min-height:90px;padding:14px 18px;border-right:1px solid var(--line)}.quick a:first-child{border-left:1px solid var(--line)}.quick a:hover{background:#edf3f7}.quick .symbol{width:38px;height:38px;display:grid;place-items:center;background:#edf3f7;border-radius:6px;font-size:1.5rem;color:var(--blue)}.quick strong{display:block;font-size:.94rem}.quick small{display:block;font-size:.75rem;margin-top:3px}.section{padding:34px 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:23px}.section-head p{margin-bottom:0;color:var(--muted)}.section-head h1,.section-head h2{margin-bottom:7px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:white;border:1px solid var(--line);border-radius:8px;padding:22px;box-shadow:var(--shadow)}.card + .card.stack{margin-top:14px}.agency{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:white;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:245px;transition:transform .15s,border .15s}.agency:hover{transform:translateY(-3px);border-color:#b5c6d6}.agency-media{height:115px;background:linear-gradient(125deg,var(--navy),#4d6e83);position:relative;overflow:hidden}.agency-media>.photo{width:100%;height:100%;object-fit:cover;opacity:.8}.agency-media:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0e263ab0,transparent)}.agency-body{padding:15px 17px 20px;position:relative;flex:1;display:flex;flex-direction:column}.seal{width:68px;height:68px;object-fit:contain;background:white;border:1px solid #dbe2e8;box-shadow:0 2px 6px #0002;border-radius:50%;position:absolute;top:-44px;right:14px;z-index:1;padding:5px}.agency .agency-short{font-size:.72rem;font-weight:800;letter-spacing:.09em;color:#8c7136;margin:0 76px 5px 0}.agency h3{font-size:1.04rem;margin:0 0 .6rem;line-height:1.3}.agency p{font-size:.87rem;flex:1;margin-bottom:10px;color:var(--muted)}.agency-foot{font-weight:750;color:var(--blue);font-size:.87rem}.stripe{background:#e8eef3;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.service{display:flex;flex-direction:column;gap:7px}.service .ico{font-size:1.5rem;font-weight:750;color:var(--blue)}.service p{flex:1}.service a{align-self:flex-start}.badge{display:inline-flex;align-items:center;border-radius:4px;font-size:.75rem;font-weight:750;padding:.27rem .48rem;background:#e5ebf1;color:#344956;letter-spacing:.015em;white-space:nowrap}.badge.approved,.badge.issued,.badge.redeemed{background:#e0f1e7;color:var(--success)}.badge.rejected,.badge.revoked{background:#f8e5e1;color:var(--red)}.badge.in_review,.badge.changes_requested{background:#fbefd5;color:var(--warn)}.badge.ooc{background:#e8e5f4;color:#525383}.notice{padding:14px 17px;border:1px solid #d2e0eb;border-left:4px solid var(--blue);border-radius:5px;background:#eef4f8;line-height:1.5;margin:13px 0}.notice.error{border-color:#dcb6b4;border-left-color:var(--red);background:#fcebea;color:#803c39}.notice.success{border-left-color:var(--success);background:#e8f5ed}.page{min-height:65vh;padding:34px 0 55px}.topic{border-top:1px solid var(--line);padding:20px 0 0;margin-top:22px}.form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:650}.field.full{grid-column:1/-1}.field small{font-weight:400}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #b9c6d0;border-radius:5px;background:white;color:var(--ink);min-height:43px}textarea{min-height:115px;resize:vertical}input[type=checkbox]{width:auto;min-height:auto}.check{display:flex;gap:10px;align-items:flex-start;font-size:.93rem;line-height:1.5}.auth-box{max-width:500px;margin:12px auto 40px}.auth-box .auth-logo{width:86px;display:block;margin:0 auto 18px}.auth-box h1{text-align:center;font-size:2rem}.auth-box .muted{text-align:center}.imm-head{display:flex;align-items:center;gap:21px;background:#07527e;color:white;padding:23px;border-radius:7px 7px 0 0}.imm-head img{width:70px;height:74px}.imm-head h2{font-family:var(--serif);font-size:1.6rem;margin:0 0 5px}.imm-head p{color:#dfedf3;font-size:.88rem;margin:0}.imm-form{padding:24px;border:1px solid var(--line);border-top:0;background:white;border-radius:0 0 7px 7px}.confidential{padding:18px;background:#f1f0f6;border:1px solid #d9d3e4;border-radius:6px}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);gap:22px;align-items:start}.sidebar{background:white;border:1px solid var(--line);border-radius:7px;padding:12px;position:sticky;top:16px}.sidebar a{display:block;font-size:.89rem;padding:10px 12px;margin:2px 0;border-radius:4px;font-weight:650}.sidebar a:hover,.sidebar a.active{background:#e9f0f5;color:var(--blue)}.sidebar .group{padding:12px 12px 4px;color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.stat strong{font-size:2rem;font-family:var(--serif);font-weight:500}.stat small{display:block}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:6px;background:white}.table-scroll table{width:100%;border-collapse:collapse;text-align:left;min-width:590px}th,td{padding:12px 14px;border-bottom:1px solid var(--line);font-size:.89rem;vertical-align:top}th{font-size:.75rem;letter-spacing:.05em;text-transform:uppercase;background:#eef2f5;color:#536576}td a{color:var(--blue);font-weight:700}tr:last-child td{border-bottom:0}.empty{text-align:center;color:var(--muted);padding:25px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.detail-grid>div{padding:12px;background:#f7f9fa;border-radius:5px;overflow-wrap:anywhere}.detail-grid small{display:block;font-size:.78rem;margin-bottom:5px}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.thread{display:flex;flex-direction:column;gap:9px;max-height:390px;overflow:auto;padding:13px;background:#f0f4f7;border-radius:6px}.msg{padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:7px;max-width:88%;align-self:flex-start}.msg.staff{background:#e0eef6;align-self:flex-end}.msg small{display:block;color:#4b6679;margin-bottom:5px}.doc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.doc-grid img{width:100%;height:auto;border:1px solid var(--line);border-radius:5px;background:white}.code-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border:1px dashed #93a9ba;border-radius:6px;background:#f3f6f8}.code-box code{font-size:1.1rem;font-weight:800;color:var(--navy);overflow-wrap:anywhere}.iframe{width:100%;height:76vh;border:1px solid var(--line);border-radius:6px;background:white}.ooc-banner{background:#262a45;color:white;padding:29px;border-radius:7px}.ooc-banner .eyebrow{color:#c6bbe8}.ooc-banner p{color:#e1e1eb;margin:0}.footer{background:#0d2338;color:#d5dfe7;border-top:3px solid var(--gold);padding:29px 0}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:25px}.footer .brand img{width:55px;height:55px}.footer p{font-size:.85rem;color:#bbc9d5;margin:14px 0}.footer a{display:inline-block;font-size:.85rem;margin:5px 10px 5px 0;color:#e0e7ee}.footer h3{font-size:.87rem;color:#ddc185;text-transform:uppercase;letter-spacing:.07em}.loading{min-height:60vh;display:grid;place-items:center;color:var(--muted)}.filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.filter input{max-width:360px}.toast{position:fixed;right:18px;bottom:18px;z-index:50;max-width:400px;padding:15px 18px;background:var(--navy);color:white;border-radius:6px;box-shadow:0 4px 18px #0003}.hidden{display:none!important}
@media(max-width:1050px){.header-inner{gap:14px;flex-wrap:wrap}.nav{justify-content:flex-start}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.hero .wrap{grid-template-columns:1.15fr .85fr}}@media(max-width:800px){.wrap{width:calc(100% - 32px)}.grid,.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.hero .wrap{grid-template-columns:1fr}.hero-art{position:absolute;inset:0;opacity:.23;min-height:0;mask-image:linear-gradient(90deg,transparent,#000);z-index:-1}.hero-content{padding:40px 0}.quick .wrap{grid-template-columns:repeat(2,1fr)}.quick a{border-bottom:1px solid var(--line)}.shell{grid-template-columns:1fr}.sidebar{position:static;display:flex;overflow:auto;padding:7px;white-space:nowrap;gap:5px}.sidebar .group{display:none}.sidebar a{font-size:.8rem}.footer-grid{grid-template-columns:1fr 1fr}.section-head{align-items:flex-start;flex-direction:column}.section-head .actions{margin-top:0}.doc-grid{grid-template-columns:1fr}.header-inner{padding:12px 0}.brand img{width:56px;height:56px}.nav{gap:12px}}@media(max-width:520px){.grid,.grid.two,.grid.four,.form-grid,.detail-grid,.footer-grid{grid-template-columns:1fr}.quick a{padding:12px 8px;min-height:76px;gap:7px}.quick .symbol{width:31px;height:31px;font-size:1.2rem}.quick small{font-size:.7rem}.top .wrap{font-size:.66rem}.top-tag{display:none}.hero .wrap{min-height:300px}.agency-media{height:130px}.nav{overflow-x:auto;flex-wrap:nowrap;max-width:100%;justify-content:flex-start;padding-bottom:3px}.nav a{font-size:.82rem}.card{padding:16px}.imm-form{padding:17px}.imm-head{padding:17px;gap:10px}.imm-head img{width:55px}.imm-head h2{font-size:1.2rem}.page{padding-top:22px}.code-box{align-items:flex-start;flex-direction:column}.form-grid .field.full{grid-column:auto}}

/* The original navy and gold government identity stays on the header and hero. */
:root{color-scheme:light}
.theme-toggle{background:transparent!important;border:1px solid #597085!important;color:#e5edf3!important;padding:7px 10px;min-height:36px;font-size:.86rem;white-space:nowrap;gap:6px}
.theme-toggle:hover{background:#203e58!important;border-color:#cba65a!important}
.theme-symbol{font-size:1.3rem;line-height:1}
:root[data-theme="dark"]{color-scheme:dark;--paper:#101c28;--white:#172636;--ink:#e7eef5;--muted:#aebecb;--line:#334657;--blue:#8ecaf0;--gold:#d9b86e;--success:#83d6a9;--warn:#f3d38b;--red:#f8a49d;--shadow:0 5px 18px #0003}
[data-theme="dark"] body{background:var(--paper)}
[data-theme="dark"] .card,[data-theme="dark"] .agency,[data-theme="dark"] .quick,[data-theme="dark"] .imm-form,[data-theme="dark"] .sidebar,[data-theme="dark"] .table-scroll{background:var(--white)}
[data-theme="dark"] .quick a:hover,[data-theme="dark"] .quick .symbol,[data-theme="dark"] .sidebar a:hover,[data-theme="dark"] .sidebar a.active{background:#243b50}
[data-theme="dark"] .stripe{background:#152638}
[data-theme="dark"] .eyebrow,[data-theme="dark"] .agency .agency-short{color:#e5c57f}
[data-theme="dark"] .hero .eyebrow{color:#e1c07f}
[data-theme="dark"] .ooc-banner .eyebrow{color:#c6bbe8}
[data-theme="dark"] .btn:not(.gold):not(.outline):not(.light),[data-theme="dark"] button:not(.gold):not(.outline):not(.theme-toggle){background:#285d84;border-color:#47799e;color:#fff}
[data-theme="dark"] .btn.outline,[data-theme="dark"] button.outline{color:#b5d9f4;border-color:#526b83}
[data-theme="dark"] .badge{background:#304255;color:#d8e5f1}
[data-theme="dark"] .badge.approved,[data-theme="dark"] .badge.issued,[data-theme="dark"] .badge.redeemed{background:#214c39;color:var(--success)}
[data-theme="dark"] .badge.rejected,[data-theme="dark"] .badge.revoked{background:#552f31;color:var(--red)}
[data-theme="dark"] .badge.in_review,[data-theme="dark"] .badge.changes_requested{background:#544327;color:var(--warn)}
[data-theme="dark"] .badge.ooc{background:#403c5a;color:#ded2fc}
[data-theme="dark"] .notice{background:#20374b;border-color:#415d74;border-left-color:var(--blue);color:var(--ink)}
[data-theme="dark"] .notice.error{background:#452d31;border-color:#765057;border-left-color:var(--red);color:#ffc6c0}
[data-theme="dark"] .notice.success{background:#214537;border-color:#406b57;border-left-color:var(--success);color:#aee8c8}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:#0e1d2b;border-color:#516578;color:var(--ink)}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#879bab}
[data-theme="dark"] .confidential{background:#2b2b42;border-color:#514d68}
[data-theme="dark"] th{background:#203449;color:#bad0e2}
[data-theme="dark"] .detail-grid>div,[data-theme="dark"] .code-box{background:#203244}
[data-theme="dark"] .code-box code{color:#e4c783}
[data-theme="dark"] .thread{background:#0f1f2e}
[data-theme="dark"] .msg{background:#223447}
[data-theme="dark"] .msg.staff{background:#24445e}
[data-theme="dark"] .msg small{color:#b6ccdf}
[data-theme="dark"] .skip{background:#203449}
[data-theme="dark"] .seal{background:#fff}
[data-theme="dark"] .doc-grid img,[data-theme="dark"] .iframe{background:#fff}
@media(max-width:530px){.theme-toggle{padding:6px 9px}.theme-label{font-size:.8rem}}
