/* Shared business UI density. Keep document print layouts and branding independent. */
:root{--erp-control-height:36px;--erp-field-gap:10px}
body :is(#app .content,#modal .modal-body) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select){height:var(--erp-control-height)!important;min-height:var(--erp-control-height)!important;max-height:var(--erp-control-height)!important;padding:6px 10px!important;line-height:22px!important;box-sizing:border-box;font-size:13px!important}
body :is(#app .content,#modal .modal-body) textarea{min-height:88px;padding:8px 10px;line-height:1.5;font-size:13px}
body :is(#app .content,#modal) :is(.actions,.filters,.modal-foot,.panel-head,.page-head) :is(button,a.download-button):not(.close):not(.userbtn):not(.tab):not(.link):not(.query-chip){height:36px!important;min-height:36px!important;padding:6px 12px!important;line-height:22px!important;font-size:13px!important;box-sizing:border-box}
body :is(#app .content,#modal) .panel-head :is(button,a.download-button).small{height:28px!important;min-height:28px!important;padding:3px 8px!important;line-height:20px!important;font-size:12px!important}
body :is(#app .content,#modal .modal-body) :is(.grid2,.grid3,.grid4){row-gap:10px!important;column-gap:14px}
body #modal .modal-body label.form-field{margin-top:0;margin-bottom:0;gap:4px}
body #modal .modal-body .field-title{margin-bottom:4px;line-height:20px}
body #modal .modal-body>label:not(.check){display:block;margin-top:10px;margin-bottom:4px}
body #modal .modal-body>label:first-child{margin-top:0}
body #modal .modal-body>:is(.grid2,.grid3,.grid4)+:is(.grid2,.grid3,.grid4){margin-top:10px!important}
body #app .content .filters{gap:10px 12px;margin-top:12px;margin-bottom:14px;align-items:flex-end}
body :is(#app .content,#modal) .panel>.panel-head{min-height:38px!important;padding:5px 12px!important}
body :is(#app .content,#modal) .panel>.panel-body{padding:12px}
body #app .content .panel{margin-bottom:14px}
body #modal .modal-head,body #modal .modal-foot{padding:10px 14px}
body #modal .modal-body{padding:14px}
body #app .content .page-head{margin-bottom:16px;gap:12px}
body #app .content .page-head h1{margin-top:4px;margin-bottom:6px}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 :root{--erp-control-height:40px}
 body :is(#app .content,#modal .modal-body) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select){font-size:16px!important;padding-top:8px!important;padding-bottom:8px!important}
 body :is(#app .content,#modal) :is(.actions,.filters,.modal-foot,.page-head) :is(button,a.download-button):not(.close):not(.userbtn):not(.tab):not(.link):not(.query-chip){height:40px!important;min-height:40px!important}
}
@media(min-width:761px){
 body .sidebar>button.sidebar-size-toggle:not(.link):not(.tab):not(.close):not(.userbtn){right:8px;top:8px;width:30px;height:28px;min-height:28px;border:1px solid #dbe5ee;background:#fff;box-shadow:0 1px 3px #24384d0d;color:#526b82;border-radius:7px;font-size:22px;line-height:24px}
 .shell.sidebar-compact .sidebar>button.sidebar-size-toggle{right:17px!important}
 .shell.sidebar-compact .sidebar nav .nav-item{overflow:hidden;white-space:nowrap}
 .shell.sidebar-compact .sidebar nav>details>details{padding:0}
}

body :is(#app .content,#modal) .query-multi-heading>[data-query-clear]{height:auto!important;min-height:0!important;padding:0!important;font-size:11px!important;line-height:18px!important;font-weight:400;flex:none}
body #app .content .filters [data-query-multi=currency]{flex:0 1 130px;min-width:110px;max-width:140px}
body :is(#app .content,#modal) .query-chip{height:auto!important;min-height:24px!important;padding:2px 6px!important;line-height:18px!important;font-size:11px!important}
.query-multi-heading>[data-query-clear][hidden]{display:none!important}

/* Shared short filter widths across every business workspace. */
body #app .content .filters [data-query-multi]:is([data-query-multi=currency],[data-query-multi=status],[data-query-multi=state],[data-query-multi=delivery],[data-query-multi=procurement],[data-query-multi=receipt],[data-query-multi=scope],[data-query-multi=category],[data-query-multi=kind],[data-query-multi=role],[data-query-multi=project_type]){flex:0 1 155px;min-width:110px;max-width:170px}
body :is(#app .content,#modal) .query-multi-heading{gap:8px;min-height:20px}
body :is(#app .content,#modal) .query-multi-heading>label{font-size:12px;line-height:20px;margin:0}
body :is(#app .content,#modal) .query-chips:empty{display:none}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 body #app .content .filters [data-query-multi]{flex:1 1 calc(50% - 8px)!important;min-width:0!important;max-width:100%!important}
}
/* A full A4 canvas with breathing room; downloaded forms are unchanged. */
.canonical-forms .common-form-preview{position:relative;aspect-ratio:210/297;background:#f5f7fa;overflow:hidden}
.canonical-forms .common-form-preview iframe{position:absolute;left:16px;top:16px;margin:0;width:820px;height:1160px;max-width:none;transform:scale(var(--form-preview-scale,.3));transform-origin:top left;border:0;background:white}

/* Minimal inset for template thumbnails, on a plain white canvas. */
.canonical-forms .common-form-preview{background:#fff}
.canonical-forms .common-form-preview iframe{left:6px;top:6px}
body #modal .profile-footer-language{margin-right:auto;min-width:0;flex:0 1 auto}
body #modal .profile-footer-language>label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;font-size:11px;font-weight:400;color:#738196}
body #modal .profile-footer-language select{height:30px;min-height:30px;width:100px;font-size:12px;padding:3px 22px 3px 8px}
.profile-signature-settings{margin:12px 0;border:0;border-top:1px solid #e8edf2;padding:0;background:transparent}
.profile-signature-settings>summary{padding:10px 0;font-size:13px;color:#52667d;cursor:pointer}
.profile-signature-content{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:14px;padding:2px 0 12px}
.profile-signature-content #signature-preview{display:flex;align-items:center;justify-content:center;min-height:90px;border:1px solid #e8edf2;border-radius:7px;background:white;font-size:12px;color:#7d8b9b}
.profile-signature-content #signature-preview img.signature{display:block;max-width:130px;max-height:76px;width:auto;height:auto;object-fit:contain;margin:0}
@media(max-width:480px){.profile-signature-content{grid-template-columns:minmax(0,1fr)}body #modal .profile-footer-language{flex-basis:100%;margin-bottom:3px}}
/* Clearly discoverable, compact signature settings disclosure. */
body #modal .profile-signature-settings{border:1px solid #dce6ef;border-radius:8px;background:#f7fafc;margin:12px 0;padding:0}
body #modal .profile-signature-settings>summary{display:flex;align-items:center;gap:8px;list-style:none;padding:10px 12px;min-height:40px;color:#28516c;font-size:13px;font-weight:600;cursor:pointer}
body #modal .profile-signature-settings>summary::-webkit-details-marker{display:none}
body #modal .profile-signature-settings>summary::before{content:'✎';display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:#0081cc;background:#e7f3fb;border-radius:5px;font-size:17px}
body #modal .profile-signature-settings>summary::after{content:'⌄';margin-left:auto;color:#71869a;font-size:15px}
body #modal .profile-signature-settings[open]>summary::after{content:'⌃'}
body #modal .profile-signature-settings>summary:hover{background:#edf5fb;border-radius:8px}
body #modal .profile-signature-settings>summary:focus-visible{outline:2px solid #0081cc;outline-offset:2px}
body #modal .profile-signature-content{padding:4px 12px 12px}
/* Profile security: compact, related text and action stay together. */
body #modal .profile-security{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap;margin:12px 0 10px;padding:12px 0 0;border-top:1px solid #e7edf3}
body #modal .profile-security>div{flex:0 1 auto;min-width:0}
body #modal .profile-security strong{display:block;font-size:13px;line-height:20px;color:#344b63;font-weight:600}
body #modal .profile-security p.muted{font-size:12px;line-height:20px;margin:3px 0 0;color:#7a8899}
body #modal .profile-security>button.small:not(.link):not(.tab):not(.close):not(.userbtn){flex:none;width:auto;height:32px;min-height:32px;margin:0;padding:5px 10px;font-size:12px;line-height:20px;border:1px solid #dce5ed;border-radius:7px;background:#fff;color:#526b82}
body #modal form[data-form=profile] .modal-body>.actions:last-child{margin-top:12px}
body #modal form[data-form=profile] .modal-body>.actions:last-child>button.danger{height:30px;min-height:30px;padding:4px 10px;font-size:12px;line-height:20px}
@media(max-width:480px){body #modal .profile-security{gap:8px 12px}body #modal .profile-security p.muted{max-width:245px}}
body #modal .profile-security{flex-direction:column;align-items:flex-start;gap:6px}
body #modal .profile-security>p.muted{margin:0;max-width:none}
body #modal .profile-password-row{display:flex;align-items:center;gap:10px;max-width:100%;min-width:0}
body #modal .profile-password-row>p.muted{margin:0;font-size:12px;line-height:20px;color:#7a8899;min-width:0}
body #modal .profile-password-row>button.small:not(.link):not(.tab):not(.close):not(.userbtn){flex:none;width:auto;height:32px;min-height:32px;margin:0;padding:5px 10px;font-size:12px;line-height:20px;border:1px solid #dce5ed;border-radius:7px;background:#fff;color:#526b82}
/* Profile identity left, quiet account language utility right. */
body #modal .profile-banner{display:flex;align-items:center;gap:16px}
body #modal .profile-banner>div:not(.profile-banner-language){min-width:0}
body #modal .profile-banner>.profile-banner-language{margin-left:auto;flex:0 0 142px;align-self:center;min-width:0}
body #modal .profile-banner-language>label{display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:0;font-size:11px!important;font-weight:400!important;line-height:18px;color:#75869a!important}
body #modal .profile-banner-language select{width:100%;border-color:#dce5ee;background:#fff;border-radius:7px;color:#4d647b}
body #modal .modal-foot>.profile-footer-logout{margin:0 auto 0 0;flex:none}
body #modal .modal-foot>.profile-footer-logout>button.danger{height:30px!important;min-height:30px!important;padding:4px 10px!important;font-size:12px!important;line-height:20px!important;border-color:transparent;background:transparent;color:#a75b5b}
body #modal .modal-foot>.profile-footer-logout>button.danger:hover{background:#fff0f0}
@media(max-width:600px){body #modal .profile-banner{flex-wrap:wrap;gap:10px}body #modal .profile-banner>.profile-banner-language{flex:1 0 100%;margin:0;padding-top:10px;border-top:1px solid #e5ebf1}body #modal .profile-banner-language>label{flex-direction:row;align-items:center;justify-content:space-between}body #modal .profile-banner-language select{width:128px}}
/* Balanced profile header spacing and aligned language label/control. */
body #modal .profile-banner{padding:16px 18px;gap:16px;margin-bottom:16px}
body #modal .profile-banner .profile-avatar{width:58px;height:58px;min-width:58px;flex:0 0 58px;font-size:24px;display:flex;align-items:center;justify-content:center;margin:0}
body #modal .profile-banner>div:not(.profile-banner-language)>h3{margin:0 0 3px;font-size:15px;line-height:22px}
body #modal .profile-banner>div:not(.profile-banner-language)>div{font-size:13px;line-height:20px}
body #modal .profile-banner small{display:block;margin-top:3px;font-size:11px;line-height:18px;color:#8090a2}
body #modal .profile-banner>.profile-banner-language{flex-basis:148px;padding:0 0 0 16px;border-left:1px solid #e0e8f0}
body #modal .profile-banner-language label.form-field{margin:0!important;gap:4px!important;line-height:18px}
body #modal .profile-banner-language .field-title{font-size:11px!important;font-weight:400!important;line-height:18px!important;margin:0!important;color:#75869a!important}
body #modal .profile-banner-language select{margin:0;height:36px!important;min-height:36px!important;line-height:22px!important}
@media(max-width:600px){body #modal .profile-banner{padding:12px;gap:10px}body #modal .profile-banner>.profile-banner-language{flex-basis:100%;padding:10px 0 0;border-left:0}body #modal .profile-banner-language select{height:40px!important;min-height:40px!important}}
/* Keep language codes intact; quieter language names in the sidebar popover. */
body .sidebar-language-menu>button{font-size:11px;line-height:18px}
.profile-language-label{display:block;font-size:11px;line-height:18px;color:#75869a;margin-bottom:4px}
body #modal .profile-language-picker{position:relative;margin:0;padding:0;border:0;background:transparent}
body #modal .profile-language-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:7px;list-style:none;border:1px solid #dce5ee;border-radius:7px;padding:7px 8px;height:36px;background:white;font-size:11px;font-weight:400;color:#526b82;cursor:pointer}
.profile-language-picker>summary::-webkit-details-marker{display:none}
body #modal .profile-language-picker>.sidebar-language-menu{top:calc(100% + 6px);bottom:auto;right:0;width:170px;z-index:20}
body #modal .profile-language-picker select[hidden]{display:none!important}
body #modal .profile-language-picker .sidebar-language-menu>button{min-height:34px;height:34px;font-size:11px}
body .topbar>button.desktop-sidebar-toggle{position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:5px;border:0;border-radius:6px;background:#ffffff16;color:white;margin:0 -8px 0 0;box-shadow:none}
body .topbar>button.desktop-sidebar-toggle:hover{background:#ffffff2b}
body .sidebar .brand{display:flex;justify-content:center;align-items:center;min-width:0;width:100%;padding:4px 12px;margin:0 auto}
body .sidebar .brand img.ci-wordmark{display:block;width:100%;max-width:158px;height:auto;object-fit:contain;margin:auto}
body .shell.sidebar-compact .sidebar .brand img.ci-wordmark{width:44px;max-width:44px}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){body .topbar>button.desktop-sidebar-toggle{display:none}}
/* Sidebar edge handle: part of the rail, visible in either state. */
@media(min-width:761px){
 body .shell>.sidebar{overflow:visible}
 body .sidebar>button.sidebar-edge-toggle:not(.link):not(.tab):not(.close):not(.userbtn),body .shell.sidebar-compact .sidebar>button.sidebar-edge-toggle{position:absolute;top:76px!important;right:-13px!important;display:flex;align-items:center;justify-content:center;width:27px!important;height:36px!important;min-height:36px!important;padding:4px!important;margin:0;border:1px solid #dbe5ee;border-left:0;background:#f7f9fc;color:#4f6e88;border-radius:0 8px 8px 0;box-shadow:3px 1px 6px #23384b0b;z-index:25;cursor:pointer}
 body .sidebar>button.sidebar-edge-toggle svg{display:block;flex:0 0 18px;width:18px!important;height:18px!important;min-width:18px;stroke-width:1.8}
 body .sidebar>button.sidebar-edge-toggle:hover{background:#eaf4fc;color:#0081cc}
 body .sidebar>button.sidebar-edge-toggle:focus-visible{outline:2px solid #0081cc;outline-offset:2px}
 body .sidebar nav{overflow-x:hidden;overflow-y:auto;min-height:0}
}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){body .sidebar>button.sidebar-edge-toggle{display:none!important}}

/* Center the edge handle within the 72px blue desktop header. */
@media(min-width:761px){body .sidebar>button.sidebar-edge-toggle:not(.link):not(.tab):not(.close):not(.userbtn),body .shell.sidebar-compact .sidebar>button.sidebar-edge-toggle{top:18px!important;background:#f7f9fc}}
/* A quiet rounded tab emerging from the sidebar edge into the blue header. */
@media(min-width:761px){
 body .sidebar>button.sidebar-edge-toggle:not(.link):not(.tab):not(.close):not(.userbtn),body .shell.sidebar-compact .sidebar>button.sidebar-edge-toggle{top:16px!important;right:-18px!important;width:34px!important;height:40px!important;min-height:40px!important;padding:8px 6px 8px 4px!important;border:1px solid #e0e7ee;border-left:0;border-radius:0 14px 14px 0;background:#f7f9fc;color:#617c92;box-shadow:3px 0 6px #1439500a}
 body .sidebar>button.sidebar-edge-toggle::before{content:'';position:absolute;left:-7px;top:0;bottom:0;width:8px;background:#f7f9fc}
 body .sidebar>button.sidebar-edge-toggle svg{position:relative;z-index:1;width:19px!important;height:19px!important;min-width:19px;flex-basis:19px}
 body .sidebar>button.sidebar-edge-toggle:hover{background:#edf5fb;color:#0081cc}
 body .sidebar>button.sidebar-edge-toggle:hover::before{background:#edf5fb}
}
/* Keep the protruding edge handle above the sticky blue header (z-index 10). */
@media(min-width:761px){body .shell>.sidebar{z-index:12}}
/* Compact rail: recognizable symbol with a quiet short label beneath it. */
@media(min-width:761px){
 body .shell.sidebar-compact{grid-template-columns:80px minmax(0,1fr)}
 body .shell.sidebar-compact>.sidebar{width:80px!important;padding-left:7px!important;padding-right:7px!important}
 body .shell.sidebar-compact .sidebar nav .nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 3px!important;min-height:58px;margin:2px 0;font-size:0!important;border-radius:9px;line-height:1;box-shadow:none}
 body .shell.sidebar-compact .sidebar nav .nav-item::after{content:attr(data-short);font-size:10px;line-height:15px;letter-spacing:0;font-weight:500;color:inherit}
 body .shell.sidebar-compact .sidebar nav .nav-item>.icon{width:21px;height:21px;flex:0 0 21px;stroke-width:1.6}
 body .shell.sidebar-compact .sidebar nav .nav-sub{display:none!important}
 body .shell.sidebar-compact .sidebar nav .nav-item.active,body .shell.sidebar-compact .sidebar nav .nav-item.group-active{background:#e6f2fa;color:#0081cc}
}
/* The temporary language switch remains available in the compact rail. */
@media(min-width:761px){
 body .shell.sidebar-compact .sidebar .side-foot{display:block!important;margin-top:auto;padding:10px 0 0;flex-shrink:0}
 body .shell.sidebar-compact .sidebar .side-foot-row{justify-content:center}
 body .shell.sidebar-compact .sidebar .side-release{display:none!important}
 body .shell.sidebar-compact .sidebar .sidebar-language{display:block;flex:0 0 30px}
 body .shell.sidebar-compact .sidebar .sidebar-language-menu{left:0;right:auto;bottom:calc(100% + 8px);width:170px}
}
/* Simple inset chevron; no projection into workspace tabs. */
@media(min-width:761px){
 body .sidebar>button.sidebar-edge-toggle:not(.link):not(.tab):not(.close):not(.userbtn),body .shell.sidebar-compact .sidebar>button.sidebar-edge-toggle{top:4px!important;right:5px!important;width:24px!important;height:26px!important;min-height:26px!important;padding:0!important;border:0;border-radius:5px;background:transparent;color:#6f8498;box-shadow:none;font-size:24px;line-height:24px}
 body .sidebar>button.sidebar-edge-toggle::before{display:none}
 body .shell.sidebar-compact .sidebar .brand{width:56px!important;height:56px!important;margin:0 auto 12px!important;padding:0!important}
 body .shell.sidebar-compact .sidebar .brand img.ci-wordmark{width:56px!important;max-width:56px!important;height:56px!important;object-fit:contain}
}
/* Retain the visible edge tab; simplify only the symbol to a chevron. */
@media(min-width:761px){
 body .sidebar>button.sidebar-edge-toggle:not(.link):not(.tab):not(.close):not(.userbtn),body .shell.sidebar-compact .sidebar>button.sidebar-edge-toggle{top:20px!important;right:-20px!important;width:28px!important;height:32px!important;min-height:32px!important;padding:0 2px 0 0!important;border:1px solid #e0e7ee;border-left:0;border-radius:0 11px 11px 0;background:#f7f9fc;color:#637f95;box-shadow:2px 0 5px #14395009;font-size:25px;line-height:30px}
 body .sidebar>button.sidebar-edge-toggle::before{display:block;left:-4px;width:5px;background:#f7f9fc}
 body .shell.sidebar-compact .topbar{padding-left:32px}
}
/* Optical and geometric centering of the edge chevron. */
@media(min-width:761px){body .sidebar>button.sidebar-edge-toggle:not(.link):not(.tab):not(.close):not(.userbtn),body .shell.sidebar-compact .sidebar>button.sidebar-edge-toggle{display:flex;align-items:center;justify-content:center;padding:0!important;text-align:center;line-height:1;font-family:Arial,sans-serif;font-size:24px}}
@media(min-width:761px){body .sidebar>button.sidebar-edge-toggle svg.sidebar-chevron{display:block;width:16px!important;height:16px!important;min-width:16px;flex:0 0 16px;margin:0;padding:0;stroke-width:1.7;position:static}}
/* Seamless protruding handle, without an outline or shadow. */
@media(min-width:761px){body .sidebar>button.sidebar-edge-toggle:not(.link):not(.tab):not(.close):not(.userbtn),body .shell.sidebar-compact .sidebar>button.sidebar-edge-toggle{border:0!important;box-shadow:none!important;background:#f7f9fc}}
/* Align compact D mark with the center of the 72px application header. */
@media(min-width:761px){
 body .shell.sidebar-compact>.sidebar{padding-top:8px!important}
 body .shell.sidebar-compact .sidebar .brand{width:56px!important;height:56px!important;flex:0 0 56px;margin:0 auto 8px!important;padding:0!important}
 body .shell.sidebar-compact .sidebar .brand img.ci-wordmark{display:block;width:56px!important;height:56px!important;max-width:56px!important;margin:0!important;object-fit:contain}
 body .shell.sidebar-compact .sidebar nav{margin-top:0}
}
/* Compact rail submenu: authorized links from the existing department menu. */
.compact-nav-popover{position:fixed;z-index:45;width:230px;max-width:calc(100vw - 100px);max-height:calc(100dvh - 16px);overflow:auto;padding:8px;background:#fff;border:1px solid #e4eaf1;border-radius:12px;box-shadow:0 8px 30px #20364e1c}
.compact-nav-popover>strong{display:block;padding:6px 9px 9px;font-size:11px;font-weight:600;color:#8290a1}
.compact-nav-popover>a.nav-item{display:flex;align-items:center;gap:9px;margin:2px 0;padding:9px 10px;min-height:36px;white-space:normal;font-size:12px;line-height:18px;font-weight:400;color:#435970;border-radius:7px;box-shadow:none}
.compact-nav-popover>a.nav-item:hover,.compact-nav-popover>a.nav-item.active{background:#edf6fc;color:#0081cc}
.compact-nav-popover>a.nav-item>.icon{display:block;width:17px;height:17px;flex:0 0 17px}
.department-hub{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;max-width:1100px}
.department-hub-item{display:flex;align-items:center;gap:12px;padding:15px 16px;min-height:62px;background:white;border:1px solid #e4eaf1;border-radius:10px;color:#3e556e;font-size:13px;font-weight:500}
.department-hub-item>.icon{width:22px;height:22px;color:#64839b}
.department-hub-item>span:last-child{margin-left:auto;color:#9aabb9}
.department-hub-item:hover{background:#f4f9fd;border-color:#c9e2f3;color:#0081cc}
@media(min-width:761px){body .shell.sidebar-compact .sidebar nav>a.nav-item{height:48px;min-height:48px;padding:5px 2px!important;gap:3px;margin:1px 0}body .shell.sidebar-compact .department-nav-label{display:none}body .shell.sidebar-compact .sidebar nav>a.nav-item>.icon{width:20px;height:20px;flex-basis:20px}}
@media(max-width:760px){.department-hub{grid-template-columns:minmax(0,1fr);gap:8px}.department-hub-item{min-height:52px;padding:12px}#app .sidebar nav>a.nav-item{min-height:38px;padding-top:7px;padding-bottom:7px;margin:1px 0}}
/* Phone: persistent slim department rail, no expanding drawer. */
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 #app .shell{display:grid!important;grid-template-columns:58px minmax(0,1fr);min-height:100dvh}
 #app .shell .main{grid-column:2;width:100%;min-width:0}
 #app .shell>.sidebar,#app .shell:not(.mobile-nav-open)>.sidebar,#app .shell.mobile-nav-open>.sidebar{position:fixed!important;display:flex!important;flex-direction:column;inset:0 auto 0 0;width:58px!important;height:var(--app-viewport-height,100dvh)!important;max-height:none!important;padding:9px 4px max(8px,env(safe-area-inset-bottom))!important;overflow:visible;z-index:12;box-shadow:none}
 #app .shell .sidebar>.brand{width:42px!important;height:42px!important;max-width:42px!important;flex:0 0 42px;margin:0 auto 8px!important;padding:0!important}
 #app .shell .sidebar>.brand img{width:42px!important;max-width:42px!important;height:42px!important}
 #app .shell .sidebar>.brand-sub,#app .shell .sidebar .workspace-heading,#app .shell .sidebar .side-release,#app .sidebar .mobile-nav-close,#app .topbar>.mobile-nav-toggle,#app .mobile-nav-backdrop{display:none!important}
 #app .shell .sidebar nav{display:block!important;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0}
 #app .shell .sidebar nav>a.nav-item{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:3px;height:47px;min-height:47px;margin:1px 0;padding:5px 1px!important;font-size:0!important;border-radius:8px;box-shadow:none}
 #app .shell .sidebar nav>a.nav-item>.icon{display:block!important;width:20px;height:20px;flex:0 0 20px;stroke-width:1.6}
 #app .shell .sidebar .department-nav-label{display:none}
 #app .shell .sidebar nav>a.nav-item::after{content:attr(data-short);font-size:9px;line-height:13px;font-weight:500;color:inherit}
 #app .shell .sidebar .side-foot{display:block!important;flex:none;margin-top:auto;padding:7px 0 0}
 #app .shell .sidebar .side-foot-row{justify-content:center}
 #app .shell .sidebar .sidebar-language-menu{left:0;right:auto;bottom:calc(100% + 7px)}
 #app .shell .main>.topbar{grid-template-columns:minmax(0,1fr)}
 #app .topbar>.right{grid-column:1}
 #app .content{padding-left:10px!important;padding-right:10px!important}
}
body .department-hub-item>.icon{stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none}
.people-section-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 0 16px;padding:4px;width:max-content;max-width:100%;background:#f3f6f9;border-radius:9px}
.people-section-tabs>.people-section-tab{display:block;padding:8px 12px;border-radius:6px;font-size:12px;line-height:20px;font-weight:500;color:#748498;white-space:nowrap}
.people-section-tabs>.people-section-tab.current{background:#e1f0fb;color:#007ebd;font-weight:600}
.people-section-tabs>.people-section-tab:hover{color:#0081cc;background:#eaf3fa}
@media(max-width:760px){.people-section-tabs{gap:2px;padding:3px;width:100%;flex-wrap:nowrap;overflow-x:auto}.people-section-tabs>.people-section-tab{padding:7px 8px;font-size:11px}}
/* All departments share the same compact, horizontally scrollable task tabs. */
.people-section-tabs{flex-wrap:nowrap;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;min-width:0}
.people-section-tabs>.people-section-tab{flex:0 0 auto}
/* Quiet workspace hierarchy: title, search, results. Utilities are secondary. */
.dev-tools-disclosure{position:relative;margin:0 0 10px;padding:0;border:0;background:transparent;width:max-content;max-width:100%;font-size:11px}
.dev-tools-disclosure>summary{padding:3px 0;color:#8b99a8;cursor:pointer;list-style:none;font-size:10px}
.dev-tools-disclosure>summary::after{content:'⌄';margin-left:6px}
.dev-tools-disclosure .dev-preview-bar{position:static;margin:6px 0 0;max-width:100%;box-shadow:none}
body #app .quiet-page-head{margin:0 0 8px;align-items:center;gap:8px}
body #app .quiet-page-head h1{margin:0;font-size:23px;line-height:32px}
body #app .quiet-page-head .actions{gap:6px}
body #app .quiet-page-head .page-help-actions{display:flex;flex-direction:row;align-items:center;gap:5px}
.page-description-disclosure{margin:0 0 10px;padding:0;border:0;font-size:11px;background:transparent}
.page-description-disclosure>summary{width:max-content;font-size:11px;color:#8796a6;cursor:pointer;list-style:none}
.page-description-disclosure>summary::after{content:'⌄';margin-left:5px}
.page-description-disclosure>p{margin:6px 0;color:#7c8b9c;line-height:1.6;font-size:12px}
.page-edit-disclosure{position:relative;margin:0;padding:0;border:0;font-size:10px}
.page-edit-disclosure>summary{list-style:none;padding:4px;color:#97a3b0;cursor:pointer;white-space:nowrap}
.page-edit-disclosure[open]>button{position:absolute;top:100%;right:0;z-index:30;background:white;white-space:nowrap;box-shadow:0 3px 12px #20314515}
@media(max-width:760px){body #app .quiet-page-head{flex-direction:row;flex-wrap:wrap;gap:6px}body #app .quiet-page-head h1{font-size:20px;line-height:28px}body #app .quiet-page-head>.actions{width:auto;gap:5px}body #app .quiet-page-head .page-help-actions button.small{height:28px!important;min-height:28px!important;padding:3px 6px!important;font-size:10px!important}.dev-tools-disclosure .dev-preview-bar>strong,.dev-tools-disclosure .dev-preview-bar>span{display:none}.page-edit-disclosure{display:none}body #app .content form.filters.search-first{grid-template-columns:minmax(0,1fr);gap:6px}body #app .content form.search-first>.search-advanced>summary{grid-column:1;grid-row:2;justify-self:start}body #app .content form.search-first>.search-advanced>.search-advanced-fields{grid-row:3}.search-main{gap:5px}.search-main>label{min-width:0}body #app .search-main>button{height:32px!important;min-height:32px!important;padding:5px 9px!important;font-size:11px!important}}
body :is(#app,#modal) button>.icon{display:inline-block;vertical-align:middle;width:15px;height:15px;margin-right:5px;stroke-width:1.6;flex:0 0 15px}
body #modal .profile-signature-settings>summary::before{display:none}
body #modal .profile-signature-settings>summary>.icon{width:19px;height:19px;color:#0081cc}
body .topbar .work-tabs>.work-tabs-close-all{display:block;align-self:center;flex:0 0 auto;margin:0 3px 8px 6px;padding:4px 7px;min-height:26px;height:26px;border:0;border-radius:5px;background:transparent;color:#ffffffc9;font-size:10px;font-weight:400;line-height:18px}
body .topbar .work-tabs>.work-tabs-close-all:hover{background:#ffffff1c;color:#fff}
@media(max-width:760px){body .topbar .work-tabs>.work-tabs-close-all{margin-bottom:0;font-size:9px}}
/* Align close-all with the center line of the task tabs. */
body .topbar .work-tabs>.work-tabs-close-all{display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;height:41px;min-height:41px;margin:0 3px 0 6px;padding:0 7px;line-height:18px}
@media(max-width:900px){body .topbar .work-tabs>.work-tabs-close-all{margin-bottom:0}}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){body .topbar .work-tabs>.work-tabs-close-all{height:36px;min-height:36px;margin-bottom:0}}
/* Active work tab joins the white workspace canvas. */
body .topbar .work-tabs>.work-tab.current{background:#fff;color:#007ebd}
/* Brighter inactive tabs, with the selected tab remaining white. */
body .topbar .work-tabs>.work-tab:not(.current){background:#ffffff30;color:#fff}
body .topbar .work-tabs>.work-tab:not(.current):hover{background:#ffffff42}
body .topbar .work-tabs>.work-tab.current{background:#fff;color:#007ebd}
/* Tabs scroll independently; close-all remains pinned outside their scrollport. */
body .topbar>.work-tabs-shell{display:flex;align-items:stretch;flex:1 1 0;align-self:stretch;min-width:0;gap:5px;overflow:hidden}
body .topbar .work-tabs-shell>.work-tabs{flex:1 1 0;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;white-space:nowrap}
body .topbar .work-tabs-shell>button.work-tabs-close-fixed{display:flex;align-items:center;justify-content:center;align-self:flex-end;flex:0 0 28px;width:28px;height:41px;min-height:41px;margin:0;padding:0;border:0;border-radius:6px 6px 0 0;background:transparent;color:#fff;line-height:1}
body .topbar .work-tabs-shell>button.work-tabs-close-fixed:hover{background:#ffffff22}
body .topbar .work-tabs-shell>button.work-tabs-close-fixed svg{display:block;width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px;margin:0}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 #app .topbar>.work-tabs-shell{grid-column:1/-1;grid-row:2;display:flex;width:100%;height:36px;min-height:36px;max-width:100%;align-self:end;gap:3px}
 #app .topbar .work-tabs-shell>.work-tabs{display:flex;align-self:stretch;height:36px;min-height:36px;width:0;margin:0;padding:0;gap:4px;scrollbar-width:none}
 #app .topbar .work-tabs-shell>button.work-tabs-close-fixed{flex-basis:28px;height:36px;min-height:36px}
}
/* Open task tabs grouped by their department without growing the header. */
.work-tab-group{display:flex;align-items:flex-end;align-self:stretch;gap:4px;flex:0 0 auto;position:relative;padding-left:10px;margin-left:5px;border-left:1px solid #ffffff30}
.work-tab-group:first-child{padding-left:0;margin-left:0;border-left:0}
.work-tab-group-title{align-self:center;display:block;margin:0 3px 0 0;color:#ffffffe0;font-size:10px;line-height:16px;font-weight:500;white-space:nowrap}
body .topbar .work-tabs .work-tab-group>.work-tab.current{background:#fff;color:#007ebd}
body .topbar .work-tabs .work-tab-group>.work-tab:not(.current){background:#ffffff30;color:#fff}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){.work-tab-group{padding-left:7px;margin-left:3px;gap:3px}.work-tab-group-title{font-size:9px;line-height:14px}.work-tab-group>.work-tab{height:36px;min-height:36px}}
/* Quiet text utility above Overview, outside the work tabs. */
body .sidebar nav>button.sidebar-close-tabs{display:block;margin:1px 7px 6px auto;padding:3px 5px;min-height:24px;height:auto;border:0;background:transparent;color:#8999a9;font-size:10px;font-weight:400;line-height:16px;white-space:normal}
body .sidebar nav>button.sidebar-close-tabs:hover{color:#0081cc;background:#eaf3fb;border-radius:5px}
body .shell.sidebar-compact .sidebar nav>button.sidebar-close-tabs{margin:1px auto 5px;padding:3px 0;width:100%;font-size:9px;line-height:15px;text-align:center}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){#app .sidebar nav>button.sidebar-close-tabs{margin:0 auto 5px;padding:3px 0;width:100%;font-size:9px;line-height:15px}}
/* Department captions use the existing space above tabs, not horizontal slots. */
body .topbar .work-tabs-shell>.work-tabs{padding-top:0}
body .topbar .work-tabs .work-tab-group{position:relative;display:flex;align-items:flex-end;align-self:stretch;padding-top:18px;padding-left:8px;gap:4px;margin-left:4px;border-left:1px solid #ffffff24}
body .topbar .work-tabs .work-tab-group:first-child{margin-left:0;padding-left:0;border-left:0}
body .topbar .work-tabs .work-tab-group>.work-tab-group-title{position:absolute;top:2px;left:9px;right:2px;display:block;align-self:auto;margin:0;padding:0;height:14px;line-height:14px;font-size:9px;font-weight:400;color:#ffffffb8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
body .topbar .work-tabs .work-tab-group:first-child>.work-tab-group-title{left:2px}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 #app .shell .main>.topbar{height:96px!important;min-height:96px;grid-template-rows:46px 50px}
 #app .topbar>.work-tabs-shell,#app .topbar .work-tabs-shell>.work-tabs{height:50px;min-height:50px}
 body .topbar .work-tabs .work-tab-group{padding-top:14px;padding-left:6px;margin-left:3px}
 body .topbar .work-tabs .work-tab-group>.work-tab-group-title{top:0;left:7px;height:12px;line-height:12px;font-size:8px}
}
/* Clear two-level tab hierarchy: department caption, then work tabs. */
body .topbar .work-tabs .work-tab-group{padding-top:28px;gap:5px;margin-left:7px;padding-left:10px;border-left-color:#ffffff26}
body .topbar .work-tabs .work-tab-group>.work-tab-group-title{top:7px;left:12px;height:17px;line-height:17px;font-size:11px;font-weight:600;color:#fffffff0;letter-spacing:0}
body .topbar .work-tabs .work-tab-group:first-child>.work-tab-group-title{left:3px}
body .topbar .work-tabs .work-tab-group>.work-tab{height:40px;min-height:40px;border-radius:8px 8px 0 0;max-width:210px;box-shadow:none}
body .topbar .work-tabs .work-tab-group>.work-tab:not(.current){background:#ffffff29;color:#fff}
body .topbar .work-tabs .work-tab-group>.work-tab:not(.current):hover{background:#ffffff40}
body .topbar .work-tabs .work-tab-group>.work-tab.current{background:white;color:#087ab2}
body .topbar .work-tab-group .work-tab-label{font-size:12px;font-weight:500;padding:10px 11px;line-height:20px;min-height:40px}
body .topbar .work-tab-group .work-tab-close{padding:7px 8px;font-size:15px;opacity:.7}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 #app .shell .main>.topbar{height:102px!important;min-height:102px;grid-template-rows:46px 56px}
 #app .topbar>.work-tabs-shell,#app .topbar .work-tabs-shell>.work-tabs{height:56px;min-height:56px}
 body .topbar .work-tabs .work-tab-group{padding-top:20px;padding-left:7px;margin-left:4px;gap:4px}
 body .topbar .work-tabs .work-tab-group>.work-tab-group-title{top:3px;left:8px;height:15px;line-height:15px;font-size:10px}
 body .topbar .work-tabs .work-tab-group>.work-tab{height:36px;min-height:36px}
 #app .topbar .work-tab-group .work-tab-label{height:36px;min-height:36px;padding:8px 9px;font-size:11px;line-height:20px}
}

/* Calm overview: one title, visual counts, compact destinations. */
.overview-home{max-width:1240px;margin:auto}.overview-home .page-description-disclosure{display:none}.overview-meta{display:flex;gap:16px;color:#788b9d;font-size:12px;margin:0 0 22px}.overview-meta span{margin-left:auto}.overview-section{margin:22px 0}.overview-section h2{font-size:14px;font-weight:600;color:#51677b;margin:0 0 12px}.overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.overview-tile{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:10px;padding:18px;background:#f2f8fc;border-radius:14px;text-decoration:none;color:#25455f;border:1px solid transparent}.overview-tile:hover{border-color:#9ccce8;background:#eaf5fc}.overview-symbol{display:flex;color:#1685bc}.overview-symbol svg{width:27px;height:27px}.overview-tile strong{font-size:28px;font-weight:600;text-align:right}.overview-tile small{font-size:11px;font-weight:400;margin-left:4px;color:#8091a1}.overview-label{grid-column:1/-1;font-size:12px;line-height:1.5}.overview-clear{display:flex;gap:10px;align-items:center;padding:18px;color:#788b9d}.overview-clear svg{width:24px;height:24px}.overview-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.overview-links a{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #edf1f5;color:#425d73;text-decoration:none;font-size:12px}.overview-links svg{width:21px;height:21px;color:#67869c}.overview-links a>span:last-child{margin-left:auto;color:#91a7b6}.overview-checks{margin:16px 0;color:#74899b;font-size:12px}.overview-checks summary{cursor:pointer;padding:8px 0}.overview-checks .panel{margin-top:8px}
/* Small floating tabs, with the close utility pinned beside the scroll area. */
body .topbar .work-tabs .work-tab-group{padding-top:23px;padding-bottom:6px;gap:4px}
body .topbar .work-tabs .work-tab-group>.work-tab-group-title{top:4px;font-size:10px;height:16px;line-height:16px}
body .topbar .work-tabs .work-tab-group>.work-tab{height:31px;min-height:31px;border-radius:7px;max-width:174px}
body .topbar .work-tab-group .work-tab-label{font-size:11px;min-height:31px;height:31px;padding:5px 9px;line-height:21px}
body .topbar .work-tab-group .work-tab-close{padding:3px 6px;font-size:14px}
body .topbar .work-tabs-shell>.tabs-clear{flex:0 0 38px;align-self:center;min-height:36px;padding:3px;border:0;border-left:1px solid #ffffff40;border-radius:0;background:transparent;color:white;font-size:10px;line-height:15px;margin-left:5px}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.overview-tile{padding:12px;gap:6px}.overview-tile strong{font-size:24px}.overview-label{font-size:11px}.overview-links{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-links a{padding:10px 3px;font-size:11px;gap:6px}#app .topbar .work-tab-group .work-tab-label{height:31px;min-height:31px;padding:5px 8px}#app .topbar .work-tabs .work-tab-group>.work-tab{height:31px;min-height:31px}#app .topbar .work-tabs-shell>.tabs-clear{align-self:end;margin-bottom:6px}}
/* Sidebar scroll stays available without legacy tracks or arrow buttons. */
body .sidebar nav{scrollbar-width:thin;scrollbar-color:transparent transparent;overscroll-behavior-y:contain}
body .sidebar nav:hover{scrollbar-color:#9eb3c680 transparent}
body .sidebar nav::-webkit-scrollbar{width:3px}
body .sidebar nav::-webkit-scrollbar-track{background:transparent}
body .sidebar nav::-webkit-scrollbar-thumb{background:transparent;border-radius:8px}
body .sidebar nav:hover::-webkit-scrollbar-thumb{background:#9eb3c680}
body .sidebar nav::-webkit-scrollbar-button{display:none;height:0;width:0}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 #app .shell .sidebar nav{scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-y}
 #app .shell .sidebar nav::-webkit-scrollbar{display:none;width:0;height:0}
}
body .topbar .work-tabs-shell>.work-tabs{order:1}
body .topbar .work-tabs-shell>.tabs-clear{order:2}
/* Development controls follow the same centered column as the overview. */
.content:has(>.overview-home)>.dev-tools-disclosure{box-sizing:border-box;width:100%;max-width:1240px;margin:0 auto 10px}
/* Overlay scroll indicators: no track, arrows or reserved layout space. */
body,body .sidebar nav,body .table-wrap,body .modal-body{scrollbar-width:none}
body::-webkit-scrollbar,body .sidebar nav::-webkit-scrollbar,body .table-wrap::-webkit-scrollbar,body .modal-body::-webkit-scrollbar{display:none;width:0;height:0}
.erp-scroll-indicator{position:fixed;z-index:10005;width:3px;min-height:18px;border-radius:8px;background:rgba(78,96,112,.35);box-shadow:0 0 0 .5px rgba(255,255,255,.45);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:none;opacity:0;transition:opacity .25s ease}
.erp-scroll-indicator.visible{opacity:1}
@media(prefers-reduced-motion:reduce){.erp-scroll-indicator{transition:none}}
/* Department captions and task tabs share a balanced vertical rhythm. */
body .topbar .work-tabs .work-tab-group{padding-top:28px;padding-bottom:5px;gap:3px}
body .topbar .work-tabs .work-tab-group>.work-tab-group-title{top:9px;left:10px;height:18px;line-height:18px;font-size:12px;font-weight:600;color:#fff}
body .topbar .work-tabs .work-tab-group:first-child>.work-tab-group-title{left:4px}
body .topbar .work-tabs .work-tab-group>.work-tab{height:28px;min-height:28px;max-width:154px;border-radius:6px}
body .topbar .work-tab-group .work-tab-label{height:28px;min-height:28px;padding:3px 8px;font-size:11px;line-height:22px}
body .topbar .work-tab-group .work-tab-close{height:28px;min-height:28px;width:22px;padding:0 5px;line-height:28px;font-size:14px}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 #app .shell .main>.topbar{height:108px!important;min-height:108px;grid-template-rows:46px 62px}
 #app .topbar>.work-tabs-shell,#app .topbar .work-tabs-shell>.work-tabs{height:62px;min-height:62px}
 #app .topbar .work-tabs .work-tab-group{padding-top:29px;padding-bottom:5px}
 #app .topbar .work-tabs .work-tab-group>.work-tab-group-title{top:9px;left:8px;font-size:12px;line-height:18px;height:18px}
 #app .topbar .work-tabs .work-tab-group>.work-tab{height:28px;min-height:28px;max-width:142px}
 #app .topbar .work-tab-group .work-tab-label{height:28px;min-height:28px;padding:3px 7px;font-size:11px;line-height:22px}
 #app .topbar .work-tab-group .work-tab-close{height:28px;min-height:28px;width:22px;padding:0 5px;line-height:28px}
}

body .topbar .work-tabs .work-tab-group>.work-tab-group-title{display:flex;align-items:center;gap:6px;pointer-events:auto;width:max-content;max-width:calc(100% - 10px)}
body .topbar .work-tab-group-title>.work-group-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;min-height:22px;margin:0;padding:0;border:0;border-radius:5px;background:transparent;color:#ffffffc9;font-size:16px;line-height:1}
body .topbar .work-tab-group-title>.work-group-close:hover,body .topbar .work-tab-group-title>.work-group-close:focus-visible{background:#ffffff28;color:#fff}
/* Overview glass surface: a restrained material treatment for actionable counts. */
.overview-home .overview-grid{position:relative;isolation:isolate;padding:2px 0}
.overview-home .overview-grid::before{content:'';position:absolute;z-index:-1;inset:8px 8px;border-radius:24px;background:radial-gradient(ellipse at 12% 35%,#c1e8fb99,transparent 48%),radial-gradient(ellipse at 86% 75%,#deddf58a,transparent 48%);pointer-events:none}
.overview-home .overview-tile{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffffbd,#f0f8ff88 60%,#ffffffa8);border:1px solid #ffffffdf;border-radius:18px;box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #b9d3e62b,0 5px 18px #3757770c,0 0 0 1px #c6dbea45;backdrop-filter:blur(14px) saturate(125%);-webkit-backdrop-filter:blur(14px) saturate(125%);color:#194966;transition:background .16s ease,box-shadow .16s ease}
.overview-home .overview-tile::before{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,#fff8,transparent 36%,transparent 72%,#fff4);pointer-events:none}
.overview-home .overview-tile>*{position:relative;z-index:1}
.overview-home .overview-tile strong{color:#006da3}
.overview-home .overview-label{color:#285771}
.overview-home .overview-tile small{color:#5f7a8e}
.overview-home .overview-symbol{color:#087daf}
@media(hover:hover){.overview-home .overview-tile:hover{background:linear-gradient(135deg,#ffffffeb,#e8f5ffc2);border-color:#fff;box-shadow:inset 0 1px 0 #fff,0 7px 22px #37577717,0 0 0 1px #8ac4e47a}}
.overview-home .overview-tile:focus-visible{outline:2px solid #007ab6;outline-offset:3px}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.overview-home .overview-tile{background:linear-gradient(135deg,#f8fcff,#edf6fc)}}
@media(prefers-reduced-transparency:reduce),(forced-colors:active){.overview-home .overview-grid::before,.overview-home .overview-tile::before{display:none}.overview-home .overview-tile{background:Canvas;color:CanvasText;backdrop-filter:none;-webkit-backdrop-filter:none;border:1px solid;box-shadow:none}.overview-home .overview-tile :is(strong,small,.overview-label,.overview-symbol){color:inherit}}
@media(prefers-reduced-motion:reduce){.overview-home .overview-tile{transition:none}}
/* Indicators overlay content; they never leave a permanent desktop rail. */
#app .topbar .work-tabs-shell>.work-tabs,#app .content :is(.table-wrap,.schedule-sheet-scroll,.production-scroll,.matrix-scroll,.account-history-scroll),#modal .modal-body{scrollbar-width:none;scrollbar-gutter:auto}
#app .topbar .work-tabs::-webkit-scrollbar,#app .content :is(.table-wrap,.schedule-sheet-scroll,.production-scroll,.matrix-scroll,.account-history-scroll)::-webkit-scrollbar,#modal .modal-body::-webkit-scrollbar{display:none;width:0;height:0}
.erp-scroll-indicator{min-height:0}
.erp-scroll-indicator.horizontal{background:#ffffff9c;box-shadow:0 0 0 .5px #005d8b25}
/* Empty overview is a compact status, not an empty metric surface. */
.overview-home .overview-grid:has(>.overview-clear){display:block;padding:0}
.overview-home .overview-grid:has(>.overview-clear)::before{display:none}
.overview-home .overview-clear{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;padding:10px 0;color:#647e91;background:transparent;line-height:1.5;font-size:13px}
.overview-home .overview-clear>.icon{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#e7f3f8;color:#4c8da9}
.overview-home .overview-clear>.icon svg{width:18px;height:18px}
.overview-home .overview-clear>svg.icon{box-sizing:border-box;padding:6px}
.drive-breadcrumb{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:12px 0;color:#7e91a1}.drive-breadcrumb button{padding:4px 7px;font-size:12px;min-height:28px;border:0;background:transparent}.drive-breadcrumb button:last-child{color:#0078b1;font-weight:600}
/* Keep related identity columns close on wide monitors. */
.employee-basic-table{max-width:780px}.employee-basic-table table{table-layout:fixed}.employee-basic-table :is(th,td){padding:9px 14px}.employee-basic-table :is(th,td):nth-child(1){width:28%}.employee-basic-table :is(th,td):nth-child(2){width:19%}.employee-basic-table :is(th,td):nth-child(3){width:20%}.employee-basic-table :is(th,td):nth-child(4){width:33%}
@media(max-width:760px){.employee-basic-table table{min-width:430px}.employee-basic-table :is(th,td){padding:8px 10px}}
.employee-leave-table table{min-width:650px}.employee-leave-table :is(th,td){text-align:center;vertical-align:middle;white-space:nowrap;overflow-wrap:normal;word-break:normal;padding:9px 12px}.employee-leave-table td .badge{white-space:nowrap}.employee-basic-table :is(th,td){vertical-align:middle}
/* Match the employee panel to its compact table rather than leaving a blank sheet. */
#app .content .panel:has(.employee-basic-table){width:100%;max-width:780px}
#app .content .panel:has(.employee-basic-table) .employee-basic-table{max-width:none;width:100%}

/* Mobile uses a current-screen picker instead of an open-tab strip. */
.mobile-work-switcher{display:none}.mobile-work-list section+section{margin-top:16px}.mobile-work-list h3{font-size:12px;color:#71879a;margin:0 0 5px}.mobile-work-option{display:flex;align-items:center;gap:8px;width:100%;text-align:left;white-space:normal;margin:4px 0;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#35546c}.mobile-work-option.selected{background:#e5f2fb;color:#007ab6}.mobile-work-option small{margin-left:auto;font-size:10px}.mobile-work-option>span:last-child:not(:first-child){margin-left:auto}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){
 #app .shell .main>.topbar{height:50px!important;min-height:50px!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:50px;padding:0 8px!important;gap:5px}
 #app .topbar>.work-tabs-shell{display:none!important}
 #app .topbar>.mobile-work-switcher{display:flex;grid-column:1;grid-row:1;align-items:center;justify-content:flex-start;gap:6px;min-width:0;max-width:100%;padding:5px 3px;min-height:36px;height:36px;border:0;box-shadow:none;background:transparent;color:#fff;font-size:12px;font-weight:600}
 #app .mobile-work-switcher>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #app .topbar>.right{grid-column:2;grid-row:1;gap:3px;max-width:205px}
 #app .topbar .right .userbtn{max-width:82px;font-size:10px}
 #app .topbar .right>button.top-notice{font-size:10px;padding:5px 3px!important}
}

/* Desktop and mobile share one compact open-screen picker. */
#app .topbar>.work-tabs-shell{display:none!important}
#app .topbar>.mobile-work-switcher{display:flex;align-items:center;gap:10px;min-width:0;max-width:340px;padding:6px 10px;height:36px;min-height:36px;border:1px solid #ffffff40;border-radius:10px;background:#ffffff16;box-shadow:inset 0 1px 0 #ffffff24;color:#fff;font-size:13px;font-weight:600}
#app .topbar>.mobile-work-switcher>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app .topbar>.right{margin-left:auto}
.work-picker-group-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.work-picker-group-head h3{margin:0}.work-picker-group-close{width:28px;height:28px;min-height:28px;padding:0;border:0;background:transparent;color:#7b8e9f;font-size:18px}.work-picker-footer{border-top:1px solid #d8e3ed;margin-top:14px;padding-top:12px;text-align:right}.work-picker-footer button{font-size:12px;padding:6px 10px}
@media(min-width:1001px),(min-width:761px) and (pointer:fine){#app .shell .main>.topbar{height:56px!important;min-height:56px}#app .sidebar .sidebar-edge-toggle{top:12px}}

/* Desktop department tabs retain the same glass button material. */
.desktop-department-tabs{display:flex;align-items:center;gap:7px;min-width:0;overflow-x:auto;scrollbar-width:none;flex:1}.desktop-department-tabs::-webkit-scrollbar{display:none}.department-glass-tab{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;height:36px;min-height:36px;padding:6px 12px;border:1px solid #ffffff40;border-radius:10px;background:#ffffff16;box-shadow:inset 0 1px 0 #ffffff24;color:white;font-size:12px;font-weight:600;white-space:nowrap}.department-glass-tab.current{background:#fffffff0;color:#0076b0;border-color:#fff}.department-glass-tab:hover{background:#ffffff36;color:#fff}.department-glass-tab.current:hover{background:#fff;color:#0076b0}
.department-task-popover{position:fixed;z-index:1000;width:284px;max-width:calc(100vw - 16px);padding:10px;border-radius:16px;border:1px solid #ffffffe0;background:linear-gradient(140deg,#ffffffde,#f1f8ffcf);box-shadow:0 12px 38px #16384f26,inset 0 1px 0 #fff;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#34556f}.department-popover-head{display:flex;align-items:center;justify-content:space-between;padding:2px 5px 8px}.department-popover-head strong{font-size:12px}.department-popover-head button{border:0;background:transparent;font-size:10px;color:#7b8d9d;padding:4px}.department-task-popover nav{max-height:min(60vh,450px);overflow-y:auto}.department-task-popover nav a{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px;border-radius:9px;font-size:12px;color:#34556f}.department-task-popover nav a:is(:hover,.current){background:#dceefba8;color:#0078b4}.department-task-popover nav a small{margin-left:auto;font-size:9px;color:#7c98ac}.department-popover-all{width:100%;margin-top:8px;padding:7px;border:0;border-top:1px solid #d0e0eb;background:transparent;border-radius:0;color:#7b8d9d;font-size:11px}
@media(min-width:1001px),(min-width:761px) and (pointer:fine){#app .topbar>.mobile-work-switcher{display:none}}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){.desktop-department-tabs{display:none}}
#app .topbar .desktop-department-tabs>.department-glass-tab.current{color:#0076b0!important;background:#fffffff0!important;border-color:#fff}
#app .topbar .desktop-department-tabs>.department-glass-tab:not(.current){color:#fff!important}
/* Home and department tabs use exactly the same box and typography. */
#app .topbar .desktop-department-tabs>.department-glass-tab{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:36px!important;min-height:36px!important;max-height:36px;padding:6px 12px!important;border-width:1px;border-style:solid;border-radius:10px;font-size:12px!important;font-weight:600!important;line-height:22px!important;letter-spacing:0;margin:0;text-decoration:none;vertical-align:middle}
#app .topbar .desktop-department-tabs>.department-glass-tab>span{font-size:12px;font-weight:600;line-height:22px}
.feedback-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px;color:#758b9c}.feedback-body,.feedback-comments article p{white-space:pre-wrap;overflow-wrap:anywhere}.feedback-body{padding:14px 0;line-height:1.7}.feedback-comments{border-top:1px solid #dae5ee;padding-top:16px;margin-top:16px}.feedback-comments article{padding:10px 0;border-bottom:1px solid #e0eaf2}.feedback-comments article p{margin:6px 0}.feedback-comments form,[data-form="erp-feedback-status"]{display:flex;gap:8px;align-items:flex-end;margin-top:12px}.feedback-comments form>label{flex:1}.feedback-comments form textarea{min-height:70px}
.sidebar-feedback{display:flex;align-items:center;gap:9px;padding:10px 6px;margin:0 0 8px;border-top:1px solid #dbe6ef;font-size:11px;color:#607d92;border-radius:0 0 8px 8px}.sidebar-feedback .icon{width:20px;height:20px;flex:0 0 20px}.sidebar-feedback:is(:hover,.active){color:#007dbb;background:#e8f4fc85}
body .shell.sidebar-compact .sidebar-feedback{flex-direction:column;gap:3px;padding:8px 0;font-size:9px}.shell.sidebar-compact .sidebar-feedback span{font-size:0}.shell.sidebar-compact .sidebar-feedback span::after{content:'개선 요청';font-size:9px}
@media(max-width:760px),(pointer:coarse) and (max-width:1000px){#app .sidebar-feedback{flex-direction:column;gap:3px;padding:8px 0;margin-bottom:5px}#app .sidebar-feedback span{font-size:0}#app .sidebar-feedback span::after{content:'개선 요청';font-size:9px}}
.feedback-file-field{display:block;width:100%;margin-top:12px}.feedback-file-field .attachment-native-input{display:none}.feedback-file-previews,.feedback-file-gallery{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.feedback-file-previews img,.feedback-file-gallery img{width:110px;height:82px;object-fit:contain;background:#fff9;border:1px solid #d5e2ec;border-radius:8px}.feedback-file-gallery a{display:flex;flex-direction:column;gap:4px;width:120px;font-size:10px;overflow-wrap:anywhere}.feedback-comments form{flex-wrap:wrap}.feedback-comments form>label:first-child{flex:1 1 100%}.feedback-comments form>.feedback-file-field{flex:1 1 100%}
#app .topbar .work-picker-chevron{display:block;width:14px;height:14px;min-width:14px;flex:0 0 14px;align-self:center;margin:0}
