/* ============================================================
   美缝人工费计算器 · 金缝工坊主题 (.glc)
   暖白瓷砖面 + 香槟金缝 + 墨灰文字
   ============================================================ */
.glc-page {
    --glc-gold: #a97c2f;
    --glc-gold-2: #c99b45;
    --glc-gold-soft: rgba(169, 124, 47, 0.1);
    --glc-gold-line: rgba(169, 124, 47, 0.35);
    --glc-ink: #2c2a26;
    --glc-ink-2: #6b665c;
    --glc-paper: #f7f4ec;
    --glc-panel: #fffefb;
    --glc-line: rgba(44, 42, 38, 0.12);
    --glc-line-soft: rgba(44, 42, 38, 0.07);
    --glc-red: #b3432b;
    --glc-num: "DIN Alternate", "Bahnschrift", "Segoe UI Variable Text", ui-sans-serif, system-ui, sans-serif;
    --glc-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
    --glc-radius: 14px;
    color: var(--glc-ink);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    padding: 6px 0 40px;
}
[data-theme="dark"] .glc-page {
    --glc-gold: #d9a855;
    --glc-gold-2: #ecc276;
    --glc-gold-soft: rgba(217, 168, 85, 0.14);
    --glc-gold-line: rgba(217, 168, 85, 0.4);
    --glc-ink: #ece7db;
    --glc-ink-2: #a49d8e;
    --glc-paper: #17181b;
    --glc-panel: #1f2024;
    --glc-line: rgba(236, 231, 219, 0.14);
    --glc-line-soft: rgba(236, 231, 219, 0.08);
    --glc-red: #e06a4d;
}

/* ============ 首屏 ============ */
.glc-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: stretch;
    background:
        radial-gradient(120% 140% at 100% 0%, var(--glc-gold-soft) 0%, transparent 55%),
        var(--glc-panel);
    border: 1px solid var(--glc-line);
    border-radius: 22px;
    padding: 44px 42px;
    box-shadow: 0 18px 44px rgba(44, 42, 38, 0.08);
}
.glc-hero-tiles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        linear-gradient(var(--glc-line-soft) 1.5px, transparent 1.5px),
        linear-gradient(90deg, var(--glc-line-soft) 1.5px, transparent 1.5px);
    background-size: 92px 92px;
    mask-image: linear-gradient(115deg, transparent 42%, #000 100%);
    -webkit-mask-image: linear-gradient(115deg, transparent 42%, #000 100%);
}
.glc-hero-tiles i {
    position: absolute;
    background: linear-gradient(180deg, var(--glc-gold-2), var(--glc-gold));
    opacity: 0.85;
    border-radius: 2px;
    animation: glcSeam 5.2s ease-in-out infinite;
}
.glc-hero-tiles i:nth-child(1) { left: 6%;  top: 18%;  width: 74px; height: 3px; animation-delay: 0s; }
.glc-hero-tiles i:nth-child(2) { left: 24%; top: 44%;  width: 3px;  height: 58px; animation-delay: .8s; }
.glc-hero-tiles i:nth-child(3) { left: 46%; top: 64%;  width: 96px; height: 3px; animation-delay: 1.6s; }
.glc-hero-tiles i:nth-child(4) { left: 62%; top: 22%;  width: 3px;  height: 44px; animation-delay: 2.4s; }
.glc-hero-tiles i:nth-child(5) { left: 12%; top: 76%;  width: 58px; height: 3px; animation-delay: 3.2s; }
@keyframes glcSeam {
    0%, 100% { opacity: 0.25; transform: scaleX(1); }
    50% { opacity: 0.9; transform: scaleX(1.12); }
}
.glc-hero-tiles i:nth-child(2), .glc-hero-tiles i:nth-child(4) { animation-name: glcSeamV; }
@keyframes glcSeamV {
    0%, 100% { opacity: 0.25; transform: scaleY(1); }
    50% { opacity: 0.9; transform: scaleY(1.12); }
}

.glc-hero-copy { position: relative; z-index: 1; }
.glc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--glc-gold);
    text-transform: uppercase;
}
.glc-kicker::before { content: ""; width: 26px; height: 2px; background: var(--glc-gold); }
.glc-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.glc-hero-sub {
    margin: 0 0 18px;
    max-width: 620px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--glc-ink-2);
}
.glc-hero-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.glc-hero-chips li {
    font-size: 12.5px;
    padding: 6px 12px;
    border: 1px solid var(--glc-gold-line);
    border-radius: 999px;
    color: var(--glc-gold);
    background: var(--glc-gold-soft);
    font-weight: 600;
}

