/* Workbench layout using the Arsenal shared UI tokens. */
.ep-root{--ep-green:var(--ui-color-primary);--ep-ink:var(--ui-color-text);--ep-muted:var(--ui-color-text-secondary);--ep-line:var(--ui-color-border);--ep-bg:var(--ui-color-surface-subtle);color:var(--ep-ink);font:13px Inter,"PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;background:var(--ep-bg);border:1px solid var(--ep-line);border-radius:12px;overflow:hidden;min-height:540px}
.ep-root *{box-sizing:border-box}.ep-root [hidden]{display:none!important}.ep-root button,.ep-root input,.ep-root select,.ep-root textarea{font:inherit}.ep-root button{cursor:pointer;border:1px solid var(--ui-color-border);border-radius:6px;padding:8px 12px;background:white;color:var(--ui-color-text-secondary);line-height:1.4;transition:background .12s,border-color .12s}.ep-root button:hover{background:var(--ui-color-surface-subtle);border-color:var(--ui-color-text-muted)}.ep-root button:active{transform:translateY(1px)}.ep-root button:disabled{opacity:.45;cursor:default;transform:none}.ep-root button:focus-visible,.ep-root input:focus-visible,.ep-root select:focus-visible,.ep-root textarea:focus-visible,.ep-root [tabindex]:focus-visible{outline:2px solid var(--ui-color-text-muted);outline-offset:2px}.ep-root .ep-primary{background:var(--ep-green);color:white;border-color:var(--ep-green)}.ep-root .ep-primary:hover{background:var(--ui-color-primary)}.ep-root .ep-danger{color:var(--ui-color-text-secondary);border-color:var(--ui-color-border-strong)}.ep-root input,.ep-root select,.ep-root textarea{border:1px solid var(--ui-color-border);background:white;border-radius:6px;padding:8px 10px;color:var(--ui-color-text);min-width:0}.ep-root input[type=checkbox]{accent-color:var(--ep-green);width:15px;height:15px;padding:0;margin:0;flex-shrink:0}.ep-root input:disabled,.ep-root select:disabled,.ep-root textarea:disabled{background:var(--ui-color-surface-subtle);color:var(--ui-color-text-secondary)}.ep-root h2,.ep-root h3,.ep-root h4,.ep-root p{margin-top:0;text-wrap:pretty}.ep-root .ep-muted{color:var(--ep-muted);font-size:12px;line-height:1.8}.ep-root .ep-empty{padding:40px 16px;text-align:center;color:var(--ep-muted);font-size:13px;line-height:2}.ep-root .ep-empty button{margin-top:12px}.ep-root .ep-layout{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:660px}.ep-root .ep-sidebar{padding:24px 14px;border-right:1px solid var(--ep-line);background:white;display:flex;flex-direction:column;gap:12px;min-width:0}.ep-root .ep-bank-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.ep-root .ep-bank-head h3{font-size:15px;margin:0}.ep-root .ep-bank-head button{padding:3px 9px;font-size:20px}.ep-root .ep-sidebar>.ep-muted{margin:0;font-size:11px}.ep-root .ep-sidebar>.ep-muted:last-child{padding-top:18px;border-top:1px solid var(--ep-line)}.ep-root .ep-bank{flex:1;max-height:660px;overflow:auto;scrollbar-width:thin}.ep-root .ep-bank .ep-empty{font-size:12px;padding:32px 8px}.ep-root .ep-template{border:1px solid var(--ep-line);border-radius:8px;padding:13px;margin-bottom:10px;background:var(--ui-color-surface);overflow-wrap:anywhere}.ep-root .ep-template b{font-size:13px;line-height:1.6}.ep-root .ep-template p{font-size:11px;color:var(--ep-muted);margin:7px 0 10px}.ep-root .ep-template div{display:flex;gap:7px}.ep-root .ep-template button{font-size:11px;padding:4px 9px}.ep-root .ep-main{padding:24px;min-width:0}.ep-root .ep-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px;border:0;background:none;padding:0;height:auto;position:static}.ep-root .ep-heading h2{font-size:24px;font-weight:650;letter-spacing:-.6px;margin:0 0 7px;line-height:1.3}.ep-root .ep-heading p{color:var(--ep-muted);font-size:12px;margin:0}.ep-root .ep-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ep-root .ep-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.ep-root .ep-overview>div{background:white;border:1px solid var(--ep-line);border-radius:9px;padding:15px 17px}.ep-root .ep-overview span{display:block;color:var(--ep-muted);font-size:12px;margin-bottom:11px}.ep-root .ep-overview b{font-size:28px;line-height:1.1;font-weight:650;color:var(--ui-color-text-secondary);font-variant-numeric:tabular-nums}.ep-root .ep-overview small{font-size:11px;font-weight:400;margin-left:7px;color:var(--ep-muted)}.ep-root .ep-toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:14px}.ep-root .ep-period{display:flex;align-items:center;gap:8px}.ep-root .ep-period strong{font-size:13px;font-weight:550;white-space:nowrap}.ep-root .ep-period button{padding:5px 9px}.ep-root .ep-tabs{display:flex;gap:2px;background:var(--ui-color-border);border-radius:6px;padding:3px}.ep-root .ep-tabs button{border:0;background:transparent;color:var(--ui-color-text-secondary);font-size:12px;padding:6px 10px}.ep-root .ep-tabs .ep-active{background:white;color:var(--ep-green);box-shadow:0 1px 3px rgba(15,32,51,.12)}.ep-root .ep-toolbar select{font-size:12px;max-width:150px}.ep-root .ep-selection{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:12px;min-height:30px}.ep-root .ep-selection button{font-size:11px;padding:5px 10px}.ep-root .ep-selection [aria-pressed=true]{background:var(--ep-green);color:white}.ep-root .ep-selection span{font-size:11px;color:var(--ep-muted);margin-left:auto}.ep-root .ep-calendar-wrap{overflow:auto;border:1px solid var(--ep-line);border-radius:10px;background:var(--ui-color-surface-subtle);max-height:750px;scrollbar-width:thin;position:relative;isolation:isolate}.ep-root .ep-calendar{display:grid;grid-template-columns:repeat(var(--ep-days),minmax(205px,1fr));gap:1px;min-width:min-content;align-items:start}.ep-root .ep-day{min-width:0;background:var(--ui-color-surface-subtle);padding:0 7px 8px;min-height:390px}.ep-root .ep-day-head{display:flex;align-items:center;gap:9px;position:sticky;top:0;z-index:2;padding:14px 5px 12px;background:var(--ui-color-surface-subtle);color:var(--ui-color-text-secondary);min-height:58px}.ep-root .ep-day-head b{font-size:21px;font-weight:600;line-height:1.5}.ep-root .ep-day-head span,.ep-root .ep-day-head small{font-size:11px}.ep-root .ep-day-head.ep-today b{background:var(--ep-green);color:white;min-width:33px;text-align:center;border-radius:50%}.ep-root .ep-person{border:1px solid var(--ui-color-border);border-radius:8px;background:white;margin:0 0 9px;min-height:230px;display:flex;flex-direction:column;overflow:hidden}.ep-root .ep-person>header{display:flex;justify-content:space-between;align-items:center;padding:11px 10px;background:var(--ui-color-surface-subtle);border:0;border-bottom:1px solid var(--ui-color-border);font-size:12px;height:auto;position:static}.ep-root .ep-person>header b{font-weight:600;overflow-wrap:anywhere}.ep-root .ep-person>header span{font-size:10px;color:var(--ui-color-text-secondary);white-space:nowrap;margin-left:5px}.ep-root .ep-person-tasks{padding:8px;flex:1}.ep-root .ep-task{border:1px solid var(--ui-color-border);border-radius:6px;background:white;padding:10px;margin:0 0 7px;cursor:pointer;user-select:none;transition:border-color .12s,background .12s}.ep-root .ep-task:hover{border-color:var(--ui-color-text-muted);background:var(--ui-color-surface)}.ep-root .ep-task[draggable=true]{cursor:grab}.ep-root .ep-task[draggable=true]:active{cursor:grabbing}.ep-root .ep-task.ep-selected{background:var(--ui-color-primary-soft);border-color:var(--ui-color-text-secondary);box-shadow:inset 0 0 0 1px var(--ui-color-text-secondary)}.ep-root .ep-task-top{display:flex;justify-content:space-between;gap:5px;align-items:center}.ep-root .ep-label{display:inline-block;background:var(--ui-color-surface-subtle);color:var(--ui-color-text-secondary);border-radius:4px;padding:3px 6px;font-size:10px;white-space:nowrap}.ep-root .ep-status{font-size:10px;color:var(--ui-color-text-secondary);background:var(--ui-color-surface-subtle);padding:3px 5px;border-radius:4px;white-space:nowrap}.ep-root .ep-status[data-status=进行中]{background:var(--ui-color-surface-subtle);color:var(--ui-color-text-secondary)}.ep-root .ep-status[data-status=已完成]{background:var(--ui-color-surface-subtle);color:var(--ui-color-text-secondary)}.ep-root .ep-task h4{font-size:12px;line-height:1.7;margin:8px 0 5px;font-weight:550;overflow-wrap:anywhere}.ep-root .ep-task>p{font-size:10px;color:var(--ui-color-text-muted);line-height:1.7;margin:0 0 6px;overflow-wrap:anywhere}.ep-root .ep-task-tags{display:flex;flex-wrap:wrap;gap:4px}.ep-root .ep-task-tags span{background:var(--ui-color-surface-subtle);border-radius:4px;padding:3px 5px;font-size:10px;color:var(--ui-color-text-secondary);overflow-wrap:anywhere}.ep-root .ep-task-tags span:nth-child(3n+2){background:var(--ui-color-primary-soft);color:var(--ui-color-text-secondary)}.ep-root .ep-task-tags span:nth-child(3n+3){background:var(--ui-color-surface-subtle);color:var(--ui-color-text-secondary)}.ep-root .ep-task footer{display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid var(--ui-color-border);padding-top:8px;margin-top:9px;font-size:10px;color:var(--ui-color-text-muted)}.ep-root .ep-task footer b{font-size:12px;white-space:nowrap;color:var(--ui-color-text-secondary)}.ep-root .ep-task .ep-note{border-top:1px dashed var(--ui-color-border);margin:8px 0 0;padding-top:6px}.ep-root .ep-no-task{padding:38px 3px;text-align:center;color:var(--ui-color-text-muted);font-size:11px}.ep-root .ep-add{border:0;background:transparent;color:var(--ui-color-text-muted);padding:8px 6px;border-top:1px dashed var(--ui-color-border);border-radius:0;width:100%;font-size:11px;margin-top:auto}.ep-root .ep-marquee{position:fixed;z-index:3000;pointer-events:none;border:1px solid var(--ui-color-text-secondary);background:rgba(15,32,51,.12);border-radius:2px}.ep-root .ep-select-mode,.ep-root .ep-select-mode .ep-task{cursor:crosshair;touch-action:none}.ep-root .ep-account-main{padding:26px}.ep-root .ep-account-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;align-items:center}.ep-root .ep-account-filters input{min-width:230px;flex:1}.ep-root .ep-account-filters select{max-width:170px}.ep-root .ep-table-wrap{border:1px solid var(--ep-line);border-radius:9px;overflow:auto;background:white}.ep-root table{width:100%;border-collapse:collapse;min-width:720px;font-size:12px;text-align:left}.ep-root th{background:var(--ui-color-surface-subtle);color:var(--ui-color-text-secondary);padding:13px 15px;font-weight:500;white-space:nowrap;border-bottom:1px solid var(--ep-line)}.ep-root td{padding:15px;border-bottom:1px solid var(--ui-color-border);vertical-align:middle;max-width:300px;overflow-wrap:anywhere}.ep-root tbody tr:hover{background:var(--ui-color-surface)}.ep-root td b{font-weight:550;color:var(--ui-color-text)}.ep-root td small{display:block;color:var(--ui-color-text-muted);font-size:10px;margin-top:7px}.ep-root td button{padding:5px 9px;font-size:11px;white-space:nowrap}.ep-root .ep-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:16px;color:var(--ep-muted);font-size:12px}.ep-root .ep-pagination span{margin-right:auto}.ep-root .ep-dialog{border:1px solid var(--ui-color-border);border-radius:12px;padding:24px;width:660px;max-width:94vw;max-height:88dvh;overflow:auto;box-shadow:0 25px 90px rgba(15,32,51,.12);background:white;color:var(--ep-ink);margin:auto}.ep-root .ep-dialog::backdrop{background:rgba(15,32,51,.12)}.ep-root .ep-dialog form>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ep-line);padding:0 0 15px;margin-bottom:17px;height:auto;background:transparent;position:static}.ep-root .ep-dialog h3{font-size:20px;font-weight:600;margin:0;letter-spacing:-.4px}.ep-root .ep-dialog header button{padding:3px 10px;font-size:20px}.ep-root .ep-dialog label{display:block;font-size:12px;color:var(--ui-color-text-secondary);margin:14px 0 0}.ep-root .ep-dialog label>input:not([type=checkbox]),.ep-root .ep-dialog label>select,.ep-root .ep-dialog label>textarea{display:block;width:100%;margin-top:7px}.ep-root .ep-dialog label small{font-size:10px;display:block;margin-top:5px}.ep-root .ep-form-row{display:flex;gap:13px}.ep-root .ep-form-row>label{flex:1;min-width:0}.ep-root .ep-dialog fieldset{border:1px solid var(--ep-line);border-radius:7px;padding:10px 12px 13px;margin:18px 0 0;min-width:0}.ep-root .ep-dialog legend{font-size:12px;color:var(--ui-color-text-secondary);padding:0 5px}.ep-root .ep-checks{display:flex;gap:9px 15px;flex-wrap:wrap;max-height:160px;overflow:auto}.ep-root .ep-checks label,.ep-root .ep-dialog .ep-inline-check{display:flex;align-items:center;gap:7px;margin:4px 0;font-size:12px}.ep-root .ep-dialog .ep-inline-check{margin-top:18px}.ep-root .ep-products{max-height:270px;overflow:auto;scrollbar-width:thin}.ep-root .ep-product-row{display:grid;grid-template-columns:minmax(0,1fr) 75px 75px;gap:9px;align-items:center;padding:7px 0}.ep-root .ep-product-row+.ep-product-row{border-top:1px dashed var(--ui-color-primary-soft)}.ep-root .ep-product-row>label{display:flex;align-items:center;gap:7px;margin:0;overflow-wrap:anywhere;color:var(--ui-color-text-secondary)}.ep-root .ep-product-row input[type=number]{width:100%}.ep-root .ep-product-row select{font-size:11px;padding:8px 6px}.ep-root .ep-quantity-total{background:var(--ui-color-surface-subtle);border:1px solid var(--ui-color-primary-soft);padding:12px 14px;border-radius:6px;margin-top:16px;color:var(--ui-color-text-secondary);font-size:13px}.ep-root .ep-dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:18px;margin-top:19px;border-top:1px solid var(--ep-line)}.ep-root .ep-form-error{font-size:12px;color:var(--ui-color-text-secondary);line-height:1.7;margin:12px 0 0}.ep-root .ep-form-error:empty{display:none}.ep-root .ep-daily{max-height:250px;overflow:auto;scrollbar-width:thin}.ep-root .ep-daily-row{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-top:1px dashed var(--ui-color-border);flex-wrap:wrap}.ep-root .ep-daily-row>label{display:flex;gap:6px;align-items:center;margin:0;max-width:180px;font-size:11px}.ep-root .ep-daily-row>label:first-child{min-width:110px;padding-top:7px}.ep-root .ep-daily-row label>input[type=number]{width:65px;margin:0;flex-shrink:0}.ep-root .ep-paste-preview{border:1px solid var(--ep-line);background:var(--ui-color-surface-subtle);border-radius:6px;margin-top:18px;padding:12px 15px;max-height:240px;overflow:auto}.ep-root .ep-paste-preview p{display:flex;justify-content:space-between;font-size:12px;color:var(--ui-color-text-secondary);margin:0;padding:6px 0}.ep-root .ep-account-identity{padding:14px;background:var(--ui-color-surface-subtle);border-radius:7px;overflow-wrap:anywhere}.ep-root .ep-account-identity>b{font-size:15px;color:var(--ui-color-text-secondary)}.ep-root .ep-account-identity p{font-size:11px;color:var(--ui-color-text-secondary);margin:8px 0 0}
@media(min-width:1700px){.ep-root .ep-calendar{grid-template-columns:repeat(var(--ep-days),minmax(220px,1fr))}.ep-root .ep-person{min-height:260px}}
@media(max-width:1100px){.ep-root .ep-layout{grid-template-columns:170px minmax(0,1fr)}.ep-root .ep-main{padding:18px}.ep-root .ep-heading{align-items:flex-start}.ep-root .ep-heading h2{font-size:21px}.ep-root .ep-overview{gap:8px}.ep-root .ep-overview>div{padding:13px}.ep-root .ep-selection span{width:100%;margin:0}}
@media(max-width:700px){.ep-root .ep-layout{display:flex;flex-direction:column;min-height:0}.ep-root .ep-sidebar{border-right:0;border-bottom:1px solid var(--ep-line);padding:13px 15px;gap:7px}.ep-root .ep-sidebar>.ep-muted:last-child{display:none}.ep-root .ep-bank{display:flex;gap:8px;max-height:145px;overflow:auto}.ep-root .ep-template{min-width:160px;margin:0;padding:10px}.ep-root .ep-bank .ep-empty{padding:12px}.ep-root .ep-main,.ep-root .ep-account-main{padding:16px}.ep-root .ep-heading{flex-direction:column;gap:12px}.ep-root .ep-overview{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:15px}.ep-root .ep-overview b{font-size:24px}.ep-root .ep-calendar-wrap{max-height:650px}.ep-root .ep-toolbar{gap:12px}.ep-root .ep-period{gap:5px}.ep-root .ep-period strong{font-size:11px}.ep-root .ep-toolbar select{max-width:125px}.ep-root .ep-selection button{padding:6px 8px}.ep-root .ep-dialog{padding:18px 15px}.ep-root .ep-dialog h3{font-size:18px}.ep-root .ep-form-row{gap:10px;flex-wrap:wrap}.ep-root .ep-form-row>label{flex:1 1 130px}.ep-root .ep-product-row{grid-template-columns:minmax(0,1fr) 64px 62px;gap:6px}.ep-root .ep-account-filters input{min-width:100%;}.ep-root .ep-account-filters select{flex:1;max-width:none;min-width:110px}.ep-root .ep-pagination{gap:5px;font-size:11px}}

