/* Sidekick for Teams: the join page, /teams and the admin panel.
   Loaded after styles.css and leans on its theme variables, so these pages
   follow the same light/dark switch as the home page. */

.t-main { padding: 34px 0 80px; }
.t-card {
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--card-bg, linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.016)));
  padding: 28px;
}
.t-muted { color: var(--muted); }
.t-faint { color: var(--faint, #77776f); font-size: 13px; }
.t-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.t-stack > * + * { margin-top: 14px; }
.t-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--chip-bg, rgba(255,255,255,.03));
}
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint, #77776f); flex: none; }
.t-dot.on { background: var(--green); box-shadow: 0 0 12px rgba(148,213,21,.6); }
.t-dot.warn { background: var(--yellow); }
.t-dot.off { background: var(--red); }

/* ------------------------------- join page ------------------------------ */
.join-wrap { max-width: 620px; margin: 30px auto 0; }
.join-wrap h1 { font-size: clamp(36px, 6vw, 54px); letter-spacing: -2px; line-height: 1.04; margin: 18px 0 14px; max-width: none; }
.join-wrap .lede { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 28px; }
.join-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.join-steps li {
  counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 14px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.join-steps li:first-child { border-top: 0; padding-top: 0; }
.join-steps li::before {
  content: counter(step); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-weight: 700; font-size: 13px;
}
.join-steps b { display: block; margin-bottom: 6px; }
.join-steps p { margin: 0 0 12px; color: var(--muted); line-height: 1.55; }
.join-sees { margin-top: 22px; }
.join-sees h2 { font-size: 18px; letter-spacing: -.3px; margin-bottom: 10px; }
.join-sees ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.join-error { border-color: var(--red); }

/* ------------------------------ form bits ------------------------------- */
.t-field { display: block; }
.t-field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.t-input, .t-select {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px;
  background: var(--surface, #101010); color: var(--text); font: inherit; font-size: 15px;
}
.t-input:focus, .t-select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.t-error { color: var(--red); font-size: 14px; min-height: 20px; margin: 10px 0 0; }
.t-ok { color: var(--green); }
.button[disabled] { opacity: .55; cursor: default; transform: none; }

@media (max-width: 680px) {
  .t-card { padding: 22px 18px; border-radius: 20px; }
  .join-wrap h1 { letter-spacing: -1.4px; }
}

/* ----------------------------- admin panel ------------------------------ */
.t-auth { max-width: 440px; margin: 30px auto 0; }
.t-auth h1 { font-size: clamp(34px, 5vw, 46px); letter-spacing: -1.6px; margin: 0 0 8px; max-width: none; }
.t-auth > p { margin: 0 0 22px; }
.t-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.t-head h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.4px; margin: 0; max-width: none; }
.t-banner { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; background: var(--chip-bg, rgba(255,255,255,.03)); }
.t-banner.warn { border-color: var(--yellow); background: rgba(255,193,44,.12); border-radius: 14px; }
.t-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.t-tab { background: none; border: 0; padding: 10px 14px; color: var(--muted); font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.t-tab.on { color: var(--text); border-bottom-color: var(--text); }
.t-h2 { font-size: 22px; letter-spacing: -.5px; }
.t-spread { justify-content: space-between; }
.t-date { width: auto; height: 40px; }
.t-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 18px; }
.t-kpi { padding: 18px; }
.t-kpi strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 28px; letter-spacing: -1px; }
.t-kpi span { color: var(--muted); font-size: 13px; }
.t-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-top: 14px; }
.t-person h3, .t-emp h3, .t-dev h3, .t-settings h3 { font-size: 18px; letter-spacing: -.3px; }
.t-person > * + *, .t-emp > * + *, .t-dev > * + * { margin-top: 12px; }
.t-person p, .t-dev p { margin-bottom: 0; }
.t-bars { display: grid; gap: 7px; }
.t-bar { display: grid; grid-template-columns: 88px 1fr 42px 64px; align-items: center; gap: 10px; font-size: 13.5px; }
.t-bar .track { height: 8px; border-radius: 99px; background: var(--chip-bg, rgba(255,255,255,.06)); overflow: hidden; border: 1px solid var(--line); }
.t-bar i { display: block; height: 100%; border-radius: 99px; }
.t-bar i.work { background: var(--green); } .t-bar i.nowork { background: var(--yellow); } .t-bar i.idle { background: var(--faint, #77776f); }
.t-bar b { text-align: right; } .t-bar .t-faint { text-align: right; }
.t-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.t-items li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.t-items .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-items b, .t-items li > button { margin-left: auto; }
.t-week { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.t-week b { color: var(--text); }
.t-link { display: block; font-size: 12.5px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); overflow-wrap: anywhere; color: var(--muted); }
.t-add .t-input { flex: 1; min-width: 180px; }
.t-danger { color: var(--red); }
.t-settings { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; align-items: start; }
.t-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.t-cat { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; cursor: pointer; }
.t-settings .t-row .t-input { flex: 1; min-width: 160px; }
.t-settings .t-row .t-select { width: auto; }
@media (max-width: 920px) { .t-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .t-people, .t-settings { grid-template-columns: 1fr; }
  .t-bar { grid-template-columns: 76px 1fr 38px; } .t-bar .t-faint { display: none; }
  .t-kpi strong { font-size: 24px; }
  .t-row .button { width: auto; }
}

/* ------------------------- dashboard, v2 ------------------------------- */
:root { --t-work: #5fb52a; --t-nowork: #f0a020; --t-idle: rgba(128,128,120,.35); }
.t-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.t-daynav { display: flex; align-items: center; gap: 8px; }
.t-daylabel { display: flex; flex-direction: column; min-width: 150px; text-align: center; line-height: 1.25; }
.t-daylabel b { font-size: 16px; }
.t-daylabel .t-faint { font-size: 12px; }
.t-iconbtn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--chip-bg, rgba(255,255,255,.03)); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.t-iconbtn[disabled] { opacity: .35; cursor: default; }
.t-daynav .t-date { width: 150px; height: 36px; font-size: 13.5px; }

.t-kpi { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.t-kpi-l { color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.t-kpi strong { font-size: 30px; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-avatars { display: flex; } .t-avatars .t-avatar { margin-right: -6px; border: 2px solid var(--surface, #fff); }

.t-avatar { --h: 200; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: hsl(var(--h) 70% 88%); color: hsl(var(--h) 55% 28%); }
[data-theme="dark"] .t-avatar { background: hsl(var(--h) 45% 26%); color: hsl(var(--h) 80% 86%); }
.t-avatar.big { width: 52px; height: 52px; font-size: 18px; }
.t-tile { --h: 200; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 12.5px;
  background: hsl(var(--h) 65% 92%); color: hsl(var(--h) 55% 32%); }
[data-theme="dark"] .t-tile { background: hsl(var(--h) 40% 22%); color: hsl(var(--h) 80% 82%); }

.t-stack-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--t-idle); }
.t-stack-bar i, .t-stack-legend i, .t-col-bar i, .t-ibar i { display: block; }
.t-stack-bar i.work, .t-stack-legend i.work, .t-col-bar i.work, .t-ibar i.work { background: var(--t-work); }
.t-stack-bar i.nowork, .t-stack-legend i.nowork, .t-col-bar i.nowork, .t-ibar i.nowork { background: var(--t-nowork); }
.t-stack-bar i.idle, .t-stack-legend i.idle, .t-col-bar i.idle { background: var(--t-idle); }
.t-stack-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.t-stack-legend span { display: inline-flex; align-items: center; gap: 6px; }
.t-stack-legend i { width: 10px; height: 10px; border-radius: 3px; }
.t-stack-legend b { color: var(--text); }
.t-stack-wrap { display: grid; gap: 10px; }

.t-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.t-side { display: grid; gap: 14px; }
.t-card h3 { font-size: 16px; letter-spacing: -.2px; margin: 0 0 14px; }
.t-card .t-row.t-spread h3 { margin: 0; }
.t-card > .t-row.t-spread { margin-bottom: 14px; }

.t-plist { display: grid; }
.t-prow { display: grid; grid-template-columns: 36px minmax(120px, 1.1fr) minmax(140px, 1.4fr) 76px minmax(0, 1.4fr) 14px; align-items: center; gap: 14px;
  width: 100%; padding: 14px 6px; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 0; }
.t-prow:first-child { border-top: 0; }
.t-prow:hover { background: var(--chip-bg, rgba(255,255,255,.03)); }
.t-pname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.t-pname b { font-size: 15px; }
.t-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.t-status.on { color: var(--text); }
.t-pbar { display: grid; gap: 6px; font-size: 12px; }
.t-ptime { display: flex; flex-direction: column; font-size: 12px; } .t-ptime b { font-size: 15px; }
.t-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.t-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.t-chip .t-tile { width: 20px; height: 20px; border-radius: 50%; font-size: 10.5px; }
.t-chip.not { border-color: rgba(240,160,32,.55); }
.t-chev { color: var(--muted); font-size: 20px; }
.t-empty { padding: 20px 6px; } .t-empty p { margin: 0 0 12px; }

.t-ilist, .t-clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.t-ilist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.t-ibody { display: grid; gap: 6px; min-width: 0; font-size: 13px; }
.t-iname { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-ibar { height: 6px; border-radius: 99px; background: var(--chip-bg, rgba(128,128,120,.12)); overflow: hidden; }
.t-ibar i { height: 100%; border-radius: 99px; }
.t-clist li { display: grid; grid-template-columns: 10px minmax(90px, 1fr) 1.2fr 40px 56px; align-items: center; gap: 10px; font-size: 13px; }
.t-clist li b { text-align: right; } .t-clist li .t-faint { text-align: right; }
.t-catsel { height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface, #fff); color: var(--text); font: inherit; font-size: 12.5px; padding: 0 6px; max-width: 160px; }

.t-cols { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding-top: 6px; overflow-x: auto; }
.t-col { flex: 1 0 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.t-col-bar { flex: 1; width: 100%; max-width: 44px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 8px; overflow: hidden; background: var(--chip-bg, rgba(128,128,120,.08)); }
.t-col .t-faint { font-size: 11.5px; }

.t-phead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.t-phead .t-row { gap: 14px; }
.t-phead .t-h2 { font-size: 26px; }
.t-back { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; padding: 0; width: 100%; text-align: left; }
.t-back:hover { color: var(--text); }
.t-summary p { margin: 0; }
.t-person-wrap > * + * { margin-top: 14px; }

@media (max-width: 1050px) {
  .t-split { grid-template-columns: 1fr; }
  .t-prow { grid-template-columns: 36px 1fr 76px 14px; }
  .t-prow .t-pbar { grid-column: 2 / 4; grid-row: 2; }
  .t-prow .t-chips { grid-column: 2 / 4; grid-row: 3; }
}
@media (max-width: 680px) {
  .t-daynav { width: 100%; justify-content: space-between; } .t-daynav .t-date { display: none; }
  .t-kpi strong { font-size: 24px; }
  .t-clist li { grid-template-columns: 10px 1fr 40px; } .t-clist li .t-ibar, .t-clist li .t-faint { display: none; }
}
/* one-line item rows */
.t-ilist.compact { gap: 10px; }
.t-ilist.compact li { align-items: center; }
.t-irow { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.t-irow .t-iname { flex: 0 1 auto; }
.t-irow .t-icat { flex: 1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-irow b { margin-left: auto; font-size: 13px; }
.t-table { display: grid; }
.t-thead, .t-trow { display: grid; grid-template-columns: 28px minmax(110px, 1.3fr) 168px minmax(60px, 1fr) 44px 56px; align-items: center; gap: 12px; }
.t-thead { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 8px; }
.t-trow { padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.t-trow b, .t-trow > .t-faint, .t-thead span:nth-child(5), .t-thead span:nth-child(6) { text-align: right; }
.t-trow .t-catsel { max-width: none; width: 100%; }
@media (max-width: 680px) {
  .t-thead { display: none; }
  .t-trow { grid-template-columns: 28px 1fr 56px; row-gap: 6px; }
  .t-trow .t-catsel { grid-column: 2; grid-row: 2; }
  .t-trow .t-ibar { grid-column: 2 / 4; grid-row: 3; }
  .t-trow > .t-faint { display: none; }
}

.t-summary-text { font-size: 16px; line-height: 1.55; color: var(--text); }
.t-psum { grid-column: 2 / -1; margin: -4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.t-banner.warn { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-banner.ok { border-color: var(--green); background: rgba(148,213,21,.12); border-radius: 14px; margin-bottom: 14px; display: block; }
.t-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-plan { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.t-plan.on { border-color: var(--green); }
.t-plan strong { font-family: "Space Grotesk", sans-serif; font-size: 26px; margin: 6px 0 10px; }
.t-plan strong .t-faint { font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 500; }
@media (max-width: 680px) { .t-plans { grid-template-columns: 1fr; } }

/* Sign-up, log-in and create-team: dark split layout matching /teams. */
[hidden] { display: none !important; }
body.t-authmode { background: #07080a; color: #f3f4f1; min-height: 100vh;
  background-image: radial-gradient(ellipse 50% 45% at 18% 0%, rgba(139,123,255,.22), transparent 70%), radial-gradient(ellipse 45% 40% at 82% 10%, rgba(126,217,87,.16), transparent 70%); }
body.t-authmode .nav .brand span .t-faint { color: #9a9ca3; }
@media (min-width: 861px) { body.t-authmode .nav .brand { visibility: hidden; } body.t-authmode:has(.ta-solo) .nav .brand { visibility: visible; } }
body.t-authmode .t-main { padding: 20px 0 80px; }
body.t-authmode #logout { color: #f3f4f1; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.ta-wrap { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 56px; align-items: center; min-height: calc(100vh - 200px); max-width: 1040px; margin: 0 auto; }
.ta-biz { width: fit-content; display: flex; align-items: center; gap: 12px; margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.ta-biz img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 8px 24px -6px rgba(139,123,255,.45); }
.ta-side h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.04em; font-weight: 600; margin: 22px 0 0; max-width: 540px;
  background: linear-gradient(180deg, #fff 30%, #a9abb2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ta-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 6px; max-width: 440px; }
.ta-steps li { --c: 139,123,255; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.ta-steps .c-violet { --c: 139,123,255; } .ta-steps .c-cyan { --c: 79,209,197; } .ta-steps .c-amber { --c: 240,168,58; } .ta-steps .c-green { --c: 126,217,87; }
.ta-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; position: relative;
  color: rgb(var(--c)); background: rgba(var(--c), .12); border: 1px solid rgba(var(--c), .3); }
.ta-ic svg { width: 19px; height: 19px; }
.ta-steps b { font-size: 16px; color: #c9cbd0; font-weight: 600; }
.ta-steps li.now { background: rgba(var(--c), .07); border-color: rgba(var(--c), .35); }
.ta-steps li.now .ta-ic { box-shadow: 0 0 22px rgba(var(--c), .45); background: rgba(var(--c), .2); }
.ta-steps li.now b { color: #fff; }
.ta-steps li.done b { color: #7c7f87; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.2); }
.ta-steps li.done .ta-ic::after { content: "✓"; position: absolute; right: -5px; bottom: -5px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #0a0b0d; background: #7ed957; box-shadow: 0 0 0 2px #07080a; }
.ta-solo { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ta-fine { color: #6b6e76; font-size: 13.5px; line-height: 1.5; margin: 22px 0 0 14px; max-width: 400px; }
.ta-card { position: relative; display: grid; gap: 16px; padding: 34px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(22,24,29,.92), rgba(13,14,17,.96));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 100px -20px rgba(0,0,0,.8), 0 0 80px -30px rgba(139,123,255,.35); }
.ta-card h1 { font-family: "Space Grotesk", sans-serif; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; margin: 0; max-width: none; font-weight: 600; }
.ta-sub { color: #9a9ca3; margin: -10px 0 6px; font-size: 15px; }
.ta-field { display: grid; gap: 7px; }
.ta-field span { font-size: 13px; font-weight: 600; color: #c9cbd0; }
.ta-field input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: #f3f4f1; font: inherit; font-size: 15.5px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; color-scheme: dark; }
.ta-field input::placeholder { color: #5d6068; }
.ta-field input:focus { border-color: rgba(139,123,255,.7); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(139,123,255,.18); }
.ta-btn { height: 50px; margin-top: 6px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: 15.5px; color: #0a0b0d;
  background: linear-gradient(180deg, #fff, #dcdde0); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px -8px rgba(139,123,255,.6); transition: transform .2s, box-shadow .25s; }
.ta-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 14px 40px -8px rgba(139,123,255,.8); }
.ta-card .t-error:empty { display: none; }
.ta-card .t-error { margin: 0; }
.ta-switch { margin: 0; text-align: center; color: #9a9ca3; font-size: 14px; }
.ta-switch a { color: #f3f4f1; font-weight: 600; }
.ta-legal { margin: 0; color: #6b6e76; font-size: 12.5px; line-height: 1.55; text-align: center; }
.ta-legal a { color: #9a9ca3; text-decoration: underline; }
@media (max-width: 860px) {
  .ta-wrap { grid-template-columns: 1fr; gap: 34px; min-height: 0; max-width: 480px; }
  .ta-side { order: 2; }
  .ta-biz { display: none; }
  .ta-side h2 { margin-top: 0; }
  .ta-side h2 { font-size: 32px; }
  .ta-card { padding: 26px 22px; }
}

/* Ask box on the dashboard. */
.t-ask { margin: 0 0 18px; display: grid; gap: 10px; }
.t-ask-bar { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 16px;
  background: var(--card-bg, rgba(255,255,255,.04)); border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(139,123,255,.18), 0 12px 34px -14px rgba(139,123,255,.55); transition: box-shadow .2s, border-color .2s; }
.t-ask-bar:focus-within { border-color: rgba(139,123,255,.6); box-shadow: 0 0 0 4px rgba(139,123,255,.16), 0 12px 34px -12px rgba(139,123,255,.7); }
.t-ask-spark { color: #8b7bff; font-size: 17px; }
.t-ask-input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.t-ask-input::placeholder { color: var(--muted); }
.t-ask-go { flex: none; width: 40px; height: 40px; border-radius: 11px; border: 0; cursor: pointer; font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, #8b7bff, #4fd1c5); color: #fff; display: grid; place-items: center; transition: transform .15s, opacity .15s; }
.t-ask-go:hover { transform: translateY(-1px); }
.t-ask-go:disabled { opacity: .7; cursor: default; transform: none; }
.t-ask-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: t-spin .8s linear infinite; }
@keyframes t-spin { to { transform: rotate(360deg); } }
.t-ask-ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.t-ask-idea { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13px; cursor: pointer; transition: color .15s, border-color .15s; }
.t-ask-idea:hover { color: var(--text); border-color: rgba(139,123,255,.5); }
.t-ask-thinking { margin: 4px 2px; animation: t-pulse 1.4s ease-in-out infinite; }
@keyframes t-pulse { 50% { opacity: .45; } }
.t-ask-answer { position: relative; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(139,123,255,.28);
  background: linear-gradient(135deg, rgba(139,123,255,.10), rgba(79,209,197,.05)); line-height: 1.55; font-size: 15px; }
.t-ask-answer p { margin: 0 0 6px; } .t-ask-answer p:last-of-type { margin-bottom: 0; }
.t-ask-answer ul { margin: 4px 0 6px; padding-left: 20px; } .t-ask-answer li { margin: 3px 0; }
.t-ask-q { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b7bff; margin: 0 60px 8px 0; }
.t-ask-clear { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.t-ask-clear:hover { color: var(--text); }
.t-ask-meta { justify-self: end; font-size: 12px; }
.t-ask-meta:empty { display: none; }