.glc-hero-readout {
    position: relative;
    z-index: 1;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(150deg, var(--glc-gold) 0%, #8a6222 100%);
    color: #fff8ec;
    border-radius: var(--glc-radius);
    padding: 26px 26px 22px;
    box-shadow: 0 14px 32px rgba(138, 98, 34, 0.32);
}
.glc-readout-label { font-size: 12.5px; letter-spacing: 0.14em; opacity: 0.85; }
.glc-readout-num {
    font-family: var(--glc-num);
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.01em;
}
.glc-readout-avg { font-size: 14px; font-weight: 600; }
.glc-readout-meta { font-size: 12.5px; opacity: 0.9; }
.glc-readout-tip {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 248, 236, 0.4);
    font-size: 11.5px;
    opacity: 0.75;
}
[data-theme="dark"] .glc-hero-readout {
    background: linear-gradient(150deg, #b98a37 0%, #6f4d15 100%);
}

/* ============ 测算区布局 ============ */
.glc-calc {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}
.glc-input-col { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.glc-panel {
    background: var(--glc-panel);
    border: 1px solid var(--glc-line);
    border-radius: var(--glc-radius);
    padding: 22px 24px;
    box-shadow: 0 6px 18px rgba(44, 42, 38, 0.05);
}
.glc-panel-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.glc-step {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-family: var(--glc-num);
    font-size: 14px;
    font-weight: 800;
    color: #fff8ec;
    background: linear-gradient(135deg, var(--glc-gold-2), var(--glc-gold));
    box-shadow: 0 4px 10px rgba(169, 124, 47, 0.28);
}
[data-theme="dark"] .glc-step { color: #241a08; }
.glc-panel-head h2 { margin: 0 0 3px; font-size: 16.5px; font-weight: 800; }
.glc-panel-head p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--glc-ink-2); }

.glc-seg {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    background: var(--glc-paper);
    border: 1px solid var(--glc-line);
    border-radius: 12px;
    margin-bottom: 16px;
}
.glc-seg button {
    border: 0;
    background: transparent;
    padding: 8px 22px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--glc-ink-2);
    cursor: pointer;
    transition: all 0.18s ease;
}
.glc-seg button:hover { color: var(--glc-gold); }
.glc-seg button.on {
    color: #fff8ec;
    background: linear-gradient(135deg, var(--glc-gold-2), var(--glc-gold));
    box-shadow: 0 3px 8px rgba(169, 124, 47, 0.3);
}
[data-theme="dark"] .glc-seg button.on { color: #241a08; }

.glc-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.glc-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.glc-label { font-size: 12.5px; font-weight: 700; color: var(--glc-ink-2); }
.glc-select-wrap { position: relative; display: block; }
.glc-select-wrap::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--glc-gold);
    border-bottom: 2px solid var(--glc-gold);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.glc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    font-size: 14px;
    font-family: inherit;
    color: var(--glc-ink);
    background: var(--glc-paper);
    border: 1px solid var(--glc-line);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.glc-input:focus { border-color: var(--glc-gold); box-shadow: 0 0 0 3px var(--glc-gold-soft); }
.glc-select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; }
.glc-input option { background: var(--glc-panel); color: var(--glc-ink); }

