:root {
    --tc-ink: #17253a;
    --tc-ink-2: #34465a;
    --tc-muted: #778496;
    --tc-bg: #f7f4ef;
    --tc-paper: #ffffff;
    --tc-paper-warm: #fdfaf6;
    --tc-line: #e7ded4;
    --tc-line-strong: #d9cec2;
    --tc-coral: #ef6c54;
    --tc-coral-dark: #c9513d;
    --tc-coral-soft: #fff1ec;
    --tc-teal: #118b7e;
    --tc-teal-dark: #087166;
    --tc-teal-soft: #edf8f6;
    --tc-navy: #163a42;
    --tc-shadow: 0 18px 48px rgba(41, 48, 58, .08);
    --tc-shadow-soft: 0 10px 28px rgba(41, 48, 58, .055);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.tc-page-body {
    margin: 0;
    color: var(--tc-ink);
    background:
        radial-gradient(circle at 2% 4%, rgba(239, 108, 84, .09), transparent 24%),
        radial-gradient(circle at 98% 5%, rgba(17, 139, 126, .085), transparent 25%),
        var(--tc-bg);
    font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
label,
summary {
    -webkit-tap-highlight-color: transparent;
}

.tc-page {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0 78px;
}

.tc-entry-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.tc-back-link,
.tc-order-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--tc-line);
    border-radius: 12px;
    color: var(--tc-teal-dark);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 6px 20px rgba(44, 50, 58, .035);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 800;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.tc-back-link:hover,
.tc-order-entry:hover {
    color: var(--tc-teal-dark);
    border-color: rgba(17, 139, 126, .35);
    box-shadow: 0 10px 24px rgba(17, 139, 126, .08);
    transform: translateY(-1px);
}

/* Compact page introduction */
.tc-intro-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    min-height: 238px;
    overflow: hidden;
    border: 1px solid var(--tc-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--tc-shadow);
}

.tc-intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 28px 32px;
}

.tc-kicker-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}

.tc-kicker,
.tc-eyebrow,
.tc-card-label {
    color: var(--tc-teal);
    font-size: .72rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.tc-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--tc-teal-dark);
    background: var(--tc-teal-soft);
    font-size: .76rem;
    font-weight: 900;
}

.tc-live-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tc-teal);
    box-shadow: 0 0 0 4px rgba(17, 139, 126, .11);
}

.tc-intro-copy h1 {
    margin: 0;
    color: var(--tc-ink);
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.035em;
}

.tc-subtitle {
    max-width: 760px;
    margin: 10px 0 18px;
    color: var(--tc-ink-2);
    font-size: .96rem;
    line-height: 1.7;
    font-weight: 600;
}

.tc-intro-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 760px;
}

.tc-intro-facts article {
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid var(--tc-line);
    border-radius: 13px;
    background: var(--tc-paper-warm);
}

.tc-intro-facts span,
.tc-intro-facts strong,
.tc-intro-facts small {
    display: block;
}

.tc-intro-facts span {
    color: #8d6854;
    font-size: .7rem;
    font-weight: 800;
}

.tc-intro-facts strong {
    margin: 3px 0 1px;
    overflow: hidden;
    color: var(--tc-teal-dark);
    font-size: .98rem;
    line-height: 1.4;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-intro-facts small {
    overflow: hidden;
    color: var(--tc-muted);
    font-size: .67rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-intro-media {
    position: relative;
    min-height: 238px;
    overflow: hidden;
    background: #dbe6e4;
}

.tc-intro-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 31, 35, .02) 35%, rgba(12, 28, 32, .72) 100%);
}

.tc-intro-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-intro-overlay {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    left: 16px;
    color: #fff;
}

.tc-intro-overlay > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 9px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(17, 139, 126, .94);
    font-size: .72rem;
    font-weight: 900;
}

.tc-intro-overlay strong,
.tc-intro-overlay small {
    display: block;
}

.tc-intro-overlay strong {
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 900;
}

.tc-intro-overlay small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .82);
    font-size: .74rem;
    line-height: 1.5;
    font-weight: 600;
}

/* Main workspace */
.tc-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.tc-form-card,
.tc-summary-card,
.tc-flow-card {
    border: 1px solid var(--tc-line);
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--tc-shadow-soft);
}

.tc-form-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
}

.tc-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 23px 26px 19px;
    border-bottom: 1px solid #eee6de;
}

.tc-form-head h2 {
    margin: 5px 0 0;
    color: var(--tc-ink);
    font-size: clamp(1.55rem, 2vw, 1.9rem);
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -.025em;
}

.tc-form-head p {
    margin: 6px 0 0;
    color: var(--tc-muted);
    font-size: .82rem;
    line-height: 1.55;
    font-weight: 600;
}

.tc-completion {
    flex: 0 0 164px;
}

.tc-completion-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.tc-completion-copy span {
    color: var(--tc-muted);
    font-size: .72rem;
    font-weight: 800;
}

.tc-completion-copy strong {
    color: var(--tc-teal-dark);
    font-size: .9rem;
    font-weight: 900;
}

.tc-completion-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7efed;
}

