/* Owner decisions and platform execution share a service, with distinct roles. */
.owner-service-workspace{padding-bottom:10px}.service-overview{padding:0 0 22px}.service-overview-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--brand)}.service-overview-meta>span:first-child{padding:3px 9px;background:var(--pale);border-radius:5px}.consumer .service-overview h1{font-size:27px;font-weight:600;line-height:1.4;margin:12px 0 8px}.service-overview>p{font-size:12px;color:var(--muted);margin:0}
.service-view-tabs{display:flex;position:sticky;top:calc(64px + env(safe-area-inset-top));z-index:5;margin:0 -20px 25px;padding-inline:20px;background:var(--bg);border-bottom:1px solid var(--line)}.service-view-tabs a{position:relative;flex:1;display:flex;align-items:center;justify-content:center;min-height:52px;font-size:14px;color:var(--muted)}.service-view-tabs a[aria-current]{color:var(--brand);font-weight:600}.service-view-tabs a[aria-current]:after{content:'';position:absolute;bottom:0;left:30%;right:30%;height:2px;background:var(--brand)}
.service-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.consumer .service-section-heading h2{font-size:19px;margin:0;line-height:1.5}.service-section-heading>span{color:var(--muted);font-size:12px}.service-owner-decisions{margin-bottom:29px}.service-decision-row{display:flex;align-items:center;gap:15px;min-height:91px;padding:18px;background:var(--paper);border-radius:13px;margin-top:10px;color:var(--brand)}.service-decision-row>span{flex:1;min-width:0}.service-decision-row strong{display:block;font-size:16px;font-weight:600;line-height:1.6}.service-decision-row small{display:block;font-size:12px;color:var(--muted);margin-top:7px;line-height:1.8}.service-decision-row>.icon{width:19px;height:19px;flex-shrink:0}
.service-owner-clear{display:flex;gap:12px;align-items:flex-start;padding:12px 0 27px}.service-owner-clear>.icon{width:21px;height:21px;flex-shrink:0;color:var(--brand);margin-top:3px}.service-owner-clear strong{font-size:16px;font-weight:600}.service-owner-clear p{color:var(--muted);font-size:13px;line-height:1.9;margin:7px 0 0}.service-current-stage{margin-bottom:29px}.service-stage-row{display:flex;align-items:center;gap:12px;min-height:82px;border-bottom:1px solid var(--line);padding:13px 0}.service-stage-symbol{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:50%;color:var(--muted);background:#eeeee6}.service-stage-symbol>.icon{width:17px;height:17px}.service-stage-row>span:nth-child(2){flex:1;min-width:0}.service-stage-row strong{display:block;font-size:15px;font-weight:500}.service-stage-row small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.service-stage-row>.icon{width:14px;height:14px;color:var(--muted);flex-shrink:0}.service-stage-row.is-current .service-stage-symbol{background:var(--brand);color:var(--paper)}.service-stage-row.is-current strong{color:var(--brand);font-weight:600}
.service-subtle-link{display:flex;align-items:center;justify-content:center;gap:4px;min-height:48px;color:var(--brand);font-size:12px}.service-subtle-link>.icon{width:13px;height:13px}.service-platform-progress{margin-bottom:25px}.service-platform-row{display:flex;gap:10px;margin-top:16px}.service-platform-dot{width:6px;height:6px;background:#879e7e;border-radius:50%;flex-shrink:0;margin-top:9px}.service-platform-row strong{font-size:14px;font-weight:500}.service-platform-row p,.service-platform-note{font-size:12px;color:var(--muted);line-height:1.85;margin:5px 0 0}.service-platform-note{margin:17px 0 0}
.service-team-contact{display:flex;align-items:center;gap:11px;border-block:1px solid var(--line);padding:18px 0;margin-top:26px}.service-team-contact>.icon{width:21px;height:21px;color:var(--brand);flex-shrink:0}.service-team-contact>span{flex:1}.service-team-contact strong{display:block;font-size:14px;font-weight:500}.service-team-contact small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.service-team-contact>.icon:last-child{width:14px;height:14px;color:var(--muted)}.service-help-links{display:flex;justify-content:space-between;gap:14px;padding-top:9px}.service-help-links>a{font-size:12px;min-height:44px;display:flex;align-items:center;color:var(--muted)}
.service-cost-overview{background:var(--paper);border-radius:14px;padding:21px 19px;margin-bottom:20px}.consumer .service-cost-overview h2{font-size:18px;margin:0 0 19px}.service-cost-overview>span{display:block;color:var(--muted);font-size:12px}.service-cost-overview>strong{display:block;font-size:30px;font-weight:600;line-height:1.5;color:var(--brand);margin-top:4px}.service-cost-overview dl{display:flex;gap:23px;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line)}.service-cost-overview dl>div{flex:1;min-width:0}.service-cost-overview dt{font-size:12px;color:var(--muted)}.service-cost-overview dd{font-size:16px;margin:5px 0 0}
.consumer .service-documents h2,.consumer .owner-node-overview h2,.consumer .service-scope-page h2{font-size:19px;margin:25px 0 13px}.owner-node-overview h1{font-size:26px;margin:8px 0 12px}.service-node-context{font-size:12px;color:var(--muted);margin:0}.owner-node-overview section p,.service-scope-page>p{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.owner-node-overview>.btn{margin-top:26px}.service-node-photos{display:flex;gap:9px;margin-top:18px}.service-node-photos img{width:calc((100% - 18px)/3);height:96px;object-fit:cover;border-radius:9px}.service-scope-page>.btn{margin-top:25px}.owner-service-workspace :is(a,button):focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.consumer .owner-account-menu{padding-top:0}.owner-account-menu>section,.owner-account-shortcuts{background:var(--paper);border-radius:16px;margin-bottom:14px}.owner-account-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:19px 8px}.owner-account-shortcuts>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:65px;color:var(--ink)}.owner-account-shortcuts .icon{width:25px;height:25px;color:var(--brand)}.owner-account-shortcuts strong{font-size:12px;font-weight:500}.owner-account-menu h2{font-size:17px;margin:0 0 15px;font-weight:600}.owner-account-orders,.owner-account-tools{padding:19px 16px}.owner-account-orders>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.owner-account-entry{display:flex;align-items:center;gap:10px;min-height:55px}.owner-account-entry-icon{color:var(--brand);flex-shrink:0}.owner-account-entry-icon>.icon{width:23px;height:23px}.owner-account-entry>span:nth-child(2){flex:1;min-width:0}.owner-account-entry strong{display:block;font-size:14px;font-weight:500}.owner-account-entry small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.owner-account-entry>.icon{width:13px;height:13px;flex-shrink:0;color:var(--muted)}.owner-account-orders .owner-account-entry-icon{display:none}.owner-account-orders .owner-account-entry{padding-right:8px}.owner-account-orders .owner-account-entry:first-child{border-right:1px solid var(--line)}.owner-account-tools>nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.owner-account-tools>nav>a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:65px;font-size:13px}.owner-account-tools>nav .icon{width:24px;height:24px;color:var(--brand)}.owner-account-support{padding:5px 16px}.owner-account-support>a{padding-block:12px}.owner-account-support>a+a{border-top:1px solid var(--line)}
@media(max-width:360px){.service-view-tabs{margin-inline:-16px;padding-inline:16px}.consumer .service-overview h1{font-size:25px}.service-decision-row{padding:15px}.owner-account-menu h2{font-size:16px}.owner-account-shortcuts{padding-inline:3px}.owner-account-orders,.owner-account-tools{padding-inline:13px}.owner-account-orders>div{gap:10px}.owner-account-orders .owner-account-entry small{line-height:1.6}.service-node-photos img{height:80px}}

