/* EchoGEST: official RGB colours and supplied Metropolis font files. */
@font-face{font-family:Metropolis;src:url('brand/fonts/Metropolis-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Metropolis;src:url('brand/fonts/Metropolis-Medium.otf') format('opentype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Metropolis;src:url('brand/fonts/Metropolis-SemiBold.otf') format('opentype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Metropolis;src:url('brand/fonts/Metropolis-Bold.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
:root{
    --echo-blue:#1964ab;
    --echo-purple:#7939ef;
    --echo-light-blue:#7db2e3;
    --echo-grey:#9f9f9f;
    --echo-light-grey:#d8d6d7;
    --echo-gradient:linear-gradient(90deg,var(--echo-blue),var(--echo-purple) 55%,var(--echo-light-blue));
    --brand:var(--echo-blue);
    --nav:#fff;
    --bg:#f6f5f7;
    --ink:#41404a;
    --muted:#6a6773;
    --line:#e5e3e9;
}
body{font-family:Metropolis,'Segoe UI',Arial,sans-serif}
button,input,select,textarea{font-family:inherit}
.brand-image{display:block;width:100%;height:auto;object-fit:contain;flex:none}
.echo-logo{overflow:hidden;max-width:100%;flex:none}
.erp-v2 .brand{display:block;margin:0 7px 24px;padding:16px 13px 18px;background:#fff;border-radius:0;letter-spacing:0;border-bottom:1px solid var(--line)}
.erp-v2 .brand small{margin-top:11px;font-size:8px;line-height:1.5;letter-spacing:1.25px;color:var(--muted);font-weight:600;text-align:center}
.erp-v2 .sidebar{background:var(--nav);color:var(--ink);border-right:1px solid var(--line)}
.erp-v2 .sidebar::before{content:none}
.erp-v2 .nav-label{color:var(--muted)}
.erp-v2 .nav-item,.erp-v2 .business-nav summary{color:var(--ink)}
.erp-v2 .nav-item:hover,.erp-v2 .business-nav summary:hover{background:#f3f1f6;color:var(--ink)}
.erp-v2 .nav-item.active{background:#f0eafd;color:var(--echo-purple);box-shadow:inset 3px 0 var(--echo-purple)}
.erp-v2 .business-nav[open]{background:#f7f6f9}
.erp-v2 .business-nav.is-active summary{color:var(--echo-purple);background:#f0eafd}
.erp-v2 .business-nav .nav-sub{color:var(--muted)}
.erp-v2 .business-nav .nav-sub:hover{color:var(--echo-blue);background:#edf3fa}
.erp-v2 .business-nav .nav-sub.active{color:var(--echo-purple);background:#f0eafd;border-left-color:var(--echo-purple);font-weight:600}
.erp-v2 .sidebar-foot{color:var(--muted);border-top-color:var(--echo-light-grey)}
.global-search{background:#f7f6f8;border-color:var(--line)}
.global-search span,.global-search button{color:var(--muted)}
.erp-v2 label{color:var(--ink)}
input,select,textarea{border-color:var(--echo-light-grey)}
th,.erp-v2 .business-table th{background:#f6f5f8;color:var(--muted)}
.erp-v2 .business-table tbody tr:hover{background:#faf9fc}
.tabs button,.tabs a,.section-nav a,.help-text,footer{color:var(--muted)}
.erp-v2 .document-shortcuts a:hover,.erp-v2 .hub-card:hover{border-color:var(--echo-light-blue);background:#faf9fd}
.erp-v2 .quick-links a,.erp-v2 .recent-records a{border-bottom-color:var(--line)}
.erp-v2.nav-open .nav-overlay{background:#41404a65}
.pill{background:#eaf0fa;color:var(--echo-blue)}
.primary{background:var(--echo-blue);border-color:var(--echo-blue);color:#fff}
.button:focus-visible,.tabs a:focus-visible,.tabs button:focus-visible,.sidebar a:focus-visible,.business-nav summary:focus-visible{outline:3px solid var(--echo-purple)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--echo-blue);border-color:var(--echo-blue)}
.tabs .active,.tabs [aria-selected=true]{background:#f1edfe;color:var(--echo-purple);border-bottom-color:var(--echo-purple)}
.profile-avatar{background:#eee8fc;color:var(--echo-purple)}
.domain-icon{background:#f0eafd;color:var(--echo-purple)}
.section-nav a.active{background:#eaf0fa;border-color:var(--echo-light-blue);color:var(--echo-blue)}
.login-card{width:400px;padding:50px 0}
.login-card .brand{display:block;max-width:330px;margin-bottom:46px;letter-spacing:0}
.login-card .brand small{margin-top:15px;letter-spacing:1.5px;color:var(--echo-blue);font-size:9px;font-weight:600}
.login-card h1{font-size:34px;letter-spacing:-.8px;line-height:1.3}
.login-card>.muted{font-size:12px;line-height:1.8}
.login-card .login-note{color:var(--muted);line-height:1.8}
.login-art{background:linear-gradient(145deg,#1964ab 0%,#3b52c5 48%,#7939ef 100%);padding:75px 60px}
.login-art .pill{background:#ffffff20;color:#fff;border:1px solid #ffffff40}
.login-art h2{font-size:40px;letter-spacing:-1px;line-height:1.3}
.login-art .art-grid div{color:#fff;border-top-color:#ffffff55;font-size:27px;font-weight:600}
.login-art .art-grid small{color:#eef1ff;font-size:12px;line-height:1.6;font-weight:400}
.print-brand{display:flex;flex-direction:column;gap:9px;width:180px;flex:none;align-self:flex-start;text-align:right}
.print-brand img{width:100%;height:auto;display:block}
.print-brand small{font-size:9px;color:var(--muted)}
@media(max-width:1000px){.login-art{padding:45px 35px}.login-art h2{font-size:34px}}
@media(max-width:760px){.erp-v2 .brand{margin-bottom:24px}.login{padding:35px 0}.login-card{padding:18px 0;width:360px}.login-card .brand{max-width:290px;margin-bottom:35px}.login-card h1{font-size:29px}.login-card form{margin-top:25px}}
/* Discreet EchoGest scrollbars on navigation and scrollable work areas. */
.erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav){scrollbar-width:thin;scrollbar-color:#7939ef55 transparent}
@supports selector(::-webkit-scrollbar){
 .erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav){scrollbar-width:auto;scrollbar-color:auto}
 .erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav)::-webkit-scrollbar{width:6px;height:6px}
 .erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav)::-webkit-scrollbar-track{background:transparent}
 .erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav)::-webkit-scrollbar-thumb{background:#7939ef55;border-radius:999px}
 .erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav)::-webkit-scrollbar-thumb:hover{background:#7939ef99}
 .erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav)::-webkit-scrollbar-button{display:none;width:0;height:0}
 .erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav)::-webkit-scrollbar-corner{background:transparent}
}
@media(forced-colors:active){.erp-v2 :is(.sidebar,.article-family-browser nav,.table-wrap,.tabs,.section-nav){scrollbar-width:auto;scrollbar-color:auto}}
/* Pagination integrated with the bottom edge of result tables. */
.erp-v2 .pagination{margin-top:0}.erp-v2 .pagination-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);margin-top:10px;padding:12px 0 0;min-width:0}.erp-v2 .pagination-summary{margin:0;color:var(--muted);font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.erp-v2 .pagination-summary strong{font-weight:500;color:var(--ink)}.erp-v2 .pagination-controls{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin:0;flex-shrink:0}.erp-v2 .pagination-page,.erp-v2 .pagination-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 5px;border:1px solid transparent;border-radius:6px;color:var(--muted);font-size:11px;font-weight:500;line-height:1;font-variant-numeric:tabular-nums}.erp-v2 a.pagination-page:hover,.erp-v2 a.pagination-arrow:hover{background:#f2edfc;color:var(--echo-purple)}.erp-v2 .pagination-page.is-current{background:#eee7ff;color:#7132d0;border-color:#dfd1fa;font-weight:650}.erp-v2 .pagination-arrow svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}.erp-v2 .pagination-arrow[aria-disabled=true]{opacity:.3}.erp-v2 .pagination-gap{display:inline-flex;align-items:center;justify-content:center;width:18px;height:30px;color:#9c95a7;font-size:12px}.erp-v2 .pagination-page:focus-visible,.erp-v2 .pagination-arrow:focus-visible{outline:2px solid var(--echo-purple);outline-offset:2px}
@media(max-width:640px){.erp-v2 .pagination-footer{flex-wrap:wrap;gap:8px}.erp-v2 .pagination-summary{font-size:10px}.erp-v2 .pagination-controls{margin-left:auto;gap:2px}.erp-v2 .pagination-page,.erp-v2 .pagination-arrow{min-width:28px;height:28px}}
/* Shared location trail, including lists, forms and consultation screens. */
.echo-breadcrumb{margin:0 0 20px;min-width:0}.echo-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;gap:4px 0;list-style:none;padding:0;margin:0}.echo-breadcrumb li{display:flex;align-items:center;gap:10px;min-width:0;font-size:14px;font-weight:500;line-height:1.6}.echo-breadcrumb a{color:#7d718c;text-decoration:none}.echo-breadcrumb a:hover{color:#7939ef}.echo-breadcrumb [aria-current=page]{color:#494252;font-weight:650;overflow-wrap:anywhere}.echo-breadcrumb-chevron{width:14px;height:20px;margin-left:10px;flex:none;color:#7939ef;fill:none;stroke-width:3.6;stroke-linecap:round;stroke-linejoin:round}.echo-breadcrumb a:focus-visible{outline:2px solid #7939ef;outline-offset:4px;border-radius:3px}.content>.page-heading .eyebrow,.content>.page-header .eyebrow,.content>.breadcrumb{display:none}.content>.page-heading,.content>.page-header{margin-top:0}@media(max-width:640px){.echo-breadcrumb{margin-bottom:14px}.echo-breadcrumb li{font-size:12px;gap:6px}.echo-breadcrumb-chevron{width:12px;margin-left:6px}}
/* Header controls share the compact EchoGest toolbar treatment. */
.erp-v2 .topbar{height:auto;min-height:64px;padding:12px 32px;gap:18px;background:#fff;border-bottom:1px solid #e9e1f4}.erp-v2 .topbar-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.erp-v2 .global-search{display:flex;align-items:center;gap:8px;width:100%;max-width:500px;min-width:0;height:34px;padding:2px 3px 2px 10px;margin:0;background:#faf8fe;border:1px solid #e9e1f4;border-radius:8px}.erp-v2 .global-search:focus-within{border-color:#c9b2ed;box-shadow:0 0 0 2px #7939ef0a}.erp-v2 .global-search>span{display:flex;align-items:center;color:#7954b2;flex:none}.erp-v2 .global-search svg,.erp-v2 .topbar-logout svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}.erp-v2 .global-search input{min-height:28px;height:28px;min-width:0;flex:1;width:auto;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;margin:0;padding:0;font-size:12px;color:#494252}.erp-v2 .global-search input::placeholder{color:#92879d}.erp-v2 .global-search button{display:grid;place-items:center;flex:none;width:28px;height:28px;min-height:28px;margin:0;padding:5px;border:0;border-radius:5px;background:transparent;color:#7954b2;cursor:pointer}.erp-v2 .global-search button:hover{background:#eee7fb;color:#7132d0}.erp-v2 .topbar-right{display:flex;align-items:center;gap:2px;flex:none;padding:2px;border:1px solid #e9e1f4;border-radius:8px;background:#faf8fe;font-size:12px;min-width:0}.erp-v2 .topbar-right form{display:flex;align-items:center;margin:0;border-left:1px solid #e9e1f4;padding-left:2px}.erp-v2 .topbar-right>.topbar-instance{display:flex;align-items:center;height:28px;margin:0;padding:0 9px;border:0;border-radius:0;background:transparent;color:#7954b2;font-size:10px;font-weight:600;letter-spacing:0;white-space:nowrap}.erp-v2 .topbar select{height:28px;min-height:28px;max-width:220px;width:auto;margin:0;border:0;border-radius:5px;padding:2px 6px;background:transparent;color:#7954b2;font-size:12px;cursor:pointer}.erp-v2 .topbar .topbar-logout{display:inline-flex;align-items:center;gap:6px;height:28px;min-height:28px;margin:0;padding:4px 9px;border:0;border-radius:5px;background:transparent;color:#7954b2;font-size:11px;font-weight:500;filter:none}.erp-v2 .topbar select:hover,.erp-v2 .topbar .topbar-logout:hover{background:#eee7fb;color:#7132d0}.erp-v2 .topbar button:focus-visible,.erp-v2 .topbar select:focus-visible{outline:2px solid #7939ef;outline-offset:1px}.erp-v2 .topbar .mobile-menu{height:34px;min-height:34px;padding:4px 8px;background:#faf8fe;border-color:#e9e1f4;color:#7954b2}@media(min-width:1650px){.erp-v2 .topbar{padding-left:45px;padding-right:45px}}@media(max-width:1100px){.erp-v2 .topbar{flex-wrap:wrap;gap:10px;padding:12px 20px}.erp-v2 .topbar-left{flex-basis:100%;min-width:0}.erp-v2 .global-search{max-width:none}.erp-v2 .topbar-right{margin-left:auto;max-width:100%;justify-content:flex-start}.erp-v2 .topbar select{max-width:180px}}@media(max-width:760px){.erp-v2 .topbar{padding:10px 16px}.erp-v2 .topbar-left{min-width:0}.erp-v2 .topbar-right{width:auto}.erp-v2 .global-search input{font-size:12px}}@media(max-width:420px){.erp-v2 .topbar-right{flex-wrap:wrap;width:100%;padding:3px}.erp-v2 .topbar-right>.topbar-instance{flex-basis:100%;justify-content:center;border-bottom:1px solid #e9e1f4;margin-bottom:2px;height:26px}.erp-v2 .topbar-right form:first-of-type{border-left:0;flex:1}.erp-v2 .topbar select{max-width:100%;width:100%;min-width:0}}
/* Location replaces global search and its separate content row. */
.erp-v2 .topbar .echo-breadcrumb{margin:0;min-width:0;max-width:100%}.erp-v2 .topbar .echo-breadcrumb ol{row-gap:2px}.erp-v2 .topbar .echo-breadcrumb li{font-size:13px}.erp-v2 .content{padding-top:24px}@media(min-width:761px){.erp-v2 .topbar-left{flex-basis:0}}@media(max-width:760px){.erp-v2 .topbar .echo-breadcrumb li{font-size:12px}.erp-v2 .content{padding-top:18px}}

/* Logo shares the header baseline; remove the former decorative top strip. */
.erp-v2 .sidebar{padding-top:0}.erp-v2 .sidebar>.brand{display:flex;align-items:center;height:64px;box-sizing:border-box;padding:0 13px;margin-top:0;margin-bottom:24px}.erp-v2 .sidebar>.brand .brand-image{margin:0}
.erp-v2 .topbar-right.user-topbar-right{border:0;background:transparent;padding:0;margin-left:auto;width:auto;flex:none}.header-user-tools{display:flex;align-items:center;gap:10px}.header-dropdown{position:relative}.header-round-control{display:grid;place-items:center;position:relative;width:34px;height:34px;border:1px solid #e9e1f4;border-radius:50%;background:#faf8fe;color:#7954b2;cursor:pointer;list-style:none;user-select:none}.header-round-control::-webkit-details-marker{display:none}.header-round-control:hover{background:#eee7fb}.header-round-control svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.profile-avatar{overflow:hidden;font-size:11px;font-weight:650;background:#eee7fb}.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}.notification-count{position:absolute;right:-5px;top:-5px;min-width:15px;height:15px;padding:0 3px;border-radius:9px;display:grid;place-items:center;background:#7939ef;border:1px solid white;color:white;font-size:9px;font-weight:600}.header-user-tools [hidden]{display:none!important}.header-popover{position:absolute;z-index:70;right:0;top:43px;width:300px;max-width:calc(100vw - 28px);max-height:min(650px,80vh);overflow-y:auto;padding:16px;background:#fff;border:1px solid #e4dced;border-radius:10px;box-shadow:0 12px 36px #36224b20;color:#494252}.header-popover header{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;padding:0}.header-popover h2{margin:0;font-size:15px}.header-popover .field-help{font-size:11px;margin:5px 0;color:#8c809a}.erp-v2 .topbar .header-popover form{display:block;padding:0;margin:0;border:0}.header-menu-link{font-size:11px;padding:0;border:0;color:#7954b2;background:transparent;cursor:pointer;text-align:left;text-decoration:none}.profile-photo-label{margin:6px 0 12px;font-weight:500}.profile-company{padding:12px 0;border-top:1px solid #eee8f5;border-bottom:1px solid #eee8f5;margin-bottom:8px}.profile-company .topbar-instance{display:inline-block;background:#f5f0ff;color:#7954b2;border-radius:5px;font-size:9px;letter-spacing:0;margin-bottom:8px;padding:4px 7px}.erp-v2 .topbar .profile-company select{display:block;box-sizing:border-box;width:100%;max-width:none;height:34px;margin:6px 0;background:#faf8fe;border:1px solid #e9e1f4;padding:4px 8px;font-size:12px}.profile-settings{display:flex;flex-direction:column}.profile-settings a,.header-menu-logout{display:flex;align-items:center;gap:10px;padding:10px 6px;font-size:12px;color:#655675;border-radius:6px}.profile-settings a:hover,.header-menu-logout:hover{background:#f5f0ff;color:#7939ef}.profile-settings svg,.header-menu-logout svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.header-menu-logout{width:100%;margin-top:10px;border:0;border-top:1px solid #eee8f5;border-radius:0;background:transparent;cursor:pointer;text-align:left}.notification-popover{width:350px}.notification-popover header .header-menu-link{margin-top:4px}.notification-item{padding:12px 0;border-top:1px solid #eee8f5;font-size:12px}.notification-title{font-weight:550;margin-bottom:5px;overflow-wrap:anywhere}.notification-item p{font-size:11px;margin:7px 0;color:#8c809a}.notification-state{font-size:10px;color:#7954b2;background:#f5f0ff;border-radius:4px;padding:3px 6px}.state-succeeded{color:#287459;background:#eaf7f0}.state-failed{color:#a23b43;background:#fff0f1}.notification-item.is-unread .notification-title::before{content:'•';margin-right:5px;color:#7939ef}.header-round-control:focus-visible{outline:2px solid #7939ef;outline-offset:3px}@media(max-width:760px){.erp-v2 .topbar-left{flex-basis:0;min-width:0}.erp-v2 .topbar{flex-wrap:nowrap}.header-popover{position:fixed;right:14px;top:70px;max-height:calc(100vh - 90px)}.header-user-tools{gap:7px}}

/* Active company stays visible beside notifications and profile. */
.header-user-tools{min-width:0}.header-user-tools>.header-dropdown{flex:none}
.active-company{display:flex;align-items:center;gap:9px;max-width:min(400px,35vw);min-width:0;padding:5px 12px;border:1px solid #e9e1f4;border-radius:8px;background:#faf8fe;color:#65537c;line-height:1.35}
.active-company-icon{display:flex;flex:none}.active-company-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.active-company-text{display:flex;flex-direction:column;min-width:0}.active-company-label{font-size:9px;letter-spacing:.06em;color:#8c809a}.active-company strong{display:block;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#494252}
@media(max-width:760px){.erp-v2 .topbar-right.user-topbar-right{width:100%;margin-left:0}.header-user-tools{width:100%;gap:8px}.active-company{flex:1;max-width:none;margin-right:auto;padding:5px 9px}.active-company strong{white-space:normal;overflow-wrap:anywhere}.active-company-label{font-size:9px}}