.tc-completion-track span {
    display: block;
    width: 60%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--tc-teal), #38aa9d);
    transition: width .25s ease;
}

.tc-step-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    padding: 12px 20px;
    border-bottom: 1px solid #eee6de;
    background: #fcfaf7;
}

.tc-step-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 38px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--tc-muted);
    text-decoration: none;
    font-size: .75rem;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.tc-step-nav a b {
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    color: #7a6f66;
    background: #eee8e1;
    font-size: .68rem;
    font-weight: 900;
}

.tc-step-nav a.active {
    color: var(--tc-teal-dark);
    border-color: #cbe8e3;
    background: var(--tc-teal-soft);
}

.tc-step-nav a.active b {
    color: #fff;
    background: var(--tc-teal);
}

.tc-step-nav a.done:not(.active) {
    color: var(--tc-ink-2);
}

.tc-step-nav a.done:not(.active) b {
    color: var(--tc-teal-dark);
    background: #dcefeb;
}

.tc-form-content {
    padding: 0 24px 24px;
}

.tc-form-section {
    scroll-margin-top: 105px;
    padding: 24px 0;
    border-bottom: 1px solid #eee6de;
}

.tc-section-title {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 17px;
}

.tc-section-title.compact {
    margin-bottom: 15px;
}

.tc-step-number {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--tc-coral-dark);
    background: var(--tc-coral-soft);
    font-size: .74rem;
    font-weight: 900;
}

.tc-section-title h3 {
    margin: 0;
    color: var(--tc-ink);
    font-size: 1.13rem;
    line-height: 1.4;
    font-weight: 900;
}

.tc-section-title p {
    margin: 3px 0 0;
    color: var(--tc-muted);
    font-size: .78rem;
    line-height: 1.5;
    font-weight: 600;
}

/* Choice cards */
.tc-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tc-choice-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    min-height: 106px;
    padding: 15px;
    border: 1px solid var(--tc-line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.tc-choice-card:hover {
    border-color: #bdcfc9;
    transform: translateY(-1px);
}

.tc-choice-card.active {
    border-color: #72c7bd;
    background: linear-gradient(145deg, #f4fbfa 0%, #ffffff 100%);
    box-shadow: 0 10px 24px rgba(17, 139, 126, .08);
}

.tc-choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tc-choice-check {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 2px solid #c9c0b8;
    border-radius: 50%;
    background: #fff;
}

.tc-choice-card.active .tc-choice-check {
    border-color: var(--tc-teal);
}

.tc-choice-card.active .tc-choice-check::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--tc-teal);
}

.tc-choice-copy {
    display: block;
    min-width: 0;
}

.tc-choice-copy b,
.tc-choice-copy small,
.tc-choice-copy em {
    display: block;
}

.tc-choice-copy b {
    color: var(--tc-ink);
    font-size: .96rem;
    line-height: 1.35;
    font-weight: 900;
}

.tc-choice-copy small {
    margin-top: 4px;
    color: var(--tc-muted);
    font-size: .73rem;
    line-height: 1.5;
    font-weight: 600;
}

.tc-choice-copy em {
    margin-top: 7px;
    color: #a85c3f;
    font-size: .68rem;
    line-height: 1.3;
    font-style: normal;
    font-weight: 800;
}

/* Fields */
.tc-input-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.tc-field {
    display: block;
    min-width: 0;
}

.tc-field-address {
    grid-column: span 3;
}

.tc-field-phone {
    grid-column: span 1;
}

.tc-field > span,
.tc-full-label > span {
    display: block;
    margin-bottom: 7px;
    color: var(--tc-ink-2);
    font-size: .75rem;
    font-weight: 800;
}

.tc-field i {
    margin-left: 3px;
    color: var(--tc-coral-dark);
    font-size: .66rem;
    font-style: normal;
    font-weight: 800;
}

.tc-field input,
.tc-field select,
.tc-full-label textarea {
    width: 100%;
    border: 1px solid var(--tc-line);
    border-radius: 12px;
    color: var(--tc-ink);
    background: #fff;
    outline: none;
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tc-field input,
.tc-field select {
    height: 50px;
    padding: 0 14px;
    font-size: .86rem;
}

.tc-field input::placeholder,
.tc-full-label textarea::placeholder {
    color: #b2a79d;
    font-weight: 600;
}

.tc-field input:focus,
.tc-field select:focus,
.tc-full-label textarea:focus {
    border-color: #73c5bc;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(17, 139, 126, .09);
}

.tc-section-pair {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 0;
    border-bottom: 1px solid #eee6de;
}

.tc-form-section-half {
    border-bottom: 0;
}

.tc-form-section-half:first-child {
    padding-right: 22px;
    border-right: 1px solid #eee6de;
}

.tc-form-section-half:last-child {
    padding-left: 22px;
}

/* Hours */
.tc-hour-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.tc-hour-grid label,
.tc-tool-grid label,
.tc-area-grid label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    border: 1px solid var(--tc-line);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.tc-hour-grid label {
    min-height: 74px;
    padding: 12px;
}

.tc-hour-grid input,
.tc-tool-grid input,
.tc-area-grid input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    border: 2px solid #c8bfb6;
    background: #fff;
    outline: 0;
}

