/* Asia Great shared visual system. Loaded last on public and cabinet layouts. */
@font-face{font-family:"AG Sans";src:url("fonts/noto-sans-regular.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"AG Sans";src:url("fonts/noto-sans-bold.woff") format("woff");font-weight:600 900;font-style:normal;font-display:swap}
:root{--ag-font:"AG Sans","Segoe UI",Arial,sans-serif;--ag-ink:#102342;--ag-muted:#536780;--ag-blue:#075de8;--ag-navy:#092247;--ag-amber:#ffaa16;--ag-border:#d9e3ef;--ag-surface:#fff;--ag-soft:#edf4ff;--ag-radius:9px;--font:var(--ag-font)}
body,body.compact-workspace{font-family:var(--ag-font);color:var(--ag-ink)}
button,input,select,textarea{font-family:var(--ag-font)}
body.compact-workspace{--navy:var(--ag-navy);--blue:var(--ag-blue);--orange:var(--ag-amber);--line:var(--ag-border);--muted:var(--ag-muted);--ui-ink:var(--ag-ink);--ui-border:var(--ag-border);--ui-accent:var(--ag-amber);font-size:14px;line-height:1.5;background:#f4f7fc}
.compact-workspace .topbar,.compact-workspace.station-map-page .topbar{height:64px;min-height:64px;padding:8px 24px;gap:24px;border-bottom:1px solid var(--ag-border);box-shadow:0 2px 10px #16335905;background:#fff}
.compact-workspace .brand img{width:170px}
.compact-workspace .cabinet-title{font-size:12px;color:var(--ag-muted)}
.compact-workspace .topbar .search{max-width:650px}
.compact-workspace .search input{background:#f8faff;border-color:var(--ag-border);min-height:38px}
.compact-workspace .search button{background:var(--ag-soft);color:var(--ag-blue);font-weight:600}
.compact-workspace .user-menu summary{font-size:13px}.compact-workspace .user-menu small{font-size:11px}
.compact-workspace .workspace{grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 100px)}
.compact-workspace .workspace.nav-collapsed{grid-template-columns:56px minmax(0,1fr)}
.compact-workspace .sidebar{top:64px;height:calc(100vh - 64px);padding:18px 10px;background:linear-gradient(158deg,#0c2d57 0%,#071d3c 90%);gap:5px;isolation:isolate}
.compact-workspace .sidebar:after{content:"";display:block;min-height:38px;margin-top:auto;pointer-events:none;background:linear-gradient(135deg,transparent 55%,#174779 55%,#174779 63%,transparent 63%,transparent 70%,#ffaa16 70%,#ffaa16 73%,transparent 73%);opacity:.7}
.compact-workspace .sidebar a{min-height:44px;padding:10px 12px;font-size:13px;font-weight:400;border-radius:7px;gap:12px;color:#eef5ff}
.compact-workspace .sidebar a:hover{background:#ffffff12}
.compact-workspace .sidebar a.active{background:var(--ag-blue);color:#fff;font-weight:600;box-shadow:0 4px 12px #00133326}
.compact-workspace .sidebar a.active:before{top:7px;bottom:7px;width:4px;background:var(--ag-amber)}
.compact-workspace .sidebar a>.ui-icon{width:20px;height:20px}
.compact-workspace .workspace-path{padding:14px 28px 8px;font-size:12px;gap:9px;line-height:1.5}
.compact-workspace .workspace-return{padding:2px 28px 8px}
.compact-workspace .record-toolbar{margin:0 28px 12px;padding:6px 0;min-height:30px;gap:16px;background:transparent;border:0;border-bottom:1px solid var(--ag-border);border-radius:0;font-size:11px}
.compact-workspace :is(.ui-directory,.hub-page,.engineering,.estimate-archive,.records-hub,.registry-shell,.station-workspace,.q-page,.configuration-page,.sp-page){padding:14px 28px 28px;max-width:none;margin:0;box-sizing:border-box;min-width:0}
.compact-workspace :is(.page-heading,.catalog-heading){padding:14px 28px;background:transparent}
.compact-workspace :is(.supplier-heading,.client-heading,.hub-heading,.eng-heading,.registry-heading,.station-heading,.records-heading,.ea-heading,.sp-title){margin:0 0 16px;gap:16px;align-items:center}
.compact-workspace :is(.supplier-heading,.client-heading,.ea-heading)>div:first-child{display:block}
.compact-workspace h1,.compact-workspace :is(.supplier-heading,.client-heading,.hub-heading,.eng-heading,.registry-heading,.station-heading,.records-heading,.ea-heading,.sp-title,.q-heading) h1{font-size:28px;font-weight:700;letter-spacing:-.65px;line-height:1.3;margin:0;color:var(--ag-ink)}
.compact-workspace :is(.supplier-heading,.client-heading,.hub-heading,.eng-heading,.registry-heading,.station-heading,.records-heading,.ea-heading,.sp-title) h1:before{content:"";display:inline-block;vertical-align:middle;width:27px;height:4px;margin:0 12px 5px 0;border-radius:2px;background:var(--ag-amber)}
.compact-workspace :is(.supplier-heading,.client-heading,.hub-heading,.eng-heading,.registry-heading,.station-heading,.records-heading,.ea-heading,.sp-title) p,.compact-workspace .design-subtitle{font-size:12px;color:var(--ag-muted);margin:6px 0 0;line-height:1.5}
.compact-workspace :is(.eyebrow,.eng-eyebrow,.records-eyebrow,.client-eyebrow,.ea-eyebrow){display:none}
.compact-workspace h2{font-size:18px;font-weight:700;line-height:1.4;letter-spacing:-.25px}
.compact-workspace h3{font-size:15px;font-weight:600;line-height:1.4}
.compact-workspace .primary,.compact-workspace .ui-directory .primary,.compact-workspace .sp-page .primary,.compact-workspace .eng-results .primary{background:var(--ag-blue);border:1px solid var(--ag-blue);border-radius:7px;min-height:38px;height:auto;padding:8px 14px;font-size:13px;line-height:1.5;font-weight:600;color:white;box-shadow:0 2px 4px #075de810}
.compact-workspace .primary:hover{background:#034ec7;border-color:#034ec7;text-decoration:none}
.compact-workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border:1px solid #cbd9e9;border-radius:7px;color:var(--ag-ink);background:white;font-size:13px;line-height:1.5}
.compact-workspace :is(input[type=search],input[type=text],input[type=email],select){min-height:38px}
.compact-workspace input:is([type=checkbox],[type=radio]){accent-color:var(--ag-blue)}
.compact-workspace :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #f3ac28;outline-offset:3px}
.compact-workspace :is(.eng-tabs,.workspace-tabs,.ea-tabs,.sp-tabs,.registry-tabs){display:flex;gap:4px;flex-wrap:wrap;margin:12px 0 16px;padding:0;border-bottom:1px solid var(--ag-border)}
.compact-workspace :is(.eng-tabs,.workspace-tabs,.ea-tabs,.sp-tabs,.registry-tabs)>a{border:0;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;background:transparent;color:var(--ag-muted);font-size:13px;font-weight:600;padding:9px 14px;line-height:1.5}
.compact-workspace :is(.eng-tabs,.workspace-tabs,.ea-tabs,.sp-tabs,.registry-tabs)>a:is([aria-current=page],.is-active,.active){background:#e5efff;color:#074bc2;border-bottom-color:var(--ag-blue)}
.compact-workspace :is(.ui-topic-list,.records-topics,.table-scroll,.registry-table-scroll,.eng-panel,.panel,.client-company,.supplier-company,.ea-document,.ea-project-row,.sp-table-wrap){border:1px solid var(--ag-border);border-radius:var(--ag-radius);background:white;box-shadow:0 3px 10px #183c6804}
.compact-workspace :is(.topic-columns,.supplier-topic-head,.ea-topic-columns,.record-topic-head),.compact-workspace :is(.table-scroll,.registry-table-scroll,.sp-table-wrap) thead th{background:#eaf0f9;color:#50617a;font-size:12px;font-weight:600;text-transform:none}
.compact-workspace .ui-topic-list a.ui-topic-row{min-height:52px;padding:9px 16px;border-bottom-color:#e7edf5;color:var(--ag-ink)}
.compact-workspace .ui-directory .topic-label strong{font-size:14px;font-weight:600;line-height:1.4}
.compact-workspace :is(.ui-topic-icon,.record-topic-number){background:#e7f1ff;color:#0961cb;border-radius:7px;min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:6px}
.compact-workspace :is(.ui-topic-row,.record-topic):nth-child(4n+2) :is(.ui-topic-icon,.record-topic-number){background:#fff0cf;color:#946000}
.compact-workspace :is(.ui-topic-row,.record-topic):nth-child(4n+3) :is(.ui-topic-icon,.record-topic-number){background:#ede8ff;color:#6745c0}
.compact-workspace :is(.ui-topic-row,.record-topic):nth-child(4n+4) :is(.ui-topic-icon,.record-topic-number){background:#def5f0;color:#007d71}
.compact-workspace :is(.ui-topic-row,.record-topic):hover{background:#f1f6ff;text-decoration:none}
.compact-workspace .record-topic{padding:12px 16px;min-height:66px;gap:14px}
.compact-workspace .record-topic-head{min-height:38px;padding:9px 16px}
.compact-workspace .record-topic small{font-size:12px;color:var(--ag-muted)}
.compact-workspace .record-warning{color:#995600!important;background:#fff1d1;border-radius:4px;padding:2px 5px;width:fit-content}
.compact-workspace :is(.list-search,.records-hub .list-search,.ui-directory .topic-search,.ui-directory .supplier-search){margin:12px 0 16px;gap:10px;max-width:none}
.compact-workspace .records-hub .list-search input{min-width:0}
.compact-workspace :is(.table-scroll,.registry-table-scroll) :is(th,td){padding:10px 12px;line-height:1.45}
.compact-workspace .status-chip{border-radius:5px;background:var(--ag-soft);color:#385577}
.compact-workspace .design-catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start;margin:14px 0}
.compact-workspace .design-catalog-main{min-width:0}
.compact-workspace .design-category-search{display:flex;gap:8px;margin-bottom:14px}
.compact-workspace .design-category-search input{min-width:0;flex:1}
.compact-workspace .design-category-columns{display:flex;justify-content:space-between;padding:10px 18px;background:#eaf0f9;border:1px solid var(--ag-border);border-bottom:0;border-radius:9px 9px 0 0;font-size:12px;font-weight:600;color:#50617a}
.compact-workspace .compact-categories{display:block;padding:0;margin:0;border:1px solid var(--ag-border);border-radius:0 0 9px 9px;overflow:hidden}
.compact-workspace .compact-categories>a{padding:9px 16px;min-height:52px;border-radius:0;border:0;border-bottom:1px solid #e7edf5;gap:12px}
.compact-workspace .compact-categories>a:last-child{border-bottom:0}
.compact-workspace .compact-categories>a>strong{font-size:14px;gap:12px;font-weight:600;line-height:1.4}
.compact-workspace .design-category-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;background:#e8edff;border-radius:7px}
.compact-workspace .design-category-icon .ui-icon{width:20px;height:20px;color:#5a48c9}
.compact-workspace .compact-categories>a:nth-child(4n+2) .design-category-icon{background:#fff0cd}.compact-workspace .compact-categories>a:nth-child(4n+2) .ui-icon{color:#a16a00}
.compact-workspace .compact-categories>a:nth-child(4n+3) .design-category-icon{background:#dff4ee}.compact-workspace .compact-categories>a:nth-child(4n+3) .ui-icon{color:#008374}
.compact-workspace .compact-categories>a:nth-child(4n+4) .design-category-icon{background:#ddf1ff}.compact-workspace .compact-categories>a:nth-child(4n+4) .ui-icon{color:#0878ad}
.compact-workspace .design-quick-access{margin-top:52px;border:1px solid var(--ag-border);border-radius:9px;overflow:hidden;background:linear-gradient(160deg,#fff,#edf4ff)}
.compact-workspace .design-quick-access h2{padding:16px;margin:0;background:#edf4ff;font-size:17px}
.compact-workspace .design-quick-access h2:before{content:"";display:inline-block;width:5px;height:18px;vertical-align:middle;margin-right:10px;background:var(--ag-amber);border-radius:2px}
.compact-workspace .design-quick-access>a{display:flex;justify-content:space-between;align-items:center;color:var(--ag-ink);padding:13px 16px;margin:0 8px;border-bottom:1px solid var(--ag-border);font-size:12px;font-weight:600}
.compact-workspace .design-road{display:block;width:100%;height:auto;margin-top:12px}
.compact-workspace .design-category-empty{padding:18px;background:white;border-radius:9px;color:var(--ag-muted)}
.compact-workspace .category-list:not(.compact-categories)>a{border-radius:9px;min-height:56px;padding:12px 16px}
.compact-workspace .catalog-admin{gap:18px;margin:8px 0;font-size:12px}
.compact-workspace .hub-page>.editor{padding:18px 0;max-width:800px}
.compact-workspace :is(.hub-page,.editor,.q-page)>h1{margin-bottom:16px}
.compact-workspace :is(.hub-page,.editor,.q-page)>h1:before{content:"";display:inline-block;vertical-align:middle;width:27px;height:4px;margin:0 12px 5px 0;border-radius:2px;background:var(--ag-amber)}
.compact-workspace .login-card{border-top:4px solid var(--ag-amber);box-shadow:0 12px 40px #183c6810;border-radius:12px}
.compact-workspace .notice{margin:8px 28px;border:1px solid #efd398;border-radius:7px;background:#fff6e1;padding:12px 16px}
.compact-workspace footer{border-top:1px solid var(--ag-border);background:white;color:var(--ag-muted)}
/* Public pages share the typeface, brand palette, controls and corner rhythm. */
body:not(.compact-workspace){--blue:#075de8;--navy:#092247;--accent:#ffaa16;--radius:9px;--color-accent:#075de8;--color-accent-dark:#034ec7;--color-brand:#ffaa16;--color-bg:#f4f7fc;--color-bg-alt:#eaf0f9;--color-text:#102342;--color-muted:#536780;--color-border:#d9e3ef;--color-header:#092247;--color-focus:#075de8}
body:not(.compact-workspace) :is(h1,h2,h3){font-family:var(--ag-font);letter-spacing:-.025em}
body:not(.compact-workspace) :is(.btn,.button){border-radius:7px;font-weight:600}
/* Complex table editors retain their own column sizes and internal scroll areas. */
.compact-workspace .sp-page :is(input,select){font-size:12px;min-height:32px}
.compact-workspace .sp-table-wrap{max-height:calc(100vh - 300px)}
.compact-workspace .station-canvas.is-expanded{position:fixed}
@media(min-width:1600px){.compact-workspace .design-catalog-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1150px){.compact-workspace .design-catalog-layout{grid-template-columns:1fr}.compact-workspace .design-quick-access{display:none}.compact-workspace .cabinet-title{display:none}}
@media(max-width:760px){
 .compact-workspace .topbar,.compact-workspace.station-map-page .topbar{height:auto;min-height:60px;padding:10px 14px;gap:12px;flex-wrap:wrap}
 .compact-workspace .brand img{width:145px}.compact-workspace .search{order:5;flex-basis:100%}.compact-workspace .user-menu{margin-left:auto;min-width:0;max-width:135px}
 .compact-workspace .workspace{display:block}.compact-workspace .sidebar{display:none;position:static;height:auto;padding:12px}.compact-workspace .sidebar.open{display:flex}.compact-workspace .sidebar:after{display:none}
 .compact-workspace .workspace-path{padding:12px 14px 6px}.compact-workspace .record-toolbar{margin:0 14px 8px;gap:12px}.compact-workspace .workspace-return{padding:4px 14px}
 .compact-workspace :is(.ui-directory,.hub-page,.engineering,.estimate-archive,.records-hub,.registry-shell,.station-workspace,.q-page,.configuration-page,.sp-page){padding:12px 14px 22px}
 .compact-workspace :is(.page-heading,.catalog-heading){padding:12px 14px}
 .compact-workspace h1,.compact-workspace :is(.supplier-heading,.client-heading,.hub-heading,.eng-heading,.registry-heading,.station-heading,.records-heading,.ea-heading,.sp-title,.q-heading) h1{font-size:23px;letter-spacing:-.4px}
 .compact-workspace :is(.supplier-heading,.client-heading,.hub-heading,.eng-heading,.registry-heading,.station-heading,.records-heading,.ea-heading,.sp-title){align-items:flex-start;flex-wrap:wrap;gap:10px}
 .compact-workspace :is(.supplier-heading,.client-heading,.hub-heading,.eng-heading,.registry-heading,.station-heading,.records-heading,.ea-heading,.sp-title) h1:before{width:18px;margin-right:8px}
 .compact-workspace .primary,.compact-workspace .ui-directory .primary{min-height:42px;padding:9px 12px}
 .compact-workspace :is(input[type=search],input[type=text],select){min-height:42px}
 .compact-workspace .ui-topic-list a.ui-topic-row{min-height:62px;padding:9px 10px}
 .compact-workspace .ui-directory .topic-label strong{font-size:12px;overflow-wrap:anywhere;min-width:0}.compact-workspace .ui-topic-icon{min-width:28px;flex-basis:28px;width:28px;height:28px}
 .compact-workspace .record-topic{grid-template-columns:minmax(0,1fr) 62px 16px;padding:12px 10px;gap:8px}
 .compact-workspace .record-topic-head{display:none}.compact-workspace .record-topic-title{min-width:0;font-size:12px;gap:8px}.compact-workspace .record-topic-title small{font-size:11px}.compact-workspace .record-topic-number{min-width:28px}
 .compact-workspace .compact-categories>a>strong{font-size:12px}.compact-workspace .design-catalog-layout{margin-top:12px}.compact-workspace .design-category-search{gap:6px}
 .compact-workspace .notice{margin:8px 14px}.compact-workspace .sp-table-wrap{max-height:60vh}
 .compact-workspace :is(.eng-tabs,.workspace-tabs,.ea-tabs,.sp-tabs,.registry-tabs)>a{padding:9px 10px;font-size:12px}
}
@media(max-width:380px){.compact-workspace .topbar,.compact-workspace.station-map-page .topbar{gap:8px;padding:10px 12px}.compact-workspace .brand img{width:130px}.compact-workspace .user-menu{max-width:88px}.compact-workspace .user-menu summary{font-size:11px;overflow-wrap:anywhere}.compact-workspace .user-menu small{display:none}.compact-workspace .ui-topic-list a.ui-topic-row{grid-template-columns:minmax(0,1fr) 42px 42px;gap:6px}.compact-workspace .record-topic{grid-template-columns:minmax(0,1fr) 50px 12px}.compact-workspace .records-actions{gap:10px;font-size:12px}.compact-workspace .records-hub .list-search{flex-wrap:wrap}.compact-workspace .records-hub .list-search input{flex-basis:100%}}
@media(prefers-reduced-motion:no-preference){.compact-workspace :is(.sidebar a,.primary,.ui-topic-row,.compact-categories>a){transition:background-color .15s ease,border-color .15s ease}}
@media print{.compact-workspace{background:#fff}.compact-workspace .workspace{display:block}.compact-workspace :is(.sidebar,.topbar,.record-toolbar,.workspace-path,.workspace-return,.design-quick-access,.design-category-search){display:none!important}.compact-workspace :is(.hub-page,.engineering,.ui-directory,.records-hub){padding:0}.compact-workspace h1:before{display:none!important}}
