*{box-sizing:border-box}
:root{
  --bg:#f3f6fb;
  --panel:#fff;
  --text:#182230;
  --muted:#667085;
  --line:#e4e9f1;
  --primary:#0f2f68;
  --primary-2:#1557b0;
  --soft:#eef4fc;
  --success:#027a48;
  --danger:#b42318;
  --shadow:0 14px 38px rgba(15,35,70,.08);
}
html{min-width:320px}
body{
  margin:0;
  background:
    radial-gradient(circle at 0 0,rgba(21,87,176,.08),transparent 26rem),
    var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
button,input,select,textarea{font:inherit}
.topbar{
  min-height:72px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px clamp(16px,4vw,56px);
  position:sticky;
  top:0;
  z-index:50;
}
.brand{display:flex;align-items:center;gap:14px;color:var(--text);text-decoration:none;font-weight:850;flex-wrap:nowrap}

.brand small{color:var(--muted)}
.admin-nav{display:flex;align-items:center;gap:18px}
.admin-nav a{text-decoration:none;color:#344054;font-weight:700}
.user-chip{padding:7px 10px;border-radius:10px;background:var(--soft);color:var(--primary);font-size:12px;font-weight:700;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.menu-toggle{display:none;border:0;background:var(--soft);width:42px;height:42px;border-radius:12px;font-size:20px}
.container{width:min(1220px,92vw);margin:34px auto 60px}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.page-head h1{margin:4px 0 7px;font-size:clamp(28px,4vw,42px);line-height:1.08}
.page-head p{margin:0;color:var(--muted)}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:850;color:var(--primary-2)}
.btn{
  appearance:none;border:1px solid #d0d5dd;background:#fff;color:#344054;padding:9px 13px;border-radius:11px;text-decoration:none;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap
}
.btn:hover{border-color:#98a2b3}
.btn.primary{background:linear-gradient(145deg,var(--primary),var(--primary-2));border-color:transparent;color:#fff;box-shadow:0 8px 18px rgba(15,47,104,.18)}
.btn.large{padding:12px 17px}
.btn.danger{color:var(--danger)}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
.stat-card{display:flex;align-items:center;gap:14px;min-height:112px;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.stat-icon{flex:0 0 48px;width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:var(--soft);color:var(--primary);font-size:22px;font-weight:850}
.stat-card small{display:block;color:var(--muted);font-weight:650}
.stat-card strong{display:block;margin-top:4px;font-size:26px}
.stat-card strong em{font-size:12px;font-style:normal;color:var(--muted);font-weight:600}
.storage-card{grid-column:span 1}
.progress{height:7px;background:#e9eef6;border-radius:99px;overflow:hidden;margin-top:10px}
.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),#3b82f6);border-radius:inherit}
.content-panel,.panel,.auth-card{background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.content-panel{padding:20px}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-head h2{margin:0 0 3px}.section-head p{margin:0;color:var(--muted)}
.cards-grid{display:grid;gap:12px}
.admin-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);padding:16px;border-radius:16px;transition:.18s ease}
.admin-card:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(16,24,40,.06)}
.avatar{flex:0 0 58px;width:58px;height:58px;border-radius:16px;background:linear-gradient(145deg,#e7eef9,#f8fafc);display:grid;place-items:center;font-weight:850;overflow:hidden;color:var(--primary)}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.grow{flex:1;min-width:0}
.card-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.admin-card h3{margin:0;font-size:17px}.admin-card p{margin:4px 0;color:var(--muted)}
.slug-label,.owner-label{display:block;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis}
.owner-label{color:var(--primary-2);font-weight:650}
.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.actions form{margin:0}
.status{display:inline-flex;font-size:11px;font-weight:850;padding:6px 9px;border-radius:99px}.status.on{background:#ecfdf3;color:var(--success)}.status.off{background:#f2f4f7;color:#667085}
.panel{padding:24px}.panel h2{margin-top:0}.panel-wide{grid-column:1/-1}
.auth-card{max-width:430px;margin:65px auto;padding:28px}.auth-card h1{margin-top:0}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.single-form{max-width:900px}
label{display:block;font-weight:750;margin-bottom:16px}
input,select,textarea{width:100%;margin-top:7px;padding:11px 12px;border:1px solid #d0d5dd;border-radius:11px;background:#fff;color:inherit;outline:none}
input:focus,select:focus,textarea:focus{border-color:#84adf3;box-shadow:0 0 0 4px rgba(21,87,176,.08)}
textarea{resize:vertical}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}
.code-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.code-editor{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.5}
.hint,.field-help{color:var(--muted);font-size:12px;line-height:1.45;font-weight:500;display:block;margin-top:7px}
.current-profile{width:92px;height:92px;object-fit:cover;border-radius:18px;border:1px solid var(--line);margin:-5px 0 18px}
.gallery-admin{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 20px}
.gallery-admin-item{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.gallery-admin-item img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.gallery-admin-item span{display:flex;align-items:center;gap:7px;padding:9px;font-size:12px;color:var(--danger)}
.gallery-admin-item input{width:auto;margin:0}
.alert{padding:13px 15px;border-radius:12px;margin-bottom:20px}.alert.success{background:#ecfdf3;color:var(--success)}.alert.error{background:#fef3f2;color:var(--danger)}
.empty{text-align:center;padding:58px 20px;color:var(--muted)}.empty strong,.empty span{display:block}.empty strong{color:var(--text);font-size:18px;margin-bottom:6px}
.user-table-wrap{overflow:auto}
.user-table{width:100%;border-collapse:collapse;min-width:760px}
.user-table th,.user-table td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.user-table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.user-table td strong,.user-table td small{display:block}.user-table td small{color:var(--muted);margin-top:3px}
.role-badge{display:inline-flex;padding:5px 8px;border-radius:8px;background:var(--soft);color:var(--primary);font-size:11px;font-weight:850;text-transform:capitalize}
.input-suffix{display:flex;align-items:center;gap:8px}.input-suffix input{margin-top:7px}.input-suffix span{margin-top:7px;color:var(--muted);font-weight:700}
@media(max-width:1050px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .container{width:min(94vw,720px);margin-top:22px}
  .page-head{align-items:stretch;flex-direction:column}
  .page-head .btn{width:100%}
  .form-grid,.code-grid{grid-template-columns:1fr}
  .panel-wide{grid-column:auto}
  .admin-card{align-items:flex-start;flex-wrap:wrap}
  .card-main{width:calc(100% - 76px)}
  .actions{width:100%}.actions .btn,.actions form,.actions form button{flex:1}
  .menu-toggle{display:grid;place-items:center}
  .admin-nav{display:none;position:absolute;left:12px;right:12px;top:68px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
  .admin-nav.open{display:flex}
  .user-chip{max-width:none}
}
@media(max-width:520px){
  .stats-grid{grid-template-columns:1fr}
  .stat-card{min-height:94px}
  .gallery-admin{grid-template-columns:repeat(2,1fr)}
  .content-panel{padding:12px}
  .admin-card{padding:13px}
  .avatar{width:52px;height:52px;flex-basis:52px}
  .card-main{width:calc(100% - 68px)}
}

.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand img{display:block;width:234px;max-width:234px;height:78px;object-fit:contain;object-position:left center;transform:scale(1.24);transform-origin:left center}
.brand small{flex:0 0 auto;padding:4px 7px;border-radius:8px;background:var(--soft);color:var(--primary);font-size:11px}
.panel-title{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px}.panel-title h2{margin:0}.panel-title p{margin:4px 0 0;color:var(--muted);font-size:13px}.drag-handle,.drag-mini{color:#aab3c2;font-weight:900;letter-spacing:-3px;user-select:none}
.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.color-grid input[type=color]{height:48px;padding:5px}
.background-preview{padding:10px;border:1px solid var(--line);border-radius:14px;margin-bottom:16px}.background-preview img{display:block;width:100%;height:140px;object-fit:cover;border-radius:10px;margin-bottom:10px}
.section-switches{display:grid;gap:9px}.section-switch{display:flex;align-items:center;gap:10px;margin:0;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#f9fafc}.section-switch>span:nth-child(2){flex:1}.section-switch input{display:none}.section-switch i{position:relative;width:44px;height:24px;border-radius:99px;background:#cfd6e1;transition:.2s}.section-switch i:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:.2s}.section-switch input:checked+i{background:#18b981}.section-switch input:checked+i:after{transform:translateX(20px)}.save-panel{text-align:right}
@media(max-width:760px){.brand img{width:165px;max-width:52vw;height:40px}.brand small{display:none}.color-grid{grid-template-columns:1fr}.save-panel .btn{width:100%}}


.video-admin-preview{padding:10px;border:1px solid var(--line);border-radius:14px;margin-bottom:16px;background:#f9fafc}
.video-admin-preview video{display:block;width:100%;max-height:300px;border-radius:10px;background:#000;margin-bottom:10px}
@media(max-width:760px){
  .brand img{width:190px;max-width:55vw;height:42px}
}

.repeatable-block{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#f9fafc}.repeatable-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.repeatable-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:8px}.repeatable-row input{margin:0}@media(max-width:620px){.repeatable-head{flex-direction:column}.repeatable-row{grid-template-columns:1fr}}

.mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mode-card{margin:0;cursor:pointer}
.mode-card input{position:absolute;opacity:0;pointer-events:none}
.mode-card span{display:block;min-height:112px;padding:18px;border:2px solid var(--line);border-radius:17px;background:#fff;transition:.2s}
.mode-card strong,.mode-card small{display:block}.mode-card strong{font-size:18px}.mode-card small{margin-top:7px;color:var(--muted);line-height:1.4}
.mode-card input:checked+span{border-color:var(--primary-2);background:var(--soft);box-shadow:0 0 0 4px rgba(21,87,176,.08)}
.inner-grid{margin-bottom:20px}.repeatable-card{display:grid;gap:9px;padding:14px;margin-top:10px;border:1px solid var(--line);border-radius:14px;background:#fff}
.repeatable-card input,.repeatable-card textarea,.repeatable-card select{margin:0}.two-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.type-section[hidden]{display:none!important}.template-types{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0}
.aq-business-block,.aq-catalog-block{margin-top:28px}
@media(max-width:760px){.mode-cards{grid-template-columns:1fr}.two-inputs{grid-template-columns:1fr}}

.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}
.chart-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 12px 34px rgba(16,24,40,.06)}
.chart-card-small{grid-column:1/-1}
.chart-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.chart-card h2{margin:4px 0 0;font-size:20px}
.aq-chart{display:block;width:100%;height:300px}
.chart-card-small .aq-chart{height:240px}
@media(max-width:900px){.dashboard-charts{grid-template-columns:1fr}.chart-card-small{grid-column:auto}}


/* ===== AQ-VCARD 2.4 BACKEND VISUAL REFRESH ===== */
:root{
  --admin-bg:#f5f7fb;
  --admin-surface:#fff;
  --admin-border:#e3e8f2;
  --admin-text:#172033;
  --admin-muted:#667085;
  --admin-primary:#1557b0;
  --admin-primary-2:#6b35e8;
  --admin-shadow:0 16px 42px rgba(16,24,40,.07);
}
body{
  background:
    radial-gradient(circle at 8% 0%,rgba(21,87,176,.08),transparent 26rem),
    radial-gradient(circle at 100% 18%,rgba(107,53,232,.06),transparent 28rem),
    var(--admin-bg);
  color:var(--admin-text);
}
.admin-main{padding:28px}
.page-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  margin-bottom:24px;padding:24px 26px;border:1px solid var(--admin-border);
  border-radius:22px;background:linear-gradient(135deg,#fff,#f7f9ff);
  box-shadow:var(--admin-shadow)
}
.page-head h1{margin:4px 0 6px;font-size:clamp(28px,4vw,40px);letter-spacing:-.8px}
.page-head p{margin:0;color:var(--admin-muted)}
.eyebrow{
  display:inline-flex;align-items:center;min-height:26px;padding:5px 10px;border-radius:999px;
  color:var(--admin-primary);background:rgba(21,87,176,.08);font-size:11px;font-weight:900;
  letter-spacing:.8px;text-transform:uppercase
}
.panel{
  border:1px solid var(--admin-border);border-radius:22px;background:rgba(255,255,255,.97);
  box-shadow:var(--admin-shadow);overflow:hidden
}
.panel-title{
  display:flex;align-items:flex-start;gap:12px;margin:-2px -2px 20px;padding:18px 20px;
  border-bottom:1px solid var(--admin-border);background:linear-gradient(135deg,#fbfcff,#f6f8fd)
}
.panel-title h2{margin:0 0 4px;font-size:20px}
.panel-title p{margin:0;color:var(--admin-muted)}
input,select,textarea{
  border:1px solid #d7deea;border-radius:13px;background:#fff;color:var(--admin-text);
  box-shadow:0 1px 2px rgba(16,24,40,.03);
  transition:border-color .2s,box-shadow .2s
}
input:focus,select:focus,textarea:focus{
  outline:0;border-color:var(--admin-primary);box-shadow:0 0 0 4px rgba(21,87,176,.10)
}
input[type="file"]{padding:10px;background:#f8faff}
input[type="file"]::file-selector-button{
  margin-right:10px;padding:9px 13px;border:0;border-radius:9px;color:#fff;
  background:linear-gradient(135deg,var(--admin-primary),var(--admin-primary-2));
  font-weight:800;cursor:pointer
}
.btn{min-height:42px;border-radius:12px;font-weight:850;transition:transform .18s,box-shadow .18s}
.btn:hover{transform:translateY(-1px)}
.btn.primary{
  border:0;background:linear-gradient(135deg,var(--admin-primary),var(--admin-primary-2));
  box-shadow:0 10px 24px rgba(21,87,176,.22)
}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.stat-card{
  position:relative;overflow:hidden;min-height:134px;padding:20px;border:1px solid var(--admin-border);
  border-radius:20px;background:#fff;box-shadow:var(--admin-shadow)
}
.stat-card::after{
  content:"";position:absolute;width:110px;height:110px;right:-35px;bottom:-45px;border-radius:50%;
  background:linear-gradient(135deg,rgba(21,87,176,.10),rgba(107,53,232,.12))
}
.chart-card{border:1px solid var(--admin-border);border-radius:22px;background:#fff;box-shadow:var(--admin-shadow)}
.gallery-admin{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}
.gallery-admin-item{overflow:hidden;border-radius:16px;background:#f4f6fa;border:1px solid var(--admin-border)}
.gallery-admin-item img{width:100%;aspect-ratio:4/3;object-fit:cover}
.section-switches{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.section-switch{min-height:54px;padding:12px 14px;border:1px solid var(--admin-border);border-radius:14px;background:#fff}
.repeatable-block{border:1px solid var(--admin-border);border-radius:17px;background:#f8faff}
.repeatable-card{border:1px solid var(--admin-border);border-radius:15px;background:#fff}
.save-panel{
  position:sticky;bottom:14px;z-index:20;border-color:rgba(21,87,176,.14);
  background:rgba(255,255,255,.92);backdrop-filter:blur(14px)
}
.table-wrap{border:1px solid var(--admin-border);border-radius:16px;overflow:auto}
th{background:#f7f9fc;color:#475467;font-size:12px;text-transform:uppercase;letter-spacing:.6px}
td,th{border-bottom:1px solid var(--admin-border)}
tr:hover td{background:#fbfcff}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .admin-main{padding:14px}
  .page-head{align-items:flex-start;flex-direction:column;padding:20px;border-radius:18px}
  .stats-grid{grid-template-columns:1fr}
  .panel{border-radius:18px}
  .panel-title{padding:16px}
  .save-panel{bottom:8px}
}

.document-preview{display:flex;align-items:center;gap:14px;margin-top:14px;padding:14px;border:1px solid var(--admin-border,#e3e8f2);border-radius:15px;background:#f8faff}.document-preview-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#e74c1a,#ff7a18);font-weight:900;font-size:12px}.document-preview strong,.document-preview a{display:block}.document-preview a{margin-top:4px;color:#1557b0;text-decoration:none;font-weight:700}.document-preview .check{margin-left:auto}


.brand-logo-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background:
        linear-gradient(135deg, #f8faff, #eef3fb);
}

.brand-logo-preview img {
    width: auto;
    max-width: 240px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    background: transparent;
    border-radius: 10px;
}

@media (max-width: 620px) {
    .brand-logo-preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-logo-preview img {
        max-width: 100%;
    }
}


.qr-style-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.qr-style-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0;
    padding: 16px;
    border: 2px solid var(--admin-border, #e3e8f2);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #f8faff);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.qr-style-card:hover {
    transform: translateY(-2px);
}

.qr-style-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.qr-style-card:has(input:checked) {
    border-color: #1557b0;
    box-shadow: 0 0 0 4px rgba(21,87,176,.09);
}

.qr-style-card strong {
    color: #172033;
}

.qr-style-card small {
    color: #667085;
    text-align: center;
    line-height: 1.4;
}

.qr-style-preview {
    position: relative;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    background: #fff;
}

.qr-style-preview i {
    width: 58px;
    height: 58px;
    display: block;
    background:
        linear-gradient(90deg,#111 10px,transparent 10px) 0 0/20px 20px,
        linear-gradient(#111 10px,transparent 10px) 0 0/20px 20px,
        #fff;
    border: 6px solid #111;
}

.qr-style-preview-rounded {
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(15,23,42,.14);
}

.qr-style-preview-rounded i {
    border-radius: 8px;
}

.qr-style-preview-scanner {
    border-radius: 16px;
    outline: 4px solid #0b2f6a;
    outline-offset: 4px;
}

.qr-style-preview-scanner::before,
.qr-style-preview-scanner::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: solid #2f75ff;
    pointer-events: none;
}

.qr-style-preview-scanner::before {
    border-width: 4px 0 0 4px;
    width: 24px;
    height: 24px;
}

.qr-style-preview-scanner::after {
    left: auto;
    top: auto;
    border-width: 0 4px 4px 0;
    width: 24px;
    height: 24px;
}

@media (max-width: 760px) {
    .qr-style-options {
        grid-template-columns: 1fr;
    }
}

.template-picker-field{display:block}.template-picker-label{display:block;margin-bottom:3px;color:#344054;font-weight:800}.template-select-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.template-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin-top:14px}.template-preview-card{position:relative;display:grid;grid-template-rows:auto 1fr;gap:10px;padding:10px;border:2px solid var(--admin-border,#e3e8f2);border-radius:18px;background:#fff;text-align:left;cursor:pointer;box-shadow:0 8px 22px rgba(16,24,40,.05);transition:transform .2s,border-color .2s,box-shadow .2s}.template-preview-card:hover{transform:translateY(-3px);border-color:#aab9d1;box-shadow:0 14px 30px rgba(16,24,40,.10)}.template-preview-card.is-selected{border-color:#1557b0;box-shadow:0 0 0 4px rgba(21,87,176,.10),0 16px 34px rgba(21,87,176,.13)}.template-preview-card[hidden]{display:none!important}.template-preview-card img{display:block;width:100%;max-width:150px;aspect-ratio:160/220;object-fit:cover;margin:0 auto;border-radius:12px;background:#eef2f6}.template-preview-info{display:block}.template-preview-info strong,.template-preview-info small{display:block}.template-preview-info strong{color:#172033;font-size:13px}.template-preview-info small{margin-top:4px;color:#667085;font-size:10px;line-height:1.35}.template-preview-check{position:absolute;right:8px;top:8px;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#1557b0;font-weight:900;opacity:0;transform:scale(.7);transition:.2s}.template-preview-card.is-selected .template-preview-check{opacity:1;transform:scale(1)}@media(max-width:620px){.template-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.template-preview-card{padding:8px;border-radius:14px}.template-preview-card img{border-radius:9px}}


/* ===== AQ-VCARD 2.11 ICON SYSTEM ===== */
.aq-ui-icon{width:20px;height:20px;display:inline-block;flex:0 0 auto;color:currentColor;fill:none;vertical-align:middle}
.admin-nav a{display:inline-flex;align-items:center;gap:8px}
.admin-nav a .aq-ui-icon{width:19px;height:19px;color:#1557b0}
.nav-logout .aq-ui-icon{color:#d92d20!important}
.user-chip{display:inline-flex;align-items:center;gap:7px}
.user-chip .aq-ui-icon{width:17px;height:17px}
.menu-toggle{align-items:center;justify-content:center}
.menu-toggle .aq-ui-icon{width:22px;height:22px}

/* ===== COMPACT TEMPLATE DROPDOWN ===== */
.template-picker-field{position:relative;display:block}
.template-picker-dropdown{position:relative;margin-top:12px}
.template-picker-dropdown>summary{list-style:none}
.template-picker-dropdown>summary::-webkit-details-marker{display:none}
.template-picker-summary{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:94px;padding:11px 14px 11px 11px;border:2px solid var(--admin-border,#e3e8f2);border-radius:18px;background:linear-gradient(135deg,#fff,#f7f9ff);box-shadow:0 8px 22px rgba(16,24,40,.05);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.template-picker-summary:hover{border-color:#aebbd0;box-shadow:0 12px 28px rgba(16,24,40,.09)}
.template-picker-dropdown[open] .template-picker-summary{border-color:#1557b0;box-shadow:0 0 0 4px rgba(21,87,176,.09)}
.template-picker-summary>img{width:72px;height:72px;display:block;object-fit:cover;object-position:top center;border-radius:12px;border:1px solid #e1e6ef;background:#eef2f6}
.template-picker-summary-copy{display:block;min-width:0}
.template-picker-summary-copy small,.template-picker-summary-copy strong,.template-picker-summary-copy span{display:block}
.template-picker-summary-copy small{color:#667085;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.65px}
.template-picker-summary-copy strong{margin-top:4px;color:#172033;font-size:17px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.template-picker-summary-copy span{margin-top:5px;color:#667085;font-size:11px}
.template-picker-summary-action{display:inline-flex;align-items:center;gap:7px;color:#1557b0;font-size:12px;font-weight:850}
.template-picker-summary-action .aq-ui-icon{width:18px;height:18px;transition:transform .2s}
.template-picker-dropdown[open] .template-picker-summary-action .aq-ui-icon{transform:rotate(180deg)}
.template-picker-popover{position:absolute;z-index:80;left:0;right:0;top:calc(100% + 10px);max-height:min(68vh,590px);padding:14px;overflow:hidden;border:1px solid var(--admin-border,#e3e8f2);border-radius:20px;background:rgba(255,255,255,.98);box-shadow:0 24px 70px rgba(16,24,40,.22);backdrop-filter:blur(18px)}
.template-picker-popover-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:3px 3px 13px;border-bottom:1px solid #e7ebf2}
.template-picker-popover-head strong,.template-picker-popover-head small{display:block}
.template-picker-popover-head strong{color:#172033;font-size:16px}
.template-picker-popover-head small{margin-top:3px;color:#667085;font-size:11px}
.template-picker-close{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;padding:0;border:1px solid #d8dee9;border-radius:50%;color:#344054;background:#fff;font-size:23px;line-height:1;cursor:pointer}
.template-picker-popover .template-preview-grid{max-height:calc(min(68vh,590px) - 76px);margin-top:13px;padding:2px 4px 8px 2px;overflow:auto;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:11px}
.template-picker-popover .template-preview-card{padding:8px;border-radius:15px}
.template-picker-popover .template-preview-card img{max-width:122px;border-radius:10px}
.template-preview-check{width:27px!important;height:27px!important}
.template-preview-check .aq-ui-icon{width:17px;height:17px}
@media(max-width:700px){
  .template-picker-summary{grid-template-columns:62px minmax(0,1fr) 22px;min-height:82px;padding:9px;gap:10px}
  .template-picker-summary>img{width:62px;height:62px;border-radius:10px}
  .template-picker-summary-action>span{display:none}
  .template-picker-popover{position:fixed;z-index:120;inset:76px 10px 12px;max-height:none;border-radius:18px}
  .template-picker-popover .template-preview-grid{max-height:calc(100dvh - 176px);grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ===== AQ-VCARD 2.11.1 TEMPLATE PICKER LAYER FIX ===== */
.template-picker-field,
.template-picker-dropdown {
    position: relative !important;
    z-index: 300 !important;
}

.template-picker-dropdown[open] {
    z-index: 9999 !important;
}

.template-picker-popover {
    z-index: 10000 !important;
    overflow: visible !important;
}

.template-picker-popover .template-preview-grid {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Prevent parent panels from clipping the dropdown */
.panel:has(.template-picker-dropdown),
.editor-grid:has(.template-picker-dropdown),
form:has(.template-picker-dropdown) {
    overflow: visible !important;
}

.panel:has(.template-picker-dropdown) {
    position: relative !important;
    z-index: 500 !important;
}

@media (max-width: 700px) {
    .template-picker-popover {
        z-index: 20000 !important;
    }
}


/* ===== AQ-VCARD 2.12 LOGIN + MATH CAPTCHA ===== */
body.login-page {
    min-height: 100vh;
    background:
        linear-gradient(rgba(244,248,253,.64), rgba(244,248,253,.76)),
        url('/assets/img/login-background.png') center / cover fixed no-repeat;
}

body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(21,87,176,.08), transparent 28rem),
        radial-gradient(circle at 82% 86%, rgba(107,53,232,.06), transparent 32rem);
}

body.login-page .topbar {
    background: rgba(255,255,255,.62);
    border-bottom-color: rgba(208,217,231,.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.login-page .container {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    min-height: calc(100vh - 92px);
    display: grid;
    align-items: center;
    margin: 0 auto;
    padding: 32px 18px 54px;
}

.login-auth-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 38px);
    border: 1px solid rgba(255,255,255,.86);
    border-radius: 28px;
    background: rgba(255,255,255,.82);
    box-shadow:
        0 28px 80px rgba(22,48,86,.17),
        inset 0 1px 0 rgba(255,255,255,.88);
    backdrop-filter: blur(22px) saturate(1.08);
    -webkit-backdrop-filter: blur(22px) saturate(1.08);
}

.login-card-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.login-card-brand img {
    width: min(234px, 78%);
    height: auto;
    display: block;
}

.login-heading {
    margin-bottom: 24px;
    text-align: center;
}

.login-heading h1 {
    margin: 7px 0 8px;
    color: #172033;
    font-size: clamp(30px, 6vw, 42px);
    letter-spacing: -.9px;
}

.login-heading p {
    max-width: 360px;
    margin: 0 auto;
    color: #667085;
    line-height: 1.55;
}

.login-form {
    display: grid;
    gap: 17px;
}

.login-form > label,
.math-captcha-answer {
    display: grid;
    gap: 7px;
}

.login-form input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.92);
}

.math-captcha {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(120px, .7fr);
    gap: 12px;
    align-items: end;
    padding: 14px;
    border: 1px solid #dce4ef;
    border-radius: 17px;
    background:
        linear-gradient(135deg, rgba(237,244,255,.92), rgba(248,250,255,.96));
}

.math-captcha-question {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.math-captcha-symbol {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #1557b0, #6b35e8);
    box-shadow: 0 9px 22px rgba(21,87,176,.22);
    font-size: 24px;
    font-weight: 850;
}

.math-captcha-question small,
.math-captcha-question strong {
    display: block;
}

.math-captcha-question small {
    color: #667085;
    font-size: 10px;
    margin-left: 2px;
    font-weight: 750;
    letter-spacing: .55px;
    text-transform: uppercase;
}

.math-captcha-question strong {
    margin-top: 3px;
    color: #172033;
    font-size: 16px;
}

.math-captcha-answer input {
    text-align: center;
    font-size: 18px;
    font-weight: 850;
}

.login-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 2px;
    border-radius: 14px;
    font-size: 15px;
}

body.login-page .alert {
    position: relative;
    z-index: 2;
    margin: 0 auto 14px;
    border-radius: 14px;
    backdrop-filter: blur(12px);
}

@media (max-width: 620px) {
    body.login-page .topbar {
        min-height: 64px;
        justify-content: center;
    }

    body.login-page .topbar .brand {
        justify-content: center;
    }

    body.login-page .container {
        min-height: calc(100vh - 64px);
        padding: 22px 12px 38px;
    }

    .login-auth-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .math-captcha {
        grid-template-columns: 1fr;
    }
}


/* ===== AQ 2.12.2 BRAND LOGO PREVIEW ===== */
.brand-logo-preview {
    background:
        linear-gradient(135deg, #f6f8fc, #eef3fb) !important;
}

.brand-logo-preview img {
    max-width: 320px !important;
    max-height: 120px !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 620px) {
    .brand-logo-preview img {
        max-width: 100% !important;
        max-height: 100px !important;
    }
}


/* ===== AQ 2.13 PRODUCT EDITOR ===== */
.product-row {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
    padding: 18px !important;
    border-radius: 18px !important;
    background:
        linear-gradient(135deg, #fff, #f8faff) !important;
    border: 1px solid var(--admin-border, #e3e8f2) !important;
    box-shadow: 0 10px 28px rgba(16,24,40,.05) !important;
}

.product-row > textarea,
.product-row > .two-inputs,
.product-row > input[name*="[image]"],
.product-row > select,
.product-row > .remove-repeatable {
    grid-column: 1 / -1 !important;
}

.product-row > .two-inputs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
}

.product-row > select {
    max-width: 240px !important;
}

.product-row > .remove-repeatable {
    justify-self: end !important;
}

@media (max-width: 680px) {
    .product-row {
        grid-template-columns: 1fr !important;
    }

    .product-row > .two-inputs {
        grid-template-columns: 1fr !important;
    }

    .product-row > select {
        max-width: none !important;
    }
}


/* ===== AQ 2.14 AUTOMATIC TEMPLATE STYLE ===== */
.template-auto-style {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--admin-border, #e3e8f2) !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #f8faff, #eef4ff) !important;
    cursor: pointer !important;
}

.template-auto-style input {
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    accent-color: #1557b0 !important;
}

.template-auto-style span,
.template-auto-style strong,
.template-auto-style small {
    display: block !important;
}

.template-auto-style strong {
    color: #172033 !important;
    font-size: 13px !important;
}

.template-auto-style small {
    margin-top: 3px !important;
    color: #667085 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

.template-picker-field.preset-applied .template-auto-style {
    border-color: #1557b0 !important;
    box-shadow: 0 0 0 4px rgba(21,87,176,.09) !important;
}


/* ===== AQ-VCARD 2.17 USER PLANS ===== */
.plan-selector {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.plan-option {
    position: relative;
    display: flex;
    min-height: 154px;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 17px;
    overflow: hidden;
    border: 2px solid var(--admin-border, #e3e8f2);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #f7f9ff);
    box-shadow: 0 10px 25px rgba(16,24,40,.05);
    cursor: pointer;
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.plan-option:hover {
    transform: translateY(-3px);
    border-color: #afbdd2;
}

.plan-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-option:has(input:checked) {
    border-color: #1557b0;
    box-shadow:
        0 0 0 4px rgba(21,87,176,.09),
        0 16px 34px rgba(21,87,176,.12);
}

.plan-option-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.plan-option-head strong,
.plan-option-head span,
.plan-option-limit {
    display: block;
}

.plan-option-head strong {
    color: #172033;
    font-size: 17px;
}

.plan-option-head span {
    padding: 5px 8px;
    border-radius: 999px;
    color: #1557b0;
    background: rgba(21,87,176,.09);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.plan-option-limit {
    margin-top: auto;
    color: #667085;
    font-size: 13px;
    font-weight: 750;
}

.plan-option-check {
    position: absolute;
    right: 13px;
    bottom: 12px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: transparent;
    background: #edf1f6;
    font-size: 13px;
    font-weight: 900;
}

.plan-option:has(input:checked) .plan-option-check {
    color: #fff;
    background: linear-gradient(135deg, #1557b0, #6b35e8);
}

.admin-unlimited-note {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(107,53,232,.18);
    border-radius: 15px;
    color: #4b2b88;
    background: rgba(107,53,232,.07);
}

.admin-unlimited-note strong,
.admin-unlimited-note span {
    display: block;
}

.admin-unlimited-note span {
    margin-top: 4px;
    color: #694ca0;
    font-size: 12px;
    line-height: 1.5;
}

#userPlanPanel.is-admin-role .plan-selector {
    opacity: .46;
    filter: grayscale(.35);
    pointer-events: none;
}

.plan-table-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    color: #1557b0;
    background: rgba(21,87,176,.09);
    font-size: 11px;
    font-weight: 850;
}

.btn.disabled {
    color: #98a2b3;
    background: #e8ebf0;
    border-color: #e0e4ea;
    box-shadow: none;
    pointer-events: none;
}

.stat-subline {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 1050px) {
    .plan-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .plan-selector {
        grid-template-columns: 1fr;
    }

    .plan-option {
        min-height: 125px;
    }
}


/* ===== AQ-VCARD 2.19 BACKGROUND PRESETS ===== */
.background-preset-picker {
    margin: 8px 0 14px;
    padding: 16px;
    border: 1px solid var(--admin-border, #e3e8f2);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .04);
}

.background-preset-head strong,
.background-preset-head span {
    display: block;
}

.background-preset-head strong {
    color: #162033;
    font-size: 14px;
    font-weight: 900;
}

.background-preset-head span {
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
}

.background-preset-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.background-preset-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border: 2px solid #e3e8f2;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.background-preset-card:hover {
    transform: translateY(-3px);
    border-color: #98b4d8;
    box-shadow: 0 12px 24px rgba(21, 87, 176, .08);
}

.background-preset-card.is-active {
    border-color: #1557b0;
    box-shadow: 0 0 0 4px rgba(21, 87, 176, .10);
}

.background-preset-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.background-preset-card span {
    color: #344054;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.background-preset-picker .btn.subtle {
    margin-top: 12px;
}

@media (max-width: 980px) {
    .background-preset-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .background-preset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ===== AQ 2.19.1 — TRANSPARENT LOGO PREVIEW ===== */
.brand-logo-preview,
.brand-logo-preview img {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.brand-logo-preview {
    padding: 12px 0 !important;
}

.brand-logo-preview img {
    border-radius: 0 !important;
    object-fit: contain !important;
    filter:
        drop-shadow(0 8px 16px rgba(0,0,0,.18))
        drop-shadow(0 0 6px rgba(255,255,255,.12)) !important;
}

/* AQ 2.21 dashboard */
.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 22px;padding:28px;border-radius:26px;color:#fff;background:radial-gradient(circle at 85% 20%,rgba(125,91,255,.5),transparent 18rem),linear-gradient(135deg,#0e254a,#1557b0 55%,#6b35e8);box-shadow:0 22px 48px rgba(25,58,125,.2)}
.dashboard-hero h1{margin:5px 0 7px;font-size:clamp(30px,4vw,48px)}.dashboard-hero p{margin:0;color:#dbe8ff}.dashboard-hero .eyebrow{color:#bcd3ff}
.pro-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.pro-stat{display:flex;align-items:center;gap:14px;min-height:118px;padding:18px;border:1px solid #e4e9f2;border-radius:20px;background:linear-gradient(145deg,#fff,#f8faff);box-shadow:0 12px 28px rgba(16,24,40,.06)}.pro-stat-wide{grid-column:span 1}.pro-stat-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:15px;color:#1557b0;background:#eaf2ff;font-size:22px}.pro-stat small,.pro-stat strong,.pro-stat em{display:block}.pro-stat small{color:#667085;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.pro-stat strong{margin-top:5px;color:#172033;font-size:24px}.pro-stat strong em,.pro-stat>div>em{color:#667085;font-size:11px;font-style:normal;font-weight:700}.dashboard-charts-pro{margin-bottom:20px}.admin-user-insights{margin-bottom:22px;padding:22px;border-radius:22px;background:#fff;border:1px solid #e4e9f2;box-shadow:0 12px 30px rgba(16,24,40,.06)}.insight-table-wrap{overflow:auto}.insight-table{width:100%;border-collapse:collapse}.insight-table th,.insight-table td{padding:13px;border-bottom:1px solid #edf0f5;text-align:left}.insight-table td strong,.insight-table td small{display:block}.insight-table td small{color:#667085;margin-top:3px}.mini-progress{width:160px;max-width:100%;height:6px;margin-top:6px;overflow:hidden;border-radius:999px;background:#edf1f6}.mini-progress i{display:block;height:100%;background:linear-gradient(90deg,#1557b0,#6b35e8)}.pro-admin-card{border-radius:19px}.domain-label{display:block;margin-top:6px;color:#1557b0;font-weight:750}.custom-domain-panel{border-color:#cfdcf0}.domain-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px}.domain-steps{margin-top:12px;padding:12px 14px;border-radius:13px;color:#31547d;background:#edf5ff;font-size:12px}.plan-selector{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1100px){.pro-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-selector{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.dashboard-hero{align-items:flex-start;flex-direction:column;padding:22px}.pro-stats-grid{grid-template-columns:1fr}.domain-grid{grid-template-columns:1fr}.plan-selector{grid-template-columns:1fr}}


/* ===== AQ-VCARD 2.22 AUTHENTICATION MAIL FLOW ===== */
.auth-recovery-link {
    display: block;
    margin-top: 14px;
    color: #1557b0;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.auth-recovery-link:hover {
    text-decoration: underline;
}

.credential-mail-note {
    margin-top: 15px;
    padding: 14px 16px;
    border: 1px solid rgba(21, 87, 176, .16);
    border-radius: 15px;
    color: #214b82;
    background:
        linear-gradient(135deg, rgba(21,87,176,.07), rgba(107,53,232,.06));
}

.credential-mail-note strong,
.credential-mail-note span {
    display: block;
}

.credential-mail-note strong {
    font-size: 13px;
}

.credential-mail-note span {
    margin-top: 4px;
    color: #526b8d;
    font-size: 11px;
    line-height: 1.55;
}


/* ===== AQ-VCARD 2.23 DASHBOARD PRO ===== */
.dashboard-hero-v2{position:relative;min-height:280px;overflow:hidden;padding:34px;background:radial-gradient(circle at 82% 16%,rgba(126,91,255,.62),transparent 18rem),radial-gradient(circle at 65% 90%,rgba(0,207,255,.20),transparent 20rem),linear-gradient(135deg,#0b1f40,#1557b0 55%,#6334dd)}
.dashboard-hero-copy{position:relative;z-index:3;max-width:650px}.dashboard-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.dashboard-primary-action,.dashboard-secondary-action{display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:11px 17px;border:1px solid rgba(255,255,255,.24);border-radius:14px;font-weight:850}
.dashboard-primary-action{color:#123561;background:#fff}.dashboard-secondary-action{color:#fff;background:rgba(255,255,255,.10);backdrop-filter:blur(10px)}
.dashboard-primary-action .aq-ui-icon,.dashboard-secondary-action .aq-ui-icon{width:19px;height:19px}
.dashboard-hero-visual{position:absolute;z-index:2;right:36px;bottom:-45px;width:280px;height:270px}
.hero-phone-card{position:absolute;right:34px;bottom:0;width:152px;height:260px;padding:12px;border:6px solid rgba(255,255,255,.76);border-radius:30px;transform:rotate(7deg);background:#edf4ff;box-shadow:0 24px 48px rgba(0,0,0,.28)}
.hero-phone-photo{height:122px;border-radius:19px;background:radial-gradient(circle at 50% 34%,#f0c3ae 0 22px,transparent 23px),linear-gradient(145deg,#85b7ef,#dbe9fb)}
.hero-phone-card i{display:block;height:17px;margin-top:12px;border-radius:999px;background:linear-gradient(90deg,#1557b0,#7a4df2)}.hero-phone-card i:nth-child(3){width:78%}.hero-phone-card i:nth-child(4){width:60%}
.hero-floating-badge{position:absolute;display:flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid rgba(255,255,255,.30);border-radius:13px;color:#fff;background:rgba(8,25,55,.58);box-shadow:0 14px 30px rgba(0,0,0,.20);backdrop-filter:blur(12px);font-size:11px;font-weight:850}
.hero-floating-badge .aq-ui-icon{width:17px;height:17px}.hero-floating-one{top:45px;left:0}.hero-floating-two{right:0;bottom:74px}
.pro-stats-grid-v2 .pro-stat{position:relative;overflow:hidden;transition:transform .24s ease,box-shadow .24s ease}.pro-stats-grid-v2 .pro-stat:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(16,24,40,.10)}
.pro-stats-grid-v2 .pro-stat::after{content:"";position:absolute;right:-20px;bottom:-32px;width:88px;height:88px;border-radius:50%;opacity:.10;background:currentColor}.pro-stats-grid-v2 .pro-stat-icon .aq-ui-icon{width:24px;height:24px}
.pro-stat-blue{color:#1557b0}.pro-stat-purple{color:#7042df}.pro-stat-green{color:#07875f}.pro-stat-orange{color:#d5680b}.pro-stat-purple .pro-stat-icon{color:#7042df;background:#f0ebff}.pro-stat-green .pro-stat-icon{color:#07875f;background:#e6f8f1}.pro-stat-orange .pro-stat-icon{color:#d5680b;background:#fff1e5}
.dashboard-system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:20px}
.system-status-card{display:flex;align-items:center;gap:15px;min-width:0;padding:20px;border:1px solid #e4e9f2;border-radius:21px;background:radial-gradient(circle at 100% 0%,rgba(21,87,176,.06),transparent 12rem),#fff;box-shadow:0 12px 30px rgba(16,24,40,.06)}
.system-status-icon{width:52px;height:52px;display:grid;place-items:center;flex:0 0 52px;border-radius:16px;color:#1557b0;background:#eaf2ff}.system-status-icon .aq-ui-icon{width:25px;height:25px}
.system-status-card h3{margin:7px 0 3px;color:#172033;font-size:17px}.system-status-card p{margin:0;color:#667085;font-size:12px}
.status-pill{display:inline-flex;min-height:25px;align-items:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900}.status-pill.is-ready{color:#027a48;background:#ecfdf3}.status-pill.is-pending{color:#b54708;background:#fff4e5}
.elegant-button{min-height:40px;padding:9px 13px;border-radius:12px;color:#1557b0;border-color:#cbd9ed;background:linear-gradient(145deg,#fff,#f2f6fc);box-shadow:0 8px 17px rgba(21,87,176,.08)}
.chart-card-featured{background:radial-gradient(circle at 100% 0%,rgba(107,53,232,.06),transparent 15rem),#fff}.chart-summary{display:inline-flex;min-height:30px;align-items:center;padding:6px 10px;border-radius:999px;color:#1557b0;background:#edf4ff;font-size:11px;font-weight:850}
.dashboard-vcards-panel{background:radial-gradient(circle at 100% 0%,rgba(21,87,176,.04),transparent 18rem),#fff}.dashboard-card-grid{gap:14px}
.dashboard-vcard-card{display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px;transition:transform .22s ease,box-shadow .22s ease}.dashboard-vcard-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(16,24,40,.08)}
.dashboard-card-preview{width:104px;height:82px;overflow:hidden;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(145deg,#1557b0,#6b35e8);font-size:30px;font-weight:900}.dashboard-card-preview img{width:100%;height:100%;object-fit:cover}
.dashboard-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.icon-action{display:inline-flex;align-items:center;gap:6px;min-height:38px;border-radius:11px}.icon-action .aq-ui-icon{width:16px;height:16px}
@media(max-width:950px){.dashboard-hero-visual{opacity:.56;right:-30px}.dashboard-system-grid{grid-template-columns:1fr}.dashboard-vcard-card{grid-template-columns:84px minmax(0,1fr)}.dashboard-card-preview{width:84px;height:72px}.dashboard-card-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:640px){.dashboard-hero-v2{min-height:0;padding:24px 20px}.dashboard-hero-visual{display:none}.dashboard-hero-actions{flex-direction:column;align-items:stretch}.dashboard-primary-action,.dashboard-secondary-action{justify-content:center}.system-status-card{align-items:flex-start;flex-wrap:wrap}.system-status-card form,.system-status-card>.btn{width:100%}.system-status-card form .btn,.system-status-card>.btn{width:100%;justify-content:center}.dashboard-vcard-card{grid-template-columns:68px minmax(0,1fr)}.dashboard-card-preview{width:68px;height:68px;border-radius:50%}}


/* ===== AQ-VCARD 2.24 QR GENERATOR ===== */
.dashboard-qr-promo {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0,1fr) 150px auto;
    align-items: center;
    gap: 22px;
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid #dce6f4;
    border-radius: 23px;
    background:
        radial-gradient(circle at 80% 20%, rgba(0,185,137,.15), transparent 13rem),
        radial-gradient(circle at 10% 90%, rgba(21,87,176,.08), transparent 16rem),
        #fff;
    box-shadow: 0 14px 34px rgba(16,24,40,.07);
}

.dashboard-qr-promo::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(0,185,137,.08);
}

.dashboard-qr-promo-copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-qr-promo-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    border-radius: 19px;
    color: #007c5b;
    background: linear-gradient(145deg, #d9fff3, #b7f2df);
    box-shadow: 0 12px 25px rgba(0,125,91,.14);
}

.dashboard-qr-promo-icon .aq-ui-icon {
    width: 31px;
    height: 31px;
}

.dashboard-qr-promo h2 {
    margin: 5px 0;
    color: #172033;
    font-size: 22px;
}

.dashboard-qr-promo p {
    max-width: 680px;
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.dashboard-qr-mini-preview {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 112px;
    padding: 12px;
    border: 1px solid #d8e0eb;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 25px rgba(16,24,40,.08);
}

.dashboard-qr-mini-preview i {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 7px solid #16213a;
}

.dashboard-qr-mini-preview i:nth-child(1) {
    top: 13px;
    left: 13px;
}

.dashboard-qr-mini-preview i:nth-child(2) {
    top: 13px;
    right: 13px;
}

.dashboard-qr-mini-preview i:nth-child(3) {
    left: 13px;
    bottom: 13px;
}

.dashboard-qr-mini-preview span {
    position: absolute;
    right: 20px;
    bottom: 22px;
    width: 35px;
    height: 35px;
    background:
        linear-gradient(90deg, #16213a 7px, transparent 7px 14px, #16213a 14px 21px, transparent 21px 28px, #16213a 28px),
        linear-gradient(#16213a 7px, transparent 7px 14px, #16213a 14px 21px, transparent 21px 28px, #16213a 28px);
}

.dashboard-qr-open {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 17px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #008963, #00b985);
    box-shadow: 0 13px 26px rgba(0,137,99,.22);
}

.dashboard-qr-open .aq-ui-icon {
    width: 18px;
    height: 18px;
}

.qr-page-head {
    align-items: flex-end;
}

.qr-builder {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
    gap: 20px;
    align-items: start;
}

.qr-builder-editor {
    display: grid;
    gap: 18px;
}

.qr-builder-panel,
.qr-builder-preview {
    border: 1px solid #dde5f0;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 13px 34px rgba(16,24,40,.06);
}

.qr-builder-panel {
    padding: 23px;
}

.qr-step-title,
.qr-preview-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.qr-step-title > span,
.qr-preview-head > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 8px;
    color: #fff;
    background: #263653;
    font-size: 13px;
    font-weight: 900;
}

.qr-step-title h2,
.qr-preview-head h2 {
    margin: 0;
    color: #172033;
    font-size: 19px;
}

.qr-step-title p,
.qr-preview-head p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 12px;
}

.qr-type-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 8px;
    margin-top: 18px;
}

.qr-type-button {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #263653;
    background: #f8fafc;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.qr-type-button:hover {
    transform: translateY(-2px);
    border-color: #a9dcca;
    background: #f0fff9;
}

.qr-type-button.is-active {
    color: #007e5c;
    border-color: #00b985;
    background: #e8fbf4;
    box-shadow: 0 0 0 3px rgba(0,185,133,.09);
}

.qr-type-button .aq-ui-icon {
    width: 17px;
    height: 17px;
}

.qr-dynamic-fields,
.qr-vcard-helper {
    margin-top: 18px;
}

.qr-dynamic-fields label,
.qr-vcard-helper label {
    display: grid;
    gap: 7px;
}

.qr-dynamic-fields textarea {
    resize: vertical;
}

.qr-two-fields,
.qr-three-fields {
    display: grid;
    gap: 13px;
}

.qr-two-fields {
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.qr-three-fields {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.qr-design-tabs {
    display: flex;
    gap: 4px;
    margin: 18px -23px 0;
    padding: 0 23px;
    border-bottom: 1px solid #e6eaf0;
}

.qr-design-tabs button {
    min-height: 45px;
    padding: 10px 19px;
    border: 0;
    border-bottom: 3px solid transparent;
    color: #536176;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.qr-design-tabs button.is-active {
    color: #008963;
    border-color: #00b985;
}

.qr-design-tab {
    display: none;
    padding-top: 20px;
}

.qr-design-tab.is-active {
    display: block;
}

.qr-control-group + .qr-control-group {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}

.qr-control-group > strong {
    display: block;
    margin-bottom: 12px;
    color: #344054;
    font-size: 13px;
}

.qr-shape-options {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.qr-shape-option {
    width: 110px;
    cursor: pointer;
}

.qr-shape-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.qr-shape-option > span {
    height: 67px;
    display: grid;
    place-items: center;
    border: 2px solid #d5dae2;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.qr-shape-option input:checked + span {
    border-color: #5797ff;
    box-shadow: 0 0 0 3px rgba(87,151,255,.10);
}

.qr-shape-option small {
    display: block;
    margin-top: 6px;
    color: #667085;
    text-align: center;
    font-weight: 750;
}

.qr-shape-sample {
    grid-template-columns: repeat(2, 14px);
    gap: 4px;
}

.qr-shape-sample i {
    width: 14px;
    height: 14px;
    background: #101828;
}

.qr-shape-rounded i {
    border-radius: 5px;
}

.qr-shape-dot i {
    border-radius: 50%;
}

.qr-finder-sample i {
    width: 36px;
    height: 36px;
    border: 8px solid #263653;
}

.qr-finder-rounded i {
    border-radius: 10px;
}

.qr-finder-circle i {
    border-radius: 50%;
}

.qr-color-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 13px;
}

.qr-color-input {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 8px;
}

.qr-color-input input[type="color"] {
    width: 52px;
    height: 46px;
    padding: 3px;
}

.qr-toggle {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
    margin-top: 15px;
    cursor: pointer;
}

.qr-toggle input {
    position: absolute;
    opacity: 0;
}

.qr-toggle i {
    position: relative;
    width: 38px;
    height: 21px;
    flex: 0 0 38px;
    border-radius: 999px;
    background: #cfd5de;
    transition: background .18s ease;
}

.qr-toggle i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.18);
    transition: transform .18s ease;
}

.qr-toggle input:checked + i {
    background: #00b985;
}

.qr-toggle input:checked + i::after {
    transform: translateX(17px);
}

.qr-builder-preview {
    position: sticky;
    top: 88px;
    padding: 23px;
}

.qr-preview-frame {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1;
    overflow: hidden;
    display: grid;
    place-items: center;
    margin: 20px auto 0;
    border: 1px solid #d8e1ec;
    border-radius: 17px;
    background:
        linear-gradient(45deg, #f4f6f8 25%, transparent 25%),
        linear-gradient(-45deg, #f4f6f8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f4f6f8 75%),
        linear-gradient(-45deg, transparent 75%, #f4f6f8 75%),
        #fff;
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

.qr-preview-frame img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .2s ease, filter .2s ease;
}

.qr-preview-frame img.is-loading {
    opacity: .42;
    filter: grayscale(1);
}

.qr-preview-placeholder {
    position: absolute;
    z-index: 3;
    width: 72%;
    color: #667085;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    pointer-events: none;
}

.qr-preview-placeholder[hidden] {
    display: none;
}

.qr-preview-status {
    margin-top: 13px;
    color: #667085;
    text-align: center;
    font-size: 12px;
}

.qr-preview-status.is-error {
    color: #b42318;
}

.qr-generate-button {
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    border-radius: 14px;
}

.qr-generate-button .aq-ui-icon {
    width: 19px;
    height: 19px;
}

.qr-download-actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    margin-top: 10px;
}

.qr-download-button {
    min-height: 45px;
    border-radius: 13px;
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #008963, #00b985);
}

.qr-download-button:disabled {
    color: #fff;
    opacity: .42;
    cursor: not-allowed;
}

.qr-scan-warning {
    display: grid;
    gap: 4px;
    margin-top: 17px;
    padding: 13px;
    border-radius: 13px;
    color: #7a4b00;
    background: #fff7e6;
}

.qr-scan-warning strong {
    font-size: 12px;
}

.qr-scan-warning span {
    font-size: 11px;
    line-height: 1.5;
}

.qr-benefits {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
    margin-top: 20px;
}

.qr-benefits article {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 155px;
    align-content: center;
    padding: 20px;
    border: 1px solid #e1e7ef;
    border-radius: 19px;
    text-align: center;
    background: #fff;
}

.qr-benefits .aq-ui-icon {
    width: 29px;
    height: 29px;
    color: #00a878;
}

.qr-benefits strong {
    color: #263653;
}

.qr-benefits span {
    color: #667085;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 1080px) {
    .qr-builder {
        grid-template-columns: 1fr;
    }

    .qr-builder-preview {
        position: static;
    }

    .qr-type-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }

    .qr-benefits {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .dashboard-qr-promo {
        grid-template-columns: 1fr auto;
    }

    .dashboard-qr-mini-preview {
        display: none;
    }

    .dashboard-qr-open {
        grid-column: 1 / -1;
    }

    .qr-type-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .qr-two-fields,
    .qr-three-fields,
    .qr-color-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .dashboard-qr-promo-copy {
        align-items: flex-start;
    }

    .dashboard-qr-promo-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .qr-builder-panel,
    .qr-builder-preview {
        padding: 17px;
        border-radius: 18px;
    }

    .qr-design-tabs {
        margin-right: -17px;
        margin-left: -17px;
        padding: 0 17px;
    }

    .qr-design-tabs button {
        flex: 1;
        padding-right: 8px;
        padding-left: 8px;
    }

    .qr-type-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .qr-shape-option {
        width: calc(50% - 6px);
    }

    .qr-benefits {
        grid-template-columns: 1fr;
    }

    .qr-download-actions {
        grid-template-columns: 1fr;
    }
}


/* ===== AQ-VCARD 2.24.1 HEADER + QR STYLES ===== */
.topbar .brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    overflow: visible;
}

.topbar .brand-logo-box {
    width: 238px;
    height: 58px;
    display: flex;
    align-items: center;
    flex: 0 0 238px;
    overflow: hidden;
}

.topbar .brand-logo-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: 58px !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: none !important;
}

.topbar .brand-version {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 58px;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(21,87,176,.15);
    border-radius: 999px;
    color: #1557b0;
    background: linear-gradient(145deg,#f4f8ff,#e9f1ff);
    box-shadow: 0 6px 14px rgba(21,87,176,.08);
    font-size: 10px;
    margin-left: 2px;
    font-weight: 900;
    letter-spacing: .25px;
    white-space: nowrap;
}

.qr-control-description {
    margin: -5px 0 13px;
    color: #667085;
    font-size: 11px;
}

.qr-style-preset-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 11px;
}

.qr-style-preset {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-height: 132px;
    padding: 10px;
    border: 2px solid #d9dee6;
    border-radius: 14px;
    color: #344054;
    background: #fff;
    cursor: pointer;
    font: inherit;
    transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.qr-style-preset:hover {
    transform: translateY(-3px);
    border-color: #82afe9;
}

.qr-style-preset.is-active {
    border-color: #5797ff;
    box-shadow: 0 0 0 4px rgba(87,151,255,.10);
}

.qr-style-preset strong {
    font-size: 11px;
}

.qr-style-preset small {
    color: #667085;
    font-size: 9px;
}

.qr-style-preset-art {
    position: relative;
    width: 68px;
    height: 68px;
    display: block;
    border-radius: 8px;
    background: #fff;
}

.qr-style-preset-art i {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 5px solid #101828;
}

.qr-style-preset-art i:nth-child(1) { top: 4px; left: 4px; }
.qr-style-preset-art i:nth-child(2) { top: 4px; right: 4px; }
.qr-style-preset-art i:nth-child(3) { left: 4px; bottom: 4px; }

.qr-style-preset-art b {
    position: absolute;
    right: 7px;
    bottom: 8px;
    width: 27px;
    height: 29px;
    background:
        radial-gradient(circle,#101828 0 3px,transparent 4px) 0 0/10px 10px;
}

.qr-preset-soft i,
.qr-preset-print i {
    border-radius: 6px;
}

.qr-preset-soft b,
.qr-preset-capsule b,
.qr-preset-print b {
    background:
        radial-gradient(ellipse at center,#101828 0 3px,transparent 4px) 0 0/10px 8px;
}

.qr-preset-capsule i,
.qr-preset-dots i,
.qr-preset-bubble i {
    border-radius: 50%;
}

.qr-preset-dots b,
.qr-preset-bubble b {
    background:
        radial-gradient(circle,#101828 0 3px,transparent 4px) 0 0/9px 9px;
}

.qr-preset-tech b {
    background:
        linear-gradient(90deg,#101828 4px,transparent 4px 8px,#101828 8px 12px,transparent 12px) 0 0/16px 8px,
        linear-gradient(#101828 4px,transparent 4px 8px,#101828 8px 12px,transparent 12px) 0 0/8px 16px;
}

.qr-preset-compact {
    transform: scale(.88);
}

.qr-finder-dot-sample i {
    width: 31px;
    height: 31px;
    display: block;
    background: #263653;
}

.qr-finder-dot-rounded i {
    border-radius: 9px;
}

.qr-finder-dot-dot i {
    border-radius: 50%;
}

.qr-output-size-fields {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}

.qr-size-advice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 13px;
    padding: 12px 14px;
    border-radius: 13px;
    color: #225b92;
    background: #edf5ff;
}

.qr-size-advice strong {
    flex: 0 0 auto;
    font-size: 12px;
}

.qr-size-advice span {
    font-size: 10px;
    margin-left: 2px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .topbar .brand-logo-box {
        width: 190px;
        flex-basis: 190px;
    }

    .qr-style-preset-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (max-width: 640px) {
    .topbar .brand {
        gap: 7px;
    }

    .topbar .brand-logo-box {
        width: min(165px,48vw);
        height: 44px;
        flex-basis: min(165px,48vw);
    }

    .topbar .brand-logo-box img {
        height: 44px !important;
    }

    .topbar .brand-version {
        min-width: 48px;
        min-height: 24px;
        padding: 4px 6px;
        font-size: 9px;
    }

    .qr-style-preset-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}


/* ===== AQ-VCARD 2.25 SIGNATURE GENERATOR ===== */
.dashboard-signature-promo{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:center;gap:22px;margin-bottom:20px;padding:24px;border:1px solid #dce6f4;border-radius:23px;background:radial-gradient(circle at 83% 18%,rgba(107,53,232,.16),transparent 14rem),radial-gradient(circle at 10% 90%,rgba(21,87,176,.08),transparent 16rem),#fff;box-shadow:0 14px 34px rgba(16,24,40,.07)}
.dashboard-signature-copy{display:flex;align-items:center;gap:16px}.dashboard-signature-icon{width:62px;height:62px;display:grid;place-items:center;flex:0 0 62px;border-radius:19px;color:#6334dd;background:linear-gradient(145deg,#f0eaff,#ddd0ff);box-shadow:0 12px 25px rgba(99,52,221,.15)}.dashboard-signature-icon .aq-ui-icon{width:31px;height:31px}
.dashboard-signature-promo h2{margin:5px 0;color:#172033;font-size:22px}.dashboard-signature-promo p{margin:0;color:#667085;line-height:1.55}
.dashboard-signature-preview{position:relative;width:165px;height:100px;padding:14px;border:1px solid #d8e0eb;border-radius:17px;background:#fff;box-shadow:0 12px 25px rgba(16,24,40,.08)}
.dashboard-signature-preview .sig-avatar{position:absolute;top:19px;left:16px;width:42px;height:42px;border-radius:50%;background:linear-gradient(145deg,#a8c8ec,#d9e7f8)}
.dashboard-signature-preview .sig-logo{position:absolute;top:19px;left:65px;width:38px;height:38px;border-radius:10px;background:#172033}
.dashboard-signature-preview i{position:absolute;left:66px;height:7px;border-radius:999px;background:#d6deea}.dashboard-signature-preview i:nth-of-type(1){top:62px;width:78px}.dashboard-signature-preview i:nth-of-type(2){top:74px;width:66px}.dashboard-signature-preview i:nth-of-type(3){top:86px;width:52px}
.dashboard-signature-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 17px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#6334dd,#8658f2);box-shadow:0 13px 26px rgba(99,52,221,.22)}.dashboard-signature-open .aq-ui-icon{width:18px;height:18px}
.signature-builder{display:grid;grid-template-columns:82px minmax(360px,480px) minmax(520px,1fr);gap:16px;align-items:start}
.signature-sidebar{position:sticky;top:88px;display:grid;gap:8px;padding:12px 8px;border:1px solid #dde5f0;border-radius:22px;background:#fff;box-shadow:0 13px 34px rgba(16,24,40,.06)}
.signature-nav-item{min-height:67px;display:grid;justify-items:center;align-content:center;gap:5px;padding:7px;border:0;border-radius:14px;color:#667085;background:transparent;cursor:pointer;font:inherit;font-size:10px;font-weight:800}.signature-nav-item .aq-ui-icon{width:20px;height:20px}.signature-nav-item.is-active{color:#1557b0;background:#eaf2ff}
.signature-panel{display:none}.signature-panel.is-active{display:block}.signature-panel-card,.signature-preview-area{border:1px solid #dde5f0;border-radius:23px;background:#fff;box-shadow:0 13px 34px rgba(16,24,40,.06)}.signature-panel-card{padding:23px}.signature-panel-card h2{margin:0 0 6px;color:#172033}.signature-panel-card>p{margin:0 0 18px;color:#667085;font-size:12px}
.signature-form-grid,.signature-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.signature-upload-grid{margin-bottom:16px}.signature-upload-box{min-height:120px;display:grid!important;justify-items:center;align-content:center;gap:8px!important;border:1px dashed #cfd7e4;border-radius:16px;cursor:pointer;background:#fbfcfe}.signature-upload-box:hover{border-color:#70a5e8;background:#f4f8ff}.signature-upload-box input{display:none}.signature-upload-box .aq-ui-icon{width:22px;height:22px;color:#1557b0}
.signature-social-inputs{display:grid;gap:12px}.signature-layout-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.signature-layout-option input{position:absolute;opacity:0}.signature-layout-thumb{position:relative;height:82px;display:block;border:2px solid #d8dee8;border-radius:13px;background:#fff}.signature-layout-option input:checked+.signature-layout-thumb{border-color:#5797ff;box-shadow:0 0 0 4px rgba(87,151,255,.10)}.signature-layout-option strong{display:block;margin-top:6px;color:#667085;text-align:center;font-size:10px}
.signature-layout-thumb i{position:absolute;top:17px;left:11px;width:25px;height:25px;border-radius:50%;background:#b9cae0}.signature-layout-thumb b,.signature-layout-thumb em{position:absolute;left:44px;height:6px;border-radius:999px;background:#263653}.signature-layout-thumb b{top:18px;width:43px}.signature-layout-thumb em{top:31px;width:34px;background:#aeb8c6}
.signature-color-field{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px}.signature-color-field input[type=color]{width:52px;height:46px;padding:3px}
.signature-preview-area{position:sticky;top:88px;overflow:hidden}.signature-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid #e7ebf1}.signature-preview-toolbar h2{margin:5px 0 0}.signature-preview-actions{display:flex;flex-wrap:wrap;gap:8px}
.signature-style-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px;background:#f8fafc}.signature-style-toolbar label{display:flex;align-items:center;gap:8px;color:#667085;font-size:11px}.signature-style-toolbar select{min-height:35px;padding:6px 10px}.signature-style-toolbar>span{color:#667085;font-size:11px}
.signature-preview-canvas{min-height:470px;display:grid;place-items:start;overflow:auto;padding:38px;background:#fff}.signature-install-help{display:grid;gap:4px;padding:15px 20px;color:#225b92;background:#edf5ff}.signature-install-help strong{font-size:12px}.signature-install-help span{font-size:11px;line-height:1.45}
@media(max-width:1180px){.signature-builder{grid-template-columns:74px minmax(340px,1fr)}.signature-preview-area{position:static;grid-column:1/-1}}
@media(max-width:760px){.dashboard-signature-promo{grid-template-columns:1fr auto}.dashboard-signature-preview{display:none}.dashboard-signature-open{grid-column:1/-1}.signature-builder{grid-template-columns:1fr}.signature-sidebar{position:static;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px}.signature-nav-item{min-height:56px}.signature-form-grid,.signature-upload-grid{grid-template-columns:1fr}.signature-layout-options{grid-template-columns:repeat(2,minmax(0,1fr))}.signature-preview-toolbar,.signature-style-toolbar{align-items:stretch;flex-direction:column}.signature-preview-actions{display:grid;grid-template-columns:1fr}.signature-preview-canvas{padding:20px}}


/* ===== AQ-VCARD 2.26 SIGNATURE MEDIA + TEMPLATES ===== */
.signature-media-manager{display:grid;gap:14px;margin-bottom:18px}.signature-media-card{display:grid;grid-template-columns:108px minmax(0,1fr);gap:16px;align-items:center;padding:15px;border:1px solid #e1e7f0;border-radius:18px;background:linear-gradient(145deg,#fff,#f8faff)}
.signature-media-preview{width:108px;height:108px;overflow:hidden;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed #cbd5e1;border-radius:18px;color:#667085;background:#fff}.signature-media-preview img{width:100%;height:100%;object-fit:cover}.signature-media-logo-preview img{object-fit:contain;padding:9px;background:transparent}.signature-media-preview .aq-ui-icon{width:27px;height:27px}.signature-media-preview span{font-size:10px;font-weight:800}
.signature-media-copy{min-width:0}.signature-media-copy>strong,.signature-media-copy>small{display:block}.signature-media-copy>strong{color:#172033}.signature-media-copy>small{margin-top:5px;color:#667085;font-size:11px;line-height:1.45}.signature-media-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.signature-media-actions label{display:inline-flex!important;align-items:center;justify-content:center;gap:0!important}.signature-media-actions input{display:none}.signature-media-actions .btn:disabled{opacity:.45;cursor:not-allowed}.signature-image-options{padding-top:16px;border-top:1px solid #edf0f4}
.signature-layout-options-seven{grid-template-columns:repeat(4,minmax(0,1fr))}.signature-layout-thumb u{position:absolute;display:block;text-decoration:none;background:#8b98aa}.signature-layout-thumb-divider u{top:10px;bottom:10px;left:50%;width:2px;background:#263653}.signature-layout-thumb-divider i{left:11px}.signature-layout-thumb-divider b{left:auto;right:10px;top:18px;width:30px}.signature-layout-thumb-divider em{left:auto;right:14px;top:31px;width:26px}
.signature-layout-thumb-portrait i{width:34px;height:34px;top:21px;left:8px}.signature-layout-thumb-portrait u{top:10px;bottom:10px;left:50px;width:2px;background:#263653}.signature-layout-thumb-portrait b{left:59px;top:17px;width:31px}.signature-layout-thumb-portrait em{left:59px;top:31px;width:25px}
.signature-layout-thumb-executive{border-top:6px solid #263653}.signature-layout-thumb-executive i{top:23px}.signature-layout-thumb-executive b{top:24px}.signature-layout-thumb-executive em{top:37px}.signature-layout-thumb-executive u{left:44px;top:51px;width:42px;height:5px;border-radius:999px}
@media(max-width:760px){.signature-media-card{grid-template-columns:84px minmax(0,1fr)}.signature-media-preview{width:84px;height:84px;border-radius:15px}.signature-layout-options-seven{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.signature-media-card{grid-template-columns:1fr}.signature-media-preview{width:100%;height:120px}.signature-media-actions{display:grid;grid-template-columns:1fr}.signature-media-actions .btn{width:100%;justify-content:center}}


/* ===== AQ-VCARD 2.27 SIGNATURE FONTS + SOCIALS ===== */
.signature-layout-options {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.signature-layout-thumb-goldcircle {
    border-left: 5px solid #d6a600;
}

.signature-layout-thumb-goldcircle i {
    width: 34px;
    height: 34px;
    border: 5px solid #d6a600;
    background: #d8e2ef;
}

.signature-layout-thumb-goldcircle b {
    left: 55px;
    width: 42px;
}

.signature-layout-thumb-goldcircle em {
    left: 55px;
    width: 31px;
}

.signature-layout-thumb-minimaline {
    border-top: 2px solid #263653;
    border-bottom: 2px solid #263653;
}

.signature-layout-thumb-minimaline::after {
    content: "";
    position: absolute;
    top: 11px;
    bottom: 11px;
    left: 49%;
    width: 1px;
    background: #263653;
}

.signature-layout-thumb-minimaline i {
    top: 21px;
    left: 10px;
    width: 29px;
    height: 29px;
}

.signature-layout-thumb-minimaline b {
    top: 22px;
    left: 58%;
    width: 34px;
}

.signature-layout-thumb-minimaline em {
    top: 36px;
    left: 58%;
    width: 27px;
}

.signature-panel-card select[data-signature-font] {
    font-size: 13px;
}

.signature-panel-card select[data-signature-font] option {
    font-size: 13px;
}

.signature-social-inputs label {
    position: relative;
}

.signature-social-inputs label::before {
    content: "";
    position: absolute;
    left: 11px;
    bottom: 13px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg,#edf4ff,#dce9fa);
    pointer-events: none;
}

.signature-social-inputs input {
    padding-left: 42px;
}

@media (max-width: 760px) {
    .signature-layout-options {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}


/* ===== AQ-VCARD 2.28 SIGNATURE HORIZONTAL TEMPLATES ===== */
.signature-layout-options-thirteen{grid-template-columns:repeat(auto-fit,minmax(104px,1fr))}
.signature-layout-thumb-corporatewide i{top:12px;left:10px;width:22px;height:22px;border-radius:50%;background:linear-gradient(145deg,#d9e7ff,#8fb0e8)}
.signature-layout-thumb-corporatewide b{top:18px;left:40px;width:28px;height:7px;background:#23324d}
.signature-layout-thumb-corporatewide em{top:30px;left:40px;width:22px;height:5px;background:#6d7a90}
.signature-layout-thumb-corporatewide u{top:16px;right:10px;width:18px;height:18px;border-left:2px solid #9aa6b8;border-bottom:2px solid #9aa6b8;background:transparent}
.signature-layout-thumb-elegantstrip i{top:11px;left:10px;width:20px;height:20px;border-radius:50%;background:linear-gradient(145deg,#ffe4d0,#e0b586)}
.signature-layout-thumb-elegantstrip b{top:9px;left:38px;width:36px;height:3px;background:#355d8e}
.signature-layout-thumb-elegantstrip em{top:18px;left:38px;width:30px;height:6px;background:#22314d}
.signature-layout-thumb-elegantstrip u{top:30px;left:10px;width:64px;height:2px;background:#d7dee7}
.signature-layout-thumb-socialbrand i{top:12px;left:10px;width:22px;height:22px;border-radius:8px;background:linear-gradient(145deg,#d9e4ff,#9ab1e7)}
.signature-layout-thumb-socialbrand b{top:15px;left:40px;width:28px;height:7px;background:#1f2c44}
.signature-layout-thumb-socialbrand em{top:29px;left:40px;width:24px;height:5px;background:#8491a5}
.signature-layout-thumb-socialbrand u{right:10px;top:14px;width:18px;height:22px;border-radius:8px;background:linear-gradient(145deg,#f7fafc,#dbe5f2);border:1px solid #b7c6d8}
.signature-layout-thumb-contactrail i{top:12px;left:10px;width:22px;height:22px;border-radius:50%;background:linear-gradient(145deg,#dde6f7,#a9bce0)}
.signature-layout-thumb-contactrail b{top:16px;left:40px;width:26px;height:7px;background:#21314d}
.signature-layout-thumb-contactrail em{top:28px;left:40px;width:18px;height:5px;background:#8b96a8}
.signature-layout-thumb-contactrail u{right:10px;top:15px;width:20px;height:18px;border-radius:999px;background:#355d8e}
@media(max-width:760px){
  .signature-layout-options-thirteen{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ===== AQ DASHBOARD NEO 2.29 ===== */
.aq-bot {
    --aq-bot-y: 0px;
    position: absolute;
    z-index: 3;
    pointer-events: none;
    user-select: none;
    transform: translate3d(0,var(--aq-bot-y),0);
    transition: filter .25s ease;
    will-change: transform;
}
.aq-bot img { display:block; width:100%; height:auto; filter:drop-shadow(0 20px 28px rgba(9,30,66,.18)); }
.aq-bot-reflect::after {
    content:""; position:absolute; left:14%; right:14%; bottom:-12px; height:24px;
    border-radius:50%; background:radial-gradient(ellipse,rgba(13,35,68,.20),rgba(13,35,68,0) 72%);
    filter:blur(8px); transform:scaleY(.48); opacity:.7;
}
.dashboard-hero-v2 { min-height:330px; }
.dashboard-neo-hero-visual { right:0; bottom:0; width:430px; height:330px; }
.dashboard-neo-hero-visual .hero-phone-card { opacity:.20; transform:rotate(7deg) scale(.9); }
.aq-bot-hero { right:8px; bottom:-44px; width:330px; }
.dashboard-bot-bridge { position:relative; height:34px; z-index:4; }
.aq-bot-top-peek { right:8%; bottom:-48px; width:170px; }
.dashboard-signature-promo,.dashboard-qr-promo,.dashboard-system-grid,.dashboard-charts,.dashboard-vcards-panel { position:relative; z-index:2; }
.dashboard-neo-callout {
    position:relative; min-height:118px; display:flex; align-items:center; justify-content:flex-end;
    margin:4px 0 18px; padding:18px 190px 18px 26px; overflow:hidden;
    border:1px solid #dce5f2; border-radius:22px;
    background:linear-gradient(135deg,#f8fbff,#eef5ff); color:#40516b; font-weight:750;
}
.aq-bot-point { right:24px; bottom:-108px; width:180px; }
.dashboard-side-bot { position:relative; height:0; z-index:5; }
.aq-bot-side-peek { right:-38px; top:70px; width:165px; }
.tool-neo-bot { position:relative; height:0; z-index:20; }
.aq-bot-tool-point { right:18px; top:-88px; width:125px; }
.aq-bot-tool-top { right:5%; top:-90px; width:130px; }
.aq-bot-tool-side { right:-34px; top:90px; width:132px; }

/* Login landing */
body.login-page { background:linear-gradient(135deg,#eef5ff,#f8fbff 55%,#f0ebff); }
body.login-page::before { background:radial-gradient(circle at 8% 18%,rgba(0,181,198,.12),transparent 25rem),radial-gradient(circle at 86% 18%,rgba(94,66,220,.12),transparent 28rem),radial-gradient(circle at 72% 88%,rgba(21,87,176,.08),transparent 26rem); }
body.login-page .container { width:min(100%,1480px); min-height:calc(100vh - 92px); display:block; padding:30px 24px 50px; }
.login-neo-shell { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(390px,.7fr); gap:28px; align-items:stretch; }
.login-neo-landing { position:relative; min-height:690px; overflow:hidden; padding:clamp(34px,5vw,72px); border:1px solid rgba(255,255,255,.9); border-radius:32px; background:linear-gradient(135deg,rgba(9,31,69,.96),rgba(21,87,176,.93) 54%,rgba(96,54,214,.91)); box-shadow:0 30px 80px rgba(25,50,95,.22); color:#fff; }
.login-neo-copy { position:relative; z-index:4; max-width:760px; }
.login-neo-badge { display:inline-flex; padding:8px 12px; border:1px solid rgba(255,255,255,.28); border-radius:999px; background:rgba(255,255,255,.10); font-size:11px; font-weight:900; letter-spacing:.8px; text-transform:uppercase; }
.login-neo-copy h1 { max-width:720px; margin:20px 0 14px; font-size:clamp(38px,5.2vw,72px); line-height:.98; letter-spacing:-2.2px; }
.login-neo-copy>p { max-width:650px; margin:0; color:rgba(255,255,255,.78); font-size:16px; line-height:1.65; }
.login-service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; max-width:720px; margin-top:30px; }
.login-service-card { display:flex; align-items:flex-start; gap:12px; padding:14px; border:1px solid rgba(255,255,255,.16); border-radius:17px; background:rgba(255,255,255,.09); backdrop-filter:blur(10px); }
.login-service-card>span { width:38px; height:38px; display:grid; place-items:center; flex:0 0 38px; border-radius:12px; color:#06284c; background:#fff; }
.login-service-card .aq-ui-icon { width:20px; height:20px; }
.login-service-card strong,.login-service-card small { display:block; }
.login-service-card strong { color:#fff; font-size:13px; }
.login-service-card small { margin-top:4px; color:rgba(255,255,255,.68); font-size:10px; line-height:1.45; }
.login-whatsapp-cta { display:inline-flex; align-items:center; gap:10px; margin-top:24px; padding:14px 20px; border-radius:999px; color:#fff; background:linear-gradient(135deg,#25d366,#0ea950); box-shadow:0 14px 28px rgba(37,211,102,.28); text-decoration:none; font-weight:900; transition:transform .2s ease,box-shadow .2s ease; }
.login-whatsapp-cta:hover { transform:translateY(-3px); box-shadow:0 18px 36px rgba(37,211,102,.34); }
.login-whatsapp-cta .aq-ui-icon { width:20px; height:20px; }
.login-neo-robot-wrap { position:absolute; right:-30px; bottom:-24px; width:420px; height:540px; z-index:2; }
.aq-bot-login { right:0; bottom:-64px; width:390px; }
.login-neo-orbit { position:absolute; border:1px solid rgba(255,255,255,.14); border-radius:50%; }
.login-neo-orbit-one { width:430px; height:430px; right:-30px; bottom:-50px; }
.login-neo-orbit-two { width:300px; height:300px; right:35px; bottom:15px; }
.login-auth-card-neo { align-self:center; max-width:none; margin:auto; }
.login-auth-card-neo .login-heading h2 { margin:7px 0 8px; color:#172033; font-size:36px; }

@media(max-width:1100px){
 .login-neo-shell{grid-template-columns:1fr}.login-neo-landing{min-height:620px}.login-auth-card-neo{max-width:620px;width:100%}
 .dashboard-neo-hero-visual{opacity:.72}.aq-bot-side-peek{display:none}
}
@media(max-width:760px){
 .dashboard-hero-v2{min-height:0}.dashboard-neo-hero-visual{position:relative;right:auto;bottom:auto;width:100%;height:210px;margin-top:10px;opacity:1}.aq-bot-hero{right:50%;transform:translate3d(50%,var(--aq-bot-y),0);bottom:-52px;width:235px}.hero-phone-card,.hero-floating-badge{display:none}
 .dashboard-bot-bridge,.dashboard-side-bot,.tool-neo-bot{display:none}.dashboard-neo-callout{min-height:0;padding:18px}.aq-bot-point{display:none}
 body.login-page .container{padding:14px 10px 34px}.login-neo-shell{gap:14px}.login-neo-landing{min-height:590px;padding:28px 20px;border-radius:24px}.login-neo-copy h1{font-size:42px;letter-spacing:-1.3px}.login-service-grid{grid-template-columns:1fr;max-width:100%}.login-neo-robot-wrap{opacity:.35;right:-130px;width:330px}.aq-bot-login{width:320px}.login-auth-card-neo{border-radius:24px}
}
@media(prefers-reduced-motion:reduce){.aq-bot{transform:none!important}.login-whatsapp-cta{transition:none}}


/* ===== AQ-VCARD 2.30 PLAN QUOTAS ===== */
.dashboard-plan-usage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.plan-usage-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #dfe6f1;border-radius:19px;background:#fff;box-shadow:0 12px 28px rgba(16,24,40,.06)}.plan-usage-card.is-exhausted{border-color:#fecaca;background:#fff8f8}.plan-usage-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:15px;color:#1557b0;background:#eaf2ff}.plan-usage-icon .aq-ui-icon{width:23px;height:23px}.plan-usage-card small,.plan-usage-card em{display:block;color:#667085}.plan-usage-card strong{display:block;margin:3px 0 8px;color:#172033;font-size:18px}.plan-usage-card em{margin-top:6px;font-size:10px;font-style:normal}.plan-usage-progress{height:7px;overflow:hidden;border-radius:999px;background:#edf1f6}.plan-usage-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1557b0,#7a4df2)}.is-exhausted .plan-usage-progress i{background:#dc2626}.tool-quota-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px;padding:15px 18px;border:1px solid #dce6f4;border-radius:17px;background:linear-gradient(135deg,#f8fbff,#eef5ff)}.tool-quota-banner strong{display:block;margin:3px 0;color:#172033}.tool-quota-banner p{margin:0;color:#667085;font-size:12px}.tool-quota-banner.is-exhausted{border-color:#fecaca;background:#fff7f7}.quota-lock{display:inline-flex;padding:7px 10px;border-radius:999px;color:#b42318;background:#fee4e2;font-size:10px;font-weight:900}.plan-option-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.plan-option-tools small{display:inline-flex;padding:4px 7px;border-radius:999px;color:#344054;background:#eef3fa;font-size:9px;font-weight:800}@media(max-width:700px){.dashboard-plan-usage-grid{grid-template-columns:1fr}.tool-quota-banner{align-items:flex-start;flex-direction:column}}


/* ===== AQ-VCARD 2.31 VOZ A TEXTO ===== */
.dashboard-voice-promo{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 160px auto;align-items:center;gap:20px;margin-bottom:20px;padding:24px;border:1px solid #dce6f4;border-radius:23px;background:radial-gradient(circle at 82% 18%,rgba(0,194,255,.16),transparent 14rem),radial-gradient(circle at 12% 90%,rgba(99,52,221,.08),transparent 16rem),#fff;box-shadow:0 14px 34px rgba(16,24,40,.07)}
.dashboard-voice-copy{display:flex;align-items:center;gap:16px}.dashboard-voice-icon{width:62px;height:62px;display:grid;place-items:center;flex:0 0 62px;border-radius:19px;color:#0878a8;background:linear-gradient(145deg,#def8ff,#c6eeff);box-shadow:0 12px 25px rgba(8,120,168,.15)}.dashboard-voice-icon .aq-ui-icon{width:31px;height:31px}.dashboard-voice-promo h2{margin:5px 0;color:#172033;font-size:22px}.dashboard-voice-promo p{margin:0;color:#667085;line-height:1.55}.dashboard-voice-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 17px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#0878a8,#00a8dc);box-shadow:0 13px 26px rgba(0,128,170,.2)}.dashboard-voice-open .aq-ui-icon{width:18px;height:18px}.dashboard-voice-wave{height:80px;display:flex;align-items:center;justify-content:center;gap:6px}.dashboard-voice-wave i{width:7px;border-radius:999px;background:linear-gradient(#00b5e8,#6334dd);animation:aqVoicePromo 1.15s ease-in-out infinite}.dashboard-voice-wave i:nth-child(1),.dashboard-voice-wave i:nth-child(6){height:18px}.dashboard-voice-wave i:nth-child(2),.dashboard-voice-wave i:nth-child(5){height:38px;animation-delay:.1s}.dashboard-voice-wave i:nth-child(3),.dashboard-voice-wave i:nth-child(4){height:62px;animation-delay:.2s}@keyframes aqVoicePromo{50%{transform:scaleY(.55);opacity:.55}}
.voice-studio{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.35fr);gap:18px;align-items:start}.voice-control-panel,.voice-editor-panel{border:1px solid #dde5f0;border-radius:23px;background:#fff;box-shadow:0 13px 34px rgba(16,24,40,.06)}.voice-control-panel{padding:24px;position:sticky;top:88px}.voice-mic-zone{display:grid;justify-items:center;text-align:center;padding:14px 10px 22px}.voice-mic-button{position:relative;width:116px;height:116px;display:grid;place-items:center;border:0;border-radius:50%;color:#fff;background:linear-gradient(145deg,#0c6f9f,#00b5e8);box-shadow:0 18px 38px rgba(0,140,190,.25);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.voice-mic-button:hover{transform:translateY(-3px)}.voice-mic-button .aq-ui-icon{width:45px;height:45px}.voice-mic-button span{position:absolute;inset:-9px;border:2px solid rgba(0,181,232,.2);border-radius:50%}.voice-mic-button.is-active span{animation:voiceRing 1.3s ease-out infinite}@keyframes voiceRing{0%{transform:scale(.9);opacity:.9}100%{transform:scale(1.35);opacity:0}}.voice-mic-zone strong{margin-top:18px;color:#172033;font-size:17px}.voice-mic-zone small{max-width:300px;margin-top:5px;color:#667085;line-height:1.45}.voice-live-wave{height:42px;display:flex;align-items:center;gap:4px;margin-top:12px}.voice-live-wave i{width:5px;height:10px;border-radius:999px;background:#00a8dc}.voice-live-wave.is-active i{animation:voiceBars .72s ease-in-out infinite alternate}.voice-live-wave.is-active i:nth-child(2),.voice-live-wave.is-active i:nth-child(6){animation-delay:.1s}.voice-live-wave.is-active i:nth-child(3),.voice-live-wave.is-active i:nth-child(5){animation-delay:.2s}.voice-live-wave.is-active i:nth-child(4){animation-delay:.3s}@keyframes voiceBars{to{height:36px;background:#6334dd}}.voice-settings-grid{display:grid;gap:12px;padding-top:18px;border-top:1px solid #edf0f4}.voice-check{display:flex!important;align-items:center;gap:9px!important;color:#526071;font-size:12px}.voice-check input{width:17px;height:17px}.voice-control-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.voice-control-actions .primary{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:7px}.voice-control-actions .aq-ui-icon{width:18px;height:18px}.voice-browser-note{margin-top:14px;padding:12px;border-radius:13px;color:#526071;background:#f6f8fb;font-size:11px;line-height:1.5}.voice-editor-panel{padding:24px}.voice-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.voice-editor-head h2{margin:5px 0 0}.voice-counters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.voice-counters span{padding:7px 9px;border-radius:999px;color:#526071;background:#f1f5f9;font-size:10px}.voice-counters strong{color:#1557b0}.voice-editor-panel textarea{width:100%;min-height:390px;margin-top:18px;padding:18px;border:1px solid #d9e1ec;border-radius:16px;background:#fbfcfe;font:15px/1.7 Inter,Arial,sans-serif;resize:vertical}.voice-editor-panel textarea:focus{border-color:#6ca7ec;box-shadow:0 0 0 4px rgba(87,151,255,.1);outline:0}.voice-interim{min-height:30px;padding:8px 4px;color:#7b8798;font-size:12px;font-style:italic}.voice-editor-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.voice-copy-status{min-height:24px;margin-top:9px;color:#087a59;font-size:11px}.voice-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.voice-benefits article{display:grid;justify-items:center;gap:8px;padding:20px;border:1px solid #e1e7ef;border-radius:18px;background:#fff;text-align:center}.voice-benefits .aq-ui-icon{width:27px;height:27px;color:#0789bc}.voice-benefits strong{color:#263653}.voice-benefits span{color:#667085;font-size:11px;line-height:1.45}.tool-neo-bot-voice{height:36px}.tool-neo-bot-voice .aq-bot{width:125px;right:4%;top:-96px}
@media(max-width:980px){.voice-studio{grid-template-columns:1fr}.voice-control-panel{position:static}.dashboard-voice-promo{grid-template-columns:1fr auto}.dashboard-voice-wave{display:none}.dashboard-voice-open{grid-column:1/-1}.voice-benefits{grid-template-columns:1fr}}@media(max-width:620px){.voice-control-panel,.voice-editor-panel{padding:17px}.voice-mic-button{width:94px;height:94px}.voice-mic-button .aq-ui-icon{width:38px;height:38px}.voice-editor-head{flex-direction:column}.voice-counters{justify-content:flex-start}.voice-editor-panel textarea{min-height:300px}.voice-editor-actions{display:grid;grid-template-columns:1fr 1fr}.dashboard-voice-promo{padding:18px}.dashboard-voice-icon{width:50px;height:50px;flex-basis:50px}}


/* ===== AQ-VCARD 2.31.1 MICROPHONE PERMISSION ===== */
.voice-permission-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 13px 14px;
    border: 1px solid #dce4ef;
    border-radius: 14px;
    background: linear-gradient(145deg,#fbfdff,#f3f7fc);
}

.voice-permission-panel > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.voice-permission-panel strong {
    color: #344054;
    font-size: 12px;
}

.voice-permission-panel span {
    color: #667085;
    font-size: 11px;
}

.voice-permission-panel span[data-status="granted"],
.voice-permission-panel span[data-status="active"] {
    color: #027a48;
    font-weight: 800;
}

.voice-permission-panel span[data-status="denied"],
.voice-permission-panel span[data-status="security"],
.voice-permission-panel span[data-status="error"] {
    color: #b42318;
    font-weight: 800;
}

.voice-permission-panel span[data-status="prompt"],
.voice-permission-panel span[data-status="unknown"] {
    color: #b54708;
    font-weight: 800;
}

@media (max-width: 620px) {
    .voice-permission-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .voice-permission-panel .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ===== AQ-VCARD 2.31.3 VOICE LAYOUT FIX =====
   Mantiene el panel de dictado y la transcripción dentro del flujo normal.
   Evita que el editor quede oculto detrás del panel de micrófono. */
.voice-studio{
    position:relative;
    isolation:isolate;
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:minmax(300px,370px) minmax(0,1fr);
    gap:22px;
    align-items:start;
    overflow:visible;
}
.voice-studio > *{
    min-width:0;
}
.voice-control-panel{
    position:relative !important;
    top:auto !important;
    z-index:1;
    align-self:start;
    width:100%;
    max-width:none;
}
.voice-editor-panel{
    position:relative;
    z-index:2;
    width:100%;
    min-width:0;
    overflow:visible;
}
.voice-editor-panel textarea{
    position:relative;
    z-index:1;
    display:block;
    width:100%;
    max-width:100%;
    min-height:390px;
    overflow:auto;
}
.voice-interim,
.voice-editor-actions,
.voice-copy-status{
    position:relative;
    z-index:2;
}
.tool-neo-bot-voice{
    position:relative;
    z-index:0;
    pointer-events:none;
}

@media (max-width:1100px){
    .voice-studio{
        grid-template-columns:1fr;
        gap:18px;
    }
    .voice-control-panel,
    .voice-editor-panel{
        position:relative !important;
        inset:auto !important;
        width:100%;
    }
}

@media (max-width:620px){
    .voice-studio{
        display:flex;
        flex-direction:column;
        width:100%;
        gap:16px;
    }
    .voice-control-panel,
    .voice-editor-panel{
        flex:0 0 auto;
        width:100%;
        max-width:100%;
        margin:0;
        overflow:visible;
    }
    .voice-editor-panel{
        order:2;
    }
    .voice-editor-panel textarea{
        min-height:320px;
        height:auto;
    }
    .voice-editor-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
        width:100%;
    }
}


/* ===== AQ DIGITAL SUITE 2.32 · AQ CLOUD ===== */
.dashboard-cloud-promo{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:18px 0;padding:22px 24px;border:1px solid #dce6f5;border-radius:22px;background:radial-gradient(circle at 90% 20%,rgba(39,120,255,.12),transparent 18rem),linear-gradient(145deg,#fff,#f6f9ff);box-shadow:0 14px 34px rgba(16,24,40,.06)}.dashboard-cloud-promo h2{margin:5px 0 7px}.dashboard-cloud-promo p{margin:0;color:#667085;max-width:720px}
.cloud-page-head{align-items:center}.cloud-head-actions{display:flex;gap:9px;flex-wrap:wrap}.cloud-quota-card{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,360px);align-items:center;gap:22px;margin-bottom:18px;padding:18px 20px;border:1px solid #dce5f0;border-radius:18px;background:#fff}.cloud-quota-card>div:first-child{display:grid;gap:4px}.cloud-quota-card small{color:#667085}.cloud-quota-meter{height:10px;border-radius:999px;background:#edf2f7;overflow:hidden}.cloud-quota-meter span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1557b0,#00a8dc)}
.cloud-shell{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:start}.cloud-sidebar{position:sticky;top:88px;display:grid;gap:7px;padding:14px;border:1px solid #dfe6ef;border-radius:20px;background:#fff}.cloud-sidebar>a{padding:11px 12px;border-radius:11px;color:#475467;text-decoration:none;font-weight:800}.cloud-sidebar>a.is-active{color:#1557b0;background:#edf4ff}.cloud-side-note{display:grid;gap:5px;margin-top:10px;padding:11px;border-radius:12px;background:#f6f8fb;color:#667085;font-size:11px;line-height:1.45}.cloud-main{min-width:0}.cloud-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.cloud-breadcrumbs{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.cloud-breadcrumbs a{color:#1557b0;text-decoration:none;font-weight:800}.cloud-search{display:flex;gap:7px}.cloud-search input{min-width:230px}
.cloud-dropzone{display:grid;place-items:center;text-align:center;min-height:175px;padding:22px;border:2px dashed #b9c9df;border-radius:20px;background:linear-gradient(145deg,#fbfdff,#f5f9ff);transition:.2s}.cloud-dropzone.is-dragging{border-color:#1557b0;background:#edf4ff;transform:scale(1.005)}.cloud-drop-icon{font-size:42px}.cloud-dropzone span{color:#667085;font-size:12px}.cloud-upload-status{min-height:20px;margin-top:8px;color:#027a48;font-size:12px;font-weight:700}.cloud-upload-status.is-error{color:#b42318}
.cloud-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.cloud-item{min-width:0;padding:16px;border:1px solid #e0e7f0;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.04)}.cloud-item-open{display:grid;gap:5px;color:#182230;text-decoration:none}.cloud-item-icon{font-size:29px}.cloud-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cloud-item small{color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cloud-item-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:13px}.cloud-item-actions form{margin:0}.cloud-item-actions .btn{padding:7px 9px;font-size:10px}.cloud-empty{grid-column:1/-1;display:grid;justify-items:center;gap:5px;padding:38px;border:1px dashed #d5dde8;border-radius:18px;color:#667085}.cloud-empty strong{color:#344054}
.cloud-dialog{width:min(520px,92vw);border:0;border-radius:20px;padding:0;box-shadow:0 24px 80px #0f172a33}.cloud-dialog::backdrop{background:#0f172a66;backdrop-filter:blur(3px)}.cloud-dialog form{display:grid;gap:13px;padding:24px}.cloud-dialog h2,.cloud-dialog p{margin:0}.cloud-dialog p{color:#667085;font-size:12px}.cloud-dialog label{display:grid;gap:6px;font-weight:700}.cloud-dialog input,.cloud-dialog select{width:100%}.cloud-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.cloud-share-result{display:grid;gap:9px;padding:14px;border-radius:15px;background:#f4f8ff}.cloud-share-result img{width:150px;height:150px;justify-self:center;border-radius:12px;background:#fff}
@media(max-width:980px){.cloud-shell{grid-template-columns:1fr}.cloud-sidebar{position:static;display:flex;flex-wrap:wrap}.cloud-side-note{width:100%}.cloud-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cloud-toolbar{align-items:stretch;flex-direction:column}.cloud-search input{min-width:0;flex:1}.cloud-quota-card{grid-template-columns:1fr}.dashboard-cloud-promo{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.cloud-grid{grid-template-columns:1fr}.cloud-head-actions{width:100%}.cloud-head-actions .btn{flex:1}.cloud-search{width:100%}.cloud-search .btn{flex:0 0 auto}.cloud-item-actions{display:grid;grid-template-columns:1fr 1fr}.cloud-item-actions .btn,.cloud-item-actions form,.cloud-item-actions form button{width:100%}.dashboard-cloud-promo{padding:18px}}


/* ===== AQ DIGITAL SUITE 2.33 · FILE VISUALS + TOOL HISTORY ===== */
.cloud-file-thumb{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  margin-bottom:8px;
  border-radius:13px;
  background:#eef2f7;
  border:1px solid #e1e7ef;
}
.cloud-file-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.cloud-app-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin-bottom:8px;
  border-radius:14px;
  color:#fff;
  font:900 17px/1 Inter,Arial,sans-serif;
  letter-spacing:-.03em;
  box-shadow:0 10px 22px rgba(16,24,40,.12);
}
.cloud-app-word{background:linear-gradient(145deg,#185ABD,#0c3b86)}
.cloud-app-excel{background:linear-gradient(145deg,#217346,#14532d)}
.cloud-app-powerpoint{background:linear-gradient(145deg,#D24726,#9a3412)}
.cloud-app-access{background:linear-gradient(145deg,#A4373A,#7f1d1d)}
.cloud-app-publisher{background:linear-gradient(145deg,#077568,#064e3b);font-size:11px}
.cloud-app-illustrator{background:linear-gradient(145deg,#3a2100,#ff9a00);color:#ffb84d}
.cloud-app-photoshop{background:linear-gradient(145deg,#001e36,#31a8ff);color:#d6f2ff}
.cloud-app-corel{background:linear-gradient(145deg,#0b7b50,#24b36b);font-size:11px}
.cloud-app-archive{background:linear-gradient(145deg,#6b5c92,#423c5f);font-size:12px}
.cloud-app-pdf{background:linear-gradient(145deg,#d92d20,#991b1b);font-size:12px}
.cloud-app-text{background:linear-gradient(145deg,#667085,#344054);font-size:12px}
.cloud-app-generic{background:linear-gradient(145deg,#64748b,#334155);font-size:10px}

.tool-history-panel{
  margin-top:22px;
  padding:22px;
  border:1px solid #dfe6ef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 32px rgba(16,24,40,.05);
}
.tool-history-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.tool-history-head h2{margin:4px 0 0}
.tool-history-head>small{color:#667085}
.tool-history-list{display:grid;gap:9px}
.tool-history-list article{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:12px 14px;
  border:1px solid #e6ebf1;
  border-radius:14px;
  background:#fbfcfe;
}
.tool-history-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:11px;
  color:#fff;
  background:linear-gradient(145deg,#1557b0,#6334dd);
  font-size:10px;
  font-weight:900;
}
.tool-history-list strong{display:block;color:#263653}
.tool-history-list p{
  margin:3px 0 4px;
  color:#667085;
  font-size:12px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.tool-history-list small{color:#98a2b3;font-size:10px}
.tool-history-empty{
  padding:22px;
  border:1px dashed #d5dde8;
  border-radius:14px;
  color:#667085;
  text-align:center;
}
.cloud-share-result img{
  display:block;
  object-fit:contain;
  background:#fff;
  border:1px solid #dfe6ef;
}
@media(max-width:620px){
  .tool-history-head{flex-direction:column}
  .tool-history-list article{grid-template-columns:38px minmax(0,1fr)}
  .tool-history-icon{width:38px;height:38px}
}


/* ===== AQ DIGITAL SUITE 2.34.0 · SALES LANDING + DASHBOARD REFRESH ===== */
body.app-auth{
  background:
    radial-gradient(circle at 0% 10%, rgba(119,93,255,.10), transparent 25rem),
    radial-gradient(circle at 92% 5%, rgba(74,144,226,.14), transparent 24rem),
    linear-gradient(135deg,#f3f5ff 0%, #fbfcff 38%, #eff4ff 100%);
}
body.app-auth::before{
  content:"";
  position:fixed; inset:0; pointer-events:none; z-index:-1;
  background:
    radial-gradient(circle at 10% 90%, rgba(139,92,246,.08), transparent 24rem),
    radial-gradient(circle at 90% 84%, rgba(59,130,246,.09), transparent 24rem);
}
@media (min-width: 1080px){
  body.app-auth .topbar{
    position:fixed; left:18px; top:18px; bottom:18px; width:118px;
    padding:18px 12px; border-radius:34px; border:1px solid rgba(205,214,232,.95);
    background:rgba(255,255,255,.78); backdrop-filter: blur(20px);
    box-shadow:0 22px 52px rgba(29,42,74,.10);
    display:flex; flex-direction:column; align-items:center; gap:16px; z-index:70;
  }
  body.app-auth .brand{
    flex-direction:column; justify-content:center; gap:6px; text-align:center; width:100%;
  }
  body.app-auth .brand-logo-box{
    width:86px; height:86px; border-radius:24px; background:linear-gradient(145deg,#fff,#f0f4ff);
    display:grid; place-items:center; box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 30px rgba(15,35,70,.09);
  }
  body.app-auth .brand img{
    width:82px; max-width:82px; height:auto; object-fit:contain; transform:none;
  }
  body.app-auth .brand-version{
    display:inline-flex; padding:6px 10px; border-radius:999px; font-size:11px; font-weight:800;
    color:#56627a; background:#f5f7ff; border:1px solid #e4eafb;
  }
  body.app-auth .admin-nav{
    display:flex; flex-direction:column; align-items:center; gap:12px; width:100%; margin-top:4px;
  }
  body.app-auth .admin-nav a,
  body.app-auth .admin-nav .user-chip{
    width:100%; min-height:72px; border-radius:24px; border:1px solid #ebeff6;
    background:linear-gradient(180deg,#fff,#f8f9ff); box-shadow:0 12px 28px rgba(16,24,40,.05);
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center;
    padding:10px 8px; font-size:11px; font-weight:700; color:#42526b;
  }
  body.app-auth .admin-nav a .aq-ui-icon,
  body.app-auth .admin-nav .user-chip .aq-ui-icon{
    width:18px; height:18px; color:#6b7a99;
  }
  body.app-auth .admin-nav a:hover{
    transform:translateY(-2px); border-color:#d3daf0; box-shadow:0 14px 32px rgba(90,110,170,.12);
  }
  body.app-auth .admin-nav a:first-child{
    background:linear-gradient(145deg,#7440ff,#5c6bff); color:#fff; box-shadow:0 16px 34px rgba(109,87,252,.28);
    border-color:transparent;
  }
  body.app-auth .admin-nav a:first-child .aq-ui-icon{color:#fff}
  body.app-auth .user-chip{font-size:10px}
  body.app-auth .nav-logout{
    margin-top:auto; background:linear-gradient(145deg,#ffd83d,#f6be00)!important; color:#574100!important; border:none!important;
  }
  body.app-auth .nav-logout .aq-ui-icon{color:#574100!important}
  body.app-auth .menu-toggle{display:none!important}
  body.app-auth .container{
    width:auto; margin:18px 18px 18px 154px; min-height:calc(100vh - 36px);
    padding:22px; border-radius:36px; background:rgba(255,255,255,.70);
    border:1px solid rgba(222,230,245,.92); box-shadow:0 28px 70px rgba(16,24,40,.08);
    backdrop-filter:blur(18px);
  }
}

.dashboard-hero-v2{
  border-radius:34px !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.17), transparent 16rem),
    radial-gradient(circle at 18% 90%, rgba(255,255,255,.10), transparent 18rem),
    linear-gradient(135deg,#171b67 0%, #2845b9 44%, #7a38ed 100%) !important;
  box-shadow:0 26px 54px rgba(45,52,126,.18);
}
.dashboard-hero-v2::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.07),transparent 48%);
}
.dashboard-hero-copy h1{letter-spacing:-1.3px}
.dashboard-hero-copy p{max-width:620px; color:rgba(255,255,255,.82)}
.hero-floating-badge{border-radius:18px !important; background:rgba(255,255,255,.18)!important; border:1px solid rgba(255,255,255,.18)!important}
.hero-phone-card{border-radius:28px!important; box-shadow:0 18px 50px rgba(10,17,48,.24)!important}
.hero-phone-photo{background:linear-gradient(145deg,#e7f0ff,#a6bff9)!important}

.dashboard-mini-panels{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:16px 0 18px;
}
.dashboard-mini-panel{
  display:flex; gap:14px; align-items:flex-start; padding:18px 18px 16px;
  border-radius:26px; border:1px solid #e7ebf3; background:#fff; box-shadow:0 14px 30px rgba(22,32,50,.05);
}
.dashboard-mini-panel small{display:block; font-size:11px; color:#7c89a5; margin-bottom:6px}
.dashboard-mini-panel strong{display:block; font-size:18px; color:#1f2f4a; line-height:1.15}
.dashboard-mini-panel p{margin:6px 0 0; color:#65748e; font-size:12px; line-height:1.45}
.dashboard-mini-panel p a{color:#5d3fff; font-weight:700}
.dashboard-mini-icon{
  width:48px; height:48px; border-radius:18px; display:grid; place-items:center; flex:0 0 48px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.dashboard-mini-icon .aq-ui-icon{width:20px; height:20px}
.dashboard-mini-panel-soft{background:linear-gradient(180deg,#ffffff,#fbfbff)}
.dashboard-mini-panel-soft .dashboard-mini-icon{background:#f2ecff; color:#6a48ff}
.dashboard-mini-panel-ice{background:linear-gradient(180deg,#ffffff,#f5f9ff)}
.dashboard-mini-panel-ice .dashboard-mini-icon{background:#e8f3ff; color:#3a79de}
.dashboard-mini-panel-lilac{background:linear-gradient(180deg,#ffffff,#f8f6ff)}
.dashboard-mini-panel-lilac .dashboard-mini-icon{background:#efe8ff; color:#7551f8}
.dashboard-mini-panel-gold{background:linear-gradient(180deg,#fffef7,#fffbdf)}
.dashboard-mini-panel-gold .dashboard-mini-icon{background:#fff3b7; color:#ac7b00}

.pro-stats-grid-v2, .stats-grid{
  gap:16px !important;
}
.pro-stat, .stat-card{
  border-radius:28px!important; border:1px solid #e7ebf3!important;
  box-shadow:0 16px 32px rgba(16,24,40,.05)!important;
}
.pro-stat-blue{background:linear-gradient(180deg,#ffffff,#f6f8ff)!important}
.pro-stat-purple{background:linear-gradient(180deg,#ffffff,#faf5ff)!important}
.pro-stat-green{background:linear-gradient(180deg,#ffffff,#f1fff8)!important}
.pro-stat-orange{background:linear-gradient(180deg,#ffffff,#fff8ef)!important}

.content-panel, .chart-card, .dashboard-signature-promo, .dashboard-voice-card, .system-status-card{
  border-radius:28px!important; border:1px solid #e6ebf4!important; box-shadow:0 16px 34px rgba(16,24,40,.05)!important;
  background:rgba(255,255,255,.95)!important;
}
.chart-card-featured{
  background:linear-gradient(180deg,#ffffff,#f8fafe)!important;
}
.section-head h2, .chart-card-head h2{letter-spacing:-.5px}
.elegant-button, .btn.primary{
  border-radius:15px!important; box-shadow:0 12px 28px rgba(87,83,255,.18);
}
.dashboard-signature-promo{
  background:linear-gradient(135deg,#f7faff,#fff, #f8f3ff)!important;
}
.dashboard-voice-card{
  background:linear-gradient(135deg,#fffef8,#fff, #f6faff)!important;
}
.dashboard-neo-callout{
  border-radius:20px!important; background:linear-gradient(145deg,#f9fbff,#ffffff)!important; border:1px solid #e7ecf6!important;
}

/* Login refresh */
body.login-page .container{width:min(100%,1500px)}
.login-sales-shell{gap:30px}
.login-sales-landing{
  min-height:760px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.18), transparent 18rem),
    radial-gradient(circle at 16% 82%, rgba(91,225,255,.10), transparent 16rem),
    linear-gradient(135deg,rgba(10,28,64,.98),rgba(26,72,176,.96) 52%, rgba(103,64,232,.95));
}
.login-sales-landing::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.07),transparent 45%);
}
.login-neo-copy{max-width:860px}
.login-neo-copy h1 span{color:#fde68a}
.login-kpi-row{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:26px 0 14px; max-width:760px;
}
.login-kpi-card{
  padding:15px 16px; border-radius:20px; border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.09); backdrop-filter:blur(10px);
}
.login-kpi-card strong{display:block; font-size:18px; color:#fff; margin-bottom:4px}
.login-kpi-card span{display:block; color:rgba(255,255,255,.72); font-size:12px}
.login-cta-row{display:flex; flex-wrap:wrap; gap:12px; margin:18px 0 16px}
.login-whatsapp-btn{background:linear-gradient(145deg,#20d06a,#0bb65a)!important; border:none!important}
.login-whatsapp-btn .aq-ui-icon{width:18px;height:18px}
.login-ghost-btn{
  background:rgba(255,255,255,.12)!important; color:#fff!important; border:1px solid rgba(255,255,255,.18)!important;
}
.login-proof-list{
  list-style:none; margin:0 0 22px; padding:0; display:grid; gap:8px; max-width:760px;
}
.login-proof-list li{
  position:relative; padding-left:22px; color:rgba(255,255,255,.78); font-size:13px;
}
.login-proof-list li::before{
  content:""; position:absolute; left:0; top:8px; width:10px; height:10px; border-radius:999px;
  background:linear-gradient(145deg,#7ef7aa,#d7ff7a); box-shadow:0 0 0 4px rgba(126,247,170,.18);
}
.login-service-card{background:rgba(255,255,255,.11)!important; border:1px solid rgba(255,255,255,.16)!important}
.login-service-card h3{color:#fff!important}
.login-service-card p{color:rgba(255,255,255,.72)!important}
.login-service-icon{
  background:rgba(255,255,255,.16)!important; color:#fff!important; box-shadow:none!important;
}
.login-floating-panel{
  display:flex; align-items:flex-end; justify-content:space-between; gap:20px;
  margin-top:24px; padding:22px 24px; border-radius:26px;
  border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.08); backdrop-filter:blur(12px);
}
.login-floating-panel h3{margin:6px 0 8px; color:#fff}
.login-floating-panel p{margin:0; color:rgba(255,255,255,.74)}
.login-floating-pill{
  display:inline-flex; align-items:center; justify-content:center; padding:12px 16px; border-radius:999px;
  font-size:12px; font-weight:800; white-space:nowrap; color:#102347; background:#fff2a8;
}
.login-sales-bot{
  position:absolute; right:3%; bottom:0; width:min(33vw,370px); z-index:3; filter:drop-shadow(0 30px 45px rgba(5,15,40,.28));
}
.login-sales-bot img{display:block; width:100%; height:auto}
.login-sales-orb{position:absolute; border-radius:999px; filter:blur(14px); opacity:.8}
.login-sales-orb-a{width:180px;height:180px; background:rgba(108,92,255,.28); right:18%; top:18%}
.login-sales-orb-b{width:120px;height:120px; background:rgba(255,221,87,.22); left:10%; bottom:10%}
.login-neo-form-shell{
  border-radius:32px!important; box-shadow:0 22px 56px rgba(22,31,50,.10)!important;
  border:1px solid #e6ebf4;
}
.login-form-mini-features{
  display:flex; flex-wrap:wrap; gap:10px; margin:0 0 16px;
}
.login-form-mini-features span{
  display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border-radius:999px;
  background:#f4f7ff; color:#42526b; font-size:12px; font-weight:700; border:1px solid #e7ebf4;
}
.login-form-mini-features .aq-ui-icon{width:15px;height:15px;color:#5d6dfa}
.login-sales-note{
  margin-top:14px; padding:16px 18px; border-radius:18px; background:#f8faff; border:1px solid #e7ebf4;
  color:#4b5a73; font-size:13px;
}
.login-sales-note strong{display:block; margin-bottom:6px; color:#1f2f4a}
.login-sales-note a{font-weight:800; color:#5d3fff}
.btn.ghost{
  appearance:none; border:1px solid #d0d5dd; color:#314257; background:#fff;
}
@media (max-width: 1180px){
  .dashboard-mini-panels{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 860px){
  .login-kpi-row{grid-template-columns:1fr}
  .login-floating-panel{flex-direction:column; align-items:flex-start}
  .login-sales-bot{position:relative; right:auto; bottom:auto; width:min(70vw,320px); margin:20px auto 0}
  .dashboard-mini-panels{grid-template-columns:1fr}
}


/* ===== AQ-SUITE 2.34.1 · BRANDING + CLEAN SALES LANDING ===== */
@media (min-width:1080px){
  body.app-auth .topbar{
    width:140px !important;
    padding:16px 12px !important;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
  }
  body.app-auth .container{
    margin-left:176px !important;
  }
  body.app-auth .brand-logo-box{
    width:112px !important;
    height:auto !important;
    min-height:118px;
    padding:8px 6px !important;
    border-radius:24px !important;
  }
  body.app-auth .brand img{
    width:104px !important;
    max-width:104px !important;
    height:auto !important;
    max-height:150px;
    object-fit:contain;
    transform:none !important;
  }
  body.app-auth .admin-nav{gap:9px !important}
  body.app-auth .admin-nav a,
  body.app-auth .admin-nav .user-chip{
    min-height:62px !important;
    border-radius:20px !important;
    padding:8px 7px !important;
  }
}

/* Brand images across auth screens */
.login-card-brand img,
.login-form-logo-clean img,
.auth-card > img{
  display:block;
  object-fit:contain;
}
.login-form-logo-clean{
  display:flex;
  justify-content:center;
  margin:-4px auto 18px;
}
.login-form-logo-clean img{
  width:126px;
  max-height:170px;
}

/* Cleaner selling landing: fewer competing blocks and more whitespace */
body.login-page{
  background:linear-gradient(145deg,#f3f6ff,#fbfcff 46%,#f4f0ff) !important;
}
body.login-page .container{
  width:min(1440px,96vw) !important;
  padding:24px !important;
}
.login-sales-clean{
  grid-template-columns:minmax(0,1.28fr) minmax(360px,.72fr) !important;
  gap:24px !important;
  align-items:stretch;
}
.login-sales-landing-clean{
  min-height:710px !important;
  padding:clamp(32px,4.2vw,60px) !important;
  border-radius:34px !important;
  color:#17233c !important;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 12%,rgba(79,107,255,.14),transparent 20rem),
    radial-gradient(circle at 12% 92%,rgba(87,209,255,.10),transparent 19rem),
    linear-gradient(145deg,#ffffff 0%,#f7f9ff 56%,#f2eeff 100%) !important;
  border:1px solid rgba(220,226,241,.95) !important;
  box-shadow:0 28px 70px rgba(38,51,91,.11) !important;
}
.login-sales-landing-clean::after{
  background:none !important;
}
.login-sales-brand{
  position:relative;
  z-index:5;
  width:148px;
  margin-bottom:18px;
}
.login-sales-brand img{
  display:block;
  width:100%;
  height:auto;
}
.login-sales-copy-clean{
  position:relative;
  z-index:5;
  max-width:760px !important;
}
.login-sales-copy-clean .login-neo-badge{
  color:#3556b8 !important;
  background:#edf2ff !important;
  border-color:#dae3ff !important;
}
.login-sales-copy-clean h1{
  max-width:720px !important;
  margin:18px 0 16px !important;
  color:#17233c !important;
  font-size:clamp(38px,4.7vw,66px) !important;
  line-height:1.02 !important;
  letter-spacing:-2.2px !important;
}
.login-sales-copy-clean h1 span{
  color:#315ce6 !important;
}
.login-sales-copy-clean>p{
  max-width:680px !important;
  color:#66738b !important;
  font-size:16px !important;
  line-height:1.7 !important;
}
.login-clean-benefits{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:760px;
  margin:26px 0 18px;
}
.login-clean-benefits article{
  padding:16px;
  border:1px solid #e3e8f3;
  border-radius:19px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 26px rgba(28,41,75,.045);
}
.login-clean-benefits strong{
  display:block;
  color:#22314d;
  font-size:14px;
  margin-bottom:5px;
}
.login-clean-benefits span{
  display:block;
  color:#7b879d;
  font-size:11px;
  line-height:1.45;
}
.login-clean-tools{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  max-width:740px;
  margin:4px 0 18px;
}
.login-clean-tools span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border-radius:999px;
  color:#52617a;
  background:#fff;
  border:1px solid #e1e7f1;
  font-size:11px;
  font-weight:750;
}
.login-clean-tools .aq-ui-icon{
  width:14px;
  height:14px;
  color:#536df4;
}
.login-clean-actions{margin:18px 0 16px !important}
.login-clean-actions .login-whatsapp-btn{
  background:linear-gradient(145deg,#3158de,#6045ef) !important;
}
.login-clean-actions .login-ghost-btn{
  background:#fff !important;
  border-color:#dce3ef !important;
  color:#35445d !important;
}
.login-clean-note{
  display:flex;
  flex-wrap:wrap;
  gap:9px 18px;
  max-width:720px;
  color:#77839a;
  font-size:11px;
  font-weight:650;
}
.login-sales-bot-clean{
  right:-12px !important;
  bottom:-28px !important;
  width:min(27vw,300px) !important;
  opacity:.96;
  filter:drop-shadow(0 20px 34px rgba(26,46,94,.16)) !important;
}
.login-form-clean{
  align-self:center;
  min-height:auto !important;
  padding:32px !important;
  border-radius:30px !important;
  background:rgba(255,255,255,.96) !important;
  border:1px solid #e1e6f0 !important;
  box-shadow:0 24px 60px rgba(28,39,67,.10) !important;
}
.login-form-clean .login-neo-form-head h2{
  font-size:31px;
  letter-spacing:-.9px;
}
.login-form-clean .login-neo-form-head p{
  color:#7a879b;
}
.login-form-clean input{
  min-height:48px;
  border-radius:13px;
  background:#fbfcff;
}
.login-form-clean .login-submit{
  min-height:50px;
  width:100%;
}
.login-sales-note-clean{
  background:#f7f9ff !important;
  border-color:#e3e8f3 !important;
}

@media(max-width:1100px){
  .login-sales-clean{
    grid-template-columns:1fr !important;
  }
  .login-sales-bot-clean{
    width:230px !important;
  }
  .login-form-clean{
    width:min(100%,620px);
    justify-self:center;
  }
}
@media(max-width:720px){
  body.login-page .container{padding:12px !important}
  .login-sales-landing-clean{padding:28px 22px 220px !important;min-height:auto !important}
  .login-sales-brand{width:118px}
  .login-sales-copy-clean h1{font-size:clamp(34px,10vw,48px)!important}
  .login-clean-benefits{grid-template-columns:1fr !important}
  .login-sales-bot-clean{width:210px !important;right:-16px !important;bottom:-18px !important}
  .login-clean-actions .btn{width:100%}
  .login-form-clean{padding:25px 20px !important}
}


/* ===== AQ-SUITE 2.34.2 · SIDEBAR SCROLLBAR + ACTIVE NAV ===== */
@media (min-width:1080px){
  /* Keep vertical scrolling available on short screens, but never expose a scrollbar. */
  body.app-auth .topbar,
  body.app-auth .admin-nav{
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
  }
  body.app-auth .topbar::-webkit-scrollbar,
  body.app-auth .admin-nav::-webkit-scrollbar{
    width:0 !important;
    height:0 !important;
    display:none !important;
    background:transparent !important;
  }

  /* The selected module, not the first button, receives the blue/violet treatment. */
  body.app-auth .admin-nav a:first-child:not(.is-active){
    color:#42526b !important;
    background:linear-gradient(180deg,#fff,#f8f9ff) !important;
    border:1px solid #ebeff6 !important;
    box-shadow:0 12px 28px rgba(16,24,40,.05) !important;
  }
  body.app-auth .admin-nav a:first-child:not(.is-active) .aq-ui-icon{
    color:#6b7a99 !important;
  }

  body.app-auth .admin-nav a.is-active{
    position:relative;
    color:#fff !important;
    background:linear-gradient(145deg,#1968ff 0%,#4f5cff 48%,#7237f4 100%) !important;
    border-color:transparent !important;
    box-shadow:0 16px 34px rgba(74,86,245,.30) !important;
    transform:translateY(-1px);
  }
  body.app-auth .admin-nav a.is-active .aq-ui-icon{
    color:#fff !important;
  }
  body.app-auth .admin-nav a.is-active::after{
    content:"";
    position:absolute;
    right:9px;
    top:9px;
    width:7px;
    height:7px;
    border-radius:999px;
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,255,255,.16);
  }
}

/* Mobile menu active state */
@media (max-width:1079px){
  body.app-auth .admin-nav a.is-active{
    color:#fff !important;
    background:linear-gradient(145deg,#1968ff,#4f5cff 52%,#7237f4) !important;
    border-color:transparent !important;
    box-shadow:0 10px 24px rgba(74,86,245,.22) !important;
  }
  body.app-auth .admin-nav a.is-active .aq-ui-icon{color:#fff !important}
}


/* ===== AQ-SUITE 2.34.3 · VCARD / PLANTILLAS SUBMENU ===== */
.admin-nav-group{
  width:100%;
  margin:0;
}
.admin-nav-group summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
}
.admin-nav-group summary::-webkit-details-marker{display:none}
.admin-nav-group .nav-group-chevron{
  transition:transform .2s ease;
}
.admin-nav-group[open] .nav-group-chevron{
  transform:rotate(180deg);
}
.admin-nav-submenu{
  display:grid;
  gap:6px;
  margin-top:7px;
}

@media (min-width:1080px){
  body.app-auth .admin-nav-group summary{
    position:relative;
    width:100%;
    min-height:62px;
    padding:8px 7px;
    border:1px solid #ebeff6;
    border-radius:20px;
    background:linear-gradient(180deg,#fff,#f8f9ff);
    box-shadow:0 12px 28px rgba(16,24,40,.05);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    color:#42526b;
    font-size:11px;
    font-weight:700;
    text-align:center;
    transition:.18s ease;
  }
  body.app-auth .admin-nav-group summary:hover{
    transform:translateY(-2px);
    border-color:#d3daf0;
    box-shadow:0 14px 32px rgba(90,110,170,.12);
  }
  body.app-auth .admin-nav-group summary > .aq-ui-icon:not(.nav-group-chevron){
    width:18px;
    height:18px;
    color:#6b7a99;
  }
  body.app-auth .admin-nav-group summary .nav-group-chevron{
    position:absolute;
    right:7px;
    bottom:7px;
    width:11px;
    height:11px;
    color:#8a96ad;
  }

  body.app-auth .admin-nav-group.is-active > summary{
    color:#fff;
    border-color:transparent;
    background:linear-gradient(145deg,#1968ff 0%,#4f5cff 48%,#7237f4 100%);
    box-shadow:0 16px 34px rgba(74,86,245,.30);
  }
  body.app-auth .admin-nav-group.is-active > summary > .aq-ui-icon{
    color:#fff !important;
  }

  body.app-auth .admin-nav-submenu{
    padding:4px 2px 2px;
  }
  body.app-auth .admin-nav-submenu a{
    min-height:44px !important;
    padding:7px 6px !important;
    border-radius:14px !important;
    gap:4px !important;
    font-size:9.5px !important;
    box-shadow:none !important;
    background:#f7f9ff !important;
    border:1px solid #e7ecf7 !important;
    color:#5b6881 !important;
  }
  body.app-auth .admin-nav-submenu a .aq-ui-icon{
    width:14px !important;
    height:14px !important;
    color:#6f7d99 !important;
  }
  body.app-auth .admin-nav-submenu a.is-active{
    background:linear-gradient(145deg,#eaf1ff,#f0eaff) !important;
    border-color:#cfdcff !important;
    color:#3159cc !important;
    box-shadow:inset 3px 0 0 #5365ff !important;
    transform:none !important;
  }
  body.app-auth .admin-nav-submenu a.is-active .aq-ui-icon{
    color:#5365ff !important;
  }
  body.app-auth .admin-nav-submenu a.is-active::after{
    display:none !important;
  }
}

/* Mobile / tablet: submenu remains clear and touch-friendly. */
@media (max-width:1079px){
  .admin-nav-group summary{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    padding:11px 12px;
    border-radius:12px;
    color:#344054;
    font-weight:700;
    background:#f7f9fc;
  }
  .admin-nav-group summary .nav-group-chevron{
    margin-left:auto;
    width:15px;
    height:15px;
  }
  .admin-nav-group.is-active > summary{
    color:#fff;
    background:linear-gradient(145deg,#1968ff,#4f5cff 52%,#7237f4);
  }
  .admin-nav-group.is-active > summary .aq-ui-icon{color:#fff}
  .admin-nav-submenu{
    margin:7px 0 2px 12px;
    padding-left:10px;
    border-left:2px solid #dce4f5;
  }
  .admin-nav-submenu a{
    min-height:42px;
    padding:9px 11px;
    border-radius:10px;
    flex-direction:row !important;
    justify-content:flex-start !important;
    text-align:left !important;
  }
}


/* ===== AQ-SUITE 2.34.4 · dashboard service artworks ===== */
.dashboard-service-banner{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(260px, 340px) minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  margin-bottom:20px;
  padding:22px 24px;
  border:1px solid #dce6f4;
  border-radius:24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,200,255,.11), transparent 14rem),
    radial-gradient(circle at 10% 90%, rgba(21,87,176,.08), transparent 16rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:0 16px 36px rgba(16,24,40,.08);
}
.dashboard-service-banner::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:3px;
  background:linear-gradient(90deg,#12ccff,#1d64ff 40%,#7347ff 85%);
  opacity:.22;
}
.dashboard-service-media{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.dashboard-service-media img{
  display:block;
  width:100%;
  max-width:320px;
  height:auto;
  filter:drop-shadow(0 18px 34px rgba(10,41,104,.14));
}
.dashboard-service-media-cloud img{max-width:420px}
.dashboard-service-media-signature img{max-width:340px}
.dashboard-service-media-qr img{max-width:330px}
.dashboard-service-media-voice img{max-width:320px}
.dashboard-service-copy .eyebrow{
  display:inline-flex;
  margin-bottom:7px;
}
.dashboard-service-copy h2{
  margin:0 0 7px;
  color:#172033;
  font-size:clamp(1.35rem, 1.1rem + .8vw, 2rem);
  line-height:1.08;
}
.dashboard-service-copy p{
  margin:0;
  max-width:700px;
  color:#667085;
  line-height:1.6;
}
.dashboard-service-cta{
  position:relative;
  z-index:2;
  white-space:nowrap;
}
.dashboard-service-banner-voice,
.dashboard-service-banner-signature,
.dashboard-service-banner-qr,
.dashboard-service-banner-cloud{
  min-height:168px;
}

@media (max-width: 1100px){
  .dashboard-service-banner{
    grid-template-columns: minmax(220px, 300px) minmax(0,1fr);
  }
  .dashboard-service-cta{
    grid-column: 1 / -1;
    justify-self:start;
  }
}
@media (max-width: 780px){
  .dashboard-service-banner{
    grid-template-columns: 1fr;
    gap:16px;
    padding:18px;
  }
  .dashboard-service-media{
    justify-content:center;
  }
  .dashboard-service-media img{
    max-width:min(100%, 360px);
  }
  .dashboard-service-copy{
    text-align:left;
  }
}


/* ===== AQ-SUITE 2.34.5 · VCard service artwork ===== */
.dashboard-service-media-vcard img{
  max-width:360px;
}
.dashboard-vcard-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:11px 17px;
  border:0;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#1267ff,#00bfe8);
  box-shadow:0 13px 26px rgba(18,103,255,.22);
}
.dashboard-service-banner{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dashboard-service-banner:hover{
  transform:translateY(-3px);
  border-color:#cbd7ef;
  box-shadow:0 22px 46px rgba(16,24,40,.11),0 0 28px rgba(32,109,255,.08);
}
@media (prefers-reduced-motion: reduce){
  .dashboard-service-banner{transition:none}
  .dashboard-service-banner:hover{transform:none}
}


/* ===== AQ DIGITAL SUITE 2.35.0 · vCard editor phase 1 ===== */
.social-network-panel{
  overflow:visible;
}
.social-network-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
  padding:14px 16px;
  border:1px solid #e2e8f3;
  border-radius:16px;
  background:linear-gradient(145deg,#f8fbff,#f6f4ff);
}
.social-network-toolbar>div{display:grid;gap:3px}
.social-network-toolbar small{color:#667085}
.social-add-button{
  border-color:transparent!important;
  color:#fff!important;
  background:linear-gradient(135deg,#1267ff,#6046ff)!important;
  box-shadow:0 10px 24px rgba(72,84,245,.18);
}
.social-network-list{display:grid;gap:10px}
.social-network-row{
  display:grid;
  grid-template-columns:minmax(150px,.36fr) minmax(260px,1fr) auto;
  gap:10px;
  align-items:end;
  padding:12px;
  border:1px solid #e4eaf3;
  border-radius:16px;
  background:#fff;
}
.social-network-row label{margin:0;display:grid;gap:6px}
.social-network-row label>span{font-size:11px;font-weight:800;color:#667085}
.social-network-row input,
.social-network-row select{margin:0}
.social-remove-button{min-height:42px}
.social-network-empty{
  display:grid;
  gap:4px;
  margin-top:12px;
  padding:20px;
  text-align:center;
  border:1px dashed #ccd6e6;
  border-radius:16px;
  color:#667085;
  background:#fafcff;
}
.social-network-empty[hidden]{display:none}
.social-network-empty strong{color:#344054}

.template-preview-stage{
  display:grid;
  grid-template-columns:minmax(220px,330px) minmax(0,1fr);
  gap:20px;
  align-items:center;
  margin:0 0 16px;
  padding:18px;
  border:1px solid #dce5f4;
  border-radius:22px;
  background:
    radial-gradient(circle at 10% 15%,rgba(47,107,255,.08),transparent 16rem),
    linear-gradient(145deg,#fff,#f7f9ff);
}
.template-preview-device{
  position:relative;
  min-height:250px;
  display:grid;
  place-items:center;
  padding:14px;
  border-radius:24px;
  background:linear-gradient(150deg,#131b30,#263657);
  box-shadow:0 20px 44px rgba(20,32,58,.16);
}
.template-preview-device::before{
  content:"";
  position:absolute;
  top:8px;
  width:54px;
  height:5px;
  border-radius:999px;
  background:rgba(255,255,255,.24);
}
.template-preview-device img{
  width:100%;
  max-height:310px;
  object-fit:contain;
  border-radius:15px;
  background:#fff;
}
.template-preview-stage-copy{display:grid;gap:7px;align-content:center}
.template-preview-stage-copy strong{font-size:24px;color:#172033}
.template-preview-stage-copy small{font-weight:800;color:#4e60a7}
.template-preview-stage-copy p{margin:5px 0 0;color:#667085;line-height:1.55}

.admin-template-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.admin-template-card{
  overflow:hidden;
  border:1px solid #e0e7f1;
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 38px rgba(16,24,40,.07);
  transition:transform .2s ease,box-shadow .2s ease;
}
.admin-template-card:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 46px rgba(16,24,40,.11);
}
.admin-template-preview{
  position:relative;
  display:grid;
  place-items:center;
  min-height:250px;
  padding:18px;
  background:linear-gradient(145deg,#eef3ff,#f9f7ff);
}
.admin-template-preview img{
  display:block;
  width:100%;
  max-height:300px;
  object-fit:contain;
  filter:drop-shadow(0 14px 24px rgba(30,45,80,.12));
}
.admin-template-preview-badge{
  position:absolute;
  top:12px;
  right:12px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(17,31,57,.82);
  color:#fff;
  font-size:10px;
  font-weight:800;
}
.admin-template-body{display:grid;gap:12px;padding:18px}
.admin-template-body h3{margin:0 0 4px;font-size:19px}
.admin-template-body small,.admin-template-body p{color:#667085}
.admin-template-body p{margin:0;font-size:12px}
.read-only-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:38px;
  padding:8px 11px;
  border-radius:11px;
  background:#eef3fb;
  color:#5b6780;
  border:1px solid #dde5f1;
  font-size:11px;
  font-weight:800;
}
.read-only-pill .aq-ui-icon{width:15px;height:15px}

@media (max-width:1100px){
  .admin-template-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .social-network-toolbar{align-items:stretch;flex-direction:column}
  .social-add-button{width:100%}
  .social-network-row{grid-template-columns:1fr}
  .template-preview-stage{grid-template-columns:1fr}
  .template-preview-device{min-height:220px}
  .admin-template-gallery{grid-template-columns:1fr}
}


/* ===== AQ DIGITAL SUITE 2.35.1 · analytics dashboard ===== */
.dashboard-analytics-overview{
  margin:20px 0;
  padding:22px;
  border:1px solid #dfe6f2;
  border-radius:26px;
  background:
    radial-gradient(circle at 90% 5%,rgba(78,90,255,.08),transparent 18rem),
    linear-gradient(180deg,#fff,#fbfcff);
  box-shadow:0 16px 40px rgba(16,24,40,.06);
}
.dashboard-analytics-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.analytics-kpi{
  position:relative;
  overflow:hidden;
  min-height:132px;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(220,228,242,.95);
  background:#fff;
  box-shadow:0 12px 28px rgba(16,24,40,.05);
}
.analytics-kpi::after{
  content:"";
  position:absolute;
  width:88px;
  height:88px;
  border-radius:50%;
  right:-24px;
  top:-28px;
  opacity:.18;
}
.analytics-kpi small{
  display:block;
  color:#667085;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
}
.analytics-kpi strong{
  display:block;
  margin:8px 0 7px;
  font-size:30px;
  line-height:1;
  color:#172033;
}
.analytics-kpi span{
  display:block;
  color:#667085;
  font-size:11px;
  line-height:1.4;
}
.analytics-kpi-blue{background:linear-gradient(145deg,#f7fbff,#eef5ff)}
.analytics-kpi-blue::after{background:#2f6bff}
.analytics-kpi-purple{background:linear-gradient(145deg,#fbf9ff,#f1ecff)}
.analytics-kpi-purple::after{background:#7549ff}
.analytics-kpi-cyan{background:linear-gradient(145deg,#f6fdff,#ecfbff)}
.analytics-kpi-cyan::after{background:#00b8e8}
.analytics-kpi-gold{background:linear-gradient(145deg,#fffdf6,#fff7dc)}
.analytics-kpi-gold::after{background:#f2b705}
.trend-up{color:#027a48!important;font-weight:800}
.trend-down{color:#b42318!important;font-weight:800}

.dashboard-charts-2351{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.dashboard-charts-2351 .chart-card-featured{
  grid-column:auto!important;
}
.dashboard-charts-2351 .chart-card{
  min-width:0;
  min-height:360px;
}
.dashboard-charts-2351 .aq-chart{
  width:100%!important;
  height:280px!important;
}

@media (max-width:1100px){
  .dashboard-analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-charts-2351{grid-template-columns:1fr!important}
}
@media (max-width:680px){
  .dashboard-analytics-overview{padding:16px}
  .dashboard-analytics-kpis{grid-template-columns:1fr}
  .analytics-kpi{min-height:116px}
}


/* ===== AQ DIGITAL SUITE 2.35.2 · signature generator refinement ===== */
.signature-save-button{
  border-color:transparent!important;
  color:#fff!important;
  background:linear-gradient(135deg,#0d68ff,#5c4bff)!important;
  box-shadow:0 11px 26px rgba(62,83,245,.22);
}
.signature-save-button .aq-ui-icon{
  width:16px;
  height:16px;
  color:#fff;
}
.signature-preview-actions{
  align-items:center;
}
.signature-history-panel .tool-history-list article{
  align-items:center;
}
.signature-history-panel .is-saved-signature{
  border-color:#d9e3ff;
  background:linear-gradient(145deg,#fff,#f7f9ff);
}
.signature-history-panel .is-saved-signature .tool-history-icon{
  min-width:46px;
  color:#3159d4;
  background:#eaf0ff;
}
.signature-history-load{
  margin-left:auto;
}
.signature-form-grid input[data-signature-input="mobile"],
.signature-form-grid input[data-signature-input="website"]{
  border-color:#cfd9ea;
}
@media (max-width:760px){
  .signature-preview-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  .signature-preview-actions .btn{
    width:100%;
  }
  .signature-history-panel .tool-history-list article{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .signature-history-load{
    margin-left:0;
    width:100%;
  }
}


/* ===== AQ DIGITAL SUITE 2.35.8 · VOICE WORKFLOW ===== */
.voice-studio-flow{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:16px!important;
  width:100%;
  position:relative;
  overflow:visible;
}
.voice-studio-flow [hidden]{display:none!important}
.voice-flow-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  padding:8px;
  border:1px solid #dfe6f1;
  border-radius:18px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 28px rgba(16,24,40,.05);
}
.voice-flow-steps span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:8px 12px;
  border-radius:13px;
  color:#7a8799;
  font-size:12px;
  font-weight:800;
  transition:.2s ease;
}
.voice-flow-steps b{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  color:#667085;
  background:#eef2f7;
  font-size:11px;
}
.voice-flow-steps span.is-active{
  color:#1557b0;
  background:linear-gradient(145deg,#eff6ff,#f5f2ff);
  box-shadow:inset 0 0 0 1px #d7e5fb;
}
.voice-flow-steps span.is-active b{
  color:#fff;
  background:linear-gradient(135deg,#0878a8,#6334dd);
}
.voice-flow-steps span.is-complete{color:#087a59}
.voice-flow-steps span.is-complete b{color:#fff;background:#12a56f}

.voice-setup-panel,
.voice-recording-panel,
.voice-editor-panel-2358{
  width:100%;
  min-width:0;
  padding:26px;
  border:1px solid #dfe6f1;
  border-radius:25px;
  background:#fff;
  box-shadow:0 16px 40px rgba(16,24,40,.065);
}
.voice-setup-panel{
  display:grid;
  grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);
  gap:28px;
  align-items:center;
  background:
    radial-gradient(circle at 5% 15%,rgba(0,181,232,.09),transparent 18rem),
    radial-gradient(circle at 95% 90%,rgba(99,52,221,.07),transparent 20rem),
    #fff;
}
.voice-stage-badge{
  display:inline-flex;
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  color:#1557b0;
  background:#eaf2ff;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.voice-stage-badge.is-live{color:#9f1239;background:#fff0f4}
.voice-stage-badge.is-complete{color:#027a48;background:#ecfdf3}
.voice-setup-intro h2,
.voice-recording-head h2,
.voice-editor-panel-2358 h2{
  margin:9px 0 7px;
  color:#172033;
  font-size:clamp(22px,3vw,30px);
}
.voice-setup-intro>p,
.voice-recording-head p,
.voice-editor-panel-2358 .voice-editor-head p{
  margin:0;
  color:#667085;
  line-height:1.6;
}
.voice-setup-feature-list{
  display:grid;
  gap:10px;
  margin-top:22px;
}
.voice-setup-feature-list span{
  display:flex;
  align-items:center;
  gap:9px;
  color:#475467;
  font-size:12px;
  font-weight:750;
}
.voice-setup-feature-list .aq-ui-icon{width:18px;height:18px;color:#0789bc}
.voice-setup-controls{
  padding:20px;
  border:1px solid #e2e8f2;
  border-radius:20px;
  background:linear-gradient(145deg,#fff,#f8faff);
}
.voice-settings-grid-2358{padding-top:0!important;border-top:0!important}
.voice-option-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.voice-option-row .voice-check{
  align-items:flex-start!important;
  min-height:72px;
  padding:12px;
  margin:0!important;
  border:1px solid #e3e8f1;
  border-radius:14px;
  background:#fff;
}
.voice-option-row .voice-check span{display:grid;gap:2px}
.voice-option-row .voice-check strong{color:#344054;font-size:11px}
.voice-option-row .voice-check small{color:#7a8798;font-size:10px;line-height:1.35}
.voice-start-conversion{
  width:100%;
  min-height:54px!important;
  margin-top:15px;
  gap:9px;
  font-size:14px;
}
.voice-start-conversion .aq-ui-icon{width:20px;height:20px}

.voice-recording-panel{
  background:
    radial-gradient(circle at 50% 34%,rgba(0,181,232,.12),transparent 18rem),
    radial-gradient(circle at 90% 8%,rgba(99,52,221,.07),transparent 18rem),
    #fff;
}
.voice-recording-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding-bottom:18px;
  border-bottom:1px solid #edf0f5;
}
.voice-recording-head>div:first-child{max-width:700px}
.voice-recording-time{
  min-width:126px;
  padding:12px 14px;
  border-radius:15px;
  text-align:center;
  background:#f5f8fc;
  border:1px solid #e2e8f1;
}
.voice-recording-time small,
.voice-recording-time strong{display:block}
.voice-recording-time small{color:#667085;font-size:9px;text-transform:uppercase;letter-spacing:.05em}
.voice-recording-time strong{margin-top:3px;color:#1557b0;font-size:22px}
.voice-mic-zone-recording{padding:34px 10px 22px!important}
.voice-mic-indicator{cursor:default!important}
.voice-mic-indicator:hover{transform:none!important}
.voice-recording-actions{
  display:grid;
  grid-template-columns:minmax(130px,.35fr) minmax(240px,1fr);
  gap:10px;
  width:min(100%,560px);
  margin:4px auto 0;
}
.voice-recording-actions .btn{min-height:49px}
.voice-finish-button{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff!important;
  border-color:transparent!important;
  background:linear-gradient(135deg,#e14653,#b42318)!important;
  box-shadow:0 10px 24px rgba(180,35,24,.17);
}
.voice-finish-button .aq-ui-icon{width:17px;height:17px}

.voice-editor-panel-2358{position:relative!important;z-index:1!important}
.voice-editor-panel-2358 .voice-editor-head{padding-bottom:5px}
.voice-editor-panel-2358 textarea{
  min-height:360px!important;
  margin-top:20px!important;
  background:#fff!important;
  border:1px solid #d9e1ec!important;
  box-shadow:inset 0 1px 3px rgba(16,24,40,.025);
}
.voice-editor-actions-2358{align-items:center}
.voice-new-transcription{margin-left:auto}
.voice-browser-note-flow{
  margin-top:0!important;
  border:1px solid #e4e9f1;
  background:#f8fafc!important;
}

@media(max-width:820px){
  .voice-setup-panel{grid-template-columns:1fr;gap:18px}
  .voice-setup-intro{padding:2px}
}
@media(max-width:620px){
  .voice-flow-steps{grid-template-columns:1fr;padding:6px}
  .voice-flow-steps span{justify-content:flex-start;min-height:38px}
  .voice-setup-panel,.voice-recording-panel,.voice-editor-panel-2358{padding:17px;border-radius:20px}
  .voice-option-row{grid-template-columns:1fr}
  .voice-recording-head{flex-direction:column}
  .voice-recording-time{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left}
  .voice-recording-time strong{margin:0}
  .voice-recording-actions{grid-template-columns:1fr}
  .voice-editor-actions-2358{grid-template-columns:1fr 1fr!important}
  .voice-new-transcription{grid-column:1/-1;margin-left:0}
}

/* ===== AQ DIGITAL SUITE 2.35.8 · TEMPLATE PICKER FRIENDLY LAYOUT ===== */
.template-picker-field,
.template-picker-dropdown,
.panel:has(.template-picker-dropdown){
  z-index:auto!important;
}
.template-picker-dropdown[open]{z-index:auto!important}
.template-picker-popover{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  z-index:1!important;
  max-height:none!important;
  margin-top:10px;
  padding:14px!important;
  overflow:hidden!important;
  border-radius:20px;
  box-shadow:0 14px 34px rgba(16,24,40,.10)!important;
  backdrop-filter:none!important;
}
.template-picker-browser{
  display:grid;
  grid-template-columns:minmax(210px,285px) minmax(0,1fr);
  gap:16px;
  align-items:start;
  padding-top:14px;
}
.template-picker-browser .template-preview-stage{
  position:sticky;
  top:12px;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  align-items:start!important;
  margin:0!important;
  padding:14px!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#f9fbff,#f3f5ff)!important;
  box-shadow:none!important;
}
.template-picker-browser .template-preview-device{
  min-height:0!important;
  padding:10px!important;
  border-radius:18px!important;
}
.template-picker-browser .template-preview-device img{
  width:100%!important;
  height:auto!important;
  max-height:330px!important;
  aspect-ratio:160/220;
  object-fit:contain!important;
}
.template-picker-browser .template-preview-stage-copy{
  gap:5px!important;
}
.template-picker-browser .template-preview-stage-copy strong{font-size:19px!important}
.template-picker-browser .template-preview-stage-copy p{font-size:11px;line-height:1.45}
.template-picker-options{
  min-width:0;
  padding:2px 2px 2px 0;
}
.template-picker-options-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  padding:1px 3px 10px;
}
.template-picker-options-head strong{color:#172033;font-size:14px}
.template-picker-options-head small{color:#667085;font-size:10px}
.template-picker-popover .template-preview-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(125px,1fr))!important;
  gap:10px!important;
  max-height:510px!important;
  margin:0!important;
  padding:2px 5px 8px 2px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable;
}
.template-picker-popover .template-preview-card{
  min-width:0;
  padding:8px!important;
  border-radius:14px!important;
}
.template-picker-popover .template-preview-card img{
  width:100%!important;
  max-width:118px!important;
  border-radius:9px!important;
}
.template-picker-close{position:static!important}

@media(max-width:780px){
  .template-picker-popover{
    position:relative!important;
    inset:auto!important;
    max-height:none!important;
    margin-top:9px!important;
  }
  .template-picker-browser{
    grid-template-columns:1fr;
    gap:12px;
  }
  .template-picker-browser .template-preview-stage{
    position:relative;
    top:auto;
    grid-template-columns:116px minmax(0,1fr)!important;
    align-items:center!important;
    padding:11px!important;
  }
  .template-picker-browser .template-preview-device{padding:7px!important;border-radius:14px!important}
  .template-picker-browser .template-preview-device::before{display:none}
  .template-picker-browser .template-preview-device img{
    max-height:158px!important;
    border-radius:9px!important;
  }
  .template-picker-browser .template-preview-stage-copy strong{font-size:16px!important}
  .template-picker-browser .template-preview-stage-copy p{margin-top:3px;font-size:10px}
  .template-picker-options-head{align-items:flex-start;flex-direction:column;gap:2px}
  .template-picker-popover .template-preview-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    max-height:440px!important;
  }
}
@media(max-width:430px){
  .template-picker-browser .template-preview-stage{
    grid-template-columns:94px minmax(0,1fr)!important;
  }
  .template-picker-browser .template-preview-device img{max-height:130px!important}
  .template-picker-browser .template-preview-stage-copy p{display:none}
  .template-picker-popover .template-preview-grid{gap:8px!important}
}


/* AQ 2.35.9: keep an existing client's template visible even if newer
   compatibility metadata no longer lists its current card type. */
.template-preview-card.is-legacy-compatible::after{
    content:"Diseño actual";position:absolute;right:8px;top:8px;z-index:3;
    padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800;
    background:rgba(15,23,42,.82);color:#fff;backdrop-filter:blur(6px)
}
