:root{--bg:#f3f6fb;--surface:#fff;--surface-2:#f8fafc;--surface-3:#f1f5f9;--ink:#0f172a;--ink-2:#334155;--ink-3:#475569;--muted:#64748b;--muted-2:#94a3b8;--line:#e6ebf4;--line-strong:#d6dfec;--primary:#2563eb;--primary-hover:#1d4ed8;--primary-soft:#eff6ff;--green:#0f9f6e;--green-soft:#ecfdf5;--amber:#d97706;--amber-soft:#fffbeb;--red:#dc2626;--red-soft:#fef2f2;--purple:#7c3aed;--purple-soft:#f5f3ff;--sidebar:#0b1220;--sidebar-2:#0f1a2e;--radius:14px;--radius-sm:10px;--shadow-sm:0 1px 2px #0f172a0d;--shadow:0 18px 40px -28px #0f172a59;--shadow-lg:0 32px 70px -30px #0f172a73;--font:"PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, -apple-system, sans-serif;--mono:"SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}ul,ol{margin:0;padding:0}code,.mono{font-family:var(--mono);font-size:.92em}::selection{background:#c7dbff}*{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:#cbd5e1 padding-box content-box;border:2px solid #0000;border-radius:999px}::-webkit-scrollbar-track{background:0 0}.stack{flex-direction:column;gap:18px;min-width:0;display:flex}.muted{color:var(--muted)}.small{font-size:12px}.text-danger{color:var(--red)!important}.text-success{color:var(--green)!important}.ml-1{margin-left:6px}.inline-meta{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.inline-icon{vertical-align:-2px;align-items:center;gap:5px;display:inline-flex}.cell-note{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:260px;margin-top:2px;font-size:12px;font-weight:400;display:block;overflow:hidden}.btn{border-radius:var(--radius-sm);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:7px;height:40px;padding:0 16px;font-size:13.5px;font-weight:600;line-height:1;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform 80ms;display:inline-flex}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn-primary{color:#fff;background:var(--primary);box-shadow:0 8px 18px -12px #2563ebb3}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-secondary{color:var(--ink-2);background:var(--surface);border-color:var(--line-strong);box-shadow:var(--shadow-sm)}.btn-secondary:hover:not(:disabled){background:#fbfdff;border-color:#b9c8de}.btn-ghost{color:var(--muted);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--surface-3);color:var(--ink-2)}.btn-danger{color:#fff;background:var(--red);box-shadow:0 8px 18px -12px #dc2626a6}.btn-danger:hover:not(:disabled){background:#b91c1c}.btn-soft{color:var(--primary);background:var(--primary-soft);border-color:#dbeafe}.btn-soft:hover:not(:disabled){background:#e0edff;border-color:#bfdbfe}.btn-sm{border-radius:8px;gap:5px;height:32px;padding:0 12px;font-size:12.5px}.btn-md{height:40px}.icon-btn{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:background .15s,color .15s;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--surface-3);color:var(--ink-2)}.icon-btn.danger:hover:not(:disabled){background:var(--red-soft);color:var(--red)}.icon-btn:disabled{opacity:.35;cursor:not-allowed}.icon-btn.dark{color:#94a3b8}.icon-btn.dark:hover{color:#fff;background:#ffffff14}.text-btn{color:var(--primary);background:0 0;border:0;padding:0;font-size:12.5px;font-weight:600}.text-btn:hover{text-decoration:underline}.text-btn.is-icon{align-items:center;gap:4px;display:inline-flex}.text-link{color:var(--primary);white-space:nowrap;align-items:center;gap:4px;font-size:12.5px;font-weight:600;display:inline-flex}.text-link:hover{color:var(--primary-hover)}.back-link{color:var(--muted);background:0 0;border:0;align-items:center;gap:5px;padding:0;font-size:12.5px;font-weight:600;display:inline-flex}.back-link:hover{color:var(--primary)}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow-sm);overflow:hidden}.card-head{justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px 12px;display:flex}.card-title{letter-spacing:-.01em;align-items:center;gap:8px;font-size:15.5px;font-weight:700;display:flex}.card-subtitle{color:var(--muted);margin-top:3px;font-size:12.5px;line-height:1.5}.card-action{flex-shrink:0}.card-body{min-width:0;padding:6px 20px 20px}.card-body.no-pad{padding:0}.card:has(.card-body.no-pad) .card-head{border-bottom:1px solid var(--line);padding-bottom:14px}.page-head{justify-content:space-between;align-items:flex-end;gap:24px;min-height:58px;display:flex}.page-eyebrow{color:var(--primary);letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px;font-size:11.5px;font-weight:700}.page-title{letter-spacing:-.035em;font-size:26px;font-weight:750;line-height:1.2}.page-subtitle{color:var(--muted);max-width:780px;margin-top:6px;font-size:13px}.page-actions{flex-wrap:wrap;align-items:center;gap:9px;padding-bottom:2px;display:flex}.badge{white-space:nowrap;background:var(--surface-3);color:var(--ink-3);border-radius:999px;align-items:center;gap:5px;padding:2px 8px;font-size:11.5px;font-weight:650;line-height:1.6;display:inline-flex}.badge-dot{background:currentColor;border-radius:50%;width:5px;height:5px}.badge-gray{color:#475569;background:#f1f5f9}.badge-blue{background:var(--primary-soft);color:var(--primary)}.badge-green{background:var(--green-soft);color:var(--green)}.badge-amber{background:var(--amber-soft);color:var(--amber)}.badge-red{background:var(--red-soft);color:var(--red)}.badge-purple{background:var(--purple-soft);color:var(--purple)}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:17px 18px 16px;position:relative;overflow:hidden}.stat-card:after{content:"";background:var(--primary);opacity:.85;width:3px;position:absolute;inset:0 auto 0 0}.stat-blue:after{background:var(--primary)}.stat-green:after{background:var(--green)}.stat-amber:after{background:var(--amber)}.stat-red:after{background:var(--red)}.stat-purple:after{background:var(--purple)}.stat-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.stat-label{color:var(--muted);font-size:12.5px;font-weight:600}.stat-icon{background:var(--primary-soft);width:34px;height:34px;color:var(--primary);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.stat-green .stat-icon{background:var(--green-soft);color:var(--green)}.stat-amber .stat-icon{background:var(--amber-soft);color:var(--amber)}.stat-red .stat-icon{background:var(--red-soft);color:var(--red)}.stat-purple .stat-icon{background:var(--purple-soft);color:var(--purple)}.stat-value{letter-spacing:-.04em;margin-top:8px;font-size:30px;font-weight:750;line-height:1.1}.stat-hint{color:var(--muted);margin-top:5px;font-size:11.5px}.summary-strip{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.summary-strip.four{grid-template-columns:repeat(4,minmax(0,1fr))}.summary-strip>div{border-right:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:12px;padding:15px 20px;display:flex}.summary-strip>div:last-child{border-right:0}.summary-strip span{color:var(--muted);font-size:12.5px;font-weight:600}.summary-strip strong{letter-spacing:-.03em;font-size:22px;font-weight:750}.summary-strip strong em{font-size:13px;font-style:normal;font-weight:650}.mini-stats{flex-wrap:wrap;gap:9px;display:flex}.mini-stats>div{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:999px;align-items:center;gap:8px;padding:8px 13px;font-size:12px;display:inline-flex}.mini-stats strong{color:var(--ink);font-size:13px}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field-label{color:var(--ink-2);align-items:center;gap:3px;font-size:12.5px;font-weight:650;display:flex}.required{color:var(--red);font-weight:700}.field-hint{color:var(--muted);font-size:11.5px;line-height:1.45}.date-input-wrap{width:100%;min-width:0;display:inline-flex;position:relative}.date-input-wrap>.input{width:100%}.input.date-input-empty{color:#0000;-webkit-text-fill-color:transparent}.input.date-input-empty::-webkit-datetime-edit{color:#0000;-webkit-text-fill-color:transparent}.date-input-placeholder{color:var(--muted);white-space:nowrap;pointer-events:none;font-size:13.5px;line-height:1;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.date-range .date-input-wrap,.date-range .date-input-wrap>.input{width:auto}.input,.select,.textarea{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;color:var(--ink);border-radius:9px;font-size:13.5px;transition:border-color .16s,box-shadow .16s}.input,.select{height:40px;padding:0 11px}.textarea{resize:vertical;min-height:60px;padding:9px 11px}.select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat;padding-right:32px}.input:hover,.select:hover,.textarea:hover{border-color:#c3cfe1}.input:focus,.select:focus,.textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #2563eb1f}.input:disabled,.select:disabled,.textarea:disabled{background:var(--surface-2);color:var(--muted);cursor:not-allowed}.input-sm{width:auto;min-width:132px;height:34px;font-size:12.5px}.mini-select{border:1px solid var(--line-strong);appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 7px center no-repeat;border-radius:6px;height:27px;padding:0 24px 0 8px;font-size:12px}.form-stack{flex-direction:column;gap:16px;display:flex}.section-title{color:var(--ink-2);font-size:13px;font-weight:700}.form-actions-inline{justify-content:flex-end;gap:8px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;display:grid}.span-2{grid-column:span 2}.form-alert{background:var(--red-soft);color:#b91c1c;border:1px solid #fecaca;border-radius:9px;padding:9px 12px;font-size:12.5px;line-height:1.5}.field-error{color:var(--red);font-size:11.5px;line-height:1.45}.input-invalid,.input-invalid:hover,.input-invalid:focus{border-color:var(--red)}.input-invalid:focus{box-shadow:0 0 0 3px #dc26261f}.form-notice{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;padding:9px 12px;font-size:12.5px;line-height:1.5}.form-section{border-top:1px solid var(--line);padding-top:16px}.form-section-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.form-section-head h3{font-size:14px;font-weight:700}.form-section-head p{color:var(--muted);margin-top:2px;font-size:11.5px}.contact-lines{flex-direction:column;gap:2px;display:flex}.contact-editor{flex-direction:column;gap:8px;display:flex}.contact-item{flex-direction:column;gap:4px;display:flex}.contact-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;display:grid}.contact-empty{border:1px dashed var(--line-strong);color:var(--muted);border-radius:9px;padding:11px 12px;font-size:12.5px}.checkbox-line{color:var(--ink-2);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:13px;display:inline-flex}.checkbox-line input{width:16px;height:16px;accent-color:var(--primary)}.checkbox-line.compact{color:var(--muted);white-space:nowrap;gap:6px;font-size:12.5px}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.search-box{border:1px solid var(--line-strong);background:var(--surface);width:230px;height:36px;color:var(--muted);border-radius:9px;align-items:center;gap:7px;padding:0 10px;transition:border-color .16s,box-shadow .16s;display:flex}.search-box:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1a}.toolbar .select{width:auto;min-width:128px}.search-box input{background:0 0;border:0;outline:none;flex:1;min-width:0;height:100%;font-size:13px}.date-range{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.date-range label{align-items:center;gap:6px;display:inline-flex}.date-range label span{color:var(--muted);white-space:nowrap;font-size:12px}.range-sep{color:var(--muted-2);font-size:12px}.filter-bar{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:11px 18px;display:flex}.card-tabs{border-bottom:1px solid var(--line);padding:10px 18px}.tabs{background:var(--surface-3);border-radius:9px;flex-wrap:wrap;align-items:center;gap:2px;padding:3px;display:inline-flex}.tab{height:30px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:0 12px;font-size:12.5px;font-weight:600;transition:color .15s,background .15s,box-shadow .15s;display:inline-flex}.tab:hover{color:var(--ink-2)}.tab.active{background:var(--surface);color:var(--primary);box-shadow:0 1px 3px #0f172a1f}.tab-count{min-width:18px;height:17px;color:var(--primary);background:#2563eb1a;border-radius:999px;justify-content:center;align-items:center;padding:0 5px;font-size:10.5px;display:inline-flex}.table-wrap{width:100%;overflow-x:auto}.table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:13px}.table th{border-bottom:1px solid var(--line);color:var(--muted);text-align:left;letter-spacing:.01em;background:#f8fafc;padding:10px 14px;font-size:11.5px;font-weight:650}.table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.table th.sortable:hover,.table th.sortable.sorted{color:var(--primary)}.th-sort-label{align-items:center;gap:3px;display:inline-flex}.table td{border-bottom:1px solid var(--line);color:var(--ink-2);vertical-align:middle;padding:11px 14px}.table tbody tr:last-child td{border-bottom:0}.table tbody tr{transition:background .13s}.table tbody tr:hover{background:#fafcff}.table tbody tr.selectable{cursor:pointer}.table tbody tr.selectable:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.table tbody tr.selected,.table tbody tr.selected:hover{background:#eef5ff}.table.clickable tbody tr,.table tbody tr.clickable{cursor:pointer}.table.compact th{padding:8px 12px;font-size:11px}.table.compact td{padding:8px 12px}.th-actions{width:1%;text-align:right!important}.row-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.col-cover{min-width:150px}.col-wide{min-width:180px}.col-seq{width:44px}.cover-cell{align-items:center;gap:8px;min-width:130px;display:flex}.gap-num{color:var(--amber);white-space:nowrap;font-size:11px;font-weight:650}.progress-cell{min-width:130px}.progress-cell .progress-wrap{margin-bottom:3px}.progress-cell .small{display:block}.order-no{font-family:var(--mono);color:var(--ink);letter-spacing:-.01em;font-size:12px;font-weight:650}.overdue-tag{background:var(--red-soft);color:var(--red);vertical-align:1px;border-radius:4px;align-items:center;gap:3px;margin-left:6px;padding:1px 5px;font-size:10px;font-weight:650;display:inline-flex}.person-cell{align-items:center;gap:9px;display:flex}.person-cell div{flex-direction:column;line-height:1.35;display:flex}.person-cell strong{color:var(--ink);font-size:13px}.person-cell span{color:var(--muted);font-size:11px}.person-inline{align-items:center;gap:6px;display:inline-flex}.position-tags{white-space:normal;flex-wrap:wrap;align-items:center;gap:4px;max-width:330px;display:flex}.primary-position{border:1px solid #dbeafe}.shift-chip{border:1px solid #0000;border-radius:6px;flex-direction:column;padding:3px 8px;font-size:12px;font-weight:650;line-height:1.35;display:inline-flex}.shift-chip em{opacity:.8;font-size:10px;font-style:normal;font-weight:500}.warn-inline{color:var(--amber);align-items:center;gap:4px;font-size:12px;font-weight:600;display:inline-flex}.row-attention td:first-child{box-shadow:inset 3px 0 0 var(--amber)}.step-table th,.step-table td{padding-left:10px;padding-right:10px}.step-person,.step-plan{flex-direction:column;gap:1px;min-width:0;display:flex}.step-table .cell-note{max-width:160px}.step-table th:last-child,.step-table td:last-child{z-index:1;background:var(--surface);position:sticky;right:0}.step-table thead th:last-child{z-index:2;background:#f8fafc}.step-table tbody tr:hover td:last-child{background:#fafcff}.avatar{color:#1e40af;-webkit-user-select:none;user-select:none;background:linear-gradient(135deg,#dbeafe,#e0e7ff);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;line-height:1;display:inline-flex;overflow:hidden}.avatar img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.avatar-sm{width:26px;height:26px;font-size:11px}.avatar-md{width:36px;height:36px;font-size:13px}.avatar-lg{width:48px;height:48px;font-size:17px}.avatar-button{cursor:pointer;border:1px solid #0000;padding:0;font-family:inherit;transition:transform .15s,box-shadow .15s,border-color .15s}.avatar-button:hover,.avatar-button:focus-visible{border-color:#bfdbfe;outline:none;transform:translateY(-1px);box-shadow:0 0 0 3px #3b82f629}.profile-card{flex-direction:column;gap:18px;display:flex}.profile-head{background:linear-gradient(135deg,#f8fbff,#eef4ff);border:1px solid #e3ecff;border-radius:13px;align-items:center;gap:14px;padding:16px;display:flex}.profile-identity{flex-direction:column;gap:5px;min-width:0;display:flex}.profile-name-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.profile-name-row h3{color:var(--ink);letter-spacing:-.01em;font-size:18px;font-weight:750}.profile-meta{color:var(--muted);font-size:12.5px}.profile-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;padding:0 2px;display:grid}.profile-fact{flex-direction:column;gap:3px;min-width:0;display:flex}.profile-fact.span-2{grid-column:1/-1}.profile-fact>span{color:var(--muted);font-size:11.5px}.profile-fact>strong{color:var(--ink);overflow-wrap:anywhere;font-size:13.5px;font-weight:600;line-height:1.45}.profile-section{border-top:1px dashed var(--line);flex-direction:column;gap:9px;padding-top:14px;display:flex}.profile-section h3{color:var(--muted);letter-spacing:.04em;font-size:11.5px;font-weight:650}.profile-position-list{flex-wrap:wrap;gap:6px;display:flex}.profile-template-summary{color:var(--ink-2);font-size:12.5px;line-height:1.5}.profile-template-week{flex-wrap:wrap;gap:6px;display:flex}.profile-contact-block{flex-direction:column;grid-column:1/-1;gap:4px;min-width:0;display:flex}.profile-contact-label{color:var(--muted);font-size:11.5px}.profile-contact-line{grid-template-columns:repeat(2,minmax(0,1fr));align-items:baseline;gap:20px;font-size:12.5px;line-height:1.45;display:grid}.profile-contact-line strong{color:var(--ink);overflow-wrap:anywhere;font-weight:600}.profile-contact-line em{color:var(--muted);text-align:left;overflow-wrap:anywhere;font-style:normal}.profile-contact-empty{color:var(--muted);font-size:12.5px}.profile-note{color:var(--ink);white-space:pre-wrap;font-size:13px;line-height:1.6}@media (width<=640px){.profile-facts{grid-template-columns:1fr}.profile-fact.span-2,.profile-contact-block{grid-column:auto}.profile-contact-line{grid-template-columns:minmax(0,1fr);gap:2px}}.photo-editor{align-items:center;gap:14px;display:flex}.photo-preview{color:#1e40af;background:linear-gradient(135deg,#dbeafe,#e0e7ff);border:1px solid #dbeafe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:64px;height:80px;font-size:24px;font-weight:700;display:flex;overflow:hidden}.photo-preview img{object-fit:cover;width:100%;height:100%;display:block}.photo-actions{flex-direction:column;align-items:flex-start;gap:7px;display:flex}.photo-upload-btn{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:7px 12px;font-size:12.5px;font-weight:600;transition:border-color .15s,background .15s;display:inline-flex;position:relative}.photo-upload-btn:hover{background:#f8fbff;border-color:#bfdbfe}.photo-upload-btn input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.photo-hint{color:var(--muted);font-size:11.5px}.selection-bar{border-bottom:1px solid var(--line);background:#f8fbff;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:11px 18px;display:flex}.selection-check{color:var(--ink);cursor:pointer;align-items:center;gap:7px;font-size:12.5px;font-weight:600;display:inline-flex}.selection-check input{width:15px;height:15px;accent-color:var(--primary);cursor:pointer}.selection-count{color:var(--muted);font-size:12.5px}.selection-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.pdf-export-root{z-index:-1;width:794px;position:fixed;top:0;left:-10000px}.pdf-sheet{color:#111827;background:#fff;flex-direction:column;width:794px;min-height:1123px;padding:50px 54px;font-family:Microsoft YaHei,PingFang SC,Noto Sans SC,Arial,sans-serif;display:flex}.pdf-head{border-bottom:2px solid #1d4ed8;padding-bottom:22px;padding-right:132px;position:relative}.pdf-company{color:#64748b;letter-spacing:.12em;font-size:12px}.pdf-title{color:#0f172a;letter-spacing:.04em;margin:6px 0 0;font-size:28px;font-weight:700}.pdf-subtitle{color:#64748b;margin-top:6px;font-size:12px}.pdf-photo{color:#1e40af;background:linear-gradient(135deg,#dbeafe,#e0e7ff);border:1px solid #dbeafe;border-radius:8px;justify-content:center;align-items:center;width:104px;height:128px;font-size:36px;font-weight:700;display:flex;position:absolute;top:0;right:0;overflow:hidden}.pdf-photo img{object-fit:cover;width:100%;height:100%;display:block}.pdf-person{margin-top:22px}.pdf-person-name{color:#0f172a;margin:0;font-size:22px;font-weight:700}.pdf-person-meta{color:#64748b;margin-top:4px;font-size:12.5px}.pdf-facts{border-collapse:collapse;width:100%;margin-top:16px}.pdf-facts th,.pdf-facts td{text-align:left;vertical-align:top;border-bottom:1px solid #e5e7eb;padding:9px 10px;font-size:13px}.pdf-facts th{color:#64748b;background:#f8fafc;width:92px;font-weight:500}.pdf-facts td{color:#111827}.pdf-section{margin-top:18px}.pdf-section-title{color:#64748b;letter-spacing:.08em;margin:0;font-size:12px;font-weight:700}.pdf-section-body,.pdf-note{color:#111827;overflow-wrap:anywhere;white-space:pre-wrap;margin:6px 0 0;font-size:13px;line-height:1.65}.pdf-foot{color:#94a3b8;border-top:1px solid #e5e7eb;justify-content:space-between;gap:20px;margin-top:auto;padding-top:18px;font-size:10.5px;display:flex}.progress-wrap{align-items:center;gap:7px;display:flex}.progress-track{background:#edf1f8;border-radius:999px;flex:1;min-width:40px;height:6px;overflow:hidden}.progress-fill{border-radius:inherit;background:var(--primary);height:100%;transition:width .3s}.progress-blue{background:var(--primary)}.progress-green{background:var(--green)}.progress-amber{background:var(--amber)}.progress-red{background:var(--red)}.progress-purple{background:var(--purple)}.progress-gray{background:var(--muted-2)}.progress-label{color:var(--muted);text-align:right;min-width:30px;font-size:11px}.empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:52px 20px;display:flex}.empty-compact{padding:30px 18px}.empty-icon{background:var(--surface-3);width:52px;height:52px;color:var(--muted);border-radius:15px;justify-content:center;align-items:center;margin-bottom:5px;display:inline-flex}.empty h3{font-size:14px;font-weight:700}.empty p{max-width:390px;color:var(--muted);font-size:12.5px}.empty-action{margin-top:9px}.inline-empty{color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:8px;padding:22px;font-size:12.5px;display:flex}.loading-block{color:var(--muted);justify-content:center;align-items:center;gap:8px;padding:44px 20px;font-size:13px;display:flex}.skeleton-card{flex-direction:column;gap:10px;padding:22px;display:flex}.skeleton-line{background:linear-gradient(90deg,#eef2f8 25%,#f7f9fd 50%,#eef2f8 75%) 0 0/200% 100%;border-radius:6px;height:14px;animation:1.3s infinite shimmer}.skeleton-line:nth-child(2n){width:78%}.skeleton-line:nth-child(3n){width:90%}@keyframes shimmer{to{background-position:-200% 0}}.error-block{background:var(--red-soft);color:#b91c1c;border:1px solid #fecaca;border-radius:9px;align-items:center;gap:9px;margin:16px;padding:12px 14px;font-size:13px;display:flex}.error-block .text-btn{margin-left:auto}.warning-list{flex-direction:column;gap:6px;list-style:none;display:flex}.warning-list li{color:#92400e;align-items:flex-start;gap:7px;font-size:12.5px;line-height:1.5;display:flex}.warning-list svg{flex-shrink:0;margin-top:1px}.notice{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink-2);align-items:flex-start;gap:10px;padding:13px 16px;font-size:12.5px;line-height:1.6;display:flex}.notice svg{flex-shrink:0;margin-top:1px}.notice.warning{background:var(--amber-soft);color:#92400e;border-color:#fde68a}.notice.info{color:#1e40af;background:#f5f9ff;border-color:#dbeafe}.notice strong{margin-bottom:3px;display:block}.notice>.btn{flex-shrink:0;margin-left:auto}.notice-list{flex-direction:column;gap:4px;max-width:100%;margin-top:5px;display:flex}.link-line{color:inherit;text-align:left;text-underline-offset:2px;opacity:.9;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline;display:block}.link-line:hover{opacity:1}.hint-panel{background:var(--surface-2);color:var(--muted);border-radius:9px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:12px;line-height:1.55;display:flex}.hint-panel svg{color:var(--primary);flex-shrink:0;margin-top:1px}.info-list{flex-direction:column;display:flex}.info-list>div{border-bottom:1px dashed var(--line);justify-content:space-between;align-items:flex-start;gap:20px;padding:9px 0;display:flex}.info-list>div:first-child{padding-top:2px}.info-list>div:last-child{border-bottom:0;padding-bottom:2px}.info-list span{color:var(--muted);flex-shrink:0;font-size:12.5px}.info-list strong{color:var(--ink-2);text-align:right;word-break:break-word;font-size:12.5px;font-weight:650}.info-list strong em{color:var(--muted-2);font-style:normal;font-weight:500}.rule-list{flex-direction:column;gap:8px;list-style:none;display:flex}.rule-list li{color:var(--muted);padding-left:14px;font-size:12.5px;line-height:1.6;position:relative}.rule-list li:before{content:"";background:#bfdbfe;border-radius:50%;width:5px;height:5px;position:absolute;top:.58em;left:0}.app-shell{min-height:100vh}.sidebar{z-index:60;background:radial-gradient(700px 360px at -20% 0%, #2563eb2e, transparent 65%), linear-gradient(180deg, var(--sidebar), #0a1120 55%, #0b1628);color:#cbd5e1;flex-direction:column;width:246px;padding:18px 13px 14px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{align-items:center;gap:10px;padding:3px 7px 18px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#3b82f6,#1d4ed8);border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:17px;font-weight:750;display:inline-flex;box-shadow:0 10px 24px -12px #2563ebe6}.brand-mark.small{border-radius:8px;width:28px;height:28px;font-size:13px}.brand-name{color:#f8fafc;letter-spacing:.02em;font-size:15px;font-weight:700;line-height:1.3}.brand-sub{color:#64748b;letter-spacing:.14em;font-size:10px}.sidebar-close{color:#94a3b8;background:0 0;border:0;border-radius:7px;width:30px;height:30px;margin-left:auto;display:none}.sidebar-nav{flex-direction:column;flex:1;gap:20px;padding:4px 3px 12px;display:flex}.nav-section-title{color:#52627c;letter-spacing:.16em;padding:0 10px 6px;font-size:10px;font-weight:700}.nav-item{color:#9fb0c9;border-radius:9px;align-items:center;gap:10px;height:38px;margin-bottom:2px;padding:0 11px;font-size:13px;font-weight:550;transition:color .15s,background .15s;display:flex;position:relative}.nav-item:hover{color:#e2e8f0;background:#ffffff0d}.nav-item.active{color:#fff;background:linear-gradient(90deg,#2563eb42,#2563eb1a);font-weight:650}.nav-item.active:before{content:"";background:#60a5fa;border-radius:3px;width:3px;position:absolute;top:9px;bottom:9px;left:-3px}.sidebar-footer{border-top:1px solid #94a3b81a;padding-top:12px}.user-card{background:#ffffff0a;border-radius:10px;align-items:center;gap:9px;padding:8px;display:flex}.user-card .avatar{color:#bfdbfe;background:#3b82f633}.user-meta{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.user-meta strong{color:#e2e8f0;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600;overflow:hidden}.user-meta span{color:#64748b;font-size:10.5px}.main{min-height:100vh;margin-left:246px}.page{width:100%;max-width:1480px;margin:0 auto;padding:26px 30px 52px}.mobile-bar,.sidebar-scrim{display:none}.login-page{background:radial-gradient(900px 620px at 16% 4%,#2563eb1a,#0000 60%),radial-gradient(780px 560px at 88% 96%,#7c3aed14,#0000 62%),#f4f7fc;justify-content:center;align-items:center;min-height:100vh;padding:48px 20px;display:flex;position:relative;overflow-x:hidden}.login-page:before{content:"";pointer-events:none;background-image:linear-gradient(#94a3b817 1px,#0000 1px),linear-gradient(90deg,#94a3b817 1px,#0000 1px);background-size:56px 56px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(circle at 50% 44%,#000 0%,#0000 70%);mask-image:radial-gradient(circle at 50% 44%,#000 0%,#0000 70%)}.login-page:after{content:"";filter:blur(12px);pointer-events:none;background:radial-gradient(circle,#60a5fa2e,#0000 66%);border-radius:50%;width:560px;height:560px;position:absolute;top:-220px;right:-160px}.login-stage{z-index:1;flex-direction:column;align-items:center;width:100%;max-width:412px;display:flex;position:relative}.login-wordmark{text-align:center;margin-bottom:28px}.login-wordmark-bar{background:linear-gradient(90deg,#2563eb,#8b5cf6);border-radius:999px;width:36px;height:3px;margin:0 auto 18px;display:block}.login-wordmark h1{color:var(--ink);letter-spacing:.1em;text-indent:.1em;font-size:26px;font-weight:750}.login-wordmark p{color:var(--muted-2);letter-spacing:.14em;margin-top:9px;font-size:11.5px}.login-card{background:var(--surface);border:1px solid #e2e8f0f2;border-radius:18px;width:100%;padding:32px 32px 28px;box-shadow:0 34px 70px -48px #0f172a80,0 1px 2px #0f172a08}.login-card-head h2{color:var(--ink);letter-spacing:-.01em;font-size:20px;font-weight:700}.login-card .form-alert,.login-card .form-notice{margin-top:16px}.login-form{flex-direction:column;gap:16px;margin-top:26px;display:flex}.login-field{flex-direction:column;gap:7px;display:flex}.login-field>span{color:var(--ink-2);font-size:12.5px;font-weight:650}.input-with-icon{border:1px solid var(--line-strong);background:var(--surface-2);height:48px;color:var(--muted-2);border-radius:10px;align-items:center;gap:9px;padding:0 12px;transition:border-color .16s,box-shadow .16s,background .16s;display:flex}.input-with-icon:focus-within{border-color:var(--primary);background:var(--surface);color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.input-with-icon input{min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:none;flex:1;font-size:14px}.input-icon-btn{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.input-icon-btn:hover{background:var(--surface-3)}.login-form input[type=password]::-ms-reveal{display:none}.login-form input[type=password]::-ms-clear{display:none}.login-submit{width:100%;height:48px;margin-top:6px;font-size:14px}.login-support{color:var(--muted-2);text-align:center;margin-top:18px;font-size:11.5px;line-height:1.6}.login-page-foot{color:var(--muted-2);letter-spacing:.03em;align-items:center;gap:6px;margin-top:24px;font-size:11px;display:flex}.login-foot-sep{color:var(--line-strong)}.modal-overlay{z-index:200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a7a;justify-content:center;align-items:center;padding:22px;animation:.14s fade-in;display:flex;position:fixed;inset:0}.modal{background:var(--surface);width:100%;max-height:calc(100vh - 44px);box-shadow:var(--shadow-lg);border-radius:17px;flex-direction:column;animation:.18s modal-in;display:flex;overflow:hidden}.modal-sm{max-width:440px}.modal-md{max-width:600px}.modal-lg{max-width:820px}.modal-xl{max-width:1040px}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px 14px;display:flex}.modal-head h2{letter-spacing:-.02em;font-size:17px;font-weight:750}.modal-head p{color:var(--muted);margin-top:3px;font-size:12px}.modal-body{padding:18px 22px;overflow-y:auto}.modal-foot{border-top:1px solid var(--line);background:#fcfdff;justify-content:flex-end;align-items:center;gap:9px;padding:14px 22px 18px;display:flex}.modal-foot .btn-ghost,.modal-foot .btn-danger{margin-right:auto}.modal-text{color:var(--ink-3);margin-bottom:8px;font-size:13px;line-height:1.7}.import-modal{flex-direction:column;gap:13px;display:flex}.import-file-input{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.import-dropzone{border:1.5px dashed var(--line-strong);background:var(--surface-2);border-radius:12px;transition:border-color .15s,background .15s}.import-dropzone.dragging{border-color:var(--primary);background:var(--primary-soft)}.import-dropzone.has-file{background:#fff;border-style:solid;padding:8px}.import-dropzone-label{text-align:center;cursor:pointer;flex-direction:column;align-items:center;gap:5px;padding:28px 18px;display:flex}.import-dropzone-label svg{color:var(--primary);margin-bottom:2px}.import-dropzone-label strong{font-size:13.5px}.import-dropzone-label span{max-width:360px;color:var(--muted);font-size:12px;line-height:1.55}.import-file-input:focus-visible+.import-dropzone{outline:2px solid var(--primary);outline-offset:2px}.import-file-card{align-items:center;gap:11px;min-width:0;padding:10px 12px;display:flex}.import-file-icon{background:var(--primary-soft);width:38px;height:38px;color:var(--primary);border-radius:9px;flex:0 0 38px;place-items:center;display:grid}.import-file-meta{flex-direction:column;gap:1px;min-width:0;display:flex}.import-file-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.import-file-meta span{color:var(--muted);font-size:11.5px}.import-file-actions{flex:none;align-items:center;gap:3px;margin-left:auto;display:flex}.import-hint{color:var(--muted);font-size:12px;line-height:1.65}.import-security{background:var(--green-soft);border:1px solid #bbf7d0;border-radius:9px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.import-security strong{color:#15803d;font-size:12px}.import-security span{color:#3f6f58;font-size:11.5px;line-height:1.55}.import-modal .form-alert{margin:0}.import-preview{flex-direction:column;gap:10px;display:flex}.import-preview-loading{border:1px dashed var(--line-strong);background:var(--surface-2);color:var(--muted);border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:22px 14px;font-size:12.5px;display:flex}.import-preview-summary{background:var(--surface-2);color:var(--muted);border-radius:9px;flex-wrap:wrap;gap:4px 18px;padding:10px 12px;font-size:12px;display:flex}.import-preview-summary strong{color:var(--ink);margin-left:2px;font-size:13px}.import-preview-summary .tone-green strong{color:var(--green)}.import-preview-summary .tone-blue strong{color:var(--primary)}.import-preview-summary .tone-red strong{color:var(--red)}.import-preview-summary .tone-muted strong{color:var(--muted)}.import-preview-alert{background:var(--red-soft);color:#b91c1c;border:1px solid #fecaca;border-radius:9px;align-items:flex-start;gap:7px;padding:9px 12px;font-size:12px;line-height:1.55;display:flex}.import-preview-alert svg{flex:none;margin-top:1px}.import-preview-table-wrap{border:1px solid var(--line);border-radius:10px;max-height:46vh;overflow:auto}.import-preview-table{min-width:900px}.import-preview-table thead th{z-index:1;background:var(--surface-2);position:sticky;top:0}.import-preview-table td{vertical-align:top}.import-preview-table tr.row-invalid td{background:#fff8f8}.col-row-no{width:46px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}.mono-cell{font-family:var(--mono);white-space:nowrap;font-size:12px}.import-preview-dept{flex-direction:column;gap:1px;min-width:120px;display:flex}.import-preview-missing{color:#b45309;font-size:12px;line-height:1.5}.import-preview-errors{color:var(--red);font-size:12px;line-height:1.5}.import-preview-more{color:var(--muted);font-size:11.5px}@keyframes fade-in{0%{opacity:0}}@keyframes modal-in{0%{opacity:0;transform:translateY(8px)scale(.985)}}.toasts{z-index:400;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:fixed;top:18px;right:18px}.toast{border:1px solid var(--line);background:var(--surface);min-width:250px;max-width:380px;box-shadow:var(--shadow);color:var(--ink-2);pointer-events:auto;border-radius:10px;align-items:center;gap:9px;padding:11px 13px;font-size:12.5px;animation:.18s toast-in;display:flex}.toast>span{flex:1}.toast button{color:var(--muted-2);background:0 0;border:0;padding:2px;display:inline-flex}.toast-success svg{color:var(--green)}.toast-error svg{color:var(--red)}.toast-warning svg{color:var(--amber)}.toast-info svg{color:var(--primary)}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}}.dispatch-context{border:1px solid var(--line);background:var(--surface-2);border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:13px 14px;display:grid}.dispatch-context>div{flex-direction:column;gap:3px;min-width:0;display:flex}.context-label{color:var(--muted);font-size:10.5px;font-weight:600}.dispatch-context strong{white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;font-weight:650;overflow:hidden}.conflict-box{background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;padding:12px 14px}.conflict-title{color:#92400e;align-items:center;gap:6px;margin-bottom:7px;font-size:12.5px;font-weight:700;display:flex}.employee-preview{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.employee-preview>div{flex-direction:column;flex:1;line-height:1.4;display:flex}.employee-preview strong{font-size:13px}.employee-preview span{color:var(--muted);font-size:11.5px}.department-grid{grid-template-columns:repeat(auto-fit,minmax(680px,1fr));gap:16px;display:grid}.department-card{min-width:0}.dept-title{align-items:center;gap:8px;display:inline-flex}.dept-title svg{color:var(--primary)}.dept-default-shift{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:6px;padding:9px 14px;font-size:12px;display:flex}.dept-default-shift svg{color:var(--muted-2);flex-shrink:0}.position-picker{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;flex-direction:column;gap:12px;max-height:310px;padding:11px;display:flex;overflow-y:auto}.position-group-title{color:var(--muted);letter-spacing:.08em;margin:0 3px 5px;font-size:10.5px;font-weight:700}.position-option{background:var(--surface);border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;padding:6px 8px;transition:border-color .15s,background .15s;display:flex}.position-option+.position-option{margin-top:4px}.position-option.selected{background:var(--primary-soft);border-color:#dbeafe}.position-option-main{cursor:pointer;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.position-option-main input{width:15px;height:15px;accent-color:var(--primary);flex-shrink:0}.position-option-name{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:550;overflow:hidden}.position-option-controls{flex-shrink:0;align-items:center;gap:8px;display:flex}.primary-toggle{color:var(--muted);white-space:nowrap;cursor:pointer;align-items:center;gap:4px;font-size:11px;display:inline-flex}.primary-toggle input{width:13px;height:13px;accent-color:var(--primary)}.route-editor{overflow-x:auto}.route-row{border-bottom:1px solid var(--line);grid-template-columns:62px minmax(160px,1.4fr) minmax(160px,1.15fr) 110px 86px 108px;align-items:center;gap:8px;min-width:880px;padding:8px 18px;display:grid}.route-row:last-of-type{border-bottom:0}.route-head{color:var(--muted);background:#f8fafc;padding:9px 18px;font-size:11px;font-weight:650}.route-row .input,.route-row .select{height:34px;font-size:12.5px}.route-seq{color:var(--muted);font-family:var(--mono);align-items:center;gap:5px;font-size:11.5px;display:inline-flex}.route-actions{justify-content:flex-end;gap:2px;display:flex}.route-actions .icon-btn{width:27px;height:27px}.route-foot{background:var(--surface-2);color:var(--muted);gap:16px;padding:10px 18px;font-size:11.5px;display:flex}.org-board-fullscreen{z-index:400;border:0;border-radius:0;flex-direction:column;height:100dvh;margin:0;display:flex;position:fixed;inset:0}.org-board-fullscreen .org-canvas{flex:1;min-height:0}.org-board-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px 14px;display:flex}.org-board-head h2{letter-spacing:-.01em;font-size:15.5px;font-weight:700}.org-board-head p{color:var(--muted);margin-top:4px;font-size:12.5px;line-height:1.5}.org-board-head .badge{flex-shrink:0;margin-top:2px}.org-drag-banner{background:var(--primary-soft);color:var(--primary);border-radius:9px;align-items:center;gap:8px;margin:12px 20px 0;padding:9px 12px;font-size:12.5px;font-weight:600;display:flex}.org-canvas{--org-pad-x:28px;--org-pad-y:32px;min-height:380px;padding:var(--org-pad-y) var(--org-pad-x) 44px;background:radial-gradient(circle at 1px 1px, #dde6f2 1px, transparent 0) 0 0 / 22px 22px, var(--surface-2);cursor:grab;touch-action:none;position:relative;overflow:hidden}.org-canvas.dragging,.org-canvas.panning{cursor:grabbing}.org-canvas.panning{-webkit-user-select:none;user-select:none}.org-canvas.panning *{cursor:grabbing!important}.org-spacer{pointer-events:none}.org-stage{top:var(--org-pad-y);left:var(--org-pad-x);transform-origin:0 0;width:max-content;position:absolute}.org-zoomer{width:max-content}.org-chart{flex-direction:column;align-items:center;width:max-content;min-width:0;display:flex}.org-view-controls{z-index:5;border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff0;border-radius:11px;align-items:center;gap:2px;padding:5px;display:flex;position:absolute;top:14px;right:14px;box-shadow:0 16px 32px -28px #0f172a8c}.org-view-controls-left{left:14px;right:auto}.org-view-btn{min-width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:0 7px;font-size:11.5px;font-weight:700;transition:background .16s,color .16s;display:inline-flex}.org-view-btn:hover:not(:disabled){background:var(--surface-2);color:var(--primary)}.org-view-btn:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.org-view-btn:disabled{opacity:.38;cursor:not-allowed}.org-view-btn.org-view-btn-active{background:var(--primary-soft);color:var(--primary)}.org-view-btn.org-view-btn-primary{background:var(--primary);color:#fff}.org-view-btn.org-view-btn-primary:hover:not(:disabled){color:#fff;background:#1d4ed8}.org-view-fit{color:var(--primary);padding:0 9px}.org-view-scale{min-width:42px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center;font-size:11px;font-weight:700}.org-view-divider{background:var(--line);width:1px;height:18px;margin:0 2px}.org-export-control{display:inline-flex;position:relative}.org-export-control>.btn{white-space:nowrap}.org-export-caret{margin-left:-2px;transition:transform .16s}.org-export-caret.open{transform:rotate(180deg)}.org-export-menu{z-index:30;border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:2px;width:244px;padding:6px;display:flex;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 20px 45px -24px #0f172a73}.org-export-menu button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:9px;transition:background .16s;display:flex}.org-export-menu button:hover,.org-export-menu button:focus-visible{background:var(--surface-2)}.org-export-menu button:focus-visible{outline:2px solid var(--primary);outline-offset:-1px}.org-export-menu-icon{border-radius:8px;flex-shrink:0;place-items:center;width:31px;height:31px;display:grid}.org-export-menu-icon.color{color:var(--primary);background:#eaf2ff}.org-export-menu-icon.mono{color:#475569;background:#eef2f7}.org-export-menu-text{flex-direction:column;gap:1px;min-width:0;line-height:1.35;display:flex}.org-export-menu-text strong{font-size:12.5px;font-weight:700}.org-export-menu-text em{color:var(--muted);font-size:10.5px;font-style:normal}.org-chart-exporting{background:#fff;min-width:max-content;padding:12px}.org-chart-exporting,.org-chart-exporting *{transition:none!important}.org-chart-exporting .org-card-actions{display:none}.org-chart-exporting.org-chart-monochrome .org-company,.org-chart-exporting.org-chart-monochrome .org-card,.org-chart-exporting.org-chart-monochrome .org-group-node{color:#000!important;box-shadow:none!important;background:#fff!important;border-color:#000!important}.org-chart-exporting.org-chart-monochrome .org-company-mark,.org-chart-exporting.org-chart-monochrome .org-card-icon,.org-chart-exporting.org-chart-monochrome .org-group-node-icon{color:#000!important;box-shadow:none!important;background:#fff!important}.org-chart-exporting.org-chart-monochrome .org-company-mark,.org-chart-exporting.org-chart-monochrome .org-manager-avatar,.org-chart-exporting.org-chart-monochrome .org-group-node-avatar{border:1px solid #000;color:#000!important;background:#fff!important}.org-chart-exporting.org-chart-monochrome .org-company-text strong,.org-chart-exporting.org-chart-monochrome .org-company-text span,.org-chart-exporting.org-chart-monochrome .org-card-head strong,.org-chart-exporting.org-chart-monochrome .org-card-managers,.org-chart-exporting.org-chart-monochrome .org-manager-label,.org-chart-exporting.org-chart-monochrome .org-manager-role,.org-chart-exporting.org-chart-monochrome .org-manager-empty,.org-chart-exporting.org-chart-monochrome .org-card-meta,.org-chart-exporting.org-chart-monochrome .org-card-meta svg,.org-chart-exporting.org-chart-monochrome .org-group-node-title strong,.org-chart-exporting.org-chart-monochrome .org-group-node-title em,.org-chart-exporting.org-chart-monochrome .org-group-node-leader,.org-chart-exporting.org-chart-monochrome .org-group-node-meta,.org-chart-exporting.org-chart-monochrome .org-group-node-meta svg{color:#000!important}.org-chart-exporting.org-chart-monochrome .org-card-meta,.org-chart-exporting.org-chart-monochrome .org-group-node-leaders,.org-chart-exporting.org-chart-monochrome .org-group-node-meta,.org-chart-exporting.org-chart-monochrome .org-child:before{border-top-color:#000!important}.org-chart-exporting.org-chart-monochrome .org-child:after,.org-chart-exporting.org-chart-monochrome .org-card.has-children:after,.org-chart-exporting.org-chart-monochrome .org-company.has-children:after{background:#000!important}.org-chart-exporting.org-chart-monochrome .org-manual-lines path{stroke:#000!important}.org-chart-manual{position:relative}.org-chart-manual .org-manual-node{-webkit-user-select:none;user-select:none;touch-action:none;position:absolute}.org-chart-manual .org-manual-node.dragging{opacity:.6;cursor:grabbing}.org-chart-manual.locked .org-manual-node{cursor:default}.org-manual-lines{pointer-events:none;position:absolute;inset:0}.org-manual-lines path{fill:none;stroke:var(--line-strong);stroke-width:1.5px}.org-snap-guide{z-index:5;pointer-events:none;position:absolute}.org-snap-guide.vertical{border-left:1px dashed var(--primary);width:0;top:0;bottom:0}.org-snap-guide.horizontal{border-top:1px dashed var(--primary);height:0;left:0;right:0}.org-bend-handle{cursor:ns-resize;width:24px;height:18px;position:absolute}.org-bend-handle:after{content:"";background:var(--primary);width:9px;height:9px;box-shadow:0 0 0 1px var(--primary);border:2px solid #fff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.org-bend-handle.dragging:after{background:#1d4ed8}.org-chart-exporting .org-bend-handle{display:none}.org-company{color:#fff;background:linear-gradient(135deg,#0f1a2e,#172b4d);border:1px solid #ffffff14;border-radius:14px;align-items:center;gap:12px;padding:13px 20px;transition:box-shadow .16s,transform .16s;display:flex;position:relative;box-shadow:0 20px 38px -28px #0f172ad9}.org-company.drop-target{transform:translateY(-2px);box-shadow:0 0 0 3px #2563eb47,0 20px 38px -28px #0f172ad9}.org-company.drop-target:before{content:"设为一级部门";z-index:2;border-radius:inherit;color:#fff;pointer-events:none;background:#2563ebf0;place-items:center;font-size:12.5px;font-weight:700;display:grid;position:absolute;inset:0}.org-company.has-children:after{content:"";background:var(--line-strong);width:1px;height:26px;position:absolute;top:100%;left:50%}.org-company-mark{background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:10px;place-items:center;width:36px;height:36px;font-size:16px;font-weight:800;display:grid}.org-company-text{flex-direction:column;line-height:1.3;display:flex}.org-company-text strong{letter-spacing:.02em;font-size:14px}.org-company-text span{color:#93a7c6;font-size:11px}.org-children{justify-content:center;align-items:flex-start;margin-top:26px;display:flex}.org-child{flex-direction:column;align-items:center;padding:26px 6px 0;display:flex;position:relative}.org-child:before{content:"";border-top:1.5px solid var(--line-strong);position:absolute;top:0;left:0;right:0}.org-child:after{content:"";background:var(--line-strong);width:1px;height:26px;position:absolute;top:0;left:50%}.org-child:first-child:before{left:50%}.org-child:last-child:before{right:50%}.org-card{border:1px solid var(--line-strong);background:var(--surface);width:188px;box-shadow:var(--shadow-sm);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:12px;padding:11px 12px 10px;transition:border-color .16s,box-shadow .16s,transform .16s,opacity .16s;position:relative}.org-card:hover{border-color:#bccbdf;box-shadow:0 16px 32px -26px #0f172a80}.org-card:active{cursor:grabbing}.org-card.dragging{opacity:.35;cursor:grabbing}.org-card.drop-target{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb29,0 16px 32px -26px #0f172a80}.org-card.drop-target:before{content:"移到此部门下";z-index:2;border-radius:inherit;color:var(--primary);pointer-events:none;background:#eff6ffeb;place-items:center;font-size:12px;font-weight:700;display:grid;position:absolute;inset:0}.org-card.reorder-before,.org-card.reorder-after{border-color:var(--primary)}.org-card.reorder-before:before,.org-card.reorder-after:before{content:"";background:var(--primary);pointer-events:none;border-radius:999px;width:4px;position:absolute;top:-5px;bottom:-5px;box-shadow:0 0 0 3px #2563eb24}.org-card.reorder-before:before{left:-9px}.org-card.reorder-after:before{right:-9px}.org-card.has-children:after{content:"";background:var(--line-strong);width:1px;height:26px;position:absolute;top:100%;left:50%}.org-card-head{align-items:center;gap:7px;min-width:0;display:flex}.org-card-icon{background:var(--primary-soft);width:24px;height:24px;color:var(--primary);border-radius:7px;flex-shrink:0;place-items:center;display:grid}.org-card-head strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;font-weight:700;overflow:hidden}.org-card-actions{opacity:0;flex-shrink:0;gap:1px;margin-right:-3px;transition:opacity .15s;display:flex}.org-card:hover .org-card-actions,.org-card:focus-within .org-card-actions{opacity:1}.org-card-actions button{width:21px;height:21px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.org-card-actions button:hover{background:var(--surface-3);color:var(--ink)}.org-card-actions button.danger:hover{background:var(--red-soft);color:var(--red)}.org-group-child{padding:26px 4px 0}.org-group-node{width:148px;box-shadow:var(--shadow-sm);color:inherit;text-align:left;cursor:pointer;background:linear-gradient(#fff,#f8fbff);border:1px solid #c9d8eb;border-top:3px solid #7aa7e8;border-radius:12px;flex-direction:column;gap:9px;padding:11px 12px 10px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;position:relative}.org-group-node:hover{border-color:#9dbbe0;border-top-color:var(--primary);transform:translateY(-1px);box-shadow:0 16px 32px -26px #0f172a80}.org-group-node.dragging{opacity:.4}.org-group-node.reorder-before:before,.org-group-node.reorder-after:before{content:"";background:var(--primary);pointer-events:none;border-radius:999px;width:4px;position:absolute;top:6px;bottom:6px;box-shadow:0 0 0 3px #2563eb24}.org-group-node.reorder-before:before{left:-8px}.org-group-node.reorder-after:before{right:-8px}.org-group-node:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.org-group-node-head{align-items:center;gap:7px;min-width:0;display:flex}.org-group-node-icon{width:24px;height:24px;color:var(--primary);background:#eaf2ff;border-radius:7px;flex-shrink:0;place-items:center;display:grid}.org-group-node-title{flex-direction:column;min-width:0;line-height:1.2;display:flex}.org-group-node-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:700;overflow:hidden}.org-group-node-title em{color:var(--muted-2);letter-spacing:.06em;font-size:9.5px;font-style:normal;font-weight:600}.org-group-node-leaders{border-top:1px dashed var(--line);flex-direction:column;gap:5px;padding-top:8px;display:flex}.org-group-node-leader{min-width:0;color:var(--muted);align-items:center;gap:6px;font-size:10.5px;display:flex}.org-group-node-leader>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.org-group-node-avatar{color:#38558d;background:#e8eefb;border-radius:6px;flex-shrink:0;place-items:center;width:21px;height:21px;font-size:10px;font-weight:700;display:grid}.org-group-node-avatar.inactive{opacity:.55}.org-group-node-meta{border-top:1px dashed var(--line);color:var(--muted);align-items:center;gap:4px;padding-top:7px;font-size:10.5px;display:inline-flex}.org-group-node-meta svg{color:var(--muted-2)}.org-card-meta{border-top:1px dashed var(--line);color:var(--muted);flex-wrap:wrap;gap:4px 10px;margin-top:8px;padding-top:7px;font-size:11px;display:flex}.org-card-meta span{align-items:center;gap:4px;display:inline-flex}.org-card-meta svg{color:var(--muted-2)}.org-card-managers{min-height:40px;color:var(--muted);flex-direction:column;justify-content:center;gap:4px;margin-top:7px;font-size:11px;display:flex}.org-manager-row{align-items:center;gap:5px;min-width:0;height:18px;display:flex}.org-manager-avatar{color:#1e40af;background:linear-gradient(135deg,#dbeafe,#e0e7ff);border-radius:50%;flex-shrink:0;place-items:center;width:18px;height:18px;font-size:9px;font-weight:700;display:grid}.org-manager-avatar.inactive{filter:grayscale();opacity:.65}.org-manager-label{min-width:0;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:11px;font-weight:650;overflow:hidden}.org-manager-role{color:var(--primary);font-weight:650}.org-manager-role.deputy{color:var(--muted)}.org-manager-empty{color:var(--amber);font-weight:600}@media (hover:none){.org-card-actions{opacity:1}}.org-drawer-overlay{z-index:150;background:#0f172a61;justify-content:flex-end;animation:.16s org-overlay-in;display:flex;position:fixed;inset:0}.org-drawer{background:var(--surface);flex-direction:column;width:min(500px,100%);height:100%;animation:.22s org-drawer-in;display:flex;box-shadow:-30px 0 70px -30px #0f172a8c}@keyframes org-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes org-drawer-in{0%{opacity:.6;transform:translate(30px)}to{opacity:1;transform:none}}.org-drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px 16px;display:flex}.org-drawer-eyebrow{color:var(--primary);letter-spacing:.12em;font-size:10.5px;font-weight:700}.org-drawer-head h2{letter-spacing:-.02em;margin-top:4px;font-size:20px;font-weight:750}.org-drawer-head p{color:var(--muted);margin-top:4px;font-size:12px}.org-drawer-body{flex-direction:column;flex:1;gap:22px;padding:18px 22px 26px;display:flex;overflow-y:auto}.org-drawer-section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.org-drawer-section-head h3{align-items:center;gap:6px;font-size:13px;font-weight:700;display:flex}.org-section-count{background:var(--surface-3);min-width:18px;height:18px;color:var(--muted);border-radius:999px;justify-content:center;align-items:center;padding:0 5px;font-size:10.5px;font-weight:650;display:inline-flex}.org-section-hint{color:var(--muted-2);font-size:11px}.org-drawer-empty{border:1px dashed var(--line-strong);background:var(--surface-2);color:var(--muted);border-radius:10px;padding:12px 14px;font-size:12px;line-height:1.5}.org-drawer-group-list{flex-direction:column;gap:6px;display:flex}.org-drawer-group-row{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:8px;padding:8px 10px;display:flex}.org-drawer-group-icon{width:28px;height:28px;color:var(--primary);background:#eaf2ff;border-radius:8px;flex-shrink:0;place-items:center;display:grid}.org-drawer-group-main{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;padding:0;line-height:1.35;display:flex}.org-drawer-group-main:disabled{cursor:default}.org-drawer-group-main strong{font-size:12.5px;font-weight:650}.org-drawer-group-main span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.org-drawer-group-actions{flex-shrink:0;gap:2px;display:flex}.org-drawer-group-actions .icon-btn{width:28px;height:28px}.org-person-list{flex-direction:column;gap:6px;display:flex}.org-person-row{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:10px;padding:8px 10px;display:flex}.org-person-main{flex-direction:column;flex:1;min-width:0;line-height:1.35;display:flex}.org-person-main strong{font-size:12.5px;font-weight:650}.org-person-main span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.org-person-badges{flex-shrink:0;align-items:center;gap:4px;display:flex}.org-position-icon{background:var(--primary-soft);width:26px;height:26px;color:var(--primary);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.org-drawer-foot{border-top:1px solid var(--line);background:var(--surface-2);justify-content:flex-end;gap:8px;padding:14px 22px;display:flex}.manager-selected{flex-direction:column;gap:6px;max-height:260px;padding:2px;display:flex;overflow-y:auto}.manager-row{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;align-items:center;gap:9px;padding:8px 9px;display:flex}.manager-row.primary{background:var(--primary-soft);border-color:#bfdbfe}.manager-order{background:var(--surface);width:18px;height:18px;color:var(--muted);border-radius:50%;flex-shrink:0;place-items:center;font-size:10px;font-weight:700;display:grid}.manager-row.primary .manager-order{background:var(--primary);color:#fff}.manager-row-actions{flex-shrink:0;gap:1px;display:flex}.manager-row-actions .icon-btn{width:24px;height:24px}.manager-empty{border:1px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:10px;padding:14px;font-size:12px}.manager-pick-list{flex-direction:column;gap:5px;max-height:220px;margin-top:8px;padding-right:2px;display:flex;overflow-y:auto}.manager-pick-row{border:1px solid var(--line);border-radius:9px;align-items:center;gap:9px;padding:6px 8px;display:flex}.manager-pick-row:hover{border-color:var(--line-strong);background:var(--surface-2)}@media (width<=520px){.org-drawer-head{padding:16px 16px 12px}.org-drawer-body{padding:15px 16px 20px}.org-drawer-foot{flex-wrap:wrap;padding:12px 16px}.org-drawer-foot .btn{flex:1}}.detail-grid{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);align-items:start;gap:16px;display:grid}.dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(320px,1fr);align-items:start;gap:16px;display:grid}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.progress-summary{align-items:center;gap:22px;margin-bottom:14px;display:flex}.progress-ring{background:conic-gradient(var(--primary) 0, #e8effc 0);border-radius:50%;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:92px;height:92px;display:flex;position:relative}.progress-ring:before{content:"";background:var(--surface);border-radius:50%;position:absolute;inset:8px}.progress-ring strong,.progress-ring span{z-index:1;position:relative}.progress-ring strong{letter-spacing:-.04em;font-size:20px;font-weight:750;line-height:1}.progress-ring strong em{color:var(--muted);font-size:11px;font-style:normal;font-weight:600}.progress-ring span{color:var(--muted);margin-top:3px;font-size:9.5px}.progress-breakdown{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;display:grid}.progress-breakdown>div{color:var(--muted);align-items:center;gap:6px;font-size:11.5px;display:flex}.progress-breakdown strong{color:var(--ink-2);margin-left:auto;font-size:13px}.dot{border-radius:50%;flex-shrink:0;width:7px;height:7px}.dot.blue{background:var(--primary)}.dot.green{background:var(--green)}.dot.amber{background:var(--amber)}.dot.red{background:var(--red)}.dot.purple{background:var(--purple)}.all-clear{background:var(--surface-2);color:var(--green);border-radius:10px;align-items:flex-start;gap:10px;padding:12px;display:flex}.all-clear>div{flex-direction:column;gap:2px;display:flex}.all-clear strong{color:var(--ink-2);font-size:12.5px}.all-clear span{color:var(--muted);font-size:11.5px}.all-clear.green{background:var(--green-soft)}.alert-list{flex-direction:column;gap:7px;list-style:none;display:flex}.alert-list li{background:var(--surface-2);color:var(--ink-2);border-radius:8px;align-items:flex-start;gap:8px;padding:8px 10px;font-size:12px;line-height:1.5;display:flex}.alert-list .alert-icon{flex-shrink:0;margin-top:1px}.alert-danger{background:var(--red-soft)!important;color:#991b1b!important}.alert-warning{background:var(--amber-soft)!important;color:#92400e!important}.alert-info{background:var(--primary-soft)!important;color:#1e40af!important}.gap-list{flex-direction:column;gap:11px;display:flex}.gap-row-head{justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:4px;display:flex}.gap-row-head>div{align-items:baseline;gap:6px;min-width:0;display:flex}.gap-row-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.gap-row-head span{color:var(--muted);white-space:nowrap;font-size:10.5px}.gap-row-head>span{font-family:var(--mono);font-size:11px}.bar-list{flex-direction:column;gap:9px;display:flex}.bar-row{grid-template-columns:minmax(58px,92px) minmax(0,1fr) 38px;align-items:center;gap:10px;display:grid}.bar-label{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;overflow:hidden}.bar-track{background:#edf1f8;border-radius:999px;height:8px;overflow:hidden}.bar-fill{border-radius:inherit;background:var(--primary);height:100%;transition:width .3s}.bar-fill.blue{background:var(--primary)}.bar-fill.green{background:var(--green)}.bar-fill.amber{background:var(--amber)}.bar-fill.red{background:var(--red)}.bar-fill.purple{background:var(--purple)}.bar-fill.gray{background:var(--muted-2)}.bar-row strong{color:var(--ink-2);text-align:right;font-size:12px}.bar-value{white-space:nowrap;font-size:11px!important}.status-bars{flex-direction:column;gap:9px;display:flex}.status-bar-row{grid-template-columns:76px minmax(0,1fr) 34px;align-items:center;gap:10px;display:grid}.status-bar-row strong{text-align:right;font-size:12px}.card-divider{background:var(--line);height:1px;margin:16px 0 13px}.mini-heading{color:var(--muted);letter-spacing:.04em;margin-bottom:9px;font-size:11px;font-weight:650}.workload-cell{align-items:center;gap:9px;min-width:150px;display:flex}.schedule-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.week-nav{align-items:center;gap:4px;display:flex}.week-label{text-align:center;flex-direction:column;min-width:168px;padding:0 8px;display:flex}.week-label strong{font-size:14px;font-weight:700}.week-label span{color:var(--muted);font-size:10.5px}.week-nav .btn{margin-left:6px}.schedule-wrap{overflow-x:auto}.schedule-grid{border-collapse:collapse;table-layout:fixed;width:100%;min-width:980px}.schedule-grid th,.schedule-grid td{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.schedule-grid th:last-child,.schedule-grid td:last-child{border-right:0}.schedule-grid tbody tr:last-child th,.schedule-grid tbody tr:last-child td{border-bottom:0}.schedule-grid thead th{color:var(--muted);text-align:center;background:#f8fafc;padding:9px 6px;font-size:11px;font-weight:600}.schedule-grid thead th span{color:var(--muted-2);font-size:10px;font-weight:500;display:block}.schedule-grid thead th strong{color:var(--ink-2);margin-top:1px;font-size:11.5px;font-weight:650;display:block}.schedule-row-head{z-index:2;background:var(--surface);border-right:1px solid var(--line);vertical-align:middle;width:152px;min-width:152px;position:sticky;left:0;text-align:left!important;padding:10px 12px!important}.schedule-grid thead .schedule-row-head{z-index:3;background:#f8fafc}.schedule-row-head strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:650;display:block;overflow:hidden}.schedule-row-head span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;display:block;overflow:hidden}.schedule-row-head em{color:var(--muted-2);font-size:9.5px;font-style:normal;font-family:var(--mono);margin-top:2px;display:block}.schedule-cell{vertical-align:top;background:var(--surface);width:118px;height:76px;padding:5px;transition:background .12s;position:relative}.schedule-cell:hover{background:#fbfdff}.schedule-cell.is-today,.schedule-grid thead th.is-today{background:#f4f8ff}.schedule-cell.is-today:hover{background:#eef5ff}.schedule-chip{border:1px solid #e8eef8;border-left:3px solid var(--primary);text-align:left;background:#f8fafc;border-radius:6px;flex-direction:column;gap:1px;width:100%;margin-bottom:3px;padding:4px 6px;transition:background .13s,box-shadow .13s;display:flex}.schedule-chip:hover{background:#fff;box-shadow:0 3px 10px -6px #0f172a59}.schedule-chip.has-warning{background:var(--amber-soft);border-color:#fde68a}.schedule-chip.is-leave{opacity:.75}.schedule-chip-top{justify-content:space-between;align-items:center;gap:4px;display:flex}.schedule-chip-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:650;overflow:hidden}.schedule-chip-top svg{color:var(--amber);flex-shrink:0}.schedule-chip-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.3;overflow:hidden}.schedule-chip-status{color:var(--primary);font-size:8.5px;font-weight:600}.schedule-add{width:20px;height:20px;color:var(--muted-2);opacity:0;background:0 0;border:1px dashed #cbd5e1;border-radius:5px;justify-content:center;align-items:center;transition:opacity .14s;display:inline-flex;position:absolute;bottom:4px;right:5px}.schedule-cell:hover .schedule-add{opacity:1}.schedule-add:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.schedule-selection-bar{background:var(--primary-soft);color:#1e40af;border:1px solid #bfdbfe;border-radius:9px;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:12px 14px 10px;padding:8px 12px;font-size:12.5px;font-weight:600;display:flex}.schedule-selection-bar.is-empty{border-color:var(--line);color:var(--muted);background:#f8fafc}.schedule-selection-hint{color:#64748b;font-weight:400}.schedule-selection-bar .text-btn{margin-left:auto}.schedule-cell.is-selected{background:#e8f1ff;box-shadow:inset 0 0 0 2px #2563eb73}.schedule-cell.is-today.is-selected{background:#ddeaff}.schedule-menu{z-index:150;border:1px solid var(--line-strong);background:var(--surface);min-width:196px;box-shadow:var(--shadow-lg);border-radius:10px;flex-direction:column;gap:2px;padding:6px;display:flex;position:fixed}.schedule-menu-title{color:var(--muted);padding:5px 9px 4px;font-size:11px}.schedule-menu button{color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 9px;font-size:13px}.schedule-menu button:hover{background:var(--surface-3)}.schedule-menu button.is-danger{color:var(--red)}.schedule-menu button.is-danger:hover{background:var(--red-soft)}.schedule-calendar-scroll{overflow-x:auto}.schedule-calendar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--line);grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;min-width:860px;display:grid}.schedule-calendar>*{background:var(--surface)}.schedule-calendar-weekday{color:var(--muted);letter-spacing:.02em;text-align:center;padding:9px 8px;font-size:11px;font-weight:650;background:#f8fafc!important}.matrix-view-switch{flex-shrink:0}.calendar-view-select{min-width:124px}.card-body.no-pad.matrix-card-body{padding:12px 14px 14px}.calendar-period-switch{flex-shrink:0}.schedule-block-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.schedule-block{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);min-width:0;box-shadow:var(--shadow-sm);text-align:left;cursor:pointer;align-items:center;gap:11px;padding:13px 14px;transition:border-color .16s,box-shadow .16s,transform .16s,background .16s;display:flex}.schedule-block:hover{border-color:#bfd4fb;transform:translateY(-1px);box-shadow:0 10px 24px -18px #2563eb80}.schedule-block.is-active{border-color:var(--primary);background:linear-gradient(#f8fbff,#fff);box-shadow:0 0 0 3px #2563eb1a}.schedule-block-icon{background:var(--surface-3);width:34px;height:34px;color:var(--muted);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.schedule-block.is-active .schedule-block-icon{background:var(--primary-soft);color:var(--primary)}.schedule-block-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.schedule-block-copy strong{color:var(--ink);font-size:13px;font-weight:700}.schedule-block-copy span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.schedule-block-arrow{color:var(--muted-2);flex-shrink:0}.schedule-block.is-active .schedule-block-arrow{color:var(--primary)}.schedule-block-body{flex-direction:column;gap:12px;display:flex}.schedule-range-extras{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.schedule-subsection{flex-direction:column;gap:10px;display:flex}.schedule-subsection-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.schedule-subsection-head strong{font-size:13px}.schedule-subsection-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.company-rule-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.company-rule-head>div{flex-direction:column;gap:2px;display:flex}.company-rule-head strong{font-size:14px}.company-rule-head span{color:var(--muted);font-size:11.5px}.company-block-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.company-month-legend{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 12px;font-size:11.5px;display:flex}.company-month-legend span{align-items:center;gap:5px;display:inline-flex}.company-month-legend i{border:1px solid var(--line-strong);background:#fff;border-radius:3px;width:10px;height:10px}.company-month-legend i.is-work{border-color:var(--green);background:var(--green)}.company-month-legend i.is-manual{border-color:var(--amber);background:var(--amber)}.company-month-legend i.is-past{opacity:.55;background:#e2e8f0;border-color:#cbd5e1}.company-month-legend .company-month-hint{color:var(--muted-2);margin-left:auto}.company-month-scroll{overflow-x:auto}.company-month-grid{border:1px solid var(--line);background:var(--line);border-radius:10px;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;min-width:760px;display:grid;overflow:hidden}.company-month-weekday{color:var(--muted);text-align:center;background:#f8fafc;padding:8px;font-size:11px;font-weight:650}.company-month-day{background:var(--surface);text-align:left;cursor:pointer;border:0;flex-direction:column;gap:4px;min-height:84px;padding:8px 9px;transition:background .14s,box-shadow .14s,opacity .14s;display:flex}.company-month-day.is-empty{background:#fff}.company-month-day.is-work{background:#ecfdf5}.company-month-day.is-work:hover:not(:disabled){background:#dcfce7;box-shadow:inset 0 0 0 2px #86efac}.company-month-day.is-empty:hover:not(:disabled){background:#f8fbff;box-shadow:inset 0 0 0 2px #bfd4fb}.company-month-day.has-manual-adjustment{background:var(--amber-soft)}.company-month-day.has-manual-adjustment:hover:not(:disabled){background:#fef3c7;box-shadow:inset 0 0 0 2px #fcd34d}.company-month-day.is-past{opacity:.42;cursor:not-allowed}.company-month-day.is-blank{background:var(--surface-2);cursor:default}.company-month-day.is-today{outline:2px solid var(--primary);outline-offset:-2px}.company-month-day-head{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.company-month-day-head strong{color:var(--ink-2);font-size:13px}.company-month-day-head em{background:var(--primary-soft);color:var(--primary);border-radius:99px;padding:1px 5px;font-size:9.5px;font-style:normal}.company-month-day-head em.is-company{background:var(--amber-soft);color:var(--amber)}.company-month-day-status{color:var(--ink-3);font-size:11.5px;font-weight:650}.company-month-day.is-work .company-month-day-status{color:var(--green)}.company-month-day.has-manual-adjustment .company-month-day-status{color:var(--amber)}.company-month-day-meta{color:var(--muted);flex-wrap:wrap;gap:3px 6px;font-size:10px;display:flex}.company-month-day-meta .is-leave{color:var(--amber)}.company-month-day-meta .is-missing{color:var(--red)}.company-year-actions-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.company-year-bottom-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.company-year-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.company-year-quick{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.holiday-manager{flex-direction:column;gap:8px;display:flex}.holiday-actions{flex-wrap:wrap;gap:8px;display:flex}.holiday-row{grid-template-columns:150px 14px 150px minmax(0,1fr) 32px;align-items:center;gap:8px;display:grid}.holiday-row-head{color:var(--muted);font-size:10.5px}.holiday-range-sep{color:var(--muted);text-align:center}@media (width<=720px){.holiday-row{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 32px}.holiday-row-head{display:none}.holiday-name{grid-area:2/1/auto/span 3}.holiday-delete{grid-area:1/4/span 2}}.company-year-summary{flex-wrap:wrap;gap:8px;display:flex}.company-year-summary>span{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:8px;align-items:baseline;gap:5px;padding:7px 11px;font-size:11px;display:inline-flex}.company-year-summary em{font-style:normal}.company-year-summary strong{color:var(--ink);font-size:15px}.company-year-summary .is-dirty{background:var(--amber-soft);color:var(--amber);border-color:#fde68a}.company-year-legend{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 12px;font-size:11.5px;display:flex}.company-year-legend span{align-items:center;gap:5px;display:inline-flex}.company-year-legend i{border:1px solid var(--line-strong);background:#fff;border-radius:3px;width:10px;height:10px}.company-year-legend i.is-work{border-color:var(--green);background:var(--green)}.company-year-legend i.is-rest{border-color:var(--red);background:var(--red-soft)}.company-year-legend i.is-manual{border-color:var(--amber);background:var(--amber)}.company-year-legend i.is-no-data{border-color:var(--line-strong);background:var(--surface-3)}.company-year-legend i.is-changed{border-color:var(--amber);background:var(--amber)}.company-year-legend .is-holiday-text{color:var(--red);font-weight:650}.company-year-legend .company-year-hint{color:var(--muted-2);margin-left:auto}.company-year-months{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.company-year-month{border:1px solid var(--line);background:var(--surface);border-radius:10px;overflow:hidden}.company-year-month-head{border-bottom:1px solid var(--line);background:#f8fafc;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.company-year-month-head strong{color:var(--ink-2);font-size:12.5px}.company-year-month-head span{color:var(--muted);font-size:10.5px}.company-year-weekdays{color:var(--muted-2);text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));padding:5px 4px 2px;font-size:9px;display:grid}.company-year-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;padding:3px 4px 5px;display:grid}.company-year-day{text-align:left;cursor:pointer;background:#fff;border:0;border-radius:4px;flex-direction:column;gap:1px;min-height:40px;padding:3px 4px;transition:background .12s,box-shadow .12s,opacity .12s;display:flex;position:relative}.company-year-day.is-work{background:#ecfdf5}.company-year-day.is-rest{background:var(--red-soft)}.company-year-day.is-work:hover:not(:disabled){background:#dcfce7}.company-year-day.is-rest:hover:not(:disabled){background:#fee2e2}.company-year-day.has-manual-adjustment{background:var(--amber-soft)}.company-year-day.has-manual-adjustment:hover:not(:disabled){background:#fef3c7}.company-year-day.is-rest.has-manual-adjustment{background:var(--red-soft)}.company-year-day.is-rest.has-manual-adjustment:hover:not(:disabled){background:#fee2e2}.company-year-day.is-past{opacity:.42;cursor:not-allowed}.company-year-day.is-no-data{background:var(--surface-3);opacity:.72}.company-year-day.is-no-data .company-year-day-top strong{color:var(--muted-2)}.company-year-day-no-data{color:var(--muted);font-size:8.5px;line-height:1.1}.company-year-day.is-blank{cursor:default;background:0 0}.company-year-day.is-today{outline:2px solid var(--primary);outline-offset:-2px}.company-year-day.is-changed{box-shadow:inset 0 0 0 2px var(--amber)}.company-year-day-today{background:var(--primary-soft);color:var(--primary);border-radius:99px;padding:0 4px;font-size:8px;font-weight:650;line-height:1.4}.company-year-day:disabled{cursor:default}.company-year-day-top{justify-content:space-between;align-items:center;gap:2px;width:100%;display:flex}.company-year-day-top strong{color:var(--ink-2);font-size:10.5px}.company-year-day-status{color:var(--muted-2);font-size:8px}.company-year-day.is-work .company-year-day-status{color:var(--green)}.company-year-day.is-rest .company-year-day-status{color:var(--red)}.company-year-day-holiday{max-height:20px;color:var(--red);word-break:break-all;font-size:8px;line-height:1.05;overflow:hidden}.company-year-day-holiday.is-makeup{color:var(--amber)}.company-year-day-manual{background:var(--amber);border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px;right:3px}.company-template-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.company-template-quick{flex-wrap:wrap;gap:10px;display:flex}.company-template-scroll{overflow-x:auto}.company-template-grid{border:1px solid var(--line);background:var(--line);border-radius:10px;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;min-width:620px;display:grid;overflow:hidden}.company-template-weekday{color:var(--muted);text-align:center;background:#f8fafc;padding:8px;font-size:11px;font-weight:650}.company-template-day{text-align:left;cursor:pointer;background:#fff;border:0;flex-direction:column;gap:3px;min-height:70px;padding:7px 8px;transition:background .14s;display:flex}.company-template-day.is-work{background:#ecfdf5}.company-template-day.is-work:hover:not(:disabled){background:#dcfce7}.company-template-day.is-rest:hover:not(:disabled){background:#f8fbff}.company-template-day.is-past{opacity:.42;cursor:not-allowed}.company-template-day.is-blank{background:var(--surface-2);cursor:default}.company-template-day.is-today{outline:2px solid var(--primary);outline-offset:-2px}.company-template-day-head{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.company-template-day-head strong{color:var(--ink-2);font-size:12.5px}.company-template-day-head em{background:var(--primary-soft);color:var(--primary);border-radius:99px;padding:1px 5px;font-size:9.5px;font-style:normal}.company-template-day-status{color:var(--ink-3);font-size:11.5px;font-weight:650}.company-template-day.is-work .company-template-day-status{color:var(--green)}.company-template-day-source{color:var(--muted-2);font-size:9.5px}.company-rule-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.company-rule-day{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;flex-direction:column;gap:3px;padding:10px;display:flex}.company-rule-day span{color:var(--muted);font-size:11px}.company-rule-day strong{color:var(--ink-2);font-size:12.5px}.company-rule-day em{color:var(--muted-2);font-size:10px;font-style:normal}.company-rule-day.is-work{background:var(--primary-soft);border-color:#bfdbfe}.company-rule-day.is-work strong{color:var(--primary)}.company-date-form{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;flex-direction:column;gap:10px;padding:12px;display:flex}.department-block-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.department-block-select{min-width:150px}.department-info-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.department-info-grid>div{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;flex-direction:column;gap:3px;padding:10px 12px;display:flex}.department-info-grid span{color:var(--muted);font-size:10.5px}.department-info-grid strong{color:var(--ink-2);font-size:12.5px;font-weight:650}.schedule-department-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:12px;display:grid}.schedule-department-card{cursor:pointer;border-radius:var(--radius);min-width:0}.schedule-department-card:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.schedule-department-card .card{height:100%;transition:border-color .16s,box-shadow .16s,transform .16s}.schedule-department-card:hover .card{border-color:#bfd4fb;transform:translateY(-1px);box-shadow:0 12px 28px -22px #2563eb80}.department-week-plan{flex-direction:column;gap:3px;display:flex}.department-week-plan-row{align-items:center;gap:6px;min-height:21px;font-size:11.5px;display:flex}.week-plan-dot{background:var(--line-strong);border-radius:2px;flex:none;width:8px;height:8px}.week-plan-dot.is-work{background:var(--green)}.week-plan-dot.is-rest{background:var(--red)}.week-plan-dot.is-unset{background:var(--line-strong)}.week-plan-weekday{color:var(--muted);flex:0 0 30px}.week-plan-shift{color:var(--ink-2);white-space:nowrap;font-weight:650}.week-plan-time{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:10.5px}.week-plan-hours{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:10.5px}.week-plan-status{color:var(--red)}.week-plan-status.is-unset{color:var(--muted-2)}.schedule-department-foot{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;padding-top:8px;font-size:11px;display:flex}.schedule-department-foot>span:first-child{align-items:center;gap:5px;display:inline-flex}.schedule-department-edit{color:var(--primary);align-items:center;gap:2px;font-weight:650;display:inline-flex}.department-week-quick{flex-wrap:wrap;gap:8px;display:flex}.department-week-list{flex-direction:column;gap:6px;display:flex}.department-week-row{grid-template-columns:46px minmax(120px,.8fr) minmax(160px,1.2fr);align-items:center;gap:8px;display:grid}.department-week-name{color:var(--ink-2);font-size:12px;font-weight:650}.department-week-row .select{min-width:0}.personal-block{flex-direction:column;gap:12px;display:flex}.personal-filter-bar{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 16px;padding:10px 12px;display:flex}.personal-filter-controls{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.personal-filter-select{align-items:center;gap:6px;display:inline-flex}.personal-filter-select>span{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:650}.personal-filter-select .select{width:auto;min-width:120px}.personal-search-wrap{width:min(320px,100%);position:relative}.personal-employee-search{width:100%}.personal-search-results{z-index:30;border:1px solid var(--line);background:var(--surface);border-radius:10px;max-height:300px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 32px #0f172a29}.personal-search-option{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:8px 9px;display:flex}.personal-search-option:hover,.personal-search-option.is-selected{background:var(--primary-soft)}.personal-search-name{color:var(--ink);white-space:nowrap;font-size:12.5px;font-weight:650}.personal-search-meta{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.personal-search-empty{color:var(--muted);text-align:center;padding:12px 10px;font-size:12px}.personal-current-employee{color:var(--muted);font-size:11px}.personal-current-employee strong{color:var(--ink-2)}@media (width<=900px){.personal-filter-bar{flex-direction:column;align-items:stretch}.personal-search-wrap{width:100%}}.personal-summary{flex-wrap:wrap;gap:8px;display:flex}.personal-summary>span{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:8px;align-items:baseline;gap:5px;padding:7px 11px;font-size:11px;display:inline-flex}.personal-summary em{font-style:normal}.personal-summary strong{color:var(--ink);font-size:15px}.personal-summary .is-leave{background:var(--amber-soft);border-color:#fde68a}.personal-summary .is-leave strong{color:var(--amber)}.personal-calendar-legend{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 12px;font-size:11.5px;display:flex}.personal-calendar-legend span{align-items:center;gap:5px;display:inline-flex}.personal-calendar-legend i{border:1px solid var(--line-strong);background:#fff;border-radius:3px;width:10px;height:10px}.personal-calendar-legend i.is-work{background:#ecfdf5;border-color:#a7f3d0}.personal-calendar-legend i.is-rest{background:var(--red-soft);border-color:#fecaca}.personal-calendar-legend i.is-flex{background:var(--amber-soft);border-color:#fde68a}.personal-calendar-legend i.is-unset{border-color:var(--line-strong);background:var(--surface-3)}.personal-calendar-legend .personal-calendar-hint{color:var(--muted-2);margin-left:auto}.personal-calendar-scroll{padding-bottom:2px;overflow-x:auto}.personal-calendar{grid-template-columns:repeat(7,minmax(112px,1fr));gap:6px;min-width:780px;display:grid}.personal-calendar-weekday{color:var(--muted-2);text-align:center;padding:2px 0;font-size:10.5px}.personal-day{border:1px solid var(--line);background:var(--surface);min-height:112px;color:var(--ink);text-align:left;cursor:pointer;border-radius:10px;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 9px;transition:background .12s,box-shadow .12s,opacity .12s;display:flex}.personal-day.is-work{background:#ecfdf5;border-color:#a7f3d0}.personal-day.is-rest{background:var(--red-soft);border-color:#fecaca}.personal-day.is-flex{background:var(--amber-soft);border-color:#fde68a}.personal-day.is-unset{border-color:var(--line);background:var(--surface-3)}.personal-day:hover:not(:disabled){box-shadow:0 2px 10px #0f172a1a}.personal-day.is-blank{cursor:default;background:0 0;border-color:#0000}.personal-day.is-past{opacity:.48;cursor:not-allowed}.personal-day.is-today{outline:2px solid var(--primary);outline-offset:-2px}.personal-day:disabled{cursor:default}.personal-day-head{justify-content:space-between;align-items:center;gap:4px;width:100%;display:flex}.personal-day-number{color:var(--ink-2);font-size:13px}.personal-day.is-past .personal-day-number{color:var(--muted)}.personal-day-today{background:var(--primary-soft);color:var(--primary);border-radius:99px;padding:0 5px;font-size:9px;font-weight:650}.personal-day-status{color:var(--ink-2);font-size:12px;font-weight:650;line-height:1.25}.personal-day.is-work .personal-day-status{color:var(--green)}.personal-day.is-rest .personal-day-status{color:var(--red)}.personal-day.is-flex .personal-day-status{color:var(--amber)}.personal-day.is-unset .personal-day-status{color:var(--muted)}.personal-day-time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10.5px}.personal-day-source{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:#ffffffb8;border-radius:99px;padding:1px 6px;font-size:9.5px;overflow:hidden}.personal-day-extra{color:var(--muted);font-size:9.5px;line-height:1.2}.personal-day .badge{padding:1px 6px;font-size:9.5px}.preview-view-switch{align-items:center;gap:8px;display:flex}.preview-meta-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.apply-preview-table{border:1px solid var(--line);border-radius:9px;max-height:340px;overflow:auto}.apply-preview-table .table{min-width:620px}.apply-preview-table thead th{z-index:1;background:#f8fafc;position:sticky;top:0}.day-effective-table{max-height:280px}.leave-color-input{border:1px solid var(--line);background:var(--surface);border-radius:6px;width:40px;height:30px;padding:2px}.override-detail-list{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 12px;display:grid}.override-detail-list>div{flex-direction:column;gap:2px;display:flex}.override-detail-list span{color:var(--muted);font-size:10.5px}.override-detail-list strong{color:var(--ink-2);font-size:12px}.schedule-matrix{flex-direction:column;gap:10px;display:flex}.matrix-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.matrix-toolbar-left,.matrix-toolbar-right{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.matrix-toolbar-left .select{min-width:150px}.matrix-legend{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 12px;font-size:11.5px;display:flex}.matrix-legend span{align-items:center;gap:5px;display:inline-flex}.matrix-legend i{background:var(--primary);border-radius:3px;width:9px;height:9px}.matrix-legend i.is-rest{background:#cbd5e1}.matrix-legend i.is-mixed{background:#f59e0b}.matrix-legend i.is-leave{background:#ef4444}.matrix-legend i.is-flex{background:#f59e0b}.matrix-hint{color:var(--muted-2);margin-left:auto}.schedule-matrix-wrap{border:1px solid var(--line-strong);background:var(--surface);border-radius:10px;max-height:68vh;overflow:auto}.schedule-matrix-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:11.5px}.schedule-matrix-table.is-week{table-layout:fixed;width:100%;min-width:760px}.schedule-matrix-table.is-week .matrix-org-col{width:220px;min-width:220px}.schedule-matrix-table.is-week .matrix-date-col,.schedule-matrix-table.is-week .matrix-cell{width:auto;min-width:0}.schedule-matrix-table thead th{z-index:3;border-bottom:1px solid var(--line-strong);border-right:1px solid var(--line);color:var(--muted);text-align:center;white-space:nowrap;background:#f8fafc;padding:8px 5px;font-weight:650;position:sticky;top:0}.schedule-matrix-table thead th.matrix-org-col{z-index:5;text-align:left;min-width:220px;left:0}.matrix-date-col{width:76px;min-width:76px}.matrix-date-col strong{color:var(--ink-2);font-size:13px;display:block}.matrix-date-col span{margin-top:1px;font-size:10px;font-weight:500;display:block}.matrix-date-col.is-weekend span{color:var(--amber)}.matrix-date-col.is-today{color:var(--primary);background:#eef5ff}.matrix-date-col.is-today strong{color:var(--primary)}.matrix-date-col.is-past{background:#f3f5f8}.matrix-date-col.is-past strong,.matrix-date-col.is-past span{color:var(--muted-2)}.schedule-matrix-table tbody th,.schedule-matrix-table tbody td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);background:var(--surface);vertical-align:middle;padding:0}.matrix-org-col{z-index:2;background:var(--surface);text-align:left;min-width:220px;box-shadow:1px 0 0 var(--line-strong);position:sticky;left:0;padding:8px 12px!important}.matrix-department-row>.matrix-org-col{color:var(--ink-2);background:#f8fafc;font-weight:700}.matrix-department-row>.matrix-org-col>*{vertical-align:middle}.matrix-expand-btn{width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;margin-right:4px;padding:0;display:inline-grid}.matrix-expand-btn:hover{background:var(--surface-3);color:var(--primary)}.matrix-dept-name{margin-left:5px;font-size:12.5px}.matrix-count{color:var(--muted);margin-left:7px;font-size:10.5px;font-weight:500}.matrix-person-col{color:var(--ink-2);font-weight:600;padding-left:38px!important}.matrix-person-name{font-size:12px}.matrix-person-no{color:var(--muted-2);margin-left:6px;font-size:10px;font-weight:500}.matrix-cell{text-align:center;white-space:nowrap;width:76px;min-width:76px;height:40px;position:relative;padding:4px 5px!important}.matrix-cell.is-clickable{cursor:pointer}.matrix-cell.is-clickable:hover{background:#f8fbff}.matrix-cell.is-work{background:#ecfdf5}.matrix-cell.is-rest{background:var(--red-soft)}.matrix-cell.is-unset{background:var(--surface-3)}.matrix-cell.is-mixed{background:#fefce8}.matrix-cell.is-leave{background:#fffbeb}.matrix-cell.is-flex{background:var(--amber-soft)}.matrix-flex{color:var(--amber);vertical-align:middle;font-size:10px;font-weight:700;display:inline-block}.matrix-cell.is-past{color:var(--muted-2);cursor:default;opacity:.72}.matrix-shift{text-overflow:ellipsis;vertical-align:middle;border:1px solid;border-radius:5px;max-width:64px;padding:1px 4px;font-size:10px;font-weight:650;display:inline-block;overflow:hidden}.matrix-rest{color:var(--muted-2);font-size:10.5px}.matrix-unset{color:var(--line-strong);font-size:11px}.matrix-mixed{color:var(--amber);font-size:10px;font-weight:700}.matrix-leave{color:var(--red);vertical-align:middle;margin-left:2px;font-size:9px;font-weight:700;display:inline-block}.matrix-extra{background:var(--primary-soft);color:var(--primary);vertical-align:middle;border-radius:4px;margin-left:2px;padding:0 3px;font-size:9px;font-weight:700;display:inline-block}.matrix-working{color:var(--muted-2);vertical-align:middle;margin-left:2px;font-size:9px;display:inline-block}.matrix-adjust-dot{background:var(--amber);border-radius:50%;width:5px;height:5px;position:absolute;top:4px;right:5px}.schedule-day{background:var(--surface);width:100%;min-height:112px;color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:8px 9px 9px;transition:background .12s,box-shadow .12s;display:flex;position:relative}.schedule-day:hover{background:#fbfdff}.schedule-day:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.schedule-day.is-today{box-shadow:inset 0 0 0 2px #2563eb40}.schedule-day.is-work{background:#ecfdf5}.schedule-day.is-rest{background:var(--red-soft)}.schedule-day.is-unset{background:var(--surface-3)}.schedule-day.is-work:hover{background:#dcfce7}.schedule-day.is-rest:hover{background:#fee2e2}.schedule-day.is-unset:hover{background:#e9eef5}.schedule-day.is-past{color:var(--muted);background:#f3f5f8}.schedule-day.is-past:hover{background:#eef1f5}.schedule-day.is-past .schedule-day-number,.schedule-day.is-past .schedule-day-counts,.schedule-day.is-past .schedule-day-note{color:var(--muted-2)}.schedule-day.is-past .schedule-day-shift{filter:grayscale();opacity:.7}.schedule-day.is-past .schedule-day-leave-names{opacity:.7}.schedule-day.is-blank,.schedule-day.is-blank:hover{cursor:default;background:#fafbfd}.schedule-day-head{align-items:center;gap:6px;width:100%;display:flex}.schedule-day-number{color:var(--ink);font-size:14px;font-weight:700;line-height:1.1}.schedule-day-today{background:var(--primary-soft);color:var(--primary);border-radius:999px;padding:1px 5px;font-size:9px;font-weight:700}.schedule-day-override{color:var(--muted-2);margin-left:auto;font-size:9px}.schedule-day-shift{white-space:nowrap;text-overflow:ellipsis;border:1px solid #0000;border-radius:999px;align-items:center;max-width:100%;padding:2px 7px;font-size:10.5px;font-weight:650;line-height:1.5;display:inline-flex;overflow:hidden}.schedule-day-shift.is-off{border-color:var(--line);color:var(--muted);background:#f8fafc}.schedule-day-shift.is-unset{border-color:var(--line-strong);color:var(--muted-2);background:0 0;border-style:dashed}.schedule-day-time{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:9.5px;line-height:1.2;overflow:hidden}.schedule-day-counts{color:var(--muted);flex-wrap:wrap;gap:3px 8px;font-size:9.5px;line-height:1.35;display:flex}.schedule-day-counts strong{color:var(--ink-2);font-size:10.5px}.schedule-day-counts .is-leave{color:var(--amber);font-weight:600}.schedule-day-counts .is-missing{color:var(--red);font-weight:600}.schedule-day-leave-names{max-width:100%;color:var(--amber);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.3;overflow:hidden}.schedule-day-note{max-width:100%;color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;margin-top:auto;font-size:9px;line-height:1.3;overflow:hidden}.template-week{flex-direction:column;gap:8px;display:flex}.template-day{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px;display:grid}.template-day>span{color:var(--ink-2);font-size:12.5px;font-weight:650}.template-day:nth-child(n+6)>span{color:var(--muted)}.template-day-wide{grid-template-columns:92px minmax(0,1fr)}.template-day-name{flex-direction:column;gap:2px;line-height:1.25;display:flex}.template-day-name em{color:var(--muted);font-size:10px;font-style:normal;font-weight:500}.template-day-fields{flex-wrap:wrap;gap:8px;display:flex}.template-day-fields .select{flex:1;min-width:132px}.template-company-shift-hint{color:var(--muted);align-self:center;font-size:11.5px;font-weight:500}.template-quick-apply{border:1px solid var(--line);background:var(--surface-2);color:var(--ink-2);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px;padding:9px 10px;font-size:12.5px;font-weight:600;display:flex}.rules-weekend-toggle{border:1px solid var(--line);background:var(--surface-2);color:var(--ink-2);cursor:pointer;border-radius:9px;align-items:center;gap:8px;padding:9px 10px;font-size:12px;display:flex}.rules-weekend-toggle input{width:15px;height:15px;accent-color:var(--primary);margin:0}.rules-weekend-toggle:has(input:disabled){opacity:.6;cursor:default}.template-quick-apply .select{flex:1;min-width:190px}.segmented{border:1px solid var(--line);background:#f8fafc;border-radius:9px;padding:3px;display:inline-flex}.segmented-item{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:5px 16px;font-size:12.5px;font-weight:600}.segmented-item.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.segmented-item:disabled{cursor:not-allowed;opacity:.6}.schedule-day-summary{border:1px solid var(--line);color:var(--muted);background:#f8fafc;border-radius:9px;flex-wrap:wrap;gap:8px 16px;padding:9px 12px;font-size:12px;display:flex}.schedule-entry-block{flex-direction:column;gap:7px;display:flex}.schedule-entry-head{color:var(--ink-2);justify-content:space-between;align-items:center;gap:10px;font-size:12.5px;display:flex}.schedule-day-leave-list{background:var(--amber-soft);color:#92400e;border:1px solid #fde68a;border-radius:9px;flex-direction:column;gap:3px;padding:9px 12px;font-size:12px;display:flex}.schedule-day-leave-list strong{font-size:11px}.settings-tabs{border-bottom:1px solid var(--line);background:#fcfdff;padding:12px 18px}.settings-body{padding:20px 22px 22px}.settings-panel{flex-direction:column;gap:16px;display:flex}.settings-panel-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.settings-panel-head h2{font-size:15.5px;font-weight:700}.settings-panel-head p{color:var(--muted);margin-top:3px;font-size:12px}.settings-panel .table-wrap{border:1px solid var(--line);border-radius:11px}.shift-name{align-items:center;gap:8px;display:inline-flex}.color-swatch{border-radius:3px;flex-shrink:0;width:11px;height:11px}.color-input{align-items:center;gap:9px;display:flex}.color-input input[type=color]{border:1px solid var(--line-strong);cursor:pointer;background:#fff;border-radius:8px;width:42px;height:38px;padding:3px}.color-input .input{width:130px;font-size:12.5px}.self-tag{background:var(--primary-soft);color:var(--primary);font-family:var(--font);border-radius:4px;margin-left:6px;padding:1px 5px;font-size:9.5px;font-weight:600}.role-hint{background:var(--surface-2);color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:9px 11px;font-size:12px;display:flex}.path-list{border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:1px;display:flex;overflow:hidden}.path-list>div{background:var(--surface-2);border-bottom:1px solid var(--line);gap:14px;padding:9px 12px;font-size:11.5px;display:flex}.path-list>div:last-child{border-bottom:0}.path-list span{width:76px;color:var(--muted);flex-shrink:0}.path-list code{color:var(--ink-3);word-break:break-all}.account-grid{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:26px;display:grid}.account-form{max-width:430px}.account-side{border:1px solid var(--line);background:var(--surface-2);text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:24px 20px;display:flex}.account-avatar{color:#1e40af;background:linear-gradient(135deg,#dbeafe,#e0e7ff);border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;margin-bottom:3px;font-size:22px;font-weight:750;display:inline-flex}.account-side strong{font-size:14px}.account-side>span.mono{color:var(--muted);font-size:11.5px}.account-side p{color:var(--muted);margin-top:5px;font-size:11.5px;line-height:1.55}.boot-screen{min-height:100vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:13px;display:flex}.boot-logo{color:#fff;background:linear-gradient(145deg,#3b82f6,#1d4ed8);border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;font-weight:750;display:inline-flex;box-shadow:0 16px 30px -18px #2563ebe6}.permission-text{max-width:240px;color:var(--ink-3);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.permission-block{border-top:1px solid var(--line);flex-direction:column;gap:10px;padding-top:16px;display:flex}.permission-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.permission-head>div:first-child{flex-direction:column;gap:3px;display:flex}.permission-head strong{font-size:13px}.permission-head span{color:var(--muted);font-size:12px}.permission-actions{flex-shrink:0;gap:10px;display:flex}.link-btn{color:var(--primary);background:0 0;border:0;padding:0;font-size:12.5px}.link-btn:hover{text-decoration:underline}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.module-option{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;align-items:flex-start;gap:9px;padding:10px 11px;transition:border-color .15s,background .15s;display:flex}.module-option:hover{border-color:var(--line-strong)}.module-option.checked{background:var(--primary-soft);border-color:#bfdbfe}.module-option input{accent-color:var(--primary);margin-top:3px}.module-option>span{flex-direction:column;gap:2px;min-width:0;display:flex}.module-option strong{font-size:12.5px}.module-option small{color:var(--muted);font-size:11.5px;line-height:1.35}.permission-admin{border-radius:var(--radius-sm);background:var(--purple-soft);color:var(--purple);padding:11px 12px;font-size:12.5px}.audit-filters{border-top:1px solid var(--line);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px 0 16px;display:flex}.audit-filters label{color:var(--muted);flex-direction:column;gap:4px;font-size:12px;display:flex}.audit-filters .input,.audit-filters .select{min-width:128px}.audit-filters .audit-search{flex:220px;min-width:180px}.audit-range{background:var(--surface-2);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding:10px 12px;display:flex}.audit-presets{flex-wrap:wrap;gap:6px;display:flex}.audit-preset{border:1px solid var(--line);background:var(--surface);color:var(--ink-3);cursor:pointer;border-radius:999px;padding:4px 12px;font-size:12.5px;transition:border-color .16s,color .16s,background .16s}.audit-preset:hover{border-color:var(--primary);color:var(--primary)}.audit-preset.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);font-weight:600}.audit-date-field{flex-direction:column;gap:4px;display:flex}.audit-date-label{color:var(--muted);font-size:12px}.audit-date-control{align-items:center;display:flex;position:relative}.audit-date-trigger{border:1px solid var(--line-strong);background:var(--surface);min-width:158px;height:40px;color:var(--ink);text-align:left;cursor:pointer;border-radius:9px;align-items:center;gap:7px;padding:0 30px 0 11px;font-size:13.5px;transition:border-color .16s,box-shadow .16s;display:flex}.audit-date-trigger:hover{border-color:#c3cfe1}.audit-date-trigger:focus-visible{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #2563eb1f}.audit-date-trigger svg{color:var(--muted);flex:none}.audit-date-value.empty{color:var(--muted-2)}.audit-date-clear{width:24px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:16px;line-height:1;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.audit-date-clear:hover{background:var(--surface-3);color:var(--ink)}.audit-date-native{opacity:0;pointer-events:none;border:0;width:1px;height:1px;padding:0;position:absolute;bottom:0;left:0}.audit-date-sep{color:var(--muted);padding-bottom:11px;font-size:12.5px}.audit-filter-actions{gap:8px;display:flex}.audit-pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding-top:12px;font-size:12.5px;display:flex}@media (width<=720px){.module-grid{grid-template-columns:1fr}.permission-head{flex-direction:column}.audit-filters label,.audit-filters .input,.audit-filters .select,.audit-filters .audit-search,.audit-date-field,.audit-date-control,.audit-date-trigger{width:100%;min-width:0}.audit-date-sep{display:none}.audit-filter-actions{width:100%}.audit-filter-actions .btn{flex:1}.audit-pagination{flex-direction:column;align-items:stretch}.audit-pagination .row-actions{justify-content:flex-end}}@media (width<=1240px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid,.dashboard-grid{grid-template-columns:minmax(0,1fr)}.department-grid{grid-template-columns:1fr}.company-year-months{grid-template-columns:repeat(2,minmax(0,1fr))}.page{padding:24px 22px 46px}}@media (width<=980px){.sidebar{box-shadow:var(--shadow-lg);transition:transform .22s;transform:translate(-104%)}.sidebar.open{transform:translate(0)}.sidebar-close{justify-content:center;align-items:center;display:inline-flex}.sidebar-scrim{z-index:55;opacity:0;pointer-events:none;background:#0f172a73;transition:opacity .2s;display:block;position:fixed;inset:0}.sidebar-scrim.show{opacity:1;pointer-events:auto}.main{margin-left:0}.mobile-bar{z-index:45;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffeb;justify-content:space-between;align-items:center;gap:12px;height:54px;padding:0 14px;display:flex;position:sticky;top:0}.mobile-brand{align-items:center;gap:8px;font-size:13.5px;font-weight:650;display:flex}.page{padding:18px 16px 40px}.report-grid{grid-template-columns:minmax(0,1fr)}.summary-strip,.summary-strip.four{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-strip>div:nth-child(2n){border-right:0}.summary-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.summary-strip>div:nth-child(3),.summary-strip.four>div:nth-child(3){border-right:1px solid var(--line)}.schedule-block-grid{grid-template-columns:1fr}.company-rule-week{grid-template-columns:repeat(4,minmax(0,1fr))}.account-grid{grid-template-columns:1fr}.account-side{order:-1}}@media (width<=720px){.page-head{flex-direction:column;align-items:flex-start;gap:12px}.page-title{font-size:22px}.company-rule-week{grid-template-columns:repeat(2,minmax(0,1fr))}.company-year-months,.department-info-grid,.override-detail-list{grid-template-columns:1fr}.org-board-head{flex-direction:column;align-items:flex-start;gap:10px;padding:15px 15px 12px}.org-drag-banner{margin:10px 15px 0}.org-canvas{--org-pad-x:14px;--org-pad-y:26px;min-height:300px;padding:var(--org-pad-y) var(--org-pad-x) 36px}.org-view-controls{padding:4px;top:10px;right:10px}.org-view-controls-left{left:10px;right:auto}.org-view-btn{min-width:28px;height:28px}.org-view-fit span{display:none}.org-view-scale{min-width:36px}.org-export-control{flex:1}.org-export-control>.btn{width:100%}.org-export-menu{width:min(252px,100vw - 36px);left:0;right:auto}.org-child{padding:26px 4px 0}.org-card{width:176px}.org-group-node{width:146px}.org-company-text strong{font-size:13px}.page-actions{width:100%}.page-actions .btn{flex:1}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.contact-row{grid-template-columns:1fr}.card-head{flex-direction:column;gap:10px;padding:15px 15px 11px}.card-action,.card-action .toolbar,.card-action .date-range,.card-action .search-box{width:100%}.card-body{padding:6px 15px 15px}.filter-bar{padding:10px 15px}.dispatch-context{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-toolbar{flex-direction:column;align-items:stretch}.week-nav{justify-content:space-between}.week-label{flex:1;min-width:0}.settings-body{padding:15px}.settings-panel-head{flex-direction:column}.settings-panel-head .btn{width:100%}.modal-overlay{padding:9px}.modal{max-height:calc(100vh - 18px)}.modal-head{padding:16px 16px 12px}.modal-body{padding:15px 16px}.modal-foot{flex-wrap:wrap;padding:12px 16px 14px}.modal-foot .btn{flex:1}.modal-foot .btn-ghost{margin-right:0}.toasts{align-items:stretch;top:12px;left:12px;right:12px}.toast{width:100%;min-width:0;max-width:none}}@media (width<=520px){.stat-grid,.summary-strip,.summary-strip.four{grid-template-columns:1fr}.summary-strip>div{border-right:0;border-bottom:1px solid var(--line)}.summary-strip>div:last-child{border-bottom:0}.page-actions{flex-wrap:wrap}.search-box{width:100%}.progress-ring{width:80px;height:80px}.login-page{align-items:flex-start;padding:40px 16px}.login-wordmark h1{letter-spacing:.08em;text-indent:.08em;font-size:22px}.login-wordmark{margin-bottom:24px}.login-card{border-radius:16px;padding:26px 20px 24px}.login-submit{height:46px}}.batch-modal{flex-direction:column;gap:16px;display:flex}.batch-intro{color:#1e40af;background:#eff6ff;border:1px solid #dbeafe;border-radius:10px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:12.5px;line-height:1.6;display:flex}.batch-intro svg{flex-shrink:0;margin-top:1px}.batch-date-range{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.batch-date-range .input,.batch-date-range .date-input-wrap{flex:1;min-width:130px}.batch-date-range>span{color:var(--muted);font-size:12.5px}.batch-section{border-top:1px solid var(--line);padding-top:14px}.batch-section-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.batch-section-head h3{font-size:14px;font-weight:700}.batch-section-head p{color:var(--muted);margin-top:2px;font-size:11.5px;line-height:1.5}.batch-picker-tools{margin-bottom:9px}.batch-picker{max-height:280px}.batch-group+.batch-group{margin-top:10px}.batch-group-head{justify-content:space-between;align-items:center;gap:8px;margin:0 3px 5px;display:flex}.batch-group-head .position-group-title{margin:0}.batch-person{padding:5px 8px}.batch-person-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12.5px;font-weight:600;overflow:hidden}.batch-person-meta{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin-left:auto;font-size:11px;overflow:hidden}.batch-dept-tools{gap:12px;margin-bottom:9px;display:flex}.batch-dept-grid{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;max-height:270px;padding:10px;display:grid;overflow-y:auto}.batch-dept-card{background:var(--surface);cursor:pointer;border:1px solid #0000;border-radius:9px;align-items:flex-start;gap:8px;padding:9px 10px;transition:border-color .15s,background .15s;display:flex}.batch-dept-card input{width:15px;height:15px;accent-color:var(--primary);flex-shrink:0;margin-top:2px}.batch-dept-card.selected{background:var(--primary-soft);border-color:#bfdbfe}.batch-dept-card.is-disabled{opacity:.55;cursor:not-allowed}.batch-dept-main{flex-direction:column;gap:2px;min-width:0;display:flex}.batch-dept-main strong{font-size:12.5px}.batch-dept-main span{color:var(--muted);font-size:11px}.batch-dept-main em{color:#b45309;font-size:10.5px;font-style:normal}.batch-preview{border-top:1px solid var(--line);flex-direction:column;gap:12px;padding-top:14px;display:flex}.batch-summary{box-shadow:none}.batch-summary>div{padding:11px 14px}.batch-summary strong{font-size:18px}.batch-warnings{background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;padding:10px 12px}.batch-warning-title{color:#92400e;align-items:center;gap:6px;margin-bottom:4px;font-size:12px;font-weight:700;display:flex}.batch-force{color:#92400e;font-size:12.5px}.batch-preview-scroll{border:1px solid var(--line);border-radius:10px;max-height:300px;overflow:auto}.batch-preview-scroll .table{min-width:720px}.batch-reason{max-width:240px;color:var(--muted);font-size:11px}.batch-truncated{color:var(--muted);font-size:11px}@media (width<=720px){.batch-date-range .input,.batch-date-range .date-input-wrap{min-width:calc(50% - 30px)}.batch-dept-grid{grid-template-columns:1fr;max-height:240px}.batch-picker{max-height:240px}.batch-preview-scroll .table{min-width:640px}}.brand-copy{min-width:0}.subsystem-switch{color:#cbd5e1;cursor:pointer;background:#94a3b814;border:1px solid #94a3b838;border-radius:9px;align-items:center;gap:8px;width:100%;margin:0 0 12px;padding:9px 12px;font-size:12.5px;display:flex}.subsystem-switch:hover{color:#fff;background:#94a3b829}.portal-page{background:radial-gradient(900px 420px at 15% -10%, #2563eb1f, transparent 60%), var(--surface-2);flex-direction:column;min-height:100vh;display:flex}.portal-head{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:16px;padding:16px 28px;display:flex}.portal-brand{align-items:center;gap:11px;display:flex}.portal-brand strong{color:var(--ink);font-size:15px;display:block}.portal-brand span:last-child{color:var(--muted);font-size:11px;display:block}.portal-user{color:var(--muted);align-items:center;gap:9px;font-size:13px;display:flex}.portal-user strong{color:var(--ink);font-weight:600}.portal-main{flex:1;width:min(1000px,100%);margin:0 auto;padding:48px 24px 72px}.portal-intro h1{letter-spacing:-.02em;margin:8px 0;font-size:28px}.portal-intro p{color:var(--muted);margin:0;font-size:13.5px}.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:30px;display:grid}.portal-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm);color:inherit;border-radius:16px;align-items:flex-start;gap:16px;padding:22px;text-decoration:none;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex}.portal-card:hover{box-shadow:var(--shadow-md);border-color:#bfd3f6;transform:translateY(-2px)}.portal-card-icon{color:#fff;background:linear-gradient(145deg,#3b82f6,#1d4ed8);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;display:inline-flex;box-shadow:0 12px 26px -16px #2563ebe6}.portal-card-copy{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.portal-card-copy strong{color:var(--ink);font-size:18px}.portal-card-copy>span{color:var(--muted);font-size:12.5px;line-height:1.5}.portal-card-tags{color:#94a3b8;font-size:11px;line-height:1.5}.portal-card-arrow{color:#94a3b8;flex-shrink:0;margin-top:5px}.hr-dept-bars{flex-direction:column;gap:10px;display:flex}.hr-dept-bar{grid-template-columns:150px minmax(0,1fr) 56px;align-items:center;gap:12px;font-size:12.5px;display:grid}.hr-dept-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hr-dept-track{background:var(--surface-2);border-radius:99px;height:8px;overflow:hidden}.hr-dept-fill{background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:99px;height:100%;display:block}.hr-dept-bar strong{text-align:right;color:var(--ink)}@media (width<=720px){.portal-head{padding:12px 16px}.portal-main{padding:32px 16px 56px}.portal-grid{grid-template-columns:1fr}.hr-dept-bar{grid-template-columns:110px minmax(0,1fr) 48px}}.personal-day.is-leave{background:#f5f3ff;border-color:#ddd6fe}.personal-day.is-leave .personal-day-status{color:#6d28d9}.personal-calendar-legend i.is-leave{background:#f5f3ff;border-color:#ddd6fe}.dept-default-shift .dept-schedule-link{flex-shrink:0;margin-left:auto}.attendance-clock-page{background:radial-gradient(700px 360px at 10% -10%, #2563eb24, transparent 60%), var(--surface-2);min-height:100vh;color:var(--ink);padding:22px 16px 32px}.attendance-clock-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;width:min(480px,100%);margin:0 auto 16px;display:flex}.attendance-clock-eyebrow{color:var(--primary);letter-spacing:.16em;font-size:11px;font-weight:700}.attendance-clock-head h1{margin:4px 0 2px;font-size:24px}.attendance-clock-head p{color:var(--muted);margin:0;font-size:12.5px}.attendance-clock-location{border:1px solid var(--line);background:var(--surface);max-width:230px;color:var(--ink);text-align:left;cursor:pointer;border-radius:11px;align-items:center;gap:8px;margin-left:auto;padding:7px 10px;display:inline-flex}.attendance-clock-location>svg:first-child{color:var(--primary);flex:none}.attendance-clock-location>svg:last-child{color:var(--muted-2);flex:none}.attendance-clock-location span{flex-direction:column;gap:2px;min-width:0;display:flex}.attendance-clock-location strong{font-variant-numeric:tabular-nums;word-break:break-all;font-size:12px;line-height:1.3}.attendance-clock-location em{color:var(--muted);font-size:10px;font-style:normal;line-height:1.3}.attendance-location-badge{border:1px solid var(--line);background:var(--surface);color:var(--muted);white-space:nowrap;border-radius:99px;align-items:center;gap:5px;padding:5px 9px;font-size:10.5px;display:inline-flex}.attendance-location-badge.is-wechat{color:var(--green);background:#ecfdf5;border-color:#a7f3d0}.attendance-location-badge.is-browser{color:var(--primary);background:#eff6ff;border-color:#bfdbfe}.attendance-location-badge.is-locating{background:var(--amber-soft);color:var(--amber);border-color:#fde68a}.attendance-clock-card{border:1px solid var(--line);background:var(--surface);width:min(480px,100%);box-shadow:var(--shadow-md);border-radius:18px;margin:0 auto;padding:22px}.attendance-clock-date{color:var(--muted);font-size:13px}.attendance-clock-shift{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;grid-template-columns:1.15fr 1fr 1fr auto;align-items:center;gap:10px;margin:10px 0 4px;padding:10px 12px;display:grid}.attendance-clock-shift>div{flex-direction:column;gap:2px;min-width:0;display:flex}.attendance-clock-shift span{color:var(--muted);white-space:nowrap;font-size:10.5px}.attendance-clock-shift strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}@media (width<=420px){.attendance-clock-shift{grid-template-columns:1fr 1fr}.attendance-clock-shift>div:first-child{grid-column:span 2}.attendance-clock-shift>.attendance-status-chip{justify-self:start}}.attendance-status-chip{white-space:nowrap;border-radius:99px;justify-content:center;align-items:center;min-width:46px;padding:4px 8px;font-size:11px;font-style:normal;font-weight:700;display:inline-flex}.attendance-status-chip.is-in{color:#2563eb;background:#eff6ff}.attendance-status-chip.is-out{color:var(--green);background:#ecfdf5}.attendance-status-chip.is-late{color:#c2410c;background:#fff7ed}.attendance-status-chip.is-early{color:#b45309;background:#fef3c7}.attendance-status-chip.is-absent{color:#b91c1c;background:#fef2f2}.attendance-status-chip.is-punch,.attendance-status-chip.is-rest{background:var(--surface-3);color:var(--muted)}.attendance-status-chip.is-leave{color:#7c3aed;background:#f5f3ff}.attendance-clock-time{font-variant-numeric:tabular-nums;letter-spacing:-.03em;margin:4px 0 16px;font-size:46px;font-weight:700;line-height:1.1}.attendance-clock-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.attendance-clock-actions .btn{border-radius:13px;height:52px;font-size:16px}.attendance-clock-success{color:var(--green);background:#ecfdf5;border:1px solid #a7f3d0;border-radius:9px;align-items:center;gap:7px;margin:0 0 12px;padding:9px 11px;font-size:12.5px;display:flex}.attendance-clock-hint{color:var(--muted);align-items:center;gap:6px;margin-top:14px;font-size:11px;line-height:1.5;display:flex}.attendance-clock-records{border:1px solid var(--line);background:var(--surface);border-radius:16px;width:min(480px,100%);margin:18px auto 0;padding:16px}.attendance-clock-records-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.attendance-clock-records-head h2{margin:0;font-size:15px}.attendance-clock-records-head span{color:var(--muted);font-size:11px}.attendance-clock-records-head .text-btn{align-items:center;gap:4px;display:inline-flex}.attendance-clock-empty{color:var(--muted);justify-content:center;align-items:center;gap:7px;padding:28px 0 18px;font-size:12.5px;display:flex}.attendance-clock-list{flex-direction:column;gap:8px;margin-top:12px;display:flex}.attendance-clock-record{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;grid-template-columns:64px 64px 1fr;align-items:center;gap:8px;padding:9px 10px;font-size:12px;display:grid}.attendance-clock-record.is-missing{background:#fff7f7;border-color:#fecaca}.attendance-clock-record strong{font-variant-numeric:tabular-nums}.attendance-clock-record em{color:var(--muted);font-size:10.5px;font-style:normal}.attendance-clock-footer{width:min(480px,100%);color:var(--muted-2);flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:18px auto 0;font-size:10.5px;display:flex}.attendance-clock-footer .text-btn{color:var(--muted);font-size:10.5px}.attendance-clock-loading{color:var(--muted);text-align:center;padding:40vh 16px 0}.attendance-clock-notice{border:1px solid var(--line);background:var(--surface);text-align:center;width:min(440px,100%);box-shadow:var(--shadow-md);border-radius:18px;margin:12vh auto 0;padding:28px 22px}.attendance-clock-notice-icon{background:var(--amber-soft);width:62px;height:62px;color:var(--amber);border-radius:18px;justify-content:center;align-items:center;display:inline-flex}.attendance-clock-notice h1{margin:14px 0 8px;font-size:20px}.attendance-clock-notice p{color:var(--muted);margin:0 0 16px;font-size:13px;line-height:1.7}.attendance-unbound-id{border:1px solid var(--line);background:var(--surface-2);color:var(--ink);word-break:break-all;border-radius:8px;padding:9px 12px;font-size:14px;display:block}.attendance-time{font-variant-numeric:tabular-nums}.attendance-location{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.hr-settings-links{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.hr-settings-links>div{align-items:center;gap:8px;min-width:0;display:flex}.hr-settings-links span{color:var(--muted);flex-shrink:0;align-items:center;gap:5px;font-size:11.5px;display:inline-flex}.hr-settings-links code{overflow-wrap:anywhere;min-width:0;color:var(--ink-2);flex:1;font-size:12px}.hr-settings-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.hr-settings-hint{max-width:560px;color:var(--muted);align-items:center;gap:6px;margin-right:auto;font-size:11.5px;line-height:1.5;display:flex}.hr-settings-steps{color:var(--ink-2);flex-direction:column;gap:8px;margin:0;padding-left:20px;font-size:13px;line-height:1.7;display:flex}.hr-settings-steps code{overflow-wrap:anywhere}
