/* ============================================================
   乳胶漆人工费计算器 · 色卡样板墙主题 (.plc)
   纸白墙 + 鼠尾草绿 + 陶土橙，左侧竖排色卡条
   ============================================================ */
.plc-page {
    --plc-sage: #5f8058;
    --plc-sage-2: #7fa077;
    --plc-sage-soft: rgba(95, 128, 88, 0.1);
    --plc-sage-line: rgba(95, 128, 88, 0.35);
    --plc-terra: #c96f4a;
    --plc-terra-soft: rgba(201, 111, 74, 0.1);
    --plc-ink: #33372f;
    --plc-ink-2: #6e7367;
    --plc-paper: #f6f5ef;
    --plc-panel: #fffefa;
    --plc-line: rgba(51, 55, 47, 0.12);
    --plc-line-soft: rgba(51, 55, 47, 0.07);
    --plc-red: #b3432b;
    --plc-num: "DIN Alternate", "Bahnschrift", "Segoe UI Variable Text", ui-sans-serif, system-ui, sans-serif;
    --plc-radius: 6px;
    color: var(--plc-ink);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    padding: 6px 0 40px;
}
[data-theme="dark"] .plc-page {
    --plc-sage: #93b889;
    --plc-sage-2: #b3d2a8;
    --plc-sage-soft: rgba(147, 184, 137, 0.13);
    --plc-sage-line: rgba(147, 184, 137, 0.4);
    --plc-terra: #e08a63;
    --plc-terra-soft: rgba(224, 138, 99, 0.13);
    --plc-ink: #e7e9df;
    --plc-ink-2: #a4a89a;
    --plc-paper: #171a15;
    --plc-panel: #1f231d;
    --plc-line: rgba(231, 233, 223, 0.14);
    --plc-line-soft: rgba(231, 233, 223, 0.08);
    --plc-red: #e06a4d;
}

/* ============ 首屏 ============ */
.plc-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: 26px;
    align-items: stretch;
    background: var(--plc-panel);
    border: 1px solid var(--plc-line);
    border-radius: 8px;
    padding: 40px 38px;
    box-shadow: 0 16px 40px rgba(51, 55, 47, 0.07);
}
.plc-swatches {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 52px;
    padding: 12px 0;
}
.plc-swatches i {
    flex: 1;
    border-radius: 4px;
    background: var(--sw, var(--plc-sage));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(51, 55, 47, 0.12);
    animation: plcDip 4.5s ease-in-out infinite;
    transform-origin: bottom;
}
.plc-swatches i:nth-child(2) { animation-delay: .4s; }
.plc-swatches i:nth-child(3) { animation-delay: .8s; }
.plc-swatches i:nth-child(4) { animation-delay: 1.2s; }
.plc-swatches i:nth-child(5) { animation-delay: 1.6s; }
@keyframes plcDip {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.86); }
}
.plc-hero::after {
    content: "";
    position: absolute;
    left: 84px;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 118px, var(--plc-line-soft) 118px 120px);
    mask-image: linear-gradient(90deg, transparent, #000 30%, transparent 92%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, transparent 92%);
}
.plc-hero-copy { position: relative; z-index: 1; min-width: 0; }
.plc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--plc-sage);
    text-transform: uppercase;
}
.plc-kicker::before { content: ""; width: 26px; height: 3px; background: var(--plc-terra); border-radius: 2px; }
.plc-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.16;
    font-weight: 800;
}
.plc-hero-sub {
    margin: 0 0 18px;
    max-width: 620px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--plc-ink-2);
}
.plc-hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.plc-hero-chips li {
    font-size: 12.5px;
    padding: 6px 12px;
    border: 1px solid var(--plc-sage-line);
    border-radius: 4px;
    color: var(--plc-sage);
    background: var(--plc-sage-soft);
    font-weight: 600;
}

