:root{
  --bg:#071525;--panel:#0b1d33;--panel2:#10253f;--line:#213b59;--muted:#8fa5bd;--text:#edf6ff;
  --blue:#208cff;--cyan:#39c2ff;--green:#2bcf91;--yellow:#ffbd42;--red:#ff6572;--purple:#8b79ff;
  --shadow:0 18px 55px rgba(0,0,0,.27);--radius:14px
}
*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}body{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{height:100vh;display:grid;grid-template-columns:226px 1fr;background:radial-gradient(circle at 72% 10%,rgba(30,112,210,.13),transparent 32%),linear-gradient(180deg,#08172a,#06111e)}
.sidebar{min-width:0;background:#06101d;border-right:1px solid #1a3048;display:flex;flex-direction:column;overflow:hidden}.brand{height:76px;padding:14px 17px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #17304b}.brand-mark{width:40px;height:40px;border-radius:11px;background:linear-gradient(145deg,#249eff,#3165ff);display:grid;place-items:center;font-weight:900;box-shadow:0 0 0 4px rgba(32,140,255,.1)}.brand b,.brand small{display:block}.brand b{font-size:19px}.brand small{font-size:10px;color:#58b9ff;margin-top:3px}.sidebar nav{padding:10px;display:flex;flex-direction:column;gap:4px}.sidebar nav button,.sidebar nav a{width:100%;height:42px;border:1px solid transparent;background:transparent;color:#c3d2e3;border-radius:10px;padding:0 11px;display:flex;align-items:center;gap:10px;text-align:left}.sidebar nav button:hover,.sidebar nav a:hover{background:#0c2037;border-color:#1c3f61}.sidebar nav button.active{color:white;background:linear-gradient(90deg,#145daf,#0f4e93);border-color:#2176cf}.sidebar nav i{width:23px;text-align:center;font-style:normal;font-size:15px}.sidebar nav span{font-size:12px;font-weight:650}.side-foot{margin-top:auto;padding:14px;border-top:1px solid #17304b}.side-foot>small{display:block;color:#637f9d;font-size:9px;margin-top:10px}.api-line{display:flex;align-items:center;gap:8px}.api-line>i{width:8px;height:8px;border-radius:50%;background:#6a7890;box-shadow:0 0 0 3px rgba(255,255,255,.03)}.api-line.online>i{background:var(--green)}.api-line.offline>i{background:var(--red)}.api-line b,.api-line small{display:block}.api-line b{font-size:10px}.api-line small{font-size:8px;color:#7e98b3;margin-top:2px}
.main{min-width:0;height:100vh;display:grid;grid-template-rows:58px auto minmax(0,1fr);overflow:hidden}.topbar{position:relative;z-index:20;display:flex;align-items:center;gap:10px;padding:8px 16px;border-bottom:1px solid #1a3551;background:rgba(6,17,30,.87);backdrop-filter:blur(14px)}.hamb{display:none;border:0;background:transparent;color:white;font-size:20px}.search{height:39px;flex:1;max-width:720px;border:1px solid #285172;border-radius:10px;background:#0b2139;display:flex;align-items:center;padding:0 10px;gap:8px}.search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#eaf5ff;font-size:12px}.search span{color:#76bdf8}.search kbd{font-size:9px;color:#7d97b2;border:1px solid #355f82;border-radius:5px;padding:2px 5px}.context-project{height:39px;min-width:210px;border:1px solid #274d6d;border-radius:10px;padding:4px 8px;background:#091f36}.context-project span{display:block;font-size:7px;color:#7994ae;text-transform:uppercase;letter-spacing:.7px}.context-project select{width:100%;border:0;background:transparent;color:#dcecff;outline:0;font-size:10px}.context-project option{color:#111}.top-action{width:39px;height:39px;border:1px solid #2b5274;background:#0b2037;color:#cce4fb;border-radius:10px}.user{height:40px;border:1px solid #2a5172;background:#0a2037;color:white;border-radius:11px;padding:4px 9px 4px 5px;display:grid;grid-template-columns:31px auto;grid-template-rows:17px 13px;column-gap:7px;align-items:center;text-align:left}.user>span{grid-row:1/3;width:31px;height:31px;border-radius:9px;background:linear-gradient(145deg,#267fff,#855cff);display:grid;place-items:center;font-size:9px;font-weight:800}.user b{font-size:10px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user small{font-size:8px;color:#8fa8c2}.search-pop{position:fixed;z-index:100;top:54px;left:242px;width:min(700px,calc(100vw - 490px));max-height:420px;overflow:auto;padding:8px;border:1px solid #2d618d;background:#071a2f;border-radius:12px;box-shadow:var(--shadow)}.search-result{display:flex;align-items:center;gap:9px;padding:9px;border-radius:8px}.search-result:hover{background:#102e50}.search-result em{font-style:normal;width:28px;height:28px;border-radius:7px;background:#133d69;display:grid;place-items:center}.search-result b,.search-result small{display:block}.search-result b{font-size:11px}.search-result small{font-size:9px;color:#89a7c5;margin-top:2px}
.page-head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px 18px 10px}.page-head h1{font-size:21px;margin:2px 0 3px}.page-head p{margin:0;color:#8ba2ba;font-size:10px}.eyebrow{font-size:8px;letter-spacing:1.25px;color:#59b7ff;font-weight:800}.page-actions{display:flex;gap:7px}.primary,.secondary,.danger,.ghost{height:36px;border-radius:9px;padding:0 13px;font-size:10px;font-weight:750}.primary{border:1px solid #238ff0;background:linear-gradient(100deg,#1678e4,#189bf4);color:white}.secondary{border:1px solid #365977;background:#10273f;color:#d9eafa}.ghost{border:1px solid #294866;background:transparent;color:#bdd1e5}.danger{border:1px solid #873e49;background:#351a23;color:#ffb3bb}.content{min-height:0;padding:0 16px 16px;overflow:auto}.loading{height:100%;display:grid;place-items:center;align-content:center;gap:9px;color:#88a7c5}.loading i{width:28px;height:28px;border:3px solid #1f4466;border-top-color:#2ba7ff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.kpis{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:9px;margin-bottom:10px}.kpi{min-width:0;border:1px solid var(--line);border-radius:12px;padding:10px 11px;background:linear-gradient(145deg,#0b2037,#09192c);box-shadow:0 10px 24px rgba(0,0,0,.12)}.kpi span,.kpi b,.kpi small{display:block}.kpi span{font-size:8px;color:#7e9bb8;text-transform:uppercase;letter-spacing:.7px}.kpi b{font-size:21px;margin:4px 0 2px}.kpi small{font-size:8px;color:#7290ac}.kpi.bad b{color:#ff8590}.kpi.good b{color:#6ee7b7}.kpi.warn b{color:#ffd37b}
.dashboard-grid{display:grid;grid-template-columns:1.38fr .92fr;grid-template-rows:minmax(270px,1fr) minmax(250px,.9fr);gap:10px}.card{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,rgba(12,31,52,.98),rgba(8,24,42,.98));box-shadow:var(--shadow);min-width:0;min-height:0;overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;padding:12px 13px 9px;border-bottom:1px solid #18344f}.card-head h2,.card-head h3{margin:0}.card-head h2{font-size:13px}.card-head h3{font-size:11px}.card-head button,.card-head a{font-size:9px;color:#67baff;border:0;background:transparent}.card-body{padding:9px 11px}.project-list,.task-list,.doc-list,.acceptance-list{display:flex;flex-direction:column}.row{display:grid;align-items:center;gap:8px;padding:8px 5px;border-bottom:1px solid #17334e}.row:last-child{border-bottom:0}.project-row{grid-template-columns:110px minmax(200px,1fr) 85px 100px 110px}.task-row{grid-template-columns:82px minmax(220px,1fr) 100px 94px 90px}.doc-row{grid-template-columns:95px minmax(230px,1fr) 92px 105px 100px}.accept-row{grid-template-columns:90px 110px minmax(220px,1fr) 120px 110px}.row b,.row small{display:block;min-width:0}.row b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row small{font-size:8px;color:#7f9ab5;margin-top:2px}.row code{font:9px Consolas,monospace;color:#7ac8ff}.status{display:inline-flex;align-items:center;justify-content:center;min-height:21px;padding:0 7px;border-radius:10px;font-size:8px;font-weight:800;background:#173c61;color:#9fd0fa}.status.active,.status.in_progress,.status.processing,.status.accepted,.status.passed{background:#124e40;color:#83edc2}.status.qa,.status.review,.status.waiting_approval,.status.internal_review,.status.submitted{background:#55431e;color:#ffd57e}.status.paused,.status.changes_requested,.status.rejected,.status.failed{background:#5d2530;color:#ffacb5}.status.completed,.status.done,.status.closed,.status.delivered,.status.issued{background:#24455f;color:#b8d7ef}.progress{height:6px;background:#102a46;border-radius:5px;overflow:hidden;margin-top:5px}.progress i{display:block;height:100%;background:linear-gradient(90deg,#157be9,#2ec4ff);border-radius:5px}.mini-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mini-stat{padding:10px;border:1px solid #1f4668;border-radius:10px;background:#091d33}.mini-stat span,.mini-stat b{display:block}.mini-stat span{font-size:8px;color:#819db8}.mini-stat b{font-size:18px;margin-top:4px}.workstream{padding:9px}.workstream-item{padding:8px;border:1px solid #1e405e;border-radius:9px;background:#091d33;margin-bottom:7px}.workstream-item b,.workstream-item small{display:block}.workstream-item b{font-size:10px}.workstream-item small{font-size:8px;color:#839fba;margin-top:3px;line-height:1.4}.split-card{display:grid;grid-template-columns:1fr 1fr}.split-card>.pane{min-width:0;overflow:auto}.split-card>.pane:first-child{border-right:1px solid #1b3854}
.toolbar{display:flex;gap:8px;align-items:center;margin-bottom:10px}.toolbar input,.toolbar select{height:36px;border:1px solid #294e6d;background:#0a1d32;color:white;border-radius:9px;padding:0 10px;font-size:10px;outline:0}.toolbar input{min-width:260px;flex:1}.table-card{border:1px solid var(--line);border-radius:12px;background:#0a1d32;overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:880px}.data-table th{position:sticky;top:0;z-index:2;background:#0f2842;color:#81a2c2;font-size:8px;text-transform:uppercase;letter-spacing:.55px;text-align:left;padding:9px;border-bottom:1px solid #284864}.data-table td{padding:9px;border-bottom:1px solid #183650;font-size:9px;vertical-align:middle}.data-table tr:hover td{background:#0d2743}.data-table td strong{font-size:10px}.data-table td small{display:block;color:#809bb6;margin-top:2px}.data-table button{border:1px solid #315878;background:#102c49;color:#d7e9f8;border-radius:7px;padding:5px 7px;font-size:8px}.empty{padding:35px;text-align:center;color:#748fa9;font-size:10px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kanban{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:9px;overflow:auto}.kanban-col{border:1px solid #1f405f;border-radius:11px;background:#091b2f;min-height:420px}.kanban-col>header{padding:9px 10px;border-bottom:1px solid #1d3a56;display:flex;justify-content:space-between}.kanban-col>header b{font-size:9px;text-transform:uppercase}.task-card{margin:8px;border:1px solid #244866;border-radius:9px;background:#0d2742;padding:9px}.task-card b,.task-card small{display:block}.task-card b{font-size:10px}.task-card small{font-size:8px;color:#839db5;margin-top:3px}.task-card footer{display:flex;justify-content:space-between;margin-top:8px;align-items:center}.task-card footer button{font-size:8px;border:0;background:transparent;color:#65b6f7}
.quick-launch{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.launch{border:1px solid #224663;border-radius:10px;background:#0b223a;padding:10px;display:flex;align-items:center;gap:8px}.launch i{font-style:normal;width:30px;height:30px;border-radius:8px;background:#144d80;display:grid;place-items:center}.launch b,.launch small{display:block}.launch b{font-size:9px}.launch small{font-size:7.5px;color:#819bb3;margin-top:2px}
.dialog-card{width:min(680px,92vw);padding:0;border:1px solid #315e82;background:#081b2f;color:white;border-radius:14px;box-shadow:0 30px 80px rgba(0,0,0,.55)}dialog{padding:0;border:0;background:transparent}dialog::backdrop{background:rgba(0,0,0,.66);backdrop-filter:blur(3px)}.dialog-card header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #20415e}.dialog-card h2{margin:2px 0 0;font-size:17px}.x{width:31px;height:31px;border:1px solid #31516b;background:#102a43;color:#d9eaff;border-radius:8px}.dialog-body{padding:15px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.dialog-body .wide,.dialog-body .help,.dialog-body .form-error{grid-column:1/3}.dialog-body label>span{display:block;font-size:8px;color:#8ca8c0;margin:0 0 4px 2px}.dialog-body input,.dialog-body select,.dialog-body textarea{width:100%;border:1px solid #2a506f;background:#0a2138;color:white;border-radius:8px;padding:9px;outline:0;font-size:10px}.dialog-body textarea{min-height:82px;resize:vertical}.dialog-card footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px 15px;border-top:1px solid #20415e}.login-card{width:min(440px,92vw)}.login-card .dialog-body{grid-template-columns:1fr}.login-card .dialog-body>*{grid-column:1}.help{margin:0 0 4px;color:#8ca4bc;font-size:9px;line-height:1.5}.form-error{color:#ff9ba5;font-size:9px;min-height:13px}.legacy-link{margin-right:auto;font-size:9px;color:#6bbcf9}.toast-wrap{position:fixed;right:16px;bottom:16px;z-index:200;display:flex;flex-direction:column;gap:7px}.toast{min-width:250px;max-width:430px;border:1px solid #315775;background:#0a2037;color:white;border-radius:10px;padding:10px 12px;box-shadow:var(--shadow);font-size:10px}.toast.ok{border-color:#267b61}.toast.bad{border-color:#8a3e48}.toast b{display:block;font-size:10px}.toast span{display:block;color:#a4bad0;margin-top:3px;font-size:9px;line-height:1.4}
@media(max-width:1280px){.shell{grid-template-columns:74px 1fr}.brand>span:last-child,.sidebar nav span,.side-foot .api-line span,.side-foot>small{display:none}.brand{justify-content:center;padding:0}.sidebar nav button,.sidebar nav a{justify-content:center}.sidebar nav i{font-size:19px}.side-foot{display:flex;justify-content:center}.search-pop{left:90px;width:calc(100vw - 370px)}.kpis{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1.25fr .95fr}.context-project{min-width:170px}}
@media(max-width:900px){body{overflow:auto}.shell{display:block;height:auto;min-height:100vh}.sidebar{position:fixed;z-index:80;left:-230px;top:0;bottom:0;width:220px;transition:.2s}.sidebar.open{left:0}.brand>span:last-child,.sidebar nav span,.side-foot .api-line span,.side-foot>small{display:block}.sidebar nav button,.sidebar nav a{justify-content:flex-start}.main{height:auto;min-height:100vh;display:block}.topbar{position:sticky;top:0}.hamb{display:block}.context-project{display:none}.search-pop{left:10px;right:10px;width:auto}.page-head{align-items:flex-start}.content{overflow:visible}.kpis{grid-template-columns:repeat(2,1fr)}.dashboard-grid{display:block}.dashboard-grid>.card{margin-bottom:10px;min-height:260px}.quick-launch{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr}.kanban{grid-template-columns:repeat(4,260px)}.dialog-body{grid-template-columns:1fr}.dialog-body>*{grid-column:1!important}.user b,.user small{display:none}.user{grid-template-columns:31px;padding-right:5px}}
.api-line.warn>i{background:var(--yellow)}
.backend-warning{display:flex;gap:10px;align-items:center;margin-bottom:10px;padding:10px 12px;border:1px solid #745c2d;border-radius:11px;background:#2a2213;color:#ffe3a3;font-size:9px}.backend-warning b{font-size:10px;white-space:nowrap}.backend-warning span{color:#d7c18d;line-height:1.45}
.login-diagnostic{display:block;color:#6f91ae;font-size:8px;line-height:1.45;margin-top:-2px}
.toast.warn{border-color:#7d652f}

/* HSMAP 2.6.2 - Smart Workspace visual refresh */
:root{
  --bg:#06111f;--panel:#0a1b30;--panel2:#0e2440;--line:#1d3c5d;--muted:#8ba7c4;--text:#f2f7fc;
  --blue:#2f8cff;--cyan:#43c8ff;--green:#39d39f;--yellow:#ffc85c;--red:#ff6f7d;--purple:#8f7cff;
  --shadow:0 20px 60px rgba(0,0,0,.26);--radius:16px
}
body{background:linear-gradient(135deg,#06111f,#071a2c 55%,#06111f)}
.shell{grid-template-columns:232px 1fr;background:radial-gradient(circle at 78% 8%,rgba(55,135,255,.12),transparent 30%),linear-gradient(180deg,#071626,#06111e)}
.sidebar{background:linear-gradient(180deg,rgba(5,16,30,.99),rgba(5,14,26,.99));box-shadow:16px 0 42px rgba(0,0,0,.16)}
.brand{height:72px;padding:13px 15px}.brand-mark{border-radius:13px;background:linear-gradient(145deg,#32a9ff,#3457f4);box-shadow:0 0 0 4px rgba(49,142,255,.1),0 10px 28px rgba(32,116,255,.23)}
.brand b{letter-spacing:.2px}.brand small{color:#73c9ff}
.sidebar nav{padding:10px 9px 12px;gap:3px;overflow:auto}.nav-label{padding:12px 11px 5px;color:#5f7d9d;font-size:8px;font-weight:800;letter-spacing:1.15px;text-transform:uppercase}.sidebar nav button,.sidebar nav a{height:40px;border-radius:11px;padding:0 10px;transition:.18s ease}.sidebar nav button:hover,.sidebar nav a:hover{transform:translateX(2px);background:#0d2742;border-color:#1f4c72}.sidebar nav button.active{background:linear-gradient(100deg,#1768c3,#11549d);box-shadow:0 8px 22px rgba(15,88,175,.18)}.sidebar nav kbd{margin-left:auto;border:0;background:#0c2946;color:#6687a7;border-radius:6px;padding:2px 5px;font-size:8px}.sidebar nav em{margin-left:auto;font-style:normal;font-size:7px;font-weight:900;padding:3px 5px;border-radius:999px;background:linear-gradient(90deg,#684bff,#2d92ff);color:#fff}.side-foot{background:rgba(8,27,47,.46)}
.topbar{height:62px;padding:9px 14px;background:rgba(6,17,31,.8);border-bottom-color:#173550;box-shadow:0 8px 28px rgba(0,0,0,.1)}
.search{height:42px;border-radius:12px;border-color:#29587e;background:linear-gradient(180deg,#0b243e,#091f37);box-shadow:inset 0 1px rgba(255,255,255,.025)}.search:focus-within{border-color:#398fcb;box-shadow:0 0 0 3px rgba(53,159,237,.08)}.search input{font-size:11px}.search kbd{background:#0a1b30}
.context-project{height:42px;border-radius:12px;background:#091e34;min-width:190px}.quick-launch{display:flex;gap:5px}.quick-launch a{height:42px;min-width:56px;border:1px solid #274c6c;border-radius:11px;background:#0a2037;display:grid;grid-template-columns:20px auto;align-items:center;gap:3px;padding:0 8px;color:#cfe8ff;transition:.18s ease}.quick-launch a:hover{border-color:#3d83bd;background:#0e2a48;transform:translateY(-1px)}.quick-launch i{font-style:normal;color:#6fc8ff}.quick-launch span{font-size:8px;font-weight:750}.top-action{height:42px;width:42px;border-radius:11px}.user{height:42px;border-radius:12px}
.page-head{padding:14px 18px 11px}.page-head h1{font-size:22px;letter-spacing:-.35px}.page-head p{font-size:10px;color:#8ca8c3}.eyebrow{color:#64bfff}.content{padding:0 16px 16px;scrollbar-color:#244967 transparent}.card,.table-card,.kpi{backdrop-filter:blur(8px)}.card{border-color:#1c3b5b;background:linear-gradient(145deg,rgba(11,31,52,.98),rgba(7,23,40,.98));box-shadow:0 15px 45px rgba(0,0,0,.2)}.card:hover{border-color:#285478}.kpi{border-radius:14px;border-color:#1c3b5b;background:linear-gradient(145deg,#0c223a,#09192d)}.kpi b{font-weight:800;letter-spacing:-.4px}.primary{background:linear-gradient(100deg,#167ce9,#21a4f5);box-shadow:0 8px 22px rgba(25,137,238,.18)}
.dialog-card{border-radius:18px!important;box-shadow:0 30px 90px rgba(0,0,0,.48)!important}.toast-wrap{z-index:1000}
@media(max-width:1180px){.quick-launch span{display:none}.quick-launch a{min-width:42px;grid-template-columns:1fr;padding:0}.quick-launch i{text-align:center}.context-project{min-width:160px}}
@media(max-width:880px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:200;left:-245px;top:0;bottom:0;width:232px;transition:.2s ease}.sidebar.open{left:0}.hamb{display:block}.context-project{display:none}.quick-launch{display:none}.search-pop{left:12px;width:calc(100vw - 24px)}.kpis{grid-template-columns:repeat(2,1fr)!important}.dashboard-grid{grid-template-columns:1fr!important;grid-template-rows:auto!important}.page-head{align-items:flex-start;flex-direction:column}.page-actions{width:100%;overflow:auto}}


/* HSMAP 2.6.3 - Central Ecosystem Workspace */
.central-workspace{position:relative;min-height:560px;height:min(66vh,610px);border:1px solid #1f4668;border-radius:22px;overflow:hidden;background:radial-gradient(circle at 50% 48%,rgba(24,130,228,.20),transparent 24%),radial-gradient(circle at 50% 50%,rgba(18,75,134,.16),transparent 52%),linear-gradient(160deg,#071b31 0%,#061321 54%,#08192a 100%);box-shadow:0 24px 70px rgba(0,0,0,.30),inset 0 0 80px rgba(22,120,220,.05)}
.central-workspace:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 20%,rgba(46,193,255,.12) 0 2px,transparent 3px),radial-gradient(circle at 82% 18%,rgba(46,193,255,.10) 0 2px,transparent 3px),radial-gradient(circle at 88% 72%,rgba(68,132,255,.12) 0 2px,transparent 3px),radial-gradient(circle at 22% 80%,rgba(68,132,255,.09) 0 2px,transparent 3px);pointer-events:none}
.hub-grid-lines{position:absolute;inset:0;opacity:.24;background-image:linear-gradient(rgba(78,146,210,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(78,146,210,.09) 1px,transparent 1px);background-size:72px 72px;mask-image:radial-gradient(circle at center,#000,transparent 78%)}
.orbit{position:absolute;left:50%;top:49%;translate:-50% -50%;border:1px solid rgba(54,153,237,.22);border-radius:50%;pointer-events:none;box-shadow:0 0 30px rgba(30,130,230,.04)}
.orbit-a{width:370px;height:220px}.orbit-b{width:660px;height:350px}.orbit-c{width:930px;height:470px;border-color:rgba(54,153,237,.10)}
.hub-core{position:absolute;left:50%;top:49%;translate:-50% -50%;width:310px;height:310px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;z-index:3;background:radial-gradient(circle at 42% 32%,rgba(83,207,255,.45),rgba(22,123,214,.30) 22%,rgba(5,31,55,.96) 60%);border:1px solid rgba(87,192,255,.64);box-shadow:0 0 0 12px rgba(27,131,228,.05),0 0 50px rgba(20,137,240,.24),inset 0 0 42px rgba(64,192,255,.18)}
.hub-core:before,.hub-core:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(91,193,255,.25)}.hub-core:before{inset:18px}.hub-core:after{inset:37px;border-style:dashed;animation:hubspin 26s linear infinite}@keyframes hubspin{to{transform:rotate(360deg)}}
.hub-pulse{position:absolute;inset:-16px;border-radius:50%;border:1px solid rgba(61,183,255,.14);animation:hubpulse 2.8s ease-in-out infinite}@keyframes hubpulse{50%{transform:scale(1.035);opacity:.45}}
.hub-logo{position:relative;z-index:2;width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:22px;font-weight:950;letter-spacing:-1px;background:linear-gradient(145deg,#2aa8ff,#3856ff 58%,#785bff);box-shadow:0 10px 30px rgba(26,127,244,.38),inset 0 1px 0 rgba(255,255,255,.25)}
.hub-copy{position:relative;z-index:2;margin-top:11px}.hub-copy small{display:block;color:#75c9ff;font-size:8px;font-weight:900;letter-spacing:1.2px}.hub-copy strong{display:block;margin-top:2px;font-size:30px;line-height:1.05;letter-spacing:-1px}.hub-copy b{display:block;margin-top:3px;font-size:10px;color:#d7efff;letter-spacing:.7px}.hub-copy p{margin:5px auto 0;max-width:220px;color:#8db0cc;font-size:8px;line-height:1.35}
.hub-actions{position:relative;z-index:3;display:flex;gap:5px;margin-top:10px}.hub-actions a,.hub-actions button{border:1px solid #2d6fa4;background:rgba(8,34,59,.86);color:#dff2ff;border-radius:8px;height:28px;padding:0 9px;font-size:8px;font-weight:750}.hub-actions a{display:flex;align-items:center}.hub-actions a:hover,.hub-actions button:hover{background:#167bc7;border-color:#46b8ff;color:white}
.orbit-card{position:absolute;z-index:4;width:238px;min-height:72px;border:1px solid #2c5b7f;border-radius:15px;background:linear-gradient(145deg,rgba(11,42,70,.94),rgba(6,26,45,.96));color:#e9f6ff;display:grid;grid-template-columns:46px 1fr 16px;align-items:center;gap:9px;padding:9px 10px;text-align:left;box-shadow:0 14px 38px rgba(0,0,0,.26);transition:.18s ease}.orbit-card:hover{translate:0 -3px;border-color:#49b9ff;background:linear-gradient(145deg,#0f416b,#0b2a48);box-shadow:0 18px 42px rgba(0,91,170,.28)}.orbit-card .orbit-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#1376d3,#1ea8d9);font-size:20px;box-shadow:inset 0 1px rgba(255,255,255,.18)}.orbit-card b,.orbit-card small{display:block}.orbit-card b{font-size:12px}.orbit-card small{margin-top:4px;color:#86a9c5;font-size:8px;line-height:1.35}.orbit-card em{font-style:normal;color:#55bfff;font-size:14px}
.sat-docs{left:4%;top:12%}.sat-cadastral{left:3%;top:42%}.sat-planning{left:8%;bottom:11%}.sat-tools{left:50%;bottom:5%;translate:-50% 0}.sat-ai{right:4%;top:12%}.sat-projects{right:3%;top:42%}.sat-accept{right:8%;bottom:11%}.sat-pdf{left:50%;top:5%;translate:-50% 0}
.sat-docs .orbit-icon{background:linear-gradient(145deg,#5968ff,#8b62ef)}.sat-cadastral .orbit-icon{background:linear-gradient(145deg,#02a89a,#13c9b7)}.sat-planning .orbit-icon{background:linear-gradient(145deg,#007fd3,#31b9e6)}.sat-tools .orbit-icon{background:linear-gradient(145deg,#1d75ef,#2aa0ff)}.sat-ai .orbit-icon{background:linear-gradient(145deg,#7b53ff,#c055e8)}.sat-projects .orbit-icon{background:linear-gradient(145deg,#1887d7,#2f6cff)}.sat-accept .orbit-icon{background:linear-gradient(145deg,#10a36d,#39c78e)}.sat-pdf .orbit-icon{background:linear-gradient(145deg,#f47950,#ff9c5b)}
.hub-live{position:absolute;z-index:4;right:14px;bottom:12px;display:flex;align-items:center;gap:8px;border:1px solid #234d6d;background:rgba(5,23,40,.72);backdrop-filter:blur(10px);border-radius:10px;padding:7px 9px;color:#91adc7;font-size:8px}.hub-live span{display:flex;align-items:center;gap:5px}.hub-live b{color:#e7f6ff}.live-dot{width:6px;height:6px;border-radius:50%;background:#2bd591;box-shadow:0 0 8px #2bd591}
.operations-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:10px}.op-kpi{min-width:0;border:1px solid #1f4565;border-radius:12px;background:linear-gradient(145deg,#0b2037,#081a2d);color:#e9f5ff;text-align:left;padding:9px 11px}.op-kpi:hover{border-color:#328bd0;background:#0d2945}.op-kpi span,.op-kpi b,.op-kpi small{display:block}.op-kpi span{color:#7797b5;font-size:8px;text-transform:uppercase;letter-spacing:.55px}.op-kpi b{font-size:18px;margin:3px 0 2px}.op-kpi small{font-size:8px;color:#6f8ca8}.op-kpi.alert b{color:#ff8390}.compact-warning{margin-bottom:9px}
@media(max-width:1250px){.central-workspace{height:auto;min-height:680px}.orbit-c{display:none}.hub-core{width:270px;height:270px}.orbit-card{width:210px}.sat-docs{left:2%}.sat-cadastral{left:2%}.sat-planning{left:2%}.sat-ai{right:2%}.sat-projects{right:2%}.sat-accept{right:2%}.operations-strip{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.central-workspace{min-height:0;height:auto;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.central-workspace .orbit,.hub-grid-lines{display:none}.hub-core{position:relative;left:auto;top:auto;translate:0 0;width:auto;height:auto;border-radius:18px;grid-column:1/-1;padding:18px}.orbit-card{position:relative;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;translate:0!important;width:auto}.hub-live{position:relative;right:auto;bottom:auto;grid-column:1/-1;justify-self:end}.operations-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.central-workspace{grid-template-columns:1fr}.hub-core,.hub-live{grid-column:1}.operations-strip{grid-template-columns:1fr}.hub-copy strong{font-size:25px}}


/* HSMAP 2.6.3.1 - One Screen Fit: dashboard never needs vertical scrolling on desktop */
@media (min-width:901px){
  .main{grid-template-rows:56px 76px minmax(0,1fr)}
  .topbar{height:56px;padding:7px 14px}
  .page-head{height:76px;padding:10px 18px 8px;overflow:hidden}
  .page-head h1{font-size:20px;margin:1px 0 2px}
  .page-head p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:920px}
  .content.dashboard-fit{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:7px;overflow:hidden;padding:0 16px 10px}
  .dashboard-fit .compact-warning{margin:0;min-height:34px;padding:8px 11px}
  .dashboard-fit .central-workspace{height:auto;min-height:0;margin:0;border-radius:18px}
  .dashboard-fit .operations-strip{margin:0;gap:7px}
  .dashboard-fit .op-kpi{padding:6px 9px;border-radius:10px;min-height:54px}
  .dashboard-fit .op-kpi b{font-size:16px;margin:1px 0}
  .dashboard-fit .op-kpi span,.dashboard-fit .op-kpi small{font-size:7px}
  .dashboard-fit .hub-core{width:min(280px,34vh);height:min(280px,34vh)}
  .dashboard-fit .hub-logo{width:50px;height:50px;border-radius:15px;font-size:19px}
  .dashboard-fit .hub-copy{margin-top:8px}
  .dashboard-fit .hub-copy strong{font-size:27px}
  .dashboard-fit .hub-copy p{margin-top:3px}
  .dashboard-fit .hub-actions{margin-top:7px}
  .dashboard-fit .hub-actions a,.dashboard-fit .hub-actions button{height:25px;padding:0 8px}
  .dashboard-fit .orbit-card{width:220px;min-height:62px;padding:7px 9px;grid-template-columns:40px 1fr 14px}
  .dashboard-fit .orbit-card .orbit-icon{width:38px;height:38px;border-radius:10px;font-size:17px}
  .dashboard-fit .orbit-card b{font-size:11px}
  .dashboard-fit .orbit-card small{font-size:7px;margin-top:2px}
  .dashboard-fit .orbit-a{width:340px;height:200px}
  .dashboard-fit .orbit-b{width:min(620px,52vw);height:min(330px,44vh)}
  .dashboard-fit .orbit-c{width:min(900px,76vw);height:min(450px,58vh)}
  .dashboard-fit .sat-docs,.dashboard-fit .sat-ai{top:6%}
  .dashboard-fit .sat-cadastral,.dashboard-fit .sat-projects{top:40%}
  .dashboard-fit .sat-planning,.dashboard-fit .sat-accept{bottom:7%}
  .dashboard-fit .sat-pdf{top:2%}
  .dashboard-fit .sat-tools{bottom:2%}
  .dashboard-fit .hub-live{bottom:8px;padding:5px 8px}
}
@media (min-width:901px) and (max-height:820px){
  .main{grid-template-rows:52px 64px minmax(0,1fr)}
  .topbar{height:52px;padding-top:6px;padding-bottom:6px}
  .topbar .search,.topbar .context-project,.top-action,.user{height:36px}
  .page-head{height:64px;padding:7px 18px 5px}
  .page-head h1{font-size:18px}
  .page-head p{font-size:9px}
  .dashboard-fit .compact-warning{min-height:30px;padding:6px 10px;font-size:8px}
  .dashboard-fit .hub-core{width:min(240px,31vh);height:min(240px,31vh)}
  .dashboard-fit .hub-logo{width:44px;height:44px;font-size:17px}
  .dashboard-fit .hub-copy strong{font-size:24px}
  .dashboard-fit .hub-copy b{font-size:8px}
  .dashboard-fit .hub-copy p{display:none}
  .dashboard-fit .hub-actions{margin-top:5px}
  .dashboard-fit .orbit-card{width:205px;min-height:56px;grid-template-columns:36px 1fr 12px;gap:7px;padding:6px 8px}
  .dashboard-fit .orbit-card .orbit-icon{width:34px;height:34px;font-size:15px}
  .dashboard-fit .orbit-card small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dashboard-fit .operations-strip{gap:6px}
  .dashboard-fit .op-kpi{min-height:48px;padding:5px 8px}
  .dashboard-fit .op-kpi b{font-size:15px}
  .dashboard-fit .hub-live{padding:4px 7px}
}
@media (min-width:901px) and (max-height:720px){
  .page-head p{display:none}
  .page-head{height:54px}
  .main{grid-template-rows:50px 54px minmax(0,1fr)}
  .dashboard-fit .hub-core{width:205px;height:205px}
  .dashboard-fit .hub-logo{width:38px;height:38px;border-radius:12px}
  .dashboard-fit .hub-copy small{font-size:6px}.dashboard-fit .hub-copy strong{font-size:21px}.dashboard-fit .hub-copy b{font-size:7px}
  .dashboard-fit .orbit-card{width:190px;min-height:50px}.dashboard-fit .orbit-card small{display:none}
  .dashboard-fit .op-kpi small{display:none}
}


/* HSMAP 2.6.4 - Smart Operations Hub */
.orbit-card{grid-template-columns:46px minmax(0,1fr) auto 14px}
.orbit-copy{min-width:0}.orbit-metric{min-width:42px;text-align:right;border-left:1px solid rgba(105,168,218,.16);padding-left:7px}.orbit-metric strong,.orbit-metric small{display:block}.orbit-metric strong{font-size:13px;color:#eaf8ff}.orbit-metric small{font-size:6px!important;color:#6f96b5!important;text-transform:uppercase;letter-spacing:.45px;margin-top:1px!important}
.hub-mini{display:flex;gap:5px;margin-top:7px;justify-content:center}.hub-mini span{border:1px solid rgba(83,170,235,.20);background:rgba(4,27,47,.48);border-radius:999px;padding:3px 7px;font-size:7px;color:#789dbb}.hub-mini b{font-size:9px;color:#dff5ff;margin-right:2px}.smart-trigger{border-color:#3ba6ef!important;background:linear-gradient(145deg,#123e67,#0c2c4c)!important}
.smart-ops{position:absolute;z-index:12;right:18px;top:50%;translate:0 -50%;width:310px;border:1px solid #2a5d82;border-radius:16px;background:linear-gradient(160deg,rgba(9,36,60,.98),rgba(5,22,38,.99));box-shadow:0 22px 60px rgba(0,0,0,.45);padding:10px;backdrop-filter:blur(14px)}.smart-ops[hidden]{display:none}.smart-ops header{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 8px}.smart-ops header small,.smart-ops header b{display:block}.smart-ops header small{font-size:7px;color:#54baff;letter-spacing:1px}.smart-ops header b{font-size:13px;margin-top:2px}.smart-ops header button{width:27px;height:27px;border-radius:8px;font-size:18px}.smart-line{width:100%;display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;padding:8px;margin-top:6px;border:1px solid #1d4667;border-radius:11px;background:#09243d;color:#eaf6ff;text-align:left}.smart-line:hover{border-color:#3e9fe0;background:#0c2d4b}.smart-line i{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#124a78;font-style:normal}.smart-line span{min-width:0}.smart-line b,.smart-line small{display:block}.smart-line b{font-size:9px}.smart-line small{font-size:7px;color:#7e9db9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;max-width:170px}.smart-line em{font-style:normal;font-size:7px;color:#ffbf72}.smart-create{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.smart-create button{height:30px;border-radius:9px;border-color:#2a5a80;background:#0b2b49;font-size:8px}.smart-ops footer{margin-top:8px;padding:7px 2px 1px;color:#7195b3;font-size:7px;border-top:1px solid rgba(80,144,195,.16)}.smart-ops footer span{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.smart-ops footer span.ok{background:#23d99b;box-shadow:0 0 9px #23d99b}.smart-ops footer span.warn{background:#ffbd4a;box-shadow:0 0 9px #ffbd4a}
@media(min-width:901px) and (max-width:1380px){.smart-ops{width:280px;right:10px}.smart-line small{max-width:145px}.orbit-metric{display:none}.orbit-card{grid-template-columns:40px 1fr 14px}}
@media(min-width:901px) and (max-height:820px){.hub-mini{margin-top:4px}.hub-mini span{padding:2px 6px}.smart-ops{width:270px;padding:8px}.smart-line{padding:6px}.smart-create button{height:27px}}
@media(max-width:900px){.smart-ops{position:relative;right:auto;top:auto;translate:0;width:auto;grid-column:1/-1}.orbit-metric{display:block}}

/* HSMAP 2.6.5 - Compact Smart Hub */
.page-mode{height:26px;display:inline-flex;align-items:center;gap:6px;border:1px solid #285272;border-radius:999px;background:#0a2036;padding:0 9px;color:#9fc5e2;font-size:8px;font-weight:800}.page-mode i{width:6px;height:6px;border-radius:50%;background:#2bd591;box-shadow:0 0 8px #2bd591}
.dashboard-fit .compact-hub{background:radial-gradient(circle at 50% 48%,rgba(21,127,225,.18),transparent 22%),linear-gradient(160deg,#07192d,#061321 58%,#071827);box-shadow:0 18px 48px rgba(0,0,0,.25),inset 0 0 64px rgba(22,120,220,.035)}
.mode-badge{position:absolute;z-index:9;left:12px;top:10px;height:23px;display:flex;align-items:center;gap:6px;border:1px solid #244b69;border-radius:999px;background:rgba(5,23,40,.76);padding:0 8px;color:#7fa0bc;font-size:7px;font-weight:800;backdrop-filter:blur(8px)}.mode-badge i{width:6px;height:6px;border-radius:50%}.mode-badge.ok i{background:#2bd591;box-shadow:0 0 7px #2bd591}.mode-badge.warn i{background:#ffbd4a;box-shadow:0 0 7px #ffbd4a}.mode-badge.warn{color:#d8b36b;border-color:#5f4b23}
.dashboard-fit .hub-core{width:min(230px,29vh);height:min(230px,29vh);box-shadow:0 0 0 8px rgba(27,131,228,.045),0 0 36px rgba(20,137,240,.20),inset 0 0 34px rgba(64,192,255,.14)}
.dashboard-fit .hub-core:before{inset:14px}.dashboard-fit .hub-core:after{inset:29px}.dashboard-fit .hub-pulse{inset:-11px}
.dashboard-fit .hub-logo{width:42px;height:42px;border-radius:13px;font-size:17px}.dashboard-fit .hub-copy{margin-top:6px}.dashboard-fit .hub-copy small{font-size:6px}.dashboard-fit .hub-copy strong{font-size:23px}.dashboard-fit .hub-copy b{font-size:7px}.dashboard-fit .hub-copy p{display:none}.dashboard-fit .hub-mini{margin-top:5px;gap:4px}.dashboard-fit .hub-mini span{padding:2px 6px;font-size:6px}.dashboard-fit .hub-mini b{font-size:8px}.dashboard-fit .hub-actions{margin-top:5px}.dashboard-fit .hub-actions a,.dashboard-fit .hub-actions button{height:24px;padding:0 7px;font-size:7px}
.dashboard-fit .orbit-a{width:300px;height:170px}.dashboard-fit .orbit-b{width:min(540px,46vw);height:min(286px,38vh)}.dashboard-fit .orbit-c{width:min(790px,67vw);height:min(405px,52vh)}
.dashboard-fit .orbit-card{width:220px;min-height:58px;padding:7px 48px 7px 8px;grid-template-columns:37px minmax(0,1fr) 12px;gap:7px;border-radius:13px;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.dashboard-fit .orbit-card .orbit-icon{width:35px;height:35px;border-radius:10px;font-size:15px}.dashboard-fit .orbit-card b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-fit .orbit-card small{font-size:6.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-fit .orbit-card em{font-size:11px}
.orbit-copy{min-width:0}.orbit-metric{position:absolute;right:24px;top:50%;transform:translateY(-50%);min-width:38px;text-align:right;border-left:1px solid rgba(105,168,218,.14);padding-left:6px}.orbit-metric strong{display:block;font-size:12px;line-height:1;color:#eaf8ff}.orbit-metric small{display:block!important;font-size:5.5px!important;line-height:1.1;color:#6f96b5!important;text-transform:uppercase;letter-spacing:.35px;margin-top:3px!important;max-width:40px;white-space:normal!important}.orbit-health{position:absolute;right:8px;top:8px;width:6px;height:6px;border-radius:50%}.orbit-health.ok{background:#2bd591}.orbit-health.warn{background:#ffbd4a}.orbit-health.bad{background:#ff6577;box-shadow:0 0 7px rgba(255,101,119,.7)}
.dashboard-fit .sat-docs,.dashboard-fit .sat-ai{top:7%}.dashboard-fit .sat-cadastral,.dashboard-fit .sat-projects{top:39%}.dashboard-fit .sat-planning,.dashboard-fit .sat-accept{bottom:7%}.dashboard-fit .sat-pdf{top:3%}.dashboard-fit .sat-tools{bottom:3%}
.operations-bar{height:48px;display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:0}.operations-bar>a,.operations-bar>button{min-width:0;display:grid;grid-template-columns:20px 1fr auto;grid-template-rows:18px 12px;column-gap:6px;align-items:center;border:1px solid #1d4260;border-radius:10px;background:linear-gradient(145deg,#0a2036,#07192b);color:#dff1ff;padding:5px 8px;text-align:left}.operations-bar>a:hover,.operations-bar>button:hover{border-color:#338fce;background:#0c2944}.operations-bar i{grid-row:1/3;width:20px;height:20px;border-radius:6px;background:#123a61;display:grid;place-items:center;font-style:normal;color:#76c5ff;font-size:9px}.operations-bar span{font-size:7px;color:#7897b3;text-transform:uppercase;letter-spacing:.4px}.operations-bar b{font-size:11px;text-align:right}.operations-bar small{font-size:6px;color:#6686a3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.operations-bar .alert b,.operations-bar .alert small{color:#ff9aa5}.operations-bar .command-entry b{font-size:8px;color:#9bc8ea}
.command-head{padding:8px 10px 6px;border-bottom:1px solid #183a57;margin-bottom:5px}.command-head b,.command-head small{display:block}.command-head b{font-size:11px;color:#e7f5ff}.command-head small{margin-top:2px;font-size:8px;color:#7898b4}.command-result{width:100%;border:0;background:transparent;color:inherit;text-align:left}.command-result kbd{margin-left:auto;font-size:8px;color:#6688a6}
@media(min-width:901px) and (max-width:1380px){.dashboard-fit .orbit-card{width:202px;padding-right:42px}.orbit-metric{right:21px;min-width:33px}.orbit-metric strong{font-size:11px}.dashboard-fit .orbit-c{display:none}.operations-bar{grid-template-columns:repeat(6,minmax(0,1fr))}.operations-bar small{display:none}}
@media(min-width:901px) and (max-height:760px){.dashboard-fit .hub-core{width:195px;height:195px}.dashboard-fit .hub-logo{width:34px;height:34px;font-size:14px}.dashboard-fit .hub-copy strong{font-size:20px}.dashboard-fit .hub-mini{display:none}.dashboard-fit .orbit-card{min-height:49px;width:190px;padding-top:5px;padding-bottom:5px}.dashboard-fit .orbit-card .orbit-icon{width:31px;height:31px}.dashboard-fit .orbit-card small{display:none}.operations-bar{height:42px}.operations-bar>a,.operations-bar>button{grid-template-rows:15px 10px;padding:3px 6px}.operations-bar i{width:18px;height:18px}.mode-badge{height:20px;top:7px}}
@media(max-width:900px){.operations-bar{height:auto;grid-template-columns:repeat(2,1fr)}.orbit-metric{position:static;transform:none}.mode-badge{position:relative;left:auto;top:auto;justify-self:start;grid-column:1/-1}.page-mode{display:none}}
@media (min-width:901px){.content.dashboard-fit{grid-template-rows:minmax(0,1fr) auto}}
