:root {
  --blue:#1977a3;
  --blue-dark:#174967;
  --blue-soft:#e7f4fa;
  --green:#2e8869;
  --green-soft:#e8f5ef;
  --amber:#b97818;
  --amber-soft:#fff4df;
  --red:#bd4b43;
  --red-soft:#fdecea;
  --gray:#7f909b;
  --gray-soft:#edf1f3;
  --ink:#153448;
  --muted:#677f8d;
  --line:#dce6eb;
  --surface:#fff;
  --background:#f3f7f8;
  font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html,body { margin:0;min-height:100%;color:var(--ink);background:#dfe8ed; }
body.sheet-open,body.legacy-dialog-open { overflow:hidden; }
button,a,input,textarea,select { font:inherit;-webkit-tap-highlight-color:transparent; }
button { min-height:48px; }
.phone-shell { width:100%;max-width:480px;min-height:100vh;margin:0 auto;padding-bottom:84px;position:relative;background:var(--background);box-shadow:0 0 50px rgba(19,49,69,.12);overflow:hidden; }
.auth-boot { min-height:100vh;padding:calc(34px + env(safe-area-inset-top)) 28px calc(34px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;background:radial-gradient(circle at 82% 18%,rgba(99,209,220,.25),transparent 28%),linear-gradient(155deg,#123a53,#17627d); }
.auth-boot-brand { width:72px;height:60px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.45);border-radius:18px;background:rgba(255,255,255,.08);font-size:16px;font-weight:900;letter-spacing:.08em;box-shadow:0 16px 36px rgba(7,38,55,.2); }
.auth-boot-copy { margin-top:25px;display:grid;gap:8px; }
.auth-boot-copy strong { font-size:20px; }
.auth-boot-copy span { color:#c9e1e9;font-size:12px;line-height:1.6; }
.auth-boot-progress { height:24px;margin-top:22px;display:flex;align-items:center;gap:7px; }
.auth-boot-progress i { width:7px;height:7px;border-radius:50%;background:#d8edf3;animation:auth-boot-pulse 1.1s ease-in-out infinite; }
.auth-boot-progress i:nth-child(2) { animation-delay:.15s; }.auth-boot-progress i:nth-child(3) { animation-delay:.3s; }
.auth-boot button { min-height:42px;margin-top:18px;padding:0 18px;border:1px solid rgba(255,255,255,.55);border-radius:12px;color:#fff;background:rgba(255,255,255,.1);font-size:13px;font-weight:800; }
@keyframes auth-boot-pulse { 0%,100% { opacity:.35;transform:translateY(0); } 50% { opacity:1;transform:translateY(-4px); } }
@media (prefers-reduced-motion:reduce) { .auth-boot-progress i { animation:none;opacity:.75; } }
.public-home { min-height:calc(100vh - 84px);padding:calc(28px + env(safe-area-inset-top)) 22px 28px;display:flex;flex-direction:column;color:#fff;background:radial-gradient(circle at 82% 16%,rgba(99,209,220,.28),transparent 25%),linear-gradient(155deg,#123a53 0%,#17627d 58%,#eaf3f5 58.2%,#f3f7f8 100%); }
.public-brand { display:flex;align-items:center;gap:11px; }
.public-brand>span,.login-brand>span { width:52px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.42);border-radius:12px;font-size:13px;font-weight:900;letter-spacing:.08em; }
.public-brand small { color:#d9ebf1;font-size:13px;font-weight:700; }
.public-hero { margin:70px 2px 88px; }
.public-hero p { margin:0 0 12px;color:#b9dce7;font-size:13px;font-weight:700;letter-spacing:.12em; }
.public-hero h1 { margin:0;font-size:35px;line-height:1.25;letter-spacing:.02em; }
.public-hero>span { display:block;margin-top:16px;color:#d5e9ef;font-size:13px; }
.enterprise-card { padding:17px 18px;border:1px solid #dce7eb;border-radius:18px;color:var(--ink);background:rgba(255,255,255,.96);box-shadow:0 14px 30px rgba(17,57,79,.1); }
.enterprise-card strong { display:block;font-size:16px; }
.enterprise-card p { margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6; }
.employee-entry { width:100%;margin-top:13px;padding:13px 15px;border:0;border-radius:16px;color:#fff;background:var(--blue-dark);display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;text-align:left;box-shadow:0 10px 24px rgba(23,73,103,.2); }
.employee-entry span { font-size:16px;font-weight:900; }
.employee-entry small { margin-top:3px;color:#c9e0e9;font-size:11px; }
.employee-entry b { grid-column:2;grid-row:1 / span 2;align-self:center;font-size:26px;font-weight:400; }
.public-version { margin:auto 0 0;padding-top:22px;color:#79909c;font-size:10px;text-align:center; }
.employee-login-page { min-height:calc(100vh - 84px);padding:calc(22px + env(safe-area-inset-top)) 20px 28px;background:linear-gradient(180deg,#e7f2f6 0,#f6f9fa 38%); }
.page-back { width:46px;height:46px;padding:0;border:0;border-radius:50%;color:var(--blue-dark);background:#fff;font-size:30px;box-shadow:0 7px 18px rgba(19,49,69,.08); }
.login-brand { margin:28px 4px 30px;display:flex;align-items:center;gap:12px; }
.login-brand>span { color:#fff;border-color:transparent;background:var(--blue-dark); }
.login-brand small,.login-brand strong { display:block; }
.login-brand small { color:var(--muted);font-size:11px; }
.login-brand strong { margin-top:3px;font-size:22px; }
.phone-login-card { padding:22px 18px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(19,49,69,.09); }
.step-label { color:var(--blue);font-size:11px;font-weight:900; }
.phone-login-card h1 { margin:6px 0 7px;font-size:24px; }
.phone-login-card>div>p { margin:0 0 22px;color:var(--muted);font-size:12px;line-height:1.55; }
.phone-login-card label { display:block;margin:0 0 8px;font-size:13px;font-weight:800; }
.phone-login-card input[type="tel"] { width:100%;min-height:56px;padding:12px 14px;border:1px solid #cbdbe2;border-radius:13px;color:var(--ink);background:#fbfdfe;font-size:18px;letter-spacing:.04em; }
.phone-login-card input:focus { outline:3px solid rgba(25,119,163,.12);border-color:#6faec8; }
.phone-login-card input[aria-invalid="true"] { border-color:#c85a48;background:#fff8f6;box-shadow:0 0 0 3px rgba(200,90,72,.12); }
.phone-login-card input[type="tel"] + .phone-login-submit { margin-top:14px; }
.phone-login-card .phone-use-note { margin:12px 0 15px;color:var(--muted);font-size:11px;line-height:1.5; }
.phone-login-submit { width:100%;min-height:54px;border:0;border-radius:13px;color:#fff;background:var(--blue-dark);font-size:16px;font-weight:900; }
.phone-login-submit:disabled { color:#8b9aa2;background:#dce5e9; }
.code-actions { margin-top:9px;display:grid;grid-template-columns:1fr 1fr;gap:8px; }
.code-actions button { min-height:42px;border:0;color:var(--blue);background:transparent;font-size:12px; }
.code-actions button:disabled { color:#97a8b1; }
.phone-login-card .login-error { min-height:18px;margin:10px 0 0;color:var(--red);font-size:11px;line-height:1.5; }
.single-device-note { margin:15px 5px 0;display:flex;gap:8px;color:var(--muted);font-size:11px;line-height:1.55; }
.single-device-note span { color:var(--green);font-weight:900; }
.test-login-panel { margin-top:18px;padding:12px 13px;border:1px dashed #b9cdd7;border-radius:14px;background:rgba(255,255,255,.72);display:flex;align-items:center;justify-content:space-between;gap:12px; }
.test-login-panel[hidden] { display:none; }
.test-login-panel>div { min-width:0; }
.test-login-panel strong,.test-login-panel small { display:block; }
.test-login-panel strong { color:var(--ink);font-size:12px; }
.test-login-panel small { margin-top:3px;color:var(--muted);font-size:10px;line-height:1.4; }
.test-login-entry { flex:0 0 auto;min-height:38px;padding:0 15px;border:1px solid #9fc3d2;border-radius:10px;color:var(--blue);background:#fff;font-size:12px;font-weight:800; }
.mobile-head { padding:calc(16px + env(safe-area-inset-top)) 20px 46px;color:#fff;border-radius:0 0 30px 30px;background:radial-gradient(circle at 84% 30%,rgba(89,196,216,.25),transparent 26%),linear-gradient(145deg,#153e5a,#1d6c8b); }
.head-row { display:flex;align-items:center;gap:10px; }
.head-row>a,.head-row>button { margin-left:auto;min-height:36px;padding:0 8px;border:0;color:#d8e9f0;background:transparent;font-size:13px;text-decoration:none; }
.logo { min-width:44px;height:34px;padding:0 8px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(255,255,255,.35);font-size:12px;font-weight:800; }
.demo-badge { padding:5px 9px;border-radius:14px;background:rgba(255,255,255,.14);font-size:11px; }
.mobile-head>p { margin:14px 0 4px;color:#c7dce4;font-size:14px; }
.mobile-head h1 { margin:0;font-size:27px;line-height:1.25;letter-spacing:.02em; }
.mobile-head h1 span { overflow-wrap:anywhere; }
.head-stats { margin-top:16px;display:grid;grid-template-columns:repeat(5,1fr); }
.head-stats div { border-right:1px solid rgba(255,255,255,.16);text-align:center; }
.head-stats div:last-child { border:0; }
.head-stats strong,.head-stats span { display:block; }
.head-stats strong { font-size:23px; }
.head-stats span { margin-top:4px;color:#c7dce4;font-size:12px; }
.worker-content { margin-top:-43px;padding:0 15px;position:relative; }
.notice { padding:15px;display:flex;gap:12px;align-items:center;border-radius:16px;background:#fff;box-shadow:0 10px 25px rgba(19,49,69,.09); }
.notice>span { flex:0 0 38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--amber-soft);color:var(--amber);font-weight:800; }
.notice p,.notice strong,.notice small { margin:0;display:block; }
.notice strong { font-size:14px; }
.notice small { margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5; }
.demo-users { margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(19,49,69,.04); }
.demo-users>div:first-child span,.demo-users>div:first-child strong { display:block; }
.demo-users>div:first-child span { color:var(--blue);font-size:10px;font-weight:800; }
.demo-users>div:first-child strong { margin-top:3px;font-size:14px; }
.demo-user-buttons { margin-top:11px;display:grid;grid-template-columns:1fr 1fr;gap:8px; }
.demo-user-buttons button { min-height:46px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:#fff;font-size:13px;font-weight:800; }
.demo-user-buttons button.active { color:var(--blue);border-color:#78b6cf;background:var(--blue-soft);box-shadow:0 0 0 2px rgba(25,119,163,.08); }
.demo-users>p { margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.45; }
.color-legend { min-height:32px;margin:13px 2px 0;display:flex;align-items:center;justify-content:space-between;gap:8px; }
.color-legend-items { min-width:0;display:flex;align-items:center;gap:5px; }
.workbench-page-actions { margin-left:auto;display:flex;align-items:center;gap:5px; }
.color-legend span { padding:5px 7px;border-radius:12px;font-size:11px;font-weight:700;white-space:nowrap; }
.context-back { min-height:32px;margin-left:auto;padding:0 4px;border:0;color:var(--blue);background:transparent;font-size:12px;font-weight:800;white-space:nowrap; }
.color-legend .current,.status-pill.current { color:var(--blue);background:var(--blue-soft); }
.color-legend .completed,.status-pill.completed { color:var(--green);background:var(--green-soft); }
.color-legend .waiting,.status-pill.waiting { color:var(--amber);background:var(--amber-soft); }
.color-legend .exception,.status-pill.exception { color:var(--red);background:var(--red-soft); }
.color-legend .future,.status-pill.future { color:var(--gray);background:var(--gray-soft); }
.section-title { margin:24px 2px 12px;display:flex;justify-content:space-between;align-items:center; }
.section-title h2 { margin:0;font-size:18px; }
.section-title small { display:block;margin-top:3px;color:var(--muted);font-size:10px; }
.section-title button { min-height:44px;padding:0 8px;border:0;background:transparent;color:var(--blue);font-size:13px; }
.section-title-actions { display:flex;align-items:center;gap:3px; }
.related-order-filter { min-height:38px;padding:0 8px;display:flex;align-items:center;gap:5px;border:1px solid #a8cedd;border-radius:12px;color:var(--blue-dark);background:var(--blue-soft);font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer; }
.related-order-filter input { width:16px;height:16px;margin:0;accent-color:var(--blue); }
.related-order-filter.scope-all { color:var(--muted);border-color:var(--line);background:#fff; }
.task-list { display:grid;gap:18px; }
.production-category-list { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.production-category-card { min-height:92px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fff;display:grid;grid-template-columns:38px 1fr auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;box-shadow:0 6px 15px rgba(19,49,69,.04); }
.production-category-card:focus-visible { outline:3px solid rgba(25,119,163,.2);outline-offset:2px; }
.production-category-icon { grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:var(--blue-dark);background:var(--blue-soft);font-size:15px;font-weight:900; }
.production-category-card strong { align-self:end;font-size:15px; }
.production-category-card small { align-self:start;color:var(--muted);font-size:10px;line-height:1.35; }
.production-category-card b { grid-column:3;grid-row:1/3;color:var(--blue);font-size:22px; }
.category-multicolor_paint .production-category-icon { color:#6f478e;background:#f1eaf7; }
.category-stone_paint .production-category-icon { color:#80530f;background:var(--amber-soft); }
.category-sample_board .production-category-icon { color:#2a725b;background:var(--green-soft); }
.category-direct_tint .production-category-icon { color:#9a5b00;background:#fff0cf; }
.compact-directory-title { margin-top:0; }
.production-order-list { display:grid;gap:13px; }
.production-order-card { padding:10px 11px;border:1px solid #dfe8ec;border-left:4px solid #a9bac3;border-radius:13px;background:#fff;box-shadow:0 5px 13px rgba(19,49,69,.045);cursor:pointer; }
.production-order-card.tone-current { border-left-color:var(--blue); }
.production-order-card.tone-waiting { border-left-color:var(--amber); }
.production-order-card.tone-exception { border-left-color:var(--red); }
.production-order-card:focus-visible { outline:3px solid rgba(25,119,163,.25);outline-offset:2px; }
.production-order-top { display:flex;align-items:center;gap:7px; }
.production-order-status { min-height:0;padding:5px 8px;border-radius:12px;color:var(--gray);background:var(--gray-soft);font-size:11px;font-weight:800; }
.production-order-status.current { color:var(--blue);background:var(--blue-soft); }
.production-order-status.waiting { color:var(--amber);background:var(--amber-soft); }
.production-order-status.exception { color:var(--red);background:var(--red-soft); }
.production-order-top .order-priority { margin-left:auto; }
.compact-order-line { min-width:0;display:flex;align-items:center;gap:7px; }
.compact-order-main { min-height:24px; }
.compact-status-dot { width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--gray); }
.compact-status-dot.current { background:var(--blue); }.compact-status-dot.waiting { background:var(--amber); }.compact-status-dot.exception { background:var(--red); }
.compact-order-number { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--blue-dark);font-size:14px; }
.compact-order-created { flex:0 0 auto;color:var(--muted);font-size:9px;font-weight:700;white-space:nowrap; }
.compact-order-main .order-priority { width:18px;height:18px;flex-basis:18px; }
.compact-progress-count { margin-left:auto;color:var(--muted);font-size:11px; }
.compact-order-facts { margin-top:3px;justify-content:space-between;font-size:11px;line-height:1.35; }
.compact-order-facts strong,.compact-order-facts span,.compact-order-stage span,.compact-order-stage small { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.compact-order-facts strong { color:var(--ink); }.compact-order-facts span { color:var(--muted);text-align:right; }
.compact-order-stage { margin-top:5px;justify-content:space-between;color:var(--ink);font-size:10px;line-height:1.3; }
.compact-order-stage span { font-weight:800; }.compact-order-stage small { max-width:45%;color:var(--muted);text-align:right; }
.production-order-card>.production-stage-rail { margin-top:6px;gap:3px; }
.production-order-card>.production-stage-rail span { height:5px; }
.production-order-identity { margin-top:11px; }
.production-current-stage { margin-top:12px;padding:11px 12px;border-radius:11px;background:#f2f7f9; }
.production-current-stage span,.production-current-stage strong { display:block; }
.production-current-stage span { color:var(--muted);font-size:10px;font-weight:800; }
.production-current-stage strong { margin-top:3px;font-size:15px;line-height:1.4; }
.production-stage-rail { margin-top:11px;display:flex;gap:4px; }
.production-stage-rail span { min-width:5px;height:7px;flex:1;border-radius:8px;background:#dce4e8; }
.production-stage-rail .stage-completed { background:var(--green); }
.production-stage-rail .stage-current { background:var(--blue); }
.production-stage-rail .stage-waiting { background:var(--amber); }
.production-stage-rail .stage-exception { background:var(--red); }
.production-stage-rail .stage-skipped { background:#b9c4ca; }
.production-progress-copy { margin-top:7px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted); }
.production-progress-copy span { font-size:11px;font-weight:800; }
.production-progress-copy small { font-size:10px; }
.production-attention { margin-top:12px;padding:10px 11px;border-radius:10px;color:#536c79;background:var(--gray-soft);font-size:12px;font-weight:800;line-height:1.45; }
.production-attention.current { color:var(--blue-dark);background:var(--blue-soft); }
.production-attention.waiting { color:#80530f;background:var(--amber-soft); }
.production-attention.exception { color:var(--red);background:var(--red-soft); }
.production-notice { margin-top:10px;padding:12px 13px;border:1px solid #efd49c;border-left:4px solid var(--amber);border-radius:11px;background:#fff8e9;color:#624617; }
.production-notice strong { display:block;margin-bottom:4px;font-size:13px; }
.production-notice p { margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6; }
.task-production-notice { margin:0 0 14px; }
.production-order-footer { margin-top:12px;padding-top:11px;border-top:1px solid #edf2f4;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px; }
.production-order-footer strong { color:var(--blue);font-size:12px; }
.production-order-detail { padding-bottom:12px; }
.production-order-summary,.production-stage-card { padding:16px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 7px 18px rgba(19,49,69,.04); }
.production-order-summary>h2 { margin:6px 0 0;color:var(--blue-dark);font-size:24px;line-height:1.25;overflow-wrap:anywhere; }
.production-stage-card { margin-top:13px; }
.production-stage-card .section-title { margin:0 0 12px; }
.production-stage-list { display:grid;gap:7px; }
.production-stage-row { width:100%;min-height:54px;padding:8px 10px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;border:0;border-radius:11px;background:#f1f4f5;color:var(--ink);text-align:left;cursor:pointer;font:inherit; }
.production-stage-row i { width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#a9b7bf;font-size:10px;font-style:normal;font-weight:900; }
.production-stage-row:focus-visible { outline:3px solid rgba(25,119,163,.25);outline-offset:2px; }
.production-stage-copy,.production-stage-action { min-width:0;display:grid;gap:2px; }
.production-stage-copy strong { overflow-wrap:anywhere;font-size:12px;line-height:1.35; }
.production-stage-copy small { overflow:hidden;color:var(--muted);font-size:10px;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap; }
.production-stage-action { justify-items:end; }
.production-stage-action strong { color:var(--blue-dark);font-size:11px;line-height:1.3;white-space:nowrap; }
.production-stage-action small { color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap; }
.production-stage-row.read-only-stage .production-stage-action strong { color:var(--muted); }
.production-stage-row.stage-completed { background:var(--green-soft); }.production-stage-row.stage-completed i { background:var(--green); }.production-stage-row.stage-completed span { color:var(--green); }
.production-stage-row.stage-current { background:var(--blue-soft); }.production-stage-row.stage-current i { background:var(--blue); }.production-stage-row.stage-current span { color:var(--blue); }
.production-stage-row.stage-waiting { background:var(--amber-soft); }.production-stage-row.stage-waiting i { background:var(--amber); }.production-stage-row.stage-waiting span { color:var(--amber); }
.production-stage-row.stage-exception { background:var(--red-soft); }.production-stage-row.stage-exception i { background:var(--red); }.production-stage-row.stage-exception span { color:var(--red); }
.production-stage-row.stage-skipped { background:#edf1f3; }.production-stage-row.stage-skipped i { background:#9aa9b1; }.production-stage-row.stage-skipped span { color:#657781; }
.production-view-only { border:1px dashed #c8d7dd;background:#f8fbfc; }
.work-section-heading { margin:0 2px 8px;display:flex;align-items:end;justify-content:space-between; }
.work-section-heading strong,.work-section-heading small { display:block; }
.work-section-heading strong { font-size:14px; }
.work-section-heading small { margin-top:3px;color:var(--muted);font-size:10px; }
.state-held .work-section-heading strong { color:var(--red); }
.state-in_progress .work-section-heading strong,.state-claimable .work-section-heading strong,.state-todo .work-section-heading strong { color:var(--blue); }
.state-group_active .work-section-heading strong { color:var(--muted); }
.state-waiting .work-section-heading strong { color:var(--amber); }
.work-section-items { display:grid;gap:11px; }
.task-card { padding:16px;border:1px solid #e1e9ed;border-left:5px solid var(--blue);border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(19,49,69,.04);cursor:pointer; }
.task-card.status-waiting { border-left-color:var(--amber); }
.task-card.status-future { border-left-color:#a9bac3; }
.task-card.status-exception { border-left-color:var(--red); }
.task-card:focus-visible { outline:3px solid rgba(25,119,163,.25);outline-offset:2px; }
.task-top { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.task-tag { padding:5px 8px;border-radius:12px;color:var(--ink);background:var(--gray-soft);font-size:11px;font-weight:700; }
.status-pill { min-height:0;padding:5px 8px;border-radius:12px;font-size:11px;font-weight:800; }
.order-priority { width:20px;height:20px;flex:0 0 20px;padding:0;display:inline-grid;place-items:center;border-radius:50%;font-size:0;font-weight:900;line-height:1; }
.order-priority.urgent { color:#fff;background:#e48a13;box-shadow:0 0 0 2px #fff2d7; }
.order-priority.urgent::before { content:"!";font-size:13px;line-height:1; }
.task-time { margin-left:auto;color:var(--muted);font-size:12px; }
.task-order-identity { margin-top:13px;padding:12px 13px;border-radius:13px;background:#f2f7f9; }
.task-order-label { display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em; }
.task-order-number { display:block;margin-top:3px;color:var(--blue-dark);font-size:20px;line-height:1.25;overflow-wrap:anywhere; }
.task-production-facts,.detail-production-facts-grid { margin-top:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
.production-fact { min-width:0;padding:8px 9px;border-radius:9px;background:#fff; }
.production-fact small,.production-fact strong { display:block; }
.production-fact small { color:var(--muted);font-size:10px;font-weight:700; }
.production-fact strong { margin-top:2px;color:var(--ink);font-size:13px;line-height:1.35;overflow-wrap:anywhere; }
.task-production-meta { display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.4; }
.production-order-duration { display:inline-flex;margin-top:8px;padding:5px 9px;border-radius:9px;color:var(--blue);background:var(--blue-soft);font-size:11px;font-weight:800; }
.task-step { margin-top:13px; }
.task-step>span,.detail-step-label { display:block;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.06em; }
.task-step h3 { margin:3px 0 0;font-size:17px;line-height:1.35; }
.task-card>p.task-trace { margin:5px 0 0;color:var(--muted);font-size:11px;overflow-wrap:anywhere; }
.card-instruction { margin-top:13px;padding:10px 11px;border-radius:10px;color:var(--blue-dark);background:#f2f7f9;font-size:13px;font-weight:700;line-height:1.45; }
.status-waiting .card-instruction { color:#80530f;background:var(--amber-soft); }
.status-exception .card-instruction { color:var(--red);background:var(--red-soft); }
.task-bottom { margin-top:13px;padding-top:12px;border-top:1px solid #edf2f4;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px; }
.owner-label,.priority-label { padding:3px 0; }
.priority-label::before { content:"·";margin-right:8px; }
.task-bottom strong { margin-left:auto;color:var(--blue);font-size:13px; }
.status-waiting .task-bottom strong { color:var(--amber); }
.status-exception .task-bottom strong { color:var(--red); }
.tabbar { width:100%;max-width:480px;height:72px;padding-bottom:env(safe-area-inset-bottom);position:fixed;bottom:0;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(3,1fr);align-items:center;border-top:1px solid var(--line);background:rgba(255,255,255,.97);z-index:10;backdrop-filter:blur(12px); }
.tabbar button { border:0;background:transparent;color:#81939e;font-size:11px;display:grid;place-items:center;gap:3px; }
.tabbar button>span { width:27px;height:27px;display:grid;place-items:center;border-radius:9px;font-size:11px; }
.tabbar button.active { color:var(--blue); }
.tabbar button.active>span { background:var(--blue-soft); }
.tabbar .scan>span { width:46px;height:46px;margin-top:-28px;border:5px solid var(--background);border-radius:15px;color:#fff;background:var(--blue-dark);box-shadow:0 7px 16px rgba(23,73,103,.24); }
.sheet-backdrop { position:fixed;inset:0;background:rgba(8,27,40,.48);opacity:0;pointer-events:none;transition:.2s;z-index:20; }
.sheet-backdrop.open { opacity:1;pointer-events:auto; }
.task-sheet { width:100%;max-width:480px;max-height:94vh;overflow:auto;overscroll-behavior:contain;position:fixed;left:50%;bottom:0;transform:translate(-50%,102%);padding:9px 16px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#f7fafb;transition:transform .25s ease;z-index:21;box-shadow:0 -18px 50px rgba(8,27,40,.22); }
.task-sheet.open { transform:translate(-50%,0); }
.sheet-handle { width:46px;height:5px;margin:1px auto 12px;border-radius:4px;background:#c5d2d8; }
.sheet-head { position:relative;padding:5px 3px 16px; }
.sheet-head>button { position:absolute;right:0;top:0;width:48px;height:48px;border:0;border-radius:50%;background:#e8eef1;color:#647c89;font-size:25px; }
.detail-kicker { display:flex;align-items:center;gap:8px;padding-right:54px; }
.task-type { color:var(--blue);font-size:12px;font-weight:800; }
.detail-order-identity { margin:14px 54px 14px 0;padding:12px 14px;border-radius:14px;background:#eaf5f9; }
.detail-order-identity>span { display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em; }
.detail-order-identity>strong { display:block;margin-top:3px;color:var(--blue-dark);font-size:21px;line-height:1.3;overflow-wrap:anywhere; }
.detail-production-facts-grid .production-fact { border:1px solid #dcebef; }
.detail-order-identity>small { display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4; }
.task-sheet h2 { margin:4px 0 7px;font-size:24px; }
.sheet-head>p { margin:0;color:var(--muted);font-size:13px; }
.context-card,.process-overview,.work-basis-card,.form-card,.evidence-card,.active-exception-card { margin-bottom:13px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff; }
.active-exception-card { border-color:#e8bbb7;background:var(--red-soft); }
.active-exception-card>span { color:var(--red);font-size:11px;font-weight:800; }
.active-exception-card h3 { margin:5px 0;font-size:16px; }
.active-exception-card p { margin:0 0 8px;color:#6f3d39;font-size:13px;line-height:1.5; }
.active-exception-card small { color:var(--muted); }
.card-heading { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.card-heading span,.overview-head>span { display:block;color:var(--blue);font-size:11px;font-weight:800; }
.card-heading h3 { margin:3px 0 0;font-size:16px; }
.card-heading button { min-height:42px;padding:0 11px;border:1px solid #bad6e2;border-radius:10px;color:var(--blue);background:#fff;font-size:12px;font-weight:700; }
.card-heading>small { color:var(--muted);font-size:11px;white-space:nowrap; }
.context-strip { margin-top:14px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px; }
.context-item { min-height:84px;padding:11px 10px;border-radius:12px;background:var(--gray-soft); }
.context-item>span { display:block;margin-bottom:7px;color:var(--muted);font-size:11px; }
.context-item>strong { display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere; }
.context-item.source.neutral { background:var(--gray-soft); }
.context-item.source.neutral>span { color:var(--gray); }
.context-item.source.completed { background:var(--green-soft); }
.context-item.source.completed>span { color:var(--green); }
.context-item.current { color:#fff;background:var(--blue); }
.context-item.current>span { color:#dceff7; }
.context-item.current.waiting { color:#6e4911;background:var(--amber-soft); }
.context-item.current.waiting>span { color:var(--amber); }
.context-item.current.exception { color:#813832;background:var(--red-soft); }
.context-item.current.exception>span { color:var(--red); }
.context-item.impact { background:#eef3f5; }
.task-brief-card { margin:14px 0;padding:16px 18px;border:1px solid #b9d9e6;border-radius:18px;background:var(--blue-soft); }
.task-brief-card>span { color:var(--blue);font-size:11px;font-weight:800; }
.task-brief-card h3 { margin:4px 0 7px;font-size:18px; }
.task-brief-card p { margin:0;color:#355767;font-size:14px;line-height:1.65; }
.basis-summary { margin-top:13px;display:grid;grid-template-columns:1fr 1fr;gap:8px; }
.production-requirements-card .basis-summary { display:block;overflow:hidden;border:1px solid #dce7eb;border-radius:12px;background:#f5f8f9; }
.production-requirements-card .basis-summary-row { min-height:48px;padding:11px 13px;display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;align-items:start;border-bottom:1px solid #dfe8ec; }
.production-requirements-card .basis-summary-row:last-child { border-bottom:0; }
.production-requirements-card .basis-summary-row span { color:var(--muted);font-size:13px;font-weight:700;line-height:1.5; }
.production-requirements-card .basis-summary-row strong { color:var(--ink);font-size:15px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap; }
.basis-item { min-height:78px;padding:11px;border-radius:12px;background:#f2f6f8; }
.basis-item.recommended { background:var(--blue-soft); }
.basis-item span,.basis-item strong,.basis-item small { display:block; }
.basis-item span { color:var(--muted);font-size:11px; }
.basis-item strong { margin-top:6px;font-size:17px;line-height:1.35; }
.basis-item small { margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4; }
.basis-warnings { margin-top:9px;padding:10px;border-radius:10px;color:#80530f;background:var(--amber-soft);font-size:12px; }
.basis-warnings p { margin:0; }
.basis-details { margin-top:11px;padding-top:11px;border-top:1px dashed var(--line); }
.basis-revision { margin:0 0 9px;color:var(--muted);font-size:11px; }
.basis-source { display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:8px 0;border-bottom:1px solid #edf2f4;font-size:11px; }
.basis-source span { color:var(--muted);text-align:right; }.basis-source small { grid-column:1/-1;color:var(--gray); }
.process-overview[hidden] { display:none; }
.overview-head { margin-bottom:13px; }
.overview-head small { display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45; }
.overview-step { min-height:55px;padding:5px 0 10px;display:flex;gap:10px;position:relative; }
.overview-step::after { content:"";width:2px;position:absolute;left:15px;top:36px;bottom:-2px;background:#dce5e9; }
.overview-step:last-child::after { display:none; }
.overview-step>i,.overview-lane>i { flex:0 0 31px;height:31px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--gray);font-style:normal;font-size:11px;font-weight:800;position:relative;z-index:1; }
.overview-step>div { padding-top:1px; }
.overview-step strong,.overview-step small { display:block; }
.overview-step strong { font-size:13px; }.overview-step small { margin-top:3px;color:var(--muted);font-size:11px; }
.overview-step.status-completed>i,.overview-lane.status-completed>i { background:var(--green); }
.overview-step.status-current>i,.overview-lane.status-current>i { background:var(--blue); }
.overview-step.status-waiting>i,.overview-lane.status-waiting>i { background:var(--amber); }
.overview-step.status-exception>i,.overview-lane.status-exception>i { background:var(--red); }
.overview-step.status-future>i,.overview-lane.status-future>i { background:var(--gray); }
.overview-step.selected strong,.overview-lane.selected strong { color:var(--blue); }
.overview-phase { margin:0 0 13px; }
.overview-phase-title { display:block;margin-bottom:7px;color:var(--muted);font-size:10px;font-weight:800; }
.overview-phase-nodes { display:grid;grid-template-columns:1fr 1fr;gap:7px; }
.overview-node { min-height:55px;padding:9px;border:1px solid var(--line);border-radius:11px;background:#fff;display:grid;grid-template-columns:27px 1fr;gap:8px;align-items:center; }
.overview-node>i { width:27px;height:27px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--gray);font-style:normal;font-size:10px;font-weight:800; }
.overview-node strong,.overview-node small { display:block; }
.overview-node strong { font-size:11px;line-height:1.35; }
.overview-node small { margin-top:3px;color:var(--muted);font-size:9px; }
.overview-node.status-completed>i { background:var(--green); }
.overview-node.status-current>i { background:var(--blue); }
.overview-node.status-waiting>i { background:var(--amber); }
.overview-node.status-exception>i { background:var(--red); }
.overview-node.selected { border-color:#78b6cf;background:var(--blue-soft); }
.overview-parallel { margin:3px 0 14px;padding:12px;border:1px solid #ead9ba;border-radius:13px;background:#fffaf0; }
.parallel-heading span { color:var(--amber);font-size:10px;font-weight:800; }.parallel-heading strong { display:block;margin-top:2px;font-size:13px; }
.parallel-lanes { margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px; }
.overview-lane { padding:10px;border-radius:10px;background:#fff;display:grid;grid-template-columns:31px 1fr;column-gap:8px;align-items:center; }
.overview-lane strong,.overview-lane small { grid-column:2;display:block; }.overview-lane strong { font-size:12px; }.overview-lane small { margin-top:2px;color:var(--muted);font-size:10px;line-height:1.35; }
.form-card h3 { margin:0 0 15px;font-size:16px; }
.form-minimal-hint { margin:4px 0 12px;padding:11px 12px;border-radius:11px;color:#237155;background:var(--green-soft);font-size:12px;line-height:1.5; }
.optional-form-section { margin-top:13px;border:1px solid #d5e2e8;border-radius:13px;background:#f8fbfc;overflow:hidden; }
.optional-form-summary { min-height:52px;padding:12px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;color:var(--ink); }
.optional-form-summary::-webkit-details-marker { display:none; }
.optional-form-summary::after { content:"展开";flex:0 0 auto;color:var(--blue);font-size:11px;font-weight:800; }
.optional-form-section[open]>.optional-form-summary::after { content:"收起"; }
.optional-form-summary span { font-size:13px;font-weight:800; }
.optional-form-summary small { margin-left:auto;color:var(--muted);font-size:10px; }
.optional-form-fields { padding:0 13px 1px;border-top:1px solid var(--line);background:#fff; }
.primary-form-fields { display:block; }
.field-inline-group { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start; }
.field-inline-group>.field { min-width:0; }
.field { margin:15px 0; }
.routing-decision-field { padding:13px;border:1px solid #a9d2e3;border-radius:13px;background:var(--blue-soft); }
.routing-decision-field>.choice-row .choice { background:#fff; }
.field label { display:block;margin-bottom:8px;font-size:13px;font-weight:800; }
.field label em { color:var(--blue);font-style:normal; }
.participant-field-badge { display:inline-flex;margin-left:7px;padding:2px 7px;border-radius:999px;background:#e8f6ee;color:#26714f;font-size:10px;font-weight:800;vertical-align:middle; }
.field input,.field textarea,.field select { width:100%;min-height:50px;padding:12px;border:1px solid #cedce3;border-radius:11px;background:#fbfcfd;color:var(--ink);font-size:15px; }
.field textarea { min-height:82px;resize:vertical; }
.field input:focus,.field textarea:focus { outline:3px solid rgba(25,119,163,.13);border-color:#77b3cc; }
.field input:disabled,.field textarea:disabled { color:var(--gray);background:var(--gray-soft); }
.field.invalid input,.field.invalid textarea,.field.invalid .choice-row,.field.invalid .field-upload-button,.field.invalid .signature-pad { border-color:#c85a48;background:#fff8f6; }
.field.invalid input:focus,.field.invalid textarea:focus,.field.invalid .field-upload-button:focus { outline-color:rgba(200,90,72,.14);border-color:#b84635; }
.field-validation-error { margin:7px 2px 0;color:#a53f30;font-size:13px;font-weight:700;line-height:1.5; }
.usage-panel { margin:13px 0 18px;padding:12px;border-radius:12px;background:#f3f7f9; }
.usage-heading,.usage-total { display:flex;align-items:center;justify-content:space-between;gap:8px; }
.usage-heading { padding-bottom:8px;border-bottom:1px solid var(--line);font-size:12px; }
.usage-heading span { color:var(--muted); }
.usage-total { padding:10px 0 8px;flex-wrap:wrap;font-size:11px; }
.usage-total strong { color:var(--blue);font-size:14px; }.usage-total small { width:100%;color:var(--muted);text-align:right; }
.choice-row { display:grid;grid-template-columns:1fr 1fr;gap:9px; }
.choice { min-height:50px;padding:10px;border:1px solid var(--line);border-radius:11px;text-align:center;color:var(--ink);background:#fff;font-size:14px; }
.choice.active { color:var(--blue);border-color:#74b4cf;background:var(--blue-soft);font-weight:800; }
.waiting-message { margin:0;padding:13px;border-radius:10px;color:#80530f;background:var(--amber-soft);font-size:13px;line-height:1.5; }
.participation-card { margin:14px 0;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff; }
.participation-card>p { margin:12px 0;color:var(--ink);font-size:14px;line-height:1.6; }
.participant-directory-tools { display:grid;gap:8px;margin:10px 0; }.participant-directory-tools input { width:100%;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:12px;font-size:14px; }.participant-directory-tools nav { display:flex;gap:5px;overflow-x:auto;padding-bottom:3px; }.participant-directory-tools nav button { width:28px;height:28px;flex:0 0 auto;padding:0;border:1px solid var(--line);border-radius:8px;color:var(--blue);background:#fff;font-size:11px;font-weight:800; }.participant-directory-tools nav button:disabled { color:#bcc7cc;background:#f3f6f7; }
.participant-options { max-height:280px;overflow-y:auto; }.participant-index-group { position:relative; }.participant-index-group h4 { display:flex;align-items:center;gap:7px;margin:8px 0 6px;padding:5px 8px;border-left:3px solid var(--blue);color:var(--ink);background:var(--blue-soft);font-size:12px; }.participant-index-group h4 small { color:var(--muted);font-size:10px;font-weight:500; }.participant-index-entries { display:flex;flex-wrap:wrap;gap:8px; }.participant-options label,.participant-options span { min-height:40px;padding:0 12px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:12px;background:#f7fafb;font-size:13px; }.participant-options .participant-empty { justify-content:center;width:100%;color:var(--muted); }
.participant-options label:has(input:checked) { color:var(--blue);border-color:var(--blue);background:var(--blue-soft); }
.participant-options input { width:18px;height:18px; }
.participation-card.input-invalid { border-color:#d9887d;background:#fffaf8; }
.participation-card>button { width:100%;min-height:44px;margin-top:12px;border:0;border-radius:12px;color:#fff;background:var(--blue);font-weight:700; }
.participant-options label.participant-locked { border-color:#b7d8c5;background:#eff8f3;color:#2b6e4f; }
.participant-options label small { margin-left:auto;color:#2b6e4f;font-size:10px;font-weight:750; }
.task-transfer { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:14px;padding-top:13px;border-top:1px solid var(--line); }
.task-transfer label { grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;color:var(--ink);font-size:13px; }
.task-transfer label small { color:var(--muted);font-size:11px;font-weight:500; }
.task-transfer select { min-width:0;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:14px; }
.task-transfer button { min-height:44px;padding:0 14px;border:1px solid #d3a24f;border-radius:11px;background:#fff7e8;color:#8b5b0a;font-weight:800; }
.task-transfer .inline-input-error { grid-column:1/-1;margin:0; }
.unsupported-field { margin:0;padding:11px;border:1px dashed #d7e0e4;border-radius:10px;color:var(--muted);background:var(--gray-soft);font-size:12px;line-height:1.45; }
.field-attachment-list { display:grid;gap:7px;margin-bottom:8px; }
.field-attachment,.task-log-attachment { width:100%;padding:9px 10px;border:1px solid #cce0e8;border-radius:10px;background:var(--blue-soft);display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;color:var(--ink);text-align:left; }
.field-attachment span,.task-log-attachment span { width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:var(--blue);background:#fff;font-size:11px;font-weight:900; }
.field-attachment strong,.task-log-attachment strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px; }
.field-attachment small,.task-log-attachment small { color:var(--muted);font-size:10px; }
.photo-attachment { position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:9px;align-items:center;padding:7px;border:1px solid #cce0e8;border-radius:12px;background:var(--blue-soft); }
.photo-attachment.removed { opacity:.68;background:var(--gray-soft);border-style:dashed; }
.photo-thumbnail { width:72px;height:58px;border:0;border-radius:9px;overflow:hidden;padding:0;background:#dce9ee;display:grid;place-items:center;color:var(--muted);font-size:10px; }
.photo-thumbnail img { width:100%;height:100%;object-fit:cover;display:block; }
.photo-attachment-copy { min-width:0; }
.photo-attachment-copy strong,.photo-attachment-copy small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.photo-attachment-copy strong { font-size:12px; }.photo-attachment-copy small { margin-top:4px;color:var(--muted);font-size:10px; }
.photo-remove { justify-self:start;margin-top:6px;padding:5px 8px;border:1px solid #efc7bd;border-radius:8px;color:#a54431;background:#fff;font-size:10px; }
.field-upload-button { width:100%;min-height:46px;border:1px dashed #79aec4;border-radius:10px;color:var(--blue);background:#fff;font-size:13px;font-weight:800; }
.field-upload-button:disabled { color:var(--muted);border-color:#d7e0e4;background:var(--gray-soft); }
.field-upload-hint { margin:6px 0 0;color:var(--muted);font-size:10px; }
.multi-choice-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
.signature-pad { padding:10px;border:1px solid #c9dbe3;border-radius:12px;background:#f8fbfc; }
.signature-pad canvas { display:block;width:100%;aspect-ratio:8/3;border:1px dashed #93b6c5;border-radius:9px;background:#fff;touch-action:none; }
.signature-hint { margin:8px 0;color:var(--muted);font-size:11px;line-height:1.45; }
.signature-actions { display:grid;grid-template-columns:1fr 1.5fr;gap:8px; }
.signature-actions button { min-height:42px;border-radius:9px;font-weight:800; }
.signature-actions .ghost { border:1px solid var(--line);color:var(--ink);background:#fff; }
.signature-actions .primary { border:1px solid var(--blue);color:#fff;background:var(--blue); }
.signature-actions button:disabled { opacity:.5; }
.media-actions { display:flex;align-items:center;gap:8px; }
.media-icon { flex:0 0 28px;height:28px;display:grid;place-items:center;border-radius:9px;color:var(--blue);background:var(--blue-soft);font-size:12px;font-weight:800; }
.evidence-card>summary { cursor:pointer;list-style:none; }
.evidence-card>summary::-webkit-details-marker { display:none; }
.evidence-card>summary::after { content:"展开";color:var(--blue);font-size:11px;font-weight:800; }
.evidence-card[open]>summary::after { content:"收起"; }
.evidence-card>summary>small { margin-left:auto; }
.evidence-card-body { margin-top:12px;overflow:hidden;border:1px solid #d9e5ea;border-radius:14px;background:#f4f8fa; }
.evidence-card-body>p { margin:0;padding:8px 12px;color:var(--muted);background:#fff;font-size:11px;line-height:1.5; }
.task-log-list { max-height:min(48vh,440px);min-height:110px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:14px 12px;background:#eef4f6;scroll-behavior:smooth; }
.task-log-item { width:min(86%,340px);display:flex;flex-direction:column;align-items:flex-start;color:#385361;font-size:13px;line-height:1.55; }
.task-log-item.own { align-self:flex-end;align-items:flex-end; }
.task-log-item.other { align-self:flex-start; }
.task-log-item.system { width:100%;align-self:center;align-items:center;color:#7b673e;font-size:11px; }
.task-log-bubble { max-width:100%;padding:9px 11px;border:1px solid #dbe6ea;border-radius:4px 14px 14px;background:#fff;box-shadow:0 2px 7px rgba(29,66,84,.05);white-space:pre-wrap;overflow-wrap:anywhere; }
.task-log-item.own .task-log-bubble { border-color:#b9dfcf;border-radius:14px 4px 14px 14px;background:#ddf3e8; }
.task-log-item.system .task-log-bubble { padding:5px 10px;border:0;border-radius:999px;background:#f6e8c8;box-shadow:none;text-align:center; }
.task-log-empty { margin:auto!important;padding:18px!important;color:var(--muted)!important;background:transparent!important;text-align:center;font-size:12px!important; }
.task-log-attachment { min-width:210px;padding:0;border:0;background:transparent; }
.task-log-meta { width:100%;display:flex;align-items:center;gap:7px;margin-top:4px; }
.task-log-item.own .task-log-meta { justify-content:flex-end; }
.task-log-item.system .task-log-meta { width:auto; }
.task-log-meta small { color:var(--muted);font-size:10px; }
.task-log-kind { padding:2px 6px;border-radius:999px;background:#f6e5ba;color:#80530f;font-size:10px;font-weight:800; }
.task-log-delete { padding:3px 7px;border:1px solid #dfb6ae;border-radius:7px;background:#fff;color:#a54431;font-size:10px;font-weight:750; }
.task-log-audio { width:100%;margin-top:7px; }
.task-log-editor { display:grid;gap:8px;padding:11px 12px;border-top:1px solid #d9e5ea;background:#fff; }
.task-log-input { min-width:0; }
.task-log-input label { margin-bottom:6px;display:flex;justify-content:space-between;color:var(--ink);font-size:12px;font-weight:800; }
.task-log-input label small { color:var(--muted);font-weight:500; }
.task-log-editor textarea { width:100%;min-height:72px;padding:10px 11px;border:1px solid #bdcfd7;border-radius:11px;resize:vertical;font:inherit;background:#fbfdfe; }
.task-log-input.input-invalid textarea { border-color:#c85a48;background:#fff8f6; }
.task-log-compose-actions { display:flex;align-items:center;justify-content:space-between;gap:10px; }
.task-log-attach { min-height:38px;padding:4px 10px 4px 5px;border:1px solid #c8dbe3;border-radius:10px;display:flex;align-items:center;gap:5px;color:var(--blue);background:#fff;font-size:12px;font-weight:800; }
.task-log-editor #appendTaskLog { min-width:72px;min-height:40px;padding:0 15px;border:0;border-radius:10px;color:#fff;background:var(--blue);font-size:13px;font-weight:800; }
.task-log-editor button:disabled,.task-log-editor textarea:disabled { opacity:.55;background:var(--gray-soft);color:var(--muted); }
.exception-entry { width:100%;min-height:64px;margin:2px 0 8px;padding:10px 13px;border:1px solid #e8bbb7;border-radius:13px;color:var(--red);background:#fff;display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;text-align:left; }
.exception-entry>span:first-child { width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--red-soft);font-weight:900; }
.exception-entry strong,.exception-entry small { display:block; }.exception-entry strong { font-size:14px; }.exception-entry small { margin-top:3px;color:var(--muted);font-size:10px; }
.exception-entry b { padding:0 4px;color:#bb7771;font-size:24px;font-weight:400; }
.sheet-actions { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px;margin-top:15px;position:sticky;bottom:-18px;padding:10px 0 calc(18px + env(safe-area-inset-bottom));background:linear-gradient(to bottom,rgba(247,250,251,0),#f7fafb 16px,#f7fafb); }
.sheet-actions.single-action { grid-template-columns:1fr; }
.sheet-actions button { width:100%;min-width:0;min-height:54px;border-radius:12px;font-size:16px;font-weight:800;white-space:nowrap; }
.draft-action { min-width:0;position:relative;display:flex;align-items:flex-end; }
.draft-action small { position:absolute;left:0;right:0;top:-9px;color:var(--muted);font-size:9px;text-align:center;white-space:nowrap; }
.sheet-actions .ghost { border:1px solid var(--line);background:#fff;color:var(--ink); }
.sheet-actions .primary { border:0;color:#fff;background:var(--blue);box-shadow:0 8px 18px rgba(25,119,163,.22); }
.sheet-actions .primary:disabled,.sheet-actions .primary.waiting { color:#6f818c;background:var(--gray-soft);box-shadow:none; }
.exception-dialog { width:calc(100% - 24px);max-width:448px;max-height:min(90vh,720px);margin:auto;padding:18px;border:0;border-radius:20px;color:var(--ink);background:#f8fafb;box-shadow:0 24px 70px rgba(8,27,40,.34);overflow:auto; }
.exception-dialog::backdrop { background:rgba(8,27,40,.62); }
.login-dialog { width:calc(100% - 24px);max-width:448px;margin:auto;padding:18px;border:0;border-radius:20px;color:var(--ink);background:#f8fafb;box-shadow:0 24px 70px rgba(8,27,40,.34); }
.login-dialog::backdrop { background:rgba(8,27,40,.62); }
.login-dialog header { min-height:52px;padding-right:54px;position:relative; }
.login-dialog header span { color:var(--blue);font-size:11px;font-weight:800; }
.login-dialog h2 { margin:4px 0 0;font-size:22px; }
.login-dialog header button { width:46px;height:46px;position:absolute;right:0;top:0;border:0;border-radius:50%;color:#647c89;background:#e8eef1;font-size:24px; }
.login-dialog>p { margin:10px 0 14px;color:var(--muted);font-size:12px;line-height:1.55; }
.login-dialog label { display:block;margin-bottom:8px;font-size:13px;font-weight:800; }
.login-dialog input { width:100%;min-height:52px;padding:12px;border:1px solid #cedce3;border-radius:11px;color:var(--ink);background:#fff;font-size:15px; }
.login-dialog input:focus { outline:3px solid rgba(25,119,163,.13);border-color:#77b3cc; }
.login-dialog input[aria-invalid="true"] { border-color:#c85a48;background:#fff8f6;box-shadow:0 0 0 3px rgba(200,90,72,.12); }
.login-dialog .login-error { min-height:18px;margin:8px 0 2px;color:var(--red);font-size:11px; }
.login-submit { width:100%;min-height:52px;border:0;border-radius:12px;color:#fff;background:var(--blue);font-size:15px;font-weight:800; }
.login-submit:disabled { color:#7c8c95;background:var(--gray-soft); }
.exception-dialog header { min-height:52px;padding-right:54px;position:relative; }
.exception-dialog header span { color:var(--red);font-size:11px;font-weight:800; }
.exception-dialog h2 { margin:4px 0 0;font-size:22px; }
.exception-dialog header button { width:46px;height:46px;position:absolute;right:0;top:0;border:0;border-radius:50%;color:#647c89;background:#e8eef1;font-size:24px; }
.exception-guidance { margin:10px 0 14px;padding:11px;border-radius:11px;color:#6f5552;background:var(--red-soft);font-size:12px;line-height:1.55; }
.exception-categories { display:grid;grid-template-columns:1fr 1fr;gap:8px; }
.exception-category { min-height:65px;padding:10px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:#fff;text-align:left; }
.exception-category strong,.exception-category small { display:block; }.exception-category strong { font-size:13px; }.exception-category small { margin-top:4px;color:var(--muted);font-size:10px;line-height:1.35; }
.exception-category.active { border-color:#d37770;color:var(--red);background:var(--red-soft);box-shadow:0 0 0 2px rgba(189,75,67,.1); }
.exception-description { margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:8px; }
.exception-description strong { font-size:13px; }.exception-description small { color:var(--muted);font-size:10px; }
.exception-dialog textarea { width:100%;min-height:80px;margin-top:8px;padding:11px;border:1px solid #cedce3;border-radius:11px;color:var(--ink);background:#fff;resize:vertical;font-size:14px; }
.exception-dialog textarea:focus { outline:3px solid rgba(189,75,67,.1);border-color:#d79a95; }
.exception-dialog textarea.input-invalid { border-color:#c85a48;background:#fff8f6; }
.exception-categories.input-invalid,.exception-media.input-invalid,.media-actions.input-invalid { border-radius:10px;outline:2px solid #c85a48;outline-offset:3px;background:#fff8f6; }
.input-requirement { margin:10px 0 0;padding:9px 10px;border-radius:9px;color:#546d79;background:var(--gray-soft);font-size:11px;line-height:1.5; }
.inline-input-error { margin:7px 2px 0;color:#a53f30;font-size:12px;font-weight:700;line-height:1.5; }
.inline-input-error[hidden] { display:none; }
.exception-media { margin-top:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px; }
.exception-media button { min-height:54px;padding:7px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#fff;font-size:11px; }
.exception-media button span { width:25px;height:25px;margin:0 auto 4px;display:grid;place-items:center;border-radius:8px;color:var(--blue);background:var(--blue-soft);font-weight:800; }
.exception-media button small { display:block;margin-top:2px;color:var(--muted);font-size:9px; }
.attachment-preview-dialog { width:min(92vw,460px);padding:18px;border:0;border-radius:20px;color:var(--ink);background:#fff;box-shadow:0 22px 60px rgba(8,27,40,.3); }
.attachment-preview-dialog::backdrop { background:rgba(8,27,40,.58); }
.attachment-preview-dialog header { display:flex;justify-content:space-between;align-items:flex-start;gap:12px; }
.attachment-preview-dialog header span { color:var(--blue);font-size:11px;font-weight:800; }.attachment-preview-dialog h2 { margin:3px 0 0;font-size:20px; }
.attachment-preview-dialog header button { width:38px;height:38px;border:0;border-radius:50%;color:var(--muted);background:var(--gray-soft);font-size:24px; }
.attachment-preview-stage { min-height:180px;max-height:58vh;margin-top:14px;border-radius:14px;overflow:hidden;background:#edf3f5;display:grid;place-items:center; }
.attachment-preview-stage img { max-width:100%;max-height:58vh;object-fit:contain; }
.attachment-preview-dialog>p { margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.55; }
.attachment-removal-note { padding:9px;border-radius:9px;color:#8b5125!important;background:#fff3dd; }
.attachment-preview-actions { display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px; }
.attachment-preview-actions button { min-height:46px;border-radius:10px;font-weight:800; }
.sample-reason-dialog { width:calc(100% - 24px);max-width:448px;margin:auto;padding:18px;border:0;border-radius:20px;color:var(--ink);background:#f8fafb;box-shadow:0 24px 70px rgba(8,27,40,.34); }
.sample-reason-dialog::backdrop { background:rgba(8,27,40,.62); }
.sample-reason-dialog header { min-height:52px;padding-right:54px;position:relative; }
.sample-reason-dialog header span { color:var(--blue);font-size:11px;font-weight:800; }
.sample-reason-dialog h2 { margin:4px 0 0;font-size:22px; }
.sample-reason-dialog header button { width:46px;height:46px;position:absolute;right:0;top:0;border:0;border-radius:50%;color:#647c89;background:#e8eef1;font-size:24px; }
.sample-reason-dialog>p:not(.inline-input-error) { margin:10px 0 16px;padding:11px 12px;border-radius:11px;color:#536d79;background:#edf4f7;font-size:13px;line-height:1.55; }
.sample-reason-dialog label { display:flex;justify-content:space-between;align-items:center;gap:8px;color:#244d64;font-size:13px; }
.sample-reason-dialog label small { color:var(--muted);font-size:11px; }
.sample-reason-dialog textarea { width:100%;min-height:112px;margin-top:8px;padding:12px;border:1px solid #cedce3;border-radius:11px;color:var(--ink);background:#fff;resize:vertical;font-size:15px;line-height:1.55; }
.sample-reason-dialog textarea:focus { outline:3px solid rgba(25,119,163,.13);border-color:#77b3cc; }
.sample-reason-dialog textarea.input-invalid { border-color:#c85a48;background:#fff8f6; }
.sample-reason-actions { display:grid;grid-template-columns:1fr 1.4fr;gap:9px;margin-top:16px; }
.sample-reason-actions button { min-height:50px;border-radius:11px;font-size:14px;font-weight:850; }
.sample-reason-actions .secondary { border:1px solid #cbd9df;color:#4f6977;background:#fff; }
.sample-reason-actions .primary { border:0;color:#fff;background:var(--blue); }
.task-completion-dialog { width:calc(100% - 32px);max-width:390px;margin:auto;padding:24px 20px 20px;border:0;border-radius:20px;color:var(--ink);background:#fff;box-shadow:0 24px 70px rgba(8,27,40,.34);text-align:center; }
.task-completion-dialog::backdrop { background:rgba(8,27,40,.58); }
.task-completion-mark { width:52px;height:52px;margin:0 auto 13px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#3a936f;font-size:26px;font-weight:900; }
.task-completion-dialog h2 { margin:0;font-size:21px; }
.task-completion-dialog>p { margin:10px 0 0;color:#536d79;font-size:13px;line-height:1.6; }
.task-completion-actions { display:grid;grid-template-columns:1fr 1.25fr;gap:9px;margin-top:20px; }
.task-completion-actions button { min-height:50px;border-radius:11px;font-size:14px;font-weight:850; }
.task-completion-actions .secondary { border:1px solid #cbd9df;color:#4f6977;background:#fff; }
.task-completion-actions .primary { border:0;color:#fff;background:#3a936f; }
.task-completion-actions button:disabled { opacity:.55; }
.legacy-dialog-backdrop { position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(8,27,40,.62);z-index:90; }
dialog[data-legacy-dialog-open="true"] { display:block!important;position:fixed;top:50%;left:50%;z-index:91;max-width:calc(100vw - 24px);max-height:90vh;max-height:calc(100vh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:0;overflow:auto;transform:translate(-50%,-50%); }
.danger-outline { border:1px solid #e7a99b;color:#a54431;background:#fff; }
.quality-boundary { margin:11px 0;color:var(--muted);font-size:10px;line-height:1.45; }
.submit-exception { width:100%;min-height:52px;border:0;border-radius:12px;color:#fff;background:var(--red);font-size:15px;font-weight:800; }
.submit-exception:disabled { color:#7c8c95;background:var(--gray-soft); }
.toast { width:max-content;max-width:calc(100vw - 32px);position:fixed;left:50%;bottom:88px;transform:translate(-50%,20px);padding:11px 15px;border-radius:20px;color:#fff;background:rgba(14,38,54,.94);font-size:12px;line-height:1.5;text-align:center;opacity:0;pointer-events:none;transition:.2s;z-index:30;white-space:normal; }
.toast.show { opacity:1;transform:translate(-50%,0); }
@media (max-width:360px) {
  .mobile-head { padding-left:16px;padding-right:16px; }
  .head-stats strong { font-size:21px; }
  .head-stats span { font-size:11px; }
  .context-strip { grid-template-columns:1fr; }
  .context-item { min-height:auto; }
  .media-actions,.parallel-lanes,.basis-summary { grid-template-columns:1fr; }
  .task-log-editor { grid-template-columns:1fr; }
  .exception-categories { grid-template-columns:1fr; }
}
@media (min-width:481px) {
  body { padding:20px 0; }
  .phone-shell { min-height:calc(100vh - 40px);border-radius:24px; }
  .tabbar { bottom:20px;border-radius:0 0 24px 24px; }
  .task-sheet { bottom:20px;border-radius:24px; }
}
/* D-109 personal production report */
.worker-report { display: grid; gap: 14px; padding-bottom: 18px; }
.worker-content.report-mode { margin-top: 0; padding-top: 18px; }
.worker-report-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.worker-report-head > div { min-width: 0; }
.worker-report-head small { color: #2c7da5; font-weight: 700; }
.worker-report-head h2 { color: #163d57; font-size: 21px; margin: 4px 0; }
.worker-report-head p { color: #728793; font-size: 12px; margin: 0; }
.worker-report-head button, .worker-report-dates button { border: 0; background: #e8f2f7; color: #1e668c; border-radius: 9px; padding: 9px 12px; font-weight: 700; }
.worker-report-head button { flex: 0 0 auto; }
.worker-report-period { display: flex; background: #e8eef2; border-radius: 10px; padding: 3px; width: fit-content; }
.worker-report-period button { border: 0; background: transparent; color: #637985; border-radius: 8px; padding: 8px 18px; font-weight: 700; }
.worker-report-period button.active { background: #fff; color: #195b7e; box-shadow: 0 2px 8px rgba(23, 73, 103, .1); }
.worker-report-dates { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 8px; }
.worker-report-dates label { display: grid; gap: 4px; color: #728793; font-size: 11px; }
.worker-report-dates input { min-width: 0; border: 1px solid #d7e3e9; border-radius: 9px; padding: 9px 5px; color: #173e57; background: #fff; }
.worker-report-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.worker-report-summary div { background: #fff; border: 1px solid #e0e9ed; border-radius: 13px; padding: 14px; display: grid; gap: 3px; }
.worker-report-summary strong { color: #174967; font-size: 24px; }
.worker-report-summary span { color: #728793; font-size: 12px; }
.worker-report-card { background: #fff; border: 1px solid #e0e9ed; border-radius: 14px; padding: 14px; }
.worker-report-flows { display: grid; gap: 7px; }
.worker-report-flows > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; background: #f1f6f8; border-radius: 9px; padding: 10px; }
.worker-report-flows span, .worker-report-flows strong { color: #174967; font-size: 13px; }
.worker-report-flows small { grid-column: 1 / 3; color: #738894; font-size: 11px; }
.worker-report-orders { display: grid; }
.worker-report-orders article { padding: 11px 1px; border-bottom: 1px solid #e5ecef; display: grid; gap: 5px; }
.worker-report-orders article > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.worker-report-orders strong { color: #174967; font-size: 14px; }
.worker-report-orders span, .worker-report-orders small, .worker-report-orders p { color: #718692; font-size: 11px; margin: 0; }
.worker-report-orders b { color: #23759e; background: #e6f2f7; border-radius: 8px; padding: 2px 7px; font-size: 11px; }
.worker-report-pages { display: flex; justify-content: center; align-items: center; gap: 10px; padding-top: 12px; }
.worker-report-pages button { border: 1px solid #d7e3e9; background: #fff; color: #236b90; border-radius: 8px; padding: 7px 12px; }
.worker-report-pages button:disabled { color: #aebdc4; }
.worker-report-pages span { color: #718692; font-size: 11px; }
@media (max-width:380px) {
  .worker-report-head h2 { font-size: 19px; }
  .worker-report-dates { grid-template-columns: 1fr 1fr; }
  .worker-report-dates button { grid-column: 1 / 3; width: 100%; }
}

/* D-147 sample flow V2: one owner, multiple deliverable tasks */
.sample-v2-mark { display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;color:#6d4b98;background:#f0eafa;font-size:11px;font-weight:850;letter-spacing:.04em; }
.sample-v2-card { border-color:#d9d0ea;box-shadow:inset 4px 0 #8b69b6; }
.sample-work-package-detail { padding-bottom:18px; }
.collaboration-refresh-button { flex:none;min-height:28px;padding:3px 9px;border:1px solid #c6d8e0;border-radius:8px;color:#39728d;background:rgba(255,255,255,.78);font-size:12px;font-weight:750; }
.collaboration-refresh-button:disabled { color:#859ba6;background:#eef3f5; }
.detail-kicker .collaboration-refresh-button { margin-left:auto;margin-right:54px; }
.sample-package-heading { display:flex;align-items:center;gap:8px; }
.sample-package-summary { padding:18px;border:1px solid #dfe8ed;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(19,61,85,.07); }
.sample-package-summary h2 { margin:10px 0 4px;color:#153f59;font-size:24px;line-height:1.2; }
.sample-package-summary>p { margin:0;color:#68808d;font-size:14px;line-height:1.5; }
.sample-package-meta { margin-top:14px;display:flex;flex-wrap:wrap;gap:8px; }
.sample-package-meta>* { padding:6px 9px;border-radius:9px;color:#315e76;background:#edf5f8;font-size:12px; }
.sample-package-meta strong { color:#176f92;background:#e0f2f8; }
.sample-return-reason { margin-top:12px;padding:13px 14px;border-radius:12px;color:#825329;background:#fff1d8; }
.sample-return-reason strong { display:block;font-size:13px; }.sample-return-reason p { margin:5px 0 0;font-size:13px;line-height:1.55; }
.sample-work-items { margin-top:18px;display:grid;gap:12px; }
.sample-work-item { padding:15px;border:1px solid #dce6eb;border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(19,61,85,.05); }
.sample-work-item.completed { border-color:#cde6da;background:#fbfefd; }
.sample-work-item header { display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:start; }
.sample-work-item header>span { width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#fff;background:#6f57a1;font-size:14px;font-weight:850; }
.sample-work-item.completed header>span { background:#3b8c6f; }
.sample-work-item h3 { margin:0;color:#173f57;font-size:17px;line-height:1.35; }
.sample-work-item header p { margin:4px 0 0;color:#667f8c;font-size:13px;line-height:1.45; }
.sample-work-item header>strong { padding:5px 8px;border-radius:8px;color:#8a6424;background:#fff1d5;font-size:12px;white-space:nowrap; }
.sample-work-item.completed header>strong { color:#2c7c61;background:#e5f4ed; }
.sample-work-deliverables { margin:12px 0 0 44px;display:flex;flex-wrap:wrap;gap:7px; }
.sample-work-deliverables span { padding:7px 9px;border-radius:9px;color:#365e73;background:#eef4f7;font-size:12px;font-weight:700; }
.sample-work-requirement,.sample-work-record { margin:10px 0 0 44px;padding:10px 11px;border-radius:10px;color:#536d79;background:#f5f8f9;font-size:13px;line-height:1.55; }
.sample-work-requirement b,.sample-work-record b { display:block;margin-bottom:3px;color:#244d64;font-size:12px; }
.sample-work-note { margin:12px 0 0 44px;display:grid;gap:5px;color:#4f6e7e;font-size:12px;font-weight:750; }
.sample-work-note textarea,.sample-transfer textarea,.sample-transfer select { width:100%;min-height:46px;padding:10px 11px;border:1px solid #cfdee5;border-radius:10px;color:#173f57;background:#fff;font-size:14px;line-height:1.5; }
.sample-work-note textarea { min-height:72px;resize:vertical; }
.sample-item-journal { margin:12px 0 0 44px;padding-top:11px;border-top:1px solid #e5ecef;display:grid;gap:8px; }
.sample-item-journal>b { color:#244d64;font-size:13px; }
.sample-journal-empty { margin:0;color:#78909b;font-size:12px; }
.sample-journal-entry { padding:9px 10px;border-radius:10px;background:#f5f8f9; }
.sample-journal-entry p { margin:0;color:#284f64;font-size:13px;line-height:1.55;white-space:pre-wrap; }
.sample-journal-entry small { display:block;margin-top:4px;color:#78909b;font-size:11px; }
.sample-journal-entry.photo { display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center; }
.sample-journal-entry.photo>div { min-width:0; }
.sample-journal-entry.photo strong { display:block;overflow:hidden;color:#284f64;font-size:13px;text-overflow:ellipsis;white-space:nowrap; }
.sample-journal-photo { width:72px;height:58px;padding:0;border:0;border-radius:9px;overflow:hidden;background:#dce9ee;color:#587382;font-size:11px; }
.sample-journal-photo img { width:100%;height:100%;object-fit:cover;display:block; }
.sample-journal-editor { margin:12px 0 0 44px;padding:11px;border:1px solid #d8e5eb;border-radius:12px;background:#f8fbfc; }
.sample-journal-editor label { display:grid;gap:6px;color:#365d72;font-size:13px;font-weight:800; }
.sample-journal-editor textarea { width:100%;min-height:72px;padding:10px 11px;border:1px solid #c8dbe4;border-radius:10px;color:#173f57;background:#fff;font-size:14px;line-height:1.5;resize:vertical; }
.sample-journal-editor>div { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px; }
.sample-journal-editor button { min-height:42px;border:1px solid #9fc4d6;border-radius:9px;color:#176890;background:#fff;font-weight:800; }
.sample-journal-editor>small { display:block;margin-top:7px;color:#718894;font-size:11px;line-height:1.45; }
.sample-item-action { min-height:44px;margin:10px 0 0 44px;padding:9px 14px;border-radius:10px;font-size:14px;font-weight:850; }
.sample-item-action.primary { border:0;color:#fff;background:#1977a3; }.sample-item-action.secondary { border:1px solid #cbdce4;color:#315f77;background:#fff; }
.sample-package-primary { width:100%;min-height:54px;margin-top:14px;border:0;border-radius:13px;color:#fff;background:#176d94;font-size:16px;font-weight:850;box-shadow:0 8px 18px rgba(23,109,148,.18); }
.sample-package-primary:disabled { color:#768995;background:#dfe7eb;box-shadow:none; }
.sample-transfer { margin-top:12px;padding:13px 14px;border:1px solid #dce6eb;border-radius:13px;background:#fff; }
.sample-transfer summary { color:#4a6878;font-size:13px;font-weight:800;cursor:pointer; }
.sample-transfer label { margin-top:11px;display:grid;gap:5px;color:#567180;font-size:12px;font-weight:750; }
.sample-transfer button { width:100%;min-height:46px;margin-top:11px;border:1px solid #c8d9e1;border-radius:10px;color:#245b76;background:#f1f6f8;font-size:14px;font-weight:850; }
.sample-item-roster { margin:12px 0 0 44px;padding:11px 12px;border-radius:11px;background:#f4f8fa;color:#365d72; }
.sample-item-roster>b { display:block;font-size:13px; }.sample-item-roster>p { margin:4px 0 0;font-size:13px;line-height:1.55; }
.sample-item-roster.editable { padding:0;border:1px solid #d7e4ea;background:#fff;overflow:hidden; }
.sample-item-roster.editable summary { padding:11px 12px;cursor:pointer; }.sample-item-roster.editable summary span { display:block;font-weight:850; }.sample-item-roster.editable summary small { display:block;margin-top:3px;color:#6b818c; }
.sample-participant-inline,.sample-participant-options { display:grid;gap:8px;padding:10px 12px; }
.sample-participant-inline label,.sample-participant-options label { min-height:42px;display:flex;align-items:center;gap:9px;padding:7px 10px;border:1px solid #d9e5ea;border-radius:10px;background:#f8fbfc;font-size:14px; }
.sample-participant-inline label.locked { border-color:#b8dac8;background:#eff8f3;color:#27684b; }.sample-participant-inline input,.sample-participant-options input { width:18px;height:18px; }.sample-participant-inline small,.sample-participant-options small { margin-left:auto;color:#718894; }
.sample-item-roster.editable>button { min-height:42px;margin:0 12px 12px;padding:7px 14px;border:0;border-radius:9px;color:#fff;background:#277a9f;font-weight:850; }
.sample-item-journal { margin-top:12px;padding:12px;border:1px solid #dbe7ec;border-radius:13px;background:#f4f9fb; }
.sample-item-journal summary { display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:#244d64; }.sample-item-journal summary small { color:#6e8590;font-weight:500; }
.sample-chat-list { max-height:420px;margin-top:10px;padding:10px;overflow-y:auto;border-radius:11px;background:#eaf2f5; }
.sample-chat-row { max-width:86%;margin:10px 0;display:flex;flex-direction:column;align-items:flex-start; }.sample-chat-row.own { margin-left:auto;align-items:flex-end; }.sample-chat-row.system { max-width:100%;align-items:center; }
.sample-chat-bubble { max-width:100%;padding:10px 12px;border-radius:13px 13px 13px 4px;color:#294f63;background:#fff;box-shadow:0 2px 7px rgba(22,63,84,.07);font-size:13px;line-height:1.55; }
.sample-chat-row.own .sample-chat-bubble { border-radius:13px 13px 4px 13px;background:#dff4e8; }.sample-chat-row.system .sample-chat-bubble { padding:6px 10px;border-radius:999px;background:#dce7eb;color:#607984;box-shadow:none;font-size:12px; }
.sample-chat-bubble p { margin:0;white-space:pre-wrap; }.sample-chat-meta { display:flex;align-items:center;gap:7px;margin-top:4px;color:#78909b; }.sample-chat-meta .task-log-delete { min-height:26px;padding:2px 7px; }
.sample-journal-attachment { min-width:190px;display:flex;gap:9px;align-items:center; }.sample-journal-attachment>span { width:54px;height:46px;display:grid;place-items:center;border-radius:8px;background:#e2edf1;color:#527181;font-size:12px; }.sample-journal-attachment strong,.sample-journal-attachment small { display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.sample-journal-editor .sample-log-send-row { grid-template-columns:1fr auto auto; }.sample-log-send-row button:first-child { color:#fff;background:#2380a7;border-color:#2380a7; }
.sample-participant-dialog { max-width:430px; }.sample-participant-options { max-height:360px;overflow-y:auto;padding-left:0;padding-right:0; }
.sample-confirmation-journal { margin-top:18px;padding:15px;border:1px solid #cfe0e7;border-radius:15px;background:#fff; }
@media (max-width:380px) {
  .sample-work-item header { grid-template-columns:34px minmax(0,1fr); }
  .sample-work-item header>strong { grid-column:2;justify-self:start; }
	.sample-work-deliverables,.sample-work-requirement,.sample-work-record,.sample-work-note,.sample-item-roster,.sample-item-journal,.sample-journal-editor,.sample-item-action { margin-left:0; }
}
body.development-environment { padding-top: 42px; }
.environment-banner { position: fixed; inset: 0 0 auto; z-index: 10000; min-height: 42px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; background: #a33b2f; color: #fff; font-size: 14px; font-weight: 800; text-align: center; letter-spacing: .02em; box-shadow: 0 2px 10px rgba(68, 23, 17, .24); }
.environment-banner[hidden] { display: none; }

/* D-169 worker business text readability floor. */
.phone-shell small,
dialog small { font-size:12px!important;line-height:1.5; }
.section-title small,.production-category-card small,
.compact-order-created,.compact-order-main .order-priority,
.compact-order-stage,.production-current-stage span,
.task-order-label,.task-step>span,.detail-step-label,
.production-fact small,.overview-phase-title,
.parallel-heading span,.demo-users>div:first-child span,
.quality-boundary,.input-requirement,
.public-version,.step-label { font-size:12px;line-height:1.5; }
.task-card>p.task-trace,.production-stage-copy small,
.production-stage-action small,.overview-node small,
.sample-journal-entry small,.sample-journal-editor>small { font-size:12px!important;line-height:1.5; }

.phone-use-note,
.login-error,
.single-device-note,
.demo-users>p,
.color-legend span,
.related-order-filter,
.production-order-status,
.compact-progress-count,
.compact-order-facts,
.production-progress-copy span,
.production-order-footer,
.production-stage-row i,
.production-stage-action strong,
.task-tag,
.status-pill,
.order-priority,
.tabbar button,
.tabbar button>span,
.detail-order-identity>span,
.active-exception-card>span,
.card-heading span,
.overview-head>span,
.context-item>span,
.task-brief-card>span,
.basis-item span,
.basis-revision,
.basis-source,
.overview-step>i,
.overview-lane>i,
.overview-node>i,
.overview-node strong,
.usage-total,
.participant-directory-tools nav button,
.field-attachment span,
.task-log-attachment span,
.photo-thumbnail,
.photo-remove,
.field-upload-hint,
.login-dialog header span,
.exception-dialog header span,
.exception-media button,
.attachment-preview-dialog header span,
.sample-reason-dialog header span,
.sample-v2-mark,
.sample-journal-photo { font-size:12px!important; }
.material-row-list { display: grid; gap: 12px; }
.material-row { padding: 14px; border: 1px solid #d9e6ed; border-radius: 12px; background: #f7fafc; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.material-row-cell { min-width: 0; display: grid; gap: 6px; font-size: 14px; }
.material-row-cell:first-child { grid-column: 1 / -1; }
.material-row-cell input { min-width: 0; width: 100%; }
.material-row-remove { grid-column: 1 / -1; justify-self: end; padding: 6px 10px; font-size: 14px; color: #697d89; background: transparent; border: 0; }
.material-row-add { display: block; margin: 12px auto 0; padding: 10px 20px; color: #924e00; background: #fff0d3; border: 1px solid #efd09a; border-radius: 10px; font-size: 16px; }
.storage-correction-note { margin:12px 0;padding:14px;border:1px solid #f4d49a;border-radius:12px;background:#fff8e8;color:#775420;font-size:15px;line-height:1.6; }
.storage-correction-note p { margin:6px 0 0;overflow-wrap:anywhere; }
.storage-return-button { display:block;margin:14px auto;padding:10px 22px;border:1px solid #c16b17;border-radius:10px;background:#fff1dd;color:#945011;font-size:16px;font-weight:700; }
.storage-return-button[hidden],.storage-correction-note[hidden] { display:none; }

.erp-source-mark{display:inline-flex;align-items:center;flex-shrink:0;vertical-align:middle;margin-left:4px;padding:1px 5px;border:1px solid #5b21b6;border-radius:4px;background:#6d28d9;color:#fff;font:700 12px/1.2 sans-serif;white-space:nowrap}.erp-source-mark[hidden]{display:none}

.form-quantity-summary { padding:14px 16px; border:1px solid #bad9e4; border-radius:10px; background:#edf7fa; color:#175772; font-size:17px; font-weight:700; line-height:1.6; }

.category-slurry .production-category-icon { color:#8d3266; background:#fce5f2; }