.plc-hero-readout {
    position: relative;
    z-index: 1;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(160deg, var(--plc-sage) 0%, #3d5a37 100%);
    color: #f4f8ef;
    border-radius: 8px;
    padding: 26px 26px 22px;
    box-shadow: 0 14px 32px rgba(61, 90, 55, 0.32);
}
[data-theme="dark"] .plc-hero-readout { background: linear-gradient(160deg, #54744d 0%, #2c4227 100%); }
.plc-readout-label { font-size: 12.5px; letter-spacing: 0.14em; opacity: 0.85; }
.plc-readout-num {
    font-family: var(--plc-num);
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.1;
}
.plc-readout-avg { font-size: 14px; font-weight: 600; }
.plc-readout-meta { font-size: 12.5px; opacity: 0.9; }
.plc-readout-tip {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(244, 248, 239, 0.4);
    font-size: 11.5px;
    opacity: 0.75;
}

/* ============ 测算区 ============ */
.plc-calc {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}
.plc-input-col { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.plc-panel {
    background: var(--plc-panel);
    border: 1px solid var(--plc-line);
    border-radius: var(--plc-radius);
    padding: 22px 24px;
    box-shadow: 0 5px 16px rgba(51, 55, 47, 0.05);
}
.plc-panel-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.plc-step {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    font-family: var(--plc-num);
    font-size: 14px;
    font-weight: 800;
    color: #f4f8ef;
    background: linear-gradient(135deg, var(--plc-sage-2), var(--plc-sage));
    box-shadow: 0 4px 10px rgba(95, 128, 88, 0.3);
}
[data-theme="dark"] .plc-step { color: #16200f; }
.plc-panel-head h2 { margin: 0 0 3px; font-size: 16.5px; font-weight: 800; }
.plc-panel-head p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--plc-ink-2); }
.plc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plc-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.plc-label { font-size: 12.5px; font-weight: 700; color: var(--plc-ink-2); }
.plc-select-wrap { position: relative; display: block; }
.plc-select-wrap::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--plc-sage);
    border-bottom: 2px solid var(--plc-sage);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.plc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    font-size: 14px;
    font-family: inherit;
    color: var(--plc-ink);
    background: var(--plc-paper);
    border: 1px solid var(--plc-line);
    border-radius: var(--plc-radius);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.plc-input:focus { border-color: var(--plc-sage); box-shadow: 0 0 0 3px var(--plc-sage-soft); }
.plc-select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; }
.plc-input option { background: var(--plc-panel); color: var(--plc-ink); }

.plc-rooms { display: flex; flex-direction: column; gap: 10px; }
.plc-room {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) minmax(0, 0.9fr) minmax(0, 1.25fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    background: var(--plc-paper);
    border: 1px solid var(--plc-line);
    border-left: 4px solid var(--plc-sage);
    border-radius: var(--plc-radius);
}
.plc-room .plc-input { background: var(--plc-panel); }
.plc-room-del {
    flex: none;
    width: 30px;
    height: 30px;
    border: 1px solid var(--plc-line);
    border-radius: 6px;
    background: var(--plc-panel);
    color: var(--plc-ink-2);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s;
}
.plc-room-del:hover { color: #fff; background: var(--plc-red); border-color: var(--plc-red); }
.plc-add {
    margin-top: 12px;
    width: 100%;
    padding: 11px;
    border: 1.5px dashed var(--plc-sage-line);
    border-radius: var(--plc-radius);
    background: transparent;
    color: var(--plc-sage);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.plc-add:hover { background: var(--plc-sage-soft); }

.plc-error {
    padding: 12px 16px;
    border-radius: var(--plc-radius);
    background: var(--plc-terra-soft);
    border: 1px solid rgba(201, 111, 74, 0.4);
    color: var(--plc-terra);
    font-size: 13px;
    line-height: 1.6;
}
.plc-actions { display: flex; gap: 12px; }
.plc-btn {
    flex: 1;
    padding: 13px 18px;
    border-radius: var(--plc-radius);
    border: 1px solid var(--plc-line);
    background: var(--plc-panel);
    color: var(--plc-ink);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
}
.plc-btn:hover { border-color: var(--plc-sage); color: var(--plc-sage); transform: translateY(-1px); }
.plc-btn--primary {
    color: #f4f8ef;
    background: linear-gradient(135deg, var(--plc-sage-2), var(--plc-sage));
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(95, 128, 88, 0.3);
}
.plc-btn--primary:hover { color: #f4f8ef; box-shadow: 0 10px 26px rgba(95, 128, 88, 0.38); }
[data-theme="dark"] .plc-btn--primary { color: #16200f; }

/* ============ 结果卡 ============ */
.plc-result-col { min-width: 0; position: sticky; top: 84px; }
.plc-result-card {
    background: var(--plc-panel);
    border: 1px solid var(--plc-line);
    border-top: 5px solid var(--plc-sage);
    border-radius: var(--plc-radius);
    padding: 24px;
    box-shadow: 0 14px 36px rgba(51, 55, 47, 0.09);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.plc-result-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plc-result-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--plc-sage);
    padding: 5px 12px;
    border-radius: 4px;
    background: var(--plc-sage-soft);
    border: 1px solid var(--plc-sage-line);
}
.plc-result-note { font-size: 11.5px; color: var(--plc-ink-2); }
.plc-result-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px 20px;
    border-radius: var(--plc-radius);
    background: var(--plc-sage-soft);
    border-left: 4px solid var(--plc-sage);
}
.plc-result-label { font-size: 12.5px; color: var(--plc-ink-2); }
.plc-result-total {
    font-family: var(--plc-num);
    font-size: 36px;
    font-weight: 800;
    color: var(--plc-sage);
    line-height: 1.1;
}
.plc-result-mid { font-size: 13px; color: var(--plc-ink-2); }
.plc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plc-metric {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: var(--plc-paper);
    border: 1px solid var(--plc-line);
    border-radius: var(--plc-radius);
}
.plc-metric-k { font-size: 11.5px; color: var(--plc-ink-2); }
.plc-metric-v { font-family: var(--plc-num); font-size: 15.5px; font-weight: 800; color: var(--plc-ink); }

.plc-compare h3 { margin: 0 0 10px; font-size: 14.5px; font-weight: 800; }
.plc-compare-bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.plc-compare-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px;
    border-radius: var(--plc-radius);
    background: var(--plc-paper);
    border: 1px solid var(--plc-line);
}
.plc-compare-item.is-pack { background: var(--plc-terra-soft); border-color: rgba(201, 111, 74, 0.4); }
.plc-compare-t { font-size: 11px; color: var(--plc-ink-2); font-weight: 600; }
.plc-compare-item strong { font-family: var(--plc-num); font-size: 16.5px; color: var(--plc-sage); }
.plc-compare-item.is-pack strong { color: var(--plc-terra); }
.plc-compare-item small { font-size: 10.5px; color: var(--plc-ink-2); }
.plc-compare-vs { align-self: center; font-size: 11px; font-weight: 800; color: var(--plc-ink-2); letter-spacing: 0.1em; }
.plc-compare-note { margin: 10px 0 0; font-size: 12px; line-height: 1.7; color: var(--plc-ink-2); }

.plc-breakdown h3 { margin: 0 0 10px; font-size: 14.5px; font-weight: 800; }
.plc-table-scroll { overflow-x: auto; }
.plc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.plc-table th, .plc-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--plc-line-soft);
    white-space: nowrap;
}
.plc-table th { font-size: 11.5px; color: var(--plc-ink-2); font-weight: 700; }
.plc-table tfoot td { font-weight: 800; color: var(--plc-sage); border-top: 2px solid var(--plc-sage-line); border-bottom: 0; }
.plc-table-empty { text-align: center; color: var(--plc-ink-2); padding: 18px 0; }
.plc-notes { display: flex; flex-direction: column; gap: 7px; }
.plc-notes p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--plc-ink-2);
    padding-left: 14px;
    position: relative;
}
.plc-notes p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--plc-terra);
}
.plc-result-actions { display: flex; gap: 10px; }
.plc-result-foot { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--plc-ink-2); }

