@font-face{font-family:Vazirmatn;font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/vazirmatn-arabic-400.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/vazirmatn-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-200B,U+2010-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/vazirmatn-arabic-600.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/vazirmatn-latin-600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-200B,U+2010-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/vazirmatn-arabic-700.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/vazirmatn-latin-700.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-200B,U+2010-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root{--canvas:#f6f7f2;--surface:#fff;--ink:#263b35;--muted:#7d8981;--line:#e8ece5;--sage:#6c8971;--sage-dark:#263f36;--mint:#edf4e8;--peach:#f9eadb;--lavender:#ece9f5;--sand:#f4efdc;--radius:20px;--shadow:0 5px 25px #253b3504;--font:'Vazirmatn',Tahoma,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font:13px/1.9 var(--font);direction:rtl}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}input,select,textarea{outline:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a6b88b;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}svg{display:block;flex-shrink:0}h1,h2,h3,h4,p{margin:0}button svg,.icon{width:19px;height:19px}::selection{background:#dce9c7;color:#273e31}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell{min-height:100vh}.sidebar{position:fixed;inset:0 0 0 auto;width:238px;background:#294238;color:#c7d4c9;display:flex;flex-direction:column;padding:32px 20px 19px;z-index:40;overflow:auto;border-left:1px solid #20382f}.brand{display:flex;align-items:center;gap:12px;padding:0 15px 32px;color:#fff}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:#dce9bd;color:#294238;border-radius:13px;transform:rotate(-7deg);box-shadow:0 3px 5px #12281c14}.brand-mark svg{width:24px;height:24px;transform:rotate(7deg)}.brand-name{font-size:24px;font-weight:800;letter-spacing:-1px;line-height:1.4}.brand-name small{display:block;letter-spacing:0;font-size:9px;font-weight:400;color:#a6bdac;margin-top:2px}.sidebar-caption{font-size:10px;color:#8da393;margin:12px 15px 10px;letter-spacing:.25px}.nav-list{display:flex;flex-direction:column;gap:5px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;text-align:right;border:0;background:transparent;border-radius:12px;padding:11px 14px;color:#b9ccbf;line-height:1.7;transition:background .15s,color .15s}.nav-item:hover{background:#ffffff0a;color:#fff}.nav-item.active{background:#dce9bd;color:#263e31;font-weight:700;box-shadow:0 5px 14px #182c251a}.nav-icon{width:19px;height:19px;display:grid;place-items:center;opacity:.9}.nav-icon svg{width:19px;height:19px}.nav-text{flex:1}.nav-badge{font-size:10px;line-height:1.3;min-width:20px;padding:3px 5px;text-align:center;border-radius:6px;background:#ffffff12;color:#d9e6db}.nav-item.active .nav-badge{background:#27443613;color:#294238}.sidebar-foot{margin-top:auto;padding:25px 11px 1px}.sidebar-foot:before{content:'';display:block;height:1px;background:#ffffff12;margin-bottom:18px}.sidebar-foot .avatar{margin-left:9px}.avatar,.user-avatar,.person-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e9efdc;color:#506646;font-weight:700;flex-shrink:0}.avatar{width:37px;height:37px;font-size:12px}.sidebar-foot .row-title{color:#e9f0eb;font-size:11px}.sidebar-foot .row-subtitle{color:#90a798;font-size:9px}.sidebar-foot>div{display:flex;align-items:center}.workspace{margin-right:238px;min-height:100vh}.topbar{height:89px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#fafbf7;position:relative;z-index:20}.topbar-start,.topbar-end{display:flex;align-items:center;gap:15px}.company-switch{display:flex;align-items:center;gap:11px}.company-switch:before{content:'';width:7px;height:7px;background:#8bac68;box-shadow:0 0 0 4px #edf3e6;border-radius:50%}.company-switch select{max-width:220px;min-width:145px;border:0;background:transparent;color:#344b3e;font-weight:600;padding:5px 0 5px 22px;cursor:pointer;font-size:12px}.date-label{font-size:10px;color:#839180;border-left:1px solid #e2e7dc;padding-left:19px;line-height:1.8}.icon-button,.close-button{border:1px solid #e3e9dc;border-radius:11px;background:#fff;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;color:#75866f;position:relative;transition:.15s}.icon-button:hover,.close-button:hover{background:#edf3e5;border-color:#d4dfc9}.icon-button svg{width:17px;height:17px}.icon-button .status-dot{position:absolute;top:7px;left:8px;width:5px;height:5px;border-radius:50%;background:#cf885f;box-shadow:0 0 0 2px #fff}.user-avatar{width:35px;height:35px;background:#e4e9db;border:3px solid #fff;font-size:11px}.demo-banner{display:flex;align-items:center;justify-content:center;gap:8px;min-height:32px;background:#f0eddc;color:#8b8052;font-size:10px;padding:5px 20px;border-bottom:1px solid #e7e1c8}.demo-banner svg{width:13px;height:13px}.page{padding:29px 40px 50px;max-width:1660px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:20px}.eyebrow{color:#8d997e;font-size:10px;display:flex;align-items:center;gap:7px;margin-bottom:4px}.eyebrow:before{content:'';width:15px;height:1px;background:#b0bda1}.page-title{font-size:25px;font-weight:700;line-height:1.6;letter-spacing:-.9px}.page-subtitle{color:#889181;font-size:11px;margin-top:3px}.heading-actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:10px;background:#fff;min-height:38px;padding:8px 15px;line-height:1.7;font-size:11px;font-weight:500;white-space:nowrap;transition:background .15s,transform .15s,border-color .15s}.btn:hover{background:#f4f6ef;transform:translateY(-1px);border-color:#cfdbc3}.btn.primary{background:#31513c;color:#fff;border-color:#31513c;box-shadow:0 4px 8px #31513c11}.btn.primary:hover{background:#42634a}.btn.secondary{background:#fafbf6;border-color:#dfe6d6;color:#5f7355}.btn.small{min-height:29px;padding:4px 9px;font-size:10px;border-radius:8px}.btn.small svg{width:14px;height:14px}.btn.danger{background:#fff6f2;border-color:#ecd6cf;color:#a66250}.btn.ghost{border-color:transparent;background:transparent;color:#708566;box-shadow:none}.btn.ghost:hover{background:#edf2e7}.btn svg{width:16px;height:16px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.stat-card{position:relative;overflow:hidden;border:1px solid var(--line);background:#fff;padding:19px 21px 16px;border-radius:var(--radius);box-shadow:var(--shadow);min-height:145px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-label{font-size:11px;font-weight:500;color:#6e7e69}.stat-value{font-size:32px;line-height:1.7;font-weight:700;letter-spacing:-1.5px;margin-top:3px;display:block;font-variant-numeric:tabular-nums}.stat-foot{display:flex;align-items:center;gap:5px;font-size:9px;color:#9aa18f;margin-top:1px}.stat-foot .positive{color:#759455}.stat-icon{display:flex;justify-content:center;align-items:center;width:36px;height:36px;border-radius:12px;background:#edf3e5;color:#849c68}.stat-icon svg{width:18px;height:18px}.stat-icon.sage{background:#edf4e8;color:#7c9669}.stat-icon.peach{background:#fff0e3;color:#c89a77}.stat-icon.lavender{background:#f0edf9;color:#a598c5}.stat-icon.sand{background:#f5f0dd;color:#b6a460}.stat-card:after{content:'';position:absolute;width:85px;height:42px;border-radius:5px;bottom:-14px;left:15px;background:linear-gradient(90deg,#dce9be11,#dce9be3d);transform:rotate(-15deg);pointer-events:none}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:21px;margin-bottom:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:21px 22px;min-width:0;box-shadow:var(--shadow)}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:22px}.panel-title{font-size:13px;font-weight:700;line-height:1.8}.panel-subtitle{font-size:9px;color:#9aa18e;margin-top:2px}.tag{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:3px 8px;font-size:9px;line-height:1.7;background:#f1f3ec;color:#849075;white-space:nowrap}.tag.success{background:#edf5e8;color:#7a985b}.tag.warning{background:#fff3e1;color:#b89954}.tag.danger{background:#fcece6;color:#bb8877}.tag.neutral{background:#f1f2ed;color:#919783}.tag.info{background:#eeedf8;color:#9990b9}.chart-wrap{position:relative;min-height:196px;padding-top:8px}.bar-chart{height:180px;display:flex;align-items:flex-end;gap:12px;border-bottom:1px solid #f0f2ec;padding:8px 5px 23px;background:repeating-linear-gradient(to top,transparent 0,transparent 43px,#f1f3ed 44px,#f1f3ed 45px);direction:ltr}.bar-column{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:0;position:relative;min-width:10px}.bar-fill{width:100%;max-width:32px;min-height:3px;border-radius:5px 5px 1px 1px;background:#e9efdf;position:relative;transition:height .5s}.bar-column:nth-child(3n) .bar-fill{background:#dce7cc}.bar-column:nth-child(4n) .bar-fill{background:#e0e6ce}.bar-column.highlight .bar-fill,.bar-column:nth-child(6) .bar-fill{background:#e3b28a}.bar-fill:after{content:attr(data-value);position:absolute;font-size:8px;color:#91a47d;top:-21px;left:50%;transform:translateX(-50%);opacity:0}.bar-column:hover .bar-fill:after{opacity:1}.bar-label{position:absolute;bottom:-21px;left:50%;transform:translateX(-50%);font-size:8px;color:#9ca58f;white-space:nowrap;direction:rtl}.workforce-list{display:flex;flex-direction:column;gap:15px;margin-top:4px}.workforce-row{display:flex;flex-direction:column;gap:6px}.workforce-meta{display:flex;justify-content:space-between;font-size:10px;color:#7e8b72;gap:10px}.workforce-meta strong{font-weight:500;color:#546c46;font-size:11px}.progress-track{height:7px;border-radius:12px;background:#f3f5ed;overflow:hidden}.progress-fill{height:100%;background:#b9cc9f;border-radius:12px;transition:width .45s}.workforce-row:nth-child(2) .progress-fill{background:#d4be9b}.workforce-row:nth-child(3) .progress-fill{background:#c6bfdb}.workforce-row:nth-child(4) .progress-fill{background:#d9d2a6}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:29px 0 16px;gap:14px}.section-heading h2{font-size:14px;font-weight:700;display:flex;gap:9px;align-items:center}.section-note{font-size:10px;color:#949d88}.module-count{font-size:9px;border:1px solid #dfe6d5;color:#91a278;background:#f4f7ed;border-radius:6px;padding:1px 6px;font-weight:400}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:24px}.quick-card{border:1px solid #e6ebdd;border-radius:16px;background:#fff;text-align:right;padding:16px 16px 14px;position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:143px;transition:transform .18s,border-color .18s,box-shadow .18s;overflow:hidden}.quick-card:hover{transform:translateY(-3px);border-color:#bdcdab;box-shadow:0 7px 20px #374f2810}.quick-icon{width:33px;height:33px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#edf3e5;color:#8b9e73;margin-bottom:11px}.quick-icon svg{width:17px;height:17px}.quick-card:nth-child(4n+2) .quick-icon{background:#fcf0e4;color:#bf9a75}.quick-card:nth-child(4n+3) .quick-icon{background:#efedf8;color:#aa9fc4}.quick-card:nth-child(4n+4) .quick-icon{background:#f3f0de;color:#b6aa70}.quick-title{font-size:11px;font-weight:600;line-height:1.7;color:#42573c}.quick-description{font-size:9px;color:#9aa18e;line-height:1.8;margin-top:5px;max-width:90%}.quick-arrow{position:absolute;left:15px;top:20px;color:#b5bea7}.quick-arrow svg{width:14px;height:14px}.action-list{display:flex;flex-direction:column}.action-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f0f2ec;gap:9px;min-height:58px}.action-row:first-child{padding-top:0}.action-row:last-child{border-bottom:0;padding-bottom:0}.action-person{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.person-avatar{width:33px;height:33px;font-size:10px;border:3px solid #f9faf5;background:#e9eddc;color:#8c9a69}.action-row:nth-child(2) .person-avatar{background:#f5e8db;color:#bda17c}.action-row:nth-child(3) .person-avatar{background:#ebe7f1;color:#a799bb}.action-row:nth-child(4) .person-avatar{background:#f0ecd8;color:#b4a66d}.person-meta{min-width:0}.row-title{font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.8;max-width:260px}.row-subtitle{font-size:9px;color:#9aa28d;line-height:1.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.empty-state{min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;color:#8a977a;gap:8px}.empty-state h3{font-size:13px;font-weight:600;color:#5e7350}.empty-state p{font-size:11px;max-width:400px}.empty-icon{width:50px;height:50px;border-radius:15px;display:flex;justify-content:center;align-items:center;background:#f0f5e8;color:#a0b385;margin-bottom:4px}.empty-icon svg{width:25px;height:25px}.loading-state{min-height:360px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#98a287;font-size:11px}.spinner{border:2px solid #e4ebd8;border-top-color:#8da56f;width:28px;height:28px;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.search-box{position:relative;display:flex;align-items:center;flex:1;max-width:370px}.search-box>svg{position:absolute;right:13px;width:16px;height:16px;color:#a4ae97;pointer-events:none}.search-box input{width:100%;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 38px 9px 12px;min-height:39px;font-size:11px;color:#627751}.search-box input::placeholder{color:#adb5a0}.filter-select{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 12px;color:#7a8a67;font-size:11px;min-height:39px;max-width:180px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:15px;background:#fff}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:right;font-size:11px}th{background:#f8faf4;color:#929f80;font-size:10px;font-weight:500;padding:15px 17px;border-bottom:1px solid #e9eddf}td{padding:14px 17px;border-bottom:1px solid #eff2e9;color:#62764f}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcf8}.table-person{display:flex;align-items:center;gap:9px}.table-person .person-avatar{width:31px;height:31px}.table-main{font-weight:500;color:#506740;font-size:11px;max-width:230px;overflow:hidden;text-overflow:ellipsis}.table-sub{color:#a1aa93;font-size:9px;margin-top:1px}.table-actions{display:flex;gap:5px}.table-actions .icon-button{width:29px;height:29px;border-radius:8px;border-color:#e9eddf}.table-actions .icon-button svg{width:13px;height:13px}.pagination{display:flex;align-items:center;justify-content:space-between;margin-top:16px;gap:15px}.record-count{font-size:10px;color:#97a284}.pagination .btn{font-size:10px;min-height:30px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.profile-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.profile-hero{background:#eaf0de;text-align:center;padding:28px 20px 24px;position:relative}.profile-hero:before{content:'';width:90px;height:90px;border:1px solid #d6e3bf;border-radius:50%;position:absolute;top:-35px;right:-25px}.profile-hero .person-avatar{width:65px;height:65px;border:5px solid #f7faef;background:#d7e3c1;font-size:20px;color:#728a56;margin-bottom:10px}.profile-hero h2{font-size:16px;font-weight:600}.profile-hero p{font-size:11px;color:#8c9e74}.profile-progress{padding:22px}.profile-progress .progress-track{height:8px;margin:11px 0}.profile-fields{padding:20px 22px}.profile-fields .row-subtitle{margin-bottom:13px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field-label{font-size:11px;font-weight:500;color:#6e825b;display:flex;gap:4px}.field-label .required{color:#c39d7e}.field-hint{font-size:9px;color:#a5ad98;line-height:1.9}.field input,.field select,.field textarea{border:1px solid #e4e9dc;border-radius:9px;padding:9px 11px;background:#fcfdf9;color:#546b42;min-height:40px;width:100%;font-size:11px;transition:border .15s}.field input:focus,.field select:focus,.field textarea:focus{border-color:#a7bc8d;background:#fff}.field textarea{min-height:95px;resize:vertical}.field input[type=date],.field input[type=email],.field input[type=url]{direction:ltr;text-align:right}.field input[type=checkbox]{width:17px;min-height:17px;accent-color:#6f8955}.field input[type=file]{font-size:10px;background:#f7f9f1;padding:12px;cursor:pointer}.field input[readonly],.field input:disabled{background:#f2f5ed;color:#9ca78d}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px}.field.full{grid-column:1/-1}.module-header{display:flex;align-items:center;gap:15px}.module-icon{width:47px;height:47px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#e9f0dc;color:#8a9f6c}.module-icon svg{width:23px;height:23px}.module-intro{display:flex;flex-direction:column;gap:2px}.module-intro .page-title{font-size:22px}.module-intro .page-subtitle{font-size:10px}.no-company{max-width:550px;margin:60px auto;padding:40px;text-align:center;background:#fff;border:1px solid #e2e9d7;border-radius:25px}.no-company .empty-icon{margin:0 auto 17px}.no-company h1{font-size:23px;font-weight:600;margin-bottom:10px}.no-company p{font-size:12px;color:#919e80;margin-bottom:25px}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#20332465;backdrop-filter:blur(5px);padding:35px 18px;display:flex;align-items:center;justify-content:center;animation:fade .15s ease}.modal{width:580px;max-width:100%;max-height:calc(100dvh - 60px);background:#fff;border:1px solid #edf1e5;border-radius:22px;box-shadow:0 30px 100px #17341d26;display:flex;flex-direction:column;animation:rise .18s ease;overflow:hidden}.modal.wide{width:760px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 25px;border-bottom:1px solid #edf0e5}.modal-header h2{font-size:16px;font-weight:600;color:#4b633e}.modal-header p{font-size:10px;color:#9ba68c;margin-top:3px}.modal-body{padding:24px 25px;overflow:auto}.modal-footer{padding:17px 25px;border-top:1px solid #edf0e5;display:flex;justify-content:flex-start;gap:9px;background:#fcfdf9}.close-button{width:29px;height:29px;border-color:#e9eedf;border-radius:8px}.close-button svg{width:15px;height:15px}.form-error{background:#fff1e9;border:1px solid #f1dacb;color:#aa7d61;padding:11px 14px;border-radius:9px;font-size:10px;margin-bottom:17px;line-height:2}.toast-stack{position:fixed;left:25px;bottom:25px;z-index:200;display:flex;flex-direction:column;gap:10px;max-width:calc(100vw - 40px)}.toast{background:#fff;border:1px solid #e1e8d5;box-shadow:0 10px 35px #263c2017;padding:13px 18px;border-radius:12px;font-size:11px;color:#6f8656;animation:rise .18s ease;min-width:220px;max-width:430px;display:flex;align-items:center;gap:9px}.toast.error{border-color:#efd9cc;color:#ad7f62;background:#fffbf8}.toast.success{border-color:#d9e5c7;color:#739452}.toast svg{width:18px;height:18px;flex-shrink:0}.alert-strip{padding:12px 16px;background:#f7f3df;border:1px solid #ebe2be;border-radius:11px;color:#a9975c;font-size:10px;line-height:2;display:flex;align-items:center;gap:9px;margin-bottom:19px}.alert-strip svg{width:17px;height:17px;flex-shrink:0}.alert-strip.danger{background:#fcf0e8;border-color:#efdbcd;color:#ac866d}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:15px 0}.summary-item{background:#f6f8ef;border:1px solid #e7eddb;border-radius:12px;padding:15px}.summary-label{font-size:10px;color:#9aa68b;display:block}.summary-value{font-size:18px;font-weight:600;color:#667e51;margin-top:5px;display:block}.toggle-row{display:flex;align-items:center;gap:9px;font-size:11px;color:#80936b}.mobile-menu{display:none}.mobile-overlay{display:none}.skeleton{background:linear-gradient(90deg,#eff3e7,#f9fbf4,#eff3e7);background-size:200% 100%;animation:shimmer 1.3s ease infinite;border-radius:8px}.text-muted{color:#a3ad94;font-size:10px}.link-button{background:transparent;border:0;padding:0;color:#8aa16c;font-size:10px;cursor:pointer;display:inline-flex;align-items:center;gap:5px}.link-button:hover{color:#586f44}.link-button svg{width:13px;height:13px}.divider{height:1px;background:#edf1e4;margin:20px 0}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.health-ring{width:90px;height:90px;border-radius:50%;background:conic-gradient(#aabf88 var(--progress,75%),#edf1e3 0);padding:7px;display:flex;align-items:center;justify-content:center;margin:5px auto 15px}.health-ring:before{content:attr(data-value);display:flex;align-items:center;justify-content:center;border-radius:50%;width:100%;height:100%;background:#fff;font-size:20px;color:#7b965e;font-weight:600}.welcome-date{font-size:10px;color:#98a487}.attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.attention-card{background:#fff;border:1px solid #e5ebda;padding:17px 18px;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:13px}.attention-card:nth-child(2){background:#fcf8f1;border-color:#efe5d5}.attention-card:nth-child(3){background:#f8f6fc;border-color:#e9e3f2}.attention-number{font-size:23px;font-weight:600;line-height:1.7;color:#839b65}.attention-label{font-size:10px;color:#98a486}.welcome-decoration{display:none}.status-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#a3bb7c;margin-left:5px}.status-dot.warning{background:#d3b77a}.status-dot.danger{background:#d0a28b}.section-heading+.dashboard-grid{margin-top:0}.panel .empty-state{min-height:140px}.panel .empty-state p{font-size:10px}.panel .empty-icon{width:38px;height:38px}.panel .empty-icon svg{width:18px;height:18px}.panel .empty-state h3{font-size:11px}.panel-heading .filter-select{min-height:25px;font-size:9px;padding:3px 7px;background:#fcfdf8}.panel .btn.ghost{font-size:9px;padding:2px 0;min-height:20px}.module-metrics{display:flex;gap:8px;margin:14px 0 20px}.module-metrics .tag{padding:5px 9px}.header-search{position:relative}.header-search input{border:0;background:transparent;width:170px;padding:6px 28px 6px 7px;font-size:10px;color:#7f906e}.header-search svg{position:absolute;right:2px;top:9px;width:15px;height:15px;color:#a5b095}.header-search input::placeholder{color:#adb6a0}.sidebar .nav-item svg{stroke-width:1.6}.stat-card .stat-value{color:#354e39}.payroll-total{font-size:26px;font-weight:600;letter-spacing:-1px;line-height:1.9;color:#65804f;margin:6px 0}.payroll-total small{font-size:10px;font-weight:400;letter-spacing:0;color:#a3ad91}.payroll-meta{display:flex;justify-content:space-between;gap:10px;color:#9aa58b;font-size:10px}.footer-note{color:#adb49e;text-align:center;font-size:9px;margin-top:32px}.footer-note span{color:#8fa477}.chart-legend{display:flex;gap:15px;color:#a3ac96;font-size:9px;align-items:center;margin-top:14px}.chart-legend i{display:inline-block;width:7px;height:7px;border-radius:2px;background:#dce7cc;margin-left:5px}.chart-legend span:last-child i{background:#e3b28a}.offboarding-notice{font-size:10px;color:#9c9378;background:#f8f4e8;border-radius:8px;padding:10px 12px;margin:12px 0}.form-note{font-size:10px;color:#9ba68b;padding:12px;background:#f7f9f1;border:1px solid #edf0e3;border-radius:9px;margin-top:15px}.selectable-row{cursor:pointer}.document-link{color:#8aa16d;font-size:10px;border-bottom:1px dashed #bac9a5}.document-link:hover{color:#617f47}.birthdays .person-avatar{background:#f4ead6}.birthdays .row-actions{font-size:10px;color:#b9aa80}.period-label{font-size:10px;color:#9ba68b}.checkbox-field{display:flex;align-items:center;flex-direction:row;gap:8px;min-height:40px}.checkbox-field label{font-size:11px;color:#80946a}.counter{border:1px solid #dfe7d2;border-radius:6px;background:#f5f8ee;padding:1px 6px;font-size:9px;color:#91a27a}.small-caption{font-size:9px;color:#adb59e}.hidden{display:none!important}[hidden]{display:none!important}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes rise{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{to{background-position:-200% 0}}
@media(min-width:1500px){.page{padding-right:55px;padding-left:55px}.topbar{padding-right:55px;padding-left:55px}.quick-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.sidebar{width:250px}.workspace{margin-right:250px}.stat-card{min-height:152px}.stat-value{font-size:36px}.dashboard-grid{gap:25px}.panel{padding:25px}.quick-card{min-height:150px}}
@media(max-width:1200px){.sidebar{width:215px;padding-right:14px;padding-left:14px}.workspace{margin-right:215px}.page{padding:25px 27px 45px}.topbar{padding:0 27px;height:78px}.stats-grid{gap:11px}.stat-card{padding:17px 16px 14px}.stat-label{font-size:10px}.stat-value{font-size:29px}.stat-icon{width:31px;height:31px;border-radius:10px}.header-search input{width:125px}.quick-grid{gap:11px}.quick-card{padding:14px 13px 12px}.quick-title{font-size:10px}.quick-description{font-size:8px}.date-label{font-size:9px;padding-left:12px}.topbar-end{gap:10px}.dashboard-grid{gap:16px}.panel{padding:19px}.row-title{max-width:170px}.page-title{font-size:23px}.content-grid{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:1000px){.sidebar{width:195px;padding-right:10px;padding-left:10px}.workspace{margin-right:195px}.brand{padding-right:10px;padding-left:8px;gap:10px}.brand-name{font-size:22px}.nav-item{font-size:11px;padding:10px 12px;gap:9px}.page{padding:24px 23px 40px}.topbar{padding:0 23px;gap:10px}.header-search{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.stat-card{min-height:132px;padding:16px 19px}.stat-label{font-size:11px}.stat-value{font-size:30px}.stat-icon{width:34px;height:34px}.dashboard-grid{grid-template-columns:1fr 1fr;gap:14px}.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-card{min-height:140px;padding:16px}.quick-title{font-size:11px}.quick-description{font-size:9px}.content-grid{grid-template-columns:1fr}.profile-card{max-width:none;display:flex;flex-direction:row;align-items:stretch}.profile-hero{width:45%;padding:22px}.profile-progress{flex:1;display:flex;flex-direction:column;justify-content:center}.profile-fields{display:none}.date-label{display:none}.panel{padding:17px}.panel-title{font-size:12px}.panel-heading{margin-bottom:17px}.row-title{font-size:10px;max-width:140px}.action-row{gap:6px}.person-avatar{width:28px;height:28px;font-size:9px;border-width:2px}.row-subtitle{font-size:8px}.row-actions .btn.small{padding:4px 6px;font-size:9px}.bar-chart{gap:9px}.page-heading{margin-bottom:22px}.btn{padding:8px 12px;font-size:10px}.heading-actions{gap:6px}.attention-grid{gap:10px}.attention-card{padding:13px}.attention-label{font-size:9px}.attention-number{font-size:21px}}
@media(max-width:767px){.sidebar{transform:translateX(100%);transition:transform .2s ease;width:238px;padding:29px 19px 20px;box-shadow:-10px 0 60px #1b352122}.sidebar.open{transform:translateX(0)}.mobile-overlay.open{display:block;position:fixed;inset:0;background:#1c36233b;z-index:35;backdrop-filter:blur(2px)}.workspace{margin-right:0}.mobile-menu{display:inline-flex}.brand-name{font-size:24px}.nav-item{font-size:12px;padding:11px 14px;gap:12px}.topbar{padding:0 20px;height:70px;background:#fafbf6}.topbar-start{gap:13px}.company-switch{gap:9px}.company-switch select{max-width:190px;min-width:120px;font-size:11px}.topbar-end{gap:9px}.topbar-end .user-avatar{display:none}.page{padding:23px 20px 40px}.demo-banner{font-size:9px;min-height:31px;padding:5px 15px}.page-heading{gap:12px;align-items:flex-start;margin-bottom:20px}.page-title{font-size:23px}.page-subtitle{font-size:10px;max-width:260px;line-height:1.9;margin-top:5px}.eyebrow{font-size:9px}.heading-actions .btn{min-height:34px;font-size:10px;padding:7px 10px}.heading-actions .btn.secondary{display:none}.stats-grid{gap:11px;margin-bottom:17px}.stat-card{border-radius:16px;padding:16px 17px 14px;min-height:135px}.stat-icon{width:33px;height:33px}.stat-value{font-size:29px}.stat-label{font-size:10px}.stat-foot{font-size:8px}.dashboard-grid{gap:15px;margin-bottom:17px}.panel{padding:18px;border-radius:17px}.panel-heading{margin-bottom:18px}.panel-title{font-size:12px}.panel-subtitle{font-size:8px}.quick-grid{gap:11px;margin-bottom:20px}.quick-card{border-radius:14px;padding:15px 13px;min-height:139px}.quick-title{font-size:10px}.quick-description{font-size:8px;max-width:95%}.quick-icon{width:31px;height:31px;border-radius:9px}.quick-arrow{left:10px;top:19px}.quick-arrow svg{width:12px;height:12px}.section-heading{margin:24px 0 13px}.section-heading h2{font-size:13px}.section-note{font-size:9px}.module-count{font-size:8px}.content-grid{gap:18px}.modal-backdrop{padding:20px 12px}.modal{max-height:calc(100dvh - 40px);border-radius:19px}.modal-header{padding:19px 20px}.modal-header h2{font-size:14px}.modal-body{padding:20px}.modal-footer{padding:15px 20px}.form-grid{gap:15px}.field-label{font-size:10px}.field input,.field select,.field textarea{font-size:11px}.toast-stack{left:16px;bottom:16px}.toast{font-size:10px;min-width:210px;padding:12px 15px;max-width:calc(100vw - 32px)}.module-icon{width:42px;height:42px;border-radius:13px}.module-icon svg{width:21px;height:21px}.module-header{gap:12px}.module-intro .page-title{font-size:20px}.module-intro .page-subtitle{font-size:9px}.toolbar{gap:10px;margin-bottom:14px}.search-box{max-width:none}.filter-select{max-width:135px;font-size:10px;min-height:37px;padding:7px 9px}.search-box input{font-size:10px;min-height:37px;padding-top:8px;padding-bottom:8px}th{padding:13px 14px}td{padding:13px 14px}.attention-grid{gap:9px;margin-bottom:17px}.attention-card{padding:13px 12px;gap:9px;border-radius:13px}.attention-number{font-size:20px}.attention-label{font-size:9px}.summary-grid{gap:9px}.summary-item{padding:13px 11px}.summary-label{font-size:9px}.summary-value{font-size:17px}.no-company{padding:30px 22px;margin:35px auto}.no-company h1{font-size:20px}.no-company p{font-size:11px}.no-company .btn{font-size:11px}.alert-strip{font-size:9px;padding:10px 12px}.panel .empty-state{min-height:140px;padding:20px 8px}.row-title{max-width:160px}.action-person{gap:8px}.person-avatar{width:30px;height:30px}.row-actions .btn.small{font-size:9px;padding:4px 7px}.health-ring{width:76px;height:76px}.health-ring:before{font-size:18px}.page-heading.module-heading{align-items:center}.footer-note{font-size:8px}.bar-chart{gap:8px}}
@media(max-width:560px){.page{padding-right:16px;padding-left:16px}.topbar{padding-right:16px;padding-left:16px}.topbar-start{gap:9px}.topbar-end{gap:7px}.company-switch select{max-width:165px;font-size:10px;min-width:110px}.company-switch:before{width:6px;height:6px;box-shadow:0 0 0 3px #edf3e6}.icon-button{width:33px;height:33px;border-radius:10px}.icon-button svg{width:16px;height:16px}.page-title{font-size:21px}.page-subtitle{font-size:9px;max-width:240px}.heading-actions .btn{font-size:9px;padding:7px 9px;min-height:33px;gap:4px}.heading-actions .btn svg{width:14px;height:14px}.eyebrow{font-size:8px}.stat-card{padding:14px 15px 12px;min-height:130px}.stat-label{font-size:9px}.stat-icon{width:29px;height:29px;border-radius:9px}.stat-icon svg{width:16px;height:16px}.stat-value{font-size:29px;margin-top:3px}.stat-foot{font-size:8px;gap:4px}.stats-grid{gap:10px}.dashboard-grid{grid-template-columns:1fr}.chart-wrap{min-height:191px}.bar-chart{height:175px;gap:14px}.bar-fill{max-width:29px}.bar-label{font-size:8px}.panel{padding:19px}.panel-title{font-size:12px}.panel-subtitle{font-size:9px}.panel-heading{margin-bottom:20px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-card{min-height:145px;padding:16px 15px}.quick-title{font-size:11px}.quick-description{font-size:9px}.quick-icon{width:33px;height:33px}.quick-arrow{left:13px;top:20px}.row-title{font-size:11px;max-width:220px}.row-subtitle{font-size:9px}.person-avatar{width:34px;height:34px}.action-person{gap:10px}.row-actions .btn.small{font-size:9px;padding:4px 8px}.action-row{min-height:61px;padding:13px 0}.attention-grid{grid-template-columns:1fr;gap:8px}.attention-card{padding:12px 16px}.attention-label{font-size:10px}.attention-number{font-size:21px}.attention-card>div{display:flex;align-items:center;gap:11px}.attention-card .stat-icon{width:30px;height:30px}.attention-card .attention-number{margin-right:auto}.section-heading h2{font-size:12px}.section-note{font-size:8px;max-width:145px;text-align:left}.section-heading{gap:10px}.toolbar{flex-wrap:wrap}.search-box{flex-basis:65%;min-width:150px}.filter-select{flex:1;max-width:none;min-width:110px}.toolbar .btn{font-size:9px;min-height:35px}.form-grid{grid-template-columns:1fr;gap:15px}.field.full{grid-column:auto}.modal-body{padding:18px}.modal-header{padding:18px}.modal-footer{padding:14px 18px}.modal-footer .btn{font-size:10px;min-height:35px}.modal-header h2{font-size:13px}.modal-header p{font-size:9px}.summary-grid{grid-template-columns:1fr}.summary-item{padding:12px 14px;display:flex;align-items:center;justify-content:space-between}.summary-value{margin-top:0;font-size:17px}.profile-card{flex-direction:column}.profile-hero{width:100%;padding:24px 20px}.profile-progress{padding:20px 23px}.profile-hero .person-avatar{width:60px;height:60px}.profile-hero h2{font-size:16px}.profile-hero p{font-size:10px}.pagination{gap:8px}.record-count{font-size:9px}.pagination .btn{font-size:9px;padding:4px 8px}.module-intro .page-title{font-size:18px}.module-intro .page-subtitle{font-size:8px;max-width:210px}.module-icon{width:37px;height:37px;border-radius:11px}.module-icon svg{width:19px;height:19px}.module-header{gap:9px}.module-heading .heading-actions .btn{font-size:8px;padding:6px 8px}.empty-state{padding:30px 16px}.empty-state h3{font-size:12px}.empty-state p{font-size:10px}.form-error{font-size:9px;padding:9px 12px}.alert-strip{align-items:flex-start}.alert-strip svg{margin-top:2px}.no-company{padding:28px 20px;margin-top:25px}.no-company h1{font-size:19px}.no-company p{font-size:10px}.no-company .btn{font-size:10px}.demo-banner{font-size:8px;gap:6px;padding:5px 12px}.demo-banner svg{width:12px;height:12px}.health-ring{width:85px;height:85px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.demo-banner,.heading-actions,.toolbar,.table-actions,.pagination,.toast-stack,.mobile-menu,.modal-backdrop{display:none!important}.workspace{margin:0}.page{padding:0;max-width:none}.panel,.stat-card,.quick-card{break-inside:avoid;box-shadow:none}body{background:#fff;color:#222}.dashboard-grid{grid-template-columns:1fr 1fr}.quick-grid{grid-template-columns:repeat(4,1fr)}.page-title{font-size:22px}table{white-space:normal;font-size:9px}th,td{padding:8px}.table-wrap{overflow:visible}}
/* Shared UI composition and authenticated account screens. */
.brand>span:last-child{display:flex;flex-direction:column}.brand small{font-size:8px;color:#adc0b1;white-space:nowrap}.brand-dot{color:#dce9bd}.brand-name{font-size:27px}.sidebar-note{margin:30px 9px 18px;padding:19px 14px;border:1px solid #617c694d;border-radius:16px;background:linear-gradient(140deg,#ffffff08,transparent);position:relative;overflow:hidden}.sidebar-note:after{content:'';position:absolute;left:-18px;bottom:-40px;width:100px;height:100px;border:1px solid #708e7140;border-radius:50%}.sidebar-note strong{display:block;color:#e1ebdc;font-size:11px;font-weight:500;margin-top:9px}.sidebar-note p{font-size:9px;color:#8fa792;margin-top:5px}.sidebar-note-icon{color:#c7d7a7}.sidebar-note-icon svg{width:19px;height:19px}.sidebar-foot{display:grid;grid-template-columns:34px 1fr 25px 25px;gap:7px;align-items:center;padding:19px 4px 0}.sidebar-foot:before{grid-column:1/-1;margin-bottom:8px}.sidebar-foot>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.sidebar-foot strong{font-size:9px;color:#dce8dd;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90px}.sidebar-foot small{font-size:8px;color:#89a38e;max-width:90px;overflow:hidden;text-overflow:ellipsis}.sidebar-foot .avatar{width:30px;height:30px;font-size:9px;margin:0}.sidebar-foot .icon-button{background:transparent;border:0;color:#8fa792;width:25px;height:28px}.sidebar-foot .icon-button:hover{background:#ffffff0b;color:#eef4e9}.sidebar-foot .icon-button svg{width:15px;height:15px}.stat-card{text-align:right}.stat-card:hover{border-color:#c9d6bb;box-shadow:0 5px 18px #384d2c0a}.stat-foot{justify-content:space-between}.stat-foot>span svg{width:14px;height:14px;color:#a3b590}.secondary-grid{grid-template-columns:1.1fr 1fr 1.1fr}.person-meta{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.person-meta>strong{font-size:11px;font-weight:500}.person-meta small{font-size:9px;color:#929d89}.bar-well{height:100%;width:100%;display:flex;align-items:flex-end;justify-content:center;min-height:0}.bar-value{font-size:8px;color:#9da78c;position:absolute;top:-17px;opacity:0;transition:opacity .2s}.bar-column:hover .bar-value{opacity:1}.bar-fill.highlight{background:#b4c997}.bar-chart{padding-top:18px}.bar-column:nth-last-child(2) .bar-fill{background:#e4b18e}.chart-legend{justify-content:space-between}.workforce-meta small{font-size:8px;color:#a6af9b;font-weight:400}.workforce-total{display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding-top:14px;border-top:1px dashed #e7ecdf;font-size:9px;color:#a2ac94}.workforce-total strong{font-weight:500;color:#7a9066}.count-pill{display:grid;place-items:center;min-width:24px;height:24px;border-radius:8px;background:#f1f0e6;font-size:10px;color:#9a9f7e}.payroll-amount{font-size:27px;letter-spacing:-1px;font-weight:600;color:#597348;line-height:2;margin:9px 0 4px}.payroll-amount small{font-size:10px;color:#a6af97;letter-spacing:0;font-weight:400}.payroll-details{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#9ba58e;gap:10px}.payroll-divider{height:1px;background:#edf1e4;margin:20px 0 14px}.full-width{width:100%}.birthday-gift{width:35px;height:35px;display:grid;place-items:center;background:#f7eedb;border-radius:12px;color:#bcaa7e}.birthday-gift svg{width:18px;height:18px}.birthday-date{font-size:9px;color:#a6a886;background:#f7f7ee;border-radius:6px;padding:3px 7px;white-space:nowrap}.compact-empty{min-height:160px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#c4ceb5}.compact-empty svg{width:28px;height:28px}.compact-empty p{color:#9ca98c;font-size:10px}.avatar-tone-0{background:#e6eddc;color:#809167}.avatar-tone-1{background:#f3e7dc;color:#b69a7a}.avatar-tone-2{background:#eae6f0;color:#9d91b5}.avatar-tone-3{background:#f0edd9;color:#ada56e}.alert-strip>div{display:flex;flex-direction:column;flex:1}.alert-strip strong{font-size:10px;font-weight:600}.alert-strip>div>span{font-size:9px;color:#b0a474}.alert-strip-icon{display:grid;place-items:center;background:#eee7c8;border-radius:9px;width:33px;height:33px}.alert-strip>.link-button{white-space:nowrap;color:#ac9f6e}.app-footer{text-align:center;color:#b2baa7;font-size:9px;padding:10px 20px 28px}.app-footer>span{margin:0 6px;color:#c7cdbf}.app-footer .footer-version{font-size:8px;margin-right:18px}.toolbar-end{display:flex;align-items:center;gap:12px}.search-box kbd{font:9px var(--font);color:#c0c9b2;border:1px solid #e5ebdc;border-radius:4px;padding:0 4px;position:absolute;left:11px;top:11px}.search-box{position:relative}.record-status{margin-bottom:20px}.record-status+.alert-strip{margin-top:-7px}.form-error.full{grid-column:1/-1}.profile-avatar{width:66px;height:66px;display:inline-flex;align-items:center;justify-content:center;border:5px solid #f8fbf2;background:#d7e3bf;color:#829a66;border-radius:50%;font-size:21px;font-weight:600;margin-bottom:12px}.profile-hero h2{margin-bottom:4px}.profile-hero .tag{margin-top:8px}.profile-progress>div:first-child{display:flex;justify-content:space-between;gap:15px;color:#95a184;font-size:10px}.profile-progress strong{color:#7e9861;font-weight:500}.profile-progress .progress-fill{display:block}.profile-fields>div{display:flex;flex-direction:column;margin-bottom:14px;gap:2px}.profile-fields>div>span{font-size:9px;color:#abb69a}.profile-fields>div>strong{font-size:10px;color:#7c9166;font-weight:400;overflow-wrap:anywhere}.content-grid{grid-template-columns:270px minmax(0,1fr)}.profile-card{padding:0}.profile-requests{margin-top:22px}.below-note{display:flex;gap:7px;align-items:center;margin-top:15px}.below-note svg{width:14px;height:14px}.module-panel{padding-bottom:10px}.tag.info{background:#eaf0f7;color:#8197af}.tone-0{background:#b4c991}.tone-1{background:#d8b99a}.tone-2{background:#c7bed9}.tone-3{background:#d4cf9e}.mobile-overlay:not([hidden]){display:block;position:fixed;inset:0;background:#1c36233b;z-index:35;backdrop-filter:blur(2px)}
.auth-mode{background:#f4f6ed}.auth-mode .sidebar,.auth-mode .topbar,.auth-mode .demo-banner,.auth-mode .app-footer{display:none!important}.auth-mode .workspace{margin:0;display:flex;align-items:center;justify-content:center;min-height:100dvh}.auth-mode .page{padding:40px;max-width:1100px;width:100%}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:570px;border-radius:26px;overflow:hidden;box-shadow:0 25px 80px #233b2011;background:#fff;border:1px solid #e2e8d7}.auth-art{position:relative;overflow:hidden;background:#2b4437;color:#e2ecd6;padding:56px 45px;display:flex;flex-direction:column;justify-content:center}.auth-art:before{content:'';position:absolute;width:330px;height:330px;border:1px solid #8ba77340;border-radius:50%;right:-190px;top:-180px;box-shadow:0 0 0 55px #8ba7730a,0 0 0 110px #8ba77306}.auth-art:after{content:'';position:absolute;width:180px;height:180px;border:1px solid #8ba77330;border-radius:40px;left:-100px;bottom:30px;transform:rotate(32deg);box-shadow:0 0 0 30px #8ba7730a}.auth-symbol{color:#c5dca1;margin-bottom:35px}.auth-symbol svg{width:38px;height:38px}.auth-art h1{font-size:31px;line-height:1.9;font-weight:600;letter-spacing:-1.4px;margin:12px 0 20px}.auth-art .eyebrow{color:#a5ba90}.auth-art .eyebrow:before{background:#829c6e}.auth-art p{font-size:11px;line-height:2.4;color:#95ad92}.auth-art-footer{font-size:9px;color:#7c997a;margin-top:55px}.auth-card{padding:55px 45px;display:flex;flex-direction:column;justify-content:center}.auth-brand{color:#2c4936;padding:0 0 30px;gap:9px}.auth-brand .brand-mark{width:31px;height:31px;border-radius:10px}.auth-brand .brand-mark svg{width:19px;height:19px}.auth-brand .brand-name{font-size:24px}.auth-card h2{font-size:19px;font-weight:600;color:#40573a;letter-spacing:-.6px}.auth-card .page-subtitle{font-size:10px;line-height:2;margin-top:8px}.auth-card form{display:flex;flex-direction:column;gap:19px;margin-top:30px}.auth-card input{min-height:44px;background:#fafcf6;font-size:12px}.auth-card .btn{min-height:43px;font-size:12px;margin-top:5px}.auth-help{font-size:9px;color:#a4ae95;margin-top:23px;text-align:center;line-height:2.2}.credential-box{display:grid;grid-template-columns:1fr 2fr;gap:15px;background:#f6f9ef;border:1px dashed #cfdebd;border-radius:12px;padding:22px;margin:22px 0}.credential-box>span{font-size:10px;color:#9ba98a}.credential-box strong{font-family:monospace;font-size:15px;letter-spacing:.4px;color:#667d51;overflow-wrap:anywhere;text-align:left}.temporary-password{user-select:all}.modal-footer{flex-wrap:wrap}.stat-foot svg{display:inline}.brand-name small{color:inherit}.page-heading .eyebrow{font-size:9px}.section-heading h2{font-size:17px;font-weight:600;letter-spacing:-.5px}
@media(min-width:1500px){.secondary-grid{grid-template-columns:1.1fr 1fr 1.1fr}.content-grid{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:1100px){.secondary-grid{grid-template-columns:1fr 1fr}.secondary-grid>.panel:last-child{grid-column:1/-1}.secondary-grid .birthdays-panel .action-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.secondary-grid .birthdays-panel .action-row{border:0;padding:0}.content-grid{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:1000px){.content-grid{grid-template-columns:1fr}.profile-card{display:block}.profile-hero{width:auto}.profile-fields{display:grid;grid-template-columns:repeat(2,1fr)}.profile-progress{display:block}.sidebar-note{padding:13px 10px;margin-right:4px;margin-left:4px}.sidebar-note strong{font-size:10px}.sidebar-foot{grid-template-columns:28px 1fr 22px 22px;gap:4px}.sidebar-foot strong,.sidebar-foot small{max-width:65px}.auth-mode .page{padding:25px}.auth-art{padding:35px}.auth-card{padding:40px 30px}.auth-art h1{font-size:26px}.auth-card h2{font-size:17px}.brand small{font-size:7px}}
@media(max-width:767px){.sidebar-foot{grid-template-columns:32px 1fr 25px 25px;gap:7px}.sidebar-foot strong,.sidebar-foot small{max-width:90px}.sidebar-note{padding:19px 14px}.sidebar-note strong{font-size:11px}.toolbar-end{gap:8px}.demo-banner span{display:none}.demo-banner{justify-content:space-between}.sidebar small{font-size:8px}.brand small{font-size:8px}.section-heading h2{font-size:14px}.auth-mode .page{padding:20px;max-width:520px}.auth-layout{display:block;min-height:0}.auth-art{padding:30px;min-height:150px;display:none}.auth-card{padding:35px 30px 30px}.auth-card form{gap:17px;margin-top:25px}.auth-card h2{font-size:20px}.auth-card .page-subtitle{max-width:none}.auth-help{margin-top:25px}.profile-fields{display:grid}}
@media(max-width:560px){.secondary-grid{grid-template-columns:1fr}.secondary-grid>.panel:last-child{grid-column:auto}.secondary-grid .birthdays-panel .action-list{display:block}.secondary-grid .birthdays-panel .action-row{padding:12px 0}.toolbar-end{width:100%;justify-content:space-between}.toolbar-end .filter-select{flex:0 1 180px}.heading-actions{flex-shrink:0}.page-heading{flex-wrap:wrap}.page-heading>div:first-child{flex:1;min-width:200px}.page-heading .heading-actions{width:100%;margin-top:4px}.page-heading .heading-actions .btn{font-size:10px;min-height:35px}.stat-card{min-height:124px}.section-heading h2{font-size:13px}.section-heading .eyebrow{font-size:8px}.section-note{font-size:8px}.alert-strip>.link-button{font-size:8px}.alert-strip-icon{display:none}.app-footer{font-size:8px}.app-footer .footer-version{display:none}.profile-fields{display:block}.profile-fields>div{flex-direction:row;justify-content:space-between}.credential-box{grid-template-columns:1fr;padding:17px}.credential-box strong{text-align:right}.auth-mode .page{padding:15px}.auth-card{padding:30px 24px}.auth-card h2{font-size:19px}.auth-card .page-subtitle{font-size:10px}.auth-help{font-size:9px}}
/* Keep secondary copy readable on the pale dashboard surfaces. */
.page-subtitle,.panel-subtitle,.quick-description,.row-subtitle,.stat-foot,.field-hint,.section-note,.chart-legend,.workforce-total{color:#7f8b73}.stat-label{font-size:12px;color:#65785b}.quick-title{font-size:12px;color:#4e6740}.quick-description{font-size:10px}.page-subtitle{font-size:12px}.panel-subtitle{font-size:10px}.field-label{font-size:12px}.field input,.field select,.field textarea{font-size:12px}.sidebar-caption{color:#9db3a4}.page-title{font-size:26px}.section-heading h2{font-size:17px}.row-title{font-size:12px}.stat-foot{font-size:10px}.chart-legend{font-size:10px}.panel-title{font-size:14px}.row-subtitle{font-size:10px}.workforce-meta{font-size:11px}.quick-card{min-height:147px}
@media(max-width:1000px){.page-title{font-size:23px}.stat-label{font-size:11px}.quick-title{font-size:11px}.quick-description{font-size:9px}.page-subtitle{font-size:11px}.panel-title{font-size:13px}.row-title{font-size:11px}.field-label{font-size:11px}}
@media(max-width:560px){.page-title{font-size:22px}.page-subtitle{font-size:11px}.stat-label{font-size:10px}.stat-foot{font-size:9px}.quick-title{font-size:12px}.quick-description{font-size:10px}.panel-title{font-size:13px}.section-heading h2{font-size:14px}.row-title{font-size:12px}.field-label{font-size:12px}.field input,.field select,.field textarea{font-size:13px}}
/* Approved staffing chart and capacity control. */
.staffing-dashboard{margin-bottom:22px}.staffing-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.staffing-metric{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:5px 8px;padding:19px 20px;border:1px solid #e4eadc;border-radius:15px;background:#fff;color:#506746}.staffing-metric>span{grid-column:1/-1;font-size:11px;color:#788970}.staffing-metric>strong{font-size:28px;line-height:1.5;font-weight:600}.staffing-metric>small{font-size:10px;color:#8c9a82}.staffing-metric.warning{background:#fcf7e9;border-color:#eee3c4;color:#9b783e}.staffing-metric.danger{background:#fcf0ed;border-color:#efd8d2;color:#b26352}.staffing-dashboard .staffing-metric{background:#f8faf3;border:0;padding:15px 18px}.staffing-dashboard .staffing-metric.warning{background:#fbf4e4}.staffing-dashboard .staffing-metric.danger{background:#fbefea}.staffing-explainer{font-size:11px;line-height:2;color:#7f8e75;margin:0 0 20px}.staffing-dashboard .staffing-explainer{margin:0;font-size:10px}.staffing-notice{display:flex;gap:10px;align-items:flex-start;background:#f8f1db;border:1px solid #e9dfb9;color:#8d793f;padding:14px 18px;border-radius:13px;font-size:11px;line-height:2;margin-bottom:20px}.staffing-notice svg{flex-shrink:0;margin-top:3px;width:18px;height:18px}.staffing-panel{padding:22px}.staffing-panel .toolbar{flex-wrap:wrap}.staffing-panel .toolbar-end{flex-wrap:wrap}.staffing-panel .filter-select{max-width:180px}.staffing-unit{border:1px solid #e4eadb;border-radius:16px;overflow:hidden;margin-top:20px}.staffing-unit-heading{display:flex;align-items:center;gap:12px;padding:17px 20px;background:#f8faf3;border-bottom:1px solid #e8edde}.staffing-unit-heading .quick-icon{width:33px;height:33px;border-radius:10px}.staffing-unit-heading h2{font-size:13px;font-weight:600;color:#4c6542;margin:0}.staffing-unit-heading p{font-size:10px;color:#8b9a7c;margin:2px 0 0}.staffing-table{min-width:650px}.staffing-table td,.staffing-table th{padding:16px 18px}.staffing-table .variance{font-variant-numeric:tabular-nums;display:inline-block;direction:ltr;font-size:14px;min-width:30px}.variance.shortage{color:#a0803f}.variance.surplus{color:#b46352}.variance.balanced{color:#6c8b58}.staffing-unassigned{margin-top:22px}.position-derived{background:#f0f5e8!important;color:#6e825b!important}.field-hint.capacity-warning{display:block;color:#a17236;background:#fbf2dd;padding:10px 12px;border-radius:9px;line-height:2}.position-hint{line-height:2}.staffing-panel .record-count{white-space:nowrap}
@media(max-width:1100px){.staffing-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.staffing-metric{padding:15px}.staffing-metric>strong{font-size:25px}}
@media(max-width:560px){.staffing-dashboard{margin-bottom:16px}.staffing-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.staffing-metric,.staffing-dashboard .staffing-metric{padding:13px 15px}.staffing-metric>span{font-size:10px}.staffing-metric>strong{font-size:25px}.staffing-explainer{font-size:10px;margin-bottom:15px}.staffing-dashboard .panel-heading{align-items:flex-start;gap:10px;flex-wrap:wrap}.staffing-dashboard .panel-heading .btn{font-size:10px}.staffing-notice{padding:12px 14px;font-size:10px}.staffing-panel{padding:16px}.staffing-panel .toolbar-end{width:100%;gap:8px}.staffing-panel .filter-select{max-width:none;min-width:110px;flex:1}.staffing-panel .record-count{width:100%;font-size:10px}.staffing-unit-heading{padding:13px 15px}.staffing-unit-heading h2{font-size:12px}.staffing-table td,.staffing-table th{padding:14px}.staffing-unassigned .panel-heading{align-items:flex-start}.staffing-metric:last-child{grid-column:1/-1;grid-template-columns:1fr auto auto}.staffing-metric:last-child>span{grid-column:auto}.staffing-metric:last-child>strong{font-size:24px}}
.org-field-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:29px;margin-bottom:7px}.org-field-heading .field-label{margin:0}.field .code-mode-select{width:auto;max-width:150px;min-height:32px;padding:4px 9px;background:#edf3e6;font-size:11px;flex:0 1 auto}.business-code-field input:disabled{background:#f3f6ef;color:#7e8d72;cursor:default}.code-mode-hint{display:block;line-height:2;margin-top:5px}.org-add-link{border:0;background:transparent;color:#58784b;font:inherit;font-size:11px;display:inline-flex;align-items:center;gap:4px;cursor:pointer;padding:3px 0;white-space:nowrap}.org-add-link .icon{width:13px;height:13px}.org-add-link:hover{color:#2d5039}.org-add-link:disabled{opacity:.45;cursor:default}.org-reference-field select:disabled{background:#f0f5e8;color:#667d55}.org-quick-panel{grid-column:1/-1;background:#f5f8ef;border:1px solid #dce7ce;border-radius:14px;padding:20px;display:grid;gap:10px}.org-quick-heading{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:3px}.org-quick-heading strong{font-size:13px;color:#47653c}.org-quick-heading span{font-size:10px;color:#7e8e73}.org-quick-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:4px}.org-catalog-panel{margin-top:22px}.org-catalog-panel .panel-heading{gap:15px;align-items:center}.org-catalog-panel table{min-width:570px}.org-catalog-note{font-size:12px;line-height:2.1;color:#75866a;background:#f1f5e9;border-radius:12px;padding:14px 18px}.org-legacy{display:block;margin-top:4px;color:#8f9a82;font-size:10px}.org-catalog-panel .btn{white-space:nowrap}.org-quick-panel .form-error{margin:0}.org-quick-panel input{width:100%;min-width:0}
@media(max-width:560px){.org-field-heading{gap:7px;flex-wrap:wrap}.field .code-mode-select{max-width:130px;font-size:10px}.org-add-link{font-size:10px}.org-quick-panel{padding:15px}.org-quick-heading{display:block}.org-quick-heading span{display:block;line-height:2;margin-top:5px}.org-catalog-panel .panel-heading{align-items:flex-start;flex-wrap:wrap}.org-catalog-note{font-size:11px;padding:12px 14px}.org-quick-actions .btn{flex:1}}
.personnel-form{gap:23px}.personnel-section{min-width:0;width:100%;margin:0;padding:21px 22px 23px;border:1px solid #e0e8d8;border-radius:15px;background:#fff}.personnel-section legend{font-size:14px;font-weight:600;color:#47623d;padding:0 10px;margin:0 3px}.personnel-section-hint{font-size:11px;line-height:2;color:#839276;margin:0 0 18px}.personnel-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.personnel-fields>.field,.personnel-conditional{min-width:0}.personnel-fields>.full{grid-column:1/-1}.personnel-derived input,.personnel-code-field input{background:#f2f6ec;color:#586e49;border-color:#dce6d0}.personnel-code-field input{font-family:monospace;font-size:16px;letter-spacing:1px;font-weight:600}.personnel-system-tag{display:inline-block;font-size:9px;font-weight:400;background:#e9f0df;color:#75925d;border-radius:6px;padding:1px 7px;margin-inline-start:7px;vertical-align:middle}.personnel-form .field-hint{display:block;font-size:10px;line-height:2;margin-top:6px}.personnel-form .personnel-hours-hint{margin:0;min-height:0;padding:0;color:#8a783e}.personnel-hours-hint:empty{display:none}.personnel-conditional[hidden]{display:none!important}.personnel-attendance-check{display:flex;flex-direction:column;justify-content:center;padding:7px 0}.personnel-attendance-check .toggle-row{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:2}.personnel-attendance-check input[type=checkbox]{width:17px;height:17px;min-height:0;flex-shrink:0;margin-top:4px}.personnel-form input[type=time]{direction:ltr;text-align:left}.personnel-form input[readonly]{cursor:default}.personnel-form select:disabled{background:#f3f6ed;color:#7f8e73}
@media(max-width:560px){.personnel-form{gap:17px}.personnel-section{padding:15px 13px 18px;border-radius:12px}.personnel-section legend{font-size:12px;padding:0 7px}.personnel-section-hint{font-size:10px;margin-bottom:14px}.personnel-fields{grid-template-columns:minmax(0,1fr);gap:16px}.personnel-form .field-hint{font-size:10px}.personnel-code-field input{font-size:15px}.personnel-attendance-check{padding:3px 0}}
.personnel-form>.personnel-section{grid-column:1/-1;min-width:0}
.personnel-form .field[hidden]{display:none!important}.field-length-hint{display:block;direction:rtl;font-variant-numeric:tabular-nums;color:#987b49}.field-length-hint.is-complete{color:#527447}.field input[data-money]{font-variant-numeric:tabular-nums;letter-spacing:.5px;text-align:left}.personnel-form input[name=workingDaysPerMonth][readonly]{background:#f2f6ec;color:#586e49}.personnel-workdays-hint{padding:11px 13px!important;background:#f4f7ee;border-radius:9px;color:#657b51!important;margin:0!important}.personnel-workdays-hint:empty{display:none}
.employee-table .table-person{min-width:190px;max-width:290px;align-items:center;white-space:normal}.employee-table .table-person-details{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;flex:1}.employee-table .table-main,.employee-table .table-sub{display:block;max-width:100%;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip;line-height:1.9;margin:0}.employee-table .table-main{font-size:12px;font-weight:600}.employee-table .table-sub{font-size:10px;color:#829276}.person-avatar img,.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.employee-table .person-avatar{width:36px;height:36px;flex:0 0 36px;overflow:hidden}
@media(max-width:560px){.employee-table .table-person{min-width:170px;max-width:235px}.employee-table .table-main{font-size:12px}.employee-table .table-sub{font-size:10px}}
.org-row-actions{display:flex;align-items:center;gap:6px}.org-row-actions .org-delete-blocked{color:#9a9f91;background:#f5f6f1;opacity:.8}.org-usage-count{display:block;color:#8d9a7f;font-size:10px;margin-top:4px;white-space:nowrap}.org-catalog-panel .tag{min-width:48px}
.toast.warning{background:#fff8e9;border-color:#ead9ac;color:#917337}
.attendance-obligation-panel{padding:16px 18px;border:1px solid #dce6d1;border-radius:12px;background:#f6f9f0}.attendance-obligation-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.attendance-obligation-heading>strong{font-size:12px;color:#506b42}.attendance-obligation-values{display:flex;gap:25px;margin:12px 0;font-size:11px;color:#7e8e71}.attendance-obligation-values strong{display:inline-block;margin-inline-start:7px;color:#416038;font-size:16px}.attendance-obligation-panel .field-hint{display:block;line-height:2}.personnel-form .personnel-workdays-hint{margin-top:2px!important}

/* Insurance toolbar uses the shared form/filter components without changing state logic. */
#insurance-worklist .insurance-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}#insurance-worklist .insurance-filter-field{flex:1 1 240px;min-width:0;max-width:420px;margin:0}#insurance-worklist .insurance-filter-field .filter-select{width:100%;max-width:100%;min-width:0;direction:rtl}#insurance-worklist #insurance-refresh{flex:0 0 auto}@media(max-width:560px){#insurance-worklist .insurance-filter-field{flex-basis:100%;max-width:none}#insurance-worklist #insurance-refresh{margin-inline-start:auto}}

/* BrunchoGroup branding */
.brand .bruncho-logo{width:100px;height:50px;object-fit:contain;border-radius:8px;flex-shrink:0}.brand .brand-name{font-size:14px;direction:ltr;display:block;white-space:normal;line-height:1.5}.auth-brand{flex-wrap:wrap}.auth-brand .bruncho-logo{width:150px;height:75px}.auth-art>.bruncho-logo{width:220px;max-width:100%;height:110px;object-fit:contain;border-radius:12px;margin-bottom:24px}

/* Compact BrunchoGroup wordmark */
.sidebar .brand{gap:8px;padding-inline:0 4px;min-width:0;overflow:hidden}.sidebar .brand .bruncho-logo{width:62px;height:34px;object-fit:cover;object-position:center;flex:0 0 62px;border-radius:6px}.sidebar .brand>span:not(.bruncho-logo){min-width:0;flex:1}.sidebar .brand .brand-name{font-family:Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.15px;line-height:1.25;overflow-wrap:anywhere}.sidebar .brand small{font-size:8px}.auth-brand .brand-name{font-family:Arial,sans-serif;font-size:22px;font-weight:700;letter-spacing:.2px;color:#294238}.auth-brand .bruncho-logo{width:132px;height:62px;object-fit:cover;border-radius:8px}

/* Sidebar logo stacked above the product name */
.sidebar{height:100dvh;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#718979 #294238;overscroll-behavior:contain}.sidebar>*{flex-shrink:0}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:#294238}.sidebar::-webkit-scrollbar-thumb{background:#718979;border-radius:8px}.sidebar .brand{flex:0 0 auto!important;min-height:124px;overflow:visible!important}.sidebar .brand>span:not(.bruncho-logo){flex:0 0 auto!important}.sidebar .brand .bruncho-logo{object-fit:contain!important;max-width:100%}.topbar{min-width:0;gap:12px}.topbar-start,.topbar-end{min-width:0}@media(max-width:767px){.topbar{height:auto;min-height:68px;padding:12px;flex-wrap:wrap}.topbar-start{flex:1;min-width:0}.topbar-end{flex-shrink:0}.sidebar{max-width:calc(100vw - 36px);padding-top:22px}}
.sidebar .brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0 4px 22px;text-align:center;overflow:hidden}.sidebar .brand .bruncho-logo{width:148px;height:68px;flex:0 0 68px;object-fit:cover;border-radius:7px}.sidebar .brand>span:not(.bruncho-logo){display:flex;flex-direction:column;align-items:center;width:100%;min-width:0}.sidebar .brand .brand-name{font-family:Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.3;letter-spacing:.3px;white-space:nowrap}.sidebar .brand small{font-size:8px;margin-top:3px}

.staffing-unit{margin-block:10px}.staffing-unit-heading{padding:8px 12px;gap:8px}.staffing-unit-heading h2{font-size:13px;margin:0}.staffing-unit-heading p{font-size:10px;margin:3px 0}.staffing-unit .staffing-table td,.staffing-unit .staffing-table th{padding:7px 10px}.staffing-unit .staffing-table .icon-button{width:28px;height:28px}.staffing-unit .table-main{font-size:11px}

.op-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 15px}.op-toolbar .btn{font-size:11px}.op-launchpad{margin-bottom:22px;padding:20px 24px}.op-launchpad h2{font-size:15px;margin:0 0 6px}.op-launchpad p{font-size:11px;color:#687b68;line-height:1.9;margin:0 0 15px}.op-launchpad .op-toolbar{margin:0}.op-layout{display:grid;gap:18px}.op-note{padding:13px 16px;background:#f3f6ed;border:1px solid #e2e9da;border-radius:12px;font-size:11px;line-height:2;color:#4d6550;margin:0}.op-note.warning{background:#fff6df;border-color:#efdfae;color:#7a6334}.op-note.danger{background:#fff0eb;border-color:#efd2c7;color:#974b38}.op-note.success{background:#edf7e8;border-color:#d3e5c8;color:#3e6e38}.op-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.op-grid .full{grid-column:1/-1}.op-field{display:grid;gap:7px;min-width:0;font-size:11px;color:#53694f}.op-field input,.op-field select,.op-field textarea{padding:11px 12px;border:1px solid #dce4d6;border-radius:9px;background:#fff;color:#314a37;min-width:0;max-width:100%;font:inherit}.op-field textarea{min-height:82px;resize:vertical}.op-field input:focus,.op-field select:focus,.op-field textarea:focus{outline:2px solid #b7cd95;outline-offset:2px}.op-field small{font-size:10px;color:#778774;line-height:1.9}.op-check{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.9;color:#53694f}.op-check input{accent-color:#456b44;width:16px;height:16px;flex-shrink:0}.op-check.danger{color:#994c37}.op-section{display:grid;gap:13px;border-top:1px solid #e8eddf;padding-top:18px}.op-section h3{font-size:13px;color:#435b3f;margin:0}.op-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.op-summary>div{display:grid;gap:8px;background:#f6f8f1;border:1px solid #e6eddf;border-radius:11px;padding:14px}.op-summary span{color:#71816b;font-size:10px}.op-summary strong{font-size:20px;font-weight:600;color:#46673c;overflow-wrap:anywhere}.op-summary small{font-size:9px;color:#849079}.op-table-wrap{max-width:100%;overflow:auto;max-height:370px;border:1px solid #e4eadc;border-radius:12px}.op-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:10px}.op-table th{position:sticky;top:0;background:#f0f4e8;font-weight:500;z-index:1;color:#6a7e5b}.op-table td,.op-table th{padding:12px 13px;text-align:right;border-bottom:1px solid #e8eddf}.op-table tr:last-child td{border:0}.op-table td small{display:block;color:#7d8c74;margin-top:4px}.op-table .btn{font-size:10px;min-height:29px;padding:5px 8px}.op-empty{padding:20px;text-align:center;font-size:12px;color:#7c8c72;line-height:2}.op-errors{margin:0;padding:12px 30px 12px 15px;border-radius:10px;background:#fff0eb;color:#9d513b;font-size:11px;line-height:2}.op-inline-actions{display:flex;gap:6px;flex-wrap:wrap}.op-row-button{min-width:30px;white-space:nowrap}.op-steps{display:flex;gap:7px;flex-wrap:wrap}.op-step{padding:7px 12px;border:1px solid #dde6d4;border-radius:8px;color:#7d8b72;background:#f6f8f1;font-size:10px}.op-step.current{background:#e8efdb;border-color:#b7cd98;color:#426a35;font-weight:600}.op-step.done{background:#eaf4e4;color:#527c43}.op-history{display:grid;gap:7px;font-size:10px;line-height:1.9;color:#7c8a73}.op-history div{padding:8px 10px;border-right:2px solid #c7d9b5;background:#f8faf4}.op-form-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-start}.op-form-actions .btn{font-size:11px}.op-error{padding:12px 14px;background:#fff0eb;color:#a4513a;border-radius:10px;font-size:11px;line-height:2;white-space:pre-wrap}.op-error:empty{display:none}.op-load{padding:30px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:#718263}.op-small{font-size:10px;color:#7a8c70;line-height:1.9}.op-workflow-inline{padding:16px;background:#f7f9f2;border:1px solid #e2ead6;border-radius:12px;margin-bottom:17px}.op-workflow-inline h3{margin:0 0 10px;font-size:12px;color:#4b6840}.op-secret{display:grid;gap:10px;padding:18px;background:#f2f7e9;border:1px dashed #bbcf9f;border-radius:12px}.op-secret strong{font-family:monospace;font-size:16px;direction:ltr;user-select:all;overflow-wrap:anywhere}.op-secret span{font-size:11px;color:#637952}.op-divider{border:0;border-top:1px solid #e5ecdc;margin:4px 0}.op-asset{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;background:#f8faf4;border:1px solid #e3ebda;border-radius:11px}.op-asset strong{font-size:11px;display:block}.op-asset span{font-size:10px;color:#7f8d74}.op-asset .op-inline-actions{justify-content:flex-end}.op-overdue{color:#ad5e3e}.op-list-label{font-size:12px;font-weight:600;color:#4c6843}.op-launchpad .btn svg{width:16px;height:16px}.op-modal-subtitle{font-size:11px;color:#778b6c;line-height:2;margin:0 0 18px}.op-policy-links{display:flex;gap:8px;flex-wrap:wrap}.op-policy-links .btn{font-size:10px}.op-result-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:#5f7852}.op-outcome{padding:25px 15px;text-align:center}.op-outcome>strong{display:block;font-size:17px;color:#3f6c32;margin-bottom:10px}.op-outcome>p{font-size:11px;line-height:2;color:#7b8e70}.op-caution-check{padding:14px;border:1px solid #efdbad;background:#fff8e7;border-radius:10px}.op-export-hint{font-size:10px;color:#74856b;line-height:1.9}.op-field [readonly]{background:#f4f7ee}.op-chart-label{direction:ltr;unicode-bidi:embed}.op-document-actions{display:flex;gap:8px;flex-wrap:wrap}.op-pending-label{font-size:10px;padding:3px 7px;border-radius:5px;background:#eef3e4;color:#71855f}.op-card-title{font-size:13px;margin:0;color:#45653a}.op-resource-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.op-risk{color:#a95c3b;font-weight:600}.op-workflow-inline .op-steps{margin-bottom:10px}.op-workflow-inline .op-small{margin-bottom:7px}
@media(max-width:650px){.op-grid{grid-template-columns:1fr}.op-grid .full{grid-column:auto}.op-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.op-summary>div:last-child{grid-column:1/-1}.op-summary strong{font-size:19px}.op-launchpad{padding:16px}.op-toolbar .btn{font-size:10px;flex:1;min-width:130px}.op-form-actions .btn{flex:1;font-size:10px}.op-field{font-size:11px}.op-table td,.op-table th{padding:10px}.op-asset{align-items:flex-start;flex-wrap:wrap}.op-resource-grid{grid-template-columns:1fr}.op-policy-links .btn{flex:1}.op-note{font-size:10px}.op-inline-actions .btn{font-size:9px}.op-modal-subtitle{font-size:10px}.op-summary strong{line-height:1.5}}

/* Shared Jalali input controls and viewport-bounded calendar popover. */
.jalali-date-control{display:flex;position:relative;width:100%;min-width:0;align-items:stretch;direction:ltr}
.jalali-date-control>input{min-width:0;width:100%;padding-right:49px!important}
.jalali-date-control>.jalali-open{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;min-height:0;padding:7px;border:0;border-radius:8px;background:#edf3e8;color:#58715e;cursor:pointer;z-index:1}
.jalali-date-control>.jalali-open:hover{background:#dfead9}.jalali-date-control>.jalali-open:disabled{opacity:.4;cursor:default}
.jalali-open svg{width:19px;height:19px}
.jalali-picker{position:fixed;z-index:180;width:328px;max-width:calc(100vw - 24px);overflow:auto;padding:14px;background:#fff;border:1px solid #dbe4d5;border-radius:16px;box-shadow:0 15px 50px #253b3530;color:#324c3c;direction:rtl;font-family:var(--font,Tahoma,Arial,sans-serif);font-size:12px;line-height:1.6;isolation:isolate}
.jalali-picker button,.jalali-picker select{font:inherit;color:inherit}.jalali-picker button{cursor:pointer}
.jalali-picker button:focus-visible,.jalali-picker select:focus-visible{outline:3px solid #8da66e;outline-offset:1px}
.jalali-header{display:flex;gap:8px;align-items:center;justify-content:space-between}
.jalali-selectors{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;flex:1}.jalali-select-label{display:block;min-width:0;flex:1}
.jalali-picker .jalali-selectors select{width:100%;min-width:0;min-height:34px;padding:4px 7px;border:1px solid #e0e7da;border-radius:8px;background:#f8faf5;font-size:12px}
.jalali-picker .jalali-nav{display:grid;place-items:center;flex:0 0 32px;width:32px;height:34px;min-height:0;padding:0;border:1px solid #e0e7da;border-radius:9px;background:#f4f7ef;font-size:25px;font-weight:400;line-height:1}
.jalali-nav:disabled{opacity:.35;cursor:default}.jalali-heading{font-size:11px;color:#718367;text-align:center;margin:10px 0 5px}
.jalali-grid{width:100%;user-select:none}.jalali-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;align-items:center;margin-bottom:3px;text-align:center}
.jalali-week>[role=columnheader]{font-size:10px;font-weight:600;color:#7f8e73;padding:7px 0}
.jalali-picker .jalali-day,.jalali-empty{display:grid;place-items:center;width:100%;height:35px;min-height:0;min-width:0;border-radius:9px;font-size:12px;line-height:1;padding:0}
.jalali-picker .jalali-day{border:1px solid transparent;background:#f8faf6}.jalali-picker .jalali-day:hover{background:#e4eddc}.jalali-picker .jalali-day.today{border-color:#abc18f;font-weight:700}.jalali-picker .jalali-day.selected{background:#31523e;color:#fff;border-color:#31523e}.jalali-day[aria-current=date]:not(.selected){color:#31523e}
.jalali-footer{display:flex;align-items:center;gap:5px;border-top:1px solid #e8ede2;margin-top:10px;padding-top:10px}
.jalali-picker .jalali-footer button{border:1px solid #e0e7da;border-radius:8px;background:#f8faf5;min-height:32px;padding:5px 10px;font-size:11px}.jalali-picker .jalali-footer .jalali-today{background:#eaf2e3;border-color:#dce7d0}.jalali-picker .jalali-footer .jalali-close{margin-right:auto}
.jalali-keyboard-hint{font-size:9px;color:#87947d;margin:9px 0 0;text-align:center}
@media(max-width:480px){.jalali-picker{padding:12px;border-radius:14px}.jalali-picker .jalali-day,.jalali-empty{height:36px}.jalali-date-control>.jalali-open{width:33px;height:33px}}

/* Optional personnel portrait controls, private preview and camera capture. */
.personnel-photo-panel{min-width:0;width:100%;margin:0;padding:18px 20px;border:1px solid #e0e8d8;border-radius:15px;background:#fbfcf9;grid-column:1/-1}
.personnel-photo-panel legend{font-size:14px;font-weight:600;color:#47623d;padding:0 9px}.photo-optional{display:inline-block;font-size:10px;font-weight:400;color:#849276;margin-inline-start:5px}
.personnel-photo-content{display:flex;gap:20px;align-items:center;min-width:0}.personnel-photo-preview{display:grid;place-items:center;flex:0 0 100px;width:100px;height:112px;border:1px solid #dce5d3;border-radius:13px;background:#eef3e9;overflow:hidden;color:#8a9c7a}
.personnel-photo-image{width:100%;height:100%;object-fit:cover}.personnel-photo-placeholder{display:grid;place-items:center;width:100%;height:100%;padding:22px}.personnel-photo-placeholder svg{width:50px;height:58px;max-width:100%}
.personnel-photo-panel [hidden]{display:none!important}.personnel-photo-description{min-width:0;flex:1}.personnel-photo-description>p:first-child{font-size:11px;line-height:2;color:#708360;margin:0 0 10px}.personnel-photo-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.personnel-photo-actions .btn{white-space:normal;line-height:1.8}
.personnel-photo-status{font-size:11px;line-height:1.9;color:#6e8658;margin:9px 0 0;overflow-wrap:anywhere}.personnel-photo-status:empty{display:none}.personnel-photo-status.is-error{color:#a8644b}.personnel-photo-note{display:block;font-size:10px;color:#8a977d;line-height:1.9;margin-top:8px}
.personnel-photo-camera{margin-top:16px;max-width:500px;margin-inline:auto}.personnel-photo-camera video{display:block;width:100%;max-height:350px;object-fit:contain;background:#1f3027;border-radius:12px;transform:scaleX(-1)}.personnel-photo-camera-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:11px}
.photo-native-button{padding:5px 0;margin-top:6px;border:0;background:transparent;font:inherit;font-size:11px;color:#557547;text-decoration:underline;cursor:pointer}.photo-native-button:focus-visible,.personnel-photo-panel button:focus-visible{outline:3px solid #9ab17e;outline-offset:2px}
@media(max-width:560px){.personnel-photo-panel{padding:14px 13px;border-radius:12px}.personnel-photo-panel legend{font-size:12px}.personnel-photo-content{align-items:flex-start;gap:12px;flex-wrap:wrap}.personnel-photo-preview{width:85px;height:96px;flex-basis:85px}.personnel-photo-description{flex:1 1 170px}.personnel-photo-actions{gap:6px}.personnel-photo-actions .btn{font-size:10px;padding-inline:10px;min-height:34px}.personnel-photo-description>p:first-child,.personnel-photo-status{font-size:10px}.personnel-photo-camera video{max-height:300px}}

/* Simple twelve-month duty grid, scoped to the annual calendar page. */
.annual-calendar{min-width:0}.annual-calendar .annual-heading{margin-bottom:22px}.annual-calendar .annual-panel{padding:24px;min-width:0}.annual-year-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding-bottom:20px;border-bottom:1px solid #e4eadc}.annual-year-controls>label{font-weight:600;color:#557046}.annual-year-controls>small{flex-basis:100%;color:#87967a;font-size:10px}.annual-year-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.annual-year-picker input{width:92px;min-height:38px;padding:7px 12px;border:1px solid #dce5d2;border-radius:9px;background:#fbfcf8;text-align:center;color:#4c6540;font:inherit;font-variant-numeric:tabular-nums}.annual-calendar .annual-year-picker button{min-height:38px}.annual-explanation{margin:18px 0;color:#7d8e70;font-size:11px;line-height:2}.annual-explanation p+p{margin-top:4px}.annual-status{margin:12px 0;font-size:11px;line-height:2;min-height:22px;color:#6b825b}.annual-status.is-error,.annual-form-error{color:#a5624d}.annual-loading{min-height:240px;display:flex;align-items:center;justify-content:center;gap:10px;color:#839375;font-size:12px}.annual-month-table{overflow:hidden;border:1px solid #e3eada;border-radius:15px;background:#fff}.annual-calendar table{border-collapse:collapse;width:100%;table-layout:fixed}.annual-calendar th,.annual-calendar td{text-align:right;padding:11px 16px;border-bottom:1px solid #edf0e7;font-size:12px;vertical-align:middle}.annual-calendar thead th{background:#f6f8f0;color:#889b76;font-size:11px;font-weight:500}.annual-calendar tbody th{font-weight:500;color:#526b43}.annual-calendar tbody tr:last-child>*{border-bottom:0}.annual-calendar th:first-child{width:27%}.annual-calendar th:nth-child(2){width:21%}.annual-calendar th:nth-child(3){width:30%}.annual-calendar th:nth-child(4){width:22%}.annual-month-index{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:#f0f4e8;border-radius:7px;color:#95a580;font-size:10px;margin-inline-end:9px}.annual-calendar .annual-required-days{width:100%;max-width:145px;min-height:38px;padding:7px 11px;border:1px solid #dfe7d4;border-radius:9px;background:#fff;color:#4d6740;font:inherit;text-align:center;font-variant-numeric:tabular-nums}.annual-calendar .annual-required-days:read-only{background:#f2f5ed;color:#8b987f}.annual-cell-hint{display:block;font-size:9px;color:#9aa58c;margin-top:2px}.annual-unconfigured{font-size:10px;color:#a79b72}.annual-calendar .annual-calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 0 3px}.annual-calendar-footer p{font-size:10px;color:#87967a;line-height:2;max-width:580px}.annual-calendar-footer .btn{flex-shrink:0}.annual-form-error{margin:12px 0 0;padding:10px 13px;background:#fff4ee;border:1px solid #eedbd2;border-radius:9px;font-size:11px;line-height:2}.annual-calendar input:focus-visible,.annual-calendar button:focus-visible{outline:3px solid #a7ba8b;outline-offset:2px}.annual-calendar .required{color:#c59478}.annual-calendar .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.annual-calendar [hidden]{display:none!important}
@media(max-width:650px){.annual-calendar .annual-panel{padding:17px 13px}.annual-year-controls{gap:8px;padding-bottom:16px}.annual-year-controls>label{flex-basis:100%;font-size:12px}.annual-year-picker{width:100%;gap:6px}.annual-year-picker input{width:73px;min-height:37px;padding:6px}.annual-calendar .annual-year-picker button{font-size:10px;min-height:37px;padding:6px 9px}.annual-year-controls>small{font-size:9px}.annual-explanation{font-size:10px}.annual-calendar th,.annual-calendar td{padding:10px 7px;font-size:10px}.annual-calendar thead th{font-size:9px}.annual-calendar th:first-child{width:26%}.annual-calendar th:nth-child(2){width:19%}.annual-calendar th:nth-child(3){width:29%}.annual-calendar th:nth-child(4){width:26%}.annual-month-index{display:none}.annual-calendar .annual-required-days{min-height:36px;font-size:12px;padding:6px 4px}.annual-cell-hint{font-size:8px}.annual-calendar .tag{font-size:8px;padding:3px 5px}.annual-unconfigured{font-size:9px}.annual-calendar .annual-calendar-footer{flex-direction:column;align-items:stretch;gap:11px}.annual-calendar-footer p{font-size:10px}.annual-calendar-footer .btn{width:100%}.annual-month-table{border-radius:11px}.annual-status{font-size:10px}}