.tc-hour-grid input,
.tc-tool-grid input {
    border-radius: 50%;
}

.tc-area-grid input {
    border-radius: 6px;
}

.tc-hour-grid input:checked,
.tc-tool-grid input:checked {
    border: 5px solid var(--tc-teal);
}

.tc-area-grid input:checked {
    border-color: var(--tc-teal);
    background: var(--tc-teal);
}

.tc-area-grid input:checked::after {
    content: "✓";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: .68rem;
    line-height: 1;
    font-weight: 900;
}

.tc-hour-grid label.active,
.tc-tool-grid label.active,
.tc-area-grid label.active {
    border-color: #75c7bd;
    background: #f4fbfa;
    box-shadow: 0 8px 18px rgba(17, 139, 126, .055);
}

.tc-hour-grid label > span,
.tc-tool-grid label > span,
.tc-area-grid label > span {
    min-width: 0;
}

.tc-hour-grid b,
.tc-tool-grid b,
.tc-area-grid b,
.tc-hour-grid small,
.tc-tool-grid small,
.tc-area-grid small {
    display: block;
}

.tc-hour-grid b,
.tc-tool-grid b,
.tc-area-grid b {
    color: var(--tc-ink);
    font-size: .86rem;
    line-height: 1.35;
    font-weight: 900;
}

.tc-hour-grid small,
.tc-tool-grid small,
.tc-area-grid small {
    margin-top: 3px;
    color: var(--tc-muted);
    font-size: .68rem;
    line-height: 1.45;
    font-weight: 600;
}

/* Areas */
.tc-area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.tc-area-grid label {
    min-height: 67px;
    padding: 11px 12px;
}

/* Tools and extras */
.tc-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tc-tool-grid label {
    min-height: 80px;
    padding: 13px;
}

.tc-extra-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.tc-extra-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid var(--tc-line);
    border-radius: 11px;
    color: var(--tc-ink-2);
    background: #fff;
    cursor: pointer;
    font-size: .76rem;
    font-weight: 800;
    transition: border-color .18s ease, background .18s ease;
}

.tc-extra-grid label.active {
    border-color: #8ccfc7;
    color: var(--tc-teal-dark);
    background: var(--tc-teal-soft);
}

.tc-extra-grid input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 0;
    border: 1.5px solid #bdb4ac;
    border-radius: 5px;
    background: #fff;
}

.tc-extra-grid input:checked {
    border-color: var(--tc-teal);
    background: var(--tc-teal);
}

.tc-extra-grid input:checked::after {
    content: "✓";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: .62rem;
    line-height: 1;
    font-weight: 900;
}

.tc-full-label {
    display: block;
    margin-top: 12px;
}

.tc-full-label textarea {
    min-height: 112px;
    resize: vertical;
    padding: 13px 14px;
    font-size: .84rem;
    line-height: 1.65;
}

.tc-hidden-note {
    display: none !important;
}

/* Notice and submit */
.tc-inline-notice {
    margin: 18px 0 0;
    border: 1px solid var(--tc-line);
    border-radius: 14px;
    background: var(--tc-paper-warm);
}

.tc-inline-notice summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 62px;
    padding: 12px 15px;
    list-style: none;
    cursor: pointer;
}

.tc-inline-notice summary::-webkit-details-marker {
    display: none;
}

.tc-inline-notice summary span,
.tc-inline-notice summary b,
.tc-inline-notice summary small {
    display: block;
}

.tc-inline-notice summary b {
    color: var(--tc-ink);
    font-size: .84rem;
    font-weight: 900;
}

.tc-inline-notice summary small {
    margin-top: 2px;
    color: var(--tc-muted);
    font-size: .68rem;
    font-weight: 600;
}

.tc-inline-notice summary i {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: var(--tc-coral-dark);
    background: var(--tc-coral-soft);
    font-size: 1.05rem;
    line-height: 1;
    font-style: normal;
    font-weight: 700;
    transition: transform .18s ease;
}

.tc-inline-notice[open] summary i {
    transform: rotate(45deg);
}

.tc-notice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    padding: 0 15px 15px;
}

.tc-notice-grid article {
    padding: 11px 12px;
    border-radius: 11px;
    background: #fff;
}

.tc-notice-grid b,
.tc-notice-grid span {
    display: block;
}

.tc-notice-grid b {
    color: var(--tc-ink);
    font-size: .76rem;
    font-weight: 900;
}

.tc-notice-grid span {
    margin-top: 3px;
    color: var(--tc-muted);
    font-size: .68rem;
    line-height: 1.5;
    font-weight: 600;
}

.tc-submit-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #193e43 0%, #0f6f67 100%);
    box-shadow: 0 15px 34px rgba(13, 94, 86, .17);
}

.tc-submit-estimate span,
.tc-submit-estimate strong,
.tc-submit-estimate small {
    display: block;
}

.tc-submit-estimate span {
    color: rgba(255, 255, 255, .72);
    font-size: .7rem;
    font-weight: 800;
}

