/* Current components only; original historical CSS owns base typography/layout. */
@font-face{
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/instrument-sans/instrument-sans-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/instrument-sans/instrument-sans-latin-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/instrument-sans/instrument-sans-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/instrument-sans/instrument-sans-latin-ext-500-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/instrument-sans/instrument-sans-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/instrument-sans/instrument-sans-latin-ext-600-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/instrument-sans/instrument-sans-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/instrument-sans/instrument-sans-latin-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root{
    color-scheme: light;

    
    --tp-brand: #0B1523;
    --tp-brand-accent: #6EE7B7;   
    --tp-logo-ink: #64696E;       
    --tp-logo-accent: #1CC78B;

    
    --tp-canvas: #F5F7FA;
    --tp-surface: #FFFFFF;
    --tp-surface-raised: #F0F3F7;
    --tp-surface-hover: #EEF2F6;
    --tp-text: #152536;
    --tp-text-secondary: #425266;
    --tp-divider: #DCE3EA;
    --tp-control-border: #758398;

    
    --tp-primary: #065F46;
    --tp-primary-hover: #064E3B;
    --tp-on-primary: #FFFFFF;
    --tp-danger: #991B1B;
    --tp-danger-hover: #7F1D1D;
    --tp-on-danger: #FFFFFF;

    
    --tp-positive: #065F46;
    --tp-negative: #991B1B;
    --tp-warning: #92400E;
    --tp-info: #1E40AF;
    --tp-link: #1E40AF;
    --tp-link-hover: #1E3A8A;
    --tp-positive-bg: #E8F5EF;
    --tp-negative-bg: #FCECED;
    --tp-warning-bg: #FFF4DC;
    --tp-info-bg: #EAF0FB;
    --tp-positive-border: #9FD3BC;
    --tp-negative-border: #F1B8BC;
    --tp-warning-border: #EBCB8B;
    --tp-info-border: #B9CBF2;
    --tp-badge-brand-bg: #0B1523;
    --tp-badge-brand-text: #F4F7FB;

    
    --tp-inverse-bg: #152536;
    --tp-inverse-text: #F4F7FB;
    --tp-inverse-positive: #6EE7B7;
    --tp-inverse-negative: #FDA4AF;

    
    --tp-focus: #1E40AF;
    --tp-focus-ring: 0 0 0 3px var(--tp-focus);
    --tp-overlay: rgb(5 12 22 / 0.6);
    --tp-shadow-sm: 0 1px 2px rgb(11 21 35 / 0.06);
    --tp-shadow-md: 0 4px 16px rgb(11 21 35 / 0.08);
    --tp-shadow-lg: 0 16px 48px rgb(11 21 35 / 0.16);
    --tp-skeleton: #E4E9EF;

    
    --tp-radius-sm: 6px;
    --tp-radius: 8px;
    --tp-radius-lg: 12px;
    --tp-radius-pill: 999px;

    
    --tp-space-1: 4px;
    --tp-space-2: 8px;
    --tp-space-3: 12px;
    --tp-space-4: 16px;
    --tp-space-5: 24px;
    --tp-space-6: 32px;
    --tp-space-7: 48px;
    --tp-space-8: 64px;

    
    --tp-font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --tp-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    --tp-text-display: clamp(2rem, 1.25rem + 3vw, 3.5rem);   
    --tp-text-h1: clamp(1.75rem, 1.55rem + 0.6vw, 2rem);     
    --tp-text-h2: 1.25rem;     
    --tp-text-h3: 1.125rem;    
    --tp-text-lead: 1.125rem;  
    --tp-text-body: 1rem;      
    --tp-text-body-sm: 0.9375rem; 
    --tp-text-table: 0.875rem; 
    --tp-text-meta: 0.8125rem; 
    --tp-text-micro: 0.75rem;  
    --tp-leading-tight: 1.15;
    --tp-leading-snug: 1.3;
    --tp-leading-normal: 1.55;
    --tp-leading-relaxed: 1.7;
    --tp-weight-regular: 400;
    --tp-weight-medium: 500;
    --tp-weight-semibold: 600;
    --tp-weight-bold: 700;

    
    --tp-z-raised: 1;
    --tp-z-sticky: 100;
    --tp-z-header: 1000;
    --tp-z-dropdown: 1100;
    --tp-z-consent: 1200;
    --tp-z-overlay: 1300;
    --tp-z-toast: 1400;

    
    --tp-container: 1280px;
    --tp-container-narrow: 760px;
    --tp-gutter: 16px;
    --tp-header-height: 56px;
    --tp-sticky-offset: calc(var(--tp-header-height) + var(--tp-space-4));
    --tp-control-height: 44px;
    --tp-control-height-sm: 36px;

    
    --tp-duration: 150ms;
    --tp-ease: cubic-bezier(0.2, 0, 0, 1);
}
@media (min-width: 768px){:root{
        --tp-gutter: 24px;
        --tp-control-height: 40px;
        --tp-control-height-sm: 32px;
    }}
@media (min-width: 1024px){:root{
        --tp-header-height: 64px;
    }}
:root[data-theme="dark"],
.tp-on-brand{
    color-scheme: dark;
    --tp-logo-ink: #E6EBF1;
    --tp-logo-accent: #34D399;
    --tp-canvas: #0B1523;
    --tp-surface: #101D2D;
    --tp-surface-raised: #17283C;
    --tp-surface-hover: #1B2F46;
    --tp-text: #F4F7FB;
    --tp-text-secondary: #B5C1D0;
    --tp-divider: #33475F;
    --tp-control-border: #8193AA;
    --tp-primary: #34D399;
    --tp-primary-hover: #6EE7B7;
    --tp-on-primary: #0B1523;
    --tp-danger: #FDA4AF;
    --tp-danger-hover: #FECDD3;
    --tp-on-danger: #0B1523;
    --tp-positive: #6EE7B7;
    --tp-negative: #FDA4AF;
    --tp-warning: #FCD34D;
    --tp-info: #93C5FD;
    --tp-link: #93C5FD;
    --tp-link-hover: #BFDBFE;
    --tp-positive-bg: #11392D;
    --tp-negative-bg: #402332;
    --tp-warning-bg: #392F1B;
    --tp-info-bg: #172C4A;
    --tp-positive-border: #2C6B55;
    --tp-negative-border: #7A3A4E;
    --tp-warning-border: #75602C;
    --tp-info-border: #34507E;
    --tp-badge-brand-bg: #23395A;
    --tp-badge-brand-text: #F4F7FB;
    --tp-inverse-bg: #F4F7FB;
    --tp-inverse-text: #101D2D;
    --tp-inverse-positive: #065F46;
    --tp-inverse-negative: #991B1B;
    --tp-focus: #93C5FD;
    --tp-overlay: rgb(2 6 12 / 0.72);
    --tp-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
    --tp-shadow-md: 0 4px 16px rgb(0 0 0 / 0.32);
    --tp-shadow-lg: 0 16px 48px rgb(0 0 0 / 0.45);
    --tp-skeleton: #1F344D;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
        color-scheme: dark;
        --tp-logo-ink: #E6EBF1;
        --tp-logo-accent: #34D399;
        --tp-canvas: #0B1523;
        --tp-surface: #101D2D;
        --tp-surface-raised: #17283C;
        --tp-surface-hover: #1B2F46;
        --tp-text: #F4F7FB;
        --tp-text-secondary: #B5C1D0;
        --tp-divider: #33475F;
        --tp-control-border: #8193AA;
        --tp-primary: #34D399;
        --tp-primary-hover: #6EE7B7;
        --tp-on-primary: #0B1523;
        --tp-danger: #FDA4AF;
        --tp-danger-hover: #FECDD3;
        --tp-on-danger: #0B1523;
        --tp-positive: #6EE7B7;
        --tp-negative: #FDA4AF;
        --tp-warning: #FCD34D;
        --tp-info: #93C5FD;
        --tp-link: #93C5FD;
        --tp-link-hover: #BFDBFE;
        --tp-positive-bg: #11392D;
        --tp-negative-bg: #402332;
        --tp-warning-bg: #392F1B;
        --tp-info-bg: #172C4A;
        --tp-positive-border: #2C6B55;
        --tp-negative-border: #7A3A4E;
        --tp-warning-border: #75602C;
        --tp-info-border: #34507E;
        --tp-badge-brand-bg: #23395A;
        --tp-badge-brand-text: #F4F7FB;
        --tp-inverse-bg: #F4F7FB;
        --tp-inverse-text: #101D2D;
        --tp-inverse-positive: #065F46;
        --tp-inverse-negative: #991B1B;
        --tp-focus: #93C5FD;
        --tp-overlay: rgb(2 6 12 / 0.72);
        --tp-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
        --tp-shadow-md: 0 4px 16px rgb(0 0 0 / 0.32);
        --tp-shadow-lg: 0 16px 48px rgb(0 0 0 / 0.45);
        --tp-skeleton: #1F344D;
    }}
.tp-on-brand{
    background-color: var(--tp-brand);
    color: var(--tp-text);
}
html.tp-consent-open{
    scroll-padding-bottom: calc(var(--tp-consent-offset, 0px) + var(--tp-space-4));
}
html.tp-consent-open body{
    padding-bottom: var(--tp-consent-offset, 0px);
}
.tp-sr-only,
.tp-visually-hidden{
    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;
}
.tp-skip-link{
    position: absolute;
    top: var(--tp-space-2);
    left: var(--tp-space-2);
    z-index: var(--tp-z-toast);
    padding: var(--tp-space-3) var(--tp-space-4);
    background: var(--tp-surface);
    color: var(--tp-text);
    border: 2px solid var(--tp-focus);
    border-radius: var(--tp-radius);
    font-weight: var(--tp-weight-semibold);
    text-decoration: none;
    transform: translateY(-200%);
}
.tp-skip-link:focus,
.tp-skip-link:focus-visible{
    transform: none;
}
.tp-main{
    flex: 1 0 auto;
    min-width: 0;
}
.tp-main:focus{
    outline: none;
}
.tp-container{
    width: 100%;
    max-width: calc(var(--tp-container) + 2 * var(--tp-gutter));
    margin-inline: auto;
    padding-inline: var(--tp-gutter);
}
.tp-container--narrow{
    max-width: calc(var(--tp-container-narrow) + 2 * var(--tp-gutter));
}
.tp-container--wide{
    max-width: calc(1440px + 2 * var(--tp-gutter));
}
.tp-page{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-6);
    padding-block: var(--tp-space-5) var(--tp-space-7);
    min-width: 0;
}
@media (min-width: 1024px){.tp-page{
        gap: var(--tp-space-7);
        padding-block: var(--tp-space-6) var(--tp-space-8);
    }}
