/* Trend Nalla public design foundation. Authored 2026-11-02.
 * Full replacement: PHP/JS state contracts preserved; page layers load afterward. */
body.tn-theme {
 --tn-canvas:#f7f7f2;--tn-surface:#ffffff;--tn-ink:#17251f;--tn-blue:#2459ef;--tn-lime:#c8f36a;--tn-muted:#53615a;--tn-line:#d8ded6;
 --tn-soft:#edf0e8;--tn-blue-soft:#edf1ff;--tn-danger:#9b2f27;--tn-success:#235b38;--tn-warning:#765316;--tn-radius:6px;--tn-ease:cubic-bezier(.2,.8,.2,1);
 --tn-bg:var(--tn-canvas);--tn-surface-soft:var(--tn-soft);--tn-text:var(--tn-ink);--tn-primary:var(--tn-blue);--tn-primary-dark:#1744c5;--tn-accent:var(--tn-lime);--tn-border:var(--tn-line);
 --tn-ui-primary:var(--tn-blue);--tn-ui-primary-dark:#1744c5;--tn-ui-ink:var(--tn-ink);--tn-ui-muted:var(--tn-muted);--tn-ui-line:var(--tn-line);--tn-ui-canvas:var(--tn-canvas);--tn-ui-surface:var(--tn-surface);--tn-ui-soft:var(--tn-soft);--tn-ui-selected:var(--tn-blue-soft);--tn-ui-radius:var(--tn-radius);--tn-ui-shadow:none;
 margin:0;min-width:0;min-height:100vh;background:var(--tn-canvas);color:var(--tn-ink);font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;font-weight:400;line-height:1.65;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility;
}
body.tn-theme *,body.tn-theme *::before,body.tn-theme *::after {box-sizing:border-box}
body.tn-theme :where(h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd) {margin:0}
body.tn-theme :where(h1,h2,h3,h4,h5,h6) {font-weight:600;line-height:1.25;letter-spacing:-.035em;overflow-wrap:anywhere}
body.tn-theme :where(h1) {font-size:clamp(36px,4.2vw,64px)}
body.tn-theme :where(h2) {font-size:clamp(26px,2.6vw,38px)}
body.tn-theme :where(h3) {font-size:22px}
body.tn-theme :where(h4,h5,h6) {font-size:18px}
body.tn-theme :where(strong,b) {font-weight:600}
body.tn-theme :where(p) {color:var(--tn-muted);overflow-wrap:anywhere}
body.tn-theme :where(small) {font-size:12px;line-height:1.55}
body.tn-theme :where(a) {color:var(--tn-blue);text-underline-offset:4px;text-decoration-thickness:1px}
body.tn-theme :where(a:hover) {text-decoration-thickness:2px}
body.tn-theme :where(img,video,canvas,iframe) {max-width:100%}
body.tn-theme :where(img,video) {height:auto;vertical-align:middle}
body.tn-theme :where(svg) {max-width:100%;vertical-align:middle}
body.tn-theme :where(hr) {margin:28px 0;border:0;border-top:1px solid var(--tn-line)}
body.tn-theme :where(ul,ol) {padding-inline-start:24px}
body.tn-theme :where(pre) {overflow:auto;max-width:100%;padding:20px;background:var(--tn-ink);color:var(--tn-canvas);font-size:13px;border-radius:4px}
body.tn-theme :where(code) {font-size:.92em;overflow-wrap:anywhere}
body.tn-theme ::selection {background:var(--tn-lime);color:var(--tn-ink)}
body.tn-theme :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {outline:3px solid var(--tn-blue);outline-offset:4px}
body.tn-theme [hidden],body.tn-theme input[type="hidden"] {display:none!important}
body.tn-theme .screen-reader-text {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
body.tn-theme .screen-reader-text:focus {position:fixed;z-index:100000;inset:12px auto auto 12px;width:auto;height:auto;margin:0;padding:14px 20px;clip:auto;clip-path:none;background:var(--tn-ink);color:#fff;border-radius:4px}
body.tn-theme :where(.tn-shell) {width:min(1400px,calc(100% - 80px));margin-inline:auto}
body.tn-theme :where(.tn-content-wrap,.tn-account-wrap) {width:min(1280px,calc(100% - 80px));margin-inline:auto;padding-block:56px 80px}
body.tn-theme :where(.tn-content-wrap--wide,.tn-workspace-page) {width:min(1400px,calc(100% - 80px))}
body.tn-theme :where(main,section,article,aside,header,footer,nav,form) {min-width:0}
body.tn-theme :where(.tn-section) {padding-block:64px}
body.tn-theme :where(.tn-section-head,.tn-panel-head) {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
body.tn-theme :where(.tn-section-head p,.tn-panel-head p) {margin-top:10px}
body.tn-theme :where(.tn-eyebrow,.tn-section-kicker,.tn-panel-kicker,.tn-mypage-kicker) {display:inline-block;margin-bottom:16px;color:var(--tn-muted);font-size:12px;font-weight:600;letter-spacing:.08em;line-height:1.5}
body.tn-theme :where([id]) {scroll-margin-top:108px}
/* Controls. Native state and form ownership are preserved. */
body.tn-theme :where(button,input,select,textarea) {font:inherit;color:inherit}
body.tn-theme :where(button,[type="button"],[type="submit"],[type="reset"]) {min-height:44px;padding:10px 16px;border:1px solid var(--tn-line);border-radius:4px;background:var(--tn-surface);color:var(--tn-ink);font-size:14px;font-weight:600;line-height:1.45;cursor:pointer}
body.tn-theme :where(.tn-btn,.tn-library-action,.tn-workspace-action) {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;border:1px solid var(--tn-line);border-radius:4px;background:var(--tn-surface);color:var(--tn-ink);font-size:14px;font-weight:600;line-height:1.45;text-align:center;text-decoration:none;white-space:normal;cursor:pointer}
body.tn-theme :where(.tn-btn-primary,.tn-library-action--primary) {border-color:var(--tn-blue);background:var(--tn-blue);color:#fff}
body.tn-theme :where(.tn-btn-danger,.tn-library-action--danger,.tn-workspace-action.is-danger) {border-color:#e6c7c0;background:#fff8f5;color:var(--tn-danger)}
body.tn-theme :where(.tn-btn-ghost) {border-color:transparent;background:transparent}
body.tn-theme :where(.tn-btn-sm) {padding-inline:12px;font-size:13px}
body.tn-theme :where(button:disabled,input:disabled,select:disabled,textarea:disabled,[aria-disabled="true"]) {cursor:not-allowed}
body.tn-theme :where(button:disabled,.tn-btn[aria-disabled="true"],.tn-library-action:disabled,.tn-workspace-action:disabled) {background:var(--tn-soft);border-color:var(--tn-line);color:#69766d}
body.tn-theme :where([aria-busy="true"]) {cursor:progress}
body.tn-theme :where(label) {display:grid;gap:8px;font-size:14px;font-weight:600;line-height:1.5}
body.tn-theme :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),select,textarea) {display:block;width:100%;min-width:0;min-height:50px;padding:12px 14px;border:1px solid var(--tn-line);border-bottom-color:#8d9b90;border-radius:4px;background:var(--tn-surface);color:var(--tn-ink);font-size:16px;font-weight:400;line-height:1.45}
body.tn-theme :where(textarea) {min-height:132px;resize:vertical}
body.tn-theme :where(input,textarea)::placeholder {color:#647269;opacity:1}
body.tn-theme :where(input:focus,select:focus,textarea:focus) {border-color:var(--tn-blue)}
body.tn-theme :where(input[readonly],textarea[readonly],input:disabled,select:disabled,textarea:disabled) {background:var(--tn-soft);color:var(--tn-muted)}
body.tn-theme :where(input[aria-invalid="true"],select[aria-invalid="true"],textarea[aria-invalid="true"]) {border-color:var(--tn-danger)}
body.tn-theme :where(input[type="checkbox"],input[type="radio"]) {width:20px;height:20px;min-height:20px;margin:0;flex:0 0 20px;accent-color:var(--tn-blue)}
body.tn-theme :where(input[type="range"]) {width:100%;min-height:44px;accent-color:var(--tn-blue)}
body.tn-theme :where(input[type="file"]) {font-size:16px}
body.tn-theme :where(input[type="file"])::file-selector-button {min-height:36px;margin-right:12px;padding:6px 12px;border:0;border-radius:3px;background:var(--tn-ink);color:#fff;font:inherit;cursor:pointer}
body.tn-theme :where(fieldset) {min-width:0;margin:0;padding:20px;border:1px solid var(--tn-line)}
body.tn-theme :where(legend) {padding-inline:8px;font-weight:600}
body.tn-theme :where(.tn-auth-check,.tn-alert-consent,.tn-history-select) {display:flex;align-items:center;gap:10px;min-height:44px;font-weight:400}
/* Masthead: lime sign and ruled navigation. */
body.tn-theme .tn-site-header {position:sticky;top:0;z-index:50;background:var(--tn-surface);border-bottom:1px solid var(--tn-ink)}
body.tn-theme.admin-bar .tn-site-header {top:32px}
body.tn-theme .tn-header-row {display:flex;align-items:center;gap:24px;min-height:84px}
body.tn-theme .tn-brand {display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;color:var(--tn-ink);font-size:21px;font-weight:600;letter-spacing:-.065em;line-height:1;text-decoration:none;white-space:nowrap}
body.tn-theme .tn-brand-mark {display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--tn-ink);background:var(--tn-lime);color:var(--tn-ink);font-size:15px;font-weight:600;letter-spacing:-.06em;transform:rotate(-5deg)}
body.tn-theme .tn-nav {margin-inline:auto;min-width:0}
body.tn-theme .tn-nav .menu {display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0}
body.tn-theme .tn-nav .menu>li {margin:0;padding:0}
body.tn-theme .tn-nav a {position:relative;display:flex;align-items:center;min-height:48px;padding-block:10px;color:var(--tn-ink);font-size:16px;font-weight:600;white-space:nowrap;text-decoration:none}
body.tn-theme .tn-nav a::after {content:"";position:absolute;inset:auto 0 3px;height:3px;background:var(--tn-blue);transform:scaleX(0);transform-origin:left}
body.tn-theme .tn-nav :is(a:hover,a:focus-visible,.current-menu-item>a,.current-menu-ancestor>a,[aria-current="page"])::after {transform:scaleX(1)}
body.tn-theme .tn-nav-actions {display:flex;align-items:center;gap:6px;flex:0 0 auto}
body.tn-theme .tn-nav-actions .tn-btn {min-height:44px;padding:10px 11px;font-size:14px}
body.tn-theme .tn-nav-actions .tn-btn:not(.tn-btn-primary) {border-color:transparent;background:transparent}
body.tn-theme .tn-nav-actions .tn-btn-primary {padding-inline:16px}
body.tn-theme .tn-menu-toggle {display:none;flex:0 0 44px;width:44px;padding:10px;border-color:var(--tn-ink);background:transparent}
body.tn-theme .tn-menu-toggle span {display:block;width:20px;height:2px;background:var(--tn-ink)}
body.tn-theme .tn-menu-toggle[aria-expanded="true"] span:nth-child(1) {transform:translateY(6px) rotate(45deg)}
body.tn-theme .tn-menu-toggle[aria-expanded="true"] span:nth-child(2) {visibility:hidden}
body.tn-theme .tn-menu-toggle[aria-expanded="true"] span:nth-child(3) {transform:translateY(-6px) rotate(-45deg)}
body.tn-theme .tn-mobile-nav {display:none}
body.tn-theme .tn-mobile-nav__divider {height:1px;background:var(--tn-line);margin-block:8px}
body.tn-theme .tn-site-header[data-tn-scrolled="true"] {border-bottom-color:var(--tn-line);background:var(--tn-surface)}
/* Footer. */
body.tn-theme .tn-site-footer {margin-top:0;padding:64px 0 24px;background:var(--tn-ink);color:var(--tn-canvas)}
body.tn-theme .tn-footer-grid {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:80px;align-items:start}
body.tn-theme .tn-footer-brand {color:var(--tn-lime);font-size:clamp(32px,4.7vw,68px);font-weight:600;line-height:1;letter-spacing:-.07em}
body.tn-theme .tn-footer-copy {max-width:580px;margin-top:24px;color:#c8d1c8;font-size:15px;line-height:1.85}
body.tn-theme .tn-policy-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;align-content:start}
body.tn-theme .tn-policy-links a {display:flex;align-items:center;min-height:48px;border-bottom:1px solid #435248;color:var(--tn-canvas);font-size:14px;text-decoration:none;overflow-wrap:anywhere}
body.tn-theme .tn-policy-links a:hover {color:var(--tn-lime)}
body.tn-theme .tn-footer-bottom {display:flex;justify-content:space-between;gap:20px;margin-top:56px;padding-top:22px;border-top:1px solid #435248;color:#bcc8bd;font-size:12px}
body.tn-theme .tn-site-footer :is(a,button):focus-visible {outline-color:var(--tn-lime)}
/* Reading surfaces, notices and empty states. */
body.tn-theme :where(.tn-empty,.tn-library-empty,.tn-library-filter-empty,.tn-workspace-empty) {padding:32px;border:1px dashed #a8b5a9;background:var(--tn-surface);color:var(--tn-muted);line-height:1.8}
body.tn-theme :where(.tn-empty) .tn-btn {margin-top:18px}
body.tn-theme :where(.tn-notice,.tn-auth-notice,.tn-member-message,.tn-library-message,.tn-workspace-message) {margin-block:16px;padding:16px 20px;border:1px solid var(--tn-line);border-left:4px solid var(--tn-blue);background:var(--tn-blue-soft);color:var(--tn-ink);font-size:14px;overflow-wrap:anywhere}
body.tn-theme :where(.tn-notice,.tn-auth-notice,.tn-member-message,.tn-library-message,.tn-workspace-message)[data-kind="error"] {border-color:#e5c5ba;border-left-color:var(--tn-danger);background:#fff3ee;color:var(--tn-danger)}
body.tn-theme :where(.tn-notice,.tn-auth-notice,.tn-member-message,.tn-library-message,.tn-workspace-message)[data-kind="success"] {border-color:#cadcbd;border-left-color:var(--tn-success);background:#edf6e8;color:var(--tn-success)}
body.tn-theme :where(.tn-notice)[data-kind="warning"] {border-color:#e7d6ac;border-left-color:var(--tn-warning);background:#fff7e5;color:var(--tn-warning)}
body.tn-theme :where(.tn-panel,.tn-principle) {padding:28px;border-top:2px solid var(--tn-ink);background:var(--tn-surface)}
body.tn-theme :where(.tn-principles) {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.tn-theme :where(details) {min-width:0}
body.tn-theme :where(summary) {min-height:44px;padding-block:10px;font-weight:600;cursor:pointer}
body.tn-theme :where(details[open]>summary) {margin-bottom:10px}
body.tn-theme :where(table) {width:100%;border-collapse:collapse;font-size:14px;text-align:left;font-variant-numeric:tabular-nums}
body.tn-theme :where(caption) {padding:14px 0;text-align:left;color:var(--tn-muted)}
body.tn-theme :where(th,td) {padding:14px 16px;border-bottom:1px solid var(--tn-line);vertical-align:top;overflow-wrap:anywhere}
body.tn-theme :where(th) {background:var(--tn-soft);color:var(--tn-ink);font-weight:600}
body.tn-theme :where(.tn-table-wrap,.tn-table-scroll,.wp-block-table) {max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
body.tn-theme :where(.tn-entry-content) {max-width:900px;margin-inline:auto;line-height:1.9}
body.tn-theme :where(.tn-entry-content)>*+* {margin-top:24px}
body.tn-theme :where(.tn-entry-content h2,.tn-entry-content h3) {margin-top:42px}
body.tn-theme :where(.tn-entry-content blockquote) {padding:16px 24px;border-left:4px solid var(--tn-blue);background:var(--tn-surface)}
body.tn-theme :where(.tn-entry-content img) {height:auto}
body.tn-theme :where(.tn-webzine-grid) {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
body.tn-theme :where(.tn-post-card) {min-width:0;border-top:1px solid var(--tn-ink);background:transparent}
body.tn-theme :where(.tn-post-card>a) {display:block;height:100%;color:var(--tn-ink);text-decoration:none}
body.tn-theme :where(.tn-post-card-media) {aspect-ratio:16/10;overflow:hidden;margin-top:16px;background:var(--tn-soft)}
body.tn-theme :where(.tn-post-card-media img) {width:100%;height:100%;object-fit:cover}
body.tn-theme :where(.tn-post-card-body) {padding:20px 0}
body.tn-theme :where(.tn-post-meta) {margin-bottom:10px;color:var(--tn-muted);font-size:12px}
body.tn-theme :where(.tn-post-card-body h3) {font-size:23px;line-height:1.4}
body.tn-theme :where(.tn-post-card-body p) {margin-top:12px;font-size:14px}
/* Account entry. */
body.tn-theme .tn-auth-shell {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:80px;width:min(1080px,calc(100% - 80px));margin-inline:auto;padding-block:72px 96px;align-items:start}
body.tn-theme .tn-auth-brand {padding-top:24px}
body.tn-theme .tn-auth-brand h1 {font-size:clamp(48px,5.2vw,76px);line-height:1.1;letter-spacing:-.06em}
body.tn-theme .tn-auth-brand>p {max-width:420px;margin-top:24px;font-size:18px;line-height:1.8}
body.tn-theme .tn-auth-signal-row {display:grid;grid-template-columns:1fr;gap:0;margin-top:40px;padding-top:8px;border-top:2px solid var(--tn-ink)}
body.tn-theme .tn-auth-signal-row>span {display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:15px;border-bottom:1px solid var(--tn-line)}
body.tn-theme .tn-auth-signal-row b {font-size:13px;font-weight:600;letter-spacing:.04em}
body.tn-theme .tn-auth-signal-row small {font-size:13px;color:var(--tn-muted)}
body.tn-theme .tn-auth-signal-row>i {display:none}
body.tn-theme .tn-auth-card {padding:36px;border:1px solid var(--tn-line);border-top:5px solid var(--tn-blue);border-radius:0 0 6px 6px;background:var(--tn-surface)}
body.tn-theme .tn-auth-form {display:grid;gap:22px}
body.tn-theme .tn-auth-form>label {font-size:15px}
body.tn-theme .tn-auth-check {align-items:flex-start;padding-block:4px}
body.tn-theme .tn-auth-check input {margin-top:2px}
body.tn-theme .tn-auth-check span {font-size:14px;line-height:1.65;color:var(--tn-muted)}
body.tn-theme .tn-auth-card .tn-btn {width:100%;min-height:54px;font-size:16px}
body.tn-theme .tn-auth-links {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;margin-top:26px;padding-top:18px;border-top:1px solid var(--tn-line);font-size:14px}
body.tn-theme .tn-auth-links a {display:inline-flex;align-items:center;min-height:44px;color:var(--tn-ink)}
/* Member dashboard. */
body.tn-theme .tn-mypage-head {display:flex;align-items:flex-start;justify-content:space-between;gap:32px;padding-bottom:36px;border-bottom:2px solid var(--tn-ink)}
body.tn-theme .tn-mypage-head h1 {max-width:950px;font-size:clamp(36px,4vw,58px)}
body.tn-theme .tn-mypage-head p {max-width:850px;margin-top:18px;font-size:17px}
body.tn-theme .tn-mypage-head>.tn-btn {flex:0 0 auto;margin-top:26px}
body.tn-theme .tn-member-motion-bar {display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:12px;border-bottom:1px solid var(--tn-line);font-size:12px;letter-spacing:.06em}
body.tn-theme .tn-member-motion-bar b {margin-inline:8px;color:var(--tn-blue)}
body.tn-theme .tn-mypage-layout {display:grid;grid-template-columns:184px minmax(0,1fr);gap:48px;margin-top:40px}
body.tn-theme .tn-mypage-nav {display:grid;align-content:start;gap:2px;position:sticky;top:112px;align-self:start}
body.tn-theme .tn-mypage-nav a {display:flex;align-items:center;min-height:48px;padding:12px 14px;border-left:3px solid transparent;color:var(--tn-muted);font-size:14px;font-weight:600;text-decoration:none}
body.tn-theme .tn-mypage-nav a:is(:hover,:focus-visible,[aria-current],.is-active) {border-left-color:var(--tn-blue);background:var(--tn-blue-soft);color:var(--tn-blue)}
body.tn-theme .tn-mypage-main {min-width:0}

body.tn-theme .tn-mypage-section {padding:30px 0 42px;border-bottom:1px solid var(--tn-line)}
body.tn-theme .tn-mypage-section:first-of-type {padding-top:0}
body.tn-theme .tn-mypage-section h2 {font-size:32px}
body.tn-theme .tn-mypage-section>p {margin-top:10px;font-size:15px}
body.tn-theme .tn-dashboard-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:26px;border-block:1px solid var(--tn-ink);background:var(--tn-surface)}
body.tn-theme .tn-dashboard-card {min-width:0;padding:22px 18px;border-bottom:1px solid var(--tn-line);border-right:1px solid var(--tn-line)}
body.tn-theme .tn-dashboard-card:nth-child(4n) {border-right:0}
body.tn-theme .tn-dashboard-card span {display:block;color:var(--tn-muted);font-size:13px}
body.tn-theme .tn-dashboard-card strong {display:block;margin-top:14px;color:var(--tn-ink);font-size:32px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.tn-theme .tn-dashboard-card:first-child {background:var(--tn-lime)}
body.tn-theme .tn-account-split {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin-top:28px}
body.tn-theme .tn-account-split>div,body.tn-theme .tn-account-form {min-width:0}
body.tn-theme .tn-account-split h3 {padding-bottom:14px;border-bottom:1px solid var(--tn-ink);font-size:20px}
body.tn-theme .tn-account-split h3 span {margin-left:8px;color:var(--tn-blue);font-size:16px}
body.tn-theme .tn-account-form {padding:24px;background:var(--tn-surface);border:1px solid var(--tn-line)}
body.tn-theme .tn-plan-card {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:28px;border:1px solid var(--tn-ink);background:var(--tn-surface)}
body.tn-theme .tn-plan-card h3 {margin-block:12px 8px;font-size:26px}
body.tn-theme .tn-plan-card p {max-width:680px;font-size:14px}
body.tn-theme :is(.tn-plan-badge,.tn-account-state,.tn-workspace-badge,.tn-library-role) {display:inline-flex;align-items:center;min-height:26px;padding:3px 8px;border:1px solid var(--tn-line);border-radius:3px;background:var(--tn-soft);color:var(--tn-ink);font-size:12px;font-weight:600;line-height:1.4}
body.tn-theme .tn-plan-badge {border-color:var(--tn-ink);background:var(--tn-lime)}
body.tn-theme .tn-plan-checkout-actions {display:flex;flex-wrap:wrap;gap:10px;flex:0 0 auto}
body.tn-theme :is(.tn-capability-grid,.tn-quick-grid) {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
body.tn-theme :is(.tn-capability,.tn-quick-link) {min-width:0;padding:20px 0;border-top:1px solid var(--tn-line);font-size:14px}
body.tn-theme .tn-quick-link {display:grid;gap:10px;align-content:start;color:var(--tn-ink);text-decoration:none}
body.tn-theme a.tn-quick-link:hover {border-top-color:var(--tn-blue);color:var(--tn-blue)}
body.tn-theme .tn-quick-link strong {font-size:18px}
body.tn-theme .tn-quick-link span {color:var(--tn-muted);font-size:14px}
body.tn-theme .tn-account-fineprint {margin-top:16px;font-size:13px}
body.tn-theme .tn-account-security {margin-top:26px;padding:20px;border-left:3px solid var(--tn-ink);background:var(--tn-soft)}
body.tn-theme .tn-account-security p {margin-top:6px;font-size:13px}
/* Saved work. */
body.tn-theme .tn-library-hero {margin-bottom:36px;padding-bottom:28px;border-bottom:2px solid var(--tn-ink)}
body.tn-theme .tn-library-hero h1 {font-size:clamp(36px,4vw,58px)}
body.tn-theme .tn-library-hero>p {max-width:850px;margin-top:18px;font-size:17px}
body.tn-theme .tn-library {display:grid;gap:28px}
body.tn-theme .tn-library-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 32px}
body.tn-theme .tn-library-panel {min-width:0;padding-top:24px;border-top:2px solid var(--tn-ink)}
body.tn-theme .tn-library-panel h2 {font-size:26px}
body.tn-theme .tn-library-panel>p {margin-block:12px 24px;font-size:14px}
body.tn-theme .tn-save-flow {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-block:24px;border-block:1px solid var(--tn-line)}
body.tn-theme .tn-save-flow>span {display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:18px 14px;border-right:1px solid var(--tn-line)}
body.tn-theme .tn-save-flow>span:last-child {border-right:0}
body.tn-theme .tn-save-flow b {grid-row:span 2;color:var(--tn-blue);font-size:18px}
body.tn-theme .tn-save-flow strong {font-size:14px}
body.tn-theme .tn-save-flow small {font-size:12px;color:var(--tn-muted)}
body.tn-theme .tn-library-list {display:grid;gap:0;margin-top:16px}
body.tn-theme .tn-library-item {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0;padding:22px 16px;border-bottom:1px solid var(--tn-line);background:var(--tn-surface)}
body.tn-theme .tn-library-item>div:first-child {min-width:0;flex:1 1 auto}
body.tn-theme .tn-library-item :is(h3,h4,strong) {overflow-wrap:anywhere}
body.tn-theme .tn-library-item>div:first-child>strong {display:block;margin-block:8px;font-size:20px}
body.tn-theme .tn-library-item :is(p,small) {font-size:13px;color:var(--tn-muted)}
body.tn-theme .tn-library-item[data-library-kind="analysis"] {display:block;border-left:3px solid var(--tn-blue)}
body.tn-theme .tn-library-actions {display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}
body.tn-theme .tn-library-item[data-library-kind="analysis"]>.tn-library-actions {margin-top:18px}
body.tn-theme .tn-library-action {padding-inline:12px;font-size:13px}
body.tn-theme :is(.tn-library-context,.tn-library-snapshot,.tn-library-saved-channels>div,.tn-library-project-linked>div) {display:flex;flex-wrap:wrap;gap:8px;margin-block:10px}
body.tn-theme :is(.tn-library-context span,.tn-library-snapshot>span,.tn-library-saved-channels>div>span) {padding:4px 8px;background:var(--tn-soft);color:var(--tn-muted);font-size:12px}
body.tn-theme .tn-library-revisit-note {margin-top:12px;font-size:13px}
body.tn-theme :is(.tn-library-form,.tn-alert-form) {display:grid;gap:14px;padding-block:20px}
body.tn-theme .tn-library-form>label:has(input[type="checkbox"]) {display:flex;align-items:flex-start;gap:10px;min-height:44px;font-weight:400}
body.tn-theme .tn-library-project-link {margin-top:18px;padding:18px;background:var(--tn-soft);border-left:3px solid var(--tn-line)}
body.tn-theme .tn-library-project-link__label {display:block;font-size:14px;font-weight:600}
body.tn-theme .tn-library-project-link__note {display:block;margin-top:6px;color:var(--tn-muted);font-size:12px}
body.tn-theme .tn-library-project-link__row {display:flex;align-items:center;gap:10px;margin-top:12px}
body.tn-theme .tn-library-project-link__row select {flex:1 1 0%;min-width:0}
body.tn-theme .tn-library-project-link[data-project-link-state="error"] {border-left-color:var(--tn-danger)}
body.tn-theme .tn-library-project-linked {margin-top:14px}
body.tn-theme .tn-library-linked-project {display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--tn-line);background:var(--tn-surface);font-size:13px;text-decoration:none}
body.tn-theme .tn-library-linked-project[data-project-status="archived"] {background:var(--tn-soft);color:var(--tn-muted)}
body.tn-theme .tn-library-stored-evidence {margin-top:18px;border-block:1px solid var(--tn-line)}
body.tn-theme .tn-library-stored-evidence>summary {font-size:14px}
body.tn-theme .tn-library-stored-evidence__body {padding:0 0 18px;font-size:13px}
body.tn-theme .tn-library-stored-evidence__body ul {margin-block:10px}
body.tn-theme .tn-library-recovery {padding:20px;border-left:4px solid var(--tn-warning);background:#fff7e5}
body.tn-theme .tn-library-recovery p {margin-bottom:12px}
body.tn-theme .tn-library-browser {display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.6fr) auto;align-items:end;gap:12px;margin-block:18px;padding:16px;background:var(--tn-soft)}
body.tn-theme .tn-library-browser__count {grid-column:1/-1;font-size:12px;color:var(--tn-muted)}
/* Project workspace. */
body.tn-theme .tn-workspace-hero {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:26px;margin-bottom:32px;padding-bottom:32px;border-bottom:2px solid var(--tn-ink)}
body.tn-theme .tn-project-studio-orbit {display:none}
body.tn-theme .tn-workspace-hero-copy h1 {font-size:clamp(32px,3.7vw,52px);line-height:1.24}
body.tn-theme .tn-workspace-hero-copy p {max-width:850px;margin-top:18px;font-size:16px}
body.tn-theme .tn-project-studio-controls {display:flex;align-items:flex-end;flex-direction:column;justify-content:flex-start;gap:12px;padding-top:12px}
body.tn-theme .tn-project-studio-controls>span {font-size:12px;color:var(--tn-muted)}
body.tn-theme .tn-workspace-flow {grid-column:1/-1;display:flex;align-items:stretch;border-top:1px solid var(--tn-line);padding-top:20px}
body.tn-theme .tn-workspace-flow>span {display:grid;grid-template-columns:auto 1fr;gap:4px 10px;flex:1 1 0%;min-width:0;padding:10px 14px}
body.tn-theme .tn-workspace-flow b {grid-row:span 2;color:var(--tn-blue);font-size:18px}
body.tn-theme .tn-workspace-flow strong {font-size:13px;letter-spacing:.02em}
body.tn-theme .tn-workspace-flow small {font-size:12px;color:var(--tn-muted)}
body.tn-theme .tn-workspace-flow>i {flex:0 0 1px;background:var(--tn-line)}
body.tn-theme .tn-workspace-layout {display:grid;grid-template-columns:264px minmax(0,1fr);align-items:start;gap:0;border:1px solid var(--tn-line);background:var(--tn-surface)}
body.tn-theme .tn-workspace-sidebar {min-width:0;padding:24px 20px;background:var(--tn-soft)}
body.tn-theme .tn-workspace-sidebar-head {display:grid;gap:18px;padding-bottom:20px;border-bottom:1px solid #bfc9bd}
body.tn-theme .tn-workspace-sidebar-head h2 {font-size:24px}
body.tn-theme .tn-workspace-sidebar-head p {margin-top:6px;font-size:13px}
body.tn-theme .tn-project-list {display:grid;gap:0;margin-top:12px}
body.tn-theme .tn-project-list button {width:100%;padding:16px 12px;text-align:left;border:0;border-bottom:1px solid #cbd4c7;border-left:3px solid transparent;border-radius:0;background:transparent}
body.tn-theme .tn-project-list button.is-active {border-left-color:var(--tn-blue);background:var(--tn-surface)}
body.tn-theme .tn-project-list :is(strong,span) {display:block;overflow-wrap:anywhere}
body.tn-theme .tn-project-list strong {font-size:15px}
body.tn-theme .tn-project-list span {margin-top:5px;color:var(--tn-muted);font-size:12px;font-weight:400}
body.tn-theme .tn-workspace-main {min-width:0;padding:28px;border-left:1px solid var(--tn-line)}
body.tn-theme .tn-workspace-empty {padding:48px 28px;text-align:left}
body.tn-theme .tn-workspace-empty h2 {margin-bottom:12px;font-size:30px}
body.tn-theme .tn-project-summary {display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:24px}
body.tn-theme .tn-project-summary h2 {margin-block:12px;font-size:34px}
body.tn-theme .tn-project-summary p {font-size:14px}
body.tn-theme .tn-project-actions {display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}
body.tn-theme .tn-project-actions .tn-btn {padding-inline:12px;font-size:13px}
body.tn-theme .tn-project-archived-note {margin-top:16px;padding:12px;border-left:3px solid var(--tn-warning);background:#fff7e5}
body.tn-theme .tn-workspace-badge.is-archived {border-color:#dcca9f;background:#fff7e5;color:var(--tn-warning)}
body.tn-theme .tn-workspace-tabs {display:flex;gap:0;overflow-x:auto;max-width:100%;margin-bottom:28px;border-bottom:1px solid var(--tn-ink);overscroll-behavior-inline:contain}
body.tn-theme .tn-workspace-tabs button {flex:0 0 auto;min-height:50px;padding:13px 16px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--tn-muted);font-size:14px;white-space:nowrap}
body.tn-theme .tn-workspace-tabs button:is(.is-active,[aria-selected="true"]) {border-bottom-color:var(--tn-blue);color:var(--tn-blue)}
body.tn-theme .tn-workspace-panel {min-width:0}
body.tn-theme .tn-panel-head {align-items:flex-start;margin-bottom:22px}
body.tn-theme .tn-panel-head h3 {font-size:25px}
body.tn-theme .tn-panel-head p {font-size:14px}
body.tn-theme :is(.tn-inline-form,.tn-filter-form) {display:grid;align-items:end;gap:14px;margin-bottom:24px;padding:20px;background:var(--tn-soft)}
body.tn-theme .tn-inline-form {grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,1fr) auto}
body.tn-theme .tn-compare-form {grid-template-columns:minmax(0,1fr) auto}
body.tn-theme .tn-filter-form {grid-template-columns:repeat(3,minmax(0,1fr))}
body.tn-theme .tn-workspace-field {min-width:0;font-size:13px}
body.tn-theme .tn-workspace-list {display:grid;gap:0}
body.tn-theme .tn-workspace-card {min-width:0;padding:22px 0;border-bottom:1px solid var(--tn-line)}
body.tn-theme .tn-workspace-card strong {font-size:18px;overflow-wrap:anywhere}
body.tn-theme .tn-workspace-card-meta {display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:13px;color:var(--tn-muted)}
body.tn-theme .tn-workspace-card-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
body.tn-theme .tn-workspace-action {font-size:13px;padding-inline:12px}
body.tn-theme .tn-workspace-card--deep-link {outline:2px solid var(--tn-blue);outline-offset:4px;padding-inline:16px;background:var(--tn-blue-soft)}
body.tn-theme .tn-workspace-card__deep-link-label {display:block;margin-bottom:12px;color:var(--tn-blue);font-size:12px;font-weight:600}
body.tn-theme :is(.tn-compare-result,.tn-filter-results,.tn-project-report) {margin-top:26px;padding-top:24px;border-top:2px solid var(--tn-ink)}
body.tn-theme .tn-compare-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.tn-theme .tn-compare-item {min-width:0;padding:20px;background:var(--tn-soft)}
body.tn-theme .tn-compare-item h4 {margin-bottom:16px}
body.tn-theme .tn-compare-item dl {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 16px;font-size:13px}
body.tn-theme .tn-compare-item dt {color:var(--tn-muted)}
body.tn-theme .tn-compare-item dd {text-align:right;overflow-wrap:anywhere}
body.tn-theme .tn-change-list {display:grid;gap:10px;padding-inline-start:20px;font-size:14px}
body.tn-theme .tn-report-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--tn-line);border:1px solid var(--tn-line)}
body.tn-theme .tn-report-stat {min-width:0;padding:20px;background:var(--tn-canvas)}
body.tn-theme .tn-report-stat span {display:block;font-size:13px;color:var(--tn-muted)}
body.tn-theme .tn-report-stat strong {display:block;margin-top:10px;font-size:30px;font-variant-numeric:tabular-nums}
body.tn-theme .tn-project-dialog {width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:32px;border:1px solid var(--tn-ink);border-top:5px solid var(--tn-blue);border-radius:6px;background:var(--tn-surface);color:var(--tn-ink);overflow:auto}
body.tn-theme .tn-project-dialog::backdrop {background:rgb(23 37 31/.62)}
body.tn-theme .tn-project-dialog form {display:grid;gap:22px}
body.tn-theme .tn-project-dialog h2 {font-size:32px}
body.tn-theme .tn-project-dialog-actions {display:flex;justify-content:flex-end;gap:10px;margin-top:8px}
/* Execution evidence; progress widths remain application-owned. */
body.tn-theme .tn-history-execution {margin-top:20px;padding:20px;border-left:3px solid var(--tn-blue);background:var(--tn-soft)}
body.tn-theme .tn-history-execution__head {display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between}
body.tn-theme :is(.tn-history-execution__rule,.tn-history-execution__empty,.tn-history-execution__disclosure,.tn-history-execution__measure) {margin-top:10px;font-size:13px;color:var(--tn-muted)}
body.tn-theme .tn-history-execution__channels {display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
body.tn-theme .tn-history-execution__chip {padding:4px 8px;border:1px solid var(--tn-line);background:var(--tn-surface);font-size:12px}
body.tn-theme .tn-history-execution__actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
body.tn-theme .tn-history-execution__action {padding-top:14px;border-top:1px solid #bfc9bd;font-size:14px}
body.tn-theme .tn-history-execution__action p {margin-top:8px;font-size:13px}
body.tn-theme .tn-execution-card {padding:22px 16px;border-bottom:1px solid var(--tn-line);border-left:3px solid var(--tn-line)}
body.tn-theme .tn-execution-card.is-in_progress {border-left-color:var(--tn-blue)}
body.tn-theme .tn-execution-card.is-done {border-left-color:var(--tn-success)}
body.tn-theme .tn-execution-card__body {display:grid;gap:10px}
body.tn-theme :is(.tn-execution-card__action,.tn-execution-card__measure,.tn-execution-card__result,.tn-execution-card__source) {font-size:14px;overflow-wrap:anywhere}
body.tn-theme .tn-execution-card__source {font-size:12px;color:var(--tn-muted)}
body.tn-theme .tn-execution-card__controls {display:grid;grid-template-columns:160px minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:18px}
body.tn-theme .tn-execution-summary {display:grid;gap:20px;margin-bottom:28px;padding:24px;background:var(--tn-soft)}
body.tn-theme .tn-execution-summary__stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid var(--tn-line)}
body.tn-theme .tn-execution-summary__stat {padding:0 16px 18px;border-right:1px solid var(--tn-line)}
body.tn-theme .tn-execution-summary__stat:last-child {border-right:0}
body.tn-theme .tn-execution-summary__stat strong {display:block;font-size:28px;font-variant-numeric:tabular-nums}
body.tn-theme .tn-execution-summary__stat span {display:block;font-size:12px;color:var(--tn-muted)}
body.tn-theme .tn-execution-summary__progress-head {display:flex;justify-content:space-between;gap:16px;margin-bottom:10px;font-size:13px}
body.tn-theme .tn-execution-summary__progress {height:8px;overflow:hidden;background:#d5dfcd}
body.tn-theme .tn-execution-summary__progress-bar {height:100%;max-width:100%;background:var(--tn-blue)}
body.tn-theme :is(.tn-execution-summary__next p,.tn-execution-summary__observation,.tn-execution-summary__disclosure,.tn-report-execution-review__summary,.tn-report-execution-review__disclosure) {margin-top:8px;font-size:13px;color:var(--tn-muted)}
body.tn-theme .tn-execution-summary__review {padding-top:18px;border-top:1px solid var(--tn-line)}

body.tn-theme .tn-execution-summary__review-progress {display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:13px}
body.tn-theme .tn-execution-summary__review-action {display:inline-flex;align-items:center;min-height:44px;margin-top:10px;font-size:14px}
body.tn-theme .tn-report-execution-review {margin-top:26px;padding-top:20px;border-top:1px solid var(--tn-line)}
body.tn-theme .tn-report-execution-review__list {display:grid;gap:0;margin-top:16px}
body.tn-theme .tn-report-execution-review__item {padding-block:16px;border-bottom:1px solid var(--tn-line)}
body.tn-theme .tn-report-execution-review__item p {margin-top:8px;font-size:14px}
body.tn-theme .tn-report-execution-review__item span {font-size:12px;color:var(--tn-muted)}
/* Reflow changes layout; hidden state stays controller-owned. */
@media(max-width:1399px) {
 body.tn-theme .tn-header-row {gap:16px}
 body.tn-theme .tn-nav .menu {gap:12px}
 body.tn-theme .tn-nav-actions .tn-btn {padding-inline:9px;font-size:14px}
 body.tn-theme .tn-brand {font-size:19px}
}
@media(max-width:1279px) {
 body.tn-theme .tn-nav {display:none}
 body.tn-theme .tn-header-row {gap:12px}
 body.tn-theme .tn-brand {margin-right:auto}
 body.tn-theme .tn-menu-toggle {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;order:3}
 body.tn-theme .tn-nav-actions .tn-btn:not(.tn-btn-primary) {display:none}
 body.tn-theme .tn-mobile-nav:not([hidden]) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;max-height:calc(100dvh - 112px);overflow:auto;padding:16px 40px 24px;border-top:1px solid var(--tn-line);background:var(--tn-surface)}
 body.tn-theme .tn-mobile-nav a {display:flex;align-items:center;min-height:50px;padding:12px 0;border-bottom:1px solid var(--tn-line);color:var(--tn-ink);font-size:17px;font-weight:600;text-decoration:none}
 body.tn-theme .tn-mobile-nav__divider {grid-column:1/-1}
}
@media(max-width:1050px) {
 body.tn-theme :where(.tn-shell,.tn-content-wrap,.tn-account-wrap,.tn-content-wrap--wide,.tn-workspace-page) {width:calc(100% - 48px)}
 body.tn-theme .tn-auth-shell {width:calc(100% - 64px);gap:40px;padding-block:52px 72px}
 body.tn-theme .tn-auth-card {padding:28px}
 body.tn-theme .tn-mypage-layout {grid-template-columns:150px minmax(0,1fr);gap:28px}
 body.tn-theme .tn-account-split {grid-template-columns:1fr}
 body.tn-theme .tn-workspace-layout {grid-template-columns:224px minmax(0,1fr)}
 body.tn-theme .tn-workspace-main {padding:22px}
 body.tn-theme .tn-project-summary {flex-direction:column}
 body.tn-theme .tn-inline-form {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tn-theme .tn-filter-form {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tn-theme .tn-library-item {flex-direction:column}
 body.tn-theme .tn-footer-grid {gap:40px}
}
@media(max-width:782px) {
 body.tn-theme.admin-bar .tn-site-header {top:46px}
 body.tn-theme .tn-mypage-layout {grid-template-columns:1fr;gap:28px}
 body.tn-theme .tn-mypage-nav {position:static;display:flex;gap:0;max-width:100%;overflow-x:auto;border-bottom:1px solid var(--tn-ink);overscroll-behavior-inline:contain}
 body.tn-theme .tn-mypage-nav a {flex:0 0 auto;border-left:0;border-bottom:3px solid transparent;white-space:nowrap}
 body.tn-theme .tn-mypage-nav a:is(:hover,:focus-visible,[aria-current],.is-active) {border-bottom-color:var(--tn-blue)}
 body.tn-theme .tn-workspace-hero {grid-template-columns:1fr;gap:20px}
 body.tn-theme .tn-project-studio-controls {flex-direction:row;align-items:center;justify-content:space-between;padding-top:0}
 body.tn-theme .tn-workspace-layout {grid-template-columns:1fr}
 body.tn-theme .tn-workspace-sidebar {padding:20px}
 body.tn-theme .tn-workspace-sidebar-head {display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:16px}
 body.tn-theme .tn-project-list {display:flex;gap:8px;overflow-x:auto;max-height:230px;overscroll-behavior-inline:contain}
 body.tn-theme .tn-project-list button {flex:0 0 220px;border:1px solid var(--tn-line);border-left:3px solid transparent;background:var(--tn-canvas)}
 body.tn-theme .tn-workspace-main {border-left:0;border-top:1px solid var(--tn-line)}
 body.tn-theme .tn-workspace-flow {flex-wrap:wrap;gap:12px}
 body.tn-theme .tn-workspace-flow>span {flex-basis:calc(33.333% - 12px);padding:8px}
 body.tn-theme .tn-workspace-flow>i {display:none}
 body.tn-theme .tn-library-grid {grid-template-columns:1fr}
 body.tn-theme .tn-save-flow {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tn-theme .tn-save-flow>span {border-bottom:1px solid var(--tn-line)}
 body.tn-theme .tn-save-flow>span:nth-child(even) {border-right:0}
 body.tn-theme :is(.tn-webzine-grid,.tn-principles) {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px) {
 body.tn-theme :where(.tn-shell,.tn-content-wrap,.tn-account-wrap,.tn-content-wrap--wide,.tn-workspace-page) {width:calc(100% - 32px)}
 body.tn-theme :where(.tn-content-wrap,.tn-account-wrap) {padding-block:32px 52px}
 body.tn-theme :where(.tn-section) {padding-block:44px}
 body.tn-theme :where(.tn-section-head,.tn-panel-head) {align-items:flex-start;flex-direction:column;gap:18px}
 body.tn-theme .tn-header-row {min-height:72px;gap:8px}
 body.tn-theme .tn-brand {font-size:15px;gap:8px}
 body.tn-theme .tn-brand-mark {width:30px;height:32px;font-size:12px}
 body.tn-theme .tn-nav-actions {gap:4px}
 body.tn-theme .tn-nav-actions .tn-btn-primary {padding-inline:10px;font-size:12px}
 body.tn-theme .tn-mobile-nav:not([hidden]) {grid-template-columns:1fr;padding:10px 20px 20px}
 body.tn-theme .tn-mobile-nav a {min-height:48px}
 body.tn-theme .tn-site-footer {padding-block:44px 22px}
 body.tn-theme .tn-footer-grid {grid-template-columns:1fr;gap:30px}
 body.tn-theme .tn-footer-brand {font-size:42px}
 body.tn-theme .tn-footer-copy {font-size:14px;margin-top:20px}
 body.tn-theme .tn-footer-bottom {flex-direction:column;gap:10px;margin-top:32px}
 body.tn-theme .tn-auth-shell {grid-template-columns:1fr;width:calc(100% - 32px);gap:30px;padding-block:32px 52px}
 body.tn-theme .tn-auth-brand {padding-top:0}
 body.tn-theme .tn-auth-brand h1 {font-size:46px}
 body.tn-theme .tn-auth-brand>p {margin-top:16px;font-size:16px}
 body.tn-theme .tn-auth-signal-row {display:none}
 body.tn-theme .tn-auth-card {padding:26px 20px}
 body.tn-theme .tn-auth-links {justify-content:flex-start}
 body.tn-theme .tn-mypage-head {flex-direction:column;gap:20px;padding-bottom:28px}
 body.tn-theme .tn-mypage-head h1 {font-size:36px}
 body.tn-theme .tn-mypage-head p {font-size:15px}
 body.tn-theme .tn-mypage-head>.tn-btn {margin-top:0}
 body.tn-theme .tn-dashboard-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tn-theme .tn-dashboard-card {padding:20px 14px}
 body.tn-theme .tn-dashboard-card:nth-child(even) {border-right:0}
 body.tn-theme .tn-dashboard-card strong {font-size:30px}
 body.tn-theme .tn-mypage-section h2 {font-size:28px}
 body.tn-theme :is(.tn-capability-grid,.tn-quick-grid) {grid-template-columns:1fr;gap:0}
 body.tn-theme .tn-plan-card {flex-direction:column;align-items:flex-start;padding:22px}
 body.tn-theme .tn-plan-checkout-actions {width:100%}
 body.tn-theme .tn-plan-checkout-actions .tn-btn {flex:1}
 body.tn-theme .tn-library-hero h1 {font-size:36px}
 body.tn-theme .tn-library-hero>p {font-size:15px}
 body.tn-theme .tn-library-browser {grid-template-columns:1fr}
 body.tn-theme .tn-library-project-link__row {flex-direction:column;align-items:stretch}
 body.tn-theme .tn-library-project-link__row select {flex-basis:auto}
 body.tn-theme .tn-library-actions {width:100%}
 body.tn-theme .tn-library-actions .tn-library-action {flex:1 1 auto}
 body.tn-theme .tn-save-flow>span {padding:14px 10px}
 body.tn-theme .tn-workspace-main {padding:20px 16px}
 body.tn-theme .tn-workspace-hero-copy h1 {font-size:33px}
 body.tn-theme .tn-workspace-hero-copy p {font-size:15px}
 body.tn-theme .tn-workspace-flow>span {flex-basis:calc(50% - 12px)}
 body.tn-theme .tn-workspace-sidebar-head {align-items:flex-start}
 body.tn-theme .tn-workspace-sidebar-head .tn-btn {font-size:12px;padding-inline:10px}
 body.tn-theme .tn-project-summary h2 {font-size:28px}
 body.tn-theme :is(.tn-inline-form,.tn-filter-form,.tn-compare-form,.tn-compare-grid,.tn-history-execution__actions,.tn-execution-card__controls) {grid-template-columns:1fr}
 body.tn-theme .tn-workspace-tabs button {font-size:13px;padding-inline:13px}
 body.tn-theme .tn-report-summary {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tn-theme .tn-execution-summary {padding:18px}
 body.tn-theme .tn-execution-summary__stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0}
 body.tn-theme .tn-execution-summary__stat:nth-child(even) {border-right:0}
 body.tn-theme .tn-project-dialog {padding:26px 20px}
 body.tn-theme :is(.tn-webzine-grid,.tn-principles) {grid-template-columns:1fr}
 body.tn-theme :where(.tn-empty,.tn-library-empty,.tn-library-filter-empty,.tn-workspace-empty) {padding:24px 18px}
}
@media(max-width:380px) {
 body.tn-theme .tn-header-row {gap:6px}
 body.tn-theme .tn-brand {font-size:14px;letter-spacing:-.06em}
 body.tn-theme .tn-brand-mark {display:none}
 body.tn-theme .tn-nav-actions .tn-btn-primary {padding-inline:8px}
 body.tn-theme .tn-policy-links {grid-template-columns:1fr}
}
@media(max-width:600px) {body.tn-theme.admin-bar .tn-site-header {top:0}}
/* Feedback does not gate content. */
html[data-tn-motion="on"] body.tn-theme :is(.tn-btn,.tn-library-action,.tn-workspace-action,.tn-project-list button,.tn-quick-link) {transition:background-color 140ms ease,color 140ms ease,border-color 140ms ease,transform 140ms var(--tn-ease)}
html[data-tn-motion="on"] body.tn-theme .tn-nav a::after {transition:transform 180ms var(--tn-ease)}
html[data-tn-motion="on"] body.tn-theme :is(.tn-btn,.tn-library-action,.tn-workspace-action):not(:disabled):not([aria-disabled="true"]):active {transform:translateY(2px)}
@media(hover:hover) and (pointer:fine) {
 body.tn-theme :is(.tn-btn,.tn-library-action,.tn-workspace-action):not(:disabled):not([aria-disabled="true"]):hover {border-color:var(--tn-ink);background:var(--tn-soft);color:var(--tn-ink);text-decoration:none}
 body.tn-theme :is(.tn-btn-primary,.tn-library-action--primary):not(:disabled):not([aria-disabled="true"]):hover {border-color:#1744c5;background:#1744c5;color:#fff}
 body.tn-theme :is(.tn-btn-danger,.tn-library-action--danger,.tn-workspace-action.is-danger):not(:disabled):hover {border-color:var(--tn-danger);background:#ffede7;color:var(--tn-danger)}
 body.tn-theme .tn-project-list button:not(:disabled):hover {background:var(--tn-surface)}
}
html[data-tn-motion="off"] body.tn-theme :is(.tn-btn,.tn-library-action,.tn-workspace-action,.tn-project-list button,.tn-quick-link,.tn-menu-toggle span) {transition:none;animation:none}
html[data-tn-motion="off"] body.tn-theme .tn-nav a::after {transition:none}
html.tn-large-type body.tn-theme {font-size:18px}
html.tn-large-type body.tn-theme :is(.tn-auth-form>label,.tn-auth-check span,.tn-mypage-nav a,.tn-mypage-section>p,.tn-workspace-field,.tn-library-item p) {font-size:16px}
@media(prefers-reduced-motion:reduce) {
 body.tn-theme :is(.tn-btn,.tn-library-action,.tn-workspace-action,.tn-project-list button,.tn-quick-link,.tn-menu-toggle span) {transition:none!important;animation:none!important}
 body.tn-theme :is(.tn-btn,.tn-library-action,.tn-workspace-action):active {transform:none!important}
 body.tn-theme .tn-nav a::after {transition:none!important}
}
@media(forced-colors:active) {
 body.tn-theme {background:Canvas;color:CanvasText}
 body.tn-theme :is(.tn-site-header,.tn-site-footer,.tn-auth-card,.tn-workspace-layout,.tn-workspace-sidebar,.tn-dashboard-card,.tn-plan-card,.tn-library-item) {background:Canvas;color:CanvasText;border-color:CanvasText}
 body.tn-theme :is(.tn-footer-brand,.tn-footer-copy,.tn-footer-bottom,.tn-policy-links a) {color:CanvasText}
 body.tn-theme :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {outline-color:Highlight}
 body.tn-theme .tn-workspace-tabs button[aria-selected="true"] {border-color:Highlight;color:Highlight}
}
@media print {
 body.tn-theme {background:#fff;color:#17251f}
 body.tn-theme :is(.tn-site-header,.tn-site-footer,.tn-mypage-nav,.tn-project-studio-controls,.tn-project-actions,.tn-workspace-tabs) {display:none!important}
 body.tn-theme :is(.tn-content-wrap,.tn-account-wrap,.tn-workspace-page) {width:100%;padding:0}
 body.tn-theme :is(.tn-mypage-layout,.tn-workspace-layout) {display:block;border:0}
 body.tn-theme .tn-workspace-sidebar {display:none}
 body.tn-theme .tn-workspace-main {border:0;padding:0}
}