.service-file-records{margin-top:16px;border-block:1px solid var(--line)}.service-file-records>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:54px;font-size:14px;color:var(--brand);cursor:pointer}.service-file-records>summary::-webkit-details-marker{display:none}.service-file-records>summary .icon{width:14px;flex-shrink:0}.service-file-records[open]>summary .icon{transform:rotate(90deg)}.service-delivery-images{margin-top:20px}.service-delivery-images h3{font-size:15px;font-weight:500}.service-file-records>summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.house-service-flow .service-section-heading{margin-bottom:10px}
.house-service-flow .service-stage-details{position:relative;border-bottom:1px solid var(--line)}
.house-service-flow .service-stage-details:not(:last-child):after{content:'';position:absolute;left:16px;top:48px;bottom:-14px;width:1px;background:var(--line);pointer-events:none}
.house-service-flow .service-stage-row{position:relative;min-height:62px;padding:10px 0;border-bottom:0;color:var(--ink);cursor:pointer;list-style:none}
.house-service-flow .service-stage-row::-webkit-details-marker{display:none}
.house-service-flow .service-stage-details[open] .service-stage-row>.icon{transform:rotate(90deg)}
.house-service-flow .service-stage-symbol{position:relative;z-index:1;font-size:13px;font-variant-numeric:tabular-nums}
.house-service-flow .is-done .service-stage-symbol{background:var(--pale);color:var(--brand)}
.house-service-flow .service-stage-row strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.house-service-flow .service-stage-row small{margin-top:2px;line-height:1.6}
.service-stage-current{flex-shrink:0;padding:3px 7px;border-radius:5px;color:var(--brand);background:var(--pale);font-size:12px}
.service-aftercare{padding-top:21px;border-top:1px solid var(--line)}
.consumer .service-aftercare h2{font-size:19px;margin:0 0 14px}
.service-aftercare>.btn{margin:0 10px 10px 0}
.service-aftercare p{font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.service-aftercare-record{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.service-site-empty{padding:25px 0;font-size:14px;color:var(--muted)}
.service-site-gallery>.owner-text-row{margin-top:20px}

.service-project-schedule{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;margin:0 0 24px;background:var(--pale);border-radius:14px}.service-project-schedule h2{font-size:14px;margin:0 0 6px}.service-project-schedule strong{display:block;font-size:16px;line-height:1.6;color:var(--brand)}.service-project-schedule small{display:block;color:#486252;font-size:12px;margin-top:2px}.service-project-schedule>a{display:flex;align-items:center;gap:3px;flex-shrink:0;color:var(--brand);font-size:12px}.service-project-schedule>a>.icon{width:13px}.service-stage-row-detailed{min-height:83px}.service-stage-meta{color:#6c7f70!important;font-size:11px!important;line-height:1.6!important;white-space:normal}.service-stage-row-detailed .service-stage-meta+.service-stage-meta{margin-top:0}.service-node-facts{padding:16px 0 3px;border-block:1px solid var(--line)}.consumer .service-node-facts h2{margin:0 0 14px}.service-node-facts dl{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin:0}.service-node-facts dt{font-size:12px;color:var(--muted)}.service-node-facts dd{font-size:14px;line-height:1.7;margin:4px 0 0;overflow-wrap:anywhere}.service-node-report-type,.service-node-time{font-size:12px!important;color:var(--muted);margin:0 0 7px}.service-node-files{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.service-node-files span{padding:4px 8px;border-radius:5px;background:var(--pale);color:#486252;font-size:11px;overflow-wrap:anywhere}.owner-schedule-overview h1{font-size:26px;margin:8px 0 21px}.service-project-schedule-detail{margin-top:0}.service-schedule-history{padding:14px 0;border-bottom:1px solid var(--line)}.service-schedule-history>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.service-schedule-history strong{font-size:14px;font-weight:500}.service-schedule-history time,.service-schedule-history small{font-size:12px;color:var(--muted)}.service-schedule-history p{font-size:13px;margin:6px 0 3px}.service-schedule-history small{display:block;line-height:1.7}
.service-stage-expanded{position:relative;margin:0 0 13px 46px;padding:12px 13px;background:var(--paper);border-radius:10px}.service-stage-expanded p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:6px 0;font-size:12px;line-height:1.65}.service-stage-expanded p+p{border-top:1px solid var(--line)}.service-stage-expanded p strong{flex:0 0 74px;font-weight:500;color:var(--muted)}.service-stage-expanded p span{flex:1;text-align:right;overflow-wrap:anywhere}.service-stage-expanded .text-btn{display:flex;align-items:center;justify-content:flex-end;gap:3px;margin-top:7px;font-size:12px;color:var(--brand)}.service-stage-expanded .text-btn>.icon{width:13px;height:13px}

/* C02: node evidence card, typed reports, acceptance loop and plan history. */
.service-stage-todo{display:block;margin-top:4px;font-size:12px;font-weight:600;color:var(--brand)}
.service-report-fields{display:grid;gap:8px;margin:4px 0 10px}.service-report-fields div{padding:8px 10px;background:var(--pale);border-radius:8px}.service-report-fields dt{font-size:12px;color:var(--muted);margin:0 0 2px}.service-report-fields dd{margin:0;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.service-node-timeline{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--line,#e6e1d8)}.service-node-timeline li{position:relative;display:grid;grid-template-columns:4.5em 1fr;gap:2px 8px;padding:0 0 12px}.service-node-timeline li:before{content:"";position:absolute;left:-20px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--brand)}.service-node-timeline li.is-rectify:before{background:#b5651d}.service-node-timeline li strong{font-size:13px}.service-node-timeline li span{font-size:13px;overflow-wrap:anywhere}.service-node-timeline li time{grid-column:2;font-size:12px;color:var(--muted)}
.service-project-schedule.has-pending{border-color:var(--brand)}
.service-schedule-pending{padding:14px;border:1px solid var(--brand);border-radius:12px;background:var(--pale);margin:14px 0}.service-schedule-pending h2{margin-top:0}.service-schedule-pending p{margin:4px 0 10px;font-size:13px}
.service-schedule-nodes{display:grid;gap:6px;margin:0}.service-schedule-nodes div{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:6px 0;border-bottom:1px solid var(--line,#eee)}.service-schedule-nodes dt{color:var(--muted)}.service-schedule-nodes dd{margin:0;text-align:right}
.service-schedule-history>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.service-schedule-history small{display:block;margin-top:3px}.service-schedule-history.is-superseded{opacity:.75}

/* C04: per-stage owner money states. */
.service-stage-money ul{list-style:none;margin:0;padding:0}.service-stage-money li{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line,#eee)}.service-stage-money li>span:first-child{min-width:0}.service-stage-money small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.service-stage-money li>span:last-child{text-align:right;flex:none}.service-stage-money b{display:block;font-weight:600;white-space:nowrap}.service-stage-money b *{display:inline}.service-stage-money em{font-style:normal;font-size:12px;padding:1px 7px;border-radius:5px;background:var(--pale);color:var(--muted)}.service-stage-money li.is-settled em{color:var(--brand)}.service-stage-money li.is-held em{color:#8a5a12;background:#f6ecd9}
/* C14 房屋装修流程：负责人写一次，已完成与较远的后续节点折叠 */
.service-flow-owner{margin:-4px 0 8px;font-size:12px;line-height:1.7;color:var(--muted)}
.service-stage-fold{border-bottom:1px solid var(--line)}
.service-stage-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;font-size:13px;color:var(--muted);list-style:none;cursor:pointer}
.service-stage-fold>summary::-webkit-details-marker{display:none}
.service-stage-fold>summary>.icon{width:12px;height:12px;transform:rotate(90deg);transition:transform .2s}.service-stage-fold[open]>summary>.icon{transform:rotate(-90deg)}