.tp-stack{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-4);
    min-width: 0;
}
.tp-stack--xs{ gap: var(--tp-space-1); }
.tp-stack--sm{ gap: var(--tp-space-2); }
.tp-stack--md{ gap: var(--tp-space-3); }
.tp-stack--lg{ gap: var(--tp-space-5); }
.tp-stack--xl{ gap: var(--tp-space-6); }
.tp-stack--2xl{ gap: var(--tp-space-7); }
.tp-cluster{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tp-space-2);
    min-width: 0;
}
.tp-cluster--xs{ gap: var(--tp-space-1); }
.tp-cluster--md{ gap: var(--tp-space-3); }
.tp-cluster--lg{ gap: var(--tp-space-4); }
.tp-cluster--between{ justify-content: space-between; }
.tp-cluster--end{ justify-content: flex-end; }
.tp-cluster--start{ align-items: flex-start; }
.tp-cluster--baseline{ align-items: baseline; }
.tp-cluster--nowrap{ flex-wrap: nowrap; }
.tp-grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tp-space-4);
    min-width: 0;
}
@media (min-width: 768px){.tp-grid{ gap: var(--tp-space-5); }
.tp-grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (min-width: 640px){.tp-grid--3,
    .tp-grid--4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (min-width: 1024px){.tp-grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-grid--4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-grid--sidebar{ grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.tp-grid--sidebar-left{ grid-template-columns: 260px minmax(0, 1fr); align-items: start; }}
.tp-grid--auto{
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--tp-grid-min, 260px)), 1fr));
}
.tp-grid--tight{ gap: var(--tp-space-3); }
.tp-section{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-4);
    min-width: 0;
}
.tp-section__header{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--tp-space-2) var(--tp-space-4);
}
.tp-section__title{
    font-size: var(--tp-text-h2);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
    letter-spacing: -0.01em;
}
.tp-section__description{
    margin-top: var(--tp-space-1);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
    max-width: 68ch;
}
.tp-logo{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tp-text);
    text-decoration: none;
    font-weight: var(--tp-weight-semibold);
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    border-radius: var(--tp-radius-sm);
}
.tp-logo:hover{
    color: var(--tp-text);
}
.tp-logo__mark{
    width: 34px;
    height: 23px;
    flex-shrink: 0;
}
.tp-logo__ink{ fill: var(--tp-logo-ink); }
.tp-logo__word-ink{ color: var(--tp-logo-ink); }
.tp-logo__accent{ fill: var(--tp-logo-accent); }
.tp-logo__word-accent{ color: var(--tp-logo-accent); }
.tp-on-brand .tp-logo__word-accent{
    color: var(--tp-brand-accent);
}
.tp-logo--lg{ font-size: 1.375rem; }
.tp-logo--lg .tp-logo__mark{ width: 42px; height: 28px; }
.tp-site-header{
    position: sticky;
    top: 0;
    z-index: var(--tp-z-header);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-site-header__bar{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 var(--tp-space-2);
    min-height: var(--tp-header-height);
}
.tp-site-header__brand{
    display: flex;
    align-items: center;
    min-height: var(--tp-header-height);
    margin-right: auto;
}
.tp-site-header__actions{
    display: flex;
    align-items: center;
    gap: var(--tp-space-1);
    min-height: var(--tp-header-height);
}
.tp-header-icon-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tp-space-1);
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--tp-radius);
    background: transparent;
    color: var(--tp-text);
    text-decoration: none;
    transition: background-color var(--tp-duration) var(--tp-ease);
}
.tp-header-icon-btn:hover,
.tp-header-icon-btn[aria-expanded="true"]{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-header-icon-btn .tp-icon{
    width: 1.25rem;
    height: 1.25rem;
}
.tp-header-search{
    display: none;
    order: 99;
    flex: 1 0 100%;
    padding-bottom: var(--tp-space-3);
}
.tp-site-header[data-search-open] .tp-header-search{
    display: block;
}
.tp-header-search__field{
    position: relative;
}
.tp-header-search__icon{
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--tp-text-secondary);
    pointer-events: none;
}
.tp-header-search__input{
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px 0 40px;
    border: 1px solid var(--tp-control-border);
    border-radius: var(--tp-radius);
    background: var(--tp-surface-raised);
    color: var(--tp-text);
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
}
.tp-header-search__input::placeholder{
    color: var(--tp-text-secondary);
    opacity: 1;
}
.tp-header-search__input:focus{
    background: var(--tp-surface);
    border-color: var(--tp-focus);
}
.tp-header-search__input::-webkit-search-cancel-button{
    filter: invert(1);
}
.tp-nav{
    display: none;
}
.tp-nav__list{
    display: flex;
    align-items: center;
    gap: var(--tp-space-1);
    list-style: none;
}
.tp-nav__item{
    position: relative;
}
.tp-nav__link{
    display: inline-flex;
    align-items: center;
    gap: var(--tp-space-1);
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--tp-radius);
    background: transparent;
    color: var(--tp-text);
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-medium);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--tp-duration) var(--tp-ease);
}
.tp-nav__link:hover,
.tp-nav__link[aria-expanded="true"]{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-nav__link[aria-current]{
    box-shadow: inset 0 -2px 0 var(--tp-brand-accent);
    border-radius: var(--tp-radius) var(--tp-radius) 2px 2px;
}
.tp-nav__link .tp-icon{
    width: 1rem;
    height: 1rem;
    color: var(--tp-text-secondary);
    transition: transform var(--tp-duration) var(--tp-ease);
}
.tp-nav__link[aria-expanded="true"] .tp-icon{
    transform: rotate(180deg);
}
.tp-menu{
    position: relative;
}
.tp-menu__panel{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: var(--tp-z-dropdown);
    min-width: 240px;
    max-width: calc(100vw - 2 * var(--tp-gutter));
    padding: var(--tp-space-2);
    background: var(--tp-surface);
    color: var(--tp-text);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-lg);
}
.tp-menu__panel--end{
    left: auto;
    right: 0;
}
.tp-menu__panel--md{
    width: 300px;
}
.tp-menu__panel--wide{
    width: 600px;
}
.tp-menu__list{
    list-style: none;
    display: grid;
    gap: 2px;
}
.tp-menu__columns{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--tp-space-2);
}
.tp-menu__label{
    padding: var(--tp-space-2) var(--tp-space-3) var(--tp-space-1);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
    font-weight: var(--tp-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tp-menu__item{
    display: flex;
    align-items: flex-start;
    gap: var(--tp-space-3);
    width: 100%;
    min-height: 40px;
    padding: var(--tp-space-2) var(--tp-space-3);
    border: 0;
    border-radius: var(--tp-radius);
    background: transparent;
    color: var(--tp-text);
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-medium);
    line-height: var(--tp-leading-snug);
    text-align: left;
    text-decoration: none;
}
.tp-menu__item:hover,
.tp-menu__item:focus-visible{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-menu__item[aria-current]{
    background: var(--tp-surface-raised);
    box-shadow: inset 3px 0 0 var(--tp-primary);
}
.tp-menu__item[aria-pressed="true"]{
    font-weight: var(--tp-weight-semibold);
}
.tp-menu__item > .tp-icon{
    margin-top: 1px;
    color: var(--tp-text-secondary);
}
.tp-menu__item-check{
    margin-left: auto;
    visibility: hidden;
}
.tp-menu__item[aria-pressed="true"] .tp-menu__item-check{
    visibility: visible;
}
.tp-menu__item-text{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.tp-menu__item-desc{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-regular);
}
.tp-menu__divider{
    height: 1px;
    margin: var(--tp-space-2) 0;
    background: var(--tp-divider);
    border: 0;
}
.tp-menu__header{
    padding: var(--tp-space-2) var(--tp-space-3) var(--tp-space-3);
    border-bottom: 1px solid var(--tp-divider);
    margin-bottom: var(--tp-space-2);
    min-width: 0;
}
.tp-menu__header strong{
    display: block;
    font-weight: var(--tp-weight-semibold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tp-menu__header span{
    display: block;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tp-menu form{
    margin: 0;
}
.tp-avatar{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--tp-radius-pill);
    background: var(--tp-badge-brand-bg);
    color: var(--tp-badge-brand-text);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-semibold);
    text-transform: uppercase;
    flex-shrink: 0;
}
.tp-header-auth{
    display: none;
    align-items: center;
    gap: var(--tp-space-2);
    margin-left: var(--tp-space-2);
}
@media (min-width: 1024px){.tp-site-header__bar{
        flex-wrap: nowrap;
        gap: var(--tp-space-4);
    }
.tp-site-header__brand{
        margin-right: var(--tp-space-2);
    }
.tp-nav{
        display: block;
    }
.tp-header-search{
        display: block;
        order: 0;
        flex: 1 1 auto;
        max-width: 440px;
        min-width: 160px;
        margin-left: auto;
        padding-bottom: 0;
    }
.tp-header-search__input{
        height: 40px;
        font-size: var(--tp-text-body-sm);
    }
.tp-header-auth{
        display: flex;
    }}
@media (min-width: 1024px) and (max-width: 1279px){.tp-nav__link{
        padding: 0 8px;
    }
.tp-header-search{
        min-width: 120px;
    }
.tp-site-header__actions .tp-header-theme{
        display: none;
    }}
.tp-desktop-only{
    display: none;
}
@media (min-width: 1024px){.tp-desktop-only{ display: inline-flex; }
.tp-mobile-only{ display: none; }}
.tp-drawer-nav{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-5);
}
.tp-drawer-nav__group{
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tp-drawer-nav__heading{
    padding: 0 var(--tp-space-3) var(--tp-space-1);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
    font-weight: var(--tp-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tp-drawer-nav__list{
    list-style: none;
    display: grid;
    gap: 2px;
}
.tp-drawer-nav__link{
    display: flex;
    align-items: center;
    gap: var(--tp-space-3);
    width: 100%;
    min-height: 44px;
    padding: var(--tp-space-2) var(--tp-space-3);
    border: 0;
    border-radius: var(--tp-radius);
    background: transparent;
    color: var(--tp-text);
    font-size: var(--tp-text-body);
    font-weight: var(--tp-weight-medium);
    text-align: left;
    text-decoration: none;
}
.tp-drawer-nav__link:hover{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-drawer-nav__link[aria-current]{
    background: var(--tp-surface-raised);
    box-shadow: inset 3px 0 0 var(--tp-primary);
    font-weight: var(--tp-weight-semibold);
}
.tp-drawer-nav__link .tp-icon{
    color: var(--tp-text-secondary);
}
.tp-drawer-nav__actions{
    display: grid;
    gap: var(--tp-space-2);
}
.tp-ticker{
    background: var(--tp-surface);
    border-bottom: 1px solid var(--tp-divider);
    font-size: var(--tp-text-meta);
}
.tp-ticker__inner{
    display: flex;
    align-items: center;
    gap: var(--tp-space-3);
    min-height: 40px;
}
.tp-ticker__track{
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--tp-space-5);
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}
.tp-ticker__item,
.tp-ticker .ticker-item{
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    flex: none;
    font-weight: var(--tp-weight-medium);
    color: var(--tp-text);
    opacity: 0;
    position: absolute;
    visibility: hidden;
    transition: opacity 300ms var(--tp-ease);
}
.tp-ticker__item.active,
.tp-ticker .ticker-item.active{
    opacity: 1;
    position: relative;
    visibility: visible;
}
.tp-ticker__name{
    color: var(--tp-text-secondary);
    max-width: 22ch;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tp-ticker__value{
    font-variant-numeric: tabular-nums;
}
.tp-ticker .ticker-positive{ color: var(--tp-positive); }
.tp-ticker .ticker-negative{ color: var(--tp-negative); }
.tp-ticker .ticker-flat{ color: var(--tp-text); }
.tp-ticker .ticker-error,
.tp-ticker .ticker-loading{ color: var(--tp-text-secondary); font-weight: var(--tp-weight-regular); }
.tp-ticker__source{
    flex: none;
    color: var(--tp-text-secondary);
    white-space: nowrap;
}
@media (max-width: 639px){.tp-ticker__inner{
        flex-wrap: wrap;
        row-gap: 0;
        padding-block: var(--tp-space-1);
    }
.tp-ticker__source{
        order: 3;
        flex: 1 1 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: var(--tp-text-micro);
    }}
.tp-ticker__toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius);
    background: var(--tp-surface);
    color: var(--tp-text-secondary);
}
.tp-ticker__toggle:hover{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-ticker__toggle .tp-icon{
    width: 14px;
    height: 14px;
}
.tp-site-footer{
    margin-top: var(--tp-space-7);
    background: var(--tp-surface);
    border-top: 1px solid var(--tp-divider);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
}
.tp-site-footer__top{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tp-space-6);
    padding-block: var(--tp-space-6);
}
.tp-site-footer__about{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-3);
    max-width: 34ch;
}
.tp-site-footer__columns{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--tp-space-5) var(--tp-space-4);
}
.tp-site-footer__heading{
    margin-bottom: var(--tp-space-2);
    color: var(--tp-text);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-semibold);
}
.tp-site-footer__list{
    list-style: none;
    display: grid;
    gap: 2px;
}
.tp-site-footer__link{
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
    text-align: left;
    text-decoration: none;
}
.tp-site-footer__link:hover{
    color: var(--tp-text);
    text-decoration: underline;
}
.tp-site-footer__bottom{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-3) var(--tp-space-5);
    padding-block: var(--tp-space-4);
    border-top: 1px solid var(--tp-divider);
    font-size: var(--tp-text-meta);
}
.tp-disclaimer{
    padding-block: var(--tp-space-4) var(--tp-space-5);
    border-top: 1px solid var(--tp-divider);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    line-height: var(--tp-leading-relaxed);
}
.tp-disclaimer strong{
    color: var(--tp-text);
    font-weight: var(--tp-weight-semibold);
}
@media (min-width: 768px){.tp-site-footer__columns{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }}
@media (min-width: 1024px){.tp-site-footer__columns{
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
.tp-site-footer__top{
        grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
        gap: var(--tp-space-7);
        padding-block: var(--tp-space-7) var(--tp-space-6);
    }}
.tp-consent-banner{
    position: fixed;
    left: var(--tp-space-2);
    right: var(--tp-space-2);
    bottom: var(--tp-space-2);
    z-index: var(--tp-z-consent);
    max-width: 960px;
    margin: 0 auto;
    padding: var(--tp-space-4);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tp-space-3) var(--tp-space-5);
}
.tp-consent-text{
    flex: 1 1 320px;
    min-width: 0;
}
.tp-consent-title{
    margin-bottom: var(--tp-space-1);
    font-size: var(--tp-text-body);
    font-weight: var(--tp-weight-semibold);
}
.tp-consent-text p{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    line-height: var(--tp-leading-normal);
}
.tp-consent-text a{
    color: var(--tp-text);
    text-decoration: underline;
}
.tp-consent-actions{
    display: flex;
    gap: var(--tp-space-2);
    flex: 1 1 100%;
}
.tp-consent-btn{
    flex: 1 1 0;
    min-height: 44px;
    padding: 0 var(--tp-space-5);
    border: 1px solid var(--tp-text);
    border-radius: var(--tp-radius);
    background: var(--tp-text);
    color: var(--tp-brand);
    font-weight: var(--tp-weight-semibold);
    font-size: var(--tp-text-body-sm);
}
.tp-consent-btn:hover{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
@media (min-width: 768px){.tp-consent-banner{
        left: var(--tp-space-4);
        right: var(--tp-space-4);
        bottom: var(--tp-space-4);
        padding: var(--tp-space-4) var(--tp-space-5);
    }
.tp-consent-actions{
        flex: 0 0 auto;
    }
.tp-consent-btn{
        flex: none;
    }}
.tp-consent-placeholder{
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--tp-space-3);
    padding: var(--tp-space-5);
    text-align: center;
    background: var(--tp-surface-raised);
    color: var(--tp-text);
    border: 1px dashed var(--tp-control-border);
    border-radius: var(--tp-radius);
    font-size: var(--tp-text-body-sm);
}
.tp-consent-placeholder .tp-consent-note{
    max-width: 52ch;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-consent-placeholder button{
    min-height: 40px;
    padding: 0 var(--tp-space-4);
    border: 1px solid var(--tp-primary);
    border-radius: var(--tp-radius);
    background: var(--tp-primary);
    color: var(--tp-on-primary);
    font-weight: var(--tp-weight-semibold);
}
.tp-consent-placeholder button:hover{
    background: var(--tp-primary-hover);
    border-color: var(--tp-primary-hover);
}
.tp-consent-granted [data-consent-placeholder],
html:not(.tp-consent-granted) [data-consent-loading]{
    display: none !important;
}
.tp-icon{
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    vertical-align: middle;
}
.tp-icon--xs{ width: 0.875rem; height: 0.875rem; }
.tp-icon--sm{ width: 1rem; height: 1rem; }
.tp-icon--lg{ width: 1.5rem; height: 1.5rem; }
.tp-icon--xl{ width: 2rem; height: 2rem; }
.tp-display{
    font-size: var(--tp-text-display);
    font-weight: var(--tp-weight-semibold);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.tp-page-title,
.tp-h1{
    font-size: var(--tp-text-h1);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-tight);
    letter-spacing: -0.02em;
}
.tp-h2{
    font-size: var(--tp-text-h2);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
    letter-spacing: -0.01em;
}
.tp-h3{
    font-size: var(--tp-text-h3);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-h4{
    font-size: var(--tp-text-body);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-lead{
    font-size: var(--tp-text-lead);
    line-height: var(--tp-leading-relaxed);
    color: var(--tp-text-secondary);
    max-width: 65ch;
}
.tp-eyebrow{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
    font-weight: var(--tp-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tp-meta{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-num{
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}
.tp-mono{
    font-family: var(--tp-font-mono);
    font-size: 0.92em;
}
.tp-link{
    color: var(--tp-link);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.tp-link:hover{
    color: var(--tp-link-hover);
}
.tp-link--quiet{
    color: inherit;
    text-decoration: none;
}
.tp-link--quiet:hover{
    color: var(--tp-link);
    text-decoration: underline;
}
.tp-link--external{
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tp-link--external .tp-icon{
    width: 0.875em;
    height: 0.875em;
}
.tp-prose{
    max-width: 70ch;
    font-size: var(--tp-text-body);
    line-height: var(--tp-leading-relaxed);
    color: var(--tp-text);
}
.tp-prose > * + *{ margin-top: 1em; }
.tp-prose :where(h2){ margin-top: 2em; font-size: var(--tp-text-h2); letter-spacing: -0.01em; }
.tp-prose :where(h3){ margin-top: 1.6em; font-size: var(--tp-text-h3); }
.tp-prose :where(h4){ margin-top: 1.4em; font-size: var(--tp-text-body); }
.tp-prose :where(h2, h3, h4) + *{ margin-top: 0.5em; }
.tp-prose :where(ul, ol){ padding-left: 1.4em; }
.tp-prose :where(ul){ list-style: disc; }
.tp-prose :where(ol){ list-style: decimal; }
.tp-prose :where(li) + li{ margin-top: 0.4em; }
.tp-prose :where(li)::marker{ color: var(--tp-text-secondary); }
.tp-prose :where(a){ color: var(--tp-link); text-decoration: underline; }
.tp-prose :where(strong){ font-weight: var(--tp-weight-semibold); }
.tp-prose :where(hr){ border: 0; border-top: 1px solid var(--tp-divider); margin-block: 2em; }
.tp-prose :where(blockquote){ padding-left: 1em; border-left: 3px solid var(--tp-divider); color: var(--tp-text-secondary); }
.tp-prose :where(code){ padding: 0.1em 0.3em; background: var(--tp-surface-raised); border-radius: 4px; }
.tp-prose :where(table){ width: 100%; font-size: var(--tp-text-table); }
.tp-prose :where(th, td){ padding: 8px 12px; border-bottom: 1px solid var(--tp-divider); text-align: left; vertical-align: top; }
.tp-prose :where(th){ background: var(--tp-surface-raised); font-weight: var(--tp-weight-semibold); }
.tp-prose > :first-child{ margin-top: 0; }
.tp-page-header{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-3);
    min-width: 0;
}
.tp-page-header__row{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--tp-space-4);
}
.tp-page-header__main{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-2);
    min-width: 0;
    flex: 1 1 420px;
}
.tp-page-header__subtitle{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body);
    line-height: var(--tp-leading-normal);
    max-width: 70ch;
}
.tp-page-header__meta{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tp-space-2) var(--tp-space-4);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-page-header__actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tp-space-2);
}
.tp-page-header--divided{
    padding-bottom: var(--tp-space-5);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-breadcrumbs__list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tp-space-1);
    list-style: none;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-breadcrumbs__item{
    display: inline-flex;
    align-items: center;
    gap: var(--tp-space-1);
    min-width: 0;
}
.tp-breadcrumbs__item + .tp-breadcrumbs__item::before{
    content: "";
    width: 6px;
    height: 6px;
    margin: 0 6px 0 2px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.7;
}
.tp-breadcrumbs__link{
    color: var(--tp-text-secondary);
    text-decoration: none;
}
.tp-breadcrumbs__link:hover{
    color: var(--tp-link);
    text-decoration: underline;
}
.tp-breadcrumbs__current{
    color: var(--tp-text);
    font-weight: var(--tp-weight-medium);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 40ch;
}
.tp-card{
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--tp-surface);
    color: var(--tp-text);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius-lg);
}
.tp-card__header{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--tp-space-2) var(--tp-space-4);
    padding: var(--tp-space-4) var(--tp-space-4) var(--tp-space-3);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-card__heading{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 240px;
}
.tp-card__title{
    font-size: var(--tp-text-h3);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-card__subtitle{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-card__actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tp-space-2);
    
    min-width: 0;
    max-width: 100%;
}
.tp-card__body{
    flex: 1 1 auto;
    padding: var(--tp-space-4);
    min-width: 0;
}
.tp-card__footer{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-2) var(--tp-space-4);
    padding: var(--tp-space-3) var(--tp-space-4);
    border-top: 1px solid var(--tp-divider);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-card--flush > .tp-card__body{
    padding: 0;
}
.tp-card--flush > .tp-card__body > .tp-table-wrap{
    border-radius: 0 0 var(--tp-radius-lg) var(--tp-radius-lg);
}
.tp-card--flush .tp-table :is(th, td):first-child{ padding-left: var(--tp-space-4); }
.tp-card--flush .tp-table :is(th, td):last-child{ padding-right: var(--tp-space-4); }
.tp-card__body > .tp-empty--compact:only-child{
    padding: 0;
}
.tp-card--raised{
    background: var(--tp-surface-raised);
}
.tp-card--plain > .tp-card__header{
    border-bottom: 0;
    padding-bottom: 0;
}
a.tp-card,
.tp-card--interactive{
    text-decoration: none;
    transition: border-color var(--tp-duration) var(--tp-ease), box-shadow var(--tp-duration) var(--tp-ease);
}
a.tp-card:hover,
.tp-card--interactive:hover{
    border-color: var(--tp-control-border);
    box-shadow: var(--tp-shadow-md);
    color: var(--tp-text);
}
@media (min-width: 768px){.tp-card--flush .tp-table :is(th, td):first-child{ padding-left: var(--tp-space-5); }
.tp-card--flush .tp-table :is(th, td):last-child{ padding-right: var(--tp-space-5); }
.tp-card__header{ padding: var(--tp-space-4) var(--tp-space-5) var(--tp-space-3); }
.tp-card__body{ padding: var(--tp-space-5); }
.tp-card__footer{ padding: var(--tp-space-3) var(--tp-space-5); }}
.tp-btn{
    --tp-btn-bg: var(--tp-surface);
    --tp-btn-fg: var(--tp-text);
    --tp-btn-border: var(--tp-control-border);
    --tp-btn-bg-hover: var(--tp-surface-raised);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tp-space-2);
    min-height: var(--tp-control-height);
    padding: 0 var(--tp-space-4);
    border: 1px solid var(--tp-btn-border);
    border-radius: var(--tp-radius);
    background: var(--tp-btn-bg);
    color: var(--tp-btn-fg);
    font-family: inherit;
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-semibold);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background-color var(--tp-duration) var(--tp-ease), border-color var(--tp-duration) var(--tp-ease), color var(--tp-duration) var(--tp-ease);
}
.tp-btn:hover{
    background: var(--tp-btn-bg-hover);
    color: var(--tp-btn-fg);
}
.tp-btn .tp-icon{
    width: 1.125rem;
    height: 1.125rem;
}
.tp-btn--primary{
    --tp-btn-bg: var(--tp-primary);
    --tp-btn-fg: var(--tp-on-primary);
    --tp-btn-border: var(--tp-primary);
    --tp-btn-bg-hover: var(--tp-primary-hover);
}
.tp-btn--primary:hover{
    border-color: var(--tp-primary-hover);
}
.tp-btn--secondary{
    --tp-btn-bg: var(--tp-surface);
    --tp-btn-fg: var(--tp-text);
    --tp-btn-border: var(--tp-control-border);
}
.tp-btn--ghost{
    --tp-btn-bg: transparent;
    --tp-btn-fg: var(--tp-text);
    --tp-btn-border: transparent;
}
.tp-btn--danger{
    --tp-btn-bg: var(--tp-danger);
    --tp-btn-fg: var(--tp-on-danger);
    --tp-btn-border: var(--tp-danger);
    --tp-btn-bg-hover: var(--tp-danger-hover);
}
.tp-btn--danger:hover{
    border-color: var(--tp-danger-hover);
}
.tp-btn--link{
    --tp-btn-bg: transparent;
    --tp-btn-bg-hover: transparent;
    --tp-btn-fg: var(--tp-link);
    --tp-btn-border: transparent;
    min-height: 0;
    padding: 0;
    border: 0;
    font-weight: var(--tp-weight-medium);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.tp-btn--link:hover{
    color: var(--tp-link-hover);
}
.tp-btn--sm{
    min-height: var(--tp-control-height-sm);
    padding: 0 var(--tp-space-3);
    font-size: var(--tp-text-meta);
    gap: 6px;
}
.tp-btn--sm .tp-icon{
    width: 1rem;
    height: 1rem;
}
.tp-btn--lg{
    min-height: 48px;
    padding: 0 var(--tp-space-5);
    font-size: var(--tp-text-body);
}
.tp-btn--block{
    display: flex;
    width: 100%;
}
.tp-btn--icon{
    width: var(--tp-control-height);
    padding: 0;
}
.tp-btn--icon.tp-btn--sm{
    width: var(--tp-control-height-sm);
}
.tp-btn--icon.tp-btn--lg{
    width: 48px;
}
.tp-btn:disabled,
.tp-btn[aria-disabled="true"]{
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}
.tp-btn.is-loading,
.tp-btn[aria-busy="true"]{
    color: transparent;
    pointer-events: none;
}
.tp-btn.is-loading > *,
.tp-btn[aria-busy="true"] > *{
    visibility: hidden;
}
.tp-btn.is-loading::after,
.tp-btn[aria-busy="true"]::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid var(--tp-btn-fg);
    border-right-color: transparent;
    border-radius: 50%;
    animation: tp-spin 0.7s linear infinite;
}
.tp-btn-group{
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--tp-space-2);
}
.tp-form{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-4);
}
.tp-fieldset{
    border: 0;
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-3);
    min-width: 0;
}
.tp-fieldset > legend{
    margin-bottom: var(--tp-space-2);
    font-weight: var(--tp-weight-semibold);
}
.tp-field{
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.tp-field--inline{
    flex-direction: row;
    align-items: center;
    gap: var(--tp-space-2);
}
.tp-label{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--tp-space-2);
    color: var(--tp-text);
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-label__optional{
    color: var(--tp-text-secondary);
    font-weight: var(--tp-weight-regular);
    font-size: var(--tp-text-meta);
}
.tp-label a{
    font-weight: var(--tp-weight-medium);
    font-size: var(--tp-text-meta);
}
.tp-input,
.tp-select,
.tp-textarea{
    display: block;
    width: 100%;
    min-width: 0;
    min-height: var(--tp-control-height);
    padding: 8px 12px;
    border: 1px solid var(--tp-control-border);
    border-radius: var(--tp-radius);
    background: var(--tp-surface);
    color: var(--tp-text);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color var(--tp-duration) var(--tp-ease), box-shadow var(--tp-duration) var(--tp-ease);
}
.tp-input::placeholder,
.tp-textarea::placeholder{
    color: var(--tp-text-secondary);
    opacity: 1;
}
.tp-input:hover,
.tp-select:hover,
.tp-textarea:hover{
    border-color: var(--tp-text-secondary);
}
.tp-input:focus,
.tp-select:focus,
.tp-textarea:focus{
    border-color: var(--tp-focus);
}
.tp-textarea{
    min-height: 96px;
    resize: vertical;
}
.tp-select{
    padding-right: 36px;
    -webkit-appearance: none;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 52%,
        calc(100% - 13px) 52%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.tp-input[aria-invalid="true"],
.tp-select[aria-invalid="true"],
.tp-textarea[aria-invalid="true"]{
    border-color: var(--tp-negative);
    box-shadow: inset 0 0 0 1px var(--tp-negative);
}
.tp-input:disabled,
.tp-select:disabled,
.tp-textarea:disabled,
.tp-input[readonly]{
    background: var(--tp-surface-raised);
    color: var(--tp-text-secondary);
    cursor: not-allowed;
}
.tp-input--sm,
.tp-select--sm{
    min-height: var(--tp-control-height-sm);
    padding-block: 4px;
    font-size: var(--tp-text-body-sm);
}
.tp-help{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    line-height: var(--tp-leading-normal);
}
.tp-error{
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--tp-negative);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-medium);
    line-height: var(--tp-leading-normal);
}
.tp-error .tp-icon{
    width: 1rem;
    height: 1rem;
    margin-top: 1px;
}
.tp-check{
    display: inline-flex;
    align-items: flex-start;
    gap: var(--tp-space-2);
    min-height: 24px;
    color: var(--tp-text);
    font-size: var(--tp-text-body-sm);
    line-height: var(--tp-leading-normal);
    cursor: pointer;
}
.tp-check input[type="checkbox"],
.tp-check input[type="radio"]{
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--tp-primary);
    cursor: pointer;
}
.tp-input-group{
    position: relative;
    display: flex;
    align-items: center;
}
.tp-input-group__icon{
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tp-text-secondary);
    pointer-events: none;
}
.tp-input-group__icon .tp-icon{
    width: 1.125rem;
    height: 1.125rem;
}
.tp-input-group--icon .tp-input{
    padding-left: 40px;
}
.tp-input-group__action{
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: var(--tp-radius-sm);
    background: transparent;
    color: var(--tp-text-secondary);
}
.tp-input-group__action:hover{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-input-group--action .tp-input{
    padding-right: 44px;
}
.tp-form-status{
    min-height: 1.5em;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-form-status[data-state="success"]{ color: var(--tp-positive); }
.tp-form-status[data-state="error"]{ color: var(--tp-negative); }
.tp-badge{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 2px 8px;
    border-radius: var(--tp-radius-sm);
    background: var(--tp-surface-raised);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
    font-weight: var(--tp-weight-semibold);
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
}
.tp-badge .tp-icon{
    width: 0.875rem;
    height: 0.875rem;
}
.tp-badge--brand{ background: var(--tp-badge-brand-bg); color: var(--tp-badge-brand-text); }
.tp-badge--positive{ background: var(--tp-positive-bg); color: var(--tp-positive); }
.tp-badge--negative{ background: var(--tp-negative-bg); color: var(--tp-negative); }
.tp-badge--warning{ background: var(--tp-warning-bg); color: var(--tp-warning); }
.tp-badge--info{ background: var(--tp-info-bg); color: var(--tp-info); }
.tp-badge--outline{
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--tp-divider);
}
.tp-notice{
    --tp-notice-accent: var(--tp-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: var(--tp-space-3);
    padding: var(--tp-space-3) var(--tp-space-4);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius);
    background: var(--tp-surface-raised);
    color: var(--tp-text);
    font-size: var(--tp-text-body-sm);
    line-height: var(--tp-leading-normal);
}
.tp-notice__icon{
    flex: none;
    margin-top: 1px;
    color: var(--tp-notice-accent);
}
.tp-notice__icon .tp-icon{
    width: 1.25rem;
    height: 1.25rem;
}
.tp-notice__content{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}
.tp-notice__title{
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-notice__body{
    color: var(--tp-text);
}
.tp-notice__body a{
    color: inherit;
    text-decoration: underline;
}
.tp-notice__actions{
    display: flex;
    flex-wrap: wrap;
    gap: var(--tp-space-2);
    margin-top: var(--tp-space-2);
}
.tp-notice--info{ --tp-notice-accent: var(--tp-info); background: var(--tp-info-bg); border-color: var(--tp-info-border); }
.tp-notice--success{ --tp-notice-accent: var(--tp-positive); background: var(--tp-positive-bg); border-color: var(--tp-positive-border); }
.tp-notice--warning{ --tp-notice-accent: var(--tp-warning); background: var(--tp-warning-bg); border-color: var(--tp-warning-border); }
.tp-notice--error{ --tp-notice-accent: var(--tp-negative); background: var(--tp-negative-bg); border-color: var(--tp-negative-border); }
.tp-notice--compact{
    gap: var(--tp-space-2);
    padding: var(--tp-space-2) var(--tp-space-3);
    font-size: var(--tp-text-meta);
}
.tp-notice--compact .tp-notice__title{
    font-size: var(--tp-text-meta);
}
.tp-notice--compact .tp-notice__icon .tp-icon{
    width: 1rem;
    height: 1rem;
}
.tp-empty{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tp-space-3);
    padding: var(--tp-space-6) var(--tp-space-5);
    text-align: center;
    color: var(--tp-text);
}
.tp-empty__icon{
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--tp-radius-pill);
    background: var(--tp-surface-raised);
    color: var(--tp-text-secondary);
}
.tp-empty__icon .tp-icon{
    width: 1.5rem;
    height: 1.5rem;
}
.tp-empty__title{
    font-size: var(--tp-text-h3);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-empty__text{
    max-width: 52ch;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
}
.tp-empty__actions{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--tp-space-2);
    margin-top: var(--tp-space-1);
}
.tp-empty--boxed{
    background: var(--tp-surface);
    border: 1px dashed var(--tp-control-border);
    border-radius: var(--tp-radius-lg);
}
.tp-empty--compact{
    flex-direction: row;
    align-items: flex-start;
    gap: var(--tp-space-3);
    padding: var(--tp-space-4);
    text-align: left;
}
.tp-empty--compact .tp-empty__icon{
    width: 36px;
    height: 36px;
}
.tp-empty--compact .tp-empty__icon .tp-icon{
    width: 1.125rem;
    height: 1.125rem;
}
.tp-empty--compact .tp-empty__title{
    font-size: var(--tp-text-body);
}
.tp-empty--compact .tp-empty__actions{
    justify-content: flex-start;
}
.tp-empty__body{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tp-space-2);
    min-width: 0;
}
.tp-empty--compact .tp-empty__body{
    align-items: flex-start;
    gap: var(--tp-space-1);
}
.tp-table-wrap{
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.tp-table-wrap:focus-visible{
    outline-offset: -3px;
}
.tp-table-wrap--bordered{
    background: var(--tp-surface);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius-lg);
}
.tp-table-wrap--scroll{
    max-height: var(--tp-table-max-height, 70vh);
    overflow-y: auto;
}
.tp-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--tp-text-table);
    line-height: var(--tp-leading-snug);
    color: var(--tp-text);
}
.tp-table caption{
    padding: var(--tp-space-3) var(--tp-space-4);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    text-align: left;
    caption-side: top;
}
.tp-table th,
.tp-table td{
    padding: 12px 16px;
    border-bottom: 1px solid var(--tp-divider);
    text-align: left;
    vertical-align: middle;
}
.tp-table thead th{
    background: var(--tp-surface-raised);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
    font-weight: var(--tp-weight-semibold);
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding-block: 10px;
}
.tp-table tbody th{
    font-weight: var(--tp-weight-semibold);
}
.tp-table .tp-table__group-row > th{
    padding-top: var(--tp-space-4);
    background: var(--tp-surface-raised);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
    font-weight: var(--tp-weight-semibold);
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}
.tp-table tbody tr.tp-table__group-row:hover{
    background: var(--tp-surface-raised);
}
.tp-table tbody tr:last-child > *{
    border-bottom: 0;
}
.tp-table tbody tr{
    transition: background-color var(--tp-duration) var(--tp-ease);
}
.tp-table tbody tr:hover{
    background: var(--tp-surface-hover);
}
.tp-table :is(th, td).tp-num,
.tp-table :is(th, td).tp-table__num{
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.tp-table :is(th, td).tp-table__center{
    text-align: center;
}
.tp-table__nowrap{
    white-space: nowrap;
}
.tp-table--compact th,
.tp-table--compact td{
    padding: 8px 12px;
}
.tp-table--compact thead th{
    padding-block: 8px;
}
.tp-table--sticky thead th{
    position: sticky;
    top: 0;
    z-index: var(--tp-z-raised);
}
.tp-table--sticky-first :is(tbody, thead) tr > :first-child{
    min-width: 160px;
    position: sticky;
    left: 0;
    z-index: var(--tp-z-raised);
    background: var(--tp-surface);
    
    box-shadow: inset -1px 0 0 var(--tp-divider);
}
.tp-table--sticky-first thead tr > :first-child{
    z-index: calc(var(--tp-z-raised) + 1);
    background: var(--tp-surface-raised);
}
.tp-table--sticky-first tbody tr:hover > :first-child{
    background: var(--tp-surface-hover);
}
.tp-table__sort{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: -4px -6px;
    padding: 4px 6px;
    border: 0;
    border-radius: var(--tp-radius-sm);
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    white-space: nowrap;
}
.tp-table__sort:hover{
    background: var(--tp-surface-hover);
    color: var(--tp-text);
}
.tp-table__sort-icon{
    position: relative;
    display: inline-block;
    flex: none;
    width: 8px;
    height: 12px;
    opacity: 0.45;
}
.tp-table__sort-icon::before,
.tp-table__sort-icon::after{
    content: "";
    position: absolute;
    left: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}
.tp-table__sort-icon::before{
    top: 0;
    border-bottom: 5px solid currentColor;
}
.tp-table__sort-icon::after{
    bottom: 0;
    border-top: 5px solid currentColor;
}
[aria-sort="ascending"] > .tp-table__sort,
[aria-sort="descending"] > .tp-table__sort{
    color: var(--tp-text);
}
[aria-sort="ascending"] > .tp-table__sort .tp-table__sort-icon,
[aria-sort="descending"] > .tp-table__sort .tp-table__sort-icon{
    opacity: 1;
}
[aria-sort="ascending"] > .tp-table__sort .tp-table__sort-icon::before{ top: 3px; }
[aria-sort="ascending"] > .tp-table__sort .tp-table__sort-icon::after{ display: none; }
[aria-sort="descending"] > .tp-table__sort .tp-table__sort-icon::after{ bottom: 3px; }
[aria-sort="descending"] > .tp-table__sort .tp-table__sort-icon::before{ display: none; }
.tp-table th.tp-num .tp-table__sort{
    flex-direction: row-reverse;
}
.tp-table tr:has(.tp-table__row-link){
    position: relative;
    cursor: pointer;
}
.tp-table__row-link{
    color: var(--tp-text);
    font-weight: var(--tp-weight-semibold);
    text-decoration: none;
}
.tp-table__row-link::after{
    content: "";
    position: absolute;
    inset: 0;
}
.tp-table__row-link:hover{
    color: var(--tp-link);
    text-decoration: underline;
}
.tp-table__row-link:focus-visible{
    outline: none;
}
.tp-table__row-link:focus-visible::after{
    outline: 3px solid var(--tp-focus);
    outline-offset: -3px;
}
.tp-table tr:has(.tp-table__row-link) :is(a, button, input, select):not(.tp-table__row-link){
    position: relative;
    z-index: var(--tp-z-raised);
}
.tp-asset{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.tp-asset__symbol{
    font-weight: var(--tp-weight-semibold);
    color: var(--tp-text);
    white-space: nowrap;
}
.tp-asset--wrap .tp-asset__name,
.tp-asset--wrap .tp-asset__symbol{
    white-space: normal;
    overflow-wrap: anywhere;
}
.tp-asset__name{
    max-width: 32ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
}
.tp-change{
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    font-weight: var(--tp-weight-semibold);
    white-space: nowrap;
}
.tp-change__icon{
    width: 1em;
    height: 1em;
}
.tp-change--up{ color: var(--tp-positive); }
.tp-change--down{ color: var(--tp-negative); }
.tp-change--flat,
.tp-change--na{ color: var(--tp-text-secondary); font-weight: var(--tp-weight-medium); }
.tp-change--badge{
    padding: 2px 8px;
    border-radius: var(--tp-radius-sm);
    font-size: var(--tp-text-meta);
}
.tp-change--badge.tp-change--up{ background: var(--tp-positive-bg); }
.tp-change--badge.tp-change--down{ background: var(--tp-negative-bg); }
.tp-change--badge.tp-change--flat,
.tp-change--badge.tp-change--na{ background: var(--tp-surface-raised); }
.tp-change--lg{
    font-size: var(--tp-text-h3);
}
.tp-metric{
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.tp-metric__label{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-medium);
    line-height: var(--tp-leading-snug);
}
.tp-metric__value{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    color: var(--tp-text);
    font-size: 1.375rem;
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-tight);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}
.tp-metric__unit{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-medium);
    letter-spacing: 0;
}
.tp-metric__value .tp-change{
    font-size: var(--tp-text-meta);
    letter-spacing: 0;
}
.tp-metric__value > .tp-change:only-child{
    font-size: inherit;
}
.tp-metric__meta{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
}
.tp-metric--unavailable .tp-metric__value{
    color: var(--tp-text-secondary);
}
.tp-metric--sm .tp-metric__value{ font-size: var(--tp-text-body); }
.tp-metric--lg .tp-metric__value{ font-size: 1.75rem; }
.tp-metric-strip{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--tp-metric-min, 150px)), 1fr));
    background: var(--tp-surface);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius-lg);
    overflow: hidden;
}
.tp-metric-strip > .tp-metric{
    margin: 0 -1px -1px 0;
    padding: var(--tp-space-3) var(--tp-space-4);
    border-right: 1px solid var(--tp-divider);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-metric-strip--plain{
    gap: var(--tp-space-4) var(--tp-space-5);
    background: transparent;
    border: 0;
    border-radius: 0;
}
.tp-metric-strip--plain > .tp-metric{
    margin: 0;
    padding: 0;
    border: 0;
}
.tp-source{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    line-height: var(--tp-leading-normal);
}
.tp-source__item{
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.tp-source__item .tp-icon{
    width: 0.875rem;
    height: 0.875rem;
}
.tp-source a{
    color: var(--tp-link);
}
.tp-source time{
    font-variant-numeric: tabular-nums;
}
.tp-source__relative{
    color: var(--tp-text-secondary);
}
.tp-tabs{
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.tp-tablist{
    display: flex;
    gap: var(--tp-space-1);
    border-bottom: 1px solid var(--tp-divider);
    overflow-x: auto;
    scrollbar-width: none;
}
.tp-tablist::-webkit-scrollbar{
    display: none;
}
.tp-tab{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    min-height: 44px;
    padding: 0 var(--tp-space-3);
    border: 0;
    background: transparent;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-medium);
    text-decoration: none;
    white-space: nowrap;
}
.tp-tab:hover{
    color: var(--tp-text);
}
.tp-tab[aria-selected="true"],
.tp-tab[aria-current]{
    color: var(--tp-text);
    font-weight: var(--tp-weight-semibold);
}
.tp-tab[aria-selected="true"]::after,
.tp-tab[aria-current]::after{
    content: "";
    position: absolute;
    left: var(--tp-space-2);
    right: var(--tp-space-2);
    bottom: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--tp-primary);
}
.tp-tab:focus-visible{
    outline-offset: -3px;
}
.tp-tab__count{
    padding: 0 6px;
    border-radius: var(--tp-radius-pill);
    background: var(--tp-surface-raised);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
    font-variant-numeric: tabular-nums;
}
.tp-tabpanel{
    padding-top: var(--tp-space-4);
    min-width: 0;
}
.tp-tabpanel:focus-visible{
    outline-offset: 4px;
}
.tp-chip-group{
    display: flex;
    flex-wrap: wrap;
    gap: var(--tp-space-2);
}
.tp-chip{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--tp-control-border);
    border-radius: var(--tp-radius-pill);
    background: var(--tp-surface);
    color: var(--tp-text);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-medium);
    text-decoration: none;
    white-space: nowrap;
}
.tp-chip:hover{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-chip[aria-pressed="true"],
.tp-chip[aria-current],
.tp-chip[aria-checked="true"]{
    border-color: var(--tp-inverse-bg);
    background: var(--tp-inverse-bg);
    color: var(--tp-inverse-text);
    font-weight: var(--tp-weight-semibold);
}
.tp-chip .tp-icon{
    width: 0.875rem;
    height: 0.875rem;
}
.tp-chip__remove{
    margin-right: -6px;
}
.tp-segmented{
    display: inline-flex;
    max-width: 100%;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius);
    background: var(--tp-surface-raised);
    overflow-x: auto;
    scrollbar-width: none;
}
.tp-segmented__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 0 auto;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--tp-radius-sm);
    background: transparent;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-medium);
    text-decoration: none;
    white-space: nowrap;
}
.tp-segmented__btn:hover{
    color: var(--tp-text);
}
.tp-segmented__btn[aria-pressed="true"],
.tp-segmented__btn[aria-current],
.tp-segmented__btn[aria-checked="true"],
.tp-segmented__btn[aria-selected="true"]{
    background: var(--tp-surface);
    color: var(--tp-text);
    font-weight: var(--tp-weight-semibold);
    box-shadow: var(--tp-shadow-sm), 0 0 0 1px var(--tp-divider);
}
.tp-segmented__btn .tp-icon{
    width: 1rem;
    height: 1rem;
}
@media (max-width: 639px){.tp-theme-switch--compact .tp-theme-switch__label{
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
.tp-theme-switch--compact .tp-segmented__btn{
        min-width: 40px;
        padding: 0 10px;
    }}
.tp-toolbar{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--tp-space-3);
    min-width: 0;
}
.tp-card > .tp-toolbar{
    padding: var(--tp-space-3) var(--tp-space-4);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-toolbar__grow{
    flex: 1 1 240px;
    min-width: 0;
}
.tp-toolbar__meta{
    margin-left: auto;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    align-self: center;
}
@media (min-width: 768px){.tp-card > .tp-toolbar{ padding: var(--tp-space-3) var(--tp-space-5); }}
.tp-pagination{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-3);
}
.tp-pagination__summary{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-pagination__list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.tp-pagination__link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius);
    background: var(--tp-surface);
    color: var(--tp-text);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-medium);
    font-variant-numeric: tabular-nums;
    text-decoration: none;
}
.tp-pagination__link:hover{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-pagination__link[aria-current="page"]{
    border-color: var(--tp-inverse-bg);
    background: var(--tp-inverse-bg);
    color: var(--tp-inverse-text);
}
.tp-pagination__link[aria-disabled="true"]{
    color: var(--tp-text-secondary);
    background: transparent;
    pointer-events: none;
    opacity: 0.7;
}
.tp-pagination__gap{
    padding: 0 4px;
    color: var(--tp-text-secondary);
}
.tp-pagination__link .tp-icon{
    width: 1rem;
    height: 1rem;
}
.tp-dl{
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.tp-dl__row{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px var(--tp-space-4);
    padding: 10px 0;
    border-bottom: 1px solid var(--tp-divider);
}
.tp-dl__row:last-child{
    border-bottom: 0;
}
.tp-dl dt{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-dl dd{
    color: var(--tp-text);
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-medium);
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}
.tp-dl--stacked .tp-dl__row{
    flex-direction: column;
    align-items: stretch;
}
.tp-dl--stacked dd{
    text-align: left;
}
.tp-dl--grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 0 var(--tp-space-5);
}
.tp-dl--grid .tp-dl__row:last-child{
    border-bottom: 1px solid var(--tp-divider);
}
.tp-dialog{
    width: min(560px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius-lg);
    background: var(--tp-surface);
    color: var(--tp-text);
    box-shadow: var(--tp-shadow-lg);
    overflow: hidden;
}
.tp-dialog[open]{
    display: flex;
    flex-direction: column;
    animation: tp-dialog-in 160ms var(--tp-ease);
}
.tp-dialog::backdrop{
    background: var(--tp-overlay);
}
.tp-dialog--sm{ width: min(420px, calc(100vw - 32px)); }
.tp-dialog--lg{ width: min(860px, calc(100vw - 32px)); }
.tp-dialog__header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--tp-space-4);
    padding: var(--tp-space-4) var(--tp-space-4) var(--tp-space-3) var(--tp-space-5);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-dialog__heading{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-top: 6px;
}
.tp-dialog__title{
    font-size: var(--tp-text-h2);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-dialog__subtitle{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-dialog__body{
    flex: 1 1 auto;
    min-height: 0;
    padding: var(--tp-space-5);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.tp-dialog__footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--tp-space-2);
    padding: var(--tp-space-3) var(--tp-space-5);
    border-top: 1px solid var(--tp-divider);
}
.tp-dialog--drawer{
    width: min(400px, calc(100vw - 40px));
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0 0 0 auto;
    border: 0;
    border-left: 1px solid var(--tp-divider);
    border-radius: 0;
}
.tp-dialog--drawer[open]{
    animation: tp-drawer-in 200ms var(--tp-ease);
}
.tp-dialog--drawer .tp-dialog__header{
    align-items: center;
    min-height: var(--tp-header-height);
    padding-block: var(--tp-space-2);
}
.tp-dialog--drawer .tp-dialog__heading{
    padding-top: 0;
}
html.tp-scroll-locked{
    overflow: hidden;
}
.tp-evidence{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-5);
}
.tp-evidence__heading{
    margin-bottom: var(--tp-space-2);
    font-size: var(--tp-text-body);
    font-weight: var(--tp-weight-semibold);
}
.tp-evidence__summary{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-3);
    padding: var(--tp-space-4);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius);
    background: var(--tp-surface-raised);
}
.tp-evidence__catalyst{
    font-size: var(--tp-text-body);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-evidence__list{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-3);
    list-style: none;
}
.tp-evidence-item{
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--tp-space-3) var(--tp-space-4);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius);
    background: var(--tp-surface);
}
.tp-evidence-item__meta{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px var(--tp-space-3);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-evidence-item__source{
    color: var(--tp-text);
    font-weight: var(--tp-weight-semibold);
}
.tp-evidence-item__headline{
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-snug);
}
.tp-evidence-item__snippet{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
}
.tp-evidence__feedback{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-3);
    padding-top: var(--tp-space-4);
    border-top: 1px solid var(--tp-divider);
}
.tp-toast-region{
    position: fixed;
    left: 50%;
    bottom: var(--tp-space-4);
    z-index: var(--tp-z-toast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tp-space-2);
    width: min(440px, calc(100vw - 32px));
    transform: translateX(-50%);
    pointer-events: none;
}
.tp-toast{
    display: flex;
    align-items: center;
    gap: var(--tp-space-3);
    width: 100%;
    padding: 10px 10px 10px 14px;
    border-radius: var(--tp-radius);
    background: var(--tp-inverse-bg);
    color: var(--tp-inverse-text);
    box-shadow: var(--tp-shadow-lg);
    font-size: var(--tp-text-body-sm);
    pointer-events: auto;
    animation: tp-toast-in 180ms var(--tp-ease);
}
.tp-toast__icon{
    flex: none;
    display: inline-flex;
}
.tp-toast--success .tp-toast__icon{ color: var(--tp-inverse-positive); }
.tp-toast--error .tp-toast__icon{ color: var(--tp-inverse-negative); }
.tp-toast__message{
    flex: 1 1 auto;
    min-width: 0;
}
.tp-toast__close{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: var(--tp-radius-sm);
    background: transparent;
    color: inherit;
    opacity: 0.8;
}
.tp-toast__close:hover{
    opacity: 1;
}
.tp-toast__close:focus-visible{
    outline-color: currentColor;
}
.tp-skeleton{
    display: block;
    height: 1rem;
    border-radius: var(--tp-radius-sm);
    background: var(--tp-skeleton);
    animation: tp-pulse 1.4s ease-in-out infinite;
}
.tp-skeleton--text{ height: 0.875rem; width: 100%; }
.tp-skeleton--title{ height: 1.5rem; width: 45%; }
.tp-skeleton--block{ height: var(--tp-skeleton-height, 160px); border-radius: var(--tp-radius); }
.tp-skeleton--circle{ width: 40px; height: 40px; border-radius: 50%; }
.tp-spinner{
    display: inline-block;
    width: 1rem;
    height: 1rem;
    flex: none;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: tp-spin 0.7s linear infinite;
    vertical-align: middle;
}
.tp-spinner--lg{
    width: 1.5rem;
    height: 1.5rem;
    border-width: 3px;
}
.tp-loading{
    display: inline-flex;
    align-items: center;
    gap: var(--tp-space-2);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
}
.tp-hero{
    padding-block: var(--tp-space-7);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-hero__inner{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-4);
    max-width: 820px;
}
.tp-hero__eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tp-brand-accent);
    font-size: var(--tp-text-micro);
    font-weight: var(--tp-weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.tp-hero__eyebrow::before{
    content: "";
    width: 24px;
    height: 2px;
    background: currentColor;
}
.tp-hero__title{
    font-size: var(--tp-text-display);
    font-weight: var(--tp-weight-semibold);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.tp-hero__lead{
    max-width: 62ch;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-lead);
    line-height: var(--tp-leading-relaxed);
}
.tp-hero__actions{
    display: flex;
    flex-wrap: wrap;
    gap: var(--tp-space-3);
    margin-top: var(--tp-space-2);
}
.tp-hero__meta{
    display: flex;
    flex-wrap: wrap;
    gap: var(--tp-space-2) var(--tp-space-5);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
@media (min-width: 1024px){.tp-hero{ padding-block: var(--tp-space-8) var(--tp-space-7); }}
.tp-instrument{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-4);
    min-width: 0;
}
.tp-instrument__top{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--tp-space-4);
}
.tp-instrument__identity{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-2);
    min-width: 0;
    flex: 1 1 360px;
}
.tp-instrument__tags{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tp-instrument__title{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    font-size: var(--tp-text-h1);
    font-weight: var(--tp-weight-semibold);
    line-height: var(--tp-leading-tight);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}
.tp-instrument__symbol{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-h3);
    font-weight: var(--tp-weight-medium);
    letter-spacing: 0;
}
.tp-instrument__meta{
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-instrument__actions{
    display: flex;
    flex-wrap: wrap;
    gap: var(--tp-space-2);
}
.tp-instrument__quote{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--tp-space-1) var(--tp-space-3);
}
.tp-instrument__quote-label{
    flex: 1 0 100%;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-medium);
}
.tp-instrument__price{
    font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem);
    font-weight: var(--tp-weight-semibold);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.tp-instrument__unit{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-medium);
}
.tp-instrument__change{
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-size: var(--tp-text-body);
}
.tp-instrument__unavailable{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body);
    font-weight: var(--tp-weight-medium);
}
.tp-instrument--card{
    padding: var(--tp-space-5);
    background: var(--tp-surface);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius-lg);
}
.tp-toc{
    font-size: var(--tp-text-body-sm);
}
.tp-toc__details{
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius);
    background: var(--tp-surface);
}
.tp-toc__summary{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-2);
    min-height: 44px;
    padding: 0 var(--tp-space-4);
    font-weight: var(--tp-weight-semibold);
    list-style: none;
}
.tp-toc__summary::-webkit-details-marker{
    display: none;
}
.tp-toc__summary .tp-icon{
    width: 1rem;
    height: 1rem;
    color: var(--tp-text-secondary);
    transition: transform var(--tp-duration) var(--tp-ease);
}
.tp-toc__details[open] .tp-toc__summary .tp-icon{
    transform: rotate(180deg);
}
.tp-disclosure{
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius);
    background: var(--tp-surface);
}
.tp-disclosure + .tp-disclosure{
    margin-top: var(--tp-space-2);
}
.tp-disclosure > summary{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-3);
    min-height: 44px;
    padding: var(--tp-space-3) var(--tp-space-4);
    color: var(--tp-text);
    font-weight: var(--tp-weight-semibold);
    list-style: none;
    cursor: pointer;
}
.tp-disclosure > summary::-webkit-details-marker{
    display: none;
}
.tp-disclosure > summary::after{
    content: "";
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--tp-text-secondary);
    border-bottom: 2px solid var(--tp-text-secondary);
    transform: rotate(45deg);
    transition: transform var(--tp-duration) var(--tp-ease);
}
.tp-disclosure[open] > summary::after{
    transform: rotate(-135deg);
}
.tp-disclosure__body{
    padding: 0 var(--tp-space-4) var(--tp-space-4);
    color: var(--tp-text-secondary);
}
.tp-toc__list{
    list-style: none;
    display: grid;
    gap: 2px;
    padding: 0 var(--tp-space-2) var(--tp-space-3);
    counter-reset: none;
}
.tp-toc__link{
    display: block;
    padding: 6px var(--tp-space-2);
    border-radius: var(--tp-radius-sm);
    color: var(--tp-text-secondary);
    text-decoration: none;
    line-height: var(--tp-leading-snug);
}
.tp-toc__link:hover{
    color: var(--tp-text);
    background: var(--tp-surface-raised);
}
.tp-toc__link[aria-current]{
    color: var(--tp-text);
    font-weight: var(--tp-weight-semibold);
    box-shadow: inset 2px 0 0 var(--tp-primary);
    border-radius: 0 var(--tp-radius-sm) var(--tp-radius-sm) 0;
}
.tp-picker{
    position: relative;
    min-width: 0;
}
.tp-picker__panel{
    right: 0;
    min-width: min(100%, 280px);
    max-height: min(26rem, 60vh);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.tp-picker__listbox{
    list-style: none;
    display: grid;
    gap: 2px;
}
.tp-picker__option{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-3);
    min-height: 44px;
    padding: var(--tp-space-2) var(--tp-space-3);
    border-radius: var(--tp-radius);
    color: var(--tp-text);
    font-size: var(--tp-text-body-sm);
    line-height: var(--tp-leading-snug);
    cursor: pointer;
}
.tp-picker__option:hover,
.tp-picker__option[aria-selected="true"]{
    background: var(--tp-surface-raised);
}
.tp-picker__option[aria-selected="true"]{
    box-shadow: inset 3px 0 0 var(--tp-focus);
}
.tp-picker__option-text{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.tp-picker__symbol{
    font-weight: var(--tp-weight-semibold);
}
.tp-picker__meta{
    overflow: hidden;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tp-picker__quote{
    flex: none;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    font-variant-numeric: tabular-nums;
    text-align: right;
}
.tp-picker__message{
    padding: var(--tp-space-2) var(--tp-space-3);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-auth-body{
    background: var(--tp-canvas);
}
.tp-auth-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-3);
    min-height: 64px;
}
.tp-auth-main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: var(--tp-space-4) var(--tp-gutter) var(--tp-space-7);
}
.tp-auth-card{
    width: 100%;
    max-width: 440px;
    padding: var(--tp-space-5);
    background: var(--tp-surface);
    border: 1px solid var(--tp-divider);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-md);
}
.tp-auth-card--wide{
    max-width: 560px;
}
.tp-auth-footer{
    padding-block: var(--tp-space-4) var(--tp-space-5);
    border-top: 1px solid var(--tp-divider);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-auth-footer__inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-2) var(--tp-space-5);
}
.tp-auth-footer__links{
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--tp-space-4);
    list-style: none;
}
@media (min-width: 640px){.tp-auth-main{
        justify-content: center;
        padding-top: var(--tp-space-6);
    }
.tp-auth-card{
        padding: var(--tp-space-6);
    }}
