/* Authenticated table-first workspace. Extends approved Graphite; legacy untouched. */
html body[data-rental] .telegram-session-consent { border-top:1px solid var(--op-border); padding-top:20px; margin-top:4px; min-width:0; }
html body[data-rental] .telegram-session-consent h3 { margin:0 0 8px; font-size:16px; font-weight:600; }
html body[data-rental] .telegram-session-consent p { font-size:14px; line-height:1.65; color:var(--op-muted); margin:8px 0; }
html body[data-rental] .telegram-consent-choice { display:flex; align-items:flex-start; gap:12px; padding:12px 0; min-height:44px; cursor:pointer; font-size:16px; line-height:1.7; font-weight:400; color:var(--op-ink); }
html body[data-rental] .telegram-consent-choice input[type="checkbox"] { display:block; position:static; opacity:1; appearance:auto; width:20px; height:20px; min-height:20px; flex:0 0 20px; margin:2px 0 0; accent-color:var(--op-focus); }
html body[data-rental] .telegram-consent-choice:has(input:focus-visible) { outline:2px solid var(--op-focus); outline-offset:4px; border-radius:4px; }
html body[data-rental] .telegram-session-consent summary { cursor:pointer; padding:10px 0; min-height:44px; color:var(--op-focus); font-size:14px; }
html body[data-rental] .telegram-session-consent summary:focus-visible { outline:2px solid var(--op-focus); outline-offset:3px; }
html body[data-rental] .telegram-session-consent ul { padding-left:20px; margin:4px 0 12px; color:var(--op-muted); font-size:14px; line-height:1.7; }
html body[data-rental] .telegram-session-consent li + li { margin-top:8px; }
html body[data-rental] .secret-note a { color:var(--op-focus); text-decoration:underline; text-underline-offset:3px; }
html body[data-experience] .workspace-data-list { display:block; min-width:0; }
html body[data-experience] .workspace-scroll-hint { display:none; margin:0 0 10px; color:var(--op-muted); font-size:12px; line-height:1.6; }
html body[data-experience] .workspace-scroll-hint:has(+ .workspace-table-wrap .workspace-empty-row) { display:none; }
html body[data-experience] .workspace-table-wrap { width:100%; max-width:100%; overflow:auto; border:1px solid var(--op-border); border-radius:12px; background:var(--op-surface); }
html body[data-experience] .workspace-table { width:100%; min-width:820px; border-collapse:collapse; table-layout:auto; margin:0; }
html body[data-experience] .workspace-table :is(th,td) { padding:16px; text-align:left; vertical-align:middle; font-size:14px; line-height:1.6; border-bottom:1px solid var(--op-border); }
html body[data-experience] .workspace-table th { background:var(--op-surface-muted); font-size:12px; color:var(--op-muted); font-weight:500; text-transform:none; letter-spacing:0; white-space:nowrap; }
html body[data-experience] .workspace-table tbody :is(tr.account-card,tr.campaign-card) { display:table-row; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
html body[data-experience] .workspace-table tbody tr:hover { background:var(--op-surface-hover); }
html body[data-experience] .workspace-table tbody tr:last-child td { border-bottom:0; }
html body[data-experience] .workspace-table td { max-width:320px; overflow-wrap:anywhere; color:var(--op-ink); }
html body[data-experience] .workspace-table td:is([data-label="Số điện thoại"],[data-label="Telegram"],[data-label="Phiên"],[data-label="Kiểm tra gần nhất"]) { white-space:nowrap; overflow-wrap:normal; font-variant-numeric:tabular-nums; }
html body[data-experience] .workspace-table .status-badge { white-space:nowrap; }
html body[data-experience] #account-list td[data-label="Trạng thái"] { min-width:155px; }
html body[data-experience] #account-list td[data-label="Tài khoản"] { min-width:240px; }
html body[data-experience] #campaign-list td:is([data-label="Chiến dịch"],[data-label="Lịch & giới hạn"]) { min-width:190px; }
html body[data-experience] .workspace-table td > strong { display:block; font-weight:500; }
html body[data-experience] .workspace-table small { display:block; color:var(--op-muted); font-size:12px; font-weight:400; margin-top:4px; }
html body[data-experience] .workspace-person { display:flex; align-items:center; gap:10px; min-width:155px; }
html body[data-experience] .workspace-person > span:last-child { min-width:0; }
html body[data-experience] .workspace-avatar { display:grid; place-content:center; width:34px; height:34px; flex:0 0 34px; border-radius:10px; background:var(--op-surface-active); color:var(--op-focus); font-size:12px; font-weight:600; }
html body[data-experience] .workspace-row-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-width:155px; }
html body[data-experience] .workspace-row-actions .button { min-height:44px; padding:8px 10px; font-size:12px; white-space:nowrap; }
html body[data-experience] .workspace-empty-row td { height:180px; text-align:center; }
html body[data-experience] .workspace-empty-row p { color:var(--op-muted); margin:8px auto; max-width:60ch; }
html body[data-experience] .workspace-table:has(.workspace-empty-row) { min-width:0; }
html body[data-experience] .workspace-table:has(.workspace-empty-row) thead { display:none; }
html body[data-experience] .workspace-filter-empty { padding:20px; color:var(--op-muted); text-align:center; }
html body[data-experience] .workspace-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border:1px solid var(--op-border); border-radius:12px; margin:0 0 24px; background:var(--op-surface); }
html body[data-experience] .workspace-metrics > div { padding:18px 20px; border-right:1px solid var(--op-border); }
html body[data-experience] .workspace-metrics > div:last-child { border:0; }
html body[data-experience] .workspace-metrics span { display:block; color:var(--op-muted); font-size:13px; }
html body[data-experience] .workspace-metrics strong { display:block; font-size:24px; font-weight:600; margin-top:8px; font-variant-numeric:tabular-nums; }
html body[data-experience] #view-support .support-grid { grid-template-columns:minmax(280px,.8fr) minmax(0,1.6fr); }
html body[data-experience] #ticket-list { padding:0; }
html body[data-experience] #ticket-list .workspace-table-wrap { border:0; border-radius:0; }
html body[data-experience] #ticket-list .workspace-table { min-width:610px; }
html body[data-experience] .workspace-ticket-body { white-space:pre-wrap; color:var(--op-muted); font-size:14px; margin:12px 0; }
html body[data-experience] .workspace-table summary { padding:10px 0; cursor:pointer; font-weight:500; }
html body[data-experience] .workspace-table summary:focus-visible { outline:2px solid var(--op-focus); outline-offset:3px; }
html body[data-experience] .workspace-composer { display:block; }
html body[data-experience] .workspace-compose-nav { display:flex; flex-wrap:wrap; gap:8px; padding:0 0 20px; }
html body[data-experience] .workspace-form-section { border:0; border-top:1px solid var(--op-border); padding:20px 0; margin:0; min-width:0; scroll-margin-top:24px; }
html body[data-experience] .workspace-form-section legend { padding:0 12px 0 0; font-size:16px; font-weight:600; color:var(--op-ink); }
html body[data-experience] .workspace-form-section > p { margin:0 0 20px; color:var(--op-muted); font-size:14px; line-height:1.7; }
html body[data-experience] .workspace-form-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
html body[data-experience] .workspace-form-fields .field { min-width:0; margin:0; }
html body[data-experience] .workspace-form-fields .workspace-full-field { grid-column:1/-1; }
html body[data-experience] .workspace-composer .selection-box { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
html body[data-experience] .workspace-composer .check-option { display:grid; height:auto; min-height:50px; align-items:start; }
html body[data-experience] .workspace-composer .check-option-copy { display:block; min-width:0; white-space:normal; overflow-wrap:anywhere; line-height:1.6; }
html body[data-experience] .workspace-form-section .notice-banner { margin-top:18px; }
html body[data-experience] .workspace-compose-summary { padding:14px 16px; background:var(--op-surface-muted); border-radius:8px; color:var(--op-muted); font-size:14px; }
html body[data-experience] .workspace-login-steps { display:flex; padding:0; list-style:none; margin:20px 0 28px; gap:16px; }
html body[data-experience] .workspace-login-steps li { display:flex; flex:1; align-items:center; gap:8px; color:var(--op-muted); font-size:12px; }
html body[data-experience] .workspace-login-steps li span { display:grid; place-content:center; flex:0 0 28px; height:28px; border:1px solid var(--op-border); border-radius:50%; }
html body[data-experience] .workspace-login-steps li[aria-current=step] { color:var(--op-focus); }
html body[data-experience] .workspace-login-steps li[aria-current=step] span { border-color:var(--op-focus); }
html body[data-experience] .workspace-group-search { max-width:460px; margin:24px 18px 16px; }
html body[data-experience] .workspace-attention { grid-column:1/-1; display:flex; justify-content:space-between; gap:24px; align-items:center; padding:18px 20px; border:1px solid var(--op-border); border-radius:12px; background:var(--op-surface-muted); }
html body[data-experience] .workspace-attention strong { font-size:14px; font-weight:500; }
html body[data-experience] .workspace-attention p { color:var(--op-muted); font-size:14px; margin:6px 0 0; max-width:82ch; }
html body[data-experience] .workspace-attention .button { flex-shrink:0; }
html body[data-experience] .workspace-plan-usage { padding:0 20px 20px; color:var(--op-muted); font-size:14px; }
html body[data-experience] .fidelity-columns .chat-card { min-height:0; }
html body[data-experience] :is(.workspace-table-wrap,.workspace-compose-nav button):focus-visible { outline:2px solid var(--op-focus); outline-offset:3px; }
@media(max-width:1100px) {
  html body[data-experience] #view-support .support-grid { grid-template-columns:minmax(0,1fr); }
  html body[data-experience] .workspace-scroll-hint { display:block; }
  html body[data-experience] #ticket-list .workspace-scroll-hint { padding:12px 18px 0; }
}
@media(max-width:700px) {
  html body[data-experience] .workspace-composer .selection-box { grid-template-columns:minmax(0,1fr); }
  html body[data-experience] .workspace-form-fields { grid-template-columns:1fr; }
  html body[data-experience] .workspace-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  html body[data-experience] .workspace-metrics > div { border:0; padding:16px; }
  html body[data-experience] .workspace-attention { align-items:flex-start; flex-direction:column; gap:14px; }
  html body[data-experience] .workspace-login-steps { gap:8px; }
  html body[data-experience] .workspace-login-steps li { flex-direction:column; text-align:center; font-size:12px; }
  html body[data-experience] .workspace-form-section input { font-size:16px; }
}
