/* Demand reading follows the same white, charcoal and red identity as 看数. */
.device[data-today-page="demand-detail"]{
  --brand:#b5262d;--brand-hover:#9d2027;--brand-soft:#faf0ee;--brand-border:#e6cfcb;
  --blue:var(--brand);--muted:#85817f;--page-gutter:24px;
  background:#f4f6fa;background-image:none;color:#24201f;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
[data-today-page="demand-detail"] .status{color:#292725}
[data-today-page="demand-detail"] .brandbar{height:54px;background:#fff;border-bottom:1px solid #eee9e5}
[data-today-page="demand-detail"] .header-main h2{font-weight:650;color:#24201f}
[data-today-page="demand-detail"] .subhead button{color:#24201f}
[data-today-page="demand-detail"] #view{padding:12px 13px 28px;background:#f4f6fa}
[data-today-page="demand-detail"] .page{animation:none}
[data-today-page="demand-detail"] .home-indicator:after{background:#242020}
[data-today-page="demand-detail"] button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
[data-today-page="demand-detail"] :is(.demand-summary-card,.demand-party-card){background:#fff;border-radius:13px;padding:17px 15px;margin:0 0 13px}
[data-today-page="demand-detail"] .demand-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
[data-today-page="demand-detail"] .demand-title-row h2{font-size:18px;font-weight:700;line-height:1.5;color:#1f2937;min-width:0}
[data-today-page="demand-detail"] .approved-status{flex:0 0 auto;color:#00a86b;font-size:13px;line-height:27px}
[data-today-page="demand-detail"] .demand-description{margin-top:7px;color:#586273;font-size:15px;line-height:1.55}
[data-today-page="demand-detail"] .demand-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
[data-today-page="demand-detail"] .demand-tags span{padding:2px 9px;border:1px solid #ffbd71;border-radius:12px;color:#f29123;background:#fffaf3;font-size:12px;line-height:1.5}
[data-today-page="demand-detail"] .demand-deadline{text-align:right;margin-top:11px;color:#ff3b30;font-size:13px}
[data-today-page="demand-detail"] .demand-party-card h3{font-size:16px;font-weight:700;color:#1f2937;margin-bottom:11px}
[data-today-page="demand-detail"] .demand-party-card dl{margin:0}
[data-today-page="demand-detail"] .demand-party-card dl{display:grid;grid-template-columns:82px minmax(0,1fr)}
[data-today-page="demand-detail"] .demand-party-card :is(dt,dd){margin:0;padding:10px 0;border-bottom:1px solid #edf0f3;font-size:14px;line-height:1.45}
[data-today-page="demand-detail"] .demand-party-card dt{color:#8993a3}
[data-today-page="demand-detail"] .demand-party-card dd{text-align:right;color:#2d3748;overflow-wrap:anywhere}
[data-today-page="demand-detail"] .demand-party-card :is(dt,dd):nth-last-child(-n+2){border-bottom:0}
[data-today-page="demand-detail"] .demand-owner-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 0;padding:4px 2px 0}
[data-today-page="demand-detail"] .demand-owner-actions button{min-height:48px;padding:11px 12px;border-radius:8px;font-size:14px;font-weight:600;line-height:1.5}
[data-today-page="demand-detail"] .demand-delete-button{border:1px solid #d9cec8;background:#fff;color:#b5262d}
[data-today-page="demand-detail"] .demand-edit-button{border:1px solid #b5262d;background:#b5262d;color:#fff}
[data-today-page="demand-detail"] .demand-delete-button:active{background:#faf0ee}
[data-today-page="demand-detail"] .demand-edit-button:active{background:#9d2027}
[data-today-page="demand-detail"] .box{background:none;border:0;border-bottom:1px solid #e8e3df;border-radius:0;box-shadow:none;margin:0;padding:24px 0;animation:none}
[data-today-page="demand-detail"] .box h3{font-size:20px;font-weight:650;line-height:1.6;color:#24201f}
[data-today-page="demand-detail"] .box p{font-size:15px;line-height:1.9;color:#7c7570;margin-top:12px;overflow-wrap:anywhere}
[data-today-page="demand-detail"] .detail-badges{display:flex;align-items:center;justify-content:space-between;gap:12px}
[data-today-page="demand-detail"] .type-badge{display:inline-block;background:none;border:1px solid #e8e3df;border-radius:3px;padding:2px 8px;color:#8b817b;font-size:12px;line-height:1.6}
[data-today-page="demand-detail"] .detail-badges>small{color:#b5262d;font-size:12px}
[data-today-page="demand-detail"] .demand-detail h2{font-size:26px;font-weight:650;line-height:1.5;letter-spacing:-.5px;color:#24201f;margin:18px 0 12px}
[data-today-page="demand-detail"] .demand-detail>p{font-size:12px;color:#9a9088;line-height:1.8}
[data-today-page="demand-detail"] .service-spec{grid-template-columns:66px minmax(0,1fr);gap:12px 12px;font-size:14px;line-height:1.8;margin-top:18px}
[data-today-page="demand-detail"] .service-spec dt{font-size:13px;color:#9a9088}
[data-today-page="demand-detail"] .service-spec dd{color:#544c47;overflow-wrap:anywhere}
[data-today-page="demand-detail"] .demand-detail .service-spec{font-size:12px;margin-top:14px;gap:8px 12px}
[data-today-page="demand-detail"] .demand-detail .service-spec dt{font-size:12px}
[data-today-page="demand-detail"] .primary{display:block;width:100%;min-height:48px;margin-top:24px;padding:12px 16px;border:1px solid #b5262d;border-radius:6px;background:#b5262d;color:#fff;font-size:15px;font-weight:500;box-shadow:none;line-height:1.6}
[data-today-page="demand-detail"] .primary:disabled{background:#f6f1ee;border-color:#e8e3df;color:#9a9088;opacity:1;cursor:default;transform:none}
[data-today-page="demand-detail"] #demand-response .box{border:1px solid #e8e3df;border-radius:6px;padding:18px;margin-top:16px}
[data-today-page="demand-detail"] #demand-response h3{font-size:17px}
[data-today-page="demand-detail"] #demand-response p{font-size:13px}
[data-today-page="demand-detail"] .demand-progress{grid-template-columns:repeat(2,minmax(0,1fr));color:#8b817b;gap:0}
[data-today-page="demand-detail"] .demand-progress li{padding-right:12px;line-height:1.6}
[data-today-page="demand-detail"] .demand-progress li:before{border-color:#ded6d0}
[data-today-page="demand-detail"] .demand-progress li:not(:last-child):after{background:#e8e3df}
[data-today-page="demand-detail"] .demand-progress li.done{color:#b5262d}
[data-today-page="demand-detail"] .demand-progress li.done:before{background:#b5262d;border-color:#b5262d}
[data-today-page="demand-detail"] .demand-progress small{color:#9a9088}
[data-today-page="demand-detail"] .endnote{font-size:11px;line-height:1.8;color:#9b928c;margin:22px 0 0}
[data-today-page="demand-detail"] .today-related-link{border-color:#e8e3df;color:#b5262d;font-size:14px;margin-top:20px}
@media(hover:hover){[data-today-page="demand-detail"] .primary:not(:disabled):hover{background:#9d2027;border-color:#9d2027}}
@media(max-width:350px){.device[data-today-page="demand-detail"]{--page-gutter:20px}[data-today-page="demand-detail"] .demand-detail h2{font-size:24px}}
