:root{--ink:#1C1F26;--paper:#F6F4EF;--line:#DDD8CC;--muted:#6B6A63;--amber:#E3A73B;--teal:#2E7D6B;--coral:#D9583F;--card:#FFFFFF}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--paper);color:var(--ink);font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:1.5}h1,h2,h3,.brand{font-family:Space Grotesk,sans-serif}button{font-family:inherit;cursor:pointer}input,select,textarea{font-family:inherit;font-size:14px}a{cursor:pointer}.authwrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#7070e5,#5deadf)}.authcard{background:#f8faff;border:1px solid #DCE4FF;border-radius:16px;padding:40px;max-width:420px;width:100%;box-shadow:0 10px 30px #1c1f2610}.authcard h1{font-size:28px;margin:0 0 6px;color:#252b55;font-weight:700}.authcard .sub{color:#737b9c;font-size:14px;margin:0 0 28px}.authcard label{display:block;font-size:12.5px;font-weight:700;margin-bottom:6px;color:#6b6b6b}.authcard input,.authcard select{width:100%;padding:12px 14px;border:1px solid #e7e4de;border-radius:10px;margin-bottom:16px;background:#fff;color:#1e1f24}.authcard input:focus{outline:2px solid #DDE3F0;border-color:#dde3f0}.authcard button{width:100%;background:#4f46e5;color:#fff;border:none;padding:13px;border-radius:10px;font-size:15px;font-weight:700;margin-top:8px}.authcard button:hover{opacity:.92}.authcard .error{background:#fbe4dc;color:var(--coral);padding:9px 11px;border-radius:8px;font-size:13px;margin-bottom:14px}.authcard .foot{text-align:center;font-size:13px;margin-top:18px;color:#8a8a8a}.authcard .foot a{color:#4f46e5;text-decoration:none;font-weight:600}.password-field{display:flex;flex-direction:column;gap:8px}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{width:100%;padding:12px 65px 12px 14px;border:1px solid #d1d5db;border-radius:8px;outline:none;font-size:14px;transition:border-color .2s ease,box-shadow .2s ease}.password-input-wrapper input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.password-toggle{position:absolute;right:14px;bottom:50%;cursor:pointer;color:#6366f1;font-size:13px;font-weight:600;-webkit-user-select:none;user-select:none}.password-toggle:hover{color:#4338ca}.app{display:flex;min-height:100vh}.app-reference-ui{height:100vh;min-height:0;overflow:hidden;background:#f5f5fb;color:#18213d}.app-reference-ui nav{width:228px;height:100vh;flex-shrink:0;align-self:flex-start;overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#66708a;border-right:1px solid #e4e5ef;padding:30px 18px;display:flex;flex-direction:column;gap:2px}.app-reference-ui .brand{font-size:33px;font-weight:700;color:#5141ce;margin:0 12px 35px;text-transform:lowercase;letter-spacing:-.02em}.app-reference-ui nav button{background:none;border:none;padding:13px 15px;color:#66708a;margin:2px 0;border-radius:8px;font-size:14px;font-weight:500;text-align:left;display:flex;align-items:center;gap:10px;cursor:pointer}.app-reference-ui nav button svg{flex:0 0 auto;opacity:.75;transition:opacity .16s ease,transform .16s ease}.app-reference-ui nav button.active,.app-reference-ui nav button:hover{background:#efedff;color:#5b46db}.app-reference-ui nav button.active svg,.app-reference-ui nav button:hover svg{opacity:1;transform:translate(1px)}.app-reference-ui .navsp{flex:1}.app-reference-ui .me{padding:14px 12px 4px;border-top:1px solid #e4e5ef;margin-top:12px;font-size:13px;color:#66708a}.app-reference-ui .me-name{font-weight:700;color:#18213d}.app-reference-ui .me-role{margin-top:2px;color:#8b93a8}.app-reference-ui .me .logout{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:0;border:0;background:none;color:#5b46db;font:inherit;font-weight:600;cursor:pointer}.app-reference-ui .me .logout svg{width:16px;height:16px;opacity:1}.app-reference-ui main{height:100vh;min-width:0;min-height:0;flex:1;max-width:none;padding:24px 36px 30px;background:#f5f5fb;color:#18213d;overflow-x:auto;overflow-y:auto;overscroll-behavior:contain}.app-reference-ui .pagehead{align-items:flex-start;margin-bottom:24px}.app-reference-ui .pagehead h1{font-size:28px;color:#18213d}.app-reference-ui .pagehead p{margin:6px 0 0;color:#69738a;font-size:14px}.app-reference-ui .btn{background:#5c47df;border-color:#5c47df;color:#fff}.app-reference-ui .btn.secondary{background:#fff;color:#5c47df;border:1px solid #8e7eff}.app-reference-ui .btn.teal{background:#209766;border-color:#209766;color:#fff}nav{width:190px;flex-shrink:0;background:var(--ink);color:#efede6;padding:20px 12px;display:flex;flex-direction:column;gap:1px}.brand{font-size:19px;font-weight:700;margin:0 8px 18px}.brand span{color:var(--amber)}nav button{background:none;border:none;color:#c9c7be;text-align:left;padding:9px 11px;border-radius:8px;font-size:13.5px;font-weight:500;display:flex;align-items:center;gap:10px;cursor:pointer}nav button svg{flex:0 0 auto;opacity:.72;transition:transform .16s ease,opacity .16s ease}nav button:hover svg,nav button.active svg{opacity:1;transform:translate(2px)}nav button.active{background:#2a2e38;color:#fff}nav button:hover{color:#fff}.navsp{flex:1}.me{padding:12px;border-top:1px solid #333644;font-size:12px;color:#9f9d95}.me .logout{display:inline-flex;align-items:center;gap:8px;margin-top:8px;color:#fff;cursor:pointer}.me .logout svg{width:16px;height:16px}.me a{color:#c9c7be}main{flex:1;padding:26px 30px;max-width:1150px;overflow-x:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px;flex-wrap:wrap}.pagehead h1{font-size:23px;margin:0}.subtabs{display:flex;gap:6px;margin-bottom:4px}.subtabs button{background:#efebe1;border:none;padding:7px 13px;border-radius:20px;font-size:12.5px;font-weight:600;color:var(--muted)}.subtabs button.active{background:var(--ink);color:#fff}.content-stages{display:flex;gap:10px;overflow-x:auto;padding:10px 14px 2px 2px;margin:0 0 10px}.content-stages button{position:relative;overflow:visible;flex:0 0 auto;min-width:96px;min-height:58px;border:1px solid var(--line);background:#fff;border-radius:16px;padding:16px;font:inherit;cursor:pointer;color:var(--ink);font-size:13px;font-weight:800;box-shadow:0 3px 8px #17203314}.content-stages button:hover{transform:translateY(-1px)}.content-stages button .count{position:absolute;top:-8px;right:-8px;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:#243044;color:#fff;border:2px solid #fff;font-size:11px;line-height:20px;font-weight:800;box-shadow:0 2px 4px #17203329}.content-stages button.active{background:#4c5ce8;border-color:#4c5ce8;color:#fff}.content-stages button.active .count{background:#fff;color:#243044}.leave-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#0e142673;display:flex;align-items:center;justify-content:center;padding:24px}.leave-card{position:relative;width:100%;max-width:360px;background:#fff;border-radius:18px;padding:18px 18px 16px}.leave-card h2{margin:0 28px 8px 0}.leave-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.leave-close{position:absolute;top:8px;right:10px;border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer;color:var(--ink)}.content-filters{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-bottom:6px}.content-filters button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 10px;font:inherit;cursor:pointer;font-size:12px;font-weight:700;display:flex;align-items:center;gap:6px}.content-filters button strong{font-size:11px}.content-filters button.draft{background:#fff4d6;border-color:#e3b23c;color:#8a6412}.content-filters button.review{background:#e7ebff;border-color:#4c5ce8;color:#3140c4}.content-filters button.approved{background:#e5f6ef;border-color:#269b75;color:#176b4d}.content-filters button.active{color:#fff}.content-filters button.draft.active{background:#e3b23c}.content-filters button.review.active{background:#4c5ce8}.content-filters button.approved.active{background:#269b75}.content-filter-note{margin:0 0 14px;text-align:right;font-size:11px;line-height:14px;color:var(--muted)}.content-list{display:flex;flex-direction:column;gap:10px}.content-item{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px}.content-item-main{flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:none;text-align:left;font:inherit;cursor:pointer;padding:0}.content-item-main .t{font-weight:700}.btn{background:var(--ink);color:#fff;border:none;padding:9px 16px;border-radius:8px;font-size:13.5px;font-weight:600}.btn:hover{opacity:.88}.btn.secondary{background:none;border:1px solid var(--line);color:var(--ink)}.btn.small{padding:6px 11px;font-size:12.5px}.btn.teal{background:var(--teal)}.btn.coral{background:var(--coral)}.btn:disabled{opacity:.4;cursor:default}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:11px;margin-bottom:24px}.stat{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:13px 15px}.stat .n{font-size:24px;font-weight:700;font-family:Space Grotesk,sans-serif}.stat .l{font-size:12px;color:var(--muted);margin-top:2px}.board{display:grid;grid-auto-flow:column;grid-auto-columns:210px;gap:12px;overflow-x:auto;padding-bottom:8px}.col{background:#efebe1;border-radius:10px;padding:9px;min-height:100px}.col h3{font-size:11.5px;margin:3px 5px 9px;color:var(--muted);font-weight:600;display:flex;justify-content:space-between}.task{background:var(--card);border:1px solid var(--line);border-radius:9px;padding:10px 11px;margin-bottom:8px;cursor:pointer}.task:hover{border-color:#b9b4a4}.task .t{font-weight:600;font-size:13px;margin-bottom:5px}.tag{display:inline-block;font-size:10.5px;padding:2px 7px;border-radius:20px;background:#eee9dd;color:var(--muted);margin-right:4px;margin-bottom:3px}.tag.hi{background:#fbe4dc;color:var(--coral)}.tag.who{background:#e4eeea;color:var(--teal)}.meta{font-size:11.5px;color:var(--muted);margin-top:5px}.flag{color:var(--coral);font-size:11.5px;font-weight:600}.changes-panel{margin:0 0 16px;border:1px solid #f0c9bc;border-radius:14px;background:linear-gradient(180deg,#fff8f5,#fff 55%);box-shadow:0 8px 24px #d9583f14;overflow:hidden}.changes-panel-toggle{width:100%;display:flex;align-items:center;gap:12px;padding:14px 16px;border:0;background:transparent;text-align:left;cursor:pointer;font:inherit}.changes-panel-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#d9583f;color:#fff;font-size:18px;font-weight:800;flex:0 0 auto;box-shadow:0 0 0 6px #d9583f22}.changes-panel-copy{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.changes-panel-copy strong{color:#b1412c;font-size:15px}.changes-panel-copy span{color:#9a6254;font-size:12px}.changes-panel-chevron{color:#b1412c;font-size:14px}.changes-panel-body{padding:0 16px 16px;display:grid;gap:14px;animation:changes-in .22s ease}@keyframes changes-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.changes-feedback{padding:12px 14px;border-radius:12px;background:#fff;border:1px solid #f3d5cb}.changes-feedback-label{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#b56a57;margin-bottom:6px}.changes-feedback blockquote{margin:0;color:#18213d;font-size:14px;line-height:1.55;white-space:pre-wrap}.changes-steps{list-style:none;margin:0;padding:0;display:grid;gap:8px}.changes-steps li{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:10px;background:#fff;border:1px dashed #efd2c7;color:#3a445c;font-size:13px}.changes-steps b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#efedff;color:#5c47df;font-size:11px;flex:0 0 auto}.changes-actions{display:flex;flex-wrap:wrap;gap:8px}.changes-actions .btn{min-height:38px}.empty{color:var(--muted);font-size:13px;padding:10px 6px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1c1f2673;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;overflow-y:auto;z-index:50}.modal{background:#fff;border-radius:14px;padding:24px;width:100%;max-width:540px;margin-top:20px}.modal h2{margin:0 0 14px;font-size:19px}.field{margin-bottom:12px}.field label{display:block;font-size:12px;font-weight:600;margin-bottom:5px;color:var(--muted)}.field input,.field select,.field textarea{width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:7px;background:#faf9f6}.field textarea{resize:vertical;min-height:60px}.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modalbtns{display:flex;gap:8px;justify-content:flex-end;margin-top:16px;flex-wrap:wrap}.section{border-top:1px solid var(--line);margin-top:14px;padding-top:13px}.section h4{font-size:12px;margin:0 0 9px;color:var(--muted);font-weight:600}.note{font-size:13px;margin-bottom:9px;padding-bottom:9px;border-bottom:1px dashed var(--line)}.diffbox{font-size:13.5px;background:#faf9f6;border:1px solid var(--line);border-radius:8px;padding:10px 12px;white-space:pre-wrap;margin-bottom:10px}.diffbox ins{background:#dceee6;color:var(--teal);text-decoration:none}.diffbox del{background:#fbe4dc;color:var(--coral)}.appr-item{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin-bottom:12px}.app-reference-ui main:has(.team-chat-page){height:100vh;min-height:0;padding:0;overflow:hidden}.team-chat-page{display:flex;width:100%;height:100%;min-height:0;flex-direction:column}.team-chat-page>.pagehead{display:none}.chatwrap{display:flex;width:100%;max-width:none;height:100%;min-height:0;flex:1;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:#f0f3f5;box-shadow:none}.chat-header{z-index:1;display:flex;min-height:72px;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #e8edf0;background:#fff}.chat-group-avatar{position:relative;display:flex;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;border-radius:50%;background:#e8e4ff;color:#5a46d6;font-size:15px;font-weight:700}.chat-group-avatar span:last-child{position:absolute;right:-2px;bottom:-2px;display:grid;width:17px;height:17px;place-items:center;border:2px solid #fff;border-radius:50%;background:#5b47de;color:#fff;font-size:9px}.chat-header-copy{min-width:0;flex:1}.chat-header-copy h2{margin:0;color:#202b36;font-family:inherit;font-size:16px;font-weight:700}.chat-header-copy p{margin:2px 0 0;color:#7a8792;font-size:12px}.chat-header-actions{display:flex;align-items:center;gap:14px}.chat-encryption-note{color:#7b8994;font-size:11px}.chat-header-actions button{width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#60707b;font-size:22px}.chat-header-actions button:hover{background:#f0f2f4}.chatlog{position:relative;flex:1;overflow-y:auto;padding:16px clamp(14px,4vw,48px);background-color:#edf2f2;background-image:radial-gradient(#d8e1df .7px,transparent .7px);background-size:18px 18px;scroll-behavior:smooth}.chat-history-hint{display:flex;width:max-content;max-width:100%;flex-direction:column;gap:2px;margin:0 auto 18px;padding:7px 12px;border:1px solid #e3e8e5;border-radius:9px;background:#fff;color:#5e6f74;text-align:center;box-shadow:0 1px 2px #25343c0d}.chat-history-hint span{font-size:11px;font-weight:600}.chat-history-hint small{font-size:10px}.chat-empty-state{position:absolute;top:50%;left:50%;display:grid;justify-items:center;gap:5px;width:min(280px,80%);padding:22px;border:1px solid #e2e8e8;border-radius:15px;background:#ffffffed;color:#6b7981;text-align:center;transform:translate(-50%,-50%)}.chat-empty-state>span{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#eeebff;color:#5c47df;font-size:20px}.chat-empty-state strong{color:#2e3b43;font-size:14px}.chat-empty-state p{margin:0;font-size:12px}.chat-date-divider{position:relative;display:flex;justify-content:center;margin:15px 0}.chat-date-divider span{z-index:1;padding:4px 11px;border:1px solid #dfe5e5;border-radius:999px;background:#ffffffed;color:#63727a;font-size:10px;font-weight:700;box-shadow:0 1px 2px #25343c0b}.chat-message{display:flex;align-items:flex-end;gap:8px;margin:0 0 9px}.chat-message.grouped{margin-top:-5px}.chat-message.own{justify-content:flex-end}.chat-message-avatar{display:grid;width:29px;height:29px;flex:0 0 29px;align-self:flex-start;margin-top:16px;place-items:center;border:1px solid #e1e5eb;border-radius:50%;background:#fff;color:#6071a0;font-size:10px;font-weight:700}.chat-message-content{display:flex;max-width:min(76%,620px);flex-direction:column;align-items:flex-start}.chat-message.own .chat-message-content{align-items:flex-end}.chat-message-sender{margin:0 0 3px 4px;color:#527a76;font-size:10px;font-weight:700}.chat-bubble{position:relative;display:flex;align-items:flex-end;gap:9px;min-width:70px;padding:8px 10px 6px;border:1px solid #e2e8e8;border-radius:12px 12px 12px 3px;background:#fff;color:#27343b;box-shadow:0 1px 2px #283c460d}.chat-message.own .chat-bubble{border-color:#d5ead9;border-radius:12px 12px 3px;background:#dff5e5}.chat-message-text{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px;line-height:1.45}.chat-message-time{flex:0 0 auto;padding-bottom:1px;color:#85918f;font-size:9px;white-space:nowrap}.chat-message.own .chat-message-time{color:#72917a}.chat-message .mention{border-radius:4px;background:#fff0d6;color:#80560b;font-weight:700}.chat-message .mention-content{display:inline;padding:0;border:0;background:transparent;color:#4769c8;font:inherit;text-decoration:underline dotted;cursor:pointer}.chatform{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid #e4e9e9;background:#f8fafb}.chat-compose-box{display:flex;min-width:0;min-height:44px;flex:1;align-items:center;gap:10px;padding:0 12px;border:1px solid #dfe5e7;border-radius:12px;background:#fff}.chat-compose-box:focus-within{border-color:#9c91ed;box-shadow:0 0 0 3px #6251df18}.chat-compose-mark{color:#73828a;font-size:21px;line-height:1}.chat-compose-box input{width:100%;min-width:0;padding:10px 0;border:0;outline:0;background:transparent;color:#27343b;font:inherit;font-size:13px}.chat-compose-box input::placeholder{color:#919da3}.chat-send-button{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:0;border-radius:12px;background:#5b47dd;color:#fff;box-shadow:0 2px 5px #4d39ce2b;transition:background .15s ease,transform .15s ease}.chat-send-button:hover:not(:disabled){background:#4934c7;transform:translateY(-1px)}.chat-send-button:disabled{background:#aaa5c9;box-shadow:none;cursor:default}.chat-send-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-send-loading{font-size:20px;font-weight:700;line-height:1}.chat-send-error{padding:7px 14px;background:#fff1ef;color:#a23a32;font-size:12px}.chat-readonly-note{padding:14px;border-top:1px solid #e4e9e9;background:#f8fafb;color:#75828a;text-align:center;font-size:12px}@media (max-width:820px){.app-reference-ui:has(.team-chat-page){height:100dvh;min-height:0;overflow:hidden}.app-reference-ui main:has(.team-chat-page){height:auto;min-height:0;flex:1;overflow:hidden}.team-chat-page,.chatwrap{height:100%;min-height:0}.chat-header{min-height:64px;padding:10px 12px}.chatlog{padding:12px}}@media (max-width:520px){.team-chat-page{height:100%;min-height:0}.chatwrap{height:100%;min-height:0;border-radius:0}.chat-encryption-note{display:none}.chatlog{padding:12px 10px}.chat-message-content{max-width:84%}.chatform{gap:7px;padding:9px}.chat-compose-box{min-height:42px;padding:0 9px}.chat-send-button{width:42px;height:42px;flex-basis:42px}}.roles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.rolecard{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:16px}.warn{font-size:12px;color:var(--muted);background:#efebe1;border-radius:8px;padding:9px 11px;margin-bottom:14px}table.rep{width:100%;border-collapse:collapse;font-size:13px;margin-bottom:22px}table.rep th,table.rep td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line)}table.rep th{color:var(--muted);font-weight:600;font-size:11.5px}.selfie{width:34px;height:34px;border-radius:8px;object-fit:cover;vertical-align:middle;background:#eee}.camoverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:60}.camoverlay video{width:100%;max-width:420px;border-radius:12px}.camoverlay .camrow{display:flex;gap:10px;margin-top:16px}.calgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.calcell{min-height:76px;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:5px;font-size:11px}.calitem{background:#efebe1;border-radius:5px;padding:2px 5px;font-size:10px;margin-bottom:2px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content-date-field{position:relative}.content-date-popover{position:absolute;top:calc(100% - 8px);left:0;z-index:70;width:min(310px,90vw);padding:12px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px #1c1f2630}.content-date-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.content-date-header button,.content-date-grid button,.content-date-clear{border:0;background:none;color:var(--ink);font:inherit;cursor:pointer}.content-date-header button{width:32px;height:32px;border-radius:7px;font-size:22px}.content-date-header button:hover,.content-date-grid button:hover{background:#efebe1}.content-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.content-date-weekday{padding:6px 0;text-align:center;color:var(--muted);font-size:11px;font-weight:600}.content-date-grid button{height:34px;border-radius:50%;font-size:12px}.content-date-grid button.selected{background:var(--teal);color:#fff}.content-date-clear{width:100%;margin-top:9px;padding:7px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.content-time-selects{display:flex;align-items:center;gap:5px}.content-time-selects select{min-width:0}.attn-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.att-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.att-actions .btn.secondary.on{border-color:#5c47df;background:#f4f1ff;color:#5c47df}.att-month{display:flex;align-items:center;justify-content:space-between;max-width:420px;margin-bottom:8px}.att-month button{border:0;background:none;font-size:22px;cursor:pointer}.att-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;max-width:640px;margin-bottom:18px}.att-weekday{text-align:center;font-size:11px;color:var(--muted);font-weight:700}.att-cal button{border:1px solid var(--line);background:#fff;border-radius:8px;min-height:52px;padding:4px;cursor:pointer;font:inherit;text-transform:capitalize}.att-cal button.on{outline:2px solid var(--ink)}.att-cal .mark{display:block;margin-top:2px;font-size:10px;color:var(--muted)}.att-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:12px 0}.att-metrics div{background:#f6f7fb;border-radius:8px;padding:8px 10px}.hint{color:var(--muted);font-size:13px;margin-top:0}.att-hub{max-width:1100px}.att-back{display:inline-block;margin:0 0 8px;padding:0;border:0;background:none;color:#5c47df;font:inherit;font-weight:700;cursor:pointer}.att-hub-grid{display:grid;gap:14px}.att-card{padding:18px;border:1px solid #e6e6ef;border-radius:12px;background:#fff;box-shadow:0 3px 12px #18213d08}.att-card h2,.att-card h3{margin:0 0 10px;color:#18213d}.att-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.att-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:10px 0}.att-label{display:block;margin-bottom:4px;color:#69738a;font-size:11px;font-weight:700}.att-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#f1f2f5;color:#58657a;font-size:11px;font-weight:700;text-transform:capitalize}.att-pill.live,.att-pill.ok,.att-pill.approved{background:#eaf8ef;color:#23704a}.att-pill.warn,.att-pill.rejected{background:#fff0ee;color:#c53a2c}.att-pill.pending{background:#fff5e7;color:#9a6700}.att-pill.neutral{background:#f1f2f5;color:#58657a}.att-form{display:grid;gap:12px}.att-form label{display:grid;gap:6px;color:#4c5870;font-size:12px;font-weight:700}.att-form input,.att-form select,.att-form textarea{width:100%;min-height:38px;padding:8px 10px;border:1px solid #dfe2ec;border-radius:8px;background:#fcfcff;color:#26314b;font:inherit;font-weight:500}.att-form textarea{min-height:88px;resize:vertical}.att-links{display:grid;gap:8px}.att-links button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 14px;border:1px solid #e6e6ef;border-radius:10px;background:#f8f8fc;color:#18213d;font:inherit;font-weight:700;cursor:pointer;text-align:left}.att-links button:hover{border-color:#cfc7ff;background:#f4f1ff}.att-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.att-tabs button{padding:8px 12px;border:1px solid #e1e4eb;border-radius:999px;background:#fff;color:#58657a;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.att-tabs button.active{border-color:#5c47df;background:#f4f1ff;color:#5c47df}.att-warn{margin:0;color:#9a6700;font-size:13px;font-weight:600}.att-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;color:#69738a;font-size:11px;font-weight:600}.att-legend i{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;vertical-align:middle}.att-member{padding:12px 0;border-bottom:1px solid #edf0f4}.att-member:last-child{border-bottom:0;padding-bottom:0}@media (max-width:720px){.att-card{padding:14px}.att-links button{padding:11px 12px}}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px}.dashboard-heading p{color:#69738a;margin:0}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.dashboard-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.dashboard-stat,.dashboard-panel{min-width:0;background:#fff;border:1px solid #e6e6ef;border-radius:12px}.dashboard-stat{padding:34px 24px}.dashboard-stat p{margin:0 0 4px;color:#69738a;font-size:13px}.dashboard-stat strong{font-family:Space Grotesk,sans-serif;font-size:32px;line-height:1.2;color:#18213d}.dashboard-panel{padding:20px 22px}.dashboard-panel h2{font-size:18px;margin:0 0 16px;color:#18213d}.dashboard-table-wrap{width:100%;overflow-x:auto}.dashboard-table{width:100%;border-collapse:collapse;font-size:13px}.dashboard-table th,.dashboard-table td{padding:12px 10px;border-bottom:1px solid #ededf5;text-align:left;vertical-align:top}.dashboard-table th{background:#f6f6fc;color:#727b93;font-size:12px;font-weight:600;white-space:nowrap}.dashboard-table tbody tr:last-child td{border-bottom:0}.dashboard-link{padding:0;border:0;background:none;color:#5141ce;font:inherit;font-weight:600;text-align:left;cursor:pointer}.dashboard-link:hover{text-decoration:underline}.dashboard-empty{padding:18px 10px!important;color:var(--muted);text-align:center!important}.dashboard-empty-message{padding:10px 0;color:var(--muted);font-size:13px}.dashboard-shoot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;width:100%;padding:0;border:0;background:none;color:#69738a;font:inherit;text-align:left;cursor:pointer}.dashboard-shoot-field{display:flex;min-width:0;flex-direction:column;gap:5px;font-size:12px}.dashboard-shoot-field>span:last-child{overflow:hidden;padding:10px 12px;border:1px solid #dedfec;border-radius:7px;background:#fcfcff;color:#26314b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.app-content .pagehead{margin:10px 0 38px;align-items:flex-end}.app-content .pagehead h1{font-size:28px;color:#18213d}.app-content .pagehead p{margin:5px 0 0;color:#69738a}.content-search-panel,.content-pipeline{min-width:0;background:#fff;border:1px solid #e6e6ef;border-radius:12px;padding:22px 24px;margin-bottom:24px}.content-search-panel h2,.content-pipeline h2{margin:0 0 16px;color:#18213d;font-size:18px}.content-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}.content-search-grid label{display:block;color:#677188;font-size:13px}.content-search-grid input,.content-search-grid select{display:block;width:100%;height:43px;margin-top:7px;padding:10px 12px;border:1px solid #dedfec;border-radius:7px;background:#fcfcff;color:#26314b;font:inherit;font-size:13px}.content-page-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.content-stage-tabs,.content-status-tabs{display:flex;flex-wrap:wrap;gap:8px}.content-stage-tabs button,.content-calendar-toggle,.content-status-tabs button{display:inline-flex;align-items:center;gap:8px;border:1px solid #8e7eff;border-radius:7px;background:#fff;color:#5c47df;padding:10px 18px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.content-stage-tabs button.active,.content-calendar-toggle.active{background:#efedff;border-color:#5c47df}.content-stage-tabs button:hover,.content-calendar-toggle:hover{background:#f7f5ff}.content-calendar-toggle{white-space:nowrap}.content-status-tabs{margin:-6px 0 14px}.content-status-tabs button{border-color:#dedfec;color:#66708a;padding:7px 11px;font-size:12px}.content-status-tabs button.active{border-color:#5c47df;background:#efedff;color:#5141ce}.content-status-tabs strong{font-size:11px}.content-pipeline{padding-bottom:18px}.content-table-wrap{width:100%;overflow-x:auto}.content-table{width:100%;border-collapse:collapse;color:#18213d;font-size:13px}.content-table th,.content-table td{padding:13px 12px;border-bottom:1px solid #ededf5;text-align:left;white-space:nowrap}.content-table th{background:#f6f6fc;color:#727b93;font-size:12px;font-weight:500}.content-table tbody tr:last-child td{border-bottom:0}.content-item-link{max-width:300px;display:inline-block;overflow:hidden;padding:0;border:0;background:none;color:#18213d;font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap}.content-row-clickable{cursor:pointer}.content-row-clickable:hover{background:#f7f5ff}.content-row-clickable:hover .content-item-link{color:#5141ce;text-decoration:underline}.content-row-clickable:focus-visible{outline:2px solid #331ad5;outline-offset:-2px}.content-table-empty{padding:22px 12px!important;color:#69738a;text-align:center!important}.content-page .calgrid{min-width:540px}.content-page .calcell{background:#fff;border-color:#e6e6ef}.content-page .calitem{background:#efedff;color:#5141ce}.content-modal{color:#18213d}.content-modal h2{color:#18213d;font-size:21px}.content-modal .section{margin-top:16px;padding:16px;border:1px solid #e6e6ef;border-radius:10px;background:#fff}.content-modal .section h4{color:#18213d;font-size:14px}.content-modal .field label{color:#677188}.content-modal .field input,.content-modal .field select,.content-modal .field textarea{border-color:#dedfec;background:#fcfcff;color:#26314b}.content-modal .diffbox{border-color:#dedfec;background:#fcfcff}.content-modal .content-date-header button,.content-modal .content-date-grid button,.content-modal .content-date-clear{color:#5141ce}.content-modal .content-date-grid button.selected{background:#5c47df;color:#fff}.content-modal .content-date-popover{border-color:#dedfec;box-shadow:0 10px 28px #18213d24}.overlay:has(.content-modal){align-items:flex-start;padding:18px;background:#18213d66}.content-modal{width:100%;max-width:1200px!important;max-height:calc(100vh - 36px);overflow-y:auto;margin:0;padding:24px;background:#f5f5fb;border:1px solid #e6e6ef;border-radius:12px}.content-workflow-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.content-workflow-heading h2{margin:0;color:#18213d;font-size:24px}.content-workflow-heading p{margin:5px 0 0;color:#69738a;font-size:13px}.content-create-grid,.content-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.content-form-panel,.content-review-grid>.section{min-width:0;margin:0;padding:16px;background:#fff;border:1px solid #e6e6ef;border-radius:10px}.content-form-panel h3{margin:0 0 12px;color:#18213d;font-size:15px}.content-brief-panel{grid-column:1/-1}.content-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.content-form-panel .field{margin-bottom:8px}.content-form-panel .field label,.content-readonly-field{display:block;color:#677188;font-size:11px}.content-form-panel .field input,.content-form-panel .field select,.content-form-panel .field textarea,.content-readonly-field{width:100%;min-height:35px;margin-top:5px;padding:8px 10px;border:1px solid #dedfec;border-radius:7px;background:#fcfcff;color:#26314b;font:inherit;font-size:12px}.content-form-panel .content-date-field button{min-height:35px!important;padding:8px 10px!important;border:1px solid #dedfec!important;border-radius:7px!important;background:#fcfcff!important;font-size:12px}.content-readonly-field{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content-attachment{display:inline-flex;align-items:center;position:relative;overflow:hidden;padding:9px 14px;border-radius:6px;background:#5c47df;color:#fff;font-size:12px;font-weight:600;cursor:pointer}.content-attachment input,.content-upload-drop input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.content-caption-input{display:block;width:100%;min-height:72px;padding:10px;border:1px solid #dedfec;border-radius:7px;background:#fcfcff;color:#26314b;font:inherit;font-size:12px}.content-platforms{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}.content-platforms label{display:flex;align-items:center;gap:5px;color:#677188;font-size:11px}.content-platform-chip{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#efedff;color:#5141ce;font-size:11px;font-weight:700}.content-calendar-toolbar{margin-bottom:14px}.content-calendar-toolbar .actionRow{align-items:center;gap:10px}.task-modal .task-requirement-row{display:flex;gap:8px;align-items:center;margin-bottom:8px}.task-modal .task-requirement-row input{flex:1;min-height:35px;padding:8px 10px;border:1px solid #dedfec;border-radius:7px;background:#fcfcff;font:inherit;font-size:12px}.task-check-row{display:flex;align-items:flex-start;gap:8px;margin:8px 0;color:#26314b;font-size:13px}.task-check-row input{margin-top:3px}.task-page .content-stage-tabs strong{margin-left:6px;font-size:11px}.content-production-tabs{display:flex;gap:6px;margin:-2px 0 10px}.content-production-tabs button{padding:7px 12px;border:1px solid #8e7eff;border-radius:6px;background:#fff;color:#5c47df;font:inherit;font-size:11px;font-weight:600}.content-production-tabs button.active{background:#5c47df;color:#fff}.content-form-hint{margin:2px 0 0;color:#69738a;font-size:11px}.content-item-summary{position:relative;margin-bottom:14px}.content-edited-mark{position:absolute;top:16px;right:16px;padding:4px 9px;border-radius:999px;background:#efe7ff;color:#5c47df;font-size:11px;font-weight:700;letter-spacing:.02em}.content-item-summary h3{margin-bottom:5px}.content-state-badge{display:inline-block;margin-bottom:12px;padding:5px 10px;border-radius:18px;background:#efedff;color:#5942d2;font-size:11px}.content-progress{display:flex;justify-content:space-between;gap:10px;margin-bottom:14px;padding:14px 16px;border:1px solid #e6e6ef;border-radius:10px;background:#fff}.content-progress-step{display:flex;align-items:center;gap:7px;color:#8b93a8;font-size:11px}.content-progress-step b{display:flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%;background:#eef0f6;color:#8b93a8;font-size:10px}.content-progress-step.complete b{background:#e0f5e9;color:#209766}.content-progress-step.current{color:#5c47df}.content-progress-step.current b{background:#5c47df;color:#fff}.content-review-grid>.section{border-top:1px solid #e6e6ef}.content-review-grid>.section h4{margin:0 0 12px;color:#18213d;font-size:14px}.content-review-grid .content-fields-grid{gap:0 14px}.content-review-grid .content-fields-grid .field{margin-bottom:8px}.content-feedback-panel textarea{min-height:60px}.content-feedback-panel small{color:#69738a;font-size:11px}.content-roughcut-panel{grid-column:1/-1}.content-roughcut-panel form{margin-top:14px}.content-upload-drop{position:relative;display:flex;min-height:92px;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:8px 0;border:1px dashed #c9c4ec;border-radius:8px;color:#7566c6;font-size:12px;cursor:pointer}.content-upload-drop>span{font-size:18px}.content-upload-drop small{color:#7566c6;font-size:11px}.content-upload-progress{position:relative;height:28px;margin:0 0 10px;overflow:hidden;border-radius:8px;background:#efedff;color:#5942d2;font-size:12px}.content-upload-progress-bar{position:absolute;inset:0 auto 0 0;width:0;background:#d9d3ff;transition:width .2s ease}.content-upload-progress.done .content-upload-progress-bar{background:#c8efd8}.content-upload-progress.failed .content-upload-progress-bar{width:100%;background:#f8d4d4}.content-upload-progress span{position:relative;display:flex;height:100%;align-items:center;justify-content:center;padding:0 10px;text-align:center}.content-edit-schedule,.content-create-modal .content-brief-panel{grid-column:1/-1}.content-create-modal .content-modal-footer{position:sticky;bottom:-24px;padding:12px 0 0;background:#f5f5fb}.content-full-reader{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;overflow-x:hidden;overflow-y:auto;background:#fff;color:#18213d;overscroll-behavior:contain}.content-full-reader-page{width:100%;min-height:100%;padding:18px 22px 40px;box-sizing:border-box}.app-reference-ui nav .nav-submenu{display:grid;gap:2px;margin:0 0 7px 17px;padding-left:9px;border-left:1px solid #dfe1ed}.app-reference-ui nav .nav-submenu .nav-subitem{min-height:34px;margin:0;padding:7px 10px;border-radius:7px;background:transparent;color:#69738a;font-size:12px}.app-reference-ui nav .nav-submenu .nav-subitem:hover,.app-reference-ui nav .nav-submenu .nav-subitem.active{background:#efedff;color:#5b46db}.app-reference-ui nav button .nav-submenu-chevron{margin-left:auto;font-size:15px;line-height:1}.attendance-settings-page{max-width:1600px;margin:0 auto}.attendance-settings-tabs{display:flex;gap:8px;margin:-4px 0 18px;border-bottom:1px solid #e6e7ef}.attendance-settings-tabs button{padding:10px 14px;border:0;border-bottom:3px solid transparent;background:transparent;color:#69738a;font-size:13px;font-weight:700}.attendance-settings-tabs button.active{border-color:#5c47df;color:#5c47df}.attendance-settings-tabs button:hover{color:#5c47df}.attendance-settings-grid{display:grid;grid-template-columns:minmax(260px,1.08fr) minmax(270px,.82fr) minmax(330px,1.25fr);gap:14px;align-items:start}.attendance-settings-panel{min-width:0;padding:18px;background:#fff;border:1px solid #e6e6ef;border-radius:12px;box-shadow:0 3px 12px #18213d08}.attendance-settings-panel h2{margin:0 0 15px;color:#18213d;font-size:16px}.attendance-settings-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.attendance-settings-panel-head h2{margin:0}.attendance-settings-panel-head h2 span{color:#5c47df}.attendance-settings-panel-head .btn{flex:0 0 auto;padding:8px 12px;font-size:12px}.attendance-shift-card{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding:9px 10px;border:1px solid #e5e7ef;border-radius:9px;background:#fff}.attendance-shift-card.selected{border-color:#a18bff;background:#f7f5ff;box-shadow:0 0 0 1px #a18bff}.attendance-shift-select{display:flex;flex:1;min-width:0;align-items:center;gap:10px;padding:0;border:0;background:transparent;text-align:left;color:#18213d}.attendance-shift-dot{width:11px;height:11px;flex:0 0 auto;border-radius:50%;background:#aeb5c5}.attendance-shift-dot.active{background:#28b36b}.attendance-shift-copy{display:grid;gap:2px;min-width:0}.attendance-shift-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.attendance-shift-copy small{color:#69738a;font-size:11px}.attendance-shift-badge{flex:0 0 auto;padding:3px 8px;border-radius:999px;background:#eeeaff;color:#5c47df;font-size:10px;font-weight:700}.attendance-shift-actions{display:flex;gap:2px}.attendance-shift-actions button{width:30px;height:30px;border:0;border-radius:7px;background:transparent;color:#5c47df;font-size:17px}.attendance-shift-actions button:hover{background:#efedff}.attendance-shift-actions button.danger{color:#d74452}.attendance-shift-actions button:disabled{opacity:.42;cursor:not-allowed}.attendance-settings-field{margin:0 0 11px}.attendance-settings-field label{display:block;margin-bottom:5px;color:#4c5870;font-size:11px;font-weight:700}.attendance-settings-field label b{color:#e24b4a}.attendance-settings-field input{width:100%;min-height:37px;padding:8px 10px;border:1px solid #dfe2ec;border-radius:7px;background:#fcfcff;color:#26314b;font-size:13px}.attendance-settings-field input:focus,.attendance-assignment-table select:focus{outline:2px solid #d8d0ff;border-color:#8771f2}.attendance-settings-check{display:flex;align-items:flex-start;gap:9px;margin:12px 0;color:#26314b}.attendance-settings-check input{width:17px;height:17px;margin:2px 0 0;accent-color:#5c47df}.attendance-settings-check span{display:grid;gap:2px}.attendance-settings-check strong{font-size:12px}.attendance-settings-check small{color:#69738a;font-size:10px}.attendance-settings-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:12px;border-top:1px solid #eceef4}.attendance-settings-form-actions .btn{min-width:92px}.attendance-settings-side{display:grid;gap:14px;min-width:0}.attendance-hours-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.attendance-hours-grid div{display:grid;gap:4px;padding:12px;border-radius:9px;background:#f4f6ff;text-align:center}.attendance-hours-grid div:nth-child(2){background:#eaf8ef}.attendance-hours-grid div:nth-child(3){background:#fff5e7}.attendance-hours-grid div:nth-child(4){background:#f3edff}.attendance-hours-grid small{color:#69738a;font-size:10px}.attendance-hours-grid strong{color:#18213d;font-size:14px}.attendance-settings-help{margin:-7px 0 12px;color:#69738a;font-size:11px}.attendance-assignment-table-wrap{overflow-x:auto}.attendance-assignment-table{width:100%;border-collapse:collapse;font-size:11px}.attendance-assignment-table th,.attendance-assignment-table td{padding:9px 6px;border-bottom:1px solid #eef0f5;text-align:left;vertical-align:middle}.attendance-assignment-table th{color:#69738a;font-size:10px;font-weight:700}.attendance-assignment-table td:last-child,.attendance-assignment-table th:last-child{text-align:center}.attendance-assignment-table select{max-width:190px;width:100%;padding:6px;border:1px solid #e1e3ed;border-radius:6px;background:#fcfcff;color:#3c4660;font:inherit}.attendance-settings-notice{margin:0 0 12px;padding:9px 12px;border:1px solid #cfeedd;border-radius:8px;background:#effaf3;color:#23704a;font-size:12px}.attendance-week-off{display:grid;gap:14px}.attendance-week-off-info{display:flex;align-items:center;gap:12px;min-width:0;padding:13px 15px;border:1px solid #e6e9f0;border-radius:11px;background:#fff;box-shadow:0 3px 12px #18213d08}.attendance-week-off-info-icon{display:grid;width:24px;height:24px;flex:0 0 auto;place-items:center;border-radius:50%;background:#edf5fc;color:#3478ac;font-size:13px;font-weight:800}.attendance-week-off-info p{display:grid;gap:2px;flex:1;min-width:200px;margin:0}.attendance-week-off-info p strong{color:#18213d;font-size:12px}.attendance-week-off-info p span{color:#69738a;font-size:10px;line-height:1.45}.attendance-week-off-legend{display:flex;flex:0 0 auto;gap:8px;align-items:center}.attendance-week-off-legend span{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e4e8ee;border-radius:7px;color:#4b586c;font-size:9px;font-weight:600;white-space:nowrap}.attendance-week-off-legend i{width:9px;height:9px;border:1px solid #cbd2dc;border-radius:3px;background:#fff}.attendance-week-off-legend i.selected{border-color:#1768d4;background:#1768d4}.attendance-week-off-weeks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}.attendance-week-off-card{min-width:0;padding:10px;border:1px solid #e5e8ef;border-radius:11px;background:#fff;box-shadow:0 4px 14px #18213d0a}.attendance-week-off-card h2{display:flex;align-items:center;justify-content:space-between;margin:0 0 9px;color:#1b2638;font-size:12px;font-weight:800}.attendance-week-off-card h2 span{display:grid;min-width:24px;height:20px;place-items:center;padding:0 5px;border-radius:5px;background:#edf5fc;color:#3576a7;font-size:9px}.attendance-week-off-days{display:grid;gap:4px}.attendance-week-off-day{display:flex;min-height:29px;align-items:center;justify-content:space-between;gap:8px;padding:4px 7px;border:1px solid #e8ebf0;border-radius:6px;background:#fff;color:#354254;font-size:10px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease}.attendance-week-off-day.selected{border-color:#cfe1f2;background:#f0f7fd;color:#24527c}.attendance-week-off-day input{width:14px;height:14px;flex:0 0 auto;margin:0;accent-color:#1768d4;cursor:pointer}.attendance-week-off-day input:focus-visible{outline:2px solid #9fc5ed;outline-offset:2px}.attendance-week-off-day input:disabled{cursor:wait}.attendance-week-off-actions{display:flex;justify-content:flex-end;padding-top:2px}.attendance-week-off-actions .btn{min-width:124px}.overlay:has(.attendance-holidays-modal){align-items:center;padding:14px;background:#11182799}.attendance-holidays-modal{width:100%;max-width:1540px!important;max-height:calc(100vh - 28px);overflow-y:auto;margin:0;padding:0!important;border:1px solid #e5e8ef;border-radius:10px;background:#fff;box-shadow:0 20px 70px #11182740;color:#18213d}.attendance-holidays-panel{overflow:hidden;background:#fff}.attendance-holidays-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e8ebf0}.attendance-holidays-heading h2{margin:0;color:#18213d;font-size:16px}.attendance-holidays-heading button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:6px;background:#f2f6fa;color:#24567e;font-size:20px;line-height:1}.attendance-holidays-heading button:hover{background:#e5edf5}.attendance-holiday-message{margin:8px 14px 0}.attendance-holiday-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:center;padding:11px 14px;border-bottom:1px solid #e8ebf0}.attendance-holiday-input{display:block;min-width:0}.attendance-holiday-input input{width:100%;height:38px;padding:8px 11px;border:1px solid #dfe3eb;border-left:3px solid #ce443b;border-radius:6px;background:#fff;color:#26314b;font-size:12px}.attendance-holiday-input input:focus{outline:2px solid #d8d0ff;border-color:#8771f2}.attendance-holiday-form .btn{min-width:66px;padding:8px 13px;border-radius:6px;font-size:12px}.attendance-holiday-table-wrap{overflow-x:auto}.attendance-holiday-table{width:100%;border-collapse:collapse;font-size:12px}.attendance-holiday-table th,.attendance-holiday-table td{height:44px;padding:9px 13px;border-bottom:1px solid #edf0f4;text-align:left}.attendance-holiday-table th{height:34px;background:#f7f8fb;color:#364155;font-size:10px;font-weight:800}.attendance-holiday-table td{color:#303b4e;font-weight:600}.attendance-holiday-table td:nth-child(4),.attendance-holiday-table td:nth-child(5){width:120px}.attendance-holiday-table input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:#1768d4;vertical-align:middle}.attendance-holiday-delete{display:grid;width:24px;height:24px;place-items:center;border:0;border-radius:6px;background:#c8261c;color:#fff;font-size:18px;font-weight:700;line-height:1}.attendance-holiday-delete:hover{background:#a91f17}.attendance-holiday-delete:disabled{opacity:.5;cursor:wait}.attendance-holiday-empty{height:70px!important;text-align:center!important;color:#788398!important;font-weight:500!important}.attendance-holiday-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;color:#66738a;font-size:10px}.attendance-holiday-page-size,.attendance-holiday-page-controls{display:flex;align-items:center;gap:8px}.attendance-holiday-page-size select{min-width:52px;padding:6px;border:1px solid #e1e4eb;border-radius:6px;background:#fff;color:#3c4660;font-size:11px}.attendance-holiday-page-controls button,.attendance-holiday-page-controls span{min-width:32px;height:30px;padding:0 8px;border:1px solid #e1e4eb;border-radius:6px;background:#fff;color:#58657a;font-size:10px}.attendance-holiday-page-controls span{display:grid;place-items:center;border-color:#17599a;background:#17599a;color:#fff;font-weight:700}.attendance-holiday-page-controls button:disabled{opacity:.45;cursor:not-allowed}.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}.attendance-leave-types{overflow:hidden;border:1px solid #e5e8ef;border-radius:11px;background:#fff;box-shadow:0 4px 14px #18213d0a}.attendance-leave-types-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e8ebf0}.attendance-leave-types-heading h2{margin:0;color:#18213d;font-size:17px}.attendance-leave-types-heading p{margin:3px 0 0;color:#69738a;font-size:11px}.attendance-leave-create{flex:0 0 auto;font-size:12px}.attendance-leave-message{margin:10px 14px 0}.attendance-leave-table-wrap{overflow-x:auto}.attendance-leave-table{width:100%;border-collapse:collapse;font-size:11px}.attendance-leave-table th,.attendance-leave-table td{padding:10px 12px;border-bottom:1px solid #edf0f4;text-align:left;vertical-align:middle}.attendance-leave-table th{background:#f7f8fb;color:#364155;font-size:10px;font-weight:800;white-space:nowrap}.attendance-leave-table td{color:#303b4e}.attendance-leave-table td strong{display:block;color:#202b3e;font-size:11px}.attendance-leave-table td small{display:block;max-width:260px;margin-top:3px;overflow:hidden;color:#778196;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.attendance-leave-status{display:inline-block;padding:3px 7px;border-radius:999px;background:#f1f2f5;color:#768093;font-size:9px;font-weight:700}.attendance-leave-status.active{background:#efedff;color:#5c47df}.attendance-leave-actions{display:flex;gap:4px}.attendance-leave-actions button{width:26px;height:26px;border:0;border-radius:6px;background:#f0edff;color:#5947c8;font-size:15px}.attendance-leave-actions button:hover{background:#e4dfff}.attendance-leave-actions button.danger{background:#fff0ee;color:#c53a2c}.attendance-leave-actions button.danger:hover{background:#ffe0dc}.overlay:has(.attendance-leave-type-modal){align-items:center;padding:18px;background:#18213d66}.attendance-leave-type-modal{width:100%;max-width:1120px!important;max-height:calc(100vh - 36px);overflow-y:auto;margin:0;padding:0!important;border:1px solid #e6e6ef;border-radius:12px;background:#f5f5fb;box-shadow:0 16px 50px #18213d24;color:#18213d}.attendance-leave-modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;background:#fff;border-bottom:1px solid #e6e6ef;color:#18213d}.attendance-leave-modal-heading h2{margin:0;font-size:18px}.attendance-leave-modal-heading p{margin:2px 0 0;color:#69738a;font-size:12px;font-weight:500}.attendance-leave-modal-heading button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:7px;background:transparent;color:#69738a;font-size:22px}.attendance-leave-modal-heading button:hover{background:#efedff;color:#5c47df}.attendance-leave-type-form{display:grid;gap:14px;padding:16px 18px 18px}.attendance-leave-modal-message{margin:0}.attendance-leave-policy-note{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid #ded9fb;border-radius:8px;background:#f1efff;color:#5b4ab3;font-size:12px;line-height:1.55}.attendance-leave-policy-note>span{font-size:14px}.attendance-leave-policy-note p{margin:0}.attendance-leave-basic-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,.9fr);gap:14px;align-items:stretch}.attendance-leave-form-panel,.attendance-leave-rules-panel{min-width:0;padding:16px;border:1px solid #e6e6ef;border-radius:10px;background:#fff;box-shadow:0 2px 8px #18213d08}.attendance-leave-form-panel h3,.attendance-leave-rules-panel>h3{margin:0 0 13px;color:#596579;font-size:12px;font-weight:800;text-transform:uppercase}.attendance-leave-basic-fields{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:12px;align-items:end}.attendance-leave-field{min-width:0;margin:0 0 11px}.attendance-leave-field:last-child{margin-bottom:0}.attendance-leave-field label{display:block;margin:0 0 6px;color:#3d485b;font-size:12px;font-weight:700}.attendance-leave-field label b{color:#c8352c}.attendance-leave-field input,.attendance-leave-field select,.attendance-leave-field textarea{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid #dfe2ec;border-radius:7px;background:#fcfcff;color:#26314b;font-size:13px}.attendance-leave-field input:focus,.attendance-leave-field select:focus,.attendance-leave-field textarea:focus{outline:2px solid #d8d0ff;border-color:#8771f2}.attendance-leave-field input:disabled{background:#f2f4f7;color:#9aa3b1}.attendance-leave-field textarea{resize:vertical}.attendance-leave-description{grid-column:1/-1}.attendance-leave-toggle-card,.attendance-leave-rule-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:8px 10px;border:1px solid #e8eaf1;border-radius:7px;background:#fff;color:#313d50;font-size:12px;font-weight:700}.attendance-leave-toggle-card input,.attendance-leave-rule-toggle input{position:relative;width:36px;height:20px;flex:0 0 auto;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #c8ced7;border-radius:999px;background:#e7e9ed;cursor:pointer;transition:background .15s ease,border-color .15s ease}.attendance-leave-toggle-card input:before,.attendance-leave-rule-toggle input:before{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;content:"";transition:transform .15s ease}.attendance-leave-toggle-card input:checked,.attendance-leave-rule-toggle input:checked{border-color:#5c47df;background:#5c47df}.attendance-leave-toggle-card input:checked:before,.attendance-leave-rule-toggle input:checked:before{transform:translate(15px)}.attendance-leave-toggle-card input:focus-visible,.attendance-leave-rule-toggle input:focus-visible{outline:2px solid #9fc5ed;outline-offset:2px}.attendance-leave-rules-panel{padding:16px}.attendance-leave-rule-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.attendance-leave-rule-group{display:grid;align-content:start;gap:8px;min-width:0;padding:12px;border:1px solid #e8eaf1;border-radius:8px;background:#fff}.attendance-leave-rule-group h4{display:flex;align-items:center;gap:8px;margin:0 0 3px;color:#596579;font-size:11px;font-weight:800;text-transform:uppercase}.attendance-leave-rule-group h4 span{display:grid;width:27px;height:27px;place-items:center;border-radius:7px;background:#efedff;color:#5c47df;font-size:15px}.attendance-leave-rule-group h4 .rule-carry{background:#f0edff;color:#6954d5}.attendance-leave-rule-group h4 .rule-approval{background:#fff5e7;color:#a37622}.attendance-leave-rule-toggle{min-height:38px;padding:7px 9px;font-size:11px}.attendance-leave-carry-limit{padding:9px;border-radius:7px;background:#f5f6fa}.attendance-leave-carry-limit label{font-size:11px}.attendance-leave-carry-limit input{min-height:34px}.attendance-leave-modal-footer{position:sticky;bottom:-18px;display:flex;justify-content:flex-end;gap:9px;margin:0 -18px -18px;padding:12px 18px;background:#fff;border-top:1px solid #e6e6ef}.attendance-leave-modal-footer .btn{min-width:82px;padding:8px 14px;font-size:12px}.overlay:has(.attendance-shift-modal){align-items:center;padding:14px;background:#11182799}.attendance-shift-modal{width:100%;max-width:1240px!important;max-height:calc(100vh - 28px);overflow-y:auto;margin:0;padding:0!important;border:1px solid #e3e5ec;border-radius:16px;background:#f5f6fa;box-shadow:0 20px 70px #11182740;color:#18213d}.attendance-shift-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 22px 14px;border-bottom:1px solid #eceef3;background:#fff}.attendance-shift-modal-heading h2{margin:0;color:#18213d;font-size:17px}.attendance-shift-modal-heading p{margin:2px 0 0;color:#69738a;font-size:11px}.attendance-shift-modal-heading>button{width:30px;height:30px;border:0;border-radius:6px;background:transparent;color:#4a5261;font-size:23px;line-height:1}.attendance-shift-modal-heading>button:hover{background:#f0f1f5}.attendance-shift-modal-form{display:grid;gap:16px;padding:18px 20px 20px}.attendance-shift-modal-section{min-width:0;padding:16px 18px 18px;border:1px solid #eceef2;border-radius:12px;background:#fff;box-shadow:0 3px 12px #18213d08}.attendance-shift-modal-section h3{display:flex;align-items:center;gap:10px;margin:0 0 15px;padding-bottom:12px;border-bottom:1px solid #edf0f4;color:#596579;font-size:12px;font-weight:800;text-transform:uppercase}.attendance-shift-modal-section h3>span{display:grid;width:34px;height:34px;place-items:center;border:1px solid #d5efdf;border-radius:9px;background:#e8f7ed;color:#18713c;font-size:18px}.attendance-shift-modal-section h3>.first-half-icon{border-color:#d6e8fa;background:#e8f2ff;color:#1971c2}.attendance-shift-modal-section h3>.second-half-icon{border-color:#e5dcfa;background:#f0eaff;color:#7651c9}.attendance-shift-modal-section h3>.working-minutes-icon{border-color:#e0efc9;background:#f0f8df;color:#4c7513}.attendance-shift-basic-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.attendance-shift-halves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.attendance-shift-half-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.attendance-shift-working-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.attendance-shift-modal-field{min-width:0}.attendance-shift-modal-field label{display:block;margin:0 0 7px;color:#303b4e;font-size:12px;font-weight:700}.attendance-shift-modal-field label b{color:#c8352c}.attendance-shift-modal-field input{width:100%;min-width:0;height:42px;padding:8px 10px;border:1px solid #e0e4eb;border-radius:9px;background:#fff;color:#26314b;font-size:13px}.attendance-shift-modal-field input:focus{outline:2px solid #d8d0ff;border-color:#8771f2}.attendance-shift-modal-footer{position:sticky;bottom:-20px;display:flex;justify-content:flex-end;gap:9px;margin:0 -20px -20px;padding:14px 20px;background:#fff;border-top:1px solid #eceef3}.attendance-shift-modal-footer .btn{min-width:78px}@media (max-width:900px){.attendance-shift-halves{grid-template-columns:1fr}.attendance-shift-working-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-leave-basic-grid{grid-template-columns:1fr}}@media (max-width:600px){.overlay:has(.attendance-shift-modal){align-items:flex-start;padding:8px}.attendance-shift-modal{max-height:calc(100vh - 16px)}.attendance-shift-modal-form{gap:10px;padding:12px}.attendance-shift-modal-section{padding:13px 12px}.attendance-shift-basic-fields,.attendance-shift-half-fields{grid-template-columns:1fr}.attendance-shift-working-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-shift-modal-footer{bottom:-12px;margin:0 -12px -12px;padding:11px 12px}.overlay:has(.attendance-leave-type-modal){align-items:flex-start;padding:8px}.attendance-leave-type-modal{max-height:calc(100vh - 16px)}.attendance-leave-type-form{gap:9px;padding:10px}.attendance-leave-basic-fields{grid-template-columns:1fr}.attendance-leave-description{grid-column:auto}.attendance-leave-rule-groups{grid-template-columns:1fr}.attendance-leave-modal-footer{bottom:-10px;margin:0 -10px -10px;padding:9px 10px}}@media (max-width:1180px){.attendance-settings-grid{grid-template-columns:minmax(250px,.9fr) minmax(280px,1fr)}.attendance-settings-side{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-week-off-weeks{grid-template-columns:repeat(3,minmax(0,1fr))}.attendance-week-off-info{flex-wrap:wrap}.attendance-week-off-legend{margin-left:36px}}@media (max-width:760px){.attendance-settings-grid,.attendance-settings-side{grid-template-columns:1fr}.attendance-settings-side{grid-column:auto}.app-reference-ui main{padding:20px 16px}.attendance-week-off-weeks{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-week-off-legend{flex-wrap:wrap;margin-left:36px}}@media (max-width:480px){.attendance-settings-tabs{gap:2px;overflow-x:auto}.attendance-settings-tabs button{padding:9px 10px;font-size:11px;white-space:nowrap}.attendance-leave-types-heading{align-items:flex-start;flex-direction:column}.attendance-leave-create{align-self:flex-end}.attendance-week-off-weeks{grid-template-columns:1fr}.attendance-week-off-info p{min-width:0}.attendance-week-off-legend{margin-left:36px}.attendance-holiday-form{grid-template-columns:1fr}.attendance-holiday-form .btn{justify-self:end}.attendance-holiday-pagination{align-items:flex-start;flex-direction:column}}.staff-management{color:#18213d}.staff-management-tabs{display:flex;align-items:center;gap:26px;margin:0 0 15px;border-bottom:1px solid #e1e4ef;color:#53617c;font-weight:700}.staff-management-tabs button{padding:10px 12px;border:0;border-bottom:3px solid transparent;background:transparent;color:inherit;font:inherit;white-space:nowrap}.staff-management-tabs button.active{color:#542dd3;border-color:#542dd3}.staff-management-message{margin:0 0 12px;padding:9px 12px;border-radius:8px;background:#e8f7ed;color:#176b4d;font-size:13px}.staff-management-message.error{background:#fff0ee;color:#ad3e36}.staff-management-grid{display:grid;grid-template-columns:minmax(350px,.92fr) minmax(520px,1.48fr);gap:14px;align-items:start}.staff-management-left{display:flex;flex-direction:column;gap:12px;min-width:0}.staff-panel{min-width:0;padding:16px 14px;background:#fff;border:1px solid #e4e6f0;border-radius:14px;box-shadow:0 2px 6px #17203308}.staff-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.staff-panel-heading h2{margin:0;font-size:17px;color:#1c2336}.staff-panel-heading h2 span{color:#542dd3}.staff-management .btn.small{padding:6px 11px;font-size:12px;white-space:nowrap}.staff-inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 12px}.staff-inline-form input,.staff-inline-form select,.staff-role-edit input,.staff-role-edit select{min-width:0;padding:8px 10px;border:1px solid #dfe2ed;border-radius:7px;background:#fff;color:#18213d}.staff-role-form{grid-template-columns:minmax(100px,1fr) minmax(110px,1fr) auto}.staff-table-wrap{width:100%;overflow-x:auto}.staff-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.staff-table th{padding:8px 7px;background:#f2f4fa;color:#29344d;text-align:left;font-weight:700}.staff-table td{padding:8px 7px;border-bottom:1px solid #e9ebf2;color:#25304a}.staff-table tbody tr.selected{background:#f0eaff}.staff-table tbody tr:last-child td{border-bottom:0}.staff-table .staff-actions{display:flex;align-items:center;gap:5px}.staff-actions button{width:24px;height:24px;border:0;background:transparent;color:#4b5a78;font-size:18px;line-height:1}.staff-actions button:last-child{color:#ed3845;font-size:22px}.staff-role-select{padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:700;text-align:left}.staff-role-detail{min-height:450px}.staff-role-header{display:flex;align-items:center;gap:13px;padding:0 2px 14px}.staff-role-avatar{display:flex;width:56px;height:56px;flex:0 0 56px;align-items:center;justify-content:center;border-radius:50%;background:#efe8ff;color:#552dd4;font-size:29px}.staff-role-title{flex:1;min-width:0}.staff-role-title h2{margin:0 0 3px;color:#1c2336;font-size:18px}.staff-role-title p{margin:0;color:#6b748a;font-size:12px}.staff-detail-tabs{display:flex;gap:10px;border-bottom:1px solid #e5e7f0}.staff-detail-tabs button{padding:8px 10px;border:0;border-bottom:3px solid transparent;background:transparent;color:#55617a;font-weight:700;white-space:nowrap}.staff-detail-tabs button.active{border-color:#542dd3;border-radius:9px 9px 0 0;background:#efeaff;color:#542dd3}.staff-permissions-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:15px 0 11px}.staff-permissions-heading h3{margin:0;color:#1c2336;font-size:15px}.staff-permissions-heading label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700}.staff-permission-table{font-size:12px}.staff-permission-table th:not(:first-child),.staff-permission-table td:not(:first-child){text-align:center}.staff-permission-table th{padding:8px 7px}.staff-permission-table td{padding:7px}.staff-permission-table td:first-child{font-weight:700}.staff-permission-table input[type=checkbox],.staff-permissions-heading input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#552dd4;vertical-align:middle}.staff-detail-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.staff-role-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.staff-role-info div{padding:12px;border-radius:9px;background:#f6f7fb}.staff-role-info dt{color:#7a849a;font-size:12px}.staff-role-info dd{margin:3px 0 0;color:#1c2336;font-weight:700}.staff-role-edit{display:grid;gap:14px;max-width:480px;margin:18px 0}.staff-role-edit label{display:grid;gap:5px;color:#59647c;font-size:12px;font-weight:700}.staff-assigned-list{margin-top:16px}.staff-assigned-list>div{display:flex;justify-content:space-between;gap:12px;padding:11px 5px;border-bottom:1px solid #e9ebf2;font-weight:700}.staff-assigned-list small{color:#778198;font-weight:400}.staff-assigned-list p,.staff-empty-role{padding:22px 10px;color:#778198;text-align:center}.staff-management-embedded .pagehead,.staff-management-embedded .staff-management-tabs{display:none}.staff-management-section-departments .staff-management-grid{grid-template-columns:1fr}.staff-management-section-departments #staff-roles,.staff-management-section-departments #staff-permissions,.staff-management-section-roles #staff-departments{display:none}.staff-directory-page{color:#18213d}.staff-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.staff-directory-heading h1{margin:0;color:#18213d;font-size:28px}.staff-directory-heading p{margin:5px 0 0;color:#69738a;font-size:14px}.staff-add-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 18px;font-weight:700}.staff-add-button span{font-size:20px;line-height:1}.staff-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:17px}.staff-stat-card{display:flex;align-items:center;gap:12px;min-height:76px;padding:13px 15px;border:1px solid transparent;border-radius:13px}.staff-stat-card>div{display:grid;gap:2px;min-width:0}.staff-stat-card>div>span{font-size:12px;color:#59647c}.staff-stat-card strong{font-size:24px;line-height:1.15;color:#18213d}.staff-stat-icon{display:flex;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;border-radius:50%;font-size:22px;font-weight:700}.staff-stat-purple{background:#f6f0ff;border-color:#ebe0ff}.staff-stat-purple .staff-stat-icon{background:#eadbff;color:#6435d0}.staff-stat-green{background:#effaf3;border-color:#dff4e6}.staff-stat-green .staff-stat-icon{background:#dcf6e2;color:#178d42}.staff-stat-blue{background:#eef6ff;border-color:#deebff}.staff-stat-blue .staff-stat-icon{background:#dcecff;color:#1b78d5}.staff-stat-orange{background:#fff7eb;border-color:#ffecd2}.staff-stat-orange .staff-stat-icon{background:#ffedcf;color:#d98a12}.staff-directory-tabs{display:flex;align-items:center;gap:8px;margin-bottom:14px;border-bottom:1px solid #e1e4ef;color:#53617c}.staff-directory-tabs button{padding:10px 12px;border:0;border-bottom:3px solid transparent;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:700;white-space:nowrap}.staff-directory-tabs button.active{border-color:#542dd3;color:#542dd3}.staff-directory-tab-actions{display:flex;align-items:center;gap:6px;margin-left:auto;padding:0 0 7px}.staff-directory-toolbar{display:flex;align-items:center;gap:9px;margin-bottom:12px}.staff-search{display:flex;align-items:center;gap:8px;flex:1;min-width:160px;height:38px;padding:0 11px;border:1px solid #dfe2ec;border-radius:8px;background:#fff;color:#758098}.staff-search>span{font-size:21px;line-height:1}.staff-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#18213d;font:inherit;font-size:12px}.staff-directory-toolbar select{height:38px;min-width:126px;padding:0 10px;border:1px solid #dfe2ec;border-radius:8px;background:#fff;color:#29344d;font:inherit;font-size:12px}.staff-view-toggle{width:36px;height:36px;border:1px solid #e0e2ec;border-radius:8px;background:#fff;color:#66708a;font-size:18px}.staff-view-toggle.active{border-color:#e4dcff;background:#f1edff;color:#542dd3}.staff-view-toggle:disabled{cursor:default;opacity:1}.staff-list-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:12px;align-items:start}.staff-list-layout.staff-list-no-detail{grid-template-columns:1fr}.staff-list-card,.staff-detail-card{min-width:0;border:1px solid #e4e6f0;border-radius:13px;background:#fff;box-shadow:0 2px 6px #17203308}.staff-table-scroll{width:100%;overflow-x:auto;border-radius:13px 13px 0 0}.staff-directory-table{width:100%;min-width:740px;border-collapse:collapse;font-size:12px}.staff-directory-table th{padding:11px 9px;background:#f5f6fb;color:#2c3650;text-align:left;font-weight:700;white-space:nowrap}.staff-directory-table td{padding:9px;border-bottom:1px solid #eceef4;color:#26314a;white-space:nowrap}.staff-directory-table tbody tr{cursor:pointer}.staff-directory-table tbody tr:hover,.staff-directory-table tbody tr.selected{background:#f7f4ff}.staff-directory-table tbody tr:last-child td{border-bottom:0}.staff-person-cell{display:flex;align-items:center;gap:9px;min-width:165px}.staff-avatar,.staff-profile-avatar{display:flex;width:34px;height:34px;flex:0 0 34px;align-items:center;justify-content:center;border-radius:50%;background:#eee7ff;color:#592fc9;font-size:13px;font-weight:700}.staff-person-name{display:grid;gap:1px}.staff-person-name strong{color:#202942;font-size:12px}.staff-person-name small{color:#6e7890;font-size:10px}.staff-department-pill{display:inline-block;padding:3px 9px;border-radius:20px;background:#f1e8ff;color:#6038c6;font-weight:700}.staff-status-pill{display:inline-block;padding:3px 10px;border-radius:20px;background:#e4f8e9;color:#16843d;font-size:11px;font-weight:700}.staff-row-actions{display:flex;gap:4px}.staff-row-actions button{width:27px;height:27px;border:0;border-radius:6px;background:transparent;color:#59647c;font-size:17px}.staff-row-actions button:hover{background:#f0edff;color:#542dd3}.staff-empty-cell{padding:26px 12px!important;color:#788197!important;text-align:center}.staff-list-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;color:#4b5670;font-size:11px}.staff-list-footer>div{display:flex;align-items:center;gap:8px}.staff-list-footer button{width:28px;height:28px;border:1px solid #e0e2ec;border-radius:7px;background:#fff;color:#4a5570;font-size:18px}.staff-list-footer button:disabled{opacity:.45;cursor:default}.staff-detail-card{position:relative;padding:16px 14px}.staff-detail-close{position:absolute;top:8px;right:9px;border:0;background:transparent;color:#63708a;font-size:24px;line-height:1}.staff-profile{display:flex;align-items:center;gap:12px;padding:0 20px 14px 0}.staff-profile-avatar{width:58px;height:58px;flex-basis:58px;font-size:20px}.staff-profile h2{margin:0;color:#202942;font-size:17px}.staff-profile p{margin:2px 0 6px;color:#66718a;font-size:12px}.staff-contact-details{display:grid;gap:8px;margin:0;padding:0 0 14px;border-bottom:1px solid #edf0f5}.staff-contact-details>div{display:flex;align-items:center;gap:10px;min-width:0}.staff-contact-details dt{width:17px;color:#63708a;text-align:center}.staff-contact-details dd{overflow:hidden;margin:0;color:#39445d;font-size:12px;text-overflow:ellipsis}.staff-detail-tabs{display:flex;gap:4px;margin:7px 0 0;overflow-x:auto}.staff-detail-tabs button{padding:8px 7px;border:0;border-bottom:3px solid transparent;background:transparent;color:#63708a;font-size:11px;font-weight:700;white-space:nowrap}.staff-detail-tabs button.active{border-color:#542dd3;color:#542dd3}.staff-detail-overview{display:grid;gap:10px;padding:14px 2px}.staff-detail-overview h3{margin:0 0 2px;color:#202942;font-size:14px}.staff-detail-overview>div{display:grid;gap:2px}.staff-detail-overview>div span{color:#778198;font-size:11px}.staff-detail-overview>div strong{color:#2c3650;font-size:12px;font-weight:600;overflow-wrap:anywhere}.staff-detail-overview p{margin:2px 0 0;color:#758098;font-size:11px;line-height:1.5}.staff-detail-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #edf0f5}.staff-detail-actions .btn{flex:1;min-width:0;padding:8px 6px;font-size:11px;white-space:nowrap}.staff-directory-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.staff-directory-person-card{display:grid;justify-items:start;gap:6px;padding:16px;border:1px solid #e4e6f0;border-radius:12px;background:#fff;color:#26314a;text-align:left}.staff-directory-person-card:hover{border-color:#b9a7ff;box-shadow:0 4px 12px #542dd311}.staff-directory-person-card strong{font-size:14px}.staff-directory-person-card>span:not(.staff-avatar){color:#5d687f;font-size:12px}.staff-directory-person-card small{overflow-wrap:anywhere;color:#788197;font-size:11px}.staff-directory-empty,.staff-create-prompt{padding:22px;border:1px solid #e4e6f0;border-radius:12px;background:#fff;color:#66708a}.staff-directory-alert{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fff0ee;color:#ad3e36;font-size:13px}.staff-form-modal{max-width:620px}.staff-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.staff-form-heading h2{margin:0;color:#202942;font-size:21px}.staff-form-heading p{margin:4px 0 0;color:#69738a;font-size:13px}.staff-form-heading>button{border:0;background:transparent;color:#69738a;font-size:24px;line-height:1}.staff-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.staff-form-grid label{gap:5px;color:#59647c;font-size:12px;font-weight:700}.staff-form-grid label>span{color:#d9583f}.staff-form-grid input,.staff-form-grid select{width:100%;min-width:0;height:39px;padding:10px;margin-top:5px;border:1px solid #dfe2ed;border-radius:7px;background:#fff;color:#26314b;font:inherit;font-size:13px}.staff-form-grid select:focus{border-color:#8e7eff;outline:3px solid #eeeaff;outline-offset:1px}.staff-form-grid select option{padding:9px 10px;background:#fff;color:#26314b;font:inherit}.staff-form-grid select option:checked{background:linear-gradient(#eeeaff,#eeeaff);color:#542dd3}.staff-form-grid .staff-password-field{grid-column:1/-1}.staff-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.profile-card{max-width:640px;padding:22px;border:1px solid #e4e6f0;border-radius:14px;background:#fff}.profile-card .attendance-settings-notice{margin-top:12px}@media (max-width:820px){.app{flex-direction:column}.app-reference-ui{height:auto;min-height:100vh;overflow:visible}nav{width:100%;flex-direction:row;overflow-x:auto;padding:10px 12px}.brand,.navsp,.me{display:none}.app-reference-ui nav{width:100%;height:auto;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:10px 12px}.app-reference-ui .brand,.app-reference-ui .navsp,.app-reference-ui .me{display:none}nav button{white-space:nowrap}.app-reference-ui nav button{white-space:nowrap;padding:9px 11px}main{padding:16px}.app-reference-ui main{height:auto;min-height:0;overflow:visible;padding:16px}.row2,.dashboard-grid{grid-template-columns:1fr}.dashboard-stats{grid-column:auto}.content-search-grid{grid-template-columns:1fr}.content-page-tabs{align-items:flex-start;flex-direction:column}.content-stage-tabs button{padding:9px 12px}.content-search-panel,.content-pipeline{padding:18px 16px}.content-modal{max-height:calc(100vh - 16px);padding:16px;margin:0}.overlay:has(.content-modal){padding:8px}.content-create-grid,.content-review-grid{grid-template-columns:1fr}.content-brief-panel,.content-roughcut-panel,.content-edit-schedule{grid-column:auto}.content-workflow-heading{align-items:flex-start;flex-direction:column}.content-workflow-heading .btn{align-self:stretch}.content-progress{justify-content:flex-start;overflow-x:auto}.content-progress-step{flex:0 0 auto}.content-fields-grid,.staff-management-grid{grid-template-columns:1fr}.staff-role-detail{min-height:0}.staff-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-list-layout{grid-template-columns:1fr}.staff-directory-toolbar{flex-wrap:wrap}.staff-search{flex-basis:100%}.staff-directory-toolbar select{flex:1}.staff-detail-card{order:-1}}@media (max-width:520px){.staff-management-tabs{gap:4px;overflow-x:auto}.staff-management-tabs button{padding:9px 7px;font-size:12px}.staff-panel{padding:13px 10px}.staff-role-header{align-items:flex-start;flex-wrap:wrap}.staff-role-header>.btn{margin-left:68px}.staff-detail-tabs{gap:2px;overflow-x:auto}.staff-detail-tabs button{padding:8px 6px;font-size:11px}.staff-role-form{grid-template-columns:1fr}.staff-directory-heading{align-items:flex-start;flex-direction:column}.staff-directory-heading .staff-add-button{align-self:stretch;justify-content:center}.staff-directory-tabs{gap:0;overflow-x:auto}.staff-directory-tabs button{padding:9px 8px;font-size:11px}.staff-directory-tab-actions{flex:0 0 auto;padding-left:8px}.staff-directory-tab-actions .staff-add-button{padding:7px 10px;font-size:11px;white-space:nowrap}.staff-stat-grid{gap:8px}.staff-stat-card{min-height:68px;padding:9px}.staff-stat-icon{width:36px;height:36px;flex-basis:36px;font-size:18px}.staff-stat-card strong{font-size:20px}.staff-stat-card>div>span{font-size:10px}.staff-detail-actions{flex-direction:column}.staff-form-grid{grid-template-columns:1fr}.staff-form-grid .staff-password-field{grid-column:auto}}.catalog-page{color:#18213d}.catalog-page>.pagehead{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #e1e4ef}.catalog-page>.pagehead h1{color:#18213d;font-size:28px}.catalog-page>.pagehead p{color:#69738a;font-size:14px}.catalog-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.catalog-summary>div{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;align-items:center;min-height:74px;padding:12px 15px;border:1px solid #e4e6f0;border-radius:13px;background:#fff;box-shadow:0 2px 6px #17203308}.catalog-summary-icon{display:grid;grid-row:1/3;place-items:center;width:40px;height:40px;border-radius:50%;background:#efe8ff;color:#552dd4;font-size:20px;font-weight:700}.catalog-summary>div:nth-child(2) .catalog-summary-icon{background:#e8f7ed;color:#178d42}.catalog-summary>div:nth-child(3) .catalog-summary-icon{background:#eaf3ff;color:#2878c7}.catalog-summary>div>span:nth-child(2){color:#59647c;font-size:12px}.catalog-summary strong{color:#18213d;font-size:22px;line-height:1.1}.catalog-panel{min-width:0;margin-top:14px;padding:16px 14px;border:1px solid #e4e6f0;border-radius:14px;background:#fff;box-shadow:0 2px 6px #17203308}.catalog-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.catalog-panel-heading h2{margin:0;color:#1c2336;font-size:17px}.catalog-panel-heading h2 span{color:#542dd3}.catalog-panel-heading p{margin:4px 0 0;color:#6b748a;font-size:12px}.catalog-create-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:0 0 13px}.catalog-module-form{grid-template-columns:minmax(160px,.8fr) minmax(200px,1.2fr) auto}.catalog-create-form>label{display:grid;gap:5px;min-width:0;color:#59647c;font-size:12px;font-weight:700}.catalog-create-form input,.catalog-create-form select,.catalog-rename-form input{width:100%;min-width:0;height:38px;padding:8px 10px;border:1px solid #dfe2ed;border-radius:7px;background:#fff;color:#18213d;font:inherit;font-size:13px}.catalog-create-form input:focus,.catalog-create-form select:focus,.catalog-rename-form input:focus{border-color:#8e7eff;outline:3px solid #eeeaff;outline-offset:1px}.catalog-form-action{display:flex;align-items:end}.catalog-form-action .btn{min-height:38px;white-space:nowrap}.catalog-error{margin:0 0 12px;padding:9px 11px;border-radius:8px;background:#fff0ee;color:#ad3e36;font-size:12px}.catalog-table-wrap{width:100%;overflow-x:auto;border:1px solid #e9ebf2;border-radius:10px}.catalog-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.catalog-table th{padding:10px 11px;background:#f5f6fb;color:#2c3650;text-align:left;font-weight:700}.catalog-table td{padding:9px 11px;border-bottom:1px solid #eceef4;color:#26314a}.catalog-table tbody tr:last-child td{border-bottom:0}.catalog-table tbody tr:hover{background:#faf9ff}.catalog-empty{padding:22px 12px!important;color:#788197!important;text-align:center}.catalog-row-actions{display:flex;align-items:center;gap:6px}.catalog-page .btn.small{padding:6px 10px;font-size:11px;white-space:nowrap}.catalog-row-actions .catalog-delete{color:#d9583f}.catalog-rename-form{display:flex;align-items:center;gap:7px;min-width:260px}.catalog-rename-form input{flex:1}.catalog-project-pill{display:inline-block;padding:3px 9px;border-radius:20px;background:#f1e8ff;color:#6038c6;font-weight:700}@media (max-width:820px){.catalog-create-form,.catalog-module-form{grid-template-columns:1fr}.catalog-form-action .btn{width:100%}}@media (max-width:520px){.catalog-summary{gap:7px}.catalog-summary>div{grid-template-columns:34px minmax(0,1fr);column-gap:7px;min-height:66px;padding:9px}.catalog-summary-icon{width:32px;height:32px;font-size:16px}.catalog-summary>div>span:nth-child(2){font-size:10px}.catalog-summary strong{font-size:19px}.catalog-panel{padding:13px 10px}.catalog-rename-form{align-items:stretch;flex-wrap:wrap;min-width:220px}.catalog-rename-form input{flex-basis:100%}}