.tc-submit-estimate strong {
    margin-top: 2px;
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.35;
    font-weight: 900;
}

.tc-submit-estimate small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .65);
    font-size: .66rem;
    line-height: 1.45;
    font-weight: 600;
}

.tc-primary-submit,
.tc-side-submit,
.tc-mobile-submit button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--tc-coral) 0%, #f4835e 100%);
    box-shadow: 0 12px 25px rgba(239, 108, 84, .22);
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.tc-primary-submit:hover,
.tc-side-submit:hover,
.tc-mobile-submit button:hover {
    filter: saturate(1.05);
    box-shadow: 0 15px 30px rgba(239, 108, 84, .28);
    transform: translateY(-1px);
}

.tc-primary-submit {
    flex: 0 0 auto;
    min-width: 210px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 13px;
    font-size: .88rem;
}

/* Sidebar */
.tc-side {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
}

.tc-summary-card,
.tc-flow-card {
    border-radius: 18px;
}

.tc-summary-card {
    padding: 20px;
}

.tc-summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.tc-summary-head h3,
.tc-flow-head h3 {
    margin: 5px 0 0;
    color: var(--tc-ink);
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 900;
}

.tc-summary-status {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--tc-teal-dark);
    background: var(--tc-teal-soft);
    font-size: .66rem;
    font-weight: 900;
}

.tc-estimate-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #183b42 0%, #0d7168 100%);
}

.tc-estimate-box span,
.tc-estimate-box strong,
.tc-estimate-box small {
    display: block;
}

.tc-estimate-box span {
    color: rgba(255, 255, 255, .68);
    font-size: .68rem;
    font-weight: 800;
}

.tc-estimate-box strong {
    margin: 3px 0;
    font-size: 1.38rem;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -.015em;
}

.tc-estimate-box small {
    color: rgba(255, 255, 255, .66);
    font-size: .65rem;
    font-weight: 600;
}

.tc-summary-list {
    margin: 14px 0 0;
}

.tc-summary-list > div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #e5ded7;
}

.tc-summary-list > div:last-child {
    border-bottom: 0;
}

.tc-summary-list dt,
.tc-summary-list dd {
    margin: 0;
}

.tc-summary-list dt {
    color: var(--tc-muted);
    font-size: .69rem;
    font-weight: 800;
}

.tc-summary-list dd {
    overflow-wrap: anywhere;
    color: var(--tc-ink-2);
    font-size: .74rem;
    line-height: 1.5;
    font-weight: 800;
}

.tc-side-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    border-radius: 13px;
    font-size: .84rem;
}

.tc-submit-hint {
    margin: 9px 2px 0;
    color: var(--tc-muted);
    font-size: .66rem;
    line-height: 1.55;
    text-align: center;
    font-weight: 600;
}

.tc-flow-card {
    padding: 18px;
}

.tc-flow-list {
    display: grid;
    gap: 8px;
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
}

.tc-flow-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #faf8f5;
}

.tc-flow-list li > b {
    display: grid;
    place-items: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    color: var(--tc-coral-dark);
    background: var(--tc-coral-soft);
    font-size: .68rem;
    font-weight: 900;
}

.tc-flow-list li > span,
.tc-flow-list strong,
.tc-flow-list small {
    display: block;
}

.tc-flow-list strong {
    color: var(--tc-ink);
    font-size: .76rem;
    line-height: 1.4;
    font-weight: 900;
}

.tc-flow-list small {
    margin-top: 2px;
    color: var(--tc-muted);
    font-size: .65rem;
    line-height: 1.45;
    font-weight: 600;
}

.tc-mobile-submit,
.tc-bottom-nav {
    display: none;
}

