:root { --navy:#10243e; --blue:#1f6feb; --paper:#fff; --ink:#172033; --muted:#667085; --line:#dce3ed; --bg:#f2f5f9; --danger:#b42318; --success:#067647; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--ink); background:linear-gradient(145deg,#e8eef6 0%,var(--bg) 45%,#edf4f4 100%); font-family:Inter,Segoe UI,Arial,sans-serif; }
.site-header { min-height:68px; padding:0 5vw; display:flex; align-items:center; justify-content:space-between; gap:1rem; color:#fff; background:var(--navy); box-shadow:0 2px 12px #10243e33; }
.brand { color:#fff; font-weight:800; letter-spacing:.04em; text-decoration:none; }.brand span { margin-left:.55rem; font-weight:500; opacity:.82; letter-spacing:0; }
.header-actions,.languages { display:flex; align-items:center; gap:.55rem; }.languages a,.link-button { color:#fff; opacity:.72; text-decoration:none; background:none; border:0; cursor:pointer; font:inherit; padding:.35rem .45rem; }.languages a.active { opacity:1; border-bottom:2px solid #fff; }
.page-shell { width:min(1120px,92vw); margin:0 auto; padding:4rem 0; }.auth-card { width:min(460px,100%); margin:2vh auto; padding:2.25rem; background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:0 18px 55px #2538581c; }
.portal-icon { display:block; width:20px; height:20px; flex-shrink:0; }
.header-help { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; min-height:38px; padding:.45rem .75rem; border:1px solid #ffffff40; border-radius:8px; color:#fff; background:#ffffff0d; font-size:.86rem; font-weight:650; line-height:1.35; text-decoration:none; }
.header-help:hover,.header-help[aria-current="page"] { border-color:#ffffff80; color:#fff; background:#ffffff20; }
.header-help:focus-visible { outline:3px solid #a6ccff; outline-offset:3px; }
.header-help .portal-icon { width:17px; height:17px; }
.dashboard-help { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin-top:1.5rem; padding:1.15rem 1.3rem; border:1px solid var(--line); border-radius:12px; background:#ffffffad; }
.dashboard-help-icon { display:grid; place-items:center; width:40px; height:40px; border:1px solid #d7e4f6; border-radius:10px; color:var(--blue); background:#edf4ff; }
.dashboard-help>div { flex:1; min-width:180px; }
.dashboard-help h2 { margin:0 0 .25rem; font-size:.92rem; }
.dashboard-help p { margin:0; color:var(--muted); font-size:.84rem; line-height:1.5; }
.dashboard-help>a { display:inline-flex; align-items:center; gap:.55rem; min-height:44px; color:var(--blue); font-size:.86rem; font-weight:650; text-decoration:none; }
.dashboard-help>a:hover { text-decoration:underline; }
.dashboard-help>a:focus-visible { outline:3px solid #71a8f0; outline-offset:3px; }
@media (max-width:540px) { .dashboard-help { gap:.75rem; padding:1rem; }.dashboard-help>div { min-width:0; flex-basis:calc(100% - 56px); }.dashboard-help>a { margin-left:calc(40px + .75rem); }.header-help { min-height:40px; } }
h1,h2,p { margin-top:0; }.auth-card h1 { margin-bottom:.6rem; font-size:1.8rem; }.eyebrow { margin-bottom:.55rem; color:var(--blue); font-size:.77rem; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }.muted { color:var(--muted); line-height:1.55; }
.stack { display:grid; gap:1rem; margin-top:1.5rem; }label { display:grid; gap:.45rem; font-size:.9rem; font-weight:650; }input,select,textarea { width:100%; padding:.78rem .85rem; border:1px solid #b9c4d2; border-radius:9px; color:var(--ink); background:#fff; font:inherit; }input:focus,select:focus,textarea:focus { outline:3px solid #1f6feb24; border-color:var(--blue); }input[readonly] { color:#475467; background:#f8fafc; }.otp-input { font-size:1.4rem; letter-spacing:.35rem; text-align:center; }.checkbox { display:flex; align-items:center; gap:.6rem; font-weight:500; }.checkbox input { width:auto; }
.password-control { position:relative; display:block; }.password-control input { padding-right:3rem; }.password-toggle { position:absolute; top:50%; right:.45rem; transform:translateY(-50%); width:2.1rem; height:2.1rem; padding:0; border:0; border-radius:6px; color:var(--muted); background:transparent; cursor:pointer; }.password-toggle:hover,.password-toggle:focus,.password-toggle.active { color:var(--blue); background:#eef5ff; }
.auth-help-link { color:var(--blue); font-size:.88rem; text-decoration:none; }.auth-help-link:hover { text-decoration:underline; }
.login-challenge { --challenge-scale:1; position:relative; height:calc(65px * var(--challenge-scale)); overflow:hidden; border-radius:9px; background:var(--bg); animation:login-challenge-pulse 1.4s ease-in-out infinite; }.login-challenge .cf-turnstile { display:block; width:calc(100% / var(--challenge-scale)); transform:scale(var(--challenge-scale)); transform-origin:0 0; }.login-challenge::after { content:""; position:absolute; inset:0; border:1px solid var(--line); border-radius:inherit; pointer-events:none; }
@keyframes login-challenge-pulse { 50% { background:#e6ebf2; } }@media (prefers-reduced-motion:reduce) { .login-challenge { animation:none; } }
.company-summary-button { display:inline-flex; max-width:100%; padding:.35rem .65rem; border:1px solid #b7d2fc; border-radius:8px; color:var(--blue); background:#eff6ff; font:inherit; font-size:.88rem; font-weight:700; text-transform:none; letter-spacing:normal; cursor:pointer; }
.company-summary-button:hover { background:#dceaff; }.company-summary-button:focus-visible,.company-dialog-close:focus-visible { outline:3px solid #1f6feb66; outline-offset:2px; }
body.company-dialog-open { overflow:hidden; }
.company-dialog { width:min(32rem,calc(100vw - 2rem)); max-height:calc(100dvh - 2rem); padding:0; border:1px solid var(--line); border-radius:14px; color:var(--ink); background:var(--paper); box-shadow:0 18px 55px #10243e40; }
.company-dialog[open] { display:flex; flex-direction:column; }.company-dialog::backdrop { background:#10243e88; }
.company-dialog-header,.company-dialog-footer { flex-shrink:0; display:flex; align-items:center; gap:1rem; padding:1rem 1.25rem; }.company-dialog-header { justify-content:space-between; border-bottom:1px solid var(--line); }.company-dialog-header h2 { margin:0; font-size:1.15rem; }.company-count { display:inline-block; margin-left:.3rem; padding:.2rem .5rem; border-radius:6px; color:var(--muted); background:var(--bg); font-size:.85rem; }
.company-dialog-close { padding:0 .3rem; border:0; background:none; color:var(--muted); font:inherit; font-size:1.8rem; cursor:pointer; }
.company-dialog-body { display:flex; flex-direction:column; gap:1rem; min-height:0; padding:1.25rem; overflow-y:auto; }.company-dialog-email,.company-dialog-empty { margin:0; overflow-wrap:anywhere; }.company-dialog-list { margin:0; padding:0; min-height:0; max-height:min(45vh,24rem); overflow-y:auto; list-style:none; }.company-dialog-list li { padding:.75rem .15rem; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }.company-dialog-list li:last-child { border-bottom:0; }
.company-dialog-footer { justify-content:flex-end; border-top:1px solid var(--line); }
.request-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; padding-top:1.25rem; }
.request-pagination-summary { margin:0; color:var(--muted); font-size:.9rem; }.request-pagination nav { max-width:100%; }
.request-page-links { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; margin:0; padding:0; list-style:none; }
.request-page-link,.request-page-gap { display:inline-flex; align-items:center; justify-content:center; min-width:2.25rem; min-height:2.25rem; padding:.4rem .65rem; font-size:.9rem; }
.request-page-link { border:1px solid var(--line); border-radius:7px; color:var(--blue); background:#fff; text-decoration:none; font-weight:650; }.request-page-link:hover { background:#eff6ff; }.request-page-link:focus-visible { outline:3px solid #1f6feb66; outline-offset:2px; }
.request-page-link.current { color:#fff; border-color:var(--blue); background:var(--blue); }.request-page-link[aria-disabled="true"] { color:var(--muted); background:var(--bg); }
button.primary,.primary.button-link { padding:.78rem 1.05rem; border:0; border-radius:9px; color:#fff; background:var(--blue); font:inherit; font-weight:750; cursor:pointer; }button.primary:disabled { opacity:.5; cursor:not-allowed; }.notice { width:min(620px,100%); margin:0 auto 1rem; padding:.85rem 1rem; border-radius:9px; background:#fff; border-left:4px solid var(--blue); }.notice.error { color:var(--danger); border-color:var(--danger); }.notice.success { color:var(--success); border-color:var(--success); }
.dashboard-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1.5rem; }.account-card,.empty-state { padding:1.6rem; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 8px 25px #25385812; }.account-card { margin-bottom:1rem; }.account-card dl { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin:0; }.account-card dl div { min-width:0; }.account-card dt { color:var(--muted); font-size:.78rem; text-transform:uppercase; }.account-card dd { margin:.35rem 0 0; font-weight:700; overflow-wrap:anywhere; }.empty-state { padding:4rem 2rem; text-align:center; color:var(--muted); }.empty-icon { display:grid; place-items:center; width:48px; height:48px; margin:0 auto 1rem; border-radius:50%; color:var(--success); background:#ecfdf3; font-size:1.4rem; font-weight:900; }
.button-link { display:inline-block; text-decoration:none; }.table-card,.form-section,.detail-card,.workflow-card,.rejection-card { margin-bottom:1rem; padding:1.4rem; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 8px 25px #25385812; }.table-scroll { overflow-x:auto; }.requests-table { width:100%; border-collapse:collapse; }.requests-table th,.requests-table td { padding:.85rem .75rem; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; }.requests-table th { color:var(--muted); font-size:.75rem; text-transform:uppercase; }.requests-table tbody tr:last-child td { border-bottom:0; }.status-pill { display:inline-block; padding:.3rem .6rem; border-radius:999px; background:#eef2f6; font-size:.78rem; font-weight:800; }.status-pill.new { color:#175cd3; background:#eff8ff; }.status-pill.approved,.status-pill.done { color:var(--success); background:#ecfdf3; }.status-pill.denied,.status-pill.error { color:var(--danger); background:#fef3f2; }.request-form { display:grid; gap:.25rem; }.form-section h2 { margin-bottom:1.15rem; font-size:1.08rem; }.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }.file-field { margin-top:1rem; }.form-actions { display:flex; justify-content:flex-end; padding-top:.5rem; }.form-errors,.rejection-card { color:var(--danger); background:#fff5f4; border-color:#fecdca; }.form-errors { margin-bottom:1rem; padding:1rem 1.25rem; border:1px solid #fecdca; border-radius:10px; }.form-errors p:last-child,.rejection-card p:last-child { margin-bottom:0; }.detail-card { position:relative; }.detail-status { position:absolute; top:1.4rem; right:1.4rem; }.detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.2rem; margin:2.5rem 0 0; }.detail-grid dt { color:var(--muted); font-size:.76rem; text-transform:uppercase; }.detail-grid dd { margin:.3rem 0 0; font-weight:700; overflow-wrap:anywhere; }.workflow-card { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }.workflow-card div { display:grid; gap:.35rem; }.workflow-card span { color:var(--muted); font-size:.8rem; }
@media (max-width:700px) { .site-header { padding:1rem; align-items:flex-start; }.brand span { display:block; margin:.2rem 0 0; font-size:.75rem; }.header-actions { align-items:flex-end; flex-direction:column; }.page-shell { padding:2rem 0; }.auth-card { padding:1.5rem; }.dashboard-heading { align-items:stretch; flex-direction:column; }.account-card dl,.form-grid,.detail-grid,.workflow-card { grid-template-columns:1fr; }.detail-status { position:static; margin-bottom:1rem; }.detail-grid { margin-top:0; } }
