/* additions for the live app on top of mockup styles */
[hidden] { display: none !important; }
.form-error { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px; padding: 8px 10px; font-size: 13px; margin-top: 8px; }
.ok-note { margin-top: 12px; }
.reg-login-link a, .lbl-row a, .b-link { color: inherit; cursor: pointer; }
.reg-login-link a { color: var(--primary, #0f766e); font-weight: 600; text-decoration: none; }
.nav a.nav-item, .sidebar-foot a.nav-item { text-decoration: none; color: inherit; }
.nav-item.soon { opacity: .55; cursor: default; }
.nav-item.soon::after { content: 'скоро'; margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--muted, #667085); }
.toast { position: fixed; right: 18px; bottom: 18px; background: #101828; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13px; z-index: 50; box-shadow: 0 6px 24px rgba(0,0,0,.18); max-width: 420px; }
.toast.err { background: #b42318; }
.tabs-row a { text-decoration: none; }
tr.clickable { cursor: pointer; }
.empty-note { padding: 16px; color: var(--muted, #667085); font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.sub-banner.expired { background: #fef3f2; color: #b42318; border-bottom-color: #fecdca; }
.limits-panel select.text-input, .tar-form select.text-input { height: 28px; padding: 0 6px; font-size: 12.5px; }
.key-line { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.sidebar-foot .nav-item.soon::after { content: none; }
.admin-table-card select.text-input { max-width: 104px; }
.admin-table-card .row-actions { flex-wrap: nowrap; }
/* settings grid: rows grow with content (FB accounts card added in stage 5) */
.set3 { height:auto; align-items:start; }
.set3 .card { overflow:visible; }
/* legal links under auth screens */
.legal-links{position:fixed;left:0;right:0;bottom:14px;text-align:center;font-size:12.5px;color:var(--muted,#667085)}
.legal-links a{color:inherit;text-decoration:none;margin:0 4px}.legal-links a:hover{text-decoration:underline;color:var(--accent,#0f766e)}
.fb-overlay { width:100vw !important; height:100vh !important; position:fixed; inset:0; z-index:100; }
.fb-overlay .modal { max-width: calc(100vw - 40px); max-height: calc(100vh - 60px); overflow:auto; }
/* profile / sessions */
.sess-row { display:flex; gap:10px; align-items:center; padding:8px 0; border-top:1px solid var(--line); }
.sess-row:first-of-type { border-top:0; }
.sess-row .grow { min-width:0; } .sess-ua { font-size:12.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.prof-val { font-size:13px; color:var(--text-2,#475467); word-break:break-all; }
.chip-cur { font-size:11px; font-weight:600; color:#0f766e; background:#e6f4f4; border-radius:6px; padding:1px 6px; margin-left:6px; }
/* web invoice */
.inv-grid { display:grid; grid-template-columns:220px 1fr; gap:18px; align-items:start; }
.inv-grid img { width:220px; height:220px; border:1px solid var(--line); border-radius:12px; }
.inv-amt { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:24px; font-weight:700; letter-spacing:-.01em; }
.inv-field { margin:8px 0; } .inv-field .hint { margin-bottom:2px; }
.inv-copy { display:flex; gap:6px; align-items:center; } .inv-copy .mono { font-size:12.5px; word-break:break-all; background:#f2f4f7; border-radius:8px; padding:6px 8px; flex:1; }
.inv-status { margin-top:10px; padding:8px 10px; border-radius:10px; background:var(--info-bg,#eef4ff); font-size:13px; }
.inv-status.ok { background:#e7f6ec; color:#1b6b3a; } .inv-status.bad { background:#fdecec; color:#9b1c1c; }
.tab-badge { display:inline-block; min-width:18px; padding:0 5px; border-radius:9px; background:#f04438; color:#fff; font-size:11px; line-height:18px; text-align:center; margin-left:4px; }
.key-line { flex-wrap:wrap; row-gap:6px; }
.tar-admin .row-actions { flex-wrap:wrap; row-gap:4px; justify-content:flex-end; }