/* Latest reference: compact board, real summaries and a shared assignment editor. */
.ep-root .ep-layout { display:flex; flex-direction:column; min-height:660px; }
.ep-root .ep-main { padding:20px 24px 24px; }
.ep-root .ep-sidebar { display:block; border:0; border-bottom:1px solid var(--ep-line); padding:9px 24px; background:var(--ui-color-surface); }
.ep-root .ep-sidebar>summary { cursor:pointer; font-size:11px; color:var(--ep-muted); }
.ep-root .ep-sidebar-content { padding:12px 0; }
.ep-root .ep-sidebar-content>.ep-muted { margin:8px 0 0; }
.ep-root .ep-bank { display:flex; gap:10px; overflow:auto; max-height:180px; }
.ep-root .ep-template { flex:0 0 200px; }
.ep-root .ep-bank .ep-empty { padding:15px; text-align:left; }
.ep-root .ep-heading { margin-bottom:18px; }
.ep-root .ep-two-kpi { grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:12px; }
.ep-root .ep-two-kpi>div { padding:17px 20px; }
.ep-root .ep-two-kpi>div:first-child { background:var(--ui-color-surface-subtle); border-color:var(--ui-color-border-strong); }
.ep-root .ep-two-kpi span { margin-bottom:8px; }
.ep-root .ep-two-kpi b { font-size:27px; color:var(--ep-green); }
.ep-root .ep-type-tabs { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.ep-root .ep-type-tabs button { padding:8px 14px; font-size:12px; }
.ep-root .ep-type-tabs b { margin-left:9px; font-weight:600; }
.ep-root .ep-active { background:var(--ep-green); border-color:var(--ep-green); color:white; }
.ep-root .ep-summary-columns { display:grid; grid-template-columns:1fr 1fr 2.2fr; border:1px solid var(--ep-line); border-radius:9px; background:white; margin:0 0 18px; min-height:200px; overflow:hidden; }
.ep-root .ep-summary-columns>section { padding:16px; min-width:0; max-height:290px; overflow:auto; }
.ep-root .ep-summary-columns>section+section { border-left:1px solid var(--ui-color-surface-subtle); }
.ep-root .ep-summary-columns>section:first-child { background:var(--ui-color-surface); }
.ep-root .ep-summary-columns h4 { font-size:12px; margin:0 0 12px; color:var(--ui-color-text-secondary); font-weight:550; }
.ep-root .ep-summary-columns h4>small { float:right; font-size:10px; font-weight:400; }
.ep-root .ep-summary-columns h4>small span { margin-left:28px; }
.ep-root .ep-summary-columns button { display:flex; justify-content:space-between; gap:9px; width:100%; border-color:transparent; background:transparent; text-align:left; padding:10px 9px; margin-bottom:4px; font-size:12px; }
.ep-root .ep-summary-columns button b { font-size:11px; white-space:nowrap; }
.ep-root .ep-summary-columns button.ep-active { color:var(--ep-green); background:var(--ui-color-primary-soft); border-color:var(--ui-color-border-strong); box-shadow:inset 2px 0 var(--ep-green); }
.ep-root .ep-summary-columns p { display:flex; align-items:center; gap:22px; margin:0; padding:10px 0; border-bottom:1px solid var(--ui-color-surface-subtle); font-size:12px; }
.ep-root .ep-summary-columns p>span { flex:1; overflow-wrap:anywhere; }
.ep-root .ep-summary-columns p small { font-size:9px; color:var(--ep-muted); margin-left:7px; }
.ep-root .ep-summary-columns p b,.ep-root .ep-summary-columns p strong { color:var(--ep-green); white-space:nowrap; font-size:14px; font-weight:600; }
.ep-root .ep-toolbar { justify-content:flex-start; gap:10px; }
.ep-root .ep-toolbar>.ep-actions { flex:1; }
.ep-root .ep-person-shortcuts { display:flex; gap:4px; flex-wrap:wrap; }
.ep-root .ep-person-shortcuts button { padding:6px 9px; font-size:11px; }
.ep-root .ep-calendar { grid-template-columns:repeat(var(--ep-days),minmax(170px,1fr)); }
.ep-root .ep-calendar-wrap { background:white; max-height:790px; }
.ep-root .ep-day { padding:0 6px 8px; background:var(--ui-color-surface); }
.ep-root .ep-day+.ep-day { border-left:1px solid var(--ui-color-surface-subtle); }
.ep-root .ep-day-head { justify-content:center; padding:10px 5px; min-height:58px; background:var(--ui-color-surface); }
.ep-root .ep-day-head b { font-size:19px; }
.ep-root .ep-person { min-height:160px; border-radius:5px; margin-bottom:8px; }
.ep-root .ep-person>header { padding:8px; background:var(--ui-color-surface-subtle); font-size:11px; }
.ep-root .ep-person-tasks { padding:6px; }
.ep-root .ep-task { border:1px solid transparent; border-bottom-color:var(--ui-color-border); border-radius:3px; padding:5px 2px 8px; margin-bottom:6px; }
.ep-root .ep-task h4 { margin:7px 0 5px; font-size:11px; color:var(--ui-color-text-secondary); }
.ep-root .ep-task-tags { gap:3px; }
.ep-root .ep-countries { margin-top:5px; }
.ep-root .ep-countries span { font-size:9px; padding:2px 4px; }
.ep-root .ep-product-chip { display:flex; gap:3px; justify-content:space-between; align-items:center; margin-bottom:4px; }
.ep-root .ep-product-chip>span { font-size:10px; border-radius:3px; padding:3px 4px; line-height:1.4; overflow-wrap:anywhere; }
.ep-root .ep-product-chip small { white-space:nowrap; font-size:8px; color:var(--ui-color-text-secondary); }
.ep-root .ep-color-0 { background:var(--ui-color-primary-soft); color:var(--ui-color-text-secondary); }
.ep-root .ep-color-1 { background:var(--ui-color-primary-soft); color:var(--ui-color-text-secondary); }
.ep-root .ep-color-2 { background:var(--ui-color-primary-soft); color:var(--ui-color-text-muted); }
.ep-root .ep-color-3 { background:var(--ui-color-primary-soft); color:var(--ui-color-text-secondary); }
.ep-root .ep-task footer { margin-top:5px; padding-top:3px; border:0; font-size:8px; }
.ep-root .ep-task footer b { font-size:10px; }
.ep-root .ep-add { font-size:10px; padding:7px; }
.ep-root .ep-context-menu { position:fixed; z-index:4000; width:225px; padding:5px; border:1px solid var(--ep-line); box-shadow:0 8px 30px rgba(15,32,51,.12); border-radius:7px; background:white; }
.ep-root .ep-context-menu button { display:block; width:100%; border:0; text-align:left; }
.ep-root .ep-task-dialog { width:1040px; max-width:94vw; padding:24px; max-height:92dvh; }
.ep-root .ep-task-dialog form>header { position:sticky; top:0; z-index:9; background:white; border:0; border-bottom:1px solid var(--ep-line); padding:6px 0 10px; margin-bottom:12px; }
.ep-root .ep-task-dialog h3 { font-size:18px; }
.ep-root .ep-editor-split { display:grid; grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr); gap:26px; align-items:start; }
.ep-root .ep-editor-overview { border:1px solid var(--ui-color-primary-soft); border-radius:8px; padding:20px; background:var(--ui-color-surface-subtle); position:sticky; top:54px; max-height:calc(92dvh - 160px); overflow:auto; }
.ep-root .ep-editor-overview h4 { font-size:14px; margin-bottom:14px; }
.ep-root .ep-editor-overview .ep-tabs { background:transparent; padding:0; margin-bottom:12px; gap:5px; }
.ep-root .ep-editor-overview .ep-tabs button { border:1px solid var(--ui-color-border); border-radius:4px; background:white; padding:5px 9px; }
.ep-root .ep-editor-overview .ep-tabs button.ep-active { background:var(--ep-green); color:white; }
.ep-root .ep-summary-period { font-size:10px; margin:8px 0 12px; }
.ep-root .ep-mini-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-bottom:18px; }
.ep-root .ep-mini-stats>div { background:white; border:1px solid var(--ui-color-border); padding:10px 8px; border-radius:5px; color:var(--ep-muted); font-size:9px; }
.ep-root .ep-mini-stats b { display:block; color:var(--ui-color-text-secondary); font-size:22px; margin-top:7px; }
.ep-root .ep-mini-stats small { font-size:9px; margin-left:3px; }
.ep-root .ep-summary-shop { border-top:1px solid var(--ui-color-primary-soft); margin-top:15px; padding-top:14px; font-size:12px; }
.ep-root .ep-summary-shop>strong { float:right; font-size:11px; color:var(--ui-color-text-secondary); }
.ep-root .ep-summary-shop h5 { font-size:10px; margin:12px 0 6px; color:var(--ui-color-text-secondary); }
.ep-root .ep-summary-shop p { display:flex; justify-content:space-between; gap:10px; margin:7px 0 0; font-size:11px; line-height:1.4; }
.ep-root .ep-summary-shop p b { white-space:nowrap; font-size:10px; }
.ep-root .ep-editor-fields { min-width:0; }
.ep-root .ep-mode-tabs { display:inline-flex; margin:0 0 12px; }
.ep-root .ep-task-dialog label { font-size:11px; margin-top:7px; }
.ep-root .ep-task-dialog input,.ep-root .ep-task-dialog select { min-height:30px; height:30px; padding:5px 8px; line-height:18px; }
.ep-root .ep-task-dialog input[type=checkbox] { width:15px; height:15px; min-height:0; padding:0; }
.ep-root .ep-task-dialog textarea { min-height:48px; padding:5px 8px; line-height:18px; }
.ep-root .ep-task-dialog label>input:not([type=checkbox]),.ep-root .ep-task-dialog label>select,.ep-root .ep-task-dialog label>textarea { margin-top:4px; }
.ep-root .ep-picker { position:relative; margin-top:8px; }
.ep-root .ep-task-dialog .ep-picker>label { margin-top:0; }
.ep-root .ep-picker-chips { display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
.ep-root .ep-picker-chips button { padding:4px 7px; font-size:10px; background:var(--ui-color-primary-soft); color:var(--ui-color-text-secondary); border-color:var(--ui-color-border); }
.ep-root .ep-picker-chips span { margin-left:7px; }
.ep-root .ep-picker-results { position:absolute; top:100%; left:0; right:0; max-height:210px; overflow:auto; background:white; border:1px solid var(--ep-line); border-radius:5px; z-index:5; box-shadow:0 8px 24px rgba(15,32,51,.12); padding:5px; }
.ep-root .ep-picker-results button { display:block; width:100%; border:0; font-size:12px; text-align:left; }
.ep-root .ep-products { max-height:330px; margin-top:12px; }
.ep-root .ep-product-row { grid-template-columns:minmax(0,1fr) 78px 125px; gap:7px; padding:8px 0; }
.ep-root .ep-product-row>b { font-size:11px; font-weight:500; overflow-wrap:anywhere; }
.ep-root .ep-stepper { display:flex; align-items:center; }
.ep-root .ep-stepper button { padding:6px 8px; border-radius:4px; }
.ep-root .ep-stepper input { width:50px; text-align:center; padding:6px 2px; margin:0 3px; -moz-appearance:textfield; }
.ep-root .ep-stepper input::-webkit-inner-spin-button { -webkit-appearance:none; }
.ep-root .ep-people-chips { margin-top:8px; max-height:130px; gap:5px; }
.ep-root .ep-people-chips label { display:flex; gap:5px; background:var(--ui-color-surface-subtle); border:1px solid var(--ui-color-primary-soft); border-radius:5px; padding:6px 8px; margin:0; }
.ep-root .ep-people-chips label:has(input:checked) { background:var(--ui-color-primary-soft); border-color:var(--ui-color-text-muted); color:var(--ep-green); }
.ep-root .ep-people-actions { display:flex; justify-content:flex-end; gap:5px; margin-top:-18px; }
.ep-root .ep-people-actions button { font-size:10px; padding:3px 7px; }
.ep-root .ep-batch-week { display:flex; flex-wrap:wrap; align-items:center; gap:8px; justify-content:space-between; margin-top:15px; }
.ep-root .ep-batch-week button { padding:4px 7px; font-size:10px; }
.ep-root .ep-batch-week b { font-size:10px; }
.ep-root .ep-week-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; margin-top:8px; }
.ep-root .ep-week-days button { padding:6px 2px; }
.ep-root .ep-week-days small,.ep-root .ep-week-days b { display:block; font-size:10px; }
.ep-root .ep-week-days b { margin-top:5px; font-size:14px; }
.ep-root .ep-daily-details { margin-top:16px; font-size:11px; color:var(--ui-color-text-secondary); }
.ep-root .ep-daily-details>summary { cursor:pointer; }
.ep-root .ep-daily { margin-top:10px; }
.ep-root .ep-daily-row label { margin:0; }
.ep-root .ep-task-dialog .ep-dialog-actions { position:sticky; bottom:0; z-index:8; background:white; margin:12px 0 0; padding:10px 0 4px; box-shadow:0 -5px 10px rgba(15,32,51,.12); }
.ep-root .ep-account-selection { display:flex; align-items:center; gap:12px; margin-bottom:15px; font-size:11px; color:var(--ep-muted); }
.ep-root .ep-account-selection label { display:flex; align-items:center; gap:6px; }
.ep-root .ep-account-selection button { padding:5px 10px; font-size:11px; }
.ep-root .ep-account-group-layout { display:grid; grid-template-columns:170px minmax(0,1fr); gap:16px; }
.ep-root .ep-account-stores button { display:block; width:100%; text-align:left; margin-bottom:7px; padding:12px 10px; font-size:12px; }
.ep-root .ep-account-stores button small { display:block; margin-top:7px; opacity:.7; font-size:10px; }
.ep-root .ep-account-stores p { font-size:10px; }
.ep-root .ep-account-country { margin-bottom:16px; border:1px solid var(--ep-line); background:white; border-radius:7px; overflow:hidden; }
.ep-root .ep-account-country>header { display:flex; align-items:center; gap:13px; padding:12px; background:var(--ui-color-border); position:static; height:auto; border:0; font-size:12px; }
.ep-root .ep-account-country>header label { display:flex; align-items:center; gap:7px; }
.ep-root .ep-account-country>header>span { color:var(--ep-muted); font-size:10px; }
.ep-root .ep-account-country .ep-table-wrap { border:0; border-radius:0; }
.ep-root .ep-account-country td { padding:11px; font-size:11px; }
.ep-root .ep-account-country th { padding:10px 11px; font-size:10px; background:var(--ui-color-surface-subtle); }
@media(max-width:1100px) {
  .ep-root .ep-main { padding:18px; }
  .ep-root .ep-summary-columns { grid-template-columns:.9fr .9fr 1.5fr; }
  .ep-root .ep-summary-columns>section { padding:12px; }
  .ep-root .ep-summary-columns p { gap:10px; }
  .ep-root .ep-editor-split { grid-template-columns:250px minmax(0,1fr); gap:20px; }
  .ep-root .ep-editor-overview { padding:14px; }
}
@media(max-width:700px) {
  .ep-root .ep-main,.ep-root .ep-account-main { padding:15px; }
  .ep-root .ep-two-kpi { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ep-root .ep-summary-columns { grid-template-columns:1fr 1fr; }
  .ep-root .ep-summary-columns>section:last-child { grid-column:1/-1; border-left:0; border-top:1px solid var(--ep-line); }
  .ep-root .ep-summary-columns>section { max-height:180px; }
  .ep-root .ep-task-dialog { padding:18px 14px; }
  .ep-root .ep-editor-split { grid-template-columns:1fr; }
  .ep-root .ep-editor-overview { position:static; max-height:260px; }
  .ep-root .ep-task-dialog .ep-dialog-actions { margin-left:0; }
  .ep-root .ep-product-row { grid-template-columns:minmax(0,1fr) 70px 105px; }
  .ep-root .ep-stepper input { width:38px; }
  .ep-root .ep-account-group-layout { grid-template-columns:1fr; }
  .ep-root .ep-account-stores { display:flex; flex-wrap:wrap; gap:6px; }
  .ep-root .ep-account-stores button { width:auto; padding:8px; }
  .ep-root .ep-account-stores p { width:100%; margin:0; }
  .ep-root .ep-account-selection { flex-wrap:wrap; }
}

/* Shared Arsenal appearance; all rules remain inside the workbench. */
.ep-root { --ep-green:var(--ui-color-primary); --ep-ink:var(--ui-color-text); --ep-muted:var(--ui-color-text-muted); --ep-line:var(--ui-color-border); --ep-bg:var(--ui-background); border:0; border-radius:0; }
.ep-root button,.ep-root input,.ep-root select,.ep-root textarea { border-radius:var(--component-control-radius); color:var(--ui-color-text); }
.ep-root button:hover { background:var(--ui-color-primary-soft); border-color:var(--ui-color-border-strong); color:var(--ui-color-primary); }
.ep-root button:focus-visible,.ep-root input:focus-visible,.ep-root select:focus-visible,.ep-root textarea:focus-visible,.ep-root [tabindex]:focus-visible { outline:2px solid var(--ui-color-primary); }
.ep-root .ep-primary,.ep-root button.ep-active,.ep-root .ep-selection [aria-pressed=true],.ep-root .ep-editor-overview .ep-tabs button.ep-active { background:var(--ui-color-primary); border-color:var(--ui-color-primary); color:white; }
.ep-root .ep-primary:hover { background:var(--ui-color-primary-hover); color:white; }
.ep-root .ep-danger { color:var(--ui-color-danger); border-color:var(--ui-color-border); }
.ep-root .ep-danger:hover { color:var(--ui-color-danger); background:var(--ui-color-surface-muted); }
.ep-root .ep-heading h2 { font-size:20px; font-weight:700; letter-spacing:0; }
.ep-root .ep-overview>div,.ep-root .ep-two-kpi>div:first-child { background:var(--ui-color-surface); border-color:var(--ui-color-border); border-radius:var(--component-card-radius); }
.ep-root .ep-overview b { color:var(--ui-color-text); }
.ep-root .ep-overview span { color:var(--ui-color-text-secondary); }
.ep-root .ep-summary-columns,.ep-root .ep-calendar-wrap,.ep-root .ep-account-country { border-radius:var(--component-card-radius); }
.ep-root .ep-sidebar,.ep-root .ep-summary-columns>section:first-child,.ep-root .ep-editor-overview { background:var(--ui-color-surface-subtle); }
.ep-root .ep-person>header,.ep-root .ep-account-country>header,.ep-root th,.ep-root .ep-account-country th { background:var(--ui-color-surface-muted); color:var(--ui-color-text-secondary); }
.ep-root .ep-task.ep-selected { background:var(--ui-color-primary-soft); border-color:var(--ui-color-primary); box-shadow:inset 0 0 0 1px var(--ui-color-primary); }
.ep-root .ep-summary-columns button.ep-active { background:var(--ui-color-primary-soft); border-color:var(--ui-color-border-strong); color:var(--ui-color-primary); box-shadow:none; }
.ep-root .ep-status { background:var(--ui-color-surface-muted); color:var(--ui-color-text-secondary); }
.ep-root .ep-status[data-status=进行中] { background:var(--ui-color-primary-soft); color:var(--ui-color-info); }
.ep-root .ep-status[data-status=已完成] { background:var(--ui-color-surface-subtle); color:var(--ui-color-success); }
.ep-root .ep-color-0,.ep-root .ep-color-3,.ep-root .ep-label,.ep-root .ep-picker-chips button,.ep-root .ep-task-tags span { background:var(--ui-color-primary-soft); color:var(--ui-color-primary); }
.ep-root .ep-color-1,.ep-root .ep-task-tags span:nth-child(3n+2) { background:var(--ui-color-surface-muted); color:var(--ui-color-warning); }
.ep-root .ep-color-2,.ep-root .ep-task-tags span:nth-child(3n+3) { background:var(--ui-color-surface-muted); color:var(--ui-color-status-purple); }
.ep-root .ep-quantity-total,.ep-root .ep-people-chips label:has(input:checked) { background:var(--ui-color-primary-soft); color:var(--ui-color-primary); border-color:var(--ui-color-border); }
.ep-root .ep-dialog { border-radius:var(--component-card-radius); box-shadow:var(--shadow-raised); color:var(--ui-color-text); }
.ep-root .ep-dialog::backdrop { background:rgba(20,35,61,.4); }
.ep-root .ep-form-error { color:var(--ui-color-danger); }
.ep-root .ep-marquee { background:var(--ui-color-primary-soft); opacity:.6; border-color:var(--ui-color-primary); }