/* ============ A4 施工报价单 ============ */
.plc-sheet-wrap {
    margin-top: 40px;
    padding: 26px;
    border-radius: 8px;
    background: var(--plc-panel);
    border: 1px solid var(--plc-line);
}
.plc-sheet-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.plc-sheet-kicker { font-size: 11px; letter-spacing: 0.2em; font-weight: 700; color: var(--plc-sage); }
.plc-sheet-head h2 { margin: 6px 0 4px; font-size: 20px; font-weight: 800; }
.plc-sheet-head p { margin: 0; font-size: 12.5px; color: var(--plc-ink-2); }
.plc-sheet-badge {
    flex: none;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--plc-terra);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(201, 111, 74, 0.4);
    background: var(--plc-terra-soft);
}
.plc-sheet {
    max-width: 760px;
    margin: 0 auto;
    background: #fffefa;
    border: 1px solid #dcdcd2;
    border-radius: 6px;
    padding: 34px 38px;
    color: #33372f;
    box-shadow: 0 10px 30px rgba(51, 55, 47, 0.1);
}
[data-theme="dark"] .plc-sheet { background: #242821; border-color: #454b3e; color: #e7e9df; }
.plc-sheet-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--plc-sage);
}
[data-theme="dark"] .plc-sheet-top { border-color: var(--plc-sage); }
.plc-sheet-top h3 { margin: 0 0 3px; font-size: 21px; font-weight: 800; }
.plc-sheet-top p { margin: 0; font-size: 12px; color: var(--plc-ink-2); }
.plc-sheet-meta { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--plc-ink-2); }
.plc-sheet-meta b { color: var(--plc-ink); font-family: var(--plc-num); }
.plc-sheet-info { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 0; font-size: 12.5px; color: var(--plc-ink-2); }
.plc-sheet-info b { color: var(--plc-ink); }
.plc-sheet-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.plc-sheet-table th, .plc-sheet-table td { border: 1px solid var(--plc-line); padding: 8px 10px; text-align: left; }
.plc-sheet-table th { background: var(--plc-sage-soft); font-size: 11.5px; white-space: nowrap; }
.plc-sheet-table .w-no { width: 44px; text-align: center; }
.plc-sheet-table .w-area, .plc-sheet-table .w-price, .plc-sheet-table .w-sub { text-align: right; white-space: nowrap; }
.plc-sheet-table tfoot td { font-weight: 800; background: var(--plc-sage-soft); }
.plc-sheet-summary { margin-top: 16px; border: 1px solid var(--plc-line); border-radius: 6px; overflow: hidden; }
.plc-sheet-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--plc-line-soft);
}
.plc-sheet-row:last-child { border-bottom: 0; }
.plc-sheet-row b { font-family: var(--plc-num); font-size: 14px; }
.plc-sheet-row--total { background: var(--plc-sage-soft); font-weight: 800; }
.plc-sheet-row--total b { font-size: 17px; color: var(--plc-sage); }
.plc-sheet-notes { margin-top: 16px; display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; line-height: 1.7; color: var(--plc-ink-2); }
.plc-sheet-notes p { margin: 0; }
.plc-sheet-sign { margin-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--plc-ink-2); }
.plc-sheet-foot {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed var(--plc-line);
    text-align: center;
    font-size: 10.5px;
    color: var(--plc-ink-2);
}

