@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-cyrillic-ext-400-normal-Bo67NYBq.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-400-normal-D592xEk3.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-cyrillic-400-normal-C7us6pn1.woff2) format("woff2"),url(/assets/golos-text-cyrillic-400-normal-BwL4n7Pb.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-latin-ext-400-normal-BjKcJWKY.woff2) format("woff2"),url(/assets/golos-text-latin-ext-400-normal-BXgyX_iE.woff) format("woff");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:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-latin-400-normal-Coi1FYaD.woff2) format("woff2"),url(/assets/golos-text-latin-400-normal-DOuJOmdK.woff) format("woff");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:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-cyrillic-ext-500-normal-CLsu_eDI.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-500-normal-InHNvB7v.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-cyrillic-500-normal-BSLQUuP1.woff2) format("woff2"),url(/assets/golos-text-cyrillic-500-normal-hXinzVVQ.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-latin-ext-500-normal-9vZPKadr.woff2) format("woff2"),url(/assets/golos-text-latin-ext-500-normal-BmtMVntR.woff) format("woff");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:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-latin-500-normal-BznAvurO.woff2) format("woff2"),url(/assets/golos-text-latin-500-normal-BQo4s7Kn.woff) format("woff");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:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-cyrillic-ext-600-normal-uuhKjiyO.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-600-normal-rSWq63aw.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-cyrillic-600-normal-lpQ9rVRR.woff2) format("woff2"),url(/assets/golos-text-cyrillic-600-normal-BgvEFMNR.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-latin-ext-600-normal-DLLCs_GQ.woff2) format("woff2"),url(/assets/golos-text-latin-ext-600-normal-C6iohuVX.woff) format("woff");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:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-latin-600-normal-Bhk8uV1U.woff2) format("woff2"),url(/assets/golos-text-latin-600-normal-B_o32mE8.woff) format("woff");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}:root{color-scheme:light;--color-crimson: #ae1432;--color-crimson-hover: #97112b;--color-crimson-active: #7f0e24;--color-primary: var(--color-crimson);--color-primary-fill: var(--color-crimson);--color-primary-hover: var(--color-crimson-hover);--color-primary-active: var(--color-crimson-active);--color-on-primary: #ffffff;--color-primary-soft: #fbeef1;--color-bg: #f6f7f9;--color-surface: #ffffff;--color-surface-raised: #f9fafb;--color-surface-hover: #f6f7f9;--color-border: #e4e7ec;--color-border-strong: #d0d5dd;--color-text: #111827;--color-text-muted: #636a77;--color-selected: #eef0f3;--color-data: #2a78d6;--color-knob: #ffffff;--font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;--font-display: var(--font-body);--text-xs: 12px;--text-sm: 13px;--text-base: 14px;--text-md: 16px;--text-lg: 20px;--text-xl: 24px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--shadow-card: none;--shadow-pop: 0 12px 32px rgba(16, 24, 40, .14), 0 2px 6px rgba(16, 24, 40, .06);--control-h: 44px;--control-h-sm: 36px;--color-danger: #b42318;--color-success: #067647;--color-warning: #93370d;--color-backdrop: rgba(16, 24, 40, .45);--color-focus: var(--color-crimson);--focus-ring: 0 0 0 2px var(--color-surface), 0 0 0 4px color-mix(in srgb, var(--color-focus) 70%, transparent);--chip-draft-bg: #f2f4f7;--chip-draft-fg: #344054;--chip-pending-bg: #fdf3dc;--chip-pending-fg: #7a4a06;--chip-approved-bg: #e8f5ee;--chip-approved-fg: #146c43;--chip-sent-bg: #e9f0fb;--chip-sent-fg: #1d4f91;--chip-won-bg: #d9eee3;--chip-won-fg: #0b4d2f;--chip-lost-bg: #f7eded;--chip-lost-fg: #8a3a3a;--chip-lost-border: transparent;--chip-crimson-bg: #fbeef1;--chip-crimson-fg: #8f1029;--color-gold: var(--color-border-strong);--color-gold-strong: var(--color-border-strong);--color-accent-fill: var(--color-selected);--color-accent-rule: var(--color-border);--color-chrome: var(--color-surface);--color-chrome-2: var(--color-surface);--color-on-chrome: var(--color-text);--color-on-chrome-muted: var(--color-text-muted);--color-text-on-dark: #ffffff;--header-h: 52px;--topbar-h: 56px;--tabbar-h: 60px;--sidebar-w: 232px;--content-max: 720px;--content-max-wide: 1360px;--safe-top: max(env(safe-area-inset-top, 0px), calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px)));--safe-bottom: max(env(safe-area-inset-bottom, 0px), calc(var(--tg-safe-area-inset-bottom, 0px) + var(--tg-content-safe-area-inset-bottom, 0px)));--safe-left: max(env(safe-area-inset-left, 0px), var(--tg-safe-area-inset-left, 0px));--safe-right: max(env(safe-area-inset-right, 0px), var(--tg-safe-area-inset-right, 0px));--app-height: var(--tg-viewport-stable-height, 100dvh);--ease-out: cubic-bezier(.2, .8, .2, 1);--dur-fast: .12s;--dur-med: .16s}:root[data-shell=desktop]{--control-h: 36px;--control-h-sm: 32px}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--color-primary: #f07a90;--color-primary-fill: #c21d3f;--color-primary-hover: #d02a4c;--color-primary-active: #a8173a;--color-on-primary: #ffffff;--color-primary-soft: #2a1a20;--color-bg: #0f1115;--color-surface: #171a21;--color-surface-raised: #1b1f27;--color-surface-hover: #1f232c;--color-border: #262a33;--color-border-strong: #353a45;--color-text: #e6e8ec;--color-text-muted: #9aa3af;--color-selected: #262a33;--color-data: #3987e5;--color-knob: #f3f4f6;--shadow-pop: 0 12px 32px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);--color-danger: #f97066;--color-success: #47cd89;--color-warning: #fdb022;--color-backdrop: rgba(0, 0, 0, .6);--color-focus: #f07a90;--chip-draft-bg: #262a33;--chip-draft-fg: #d0d5dd;--chip-pending-bg: #3a2c12;--chip-pending-fg: #f5d08a;--chip-approved-bg: #16322a;--chip-approved-fg: #8fd9b3;--chip-sent-bg: #172a45;--chip-sent-fg: #a9c7f0;--chip-won-bg: #123d2a;--chip-won-fg: #b4ecd0;--chip-lost-bg: #3a2224;--chip-lost-fg: #efb4b4;--chip-crimson-bg: #3a1a22;--chip-crimson-fg: #f7b3c0}}:root[data-theme=dark]{color-scheme:dark;--color-primary: #f07a90;--color-primary-fill: #c21d3f;--color-primary-hover: #d02a4c;--color-primary-active: #a8173a;--color-on-primary: #ffffff;--color-primary-soft: #2a1a20;--color-bg: #0f1115;--color-surface: #171a21;--color-surface-raised: #1b1f27;--color-surface-hover: #1f232c;--color-border: #262a33;--color-border-strong: #353a45;--color-text: #e6e8ec;--color-text-muted: #9aa3af;--color-selected: #262a33;--color-data: #3987e5;--color-knob: #f3f4f6;--shadow-pop: 0 12px 32px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);--color-danger: #f97066;--color-success: #47cd89;--color-warning: #fdb022;--color-backdrop: rgba(0, 0, 0, .6);--color-focus: #f07a90;--chip-draft-bg: #262a33;--chip-draft-fg: #d0d5dd;--chip-pending-bg: #3a2c12;--chip-pending-fg: #f5d08a;--chip-approved-bg: #16322a;--chip-approved-fg: #8fd9b3;--chip-sent-bg: #172a45;--chip-sent-fg: #a9c7f0;--chip-won-bg: #123d2a;--chip-won-fg: #b4ecd0;--chip-lost-bg: #3a2224;--chip-lost-fg: #efb4b4;--chip-crimson-bg: #3a1a22;--chip-crimson-fg: #f7b3c0}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--color-bg);color:var(--color-text);font-family:var(--font-body);font-size:var(--text-base);line-height:1.45;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5,h6{font-family:var(--font-body);font-weight:600;margin:0 0 var(--space-3);color:var(--color-text);letter-spacing:-.005em}button,input,select,textarea{font-family:var(--font-body);font-variant-numeric:tabular-nums}a{color:var(--color-primary)}:focus-visible{outline:none;box-shadow:var(--focus-ring);border-radius:var(--radius-sm)}:root{--logo-filter: brightness(.62) saturate(1.5) contrast(1.15)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--logo-filter: none}}:root[data-theme=dark]{--logo-filter: none}.tb-logo,.tb-logo-mark img{filter:var(--logo-filter)}.tb-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.tb-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--control-h);padding:0 var(--space-4);border:1px solid transparent;border-radius:var(--radius-sm);font:500 var(--text-base) / 1.2 var(--font-body);text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color var(--dur-fast) ease,border-color var(--dur-fast) ease,color var(--dur-fast) ease,box-shadow var(--dur-fast) ease}.tb-btn:focus-visible{box-shadow:var(--focus-ring);border-radius:var(--radius-sm)}.tb-btn:disabled{cursor:not-allowed;opacity:.5}.tb-btn--loading:disabled{opacity:1;cursor:progress}.tb-btn--sm{min-height:var(--control-h-sm);padding:0 var(--space-3);font-size:var(--text-sm)}.tb-btn--lg{min-height:44px;padding:0 var(--space-5);font-size:var(--text-md)}.tb-btn--block{display:flex;width:100%}.tb-btn__content{display:inline-flex;align-items:center;gap:var(--space-2)}.tb-btn__icon{display:inline-flex}.tb-btn__icon svg{width:16px;height:16px}.tb-btn--loading .tb-btn__content{visibility:hidden}.tb-btn__spinner{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.tb-btn--primary{background:var(--color-primary-fill);color:var(--color-on-primary)}.tb-btn--primary:hover:not(:disabled){background:var(--color-primary-hover)}.tb-btn--primary:active:not(:disabled){background:var(--color-primary-active)}.tb-btn--primary:disabled:not(.tb-btn--loading){opacity:1;background:var(--color-surface-raised);border-color:var(--color-border);color:var(--color-text-muted)}.tb-btn--secondary{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border-strong)}.tb-btn--secondary:hover:not(:disabled){background:var(--color-surface-hover)}.tb-btn--ghost{background:transparent;color:var(--color-text)}.tb-btn--ghost:hover:not(:disabled){background:var(--color-surface-hover)}.tb-btn--danger{background:var(--color-surface);color:var(--color-danger);border-color:var(--color-border-strong)}.tb-btn--danger:hover:not(:disabled){background:color-mix(in srgb,var(--color-danger) 7%,var(--color-surface));border-color:color-mix(in srgb,var(--color-danger) 40%,var(--color-border))}.tb-spinner{display:block;animation:tb-spin .8s linear infinite}.tb-spinner--brand .tb-spinner__track{stroke:var(--color-border)}.tb-spinner--brand .tb-spinner__arc{stroke:var(--color-primary)}.tb-spinner--current .tb-spinner__track{stroke:currentColor;opacity:.25}.tb-spinner--current .tb-spinner__arc{stroke:currentColor}.tb-spinner-wrap{display:inline-flex}.tb-page-spinner{display:grid;place-items:center;min-height:40vh}@keyframes tb-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tb-spinner{animation:tb-pulse 1.6s ease-in-out infinite!important;animation-duration:1.6s!important;animation-iteration-count:infinite!important}}@keyframes tb-pulse{50%{opacity:.4}}.tb-card{position:relative;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text)}.tb-card--pad-sm{padding:var(--space-3)}.tb-card--pad-md{padding:var(--space-4)}.tb-card--pad-none{padding:0;overflow:hidden}.tb-card--accent{border-left:3px solid var(--color-border-strong)}.tb-card--interactive{cursor:pointer;transition:border-color var(--dur-fast) ease,background-color var(--dur-fast) ease}.tb-card--interactive:hover{border-color:var(--color-border-strong)}.tb-card--interactive:focus-visible{box-shadow:var(--focus-ring);border-radius:var(--radius-md)}@media(min-width:600px){.tb-card--pad-md{padding:var(--space-5)}}.tb-chip{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border-radius:4px;border:1px solid transparent;font:500 var(--text-xs) / 1 var(--font-body);white-space:nowrap}.tb-chip__icon{display:inline-flex}.tb-chip__icon svg{width:14px;height:14px}.tb-chip__dot{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.7}.tb-chip--neutral{background:var(--chip-draft-bg);color:var(--chip-draft-fg)}.tb-chip--gold,.tb-chip--amber{background:var(--chip-pending-bg);color:var(--chip-pending-fg)}.tb-chip--green{background:var(--chip-approved-bg);color:var(--chip-approved-fg)}.tb-chip--blue{background:var(--chip-sent-bg);color:var(--chip-sent-fg)}.tb-chip--green-dark{background:var(--chip-won-bg);color:var(--chip-won-fg)}.tb-chip--red{background:var(--chip-lost-bg);color:var(--chip-lost-fg)}.tb-chip--crimson{background:var(--chip-crimson-bg);color:var(--chip-crimson-fg)}.tb-chip--outline{background:transparent;color:var(--color-text-muted);border-color:var(--color-border-strong)}.tb-money{font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}.tb-money--strong{font-weight:600;color:var(--color-primary)}.tb-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-2);padding:var(--space-6) var(--space-4)}.tb-empty__badge{display:grid;place-items:center;width:48px;height:48px;margin-bottom:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted)}.tb-empty__title{font-size:var(--text-md);margin:0}.tb-empty__text{margin:0;max-width:40ch;color:var(--color-text-muted);line-height:1.5}.tb-empty__action{margin-top:var(--space-3)}.tb-error{display:flex;gap:var(--space-3);color:var(--color-text)}.tb-error--block{flex-direction:column;align-items:center;text-align:center;padding:var(--space-6) var(--space-4)}.tb-error--inline{align-items:flex-start;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-danger) 6%,var(--color-surface));border:1px solid color-mix(in srgb,var(--color-danger) 25%,var(--color-border))}.tb-error__icon{color:var(--color-danger);display:inline-flex}.tb-error--block .tb-error__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-danger) 8%,var(--color-surface))}.tb-error__title{font-size:var(--text-md);margin:0 0 var(--space-1)}.tb-error--inline .tb-error__title{font:600 var(--text-base) / 1.3 var(--font-body);display:block}.tb-error__text{margin:0;color:var(--color-text-muted);line-height:1.5;max-width:48ch}.tb-error--block .tb-error__text{margin-inline:auto}.tb-error__retry{margin-top:var(--space-3)}.tb-field{display:flex;flex-direction:column;gap:6px}.tb-field__label{font-weight:500;font-size:var(--text-sm)}.tb-field__control{position:relative;display:flex;align-items:center}.tb-field__input{width:100%;min-height:var(--control-h);padding:6px 12px;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:400 16px/1.4 var(--font-body);transition:border-color var(--dur-fast) ease,box-shadow var(--dur-fast) ease}:root[data-shell=desktop] .tb-field__input{font-size:var(--text-base)}.tb-field__input--multiline{resize:vertical;min-height:96px;padding-top:8px}.tb-field__input::placeholder{color:var(--color-text-muted)}.tb-field__input:hover{border-color:color-mix(in srgb,var(--color-text) 30%,var(--color-border))}.tb-field__input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 16%,transparent)}.tb-field__input:focus-visible{border-radius:var(--radius-sm)}.tb-field--error .tb-field__input{border-color:var(--color-danger)}.tb-field__suffix{position:absolute;right:12px;color:var(--color-text-muted);pointer-events:none}.tb-field__control:has(.tb-field__suffix) .tb-field__input{padding-right:44px}.tb-field__hint,.tb-field__error{margin:0;font-size:var(--text-sm);line-height:1.4}.tb-field__hint{color:var(--color-text-muted)}.tb-field__error{color:var(--color-danger);font-weight:500}.tb-avatar{display:inline-grid;place-items:center;flex:none;border-radius:50%;background:var(--color-selected);color:var(--color-text);font-family:var(--font-body);font-weight:600}.tb-avatar--sm{width:24px;height:24px;font-size:11px}.tb-avatar--md{width:32px;height:32px;font-size:var(--text-sm)}.tb-avatar--lg{width:64px;height:64px;font-size:var(--text-xl)}.tb-segmented{display:inline-flex;padding:2px;gap:2px;border-radius:var(--radius-sm);background:var(--color-surface-raised);border:1px solid var(--color-border)}.tb-segmented__option{min-height:calc(var(--control-h) - 6px);min-width:88px;padding:0 var(--space-3);border:1px solid transparent;border-radius:4px;background:transparent;color:var(--color-text-muted);font:500 var(--text-base) / 1 var(--font-body);cursor:pointer;transition:background-color var(--dur-fast) ease,color var(--dur-fast) ease}:root:not([data-shell=desktop]) .tb-segmented__option{min-height:44px}.tb-segmented__option:hover:not(:disabled){color:var(--color-text)}.tb-segmented__option--checked{background:var(--color-surface);border-color:var(--color-border);color:var(--color-text);font-weight:600}.tb-segmented__option:disabled{cursor:progress}.tb-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:var(--space-4);padding-top:calc(var(--space-4) + var(--safe-top));background:var(--color-backdrop);animation:tb-fade var(--dur-med) ease both}.tb-dialog{width:min(100%,480px);max-height:calc(var(--app-height) - 2 * var(--space-4) - var(--safe-top));display:flex;flex-direction:column;background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-pop);overflow:hidden;animation:tb-fade var(--dur-med) ease both}.tb-dialog:focus-visible{box-shadow:var(--shadow-pop),var(--focus-ring);border-radius:var(--radius-lg)}.tb-dialog__grip{display:none}.tb-dialog__header{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-4) var(--space-5) var(--space-2)}.tb-dialog__title{flex:1;margin:0;font-size:var(--text-md);line-height:1.35}.tb-dialog__close{flex:none;display:grid;place-items:center;width:32px;height:32px;margin:-4px -8px 0 0;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);cursor:pointer}.tb-dialog__close:hover{background:var(--color-surface-hover);color:var(--color-text)}.tb-dialog__description{margin:0;padding:0 var(--space-5);color:var(--color-text-muted);line-height:1.5}.tb-dialog__body{padding:var(--space-4) var(--space-5);overflow-y:auto;overscroll-behavior:contain}.tb-dialog__footer{display:flex;flex-wrap:wrap-reverse;justify-content:flex-end;gap:var(--space-2);padding:var(--space-3) var(--space-5) var(--space-4);border-top:1px solid var(--color-border)}@media(max-width:599.98px){.tb-dialog-backdrop--sheet{align-items:flex-end;padding:0;padding-top:var(--safe-top)}.tb-dialog--sheet{width:100%;max-height:calc(var(--app-height) - var(--safe-top) - 24px);border-radius:var(--radius-lg) var(--radius-lg) 0 0;border-bottom:0;padding-bottom:var(--safe-bottom)}.tb-dialog--sheet .tb-dialog__header{padding-top:var(--space-3)}.tb-dialog__close{width:44px;height:44px;margin:-10px -12px 0 0}.tb-dialog__grip{display:block;width:36px;height:4px;margin:8px auto 0;border-radius:2px;background:var(--color-border-strong)}.tb-dialog--sheet .tb-dialog__footer>.tb-btn{flex:1 1 0}}@keyframes tb-fade{0%{opacity:0}}.tb-toggle-chip{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-h);padding:0 var(--space-3);border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);font:500 var(--text-base) / 1.2 var(--font-body);white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color var(--dur-fast) ease,border-color var(--dur-fast) ease,color var(--dur-fast) ease}.tb-toggle-chip:hover{border-color:var(--color-border-strong);color:var(--color-text)}.tb-toggle-chip--selected,.tb-toggle-chip--selected:hover{background:var(--color-selected);border-color:var(--color-border-strong);color:var(--color-text);font-weight:600}.tb-toggle-chip:focus-visible{outline:none;box-shadow:var(--focus-ring)}.tb-toast{position:fixed;left:var(--space-4);right:var(--space-4);bottom:calc(var(--tabbar-h) + var(--safe-bottom) + var(--space-3));z-index:50;display:flex;justify-content:center;pointer-events:none}.tb-toast__msg{max-width:480px;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--color-text);color:var(--color-surface);box-shadow:var(--shadow-pop);font-size:var(--text-base);line-height:1.35;animation:tb-fade var(--dur-med) ease both}:root[data-shell=desktop] .tb-toast{left:calc(var(--sidebar-w) + var(--space-4));bottom:calc(var(--safe-bottom) + var(--space-5))}.tb-table-wrap{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow:clip}.tb-table{width:100%;border-collapse:separate;border-spacing:0;font-size:var(--text-base);font-variant-numeric:tabular-nums}.tb-table th,.tb-table td{padding:0 var(--space-3);height:40px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--color-border)}.tb-table tbody tr:last-child>td,.tb-table tbody tr:last-child>th{border-bottom:0}.tb-table thead th{position:sticky;top:var(--table-sticky-top, var(--topbar-h));z-index:2;height:36px;background:var(--color-surface-raised);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:500;text-transform:none;white-space:nowrap}.tb-table .tb-num{text-align:right;white-space:nowrap}.tb-table tbody tr.tb-row--link{cursor:pointer}.tb-table tbody tr.tb-row--link:hover>td{background:var(--color-surface-hover)}.tb-table__sort{display:inline-flex;align-items:center;gap:4px;margin:0 -6px;padding:4px 6px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;cursor:pointer}.tb-table__sort:hover,.tb-table th[aria-sort=ascending] .tb-table__sort,.tb-table th[aria-sort=descending] .tb-table__sort{color:var(--color-text)}.tb-table__sort svg{width:14px;height:14px}.tb-num .tb-table__sort{flex-direction:row-reverse}.tb-brand-screen{position:relative;min-height:var(--app-height);display:flex;flex-direction:column;padding:calc(var(--space-4) + var(--safe-top)) calc(var(--space-4) + var(--safe-right)) calc(var(--space-5) + var(--safe-bottom)) calc(var(--space-4) + var(--safe-left));background:var(--color-bg);color:var(--color-text)}.tb-brand-screen__top{position:relative;display:flex;justify-content:flex-end}.tb-brand-screen__inner{position:relative;flex:1;width:100%;max-width:400px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-5)}.tb-brand-screen__logo{width:min(144px,44vw);height:auto;animation:tb-fade var(--dur-med) ease both}.tb-brand-screen__splash{color:var(--color-text-muted)}.tb-auth-card{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--space-3);padding:var(--space-5);border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);text-align:center;animation:tb-fade var(--dur-med) ease both}.tb-auth-card__badge{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface-raised);color:var(--color-text-muted)}.tb-auth-card__title{margin:0;font-size:var(--text-lg);line-height:1.25}.tb-auth-card__text{margin:0;color:var(--color-text-muted);line-height:1.5}.tb-auth-card__hint{margin:var(--space-2) 0 0;font-size:var(--text-sm);color:var(--color-text-muted)}.tb-auth-card__server{margin:0;font-size:var(--text-sm);color:var(--color-text-muted);font-style:italic}.tb-auth-card .tb-error--inline{width:100%;text-align:left}.tb-auth-id{width:100%;display:flex;flex-direction:column;gap:var(--space-1);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--color-surface-raised);border:1px dashed var(--color-border-strong)}.tb-auth-id__label{font-size:var(--text-xs);font-weight:500;color:var(--color-text-muted)}.tb-auth-id__row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--space-2)}.tb-auth-id__value{font:600 var(--text-lg) / 1.2 var(--font-body);font-variant-numeric:tabular-nums;letter-spacing:.02em;-webkit-user-select:all;user-select:all;color:var(--color-text)}.tb-login-widget{min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-2);margin:var(--space-2) 0}.tb-login-widget__host:empty{display:none}.tb-login-widget__status{display:inline-flex;align-items:center;gap:var(--space-2);color:var(--color-text-muted);font-size:var(--text-base)}.tb-login-widget__failed{margin:0;color:var(--color-danger);font-size:var(--text-base)}.tb-login-lang .tb-segmented__option{min-width:52px}.tb-theme-switch .tb-segmented__option{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2)}.tb-theme-switch--icons .tb-segmented__option{min-width:0;flex:1 1 0;padding:0 var(--space-2)}.tb-theme-switch--icons{display:flex}.tb-theme-switch--full .tb-segmented__option{min-width:0;flex:1 1 0}.tb-theme-switch--full{display:flex;width:100%}.tb-app{min-height:var(--app-height);padding-left:var(--safe-left);padding-right:var(--safe-right)}.tb-skip{position:absolute;left:var(--space-3);top:-100px;z-index:200;padding:var(--space-2) var(--space-4);border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-primary);font-weight:600}.tb-skip:focus{top:calc(var(--space-2) + var(--safe-top))}.tb-app__column{min-width:0;display:flex;flex-direction:column;min-height:var(--app-height)}.tb-logo-mark{position:relative;display:block;width:26px;height:30px;overflow:hidden}.tb-logo-mark img{position:absolute;top:0;left:-43px;width:112px;height:auto;max-width:none}.tb-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:var(--space-2);min-height:calc(var(--header-h) + var(--safe-top));padding:var(--safe-top) var(--space-3) 0 var(--space-2);background:var(--color-surface);color:var(--color-text);border-bottom:1px solid var(--color-border)}.tb-header__brand{display:grid;place-items:center;flex:none;min-width:44px;min-height:44px;border-radius:var(--radius-sm)}.tb-header__back{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text);cursor:pointer;transition:background-color var(--dur-fast) ease}.tb-header__back:hover{background:var(--color-surface-hover)}.tb-header__title{flex:1;min-width:0;margin:0;color:var(--color-text);font-size:var(--text-md);font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tb-header__actions{flex:none;display:flex;align-items:center;gap:var(--space-2)}.tb-header__actions:empty{display:none}.tb-main{flex:1;width:100%;max-width:var(--content-max);margin:0 auto;padding:var(--space-4) var(--space-4) calc(var(--tabbar-h) + var(--safe-bottom) + var(--space-5))}.tb-main:focus{outline:none}.tb-nav{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:0 var(--safe-right) var(--safe-bottom) var(--safe-left);background:var(--color-surface);border-top:1px solid var(--color-border)}.tb-nav__list{display:grid;grid-template-columns:repeat(4,1fr);height:var(--tabbar-h);margin:0 auto;max-width:560px;padding:0;list-style:none}.tb-nav__item{display:flex;min-width:0}.tb-nav__link{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--color-text-muted);text-decoration:none;font-size:var(--text-xs);font-weight:500;-webkit-tap-highlight-color:transparent;transition:color var(--dur-fast) ease}.tb-nav__label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tb-nav__icon{display:grid;place-items:center;width:40px;height:28px;border-radius:var(--radius-sm)}.tb-nav__link:hover{color:var(--color-text)}.tb-nav__link--active,.tb-nav__link--active:hover{color:var(--color-primary);font-weight:600}.tb-nav__link--active:before{content:"";position:absolute;top:-1px;left:50%;width:28px;height:2px;margin-left:-14px;border-radius:0 0 2px 2px;background:var(--color-primary)}.tb-nav__link--primary .tb-nav__icon{background:var(--color-primary-fill);color:var(--color-on-primary)}.tb-nav__link--primary.tb-nav__link--active:before{display:none}.tb-nav__link:focus-visible{box-shadow:inset 0 0 0 2px var(--color-focus);border-radius:var(--radius-sm)}.tb-app--desktop{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr)}.tb-sidebar{position:sticky;top:0;height:var(--app-height);display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-4) var(--space-3);background:var(--color-surface);border-right:1px solid var(--color-border);overflow-y:auto}.tb-sidebar__brand{display:block;padding:var(--space-2) var(--space-3) var(--space-3);border-radius:var(--radius-sm)}.tb-sidebar__brand .tb-logo{display:block;width:116px;height:auto}.tb-sidebar__list{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.tb-sidebar__link,.tb-sidebar__me{position:relative;display:flex;align-items:center;gap:var(--space-3);min-height:36px;padding:0 var(--space-3);border-radius:var(--radius-sm);color:var(--color-text-muted);text-decoration:none;font-size:var(--text-base);font-weight:500;transition:background-color var(--dur-fast) ease,color var(--dur-fast) ease}.tb-sidebar__link:hover,.tb-sidebar__me:hover{background:var(--color-surface-hover);color:var(--color-text)}.tb-sidebar__link--active,.tb-sidebar__link--active:hover,.tb-sidebar__me--active{background:var(--color-surface-hover);color:var(--color-text);font-weight:600}.tb-sidebar__link--active:before,.tb-sidebar__me--active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;border-radius:2px;background:var(--color-primary)}.tb-sidebar__link--active svg{color:var(--color-primary)}.tb-sidebar__docs{margin-top:auto}.tb-sidebar__ext{margin-left:auto;opacity:.7}.tb-sidebar__me{margin-top:auto;min-height:52px;padding:var(--space-2) var(--space-3);border-top:1px solid var(--color-border);border-radius:0 0 var(--radius-sm) var(--radius-sm)}.tb-sidebar__docs+.tb-sidebar__me,.tb-sidebar__theme+.tb-sidebar__me{margin-top:0}.tb-sidebar__theme{margin:var(--space-1) var(--space-3) var(--space-2)}.tb-sidebar__version{margin:calc(-1 * var(--space-3)) 0 0;padding:0 var(--space-3);color:var(--color-text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.tb-sidebar__me-text{display:flex;flex-direction:column;min-width:0;line-height:1.3}.tb-sidebar__me-name{color:var(--color-text);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tb-sidebar__me-role{font-size:var(--text-xs);color:var(--color-text-muted)}.tb-app--desktop .tb-header{min-height:var(--topbar-h);padding:0 var(--space-6);gap:var(--space-3)}.tb-app--desktop .tb-header__back{width:32px;height:32px;margin-left:calc(-1 * var(--space-2));border:1px solid var(--color-border)}.tb-app--desktop .tb-header__title{font-size:var(--text-lg)}.tb-app--desktop .tb-main{max-width:var(--content-max-wide);padding:var(--space-5) var(--space-6) var(--space-6)}
