:root{font-family:Inter,Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif;color:#22332e;background:#f5f7f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f6f8f6}.login-brand{background:linear-gradient(145deg,#132c2a,#244b3e);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:clamp(40px,9vw,140px)}.emblem{width:64px;height:64px;display:grid;place-items:center;border:1px solid #8db3a1;border-radius:18px;color:#e5d4a6;font-size:32px;font-weight:800;margin-bottom:32px}.emblem.small{width:42px;height:42px;margin:0;font-size:21px;border-radius:12px}.eyebrow{letter-spacing:.18em;font-size:11px;font-weight:800;color:#719587}.login-brand .eyebrow{color:#b7d0c4}.login-brand h1{font-size:clamp(36px,4vw,62px);line-height:1.25;margin:22px 0}.login-brand p{color:#c4d9cf}.health{margin-top:70px;color:#c8e0d4;font-size:13px}.login-card{width:min(440px,85%);align-self:center;justify-self:center}.login-card h2{font-size:32px;margin:14px 0 8px}.login-card p,.login-card small{color:#7a8b84}.login-card form{display:flex;flex-direction:column;gap:22px;margin:32px 0}.login-card label{display:grid;gap:8px;font-weight:650;font-size:14px}input{width:100%;border:1px solid #d4dfd9;border-radius:10px;padding:13px 14px;background:#fff;color:#1c332b;outline:none}input:focus{border-color:#32735c;box-shadow:0 0 0 3px #32735c20}.password{display:flex;position:relative}.password input{padding-right:50px}.icon-button{background:transparent;border:0;display:inline-grid;place-items:center;color:#5c7468;padding:10px}.password .icon-button{position:absolute;right:4px;top:3px}.primary{background:#1c5544;color:#fff;border:0;padding:14px;border-radius:10px;font-weight:700}.primary:hover{background:#174535}.secondary{background:#fff;border:1px solid #cbd8d0;color:#214d3e;padding:12px;border-radius:10px;font-weight:700}.notice{background:#fff2eb;border:1px solid #f2cbb6;color:#954a2c;border-radius:10px;padding:12px;font-size:14px}.shell{display:flex;min-height:100vh}.sidebar{background:#17352f;color:#d8e5de;width:250px;flex-shrink:0;display:flex;flex-direction:column;padding:22px 14px;min-height:100vh}.sidebar-brand{display:flex;gap:12px;align-items:center;padding:5px 8px 35px}.sidebar-brand strong{font-size:19px;color:#fff}.sidebar-brand small{display:block;font-size:11px;margin-top:4px;color:#a2bcb0}.nav-label{font-size:11px;letter-spacing:.12em;color:#9bb4a9;padding:0 14px 12px}.sidebar nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 14px;width:100%;text-align:left;background:transparent;border:0;border-radius:10px;color:#c9dcd2;font-size:14px}.nav-item:hover,.nav-item.selected{background:#315d4e;color:#fff}.sidebar-bottom{margin-top:auto;border-top:1px solid #456357;padding-top:15px}.identity{display:flex;align-items:center;gap:10px;padding:8px 12px 16px}.avatar{width:38px;height:38px;background:#c4d9b6;color:#254336;border-radius:50%;display:grid;place-items:center;font-weight:800}.identity small{display:block;color:#a3bbaf;font-size:12px;margin-top:3px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:70px;background:#fff;border-bottom:1px solid #e3e9e5;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.crumb{font-size:13px;color:#5d7268}.crumb span{padding:0 10px;color:#b4c0b9}.top-status{font-size:12px;color:#527a65}.status-dot{display:inline-block;width:7px;height:7px;background:#3ba56d;border-radius:50%;margin-right:7px}.content{width:min(1200px,100%);margin:0 auto;padding:42px 38px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.page-heading h1{font-size:31px;margin:8px 0}.page-heading p{margin:0;color:#7b8c82}.intro{background:#e6eee6;border:1px solid #d9e6dc;padding:26px 30px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;color:#235343;margin-bottom:22px}.intro h2{margin:8px 0;font-size:23px}.intro p{margin:0;color:#648173;font-size:13px}.queue-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.queue,.panel{background:#fff;border:1px solid #e3eae5;border-radius:14px;padding:22px;box-shadow:0 5px 20px #183e2810}.queue-icon{background:#eaf3ed;color:#2e7556;width:43px;height:43px;border-radius:12px;display:grid;place-items:center;margin-bottom:22px}.queue strong{display:block;font-size:16px}.queue span{display:block;color:#779486;font-weight:700;margin-top:12px}.queue p{color:#9aaa9f;font-size:12px;line-height:1.6}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.panel h3{margin:0 0 20px;font-size:18px}.empty{background:#f8faf8;border:1px dashed #d6e1d9;border-radius:12px;padding:42px 15px;text-align:center;color:#8a9d91;font-size:14px}.empty p{font-size:12px}.muted{font-size:13px;color:#809186;line-height:1.7}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}td,th{padding:13px;border-bottom:1px solid #e8eee9}th{color:#648072;background:#f8faf8}.detail{display:grid;grid-template-columns:130px 1fr;gap:16px;padding:16px 0}.detail span{color:#82978b}.compact{display:flex;align-items:center;gap:8px}footer{padding:22px 38px;font-size:11px;color:#8ca096;border-top:1px solid #e5ece7}.mobile-menu,.overlay{display:none}@media(max-width:1100px){.queue-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:750px){.login-wrap{grid-template-columns:1fr}.login-brand{padding:32px;min-height:270px}.login-brand h1{font-size:32px;margin:10px 0}.login-brand .emblem{margin-bottom:15px}.health{margin-top:15px}.login-card{padding:36px 0}.sidebar{position:fixed;z-index:20;left:-260px;top:0;bottom:0;transition:left .2s}.sidebar.open{left:0}.overlay{display:block;position:fixed;inset:0;background:#0007;border:0;z-index:15}.mobile-menu{display:inline-grid}.topbar{padding:0 16px;justify-content:flex-start;gap:12px}.top-status{margin-left:auto}.content{padding:28px 16px}.queue-grid,.two-cols{grid-template-columns:1fr}.page-heading h1{font-size:25px}.intro{padding:22px}.intro svg{display:none}footer{padding:18px}}.admin-panel{margin-top:20px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.admin-form{display:flex;flex-direction:column;gap:15px}.admin-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650}.admin-form select{width:100%;border:1px solid #d4dfd9;border-radius:10px;padding:12px;background:#fff;color:#1c332b}.admin-actions{display:flex;gap:12px}.small-action{padding:6px 10px;font-size:12px}.success-note{padding:12px;background:#edf7ee;color:#245f3e;border-radius:10px}@media(max-width:750px){.admin-grid{grid-template-columns:1fr}}.sidebar{max-height:100vh;position:sticky;top:0}.sidebar nav{display:block;flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#547a68 transparent;padding-right:3px}.nav-group{margin:0 0 7px}.nav-group-toggle{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;color:#b9cec2;font-weight:750;text-align:left;border-radius:10px;padding:11px 12px}.nav-group-toggle:hover,.nav-group-active{background:#24473c;color:#fff}.nav-group-toggle span{flex:1}.nav-group-toggle .chevron{transition:transform .2s}.nav-group-toggle .chevron.expanded{transform:rotate(180deg)}.nav-children{border-left:1px solid #497360;margin:4px 0 8px 20px;padding-left:6px}.nav-item.nav-child{padding:10px 9px;font-size:13px;gap:10px}.nav-child.selected{background:#397260;font-weight:750}.sidebar-bottom{flex-shrink:0}.permission-list{max-height:490px;overflow-y:auto;border:1px solid #e4eae6;border-radius:12px}.permission-row{padding:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9efeb}.permission-row:last-child{border-bottom:0}.permission-row div{min-width:0}.permission-row strong{font-size:13px;display:block}.permission-row small{display:block;color:#779085;font-size:11px;overflow-wrap:anywhere}.permission-row select{max-width:124px;min-width:115px;font-size:12px}.admin-form textarea{width:100%;min-height:90px;border:1px solid #d4dfd9;border-radius:10px;padding:12px;font:inherit}.admin-form select{max-width:100%}@media(max-width:750px){.sidebar{position:fixed;top:0;bottom:0;max-height:100dvh}.permission-row{align-items:flex-start;flex-direction:column}.permission-row select{max-width:none;width:100%}}.workspace-dashboard{display:flex;flex-direction:column;gap:18px}.workspace-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-metric{background:#fff;border:1px solid #e3eae5;border-radius:14px;padding:20px;display:flex;align-items:start;flex-direction:column;gap:10px}.dashboard-metric>svg{color:#34795a}.dashboard-metric span{font-size:13px;color:#62806d}.dashboard-metric strong{font-size:27px;color:#204834}.dashboard-text-link{background:transparent;border:0;display:flex;align-items:center;gap:6px;color:#346e50;padding:0;font-weight:600;cursor:pointer}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.dashboard-heading h3{margin:0}.dashboard-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.dashboard-tab{padding:10px 16px;border:1px solid #d4e0d6;border-radius:12px;background:#f7faf8;color:#385e48;cursor:pointer}.dashboard-tab.active{background:#286b4c;color:#fff;border-color:#286b4c}.dashboard-task-list,.dashboard-notifications{display:flex;flex-direction:column;gap:0}.dashboard-task,.dashboard-notification{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid #e5ece7}.dashboard-task>div:first-child,.dashboard-notification>div:first-child{display:flex;flex:1;flex-direction:column;gap:7px;min-width:0}.dashboard-task strong,.dashboard-notification strong{overflow-wrap:anywhere}.dashboard-task small,.dashboard-notification small{font-size:12px;color:#7a9182}.dashboard-category{width:max-content;color:#32694f;background:#edf4ef;padding:4px 8px;border-radius:7px;font-size:11px}.dashboard-notification p{margin:0;white-space:pre-line;overflow-wrap:anywhere;color:#526c5b;font-size:13px}.dashboard-notification.unread{background:#f5fbf6;padding-left:10px;padding-right:10px;border-left:3px solid #39895e}.dashboard-notification-actions{display:flex;gap:8px;flex-wrap:wrap}.dashboard-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dashboard-info{padding:12px 0;border-bottom:1px solid #e5ece7}.dashboard-info strong{display:block;font-size:14px}.dashboard-info p,.dashboard-info small{font-size:12px;color:#638371;margin:5px 0 0}@media(max-width:950px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.dashboard-metrics,.dashboard-two-columns{grid-template-columns:1fr}.dashboard-task,.dashboard-notification{align-items:flex-start;flex-direction:column}.dashboard-notification-actions{width:100%}}.workspace-notice-shortcut{display:flex;justify-content:flex-end;margin-bottom:12px}.workspace-four-buckets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 18px}.workspace-bucket{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;min-height:145px;border:1px solid var(--line,#d9dfe5);border-radius:13px;padding:16px;background:var(--panel,#fff);color:inherit;cursor:pointer}.workspace-bucket strong{font-size:28px;line-height:1.2}.workspace-bucket span{font-weight:700}.workspace-bucket small{font-size:12px;display:flex;align-items:center;gap:4px;opacity:.8}.workspace-bucket.selected{outline:2px solid var(--accent,#267e68);outline-offset:1px;background:var(--soft,#f0f7f4)}.workspace-case-list{margin-bottom:16px}.workspace-home-section{margin-top:14px}.workspace-home-section h3{display:flex;align-items:center;gap:8px}.workspace-case-highlight{outline:3px solid #24966a!important;outline-offset:-3px;background:#e3f5ea!important;scroll-margin-top:85px}.workspace-case-target-notice{border-left:4px solid #24966a;padding:11px 14px;margin:0 0 16px;background:#edf7f1;border-radius:6px}@media(max-width:1050px){.workspace-four-buckets{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.workspace-four-buckets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace-bucket{padding:12px;min-height:125px}.workspace-bucket strong{font-size:24px}}.attachment-panel,.help-topic{border:1px solid #dce9df;border-radius:12px;padding:16px;margin:14px 0}.attachment-preview{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.attachment-preview img{max-width:100%;max-height:500px;object-fit:contain}.attachment-preview iframe{width:100%;min-height:520px;border:1px solid #d4e0d8;border-radius:8px}.help-topic>button{width:100%;text-align:left}.help-topic li{margin:10px 0;line-height:1.6}@media(max-width:750px){.attachment-panel .admin-actions{flex-direction:column;align-items:stretch}.attachment-preview iframe{min-height:350px}}
