:root{font-family:"맑은 고딕","Malgun Gothic",system-ui,sans-serif;color:#16324f;background:#f7f9fc;font-synthesis:none;--navy:#102e52;--blue:#096ad5;--muted:#6d7e91;--border:#dce4ee}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.35;cursor:default}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #91c6fa;outline-offset:3px}
.site-header{height:88px;border-bottom:1px solid #e4eaf2;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 5%}.brand{display:flex;align-items:center;gap:13px;font-size:15px;letter-spacing:-.5px}.brand b{display:block;margin-top:2px;font-size:16px}.brand-mark{width:38px;height:43px;border:2px solid var(--navy);border-radius:3px 11px 3px 3px;display:grid;place-items:center;font-size:23px;font-weight:800}.header-end{display:flex;align-items:center;gap:25px}.year-label{font-size:16px;font-weight:700;letter-spacing:1px}
.login-layout{max-width:1240px;margin:0 auto;min-height:calc(100vh - 150px);display:grid;grid-template-columns:1.12fr 1fr;gap:70px;align-items:center;padding:58px 45px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#397cae;margin:0 0 24px}.intro h1{font-size:44px;line-height:1.3;letter-spacing:-2px;margin:0 0 22px;font-weight:800}.intro-copy{font-size:16px;line-height:1.9;color:#61748a;margin:0}.intro-visual{position:relative;height:270px;margin-top:25px;width:400px;max-width:100%}.visual-line{position:absolute;width:360px;height:1px;top:222px;background:#dce5ef;left:0}.paper-back{position:absolute;background:#dce8f6;width:157px;height:197px;top:32px;left:152px;transform:rotate(13deg);border-radius:5px}.paper-front{position:absolute;width:181px;height:224px;top:5px;left:99px;background:#fff;border:1px solid #e1e7ef;border-radius:4px;box-shadow:0 14px 28px #223b5910;transform:rotate(-7deg);padding:23px}.paper-kicker{color:#3286c7;font-size:7px;letter-spacing:1.1px;font-weight:700}.paper-front strong{display:block;font-size:16px;margin-top:16px}.paper-org{font-size:10px;color:#60748c}.paper-bars{height:52px;display:flex;gap:7px;align-items:flex-end;margin-top:19px}.paper-bars i{display:block;width:18px;height:60%;background:#cbddec;border-radius:2px 2px 0 0}.paper-bars i:nth-child(2){height:82%;background:#7db4dd}.paper-bars i:nth-child(3){height:68%;background:#3a92cf}.paper-bars i:nth-child(4){height:95%;background:#1668a4}.paper-bars i:nth-child(5){height:77%;background:#163c66}.paper-rule{height:1px;background:#e4ebf2;margin:14px 0 7px}.paper-front small{font-size:5px;letter-spacing:.8px;color:#8c99a8}.visual-chip{position:absolute;top:172px;left:232px;background:var(--navy);color:white;border-radius:6px;padding:13px 16px;font-size:11px;white-space:nowrap;box-shadow:0 8px 20px #17375120}.visual-chip span{margin-left:16px}
.login-card{background:#fff;border:1px solid #e2e8f1;border-radius:14px;padding:42px 39px 30px;box-shadow:0 15px 50px #1c3b6210}.card-kicker{font-size:10px;letter-spacing:1.6px;color:#8392a4;font-weight:700}.login-card h2{font-size:25px;letter-spacing:-1px;margin:14px 0}.card-description{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 32px}label{display:block;font-size:12px;font-weight:700;margin:0 0 10px}input{border:1px solid #d9e1ec;border-radius:6px;background:#fff;color:var(--navy);height:48px;padding:0 14px;width:100%;font-size:13px}input::placeholder{color:#a1adbc}#username{margin-bottom:22px}.password-field{position:relative}.password-field input{padding-right:65px}.password-toggle{position:absolute;right:8px;top:10px;height:28px;padding:0 8px;background:none;border:0;font-size:11px;color:#6b7f94}.form-error{font-size:12px;color:#b33a36;line-height:1.6;min-height:20px;margin:11px 0}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:14px;font-size:12px;font-weight:700;border-radius:6px;min-height:42px;padding:0 18px;border:1px solid transparent;white-space:nowrap}.primary{background:var(--navy);color:white}.primary:hover{background:#1a4675}.secondary{border-color:#dce4ee;background:#fff;color:#52677e}.secondary:hover{background:#f3f7fc}.login-button{width:100%;height:50px;justify-content:space-between;padding:0 19px;font-size:14px}.login-note{border-top:1px solid #e7edf4;display:flex;gap:10px;margin-top:27px;padding-top:22px;color:#8291a2;align-items:flex-start}.login-note p{font-size:11px;line-height:1.8;margin:0}.login-note>span{font-size:15px}.login-benefits{display:flex;gap:22px;margin-top:21px;font-size:10px;color:#6e8399}.login-benefits span:before{content:"✓";color:#2489bd;margin-right:6px}.site-footer{height:62px;margin:0 5%;border-top:1px solid #e1e7ef;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#94a0af}
.portal-layout{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:calc(100vh - 88px)}.sidebar{background:#fff;padding:37px 25px 25px;border-right:1px solid var(--border);display:flex;flex-direction:column}.org-symbol{width:44px;height:44px;background:#eef4fb;color:#517494;display:grid;place-items:center;font-size:12px;letter-spacing:1px;border-radius:10px;margin-bottom:22px;font-weight:700}.sidebar-kicker{font-size:9px;color:#9caabc;letter-spacing:1.3px;margin:0 0 9px}.sidebar h2{margin:0;font-size:22px;letter-spacing:-.8px}.account-name{font-size:10px;color:#8191a3;overflow-wrap:anywhere}.sidebar-divider{height:1px;background:#e7edf3;margin:22px 0}.section-label{font-size:11px;font-weight:700;display:flex;justify-content:space-between;align-items:center;color:#7c8ca1;margin-bottom:13px}.count-badge{background:#eef2f7;padding:3px 6px;border-radius:4px;font-size:9px}.report-item{border:1px solid #cbdff3;background:#edf5ff;width:100%;padding:17px 14px;border-radius:7px;text-align:left;color:#154c82;display:block}.report-item strong{display:block;font-size:12px;line-height:1.65}.report-item small{display:block;font-size:10px;color:#7a96b0;margin-top:8px}.sidebar-bottom{margin-top:auto;padding-top:50px}.sidebar-bottom p{font-size:11px;line-height:1.8;color:#95a2b1}.logout-button{background:#fff;border:1px solid #dfe6ef;border-radius:5px;padding:11px 14px;display:flex;width:100%;justify-content:space-between;color:#6b7b8c;font-size:11px;margin-top:22px}.report-workspace{min-width:0;padding:33px 35px 25px}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.small{font-size:9px;margin:0 0 10px;letter-spacing:1.5px}.report-heading h1{margin:0;font-size:23px;letter-spacing:-.8px}.report-meta{color:#8997a8;font-size:10px;margin:10px 0 0}.report-actions{display:flex;gap:8px}.dot{width:5px;height:5px;border-radius:50%;background:#5f93c3;flex-shrink:0}.pdf-viewer{border:1px solid #d7e0eb;border-radius:9px;overflow:hidden;background:#e9edf3}.viewer-toolbar{background:#fff;border-bottom:1px solid #dce4ee;min-height:55px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 16px}.viewer-caption{font-size:10px;color:#8492a3;display:flex;align-items:center;gap:8px}.pdf-badge{font-size:8px;color:#d06161;background:#fff1f1;border:1px solid #f1dede;border-radius:3px;padding:3px 4px;font-weight:800}.page-controls,.zoom-controls{display:flex;gap:8px;align-items:center}.icon-button{background:#fff;border:1px solid #e2e7ef;border-radius:4px;color:#5a7088;width:28px;height:28px;padding:0;font-size:18px;line-height:20px}.page-controls input{width:37px;height:27px;padding:0 2px;text-align:center;font-size:11px;appearance:textfield;-moz-appearance:textfield}.page-controls input::-webkit-inner-spin-button{appearance:none}.page-total{font-size:11px;color:#8895a6;white-space:nowrap}#zoom-value{font-size:10px;width:35px;text-align:center;color:#7e8b9e}.tool-divider{height:16px;width:1px;background:#e1e6ee;margin:0 4px}.text-button{font-size:10px;padding:4px 0;border:0;background:transparent;color:#60788f}.canvas-area{height:calc(100vh - 332px);min-height:360px;overflow:auto;display:flex;flex-direction:column;align-items:center;padding:28px;position:relative}canvas{display:block;background:#fff;box-shadow:0 4px 20px #20395818;max-width:none;flex-shrink:0}.viewer-status{font-size:13px;text-align:center;color:#7c8da2;padding:50px 15px;max-width:500px}.viewer-status.error{color:#a94343}.viewer-footer{background:#f9fbfd;min-height:32px;padding:8px 14px;display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#8898aa;border-top:1px solid #dce4ee}.empty-state{border:1px solid var(--border);border-radius:8px;background:#fff;text-align:center;padding:80px 20px}.empty-state>span{font-size:40px;color:#a4b5c7}.empty-state h2{font-size:18px}.empty-state p{color:#8696a7;font-size:12px}.initial-loading{min-height:70vh;display:grid;place-items:center;color:#8492a3;font-size:13px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.canvas-area{scrollbar-gutter:stable}
.hyundai-logo{width:165px;height:auto;display:block}.brand-divider{width:1px;height:33px;background:#d8e1eb;margin:0 8px}.brand-title{font-size:12px;color:#62778d}.brand-title b{font-size:15px;color:var(--navy)}.barozero-header{width:110px;height:auto;display:block}.barozero-intro{display:flex;align-items:center;gap:14px;margin-top:19px}.barozero-intro img{width:120px;height:auto}.barozero-intro span{font-size:10px;color:#7a8ea2;border-left:1px solid #d5e0eb;padding-left:14px}
.access-scope{font-size:10px;line-height:1.6;color:#8395a8;margin:0 0 13px}#report-list{display:flex;flex-direction:column;gap:8px}.report-item{background:#fff;border-color:#e0e7ef;color:#60778e;transition:background .15s,border-color .15s}.report-item:hover{background:#f4f8fd;border-color:#c3d8ec}.report-item.selected{background:#edf5ff;border-color:#86b7e5;color:#164f87}.report-item[data-depth="1"]{border-left:3px solid #c2d8ee}.report-item[data-depth="2"]{border-left:3px solid #cbdce8}.report-relationship{font-size:8px;display:block;color:#849aad;margin-bottom:6px;letter-spacing:.3px}.report-item.selected .report-relationship{color:#3e85bc}.report-item strong{font-size:13px}.report-item small{font-size:9px}.selected-org{font-size:12px;line-height:1.7;margin:0 0 8px;color:#4383b3;font-weight:700}.sidebar-bottom{padding-top:30px}
@media(min-width:1500px){.report-workspace{padding:40px 52px}.sidebar{padding:42px 30px}.portal-layout{grid-template-columns:285px minmax(0,1fr)}}
@media(max-width:1100px){.login-layout{gap:35px;padding:40px 30px}.intro h1{font-size:36px}.login-card{padding:34px 28px}.portal-layout{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:25px 18px}.report-workspace{padding:26px 22px}.report-heading{align-items:flex-start;flex-direction:column}.report-actions{align-self:flex-end;margin-top:-4px}.viewer-caption>span:last-child{display:none}.canvas-area{height:calc(100vh - 375px)}}
@media(max-width:720px){.site-header{height:72px;padding:0 20px}.brand{font-size:12px}.brand b{font-size:13px}.brand-mark{width:30px;height:35px;font-size:18px}.header-end{gap:10px}.year-label{display:none}.login-layout{display:block;padding:34px 22px;max-width:480px}.intro{padding:0 6px}.intro h1{font-size:30px}.intro-copy{font-size:13px}.intro-visual{display:none}.eyebrow{font-size:9px;margin-bottom:16px}.login-card{margin-top:30px;padding:28px 24px}.login-card h2{font-size:22px}.site-footer{font-size:9px;height:55px}.portal-layout{display:block}.sidebar{padding:18px 20px;border-right:0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:1fr auto;gap:4px}.org-symbol,.sidebar-kicker,.sidebar-divider,.section-label,#report-list,.sidebar-bottom p{display:none}.sidebar h2{font-size:18px}.account-name{margin:3px 0 0;grid-column:1}.sidebar-bottom{margin:0;padding:0;grid-column:2;grid-row:1/3;align-self:center}.logout-button{margin:0;padding:9px 12px;gap:18px}.report-workspace{padding:23px 14px}.report-heading h1{font-size:21px}.report-actions{align-self:stretch;width:100%;margin-top:3px}.report-actions a{flex:1;padding:0 8px;font-size:11px}.viewer-toolbar{padding:9px;flex-wrap:wrap;gap:8px}.viewer-caption{display:none}.zoom-controls{gap:7px}.page-controls{gap:6px}.canvas-area{padding:14px;height:58vh;min-height:340px;align-items:flex-start}canvas{align-self:center}.viewer-footer{font-size:8px}.viewer-footer span:last-child{max-width:200px;text-align:right}#fit-page{font-size:9px}}
@media(max-width:720px){.site-header{padding:0 16px}.hyundai-logo{width:112px}.brand{gap:8px}.brand-divider{margin:0 3px;height:29px}.brand-title{font-size:9px}.brand-title b{font-size:11px}.barozero-header{width:75px}.section-label{display:flex;grid-column:1/-1;margin:17px 0 4px}.access-scope{grid-column:1/-1;margin:0 0 9px}#report-list{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:190px;overflow:auto}.report-item{padding:10px}.report-item strong{font-size:11px}.report-item small{font-size:8px}.report-relationship{font-size:8px;margin-bottom:3px}.barozero-intro{margin-top:15px}.barozero-intro img{width:100px}}
@media(min-width:721px){.portal-layout{height:calc(100vh - 88px);min-height:600px}.sidebar{min-height:0}#report-list{min-height:0;overflow-y:auto;scrollbar-gutter:stable}.report-item{padding:12px;flex-shrink:0}.sidebar-bottom{padding-top:16px}.sidebar-bottom p{margin:10px 0}.logout-button{margin-top:12px}.report-workspace{min-height:0;display:flex;flex-direction:column}.pdf-viewer{flex:1;min-height:0;display:flex;flex-direction:column}.canvas-area{flex:1;height:auto;min-height:200px}.viewer-toolbar,.viewer-footer{flex-shrink:0}}

/* v03: organization-focused navigation and compact report controls */
.site-header{padding:0 32px;gap:24px}.brand{gap:14px;min-width:0}.brand-title{font-size:24px;font-weight:700;line-height:1.3;white-space:nowrap;color:var(--navy);letter-spacing:-1px}.header-end{gap:25px;flex-shrink:0}.logout-button{width:auto;min-height:40px;margin:0;padding:0 18px;gap:16px;align-items:center;border:1px solid #096ad5;border-radius:5px;background:#096ad5;color:#fff;font-size:12px;font-weight:700;white-space:nowrap}.logout-button:hover{background:#0756af;border-color:#0756af}.sidebar{padding-top:30px}.sidebar h2{font-size:23px}.sidebar-divider{margin:22px 0}.section-label{font-size:12px;margin:0 0 14px}#report-list{gap:7px}.report-item{border-radius:0;min-height:44px;padding:10px 13px;display:flex;align-items:center}.report-item strong{font-size:13px;line-height:1.5;font-weight:600}.report-item[data-depth]{border-left:1px solid #e0e7ef}.report-item.selected{border:1px solid #86b7e5;border-left:3px solid #096ad5;padding-left:11px}.report-heading{margin-bottom:20px}.report-heading h1.selected-org{font-size:16px;line-height:1.6;letter-spacing:-.3px;margin:0;color:#4383b3}.report-actions{flex-shrink:0}
@media(min-width:721px){.report-heading{flex-direction:row;align-items:center}.report-actions{align-self:center;margin:0}.sidebar{min-height:0}.canvas-area{height:auto}}
@media(max-width:1100px) and (min-width:721px){.site-header{padding:0 24px;gap:18px}.brand{gap:10px}.hyundai-logo{width:145px}.brand-divider{margin:0 3px}.brand-title{font-size:22px}.barozero-header{width:90px}.header-end{gap:17px}.logout-button{padding:0 14px}.report-heading{flex-wrap:wrap}.report-actions{margin-left:auto}.report-workspace{padding-top:25px}}
@media(max-width:850px) and (min-width:721px){.hyundai-logo{width:115px}.brand-title{font-size:19px}.barozero-header{width:75px}.header-end{gap:12px}}
@media(max-width:720px){.site-header{height:auto;min-height:115px;padding:14px 18px;flex-wrap:wrap;gap:12px}.brand{width:100%;gap:10px}.hyundai-logo{width:clamp(60px,20vw,82px)}.brand-divider{height:26px;margin:0 2px}.brand-title{font-size:clamp(15px,4.6vw,21px);letter-spacing:-.6px}.header-end{width:100%;justify-content:space-between;gap:15px}.barozero-header{width:78px}.logout-button{min-height:34px;padding:0 14px;font-size:11px}.sidebar{display:block;padding:22px 20px}.sidebar h2{font-size:21px}.sidebar-divider{display:block;margin:18px 0}.section-label{margin:0 0 12px}.report-item{min-height:42px;padding:9px 12px}.report-item strong{font-size:12px}#report-list{max-height:140px}.report-heading{margin-bottom:16px}.report-heading h1.selected-org{font-size:14px}.report-actions{margin:0}.report-workspace{padding-top:20px}}

/* v04: minimal login and hierarchical organization navigation */
body.login-page{background:#fff}.login-layout{width:100%;max-width:none;min-height:100vh;min-height:100dvh;margin:0;padding:24px;display:grid;grid-template-columns:1fr;gap:0;place-items:center}.login-panel{width:min(100%,360px)}.login-panel label{font-size:13px;margin:0 0 9px}.login-panel #username{margin-bottom:22px}.login-panel input{font-size:14px}.login-panel .login-button{justify-content:center;margin-top:24px;font-size:14px}.login-panel .form-error{min-height:0;margin:12px 0 0}.login-panel .form-error:empty{display:none}.account-help{font-size:12px;line-height:1.8;text-align:center;color:#718095;margin:22px 0 0}.logout-button{justify-content:center;text-align:center;min-width:90px}.portal-layout{grid-template-columns:320px minmax(0,1fr)}#report-list{display:block;overflow:auto;min-height:0;max-height:none;scrollbar-gutter:stable}.tree-root,.tree-children{list-style:none;padding:0;margin:0}.tree-children{margin-left:14px;border-left:1px solid #e5ebf2}.tree-node{margin:0;padding:0}.tree-row{display:flex;align-items:stretch;min-height:38px;border-left:3px solid transparent;margin:2px 0}.tree-row:hover{background:#f2f6fb}.tree-row.selected{border-left-color:#096ad5;background:#eaf3ff}.tree-toggle,.tree-spacer{flex:0 0 26px;width:26px}.tree-toggle{padding:0;display:grid;place-items:center;background:transparent;border:0;color:#60768d}.tree-toggle:hover{background:#dfeaf7}.tree-chevron{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}.tree-toggle[aria-expanded="true"] .tree-chevron{transform:rotate(45deg)}.organization-select{flex:1;min-width:0;padding:9px 6px 9px 3px;border:0;background:transparent;text-align:left;color:#4e647b;font-size:12px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}.tree-row.selected .organization-select{font-weight:700;color:#164f87}.empty-state{flex:1;min-height:280px;display:flex;flex-direction:column;justify-content:center;padding:40px 24px}.empty-state h2{margin:0 0 12px;font-size:17px}.empty-state p{line-height:1.8;margin:0}.section-label{flex-shrink:0}.sidebar-divider{flex-shrink:0}
@media(min-width:1500px){.portal-layout{grid-template-columns:360px minmax(0,1fr)}}
@media(max-width:1100px) and (min-width:721px){.portal-layout{grid-template-columns:290px minmax(0,1fr)}.sidebar{padding-left:16px;padding-right:12px}.tree-children{margin-left:12px}.organization-select{font-size:11px}}
@media(max-width:720px){.portal-layout{display:block}.sidebar{padding:20px}.sidebar h2{font-size:20px}#report-list{display:block;max-height:38vh;overflow:auto}.login-layout{padding:24px;min-height:100dvh}.login-panel{width:min(100%,360px)}.logout-button{min-width:84px}.tree-children{margin-left:16px}.organization-select{font-size:12px}.empty-state{min-height:320px}}

/* v05: shared login header and organization rows at 80% of their previous height */
body.login-page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.login-page .site-header{flex-shrink:0}
.login-page .login-layout{flex:1;min-height:0}
.tree-row{min-height:30.4px;margin:1.6px 0}
.organization-select{padding-top:7.2px;padding-bottom:7.2px;line-height:1.2}

/* v06: administrator account management */
.admin-navigation{display:flex;gap:24px;min-height:48px;padding:0 32px;background:#fff;border-bottom:1px solid var(--border)}
.admin-navigation button{border:0;border-bottom:3px solid transparent;background:transparent;padding:0 5px;font-size:13px;color:#657991}
.admin-navigation button[aria-current]{border-bottom-color:var(--blue);color:var(--navy);font-weight:700}
.admin-screen{width:min(100%,1160px);padding:36px 32px 60px;margin:0 auto}
.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.admin-heading h1{font-size:24px;margin:0 0 10px}.admin-heading p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}
.account-count{font-size:12px;color:var(--muted);white-space:nowrap}
.account-id-rule{padding:18px 22px;border:1px solid var(--border);background:#fff;margin-bottom:25px;font-size:12px;color:#5d7288;line-height:1.7}
.account-id-rule strong{color:var(--navy);font-size:13px}.account-id-rule p{margin:6px 0 0}.account-id-rule code{font:inherit;color:var(--navy)}
#account-search{max-width:360px;height:42px;background:#fff}
.admin-status{font-size:13px;color:#245c90;min-height:22px;margin:16px 0;line-height:1.7}
.accounts-table-wrap{overflow:auto;border:1px solid var(--border);background:#fff}
.accounts-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}
.accounts-table th{background:#f0f4f9;font-size:12px;color:#576e86;font-weight:700}
.accounts-table th,.accounts-table td{padding:14px 20px;border-bottom:1px solid #e6ebf2;white-space:nowrap}
.accounts-table tr:last-child td{border-bottom:0}.accounts-table .reset-account-button{min-height:34px;font-size:12px;padding:0 14px}
.accounts-table .no-accounts{text-align:center;padding:40px;color:var(--muted)}
.password-dialog{width:min(440px,calc(100% - 32px));border:1px solid var(--border);border-radius:8px;padding:28px;color:var(--navy);box-shadow:0 15px 60px #102e5226}
.password-dialog::backdrop{background:#102e5266}
.password-dialog h2{font-size:20px;margin:0 0 12px}#reset-account{font-size:13px;font-weight:700;overflow-wrap:anywhere}
#reset-help{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 24px}
.password-dialog label{margin-top:18px}.password-dialog input{font-size:14px}
.reset-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
@media(min-width:721px){.admin-session .portal-layout{height:calc(100vh - 136px)}}
@media(max-width:720px){.admin-navigation{padding:0 20px}.admin-screen{padding:25px 20px 40px}.admin-heading{align-items:flex-start}.admin-heading h1{font-size:22px}.account-id-rule{padding:16px}.accounts-table th,.accounts-table td{padding:12px}.password-dialog{padding:24px}}

/* One-time generated password */
.field-help{font-size:12px;color:var(--muted);line-height:1.8}
#generated-password{font-family:ui-monospace,monospace;font-size:15px;background:#f4f7fb}
#copy-password{width:100%;margin-top:12px}
@media(max-width:800px){.admin-navigation{gap:18px}}

/* v08: keyboard and left/right document-area page navigation */
.canvas-area{cursor:pointer}
.canvas-area:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}

/* v10: fit the complete page inside the visible viewer and keep zoomed edges scrollable. */
.canvas-area{align-items:stretch}
#pdf-canvas{margin:auto;align-self:auto}
#fit-page[aria-pressed="true"]{color:var(--blue);font-weight:700}
@media(min-width:721px){
  .portal-layout{height:calc(100dvh - 88px);min-height:0}
  .admin-session .portal-layout{height:calc(100dvh - 136px)}
  .canvas-area{min-height:0}
}

/* v11: place page-navigation guidance immediately before the report actions. */
.report-heading{flex-wrap:wrap}
.report-actions{align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:100%;margin-left:auto}
.page-navigation-hint{font-size:11px;line-height:1.6;color:#6d7e91;word-break:keep-all;margin-right:4px}
@media(max-width:720px){.page-navigation-hint{flex-basis:100%;text-align:right;margin-right:0}}

/* v12: the header owns the report actions; the viewer fills the remaining body. */
body{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.site-header{height:auto;min-height:88px;flex:0 0 auto;flex-wrap:wrap;padding:16px 24px;gap:14px 24px}
.brand{flex:0 1 auto}.brand .barozero-header{width:90px;flex-shrink:0}
.header-end{flex:1 1 auto;min-width:0;gap:12px;justify-content:flex-end}
.header-report-controls{display:flex;flex:1;flex-wrap:wrap;min-width:0;align-items:center;justify-content:flex-end;gap:10px 18px}
.header-report-controls .selected-org{flex:1 1 180px;min-width:0;margin:0;font-size:12px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}
.header-report-controls .report-actions{flex:0 1 auto;min-width:0;margin:0;gap:8px}
.header-end .logout-button{flex-shrink:0;align-self:center}
.login-page .header-end{display:none}
.admin-navigation{flex:0 0 auto}
.portal-layout,.admin-session .portal-layout{flex:1;min-height:0;height:auto;overflow:hidden}
.portal-layout{display:grid}
.report-workspace{padding:0;min-height:0;display:flex;flex-direction:column}
.pdf-viewer{flex:1;min-height:0;display:flex;flex-direction:column;border:0;border-radius:0}
.canvas-area{flex:1;height:auto;min-height:0;overscroll-behavior:contain}
.viewer-toolbar,.viewer-footer{flex-shrink:0}
.login-layout,.admin-screen{flex:1;min-height:0;overflow:auto}
.initial-loading{flex:1;min-height:0}
@media(max-width:720px){
  .site-header{min-height:72px;padding:12px 16px;gap:12px}
  .brand{width:100%;gap:8px}.brand .hyundai-logo{width:64px}
  .brand .barozero-header{width:56px}.brand-divider{margin:0;height:24px}
  .brand-title{font-size:clamp(12px,3.2vw,20px);letter-spacing:-.7px}
  .header-end{width:100%;gap:8px;align-items:center}
  .header-report-controls .selected-org{flex-basis:100%;font-size:11px}
  .header-report-controls .report-actions{width:100%}
  .header-report-controls .page-navigation-hint{text-align:left}
  .portal-layout{display:flex;flex-direction:column}
  .sidebar{display:flex;flex:0 1 auto;max-height:25dvh;min-height:0;padding:12px 16px}
  .sidebar h2{font-size:16px}.sidebar-divider{margin:8px 0}.section-label{display:none}
  #report-list{min-height:0;max-height:none;overflow:auto}
  .report-workspace{flex:1;padding:0}.canvas-area{padding:16px}
  .login-page .login-layout{min-height:0}
}
