:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#17233b;background:#f3f6fb}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}main{max-width:1180px;margin:auto;padding:32px}.card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;box-shadow:0 8px 30px #1e3a5f0c}.login{max-width:400px;margin:10vh auto;text-align:center}.logo{margin:auto;width:48px;height:48px;border-radius:14px;background:#2864dc;color:#fff;display:grid;place-items:center;font-size:24px;font-weight:800}h1{margin:12px 0 4px}h2{font-size:18px;margin-top:0}p{color:#718096}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}button{border:0;border-radius:9px;padding:11px 16px;background:#2864dc;color:#fff;font-weight:700;cursor:pointer}button.light,nav button{background:#e8edf5;color:#34425b}button.danger{background:#fff0f0;color:#b42318}button.text-button{background:transparent;color:#2864dc;padding:4px;text-decoration:underline}nav button.active{background:#17233b;color:#fff}.actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.grid{display:grid;grid-template-columns:400px 1fr;gap:20px}form{display:grid;gap:14px}label{display:grid;gap:6px;font-size:14px;font-weight:600}input,textarea,select{width:100%;padding:11px;border:1px solid #ccd5e2;border-radius:9px;font:inherit}.row{display:grid;grid-template-columns:2fr 1fr;gap:10px}fieldset{border:1px solid #e1e7ef;border-radius:10px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.checks label{display:flex;font-weight:400}.checks input{width:auto}.list{display:grid;gap:9px}.item{padding:13px;border:1px solid #e4e9f1;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:10px}.item h3,.item p{margin:0}.item h3{font-size:15px}.item p{font-size:13px;margin-top:5px}.pill{font-size:12px;padding:3px 7px;border-radius:99px;background:#edf3ff;color:#2856a8}em,#result,#passwordResult,#recoveryError,#recoveryCodeResult{font-style:normal;color:#c53030}.success{color:#15803d!important}.recovery-panel{margin-top:14px;text-align:left;border-top:1px solid #e2e8f0;padding-top:12px}.recovery-panel summary{list-style:none;text-align:center;color:#2864dc;text-decoration:underline;font-weight:700;cursor:pointer}.recovery-panel summary::-webkit-details-marker{display:none}.recovery-content{margin-top:14px;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.recovery-content h2{margin-bottom:5px}.recovery-content p{font-size:13px;margin-top:0}dialog{border:0;border-radius:14px;padding:24px;box-shadow:0 20px 60px #0005}dialog::backdrop{background:#17233b88}#invite{font-size:28px;letter-spacing:2px;color:#174ea6}#newRecoveryCode{display:block;margin:18px 0;padding:14px;border:1px dashed #f97316;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:21px;letter-spacing:1px;overflow-wrap:anywhere}.dialog-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.dialog-actions form{display:block}

