:root{color:#1a2531;--brand-ink:#162231;--brand-muted:#657487;--brand-violet:#5568a8;--brand-cyan:#1d9fb1;--brand-green:#1fa875;--brand-gold:#b56d18;--surface:#fffffff0;--surface-strong:#fff;--line:#1f2d3d1f;--shadow-soft:0 14px 34px #2030421a;--shadow-lift:0 20px 44px #20304229;--ease-out:cubic-bezier(.16, 1, .3, 1);--spring:cubic-bezier(.34, 1.56, .64, 1);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(90deg,#1f2d3d0a 1px,#0000 1px) 0 0/28px 28px,linear-gradient(#1f2d3d09 1px,#0000 1px) 0 0/28px 28px,linear-gradient(#f8fafc 0%,#eef3f8 100%);font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.5}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button,a,input,select{-webkit-tap-highlight-color:transparent}code{font-family:Cascadia Code,Consolas,monospace;font-size:.95em}#root{min-height:100vh}.app-shell{width:min(1200px,100vw - 32px);margin:0 auto;padding:32px 0 48px}.auth-shell{justify-content:center;align-items:center;display:flex}.login-layout{grid-template-columns:minmax(0,1.2fr) minmax(340px,420px);align-items:center;gap:28px;width:100%;min-height:calc(100vh - 80px);display:grid}.hero-card,.login-card,.status-card,.toolbar,.photo-card{border:1px solid var(--line);box-shadow:var(--shadow-soft);background:var(--surface);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.login-intro,.hero-card{border-radius:20px;padding:36px}.hero-card{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px;animation:.42s both rise-in;display:flex}.brand-mark{align-items:center;gap:14px;margin-bottom:24px;display:flex}.brand-mark.compact{margin-bottom:14px}.brand-logo-slot{background:linear-gradient(135deg, #ffffff38, #ffffff0f), linear-gradient(135deg, var(--brand-violet), var(--brand-cyan));border:1px solid #ffffff61;border-radius:14px;place-items:center;width:58px;height:58px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff42,0 16px 36px #444e9b38}.brand-logo-slot:before{content:"";border:2px solid #ffffffe6;border-color:#0000 #ffffffe6 #ffffffe6 #0000;width:26px;height:26px;transform:rotate(-45deg)}.brand-logo-slot span{color:#ffffffd1;letter-spacing:.04em;font-size:9px;font-weight:800;position:absolute;bottom:5px}.brand-name{color:var(--brand-ink);font-size:1.22rem;font-weight:900}.brand-subtitle{color:var(--brand-muted);margin-top:2px;font-size:.9rem;font-weight:700}.eyebrow{letter-spacing:.16em;text-transform:uppercase;color:#8b5e1a;margin:0 0 10px;font-size:12px;font-weight:700}h1,h2,h3,h4{color:#13202f;margin:0;line-height:1.1}h1{max-width:9ch;font-size:clamp(2.4rem,6vw,4.4rem)}h4{font-size:1rem}.login-title{white-space:nowrap;word-break:keep-all;max-width:none;font-size:clamp(2.2rem,5vw,4rem)}.hero-copy{color:#566372;max-width:640px;margin-top:16px;font-size:1.02rem}.login-card{border-radius:26px;padding:28px}.field{color:#304052;gap:8px;margin-bottom:16px;font-weight:600;display:grid}.field input{background:#f8fafce6;border:1px solid #d5dde6;border-radius:10px;width:100%;padding:14px 16px}.field input:focus,.toolbar-select input:focus,.toolbar-select select:focus{border-color:#d3850f;outline:2px solid #d3850f2e}.primary-button,.ghost-button,.station-button,.modal-close{transition:transform .15s var(--ease-out), box-shadow .15s var(--ease-out), background .15s var(--ease-out), border-color .15s var(--ease-out);border:none;border-radius:999px}.primary-button{color:#fff;background:linear-gradient(135deg,#cf7b18,#f0b233);width:100%;padding:14px 18px;font-weight:700;box-shadow:0 12px 22px #cf7b1847}.ghost-button,.station-button,.modal-close{color:#223042;background:#edf2f7;padding:11px 18px;font-weight:600}.primary-button:hover,.ghost-button:hover,.station-button:hover,.modal-close:hover{transform:translateY(-1px)}.primary-button:active,.ghost-button:active,.station-button:active,.modal-close:active,.module-card:active,.photo-thumb-button:active{transform:translateY(0)scale(.985)}.primary-button:focus-visible,.ghost-button:focus-visible,.station-button:focus-visible,.modal-close:focus-visible,.photo-thumb-button:focus-visible,.file-drop-zone:focus-within,.permission-chip:focus-within,.matrix-check:focus-within{outline-offset:3px;outline:3px solid #b56d183d}.primary-button:disabled,.ghost-button:disabled{opacity:.65;cursor:not-allowed}.form-error,.error-card{color:#9a2c2c;background:#ffe4e4e0}.success-card{color:#1c6b37;background:#e6ffeceb;margin-bottom:20px}.form-error{border-radius:14px;margin-bottom:16px;padding:12px 14px}.status-card{text-align:center;color:#445160;animation:rise-in .28s var(--ease-out) both;border-radius:14px;padding:22px 24px}.user-panel{background:linear-gradient(#fff8e4eb,#f2f7fceb);border-radius:24px;justify-items:start;gap:8px;min-width:260px;padding:20px;display:grid}.user-avatar{color:#fff;background:#13202f;border-radius:18px;place-items:center;width:56px;height:56px;font-size:1.8rem;display:grid}.user-meta{color:#667585;font-size:.95rem}.user-actions{flex-wrap:wrap;gap:10px;display:flex}.toolbar{border-radius:16px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:18px 20px;display:flex}.toolbar-group{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.compact-upload-actions{align-self:flex-end}.compact-upload-button{min-height:36px;padding:8px 12px;font-size:.9rem}.station-group{flex-wrap:wrap;gap:10px;display:flex}.toolbar-select{color:#516071;gap:8px;font-size:.94rem;display:grid}.toolbar-select span:first-child{font-weight:600}.toolbar-select input,.toolbar-select select{background:#ffffffeb;border:1px solid #d5dde6;border-radius:10px;min-width:130px;padding:10px 14px}.toolbar-select select:disabled,.toolbar-select input:disabled{opacity:.6;cursor:not-allowed}.toolbar-check{color:#516071;align-items:center;gap:10px;padding-bottom:10px;font-size:.94rem;font-weight:600;display:flex}.toolbar-check input{width:16px;height:16px}.toolbar-input-suffix{align-items:center;gap:8px;display:flex}.toolbar-reserved{gap:6px;display:grid}.toolbar-help{color:#7b8897;margin:0;font-size:.8rem}.station-button.active{color:#fff;background:#13202f;box-shadow:0 12px 24px #13202f2e}.photo-summary{color:#59687a;margin-bottom:14px;font-size:.95rem}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.photo-card{animation:rise-in .32s var(--ease-out) both;transition:transform .18s var(--ease-out), box-shadow .18s var(--ease-out), border-color .18s var(--ease-out);border-radius:14px;padding:12px;overflow:hidden}.photo-card:hover{box-shadow:var(--shadow-lift);border-color:#1f2d3d2e;transform:translateY(-3px)}.photo-thumb-button{background:#111827;border:0;border-radius:10px;width:100%;padding:0;display:block;overflow:hidden}.photo-thumb{aspect-ratio:4/3;object-fit:cover;width:100%;transition:transform .35s var(--ease-out), filter .35s var(--ease-out);border-radius:10px;display:block}.photo-card-skeleton{pointer-events:none}.photo-thumb-skeleton,.skeleton-line{animation:skeleton-shimmer 1.2s var(--ease-out) infinite;background:linear-gradient(90deg,#e6edf4 0%,#f7fafc 48%,#e6edf4 100%) 0 0/220% 100%;border-radius:10px;overflow:hidden}.photo-thumb-skeleton{aspect-ratio:4/3}.skeleton-line{width:58%;height:12px;margin-top:12px}.skeleton-line.wide{width:82%}.photo-meta,.photo-folder{color:#6a7685;justify-content:space-between;gap:12px;font-size:.82rem;display:flex}.photo-meta{margin-top:12px}.photo-name{color:#13202f;text-overflow:ellipsis;white-space:nowrap;margin:10px 0 6px;font-weight:700;overflow:hidden}.photo-folder{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.modal-backdrop{z-index:50;animation:fade-in .18s var(--ease-out) both;background:#0b131dbd;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-card{background:#fffffff5;border-radius:16px;width:min(1000px,100%);max-height:min(92vh,100%);padding:18px;overflow:auto;box-shadow:0 24px 60px #00000047}.modal-card-enter{animation:modal-pop .24s var(--spring) both}.side-modal{width:min(560px,100%)}.profile-modal{width:min(720px,100%)}.profile-modal .certificate-row{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-modal .certificate-row .danger-button{grid-column:1/-1;justify-self:start}.wide-modal{width:min(1200px,100vw - 24px)}.modal-header,.panel-header,.employee-group-header,.permission-section-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.modal-header{margin-bottom:16px}.dashboard-app-shell,.office-page-shell{width:min(1280px,100vw - 32px)}.dashboard-shell{gap:22px;display:grid}.dashboard-hero{color:#fff;background:linear-gradient(135deg,#26344a 0%,#4f638c 54%,#168c9c 100%);border-radius:20px;justify-content:space-between;align-items:flex-start;gap:24px;padding:36px;animation:.42s both rise-in;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 60px #4b3da638}.dashboard-hero:after{content:"";border:1px solid #ffffff3d;border-radius:999px;width:220px;height:220px;animation:18s linear infinite slow-spin;position:absolute;bottom:-96px;right:-82px}.dashboard-hero h1,.dashboard-hero .hero-copy,.dashboard-hero .eyebrow,.dashboard-hero .brand-name,.dashboard-hero .brand-subtitle{color:#fff}.dashboard-hero .user-panel{z-index:1;color:#182028;background:#fffffff0;position:relative}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.module-card{text-align:left;border:1px solid var(--line);background:var(--surface-strong);min-height:150px;transition:transform .18s var(--ease-out), box-shadow .18s var(--ease-out), border-color .18s var(--ease-out);border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px;animation:.4s both rise-in;display:grid;box-shadow:0 18px 42px #1e38511a}.module-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-4px)}.module-card-blue{border-top:4px solid #3778ff}.module-card-green{border-top:4px solid #22a06b}.module-card-orange{border-top:4px solid #e58f1a}.module-card-teal{border-top:4px solid #129a9a}.module-card-purple{border-top:4px solid #7c3aed}.module-title{color:#13202f;font-size:1.28rem;font-weight:800;display:block}.module-description{color:#657386;margin-top:8px;font-weight:600;display:block}.material-symbols-outlined{letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;font-feature-settings:"liga";-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;direction:ltr;font-family:Material Symbols Outlined;font-size:24px;font-style:normal;font-weight:400;line-height:1;display:inline-block}.module-icon{color:#243247;font-variation-settings:"FILL" 0, "wght" 500, "GRAD" 0, "opsz" 32;background:#f2f6fb;border-radius:16px;flex:none;place-items:center;width:54px;height:54px;font-size:30px;display:inline-grid}.module-arrow{background:#eef3f8;border-radius:999px;width:32px;height:32px;position:relative}.module-arrow:before{content:"";border-top:2px solid #243247;border-right:2px solid #243247;width:9px;height:9px;position:absolute;top:11px;left:10px;transform:rotate(45deg)}.icon-button-text{align-items:center;gap:8px;display:inline-flex}.button-icon{color:currentColor;font-variation-settings:"FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;flex:none;width:18px;height:18px;font-size:19px}.office-page{gap:18px;animation:.34s both rise-in;display:grid}.office-page-header,.office-toolbar,.office-panel,.office-table,.discussion-panel,.structure-group{background:#ffffffeb;border:1px solid #1820281a;border-radius:14px;box-shadow:0 18px 42px #1e38511a}.office-page-header,.office-toolbar{justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.office-page-header h2{margin-bottom:0}.office-search-bar{background:#ffffffeb;border:1px solid #1820281a;border-radius:14px;grid-template-columns:minmax(180px,260px) minmax(220px,1fr);align-items:end;gap:14px;padding:18px;display:grid;box-shadow:0 18px 42px #1e38511a}.office-search-title-field{min-width:0}.primary-action-button{background:linear-gradient(135deg, var(--brand-green), #27c58b);color:#fff;border:none;border-radius:999px;padding:11px 18px;font-weight:700;transition:transform .15s,box-shadow .15s;box-shadow:0 12px 24px #1fa87538}.primary-action-button:hover{transform:translateY(-1px);box-shadow:0 16px 30px #1fa87547}.office-table,.office-panel,.discussion-panel{padding:18px}.office-panel{background:linear-gradient(#fffffff5,#f8fbfdf0);border-radius:14px}.uploader-hero{background:#ffffffeb;border:1px solid #1820281a;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;padding:24px;display:flex;box-shadow:0 18px 42px #1e38511a}.uploader-hero h3,.uploader-guide h3,.uploader-commands h3{color:#13202f;margin:0 0 8px}.uploader-hero .primary-action-button{flex:none;text-decoration:none}.uploader-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:18px;display:grid}.setup-steps{gap:14px;margin:18px 0 0;padding:0;list-style:none;display:grid}.setup-steps li{border-top:1px solid #7180962e;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;padding:14px 0;display:grid}.step-index{color:#13734f;background:#e8f5ef;border-radius:999px;place-items:center;width:30px;height:30px;font-weight:800;display:inline-grid}.setup-steps strong{color:#13202f;font-weight:800;display:block}.setup-steps p{color:#647286;margin:5px 0 0}.uploader-commands{align-content:start}.command-block{gap:7px;margin-top:12px;display:grid}.command-block span{color:#526275;font-weight:800}.command-block code{white-space:pre-wrap;word-break:break-word;color:#1d2b3a;background:#f7f9fc;border:1px solid #dde6ef;border-radius:10px;max-width:100%;padding:12px;line-height:1.55;display:block;overflow-x:auto}.office-table-row{grid-template-columns:2fr 1fr 1.2fr 1fr .8fr .8fr;align-items:center;gap:12px;padding:12px 14px;display:grid}.ledger-upload-grid,.ledger-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.ledger-upload-grid.single-column{grid-template-columns:minmax(0,1fr)}.upload-form{gap:16px;display:grid}.upload-form h3,.upload-list h3{color:#13202f;margin:0 0 6px}.file-input-label{color:#516071;gap:8px;font-weight:700;display:grid}.file-input-label input{background:#ffffffeb;border:1px solid #d5dde6;border-radius:12px;width:100%;padding:10px}.file-drop-zone{color:#526275;text-align:center;cursor:pointer;min-height:150px;transition:border-color .15s var(--ease-out), background .15s var(--ease-out), transform .15s var(--ease-out);background:#f7fafc;border:2px dashed #b9c7d6;border-radius:12px;justify-items:center;gap:8px;padding:24px;display:grid;position:relative}.office-panel .stack-form{gap:16px}.office-panel .stack-form h3{color:#13202f;margin:0}.file-drop-zone.active,.file-drop-zone:hover{border-color:var(--brand-green);background:#edf8f3;transform:translateY(-1px)}.file-drop-zone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.file-drop-zone input:disabled{cursor:not-allowed}.file-drop-icon{color:var(--brand-green);font-size:34px}.file-drop-title{color:#13202f;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:800;overflow:hidden}.file-drop-meta{color:#6b7788;font-size:.92rem}.upload-progress{color:#526275;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;font-weight:800;display:grid}.upload-progress-track{background:#e3eaf1;border-radius:999px;height:9px;overflow:hidden}.upload-progress-track span{border-radius:inherit;background:linear-gradient(90deg, var(--brand-green), #2bbf8a);height:100%;transition:width .18s;display:block}.upload-list{overflow:hidden}.file-count-badge{color:#13734f;white-space:nowrap;background:#e8f5efe0;border:1px solid #1fa8752e;border-radius:999px;align-items:center;min-height:34px;padding:0 12px;font-size:.86rem;font-weight:800;display:inline-flex}.file-card-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;display:grid}.file-card{transition:transform .16s var(--ease-out), box-shadow .16s var(--ease-out), border-color .16s var(--ease-out);background:#fffffff0;border:1px solid #d5dde6f2;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;padding:16px;display:grid;box-shadow:0 10px 24px #1e38510f}.file-card:hover{border-color:#1fa87552;transform:translateY(-2px);box-shadow:0 18px 36px #1e38511f}.file-card-icon{color:#168052;background:linear-gradient(135deg,#e8f5ef,#eef6ff);border-radius:14px;place-items:center;width:46px;height:46px;display:grid}.file-card-icon .material-symbols-outlined{font-size:24px}.file-card-body{gap:8px;min-width:0;display:grid}.file-card-title{color:#13202f;text-overflow:ellipsis;white-space:nowrap;font-weight:800;line-height:1.35;overflow:hidden}.file-card-meta{flex-wrap:wrap;gap:8px;display:flex}.file-card-meta span{color:#526275;background:#eff4f9;border-radius:999px;padding:4px 9px;font-size:.8rem;font-weight:700}.file-card-sub{color:#718096;font-size:.86rem}.file-card-actions{flex-wrap:wrap;grid-column:1/-1;gap:10px;padding-top:2px;display:flex}.upload-list-header{margin-bottom:10px}.upload-table-row{border-top:1px solid #7180962e;grid-template-columns:minmax(0,1.8fr) minmax(90px,.7fr) minmax(80px,.7fr) minmax(140px,1fr) minmax(80px,.7fr) auto auto;align-items:center;gap:10px;padding:12px 10px;display:grid}.upload-table-head{color:#526275;border-top:none;font-weight:800}.upload-file-name{text-overflow:ellipsis;white-space:nowrap;color:#13202f;font-weight:700;overflow:hidden}.compact-button{text-align:center;padding:8px 12px;text-decoration:none}.office-table-head{color:#526275;border-bottom:1px solid #7180962e;font-weight:800}.tab-group{flex-wrap:wrap;gap:10px;display:flex}.structure-groups{gap:14px;display:grid}.structure-group-header{color:#13202f;background:#f5f7fa;border:none;justify-content:space-between;gap:16px;width:100%;padding:16px 18px;font-weight:800;display:flex}.structure-members{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;padding:16px;display:grid}.structure-card{background:#fff;border:1px solid #dde6ef;border-radius:14px;gap:6px;padding:14px;transition:transform .15s,box-shadow .15s;display:grid}.structure-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px #1e38511f}.phone-link{color:#168052;font-weight:800;text-decoration:none}.admin-page-shell{width:min(1280px,100vw - 32px)}.admin-page{gap:20px;display:grid}.admin-page-header{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffe0;border:1px solid #1820281a;border-radius:18px;justify-content:space-between;align-items:flex-start;gap:16px;padding:28px;animation:.34s both rise-in;display:flex;box-shadow:0 22px 55px #1e38511f}.admin-page-header h2{margin-bottom:0}.stack-form{gap:14px;display:grid}.admin-layout{grid-template-columns:minmax(320px,440px) minmax(0,1fr);gap:18px;min-height:0;display:grid}.admin-panel{background:#f8fafce6;border:1px solid #1820281a;border-radius:14px;min-height:0;padding:18px}.employee-modal{grid-template-rows:auto minmax(0,1fr);display:grid}.admin-form-panel,.admin-list-panel{overflow:auto}.employee-filter-bar{grid-template-columns:minmax(0,1fr) minmax(120px,.55fr);gap:10px;margin-bottom:14px;display:grid}.employee-filter-bar select{color:#13202f;min-height:42px;font:inherit;background:#fff;border:1px solid #d8e1ea;border-radius:10px;padding:0 12px;font-weight:700}.employee-editor-form{gap:16px}.admin-form-section{background:#ffffffbd;border:1px solid #d5dde6e6;border-radius:12px;gap:14px;padding:16px;display:grid}.admin-form-section h4{color:#13202f;margin:0;font-size:.95rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-grid .wide-field{grid-column:1/-1}.certificate-list{gap:10px;display:grid}.certificate-row{grid-template-columns:minmax(120px,1fr) minmax(110px,.9fr) 132px minmax(120px,1fr) auto;align-items:end;gap:8px;display:grid}.certificate-row .danger-button{white-space:nowrap;min-height:42px}.panel-muted{color:#718096;font-size:.92rem}.department-list{gap:10px;display:grid}.department-row{color:#13202f;background:#ffffffeb;border:1px solid #d5dde6e6;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;font-weight:800;display:flex}.department-delete-modal{width:min(460px,100vw - 32px)}.department-usage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0;display:grid}.department-usage-grid>div{border:1px solid var(--line);color:#475569;background:#f8fafc;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding:8px 10px;display:flex}.department-usage-grid strong{color:#13202f}.department-delete-submit{width:100%}@media (width<=520px){.department-usage-grid{grid-template-columns:1fr}}.field-hint{color:#718096;margin:6px 0 0;font-size:.86rem;font-weight:500}.permission-sections{gap:14px;display:grid}.permission-section{background:#ffffffe6;border:1px solid #d5dde6e6;border-radius:12px;padding:14px}.permission-section-head{align-items:flex-start;margin-bottom:12px}.permission-title{color:#13202f;font-weight:700}.permission-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.permission-matrix{background:#fff;border:1px solid #dde6ef;border-radius:16px;display:grid;overflow:auto;box-shadow:inset 0 1px #ffffffb8}.permission-matrix-head,.permission-matrix-row{grid-template-columns:minmax(96px,1fr) minmax(116px,1.1fr) repeat(4,54px) 68px;align-items:center;gap:8px;min-width:640px;padding:10px 12px;display:grid}.permission-matrix-head{z-index:1;color:#526275;background:#f5f8fb;font-size:.82rem;font-weight:800;position:sticky;top:0}.permission-matrix-row{color:#13202f;transition:background .16s var(--ease-out);border-top:1px solid #71809624;font-size:.9rem;font-weight:700}.permission-matrix-row>span:nth-child(2){color:#667585;font-weight:600}.matrix-check{min-height:30px;transition:background .14s var(--ease-out), transform .14s var(--ease-out);border-radius:9px;place-items:center;display:grid}.matrix-check.disabled{opacity:.32}.matrix-check input{width:17px;height:17px;accent-color:var(--brand-green);cursor:pointer}.matrix-check.disabled input{cursor:not-allowed}.matrix-row-toggle{color:#526275;transition:transform .14s var(--ease-out), border-color .14s var(--ease-out), background .14s var(--ease-out), color .14s var(--ease-out);background:#f5f8fb;border:1px solid #d6e0ea;border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:800}.matrix-row-toggle:hover{color:#13734f;background:#edf8f3;border-color:#1fa8755c;transform:translateY(-1px)}.permission-chip{background:#fff;border:1px solid #d5dde6;border-radius:12px;align-items:flex-start;gap:10px;padding:12px 14px;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}.permission-chip span{gap:3px;display:grid}.permission-chip strong{color:#13202f;font-size:.92rem}.permission-chip small{color:#718096;font-size:.78rem;line-height:1.35}.permission-chip.active{background:#fff4e1f5;border-color:#d3850f85;box-shadow:0 10px 18px #d3850f1f}.employee-groups{gap:16px;display:grid}.employee-group{gap:12px;display:grid}.employee-group-header{border-bottom:1px solid #71809629;align-items:flex-end;padding-bottom:8px}.employee-table{gap:12px;display:grid}.employee-row{background:#fff;border:1px solid #dde6ef;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:14px;transition:transform .15s,box-shadow .15s;display:flex}.employee-row:hover{transform:translateY(-1px);box-shadow:0 14px 30px #1e38511a}.employee-main{color:#13202f;font-weight:700}.employee-sub{color:#718096;margin-top:4px;font-size:.92rem}.employee-tags{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.employee-tag{color:#526275;background:#eff4f9;border-radius:999px;padding:4px 10px;font-size:.8rem;font-weight:700}.employee-tag.accent{color:#9a6210;background:#d3850f24}.employee-actions{flex-wrap:wrap;gap:10px;display:flex}.danger-button{color:#a43b3b;background:#fff0f0}.empty-state{text-align:center;color:#718096;background:#ffffffb8;border:1px dashed #71809647;border-radius:18px;padding:18px}.compact-empty-state{padding:14px;font-size:.9rem}.modal-close{margin-left:auto;display:block}.modal-image{object-fit:contain;background:#0e1620;border-radius:12px;width:100%;max-height:76vh;margin-top:14px}.modal-caption{color:#536170;justify-content:space-between;gap:16px;margin-top:12px;font-size:.92rem;display:flex}@keyframes rise-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-pop{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes skeleton-shimmer{to{background-position:-220% 0}}@keyframes slow-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=1120px){.admin-layout{grid-template-columns:1fr}}@media (width<=860px){.app-shell{width:min(100vw - 20px,1200px);padding:18px 0 30px}.login-layout{grid-template-columns:1fr}.hero-card,.dashboard-hero,.office-page-header,.office-toolbar,.office-search-bar,.uploader-hero{flex-direction:column;align-items:stretch}.office-search-bar,.uploader-layout{grid-template-columns:1fr}.hero-card,.dashboard-hero,.login-intro,.login-card{padding:24px}.module-grid{grid-template-columns:1fr}.module-card{grid-template-columns:auto minmax(0,1fr)}.module-arrow{display:none}.office-table-row{grid-template-columns:1fr}h1{max-width:100%}.toolbar,.modal-caption,.admin-page-header,.panel-header,.employee-group-header,.permission-section-head{flex-direction:column;align-items:stretch}.toolbar-group,.toolbar-actions,.ledger-upload-grid,.ledger-list-grid{grid-template-columns:1fr;width:100%;display:grid}.upload-table-row{grid-template-columns:1fr}.toolbar-check{padding-bottom:0}.station-group{width:100%}.station-button{flex:1 1 0}.employee-row{flex-direction:column;align-items:stretch}.employee-filter-bar,.form-grid,.profile-modal .certificate-row,.certificate-row{grid-template-columns:1fr}.form-grid .wide-field{grid-column:auto}.employee-actions{justify-content:flex-start}}:root{color:#18212d;--brand-ink:#17212f;--brand-muted:#5b6675;--brand-violet:#365f7c;--brand-cyan:#177d74;--brand-green:#167a58;--brand-gold:#a66a18;--surface:#fff;--surface-strong:#fff;--line:#d9e1e8;--shadow-soft:0 1px 2px #17212f0f, 0 8px 24px #17212f0f;--shadow-lift:0 2px 4px #17212f14, 0 14px 32px #17212f1a;background:#f4f7f5}body{background:linear-gradient(#f8faf8 0%,#f0f4f2 100%)}.app-shell,.dashboard-app-shell,.office-page-shell,.admin-page-shell{width:min(1240px,100vw - 40px);padding:24px 0 40px}.login-layout{grid-template-columns:minmax(0,1fr) minmax(340px,400px);gap:20px;min-height:calc(100vh - 64px)}.hero-card,.dashboard-hero,.office-page-header,.admin-page-header,.login-intro,.login-card,.toolbar,.office-toolbar,.office-panel,.discussion-panel,.structure-group,.photo-card,.admin-panel,.admin-form-section,.modal-card{border:1px solid var(--line);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border-radius:8px}.dashboard-hero,.hero-card,.office-page-header,.admin-page-header{color:var(--brand-ink);background:#fff;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;animation:.22s both rise-in;display:flex;overflow:visible}.dashboard-hero>div:first-child,.office-page-header>div:first-child,.admin-page-header>div:first-child{gap:8px;min-width:0;display:grid}.dashboard-hero:after{display:none}.dashboard-hero h1,.dashboard-hero .brand-name,.dashboard-hero .brand-subtitle{color:var(--brand-ink)}.dashboard-hero .brand-logo-slot{border-radius:14px;width:68px;height:68px}.dashboard-hero .brand-logo-slot:before{width:31px;height:31px}.dashboard-hero .brand-name{font-size:clamp(1.9rem,3vw,2.6rem)}.dashboard-hero .brand-subtitle{font-size:1rem}.dashboard-hero h1{font-size:clamp(1.55rem,2vw,2rem)}.brand-mark{gap:16px;margin-bottom:0}.brand-mark.compact{gap:12px;margin-bottom:0}.brand-logo-slot{background:linear-gradient(#fffc,#eff6f1eb),#eff6f1;border:1px solid #b8c7be;border-radius:12px;width:56px;height:56px;overflow:visible;box-shadow:0 10px 24px #177d741f}.brand-logo-slot:before{border:3px solid #177d74;border-color:#0000 #177d74 #177d74 #0000;width:25px;height:25px}.brand-logo-slot span{display:none}.brand-name{color:var(--brand-ink);font-size:1.45rem;font-weight:900;line-height:1.05}.brand-subtitle{margin-top:5px;font-size:.92rem;font-weight:800;line-height:1.2}.brand-mark.compact .brand-logo-slot{border-radius:10px;width:48px;height:48px}.brand-mark.compact .brand-logo-slot:before{border-width:2px;width:21px;height:21px}.brand-mark.compact .brand-name{font-size:1.18rem}.brand-mark.compact .brand-subtitle{font-size:.8rem}.brand-subtitle,.user-meta,.panel-muted,.photo-summary,.employee-sub,.field-hint,.file-card-sub,.toolbar-help{color:var(--brand-muted)}.eyebrow{display:none}h1,h2,h3,h4{color:var(--brand-ink);letter-spacing:0}h1{max-width:none;font-size:clamp(1.8rem,3vw,2.4rem);line-height:1.05}h2{margin-bottom:12px;font-size:1.35rem}h3{font-size:1rem}.hero-copy{max-width:520px;color:var(--brand-muted);margin-top:8px;font-size:.95rem}.login-intro,.login-card{padding:28px}.login-intro{background:linear-gradient(#ffffffe0,#fffffff5),linear-gradient(135deg,#e6f1ec,#f6efe3);flex-direction:column;justify-content:center;gap:24px;min-height:420px;display:flex}.login-intro .brand-logo-slot{border-radius:18px;width:86px;height:86px}.login-intro .brand-logo-slot:before{border-width:4px;width:39px;height:39px}.login-intro .brand-name{font-size:clamp(2.1rem,4vw,3.4rem)}.login-intro .brand-subtitle{font-size:clamp(1rem,1.6vw,1.25rem)}.login-title{white-space:normal;margin-top:6px;font-size:clamp(3rem,7vw,5.8rem)}.brand-slogan{color:#8a5a17;margin:0;font-size:clamp(1.7rem,3vw,2.45rem);font-weight:900;line-height:1.25}.field{color:#334155;gap:7px;margin-bottom:14px;font-weight:700}.field input,.field select,.toolbar-select input,.toolbar-select select,.employee-filter-bar select,.mock-input,.file-input-label input{color:#17212f;background:#fff;border:1px solid #cfd9e2;border-radius:6px;min-height:42px;box-shadow:inset 0 1px 1px #17212f08}.field input,.field select{padding:10px 12px}.field input:focus,.field select:focus,.toolbar-select input:focus,.toolbar-select select:focus,.employee-filter-bar select:focus,.mock-input:focus{border-color:#167a58;outline:3px solid #167a582e}.primary-button,.ghost-button,.station-button,.modal-close,.primary-action-button,.matrix-row-toggle{box-shadow:none;transition:background .16s var(--ease-out), border-color .16s var(--ease-out), color .16s var(--ease-out), box-shadow .16s var(--ease-out);border-radius:6px}.primary-button,.primary-action-button{color:#fff;background:#167a58;border:1px solid #12694c;font-weight:800}.primary-button{padding:12px 16px}.primary-button:hover,.primary-action-button:hover{background:#12694c;box-shadow:0 8px 18px #167a582e}.ghost-button,.station-button,.modal-close,.matrix-row-toggle{color:#263445;background:#fff;border:1px solid #cfd9e2;font-weight:700}.ghost-button:hover,.station-button:hover,.modal-close:hover,.matrix-row-toggle:hover{background:#f6f8fa;border-color:#9fb0bf}.primary-button:hover,.ghost-button:hover,.station-button:hover,.modal-close:hover,.module-card:hover,.photo-card:hover,.file-card:hover,.structure-card:hover,.employee-row:hover,.primary-action-button:hover,.matrix-row-toggle:hover{transform:none}.danger-button{color:#9d2d2d;background:#fff7f7;border-color:#efcaca}.danger-button:hover{background:#fff0f0;border-color:#df9d9d}.status-card{color:#475569;background:#fff;border-radius:8px;padding:16px 18px}.success-card{color:#12694c;background:#edf8f2;border-color:#bee1cf}.error-card,.form-error{color:#9d2d2d;background:#fff2f2;border:1px solid #efcaca}.user-panel{background:#f8faf9;border:1px solid #dbe3ea;border-radius:8px;gap:8px;min-width:280px;padding:14px}.dashboard-hero .user-panel{color:#18212d;background:#f8faf9}.user-avatar{background:#1c2b26;border-radius:8px;width:44px;height:44px;font-size:1.25rem}.user-name{font-size:1.05rem;font-weight:800}.user-actions,.toolbar-actions,.file-card-actions,.employee-actions{gap:8px}.toolbar,.office-toolbar{align-items:end;margin-bottom:16px;padding:14px 16px}.toolbar-group{gap:12px}.toolbar-select{color:#475569;gap:6px;font-size:.88rem}.toolbar-select input,.toolbar-select select{min-width:118px;padding:8px 10px}.toolbar-check{color:#475569;padding-bottom:8px}.station-button.active{color:#fff;box-shadow:none;background:#167a58;border-color:#167a58}.module-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.module-card{border:1px solid var(--line);min-height:116px;box-shadow:var(--shadow-soft);background:#fff;border-left:4px solid #167a58;border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:18px}.module-card:hover{box-shadow:var(--shadow-lift);border-color:#b7c5d1 #b7c5d1 #b7c5d1 #12694c}.module-card-blue,.module-card-green,.module-card-orange,.module-card-teal,.module-card-purple{border-top:1px solid var(--line)}.module-card-blue{border-left-color:#386b9f}.module-card-green{border-left-color:#167a58}.module-card-orange{border-left-color:#a66a18}.module-card-teal{border-left-color:#177d74}.module-card-purple{border-left-color:#6b5d91}.module-title{font-size:1.04rem;font-weight:800}.module-description{color:#64748b;margin-top:5px;font-size:.88rem;font-weight:700}.module-icon{color:#1d5542;background:#f0f5f2;border-radius:8px;width:42px;height:42px;font-size:24px}.module-arrow{display:none}.office-page,.dashboard-shell,.admin-page{gap:16px}.office-page-header h2,.admin-page-header h2{margin-bottom:0}.office-panel,.discussion-panel,.admin-panel{padding:16px}.ledger-upload-grid,.ledger-list-grid{gap:14px}.file-drop-zone{color:#526275;background:#f8faf9;border:1px dashed #aebdca;border-radius:8px;min-height:132px}.file-drop-zone.active,.file-drop-zone:hover{background:#f1f8f4;border-color:#167a58;transform:none}.file-drop-icon{color:#167a58}.file-card-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.file-card{box-shadow:none;border-radius:8px;padding:14px}.file-card:hover{box-shadow:var(--shadow-soft);border-color:#b7c5d1}.file-card-icon{color:#167a58;background:#edf7f2;border-radius:8px;width:40px;height:40px}.file-count-badge,.employee-tag{color:#365347;background:#eef3f0;border-radius:999px;min-height:28px}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.photo-card{box-shadow:none;border-radius:8px;padding:10px}.photo-card:hover{box-shadow:var(--shadow-soft);border-color:#b7c5d1}.photo-thumb-button,.photo-thumb{border-radius:6px}.photo-card:hover .photo-thumb{filter:none;transform:none}.photo-meta,.photo-folder{color:#657386}.admin-layout{grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:14px}.admin-page-header{align-items:center}.admin-form-section{background:#fff;padding:14px}.permission-matrix{box-shadow:none;border-radius:8px}.permission-matrix-head{background:#f3f6f5}.permission-matrix-row:hover{background:#f8fbf9}.matrix-check:not(.disabled):hover{background:#edf8f3;transform:none}.matrix-row-toggle.active{color:#895511;background:#fff8eb;border-color:#d6b06f}.employee-row,.structure-card,.permission-section,.permission-chip{border-radius:8px}.employee-row:hover,.structure-card:hover{box-shadow:var(--shadow-soft)}.structure-group{overflow:hidden}.structure-group-header{background:#f4f7f5}@media (width<=860px){.auth-shell{align-items:stretch}.login-layout{grid-template-columns:1fr;align-content:start;gap:14px;min-height:auto}.login-intro{gap:14px;min-height:auto}.login-intro .brand-mark{align-items:center}.login-intro .brand-logo-slot{border-radius:12px;flex:none;width:58px;height:58px}.login-intro .brand-logo-slot:before{border-width:3px;width:26px;height:26px}.login-intro .brand-name{white-space:nowrap;font-size:clamp(2rem,12vw,2.75rem)}.brand-slogan{font-size:clamp(1.45rem,8vw,2rem)}}.modal-backdrop{background:#121c269e}.modal-card{border-radius:8px}.modal-image{border-radius:6px}@media (width<=860px){.app-shell,.dashboard-app-shell,.office-page-shell,.admin-page-shell{width:min(100vw - 20px,1240px);padding:14px 0 28px}.dashboard-hero,.hero-card,.office-page-header,.office-toolbar,.admin-page-header,.login-intro,.login-card{padding:18px}.user-panel{min-width:0}.module-card{min-height:98px}.login-intro .brand-logo-slot{width:72px;height:72px}.login-intro .brand-logo-slot:before{width:32px;height:32px}.dashboard-hero .brand-logo-slot{width:58px;height:58px}.dashboard-hero .brand-logo-slot:before{width:26px;height:26px}}