.tp-account__layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tp-space-5);
    align-items: start;
}
.tp-account__nav{
    min-width: 0;
}
.tp-account__nav-list{
    display: flex;
    gap: var(--tp-space-1);
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--tp-divider);
}
.tp-account__nav-list::-webkit-scrollbar{
    display: none;
}
.tp-account__nav-link{
    display: flex;
    align-items: center;
    gap: var(--tp-space-2);
    min-height: 44px;
    padding: 0 var(--tp-space-3);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-medium);
    text-decoration: none;
    white-space: nowrap;
    border-radius: var(--tp-radius);
}
.tp-account__nav-link:hover{
    color: var(--tp-text);
    background: var(--tp-surface-raised);
}
.tp-account__nav-link[aria-current]{
    color: var(--tp-text);
    font-weight: var(--tp-weight-semibold);
    box-shadow: inset 0 -2px 0 var(--tp-primary);
    border-radius: var(--tp-radius) var(--tp-radius) 0 0;
}
.tp-account__nav-link .tp-icon{
    width: 1.125rem;
    height: 1.125rem;
}
.tp-account__content{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-5);
    min-width: 0;
}
@media (min-width: 1024px){.tp-account__layout{
        grid-template-columns: 232px minmax(0, 1fr);
        gap: var(--tp-space-6);
    }
.tp-account__nav{
        position: sticky;
        top: var(--tp-sticky-offset);
    }
.tp-account__nav-list{
        flex-direction: column;
        border-bottom: 0;
    }
.tp-account__nav-link[aria-current]{
        background: var(--tp-surface);
        box-shadow: inset 3px 0 0 var(--tp-primary), 0 0 0 1px var(--tp-divider);
        border-radius: var(--tp-radius);
    }}