/* ============ 参考表 / 规则 / FAQ ============ */
.plc-reference, .plc-rules, .plc-faq { margin-top: 48px; }
.plc-section-head { margin-bottom: 20px; max-width: 760px; }
.plc-section-kicker { font-size: 11px; letter-spacing: 0.24em; font-weight: 800; color: var(--plc-terra); }
.plc-section-head h2 { margin: 8px 0; font-size: 23px; font-weight: 800; }
.plc-section-head p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--plc-ink-2); }
.plc-ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plc-ref-card {
    background: var(--plc-panel);
    border: 1px solid var(--plc-line);
    border-radius: var(--plc-radius);
    padding: 20px 22px;
    min-width: 0;
}
.plc-ref-card h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 800; }
.plc-ref-sub { margin: 0 0 12px; font-size: 12px; color: var(--plc-ink-2); }
.plc-table--ref td:first-child { font-weight: 600; }
.plc-table--ref .is-price { font-family: var(--plc-num); font-weight: 800; color: var(--plc-sage); }
.plc-ref-note { margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: var(--plc-ink-2); }
.plc-rule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plc-rule {
    background: var(--plc-panel);
    border: 1px solid var(--plc-line);
    border-radius: var(--plc-radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.plc-rule-no {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--plc-sage-soft);
    border: 1px solid var(--plc-sage-line);
    color: var(--plc-sage);
    font-weight: 800;
    font-size: 14px;
}
.plc-rule h3 { margin: 0; font-size: 14.5px; font-weight: 800; }
.plc-rule p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--plc-ink-2); }
.plc-example {
    margin-top: 18px;
    padding: 20px 24px;
    background: var(--plc-sage-soft);
    border-left: 4px solid var(--plc-sage);
    border-radius: var(--plc-radius);
}
.plc-example h3 { margin: 0 0 8px; font-size: 14.5px; font-weight: 800; color: var(--plc-sage); }
.plc-example p { margin: 0; font-size: 13px; line-height: 1.9; }
.plc-example-note { margin-top: 6px !important; color: var(--plc-ink-2); font-size: 12.5px !important; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--plc-panel); border: 1px solid var(--plc-line); border-radius: var(--plc-radius); overflow: hidden; }
.faq-item summary {
    padding: 15px 20px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: var(--plc-terra);
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 20px 16px; font-size: 13px; line-height: 1.9; color: var(--plc-ink-2); }
.faq-a b { color: var(--plc-ink); }

