:root{--aip-d-primary:#6d5dfc;--aip-d-primary2:#8b5cf6;--aip-d-ink:#16172a;--aip-d-muted:#74758a;--aip-d-line:#e8e8f2;--aip-d-bg:#f6f7fb;--aip-d-surface:#fff;--aip-d-success:#18a875;--aip-d-danger:#e5484d;--aip-d-radius:24px;--aip-d-sidebar:#17172a;--aip-d-shadow:0 18px 55px rgba(31,35,70,.08)}
.aip-user-dashboard,.aip-user-dashboard *{box-sizing:border-box}
.aip-user-dashboard{direction:rtl;display:grid;grid-template-columns:270px minmax(0,1fr);min-height:820px;background:var(--aip-d-bg);border:1px solid var(--aip-d-line);border-radius:30px;overflow:hidden;color:var(--aip-d-ink);font-family:inherit;box-shadow:var(--aip-d-shadow)}
.aip-user-dashboard__sidebar{background:linear-gradient(180deg,var(--aip-d-sidebar) 0%,color-mix(in srgb,var(--aip-d-sidebar),#fff 8%) 100%);padding:24px 18px;display:flex;flex-direction:column;min-width:0;color:#fff;position:relative;z-index:5}
.aip-user-dashboard__brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none;padding:0 8px 22px}.aip-user-dashboard__brand>span{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#8b5cf6,#5b7cfa);font-weight:900;box-shadow:0 10px 30px rgba(109,93,252,.35)}.aip-user-dashboard__brand b{display:block;font-size:17px}.aip-user-dashboard__brand small{display:block;color:#a9a8c4;margin-top:3px}
.aip-user-dashboard__profile{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.07);padding:12px;border-radius:18px;margin-bottom:20px}.aip-user-dashboard__profile img{border-radius:15px;width:44px;height:44px}.aip-user-dashboard__profile b,.aip-user-dashboard__profile small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aip-user-dashboard__profile small{color:#aaaac2;font-size:11px;margin-top:4px;max-width:145px}
.aip-user-dashboard__sidebar nav{display:flex;flex-direction:column;gap:5px}.aip-user-dashboard__sidebar nav a{display:flex;align-items:center;gap:11px;color:#c7c7d8;text-decoration:none;padding:11px 12px;border-radius:14px;font-size:13px;transition:.22s}.aip-user-dashboard__sidebar nav a span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:rgba(255,255,255,.06);font-size:13px}.aip-user-dashboard__sidebar nav a:hover,.aip-user-dashboard__sidebar nav a.is-active{background:linear-gradient(135deg,rgba(109,93,252,.27),rgba(139,92,246,.15));color:#fff}.aip-user-dashboard__sidebar nav a.is-active span{background:#6d5dfc}.aip-user-dashboard__sidebar nav hr{width:100%;border:0;border-top:1px solid rgba(255,255,255,.08);margin:11px 0}.aip-user-dashboard__logout{margin-top:auto;color:#ffb8ba;text-decoration:none;padding:13px;text-align:center;border-radius:14px;background:rgba(229,72,77,.09)}
.aip-user-dashboard__main{min-width:0;padding:0 28px 36px}.aip-user-dashboard__topbar{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--aip-d-line);margin-bottom:28px}.aip-user-dashboard__topbar>div:first-child{display:flex;align-items:center;gap:12px;color:var(--aip-d-muted)}.aip-user-dashboard__topbar button{display:none;border:0;background:#fff;border-radius:12px;padding:9px 12px}.aip-user-dashboard__balance{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--aip-d-line);padding:8px 9px 8px 14px;border-radius:16px}.aip-user-dashboard__balance small{color:var(--aip-d-muted)}.aip-user-dashboard__balance b{font-size:16px}.aip-user-dashboard__balance a{background:var(--aip-d-primary);color:#fff;text-decoration:none;padding:8px 12px;border-radius:10px;font-size:12px}
.aip-dashboard-page-head{display:flex;justify-content:space-between;align-items:end;margin:0 0 24px}.aip-dashboard-page-head span{font-size:12px;font-weight:800;color:var(--aip-d-primary);background:#eeeaff;padding:6px 10px;border-radius:999px}.aip-dashboard-page-head h1{font-size:29px;line-height:1.3;margin:9px 0 5px}.aip-dashboard-page-head p{margin:0;color:var(--aip-d-muted);font-size:14px}
.aip-dashboard-hero-card{position:relative;overflow:hidden;display:grid;grid-template-columns:1.35fr .65fr;gap:20px;background:linear-gradient(135deg,#32256a 0%,#5c43ce 50%,#7c5cff 100%);border-radius:28px;padding:34px;color:#fff;margin-bottom:22px;box-shadow:0 22px 55px rgba(80,60,180,.22)}.aip-dashboard-hero-card:after{content:"";position:absolute;width:290px;height:290px;border-radius:50%;background:rgba(255,255,255,.09);left:-70px;top:-110px}.aip-dashboard-hero-card>div{position:relative;z-index:2}.aip-dashboard-hero-card span{display:inline-flex;background:rgba(255,255,255,.14);padding:6px 11px;border-radius:999px;font-size:12px}.aip-dashboard-hero-card h2{font-size:28px;line-height:1.45;margin:14px 0 9px;max-width:650px;color:#fff}.aip-dashboard-hero-card p{color:#ded9ff;margin:0 0 20px;max-width:620px}.aip-dashboard-hero-card div>div>a{display:inline-flex;padding:11px 17px;border-radius:12px;background:#fff;color:#4b35a8;text-decoration:none;font-weight:800;margin-left:8px}.aip-dashboard-hero-card div>div>a.is-ghost{color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22)}.aip-dashboard-hero-visual{display:grid;place-items:center;min-height:155px;position:relative}.aip-dashboard-hero-visual span{width:100px;height:100px;display:grid;place-items:center;border-radius:32px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.32);font-size:27px;font-weight:900;backdrop-filter:blur(10px);box-shadow:0 22px 50px rgba(0,0,0,.18)}.aip-dashboard-hero-visual i{position:absolute;border-radius:50%;background:rgba(255,255,255,.14)}.aip-dashboard-hero-visual i:nth-child(1){width:28px;height:28px;top:15px;right:18px}.aip-dashboard-hero-visual i:nth-child(2){width:17px;height:17px;bottom:27px;left:10px}.aip-dashboard-hero-visual i:nth-child(3){width:11px;height:11px;top:34px;left:36px}
.aip-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.aip-dashboard-metrics article{background:#fff;border:1px solid var(--aip-d-line);border-radius:20px;padding:17px;display:flex;gap:13px;min-width:0}.aip-dashboard-metrics article>span{flex:0 0 43px;height:43px;display:grid;place-items:center;border-radius:14px;font-weight:900}.aip-dashboard-metrics .is-purple{background:#eeeaff;color:#6d5dfc}.aip-dashboard-metrics .is-blue{background:#e8f3ff;color:#2583e5}.aip-dashboard-metrics .is-green{background:#e8f9f1;color:#18a875}.aip-dashboard-metrics .is-orange{background:#fff3e6;color:#e68b24}.aip-dashboard-metrics small,.aip-dashboard-metrics strong,.aip-dashboard-metrics em,.aip-dashboard-metrics a{display:block}.aip-dashboard-metrics small{color:var(--aip-d-muted);font-size:11px}.aip-dashboard-metrics strong{font-size:22px;margin:3px 0}.aip-dashboard-metrics em,.aip-dashboard-metrics a{font-style:normal;font-size:10px;color:#9394a6;text-decoration:none}
.aip-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.aip-dashboard-grid--wide{grid-template-columns:1.4fr .6fr}.aip-dashboard-card{background:#fff;border:1px solid var(--aip-d-line);border-radius:22px;padding:21px;margin-bottom:20px;box-shadow:0 8px 30px rgba(25,28,60,.035)}.aip-dashboard-grid .aip-dashboard-card{margin-bottom:0}.aip-dashboard-card>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.aip-dashboard-card>header span{display:block;color:var(--aip-d-primary);font-size:11px;font-weight:800}.aip-dashboard-card>header h3{font-size:17px;margin:4px 0 0}.aip-dashboard-card>header>a{font-size:11px;color:var(--aip-d-primary);text-decoration:none}
.aip-mini-chart{height:220px;display:flex;align-items:end;gap:12px;padding-top:25px}.aip-mini-chart>div{flex:1;text-align:center;display:flex;flex-direction:column;justify-content:end;height:100%;gap:8px}.aip-mini-chart b{height:var(--height);min-height:8px;display:block;border-radius:9px 9px 3px 3px;background:linear-gradient(180deg,#8b7bff,#6656ed);position:relative;transition:.3s}.aip-mini-chart b:hover{filter:brightness(1.08)}.aip-mini-chart b i{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-size:9px;font-style:normal;color:#85869b}.aip-mini-chart span{font-size:10px;color:#8c8d9f}.aip-mini-chart--credits b{background:linear-gradient(180deg,#37c99a,#15a776)}
.aip-limit-item{margin:18px 0}.aip-limit-item>div{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.aip-limit-item>i{display:block;height:8px;border-radius:999px;background:#eeeef4;overflow:hidden}.aip-limit-item>i em{display:block;height:100%;background:linear-gradient(90deg,#6d5dfc,#9c6cff);border-radius:inherit}.aip-dashboard-card>p{color:var(--aip-d-muted);font-size:11px;line-height:1.9}
.aip-dashboard-table{overflow:auto}.aip-dashboard-table table{width:100%;border-collapse:collapse;min-width:650px}.aip-dashboard-table th{font-size:10px;text-align:right;color:#9899aa;font-weight:700;padding:10px;border-bottom:1px solid var(--aip-d-line)}.aip-dashboard-table td{padding:12px 10px;border-bottom:1px solid #f0f0f5;font-size:11px;vertical-align:middle}.aip-dashboard-table td small,.aip-dashboard-table td b{display:block}.aip-dashboard-table td small{color:#999aae}.aip-dashboard-table td b{margin-top:3px;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aip-status,.aip-job-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef0f5;color:#6c6d7e;font-size:9px}.aip-status--success,.aip-job-status.is-completed{background:#e8f9f1;color:#16855e}.aip-status--failed,.aip-job-status.is-failed{background:#fff0f0;color:#cf4147}.aip-status--queued,.aip-job-status.is-queued,.aip-job-status.is-processing{background:#fff4e7;color:#bd761f}.is-positive{color:#15956b;font-weight:800}.is-negative{color:#d3494f;font-weight:800}.aip-transaction-type{padding:4px 8px;border-radius:999px;background:#f0f0f6;color:#737487;font-size:9px}
.aip-credit-packs{margin-bottom:26px}.aip-credit-packs__head{text-align:center;max-width:700px;margin:0 auto 26px}.aip-credit-packs__head>span{display:inline-flex;color:var(--aip-d-primary);font-weight:800;background:#eeeaff;border-radius:999px;padding:6px 11px}.aip-credit-packs__head h2{font-size:30px;margin:12px 0 8px}.aip-credit-packs__head p{color:var(--aip-d-muted)}.aip-credit-packs__grid{display:grid;grid-template-columns:repeat(var(--aip-pack-columns,4),minmax(0,1fr));gap:15px}.aip-credit-pack{position:relative;background:#fff;border:1px solid var(--aip-d-line);border-radius:24px;padding:23px;display:flex;flex-direction:column;min-height:410px;transition:.25s}.aip-credit-pack:hover{transform:translateY(-6px);box-shadow:0 18px 45px rgba(45,48,90,.11)}.aip-credit-pack.is-featured{border:2px solid var(--aip-d-primary);box-shadow:0 18px 50px rgba(109,93,252,.14)}.aip-credit-pack__badge{position:absolute;top:15px;left:15px;background:var(--aip-d-primary);color:#fff;border-radius:999px;padding:5px 9px;font-size:9px}.aip-credit-pack__title h3{font-size:21px;margin:0 0 7px}.aip-credit-pack__title p{font-size:11px;color:var(--aip-d-muted);min-height:48px;line-height:1.8}.aip-credit-pack__credits{display:flex;align-items:end;gap:6px;margin:18px 0 8px}.aip-credit-pack__credits strong{font-size:35px;line-height:1}.aip-credit-pack__credits span{color:var(--aip-d-muted);font-size:11px}.aip-credit-pack__price b{display:block;font-size:17px}.aip-credit-pack__price small{color:var(--aip-d-muted)}.aip-credit-pack ul{padding:0;margin:20px 0;list-style:none;display:grid;gap:9px;color:#535466;font-size:11px}.aip-credit-pack ul li{padding-bottom:8px;border-bottom:1px dashed #ececf2}.aip-credit-pack__button,.aip-credit-pack__disabled{margin-top:auto;display:flex;justify-content:center;padding:12px;border-radius:13px;text-decoration:none;font-weight:800}.aip-credit-pack__button{background:linear-gradient(135deg,var(--aip-d-primary),var(--aip-d-primary2));color:#fff}.aip-credit-pack__disabled{background:#f0f0f5;color:#9b9baa;font-size:10px}
.aip-wallet-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 20px}.aip-wallet-summary article{padding:22px;border-radius:21px;background:#fff;border:1px solid var(--aip-d-line)}.aip-wallet-summary span,.aip-wallet-summary strong,.aip-wallet-summary small{display:block}.aip-wallet-summary span{color:var(--aip-d-muted);font-size:11px}.aip-wallet-summary strong{font-size:27px;margin:6px 0}.aip-wallet-summary small{color:#999aac}
.aip-history-cards{display:grid;gap:10px}.aip-history-cards article{display:flex;gap:12px;padding:13px;border:1px solid #ededf3;border-radius:15px}.aip-history-cards article>span{flex:0 0 38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eeeaff;color:#6d5dfc}.aip-history-cards h4{font-size:12px;margin:0 0 5px}.aip-history-cards p{margin:0;color:#808194;font-size:10px}.aip-history-cards small{font-size:9px;color:#aaaabc}.aip-history-cards a{display:inline-block;margin-top:5px;font-size:10px}.aip-empty-state{color:var(--aip-d-muted);text-align:center;padding:30px}
.aip-account-profile{display:flex;align-items:center;gap:20px}.aip-account-avatar{position:relative}.aip-account-avatar img{border-radius:28px}.aip-account-avatar span{position:absolute;bottom:-5px;right:50%;transform:translateX(50%);background:#18a875;color:#fff;border-radius:999px;padding:4px 9px;font-size:9px}.aip-account-profile h2{margin:0 0 5px}.aip-account-profile p,.aip-account-profile small{color:var(--aip-d-muted);display:block}.aip-account-profile a{display:inline-flex;margin-top:13px;padding:9px 12px;border-radius:11px;background:#eeeaff;color:#5b4ad0;text-decoration:none;font-size:11px}.aip-account-facts{list-style:none;margin:0;padding:0}.aip-account-facts li{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eeeeF4;font-size:11px}.aip-account-security>div{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.aip-account-security article{padding:16px;background:#fafafe;border:1px solid #eeeeF4;border-radius:16px}.aip-account-security article>span{font-size:22px}.aip-account-security h4{margin:10px 0 5px}.aip-account-security p{font-size:10px;color:var(--aip-d-muted);margin:0}
.aip-dashboard-login{max-width:650px;margin:50px auto;text-align:center;background:#fff;border:1px solid #e8e8f2;border-radius:28px;padding:50px;box-shadow:0 18px 55px rgba(31,35,70,.08)}.aip-dashboard-login>span{display:grid;place-items:center;width:80px;height:80px;margin:auto;border-radius:26px;background:linear-gradient(135deg,#6d5dfc,#8b5cf6);color:#fff;font-size:24px;font-weight:900}.aip-dashboard-login h2{margin:20px 0 8px}.aip-dashboard-login p{color:#74758a}.aip-dashboard-login a{display:inline-flex;padding:12px 22px;border-radius:13px;background:#6d5dfc;color:#fff;text-decoration:none}
/* Elementor and alternate presentation presets */
.aip-widget-style-aurora{--aip-widget-primary:#6d5dfc;--aip-widget-secondary:#24c8db}.aip-widget-style-aurora .aip-public-tool-card,.aip-widget-style-aurora .aip-prompt-card{background:linear-gradient(145deg,#fff,#f5f4ff);border-color:#e2defe}.aip-widget-style-mesh .aip-public-tool-card,.aip-widget-style-mesh .aip-prompt-card{background:radial-gradient(circle at 10% 10%,rgba(109,93,252,.13),transparent 42%),radial-gradient(circle at 90% 90%,rgba(36,200,219,.12),transparent 40%),#fff}.aip-widget-style-soft .aip-public-tool-card,.aip-widget-style-soft .aip-prompt-card{background:#f7f7fb;border-color:transparent;box-shadow:none}.aip-widget-style-editorial .aip-public-tool-card,.aip-widget-style-editorial .aip-prompt-card{border-radius:4px!important;border-top:4px solid var(--aip-widget-primary,#111);box-shadow:none}.aip-widget-style-cyber .aip-public-tool-card,.aip-widget-style-cyber .aip-prompt-card{background:#111424;color:#fff;border-color:#29305a;box-shadow:0 0 30px rgba(88,103,255,.15)}.aip-widget-style-luxury .aip-public-tool-card,.aip-widget-style-luxury .aip-prompt-card{background:linear-gradient(145deg,#171717,#252525);color:#f7e8bd;border-color:#5f5230}.aip-widget-style-monochrome .aip-public-tool-card,.aip-widget-style-monochrome .aip-prompt-card{filter:grayscale(1)}.aip-widget-hover-tilt .aip-public-tool-card:hover,.aip-widget-hover-tilt .aip-prompt-card:hover{transform:perspective(700px) rotateX(2deg) rotateY(-2deg) translateY(-5px)}.aip-widget-hover-shine .aip-public-tool-card,.aip-widget-hover-shine .aip-prompt-card{overflow:hidden}.aip-widget-hover-shine .aip-public-tool-card:after,.aip-widget-hover-shine .aip-prompt-card:after{content:"";position:absolute;inset:-100% auto auto -55%;width:35%;height:300%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transform:rotate(20deg);transition:.6s}.aip-widget-hover-shine .aip-public-tool-card:hover:after,.aip-widget-hover-shine .aip-prompt-card:hover:after{left:130%}

/* Dashboard visual presets controlled from Branding */
.aip-dashboard-style-glass{background:linear-gradient(135deg,color-mix(in srgb,var(--aip-d-bg),#fff 55%),var(--aip-d-bg));backdrop-filter:blur(20px)}
.aip-dashboard-style-glass .aip-dashboard-card,.aip-dashboard-style-glass .aip-dashboard-metrics article,.aip-dashboard-style-glass .aip-wallet-summary article,.aip-dashboard-style-glass .aip-user-dashboard__balance{background:rgba(255,255,255,.72);backdrop-filter:blur(18px);border-color:rgba(255,255,255,.7)}
.aip-dashboard-style-dark{--aip-d-bg:#11131d;--aip-d-surface:#1a1d2b;--aip-d-ink:#f7f7fb;--aip-d-muted:#a9adc2;--aip-d-line:#2c3044;color:var(--aip-d-ink)}
.aip-dashboard-style-dark .aip-dashboard-card,.aip-dashboard-style-dark .aip-dashboard-metrics article,.aip-dashboard-style-dark .aip-wallet-summary article,.aip-dashboard-style-dark .aip-user-dashboard__balance,.aip-dashboard-style-dark .aip-user-dashboard__topbar button{background:#1a1d2b;color:#fff;border-color:#2c3044}.aip-dashboard-style-dark .aip-dashboard-table td{border-color:#292d3e}.aip-dashboard-style-dark .aip-dashboard-table th{color:#a9adc2}.aip-dashboard-style-dark .aip-account-security article{background:#171a26;border-color:#2c3044}.aip-dashboard-style-dark .aip-credit-pack{background:#1a1d2b;color:#fff;border-color:#2c3044}.aip-dashboard-style-dark .aip-credit-pack ul{color:#c5c7d4}.aip-dashboard-style-dark .aip-credit-pack ul li{border-color:#303449}
.aip-dashboard-style-minimal{box-shadow:none;border-radius:12px}.aip-dashboard-style-minimal .aip-dashboard-card,.aip-dashboard-style-minimal .aip-dashboard-metrics article,.aip-dashboard-style-minimal .aip-wallet-summary article,.aip-dashboard-style-minimal .aip-credit-pack{box-shadow:none;border-radius:12px}.aip-dashboard-style-minimal .aip-dashboard-hero-card{border-radius:14px;background:var(--aip-d-primary)}
.aip-dashboard-style-mesh{background:radial-gradient(circle at 12% 8%,color-mix(in srgb,var(--aip-d-primary),transparent 80%),transparent 35%),radial-gradient(circle at 90% 85%,color-mix(in srgb,var(--aip-d-primary2),transparent 82%),transparent 32%),var(--aip-d-bg)}
.aip-dashboard-style-mesh .aip-dashboard-hero-card{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.18),transparent 32%),linear-gradient(135deg,var(--aip-d-primary),var(--aip-d-primary2))}
.aip-dashboard-style-aurora .aip-dashboard-hero-card{background:radial-gradient(circle at 18% 20%,rgba(255,255,255,.18),transparent 28%),linear-gradient(135deg,color-mix(in srgb,var(--aip-d-primary),#15162a 35%),var(--aip-d-primary),var(--aip-d-primary2))}
@media(max-width:1100px){.aip-dashboard-metrics{grid-template-columns:repeat(2,1fr)}.aip-credit-packs__grid{grid-template-columns:repeat(2,1fr)}.aip-user-dashboard{grid-template-columns:230px minmax(0,1fr)}.aip-dashboard-grid--wide{grid-template-columns:1fr}.aip-dashboard-hero-card{grid-template-columns:1fr .45fr}}
@media(max-width:820px){.aip-user-dashboard{display:block;border-radius:20px;overflow:visible}.aip-user-dashboard__sidebar{position:fixed;right:-290px;top:0;bottom:0;width:280px;z-index:99999;transition:.3s;border-radius:0}.aip-user-dashboard.is-menu-open .aip-user-dashboard__sidebar{right:0}.aip-user-dashboard__main{padding:0 16px 30px}.aip-user-dashboard__topbar button{display:inline-flex}.aip-dashboard-hero-card{grid-template-columns:1fr}.aip-dashboard-hero-visual{display:none}.aip-dashboard-grid,.aip-wallet-summary{grid-template-columns:1fr}.aip-account-security>div{grid-template-columns:1fr}.aip-credit-packs__grid{grid-template-columns:1fr 1fr}.aip-user-dashboard__topbar{height:70px}.aip-user-dashboard__balance small{display:none}}
@media(max-width:560px){.aip-dashboard-metrics{grid-template-columns:1fr}.aip-credit-packs__grid{grid-template-columns:1fr}.aip-dashboard-page-head h1{font-size:23px}.aip-dashboard-hero-card{padding:24px}.aip-dashboard-hero-card h2{font-size:22px}.aip-user-dashboard__balance{gap:6px;padding:6px}.aip-user-dashboard__balance a{padding:7px 8px}.aip-mini-chart{gap:6px}.aip-account-profile{display:block;text-align:center}.aip-account-avatar{display:inline-block;margin-bottom:18px}}

/* Elementor preset bridge — AI Plus 1.5.0
 * user-dashboard.css is loaded after content.css, so mirror the variables here.
 */
.elementor-widget[class*="aip-widget-style-"]:not(.elementor-widget-ai_plus_user_dashboard) .aip-user-dashboard,
.elementor-widget[class*="aip-widget-style-"] .aip-credit-packs{
  --aip-d-primary:var(--aip-widget-primary,#6d5dfc);
  --aip-d-primary2:var(--aip-widget-secondary,#24c8db);
  --aip-d-surface:var(--aip-preset-bg,var(--aip-surface,#fff));
  --aip-d-ink:var(--aip-preset-text,var(--aip-text,#172033));
  --aip-d-muted:var(--aip-preset-muted,var(--aip-muted,#667085));
  --aip-d-line:var(--aip-preset-border,var(--aip-border,#e5e7eb));
}
.elementor-widget[class*="aip-widget-style-"] :is(.aip-dashboard-card,.aip-dashboard-metrics>article,.aip-wallet-summary>article,.aip-credit-pack,.aip-dashboard-login){
  background:var(--aip-preset-bg,var(--aip-d-surface,#fff));
  color:var(--aip-preset-text,var(--aip-d-ink,#172033));
  border-color:var(--aip-preset-border,var(--aip-d-line,#e5e7eb));
  box-shadow:var(--aip-preset-shadow,0 14px 38px rgba(20,26,45,.06));
}
.elementor-widget[class*="aip-widget-style-"] :is(.aip-dashboard-card,.aip-dashboard-metrics>article,.aip-wallet-summary>article,.aip-credit-pack) :is(p,small,em){color:var(--aip-preset-muted,var(--aip-d-muted,#667085))}


/* =====================================================================
 * AI Plus 1.7 — professional dashboard skins and layouts
 * ===================================================================== */
.aip-user-dashboard__top-actions{display:flex;align-items:center;gap:10px}

/* Layouts */
.aip-dashboard-layout-sidebar-left{grid-template-columns:minmax(0,1fr) 270px}
.aip-dashboard-layout-sidebar-left .aip-user-dashboard__sidebar{grid-column:2;grid-row:1}.aip-dashboard-layout-sidebar-left .aip-user-dashboard__main{grid-column:1;grid-row:1}
.aip-dashboard-layout-topnav{display:block;min-height:0}
.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar{padding:14px 20px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;background:var(--aip-d-sidebar)}
.aip-dashboard-layout-topnav .aip-user-dashboard__brand{padding:0}.aip-dashboard-layout-topnav .aip-user-dashboard__brand>span{width:42px;height:42px;border-radius:13px}.aip-dashboard-layout-topnav .aip-user-dashboard__brand small{display:none}
.aip-dashboard-layout-topnav .aip-user-dashboard__profile{display:none}.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar nav{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar nav a{margin:0;padding:10px 12px;white-space:nowrap}.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar nav hr{height:28px;width:1px;margin:0 4px}.aip-dashboard-layout-topnav .aip-user-dashboard__logout{margin:0;padding:10px 14px}
.aip-dashboard-layout-compact{grid-template-columns:92px minmax(0,1fr)}.aip-dashboard-layout-compact .aip-user-dashboard__sidebar{padding-inline:12px}.aip-dashboard-layout-compact .aip-user-dashboard__brand{justify-content:center;padding-inline:0}.aip-dashboard-layout-compact .aip-user-dashboard__brand>div,.aip-dashboard-layout-compact .aip-user-dashboard__profile>div{display:none}.aip-dashboard-layout-compact .aip-user-dashboard__profile{justify-content:center;padding:8px}.aip-dashboard-layout-compact .aip-user-dashboard__sidebar nav a{font-size:0;justify-content:center;padding:12px}.aip-dashboard-layout-compact .aip-user-dashboard__sidebar nav a span{font-size:19px;margin:0}.aip-dashboard-layout-compact .aip-user-dashboard__logout{font-size:0;text-align:center}.aip-dashboard-layout-compact .aip-user-dashboard__logout:before{content:"↪";font-size:20px}
.aip-dashboard-layout-floating{gap:18px;padding:18px;background:var(--aip-d-bg);border:0;box-shadow:none;overflow:visible}.aip-dashboard-layout-floating .aip-user-dashboard__sidebar{border-radius:26px;box-shadow:0 24px 55px rgba(18,20,40,.18)}.aip-dashboard-layout-floating .aip-user-dashboard__main{background:color-mix(in srgb,var(--aip-d-bg),#fff 35%);border:1px solid var(--aip-d-line);border-radius:26px;overflow:hidden}

/* Density */
.aip-dashboard-density-compact .aip-user-dashboard__main{padding-bottom:18px}.aip-dashboard-density-compact .aip-dashboard-content{padding:14px 20px 24px}.aip-dashboard-density-compact .aip-dashboard-card{padding:16px}.aip-dashboard-density-compact .aip-dashboard-metrics{gap:10px}.aip-dashboard-density-compact .aip-dashboard-metrics article{padding:14px}.aip-dashboard-density-compact .aip-dashboard-grid{gap:12px}
.aip-dashboard-density-spacious .aip-dashboard-content{padding:30px 38px 48px}.aip-dashboard-density-spacious .aip-dashboard-card{padding:28px}.aip-dashboard-density-spacious .aip-dashboard-metrics{gap:20px}.aip-dashboard-density-spacious .aip-dashboard-metrics article{padding:24px}.aip-dashboard-density-spacious .aip-dashboard-grid{gap:22px}

/* Card treatments */
.aip-dashboard-cards-glass :is(.aip-dashboard-card,.aip-dashboard-metrics article,.aip-wallet-summary article,.aip-credit-pack,.aip-account-security article){background:rgba(255,255,255,.66);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-color:rgba(255,255,255,.72)}
.aip-dashboard-cards-outline :is(.aip-dashboard-card,.aip-dashboard-metrics article,.aip-wallet-summary article,.aip-credit-pack,.aip-account-security article){box-shadow:none;background:transparent;border-width:1px;border-color:color-mix(in srgb,var(--aip-d-primary),var(--aip-d-line) 78%)}
.aip-dashboard-cards-gradient :is(.aip-dashboard-card,.aip-dashboard-metrics article,.aip-wallet-summary article,.aip-credit-pack){background:linear-gradient(145deg,var(--aip-d-surface),color-mix(in srgb,var(--aip-d-primary),var(--aip-d-surface) 95%));border-color:color-mix(in srgb,var(--aip-d-primary),var(--aip-d-line) 82%)}

/* Royal */
.aip-dashboard-style-royal{--aip-d-bg:#f3f5fa;--aip-d-surface:#fff;--aip-d-ink:#101a35;--aip-d-muted:#6d7487;--aip-d-line:#e0e4ed;--aip-d-primary:#243b78;--aip-d-primary2:#c9a84e;--aip-d-sidebar:#101a3a}
.aip-dashboard-style-royal .aip-user-dashboard__brand>span,.aip-dashboard-style-royal .aip-dashboard-hero-card{background:linear-gradient(135deg,#14244f,#314a88 65%,#c9a84e)}
.aip-dashboard-style-royal .aip-user-dashboard__sidebar nav a.is-active{background:linear-gradient(90deg,rgba(201,168,78,.24),rgba(255,255,255,.08));color:#f4dc9b}.aip-dashboard-style-royal .aip-dashboard-metrics article:before{background:#c9a84e}

/* Neon */
.aip-dashboard-style-neon{--aip-d-bg:#070b16;--aip-d-surface:#101727;--aip-d-ink:#ecfbff;--aip-d-muted:#8ca2b8;--aip-d-line:#1f3a4b;--aip-d-primary:#00e5ff;--aip-d-primary2:#b5ff3d;--aip-d-sidebar:#080d19;box-shadow:0 0 0 1px rgba(0,229,255,.22),0 25px 90px rgba(0,0,0,.42)}
.aip-dashboard-style-neon .aip-user-dashboard__sidebar{border-left:1px solid rgba(0,229,255,.28)}.aip-dashboard-style-neon .aip-user-dashboard__brand>span{background:linear-gradient(135deg,#00e5ff,#8b5cff);box-shadow:0 0 24px rgba(0,229,255,.45)}
.aip-dashboard-style-neon :is(.aip-dashboard-card,.aip-dashboard-metrics article,.aip-wallet-summary article,.aip-credit-pack,.aip-user-dashboard__balance){background:#101727;color:#ecfbff;border-color:#1f3a4b}.aip-dashboard-style-neon .aip-dashboard-hero-card{background:radial-gradient(circle at 15% 20%,rgba(0,229,255,.22),transparent 32%),linear-gradient(135deg,#101b31,#121329);box-shadow:inset 0 0 0 1px rgba(0,229,255,.25),0 0 35px rgba(0,229,255,.10)}.aip-dashboard-style-neon a{color:#55efff}

/* Editorial */
.aip-dashboard-style-editorial{--aip-d-bg:#f6f1e7;--aip-d-surface:#fffdf7;--aip-d-ink:#1d1b18;--aip-d-muted:#716c63;--aip-d-line:#d8d0c3;--aip-d-primary:#1d1b18;--aip-d-primary2:#bd3f2e;--aip-d-sidebar:#25221e;border-radius:4px;box-shadow:8px 8px 0 #d8d0c3}
.aip-dashboard-style-editorial :is(.aip-dashboard-card,.aip-dashboard-metrics article,.aip-wallet-summary article,.aip-credit-pack){border-radius:3px;box-shadow:none;border-color:#cfc5b7}.aip-dashboard-style-editorial .aip-dashboard-hero-card{border-radius:3px;background:#1d1b18}.aip-dashboard-style-editorial .aip-dashboard-page-head h1,.aip-dashboard-style-editorial .aip-dashboard-card h3{letter-spacing:-.02em}.aip-dashboard-style-editorial .aip-user-dashboard__sidebar nav a{border-radius:2px}

/* Ocean */
.aip-dashboard-style-ocean{--aip-d-bg:#eff9fc;--aip-d-surface:#fff;--aip-d-ink:#0d3448;--aip-d-muted:#658595;--aip-d-line:#d6edf2;--aip-d-primary:#087ea4;--aip-d-primary2:#0ec5b7;--aip-d-sidebar:#073b5c}
.aip-dashboard-style-ocean{background:radial-gradient(circle at 88% 8%,rgba(14,197,183,.14),transparent 30%),var(--aip-d-bg)}.aip-dashboard-style-ocean .aip-dashboard-hero-card{background:linear-gradient(135deg,#075985,#0e9f9a)}.aip-dashboard-style-ocean .aip-user-dashboard__brand>span{background:linear-gradient(135deg,#0ea5c6,#14b8a6)}

/* Sunset */
.aip-dashboard-style-sunset{--aip-d-bg:#fff6f3;--aip-d-surface:#fff;--aip-d-ink:#44253d;--aip-d-muted:#906d82;--aip-d-line:#f4dbe4;--aip-d-primary:#f05d5e;--aip-d-primary2:#ad56e8;--aip-d-sidebar:#4c244a}
.aip-dashboard-style-sunset{background:radial-gradient(circle at 12% 8%,rgba(255,149,92,.16),transparent 30%),radial-gradient(circle at 85% 90%,rgba(173,86,232,.12),transparent 35%),var(--aip-d-bg)}.aip-dashboard-style-sunset .aip-dashboard-hero-card,.aip-dashboard-style-sunset .aip-user-dashboard__brand>span{background:linear-gradient(135deg,#ff7b63,#d64fb6 60%,#7855e8)}

/* Luxury */
.aip-dashboard-style-luxury{--aip-d-bg:#11110f;--aip-d-surface:#1b1a17;--aip-d-ink:#f6edd6;--aip-d-muted:#b4aa93;--aip-d-line:#3c372b;--aip-d-primary:#c6a85b;--aip-d-primary2:#f0d88c;--aip-d-sidebar:#0d0d0c}
.aip-dashboard-style-luxury :is(.aip-dashboard-card,.aip-dashboard-metrics article,.aip-wallet-summary article,.aip-credit-pack,.aip-user-dashboard__balance){background:linear-gradient(145deg,#1c1b18,#161512);color:#f6edd6;border-color:#3c372b}.aip-dashboard-style-luxury .aip-dashboard-hero-card{background:radial-gradient(circle at 80% 15%,rgba(240,216,140,.18),transparent 32%),linear-gradient(135deg,#171612,#2d281d)}.aip-dashboard-style-luxury .aip-user-dashboard__brand>span{background:linear-gradient(135deg,#8c7437,#e2c879);color:#17130a}.aip-dashboard-style-luxury a{color:#e7cb7f}

/* Monochrome */
.aip-dashboard-style-monochrome{--aip-d-bg:#f2f2f2;--aip-d-surface:#fff;--aip-d-ink:#181818;--aip-d-muted:#707070;--aip-d-line:#dedede;--aip-d-primary:#202020;--aip-d-primary2:#777;--aip-d-sidebar:#151515}.aip-dashboard-style-monochrome .aip-dashboard-hero-card{background:linear-gradient(135deg,#111,#555)}.aip-dashboard-style-monochrome :is(.aip-dashboard-card img,.aip-dashboard-hero-visual){filter:grayscale(1)}

@media(max-width:1100px){.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar{grid-template-columns:auto 1fr}.aip-dashboard-layout-topnav .aip-user-dashboard__logout{display:none}.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar nav{overflow:auto;justify-content:flex-start}}
@media(max-width:820px){.aip-dashboard-layout-sidebar-left,.aip-dashboard-layout-compact,.aip-dashboard-layout-floating{display:block}.aip-dashboard-layout-sidebar-left .aip-user-dashboard__sidebar,.aip-dashboard-layout-compact .aip-user-dashboard__sidebar,.aip-dashboard-layout-floating .aip-user-dashboard__sidebar{grid-column:auto;grid-row:auto;border-radius:0}.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar{position:fixed;display:flex;right:-290px;top:0;bottom:0;width:280px;padding:24px 18px;z-index:99999}.aip-dashboard-layout-topnav.is-menu-open .aip-user-dashboard__sidebar{right:0}.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar nav{display:block;overflow:visible}.aip-dashboard-layout-topnav .aip-user-dashboard__sidebar nav a{margin-bottom:5px}.aip-dashboard-layout-topnav .aip-user-dashboard__profile{display:flex}.aip-dashboard-layout-topnav .aip-user-dashboard__logout{display:block;margin-top:auto}.aip-dashboard-density-spacious .aip-dashboard-content{padding:22px 16px 34px}.aip-user-dashboard__top-actions{gap:6px}}


/* Palette hardening for preset mode */
.aip-dashboard-style-royal .aip-user-dashboard__sidebar{background:linear-gradient(180deg,#101a3a,#172650)}
.aip-dashboard-style-neon .aip-user-dashboard__sidebar{background:linear-gradient(180deg,#060a13,#0b1322)}
.aip-dashboard-style-editorial .aip-user-dashboard__sidebar{background:#25221e}
.aip-dashboard-style-ocean .aip-user-dashboard__sidebar{background:linear-gradient(180deg,#073b5c,#07586b)}
.aip-dashboard-style-sunset .aip-user-dashboard__sidebar{background:linear-gradient(180deg,#4c244a,#67315b)}
.aip-dashboard-style-luxury .aip-user-dashboard__sidebar{background:linear-gradient(180deg,#0d0d0c,#171510)}
.aip-dashboard-style-monochrome .aip-user-dashboard__sidebar{background:linear-gradient(180deg,#151515,#2c2c2c)}

/* AI Plus 5.8.0 — mobile dashboard drawer reliability */
.aip-user-dashboard__sidebar-close,.aip-user-dashboard__backdrop{display:none}
@media(max-width:820px){
  html.aip-dashboard-menu-lock,html.aip-dashboard-menu-lock body{overflow:hidden!important;touch-action:none}
  .aip-user-dashboard{position:relative;isolation:isolate;min-height:100dvh}
  .aip-user-dashboard__sidebar{right:auto!important;left:auto!important;inset:0 auto 0 0!important;width:min(330px,88vw)!important;max-width:88vw!important;height:100dvh!important;transform:translateX(-105%)!important;transition:transform .28s cubic-bezier(.22,.61,.36,1),visibility .28s!important;visibility:hidden!important;box-shadow:28px 0 70px rgba(15,23,42,.25)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-top:58px!important;z-index:100002!important}
  [dir=rtl] .aip-user-dashboard__sidebar,.rtl .aip-user-dashboard__sidebar{inset:0 0 0 auto!important;transform:translateX(105%)!important;box-shadow:-28px 0 70px rgba(15,23,42,.25)!important}
  .aip-user-dashboard.is-menu-open .aip-user-dashboard__sidebar{transform:translateX(0)!important;visibility:visible!important}
  .aip-user-dashboard__sidebar-close{display:grid;place-items:center;position:absolute;top:14px;left:14px;width:36px;height:36px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-size:24px;line-height:1;cursor:pointer;z-index:3}
  [dir=rtl] .aip-user-dashboard__sidebar-close,.rtl .aip-user-dashboard__sidebar-close{left:auto;right:14px}
  .aip-user-dashboard__backdrop{display:block;position:fixed;inset:0;border:0;background:rgba(15,23,42,.48);backdrop-filter:blur(4px);opacity:0;visibility:hidden;pointer-events:none;transition:.25s;z-index:100001!important}
  .aip-user-dashboard.is-menu-open .aip-user-dashboard__backdrop{opacity:1;visibility:visible;pointer-events:auto}
  .aip-user-dashboard__main{width:100%!important;min-width:0!important}
  .aip-user-dashboard__topbar{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--aip-d-surface) 94%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--aip-d-line)}
  .aip-user-dashboard__topbar button[data-dashboard-menu]{display:inline-grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:14px!important;background:var(--aip-d-surface)!important;border:1px solid var(--aip-d-line)!important;color:var(--aip-d-ink)!important;box-shadow:0 8px 24px rgba(31,35,70,.08)!important}
}
.aip-user-dashboard__brand .has-logo{background:#fff!important;padding:5px!important}.aip-user-dashboard__brand .has-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px}.aip-profile-edit{margin-top:22px}.aip-profile-edit>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.aip-profile-edit>header a{color:var(--aip-d-primary);font-weight:800;text-decoration:none}.aip-identity{display:grid;gap:20px}.aip-identity__hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px;border:1px solid #e5e7eb;border-radius:24px;background:linear-gradient(135deg,#fff,#f4f2ff)}.aip-identity__hero h2{margin:6px 0;font-size:26px}.aip-identity__hero p{margin:0;color:#64748b}.aip-identity__hero>b{padding:10px 15px;border-radius:999px;background:#ede9fe;color:#6d28d9}.aip-identity__hero.is-approved>b{background:#dcfce7;color:#166534}.aip-identity__hero.is-rejected>b,.aip-identity__hero.is-needs_changes>b{background:#fee2e2;color:#991b1b}.aip-identity__review-note{padding:16px 18px;border-radius:14px;background:#fff7ed;color:#9a3412}.aip-identity-form{padding:24px;border:1px solid #e5e7eb;border-radius:22px;background:#fff}.aip-identity-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.aip-identity-field{display:flex;flex-direction:column;gap:8px}.aip-identity-field>span,.aip-identity-note>span{font-weight:800;color:#334155}.aip-identity-field i{color:#dc2626}.aip-identity-field input,.aip-identity-field textarea,.aip-identity-field select,.aip-identity-note textarea{width:100%;min-height:46px;padding:10px 13px;border:1px solid #dbe1ea;border-radius:12px;background:#fff;box-sizing:border-box}.aip-identity-field textarea{min-height:110px}.aip-identity-field small{color:#64748b}.aip-identity-field[hidden]{display:none}.aip-identity-consent,.aip-identity-note{display:flex;margin-top:20px;gap:10px}.aip-identity-note{flex-direction:column}.aip-identity-submit{margin-top:20px;padding:13px 22px;border:0;border-radius:13px;background:var(--aip-d-primary,#6d5dfc);color:#fff;font-weight:900;cursor:pointer}@media(max-width:700px){.aip-identity-fields{grid-template-columns:1fr}.aip-identity__hero{align-items:flex-start;flex-direction:column}}
.aip-credit-pack__purchase{display:flex;margin-top:auto}.aip-credit-pack__purchase .aip-credit-pack__button{width:100%;margin-top:0;border:0;cursor:pointer;font:inherit}
