/* V3.25 common workspace. Existing business forms, grants and grid controls remain active. */
:root{--ws-accent:#1759a6;--ws-ink:#222222;--ws-line:#dbe3ed;--ws-muted:#68788e;--ws-side:224px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media screen{
 html:has(body.fms-workspace),html.list-viewport:has(body.fms-workspace){height:100%;overflow:hidden}
@supports not selector(:has(*)){html:is(:where([data-fms-rel-r40]),fms-layout-never.fms-layout-never:not(*)),html.list-viewport:is(:where([data-fms-rel-r40]),fms-layout-never.fms-layout-never:not(*)){height:100%;overflow:hidden}}

 body.fms-workspace,html.list-viewport body.fms-workspace{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#eef2f7;color:var(--ws-ink);font-size:14px;line-height:1.5}
 body.fms-workspace>header,html.list-viewport body.fms-workspace>header{flex:none;position:relative;z-index:12;display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;min-height:64px;padding:12px 18px;background:#fff;color:var(--ws-ink);border-bottom:1px solid var(--ws-line)}
 .fms-workspace header .brand{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;max-width:320px;font-size:19px;line-height:1.3;letter-spacing:-.4px;color:#153e70}
 .fms-workspace .brand strong{overflow-wrap:anywhere}.fms-workspace header .brand span{margin:0;font-size:11px;color:var(--ws-muted);font-weight:500;letter-spacing:0}
 .fms-workspace header nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;font-size:14px}
 .fms-workspace header nav a{padding:7px 10px;border-radius:5px;font-weight:600;white-space:nowrap}
 .fms-workspace header nav a[aria-current=page]{background:#e9f1fc;color:var(--ws-accent);text-decoration:none}
 .fms-workspace header nav a:hover{background:#f1f5fa;text-decoration:none}
 .fms-workspace header .account{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-left:auto;font-size:12px;color:#536781}
 .fms-workspace .account>span{color:#203c62;font-weight:700}.fms-workspace .account button{color:#536781;font-weight:400;padding:0;background:transparent;font-size:12px}
 .fms-workspace .workspace-sidebar,html.list-viewport .fms-workspace .workspace-sidebar{display:flex;flex-direction:column;position:fixed;left:0;top:var(--workspace-header-height,80px);bottom:29px;width:var(--ws-side);height:auto;max-height:none;margin:0;padding:15px 12px;background:#fff;border:0;border-right:1px solid var(--ws-line);border-radius:0;overflow:hidden;z-index:10}
 .workspace-menu-title{display:flex;justify-content:space-between;align-items:center;margin:0 4px 10px;gap:8px;font-size:14px}
 .workspace-menu-title button{padding:0 8px;color:#697f99;background:#edf2f8;font-size:20px}
 .workspace-menu-search{margin:0 0 9px}.workspace-menu-search input{padding:8px 10px;min-width:0;font-size:13px;line-height:1.4;background:#f7f9fc;border-color:#dde5ef}
 .workspace-tree-actions{display:flex;gap:5px;padding-bottom:10px;border-bottom:1px solid #e9eef5;flex:none}
 .workspace-tree-actions button{flex:1;padding:5px 4px;background:#f3f6fb;color:#61738a;border:1px solid #e1e8f1;border-radius:4px;font-size:11px;font-weight:500}
 .workspace-tree{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:7px 0}
 .workspace-sidebar .workspace-group{display:block;border:0;margin:0;padding:0}
 .workspace-sidebar .workspace-group summary{font-size:13px;font-weight:700;padding:9px 5px;color:#344b66}
 .workspace-sidebar .workspace-group a{display:block;margin:1px 0 1px 10px;padding:7px 8px 7px 14px;border-left:1px solid #dce5ef;color:#627189;font-size:13px;border-radius:0 5px 5px 0}
 .workspace-sidebar .workspace-group a:hover{background:#f1f6fc;text-decoration:none}
 .workspace-sidebar .workspace-group a[aria-current=page]{background:#e7f1ff;border-left:3px solid var(--ws-accent);padding-left:12px;color:#13529c;font-weight:700}
 .fms-workspace>.workspace-tabs{display:flex;flex:none;align-items:stretch;gap:3px;height:42px;min-height:42px;margin-left:var(--ws-side);padding:6px 16px 0;background:#e6ebf2;border-bottom:1px solid var(--ws-line);overflow:auto;scrollbar-width:thin;white-space:nowrap}
 .workspace-tab{display:flex;align-items:center;flex:none;max-width:270px;border:1px solid #d5dde7;border-bottom:0;border-radius:6px 6px 0 0;background:#edf1f6}
 .workspace-tab>a{display:block;max-width:222px;overflow:hidden;text-overflow:ellipsis;padding:7px 10px 7px 12px;color:#65778d;font-size:12px;line-height:1.5}
 .workspace-tab>a:hover{text-decoration:none;color:var(--ws-accent)}.workspace-tab.is-active{background:#fff;border-top:2px solid var(--ws-accent)}.workspace-tab.is-active>a{color:#174c8b;font-weight:700;padding-top:6px}
 .workspace-tab>button{display:block;flex:none;background:transparent;color:#6e8095;font-size:16px;font-weight:400;padding:2px 8px;line-height:1.5;border-radius:3px;margin:0 2px}
 .workspace-tab>button:hover{background:#dae5f4;color:#164e8b}
 body.fms-workspace>main,html.list-viewport body.fms-workspace>main{flex:1;min-height:0;min-width:0;width:auto;max-width:none;margin:0 0 0 var(--ws-side);padding:12px 18px 16px;overflow:auto;overscroll-behavior:contain}
 html.list-viewport body.fms-workspace>main{overflow:hidden}
 .workspace-breadcrumb{flex:none;font-size:11px;color:#8492a6;margin:0 0 8px;line-height:1.5}.workspace-breadcrumb>span{color:#9aa6b7;margin:0 3px}
 .fms-workspace h1{font-size:22px;line-height:1.4;margin:0 0 15px;font-weight:700;letter-spacing:-.5px}.fms-workspace h2{font-size:17px}.fms-workspace h3{font-size:14px;margin:0 0 12px}
 .fms-workspace .heading{gap:10px;margin:0 0 14px;align-items:center}.fms-workspace .heading h1,.fms-workspace .heading h2{margin:0}
 .fms-workspace section,.fms-workspace .formbox{border-color:var(--ws-line);border-radius:7px;padding:18px;margin-bottom:15px;box-shadow:0 1px 2px #19324f04}
 .fms-workspace input,.fms-workspace select,.fms-workspace textarea{font-size:14px;line-height:1.5;padding:8px 10px;border-color:#cbd6e4;border-radius:4px;min-width:0}
 .fms-workspace input[type=checkbox],.fms-workspace input[type=radio]{width:18px;height:18px;padding:0;flex-shrink:0}
 .fms-workspace label{font-size:13px;font-weight:600}.fms-workspace .helptext,.fms-workspace .muted{font-size:12px;line-height:1.6}
 .fms-workspace button,.fms-workspace a.button{font-size:13px;line-height:1.5;padding:8px 13px;border-radius:4px}
 .fms-workspace .plain{padding:0}.fms-workspace .actions{gap:8px}.fms-workspace button.stock-history-link{padding:0;background:transparent}
 .fms-workspace form.search,.fms-workspace form.work-search,.fms-workspace form.filters,.fms-workspace form[data-mobile-search]{background:white;border:1px solid var(--ws-line);border-radius:6px;padding:13px;margin:0 0 12px}
 .fms-workspace form.search{display:flex;align-items:center;gap:9px}.fms-workspace form.search input{max-width:none;flex:1}.fms-workspace form.search button{margin-left:auto}
 .fms-workspace .inventory-filter,.fms-workspace .filters{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end}.fms-workspace .inventory-filter label{flex:1;min-width:125px;margin:0}.fms-workspace .filters label{margin:0}.fms-workspace .inventory-filter>button,.fms-workspace .filters>button{margin-left:auto}
 .fms-workspace .work-search-fields{gap:8px 12px}.fms-workspace .work-search .actions{min-height:38px;justify-content:flex-end}.fms-workspace .work-search .muted{margin:7px 0 0}
 .fms-workspace .grid-toolbar{margin:2px 0 6px}.fms-workspace .grid-reset{padding:3px 8px;font-size:11px;color:#6e8097;background:#f2f6fb}
 .fms-workspace table{font-size:13px}.fms-workspace th,.fms-workspace td{padding:8px 10px;vertical-align:middle}
 .fms-workspace main table:not(.no-grid){border-color:#d6e0ec}.fms-workspace main table:not(.no-grid) th,.fms-workspace main table:not(.no-grid) td{border-right-color:#dce5ef!important;border-bottom-color:#e3eaf2!important}
 .fms-workspace main table>thead th,.fms-workspace .fms-grid-scroll>table>thead th{background:#f1f5fa;color:#506680;font-weight:600}
 .fms-workspace tbody tr:nth-child(even){background:#fafcfe}.fms-workspace tbody tr:hover{background:#f0f6fe}.fms-workspace tbody tr.workspace-selected{background:#deedff!important}.fms-workspace tbody tr.workspace-selected td:first-child{box-shadow:inset 3px 0 var(--ws-accent)}
 .fms-workspace .stats{gap:12px;margin-bottom:16px}.fms-workspace .stats a{padding:16px;border-top-width:3px;border-color:#dbe5f1;border-top-color:#3271b6;border-radius:7px}.fms-workspace .stats strong{font-size:31px}.fms-workspace .stats span{font-size:12px}
 html:not(.list-viewport) .fms-workspace main .fms-grid-scroll{max-height:none}
 .fms-workspace .list-scroll-status{font-size:12px;margin:4px 0}
 body.fms-workspace>footer,html.list-viewport body.fms-workspace>footer{flex:none;height:29px;min-height:29px;padding:6px 18px;background:#fff;border-top:1px solid var(--ws-line);font-size:10px;color:#8695a9;text-align:right}
 .workspace-menu-restore{display:none}.workspace-menu-collapsed{--ws-side:0px}.workspace-menu-collapsed .workspace-sidebar{display:none!important}.workspace-menu-collapsed>.workspace-menu-restore{display:block;position:absolute;left:6px;top:calc(var(--workspace-header-height) + 6px);z-index:11;background:#fff;color:#375a86;padding:3px 9px}.workspace-menu-collapsed>.workspace-tabs{padding-left:50px}
 .workspace-split{display:flex;flex:1;min-height:0;min-width:0;gap:14px;overflow:hidden}
 .workspace-list-pane{display:flex;flex-direction:column;flex:1 1 55%;min-width:0;min-height:0;overflow:hidden}
 .workspace-list-pane>.fms-grid-scroll{flex:1;min-height:80px;max-height:none;overflow:auto;background:#fff;border-radius:5px}
 .workspace-detail-pane{display:flex;flex-direction:column;flex:1 1 45%;min-width:280px;min-height:0;border:1px solid var(--ws-line);border-radius:6px;background:#fff;overflow:hidden}
 .workspace-detail-top{display:flex;flex:none;align-items:center;justify-content:space-between;min-height:38px;padding:8px 13px;background:#f4f7fb;border-bottom:1px solid var(--ws-line);font-size:13px}
 .workspace-detail-top button{display:none}.workspace-detail-content{flex:1;min-height:0;overflow:auto;padding:16px;overscroll-behavior:contain}
 .workspace-detail-empty{text-align:center;color:#7487a0;padding:70px 14px}.workspace-detail-empty>span{font-size:46px;color:#a8bfdc}.workspace-detail-empty p{font-size:14px;font-weight:600}.workspace-detail-empty small{font-size:12px}
 .workspace-detail-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:15px}.workspace-detail-heading h2{font-size:19px;margin:2px 0;overflow-wrap:anywhere}.workspace-detail-heading p{margin:0}.workspace-detail-heading .eyebrow{font-size:10px;letter-spacing:1px;color:#5780b0}
 .workspace-detail-content section{border:0;border-top:1px solid #e4ebf3;border-radius:0;box-shadow:none;padding:15px 0 0;margin:0 0 18px}
 .workspace-fields{display:grid;grid-template-columns:110px minmax(0,1fr);gap:0;margin:0}.workspace-fields dt,.workspace-fields dd{padding:8px 7px;border-bottom:1px solid #edf1f6;font-size:12px;overflow-wrap:anywhere;margin:0}.workspace-fields dt{color:#6b8099;background:#f8fafc}.workspace-fields dd{color:#2c415c}
 .workspace-records{list-style:none;padding:0;margin:0}.workspace-records li{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:10px 0;border-bottom:1px solid #edf1f6;font-size:12px;overflow-wrap:anywhere}.workspace-records li>a,.workspace-records li>span:first-child{flex:1}.workspace-records small{flex-basis:100%;font-size:11px}.workspace-records .badge{font-size:11px;padding:2px 6px}
 .workspace-related-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace-related-photos a{min-width:0;font-size:11px}.workspace-related-photos img{display:block;width:100%;height:150px;object-fit:contain;background:#f2f5f9;margin-bottom:5px;border-radius:5px}.workspace-related-photos span{display:block;overflow-wrap:anywhere}
 .workspace-audit>summary{font-size:13px;font-weight:600;color:#5b7390}.workspace-audit pre{font-size:11px}
 .fms-workspace dialog{color:var(--ws-ink)}.fms-workspace dialog input,.fms-workspace dialog button{min-height:36px}.qr-nfc-alternative{margin-top:12px;border-top:1px solid #dae4ef}.qr-nfc-alternative summary{font-size:13px;color:#586f8d}.qr-camera-hint{font-size:13px;color:#566d87}
 @media(min-width:801px){.fms-workspace .mobile-menu-toggle,.fms-workspace .mobile-menu-close{display:none}.fms-workspace .list-controls-toggle{padding:5px 9px;font-size:12px}}
 @media(max-width:1100px) and (min-width:801px){:root{--ws-side:202px}.fms-workspace header nav a{padding:6px;font-size:13px}.workspace-split{gap:10px}.workspace-detail-pane{min-width:250px}.workspace-fields{grid-template-columns:90px 1fr}.workspace-detail-content{padding:12px}}
 @media(max-width:800px){
  body.fms-workspace{--ws-side:0px;font-size:14px}
  body.fms-workspace>header,html.list-viewport body.fms-workspace>header{padding:10px 12px;gap:8px;min-height:0}
  .fms-workspace header .brand{font-size:17px;width:auto;max-width:100%}.fms-workspace header .brand span{font-size:10px}.fms-workspace header nav{order:3;width:100%;gap:3px;flex-wrap:nowrap;overflow-x:auto}.fms-workspace header nav a{padding:6px 9px;font-size:12px}
  .fms-workspace header .account{font-size:11px;gap:5px 9px}.fms-workspace .account button{font-size:11px}.fms-workspace .account>a:first-child{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .fms-workspace>.mobile-menu-toggle,html.list-viewport .fms-workspace>.mobile-menu-toggle{display:block;position:absolute;left:9px;top:calc(var(--workspace-header-height) + 6px);z-index:11;margin:0;padding:4px 8px;min-height:30px;font-size:12px;background:#fff;color:#315b8c;border:1px solid #ccd8e7}
  .fms-workspace>.workspace-tabs{margin-left:0;padding-left:83px;height:43px;min-height:43px;padding-right:10px}.workspace-tab>a{max-width:160px;font-size:12px}.workspace-tab>button{min-width:30px;min-height:30px}
  .fms-workspace .workspace-sidebar,html.list-viewport .fms-workspace .workspace-sidebar{display:none;position:fixed;inset:0 auto 0 0;width:min(320px,88vw);height:100dvh;padding:18px 15px;z-index:1002}
  .fms-workspace.menu-open .workspace-sidebar,.fms-workspace.menu-open.workspace-menu-collapsed .workspace-sidebar{display:flex!important}.fms-workspace .mobile-menu-close{display:block;align-self:flex-end;margin:0 0 12px}
  .fms-workspace .workspace-sidebar .workspace-group a{font-size:14px;padding-top:11px;padding-bottom:11px}.fms-workspace .workspace-sidebar .workspace-group summary{font-size:14px;padding:12px 5px}
  .workspace-menu-title [data-menu-collapse],.fms-workspace>.workspace-menu-restore{display:none!important}.fms-workspace .menu-backdrop:not([hidden]){z-index:1001}
  body.fms-workspace>main,html.list-viewport body.fms-workspace>main{margin:0;padding:10px 12px;min-height:0}.workspace-breadcrumb{font-size:10px;margin-bottom:7px}
  .fms-workspace h1{font-size:21px}.fms-workspace .heading{gap:8px;margin-bottom:12px}.fms-workspace button,.fms-workspace a.button{min-height:38px;padding:9px 12px}.fms-workspace label{font-size:14px}.fms-workspace input,.fms-workspace select,.fms-workspace textarea{font-size:16px;min-height:40px}.fms-workspace input[type=checkbox],.fms-workspace input[type=radio]{min-height:20px;width:20px;height:20px}
  .fms-workspace .workspace-tabs button,.fms-workspace .grid-reset{min-height:30px;padding:4px 8px}.fms-workspace .inventory-filter{display:flex}.fms-workspace .inventory-filter label{min-width:130px}.fms-workspace .search{flex-wrap:nowrap}
  .workspace-split{display:flex;gap:0}.workspace-list-pane{flex:1}.workspace-detail-pane{display:none;min-width:0;flex:1}.workspace-split.detail-visible .workspace-detail-pane{display:flex}.workspace-split.detail-visible .workspace-list-pane{display:none}.workspace-detail-top button{display:block;font-size:12px;padding:6px 10px;min-height:34px}.workspace-detail-content{padding:13px}.workspace-fields{grid-template-columns:100px 1fr}
  .fms-workspace .stats strong{font-size:28px}.fms-workspace .stats a{padding:14px 11px}.fms-workspace section,.fms-workspace .formbox{padding:14px}.fms-workspace .workspace-detail-content section{padding:14px 0 0}
  .fms-workspace .workspace-related-photos img{height:135px}.fms-workspace .qr-camera-actions button{min-height:42px}
 }
}
@media print{.workspace-sidebar,.workspace-tabs,.workspace-menu-restore,.workspace-breadcrumb,.mobile-menu-toggle{display:none!important}.fms-workspace main{margin:0!important;padding:0!important}.workspace-split,.workspace-list-pane,.workspace-detail-pane,.workspace-detail-content{display:block;height:auto;max-height:none;overflow:visible}.workspace-detail-pane{break-before:page}.workspace-detail-top{display:none}.workspace-menu-collapsed{--ws-side:0px}}

@media screen{.list-controls-open .workspace-split{display:none!important}}

/* Locally bundled Pretendard; no external font requests. */
@font-face{font-family:Pretendard;src:url('fonts/PretendardVariable.woff2?build=26100903') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
body,button,input,select,textarea{font-family:Pretendard,'Malgun Gothic',sans-serif;font-weight:500}
body{color:#222222}h1,h2,h3,strong{font-weight:700}button,a.button,th,nav a{font-weight:600}
@media screen{
 body.fms-workspace{font-weight:500}
 .fms-workspace header .brand{font-size:38px;max-width:min(650px,100%);flex-direction:column;align-items:flex-start;gap:1px}
 .fms-workspace header .brand span{font-size:22px;font-weight:700;color:#222222}
 .fms-workspace header .account .account-identity{font-weight:700;color:#222222}
 .fms-workspace header .account button,.fms-workspace .workspace-sidebar .workspace-group a,.fms-workspace .workspace-tree-actions button,.fms-workspace .workspace-tab>a{font-weight:600}
 .fms-workspace input,.fms-workspace select,.fms-workspace textarea,.fms-workspace td{font-weight:500}
 .fms-workspace main table>thead th,.fms-workspace .fms-grid-scroll>table>thead th,.fms-workspace .workspace-sidebar .workspace-group a:not([aria-current]),.fms-workspace .stats>a>span:first-child{color:#222222}
 .fms-workspace button,.fms-workspace a.button{font-weight:600}
 body.fms-workspace.workspace-no-sidebar{--ws-side:0px}
 .fms-workspace.workspace-no-sidebar>.workspace-tabs{padding-left:16px}
 .account-settings-section{max-width:720px}.account-settings-section form{max-width:520px}.account-settings-section select{width:100%}
 .fms-workspace .stats{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
 .fms-workspace .stats>a:has(.completion-ring){display:grid;grid-template-columns:minmax(0,1fr) 78px;column-gap:12px;row-gap:8px;align-items:center}
@supports not selector(:has(*)){.fms-workspace .stats>a:is(:where([data-fms-rel-r41]),.fms-layout-never:not(*)){display:grid;grid-template-columns:minmax(0,1fr) 78px;column-gap:12px;row-gap:8px;align-items:center}}

 .fms-workspace .stats>a:has(.completion-ring)>span:first-child{grid-column:1;grid-row:1;font-size:14px;font-weight:600}
@supports not selector(:has(*)){.fms-workspace .stats>a:is(:where([data-fms-rel-r41]),.fms-layout-never:not(*))>span:first-child{grid-column:1;grid-row:1;font-size:14px;font-weight:600}}

 .fms-workspace .stats>a:has(.completion-ring)>.paired-count{grid-column:1;grid-row:2;margin:0}
@supports not selector(:has(*)){.fms-workspace .stats>a:is(:where([data-fms-rel-r41]),.fms-layout-never:not(*))>.paired-count{grid-column:1;grid-row:2;margin:0}}

 .fms-workspace .stats .paired-count span{font-size:26px}
 .fms-workspace .stats>a:has(.completion-ring)>small{grid-column:1/-1;grid-row:3;font-size:12px}
@supports not selector(:has(*)){.fms-workspace .stats>a:is(:where([data-fms-rel-r41]),.fms-layout-never:not(*))>small{grid-column:1/-1;grid-row:3;font-size:12px}}

 .fms-workspace .stats .completion-ring{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:conic-gradient(#1759A6 var(--completion),#E5E7EB 0);position:relative}
 .completion-ring::before{content:'';position:absolute;inset:12px;border-radius:50%;background:#fff}
 .fms-workspace .stats .completion-percent{position:relative;font-size:20px;font-weight:700;color:#1759A6}
 @media(max-width:800px){
  .fms-workspace header .brand{font-size:34px;max-width:100%}.fms-workspace header .brand span{font-size:20px}
  .fms-workspace.workspace-no-sidebar>.workspace-tabs{padding-left:12px}
 }
}

/* V3.25 branding, completion hover and footer. */
@media screen{
 .fms-workspace header .brand{font-size:28.5px}
 .fms-workspace .account-identity:hover,.fms-workspace .account-identity:focus-visible{text-decoration:underline;text-underline-offset:3px}
 .fms-workspace header .account .selected-building{font-size:inherit;font-weight:500;color:#222;overflow-wrap:anywhere}
 .fms-workspace .stats>a:hover,.fms-workspace .stats>a:focus-visible{text-decoration:none}
 .fms-workspace .stats>a:hover>strong,.fms-workspace .stats>a:focus-visible>strong{text-decoration:underline;text-underline-offset:4px}
 body.fms-workspace>footer,html.list-viewport body.fms-workspace>footer{font-size:15px;height:37px;min-height:37px;padding:6px 18px}
 .fms-workspace .workspace-sidebar,html.list-viewport .fms-workspace .workspace-sidebar{bottom:37px}
 @media(max-width:800px){
  .fms-workspace header .brand{font-size:25.5px}
  body.fms-workspace>footer,html.list-viewport body.fms-workspace>footer{height:auto;min-height:37px;padding:6px 12px;overflow-wrap:anywhere}
  .fms-workspace .workspace-sidebar,html.list-viewport .fms-workspace .workspace-sidebar{bottom:0}
 }
}
.session-warning{position:fixed;z-index:3000;right:16px;bottom:46px;width:min(560px,calc(100vw - 32px));max-height:70vh;overflow:auto;padding:18px;background:#fff;border:2px solid #1759a6;border-radius:8px;box-shadow:0 8px 30px #0003;color:#222}
.session-warning p{margin:0 0 12px}.session-warning button{margin:4px 6px 4px 0}.session-warning textarea{width:100%;min-height:160px}

/* V3.26 header alignment and identity */
@media screen{
.fms-workspace header .brand{font-size:32px}.fms-workspace header .brand strong{font-weight:800}
.fms-workspace header .account-identity{font-size:18px;font-weight:800}
@media(min-width:801px){body.fms-workspace>header{column-gap:0}.fms-workspace header .brand{box-sizing:border-box;flex:0 0 max(150px,calc(var(--ws-side) - 18px));max-width:max(150px,calc(var(--ws-side) - 18px))}.fms-workspace header nav{margin:0}.fms-workspace header .account{padding-left:12px}}
@media(max-width:800px){.fms-workspace header .brand{font-size:28px}}
}

/* Build 26100901: a sticky header must touch its scrollport, not section padding. */
@media screen {
 .fms-workspace section.fms-grid-scroll{padding:0}
 .fms-workspace .fms-grid-scroll>table{margin:0}
 .fms-workspace .fms-grid-scroll>table>thead{top:0;background:#f1f5fa;z-index:4}
}
header a.brand,header a.brand:hover,header a.brand:focus,header a.brand:active{text-decoration:none}

/* Build 26100902: explicit two spaces; version at 70% of brand. */
.brand-version{font-size:.7em;white-space:pre}.brand strong{white-space:nowrap}
header .brand strong .brand-version,.fms-workspace header .brand strong .brand-version{font-size:.7em;font-weight:inherit;white-space:pre}
header .brand{font-size:32px;min-width:max-content}header .brand strong{font-weight:800}header .brand .brand-version{margin-left:0}header .brand:hover,header .brand:focus{text-decoration:none}
@media(min-width:801px){.fms-workspace header .brand{min-width:max-content;padding-right:18px}}
@media(max-width:800px){header .brand{font-size:28px}}

/* Build 26100903: one shared header geometry, including table-scroll pages. */
@media screen and (min-width:801px){
 body.fms-workspace>header,html.list-viewport body.fms-workspace>header{column-gap:0;min-height:66px;padding:12px 18px}
 .fms-workspace header .brand{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;flex-wrap:nowrap;gap:12px;flex:0 0 calc(var(--ws-brand-width,224px) - 18px);width:calc(var(--ws-brand-width,224px) - 18px);min-width:0;max-width:none;padding:0 10px 0 0;font-size:32px}
 .fms-workspace header .brand .brand-version{font-size:22.4px;font-weight:800;line-height:1.3;color:#153e70;margin:0}
 .fms-workspace header nav{margin:0;gap:4px 6px}.fms-workspace header .account{padding-left:12px}
}
@media screen and (max-width:1100px) and (min-width:801px){:root{--ws-brand-width:224px;--ws-side:224px}}
@media screen and (max-width:800px){
 body.fms-workspace>header,html.list-viewport body.fms-workspace>header{padding:10px 12px;gap:8px;min-height:0}
 .fms-workspace header .brand{flex-direction:row;align-items:baseline;gap:18px;font-size:28px;padding:0;min-width:0}
 .fms-workspace header .brand .brand-version{font-size:19.6px;font-weight:800;color:#153e70}
}

header .brand > .brand-version{font-size:.7em;font-weight:800;color:var(--ws-blue,#1549a8)}

/* Build04: keep the brand fixed; move only its smaller version label. */
body.fms-workspace header .brand > .brand-version,html.list-viewport body.fms-workspace header .brand > .brand-version{color:#000;transform:translateX(-1.5em)}

@media(max-width:800px){body.fms-workspace header .brand,html.list-viewport body.fms-workspace header .brand{gap:8px}body.fms-workspace header .brand > .brand-version,html.list-viewport body.fms-workspace header .brand > .brand-version{transform:none}}

/* Build06: explicit two-space gap; keep brand/menu alignment and version size. */
body.fms-workspace header .brand,html.list-viewport body.fms-workspace header .brand{justify-content:flex-start;gap:.5em}
body.fms-workspace header .brand > .brand-version,html.list-viewport body.fms-workspace header .brand > .brand-version{transform:none;color:#000;flex-shrink:0}

.workspace-tree .workspace-subgroup{margin:3px 8px 6px 12px;border-left:2px solid #dbe8f5}.workspace-subgroup>summary{font-size:12px;padding-left:10px}

/* Desktop 100% density: compact navigation and list chrome, no browser zoom. */
@media screen and (min-width:1100px){
:root{--ws-side:152px}
body.fms-workspace>header,html.list-viewport body.fms-workspace>header{min-height:42px;padding:5px 12px;gap:6px 16px}
.fms-workspace header nav{font-size:11px;gap:3px}.fms-workspace header nav a{padding:5px 7px}
.fms-workspace header .account{font-size:11px}
.fms-workspace .workspace-sidebar,html.list-viewport .fms-workspace .workspace-sidebar{padding:10px 8px}
.workspace-menu-title{font-size:12px;margin-bottom:6px}.workspace-menu-search input{font-size:11px;padding:5px 7px}
.workspace-sidebar .workspace-group summary{font-size:11px;padding:6px 4px}.workspace-sidebar .workspace-group a{font-size:11px;padding:5px 5px 5px 8px;margin-left:6px}
.fms-workspace>.workspace-tabs{height:30px;min-height:30px;padding:3px 12px 0}.workspace-tab>a{font-size:11px;padding:4px 8px}.workspace-tab.is-active>a{padding-top:3px}
body.fms-workspace>main,html.list-viewport body.fms-workspace>main{padding:10px 12px}
.fms-workspace form.search,.fms-workspace form.filters,.fms-workspace form.work-search{padding:8px;gap:6px;margin-bottom:8px}
.fms-workspace form.search label,.fms-workspace form.filters label,.fms-workspace form.work-search label{font-size:11px}
.fms-workspace form.search input,.fms-workspace form.search select,.fms-workspace form.filters input,.fms-workspace form.filters select{font-size:12px;padding:4px 6px}
.fms-workspace main table:not(.no-grid){font-size:12px}.fms-workspace main table:not(.no-grid) th,.fms-workspace main table:not(.no-grid) td{padding:5px 7px}
}
@media screen and (min-width:1100px){
.fms-workspace header .brand{font-size:23px;flex-basis:152px;width:152px;padding-right:8px}.fms-workspace header .brand .brand-version{font-size:16px}
.fms-workspace .workspace-tree-actions button{font-size:10px;padding:4px 2px;min-width:0;white-space:nowrap}.fms-workspace .workspace-menu-title button{padding:2px 7px}
.fms-workspace .workspace-menu-search input{font-size:11px;padding:5px 7px}
}

.nfc-delete{background:#ffeded!important;color:#a83e4c!important;border:1px solid #e9bbc3!important}[data-code-search]{display:flex;flex-wrap:wrap;align-items:end;gap:10px}[data-code-search] input[name=q]{width:220px;max-width:100%}[data-code-search] label{flex:0 1 auto}
dialog.request-summary{position:fixed;top:70px;bottom:auto;width:min(420px,90vw);padding:16px!important;border:1px solid #ccdef2;border-radius:12px;background:#fff;color:#244b75}dialog.request-summary .heading{display:flex;justify-content:space-between;align-items:center}dialog.request-summary h2{font-size:17px}dialog.request-summary a{display:block;margin:8px 0;padding:12px;border-radius:9px;background:#eef5ff}