
/* One workspace shell and component scale for Potok modules. */
:root{--potok-orange:#f26522;--potok-ink:#232323;--potok-muted:#747474;--potok-line:#e7e7e4;--potok-bg:#f6f6f5;--canvas:var(--potok-bg);--border:var(--potok-line);--ink:var(--potok-ink);--muted:var(--potok-muted);--blue:var(--potok-orange);--blue-light:#fff0e8;--orange:var(--potok-orange);--orange-dark:#d94f0e;--radius:10px}
body{background:var(--potok-bg);font-family:Arial,Helvetica,sans-serif}
.potok-workspace{min-height:100dvh;font-size:16px;line-height:1.5;color:var(--potok-ink);font-family:Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums}
.potok-header{display:flex;align-items:center;justify-content:space-between;gap:36px;min-height:120px;padding:28px 40px;background:#fff;border-bottom:1px solid var(--potok-line);position:relative;z-index:40}
.potok-brand{display:flex;align-items:center;gap:30px;min-width:0;text-decoration:none!important;color:var(--potok-ink)}
.potok-brand img{display:block;width:190px;height:auto;flex-shrink:0}
.potok-brand>span{font-size:24px;line-height:1.4;color:#55554f;max-width:600px}
.potok-brand strong{font-weight:700;color:var(--potok-ink);white-space:nowrap}
.potok-account-menu{position:relative;flex-shrink:0;z-index:45;max-width:35%}
.potok-account-menu summary{display:flex;align-items:center;gap:12px;padding:14px 0 14px 16px;list-style:none;cursor:pointer;font-size:22px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.potok-account-menu summary::-webkit-details-marker{display:none}
.potok-account-menu summary:focus-visible,.potok-workspace a:focus-visible,.potok-workspace button:focus-visible{outline:2px solid #7c8983;outline-offset:3px}
.potok-account-menu summary svg{width:20px;height:20px;flex-shrink:0}
.potok-account-menu[open] summary svg{transform:rotate(180deg)}
.potok-account-dropdown{position:absolute;right:0;top:calc(100% + 8px);width:310px;max-width:calc(100vw - 32px);padding:8px;background:#fff;border:1px solid var(--potok-line);border-radius:10px;box-shadow:0 12px 35px #00000014}
.potok-account-dropdown button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:16px;font-size:18px;line-height:1.4;border-radius:6px;color:var(--potok-ink)}
.potok-account-dropdown button:hover{background:#fff0e8;color:#d94f0e}
.potok-body{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:calc(100dvh - 120px)}
.potok-sidebar{padding:28px 20px;background:#fff;border-right:1px solid var(--potok-line);position:sticky;top:0;align-self:start;height:calc(100dvh - 120px);overflow:auto}
.potok-back{display:block;padding:10px 12px;margin-bottom:24px;color:#d94f0e;font-size:16px;font-weight:600;text-decoration:none!important;border-radius:7px}
.potok-back:hover{background:#fff0e8}
.potok-section{font-size:13px;line-height:1.5;font-weight:700;letter-spacing:.7px;color:var(--potok-muted);padding:0 12px;margin:0 0 18px;text-transform:uppercase}
.potok-sidebar nav{display:flex;flex-direction:column;gap:6px}
.potok-nav-item{display:flex;align-items:center;gap:12px;position:relative;border:0;padding:14px 12px;min-height:52px;border-radius:8px;font-size:16px;font-weight:500;line-height:1.4;color:#55554f;background:transparent;text-decoration:none!important}
.potok-nav-item svg{width:21px;height:21px;flex-shrink:0;color:inherit}
.potok-nav-item:hover{background:#f5f5f3;color:var(--potok-ink)}
.potok-nav-item.active{background:#fff0e8;color:#d94f0e;font-weight:700}
.potok-nav-item i{width:6px;height:6px;border-radius:50%;background:#bd3831;position:absolute;right:8px;top:12px}
.potok-main{min-width:0}
.potok-context{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 32px;border-bottom:1px solid var(--potok-line);background:#fff}
.potok-breadcrumb{display:flex;align-items:center;gap:12px;color:var(--potok-muted);font-size:14px;line-height:1.4;flex-wrap:wrap}
.potok-breadcrumb strong{font-weight:500;color:var(--potok-ink)}
.potok-refresh{font-size:14px;padding:8px 12px;min-height:38px;border:1px solid transparent;border-radius:7px;background:transparent;color:#55554f}
.potok-refresh:hover{background:#f5f5f3}
.potok-nav-toggle{display:none;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;padding:9px;color:var(--potok-ink);min-width:40px;min-height:40px}
.potok-nav-toggle svg{width:22px;height:22px}
.potok-shade{display:none}
.potok-content{padding:32px;max-width:1920px;margin:auto}
.potok-home-content{max-width:1700px;padding:48px;margin:auto}
/* Shared typography, forms, controls, tables and cards. */
.potok-workspace .page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.potok-workspace .page-heading h1{font-size:34px;line-height:1.2;letter-spacing:-.8px;font-weight:600;margin:0 0 12px;color:var(--potok-ink)}
.potok-workspace .page-heading h1:after{display:none}
.potok-workspace .eyebrow,.potok-workspace .kicker{font-size:12px;letter-spacing:1.3px;color:#d94f0e;font-weight:600;margin-bottom:10px}
.potok-workspace .page-heading p,.potok-workspace .page-heading .subtitle{font-size:16px;line-height:1.6;color:var(--potok-muted);margin:0}
.potok-workspace .heading-actions{padding:0;display:flex;gap:10px;flex-wrap:wrap;max-width:48%}
.potok-workspace .panel,.potok-workspace .employee-card,.potok-workspace .personal-accrual{border:1px solid var(--potok-line);border-radius:10px;background:#fff;box-shadow:none}
.potok-workspace .panel-head,.potok-workspace .panel-heading{padding:22px 24px}
.potok-workspace .panel-head h2,.potok-workspace .panel-heading h2{font-size:22px;font-weight:600;line-height:1.35;margin:0}
.potok-workspace .button,.potok-workspace .btn{font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;min-height:44px;padding:10px 16px;border-radius:8px;border:1px solid #dcdcd8;background:#fff;color:#454540;box-shadow:none;text-decoration:none}
.potok-workspace .button:hover,.potok-workspace .btn:hover{background:#f5f5f3;border-color:#babab4}
.potok-workspace .button.primary,.potok-workspace .btn.primary{background:var(--potok-orange);border-color:var(--potok-orange);color:#fff}
.potok-workspace .button.primary:hover,.potok-workspace .btn.primary:hover{background:#d94f0e;border-color:#d94f0e}
.potok-workspace .button.small,.potok-workspace .btn.small{min-height:36px;padding:7px 11px;font-size:14px}
.potok-workspace .btn.ghost,.potok-workspace .button.ghost{border-color:transparent;background:transparent}
.potok-workspace .btn.link{background:transparent;border:0;color:#d94f0e;min-height:0;padding:0}
.potok-workspace .btn.danger{color:#bd3831;border-color:#edcfc8}
.potok-workspace .filters label{font-size:14px;gap:8px}
.potok-workspace .filters input,.potok-workspace .filters select,.potok-workspace .toolbar input,.potok-workspace .toolbar select,.potok-workspace .search-input input{font-size:16px;height:44px;color:#454540;border-radius:7px}
.potok-workspace .toolbar label{font-size:14px!important}
.potok-workspace .tabs button,.potok-workspace .tabs .tab{font-size:16px}
.potok-workspace .view-line,.potok-workspace .segments button{font-size:14px}
.potok-workspace .badge{font-size:12px;line-height:1.4;padding:5px 8px;border-radius:5px}
.potok-workspace table{font-size:14px}
.potok-workspace th{font-size:12px;line-height:1.5;padding:16px;color:#74746c;letter-spacing:.4px;background:#fbfbf9}
.potok-workspace td{font-size:14px;padding:17px 16px;line-height:1.5;border-color:var(--potok-line)}
.potok-workspace td strong{font-size:15px}
.potok-workspace td small,.potok-workspace td a,.potok-workspace td .muted{font-size:13px}
.potok-workspace .person-head h2{font-size:20px;line-height:1.35}
.potok-workspace .person-head p,.potok-workspace .person-org,.potok-workspace .person-org span{font-size:14px;line-height:1.5}
.potok-workspace .contacts,.potok-workspace .contacts .muted{font-size:16px;line-height:1.5}
.potok-workspace .manager-line,.potok-workspace .manager-line span,.potok-workspace .manager-line b{font-size:14px;line-height:1.4}
.potok-workspace .person-footer{flex-wrap:wrap}
.potok-workspace .portrait{width:58px;height:58px;font-size:18px}
.potok-workspace .portrait.small{width:38px;height:38px;font-size:13px}
.potok-workspace .footer-note,.potok-workspace .form-note,.potok-workspace .test-notice{font-size:14px;line-height:1.6}
.potok-workspace .empty p{font-size:16px}
.potok-workspace .pay-kpis span,.potok-workspace .accrual-values span,.potok-workspace .personal-heading>span,.potok-workspace .accrual-foot{font-size:14px;line-height:1.5}
.potok-workspace .pay-kpis strong{font-size:32px;line-height:1.2}
.potok-workspace .accrual-values b{font-size:20px}
.potok-workspace .welcome-strip b{font-size:18px}.potok-workspace .welcome-strip span{font-size:15px;line-height:1.5}
/* Shared dialog scale, including employee and production editors. */
#editor,.dialog,.potok-account-dialog{border:1px solid var(--potok-line);border-radius:10px;box-shadow:0 24px 90px #00000026;color:var(--potok-ink);background:#fff}
#editor .editor-head h2,.dialog h2{font-size:24px}
#editor .field>span,#editor .field small,.dialog .field label,.dialog .field small{font-size:14px;line-height:1.5}
#editor .field input,#editor .field select,.dialog input,.dialog select,.dialog textarea{font-size:16px;min-height:44px;border-radius:7px}
#editor .button,.dialog .btn{font-size:16px;min-height:44px;border-radius:8px}
#editor .form-note,#editor .form-error{font-size:14px;line-height:1.6}
.potok-account-dialog{padding:0;width:640px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);font-family:Arial,Helvetica,sans-serif}
.potok-account-dialog::backdrop{background:#29272270;backdrop-filter:blur(2px)}
.potok-account-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid var(--potok-line)}
.potok-account-dialog h2{margin:0;font-size:24px;line-height:1.3;color:var(--potok-ink)}
.potok-account-dialog header button{font-size:28px;width:40px;height:40px;flex-shrink:0;background:transparent;border:0;border-radius:7px;color:var(--potok-muted)}
.potok-account-dialog header button:hover{background:#f5f5f3}
.potok-account-dialog dl{display:grid;gap:24px;margin:0;padding:28px}
.potok-account-dialog dt{font-size:16px;line-height:1.5;color:var(--potok-muted);margin-bottom:8px}
.potok-account-dialog dd{margin:0;font-size:21px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:1200px){.potok-header{padding:24px 30px;gap:24px}.potok-brand{gap:22px}.potok-brand img{width:150px}.potok-brand>span{font-size:21px}.potok-account-menu summary{font-size:20px}.potok-body{grid-template-columns:245px minmax(0,1fr)}.potok-sidebar{padding:24px 14px}.potok-nav-item{font-size:15px}.potok-content{padding:26px}.potok-home-content{padding:32px}.potok-workspace .heading-actions{max-width:100%}.potok-workspace .page-heading{flex-wrap:wrap;align-items:flex-start}.potok-workspace .employee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.potok-body{display:block;min-height:0}.potok-sidebar{position:fixed;inset:0 auto 0 0;width:280px;max-width:calc(100vw - 50px);height:100dvh;transform:translateX(-100%);z-index:70;transition:transform .18s}.potok-nav-open .potok-sidebar{transform:translateX(0)}.potok-nav-open .potok-shade{display:block;position:fixed;inset:0;background:#29272270;border:0;z-index:65}.potok-nav-toggle{display:inline-flex}.potok-context{padding:12px 20px;gap:12px}.potok-breadcrumb{margin-right:auto}.potok-breadcrumb>span:first-child,.potok-breadcrumb>span:nth-child(2){display:none}.potok-content{padding:24px}.potok-workspace .page-heading h1{font-size:30px}}
@media(max-width:700px){.potok-header{padding:22px 24px;flex-wrap:wrap;gap:12px;min-height:0}.potok-brand{gap:18px;width:100%;align-items:center}.potok-brand img{width:100px}.potok-brand>span{font-size:19px}.potok-account-menu{margin-left:auto;max-width:100%}.potok-account-menu summary{font-size:20px;padding:8px 0}.potok-home-content,.potok-content{padding:24px 16px}.potok-context{padding:10px 12px}.potok-workspace .page-heading h1{font-size:29px}.potok-workspace .page-heading p{font-size:16px}.potok-workspace .heading-actions{width:100%;max-width:100%}.potok-workspace .employee-grid{grid-template-columns:1fr}.potok-workspace .person-head h2{font-size:20px}.potok-workspace .pay-kpis strong{font-size:25px}.potok-workspace .accrual-values b{font-size:18px}.potok-workspace .welcome-strip{flex-direction:column;align-items:flex-start}.potok-account-dialog header{padding:20px}.potok-account-dialog dl{padding:24px 20px}.potok-account-dialog h2{font-size:22px}.potok-account-dialog dd{font-size:19px}}
@media(prefers-reduced-motion:reduce){.potok-sidebar{transition:none}}

.potok-workspace .payroll-filters input,.potok-workspace .payroll-filters select{font-size:16px;min-height:44px}

/* Context is part of the header; mobile navigation remains in reach. */
.potok-header-controls{display:flex;align-items:center;justify-content:flex-end;gap:16px;max-width:38%;min-width:0}
.potok-header-controls .potok-account-menu{max-width:100%;min-width:0;flex-shrink:1}
.potok-header-controls .potok-nav-toggle{flex-shrink:0}
@media(max-width:900px){.potok-header-controls{max-width:45%}}
@media(max-width:700px){.potok-header-controls{width:100%;max-width:none;justify-content:space-between;gap:16px}.potok-header-controls .potok-account-menu{margin-left:auto}.potok-header-controls .potok-nav-toggle{margin-left:-8px}}

/* Compact persistent navigation shared by all modules. */
:root{--potok-header-height:60px}
.potok-header{position:sticky;top:0;z-index:80;display:flex;flex-wrap:nowrap;height:var(--potok-header-height);min-height:var(--potok-header-height);box-sizing:border-box;padding:0 24px;gap:24px}
.potok-brand{flex:0 0 auto;width:auto;gap:0}
.potok-brand img{width:95px;height:auto}
.potok-module-nav{display:flex;align-items:stretch;align-self:stretch;flex:1;min-width:0;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.potok-module-link{display:flex;align-items:center;flex:0 0 auto;padding:0 12px;border-bottom:3px solid transparent;border-top:3px solid transparent;text-decoration:none!important;color:#62625c;font-size:14px;line-height:1.2;font-weight:600;white-space:nowrap}
.potok-module-link:hover{color:#d94f0e;background:#fff8f3}
.potok-module-link.active{color:#d94f0e;border-bottom-color:#f26522;background:#fff4ec}
.potok-header-controls{flex:0 0 auto;width:auto;max-width:210px;gap:8px}
.potok-header-controls .potok-account-menu{margin-left:0;max-width:100%;min-width:0}
.potok-account-menu summary{font-size:14px;line-height:1.3;padding:8px 0;gap:8px;min-height:40px;box-sizing:border-box}
.potok-account-menu summary [data-potok-name]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.potok-account-menu summary svg{width:16px;height:16px}
.potok-account-dropdown{top:calc(100% + 10px)}
.potok-account-dropdown button{font-size:15px;padding:12px}
.potok-body{min-height:calc(100dvh - var(--potok-header-height))}
.potok-sidebar{top:var(--potok-header-height);height:calc(100dvh - var(--potok-header-height));padding-top:20px;box-sizing:border-box}
.potok-no-sidebar .potok-body{grid-template-columns:minmax(0,1fr)}
.potok-no-sidebar .potok-sidebar{display:none}
@media(max-width:1200px){.potok-header{gap:14px;padding:0 18px}.potok-brand img{width:75px}.potok-module-link{padding-inline:10px;font-size:13px}.potok-header-controls{max-width:155px}}
@media(max-width:900px){.potok-header{gap:10px;padding-inline:12px}.potok-header-controls{max-width:150px}.potok-sidebar{inset:var(--potok-header-height) auto 0 0;height:calc(100dvh - var(--potok-header-height))}.potok-nav-open .potok-shade{top:var(--potok-header-height)}.potok-header-controls .potok-nav-toggle{margin:0;min-width:32px;min-height:36px;padding:5px}.potok-module-link{padding-inline:9px}}
@media(max-width:700px){.potok-header{padding-inline:10px;gap:8px}.potok-brand img{width:50px}.potok-header-controls{width:auto;max-width:104px;gap:4px}.potok-account-menu summary{font-size:12px;gap:4px}.potok-account-menu summary [data-potok-name]{max-width:54px}.potok-module-link{font-size:12px;padding-inline:9px}.potok-header-controls .potok-account-menu{margin:0}.potok-account-dropdown{position:fixed;right:10px;top:58px}}

/* Proposals registry */
.proposals-page{max-width:1280px;margin:0 auto}.proposals-panel{overflow:hidden}.proposal-toolbar{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--potok-line)}.proposal-toolbar h2{font-size:21px;margin:0;display:flex;gap:10px;align-items:center}.proposal-toolbar p{font-size:14px;color:#747474;margin:8px 0 0}.proposal-count{font-size:13px;background:#f3f3f0;color:#55554f;border-radius:6px;padding:3px 9px}.proposal-filters{display:flex;gap:12px}.proposal-filters label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#55554f}.proposal-filters input,.proposal-filters select{box-sizing:border-box;max-width:100%;min-height:44px;border:1px solid #dcdcd8;border-radius:8px;background:#fff;padding:10px 12px;font:inherit;font-size:14px;color:#232323}.proposal-filters input{width:260px}.proposal-results{padding:16px 24px 0;color:#747474;font-size:13px}.proposal-list{padding:20px 24px 24px;display:grid;gap:16px}.proposal-card{border:1px solid var(--potok-line);border-radius:10px;padding:24px;background:#fff}.proposal-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.proposal-author{display:flex;gap:12px;align-items:center;min-width:0}.proposal-avatar{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:#f4f3ef;color:#66665e;font-weight:600;font-size:14px}.proposal-author h3{font-size:16px;margin:0;overflow-wrap:anywhere}.proposal-author p{font-size:13px;color:#747474;margin:5px 0 0}.proposal-status{font-size:12px;color:#a94b16;background:#fff0e8;padding:6px 10px;border-radius:6px;flex-shrink:0}.proposal-text{font-size:16px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0 0;color:#333}.proposal-attachments{border-top:1px solid #efefec;margin-top:20px;padding-top:16px}.proposal-files-label{font-size:12px;color:#747474}.proposal-attachments>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.proposal-file{display:flex;align-items:center;gap:12px;border:1px solid #e7e7e4;border-radius:8px;padding:10px 14px;color:#454540;text-decoration:none;font-size:14px;max-width:100%;overflow-wrap:anywhere;box-sizing:border-box}.proposal-file:hover{background:#fff7f2;border-color:#efbda4}.proposal-file>span:first-child{color:#d94f0e;font-size:22px}.proposal-file small{display:block;color:#747474;font-size:12px;margin-top:3px}.proposal-empty{text-align:center;padding:56px 20px;color:#747474}.proposal-empty h3{color:#232323;font-size:20px;margin:14px 0 8px}.proposal-empty p{margin:0 auto 18px;max-width:440px;line-height:1.6}.proposal-empty-icon{font-size:36px;color:#d94f0e}.proposal-filters :focus-visible{outline:2px solid #7c8983;outline-offset:2px}
@media(max-width:1000px){.proposal-toolbar{align-items:stretch;flex-direction:column}.proposal-filters label{flex:1}.proposal-filters input{width:100%}}
@media(max-width:600px){.proposal-toolbar{padding:18px}.proposal-filters{flex-direction:column}.proposal-list{padding:16px}.proposal-results{padding-left:18px}.proposal-card{padding:16px}.proposal-card-head{flex-direction:column}.proposal-status{margin-left:56px}.proposal-text{font-size:15px}.proposal-file{width:100%}}
/* Unified navigation for the existing application. Content controls stay local. */
.potok-unified{--potok-sidebar-width:270px;--potok-header-height:64px;min-height:100dvh}
.potok-unified [hidden]{display:none!important}
.potok-unified .potok-header{height:var(--potok-header-height);min-height:var(--potok-header-height);padding:0 24px 0 16px;gap:24px;z-index:80}
.potok-brand-group{display:flex;align-items:center;gap:17px;min-width:0}
.potok-unified .potok-nav-toggle{display:inline-flex;flex:none;width:36px;height:36px;min-width:36px;min-height:36px;padding:8px;margin:0;color:#647068}
.potok-unified .potok-nav-toggle:hover{background:#f2f5f2}
.potok-unified .potok-nav-toggle svg{width:20px;height:20px}
.potok-unified .potok-brand{gap:15px;width:auto;flex:none}
.potok-unified .potok-brand img{width:76px;height:auto}
.potok-unified .potok-brand strong{font-size:22px;font-weight:600;letter-spacing:-.5px;line-height:1.2;color:#2e3a32}
.potok-unified .potok-brand .potok-brand-divider{display:block;max-width:none;width:1px;height:24px;background:#e6e9e6;flex:none}
.potok-unified .potok-header-controls{width:auto;max-width:min(40%,320px);flex:0 1 auto;gap:0;margin-left:auto}
.potok-unified .potok-account-menu{max-width:100%;margin:0}
.potok-unified .potok-account-menu summary{font-size:14px;font-weight:500;gap:10px;padding:6px 8px;border-radius:8px;min-height:40px}
.potok-unified .potok-account-menu summary:hover{background:#f5f7f4}
.potok-unified .potok-account-menu summary [data-potok-name]{max-width:250px}
.potok-unified .potok-account-menu summary svg{width:14px;height:14px}
.potok-avatar{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:50%;background:#edf0ea;font-size:11px;color:#687765;font-weight:600}
.potok-unified .potok-account-dropdown{width:260px;top:calc(100% + 9px)}
.potok-unified .potok-account-dropdown button{font-size:14px;padding:11px 12px}
.potok-unified .potok-body{display:grid;grid-template-columns:var(--potok-sidebar-width) minmax(0,1fr);min-height:calc(100dvh - var(--potok-header-height));transition:grid-template-columns .16s ease}
.potok-unified .potok-sidebar{position:sticky;inset:auto;top:var(--potok-header-height);height:calc(100dvh - var(--potok-header-height));width:auto;max-width:none;align-self:start;padding:18px 10px;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;background:#fff;border-right:1px solid var(--potok-line);transform:none;z-index:50;scrollbar-width:thin;scrollbar-color:#dce2dd transparent;overscroll-behavior:contain}
.potok-unified .potok-sidebar nav{display:flex;flex-direction:column;gap:4px}
.potok-tree-section{min-width:0}
.potok-tree-section.is-divider{margin-top:12px;padding-top:13px;border-top:1px solid var(--potok-line)}
.potok-tree-row{display:flex;align-items:center;gap:1px;min-height:44px;padding-right:4px;border-radius:8px}
.potok-tree-row:hover{background:#f6f8f5}
.potok-tree-parent{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;padding:9px 11px;font:inherit;font-size:14px;line-height:1.35;text-align:left;border:0;border-radius:8px;background:transparent;color:#59675d;text-decoration:none!important;cursor:pointer}
.potok-tree-parent>svg{width:19px;height:19px;flex:none;color:#7c887f}
.potok-tree-label{flex:1;min-width:0;overflow-wrap:normal}
.potok-tree-chevron{display:flex;align-items:center;flex:none}
.potok-tree-chevron svg{width:11px;height:11px;transition:transform .16s ease;color:#839085}
.potok-tree-section.is-open .potok-tree-chevron svg{transform:rotate(90deg)}
.potok-tree-row.is-current{background:#fff0e7}
.potok-tree-row.is-current .potok-tree-parent{color:#ad4e23;font-weight:600}
.potok-tree-row.is-current .potok-tree-parent>svg{color:#e77038}
.potok-tree-more{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:#869389;cursor:pointer}
.potok-tree-more svg{width:19px;height:19px}
.potok-tree-more:hover,.potok-tree-more[aria-expanded=true]{background:#e6eae480;color:#3f5145}
.potok-pinned{display:flex;align-items:center;flex:none;color:#b8a88e}
.potok-pinned svg{width:11px;height:11px}
.potok-tree-children{display:flex;flex-direction:column;gap:3px;margin:5px 10px 12px 21px;padding-left:15px;border-left:1px solid #e5eae5}
.potok-tree-child{display:block;position:relative;border-radius:6px;text-decoration:none!important;font-size:13px;line-height:1.4;color:#687a6d;padding:9px 12px;min-height:36px;box-sizing:border-box}
.potok-tree-child:hover{background:#f4f7f2;color:#314c3b}
.potok-tree-child.active{background:#fff6ef;color:#aa4e26;font-weight:600}
.potok-tree-child.active:before{content:'';position:absolute;left:-17px;top:50%;transform:translateY(-50%);width:3px;height:16px;background:#ee7a3f;border-radius:3px}
.potok-unified .potok-content{max-width:none;padding:28px 32px}
.potok-unified .potok-main:focus{outline:none}
.potok-unified .page-heading h1{font-size:30px;margin-bottom:8px}
.potok-unified .page-heading p,.potok-unified .page-heading .subtitle{font-size:14px}
.potok-unified .page-heading{margin-bottom:24px}
.potok-unified .page-heading .eyebrow,.potok-unified .page-heading .kicker{display:none}
.potok-unified .heading-actions{max-width:100%}
.potok-unified.potok-nav-collapsed{--potok-sidebar-width:72px}
.potok-nav-collapsed .potok-tree-row{padding-right:0}
.potok-nav-collapsed .potok-tree-parent{justify-content:center;padding:12px 0}
.potok-nav-collapsed .potok-tree-label,.potok-nav-collapsed .potok-tree-chevron,.potok-nav-collapsed .potok-tree-more,.potok-nav-collapsed .potok-pinned{display:none}
.potok-nav-collapsed .potok-tree-flyout .potok-tree-more{display:inline-flex}
.potok-nav-collapsed .potok-tree-section{margin-bottom:4px}
.potok-tree-flyout,.potok-tree-context{position:fixed;z-index:90;width:265px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 80px);overflow-y:auto;padding:8px;border:1px solid #e0e6df;border-radius:10px;background:#fff;box-shadow:0 12px 36px #20342520;box-sizing:border-box}
.potok-tree-context{z-index:95;width:244px}
.potok-flyout-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 12px;margin-bottom:7px;border-bottom:1px solid #edf0eb;color:#3d5143;font-size:14px}
.potok-flyout-heading strong{font-weight:600}
.potok-tree-flyout .potok-tree-child{margin:3px 0}
.potok-tree-flyout .potok-tree-child.active:before{display:none}
.potok-context-caption{padding:8px 11px 6px;font-size:11px;line-height:1.5;color:#758477}
.potok-tree-context [role=menuitem]{display:flex;align-items:center;gap:9px;width:100%;padding:11px;font:inherit;font-size:13px;line-height:1.4;text-align:left;color:#425c49;border:0;border-radius:6px;background:none;text-decoration:none!important;box-sizing:border-box;cursor:pointer}
.potok-tree-context [role=menuitem]:hover{background:#f4f7f2}
.potok-tree-context svg{width:16px;height:16px;flex:none;color:#859580}
.potok-nav-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.potok-skip{position:fixed;top:-100px;left:12px;background:#fff;padding:10px 16px;border-radius:6px;z-index:110}
.potok-skip:focus{top:10px}
@media(min-width:1600px){.potok-unified .potok-content{padding:32px 40px}}
@media(max-width:1200px){.potok-unified{--potok-sidebar-width:256px}.potok-unified .potok-content{padding:24px}.potok-tree-parent{font-size:13px}.potok-unified .potok-header{padding-right:18px}}
@media(max-width:900px){
 .potok-unified .potok-body{display:block}
 .potok-unified .potok-sidebar{position:fixed;inset:var(--potok-header-height) auto 0 0;width:270px;max-width:calc(100vw - 48px);height:calc(100dvh - var(--potok-header-height));transform:translateX(-100%);transition:transform .16s ease;z-index:75;box-shadow:8px 0 32px #253b2914}
 .potok-unified.potok-nav-open .potok-sidebar{transform:translateX(0)}
 .potok-unified.potok-nav-open .potok-shade{display:block;position:fixed;inset:var(--potok-header-height) 0 0;z-index:70;background:#233b3040;border:0}
 .potok-unified .potok-content{padding:24px 20px}
 .potok-nav-collapsed .potok-tree-parent{justify-content:flex-start;padding:9px 11px}
 .potok-nav-collapsed .potok-tree-row{padding-right:4px}
 .potok-nav-collapsed .potok-tree-label{display:block}
 .potok-nav-collapsed .potok-tree-chevron,.potok-nav-collapsed .potok-tree-more,.potok-nav-collapsed .potok-pinned{display:inline-flex}
 .potok-nav-collapsed .potok-tree-section{margin-bottom:0}
 .potok-tree-parent{font-size:14px}
 .potok-tree-flyout{display:none!important}
}
@media(max-width:600px){
 .potok-unified{--potok-header-height:60px}
 .potok-unified .potok-header{padding:0 10px;gap:10px}
 .potok-brand-group{gap:10px}
 .potok-unified .potok-brand{gap:10px}
 .potok-unified .potok-brand img{width:64px}
 .potok-unified .potok-brand strong{font-size:20px}
 .potok-unified .potok-header-controls{max-width:70px}
 .potok-unified .potok-account-menu summary{gap:0;padding:4px}
 .potok-unified .potok-account-menu [data-potok-name],.potok-unified .potok-account-menu summary>svg{display:none}
 .potok-unified .potok-account-dropdown{position:fixed;top:56px;right:10px}
 .potok-unified .potok-content{padding:22px 16px}
 .potok-unified .page-heading h1{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.potok-unified .potok-body,.potok-unified .potok-sidebar,.potok-tree-chevron svg{transition:none}}