/* Medium desktop */
@media (max-width: 1180px) {
    .tc-page {
        width: min(1160px, calc(100% - 28px));
    }

    .tc-intro-card {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

    .tc-intro-copy {
        padding: 25px 27px;
    }

    .tc-workspace {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .tc-input-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-field-address,
    .tc-field-phone {
        grid-column: span 1;
    }

    .tc-extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablet */
@media (max-width: 980px) {
    .tc-page {
        width: min(920px, calc(100% - 24px));
        padding-top: 16px;
    }

    .tc-intro-card {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .tc-intro-facts {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .tc-intro-facts article {
        display: grid;
        grid-template-columns: 85px 1fr;
        align-items: center;
        gap: 6px 10px;
        padding: 8px 11px;
    }

    .tc-intro-facts span {
        grid-row: span 2;
    }

    .tc-intro-facts strong {
        margin: 0;
    }

    .tc-intro-facts small {
        grid-column: 2;
    }

    .tc-workspace {
        grid-template-columns: 1fr;
    }

    .tc-side {
        position: static;
        grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
        grid-row: 1;
    }

    .tc-summary-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 16px;
    }

    .tc-summary-head,
    .tc-estimate-box,
    .tc-side-submit,
    .tc-submit-hint {
        grid-column: span 1;
    }

    .tc-summary-list {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
    }

    .tc-summary-list > div {
        grid-template-columns: 80px minmax(0, 1fr);
    }
}

/* Small tablet */
@media (max-width: 760px) {
    .tc-page {
        width: min(100%, calc(100% - 20px));
        padding-bottom: 150px;
    }

    .tc-entry-row {
        margin-bottom: 10px;
    }

    .tc-back-link,
    .tc-order-entry {
        min-height: 38px;
        padding: 0 12px;
        font-size: .78rem;
    }

    .tc-order-entry {
        max-width: 48%;
        text-align: center;
    }

    .tc-intro-card {
        grid-template-columns: 1fr;
    }

    .tc-intro-copy {
        padding: 22px;
    }

    .tc-intro-copy h1 {
        font-size: 2rem;
    }

    .tc-intro-media {
        min-height: 190px;
    }

    .tc-intro-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tc-intro-facts article {
        display: block;
        padding: 10px;
    }

    .tc-intro-facts span,
    .tc-intro-facts strong,
    .tc-intro-facts small {
        grid-column: auto;
    }

    .tc-workspace {
        margin-top: 12px;
    }

    .tc-side {
        grid-template-columns: 1fr;
    }

    .tc-flow-card {
        display: none;
    }

    .tc-summary-card {
        display: block;
        padding: 17px;
    }

    .tc-summary-list {
        display: block;
    }

    .tc-side-submit,
    .tc-submit-hint {
        display: none;
    }

    .tc-form-head {
        align-items: flex-start;
        padding: 20px;
    }

    .tc-completion {
        flex-basis: 110px;
    }

    .tc-step-nav {
        overflow-x: auto;
        grid-template-columns: repeat(5, minmax(96px, 1fr));
        justify-content: start;
        padding: 10px 14px;
        scrollbar-width: none;
    }

    .tc-step-nav::-webkit-scrollbar {
        display: none;
    }

    .tc-form-content {
        padding: 0 18px 18px;
    }

    .tc-choice-grid,
    .tc-tool-grid {
        grid-template-columns: 1fr;
    }

    .tc-choice-card {
        min-height: 90px;
    }

    .tc-input-grid {
        grid-template-columns: 1fr;
    }

    .tc-section-pair {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .tc-form-section-half:first-child {
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid #eee6de;
    }

    .tc-form-section-half:last-child {
        padding-left: 0;
    }

    .tc-notice-grid {
        grid-template-columns: 1fr;
    }

    .tc-submit-panel {
        display: none;
    }

    .tc-mobile-submit {
        position: fixed;
        z-index: 1600;
        right: 0;
        bottom: 58px;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 68px;
        padding: 10px max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
        border-top: 1px solid var(--tc-line);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -12px 30px rgba(35, 42, 52, .11);
        backdrop-filter: blur(14px);
    }

    .tc-mobile-submit span,
    .tc-mobile-submit strong {
        display: block;
    }

    .tc-mobile-submit span {
        color: var(--tc-muted);
        font-size: .68rem;
        font-weight: 800;
    }

    .tc-mobile-submit strong {
        color: var(--tc-teal-dark);
        font-size: .95rem;
        font-weight: 900;
    }

    .tc-mobile-submit button {
        min-width: 132px;
        min-height: 44px;
        border-radius: 12px;
        font-size: .82rem;
    }

    .tc-bottom-nav {
        position: fixed;
        z-index: 1650;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 58px;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--tc-line);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -8px 22px rgba(35, 42, 52, .08);
        backdrop-filter: blur(14px);
    }

    .tc-bottom-nav a {
        display: grid;
        place-items: center;
        color: var(--tc-muted);
        text-decoration: none;
        font-size: .67rem;
        font-weight: 800;
    }

    .tc-bottom-nav a.active {
        color: var(--tc-teal-dark);
        background: var(--tc-teal-soft);
    }
}

@media (max-width: 520px) {
    .tc-page {
        width: min(100%, calc(100% - 14px));
    }

    .tc-entry-row {
        gap: 8px;
    }

    .tc-back-link,
    .tc-order-entry {
        padding: 0 10px;
        font-size: .72rem;
    }

    .tc-intro-copy {
        padding: 19px 17px;
    }

    .tc-intro-copy h1 {
        font-size: 1.72rem;
    }

    .tc-subtitle {
        font-size: .84rem;
        line-height: 1.6;
    }

    .tc-intro-facts {
        grid-template-columns: 1fr;
    }

    .tc-intro-facts article {
        display: grid;
        grid-template-columns: 80px 1fr;
        align-items: center;
        gap: 2px 8px;
    }

    .tc-intro-facts span {
        grid-row: span 2;
    }

    .tc-intro-facts strong {
        margin: 0;
    }

    .tc-intro-facts small {
        grid-column: 2;
    }

    .tc-form-head {
        display: block;
        padding: 18px 16px;
    }

    .tc-completion {
        margin-top: 14px;
    }

    .tc-form-content {
        padding: 0 14px 14px;
    }

    .tc-form-section {
        padding: 20px 0;
    }

    .tc-section-title {
        gap: 10px;
    }

    .tc-step-number {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .tc-section-title h3 {
        font-size: 1rem;
    }

    .tc-hour-grid,
    .tc-area-grid,
    .tc-extra-grid {
        grid-template-columns: 1fr;
    }

    .tc-summary-list > div {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ========================================================================== 
   Temp cleaning member review / completion acceptance
   ========================================================================== */
.tc-review-body {
    color: var(--tc-ink);
    background:
        radial-gradient(circle at 2% 5%, rgba(239, 108, 84, .10), transparent 28rem),
        radial-gradient(circle at 98% 6%, rgba(17, 139, 126, .10), transparent 30rem),
        linear-gradient(180deg, #fffaf5 0%, #f7fbff 55%, #f6f8f8 100%);
}

.tc-review-shell {
    width: min(1440px, calc(100% - 40px));
    padding-bottom: 84px;
}

.tc-review-shell .service-topbar {
    margin-bottom: 20px;
    border-radius: 0 0 24px 24px;
    padding-inline: 16px;
    box-shadow: 0 12px 32px rgba(41, 48, 58, .05);
}

.tc-review-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 18px;
}

.tc-review-copy,
.tc-review-ticket,
.tc-review-summary-grid article,
.tc-review-panel,
.tc-review-progress {
    border: 1px solid var(--tc-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--tc-shadow-soft);
}

.tc-review-copy {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 34px 38px;
    border-radius: 28px;
}

.tc-review-copy::after {
    content: "";
    position: absolute;
    right: -95px;
    bottom: -115px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: rgba(17, 139, 126, .07);
    pointer-events: none;
}

.tc-review-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--tc-muted);
    font-size: .86rem;
    font-weight: 800;
}

.tc-review-breadcrumb a {
    color: var(--tc-teal-dark);
}

.tc-review-kicker,
.tc-review-panel .eyebrow {
    margin: 0 0 8px;
    color: var(--tc-coral);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.tc-review-copy h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -.055em;
    color: var(--tc-ink);
}

.tc-review-lead {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 18px 0 22px;
    color: var(--tc-ink-2);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.85;
}

.tc-review-status-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.tc-review-status,
.tc-review-status-row > span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    color: #8b5d00;
    background: #fff4cf;
    font-size: .85rem;
    font-weight: 900;
}

.tc-review-status.success,
.tc-review-status.done {
    color: var(--tc-teal-dark);
    background: var(--tc-teal-soft);
}

.tc-review-status.warning {
    color: #8b5d00;
    background: #fff4cf;
}

.tc-review-status.danger {
    color: #ad3e32;
    background: #fff0ee;
}

.tc-review-status-row small {
    color: var(--tc-muted);
    font-size: .86rem;
    font-weight: 700;
}

.tc-review-ticket {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 30px;
    border-color: rgba(17, 139, 126, .25);
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 100%, rgba(255,255,255,.12), transparent 42%),
        linear-gradient(145deg, #0f9385 0%, #087267 100%);
    box-shadow: 0 20px 48px rgba(8, 113, 102, .18);
}

.tc-review-ticket-top,
.tc-review-provider-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tc-review-ticket-top span,
.tc-review-provider-line span {
    color: rgba(255,255,255,.76);
    font-size: .8rem;
    font-weight: 800;
}

.tc-review-ticket-top em {
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.14);
    font-size: .76rem;
    font-style: normal;
    font-weight: 900;
}

.tc-review-ticket > strong {
    margin: 26px 0 8px;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(2.35rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.tc-review-ticket > small {
    color: rgba(255,255,255,.78);
    font-weight: 700;
}

.tc-review-provider-line {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.tc-review-provider-line b {
    max-width: 215px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .95rem;
}

.tc-review-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 20px;
}

.tc-review-progress article {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 18px 20px;
    border-right: 1px solid var(--tc-line);
    color: var(--tc-muted);
}

.tc-review-progress article:last-child {
    border-right: 0;
}

.tc-review-progress article span {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #f0ece7;
    font-size: .78rem;
    font-weight: 900;
}

.tc-review-progress article strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .9rem;
}

.tc-review-progress article.done {
    color: var(--tc-teal-dark);
    background: #f0faf8;
}

.tc-review-progress article.done span {
    color: #fff;
    background: var(--tc-teal);
}

.tc-review-progress article.active {
    color: #fff;
    background: var(--tc-teal);
}

.tc-review-progress article.active span {
    color: var(--tc-teal-dark);
    background: #fff;
}

.tc-review-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.tc-review-summary-grid article {
    min-width: 0;
    padding: 18px 20px;
    border-radius: 18px;
}

.tc-review-summary-grid span,
.tc-review-row-list article span,
.tc-review-check-grid article span {
    display: block;
    color: #8b6b4e;
    font-size: .76rem;
    font-weight: 900;
}

.tc-review-summary-grid strong {
    display: block;
    margin: 7px 0 5px;
    overflow: hidden;
    color: var(--tc-ink);
    font-size: 1.02rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-review-summary-grid small,
.tc-review-row-list article small,
.tc-review-check-grid article small {
    display: block;
    color: var(--tc-muted);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.55;
}

.tc-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 20px;
    align-items: start;
}

.tc-review-main,
.tc-review-side {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.tc-review-side {
    position: sticky;
    top: 104px;
}

.tc-review-panel {
    overflow: hidden;
    border-radius: 24px;
}

.tc-review-panel:not(.side) {
    padding: 28px;
}

.section-heading.compact {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.section-heading.compact h2,
.tc-review-submit-head h2 {
    margin: 0;
    color: var(--tc-ink);
    font-family: "Noto Serif TC", serif;
    font-size: 1.65rem;
    letter-spacing: -.03em;
}

.section-heading.compact small {
    display: block;
    max-width: 680px;
    margin-top: 8px;
    color: var(--tc-muted);
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.6;
}

.tc-review-panel-status,
.tc-review-submit-head > span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--tc-teal-dark);
    background: var(--tc-teal-soft);
    font-size: .76rem;
    font-weight: 900;
    white-space: nowrap;
}

.tc-review-inline-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(17, 139, 126, .25);
    border-radius: 12px;
    color: var(--tc-teal-dark);
    background: var(--tc-teal-soft);
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.tc-review-row-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tc-review-row-list article {
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid var(--tc-line);
    border-radius: 16px;
    background: var(--tc-paper-warm);
}

.tc-review-row-list article strong {
    display: block;
    margin: 7px 0 5px;
    color: var(--tc-ink);
    font-size: .96rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.tc-review-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tc-review-photo-grid > article {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--tc-line);
    border-radius: 18px;
    background: var(--tc-paper-warm);
}

.tc-review-photo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.tc-review-photo-head span {
    color: var(--tc-ink);
    font-weight: 900;
}

.tc-review-photo-head b {
    color: var(--tc-muted);
    font-size: .72rem;
    font-weight: 900;
}

.tc-review-photo-preview {
    position: relative;
    display: block;
    overflow: hidden;
    height: 190px;
    border-radius: 14px;
    background: #edf1f1;
}

.tc-review-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-review-photo-preview span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(12, 40, 45, .76);
    font-size: .72rem;
    font-weight: 900;
}

.tc-review-photo-empty,
.tc-review-photo-text {
    display: grid;
    min-height: 120px;
    place-items: center;
    padding: 18px;
    border: 1px dashed var(--tc-line-strong);
    border-radius: 14px;
    text-align: center;
    background: #fff;
}

.tc-review-photo-empty span {
    color: var(--tc-muted);
    font-weight: 900;
}

.tc-review-photo-empty small,
.tc-review-photo-text strong {
    color: var(--tc-muted);
    font-size: .76rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.tc-review-photo-description {
    display: block;
    margin-top: 10px;
    color: var(--tc-muted);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.55;
}

.tc-review-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tc-review-check-grid article {
    position: relative;
    min-width: 0;
    padding: 17px 18px 17px 52px;
    border: 1px solid rgba(17, 139, 126, .18);
    border-radius: 16px;
    background: var(--tc-teal-soft);
}

.tc-review-check-grid article::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 18px;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--tc-teal);
    font-size: .72rem;
    font-weight: 900;
}

.tc-review-check-grid article strong {
    display: block;
    margin: 5px 0;
    color: var(--tc-ink);
    font-size: .92rem;
}

.tc-review-submit-card,
.tc-review-reminder-card {
    padding: 22px;
}

.tc-review-submit-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.tc-review-submit-head.compact {
    margin-bottom: 14px;
}

.tc-review-fieldset {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.tc-review-fieldset legend,
.tc-review-label {
    display: block;
    margin: 0 0 9px;
    color: var(--tc-ink);
    font-size: .82rem;
    font-weight: 900;
}

.tc-review-radio-list {
    display: grid;
    gap: 10px;
}

.tc-review-radio-list label {
    display: block;
    cursor: pointer;
}

.tc-review-radio-list input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tc-review-radio-list label > span {
    position: relative;
    display: block;
    padding: 14px 15px 14px 43px;
    border: 1px solid var(--tc-line);
    border-radius: 14px;
    background: var(--tc-paper-warm);
    transition: .18s ease;
}

.tc-review-radio-list label > span::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 17px;
    width: 16px;
    height: 16px;
    border: 2px solid #b9b4ae;
    border-radius: 50%;
    background: #fff;
}

.tc-review-radio-list label.selected > span {
    border-color: rgba(17, 139, 126, .42);
    background: var(--tc-teal-soft);
    box-shadow: inset 0 0 0 1px rgba(17, 139, 126, .08);
}

.tc-review-radio-list label.selected > span::before {
    border: 5px solid var(--tc-teal);
}

.tc-review-radio-list strong,
.tc-review-radio-list small {
    display: block;
}

.tc-review-radio-list strong {
    color: var(--tc-ink);
    font-size: .88rem;
}

.tc-review-radio-list small {
    margin-top: 4px;
    color: var(--tc-muted);
    font-size: .73rem;
    line-height: 1.5;
}

.tc-review-confirm-fieldset {
    padding: 14px;
    border: 1px solid rgba(17, 139, 126, .16);
    border-radius: 16px;
    background: #f6fbfa;
}

.tc-review-confirm-fieldset legend {
    padding: 0 7px;
}

.tc-review-checkboxes {
    display: grid;
    gap: 8px;
}

.tc-review-checkboxes label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    color: var(--tc-ink-2);
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.tc-review-checkboxes input {
    width: 17px;
    height: 17px;
    accent-color: var(--tc-teal);
}

.tc-review-submit-card select,
.tc-review-submit-card textarea {
    width: 100%;
    border: 1px solid var(--tc-line-strong);
    border-radius: 13px;
    color: var(--tc-ink);
    background: #fff;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.tc-review-submit-card select {
    min-height: 46px;
    padding: 0 13px;
    margin-bottom: 16px;
    font-weight: 800;
}

.tc-review-submit-card textarea {
    min-height: 128px;
    padding: 13px;
    resize: vertical;
    line-height: 1.65;
}

.tc-review-submit-card select:focus,
.tc-review-submit-card textarea:focus {
    border-color: rgba(17, 139, 126, .55);
    box-shadow: 0 0 0 4px rgba(17, 139, 126, .09);
}

.tc-review-note-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tc-review-note-heading span {
    color: var(--tc-muted);
    font-size: .72rem;
    font-weight: 800;
}

.tc-review-form-hint {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    color: #8a5f15;
    background: #fff7df;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.5;
}

.tc-review-form-hint.ready {
    color: var(--tc-teal-dark);
    background: var(--tc-teal-soft);
}

.tc-review-submit-card button[type="submit"] {
    width: 100%;
    min-height: 52px;
    margin-top: 12px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--tc-coral), #f1846e);
    box-shadow: 0 14px 28px rgba(239, 108, 84, .20);
    font-weight: 900;
}

.tc-review-submit-card button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 17px 32px rgba(239, 108, 84, .26);
}

