/* Reading, creator, status and notice layouts. Shared tokens live in styles.css. */
.td-article .td-article-shell {
    display: block;
    width: min(100% - 40px, 860px);
    margin: 20px auto 64px;
    padding: 0;
}
.td-article .td-article-content {
    display: block;
    min-width: 0;
    padding: clamp(24px, 5vw, 56px);
    background: #fff;
    border: 1px solid var(--td-border, #e6e0df);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(73, 34, 46, .035);
}
.td-article-content .td-article-heading {
    margin: 0 0 36px;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--td-border, #e6e0df);
}
.td-article-content h1 { margin: 0 0 16px; }
.td-article-content h2 {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -.025em;
}
.td-article-content h3 { font-size: 17px; line-height: 1.45; }
.td-article-content p,
.td-article-content li {
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.td-article-content .td-article-heading > p {
    padding: 0;
    border: 0;
    font-size: 16px;
    line-height: 1.7;
}
.td-article-content .td-article-heading > p:first-child:not(:last-child) {
    font-size: 13px;
    letter-spacing: .07em;
    line-height: 1.5;
}
.td-article-content section { scroll-margin-top: 24px; }
.td-article-content .td-article-section {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.td-article-content .td-article-section + .td-article-section { margin-top: 36px; }
.td-article-content section > .bg-surface-container-lowest {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.td-article-content ul { padding-left: 24px; }
.td-article-content li + li { margin-top: 8px; }
.td-article-content .material-symbols-outlined { flex-shrink: 0; }
.td-article-content a:not(.td-btn) {
    color: var(--td-brand, #ba0914);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.td-article-content .td-article-callout {
    padding: 24px;
    background: #fff3f1;
    border: 1px solid #ebd4d3;
    border-radius: 16px;
}
.td-article-callout > .bg-surface-container-lowest {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.td-article-content #prohibited .grid > div {
    background: #faf7f5;
    border: 0;
    border-radius: 10px;
}
.td-article-content #prohibited .grid > div > span:last-child { font-size: 15px; }
.td-article-content #service-description ul { padding-left: 0; }
.td-article-content #service-description li { font-size: 15px; }
.td-creators .td-creators-main,
.td-status .td-status-main { padding-top: 28px; padding-bottom: 64px; }
.td-creators .td-creators-main { max-width: 1000px; }
.td-creators .td-page-intro,
.td-status .td-page-intro { margin-bottom: 32px; }
.td-creators .td-creator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.td-creators .creator-card { height: 100%; text-align: center; }
.td-creators .avatar-ring {
    padding: 4px;
    border: 1px solid #edd4d5;
    border-radius: 50%;
    background: #fff4f3;
}
.td-creators .avatar-ring img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; }
.td-creators .td-avatar-fallback { width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; color: var(--td-brand); font-size: 32px; font-weight: 600; }
.td-creators .creator-card h2 { margin-bottom: 8px; font-size: 22px; }
.td-creators .creator-card > p { max-width: 34ch; margin-bottom: 20px; font-size: 15px; line-height: 1.65; }
.td-creators .td-creator-links { padding-top: 16px; gap: 8px; }
.td-creators .td-creator-links a { width: 44px; height: 44px; border: 1px solid #e6e0df; border-radius: 12px; }
.td-creators .td-creator-links svg { width: 19px; height: 19px; }
.td-creators .td-creator-story { max-width: 760px; margin: 40px auto; }
.td-creators .td-creator-story h2,
.td-creators .td-creator-stack h2 { font-size: 22px; font-weight: 700; }
.td-creators .td-creator-story p { font-size: 16px; line-height: 1.75; }
.td-creators .td-review-invitation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px 28px;
    border: 1px solid #e6e0df;
    border-radius: 18px;
    background: #fff;
}
.td-creators .td-review-invitation h2 { margin-bottom: 4px; font-size: 18px; font-weight: 700; }
.td-creators .td-review-invitation p { font-size: 15px; line-height: 1.6; }
.td-creators .td-review-invitation .td-btn { flex-shrink: 0; }
.td-creators .td-creator-stack > .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.td-creators .td-creator-stack > .grid > div { min-width: 0; padding: 16px; border-radius: 12px; background: #fff; }
.td-creators .td-creator-stack p { overflow-wrap: anywhere; }
.td-status .td-status-main { max-width: 1100px; }
.td-status .td-status-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.td-status .td-status-summary > .td-card { min-width: 0; padding: 20px 12px; }
.td-status .td-status-summary > .td-card > p[id] { min-height: 32px; font-size: 25px; overflow-wrap: anywhere; }
.td-status .td-status-summary > .td-card > p[id].is-unavailable { font-size: 16px; align-items: center; }
.td-status .td-status-summary [class~="text-[10px]"] { font-size: 12px; letter-spacing: .035em; }
.td-status .td-status-main > .td-card { margin-bottom: 24px; }
.td-status .td-status-main h2 { font-size: 20px; }
.td-status #overall-badge { min-height: 44px; border-radius: 999px; }
.td-status .td-status-notice {
    margin: 16px auto 0;
    max-width: 640px;
    padding: 12px 16px;
    border: 1px solid #dcd6df;
    border-radius: 12px;
    background: #f5f1f6;
    color: #62576c;
    font-size: 14px;
    line-height: 1.55;
}
.td-status table { min-width: 580px; }
.td-status th { font-size: 12px; }
.td-status td { vertical-align: middle; }
.td-status #components-list > div { gap: 16px; }
.td-status #components-list > div > div { min-width: 0; flex-wrap: wrap; }
.td-status #incidents-list .flex-grow { min-width: 0; }
.td-status #incidents-list h3 { overflow-wrap: anywhere; }
.td-status .td-status-history-help { flex-wrap: wrap; gap: 12px; line-height: 1.5; }
.td-status .progress-bar { transition: width .2s ease; }
.td-status .uptime-tooltip { border: 1px solid #e6e0df; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 12px 36px rgba(36, 33, 38, .16); }
.td-status .uptime-tooltip.is-visible { animation: none; }
.td-notice { padding: 24px; align-items: center; justify-content: center; }
.td-notice .td-notice-card { width: min(100%, 580px); margin: auto; padding: 36px; }
.td-notice .td-notice-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.td-notice .td-notice-brand > span { color: #625d65; font-size: 13px; font-weight: 600; }
.td-notice .td-notice-card h1 { margin-bottom: 16px; }
.td-notice .td-notice-card p { color: #625d65; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.td-notice .td-notice-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.td-notice .td-notice-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e6e0df; font-size: 14px !important; }
@media (max-width: 760px) {
    .td-status .td-status-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .td-status .td-status-summary > :last-child { grid-column: 1 / -1; }
    .td-status .td-status-main > .td-card { padding: 20px; }
    .td-status table { min-width: 0; }
    .td-status #region-table td { padding-right: 8px; }
    .td-creators .td-creator-stack > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .td-creators .td-review-invitation { align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px; }
    .td-creators .td-creator-grid { grid-template-columns: 1fr; }
    .td-article .td-article-shell { width: min(100% - 24px, 860px); margin: 12px auto 40px; }
    .td-article .td-article-content { padding: 24px 20px; border-radius: 18px; }
    .td-article-content .td-article-heading { margin-bottom: 28px; padding-bottom: 24px; }
    .td-article-content h2 { font-size: 20px; }
    .td-article-content .td-article-callout { padding: 20px 16px; }
    .td-notice { padding: 16px; }
    .td-notice .td-notice-card { padding: 24px; }
    .td-notice .td-notice-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .td-status .animate-pulse,
    .td-status .pulse-dot { animation: none; }
    .td-status .progress-bar { transition: none; }
}
