@font-face{font-family:Delivery;src:url('/fonts/Delivery_Lt.ttf') format('truetype');font-weight:300;font-display:swap}
@font-face{font-family:Delivery;src:url('/fonts/Delivery_Rg.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Delivery;src:url('/fonts/Delivery_Bd.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Delivery;src:url('/fonts/Delivery_BdIt.ttf') format('truetype');font-style:italic;font-weight:700;font-display:swap}
@font-face{font-family:'Delivery Condensed';src:url('/fonts/Delivery_CdBlk.ttf') format('truetype');font-weight:900;font-display:swap}
:root{font:15px/1.5 Delivery,Arial,sans-serif;color:#24272c;background:#f7f6f2;--red:#d40511;--yellow:#ffcc00;--ink:#24272c;--muted:#6d7279;--line:#e9e8e2;--cream:#fff9e8;--shadow:0 9px 28px #30210e0c}
*{box-sizing:border-box}
html{scroll-behavior:auto}
body{margin:0;min-height:100vh}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.48;cursor:not-allowed}
input,select,textarea{color:var(--ink)}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid #d4051170;outline-offset:3px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:'Delivery Condensed',Delivery,Arial,sans-serif;font-weight:900;line-height:1.14;letter-spacing:-.02em}
h1{font-size:clamp(2.3rem,4.3vw,4.2rem)}
h2{font-size:clamp(1.55rem,2.4vw,2.35rem)}
h3{font-size:1.12rem}
.muted{color:var(--muted)}
.eyebrow{display:block;color:#af0d18;letter-spacing:.14em;font-size:.72rem;font-weight:700;text-transform:uppercase}
.loading{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}
.spinner{width:22px;height:22px;border:3px solid #d4d9dc;border-top-color:var(--red);border-radius:50%;animation:spin .85s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:11px;background:var(--red);color:#fff;min-height:45px;padding:11px 16px;font-weight:700;text-align:center;transition:transform .2s,box-shadow .2s,background .2s}
.button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 24px #17223019}
.button.light{background:#fff;border-color:#d7dce1;color:var(--ink)}
.button.gold{background:var(--yellow);color:#161c22}
.button.ghost{background:transparent;border-color:#e3e8eb;color:#334251}
.button.danger{background:#fff3f3;border-color:#ffd1d4;color:#b80c17}
.button.small{min-height:36px;padding:7px 11px;font-size:.81rem;border-radius:9px}
.button.wide{width:100%}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:none}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand img{display:block;width:135px;height:auto;flex:none}
.brand-rule{width:1px;height:32px;background:#26374334;flex:none}
.brand-name{font-weight:700;letter-spacing:-.04em;font-size:1.22rem;line-height:1.05}
.brand-name small{display:block;font-size:.64rem;letter-spacing:.04em;margin-top:4px;font-weight:400;color:#68747e}
.brand.compact img{width:105px}.brand.compact .brand-name{font-size:1.16rem}
.brand.compact .brand-name small{font-size:.59rem}
.brand.light .brand-name{color:#fff}.brand.light .brand-name small{color:#aab7c1}.brand.light .brand-rule{background:#ffffff3b}
.brand.light img{width:112px}
.topline{height:5px;background:linear-gradient(90deg,var(--red) 0 24%,var(--yellow) 24% 100%)}
.login-page{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;font:15px/1.5 Delivery,Arial,sans-serif;color:#24272c;background:radial-gradient(circle at 12% 90%,#ffe88c65,transparent 37%),#f7f6f2}
.login-top{background:var(--yellow);border-top:6px solid var(--red);border-bottom:1px solid #ebc123}
.login-top-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;width:min(1140px,100%);margin:auto;padding:19px 24px}
.login-top .brand{gap:17px;min-height:46px}
.login-top .brand img{width:156px;max-height:48px;object-fit:contain}
.login-top .brand-rule{height:30px;background:#d29c13}
.login-top .brand-name{font-size:11px;font-weight:700;line-height:1.25;letter-spacing:.07em;color:#68420b}
.top-chip{background:#ffffff99;color:#745305;border:1px solid #ffffffa8;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:700}
.login-layout{width:min(1140px,100%);margin:auto;padding:48px 24px 62px;display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,440px);align-items:center;gap:clamp(30px,6vw,98px)}
.login-intro{max-width:570px;min-width:0;animation:login-rise .5s both}
.login-intro h1{font-family:'Delivery Condensed',Delivery,Arial,sans-serif;font-weight:900;letter-spacing:-.02em;font-size:clamp(42px,5vw,68px);line-height:1.08;margin:18px 0 22px}
.login-intro h1 em{font-style:normal;color:var(--red)}
.login-intro p{max-width:480px;line-height:1.65;font-size:17px;color:#62656a}
.intro-rule{height:5px;width:85px;border-radius:10px;background:var(--yellow);margin:28px 0 14px}
.network-illustration{display:block;width:min(100%,520px);max-height:280px;height:auto;object-fit:contain;object-position:left center}
.login-card{background:#fff;border:1px solid #e8e5da;border-radius:21px;box-shadow:0 25px 70px #2a21151b;padding:34px;animation:login-rise .45s both}
.login-card .auth-card{width:100%}
.login-mark{width:47px;height:47px;display:grid;place-items:center;border-radius:14px;background:#fff1bf;color:var(--red);font-size:24px;font-weight:900;margin-bottom:21px}
.login-card h2{font-family:'Delivery Condensed',Delivery,Arial,sans-serif;font-size:27px;line-height:1.15;letter-spacing:-.02em;font-weight:900;margin:0 0 6px}
.login-card .muted{font-size:14px;line-height:1.5;margin:0 0 26px;color:#6d7279}
.login-card .sso-button{min-height:52px;justify-content:center;padding:12px 15px;color:#312400;border-color:#e8bc16;font-weight:700}
.login-card .sso-button:hover:not(:disabled){background:#ffd83b}
.login-error{margin:12px 0 0;padding:11px 12px;background:#fff0f0;color:#aa0b17;border-radius:9px;font-size:13px;font-weight:700}
.login-error[hidden]{display:none}
.auth-foot{margin:24px 0 0;font-size:14px;line-height:1.5;color:#697077}
.login-footer{text-align:center;padding:16px 24px 24px;font-size:12px;color:#777b7f}
@keyframes login-rise{from{transform:translateY(13px);opacity:0}to{transform:translateY(0);opacity:1}}
.microsoft{display:grid;grid-template-columns:repeat(2,7px);gap:2px;flex:none}
.microsoft i{display:block;width:7px;height:7px;background:#f25022}
.microsoft i:nth-child(2){background:#7fba00}.microsoft i:nth-child(3){background:#00a4ef}.microsoft i:nth-child(4){background:#ffb900}
.login-note{margin-top:22px;padding:15px 17px;background:#f6f8fa;border:1px solid #e6ebee;border-radius:12px;font-size:.85rem;color:#5c6874}
.callback-page{background:linear-gradient(142deg,#ffcc00 0 34%,#f7f8f8 34%);display:grid;place-items:center;min-height:100vh;padding:20px}
.callback-card{background:white;max-width:500px;width:100%;padding:38px;border-radius:20px;box-shadow:var(--shadow);border-top:6px solid var(--red)}
.callback-card .eyebrow{margin:33px 0 12px}.callback-card h1{font-size:2.2rem}.callback-card p{color:var(--muted);line-height:1.55}.callback-card a{color:#b20a16;font-weight:700}
.error-text{color:var(--red)!important}
.simple-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#ffcc00 0 28%,#f7f8f8 28% 100%)}
.simple-card{width:min(100%,590px);padding:clamp(25px,5vw,43px);background:#fff;border-radius:18px;border-top:5px solid var(--red);box-shadow:var(--shadow)}
.simple-card .brand{margin-bottom:30px}.simple-card h1{font-size:2.1rem;margin:13px 0}
.profile-hint{margin-top:16px}.profile-logout{margin-top:20px}.pending-actions{margin-top:22px}
.info-box{background:var(--cream);border:1px solid #f1dea1;border-radius:12px;padding:17px;line-height:1.55}
.form{display:grid;gap:16px}.form label{display:grid;gap:7px;font-weight:700;font-size:.83rem;color:#293747}
.form input,.form select,.form textarea,.search input{background:#fff;border:1px solid #dce2e6;border-radius:10px;padding:12px 13px;min-height:44px;width:100%;outline:none;font-size:.95rem}
.form textarea{resize:vertical;min-height:84px}.form :is(input,select,textarea):focus,.search input:focus{border-color:#c91723;box-shadow:0 0 0 3px #d4051116}
.form small{font-size:.75rem;color:var(--muted);line-height:1.4}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.form-actions{display:flex;gap:10px;flex-wrap:wrap}
.icon-select-row{display:flex;align-items:center;gap:9px;min-width:0}
.icon-preview{width:45px;height:45px;flex:none;display:grid;place-items:center;color:#ab0c16;background:#fff1c2;border:1px solid #eed886;border-radius:10px}
.form .icon-select-row select{flex:1;min-width:0;width:auto}
.workspace{min-height:100vh;display:grid;grid-template-columns:254px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);background:#f7f6f2}
.workspace.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}
.workspace.sidebar-collapsed .sidebar{display:none}
.workspace.sidebar-collapsed .main{max-width:none}
.nit-header{grid-column:1/-1;background:linear-gradient(112deg,#ffcc00 0%,#ffd738 69%,#ffe875 100%);border-top:6px solid var(--red);border-bottom:1px solid #edbe0a;position:relative;overflow:hidden}
.nit-header:after{content:"";position:absolute;width:430px;height:430px;right:-170px;top:-280px;border:55px solid #fff5b27d;transform:rotate(-24deg);pointer-events:none}
.nit-header-inner{max-width:1600px;margin:auto;padding:18px clamp(18px,3vw,48px) 29px;position:relative;z-index:1}
.brand-row,.header-brand,.header-actions{display:flex;align-items:center;gap:15px}
.brand-row{justify-content:space-between;gap:24px;margin-bottom:26px}
.nit-header .brand{gap:17px;min-height:46px}
.nit-header .brand img{width:156px;max-height:48px;object-fit:contain}
.nit-header .brand-rule{height:30px;background:#d29c13}
.nit-header .brand-name{font:700 11px/1.25 Delivery,Arial,sans-serif;letter-spacing:.07em;color:#68420b}
.header-actions{gap:10px;min-width:0}
.header-button,.header-user{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff9dd;border:1px solid #f0c633;border-radius:10px;color:#754400;min-height:39px;padding:8px 12px;font-weight:700;white-space:nowrap}
.header-button:hover,.header-user:hover{background:#fffdf0;transform:translateY(-1px)}
.header-button .icon{width:17px;height:17px}
.header-user{padding:4px 5px 4px 12px;background:#ffffff8a;min-width:0}
.header-user-name{font-size:.84rem;max-width:200px;overflow:hidden;text-overflow:ellipsis}
.header-user .avatar{width:31px;height:31px;background:#d40511;color:#fff;overflow:hidden}
.header-user .avatar img{display:block;width:100%;height:100%;object-fit:cover}
.header-heading{max-width:100%}
.header-heading .eyebrow{color:#a50914}
.header-heading h1{font-size:clamp(2rem,3vw,3.2rem);line-height:1.1;margin:6px 0 4px;overflow-wrap:break-word}
.header-heading p{font-size:.99rem;font-weight:700;color:#5d511f;margin:0;line-height:1.45}
.sidebar{grid-column:1;grid-row:2;background:linear-gradient(180deg,#fff2bc,#fffaea 250px,#fffdf8 100%);color:#493c28;min-height:calc(100vh - 176px);display:flex;flex-direction:column;padding:20px 13px 21px;position:sticky;top:0;height:100vh;overflow-y:auto;border-right:1px solid #e8dfc7;z-index:10;scrollbar-color:#d9c681 #fffaf0}
.sidebar-label{display:block;font-size:.67rem;letter-spacing:.17em;color:#816b42;margin:19px 12px 8px;font-weight:700;text-transform:uppercase}
.side-link,.side-child{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:0;border-radius:10px;padding:11px 12px;color:#4e493e;font-size:.89rem;font-weight:700;line-height:1.23}
.side-link>span:not(.chevron),.side-child>span:not(.chevron){min-width:0;overflow-wrap:anywhere}
.side-link .icon{color:#b20d18;width:19px;height:19px}
.side-link:hover,.side-child:hover,.side-report:hover{background:#ffe9a0;color:#711018}
.side-link.active,.side-report.active{background:var(--red);color:#fff;box-shadow:0 5px 15px #d4051126}
.side-link.active .icon,.side-report.active .icon{color:#fff}
.side-link.current-area,.side-child.current-area{background:#fff0c0;color:#9d0d17}
.side-link.current-area>.icon,.side-child.current-area>.icon{color:#ad0b15}
.side-link .chevron{margin-left:auto;opacity:.8;transform:rotate(0);transition:transform .2s}
.side-link.expanded .chevron{transform:rotate(90deg)}
.side-link .chevron .icon{width:15px;height:15px;color:inherit}
.side-child .chevron{margin-left:auto;transform:rotate(0);transition:transform .2s}
.side-child.expanded .chevron{transform:rotate(90deg)}
.side-child .chevron .icon{width:14px;height:14px;color:inherit}
.side-children{margin:1px 0 8px 21px;padding-left:9px;border-left:1px solid #e5c86c}
.side-children[hidden]{display:none}
.side-child{padding:9px 8px;font-size:.82rem;color:#5e513a;gap:8px}
.side-child .icon{width:16px;height:16px;color:#b20d18}
.side-group.nested .side-children{margin-left:15px;padding-left:7px}
.side-report{display:flex;align-items:flex-start;gap:8px;width:100%;text-align:left;border:0;border-radius:9px;padding:9px 8px;background:transparent;color:#5c584e;font-size:.78rem;font-weight:700;line-height:1.3}
.side-report .icon{width:15px;height:15px;margin-top:1px;color:#c20d1a}
.side-report span{min-width:0;overflow-wrap:anywhere}
.side-empty{display:block;color:#8a8171;font-size:.75rem;line-height:1.35;padding:9px}
.side-results{border-top:1px solid #eadab1;margin-top:10px;padding-top:4px}
.side-results .side-report{padding-left:12px}
.side-clear{border:0;background:transparent;color:#a60c17;font-weight:700;font-size:.75rem;padding:2px 12px 9px;text-decoration:underline}
.side-all{margin-left:22px}
.sidebar-bottom{margin-top:auto;padding-top:17px;border-top:1px solid #e4d8b3}
.sidebar-bottom .side-link{font-size:.81rem}
.maincol{grid-column:2;grid-row:2;min-width:0}
.content-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fffdf6;border-bottom:1px solid #ede4c7;padding:13px clamp(18px,2.6vw,38px);min-height:68px}
.sidebar-toggle{white-space:nowrap;flex:none}
.content-toolbar>span{font-size:.84rem;font-weight:700;color:#68420b;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search{position:relative;display:flex;align-items:center;min-width:190px;width:min(34vw,360px)}
.search .icon{position:absolute;left:11px;color:#886d37;width:18px;height:18px}
.search input{padding-left:39px;background:#fff;border-color:#e4dbc4}
.avatar{width:38px;height:38px;border-radius:50%;background:#ffcc00;color:#9b0711;font-weight:700;display:grid;place-items:center;flex:none}
.mobile-trigger,.side-backdrop{display:none}
.main{max-width:1520px;margin:0 auto;padding:clamp(23px,3vw,42px) clamp(17px,3vw,48px) 65px;min-height:calc(100vh - 244px)}
.welcome-stage{min-height:min(695px,calc(100vh - 270px));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px 16px 32px}
.welcome-heading{max-width:740px;position:relative;z-index:1}
.welcome-heading h1{font-size:clamp(2.35rem,4vw,4.2rem);margin:9px 0 12px;line-height:1.12}
.welcome-heading p{color:#66645d;font-size:clamp(.95rem,1.25vw,1.1rem);line-height:1.5;margin:0}
.motion-wrap{width:min(100%,690px);margin:10px auto 0}
.welcome-motion{display:block;width:100%;height:auto;max-height:390px}
.welcome-motion .motion-tile{opacity:1;transform-box:fill-box;transform-origin:center;animation:assemble 11s ease-in-out infinite}
.welcome-motion .motion-tile.one{animation-delay:0s}.welcome-motion .motion-tile.two{animation-delay:.55s}.welcome-motion .motion-tile.three{animation-delay:1.1s}.welcome-motion .motion-tile.four{animation-delay:1.65s}.welcome-motion .motion-tile.five{animation-delay:2.2s}
.welcome-motion .pulse{animation:pulse 3s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.welcome-motion .bar{transform-box:fill-box;transform-origin:bottom;animation:grow 4s ease-in-out infinite alternate}
.welcome-motion .bar.b2{animation-delay:.5s}.welcome-motion .bar.b3{animation-delay:1s}.welcome-motion .bar.b4{animation-delay:1.5s}
.welcome-motion .flow{stroke-dasharray:8 12;animation:route 3s linear infinite}
@keyframes assemble{0%,5%{opacity:0;transform:translateY(-28px) scale(.78)}17%,72%{opacity:1;transform:translateY(0) scale(1)}83%,100%{opacity:0;transform:translateY(-10px) scale(.94)}}
@keyframes pulse{50%{transform:scale(1.18);opacity:.7}}
@keyframes grow{0%{transform:scaleY(.55)}100%{transform:scaleY(1)}}
@keyframes route{to{stroke-dashoffset:-40}}
.welcome-tip{display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#78674a;background:#fffaf0;border:1px solid #eee2c8;border-radius:999px;padding:10px 16px;font-size:.83rem;font-weight:700;line-height:1.35;max-width:100%}
.welcome-tip .icon{color:var(--red);width:18px;height:18px}
.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:25px}
.page-heading h1{font-size:clamp(2rem,3vw,3.15rem);margin:7px 0 7px}
.page-heading p{margin-bottom:0;line-height:1.5;color:var(--muted)}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 30px #18283907}
.tile-icon{background:#fff4cb;color:#b30a15;width:43px;height:43px;border-radius:12px;display:grid;place-items:center}
.empty{border:1px dashed #cbd3d9;border-radius:16px;padding:42px;text-align:center;background:#fff;color:var(--muted)}
.empty .icon{display:block;margin:0 auto 13px;color:#c10b18;width:31px;height:31px}
.empty h3{color:var(--ink);margin-bottom:7px}
.breadcrumbs{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:.8rem;margin-bottom:13px;flex-wrap:wrap}
.breadcrumbs button{border:0;background:none;padding:0;color:#ba101c;font-weight:700}
.report-view{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.report-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line)}
.report-toolbar h1{font-size:1.65rem;margin:5px 0 5px}
.report-toolbar p{color:var(--muted);margin:0;font-size:.85rem}
.report-toolbar-actions{display:flex;gap:9px;flex-wrap:wrap}
.report-frame{display:block;border:0;width:100%;height:max(660px,74vh);background:#fafbfc}
.frame-note{padding:14px 22px;background:#fff9e9;color:#6a5a37;font-size:.8rem;border-top:1px solid #f4e5ad}
.panel{padding:24px}.panel h2{font-size:1.28rem;margin:0 0 6px}
.panel-head{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:20px}
.panel-head p{color:var(--muted);font-size:.86rem;line-height:1.45;margin:5px 0 0}
.admin-layout{display:grid;grid-template-columns:minmax(270px,.92fr) minmax(0,1.08fr);gap:17px;align-items:start}
.list{display:grid;gap:9px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e9ecef;border-radius:11px;padding:11px 13px}
.list-row.depth-1{margin-left:21px;background:#f9fafb}
.list-row.depth-2{margin-left:42px;background:#fffdf6}
.list-row strong{display:block;font-size:.87rem}.list-row small{color:var(--muted);font-size:.74rem}
.list-row .icon{color:#b7111b}.row-title{display:flex;align-items:center;gap:9px;min-width:0}.row-title span{min-width:0;overflow-wrap:anywhere}
.row-actions{display:flex;gap:6px;flex:none}
.hint{font-size:.77rem;line-height:1.45;color:var(--muted);margin:2px 0 0}
.category-hint{margin-top:17px}.audit-panel{margin-top:19px}
.users{display:grid;gap:13px}.user-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.user-details{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px}
.user-details summary{color:#9f0914;font-weight:700;cursor:pointer;font-size:.83rem}
.user-details .form{margin-top:13px;max-width:650px}
.reapply-form{margin-top:20px}
.role-panel{margin-top:22px}
.policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.policy-grid fieldset{min-width:0;border:1px solid #e8e6dd;border-radius:13px;padding:15px;display:flex;flex-direction:column;gap:8px}
.policy-grid legend{padding:0 5px;font-size:.9rem;font-weight:700;color:#3c3530}
.form .policy-check{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:.84rem;border-radius:9px;padding:8px;background:#faf9f5}
.form .policy-check input{width:17px;height:17px;min-height:17px;flex:none;margin:2px 0 0;accent-color:var(--red)}
.policy-check span{min-width:0;overflow-wrap:anywhere}
.policy-check strong,.policy-check small{display:block;line-height:1.35}
.policy-check small{margin-top:3px}
.policy-areas{max-height:310px;overflow-y:auto;border-top:1px solid #ece6d6;padding-top:8px;display:grid;gap:3px}
.policy-areas.subdued{opacity:.63}
.policy-area.depth-1{margin-left:15px}.policy-area.depth-2{margin-left:30px}
.policy-area span{display:flex;align-items:center;gap:8px}.policy-area .icon{width:17px;height:17px;color:#b20d18}
.user-card.pending{border-color:#edc76c;background:#fffdf7}
.user-name{display:flex;align-items:center;gap:10px}.user-name strong{display:block}.user-name small{display:block;color:var(--muted);margin-top:3px}
.user-meta{color:var(--muted);font-size:.79rem;margin:10px 0 0}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#eef2f4;color:#4b5b66;font-weight:700;font-size:.7rem;white-space:nowrap}
.badge.pending{background:#fff2c0;color:#875700}.badge.approved{background:#def5e8;color:#146445}.badge.denied,.badge.suspended{background:#fde5e6;color:#9c151c}
.user-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.user-actions select{border:1px solid #d7dde2;border-radius:8px;padding:7px;background:#fff;max-width:140px}
.activity{display:grid;gap:8px;margin-top:18px}.activity-row{border-bottom:1px solid var(--line);padding:10px 0;font-size:.81rem;color:var(--muted)}.activity-row strong{color:var(--ink)}
.profile-card{max-width:690px}
.footer-note{font-size:.74rem;color:#9aa3ab;margin-top:29px}
#toast{position:fixed;bottom:20px;right:20px;z-index:60;max-width:min(420px,calc(100vw - 32px));background:#202d3b;color:#fff;padding:14px 17px;border-radius:11px;box-shadow:0 18px 45px #17223044;opacity:0;transform:translateY(15px);pointer-events:none;transition:opacity .2s,transform .2s;line-height:1.4}
#toast.visible{opacity:1;transform:translateY(0)}
#toast.error{background:#a50d18}
dialog{border:0;border-radius:17px;box-shadow:0 25px 80px #13243860;padding:26px;max-width:min(420px,calc(100vw - 32px));animation:pop .2s ease-out}
dialog::backdrop{background:#15222eb4}
dialog h2{font-size:1.25rem;margin-bottom:10px}dialog p{color:var(--muted);line-height:1.5}
dialog .form-actions{justify-content:flex-end;margin-top:20px}
@keyframes pop{from{transform:translateY(12px) scale(.98);opacity:.5}to{transform:none;opacity:1}}
.tour-dialog{width:min(540px,calc(100vw - 32px));max-width:none;padding:0;overflow:hidden;border:1px solid #e8d9ae;border-radius:19px}
.tour-art{height:145px;background:linear-gradient(120deg,#ffcc00,#ffe682);display:flex;align-items:center;justify-content:center;position:relative;color:#d40511}
.tour-art>.icon{width:67px;height:67px;stroke-width:1.5}
.tour-count{position:absolute;bottom:13px;right:22px;font-size:.76rem;font-weight:700;letter-spacing:.12em;color:#683c07}
.tour-body{padding:27px 30px 30px}
.tour-body h2{font-size:2rem;margin:10px 0 12px}
.tour-body p{line-height:1.55;color:var(--muted);min-height:67px}
.tour-progress{display:flex;gap:6px;margin:22px 0 27px}
.tour-progress i{width:22px;height:5px;background:#e6e5df;border-radius:99px}
.tour-progress i.active{width:38px;background:var(--red)}
.tour-controls,.tour-controls>div{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tour-skip{border:0;background:none;color:#a20a15;font-weight:700;padding:8px}
.tour-close{position:absolute;top:12px;right:13px;width:35px;height:35px;border:0;border-radius:50%;background:#fff8dc;color:#8c0912;display:grid;place-items:center}
.tour-close .icon{width:17px;height:17px}
@media(min-width:1201px) and (min-height:700px){.admin-layout>.panel:first-child{position:sticky;top:14px}}
@media(max-width:1200px){.admin-layout{grid-template-columns:1fr}}
@media(max-width:900px){
  body.menu-open{overflow:hidden}
  .login-layout{grid-template-columns:1fr;max-width:560px;gap:24px;padding-top:34px}.login-intro h1{font-size:clamp(40px,7vw,58px)}.login-intro p{font-size:15px}
  .network-illustration{max-height:215px}.login-card{width:100%}
  .workspace{display:block}.sidebar{position:fixed;left:0;top:0;width:min(290px,85vw);transform:translateX(-105%);transition:transform .24s;height:100vh;min-height:0;box-shadow:15px 0 60px #5d4c2044}.sidebar.open{transform:translateX(0)}.side-backdrop.show{display:block;position:fixed;inset:0;background:#101d2a8a;z-index:9;border:0;width:100%}
  .workspace.sidebar-collapsed .sidebar{display:flex}.sidebar-toggle{display:none}
  .policy-grid{grid-template-columns:1fr}
  .mobile-trigger{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid #e8be37;background:#fff8db;color:#9f0914;border-radius:9px;flex:none}
  .nit-header-inner{padding:17px 20px 24px}.brand-row{flex-wrap:wrap;gap:13px;margin-bottom:19px}.header-actions{margin-left:auto}.header-heading h1{font-size:clamp(30px,4.5vw,40px)}
  .search{width:min(50vw,340px)}
}
@media(max-width:620px){
  .login-top-inner{padding:15px 18px}.login-top .brand img{width:122px}.login-top .brand-name{font-size:10px}.login-top .brand-rule{height:27px}.top-chip{display:none}
  .login-layout{padding:29px 18px 44px;gap:20px}.login-intro h1{font-size:36px;margin:12px 0}.login-intro p{font-size:14px}.network-illustration{max-height:155px}.login-card{padding:25px}.login-card .sso-button{font-size:14px}.intro-rule{margin:18px 0 12px}
  .nit-header-inner{padding:16px 16px 21px}.nit-header .brand img{width:122px}.nit-header .brand-name{font-size:10px}.header-brand{gap:8px;min-width:0}.header-brand .brand{min-width:0}.brand-row{align-items:flex-start}.header-actions{width:100%;justify-content:flex-end;gap:7px}.header-user-name{max-width:30vw}.header-button span{display:none}.header-button{width:38px;height:38px;padding:0}.header-heading h1{font-size:31px;line-height:1.12}.header-heading p{font-size:.86rem}
  .content-toolbar{padding:10px 15px;min-height:58px}.content-toolbar>span{display:none}.content-toolbar .search{width:100%;min-width:0}.content-toolbar .search input{min-height:40px}
  .main{padding:22px 15px 40px}
  .welcome-stage{min-height:calc(100svh - 258px);padding:22px 0 34px}.welcome-heading h1{font-size:clamp(2.1rem,8vw,3rem)}.motion-wrap{margin:18px auto 8px}.welcome-motion{max-height:300px}.welcome-tip{font-size:.78rem;border-radius:14px;text-align:left}
  .page-heading{align-items:flex-start;flex-direction:column;gap:10px}.page-heading h1{font-size:2rem}
  
  .report-toolbar{padding:18px;align-items:flex-start;flex-direction:column}.report-toolbar-actions{width:100%}.report-toolbar-actions .button{flex:1}.report-frame{min-height:540px;height:73vh}
  .form-grid{grid-template-columns:1fr}.panel{padding:19px}.user-card{grid-template-columns:1fr}.user-actions{justify-content:flex-start}
  .list-row{align-items:flex-start}.list-row.depth-1{margin-left:11px}.list-row.depth-2{margin-left:20px}.row-actions{flex-direction:column}.simple-card{padding:24px}
  .tour-body{padding:22px}.tour-body h2{font-size:1.7rem}.tour-body p{min-height:88px}.tour-controls{align-items:flex-end}.tour-controls .button{padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.welcome-motion .motion-tile{animation:none!important;opacity:1}.welcome-motion :is(.bar,.pulse,.flow){animation:none!important}}

/* Identidade de carregamento compartilhada: SVG leve, sem GIF ou biblioteca. */
.dhl-loading-screen{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 62%,#ffeb9b 0,transparent 34%),#f7f6f2;color:#24272c;text-align:center}
.dhl-loading-screen[hidden]{display:none}
.dhl-loading-content{width:min(320px,100%)}
.dhl-loading-content strong{display:block;font:900 27px/1.12 'Delivery Condensed',Delivery,Arial,sans-serif;letter-spacing:-.02em}
.dhl-loading-content p{margin:8px 0 22px;color:#6d7279;font-size:14px}
.dhl-route-art{display:block;width:min(300px,100%);height:auto;margin:0 auto 17px;overflow:visible}
.dhl-route-line{animation:dhl-road 1.5s linear infinite}
.dhl-route-van{transform-box:fill-box;transform-origin:center;animation:dhl-drive 2.4s ease-in-out infinite}
.dhl-route-box{transform-box:fill-box;transform-origin:center;animation:dhl-parcel 2.4s ease-in-out infinite}
.dhl-route-box.last{animation-delay:.35s}
.dhl-loading-progress{width:min(220px,85%);height:4px;margin:0 auto;overflow:hidden;background:#ebdfb0;border-radius:8px}
.dhl-loading-progress i{display:block;width:40%;height:100%;background:#d40511;border-radius:8px;animation:dhl-progress 1.8s ease-in-out infinite}
@keyframes dhl-drive{50%{transform:translate(5px,-4px)}}
@keyframes dhl-road{to{stroke-dashoffset:-44}}
@keyframes dhl-parcel{50%{transform:translateY(-6px)}}
@keyframes dhl-progress{from{transform:translateX(-105%)}to{transform:translateX(355%)}}
@keyframes dhl-enter{from{opacity:.5;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.content>.page-intro,.main>:first-child,.app-page:not([hidden])>.page-intro{animation:dhl-enter .3s ease-out both}
.dhl-login-scene{width:min(330px,100%);margin-top:22px;opacity:.95}
.dhl-login-scene .dhl-route-art{margin:0}
.sso-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;text-align:center}
.sso-action .microsoft-mark{display:grid;grid-template-columns:repeat(2,7px);gap:2px;flex:none}
.sso-action .microsoft-mark i{display:block;width:7px;height:7px;background:#f25022}
.sso-action .microsoft-mark i:nth-child(2){background:#7fba00}
.sso-action .microsoft-mark i:nth-child(3){background:#00a4ef}
.sso-action .microsoft-mark i:nth-child(4){background:#ffb900}
button.button.microsoft.sso-action .sso-label,button.sso-action .sso-label{margin-left:0;min-width:0;flex:0 1 auto}
.sso-action.is-busy .microsoft-mark{display:none}
.sso-action.is-busy::before{content:'';width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:dhl-spin .8s linear infinite}
@keyframes dhl-spin{to{transform:rotate(360deg)}}
@media(max-width:570px){.dhl-login-scene{width:min(250px,100%);margin-top:8px}}
@media(prefers-reduced-motion:reduce){.dhl-route-line,.dhl-route-van,.dhl-route-box,.dhl-loading-progress i,.sso-action.is-busy::before,.login-intro .desk-illustration,.login-intro .network-illustration,.content>.page-intro,.main>:first-child,.app-page:not([hidden])>.page-intro{animation:none!important}.dhl-loading-progress i{width:100%;transform:none}}
.boot-error{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(155deg,#ffcc00 0 26%,#f7f6f2 26% 100%)}
.boot-error-card{width:min(100%,510px);background:#fff;border-top:6px solid #d40511;border-radius:18px;padding:clamp(22px,5vw,42px);box-shadow:0 18px 55px #19202b20}
.boot-error-card h1{font-size:clamp(1.8rem,4vw,2.5rem);margin:10px 0}
.boot-error-card p{color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.skip-link{position:fixed;top:8px;left:12px;z-index:1000;padding:12px 16px;border-radius:8px;background:#24272c;color:white;transform:translateY(-180%)}
.skip-link:focus{transform:none}
:focus-visible{outline:3px solid #245ea5!important;outline-offset:3px}
.mobile-menu-close{display:none!important}
.quick-catalog{width:100%;margin:24px 0;text-align:left}
.quick-catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.quick-catalog-heading h2,.quick-catalog-heading p{margin:0;font-size:18px}.quick-catalog-heading span{font-size:12px;color:#59616a}
.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.catalog-card{display:flex;align-items:center;gap:12px;min-height:80px;padding:15px;border:1px solid #e3e3dd;border-radius:12px;background:#fff;text-align:left;color:#24272c;min-width:0;width:100%;cursor:pointer}
.catalog-card:hover{border-color:#d40511;background:#fffbeb}.catalog-card>svg{flex-shrink:0;color:#b70915}.catalog-card>span{flex:1;min-width:0}.catalog-card strong,.catalog-card small{display:block;overflow-wrap:anywhere}.catalog-card small{font-size:12px;color:#626971;margin-top:5px;line-height:1.4}
#catalog-search-results{margin:16px 24px 0;padding:18px;background:#fffdf4;border:1px solid #e7dcae;border-radius:14px;max-height:55vh;overflow-y:auto;scroll-margin-top:20px}
#catalog-search-results[hidden]{display:none}
.quick-catalog+.motion-wrap{max-height:220px;overflow:hidden}
#main-content{scroll-margin-top:30px}
@media(max-width:900px){.mobile-menu-close{display:inline-flex!important;margin:0 0 18px;min-height:44px}.sidebar.open{overscroll-behavior:contain}}
@media(max-width:600px){.catalog-grid{grid-template-columns:1fr}#catalog-search-results{margin:12px;padding:14px}.catalog-card{min-height:74px}.quick-catalog-heading{align-items:flex-start}.quick-catalog+.motion-wrap{display:none}}
@media(max-width:570px){.nit-header-inner{padding:12px 16px 18px}.nit-header .brand-row{gap:10px;margin-bottom:12px}.header-heading .eyebrow{font-size:9px}.header-heading h1{font-size:27px}.header-heading p{font-size:13px}.welcome-heading h1{font-size:28px}.welcome-heading .eyebrow{font-size:9px}.quick-catalog{margin-top:18px}.mobile-trigger{min-width:44px;min-height:44px}}
/* Exclusão de contas: confirmação explícita e separada da suspensão. */
.access-lifecycle-help{font-size:14px;line-height:1.6;color:#666e77;background:#fff8df;border:1px solid #f0e2af;border-radius:12px;padding:13px 16px;margin:0 0 18px}
.delete-user-dialog{width:min(520px,calc(100vw - 30px));max-height:calc(100dvh - 30px);overflow-y:auto;padding:25px;border:1px solid #eadedb;border-top:5px solid #d40511;border-radius:17px;background:#fff;color:#252a30;box-shadow:0 25px 80px #14232f40;font-family:Delivery,Arial,sans-serif}.delete-user-dialog h2{font-size:28px;margin:0 0 15px}.delete-user-dialog p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.delete-user-dialog label{display:grid;gap:8px;font-size:14px;font-weight:700;overflow-wrap:anywhere;margin:19px 0 0}.delete-user-dialog input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cfd4da;border-radius:9px;background:#fff;color:#242a31;font:inherit}.delete-user-impact{padding:14px 16px;background:#fff5f3;border:1px solid #ebcfca;border-radius:11px}.delete-user-impact>strong{color:#a31320;font-size:14px}.delete-user-impact p{margin:9px 0 0;color:#606973}.delete-user-dialog .dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px}.delete-user-error{color:#a31320;font-weight:700}.delete-user-error:empty{display:none}.delete-user-dialog [aria-busy=true]{cursor:progress}@media(max-width:600px){.delete-user-dialog{padding:20px}.delete-user-dialog .dialog-actions .button{flex:1}.user-actions>[data-action=delete-user]{min-height:42px}}

/* User management filters and expandable global profiles. */
.managed-user-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:20px 0}.managed-user-filters label{display:grid;gap:7px;min-width:0;font-size:14px;font-weight:700}.managed-user-filters label:first-child{flex:1;min-width:180px}.managed-user-filters input,.managed-user-filters select{min-height:44px;width:100%;border:1px solid #d5d8dc;border-radius:8px;background:white;padding:10px 12px;font:inherit;font-size:14px}.managed-user-pages,.managed-user-pages>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;margin:14px 0 24px}.managed-section>summary{cursor:pointer;font-size:18px;font-weight:700}.managed-section .role-panel{border:0;padding:24px 0 0;box-shadow:none;margin:0}.managed-section .policy-grid{min-width:0}.user-name small{overflow-wrap:anywhere}.user-actions{flex-wrap:wrap}
@media(max-width:600px){.managed-user-filters label{flex-basis:100%}.managed-user-filters button{flex:1}.managed-user-pages>div{width:100%;gap:6px}.managed-user-pages button{font-size:12px}.user-actions .button{min-height:44px}}
/* Keep search in the page flow; navigation bounds the result list. */
#catalog-search-results{max-height:none;overflow:visible}
#catalog-results>[hidden],#audit-results>[hidden]{display:none!important}
.audit-panel>summary{cursor:pointer;font-size:16px;min-height:44px;padding:12px 0;font-weight:700}