.tc-review-submit-note {
    display: block;
    margin-top: 10px;
    color: var(--tc-muted);
    text-align: center;
    font-size: .7rem;
    line-height: 1.5;
}

.tc-review-finished {
    display: grid;
    justify-items: center;
    padding: 22px 14px;
    text-align: center;
}

.tc-review-finished > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 50%;
    color: #fff;
    background: var(--tc-teal);
    font-weight: 900;
}

.tc-review-finished strong {
    font-size: 1rem;
}

.tc-review-finished p {
    color: var(--tc-muted);
    font-size: .8rem;
    line-height: 1.65;
}

.tc-review-finished a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    color: #fff;
    background: var(--tc-teal);
    font-size: .8rem;
    font-weight: 900;
}

.tc-review-note-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--tc-line);
}

.tc-review-note-card:first-of-type {
    border-top: 0;
}

.tc-review-note-card > span {
    flex: 0 0 74px;
    padding: 6px 8px;
    border-radius: 9px;
    color: var(--tc-coral-dark);
    background: var(--tc-coral-soft);
    text-align: center;
    font-size: .7rem;
    font-weight: 900;
}

.tc-review-note-card div {
    min-width: 0;
}

.tc-review-note-card strong,
.tc-review-note-card small {
    display: block;
}

.tc-review-note-card strong {
    color: var(--tc-ink);
    font-size: .84rem;
}

