/* Assist Workspace — styles for Google Business, Password manager, Renewals and shared bits */
div.field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-2); min-width: 0; }
.chip .sw { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
button.chip { font: inherit; font-size: 12.5px; }
.chip b { font-weight: 700; color: var(--text); margin-left: 2px; }
.search-box { position: relative; display: flex; align-items: center; min-width: 220px; flex: 1; max-width: 380px; }
.search-box svg { position: absolute; left: 10px; color: var(--muted); }
.search-box .input { padding-left: 32px; border-radius: 10px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-kpis div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.mini-kpis b { font-size: 20px; font-weight: 750; }
.mini-kpis small { color: var(--muted); font-size: 11.5px; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.setup-steps { margin: 0; padding-left: 18px; line-height: 1.75; }
.setup-steps li + li { margin-top: 4px; }
.reconnect-note { align-items: center; border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); }
.reconnect-note .grow { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- Google Business */
.gbp-head { overflow: hidden; background: radial-gradient(500px 200px at 100% 0%, color-mix(in srgb, var(--series-3) 14%, transparent), transparent 70%), var(--surface); }
.gbp-logo { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 10px 24px -10px currentColor; }
.gbp-logo svg { width: 26px; height: 26px; }
.gbp-rating { display: flex; flex-direction: column; align-items: center; padding: 8px 16px; border-radius: 14px; background: var(--warn-soft); }
.gbp-rating b { font-size: 30px; font-weight: 800; line-height: 1; color: var(--text); }
.stars { color: #f0b23c; letter-spacing: 2px; font-size: 16px; }
.stars.sm { font-size: 12px; letter-spacing: 1px; }
.gbp-rating small { color: var(--text-2); font-size: 11.5px; margin-top: 2px; }
.rating-bars { display: flex; flex-direction: column; gap: 6px; }
.rb { display: grid; grid-template-columns: 34px 1fr 30px; gap: 8px; align-items: center; font-size: 12px; }
.rb .track { height: 7px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.rb .track div { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #f0b23c, #eb6834); transition: width .9s var(--ease-out); }
.rb b { text-align: right; }
.review .avatar { width: 32px; height: 32px; }

/* ---------------------------------------------------------------- password manager */
.vault-gate { display: grid; place-items: center; min-height: 62vh; }
.gate-card { position: relative; width: min(420px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 34px 28px 26px; border-radius: 22px;
  background: radial-gradient(420px 220px at 50% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgba(2, 16, 15, .45); animation: cardIn .7s var(--ease-out) both; }
.gate-card.wide { width: min(500px, 100%); }
.gate-card h2 { font-size: 20px; }
.gate-card .stack { text-align: left; }
.gate-lock { width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; color: #fff; margin-bottom: 4px;
  background: linear-gradient(135deg, #3ff0d2, var(--brand) 55%, var(--brand-strong)); box-shadow: 0 18px 40px -14px var(--brand), inset 0 1px 0 rgba(255, 255, 255, .35); position: relative; }
.gate-lock svg { width: 36px; height: 36px; }
.gate-lock::after { content: ''; position: absolute; inset: -10px; border-radius: 30px; border: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); animation: lockPulse 2.4s ease-out infinite; }
.gate-lock.locked { background: linear-gradient(135deg, #8b5cf6, #3987e5); box-shadow: 0 18px 40px -14px #6d5cf0; }
.gate-lock.locked::after { border-color: rgba(139, 92, 246, .35); }
.gate-lock.new { background: linear-gradient(135deg, #f0b23c, #eb6834); box-shadow: 0 18px 40px -14px #eb6834; }
.gate-lock.new::after { border-color: rgba(235, 104, 52, .35); }
@keyframes lockPulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.gate-points { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; color: var(--muted); }
.gate-points span { display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
.vault-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; }
.lock-timer { font-variant-numeric: tabular-nums; }
.vault-toolbar { gap: 8px; }
.vault-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.vitem { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.vi-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vi-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-strong)); }
.vi-ic.t-server { background: linear-gradient(135deg, #3987e5, #256abf); }
.vi-ic.t-api { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.vi-ic.t-wifi { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.vi-ic.t-note { background: linear-gradient(135deg, #f0b23c, #d97706); }
.vi-ic.t-other { background: linear-gradient(135deg, #64748b, #334155); }
.vi-secret { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.vi-secret .mono { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .04em; }
.vi-totp { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 10px; cursor: pointer; background: var(--brand-soft); color: var(--brand-strong); font-size: 18px; font-weight: 750; letter-spacing: .14em; }
.vi-totp i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--brand); transition: width 1s linear; }
.vi-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vi-foot { border-top: 1px dashed var(--border); padding-top: 8px; }
.strength { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); }
.strength .bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; width: 120px; }
.strength .bars i { height: 5px; border-radius: 3px; background: var(--surface-3); transition: background .3s; }
.strength[data-score="0"] .bars i.on { background: var(--bad); }
.strength[data-score="1"] .bars i.on { background: #eb6834; }
.strength[data-score="2"] .bars i.on { background: var(--warn); }
.strength[data-score="3"] .bars i.on { background: #3cc46f; }
.strength[data-score="4"] .bars i.on { background: var(--good); }
.gen-out { display: flex; align-items: center; gap: 8px; padding: 14px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 17px; word-break: break-all; }
.gen-out .mono { flex: 1; font-size: 16px; }
input[type="range"] { accent-color: var(--brand); width: 100%; }

/* ---------------------------------------------------------------- renewals */
.renew-group { display: flex; flex-direction: column; gap: 8px; }
.rg-h { display: flex; align-items: center; gap: 8px; }
.renew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.renew { display: flex; align-items: center; gap: 14px; padding: 14px; cursor: pointer; }
.renew.late { border-color: color-mix(in srgb, var(--bad) 45%, var(--border)); background: linear-gradient(90deg, color-mix(in srgb, var(--bad) 7%, var(--surface)), var(--surface) 40%); }
.renew.done { opacity: .62; }
.renew-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ring-cd { position: relative; width: 56px; height: 56px; flex: none; }
.ring-cd svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-cd circle { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.ring-cd .trk { stroke: var(--surface-3); }
.ring-cd .val { stroke: var(--c); transition: stroke-dasharray 1.1s var(--ease-out); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c) 50%, transparent)); }
.rc-t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.rc-t b { font-size: 16px; font-weight: 800; }
.rc-t small { font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.renew-howto .kpi-ic { flex: none; }
@media (max-width: 600px) { .renew-grid, .vault-grid { grid-template-columns: 1fr; } .renew { flex-wrap: wrap; } .renew-actions { flex-direction: row; } }