.tp-reading__layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tp-space-5);
    align-items: start;
}
.tp-reading__toc{
    min-width: 0;
}
.tp-reading__body{
    min-width: 0;
}
@media (min-width: 1024px){.tp-reading--with-toc .tp-reading__layout{
        grid-template-columns: 240px minmax(0, 1fr);
        gap: var(--tp-space-7);
    }
.tp-reading__toc{
        position: sticky;
        top: var(--tp-sticky-offset);
        max-height: calc(100vh - var(--tp-sticky-offset) - var(--tp-space-4));
        overflow-y: auto;
    }
.tp-reading__toc .tp-toc__details{
        border: 0;
        background: transparent;
    }
.tp-reading__toc .tp-toc__summary{
        min-height: 32px;
        padding: 0 var(--tp-space-2);
        color: var(--tp-text-secondary);
        font-size: var(--tp-text-micro);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        pointer-events: none;
    }
.tp-reading__toc .tp-toc__summary .tp-icon{
        display: none;
    }
.tp-reading__toc .tp-toc__list{
        padding: 0;
    }}
.tp-admin-body{
    background: var(--tp-canvas);
}
.tp-admin-bar{
    position: sticky;
    top: 0;
    z-index: var(--tp-z-header);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-admin-bar__inner{
    display: flex;
    align-items: center;
    gap: var(--tp-space-2);
    min-height: 56px;
    padding-inline: var(--tp-gutter);
}
.tp-admin-bar__brand{
    display: flex;
    align-items: center;
    gap: var(--tp-space-2);
    margin-right: auto;
    min-width: 0;
}
@media (max-width: 479px){.tp-admin-bar .tp-logo__word{
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }}
.tp-admin{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    flex: 1 0 auto;
}
.tp-admin__nav{
    display: none;
    padding: var(--tp-space-3) var(--tp-space-3) var(--tp-space-5);
    background: var(--tp-surface);
    border-bottom: 1px solid var(--tp-divider);
}
.tp-admin__nav[data-open]{
    display: block;
}
.tp-admin__nav-group + .tp-admin__nav-group{
    margin-top: var(--tp-space-4);
}
.tp-admin__nav-heading{
    padding: 0 var(--tp-space-3) var(--tp-space-1);
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-micro);
    font-weight: var(--tp-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tp-admin__nav-list{
    list-style: none;
    display: grid;
    gap: 2px;
}
.tp-admin__nav-link{
    display: flex;
    align-items: center;
    gap: var(--tp-space-3);
    min-height: 40px;
    padding: 0 var(--tp-space-3);
    border-radius: var(--tp-radius);
    color: var(--tp-text);
    font-size: var(--tp-text-body-sm);
    font-weight: var(--tp-weight-medium);
    text-decoration: none;
}
.tp-admin__nav-link .tp-icon{
    width: 1.125rem;
    height: 1.125rem;
    color: var(--tp-text-secondary);
}
.tp-admin__nav-link:hover{
    background: var(--tp-surface-raised);
    color: var(--tp-text);
}
.tp-admin__nav-link[aria-current]{
    background: var(--tp-surface-raised);
    box-shadow: inset 3px 0 0 var(--tp-primary);
    font-weight: var(--tp-weight-semibold);
}
.tp-admin__main{
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-5);
    min-width: 0;
    padding: var(--tp-space-5) var(--tp-gutter) var(--tp-space-7);
}
.tp-admin__main:focus{
    outline: none;
}
.tp-admin .tp-table th,
.tp-admin .tp-table td{
    padding: 10px 12px;
}
@media (min-width: 1024px){.tp-admin{
        grid-template-columns: 248px minmax(0, 1fr);
    }
.tp-admin__nav,
    .tp-admin__nav[data-open]{
        display: block;
        position: sticky;
        top: 56px;
        height: calc(100vh - 56px);
        overflow-y: auto;
        border-bottom: 0;
        border-right: 1px solid var(--tp-divider);
    }
.tp-admin__main{
        padding: var(--tp-space-6) var(--tp-space-6) var(--tp-space-8);
    }
.tp-admin-bar__menu{
        display: none;
    }}
.tp-text-secondary{ color: var(--tp-text-secondary); }
.tp-text-positive{ color: var(--tp-positive); }
.tp-text-negative{ color: var(--tp-negative); }
.tp-text-warning{ color: var(--tp-warning); }
.tp-text-meta{ color: var(--tp-text-secondary); font-size: var(--tp-text-meta); }
.tp-text-sm{ font-size: var(--tp-text-body-sm); }
.tp-text-right{ text-align: right; }
.tp-text-center{ text-align: center; }
.tp-font-medium{ font-weight: var(--tp-weight-medium); }
.tp-font-semibold{ font-weight: var(--tp-weight-semibold); }
.tp-nowrap{ white-space: nowrap; }
.tp-truncate{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tp-w-full{ width: 100%; }
.tp-measure{ max-width: 70ch; }
.tp-list-reset{ list-style: none; }
.tp-divider{ height: 1px; border: 0; background: var(--tp-divider); }
.tp-surface{ background: var(--tp-surface); }
.tp-mt-0{ margin-top: 0; }
.tp-mt-1{ margin-top: var(--tp-space-1); }
.tp-mt-2{ margin-top: var(--tp-space-2); }
.tp-mt-3{ margin-top: var(--tp-space-3); }
.tp-mt-4{ margin-top: var(--tp-space-4); }
.tp-mt-5{ margin-top: var(--tp-space-5); }
.tp-mt-6{ margin-top: var(--tp-space-6); }
.tp-mb-0{ margin-bottom: 0; }
.tp-mb-2{ margin-bottom: var(--tp-space-2); }
.tp-mb-4{ margin-bottom: var(--tp-space-4); }
.tp-ml-auto{ margin-left: auto; }
@media (max-width: 767px){.tp-hide-mobile{ display: none; }}
@media (min-width: 768px){.tp-hide-desktop{ display: none; }}
@keyframes tp-spin{
    to { transform: rotate(360deg); }
}
@keyframes tp-pulse{
    50% { opacity: 0.55; }
}
@keyframes tp-dialog-in{
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
}
@keyframes tp-drawer-in{
    from { transform: translateX(24px); opacity: 0; }
}
@keyframes tp-toast-in{
    from { opacity: 0; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce){.tp-skeleton{
        animation: none;
    }}
@media print{:root,
    :root:not([data-theme="light"]),
    :root[data-theme="dark"]{
        color-scheme: light;
        --tp-logo-ink: #64696E;
        --tp-logo-accent: #1CC78B;
        --tp-canvas: #FFFFFF;
        --tp-surface: #FFFFFF;
        --tp-surface-raised: #F0F3F7;
        --tp-surface-hover: #EEF2F6;
        --tp-text: #000000;
        --tp-text-secondary: #333333;
        --tp-divider: #BBBBBB;
        --tp-control-border: #758398;
        --tp-primary: #065F46;
        --tp-primary-hover: #064E3B;
        --tp-on-primary: #FFFFFF;
        --tp-danger: #991B1B;
        --tp-danger-hover: #7F1D1D;
        --tp-on-danger: #FFFFFF;
        --tp-positive: #065F46;
        --tp-negative: #991B1B;
        --tp-warning: #92400E;
        --tp-info: #1E40AF;
        --tp-link: #000000;
        --tp-link-hover: #000000;
        --tp-positive-bg: #E8F5EF;
        --tp-negative-bg: #FCECED;
        --tp-warning-bg: #FFF4DC;
        --tp-info-bg: #EAF0FB;
        --tp-positive-border: #9FD3BC;
        --tp-negative-border: #F1B8BC;
        --tp-warning-border: #EBCB8B;
        --tp-info-border: #B9CBF2;
        --tp-badge-brand-bg: #0B1523;
        --tp-badge-brand-text: #F4F7FB;
        --tp-inverse-bg: #152536;
        --tp-inverse-text: #F4F7FB;
        --tp-inverse-positive: #6EE7B7;
        --tp-inverse-negative: #FDA4AF;
        --tp-focus: #1E40AF;
        --tp-overlay: rgb(5 12 22 / 0.6);
        --tp-shadow-sm: none;
        --tp-shadow-md: none;
        --tp-shadow-lg: none;
        --tp-skeleton: #E4E9EF;
    }
.tp-site-header,
    .tp-ticker,
    .tp-skip-link,
    .tp-consent-banner,
    .tp-toast-region,
    .tp-site-footer__top,
    .tp-site-footer__bottom,
    .tp-reading__toc,
    .tp-account__nav,
    .tp-admin-bar,
    .tp-admin__nav,
    .tp-auth-header,
    .tp-page-header__actions,
    .tp-instrument__actions,
    dialog{
        display: none !important;
    }
.tp-container{
        max-width: none;
        padding: 0;
    }
.tp-prose{
        max-width: none;
    }
.tp-prose a[href^="http"]::after{
        content: " (" attr(href) ")";
        font-size: 0.85em;
        overflow-wrap: anywhere;
    }
.tp-card,
    .tp-notice,
    .tp-evidence-item,
    .tp-prose :where(h2, h3){
        break-inside: avoid;
    }
.tp-prose :where(h2, h3){
        break-after: avoid;
    }
.tp-site-footer{
        margin-top: 24pt;
        border-top: 1px solid #BBBBBB;
    }}
.tp-instrument__local{
    margin: calc(-1 * var(--tp-space-2)) 0 0;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-body-sm);
    font-variant-numeric: tabular-nums;
}
.tp-local-amount{
    color: var(--tp-text-secondary);
    font-variant-numeric: tabular-nums;
}
.tp-local-amount[title]{
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    cursor: help;
}
.tp-locale-form{
    display: grid;
    gap: var(--tp-space-3);
}
.tp-locale-form .tp-field{
    margin: 0;
}
.tp-locale-form__actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tp-space-2);
}
.tp-locale-form__note{
    margin: 0;
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
    line-height: var(--tp-leading-relaxed);
}
.tp-locale-menu__panel{
    width: 320px;
    padding: var(--tp-space-4);
}
.tp-locale-menu__code{
    font-size: var(--tp-text-meta);
    font-weight: var(--tp-weight-semibold);
    letter-spacing: 0.02em;
}
.tp-locale-menu__code:empty{
    display: none;
}
.tp-locale-footer{
    flex: 1 1 100%;
}
.tp-locale-footer > summary{
    display: inline-flex;
    align-items: center;
    gap: var(--tp-space-1);
    min-height: 32px;
    color: var(--tp-text-secondary);
    cursor: pointer;
}
.tp-locale-footer > summary:hover{
    color: var(--tp-text);
}
.tp-locale-footer[open] > summary{
    margin-bottom: var(--tp-space-3);
}
@media (min-width: 768px){.tp-locale-footer .tp-locale-form{
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
        max-width: 960px;
    }
.tp-locale-footer .tp-locale-form__actions,
    .tp-locale-footer .tp-locale-form__note{
        grid-column: 1 / -1;
    }}
.tp-instrument-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tp-space-2);
}
.tp-instrument-actions__status{
    flex: 1 0 100%;
    min-height: 0;
}
.tp-instrument-actions__status:empty{
    display: none;
}
.tp-instrument-summary{
    max-width: 75ch;
    margin: 0;
    color: var(--tp-text);
    line-height: var(--tp-leading-relaxed);
}
.tp-learn-link{
    color: var(--tp-text-secondary);
    font-size: var(--tp-text-meta);
}
.tp-instrument-actions__learn{
    flex: 1 0 100%;
}