:root{color-scheme:dark;--bg:#0b0b0e;--surface:#111116;--surface2:#17171d;--surface3:#1d1d25;--sidebar:#0e0d11;--edge:#29272f;--muted:#8b8994;--subtle:#5f5b68;--white:#f4f0f2;--red:#d54148;--red2:#fa575e;--red-wash:rgba(211,65,72,.105);--green:#55cba2;--amber:#e3b16d;--shadow:0 20px 70px #0005;--radius:15px}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;color:var(--white);background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.44}a{color:inherit;text-decoration:none}::selection{background:rgba(235,70,78,.4)}:focus-visible{outline:2px solid var(--red2);outline-offset:3px}svg{display:block} .ico{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.boot{min-height:100vh;display:grid;place-content:center;gap:20px;text-align:center;color:#aaa7af;font-size:10px;letter-spacing:3px}.mark{display:grid;place-items:center;background:linear-gradient(135deg,#341719,#120f13);border:1px solid #99363b;color:#f4cfd1;font-weight:900;box-shadow:inset 0 0 0 2px #131015}.mark-boot{width:56px;height:60px;clip-path:polygon(50% 0,100% 20%,100% 75%,50% 100%,0 75%,0 20%);margin:auto;font-size:29px}
.layout{display:flex;min-height:100vh}.sidebar{width:256px;flex-shrink:0;background:var(--sidebar);border-right:1px solid #26232a;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:30}.brand{display:flex;align-items:center;gap:13px;height:89px;padding:0 25px;border-bottom:1px solid #26232a}.brand .mark{width:41px;height:46px;font-size:24px;clip-path:polygon(50% 0,100% 19%,100% 75%,50% 100%,0 75%,0 19%)}.brand strong{font-size:18px;letter-spacing:2.5px;font-weight:900;display:block;line-height:1.1}.brand small{font-size:9px;letter-spacing:1.9px;color:#b18b8d;font-weight:700}.nav-scroll{padding:25px 14px 20px;overflow:auto;flex:1}.nav-section{font-size:10px;font-weight:800;color:#726d78;letter-spacing:1.7px;margin:23px 11px 11px}.nav-section:first-child{margin-top:3px}.nav-link{border:1px solid transparent;background:transparent;color:#a5a0aa;display:flex;gap:13px;align-items:center;padding:11px 13px;border-radius:9px;width:100%;text-align:left;font-size:13px;font-weight:540;margin:3px 0;transition:.15s}.nav-link:hover{background:#202027;color:#fff}.nav-link.active{background:linear-gradient(90deg,rgba(207,58,67,.16),rgba(207,58,67,.04));border-color:rgba(220,65,76,.17);color:#f4e2e3}.nav-link.active:before{content:'';background:var(--red);height:24px;width:3px;border-radius:9px;position:absolute;left:0}.nav-link.active .ico{color:var(--red2)}.nav-pill{margin-left:auto;background:#7e282f;color:white;border-radius:5px;padding:0 5px;font-size:11px;font-weight:800}.sidebar-foot{padding:17px 17px 20px;border-top:1px solid #26232a}.live-indicator{display:flex;align-items:center;gap:9px;font-size:11px;color:#98929d;letter-spacing:.3px;padding:5px 7px 16px}.live-dot{height:7px;width:7px;border-radius:100%;background:var(--green);box-shadow:0 0 0 4px #55cba21c}.userbox{display:flex;align-items:center;gap:10px;padding:12px 10px;background:#19171d;border:1px solid #2b262e;border-radius:11px}.avatar{width:38px;height:38px;border-radius:10px;background:linear-gradient(145deg,#8a2930,#351518);color:#f7e0e0;display:grid;place-items:center;font-weight:800;font-size:13px;flex:none;overflow:hidden}.userbox strong{display:block;font-size:12px}.userbox small{font-size:11px;color:#918b97}.userbox button{margin-left:auto;border:0;background:transparent;color:#928c97;padding:4px}
.main{min-width:0;flex:1}.topbar{min-height:80px;display:flex;gap:18px;align-items:center;justify-content:space-between;padding:14px clamp(22px,4vw,56px);border-bottom:1px solid var(--edge);background:#0d0d11}.breadcrumbs{display:flex;gap:10px;align-items:center;color:#817d88;font-size:12px}.breadcrumbs strong{color:#e8e1e5;font-weight:650}.top-actions{display:flex;align-items:center;gap:13px}.global-search{height:38px;display:flex;align-items:center;gap:9px;border:1px solid #2c2932;background:#17161b;padding:0 13px;border-radius:9px;color:#7e7a84;min-width:240px}.global-search input{border:0;background:transparent;outline:none;color:#fff;min-width:0;width:100%;font-size:12px}.top-btn{background:#19181e;border:1px solid #29262f;border-radius:9px;display:grid;place-items:center;width:38px;height:38px;color:#c0b9c2}.top-btn:hover{color:#fff;background:#27252d}.top-avatar{width:35px;height:35px;border-radius:9px;font-size:11px}.mobile-toggle,.mobile-backdrop{display:none}.content{max-width:1570px;padding:39px clamp(22px,4vw,56px) 75px;margin:auto}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--red2);font-weight:800;text-transform:uppercase}.page-heading{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:27px}.page-heading h1{font-size:clamp(27px,2.7vw,36px);letter-spacing:-1.15px;line-height:1.14;font-weight:750;margin:7px 0 8px}.page-heading p{font-size:13px;color:var(--muted);margin:0;max-width:640px}.button{background:linear-gradient(180deg,#d94b51,#ad2830);border:1px solid #db5259;border-radius:9px;color:#fff;padding:11px 17px;display:inline-flex;align-items:center;gap:9px;font-weight:680;font-size:12px;box-shadow:0 6px 22px #ba293018;white-space:nowrap}.button:hover{filter:brightness(1.12)}.button.ghost{background:#201b20;border-color:#3b3037;box-shadow:none}.button.light{background:#2b2328;border-color:#493038;box-shadow:none}.button.sm{padding:8px 11px;font-size:11px}.button .ico{width:16px;height:16px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:6px;font-size:10px;white-space:nowrap;font-weight:750;letter-spacing:.15px;background:#28252e;color:#beb9c2}.badge.red{background:#5b252c;color:#fa9da1}.badge.green{background:#19372f;color:#79ddbd}.badge.amber{background:#423323;color:#f2cb91}.badge.muted{background:#27252e;color:#b2aab8}.badge.outline{background:transparent;color:#c8b7bb;border:1px solid #53383f}.badge .ico{width:12px;height:12px}.preview-bar{display:flex;align-items:center;gap:10px;padding:10px clamp(22px,4vw,56px);background:#3b2b1c;border-bottom:1px solid #61442a;color:#f2d3aa;font-size:12px}.preview-bar .button{margin-left:auto}
.hero{background:radial-gradient(ellipse at 92% 14%,rgba(166,35,44,.18) 0,transparent 43%),linear-gradient(125deg,#1d171d,#111115 70%);border:1px solid #362830;border-radius:17px;overflow:hidden;display:flex;justify-content:space-between;gap:30px;padding:29px 34px;min-height:182px;position:relative;margin-bottom:25px}.hero:after{content:'';position:absolute;right:0;bottom:0;width:350px;height:100px;background:linear-gradient(135deg,transparent,#9c28321c);transform:skewX(-36deg) translateX(70px);pointer-events:none}.hero h2{font-size:25px;line-height:1.2;margin:11px 0 8px;letter-spacing:-.6px}.hero p{max-width:490px;color:#ada4af;margin:0;font-size:12px}.hero .emblem{width:155px;min-width:120px;align-self:center;opacity:.74;filter:drop-shadow(0 6px 25px #a22b2b2e)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:var(--surface);border:1px solid var(--edge);border-radius:var(--radius);padding:21px 22px;min-height:143px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#a19ba6;font-size:12px}.stat-ico{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#2b1d24;color:#ed747a}.stat-value{font-weight:760;font-size:31px;letter-spacing:-1px;margin-top:11px;line-height:1}.stat-bottom{font-size:11px;color:#807b85;margin-top:9px}.stat-bottom em{font-style:normal;color:var(--green)}.two-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:20px}.panel{background:var(--surface);border:1px solid var(--edge);border-radius:var(--radius);overflow:hidden}.panel-head{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--edge)}.panel-head h3{margin:0;font-size:14px;font-weight:720}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.link-btn{border:0;background:transparent;color:#e69b9f;font-size:11px;font-weight:700;display:flex;align-items:center;gap:5px}.link-btn:hover{color:#fff}.link-btn .ico{width:14px;height:14px}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{color:#8b8592;letter-spacing:.65px;text-transform:uppercase;font-size:10px;font-weight:800;padding:15px 20px;text-align:left;background:#15141a;border-bottom:1px solid var(--edge)}.data-table td{padding:16px 20px;border-bottom:1px solid #24212a;font-size:12px;color:#beb7c2}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#19171e}.name-cell{display:flex;align-items:center;gap:10px;color:#e9e2e7;font-weight:660}.name-cell .avatar{width:32px;height:32px;border-radius:8px;font-size:11px}.name-cell small{font-size:10px;display:block;color:var(--muted);font-weight:430}.status-dot{display:inline-block;width:6px;height:6px;border-radius:10px;background:var(--green);margin-right:5px}.list-row{padding:15px 21px;border-bottom:1px solid #242129;display:flex;align-items:center;gap:13px}.list-row:last-child{border:0}.unit-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #4a2c33;color:#ea888b;border-radius:10px;background:#2e1b22}.list-row strong{font-size:12px;display:block;font-weight:690}.list-row small{font-size:11px;color:var(--muted);display:block}.list-row .end{margin-left:auto;color:#797481}.list-row .end .ico{width:15px;height:15px}.list-row:hover{background:#1b191f}.section-gap{height:25px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;flex-wrap:wrap}.field{min-height:41px;background:#16151b;border:1px solid #38323b;border-radius:9px;padding:10px 13px;color:#f3eaf0;outline:none;min-width:0}.field:focus{border-color:#aa454b}.field::placeholder{color:#77707c}.search-field{min-width:260px;display:flex;align-items:center;gap:8px;padding:0 13px;color:#9a909a}.search-field input{width:100%;border:0;background:transparent;outline:none;color:#fff;font-size:12px}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.catalog-card,.unit-card{border:1px solid var(--edge);background:var(--surface);border-radius:13px;padding:22px;min-height:166px;display:flex;flex-direction:column;gap:9px}.catalog-card h3,.unit-card h3{margin:4px 0 0;font-size:15px;font-weight:700}.catalog-card p,.unit-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.65;flex:1}.catalog-icon{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;background:#351e26;color:#e98589;border:1px solid #52323a}.catalog-footer{border-top:1px solid #29262e;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:11px;color:#ab9ca8}.activity{display:flex;gap:14px;padding:18px 21px;border-bottom:1px solid #27232a}.activity:last-child{border:0}.activity-dot{width:30px;height:30px;border-radius:9px;background:#30202a;color:#e98b90;display:grid;place-items:center;flex:none}.activity strong{font-size:12px}.activity p{color:#8f8895;font-size:12px;margin:2px 0}.empty{padding:55px 24px;text-align:center;color:#8f8895}.empty .ico{height:34px;width:34px;margin:0 auto 14px;color:#b05d67}.empty h3{color:#eae4e9;font-size:14px;margin:0 0 5px}.empty p{font-size:12px;margin:0 auto;max-width:410px}.detail-list{display:grid;gap:11px}.detail-list div{padding:12px 0;border-bottom:1px solid var(--edge)}.detail-list dt{font-size:10px;letter-spacing:1px;color:var(--muted);text-transform:uppercase;margin-bottom:3px}.detail-list dd{margin:0;color:#eee8ef;font-size:13px}.modal-layer{position:fixed;inset:0;background:#000a;z-index:100;display:grid;place-items:center;padding:22px;backdrop-filter:blur(5px)}.modal{width:min(560px,100%);max-height:88vh;overflow:auto;background:#17151c;border:1px solid #46323a;border-radius:17px;box-shadow:var(--shadow)}.modal-top{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid #302932}.modal-top h2{font-size:17px;margin:0}.modal-body{padding:24px 25px}.modal-close{background:none;border:0;color:#ada2af;padding:5px}.form-group{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.form-group label{font-size:11px;color:#a9a0ac;font-weight:650}.form-group .field{width:100%}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.toast{position:fixed;right:22px;bottom:20px;z-index:110;background:#2b262e;color:#fff;padding:12px 17px;border:1px solid #5a4248;border-radius:10px;box-shadow:var(--shadow);font-size:12px;max-width:370px}.toast.error{border-color:#a6424a}.auth-screen{min-height:100vh;background:radial-gradient(circle at 75% 20%,#4b1e25 0,transparent 37%),radial-gradient(circle at 18% 90%,#2a151c,transparent 32%),#0b0a0e;display:flex;justify-content:center;align-items:center;padding:30px}.auth-card{background:#141218;border:1px solid #473037;width:min(465px,100%);padding:38px;border-radius:18px;box-shadow:0 28px 80px #0008;text-align:center}.auth-card .mark{margin:auto;width:68px;height:74px;font-size:36px;clip-path:polygon(50% 0,100% 20%,100% 75%,50% 100%,0 75%,0 20%)}.auth-card h1{font-size:27px;letter-spacing:-.8px;margin:24px 0 10px}.auth-card p{font-size:13px;color:#ada2ae;line-height:1.8;margin-bottom:25px}.auth-card .button{justify-content:center;width:100%;font-size:13px;padding:14px}.auth-card .button.ghost{margin-top:10px}.auth-label{letter-spacing:2px;color:#d78a8d;font-size:9px;font-weight:800;margin-top:23px}.auth-foot{margin-top:24px;font-size:10px;color:#766d78}.onboarding{text-align:left}.onboarding h2{font-size:20px}.onboarding p{font-size:12px}.onboarding .field{width:100%}.onboarding .button{margin-top:12px}.divider{height:1px;background:var(--edge);margin:24px 0}.help-text{font-size:11px;color:var(--muted)}.member-head{display:flex;align-items:center;gap:17px}.member-head .avatar{width:60px;height:60px;border-radius:13px;font-size:21px}.member-head h3{font-size:19px;margin:0 0 3px}.member-head p{font-size:12px;color:#97909b;margin:0}.small-timeline{margin-top:17px}.small-timeline .activity{padding:12px 0}.footnote{color:#746d79;font-size:11px;margin-top:16px}.toolbar-left{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.kicker{font-size:10px;color:var(--muted);font-weight:800;letter-spacing:1.4px}.orbat-level{padding-left:18px;border-left:1px solid #57373d;margin:12px 0 12px 12px}.orbat-line{display:flex;align-items:center;gap:12px;padding:13px 16px;margin:8px 0;background:#19171e;border:1px solid #302a32;border-radius:10px}.orbat-line strong{font-size:13px}.orbat-line small{font-size:11px;color:var(--muted)}
@media(max-width:1160px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.two-columns{grid-template-columns:1fr}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.global-search{min-width:190px}.hero .emblem{width:110px}}
@media(max-width:760px){.sidebar{position:fixed;left:0;top:0;bottom:0;transform:translateX(-100%);transition:transform .2s ease;box-shadow:15px 0 60px #0005}.sidebar.open{transform:translateX(0)}.mobile-backdrop.open{display:block;position:fixed;inset:0;z-index:20;background:#0009}.mobile-toggle{display:grid}.topbar{min-height:67px;padding:12px 18px}.top-actions{gap:8px}.top-actions .global-search{display:none}.content{padding:26px 17px 60px}.page-heading{align-items:start}.page-heading h1{font-size:27px}.page-heading .button{padding:9px 10px}.hero{padding:23px;min-height:155px}.hero h2{font-size:21px}.hero .emblem{display:none}.stats{gap:10px}.stat{padding:16px;min-height:130px}.stat-value{font-size:26px}.stat-top{font-size:11px}.two-columns{gap:13px}.panel-head{padding:16px}.cards-grid{grid-template-columns:1fr}.preview-bar{padding:11px 17px;gap:8px;flex-wrap:wrap}.preview-bar .button{margin-left:0}.data-table th,.data-table td{padding:13px}.search-field{min-width:180px;width:100%}.toolbar-left{width:100%}.page-heading .button{font-size:11px}}
@media(max-width:430px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-ico{width:29px;height:29px}.stat-ico .ico{width:15px}.stat-top{align-items:start}.stat-value{font-size:25px}.panel-head h3{font-size:13px}.top-avatar{display:none}.page-heading{flex-wrap:wrap}.page-heading .button{margin-top:2px}}
/* IREB 2.0 frontend additions */
.hero-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:18px}.hero-actions .badge{font-size:10px;padding:7px 10px}.grow{flex:1;min-width:0}.user-label{min-width:0}.user-label strong,.user-label small{max-width:132px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-button{border:0;background:none;cursor:pointer;text-align:left;padding:0;color:inherit}.member-button:hover span:not(.avatar){color:#ffbec1}.clickable{border:0;border-bottom:1px solid #29262f;width:100%;text-align:left;background:transparent;color:inherit;cursor:pointer}.auth-shell{min-height:100dvh;display:grid;place-items:center;padding:30px 18px;background:radial-gradient(ellipse at 50% 20%,#4e1b2163,transparent 47%),#0b0b0e}.auth-card{width:min(440px,100%);padding:42px;background:#151318;border:1px solid #463038;border-radius:19px;box-shadow:0 30px 100px #0006;text-align:center}.auth-card .mark{width:64px;height:72px;font-size:34px;margin:auto;clip-path:polygon(50% 0,100% 20%,100% 75%,50% 100%,0 75%,0 20%)}.auth-card h1{margin:22px 0 10px;font-size:29px;line-height:1.2}.auth-card p{margin:0 0 24px;color:#a9a0ad;font-size:13px;line-height:1.75}.auth-card .button{justify-content:center;width:100%;padding:13px 16px;margin-top:10px}.auth-label{font-size:10px;letter-spacing:1.7px;color:#c17e82;font-weight:800;margin-top:23px}.auth-foot{margin-top:26px;font-size:11px;color:#7f7883}.auth-card.onboarding{text-align:left}.auth-card.onboarding .mark{margin:0}.auth-card.onboarding .field{width:100%;margin:5px 0 10px}.auth-card .help-text{margin-top:13px}.form-label{display:block;margin:18px 0 7px;font-size:10px;letter-spacing:1.3px;font-weight:800;color:#a9a0ab}.modal-body .field{width:100%}.modal-body textarea{resize:vertical}.modal-body .button{margin-top:21px}.modal-body form{display:block}.modal-body .help-text{margin:0 0 12px}.footer-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.avatar-lg{height:70px;width:70px;border-radius:16px;font-size:25px}.profile-banner{display:flex;align-items:center;gap:18px;padding:25px 27px;margin-bottom:22px;border:1px solid #423038;border-radius:14px;background:linear-gradient(120deg,#2c191f,#111116)}.profile-banner h2{margin:2px 0;font-size:23px}.profile-banner p{margin:0;color:var(--muted);font-size:12px}.profile-badges{margin-left:auto;display:flex;gap:7px;flex-wrap:wrap}.unit-tree{padding:25px}.tree-node{display:flex;align-items:center;gap:12px;background:#1a171e;border:1px solid #302830;padding:12px 15px;border-radius:10px;color:#eee8ee;text-align:left}.tree-node strong{font-size:12px;display:block}.tree-node small{font-size:11px;color:var(--muted);display:block}.tree-node .ico:last-child{margin-left:auto}.tree-branch{margin:15px 0 0 20px;padding-left:21px;border-left:1px solid #603037}.unit-tree-grid{margin:14px 0 0 21px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.unit-tree-grid .tree-node{cursor:pointer}.unit-tree-grid .tree-node:hover{border-color:#7d3a43}.orbat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.orbat-body{padding:10px}.orbat-line{margin:8px 0;padding:12px}.orbat-line .badge{margin-left:auto}.info-strip{display:flex;gap:10px;align-items:center;padding:14px 17px;border:1px solid #4c3439;background:#261b21;border-radius:10px;color:#d9b9bc;font-size:12px;margin-bottom:19px}.audit-details{margin-top:8px}.audit-details summary{color:#c38b90;cursor:pointer;font-size:11px}.audit-details pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#aa9dab;border:1px solid #34303a;padding:12px;border-radius:7px;font-size:11px}.toast{position:fixed;bottom:25px;right:25px;max-width:min(430px,calc(100vw - 35px));padding:13px 17px;background:#173c30;color:#b9ffe1;border:1px solid #287756;box-shadow:0 18px 65px #0008;border-radius:9px;font-size:12px;z-index:200}.toast.error{background:#442328;color:#ffe5e6;border-color:#8a3e46}.skeleton-loading{display:flex;justify-content:center;align-items:center;gap:12px;min-height:250px;color:#a8a1ac}.skeleton-loading .ico{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.nav-link{position:relative}.modal .modal-body{max-height:70vh;overflow:auto}.form-group input{min-width:0}
@media(max-width:1000px){.orbat-grid{grid-template-columns:1fr}.unit-tree-grid{grid-template-columns:1fr}}
@media(max-width:760px){.content{padding-bottom:60px}.profile-banner{flex-wrap:wrap;padding:19px}.profile-badges{width:100%;margin-left:0}.unit-tree{padding:14px}.tree-branch{padding-left:11px;margin-left:9px}.unit-tree-grid{margin-left:0}.userbox .user-label{max-width:135px}.auth-card{padding:28px}.orbat-grid{gap:13px}.toast{bottom:16px;right:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.brand-patch{width:48px;height:56px;object-fit:contain;flex-shrink:0}.auth-card>.brand-patch{width:90px;height:105px;margin:0 auto 20px}.emblem{object-fit:contain;filter:drop-shadow(0 12px 32px #0008)}.workflow-actions{display:flex;gap:8px;flex-wrap:wrap}.page-heading{flex-wrap:wrap}.panel+.panel{margin-top:20px}.data-table td{overflow-wrap:anywhere;max-width:440px}button:focus-visible,a:focus-visible{outline:2px solid #f27676;outline-offset:3px}.modal{max-height:90dvh;overflow:auto}.modal .field{width:100%;box-sizing:border-box}.nav-scroll{overscroll-behavior:contain}.content{min-width:0}.form-label{margin-top:14px}.modal form>.button{margin-top:18px}@media(max-width:760px){.workflow-actions{width:100%}.workflow-actions .button{flex:1}.hero .emblem{max-width:100px}.sidebar{height:100dvh}.content{padding-bottom:30px}.page-heading h1{font-size:27px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;padding:18px;color:var(--muted);font-size:12px}.toolbar-left{flex-wrap:wrap}.toolbar-left select{max-width:210px}.audit-details pre{white-space:pre-wrap;overflow-wrap:anywhere}.workflow-actions{flex-wrap:wrap}.field[type=date]{color-scheme:dark}@media(max-width:600px){.toolbar-left{width:100%}.toolbar-left .field{max-width:100%;flex:1 1 140px}.pagination{gap:8px}.workflow-actions{display:flex;gap:8px}}

.insignia-image{width:100%;height:100%;max-width:140px;max-height:90px;object-fit:contain}.portrait{object-fit:cover}.catalog-card .catalog-icon:has(img){width:140px;height:90px;background:transparent}.list-row .unit-icon:has(img){width:65px;height:45px;background:transparent}

.orbat-depth-1{margin-left:12px}.orbat-depth-2{margin-left:24px}.orbat-depth-3{margin-left:36px}.orbat-depth-4{margin-left:48px}.orbat-depth-5{margin-left:60px}.orbat-members{padding:0 12px 12px 48px}.orbat-member{display:flex;flex-wrap:wrap;gap:6px 16px;padding:5px 0;font-size:12px}.orbat-member small{color:var(--muted)}.orbat-element .orbat-line{padding:10px 6px}.orbat-line .grow{min-width:0;overflow-wrap:anywhere}.orbat-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}@media(max-width:600px){.orbat-depth-3,.orbat-depth-4,.orbat-depth-5{margin-left:24px}.orbat-members{padding-left:16px}}
/* Shared operations views; no second mobile navigation. */
.preserve-text{white-space:pre-wrap;overflow-wrap:anywhere}.announcement{padding:22px;margin-bottom:18px}.announcement h2,.announcement h3{margin:12px 0}.announcement p{line-height:1.65}.action-card,.training-card{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid var(--edge);background:var(--surface);border-radius:12px;margin-bottom:10px;min-width:0}.action-card .grow{min-width:0;overflow-wrap:anywhere}.action-buttons,.profile-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.insignia-stage{height:120px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.insignia-stage img{max-width:100%;max-height:120px;width:auto;height:auto;object-fit:contain}.insignia-patches{display:flex;flex-wrap:wrap;gap:30px;padding:22px}.insignia-patches>div{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:180px}.insignia-patches img{height:100px;width:auto;max-width:180px;object-fit:contain}.credential-inactive{opacity:.65}.checkbox-label{display:flex;align-items:flex-start;gap:12px;line-height:1.6;margin-top:18px}.checkbox-label input{min-height:24px;min-width:24px}.page-heading{flex-wrap:wrap}.page-heading .workflow-actions{gap:8px}.profile-tabs{width:100%}.data-table td{overflow-wrap:anywhere}.data-table td small{display:block}.modal .field{min-height:44px}.modal .field[type=checkbox]{min-height:24px}#report-output{max-width:100%;overflow:auto}
@media(max-width:760px){input,select,textarea{font-size:16px!important}.button,.nav-link,.top-btn,.modal-close{min-height:44px}.content{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.modal-layer{align-items:flex-start;overflow-y:auto;padding:12px;padding-top:max(12px,env(safe-area-inset-top))}.modal{width:100%;max-height:calc(100dvh - 30px)}.modal .modal-body{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}.action-card,.training-card{align-items:flex-start;flex-direction:column}.action-buttons{width:100%}.action-buttons .button{flex:1}.profile-tabs .button{flex:1}.insignia-stage{height:100px}.insignia-stage img{max-height:100px}.sidebar{height:100dvh;padding-bottom:env(safe-area-inset-bottom)}.toolbar .search-field{min-width:0;width:100%}.panel,.catalog-card{min-width:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{body{background:white!important;color:black!important}.sidebar,.topbar,.footer-actions,.workflow-actions,.report-controls,.toast,.mobile-backdrop,.profile-tabs{display:none!important}.layout,.main,.content{display:block!important;padding:0!important}.panel,.data-table{background:white!important;color:black!important;box-shadow:none!important;border-color:#777!important}.data-table td,.data-table th{color:black!important}.table-scroll,#report-output{overflow:visible!important}.data-table{min-width:0!important;width:100%!important}button{display:none!important}}

@media print{.data-table th,.data-table td{white-space:normal!important;overflow-wrap:anywhere!important}}
@media(max-width:760px){body:has(.sidebar.open){overflow:hidden}}
@media(max-width:760px){.breadcrumbs{min-width:0;flex:1}.breadcrumbs strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{flex:none}}
@media(max-width:430px){.top-actions>.avatar{display:none}}
.form-error{color:#ffb5b5;background:#4a1721;border:1px solid #a54657;border-radius:8px;padding:12px;line-height:1.6;overflow-wrap:anywhere}.form-error[hidden]{display:none}.data-table td>small{display:block;margin-top:5px}.list-row .grow{min-width:0}.list-row .grow strong,.list-row .grow p{overflow-wrap:anywhere}@media(max-width:760px){.orbat-line{flex-wrap:wrap}.orbat-line .grow{min-width:120px}.list-row{flex-wrap:wrap}.list-row>.button{min-height:44px}}