button.dashboard-stat{position:relative;min-height:132px;text-align:left;color:#17233b;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px;box-shadow:0 7px 22px rgba(30,58,95,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}button.dashboard-stat:hover{transform:translateY(-2px);border-color:#f97316;box-shadow:0 12px 28px rgba(249,115,22,.12)}button.dashboard-stat:focus-visible{outline:3px solid rgba(249,115,22,.28);outline-offset:2px}button.dashboard-stat.active{border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.13)}button.dashboard-stat span{font-size:14px;color:#526178}button.dashboard-stat strong{font-size:30px;line-height:1.15;margin:8px 0;color:#17233b}button.dashboard-stat.ok strong{color:#15803d}button.dashboard-stat.warning strong{color:#dc2626}button.dashboard-stat small{display:block;color:#8a96a8;font-size:12px;font-weight:600}.dashboard-tasks{padding:0;overflow:hidden}.dashboard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px;border-bottom:1px solid #e8edf4}.dashboard-heading h2{margin:0 0 5px}.dashboard-heading p{margin:0;font-size:13px}.dashboard-tabs{display:flex;gap:5px;padding:4px;background:#f0f3f8;border-radius:11px}.dashboard-tabs button{white-space:nowrap;background:transparent;color:#5a687c;padding:8px 12px;border-radius:8px}.dashboard-tabs button.active{background:#fff;color:#17233b;box-shadow:0 2px 7px rgba(23,35,59,.1)}.dashboard-tabs button span{margin-left:4px;color:#f97316}.dashboard-filter-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 24px;background:#fff7ed;border-bottom:1px solid #fed7aa;color:#9a3412;font-size:13px;font-weight:700}.dashboard-task-list{display:grid;gap:12px;padding:18px 24px;max-height:680px;overflow:auto}.dashboard-task-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #dce7df;border-left:5px solid #22a06b;border-radius:13px;background:#f1fbf5}.dashboard-task-item.priority-urgent,.dashboard-task-item.state-overdue{background:#fff4f3;border-color:#fecaca;border-left-color:#dc2626}.dashboard-task-item.state-completed,.dashboard-task-item.state-cancelled{background:#f5f6f8;border-color:#e2e5e9;border-left-color:#9aa4b2}.dashboard-task-main{min-width:0;flex:1}.dashboard-task-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.dashboard-task-title h3{font-size:15px;margin:0}.dashboard-task-main p{margin:6px 0;color:#68778c;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.dashboard-task-main small{color:#68778c}.task-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:99px;background:#edf3ff;color:#2856a8;font-size:11px;font-weight:800}.task-badge.priority-urgent,.task-badge.status-overdue{background:#fee2e2;color:#b42318}.task-badge.status-completed{background:#e5e7eb;color:#596273}.task-badge.status-waiting,.task-badge.status-scheduled{background:#dcfce7;color:#177245}.task-progress{width:min(360px,100%);height:5px;background:#dce4ec;border-radius:99px;overflow:hidden;margin:10px 0 5px}.task-progress span{display:block;height:100%;background:#22a06b;border-radius:inherit}.state-overdue .task-progress span,.priority-urgent .task-progress span{background:#ef4444}.state-completed .task-progress span{background:#9aa4b2}.empty-state{text-align:center;padding:42px 20px;color:#5f6d80}.empty-state p{margin-bottom:0}.device-item.is-offline{background:#fff4f3;border-color:#fecaca}.device-item.is-offline .pill{background:#fee2e2;color:#b42318}

@media(max-width:760px){main{padding:15px}.grid{grid-template-columns:1fr}.row{grid-template-columns:1fr}.dashboard-heading{align-items:stretch;flex-direction:column;padding:18px}.dashboard-tabs{width:100%}.dashboard-tabs button{flex:1}.dashboard-task-list{padding:14px;max-height:none}.dashboard-task-item{align-items:flex-start;flex-direction:column}.dashboard-task-item>.light{width:100%}.dashboard-filter-bar{padding:10px 16px}}

/* v0.6.2 · Google Material inspired admin hierarchy */
:root{color:#202124;background:#f7f8fa}body{background:linear-gradient(180deg,#fff 0,#f7f8fa 190px);min-height:100vh}main{max-width:none;margin:0;padding:0}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;margin:0;padding:13px 30px;background:rgba(255,255,255,.94);border-bottom:1px solid #e8eaed;box-shadow:0 1px 2px rgba(60,64,67,.08);backdrop-filter:blur(12px)}.brand-lockup{display:flex;align-items:center;gap:12px}.brand-lockup .logo{width:42px;height:42px;margin:0;border-radius:13px;background:linear-gradient(135deg,#fb8c00,#f4511e);box-shadow:0 5px 14px rgba(244,81,30,.22);font-size:21px}.brand-lockup h1{margin:0;color:#202124;font-size:20px;font-weight:650;letter-spacing:-.2px}.brand-lockup p{margin:2px 0 0;color:#80868b;font-size:12px}.topbar-actions{display:flex;align-items:center;gap:12px}.server-state{display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:99px;background:#e6f4ea;color:#137333;font-size:12px;font-weight:700}.server-state i{width:7px;height:7px;border-radius:50%;background:#34a853;box-shadow:0 0 0 3px rgba(52,168,83,.14)}.admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;width:min(1480px,100%);margin:0 auto;padding:26px 30px 46px}.admin-layout>nav{position:sticky;top:94px;display:flex;align-self:start;flex-direction:column;flex-wrap:nowrap;gap:4px;margin:0;padding:10px 8px 14px;background:#fff;border:1px solid #e4e7eb;border-radius:18px;box-shadow:0 2px 8px rgba(60,64,67,.07)}.admin-layout>nav .nav-caption{margin:14px 12px 5px;color:#9aa0a6;font-size:11px;font-weight:800;letter-spacing:.08em}.admin-layout>nav button{position:relative;width:100%;padding:11px 13px 11px 34px;border-radius:11px;background:transparent;color:#4b5563;text-align:left;font-size:13px;font-weight:650;transition:background .16s,color .16s}.admin-layout>nav button::before{position:absolute;left:15px;top:50%;width:7px;height:7px;border:2px solid #9aa0a6;border-radius:50%;content:"";transform:translateY(-50%)}.admin-layout>nav button:hover{background:#f1f3f4;color:#202124}.admin-layout>nav button.active{background:#e8f0fe;color:#174ea6}.admin-layout>nav button.active::before{border-color:#1a73e8;background:#1a73e8;box-shadow:0 0 0 4px rgba(26,115,232,.12)}.admin-content{min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:2px 0 22px}.page-heading span{display:block;margin-bottom:5px;color:#f4511e;font-size:11px;font-weight:800;letter-spacing:.08em}.page-heading h2{margin:0;color:#202124;font-size:28px;font-weight:650;letter-spacing:-.45px}.page-heading p{margin:6px 0 0;color:#6b7280;font-size:14px}.primary-action{padding:11px 18px;border-radius:99px;background:#1a73e8;box-shadow:0 2px 6px rgba(26,115,232,.25)}.primary-action:hover{background:#1765cc;box-shadow:0 4px 10px rgba(26,115,232,.28)}.card{border-color:#e3e6ea;border-radius:18px;box-shadow:0 2px 7px rgba(60,64,67,.08);transition:box-shadow .18s}.card:hover{box-shadow:0 4px 12px rgba(60,64,67,.1)}button{transition:background .16s,box-shadow .16s,transform .16s}button:not(:disabled):active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.58}input,textarea,select{border-color:#dadce0;border-radius:10px;background:#fff;color:#202124;transition:border .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:#1a73e8;outline:0;box-shadow:0 0 0 3px rgba(26,115,232,.12)}fieldset{border-color:#dadce0;background:#fbfcfe}.grid{grid-template-columns:minmax(330px,410px) minmax(0,1fr);align-items:start}.smart-box{background:linear-gradient(145deg,#fff7ed,#fff);border-color:#fed7aa;box-shadow:inset 4px 0 #f97316}.dashboard-heading{background:#fff}.dashboard-tabs{background:#f1f3f4}.dashboard-task-list{background:#fbfcfe}.task-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap;flex:0 0 auto}.task-actions button{padding:8px 11px;border-radius:9px;font-size:12px}.task-actions .expediteTask,.expedite-button{background:#f97316;color:#fff}.task-actions .expediteTask:hover,.expedite-button:hover{background:#ea650c}.task-actions .danger{background:#fff;color:#b3261e;border:1px solid #f2c7c4}.task-actions .danger:hover{background:#fce8e6}.admin-reminder-item{position:relative;min-height:94px;padding:16px;border-left:4px solid #34a853;background:#f8fdf9}.admin-reminder-item.priority-urgent,.admin-reminder-item.state-overdue{border-color:#ea4335;background:#fef7f6}.admin-reminder-item.state-completed{border-color:#9aa0a6;background:#f5f6f7}.admin-reminder-item small{display:block;margin-top:7px;color:#b06000;font-size:12px}.task-list-card #reminderList{margin-top:12px}.item{border-color:#e1e5ea;border-radius:13px}.list{gap:11px}.action-dialog{width:min(560px,calc(100vw - 30px));padding:0;overflow:hidden;border:1px solid #e1e4e8;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(32,33,36,.28)}.action-dialog::backdrop{background:rgba(32,33,36,.48);backdrop-filter:blur(2px)}.action-dialog>.dialog-title-row,.action-dialog>p,.action-dialog>.delete-options,.action-dialog>.expedite-notice,.action-dialog>.dialog-actions,.action-dialog>.dialog-error{margin-left:26px;margin-right:26px}.dialog-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-top:24px}.dialog-title-row h2{margin:4px 0 0;font-size:21px}.dialog-kicker{color:#5f6368;font-size:11px;font-weight:800;letter-spacing:.08em}.urgent-kicker{color:#d93025}.icon-button{width:36px;height:36px;padding:0;border-radius:50%;font-size:22px;line-height:1}.action-dialog>p{margin-top:12px;font-size:13px;line-height:1.55}.delete-options{display:grid;gap:10px;margin-top:20px;margin-bottom:25px}.delete-option{display:grid;gap:5px;width:100%;padding:16px;border:1px solid #dadce0;border-radius:14px;background:#fff;color:#202124;text-align:left}.delete-option:hover{border-color:#1a73e8;background:#f8faff;box-shadow:0 2px 7px rgba(26,115,232,.12)}.delete-option strong{font-size:14px}.delete-option span{color:#6b7280;font-size:12px;font-weight:500;line-height:1.5}.delete-all-option{border-color:#f2c7c4}.delete-all-option strong{color:#b3261e}.delete-all-option:hover{border-color:#d93025;background:#fef7f6}.expedite-notice{margin-top:18px;padding:16px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.expedite-notice p{margin:7px 0 0;color:#9a3412;font-size:13px;line-height:1.55}.action-dialog>.dialog-actions{justify-content:flex-end;margin-top:20px;margin-bottom:24px}.dialog-error{display:block;min-height:18px;margin-top:-13px;margin-bottom:18px;color:#b3261e;font-size:12px}.toast{position:fixed;right:28px;bottom:28px;z-index:100;padding:13px 18px;border-radius:12px;background:#202124;color:#fff;box-shadow:0 10px 28px rgba(32,33,36,.28);font-size:13px;font-weight:650;opacity:0;transform:translateY(10px);transition:opacity .18s,transform .18s}.toast.show{opacity:1;transform:translateY(0)}.login{margin:10vh auto;padding:34px;border:0;border-radius:22px;box-shadow:0 16px 50px rgba(60,64,67,.14)}

@media(max-width:1050px){.admin-layout{grid-template-columns:1fr;padding:18px}.admin-layout>nav{position:static;flex-direction:row;flex-wrap:wrap;padding:7px}.admin-layout>nav .nav-caption{display:none}.admin-layout>nav button{width:auto;padding:9px 12px 9px 28px}.admin-layout>nav button::before{left:11px}.grid{grid-template-columns:1fr}}
@media(max-width:700px){.topbar{padding:11px 14px}.brand-lockup p,.server-state{display:none}.brand-lockup h1{font-size:17px}.admin-layout{padding:14px 12px 30px}.admin-layout>nav{overflow:auto;flex-wrap:nowrap;border-radius:14px}.admin-layout>nav button{flex:0 0 auto}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:17px}.page-heading h2{font-size:24px}.primary-action{width:100%}.task-actions{width:100%;justify-content:stretch}.task-actions button{flex:1}.dashboard-task-item{align-items:flex-start;flex-direction:column}.admin-reminder-item{align-items:flex-start;flex-direction:column}.action-dialog>.dialog-title-row,.action-dialog>p,.action-dialog>.delete-options,.action-dialog>.expedite-notice,.action-dialog>.dialog-actions,.action-dialog>.dialog-error{margin-left:18px;margin-right:18px}.toast{right:14px;bottom:14px;left:14px;text-align:center}}
#recipients label{align-items:center;gap:7px}.recipient-department-tag{display:inline-flex;flex:0 0 auto;padding:3px 7px;border-radius:7px;background:#eef3fd;color:#174ea6;font-size:10px;font-weight:800}.recipient-name{min-width:0;color:#202124;font-weight:650}

/* v0.6.5 · admin attachment picker */
.attachment-picker{display:grid;gap:12px;padding:16px;border:1px solid #d9e2ef;border-radius:14px;background:linear-gradient(145deg,#f8fbff,#fff);box-shadow:inset 4px 0 #1a73e8}.attachment-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.attachment-heading strong{display:block;color:#202124;font-size:14px}.attachment-heading span:not(.attachment-tag){display:block;margin-top:4px;color:#6b7280;font-size:12px;font-weight:500;line-height:1.45}.attachment-tag{flex:0 0 auto;padding:4px 8px;border-radius:99px;background:#e8f0fe;color:#174ea6;font-size:11px;font-weight:800}.attachment-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.file-button{display:inline-flex;width:auto;min-height:38px;align-items:center;justify-content:center;padding:9px 14px;border-radius:9px;background:#1a73e8;color:#fff;font-size:13px;font-weight:750;cursor:pointer;box-shadow:0 2px 5px rgba(26,115,232,.22);transition:background .16s,box-shadow .16s}.file-button:hover{background:#1765cc;box-shadow:0 4px 9px rgba(26,115,232,.25)}.file-button:focus-within{outline:3px solid rgba(26,115,232,.2);outline-offset:2px}.attachment-controls button{padding:9px 14px;font-size:13px}.attachment-info{padding:9px 11px;border-radius:9px;background:#f1f3f4;color:#6b7280;font-size:12px;font-weight:600;overflow-wrap:anywhere}.attachment-info.has-file{background:#e6f4ea;color:#137333}.attachment-preview{display:block;width:min(100%,320px);max-height:210px;object-fit:contain;border:1px solid #dfe4ea;border-radius:11px;background:#fff}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:700px){.attachment-heading{align-items:flex-start;flex-direction:column}.attachment-controls{display:grid;grid-template-columns:1fr 1fr}.file-button,.attachment-controls button{width:100%}}

/* v0.7.1 · persistent task conversation */
.conversation-dialog{width:min(680px,calc(100vw - 30px))}.conversation-messages{display:grid;gap:10px;max-height:390px;margin:18px 26px 14px;padding:14px;overflow:auto;border:1px solid #e3e7ed;border-radius:15px;background:#f8fafc}.conversation-message{padding:12px 14px;border:1px solid #dfe5ec;border-radius:13px;background:#fff}.conversation-message.from-admin{border-color:#c8daf8;background:#f3f7ff}.conversation-message>div{display:flex;justify-content:space-between;align-items:center;gap:14px}.conversation-message strong{font-size:13px}.conversation-message time{color:#8a94a3;font-size:11px}.conversation-message p{margin:7px 0 0;color:#3c4656;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.conversation-compose{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;margin:0 26px 20px}.conversation-compose textarea{resize:vertical}.conversation-compose button{height:44px}.conversation-dialog>.dialog-error{margin-top:-10px}@media(max-width:700px){.conversation-messages,.conversation-compose{margin-left:18px;margin-right:18px}.conversation-compose{grid-template-columns:1fr}.conversation-compose button{width:100%}}

/* v0.7.2 · conversation preview inside each task card */
.dashboard-task-item,.admin-reminder-item{align-items:stretch}.admin-reminder-main{min-width:0;flex:1}.task-actions{align-self:flex-end}.task-actions .taskConversation{background:#1a73e8;color:#fff;box-shadow:0 2px 5px rgba(26,115,232,.2)}.task-actions .taskConversation:hover{background:#1765cc}.task-message-preview{display:grid;gap:5px;margin-top:12px;padding:10px 12px;border:1px solid #dce4ed;border-radius:11px;background:rgba(255,255,255,.72)}.task-message-preview>strong{color:#5f6b7a;font-size:11px}.task-message-preview>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px;color:#3c4656;font-size:12px}.task-message-preview b{white-space:nowrap}.task-message-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-message-preview time{margin-left:8px;color:#8a94a3;font-size:10px;white-space:nowrap}@media(max-width:700px){.task-message-preview>div{grid-template-columns:auto minmax(0,1fr)}.task-message-preview time{display:none}.task-actions .taskConversation{flex-basis:100%}}
.recipient-record{border-left:4px solid #94a3b8!important;background:#fff}.recipient-record.state-completed{border-left-color:#16a34a!important}.recipient-record.state-snoozed{border-left-color:#f59e0b!important}.recipient-record.state-overdue{border-left-color:#dc2626!important}.recipient-record.state-acknowledged,.recipient-record.state-viewed,.recipient-record.state-delivered{border-left-color:#2563eb!important}.recipient-record-heading{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:12px}.recipient-record-heading span{color:#344054;font-size:12px;font-weight:750}.recipient-record-heading time{color:#8a94a3;font-size:10px;white-space:nowrap}.recipient-record-actions{display:grid;gap:4px;margin-top:9px}.recipient-record-actions p{display:flex;gap:8px;margin:0;color:#475467;font-size:11px;line-height:1.5}.recipient-record-actions time{min-width:150px;color:#8a94a3}.recipient-record-actions small{color:#8a94a3}.recipient-record-actions .no-action{color:#98a2b3}.recipient-record .completion-note{margin:8px 0;padding-top:8px;border-top:1px dashed #e1e5ea;color:#475467;font-size:11px}@media(max-width:700px){.recipient-record-heading{grid-template-columns:1fr auto}.recipient-record-heading time{grid-column:1/-1}.recipient-record-actions p{display:grid}.recipient-record-actions time{min-width:0}}

/* v0.7.3 · admin personal timed reminders */
.top-personal-action{border:1px solid #fed7aa!important;background:#fff7ed!important;color:#b45309!important}.top-personal-action:hover{background:#ffedd5!important}.task-badge.task-kind,.task-kind-pill{background:#f3e8ff;color:#7e22ce}.personal-reminders-grid{display:grid;grid-template-columns:minmax(330px,410px) minmax(0,1fr);align-items:start;gap:20px}.section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.section-title h2{margin:4px 0 0}.section-title p{margin:6px 0 0;font-size:13px;line-height:1.5}.section-kicker{color:#f4511e;font-size:11px;font-weight:800;letter-spacing:.08em}.count-chip{flex:0 0 auto;padding:6px 10px;border-radius:99px;background:#fff7ed;color:#b45309;font-size:12px;font-weight:800}.personal-status-tabs{display:flex;gap:8px;margin:-3px 0 15px;padding-bottom:3px}.personal-filter{border:1px solid #dfe3e8;border-radius:999px;background:#fff;padding:8px 13px;font-weight:750}.personal-filter[data-personal-filter="waiting"]{color:#137333}.personal-filter[data-personal-filter="completed"]{color:#6b7280}.personal-filter span{margin-left:4px;color:inherit}.personal-filter.active{border-color:currentColor;background:#fff;box-shadow:inset 0 0 0 1px currentColor}.personal-filter:disabled{opacity:.55;cursor:default}.personal-reminder-list{display:grid;gap:12px}.personal-reminder-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;border:1px solid #dfe5ea;border-left:4px solid #1a73e8;border-radius:14px;background:#fff}.personal-reminder-item.is-due{border-color:#fed7aa;border-left-color:#f97316;background:#fffaf5}.personal-reminder-item.is-urgent{border-color:#fecaca;border-left-color:#dc2626;background:#fff8f7}.personal-reminder-item.is-completed{border-color:#e2e5e9;border-left-color:#9aa0a6;background:#f7f8f9}.personal-reminder-main{min-width:0;flex:1}.personal-reminder-main h3{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0;color:#202124;font-size:15px}.personal-reminder-main p{margin:7px 0 0;color:#6b7280;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.personal-reminder-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.personal-reminder-actions button{padding:8px 11px;font-size:12px}.personal-reminder-actions .personalAcknowledge{background:#f97316}.personal-reminder-actions .personalComplete{background:#188038}.personal-reminder-actions .personalDelete{border:1px solid #f2c7c4;background:#fff;color:#b3261e}#personalReminderResult,#personalSmartResult{font-style:normal;color:#c53030}
@media(max-width:1050px){.personal-reminders-grid{grid-template-columns:1fr}}
@media(max-width:700px){.topbar-actions{gap:7px}.top-personal-action{max-width:126px;padding:9px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.personal-reminder-item{align-items:flex-start;flex-direction:column}.personal-reminder-actions{width:100%}.personal-reminder-actions button{flex:1}.section-title{align-items:stretch;flex-direction:column}.section-title>button{width:100%}}

/* v0.9.0 · compact task entry points and MiniMax workspace */
.page-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.page-heading-actions button{white-space:nowrap}.ai-workspace{padding:0;overflow:hidden}.ai-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px;border-bottom:1px solid #e8edf4;background:#fff}.ai-header h2{margin:4px 0 6px}.ai-header p{margin:0;font-size:13px}.ai-chat-messages{display:grid;gap:12px;min-height:300px;max-height:520px;padding:22px 24px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#f8fafc}.ai-message{max-width:min(78%,760px);padding:13px 15px;border:1px solid #dde5ee;border-radius:15px;background:#fff;box-shadow:0 2px 6px rgba(60,64,67,.06)}.ai-message.user{justify-self:end;border-color:#c7dcff;background:#edf4ff}.ai-message strong{display:block;margin-bottom:6px;color:#42526a;font-size:11px}.ai-message p{margin:0;color:#263244;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.ai-composer{padding:18px 24px 22px;border-top:1px solid #e5eaf0;background:#fff}.ai-composer textarea{width:100%;resize:vertical}.ai-composer-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:11px}.ai-composer-actions .muted{min-width:220px;flex:1;font-size:12px}.ai-privacy{margin:10px 0 0;color:#6b7280;font-size:11px;line-height:1.5}.task-snooze{min-height:38px;padding:7px 9px;border:1px solid #dadce0;border-radius:9px;background:#fff;color:#3c4043}
@media(max-width:700px){.page-heading-actions{width:100%}.page-heading-actions button{width:auto;flex:1}.ai-header{align-items:stretch;flex-direction:column;padding:18px}.ai-chat-messages{min-height:260px;padding:16px}.ai-message{max-width:92%}.ai-composer{padding:15px}.ai-composer-actions{display:grid;grid-template-columns:1fr 1fr}.ai-composer-actions .muted{grid-column:1/-1}.ai-composer-actions .file-button,.ai-composer-actions button{width:100%}}

/* v0.7.4 · linked administrator employee identity */
.admin-identity{display:inline-flex;align-items:center;min-height:32px;padding:6px 11px;border:1px solid #c8daf8;border-radius:99px;background:#f3f7ff;color:#174ea6;font-size:12px;font-weight:800}.identity-card{box-shadow:inset 4px 0 #1a73e8,0 2px 7px rgba(60,64,67,.08)}#adminIdentityResult{font-style:normal;color:#c53030}
@media(max-width:700px){.admin-identity{display:none}}

/* v0.9.1 · Feishu customer-support bridge */
.feishu-bridge-card{box-shadow:inset 4px 0 #0e7490,0 2px 7px rgba(60,64,67,.08)}.feishu-bridge-card #feishuStatus{color:#0e7490;font-weight:750;line-height:1.55}.feishu-bridge-card #feishuConnectResult{display:block;margin-top:9px;color:#b3261e;font-size:12px}

/* v0.9.4 · web customer knowledge base */
.ai-workspace-heading,.support-heading,.support-history-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px;border-bottom:1px solid #e8edf4;background:#fff}.ai-workspace-heading h2,.support-heading h2,.support-history-heading h2{margin:4px 0 6px}.ai-workspace-heading p,.support-heading p{margin:0;font-size:13px}.support-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}.support-workspace{padding:0;overflow:hidden}.support-state{padding:10px 24px;border-bottom:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:750}.support-chat-messages{display:grid;align-content:start;gap:12px;min-height:360px;max-height:560px;padding:20px 24px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain;background:#f8fafc}.support-message{max-width:min(82%,760px);padding:13px 15px;border:1px solid #dde5ee;border-radius:15px;background:#fff;box-shadow:0 2px 6px rgba(60,64,67,.06)}.support-message.user{justify-self:end;border-color:#c7dcff;background:#edf4ff}.support-message.system{justify-self:center;border-color:#fed7aa;background:#fff7ed}.support-message>div{display:flex;justify-content:space-between;gap:15px}.support-message strong{color:#0e7490;font-size:11px}.support-message time{color:#8a94a3;font-size:10px}.support-message p{margin:7px 0 0;color:#263244;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.support-message small{display:block;margin-top:7px;color:#0e7490}.support-composer{padding:18px 24px 22px;border-top:1px solid #e5eaf0;background:#fff}.support-composer textarea{width:100%;resize:vertical}.support-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.support-composer span{color:#6b7280;font-size:11px}.support-history{padding:0;overflow:hidden}.support-history-heading{padding:20px}.support-conversation-list{display:grid;gap:8px;max-height:670px;padding:12px;overflow-y:auto}.support-conversation-item{display:block;width:100%;padding:13px;border:1px solid #dfe4ea;border-radius:12px;background:#fff;color:#202124;text-align:left}.support-conversation-item:hover,.support-conversation-item.active{border-color:#1a73e8;background:#f3f7ff}.support-conversation-item strong{display:block;font-size:13px;line-height:1.45}.support-conversation-item span{display:flex;justify-content:space-between;gap:10px;margin-top:7px;color:#6b7280;font-size:10px;font-weight:600}.support-empty{padding:36px 18px;text-align:center;color:#6b7280}
.support-heading-actions{display:flex;align-items:center;gap:8px;flex:none}
@media(max-width:1050px){.support-page-grid{grid-template-columns:1fr}.support-conversation-list{max-height:320px}}@media(max-width:700px){.ai-workspace-heading,.support-heading,.support-history-heading{align-items:stretch;flex-direction:column;padding:18px}.support-heading-actions{width:100%}.support-heading-actions button{flex:1}.support-chat-messages{min-height:300px;max-height:55vh;padding:16px}.support-message{max-width:94%}.support-composer{padding:15px}.support-composer>div{align-items:stretch;flex-direction:column}.support-composer button{width:100%}}

/* v0.10.0 · commerce operations dashboard */
.commerce-page{display:grid;gap:18px}.commerce-toolbar-card{padding:0;overflow:hidden}.commerce-toolbar-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #e7eaf0}.commerce-toolbar-heading h2{margin:4px 0 5px}.commerce-toolbar-heading p{margin:0;font-size:13px}.commerce-sync-state{max-width:360px;padding:9px 12px;border-radius:10px;background:#f1f3f4;color:#5f6368;font-size:12px;font-weight:700;text-align:right}.commerce-sync-state.ok{background:#e6f4ea;color:#137333}.commerce-sync-state.warning{background:#fef7e0;color:#8a5700}.commerce-sync-state.error{background:#fce8e6;color:#b3261e}.commerce-toolbar{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto;align-items:end;gap:12px;padding:18px 24px}.commerce-toolbar label{font-size:12px}.commerce-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.commerce-kpis article{min-width:0;padding:18px;border:1px solid #e1e5ea;border-radius:16px;background:#fff;box-shadow:0 2px 7px rgba(60,64,67,.06)}.commerce-kpis span,.commerce-kpis small{display:block;color:#6b7280}.commerce-kpis span{font-size:12px;font-weight:700}.commerce-kpis strong{display:block;margin:7px 0 5px;color:#202124;font-size:24px;letter-spacing:-.03em}.commerce-kpis small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.commerce-tabs{display:flex;gap:5px;padding:5px;border:1px solid #e0e3e7;border-radius:14px;background:#f1f3f4}.commerce-tabs button{flex:1;border-radius:10px;background:transparent;color:#5f6368}.commerce-tabs button.active{background:#fff;color:#174ea6;box-shadow:0 1px 4px rgba(60,64,67,.13)}.commerce-panel{padding:0;overflow:hidden}.commerce-panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e8eaed}.commerce-panel-heading h2{margin:0 0 4px}.commerce-panel-heading p{margin:0;font-size:12px}.commerce-heading-actions{display:flex;align-items:end;gap:10px}.commerce-search{min-width:220px}.commerce-sort{min-width:190px;color:#5f6368;font-size:11px}.commerce-sort select{margin-top:5px}.commerce-table th{position:sticky;top:0;z-index:1;background:#f8f9fa;color:#5f6368;font-size:11px}.commerce-table td{font-size:12px}.commerce-table td:first-child strong{display:block;max-width:260px;color:#202124}.commerce-table .commerce-product-title{max-width:240px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}.commerce-table td:first-child small{display:block;margin-top:4px;color:#80868b}.commerce-table .number{font-variant-numeric:tabular-nums}.commerce-table .positive{color:#137333;font-weight:750}.commerce-table .negative{color:#b3261e;font-weight:750}.commerce-table .pending{color:#b06000}.commerce-table button{padding:7px 10px;font-size:11px}.commerce-status{display:inline-flex;padding:4px 8px;border-radius:99px;background:#e6f4ea;color:#137333;font-size:10px;font-weight:800}.commerce-status.pending{background:#fef7e0;color:#8a5700}.inventory-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:16px 22px;background:#f8fafc}.inventory-summary div{padding:12px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.inventory-summary span{display:block;color:#6b7280;font-size:10px}.inventory-summary strong{display:block;margin-top:5px;font-size:18px}.stock-state{display:inline-flex;padding:4px 8px;border-radius:99px;background:#e6f4ea;color:#137333;font-size:10px;font-weight:800}.stock-state.low{background:#fce8e6;color:#b3261e}.stock-state.watch{background:#fef7e0;color:#8a5700}.commerce-shop-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px}.commerce-shop-card{display:flex;justify-content:space-between;gap:12px;padding:16px;border:1px solid #e0e3e7;border-radius:14px;background:#fff}.commerce-shop-card h3{margin:0;font-size:14px}.commerce-shop-card p{margin:6px 0 0;font-size:11px}.commerce-shop-card .shop-members{margin-top:8px;color:#5f6368;font-size:11px;line-height:1.6}.commerce-dialog{width:min(calc(100% - 28px),620px)}.commerce-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.commerce-advanced{margin:14px 0;padding:13px;border:1px solid #e0e3e7;border-radius:12px}.commerce-advanced summary{cursor:pointer;color:#174ea6;font-weight:750}.commerce-advanced[open] summary{margin-bottom:13px}.commerce-active-check{display:flex;grid-template-columns:auto 1fr;align-items:center;margin:14px 0}.commerce-active-check input{width:auto}.commerce-access-members{display:grid;gap:7px;max-height:300px;margin-top:10px;overflow:auto}.commerce-access-member{display:grid;grid-template-columns:minmax(0,1fr) 70px 70px;align-items:center;gap:8px;padding:9px 11px;border:1px solid #e2e6eb;border-radius:10px}.commerce-access-member strong{font-size:12px}.commerce-access-member small{color:#6b7280}.commerce-access-member label{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:5px;font-size:11px}.commerce-access-member input{width:auto}.commerce-empty{padding:42px 20px;text-align:center;color:#6b7280}.commerce-empty strong{display:block;margin-bottom:6px;color:#202124}
.commerce-toolbar-actions{display:flex;align-items:center;gap:8px}.commerce-toolbar-actions button{white-space:nowrap}.commerce-import-state{margin:0 24px 18px;padding:12px 14px;border:1px solid #f0d69b;border-radius:12px;background:#fffaf0;color:#6f4d00;font-size:12px;line-height:1.6}.commerce-import-state.ok{border-color:#b9dfc4;background:#f1faf4;color:#126b39}.commerce-import-state.error{border-color:#efc1bc;background:#fff5f4;color:#a42b21}.commerce-source-badge{display:inline-flex;margin-top:5px;padding:3px 7px;border-radius:999px;background:#e8f0fe;color:#174ea6;font-size:9px;font-weight:750}.commerce-source-badge.jst{background:#f1f3f4;color:#5f6368}.commerce-import-dialog{width:min(calc(100% - 28px),900px);max-height:92vh;overflow:auto}.commerce-import-file{padding:14px;border:1px dashed #c7ced8;border-radius:13px;background:#fafbfc}.commerce-import-file small{display:block;margin-top:7px}.commerce-import-template{display:flex;align-items:center;gap:12px}.commerce-import-preview{display:grid;gap:12px;padding:15px;border:1px solid #dbe3ee;border-radius:14px;background:#f8fafc}.commerce-import-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.commerce-import-summary div{padding:10px;border-radius:10px;background:#fff}.commerce-import-summary span,.commerce-import-summary strong{display:block}.commerce-import-summary span{color:#6b7280;font-size:10px}.commerce-import-summary strong{margin-top:4px;font-size:16px}.commerce-import-reconcile{padding:11px 13px;border-radius:10px;background:#e6f4ea;color:#137333;font-size:12px}.commerce-import-reconcile.warning{background:#fce8e6;color:#b3261e}.commerce-import-reconcile.waiting_jst{background:#fef7e0;color:#8a5700}.commerce-import-map-table{max-height:300px;overflow:auto;border:1px solid #e2e7ed;border-radius:10px;background:#fff}.commerce-import-map-table table{width:100%;border-collapse:collapse}.commerce-import-map-table th,.commerce-import-map-table td{padding:9px;border-bottom:1px solid #edf0f3;font-size:10px;text-align:left}.commerce-import-map-table input{min-width:150px;padding:8px;font-size:11px}.commerce-import-match{color:#137333;font-weight:700}.commerce-import-match.unmatched{color:#b3261e}
.custom-date-editor{display:grid;gap:9px;padding:12px;border:1px solid #d7e1ef;border-radius:12px;background:#f8fafc}.custom-date-editor>div:first-child{display:flex;justify-content:space-between;gap:10px}.custom-date-editor>div:first-child span{color:#6b7280;font-size:10px}.custom-date-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.custom-date-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:5px}.custom-date-row input{margin:0}.custom-date-row button{padding:6px;border-radius:8px}.add-custom-date{justify-self:start}
.commerce-overview-panel{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:16px}.commerce-trend-card,.commerce-alert-card,.commerce-ranking-card{min-width:0;padding:0;overflow:hidden}.commerce-ranking-card{grid-column:1/-1}.commerce-range-switch{display:flex;gap:4px;padding:4px;border-radius:10px;background:#f1f3f4}.commerce-range-switch button{padding:7px 11px;border-radius:8px;background:transparent;color:#5f6368;font-size:11px}.commerce-range-switch button.active{background:#fff;color:#174ea6;box-shadow:0 1px 4px rgba(60,64,67,.14)}.commerce-insight-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:16px 20px 8px}.commerce-insight-metrics>div{min-width:0;padding:12px;border:1px solid #e8eaed;border-radius:12px;background:#fafbfc}.commerce-insight-metrics span,.commerce-insight-metrics small{color:#6b7280;font-size:10px}.commerce-insight-metrics strong{display:block;margin:5px 0;color:#202124;font-size:18px}.commerce-insight-metrics small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commerce-change{display:inline-flex;padding:2px 5px;border-radius:5px;font-size:9px;font-weight:800}.commerce-change.up{background:#e6f4ea;color:#137333}.commerce-change.down{background:#fce8e6;color:#b3261e}.commerce-change.neutral{background:#f1f3f4;color:#6b7280}.commerce-chart-legend{display:flex;justify-content:flex-end;gap:15px;padding:5px 22px;color:#6b7280;font-size:10px}.commerce-chart-legend span{display:flex;align-items:center;gap:5px}.commerce-chart-legend i{width:8px;height:8px;border-radius:2px;background:#1a73e8}.commerce-chart-legend i.spend{background:#f97316}.commerce-trend-chart{display:flex;align-items:stretch;gap:5px;height:210px;padding:12px 20px 18px;border-top:1px solid #f0f1f3;background:linear-gradient(to bottom,rgba(241,243,244,.8) 1px,transparent 1px);background-size:100% 25%}.commerce-trend-column{display:flex;flex:1;min-width:7px;flex-direction:column;align-items:center;gap:7px}.commerce-trend-bars{display:flex;align-items:flex-end;justify-content:center;gap:2px;width:100%;height:168px}.commerce-trend-bars i{display:block;width:min(12px,42%);min-width:3px;border-radius:4px 4px 1px 1px;background:linear-gradient(#5b9cff,#1a73e8)}.commerce-trend-bars i.spend{background:linear-gradient(#fdba74,#f97316)}.commerce-trend-column small{color:#8a94a3;font-size:8px;white-space:nowrap}.commerce-alert-count{display:grid;place-items:center;min-width:34px;height:34px;border-radius:12px;background:#f1f3f4;color:#5f6368;font-weight:800}.commerce-alert-count.warning{background:#fef7e0;color:#8a5700}.commerce-alert-count.critical{background:#fce8e6;color:#b3261e}.commerce-alert-count.ok{background:#e6f4ea;color:#137333}.commerce-anomaly-list{display:grid;gap:9px;max-height:352px;padding:15px;overflow:auto}.commerce-anomaly,.commerce-all-clear{display:grid;grid-template-columns:28px 1fr;gap:9px;padding:11px;border:1px solid #e8eaed;border-radius:12px;background:#fafbfc}.commerce-anomaly>span,.commerce-all-clear>span{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#fef7e0;color:#8a5700;font-weight:900}.commerce-anomaly.critical{border-color:#f5c2bd;background:#fff8f7}.commerce-anomaly.critical>span{background:#fce8e6;color:#b3261e}.commerce-all-clear{margin:15px;background:#f5fbf6}.commerce-all-clear>span{background:#e6f4ea;color:#137333}.commerce-anomaly strong,.commerce-all-clear strong{font-size:12px}.commerce-anomaly p,.commerce-all-clear p{margin:4px 0 0;color:#6b7280;font-size:10px;line-height:1.5}.commerce-rank{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#eef3fd;color:#174ea6;font-size:11px;font-weight:800}
@media(max-width:1180px){.commerce-kpis{grid-template-columns:repeat(3,1fr)}.commerce-toolbar{grid-template-columns:repeat(2,1fr)}.commerce-toolbar button{width:100%}.commerce-shop-cards{grid-template-columns:1fr}.commerce-overview-panel{grid-template-columns:1fr}.commerce-ranking-card{grid-column:auto}}@media(max-width:700px){.commerce-toolbar-heading,.commerce-panel-heading{align-items:stretch;flex-direction:column}.commerce-sync-state{max-width:none;text-align:left}.commerce-toolbar{grid-template-columns:1fr;padding:16px}.commerce-kpis{grid-template-columns:repeat(2,1fr)}.commerce-tabs{overflow-x:auto}.commerce-tabs button{min-width:105px}.inventory-summary{grid-template-columns:repeat(2,1fr)}.commerce-form-grid{grid-template-columns:1fr}.commerce-search,.commerce-sort{min-width:0}.commerce-heading-actions{align-items:stretch;flex-direction:column}.commerce-shop-cards{padding:12px}.commerce-access-member{grid-template-columns:minmax(0,1fr) 62px 62px}.commerce-insight-metrics{grid-template-columns:repeat(2,1fr);padding:13px}.commerce-trend-chart{height:180px;padding-inline:12px}.commerce-trend-bars{height:138px}.commerce-trend-column small{font-size:7px}.commerce-range-switch{align-self:flex-start}}

/* v0.13.0 · safer AI parsing, SPU/SKU profit and item-level commerce */
.brand-lockup{color:inherit;text-decoration:none}.department-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.department-checkbox-grid label{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e0e3e7;border-radius:10px;background:#fff;font-size:12px}.department-checkbox-grid input{width:auto;margin:0}.commerce-table .commerce-product-title{display:block;max-width:240px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;font-weight:400;color:#202124}.commerce-platform-name,.commerce-shop-name{display:block;white-space:normal}.commerce-platform-name{color:#3c4043;font-weight:700}.commerce-shop-name{margin-top:5px;color:#6b7280;font-size:11px}.commerce-payment strong{display:block;color:#b3261e;font-weight:800}.commerce-payment small{display:block;margin-top:5px;color:#6b7280;font-size:10px;white-space:nowrap}
@media(max-width:700px){.department-checkbox-grid{grid-template-columns:1fr}}

/* v0.14.0 · SKU cost snapshots and protected profit estimates */
.commerce-profit-dialog{width:min(calc(100% - 28px),980px);max-height:90vh;overflow:auto}.commerce-profit-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0;padding:13px;border:1px solid #dbe5f5;border-radius:14px;background:#f5f8fe}.commerce-profit-preview>div{padding:10px;border-radius:10px;background:#fff}.commerce-profit-preview span{display:block;color:#6b7280;font-size:10px}.commerce-profit-preview strong{display:block;margin-top:5px;font-size:18px}.commerce-profit-preview strong.positive{color:#137333}.commerce-profit-preview strong.negative{color:#b3261e}.commerce-profit-preview p{grid-column:1/-1;margin:0;color:#5f6368;font-size:11px}.commerce-cost-section,.commerce-rate-section{margin:15px 0;padding:14px;border:1px solid #e0e4ea;border-radius:14px;background:#fff}.commerce-cost-section p,.commerce-rate-section p{margin:4px 0 12px}.commerce-sku-cost-list{display:grid;gap:8px}.commerce-sku-cost-row{display:grid;grid-template-columns:minmax(150px,1.35fr) repeat(5,minmax(84px,.7fr));align-items:end;gap:8px;padding:11px;border:1px solid #e5e8ed;border-radius:11px;background:#fafbfc}.commerce-sku-cost-row strong,.commerce-sku-cost-row small{display:block;overflow-wrap:anywhere}.commerce-sku-cost-row small{margin-top:4px;color:#6b7280;font-size:9px}.commerce-sku-cost-row label{font-size:9px}.commerce-sku-cost-row input{margin-top:4px;padding:8px;font-size:11px}.commerce-access-member{grid-template-columns:minmax(0,1fr) 62px 62px 62px}.commerce-profit-cell strong,.commerce-profit-cell small{display:block}.commerce-profit-cell small{margin-top:4px;color:#6b7280;font-size:9px}.commerce-cost-missing{color:#9a6700;font-size:10px;font-weight:750}
@media(max-width:800px){.commerce-profit-preview{grid-template-columns:repeat(2,1fr)}.commerce-sku-cost-row{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-sku-cost-row>div{grid-column:1/-1}.commerce-access-member{grid-template-columns:minmax(0,1fr) repeat(3,55px)}}

/* v0.15.4 · roomier commerce tables and data-entry forms */
.commerce-table{width:100%;border-collapse:collapse}
.commerce-table th,.commerce-table td{padding:13px 16px;line-height:1.55;vertical-align:middle;border-bottom:1px solid #e8eaed}
.commerce-table th{padding-top:12px;padding-bottom:12px;white-space:nowrap}
.commerce-table tbody tr:last-child td{border-bottom:0}
.commerce-dialog>form{display:grid;gap:18px;padding:24px 26px 26px}
.commerce-dialog .dialog-title-row{padding-top:0}
.commerce-dialog .commerce-form-grid{gap:16px}
.commerce-dialog .commerce-form-grid label{gap:8px;line-height:1.45}
.commerce-dialog .commerce-form-grid input,.commerce-dialog .commerce-form-grid select{min-height:44px;padding:11px 13px}
.commerce-dialog .commerce-advanced{margin:2px 0;padding:16px}
.commerce-sku-cost-row{gap:10px;padding:14px}
.commerce-sku-cost-row input{min-height:40px;padding:9px 11px}
@media(max-width:700px){.commerce-table th,.commerce-table td{padding:12px 13px}.commerce-dialog>form{padding:21px 18px 22px}}

/* v0.15.5 · delegated deletion approval permission */
.employee-permission-check{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:11px;padding:14px 15px;border:1px solid #d8e2f2;border-radius:12px;background:#f8faff}
.employee-permission-check input{width:auto;margin:3px 0 0}
.employee-permission-check strong,.employee-permission-check small{display:block}
.employee-permission-check small{margin-top:5px;color:#6b7280;font-weight:500;line-height:1.5}
.approval-permission-pill{background:#e8f0fe;color:#174ea6}

/* v0.16.0 · date shortcuts, curve trends, concessions and combo-product rules */
.commerce-toolbar{grid-template-columns:minmax(145px,1fr) minmax(230px,1.25fr) repeat(3,minmax(130px,1fr)) auto}
.commerce-date-quick{display:grid;gap:6px}.commerce-date-quick>span{color:#5f6368;font-size:12px;font-weight:700}.commerce-date-quick>div,.commerce-heading-switches{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.commerce-date-quick button{padding:9px 10px;border-radius:9px;background:#f1f3f4;color:#5f6368;font-size:11px}.commerce-date-quick button.active{background:#e8f0fe;color:#174ea6;box-shadow:inset 0 0 0 1px #c7dafc}.commerce-heading-switches{justify-content:flex-end}.commerce-line-chart{position:relative;display:block;height:194px;padding:0 20px 18px;overflow:visible}.commerce-line-chart canvas{position:absolute;top:0;left:20px;width:calc(100% - 40px)!important;pointer-events:none}.commerce-line-point{position:absolute;z-index:2;width:18px;height:18px;margin:-9px 0 0 -9px;padding:0;border-radius:50%;background:transparent;color:#202124}.commerce-line-point>i{display:block;width:10px;height:10px;margin:4px;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 5px rgba(32,33,36,.3)}.commerce-line-point>b{position:absolute;top:166px;left:50%;color:#80868b;font-size:8px;font-weight:600;transform:translateX(-50%);white-space:nowrap}.commerce-line-point>span{position:absolute;bottom:20px;left:50%;z-index:5;display:none;width:245px;padding:11px 12px;border:1px solid #dadce0;border-radius:11px;background:#202124;color:#fff;box-shadow:0 8px 24px rgba(32,33,36,.28);font-size:11px;line-height:1.5;text-align:left;transform:translateX(-50%)}.commerce-line-point>span strong,.commerce-line-point>span small{display:block}.commerce-line-point>span small{margin-top:5px;color:#d3d7dd;font-size:9px}.commerce-line-point:hover>span,.commerce-line-point:focus-visible>span{display:block}.commerce-line-point:focus-visible{outline:3px solid rgba(26,115,232,.22);outline-offset:2px}.commerce-row-actions{display:flex;gap:6px;flex-wrap:wrap}.commerce-discount-table{min-width:1180px}.commerce-discount-table .discount-amount{color:#b06000;font-weight:800}.commerce-discount-notes{max-width:240px;white-space:normal;overflow-wrap:anywhere}.commerce-discount-preview{padding:14px;border:1px solid #c8daf8;border-radius:12px;background:#f4f7fc;color:#174ea6;font-size:17px;font-weight:800}.commerce-merge-existing{display:grid;gap:8px}.commerce-merge-existing>strong{font-size:12px}.commerce-merge-existing>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e2e6eb;border-radius:10px;background:#fafbfc;font-size:11px}.commerce-merge-existing button{padding:7px 10px;font-size:10px}.commerce-access-member{grid-template-columns:minmax(0,1fr) repeat(5,70px)}
@media(max-width:1180px){.commerce-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-heading-switches{align-items:flex-start;flex-direction:column}.commerce-access-member{grid-template-columns:minmax(130px,1fr) repeat(5,62px)}}
@media(max-width:700px){.commerce-toolbar{grid-template-columns:1fr}.commerce-date-quick>div{display:grid;grid-template-columns:repeat(4,1fr)}.commerce-heading-switches{width:100%}.commerce-heading-switches .commerce-range-switch{max-width:100%;overflow:auto}.commerce-line-chart{padding-inline:12px}.commerce-line-chart canvas{left:12px;width:calc(100% - 24px)!important}.commerce-line-point>b{display:none}.commerce-line-point>span{width:210px}.commerce-access-member{grid-template-columns:1fr 1fr 1fr}.commerce-access-member>div{grid-column:1/-1}}

/* v0.17.0 · 独立产品让利、稳定日期轴与跨店铺 SPU */
.commerce-date-field>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:5px}.commerce-date-field>div input{margin:0}.commerce-date-field>div button{padding:9px 13px}.commerce-line-chart canvas{left:0;width:100%!important}.commerce-line-labels{position:absolute;right:0;bottom:5px;left:0;height:14px;pointer-events:none}.commerce-line-labels b{position:absolute;top:0;color:#80868b;font-size:8px;font-weight:600;line-height:14px;transform:translateX(-50%);white-space:nowrap}.commerce-spu-chip{display:inline-flex;margin-top:7px;padding:4px 8px;border-radius:999px;background:#e8f0fe;color:#174ea6;font-size:10px;font-weight:750;white-space:normal}.commerce-spu-chip.unassigned{background:#f1f3f4;color:#6b7280}.commerce-spu-members{display:grid;gap:7px;padding:12px;border:1px solid #e0e3e7;border-radius:12px;background:#fafbfc}.commerce-spu-members>strong,.commerce-spu-members>span{font-size:12px}.commerce-spu-members>div{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1.3fr) auto;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;background:#fff}.commerce-spu-members b{font-size:11px}.commerce-spu-members small{color:#6b7280;font-size:10px}.commerce-page#product-discounts>.commerce-toolbar-heading{border:1px solid #e0e3e7;border-radius:16px}
@media(max-width:700px){.commerce-line-chart canvas{left:0;width:100%!important}.commerce-line-labels b{font-size:7px}.commerce-spu-members>div{grid-template-columns:1fr}.commerce-spu-members small{margin-top:-5px}}

/* v0.17.2 · 产品让利平台与授权店铺联动筛选 */
.commerce-discount-filters{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(190px,1fr) minmax(220px,1.2fr);gap:10px;align-items:end;width:min(100%,720px)}
.commerce-discount-filters label{min-width:0;margin:0}.commerce-discount-filters select,.commerce-discount-filters input{width:100%}
@media(max-width:900px){.commerce-discount-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-discount-filters .commerce-search{grid-column:1/-1}}
@media(max-width:700px){.commerce-discount-filters{width:100%;grid-template-columns:1fr}.commerce-discount-filters .commerce-search{grid-column:auto}}

/* v0.18.0 · 订单让利留痕、月度额度与主管审批 */
.concession-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.concession-summary-grid article{padding:18px}.concession-summary-grid span,.concession-summary-grid small{display:block;color:#6b7280;font-size:11px}.concession-summary-grid strong{display:block;margin:7px 0 4px;color:#174ea6;font-size:26px}.concession-summary-grid .warning strong{color:#b06000}.concession-record-table{min-width:1060px}.concession-record-table td strong,.concession-record-table td small{display:block}.concession-record-table td small{margin-top:4px;color:#6b7280;font-size:9px}.concession-record-table .concession-reason{max-width:290px;white-space:normal;overflow-wrap:anywhere}.commerce-status.concession-approved{background:#e6f4ea;color:#137333}.commerce-status.concession-pending{background:#fff4e5;color:#b06000}.commerce-status.concession-rejected{background:#fce8e6;color:#b3261e}.concession-review-detail{display:grid;gap:7px;padding:15px;border:1px solid #d8e2f2;border-radius:13px;background:#f7f9fd}.concession-review-detail strong,.concession-review-detail span,.concession-review-detail b{display:block}.concession-review-detail span{color:#5f6368;font-size:11px}.concession-review-detail b{color:#b06000}.concession-review-detail p{margin:2px 0 0;color:#b3261e;font-size:11px;line-height:1.55}.employee-limit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.concession-permission-pill{background:#fff4e5;color:#9a6700}
@media(max-width:760px){.concession-summary-grid{grid-template-columns:1fr}.employee-limit-grid{grid-template-columns:1fr}}

/* v0.18.3 · 产品优惠申请人员授权与订单计算留痕 */
.concession-access-table{min-width:980px}.concession-access-table td>strong,.concession-access-table td>small{display:block}.concession-access-table td>small{margin-top:5px;color:#6b7280;font-size:10px}.concession-shop-chip{display:inline-flex;margin:3px 5px 3px 0;padding:5px 8px;border-radius:999px;background:#e8f0fe;color:#174ea6;font-size:10px;font-weight:700}.concession-access-dialog{width:min(760px,calc(100vw - 28px))}.concession-access-person{display:grid;gap:4px;padding:14px 16px;border:1px solid #d8e2f2;border-radius:13px;background:#f7f9fd}.concession-access-person strong{color:#174ea6;font-size:17px}.concession-access-person span,.concession-access-person small{color:#5f6368}.concession-access-person small{font-size:10px}.concession-shop-permissions{display:grid;gap:8px;max-height:340px;margin-top:10px;overflow:auto}.concession-shop-permission{display:grid;grid-template-columns:minmax(190px,1fr) auto auto;align-items:center;gap:16px;padding:12px 14px;border:1px solid #e0e3e7;border-radius:12px;background:#fff}.concession-shop-permission>div strong,.concession-shop-permission>div small{display:block}.concession-shop-permission>div small{margin-top:3px;color:#6b7280;font-size:10px}.concession-shop-permission label{display:flex;align-items:center;gap:7px;margin:0;font-size:11px;white-space:nowrap}.concession-record-table td .discount-amount strong{color:#b06000}.concession-record-table td .discount-amount small{font-weight:500;white-space:normal}
@media(max-width:700px){.concession-shop-permission{grid-template-columns:1fr}.concession-shop-permission label{white-space:normal}}

/* v0.19.0 · 平台日报导入、指定日期提醒与产品优惠申请授权页面 */
.concession-access-panel .table-wrap{max-width:100%;overflow-x:auto}
.concession-access-table{width:100%;min-width:920px;table-layout:fixed}
.concession-access-table th:nth-child(1){width:14%}.concession-access-table th:nth-child(2){width:30%}.concession-access-table th:nth-child(3){width:15%}.concession-access-table th:nth-child(4){width:18%}.concession-access-table th:nth-child(5){width:12%}.concession-access-table th:nth-child(6){width:140px}
.concession-access-table td{min-width:0;overflow-wrap:anywhere}
.concession-shop-chip-list{display:flex;min-width:0;max-width:100%;flex-wrap:wrap;align-items:center;gap:6px}
.concession-shop-chip{min-width:0;max-width:100%;margin:0;white-space:normal;overflow-wrap:anywhere}
.concession-shop-more{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f1f3f4;color:#5f6368;font-size:10px;font-weight:700;white-space:nowrap}
.concession-access-dialog,.concession-access-dialog form{max-width:calc(100vw - 28px);min-width:0;overflow-x:hidden}
.concession-shop-permissions{min-width:0;overflow-x:hidden;overflow-y:auto}
.concession-shop-permission{min-width:0}.concession-shop-permission>div{min-width:0}.concession-shop-permission>div strong{white-space:normal;overflow-wrap:anywhere}

/* 等待任务优先展示，已完成任务默认折叠 */
.dashboard-filter-bar>div{display:flex;align-items:center;gap:8px}.completed-fold{border:1px solid #d5dae1;border-radius:9px;background:#fff;color:#5f6368;padding:7px 11px;font-size:12px;font-weight:750}.completed-fold:hover{border-color:#9aa0a6;background:#f7f8f9}.completed-fold:disabled{cursor:default;opacity:.55}.personal-filter:disabled{cursor:default;opacity:.55}
.field-note{margin:8px 0 0;color:#6b7280;font-size:12px;line-height:1.55}
.commerce-import-file.optional{border-style:solid;background:#f7f9fd}.commerce-import-reconcile.needs_item_mapping{background:#fce8e6;color:#b3261e}.commerce-import-reconcile.needs_sku_mapping{background:#fef7e0;color:#8a5700}

/* v0.20.10 · 后台今日任务完整设定详情 */
.dashboard-task-settings{margin-top:13px;border:1px solid #dce3ea;border-radius:12px;background:rgba(255,255,255,.82);overflow:hidden}.dashboard-task-settings summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;color:#315277;font-size:12px;font-weight:800;cursor:pointer;list-style:none}.dashboard-task-settings summary::-webkit-details-marker{display:none}.dashboard-task-settings summary::after{content:"⌄";margin-left:auto;color:#6b7a8d;font-size:16px;line-height:1;transition:transform .18s ease}.dashboard-task-settings[open] summary::after{transform:rotate(180deg)}.dashboard-task-settings summary small{color:#7b8797;font-size:10px;font-weight:600}.dashboard-task-settings-content{display:grid;gap:12px;padding:13px;border-top:1px solid #e4e8ed}.dashboard-task-description{padding:11px 12px;border-radius:10px;background:#f7f9fc}.dashboard-task-description span,.dashboard-setting-grid span,.dashboard-custom-dates>span{display:block;margin-bottom:5px;color:#7a8696;font-size:10px;font-weight:750}.dashboard-task-description p{margin:0;color:#26364a;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.dashboard-setting-grid{display:grid;grid-template-columns:repeat(3,minmax(145px,1fr));gap:8px}.dashboard-setting-grid>div{min-width:0;padding:9px 10px;border:1px solid #e6e9ed;border-radius:9px;background:#fff}.dashboard-setting-grid strong{display:block;color:#314157;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.dashboard-setting-grid .dashboard-setting-wide{grid-column:span 3}.dashboard-custom-dates{padding:10px 11px;border:1px solid #e6e9ed;border-radius:9px;background:#fff}.dashboard-custom-dates>div{display:flex;gap:6px;flex-wrap:wrap}.dashboard-custom-dates b{padding:5px 8px;border-radius:99px;background:#e8f0fe;color:#174ea6;font-size:10px;font-weight:700}
@media(max-width:850px){.dashboard-setting-grid{grid-template-columns:1fr 1fr}.dashboard-setting-grid .dashboard-setting-wide{grid-column:span 2}}
@media(max-width:560px){.dashboard-task-settings summary small{display:none}.dashboard-setting-grid{grid-template-columns:1fr}.dashboard-setting-grid .dashboard-setting-wide{grid-column:auto}}
