.tg-uniform { --tg-r-sm:6px; --tg-r:10px; --tg-r-lg:12px; --tg-text-3:#b1b3bf; }
.tg-uniform h1,.tg-uniform h2,.tg-uniform h3,.tg-uniform h4 { font-family:var(--tg-font); text-transform:none; letter-spacing:-.02em; font-weight:650; line-height:1.25; }
.tg-uniform h1 { font-size:clamp(1.6rem,1.3rem + 1vw,2.2rem); }
.tg-uniform h2 { font-size:clamp(1.25rem,1.1rem + .5vw,1.6rem); }
.tg-uniform h3 { font-size:1.1rem; }
.tg-uniform .tg-btn,.tg-uniform .tg-nav a,.tg-uniform .tg-nav button,.tg-uniform .tg-tab,.tg-uniform .tg-tabs button { font-family:var(--tg-font); font-size:.875rem; letter-spacing:0; text-transform:none; border-radius:6px; min-height:44px; line-height:1.4; }
.tg-uniform .tg-btn-primary { background:var(--tg-gold); border-color:var(--tg-gold); color:#171207; }
.tg-uniform .tg-btn-primary:hover { background:var(--tg-gold-bright); }
.tg-uniform .tg-card,.tg-uniform .tg-module,.tg-uniform .tg-stat { border-radius:10px; background:#151518; border-color:#34343d; box-shadow:0 2px 8px #0002; }
.tg-uniform .tg-card::before,.tg-uniform .tg-card::after,.tg-uniform .tg-module::before,.tg-uniform .tg-module::after { display:none; }
.tg-uniform .tg-card-accent { border-top:2px solid var(--tg-gold); }
.tg-uniform .tg-card { padding:24px; }
.tg-uniform .tg-card-head { gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.tg-uniform .tg-input,.tg-uniform .tg-select,.tg-uniform .tg-textarea { border-radius:6px; font-family:var(--tg-font); font-size:1rem; background:#101013; border-color:#4c4c57; min-height:44px; }
.tg-uniform .tg-badge,.tg-uniform .tg-tag,.tg-uniform .tg-chip,.tg-uniform .tg-pill { font-family:var(--tg-font); font-size:.8rem; letter-spacing:0; text-transform:none; border-radius:5px; line-height:1.4; }
.tg-uniform .tg-side-nav button,.tg-uniform .tg-side-nav a { font-family:var(--tg-font); font-size:.9rem; letter-spacing:0; text-transform:none; border-radius:6px; line-height:1.4; }
.tg-uniform .tg-table th { font-family:var(--tg-font); font-size:.875rem; text-transform:none; letter-spacing:0; background:#1b1b20; color:var(--tg-text-2); }
.tg-uniform .tg-table td,.tg-uniform .tg-table th { padding:12px 14px; line-height:1.5; font-variant-numeric:tabular-nums; }
.tg-uniform .tg-table tbody tr:nth-child(even) { background:#ffffff03; }
.tg-uniform .tg-table tbody tr:hover { background:#ffffff07; }
.tg-uniform .tg-muted,.tg-uniform .tg-hint { color:var(--tg-text-3); }
.tg-uniform .tg-small { font-size:.875rem; }
.tg-uniform .tg-eyebrow { font-family:var(--tg-font); font-size:.8rem; letter-spacing:.08em; }
.tg-uniform .tg-stat .k,.tg-uniform .tg-stat .s { font-family:var(--tg-font); font-size:.875rem; letter-spacing:0; text-transform:none; line-height:1.5; }
.tg-uniform .tg-stat .v { font-variant-numeric:tabular-nums; }
.tg-uniform .tg-tabs { gap:6px; overflow-x:auto; }
.tg-uniform .tg-tabs .tg-tab { white-space:nowrap; }
.tg-uniform .tg-side { border-radius:10px; }
.tg-admin .tg-app-rail { grid-template-columns:280px minmax(0,1fr); gap:28px; }
.tg-admin .tg-wrap-admin { max-width:1600px; }
.tg-admin .tg-admin-sidebar { top:calc(var(--tg-head-h) + 16px); max-height:calc(100dvh - var(--tg-head-h) - 32px); overflow-y:auto; padding:14px; background:#111114; }
.tg-admin .tg-admin-content { min-width:0; }
.tg-admin .tg-admin-page-head { margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--tg-line); }
.tg-admin .tg-admin-page-head h1 { margin:4px 0 8px; }
.tg-admin .tg-admin-page-tip { margin:0; max-width:70ch; color:var(--tg-text-2); }
.tg-admin .tg-admin-nav-search { padding:0 2px 14px; border-bottom:1px solid var(--tg-line); margin-bottom:8px; }
.tg-admin .tg-admin-nav-search label { display:block; margin-bottom:8px; color:var(--tg-text-2); }
.tg-admin .tg-admin-nav-search input { width:100%; font-size:.9rem; }
.tg-admin .tg-admin-search-results { display:grid; gap:6px; margin-top:8px; }
.tg-admin .tg-admin-search-results:empty { margin:0; }
.tg-admin .tg-admin-nav-group { border:0; padding:0; margin:0; }
.tg-admin .tg-admin-nav-group summary { cursor:pointer; padding:12px 8px; font-size:.9rem; font-weight:650; color:var(--tg-text-2); border-radius:6px; }
.tg-admin .tg-admin-nav-group summary:hover { color:var(--tg-text); background:#ffffff05; }
.tg-admin .tg-admin-nav-group[open] > summary { color:var(--tg-gold-bright); }
.tg-admin .tg-admin-nav-group .tg-side-nav { padding:0 0 10px 8px; }
.tg-admin .tg-admin-nav-item { display:flex; flex-direction:column; align-items:flex-start; gap:3px; padding:10px 12px; min-height:44px; }
.tg-admin .tg-admin-nav-tip { color:var(--tg-text-3); font-size:.8125rem; font-weight:400; line-height:1.45; }
.tg-admin .tg-admin-nav-item.is-active { color:var(--tg-gold-bright); border-left-color:var(--tg-gold); background:var(--tg-gold-wash); }
.tg-admin .tg-admin-mobile-menu > summary { display:none; }
.tg-admin .tg-easy-tiles { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.tg-admin .tg-easy-tile { min-height:92px; border-radius:8px; }
.tg-admin .tg-easy-tile-label { font-size:1rem; }
.tg-admin .tg-easy-tile-tip { font-size:.875rem; line-height:1.45; }
.tg-admin .tg-head .tg-wrap { max-width:1600px; }
.tg-admin .tg-nav { align-items:center; }
.tg-admin .tg-syncbar { font-size:.875rem; }
.tg-admin .tg-area-head > .tg-area-title { display:none; }
.tg-uniform .tg-auth-card { width:100%; max-width:480px; }
.tg-uniform .tg-auth .tg-card { padding:32px; }
.tg-uniform :focus-visible { outline:2px solid var(--tg-gold-bright); outline-offset:3px; }
@media(max-width:1100px) and (min-width:901px) { .tg-admin .tg-app-rail { grid-template-columns:250px minmax(0,1fr); gap:20px; } }
@media(max-width:900px) {
 .tg-admin .tg-app-rail { grid-template-columns:1fr; gap:20px; }
 .tg-admin .tg-admin-sidebar { position:static; max-height:none; }
 .tg-admin .tg-admin-mobile-menu > summary { display:list-item; padding:10px 8px; font-size:1rem; font-weight:650; cursor:pointer; }
 .tg-admin .tg-admin-mobile-menu > nav { padding-top:12px; }
 .tg-admin .tg-side-nav { flex-direction:column; }
 .tg-admin .tg-side-nav button { width:100%; }
 .tg-admin .tg-head-in { flex-wrap:wrap; padding-top:12px; padding-bottom:12px; }
 .tg-admin .tg-nav { width:100%; gap:4px; }
 .tg-admin .tg-nav > span { overflow-wrap:anywhere; }
}
@media(max-width:600px) {
 .tg-uniform .tg-card { padding:18px; }
 .tg-admin .tg-admin-page-head { margin-bottom:18px; padding-bottom:16px; }
 .tg-admin .tg-easy-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .tg-uniform .tg-auth .tg-card { padding:24px; }
}
@media print { .tg-admin .tg-admin-sidebar,.tg-admin .tg-admin-page-head { display:none; } .tg-admin .tg-app-rail { display:block; } }

.tg-uniform .tg-side h2 { font-family:var(--tg-font); font-size:.875rem; letter-spacing:0; text-transform:none; line-height:1.4; }
.tg-uniform .tg-dialog { border-radius:12px; padding:24px; max-height:calc(100dvh - 32px); overflow-y:auto; }
.tg-uniform .tg-dialog h2 { font-family:var(--tg-font); text-transform:none; letter-spacing:-.02em; }
.tg-uniform .tg-sort-button { display:flex; gap:6px; align-items:center; width:100%; padding:8px 0; min-height:44px; border:0; background:none; color:inherit; text-align:left; font:inherit; font-weight:650; cursor:pointer; }
.tg-uniform .tg-th-sort { padding-top:4px; padding-bottom:4px; }
.tg-uniform .tg-page-size { min-height:44px; font-size:.875rem; border-radius:6px; }
.tg-uniform .tg-pager { gap:12px; flex-wrap:wrap; }
.tg-uniform .tg-portal-page-title { font-size:clamp(1.5rem,1.25rem + .8vw,2rem); margin:0 0 20px; padding-bottom:16px; border-bottom:1px solid var(--tg-line); }
.tg-uniform .tg-settings-results { display:grid; gap:8px; margin-top:10px; }
.tg-uniform .tg-settings-results:empty { display:none; }
.tg-uniform .tg-settings-groups { margin:18px 0; flex-wrap:wrap; }
.tg-uniform .tg-input:disabled,.tg-uniform .tg-select:disabled { opacity:.6; cursor:not-allowed; }
.tg-uniform input[type="checkbox"],.tg-uniform input[type="radio"] { accent-color:var(--tg-gold); }
.tg-uniform .sc-app,.tg-uniform .ck-wrap,.tg-uniform .ob-main,.tg-uniform .reg-workspace { font-family:var(--tg-font); }
.tg-uniform.sc-body { --sc-bg:var(--tg-black); --sc-panel:var(--tg-charcoal); --sc-line:var(--tg-line); --sc-text:var(--tg-text); --sc-dim:var(--tg-text-3); --sc-gold:var(--tg-gold); }
.tg-uniform .sc-b,.tg-uniform .sc-chip,.tg-uniform .sc-seg button { border-radius:6px; font-size:.875rem; min-height:44px; font-family:var(--tg-font); line-height:1.4; }
.tg-uniform .sc-input,.tg-uniform .ob-input,.tg-uniform .ob-text { min-height:44px; border-radius:6px; border-color:#4c4c57; background:#101013; font-size:1rem; }
.tg-uniform .sc-name,.tg-uniform .sc-time b { font-size:1rem; }
.tg-uniform .sc-sub,.tg-uniform .sc-note,.tg-uniform .sc-who,.tg-uniform .sc-sum,.tg-uniform .sc-colhead { font-size:.875rem; line-height:1.45; }
.tg-uniform .sc-sheet .sc-sub { white-space:normal; overflow:visible; text-overflow:clip; margin-top:8px; }
.tg-uniform .sc-sheet h3 { font-family:var(--tg-font); font-size:.875rem; text-transform:none; letter-spacing:0; }
.tg-uniform .sc-sheet { border-radius:12px; border-color:var(--tg-line); }
.tg-uniform .sc-item,.tg-uniform .sc-notebox,.tg-uniform .ob-card { border-radius:10px; border-color:var(--tg-line); background:var(--tg-charcoal); }
.tg-uniform .sc-tag { font-size:.75rem; line-height:1.4; border-radius:5px; }
.tg-uniform .sc-seg { flex-wrap:wrap; }
.tg-uniform .sc-seg button { flex:1 1 auto; padding:8px 12px; }
.tg-uniform .sc-menu { font-size:.875rem; }
.tg-uniform .sc-menu button,.tg-uniform .sc-menu a { min-height:44px; }
.tg-uniform .sc-sheet .sc-input { scroll-margin-top:24px; }
.tg-uniform .sc-toprow { flex-wrap:wrap; }
.tg-uniform .ob-btn { border-radius:6px; }
.tg-uniform .ob-step-sub,.tg-uniform .ob-field em,.tg-uniform .ob-brand small { font-size:.875rem; line-height:1.45; }
.tg-uniform .reg-item-type,.tg-uniform .reg-brand-name { font-size:.75rem; letter-spacing:.04em; }
.tg-uniform .reg-sale-count,.tg-uniform .reg-result-count,.tg-uniform .reg-total-hint,.tg-uniform .reg-sale-line-name span,.tg-uniform .reg-device-popover p { font-size:.8125rem; line-height:1.45; }
.tg-uniform .reg-sale-line-name strong,.tg-uniform .reg-barber-field label,.tg-uniform .reg-text-button,.tg-uniform .reg-device-details { font-size:.875rem; }
.tg-uniform .reg-sale-line-name strong { line-height:1.45; }
.tg-uniform .reg-item,.tg-uniform .reg-sale,.tg-uniform .reg-device-popover { background:var(--tg-charcoal); border-color:var(--tg-line); border-radius:10px; }
.tg-uniform .reg-category,.tg-uniform .reg-barber-select,.tg-uniform .reg-pay-card,.tg-uniform .reg-pay-cash { border-radius:6px; }
@media(max-width:600px) {
 .tg-uniform .tg-settings-groups { gap:4px; }
 .tg-uniform .tg-settings-groups .tg-tab { padding:8px 10px; }
 .tg-uniform .sc-sheet { border-radius:12px 12px 0 0; max-height:90dvh; }
 .tg-uniform .sc-toprow .sc-who { flex:1; text-align:right; }
}

/* Final visual pass: shared surfaces and clear interaction states. */
.tg-uniform {
 --tg-line:#323238; --tg-line-soft:#29292f; --tg-text-2:#d1d1d7; --tg-text-3:#b2b2bd;
 background-color:#0b0b0e;
 background-image:radial-gradient(ellipse at 20% 0%,rgba(200,161,90,.045),transparent 55%);
}
.tg-uniform .tg-head { background:rgba(11,11,14,.96); border-bottom:1px solid #29292f; }
.tg-uniform .tg-card,.tg-uniform .tg-module,.tg-uniform .tg-stat,
.tg-uniform .sc-notebox,.tg-uniform .ob-card,.tg-uniform .reg-sale {
 background:linear-gradient(160deg,#1b1b20 0%,#141418 100%);
 box-shadow:0 1px 0 #ffffff05 inset,0 8px 24px #00000024;
 border-color:#34343d; border-radius:12px;
}
.tg-uniform .tg-side { background:linear-gradient(180deg,#17171c,#111115); border-color:#34343d; box-shadow:0 8px 24px #0002; }
.tg-uniform .tg-card-accent { border-top:2px solid var(--tg-gold); }
.tg-uniform .tg-card-head h2 { margin:0; }
.tg-uniform .tg-btn-primary { background:linear-gradient(180deg,#e1bf7c,#c8a15a); box-shadow:0 1px 0 #ffffff30 inset,0 3px 8px #0002; font-weight:650; }
.tg-uniform .tg-btn-primary:hover { background:linear-gradient(180deg,#eccd8c,#d7b26b); }
.tg-uniform .tg-btn:not(:disabled),.tg-uniform .tg-tabs button,.tg-uniform .tg-side-nav button,
.tg-uniform .sc-b:not(:disabled),.tg-uniform .reg-item { transition:background-color .15s,border-color .15s,box-shadow .15s; }
.tg-uniform .tg-btn:not(.tg-btn-primary):not(.tg-btn-danger):hover { border-color:#777064; background-color:#25242a; }
.tg-uniform .tg-tabs button[aria-selected="true"],.tg-uniform .tg-settings-groups .is-active {
 background:var(--tg-gold-wash); border-color:var(--tg-gold); color:#efd397; box-shadow:0 1px 0 #c8a15a30 inset;
}
.tg-uniform .tg-input:focus,.tg-uniform .tg-select:focus,.tg-uniform .tg-textarea:focus,
.tg-uniform .sc-input:focus,.tg-uniform .ob-input:focus { border-color:var(--tg-gold); box-shadow:0 0 0 3px #c8a15a18; }
.tg-uniform .tg-table-wrap { border-radius:10px; border:1px solid #34343d; }
.tg-uniform .tg-table th { background:#202026; }
.tg-uniform .tg-table td { border-color:#2c2c33; }
.tg-uniform .tg-stat { padding:20px; }
.tg-uniform .tg-stat .v { font-family:var(--tg-font); font-size:clamp(1.6rem,1.35rem + .7vw,2rem); letter-spacing:-.03em; margin:8px 0; }
.tg-uniform .tg-stat .k { color:#cacad2; }
.tg-uniform .tg-acc { border-radius:10px; overflow:hidden; border-color:#34343d; }
.tg-uniform .tg-dialog { background:linear-gradient(150deg,#202026,#131317); border:1px solid #45454e; box-shadow:0 24px 80px #0009; }
.tg-uniform .tg-easy-tile { background:linear-gradient(150deg,#202027,#17171b); border-color:#3a3a43; }
.tg-uniform .tg-easy-tile:hover { background:#26252a; border-color:#a68b59; }
.tg-uniform .tg-shop-card { padding:18px; }
.tg-uniform .tg-shop-media { background:#f5f4f0; border-radius:9px; }
.tg-uniform .tg-shop-title { font-size:1.05rem; line-height:1.4; }
.tg-uniform .tg-shop-desc,.tg-uniform .tg-shop-purpose,.tg-uniform .tg-shop-scent { font-size:.875rem; color:#c1c1cb; line-height:1.55; }
.tg-uniform .tg-shop-origin { font-size:.8125rem; line-height:1.5; color:#aeadb8; }
.tg-uniform .tg-shop-price { font-size:1.2rem; font-variant-numeric:tabular-nums; color:#efdab0; }
.tg-uniform .tg-shop-foot .tg-btn { width:100%; }
.tg-uniform .sc-item { box-shadow:0 2px 8px #0002; }
.tg-uniform .sc-colhead { background:#18181d; color:#d0d0d7; }
.tg-uniform .reg-item:hover { background:#24232a; border-color:#aa905e; }
.tg-uniform .reg-sale-total { font-variant-numeric:tabular-nums; }
.tg-uniform .ob-step-sub { color:#c1c1cc; }
@media(prefers-reduced-motion:reduce) {
 .tg-uniform *,.tg-uniform *::before,.tg-uniform *::after { transition:none!important; scroll-behavior:auto!important; }
}
@media(max-width:600px) {
 .tg-uniform .tg-card,.tg-uniform .tg-portal-content .tg-card { padding:18px; }
 .tg-uniform .tg-shop-card { padding:14px; }
 .tg-uniform .tg-stat { padding:16px; }
}

/* One account entry, with secondary options presented as links. */
.tg-uniform .tg-account-access { width:100%; max-width:600px; margin:0 auto; }
.tg-uniform .tg-account-options { padding:16px 20px; border-top:1px solid var(--tg-line); text-align:center; color:var(--tg-text-2); }
.tg-uniform .tg-account-options p { margin:0; }
.tg-uniform .tg-account-options p + p { margin-top:8px; }
.tg-uniform .tg-account-link { display:inline-flex; align-items:center; min-height:44px; padding:4px 6px; background:none; border:0; color:var(--tg-gold-bright); font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.tg-uniform .tg-account-link:hover { color:#ffe4ad; }
.tg-uniform .tg-account-access .tg-btn-primary { width:100%; }

/* Embedded portal uses the same theme as GROW without changing the host website. */
#app.tg-uniform { color:var(--tg-text); font-family:var(--tg-font); }
#app.tg-uniform .tg-card,#app.tg-uniform .tg-module,#app.tg-uniform .tg-side,
#app.tg-uniform .tg-btn,#app.tg-uniform .tg-input { clip-path:none; }
#app.tg-uniform .tg-game--embedded .tg-game-header > h2 { display:none; }
#app.tg-uniform .tg-nav { justify-content:flex-end; }
#app.tg-uniform .tg-portal-content > .tg-account-access .tg-card { padding:24px; }

/* Tables keep readable words and scroll instead of compressing columns. */
.tg-uniform .tg-table-wrap { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; }
.tg-uniform .tg-table { table-layout:auto; width:100%; min-width:640px; }
.tg-uniform .tg-table th { white-space:nowrap; word-break:normal; overflow-wrap:normal; }
.tg-uniform .tg-table td { word-break:normal; overflow-wrap:normal; }
.tg-uniform .tg-sort-button { white-space:nowrap; }

.tg-uniform .tg-game-rule-panel { padding:20px; border:1px solid var(--tg-line); border-radius:10px; background:#111115; }
.tg-uniform .tg-game-rule-panel[hidden] { display:none!important; }
.tg-uniform .tg-game-rule-panel h3 { margin:0 0 20px; }
.tg-uniform .tg-game-rule-panel .tg-hint { margin:8px 0 0; }
.tg-uniform .tg-game-advanced { margin-top:18px; border-top:1px solid var(--tg-line); }
.tg-uniform .tg-game-advanced summary,.tg-uniform .tg-game-settings-section summary { cursor:pointer; min-height:44px; padding:14px 0; font-size:1rem; font-weight:600; }
.tg-uniform .tg-game-settings-section { padding:8px 24px; border:1px solid var(--tg-line); border-radius:12px; background:#17171c; }
.tg-uniform .tg-game-settings-section > .tg-stack { padding:12px 0 20px; }

.tg-uniform #grow-add-sponsor[hidden] { display:none!important; }
.tg-uniform .tg-game-sponsor-entry { border-top:1px solid var(--tg-line); }
.tg-uniform .tg-game-sponsor-entry > summary { padding:14px 0; }

/* Metrics use semantic classes, never the image-only utility class. */
.tg-uniform .tg-table .tg-pay-week {display:table-cell;min-width:105px;text-align:right;white-space:nowrap;background:transparent}
.tg-uniform .tg-donut {width:200px;height:200px}
.tg-uniform .tg-chart-key {min-height:32px;gap:10px}
.tg-uniform .tg-donut-seg.risk-on_track {stroke:#008300}
.tg-uniform .tg-chart-swatch.risk-on_track {background:#008300}
.tg-uniform .tg-donut-seg.risk-booked_ahead {stroke:#3987e5}
.tg-uniform .tg-chart-swatch.risk-booked_ahead {background:#3987e5}
.tg-uniform .tg-donut-seg.risk-approaching_due {stroke:#22d3ee}
.tg-uniform .tg-chart-swatch.risk-approaching_due {background:#22d3ee}
.tg-uniform .tg-donut-seg.risk-slightly_overdue {stroke:#c98500}
.tg-uniform .tg-chart-swatch.risk-slightly_overdue {background:#c98500}
.tg-uniform .tg-donut-seg.risk-significantly_overdue {stroke:#9085e9}
.tg-uniform .tg-chart-swatch.risk-significantly_overdue {background:#9085e9}
.tg-uniform .tg-donut-seg.risk-likely_lost {stroke:#e66767}
.tg-uniform .tg-chart-swatch.risk-likely_lost {background:#e66767}
.tg-uniform .tg-donut-seg.risk-unknown {stroke:#8a8a85}
.tg-uniform .tg-chart-swatch.risk-unknown {background:#8a8a85}

.tg-uniform .tg-onboarding-section {border:1px solid #34343b;border-radius:14px;background:#1b1b20;overflow:hidden}
.tg-uniform .tg-onboarding-section > summary {padding:18px 22px;cursor:pointer;font-size:17px;font-weight:650;min-height:52px}
.tg-uniform .tg-onboarding-section > .tg-card {margin:0;border:0;border-top:1px solid #34343b;border-radius:0}

.tg-uniform .tg-table {table-layout:auto!important;min-width:800px}
.tg-uniform .tg-table th {white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:75px}
.tg-uniform .tg-table td {word-break:normal!important;overflow-wrap:normal!important}
.tg-uniform .tg-table .tg-btn,.tg-uniform .tg-table .tg-badge {white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:max-content}
.tg-existing-photos {display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}
.tg-existing-photo {border:1px solid #34343b;border-radius:12px;overflow:hidden;background:#222228}
.tg-existing-photo>img {width:100%;height:220px;object-fit:cover;display:block}
.tg-existing-photo>div {padding:14px}

body.tg-uniform .sc-login{max-width:440px;margin:clamp(40px,12vh,120px) auto;padding:32px;background:linear-gradient(145deg,#222226,#18181b);border:1px solid #37373f;border-top:2px solid #d8b462;border-radius:16px;box-shadow:0 20px 60px #0004}
body.tg-uniform .sc-login h1{font-size:30px;color:#f6f5f0;margin:12px 0}
body.tg-uniform .sc-login-brand{font-size:11px;letter-spacing:2px;color:#d8b462;font-weight:700}
body.tg-uniform .sc-login p{color:#b9c3d0;line-height:1.6}
body.tg-uniform .sc-login .sc-sso a{display:block;text-align:center;background:#d8b462;color:#17140e;border:1px solid #d8b462;min-height:48px;border-radius:8px;padding:14px 18px;font-weight:700;margin-top:24px}
@media(max-width:500px){body.tg-uniform .sc-login{margin:32px 16px;padding:24px}}

.tg-uniform #app h1,.tg-uniform #app h2,.tg-uniform #app h3,.tg-uniform #app h4{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;letter-spacing:-.025em;line-height:1.3}
.tg-uniform .tg-game-card{border-radius:12px!important;padding:20px!important;background:#19191d!important;border:1px solid #34343c!important}
.tg-uniform .tg-game-card h4{font-size:17px!important;font-weight:700!important;margin:12px 0 6px!important}

/* Inbox rows: independent of portfolio square-thumbnail classes. */
body.tg-uniform .tg-inbox-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #34343d;flex-wrap:nowrap;}
body.tg-uniform .tg-inbox-row-main{flex:1;min-width:0;overflow-wrap:anywhere;}
body.tg-uniform .tg-inbox-row-actions{display:flex;flex:0 0 auto;gap:8px;}
@media(max-width:600px){body.tg-uniform .tg-inbox-row{gap:10px;}}

body.tg-uniform .tg-inbox-history{max-height:520px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px 4px;margin:12px 0;}
body.tg-uniform .tg-inbox-message{max-width:88%;padding:14px 16px;border:1px solid #34343d;border-radius:14px;background:#222229;}
body.tg-uniform .tg-inbox-message-out{align-self:flex-end;background:#302b20;border-color:#685632;}
body.tg-uniform .tg-inbox-message-in{align-self:flex-start;}
body.tg-uniform .tg-inbox-message-note{background:#272638;}
body.tg-uniform .tg-inbox-message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin-top:8px;}

/* TG_UI_AUDIT_STAGE_V1 */
.tg-blog-body{max-width:70ch;line-height:1.7}.tg-blog-body p{margin-bottom:1.2em}#tg-lang-btn{min-height:44px;min-width:44px}.tg-join-tiers button{min-height:44px}

/* TG_WEBSITE_PORTAL_PARITY_V1: host integration only; standalone GROW is unchanged. */
body.page-platform--portal .tg-platform { padding-block:16px 32px; }
body.page-platform--portal .tg-platform .tg-wrap { max-width:none; padding-inline:0; }
body.page-platform--portal .tg-platform .tg-head { border-bottom:0; }
body.page-platform--portal .tg-platform .tg-head-in { justify-content:flex-end; padding-block:0; min-height:44px; }
body.page-platform--portal .tg-platform .tg-nav { gap:4px; }
body.page-platform--portal .tg-platform .tg-nav a,
body.page-platform--portal .tg-platform .tg-nav button { color:#b4b4bd; }
body.page-platform--portal .tg-platform .tg-wrap-pad { padding-top:12px; padding-bottom:32px; }
body.page-platform--portal .tg-platform .tg-app { gap:24px; }
body.page-platform--portal .tg-platform .tg-side { padding:12px; background:linear-gradient(180deg,#19191d,#131316); }
body.page-platform--portal .tg-platform .tg-side h2 { font-size:.8rem; font-weight:600; line-height:1.4; margin:10px 8px 8px; color:#b4b4bd; text-transform:none; letter-spacing:0; }
body.page-platform--portal .tg-platform .tg-side h2:not(:first-child) { margin-top:20px; padding-top:16px; border-top:1px solid #32323b; }
body.page-platform--portal .tg-platform .tg-side-nav button { min-height:44px; font-size:.9rem; }
body.page-platform--portal .tg-platform .tg-side-nav button.is-active { border-left:2px solid var(--tg-gold); }
body.page-platform--portal .tg-platform .tg-portal-content { min-width:0; }
body.page-platform--portal .tg-platform .tg-portal-content .tg-card,
body.page-platform--portal .tg-platform .tg-portal-content .tg-module { padding:22px; background:linear-gradient(180deg,#1b1b1f,#151518); border-color:#34343d; }
body.page-platform--portal .tg-platform .tg-portal-content .tg-card-head { margin-bottom:14px; gap:12px; flex-wrap:wrap; }
body.page-platform--portal .tg-platform .tg-portal-content h2 { font-size:clamp(1.5rem,1.2rem + .65vw,1.9rem); line-height:1.2; }
body.page-platform--portal .tg-platform .tg-portal-content h3 { font-size:1.18rem; line-height:1.3; }
body.page-platform--portal .tg-platform .tg-portal-content p { line-height:1.55; color:#b4b4bd; }
body.page-platform--portal .tg-platform .tg-portal-content .tg-muted { color:#a3a3ae; }
body.page-platform--portal .tg-platform .tg-portal-content .tg-btn { min-height:44px; }
body.page-platform--portal .tg-platform .tg-welcome-points { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0; }
body.page-platform--portal .tg-platform .tg-welcome-point { min-width:0; padding:18px; border:1px solid #303036; background:#ffffff03; }
body.page-platform--portal .tg-platform .tg-welcome-point dt { font-size:.82rem; font-weight:600; color:#f2f2f4; }
body.page-platform--portal .tg-platform .tg-welcome-point dd { margin:10px 0 0; display:flex; flex-direction:column; gap:6px; }
body.page-platform--portal .tg-platform .tg-welcome-point strong { font-family:var(--tg-display); font-weight:700; color:var(--tg-gold-bright); font-size:2rem; line-height:1.15; }
body.page-platform--portal .tg-platform .tg-welcome-point dd span { color:#b4b4bd; font-size:.8rem; line-height:1.45; }
body.page-platform--portal .tg-platform .tg-welcome-point-goal { border-color:var(--tg-gold-dim); background:var(--tg-gold-wash); }
body.page-platform--portal .tg-platform .tg-ov-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body.page-platform--portal .tg-platform .tg-ov-grid > .tg-module { display:flex; flex-direction:column; align-items:flex-start; margin:0; }
body.page-platform--portal .tg-platform .tg-ov-grid > .tg-module h3 { color:var(--tg-gold-bright); }
body.page-platform--portal .tg-platform .tg-ov-grid > .tg-module > p { flex:1; }
body.page-platform--portal .tg-platform .tg-ov-grid > .tg-module > .tg-btn:last-child { margin-top:14px; }
body.page-platform--portal .tg-platform .tg-account-stats { gap:12px; }
body.page-platform--portal .tg-platform .tg-account-stats .tg-stat { padding:16px; }
body.page-platform--portal .tg-platform .tg-account-stats .tg-stat:first-child { background:var(--tg-gold-wash); border-color:var(--tg-gold-dim); }
body.page-platform--portal .tg-platform .tg-account-stats .tg-stat .v { font-size:2rem; line-height:1.2; margin:8px 0; }
/* The host website already supplies its own copyright and footer. */
body.page-platform--portal .tg-platform .tg-foot { display:none; }
@media(max-width:1100px) and (min-width:901px) {
 body.page-platform--portal .tg-platform .tg-app { grid-template-columns:210px minmax(0,1fr); gap:20px; }
}
@media(max-width:600px) {
 body.page-platform--portal .tg-platform { padding-block:12px 24px; }
 body.page-platform--portal .tg-platform .tg-portal-content .tg-card,
 body.page-platform--portal .tg-platform .tg-portal-content .tg-module { padding:16px; }
 body.page-platform--portal .tg-platform .tg-account-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px) {
 body.page-platform--portal .tg-platform .tg-welcome-points,
 body.page-platform--portal .tg-platform .tg-ov-grid { grid-template-columns:1fr; }
 body.page-platform--portal .tg-platform .tg-welcome-point { display:grid; grid-template-columns:1fr 1.4fr; gap:12px; align-items:center; padding:14px; }
 body.page-platform--portal .tg-platform .tg-welcome-point dd { margin:0; }
}

/* Cancellation policy details stay readable without stretching every row. */
.tg-policy-details{min-width:230px;max-width:360px}.tg-policy-details summary{cursor:pointer;color:var(--tg-gold,#d6b164);font-weight:600;padding:6px 0}.tg-policy-details[open]>.tg-stack{margin-top:8px}.tg-policy-details p,.tg-policy-details .tg-small{overflow-wrap:anywhere;white-space:normal}

.tg-appt-change-table table{min-width:1400px;table-layout:fixed;width:100%}.tg-appt-change-table th,.tg-appt-change-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.tg-appt-change-table th:nth-child(2){width:180px}.tg-appt-change-table th:nth-child(3){width:55px}.tg-appt-change-table th:nth-child(5){width:220px}.tg-appt-change-table th:last-child{width:260px}

.tg-uniform .tg-appt-change-table .tg-table{table-layout:fixed!important;min-width:1490px!important}.tg-uniform .tg-appt-change-table th,.tg-uniform .tg-appt-change-table td{min-width:0!important;width:auto;padding:10px 12px}.tg-uniform .tg-appt-change-table th:nth-child(1),.tg-uniform .tg-appt-change-table th:nth-child(4){width:160px}.tg-uniform .tg-appt-change-table th:nth-child(2){width:180px}.tg-uniform .tg-appt-change-table th:nth-child(3){width:60px}.tg-uniform .tg-appt-change-table th:nth-child(5){width:220px}.tg-uniform .tg-appt-change-table th:nth-child(6),.tg-uniform .tg-appt-change-table th:nth-child(7){width:150px}.tg-uniform .tg-appt-change-table th:nth-child(8){width:75px}.tg-uniform .tg-appt-change-table th:nth-child(9){width:80px}.tg-uniform .tg-appt-change-table th:nth-child(10){width:260px}.tg-uniform .tg-appt-change-table td:nth-child(7) .tg-badge{white-space:normal!important;min-width:0!important}
