.central-panel{margin-top:18px;background:#fff;border:1px solid #cfdce5;border-radius:12px;box-shadow:0 5px 20px #173a5107;overflow:hidden}.central-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;background:#f7fafc;border-bottom:1px solid #dce5eb}.central-head h2{margin:2px 0 4px}.central-kicker{font-size:12px;font-weight:900;color:#086b9f;letter-spacing:.08em}.central-status{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.central-pill{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;background:#eef2f5;color:#526571;font-size:12px;font-weight:800}.central-pill.ok{background:#e7f6ec;color:#17683d}.central-pill.warn{background:#fff3d6;color:#8a5b00}.central-actions{display:flex;gap:8px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid #e2e8ee}.central-actions button{min-height:40px;padding:9px 12px;font-size:13px}.central-help{margin:0;padding:0 20px 14px;color:#647786;font-size:13px;line-height:1.65}.central-message{margin:0 20px 12px;padding:10px 12px;border-radius:8px;background:#eef5f9;color:#34556d;font-size:13px;line-height:1.6}.central-message.error{background:#fff0ed;color:#9a3429}.central-summary{display:flex;gap:12px;flex-wrap:wrap;padding:0 20px 12px;font-size:13px;color:#5d7280}.central-list{display:grid;gap:7px;padding:0 20px 20px}.central-case{display:grid;grid-template-columns:108px minmax(0,1.2fr) minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #d9e3e9;border-left:5px solid #1680b4;border-radius:9px;background:#fff;padding:10px 12px}.central-case-time{font-size:12px;color:#687d8a;font-weight:700}.central-case-main{min-width:0}.central-case-title{font-size:15px;font-weight:900;color:#17384f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.central-case-sub{font-size:12px;color:#687d8a;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.central-case-customer{font-size:13px;color:#314f63;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.central-case-state{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#fff0cb;color:#76520a;font-size:11px;font-weight:900;white-space:nowrap}.central-empty{padding:18px;border:1px dashed #c7d5de;border-radius:9px;text-align:center;color:#687d8a;font-size:13px}@media(max-width:760px){.central-head{display:block;padding:16px}.central-status{justify-content:flex-start;margin-top:10px}.central-actions{padding:12px 16px}.central-actions button{flex:1 1 150px}.central-help{padding:0 16px 12px}.central-message{margin:0 16px 10px}.central-summary{padding:0 16px 10px}.central-list{padding:0 16px 16px}.central-case{grid-template-columns:82px minmax(0,1fr) auto;gap:7px;padding:9px 10px}.central-case-customer{grid-column:2/4}.central-case-title{font-size:14px}.central-case-sub{font-size:11px}}
.central-map-link{display:inline-flex;align-items:center;padding:9px 13px;border-radius:8px;border:1px solid #b9c7d3;background:#fff;color:#24445f;text-decoration:none;font-weight:700}.central-map-link:hover{background:#f1f6fa}

/* V0.10.2 fix2: 左端ラインはエリア色のみ / LPは赤バッジのみ */
.central-case.tone-nagoya{border-left-color:#8bc34a}
.central-case.tone-chita{border-left-color:#f4a62a}
.central-case.tone-mikawa{border-left-color:#7e57c2}
.central-case.tone-other{border-left-color:#1e88e5}
.central-case.tone-unknown{border-left-color:#7b8790}
.central-case-sub{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.central-source-badge,.central-area-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:999px;font-size:11px;font-weight:900;line-height:1.2}
.central-source-badge.source-lp{background:#e53935;color:#fff}
.central-source-badge.source-sharing{background:#edf2f6;color:#40586a;border:1px solid #d1dce4}
.central-area-badge.area-nagoya{background:#dff3c5;color:#365800;border:1px solid #a9d96f}
.central-area-badge.area-chita{background:#fff0cb;color:#754900;border:1px solid #f4bd55}
.central-area-badge.area-mikawa{background:#efe4fb;color:#5a3280;border:1px solid #ba96df}
.central-area-badge.area-other{background:#dfeefd;color:#15578b;border:1px solid #8dbde6}
.central-area-badge.area-unknown{background:#eef2f5;color:#526571;border:1px solid #d0d9df}
.central-case-number{color:#687d8a;font-size:12px;font-weight:700}

/* V0.10.3: 中央DBファースト担当ロック */
.central-case{grid-template-columns:108px minmax(0,1.15fr) minmax(0,.9fr) auto minmax(145px,auto)}
.central-case.is-assigned{background:#fbfcfd}
.central-case-state.state-new{background:#fff0cb;color:#76520a}
.central-case-state.state-active{background:#e5f3ff;color:#125983}
.central-case-action{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:145px}
.central-claim,.central-release{min-height:34px;padding:7px 10px;border-radius:8px;font-size:12px;font-weight:900;white-space:nowrap}
.central-claim{background:#176b42;color:#fff;border:1px solid #176b42}
.central-claim:hover{background:#105335}
.central-claim:disabled{background:#bdc9c2;border-color:#bdc9c2;cursor:not-allowed}
.central-release{background:#fff;color:#8b4038;border:1px solid #d6a39d}
.central-owner{font-size:12px;font-weight:900;white-space:nowrap;padding:6px 8px;border-radius:8px}
.central-owner.mine{background:#e5f5eb;color:#17683d}
.central-owner.locked{background:#edf2f6;color:#4b6171}
@media(max-width:900px){.central-case{grid-template-columns:82px minmax(0,1fr) auto}.central-case-customer{grid-column:2/4}.central-case-action{grid-column:2/4;justify-content:flex-start;min-width:0}}


/* V0.10.3 fix1: スマホの担当状態・操作を右寄せ、ラベル内文字を中央揃え */
@media(max-width:760px){
  .central-case{grid-template-columns:82px minmax(0,1fr) auto;align-items:center}
  .central-case-time{grid-column:1;grid-row:1}
  .central-case-main{grid-column:2/4;grid-row:1;min-width:0}
  .central-case-customer{grid-column:2/4;grid-row:2;min-width:0}
  .central-case-state{grid-column:2;grid-row:3;justify-self:end;max-width:100%}
  .central-case-action{grid-column:3;grid-row:3;justify-content:flex-end;justify-self:end;width:auto;max-width:100%;min-width:0;flex-wrap:wrap}
  .central-case-state,.central-owner,.central-claim,.central-release{box-sizing:border-box;max-width:100%;text-align:center;line-height:1.3;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
  .central-case-state,.central-owner{display:inline-flex;align-items:center;justify-content:center}
  .central-claim,.central-release{display:inline-flex;align-items:center;justify-content:center}
}
@media(max-width:420px){
  .central-case-state{grid-column:2/4;grid-row:3;justify-self:end}
  .central-case-action{grid-column:2/4;grid-row:4;justify-content:flex-end;justify-self:stretch;width:100%}
}

/* V0.10.5: 本日シフト・音声通知 */
.central-voice-toggle.voice-on{background:#176b42;color:#fff;border-color:#176b42}
.central-today-shifts{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 20px 14px;padding:9px 11px;border:1px solid #dce5eb;border-radius:9px;background:#f8fafb;font-size:12px}.shift-title{font-weight:900;color:#29485d;margin-right:3px}.shift-empty{color:#768996}.today-shift{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-weight:700;border:1px solid #d4dee5;background:#fff}.today-shift.area-nagoya{background:#dff3c5;border-color:#a9d96f;color:#365800}.today-shift.area-chita{background:#fff0cb;border-color:#f4bd55;color:#754900}.today-shift.area-mikawa{background:#efe4fb;border-color:#ba96df;color:#5a3280}.today-shift.area-other{background:#dfeefd;border-color:#8dbde6;color:#15578b}
@media(max-width:760px){.central-today-shifts{margin:0 16px 12px}.today-shift{white-space:normal}}

/* V0.10.5 fix1: 未担当時間警告 */
.shift-warning-title{font-weight:900;color:#9a3429;margin-left:6px}.today-gap{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:8px;background:#fff0ed;color:#983a30;border:1px solid #e4b4ad;font-size:11px;font-weight:900}.today-gap.area-nagoya{border-left:4px solid #8bc34a}.today-gap.area-chita{border-left:4px solid #f4a62a}.today-gap.area-mikawa{border-left:4px solid #7e57c2}.today-gap.area-other{border-left:4px solid #1e88e5}.today-gap-ok{display:inline-flex;padding:5px 8px;border-radius:8px;background:#e8f6ed;color:#17683d;font-size:11px;font-weight:800}

.today-shift small{font-size:9px;opacity:.75}

/* V0.10.6: 案件詳細・受注判定 */
.central-detail{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border-radius:8px;border:1px solid #9db4c3;background:#fff;color:#244b66;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}.central-detail:hover{background:#eef5f9}.central-owner.mine.lost{background:#fff0ed;color:#9a3429}@media(max-width:760px){.central-detail{white-space:normal;text-align:center}}

/* V0.10.6 fix3: 媒体短縮名・初動タイマー */
.central-case-customer{display:flex;align-items:center;gap:6px;flex-wrap:wrap;white-space:normal}.central-case-number{display:inline-flex;padding:2px 6px;border-radius:6px;background:#eef3f6;color:#526b7c;font-size:11px;font-weight:900}.central-source-site{display:inline-flex;padding:2px 7px;border-radius:999px;background:#f4f7f9;border:1px solid #d7e0e6;color:#405a6b;font-size:11px;font-weight:900}.central-customer-phone{font-size:11px;color:#6a7f8d}.central-response-timer{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;padding:4px 7px;border-radius:7px;font-size:12px;font-weight:900;white-space:nowrap}.central-response-timer.running{background:#fff0ed;color:#d33128;border:1px solid #f0b3ad;animation:bscTimerPulse 1.5s ease-in-out infinite}.central-response-timer.stopped{background:#f3f5f7;color:#8a4a43;border:1px solid #dce2e6}@keyframes bscTimerPulse{0%,100%{opacity:1}50%{opacity:.72}}@media(max-width:760px){.central-response-timer{margin-left:0;width:100%;justify-content:flex-end;background:transparent!important;border:0!important;padding:2px 0}.central-response-timer.running{color:#d33128}}

/* V0.10.6 fix4: compact central-case identity / response status */
.central-customer-name{font-size:13px;font-weight:900;color:#243f52}.central-source-case-label{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#f4f7f9;border:1px solid #d7e0e6;color:#405a6b;font-size:11px;font-weight:900;line-height:1.2;white-space:normal}.central-response-timer.stopped{background:#eef4f7;color:#526b7c;border:1px solid #d7e0e6}.central-customer-phone,.central-case-number,.central-source-site{display:none!important}
@media(max-width:760px){.central-source-case-label{max-width:100%;text-align:center;justify-content:center}.central-response-timer.stopped{width:auto;margin-left:auto;background:#eef4f7!important;border:1px solid #d7e0e6!important;padding:4px 7px}.central-response-timer.running{width:100%;margin-left:0;justify-content:flex-end;background:transparent!important;border:0!important;padding:2px 0}}

/* V0.10.6 fix5: カード主要情報を 地域｜顧客名 / 車種＋媒体No. に整理 */
.central-vehicle-name{font-size:13px;font-weight:800;color:#314f63}.central-case-title{font-weight:900}

/* V0.10.7: 手動LP電話受付バッジ */
.central-intake-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:999px;background:#fff3df;border:1px solid #e8bd73;color:#7b5311;font-size:11px;font-weight:900;line-height:1.2}


/* V0.10.8: 営業日単位の案件一覧切替 */
.central-period-nav{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;padding:14px 20px 18px;border-top:1px solid #e2e8ee;background:#fafcfd}.central-period-nav button{min-height:40px;padding:8px 16px;border:1px solid #a9bcc9;border-radius:999px;background:#fff;color:#35556c;font-weight:900;cursor:pointer}.central-period-nav button.active{background:#176b42;border-color:#176b42;color:#fff}.central-period-nav button:hover{filter:brightness(.98)}@media(max-width:760px){.central-period-nav{padding:12px 16px 16px}.central-period-nav button{flex:1 1 120px}}

/* V0.10.9: 未確認タイマー整理 / 予約案件 */
.central-response-timer.static-unconfirmed{background:#fff0ed;color:#b32922;border:1px solid #e7aaa4;animation:none}.central-reservation-section{margin:0 20px 16px;padding:14px 0 0;border-top:1px solid #dce5eb}.central-reservation-section.future{background:#fafbff;border:1px solid #e1e3f2;border-radius:10px;padding:14px 0 0}.central-reservation-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 10px}.central-reservation-section.future .central-reservation-heading{padding-left:14px;padding-right:14px}.central-reservation-heading h3{margin:0;color:#29485d;font-size:16px}.central-reservation-heading span{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef2f5;color:#526571;font-size:12px;font-weight:900}.reservation-list{padding:0 0 4px}.central-reservation-section.future .reservation-list{padding:0 14px 14px}.central-case.is-reservation{border-left-width:6px}.central-reservation-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:999px;background:#eef0ff;color:#4c4b8d;border:1px solid #cfd2f3;font-size:11px;font-weight:900}.central-reservation-badge.overdue{background:#fff0ed;color:#a13f35;border-color:#e2ada7}.central-empty.compact{padding:12px}@media(max-width:760px){.central-reservation-section{margin:0 16px 14px}.central-reservation-section.future .reservation-list{padding:0 10px 10px}.central-reservation-section.future .central-reservation-heading{padding-left:10px;padding-right:10px}.central-case.is-reservation .central-case-time{font-weight:900;color:#4c4b8d}}


/* V0.10.10: 過去案件検索 / リピート候補 */
.central-repeat-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:999px;background:#e9f6ed;color:#17683d;border:1px solid #add5ba;font-size:11px;font-weight:900}
.central-history-search{margin:0 20px 18px;border:1px solid #d5e0e7;border-radius:10px;background:#fbfcfd;overflow:hidden}.central-history-search>summary{cursor:pointer;padding:12px 14px;font-weight:900;color:#29485d;background:#f3f7f9}.central-history-search-body{padding:14px}.central-history-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.central-history-fields label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:900;color:#486274}.central-history-fields input{width:100%;min-height:40px;border:1px solid #bccbd5;border-radius:8px;padding:8px 10px;font:inherit}.central-history-actions{display:flex;gap:8px;margin-top:10px}.central-history-actions button{min-height:38px;padding:8px 14px;border:1px solid #adc0cc;border-radius:8px;background:#fff;color:#29485d;font-weight:900}.central-history-actions .primary{background:#176b42;color:#fff;border-color:#176b42}.central-history-message{margin:10px 0 0;color:#506b7c;font-size:12px}.central-history-results{display:grid;gap:9px;margin-top:12px}.central-history-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid #dce5eb;border-radius:9px;background:#fff}.history-result-head{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;color:#536b7b;font-size:12px}.history-result-head strong{color:#17384f;font-size:13px}.history-result-main{display:grid;gap:5px}.history-result-main>div{display:flex;gap:10px;flex-wrap:wrap;font-size:12px}.history-result-main b{font-size:14px;color:#17384f}.history-result-actions{display:flex;align-items:center;gap:8px}.history-hidden{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f1e8e6;color:#8c3e35;font-size:11px;font-weight:900}@media(max-width:760px){.central-history-search{margin:0 16px 14px}.central-history-fields{grid-template-columns:1fr}.central-history-result{grid-template-columns:1fr}.history-result-actions{justify-content:flex-end}.history-result-head{display:block}.history-result-head span{display:block;margin-top:3px}}


/* V0.10.10 fix1: 過去案件検索結果カードの表示整理 */
.central-history-result{grid-template-columns:minmax(0,1fr) auto;align-items:start}.history-result-main{display:grid;gap:6px;min-width:0}.history-result-case-line,.history-result-customer,.history-result-place-vehicle,.history-result-decision,.history-result-work{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.history-result-case-line{gap:7px}.history-case-number{color:#17384f;font-size:13px;font-weight:900}.history-source-label{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#eef4f7;border:1px solid #cfdae1;color:#3f5c70;font-size:11px;font-weight:900}.history-result-date{color:#526b7c;font-size:12px;font-weight:700}.history-result-customer b{font-size:14px;color:#17384f}.history-result-place-vehicle{color:#344f62}.history-result-decision,.history-result-work{color:#4c6373}.history-result-actions{align-self:center}@media(max-width:760px){.central-history-result{grid-template-columns:1fr}.history-result-actions{justify-content:flex-end}.history-result-case-line{align-items:flex-start}.history-source-label{max-width:100%;white-space:normal;text-align:center}}

/* V0.10.11: 本部確認待ち・保留案件 */
.central-hold-section{margin:0 20px 16px;padding:14px;border:1px solid #ead39b;border-radius:10px;background:#fffaf0}.central-hold-section[hidden]{display:none!important}.central-hold-section .central-reservation-heading{padding:0 0 6px}.central-hold-section .central-reservation-heading h3{color:#80560f}.central-hold-note{margin:0 0 10px;color:#765f39;font-size:12px}.hold-list{padding:0}.central-hold-case{border-left:6px solid #c98017;background:#fff}.central-hold-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:999px;background:#fff0cb;color:#7a5007;border:1px solid #e8c36e;font-size:11px;font-weight:900}.central-hold-reason{font-size:12px;font-weight:900;color:#80560f}.central-hold-duplicate{display:inline-flex;padding:2px 7px;border-radius:7px;background:#eef4f7;color:#35566c;font-size:11px;font-weight:900}.state-hold{background:#fff0cb!important;color:#7a5007!important}.central-hq-review{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border-radius:8px;background:#c98017;color:#fff;text-decoration:none;font-size:12px;font-weight:900}@media(max-width:760px){.central-hold-section{margin:0 16px 14px;padding:10px}.central-hq-review{flex:1 1 auto}}

/* V0.11.0: リピート案件複製 */
.central-repeat-route-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;background:#fff4d7;color:#7a5510;border:1px solid #e7c66e;font-size:11px;font-weight:900}.history-repeat-button{min-height:36px;padding:7px 11px;border:1px solid #176b42;border-radius:8px;background:#e9f6ed;color:#17683d;font-weight:900;cursor:pointer}.history-repeat-button:hover{background:#d9efdf}.repeat-copy-modal[hidden]{display:none}.repeat-copy-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(16,35,49,.58)}.repeat-copy-dialog{width:min(620px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.28);padding:18px}.repeat-copy-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid #dce5eb;padding-bottom:12px}.repeat-copy-head h2{margin:3px 0 0;font-size:20px;color:#17384f}.repeat-copy-kicker{font-size:11px;font-weight:900;letter-spacing:.08em;color:#60798a}.repeat-copy-close{width:38px;height:38px;border:0;border-radius:50%;background:#edf3f6;color:#486274;font-size:26px;line-height:1;cursor:pointer}.repeat-copy-source{margin:14px 0;padding:13px;border:1px solid #d8e3e9;border-radius:10px;background:#f8fafb;display:grid;gap:5px;font-size:13px}.repeat-copy-source strong{color:#17384f;font-size:15px}.repeat-copy-guidance{padding:12px 13px;background:#fff9e9;border:1px solid #f0dda2;border-radius:10px;color:#604b1c}.repeat-copy-guidance p{margin:6px 0 0;line-height:1.55;font-size:12px}.repeat-copy-channel-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.repeat-copy-channel-actions button{min-height:52px;border-radius:10px;font-weight:900;font-size:14px;cursor:pointer}.repeat-copy-channel-actions .repeat-direct{border:1px solid #176b42;background:#e9f6ed;color:#17683d}.repeat-copy-channel-actions .repeat-sharing{border:1px solid #2d65a5;background:#edf5ff;color:#23578f}.repeat-copy-channel-actions button:disabled{opacity:.55;cursor:wait}.repeat-copy-foot{display:flex;justify-content:flex-end;margin-top:12px}.repeat-copy-foot button{min-height:38px;padding:7px 13px;border:1px solid #bdcad3;border-radius:8px;background:#fff;color:#496273;font-weight:800}.repeat-source-summary{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.repeat-source-work{color:#536b7b}.repeat-origin-card{margin:0 0 14px;padding:12px 14px;border:1px solid #e1c46d;border-radius:10px;background:#fff9e7}.repeat-origin-card strong{color:#674b0d}.repeat-origin-card a{font-weight:900;color:#0b66b2}@media(max-width:760px){.repeat-copy-channel-actions{grid-template-columns:1fr}.repeat-copy-dialog{padding:14px}.history-result-actions{flex-wrap:wrap}}

/* V0.12.0 fix1: 曜日付き日付・失注色・スマホ案件カード1カラム整理 */
.central-case-state.state-lost{background:#fff0ed;color:#b3261e;border:1px solid #e2aaa4}
@media(max-width:760px){
  .central-case{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;align-items:start;padding:10px}
  .central-case-time{grid-column:1;grid-row:1;justify-self:start;font-size:13px;font-weight:900;color:#526b7c;white-space:normal}
  .central-case-state{grid-column:2;grid-row:1;justify-self:end;align-self:start}
  .central-case-main{grid-column:1/-1;grid-row:2;min-width:0;width:100%}
  .central-case-title{font-size:15px;line-height:1.4;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
  .central-case-sub{font-size:11px;line-height:1.45;white-space:normal;overflow:visible;text-overflow:clip;margin-top:5px}
  .central-case-customer{grid-column:1/-1;grid-row:3;min-width:0;width:100%;padding-top:2px;line-height:1.45}
  .central-case-action{grid-column:1/-1;grid-row:4;justify-content:flex-end;justify-self:stretch;width:100%;max-width:none;min-width:0;flex-wrap:wrap;padding-top:2px}
  .central-case-action .central-detail,.central-case-action .central-claim,.central-case-action .central-release{min-height:40px}
  .central-response-timer{max-width:100%}
  .central-case.is-reservation .central-case-time{font-weight:900;color:#4c4b8d}
}

/* V0.15.2 shift alert for HQ / area manager */
.staff-shift-alert{margin:0 0 16px;padding:13px 15px;border:1px solid #e2c879;border-radius:12px;background:#fff9e7}.staff-shift-alert.danger{background:#fff0ed;border-color:#dfa7a0}.staff-shift-alert.urgent{background:#fff4e7;border-color:#e7bd82}.staff-shift-alert-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.staff-shift-alert-head span{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:#936b1b}.staff-shift-alert-head strong{display:block;margin-top:2px;color:#6e4e10}.staff-shift-alert-head a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 11px;border-radius:8px;background:#17384f;color:#fff;text-decoration:none;font-size:12px;font-weight:900}.staff-shift-alert-items{display:grid;gap:6px}.staff-shift-alert-row{display:grid;grid-template-columns:58px minmax(0,1fr);gap:8px;padding:8px 10px;border:1px solid #ead8a3;border-radius:8px;background:#fff;color:#506877;text-decoration:none;font-size:12px}.staff-shift-alert-row b{color:#17384f}.staff-shift-alert-row.today{border-color:#dfa7a0}.staff-shift-alert-row.urgent{border-color:#e7bd82}
@media(max-width:760px){.staff-shift-alert{margin:0 16px 14px}.staff-shift-alert-head{align-items:flex-start}.staff-shift-alert-head a{min-height:42px}.staff-shift-alert-row{grid-template-columns:1fr;gap:2px}}

/* V0.15.2 fix1: shift alert collapse */
.staff-shift-alert-head strong em{font-style:normal;font-size:11px;margin-left:4px}.staff-shift-alert-actions{display:flex;align-items:center;gap:8px}.staff-shift-alert-actions button{min-height:38px;padding:7px 11px;border:1px solid #c79d34;border-radius:8px;background:#fff;color:#6e4e10;font-size:12px;font-weight:900;cursor:pointer}.staff-shift-alert.is-collapsed .staff-shift-alert-items{display:none}.staff-shift-alert.is-collapsed .staff-shift-alert-head{margin-bottom:0}@media(max-width:760px){.staff-shift-alert-actions{flex-wrap:wrap;justify-content:flex-end}.staff-shift-alert-actions button,.staff-shift-alert-actions a{min-height:42px}}

/* V0.16.2 fix4: 作業完了カードの顧客支払額 */
.central-case-sales{margin-top:4px;font-size:14px;line-height:1.35;font-weight:900;color:#1f4f37;letter-spacing:.01em}.central-case.is-assigned .central-case-sales{color:#17683d}@media(max-width:760px){.central-case-sales{font-size:14px;margin-top:5px}}


/* V0.16.2 fix6: 作業完了カードを進行中案件と視覚分離 */
.central-case.is-completed{background:rgba(111,126,137,.14);border-color:#c6d0d6;box-shadow:none}.central-case.is-completed .central-case-time,.central-case.is-completed .central-case-main,.central-case.is-completed .central-case-customer,.central-case.is-completed .central-case-state{opacity:.66}.central-case.is-completed .central-case-action{opacity:1}.central-case.is-completed .central-detail,.central-case.is-completed button,.central-case.is-completed a{pointer-events:auto}.central-case.is-completed:hover{background:rgba(111,126,137,.18)}


/* V0.16.2 fix7: 失注カードを薄い赤で進行中案件と視覚分離 */
.central-case.is-lost{background:rgba(195,64,53,.105);border-color:#e2b6b1;box-shadow:none}
.central-case.is-lost .central-case-time,.central-case.is-lost .central-case-main,.central-case.is-lost .central-case-customer{opacity:.70}
.central-case.is-lost .central-case-state{opacity:1;color:#b3261e;background:#fff0ed;border-color:#e2aaa4}
.central-case.is-lost .central-case-action{opacity:1}
.central-case.is-lost .central-detail,.central-case.is-lost button,.central-case.is-lost a{pointer-events:auto}
.central-case.is-lost:hover{background:rgba(195,64,53,.145)}

/* V0.16.2 fix9: 端末別音声設定 */
.central-voice-settings{min-height:38px;padding:7px 12px;border:1px solid #b8c8d2;border-radius:8px;background:#fff;color:#31536a;font-weight:900;cursor:pointer}.central-voice-settings:hover{background:#f1f6f8}.voice-device-modal[hidden]{display:none}.voice-device-modal{position:fixed;inset:0;z-index:1500;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(17,36,49,.58)}.voice-device-dialog{width:min(620px,100%);max-height:calc(100vh - 36px);overflow:auto;padding:18px;border-radius:14px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.28)}.voice-device-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #dce5eb}.voice-device-head span{font-size:10px;font-weight:900;letter-spacing:.08em;color:#60798a}.voice-device-head h2{margin:3px 0 0;color:#17384f;font-size:20px}.voice-device-head button{width:38px;height:38px;border:0;border-radius:50%;background:#edf3f6;color:#486274;font-size:26px;line-height:1;cursor:pointer}.voice-device-note{margin:13px 0;color:#607684;font-size:12px;line-height:1.55}.voice-device-dialog>label{display:grid;gap:6px;margin-top:13px;color:#456173;font-size:12px;font-weight:900}.voice-device-dialog select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #bccbd5;border-radius:8px;background:#fff;color:#17384f;font:inherit}.voice-rate-row{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:10px;align-items:center}.voice-rate-row input{width:100%}.voice-rate-row output{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:1px solid #d0dce3;border-radius:8px;background:#f8fafb;color:#17384f;font-weight:900}.voice-device-preview{display:grid;gap:5px;margin-top:14px;padding:11px 12px;border:1px solid #d5e1e7;border-radius:9px;background:#f8fafb}.voice-device-preview span{font-size:10px;font-weight:900;letter-spacing:.06em;color:#728692}.voice-device-preview strong{color:#17384f;line-height:1.55}.voice-device-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #dce5eb}.voice-device-actions button{min-height:40px;padding:8px 13px;border:1px solid #bdcad3;border-radius:8px;background:#fff;color:#496273;font-weight:900;cursor:pointer}.voice-device-actions .primary{background:#176b42;border-color:#176b42;color:#fff}@media(max-width:560px){.central-actions.staff-case-actions .central-voice-settings{flex:1 1 auto}.voice-device-dialog{padding:14px}.voice-device-actions{display:grid;grid-template-columns:1fr 1fr}.voice-device-actions .primary{grid-column:1/-1}.voice-device-actions button{width:100%}}

/* V0.16.2 fix11: smartphone staff action buttons */
@media(max-width:560px){
  .central-actions.staff-case-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .central-actions.staff-case-actions #central-refresh{grid-column:1/-1;width:100%}
  .central-actions.staff-case-actions #central-voice-toggle,
  .central-actions.staff-case-actions #central-voice-settings{width:100%;min-width:0;flex:none}
}

/* V0.16.2 fix13: staff refresh emphasis / today shift title label */
.central-actions.staff-case-actions #central-refresh{
  background:#f4b942;
  border-color:#d99a17;
  color:#4b3500;
  font-weight:900;
  box-shadow:0 2px 7px rgba(217,154,23,.20);
}
.central-actions.staff-case-actions #central-refresh:hover{
  background:#edaa25;
  border-color:#c98d12;
  color:#3f2c00;
}
.central-actions.staff-case-actions #central-refresh:active{
  transform:translateY(1px);
  box-shadow:none;
}
.central-today-shifts .shift-title{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 10px;
  margin-right:4px;
  border:1px solid #9dbdce;
  border-radius:8px;
  background:#eaf4f9;
  color:#173f58;
  font-size:14px;
  font-weight:900;
  line-height:1.25;
  white-space:nowrap;
}
@media(max-width:560px){
  .central-today-shifts .shift-title{
    width:100%;
    box-sizing:border-box;
    min-height:38px;
    margin-right:0;
    font-size:15px;
    justify-content:flex-start;
  }
}