.glc-matbar {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: var(--glc-gold-soft);
    border: 1px dashed var(--glc-gold-line);
    border-radius: 10px;
}
.glc-matbar-name {
    font-weight: 800;
    font-size: 14px;
    color: var(--glc-gold);
    padding-right: 12px;
    border-right: 1px solid var(--glc-gold-line);
}
.glc-matbar-desc { font-size: 12.5px; color: var(--glc-ink-2); }

/* 区域行 */
.glc-rooms { display: flex; flex-direction: column; gap: 10px; }
.glc-room {
    display: grid;
    grid-template-columns: minmax(96px, 1.1fr) minmax(0, 1fr) minmax(0, 1.15fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    background: var(--glc-paper);
    border: 1px solid var(--glc-line);
    border-radius: 12px;
}
.glc-room .glc-input { background: var(--glc-panel); }
.glc-room-del {
    flex: none;
    width: 30px;
    height: 30px;
    border: 1px solid var(--glc-line);
    border-radius: 9px;
    background: var(--glc-panel);
    color: var(--glc-ink-2);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s;
}
.glc-room-del:hover { color: #fff; background: var(--glc-red); border-color: var(--glc-red); }
.glc-add {
    margin-top: 12px;
    width: 100%;
    padding: 11px;
    border: 1.5px dashed var(--glc-gold-line);
    border-radius: 12px;
    background: transparent;
    color: var(--glc-gold);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}
.glc-add:hover { background: var(--glc-gold-soft); }
.glc-hint { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--glc-ink-2); }

/* 操作按钮 */
.glc-error {
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(179, 67, 43, 0.08);
    border: 1px solid rgba(179, 67, 43, 0.35);
    color: var(--glc-red);
    font-size: 13px;
    line-height: 1.6;
}
.glc-actions { display: flex; gap: 12px; }
.glc-btn {
    flex: 1;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid var(--glc-line);
    background: var(--glc-panel);
    color: var(--glc-ink);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
}
.glc-btn:hover { border-color: var(--glc-gold); color: var(--glc-gold); transform: translateY(-1px); }
.glc-btn--primary {
    color: #fff8ec;
    background: linear-gradient(135deg, var(--glc-gold-2), var(--glc-gold));
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(169, 124, 47, 0.3);
}
.glc-btn--primary:hover { color: #fff8ec; box-shadow: 0 10px 26px rgba(169, 124, 47, 0.38); }
[data-theme="dark"] .glc-btn--primary { color: #241a08; }

/* ============ 结果卡 ============ */
.glc-result-col { min-width: 0; position: sticky; top: 84px; }
.glc-result-card {
    background: var(--glc-panel);
    border: 1px solid var(--glc-line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(44, 42, 38, 0.09);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.glc-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.glc-result-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--glc-gold);
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--glc-gold-soft);
    border: 1px solid var(--glc-gold-line);
}
.glc-result-note { font-size: 11.5px; color: var(--glc-ink-2); }
.glc-result-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px 20px;
    border-radius: 12px;
    background: linear-gradient(150deg, var(--glc-gold-soft), transparent 70%);
    border: 1px solid var(--glc-gold-line);
}
.glc-result-label { font-size: 12.5px; color: var(--glc-ink-2); }
.glc-result-total {
    font-family: var(--glc-num);
    font-size: 36px;
    font-weight: 800;
    color: var(--glc-gold);
    line-height: 1.1;
}
.glc-result-mid { font-size: 13px; color: var(--glc-ink-2); }

.glc-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.glc-metric {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: var(--glc-paper);
    border: 1px solid var(--glc-line);
    border-radius: 10px;
}
.glc-metric-k { font-size: 11.5px; color: var(--glc-ink-2); }
.glc-metric-v { font-family: var(--glc-num); font-size: 16px; font-weight: 800; color: var(--glc-ink); }

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

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

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

/* ============ 参考表 / 规则 / FAQ ============ */
.glc-reference, .glc-rules, .glc-faq { margin-top: 48px; }
.glc-section-head { margin-bottom: 20px; max-width: 760px; }
.glc-section-kicker {
    font-size: 11px;
    letter-spacing: 0.24em;
    font-weight: 800;
    color: var(--glc-gold);
}
.glc-section-head h2 { margin: 8px 0 8px; font-size: 23px; font-weight: 800; }
.glc-section-head p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--glc-ink-2); }
.glc-ref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.glc-ref-card {
    background: var(--glc-panel);
    border: 1px solid var(--glc-line);
    border-radius: var(--glc-radius);
    padding: 20px 22px;
    min-width: 0;
}
.glc-ref-card h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 800; }
.glc-ref-sub { margin: 0 0 12px; font-size: 12px; color: var(--glc-ink-2); }
.glc-table--ref td:first-child { font-weight: 600; }
.glc-table--ref .is-price { font-family: var(--glc-num); font-weight: 800; color: var(--glc-gold); }
.glc-ref-note { margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: var(--glc-ink-2); }