.tc-review-note-card small {
    margin-top: 4px;
    color: var(--tc-muted);
    font-size: .72rem;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .tc-review-shell {
        width: min(100%, calc(100% - 24px));
    }

    .tc-review-hero {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .tc-review-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }
}

@media (max-width: 980px) {
    .tc-review-hero,
    .tc-review-layout {
        grid-template-columns: 1fr;
    }

    .tc-review-ticket {
        min-height: 230px;
    }

    .tc-review-side {
        position: static;
    }

    .tc-review-submit-card {
        order: -1;
    }

    .tc-review-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .tc-review-shell {
        width: 100%;
        padding-inline: 12px;
    }

    .tc-review-copy,
    .tc-review-ticket,
    .tc-review-panel,
    .tc-review-progress {
        border-radius: 18px;
    }

    .tc-review-copy {
        min-height: auto;
        padding: 24px 20px;
    }

    .tc-review-copy h1 {
        font-size: 2.25rem;
    }

    .tc-review-ticket {
        min-height: 210px;
        padding: 24px;
    }

    .tc-review-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-review-progress article:nth-child(2) {
        border-right: 0;
    }

    .tc-review-progress article:nth-child(-n+2) {
        border-bottom: 1px solid var(--tc-line);
    }

    .tc-review-summary-grid,
    .tc-review-row-list,
    .tc-review-photo-grid,
    .tc-review-check-grid {
        grid-template-columns: 1fr;
    }

    .tc-review-panel:not(.side),
    .tc-review-submit-card,
    .tc-review-reminder-card {
        padding: 20px 16px;
    }

    .section-heading.compact {
        display: block;
    }

    .section-heading.compact > span,
    .tc-review-inline-link {
        margin-top: 12px;
    }
}

@media (max-width: 520px) {
    .tc-review-status-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .tc-review-progress article {
        padding: 14px 12px;
    }

    .tc-review-summary-grid {
        gap: 8px;
    }

    .tc-review-submit-head {
        display: block;
    }

    .tc-review-submit-head > span {
        margin-top: 10px;
    }
}