.related { margin-top: 48px; }
.related h2 { margin: 0 0 16px; font-size: 20px; font-weight: 800; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--plc-panel);
    border: 1px solid var(--plc-line);
    border-radius: var(--plc-radius);
    text-decoration: none;
    color: var(--plc-ink);
    transition: all 0.18s;
    min-width: 0;
}
.rel-item:hover { border-color: var(--plc-sage); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(51, 55, 47, 0.08); }
.rel-icon { font-size: 22px; flex: none; }
.rel-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rel-body b { font-size: 13px; }
.rel-body small { font-size: 11px; color: var(--plc-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-go { margin-left: auto; color: var(--plc-sage); font-weight: 700; flex: none; }

.plc-top {
    position: fixed;
    right: 22px;
    bottom: 84px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid var(--plc-sage-line);
    background: var(--plc-panel);
    color: var(--plc-sage);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.25s;
    z-index: 60;
    box-shadow: 0 8px 22px rgba(51, 55, 47, 0.14);
}
.plc-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.plc-toast {
    position: fixed;
    left: 50%;
    bottom: 36px;
    transform: translate(-50%, 16px);
    padding: 10px 22px;
    border-radius: 6px;
    background: rgba(51, 55, 47, 0.92);
    color: #f4f8ef;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
    z-index: 90;
}
.plc-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
    .plc-hero { grid-template-columns: auto 1fr; }
    .plc-hero-readout { grid-column: 1 / -1; max-width: 460px; }
    .plc-calc { grid-template-columns: 1fr; }
    .plc-result-col { position: static; }
    .plc-rule-grid { grid-template-columns: repeat(2, 1fr); }
    .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .plc-page { padding: 0 0 28px; }
    .plc-hero { padding: 24px 18px; grid-template-columns: 1fr; }
    .plc-swatches { flex-direction: row; width: auto; height: 40px; }
    .plc-hero h1 { font-size: 26px; }
    .plc-ref-grid, .plc-grid2 { grid-template-columns: 1fr; }
    .plc-room { grid-template-columns: 1fr 1fr; }
    .plc-room input.plc-name-input { grid-column: 1 / -1; }
    .plc-rule-grid, .rel-grid { grid-template-columns: 1fr; }
    .plc-sheet { padding: 22px 18px; overflow-x: auto; }
    .plc-sheet-sign { flex-direction: column; gap: 10px; }
    .plc-result-actions { flex-direction: column; }
    .plc-compare-bar { grid-template-columns: 1fr; }
    .plc-compare-vs { display: none; }
}

/* ============ 打印：只保留 A4 报价单 ============ */
@media print {
    @page { size: A4 portrait; margin: 12mm; }
    body { background: #fff !important; }
    .nav-header, .footer, .detail-breadcrumb,
    .plc-hero, .plc-calc, .plc-sheet-head,
    .plc-reference, .plc-rules, .plc-faq,
    .related, .plc-comments, .plc-top,
    #navEvadeBtn, .nav-evade-btn, #evadeFab, .evade-fab,
    .nav-mask, #navMask, .ma-page-modal,
    #clicaptcha-container, [data-back-to-top] { display: none !important; }
    .detail-wrap { padding: 0 !important; }
    .container { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
    .plc-page { padding: 0 !important; }
    .plc-sheet-wrap { padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; }
    .plc-sheet {
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
        color: #000 !important;
    }
    .plc-sheet-notes, .plc-sheet-sign, .plc-sheet-summary { break-inside: avoid; }
    .plc-sheet-table tr { break-inside: avoid; }
    .plc-sheet-foot { color: #666 !important; }
}