.glc-rule-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.glc-rule {
    background: var(--glc-panel);
    border: 1px solid var(--glc-line);
    border-radius: var(--glc-radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.glc-rule-no {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--glc-gold-soft);
    border: 1px solid var(--glc-gold-line);
    color: var(--glc-gold);
    font-weight: 800;
    font-size: 14px;
}
.glc-rule h3 { margin: 0; font-size: 14.5px; font-weight: 800; }
.glc-rule p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--glc-ink-2); }

.glc-example {
    margin-top: 18px;
    padding: 20px 24px;
    background: var(--glc-gold-soft);
    border: 1px dashed var(--glc-gold-line);
    border-radius: var(--glc-radius);
}
.glc-example h3 { margin: 0 0 8px; font-size: 14.5px; font-weight: 800; color: var(--glc-gold); }
.glc-example p { margin: 0; font-size: 13px; line-height: 1.9; }
.glc-example-note { margin-top: 6px !important; color: var(--glc-ink-2); font-size: 12.5px !important; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--glc-panel);
    border: 1px solid var(--glc-line);
    border-radius: 12px;
    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(--glc-gold);
    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(--glc-ink-2);
}
.faq-a b { color: var(--glc-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(--glc-panel);
    border: 1px solid var(--glc-line);
    border-radius: 12px;
    text-decoration: none;
    color: var(--glc-ink);
    transition: all 0.18s;
    min-width: 0;
}
.rel-item:hover { border-color: var(--glc-gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(44, 42, 38, 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(--glc-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-go { margin-left: auto; color: var(--glc-gold); font-weight: 700; flex: none; }

/* 轻提示 */
.glc-toast {
    position: fixed;
    left: 50%;
    bottom: 36px;
    transform: translate(-50%, 16px);
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(44, 42, 38, 0.92);
    color: #fff8ec;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
    z-index: 90;
}
.glc-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 返回顶部 */
.glc-top {
    position: fixed;
    right: 22px;
    bottom: 84px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--glc-gold-line);
    background: var(--glc-panel);
    color: var(--glc-gold);
    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(44, 42, 38, 0.14);
}
.glc-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

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

/* ============ 打印：只保留 A4 报价单 ============ */
@media print {
    @page { size: A4 portrait; margin: 12mm; }
    body { background: #fff !important; }
    .nav-header, .footer, .detail-breadcrumb,
    .glc-hero, .glc-calc, .glc-sheet-head,
    .glc-reference, .glc-rules, .glc-faq,
    .related, .glc-comments, .glc-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;
    }
    .glc-page { padding: 0 !important; }
    .glc-sheet-wrap {
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
    }
    .glc-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;
    }
    .glc-sheet-notes, .glc-sheet-sign, .glc-sheet-summary { break-inside: avoid; }
    .glc-sheet-table tr { break-inside: avoid; }
    .glc-sheet-foot { color: #666 !important; }
}
