@font-face { font-family: '清静服务宋'; src: url('assets/service-heading.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
.service-page main { --serif: '清静服务宋', 'Noto Serif SC', 'Songti SC', SimSun, serif; }
.service-opening { background: #efeee7; padding-block: clamp(26px, 5.1vw, 78px); }
.service-opening-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 6vw, 82px); align-items: center; }
.service-page .service-opening h1 { font-size: clamp(33px, 4.4vw, 66px); letter-spacing: .015em; text-wrap: balance; }
.service-opening h1 span { display: inline-block; }
.service-intro { margin-top: 15px; max-width: 29em; color: #3e5253; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.75; }
.service-opening .service-button { margin-top: 19px; background: #205469; color: #fff; }
.service-opening .service-button:hover { background: #183f4f; }
.service-opening img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tool-service-page .service-opening img { aspect-ratio: auto; object-fit: contain; }
.service-summary { margin-top: 8px; max-width: 45em; }
.service-steps {
    counter-reset: step;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 36px);
    margin: 27px 0 0;
    padding: 0;
}
.service-steps li { counter-increment: step; padding-top: 13px; border-top: 2px solid #78968d; }
.service-steps li::before { content: counter(step, decimal-leading-zero); color: #205469; font-weight: 700; }
.service-page h3 { margin: 3px 0 6px; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.45; }
.service-steps .service-example { margin-top: 12px; padding: 12px; background: #e9efeb; color: #334947; }
.service-more { background: #edf1ec; }
.service-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 34px); margin-top: 22px; }
.service-more-grid article { background: #f8f7f1; padding: clamp(16px, 2.5vw, 30px); }
.service-more-grid img { width: 100%; height: auto; object-fit: contain; margin-bottom: 13px; }
.service-start { background: #20363b; color: #f7f8f3; }
.service-start p { margin-top: 8px; max-width: 39em; color: #dce8e4; }
.service-start .button { margin-top: 15px; }

.online-study-page .service-opening h1 { text-wrap: pretty; }
.online-study-page .study-format { margin-top: 12px; color: #205469; font-size: 17px; font-weight: 700; }
.online-study-page .service-subtitle {
    margin-top: 18px;
    max-width: 23em;
    color: #234749;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.75;
    font-weight: 700;
    text-wrap: balance;
}
.online-study-page .service-opening-actions, .online-study-page .service-start-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
    margin-top: 24px;
}
.online-study-page .service-opening-actions .button, .online-study-page .service-start-actions .button { margin-top: 0; }
.online-study-page .service-opening-actions .text-link { color: #205469; }
.online-study-page .inner-section h2 { max-width: 24em; text-wrap: pretty; }
.online-study-page .inner-section p { font-size: 18px; line-height: 1.8; }
.online-study-page .curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 32px);
    margin-top: 24px;
}
.online-study-page .curriculum-card {
    padding: clamp(18px, 2.6vw, 34px);
    border: 1px solid #cbd5cf;
    background: #f7f8f6;
}
.online-study-page .service-real-note {
    max-width: 58em;
    margin-top: 22px;
    padding: clamp(19px, 2.6vw, 34px);
    border-left: 4px solid #3c716b;
    background: #e8efea;
}
.online-study-page .service-real-note .note-tag, .online-study-page .curriculum-card .curriculum-cycle {
    color: #205469;
    font-size: 16px;
    font-weight: 700;
}
.online-study-page .service-real-note .note-tag { margin-bottom: 5px; }
.online-study-page .service-body { border-top: 1px solid var(--rule); }
.online-study-page .service-curriculum { background: #e8efea; }
.online-study-page .curriculum-schedule {
    margin-top: 22px;
    padding: 2px clamp(14px, 2.5vw, 24px);
    border: 1px solid #cbd5cf;
    background: #f7f8f6;
}
.online-study-page .curriculum-schedule summary {
    min-height: 44px;
    padding-block: 10px;
    color: #205469;
    font-weight: 700;
    cursor: pointer;
}
.online-study-page .curriculum-schedule p { margin: 0 0 10px; max-width: 52em; }
.online-study-page .service-more { background: var(--paper); }
.online-study-page .service-alt-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    color: #ebf4ef;
    font-size: 16px;
    line-height: 1.75;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.online-study-page .service-alt-link:hover { color: #fff; }

.camp-facts { margin-top: 15px; color: #205469; font-size: 16px; font-weight: 700; line-height: 1.75; }
.camp-opening-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; }
.camp-opening-actions .service-button { margin-top: 0; }
.camp-opening-actions .camp-wechat { color: #205469; border-color: #548188; }
.camp-example { max-width: 52em; margin-top: 28px; padding: clamp(16px, 2.5vw, 28px); border-left: 3px solid #3c716b; background: #edf1ec; }
.camp-curriculum { background: #e8efea; }
.camp-lessons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 5vw, 68px);
    margin: 22px 0 0;
    padding-left: 1.65em;
}
.camp-lessons li { padding: 15px 0 15px 4px; border-top: 1px solid #b8c8c0; }
.camp-lessons li::marker { color: #205469; font-weight: 700; }
.camp-lessons p { max-width: 30em; }

.support-question {
    margin-top: 16px;
    max-width: 23em;
    color: #234749;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.65;
    font-weight: 700;
    text-wrap: balance;
}
.support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; }
.support-actions .service-button { margin-top: 0; }
.support-case { background: #e8efea; }
.support-case-source { margin-bottom: 9px; color: #205469; font-size: 16px; font-weight: 700; }
.support-case-review { margin-top: 20px; }

.tool-opening-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-top: 22px;
}
.tool-opening-actions .service-button { margin-top: 0; }
.tool-opening-actions .text-link, .tool-safety .text-link { color: #205469; }
.tool-catalog { background: #e8efea; }
.tool-catalog h2 span { display: inline-block; }
.tool-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.tool-index a {
    display: inline-flex;
    align-items: center;
    padding-inline: 12px;
    border: 1px solid #9eb5ad;
    color: #205469;
    background: #fafaf5;
    font-size: 16px;
    font-weight: 650;
}
.tool-index a:hover { border-color: #205469; }
.tool-group {
    margin-top: clamp(28px, 5vw, 56px);
    padding-top: 19px;
    border-top: 1px solid #b9ccc2;
}
.tool-service-page .tool-group h3 { margin: 0 0 7px; font-family: var(--serif); font-size: clamp(23px, 2.35vw, 32px); }
.tool-group > p { max-width: 44em; }
.tool-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    gap: clamp(16px, 2.4vw, 32px);
    margin-top: 18px;
}
.tool-card { grid-column: span 2; border: 1px solid #c6d1c9; background: #fafaf5; }
.tool-card:target, .tool-card:has(h4:target) { border-color: #3c716b; }
.tool-card.tool-featured { grid-column: span 3; }
.tool-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 320px;
    object-fit: contain;
    background: #efeee7;
}
.tool-card-copy { padding: clamp(16px, 2.5vw, 30px); }
.tool-card h4 { margin: 0; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.45; }
.tool-card .tool-scene { margin-top: 9px; color: #204846; font-weight: 650; }
.tool-detail { margin-top: 14px; border-top: 1px solid #cbd7cf; }
.tool-detail summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    color: #205469;
    font-size: 17px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}
.tool-detail summary::-webkit-details-marker { display: none; }
.tool-detail summary:hover { color: #183f4f; }
.tool-detail summary::after { content: '+'; font-size: 23px; font-weight: 500; }
.tool-detail[open] summary::after { content: '−'; }
.tool-detail-collapse, .tool-detail[open] .tool-detail-expand { display: none; }
.tool-detail[open] .tool-detail-collapse { display: inline; }
.tool-detail-body { margin-top: 4px; }
.tool-detail-facts { margin: 0; }
.tool-detail-facts div { padding-block: 11px; border-top: 1px solid #d3dbd3; }
.tool-detail-facts dt { color: #205469; font-size: 16px; font-weight: 700; }
.tool-detail-facts dd { margin: 4px 0 0; color: #3e5253; font-size: 17px; line-height: 1.7; }
.tool-detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    border-top: 1px solid #d3dbd3;
}
.tool-detail-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #205469;
    font-size: 16px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.tool-accessories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 30px;
    margin: 16px 0 0;
}
.tool-accessories div { padding-top: 9px; border-top: 1px solid #becdc5; }
.tool-accessories dt { color: #205469; font-weight: 700; }
.tool-accessories dd { margin: 3px 0 0; color: #3e5253; }
.tool-safety {
    max-width: 57em;
    margin-top: 28px;
    padding: 14px clamp(14px, 2.7vw, 28px);
    border-left: 3px solid #78968d;
    background: #e8efea;
}
.tool-safety h3 { font-size: 18px; }
.tool-safety .text-link { font-size: 16px; }

@media (min-width: 761px) {
    .tool-card#yuanyang {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }
}

@media (max-width: 760px) {
    .service-opening-grid, .service-steps, .service-more-grid { grid-template-columns: minmax(0, 1fr); }
    .service-page .service-opening h1 { text-wrap: pretty; }
    .service-page .inner-section p { font-size: 18px; }
    .online-study-page .curriculum-grid { grid-template-columns: minmax(0, 1fr); }
    .online-study-page .service-steps { gap: 22px; }
    .camp-lessons { grid-template-columns: minmax(0, 1fr); }
    .tool-grid, .tool-accessories { grid-template-columns: minmax(0, 1fr); }
    .tool-card, .tool-card.tool-featured { grid-column: auto; }
}
