* {
box-sizing:border-box
}
body {
margin:0;
font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;
background:#f6f8fb;
color:#18202d
}
.hidden {
display:none!important
}
button,input,select {
font:inherit
}
.auth {
min-height:100vh;
display:grid;
place-items:center;
background:radial-gradient(circle at 50% 0,#e7ecff,#f8f9fc 50%)
}
.authCard {
width:min(430px,92vw);
background:#fff;
border:1px solid #e5e9f2;
border-radius:24px;
padding:38px;
box-shadow:0 24px 70px #27356c1c;
text-align:center
}
.logo {
width:52px;
height:52px;
margin:auto;
background:#5b5ce2;
color:#fff;
border-radius:15px;
display:grid;
place-items:center;
font-size:25px
}
.authCard h1 {
margin:14px 0 5px
}
.authCard p,.muted {
color:#778196
}
.tabs {
display:flex;
background:#f1f3f8;
border-radius:12px;
padding:4px;
margin:26px 0 14px
}
.tab {
flex:1;
border:0;
background:transparent;
padding:10px;
border-radius:9px;
color:#687287
}
.tab.active {
background:#fff;
color:#252b3a;
box-shadow:0 2px 7px #27356c16
}
.auth form {
display:grid;
gap:11px
}
.auth input,.tool input,.tool select {
border:1px solid #dfe4ed;
padding:13px 14px;
border-radius:11px;
background:#fff
}
.auth small {
color:#d44;
min-height:18px
}
.shell {
display:grid;
grid-template-columns:235px 1fr;
min-height:100vh
}
aside {
position:sticky;
top:0;
height:100vh;
background:#111827;
color:#d7dce6;
padding:25px 15px;
display:flex;
flex-direction:column
}
.brand {
padding:0 10px 25px
}
.brand b {
font-size:19px;
color:#fff
}
.brand small {
display:block;
color:#737e92;
margin-top:4px
}
nav {
display:grid;
gap:5px
}
.nav {
border:0;
background:transparent;
color:#98a3b7;
text-align:left;
padding:11px 12px;
border-radius:9px;
cursor:pointer
}
.nav:hover,.nav.active {
background:#202a3a;
color:#fff
}
.nav em {
float:right;
font-size:10px;
background:#5b5ce2;
padding:3px 6px;
border-radius:7px
}
.bottom {
margin-top:auto;
display:grid;
gap:5px
}
.profile {
border-top:1px solid #273142;
margin-top:12px;
padding:18px 8px 0;
display:flex;
gap:10px;
align-items:center
}
.profile>div {
width:34px;
height:34px;
border-radius:9px;
background:#5b5ce2;
display:grid;
place-items:center;
color:#fff
}
.profile span {
min-width:0
}
.profile b,.profile small {
display:block;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis
}
.profile small {
color:#768197;
font-size:11px
}
main {
padding:34px 4vw 50px;
max-width:1500px;
width:100%
}
header {
display:flex;
justify-content:space-between;
align-items:flex-start;
margin-bottom:28px
}
header h1 {
margin:2px 0 4px;
font-size:30px
}
.eyebrow {
font-size:11px;
font-weight:800;
letter-spacing:.15em;
color:#5b5ce2
}
.usage {
width:190px;
background:#fff;
border:1px solid #e5e9f2;
border-radius:12px;
padding:11px 13px
}
.usage b,.usage span {
display:block
}
.usage span {
font-size:11px;
color:#8992a3
}
.usage i {
display:block;
height:5px;
background:#eef0f5;
margin-top:8px;
border-radius:5px;
overflow:hidden
}
.usage u {
display:block;
height:100%;
background:#5b5ce2;
width:0
}
.hero {
background:linear-gradient(120deg,#fff,#f1f3ff);
border:1px solid #e1e6f0;
border-radius:20px;
padding:38px;
display:grid;
grid-template-columns:1.2fr .8fr;
gap:30px
}
.hero h2 {
font-size:36px;
margin:10px 0
}
.hero p {
color:#6f7a8d;
max-width:600px
}
.badge {
display:inline-block;
background:#ececff;
color:#5556cf;
padding:6px 9px;
border-radius:8px;
font-size:10px;
font-weight:800;
letter-spacing:.08em
}
.stats {
display:grid;
gap:10px
}
.stats article {
background:#fff;
border:1px solid #e2e6ef;
border-radius:13px;
padding:18px
}
.stats b {
font-size:23px;
display:block
}
.stats span {
font-size:12px;
color:#7c879a
}
.primary {
border:0;
background:#5b5ce2;
color:#fff;
padding:12px 17px;
border-radius:10px;
font-weight:700;
cursor:pointer
}
.primary:disabled {
opacity:.5
}
.wide {
width:100%;
padding:15px
}
.workspace {
max-width:900px
}
.panel,.card,.listbox {
background:#fff;
border:1px solid #e2e6ee;
border-radius:15px
}
.panel {
margin-bottom:15px
}
.panelHead {
padding:15px 18px;
border-bottom:1px solid #edf0f4;
display:flex;
justify-content:space-between
}
.panelHead span {
font-size:11px;
color:#8791a2
}
.drop {
min-height:280px;
display:grid;
place-items:center;
text-align:center;
cursor:pointer;
padding:20px
}
.drop input {
display:none
}
.drop strong {
display:grid;
place-items:center;
width:50px;
height:50px;
margin:auto;
border-radius:14px;
background:#f0f1ff;
color:#5b5ce2;
font-size:24px
}
.drop p {
color:#8b94a5
}
.drop img {
max-width:100%;
max-height:340px;
border-radius:12px;
display:none
}
.platforms {
padding:15px;
display:flex;
gap:9px;
flex-wrap:wrap
}
.platform {
border:1px solid #e0e4ec;
background:#fff;
padding:10px 16px;
border-radius:10px;
cursor:pointer
}
.platform.active {
border-color:#5b5ce2;
background:#f1f1ff;
color:#4c4dcc
}
.results {
margin-top:35px
}
.sectionHead {
display:flex;
justify-content:space-between;
align-items:center;
margin:18px 0
}
.sectionHead h2 {
margin:0 0 4px
}
.grid {
display:grid;
grid-template-columns:repeat(4,1fr);
gap:13px
}
.card {
padding:18px
}
.card label {
font-size:10px;
letter-spacing:.1em;
font-weight:800;
color:#8b94a4
}
.card h3 {
line-height:1.5
}
.card p {
color:#657084;
line-height:1.6
}
.span2 {
grid-column:span 2
}
.span4 {
grid-column:span 4
}
.price strong {
font-size:24px;
color:#14815c
}
.details {
margin:10px 0
}
.details div {
display:flex;
justify-content:space-between;
gap:15px;
border-bottom:1px solid #eef0f4;
padding:8px 0
}
.details dt {
color:#8992a2
}
.details dd {
margin:0;
font-weight:600;
text-align:right
}
.chips {
display:flex;
flex-wrap:wrap;
gap:7px;
margin-top:12px
}
.chip {
background:#f1f3f8;
padding:7px 9px;
border-radius:8px;
font-size:12px
}
.listbox {
overflow:hidden
}
.listingRow {
width:100%;
border:0;
border-bottom:1px solid #edf0f4;
background:#fff;
padding:15px 18px;
display:flex;
justify-content:space-between;
text-align:left;
cursor:pointer
}
.listingRow:hover {
background:#fafbfe
}
.listingRow span b,.listingRow span small {
display:block
}
.listingRow small {
color:#8b94a4;
margin-top:3px
}
.listingRow em {
color:#5b5ce2;
font-style:normal
}
.empty {
padding:30px;
color:#8b94a4;
text-align:center
}
.tool {
display:flex;
gap:10px;
margin:15px 0
}
.tool input {
flex:1
}
.resultPad {
padding:22px
}
.imageGrid {
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:13px;
margin-top:18px
}
.imageGrid figure {
margin:0;
background:#f4f6fa;
border-radius:12px;
overflow:hidden
}
.imageGrid img {
width:100%;
aspect-ratio:1;
object-fit:cover;
display:block
}
.imageGrid figcaption {
padding:8px 10px;
font-size:12px
}
.fileBtn {
border:1px solid #dfe4ed;
background:#fff;
padding:12px;
border-radius:10px;
cursor:pointer
}
.fileBtn input {
display:none
}
.plans {
display:grid;
grid-template-columns:repeat(3,1fr);
gap:15px
}
.plans article {
background:#fff;
border:1px solid #e2e6ef;
border-radius:16px;
padding:25px
}
.plans article.featured {
border:1px solid var(--border);
transform:none
}
.plans article>span {
font-size:10px;
font-weight:800;
color:#5b5ce2
}
.plans p {
color:#727d90;
line-height:1.6;
min-height:105px
}
.plans button,.ghost,.danger {
border:1px solid #dfe4ed;
background:#fff;
padding:10px 13px;
border-radius:9px;
cursor:pointer
}
.plans button {
width:100%
}
.danger {
color:#b83b46
}
.note {
text-align:center
}
.error {
color:#b83b46
}
@media(max-width:900px) {
.shell {
grid-template-columns:75px 1fr
}
aside {
padding:20px 9px
}
.brand small,.nav:not(.active) {
font-size:0
}
.brand b {
font-size:0
}
.brand b:first-letter {
font-size:22px
}
.profile span {
display:none
}
.hero {
grid-template-columns:1fr
}
.grid {
grid-template-columns:1fr
}
.span2,.span4 {
grid-column:span 1
}
.plans {
grid-template-columns:1fr
}
.tool {
flex-direction:column
}
header {
gap:15px
}
.usage {
width:160px
}
}
.imageGrid figure {
overflow:hidden
}
.imageGrid figure img {
width:100%;
aspect-ratio:1/1;
object-fit:cover;
display:block
}
.imageGrid figcaption {
display:flex;
justify-content:space-between;
align-items:center;
gap:12px;
padding:10px 4px
}
.imageGrid figcaption a {
font-weight:700;
text-decoration:none
}
.imageAction {
margin-top:4px
}
.cardTop {
display:flex;
align-items:center;
justify-content:space-between;
gap:10px
}
.copyBtn {
border:1px solid #dfe4ed;
background:#f8f9fc;
color:#596477;
padding:6px 9px;
border-radius:7px;
font-size:11px;
font-weight:700;
cursor:pointer
}
.copyBtn:hover {
border-color:#5b5ce2;
color:#4c4dcc;
background:#f1f1ff
}
.preserve {
white-space:pre-wrap;
line-height:1.7
}
.longBullets {
padding-left:20px
}
.longBullets li {
margin:8px 0;
line-height:1.55
}
.specTable {
display:grid;
gap:1px;
background:var(--border,#263347);
border:1px solid var(--border,#263347);
border-radius:10px;
overflow:hidden
}
.specRow {
display:grid;
grid-template-columns:minmax(130px,.7fr) 1.5fr;
gap:16px;
padding:10px 12px;
background:var(--panel,#0b1727)
}
.specRow span {
overflow-wrap:anywhere
}
.warningCard {
border-color:#8a6b24
}
.warningCard label {
color:#d9ad45
}
/* V10 theme + professional UI */
:root {
--bg:#f6f8fb;
--panel:#fff;
--panel2:#f8f9fc;
--text:#18202d;
--muted:#6f7a8d;
--border:#e2e6ee;
--sidebar:#111827;
--sidebarText:#d7dce6;
--accent:#5b5ce2;
--chip:#f1f3f8;
--shadow:#27356c16
}
:root[data-theme="dark"] {
--bg:#08111f;
--panel:#101b2c;
--panel2:#142135;
--text:#eef3fb;
--muted:#a8b3c5;
--border:#29384d;
--sidebar:#070d17;
--sidebarText:#dce5f2;
--accent:#8a8bff;
--chip:#1c2a40;
--shadow:#0005
}
body {
background:var(--bg);
color:var(--text);
transition:background .18s,color .18s
}
.panel,.card,.listbox,.usage,.stats article,.plans article,.listingRow,.platform,.fileBtn {
background:var(--panel);
border-color:var(--border);
color:var(--text)
}
.card p,.hero p,.muted,.plans p,.details dt,.listingRow small {
color:var(--muted)
}
.hero {
background:linear-gradient(120deg,var(--panel),var(--panel2));
border-color:var(--border)
}
.chip {
background:var(--chip);
color:var(--text)
}
.copyBtn,.ghost,.danger,.themeChoices button,.plans button {
background:var(--panel2);
color:var(--text);
border-color:var(--border)
}
.specTable {
background:var(--border);
border-color:var(--border)
}
.specRow {
background:var(--panel);
color:var(--text)
}
.preserve,.longBullets,.specRow span,.variationItem span {
color:var(--text)
}
.authCard {
background:var(--panel);
color:var(--text);
border-color:var(--border)
}
.auth input,.tool input,.tool select,.settingsForm input {
background:var(--panel);
color:var(--text);
border:1px solid var(--border)
}
.variationGrid {
display:grid;
grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
gap:10px;
margin-top:14px
}
.variationItem {
border:1px solid var(--border);
background:var(--panel2);
padding:12px;
border-radius:10px;
display:grid;
gap:5px
}
.variationItem span {
overflow-wrap:anywhere
}
.counter {
display:block;
color:var(--muted);
margin-top:8px
}
.resultActions {
display:flex;
align-items:center;
gap:10px
}
.completeness {
font-size:12px;
font-weight:800;
color:#14815c;
background:#e8f7f1;
padding:7px 10px;
border-radius:999px
}
.settingsGrid {
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:15px
}
.settingsGrid .dangerZone {
grid-column:span 2
}
.settingsForm {
display:grid;
gap:14px;
margin-top:18px
}
.settingsForm label {
display:grid;
gap:7px;
font-size:12px;
font-weight:700
}
.settingsForm input {
padding:12px;
border-radius:9px
}
.settingsForm input:disabled {
opacity:.7
}
.themeChoices {
display:flex;
gap:9px;
flex-wrap:wrap;
margin:18px 0
}
.themeChoices button {
padding:11px 15px;
border:1px solid var(--border);
border-radius:10px;
cursor:pointer
}
.themeChoices button.active {
border-color:var(--accent);
box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent)
}
.plans article.currentPlan {
border:2px solid #5b5ce2;
box-shadow:0 8px 30px var(--shadow)
}
.plans button:disabled {
opacity:.8;
cursor:default
}
.warningCard {
background:color-mix(in srgb,#f0b429 8%,var(--panel));
border-color:#8a6b24
}
.imageGrid figcaption {
color:var(--text)
}
.imageGrid figcaption a {
color:var(--accent)
}
@media(max-width:900px) {
.settingsGrid {
grid-template-columns:1fr
}
.settingsGrid .dangerZone {
grid-column:span 1
}
.resultHeader {
align-items:flex-start;
gap:12px
}
.resultActions {
align-items:flex-end;
flex-direction:column
}
}
/* V10.2 consolidated UX fixes */
.grid {
align-items:start;
gap:10px
}
.card {
align-self:start;
padding:16px
}
.card h3 {
margin-bottom:6px
}
.card p {
margin:10px 0
}
.longBullets {
margin:10px 0
}
.specRow {
padding:8px 11px
}
.sectionHead {
margin:14px 0
}
.conditionValue {
font-size:18px;
font-weight:750;
margin-top:14px
}
.compactText {
margin-bottom:0!important
}
.details {
margin-bottom:0
}
:root[data-theme="eye"] {
--bg:#f2edda;
--panel:#fbf7e8;
--panel2:#eee7cf;
--text:#29281f;
--muted:#686552;
--border:#d8cfad;
--sidebar:#263128;
--sidebarText:#eef0df;
--accent:#526b49;
--chip:#e8e0c4;
--shadow:#544d2518
}
.passwordWrap {
position:relative;
display:flex
}
.passwordWrap input {
width:100%;
padding-right:48px
}
.passwordToggle {
position:absolute;
right:7px;
top:50%;
transform:translateY(-50%);
width:36px;
height:34px;
border:0;
border-radius:8px;
background:transparent;
color:var(--muted,#687287);
cursor:pointer;
font-size:18px
}
.passwordToggle:hover,.passwordToggle.active {
background:var(--panel2,#f1f3f8);
color:var(--accent,#5b5ce2)
}
@media(max-width:900px) {
.grid {
gap:9px
}
.card {
padding:14px
}
}
/* V10.3 verified compact masonry layout */
#results .grid {
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
grid-auto-rows:8px;
column-gap:10px;
row-gap:10px;
align-items:start
}
#results .grid>.card {
margin:0;
min-height:0;
align-self:start;
overflow:visible
}
#results .grid>.card p:last-child,#results .grid>.card ul:last-child,#results .grid>.card ol:last-child,#results .grid>.card dl:last-child {
margin-bottom:0
}
#results .details div:last-child {
border-bottom:0
}
@media(max-width:1100px) {
#results .grid {
grid-template-columns:repeat(2,minmax(0,1fr))
}
.span2,.span4 {
grid-column:span 2
}
}
@media(max-width:700px) {
#results .grid {
grid-template-columns:1fr;
grid-auto-rows:auto
}
.span2,.span4 {
grid-column:span 1
}
#results .grid>.card {
grid-row-end:auto!important
}
}
/* V10.4: V5-style compact tag/keyword chips */
.tagChips {
display:flex;
flex-wrap:wrap;
gap:8px;
align-items:flex-start;
margin-top:14px
}
.tagChips .chip {
display:inline-flex;
align-items:center;
min-height:30px;
padding:6px 10px;
border:1px solid var(--border);
border-radius:8px;
background:var(--chip);
color:var(--text);
font-size:12px;
line-height:1.25;
white-space:normal
}
/* V10.6 requested-only refinements */
.copyChip {
border:1px solid var(--border);
cursor:pointer;
font-family:inherit;
text-align:left;
transition:transform .12s ease, background .12s ease,border-color .12s ease
}
.copyChip:hover {
transform:translateY(-1px);
border-color:var(--accent);
background:var(--panel2)
}
.copyChip.copied {
border-color:var(--accent);
font-weight:700
}
/* V10.7 professional AI image generation loader */
.imageLoadingCard {
min-height:235px!important;
aspect-ratio:1/1;
display:flex!important;
flex-direction:column;
align-items:center;
justify-content:center;
gap:10px;
border:1px solid var(--border);
background:linear-gradient(145deg,var(--panel),var(--panel2))!important;
position:relative;
overflow:hidden
}
.imageLoadingCard:before {
content:"";
position:absolute;
width:130px;
height:130px;
border-radius:50%;
background:radial-gradient(circle,rgba(218,165,32,.13),transparent 68%);
animation:loaderPulse 1.8s ease-in-out infinite
}
.starLoader {
width:74px;
height:74px;
position:relative;
display:grid;
place-items:center;
filter:drop-shadow(0 0 10px rgba(218,165,32,.32))
}
.orbitStar {
position:absolute;
top:0;
left:29px;
color:#d8a51f;
font-size:22px;
transform-origin:8px 37px;
animation:goldStarOrbit 1.25s linear infinite
}
.centerSpark {
font-size:34px;
color:#e3b638;
animation:centerSparkPulse 1.15s ease-in-out infinite
}
.loadingLabel {
font-size:12px;
font-weight:800;
color:var(--text);
z-index:1
}
.loadingSub {
font-size:11px;
color:var(--muted);
z-index:1
}
@keyframes goldStarOrbit {
to {
transform:rotate(360deg)
}
}
@keyframes centerSparkPulse {
0%,100% {
transform:scale(.9);
opacity:.65
}
50% {
transform:scale(1.12);
opacity:1
}
}
@keyframes loaderPulse {
0%,100% {
transform:scale(.86);
opacity:.55
}
50% {
transform:scale(1.08);
opacity:1
}
}
@media(prefers-reduced-motion:reduce) {
.orbitStar,.centerSpark,.imageLoadingCard:before {
animation:none
}
}
/* V10.8 focused navigation, saved source photo, and plan pricing */

.backBtn {
    flex: 0 0 auto;
    border: 1px solid #2563EB;
    background: #2563EB;
    color: #FFFFFF;
    padding: 9px 13px;
    border-radius: 10px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.20);
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* White Arrow */
.backBtn svg {
    stroke: currentColor;
}

/* Hover Effect */
.backBtn:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
    color: #FFFFFF;
}
.savedSourcePanel {
margin:0 0 16px;
overflow:hidden
}
.savedSourceWrap {
display:flex;
justify-content:center;
align-items:center;
padding:16px;
background:var(--panel2)
}
.savedSourceWrap img {
display:block;
max-width:min(100%,560px);
max-height:460px;
width:auto;
height:auto;
object-fit:contain;
border-radius:12px;
border:1px solid var(--border);
background:var(--panel)
}
.plans article h2 {
margin:10px 0 8px;
font-size:32px;
letter-spacing:-.03em
}
@media(max-width:700px) {
header {
align-items:flex-start
}
.backBtn {
padding:8px 10px
}
.savedSourceWrap {
padding:10px
}
}
/* Cancellation button: matches existing themes without changing other UI */
.cancelGeneration {
border:1px solid #d85a62;
background:transparent;
color:#d85a62;
padding:11px 15px;
border-radius:10px;
font-weight:750;
cursor:pointer;
white-space:nowrap
}
.cancelGeneration:hover {
background:color-mix(in srgb,#d85a62 10%,var(--panel))
}
.cancelGeneration:disabled {
opacity:.6;
cursor:wait
}
.cardTop .cancelGeneration {
padding:7px 10px;
font-size:12px
}
/* Cancellation: fixed visibility across all workspace views */
.globalImageJob {
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap;
margin-left:auto;
margin-right:16px;
padding:8px 12px;
border:1px solid var(--border);
border-radius:12px;
background:var(--panel);
color:var(--text);
font-size:12px;
font-weight:700
}
.globalImageJob .cancelGeneration {
padding:8px 11px;
font-size:12px
}
.cardTop {
flex-wrap:wrap
}
@media(max-width:900px) {
header {
flex-wrap:wrap
}
.globalImageJob {
order:3;
margin:8px 0 0;
width:100%;
justify-content:space-between
}
}
/* AI Images source preview — scoped to standalone image upload */
.sourcePreviewPanel {
display:flex;
align-items:center;
gap:16px;
margin:4px 0 16px;
padding:14px;
border:1px solid var(--border,#e2e6ee);
border-radius:12px;
background:var(--panel2,#f8f9fc);
color:var(--text,#18202d)
}
.sourcePreviewPanel.hidden {
display:none!important
}
.sourcePreviewPanel img {
width:112px;
height:112px;
flex:0 0 112px;
object-fit:contain;
border-radius:9px;
border:1px solid var(--border,#e2e6ee);
background:var(--panel,#fff)
}
.sourcePreviewInfo {
min-width:0;
display:flex;
flex-direction:column;
gap:8px
}
.sourcePreviewInfo strong {
overflow-wrap:anywhere;
font-size:13px
}
.sourcePreviewInfo span {
font-size:12px;
color:#14815c;
font-weight:700
}
.sourcePreviewActions {
display:flex;
flex-wrap:wrap;
gap:8px
}
.sourcePreviewActions button {
font-size:12px;
padding:7px 11px
}
@media(max-width:550px) {
.sourcePreviewPanel {
align-items:flex-start
}
.sourcePreviewPanel img {
width:82px;
height:82px;
flex-basis:82px
}
}
/* Owner-only AI dashboard */
.aiSwitch {
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
padding:13px 0;
border-bottom:1px solid var(--border,#ddd);
cursor:pointer
}
.aiSwitch input {
width:19px;
height:19px;
cursor:pointer
}
.aiTable {
width:100%;
border-collapse:collapse;
font-size:12px;
min-width:1050px
}
.aiTable th,.aiTable td {
padding:10px;
text-align:left;
border-bottom:1px solid rgba(127,127,127,.22);
vertical-align:top
}
.aiTable th {
white-space:nowrap
}
/* Competitor saved reports — matching AI image preview actions */
#competitorHistoryList .competitorReportRow {
align-items:center;
gap:12px
}
#competitorHistoryList .competitorReportInfo {
flex:1;
min-width:0;
overflow-wrap:anywhere
}
#competitorHistoryList .competitorReportActions {
display:flex;
flex:0 0 auto;
gap:8px;
align-items:center
}
#competitorHistoryList .competitorReportActions button {
font-size:12px;
padding:7px 11px
}
#competitorHistoryList .competitorDeleteButton:hover {
border-color:#d85a62;
color:#d85a62
}
#competitorHistoryList .competitorReportActions button:disabled {
opacity:.6;
cursor:wait
}
.competitorEditHeader {
display:flex;
justify-content:flex-end;
align-items:center;
margin:12px 0 -7px
}
.competitorEditHeader small {
font-size:11px;
color:var(--muted,#778196)
}
@media(max-width:550px) {
#competitorHistoryList .competitorReportRow {
flex-wrap:wrap
}
#competitorHistoryList .competitorReportActions {
width:100%;
justify-content:flex-end
}
}
/* Owner admin tabs: additive; existing AI Management untouched. */
.adminExtraTabs {
display:flex;
gap:8px;
flex-wrap:wrap;
margin:0 0 18px
}
.adminExtraTabs button {
font-size:12px;
font-weight:700;
padding:9px 13px
}
.adminExtraTabs .adminTabActive {
border-color:var(--accent);
color:var(--accent);
background:var(--panel2)
}
.adminTableScroll {
width:100%;
overflow-x:auto;
margin-top:12px
}
.adminMetricGrid {
display:grid;
grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
gap:10px;
margin:16px 0
}
.adminMetricGrid>div {
border:1px solid var(--border);
background:var(--panel2);
border-radius:12px;
padding:15px;
display:grid;
gap:8px
}
.adminMetricGrid small {
color:var(--muted)
}
.adminMetricGrid strong {
font-size:22px
}
#adminExtraContent {
overflow:hidden
}
/* Professional signup additions */
.signupFields {
display:grid;
gap:11px
}
.signupNameRow {
display:grid;
grid-template-columns:1fr 1fr;
gap:10px
}
.authFieldLabel {
text-align:left;
font-size:12px;
font-weight:650;
color:var(--muted)
}
.authCard select,.authCard input[type=date],#confirmPassword {
width:100%;
border:1px solid var(--border);
border-radius:11px;
padding:13px 14px;
background:var(--panel);
color:var(--text)
}
.passwordRules {
text-align:left;
font-size:11px;
line-height:1.5;
color:var(--muted);
margin:7px 0 0
}
.authCard {
max-height:94vh;
overflow-y:auto
}
@media(max-width:420px) {
.signupNameRow {
grid-template-columns:1fr
}
}
/* Signup layout: prevent inner horizontal scrolling, keep full form visible */
.auth {
padding:24px 16px;
min-width:0
}
.authCard {
width:min(560px,100%);
max-width:100%;
max-height:none;
overflow:visible;
padding:clamp(22px,4vw,38px);
min-width:0
}
.authCard form,.authCard .signupFields,.authCard .signupNameRow,.authCard .passwordWrap,.authCard .tabs {
min-width:0;
max-width:100%
}
.authCard input,.authCard select,.authCard button {
min-width:0;
max-width:100%
}
.authCard form>input,.authCard form>.passwordWrap,.authCard form>.signupFields,.authCard form>#signupPasswordFields,.authCard form>.primary,.authCard .signupFields>input,.authCard .signupNameRow>input,#confirmPassword {
width:100%
}
.authCard #signupPasswordFields {
min-width:0;
display:grid;
gap:8px
}
.authCard #signupPasswordFields.hidden {
display:none!important
}
.authCard .passwordToggle {
display:grid;
place-items:center;
min-width:36px;
width:36px;
padding:0
}
.authCard .passwordToggle svg {
pointer-events:none
}
@media(max-width:520px) {
.auth {
padding:16px 12px
}
.authCard {
padding:24px 18px
}
.signupNameRow {
grid-template-columns:1fr
}
}
/* Global theme consistency fix */
:root[data-theme="dark"] {
color-scheme: dark;
}
:root[data-theme="light"],
:root[data-theme="eye"] {
color-scheme: light;
}
/* Common panels and interactive elements */
.panel,
.card,
.listbox,
.listingRow,
.stats article,
.usage,
.plans article,
.platform,
.fileBtn,
.authCard,
.settingsForm input,
.tool input,
.tool select {
background-color: var(--panel);
color: var(--text);
border-color: var(--border);
}
/* All listing rows, including recent listings */
.listingRow,
.listingRow:nth-child(odd),
.listingRow:nth-child(even) {
background-color: var(--panel);
color: var(--text);
}
/* Hover */
.listingRow:hover,
.listingRow:nth-child(odd):hover,
.listingRow:nth-child(even):hover {
background-color: var(--panel2);
}
/* Text readability */
.listingRow b,
.card h3,
.panel h2,
.panel h3,
.stats b {
color: var(--text);
}
.listingRow small,
.card p,
.panel .muted {
color: var(--muted);
}
/* Inputs */
input,
select,
textarea {
color: var(--text);
border-color: var(--border);
}
input::placeholder,
textarea::placeholder {
color: var(--muted);
}
/* Tables */
.aiTable {
color: var(--text);
}
.aiTable th,
.aiTable td {
border-color: var(--border);
}
.aiTable tbody tr {
background-color: var(--panel);
}
.aiTable tbody tr:nth-child(even) {
background-color: var(--panel2);
}
/* Keep action buttons readable */
.primary {
background-color: #5b5ce2;
color: #fff;
}
/* Professional date-of-birth selector — scoped to signup only */
.dobPicker {
width:100%;
min-width:0
}
.dobSelectRow {
display:grid;
grid-template-columns:.75fr 1.45fr 1fr;
gap:10px
}
.dobSelectRow label {
display:grid;
gap:6px;
text-align:left;
color:var(--muted);
font-size:12px;
font-weight:650;
min-width:0
}
.authCard .dobSelectRow select {
appearance:none;
-webkit-appearance:none;
width:100%;
min-width:0;
max-width:100%;
padding:12px 31px 12px 12px;
border:1px solid var(--border);
border-radius:11px;
background-color:var(--panel);
color:var(--text);
cursor:pointer;
background-image:url("data:image/svg+xml,%3Csvg xmlns='http\\://www\\.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23818ca0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat:no-repeat;
background-position:right 10px center
}
.authCard .dobSelectRow select:focus-visible {
outline:2px solid var(--accent);
outline-offset:2px;
border-color:var(--accent)
}
.dobPickerError {
display:block;
text-align:left;
color:#d44;
font-size:11px;
min-height:0
}
@media(max-width:400px) {
.dobSelectRow {
gap:6px
}
.authCard .dobSelectRow select {
padding-left:8px;
padding-right:22px;
background-position:right 5px center;
font-size:13px
}
}
/* Collapsed date of birth field with accessible calendar-icon popover */
.dobPicker {
position:relative;
text-align:left
}
.authCard .dobTrigger {
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
width:100%;
padding:12px 14px;
min-height:47px;
border:1px solid var(--border);
border-radius:11px;
background:var(--panel);
color:var(--muted);
text-align:left;
cursor:pointer
}
.authCard .dobTrigger.hasValue {
color:var(--text)
}
.authCard .dobTrigger:hover {
border-color:var(--accent)
}
.authCard .dobTrigger:focus-visible,.dobPopup button:focus-visible {
outline:2px solid var(--accent);
outline-offset:2px
}
.dobTrigger svg {
flex-shrink:0;
color:var(--accent)
}
.dobPopup {
position:absolute;
top:calc(100% + 6px);
left:0;
right:0;
z-index:40;
padding:16px;
border:1px solid var(--border);
border-radius:15px;
background:var(--panel);
box-shadow:0 14px 38px var(--shadow,#27356c22)
}
.dobPopupHead {
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:14px;
color:var(--text);
font-size:13px
}
.authCard .dobPopupHead button {
width:28px;
min-width:28px;
height:28px;
border:0;
border-radius:7px;
background:var(--panel2);
color:var(--text);
font-size:22px;
cursor:pointer
}
/* Admin-managed AI cost caps and subscriber credit status */
.budgetEditor {
border:1px solid var(--border);
background:var(--panel2);
border-radius:14px;
padding:18px;
margin:16px 0
}
.budgetPlanGrid {
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:12px;
margin:14px 0
}
.budgetPlanInput {
display:grid;
gap:7px;
font-size:12px;
font-weight:700;
color:var(--muted)
}
.budgetPlanInput span {
display:flex;
align-items:center;
gap:7px
}
.budgetEditor input {
width:100%;
min-width:0;
padding:10px;
border:1px solid var(--border);
border-radius:9px;
background:var(--panel);
color:var(--text)
}
.budgetEditor small {
display:block;
margin-top:10px
}
.myAiCredits {
border:1px solid var(--border);
background:var(--panel);
color:var(--text);
padding:9px 12px;
border-radius:11px;
font-size:12px;
font-weight:700
}
.myAiCredits.exhausted {
border-color:#dc6565;
color:#dc6565
}
@media(max-width:700px) {
.budgetPlanGrid {
grid-template-columns:1fr
}
}
/* Subscription management — scoped, responsive and payment-integration ready */
.subscriptionPanel {
border:1px solid var(--border);
border-radius:16px;
padding:20px;
margin:18px 0;
background:var(--panel2)
}
.subscriptionPanelHead {
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:14px;
flex-wrap:wrap
}
.subscriptionPanelHead h4 {
margin:0 0 5px
}
.subscriptionPanelHead p {
margin:0
}
.subscriptionStatus {
padding:6px 11px;
border-radius:100px;
border:1px solid var(--border);
font-size:12px;
font-weight:700
}
.subscriptionStatus.isActive {
color:#50b89b;
border-color:#50b89b
}
.subscriptionStatus.isInactive {
color:#d19a65;
border-color:#d19a65
}
.subscriptionFacts {
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
margin:20px 0
}
.subscriptionFacts>div {
min-width:0;
padding:13px;
border:1px solid var(--border);
border-radius:12px;
background:var(--panel)
}
.subscriptionFacts small {
display:block;
color:var(--muted);
font-size:11px;
margin-bottom:8px
}
.subscriptionFacts strong {
font-size:14px;
overflow-wrap:anywhere
}
.subscriptionActions {
display:flex;
align-items:flex-end;
gap:10px;
flex-wrap:wrap
}
.subscriptionActions label {
display:grid;
gap:7px;
min-width:165px;
font-size:12px;
color:var(--muted)
}
.subscriptionActions select {
width:100%;
min-height:41px;
padding:9px 32px 9px 11px;
border:1px solid var(--border);
border-radius:9px;
background:var(--panel);
color:var(--text)
}
.subscriptionActions button {
min-height:41px
}
.subscriptionDanger {
color:#dc7373!important;
border-color:#dc7373!important
}
.subscriptionNote {
margin:14px 0 7px;
font-size:12px;
line-height:1.6
}
@media(max-width:800px) {
.subscriptionFacts {
grid-template-columns:repeat(2,minmax(0,1fr))
}
}
@media(max-width:440px) {
.subscriptionFacts {
grid-template-columns:1fr
}
.subscriptionActions {
align-items:stretch;
flex-direction:column
}
.subscriptionActions label,.subscriptionActions button {
width:100%
}
}
.imageCountLabel {
display:inline-flex;
align-items:center;
gap:9px;
font-size:13px;
font-weight:600;
white-space:nowrap
}
.imageCountLabel select {
padding:9px 12px;
border:1px solid rgba(120,145,180,.4);
border-radius:9px;
background:var(--panel,#fff);
color:inherit;
min-width:150px
}
.imageCard .cardTop {
flex-wrap:wrap;
gap:10px
}
#ownerCreditsControls input {
max-width:150px;
padding:8px;
border-radius:7px;
border:1px solid rgba(120,145,180,.4)
}
#ownerCreditsControls .tool {
flex-wrap:wrap;
gap:10px;
margin:12px 0
}
#ownerCreditsControls .tool label {
display:flex;
flex-direction:column;
gap:5px
}
.imageCountLabel {
font-weight:400!important
}
.imageCountLabel select {
font-weight:400
}
.xeelistLogo {
max-width:90px;
max-height:75px;
object-fit:contain
}
.sidebarLogo {
width:28px;
height:28px;
vertical-align:middle
}
.consentLabel {
display:flex;
gap:9px;
align-items:flex-start;
font-size:12px;
line-height:1.5
}
.consentLabel input {
width:auto;
flex:0 0 auto;
margin-top:3px
}
.authPrivacyLink {
font-size:12px
}
.ownerAlert {
padding:11px 0;
border-bottom:1px solid var(--border,#ddd);
font-size:13px
}
.imageGrid img {
background:var(--panel2,#f4f6fa)
}
/* Brand logo: no decorative square or white background around transparent artwork. */
.brand .sidebarLogo,.authCard .xeelistLogo {
background:transparent!important;
border:0!important;
box-shadow:none!important;
border-radius:0!important;
padding:0!important;
object-fit:contain
}
.authCard .logo {
background:transparent!important;
border:0!important;
box-shadow:none!important;
border-radius:0!important;
overflow:visible
}
.brand .sidebarLogo {
width:36px;
height:36px;
object-fit:contain
}
.logoActionRow {
display:flex;
gap:10px;
align-items:center;
flex-wrap:wrap;
margin:12px 0
}
.logoTransparencyOption {
display:flex;
align-items:center;
gap:8px;
font-size:13px;
margin:10px 0
}
.logoTransparencyOption input {
width:auto
}
/* Xeelist text-only branding: no logo box; favicon uses the standalone X. */
.xeelistWordmark .xeelistBlueX {
color:#086BFA!important
}
/* Owner-only daily signup limits. Scoped to this panel. */
#dailySignupLimits .dailySignupGrid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
#dailySignupLimits .dailySignupGrid label {
display: flex;
flex-direction: column;
gap: 7px;
font-weight: 600;
}
#dailySignupLimits .dailySignupGrid input {
width: 100%;
min-width: 0;
padding: 10px;
border: 1px solid var(--border);
border-radius: 9px;
color: var(--text);
background: var(--panel);
}
#dailySignupLimits .dailySignupGrid small {
color: var(--muted);
font-weight: 400;
}
@media (max-width: 800px) {
#dailySignupLimits .dailySignupGrid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
/* Tokens & Costs filters — scoped to this admin panel only. */
.cost-filters {
display: flex;
align-items: flex-end;
flex-wrap: wrap;
gap: 14px;
margin: 20px 0 12px;
}
.cost-filter-field {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1 1 185px;
max-width: 260px;
min-width: 0;
}
.cost-filter-field label {
font-size: 13px;
font-weight: 600;
color: #344054;
}
.cost-filter-field select,
.cost-filter-field input[type="date"] {
width: 100%;
min-height: 42px;
padding: 9px 12px;
border: 1px solid #e1e6ef;
border-radius: 12px;
background: #fff;
color: #273244;
outline: none;
box-shadow: none;
transition: border-color .2s, box-shadow .2s;
}
.cost-filter-field select:focus,
.cost-filter-field input[type="date"]:focus {
border-color: #a7b8d4;
box-shadow: 0 0 0 3px rgba(110, 144, 190, .12);
}
.cost-filter-actions {
display: flex;
align-items: center;
gap: 9px;
flex-wrap: wrap;
min-height: 42px;
}
.cost-filter-actions .cost-filter-button {
min-height: 42px;
padding: 10px 16px;
border: 1px solid #e1e6ef;
border-radius: 12px;
background: #fff;
color: #344054;
font-size: 13px;
font-weight: 600;
line-height: 1.2;
cursor: pointer;
box-shadow: none;
transition: background .2s, border-color .2s, transform .2s;
}
.cost-filter-actions .cost-filter-button:hover {
background: #f6f8fc;
border-color: #cdd6e5;
transform: translateY(-1px);
}
.cost-filter-actions .cost-filter-primary {
background: #edf3fc;
border-color: #d7e2f2;
color: #304e78;
}
.cost-filter-actions .cost-filter-primary:hover {
background: #e2ecfa;
}
.cost-filter-actions .cost-filter-button:focus-visible {
outline: 3px solid rgba(110, 144, 190, .28);
outline-offset: 2px;
}
@media (max-width: 640px) {
.cost-filter-field { flex-basis: 100%; max-width: none; }
.cost-filter-actions { width: 100%; }
}
/* Subscribers: blue rounded name buttons, scoped to AI Management only. */
.adminSubscriberButton {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 9px 15px;
min-height: 40px;
border: 1px solid #bfdbfe;
border-radius: 12px;
background: #eff6ff;
color: #1d4ed8;
font: inherit;
font-size: 13px;
font-weight: 600;
line-height: 1.35;
text-align: center;
text-decoration: none;
cursor: pointer;
transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.adminSubscriberButton:hover {
background: #dbeafe;
border-color: #93c5fd;
box-shadow: 0 2px 8px rgba(37, 99, 235, .12);
}
.adminSubscriberButton:focus-visible {
outline: 2px solid #2563eb;
outline-offset: 2px;
}
/* Subscriber details: clean collapsible sections, no behavior changes. */
#adminSubscriberDetails .subscriberDetailGroup { margin:12px 0; border:1px solid #dbe4f0; border-radius:13px; background:#F8FAFF; overflow:hidden; }
#adminSubscriberDetails .subscriberDetailGroup > summary { cursor:pointer; padding:14px 17px; font-weight:600; color:#172b4d; background:transparent; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px; }
#adminSubscriberDetails .subscriberDetailGroup > summary::-webkit-details-marker { display:none; }
#adminSubscriberDetails .subscriberDetailGroup > summary:hover { background:transparent; }
#adminSubscriberDetails .subscriberDetailGroup > summary:focus-visible { outline:2px solid #2563eb; outline-offset:-2px; }
#adminSubscriberDetails .subscriberDetailGroup:hover { border-color:#2563eb; }
#adminSubscriberDetails .subscriberDetailBody { padding:14px; }
#adminSubscriberDetails .subscriberDetailBody .adminTableScroll { max-width:100%; }
/* Owner notifications only: unread badge, popup preference, and small toast. */
.ownerUnreadBadge:not(.hidden){
display:inline-flex;align-items:center;justify-content:center;
min-width:20px;height:20px;padding:0 6px;margin-left:7px;
border-radius:999px;background:#2563eb;color:#fff;font-size:11px;
font-weight:700;line-height:1;vertical-align:middle;
}
.ownerNotificationSetting{display:flex;align-items:center;gap:9px;margin:12px 0;
font-size:13px;cursor:pointer;color:inherit;}
.ownerNotificationSetting input{width:16px;height:16px;accent-color:#2563eb;}
.ownerNotificationToast{position:fixed;right:20px;bottom:20px;z-index:9999;
width:min(340px,calc(100vw - 40px));padding:16px;border-radius:14px;
background:#fff;color:#182c49;border:1px solid #bfdbfe;
box-shadow:0 12px 36px rgba(25,60,120,.2);font-size:13px;}
.ownerNotificationToast strong{color:#1d4ed8;font-size:14px;}
.ownerNotificationToast p{margin:9px 0 12px;line-height:1.5;}
.ownerNotificationToast button{border:1px solid #bfdbfe;border-radius:9px;
background:#eff6ff;color:#1d4ed8;padding:7px 12px;cursor:pointer;}
/* Admin Notifications history filter; scoped to this section only. */
.ownerNotificationFilter{
display:flex;align-items:center;flex-wrap:wrap;gap:12px;
margin:12px 0 16px;
}
.ownerNotificationFilter label{font-weight:600;color:inherit;}
.ownerNotificationFilter select{
width:auto;min-width:170px;max-width:100%;
padding:10px 36px 10px 14px;border:1px solid #dbe4f0;
border-radius:12px;background-color:#f8fbff;
color:inherit;font:inherit;cursor:pointer;
}
.ownerNotificationFilter select:focus-visible{
outline:2px solid #2563eb;outline-offset:2px;
}
/* Scoped history filters: no changes to existing controls or cards. */
.historyPeriodBar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0 16px}
.historyPeriodBar label{font-weight:600}
.historyPeriodSelect{min-width:170px;max-width:100%;padding:10px 36px 10px 14px;border:1px solid #dbe4f0;border-radius:12px;background:#f8fbff;color:#18202d;cursor:pointer}
.historyPeriodSelect:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.aiImageHistoryPanel{margin-top:18px}
.aiImageProductGroup{padding:14px 0;border-bottom:1px solid #e6eaf0}
.aiImageProductGroup:last-child{border-bottom:0}
.aiImageProductGroup h4{margin:0 0 12px}
/* Owner expense management: scoped, no changes to other cards. */
.ownerExpenseManager{margin-top:24px}.ownerExpenseManager h4{margin-bottom:14px}.ownerExpenseManager h5{margin:20px 0 12px;font-size:15px}
.expenseTotals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.expenseTotals>div{padding:16px;border:1px solid #e1e7f0;border-radius:14px;background:#f8fbff;display:flex;flex-direction:column;gap:7px}
.expenseTotals small{color:#637187}.expenseTotals strong{font-size:22px;color:#172a48}
.expenseForm{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.expenseForm input{min-width:120px;flex:1 1 160px}.expenseForm select{min-width:110px;flex:0 1 130px}
.expenseForm input,.expenseForm select,.expenseDetails input,.expenseDetails select{min-height:42px;border:1px solid #dbe4f0;border-radius:11px;padding:9px 12px;background:#fff;color:#172a48;font:inherit}
.expenseRecords{display:grid;gap:12px}.expenseRecord{padding:15px;border:1px solid #e1e7f0;border-radius:14px;background:#fff}
.expenseRecordHead{display:flex;justify-content:space-between;gap:12px;align-items:center}.expenseRecordHead>div{display:flex;flex-direction:column;gap:5px}.expenseRecordHead small{color:#637187}.expenseRecordHead b{white-space:nowrap}
.expenseRecordActions,.expenseDetails{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.expenseRecordActions button{padding:8px 12px}.expenseDetails{padding-top:12px;border-top:1px solid #edf0f6}.expenseDetails p{margin:3px 0;width:100%;font-size:13px}
@media(max-width:600px){.expenseTotals{grid-template-columns:1fr}}
/* Custom, keyboard-accessible reporting period dropdowns. */
.polishedPeriod{position:relative;display:inline-flex;min-width:190px;max-width:100%;vertical-align:middle}
.polishedPeriodNative{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.polishedPeriodTrigger{width:100%;min-height:42px;text-align:left;padding:10px 37px 10px 14px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;color:#273244;font:inherit;font-weight:500;cursor:pointer;position:relative;box-shadow:0 2px 7px rgba(22,46,80,.035)}
.polishedPeriodTrigger::after{content:'';position:absolute;right:16px;top:calc(50% - 4px);width:7px;height:7px;border-right:1.8px solid #60718b;border-bottom:1.8px solid #60718b;transform:rotate(45deg)}
.polishedPeriodTrigger:hover{border-color:#b6c7e3}.polishedPeriodTrigger:focus-visible{outline:2px solid #5278f5;outline-offset:2px}
.polishedPeriodMenu{position:absolute;top:calc(100% + 7px);left:0;z-index:150;min-width:100%;width:max-content;max-width:min(300px,90vw);padding:6px;border:1px solid #e1e7f0;border-radius:13px;background:#fff;box-shadow:0 14px 34px rgba(19,38,73,.15)}
.polishedPeriodMenu[hidden]{display:none!important}.polishedPeriodMenu button{display:block;width:100%;padding:10px 13px;border:0;border-radius:8px;background:transparent;color:#29364b;text-align:left;font:inherit;cursor:pointer;white-space:nowrap}
.polishedPeriodMenu button:hover,.polishedPeriodMenu button:focus-visible{background:#f0f5ff;outline:none}.polishedPeriodMenu button[aria-selected="true"]{background:#eaf1ff;color:#2457ce;font-weight:650}
/* Date inputs: soft professional calendar, scoped to existing date fields. */
.polishedDateWrap{position:relative;display:inline-flex;align-items:center;max-width:100%;width:100%}
.polishedDateWrap>input[type=date]{width:100%;min-height:46px;padding-right:44px!important;border:1px solid #d9e3f1;border-radius:12px;background:#fff;box-shadow:0 2px 7px rgba(25,50,90,.035);font:inherit;color:#203047}
.polishedDateWrap>input[type=date]:hover{border-color:#b9c9e5}
.polishedDateWrap>input[type=date]:focus{outline:2px solid #c6d8ff;outline-offset:1px;border-color:#6589eb}
.polishedDateWrap>input[type=date]::-webkit-calendar-picker-indicator{opacity:0;pointer-events:none}
.polishedDateIcon{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:9px;background:#f2f6ff;color:#385bb4;cursor:pointer;font-size:20px}
.polishedDateIcon:hover{background:#e4edff}
.polishedDatePanel{position:absolute;top:calc(100% + 7px);left:0;z-index:3000;width:min(320px,calc(100vw - 32px));padding:14px;border:1px solid #e0e7f3;border-radius:16px;background:#fff;box-shadow:0 18px 45px rgba(24,47,82,.18);color:#1e2d46}
.polishedDatePanel[hidden]{display:none!important}
.polishedDateHead,.polishedDateFoot{display:flex;justify-content:space-between;align-items:center;gap:8px}
.polishedDateHead{margin-bottom:12px}.polishedDateHead strong{font-size:14px}
.polishedDateHead button{width:34px;height:34px;border:1px solid #e2e8f2;border-radius:9px;background:#f7f9fd;color:#34517d;font-size:22px;cursor:pointer}
.polishedDateHead button:hover{background:#eaf1ff}
.polishedDateGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.polishedDateWeekday{padding:8px 0;font-size:11px;color:#71819a;font-weight:700}
.polishedDateGrid button{min-height:34px;border:0;border-radius:9px;background:transparent;color:#243550;font:inherit;font-size:13px;cursor:pointer}
.polishedDateGrid button:hover:not(:disabled){background:#edf3ff}
.polishedDateGrid button.selected{background:#426bf0!important;color:white!important;font-weight:700}
.polishedDateGrid button.today:not(.selected){border:1px solid #9cb5fb;color:#315bd3}
.polishedDateGrid button:disabled{opacity:.3;cursor:not-allowed}
.polishedDateFoot{margin-top:12px;padding-top:11px;border-top:1px solid #edf0f5}
.polishedDateFoot button{border:0;border-radius:8px;padding:7px 10px;background:#f0f5ff;color:#3159bf;font:inherit;font-size:12px;cursor:pointer}
.polishedDateFoot button:disabled{opacity:.4;cursor:not-allowed}
/* Plan distribution: compact pill buttons, no inline underlines. */
.adminPlanPill{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 16px;border:1px solid #cbdcff;border-radius:999px;background:#f0f5ff;color:#2956b4;font:inherit;font-size:13px;font-weight:650;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.adminPlanPill:hover{background:#e2ecff;border-color:#8cacfb;box-shadow:0 3px 9px rgba(47,88,174,.09)}
.adminPlanPill:focus-visible{outline:2px solid #5278f5;outline-offset:2px}
/* Signup-only DOB calendar: keeps all other date controls untouched. */
.authCard .dobPopup{width:min(340px,calc(100vw - 48px));max-width:100%;padding:16px;border:1px solid #dce5f3;border-radius:16px;box-shadow:0 18px 42px rgba(24,49,85,.15);background:#fff}
.dobCalendarNav{display:grid;grid-template-columns:34px minmax(0,1.4fr) minmax(0,1fr) 34px;gap:6px;align-items:center;margin:12px 0}
.authCard .dobCalendarNav select{min-width:0;width:100%;padding:8px 5px;border:1px solid #dfe6f3;border-radius:9px;background:#f8faff;color:#263b5e;font:inherit;font-size:13px}
.dobCalendarNav>button{height:34px;border:1px solid #e1e8f4;border-radius:9px;background:#f5f8ff;color:#3157b4;font-size:22px;cursor:pointer}
.dobCalendarNav>button:disabled{opacity:.35;cursor:not-allowed}
.dobCalendarGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.dobCalendarGrid .dobWeekday{padding:7px 0;font-size:11px;color:#73829c;font-weight:700}
.dobCalendarGrid button{height:34px;min-width:0;padding:0;border:0;border-radius:9px;background:transparent;color:#263751;font:inherit;font-size:13px;cursor:pointer}
.dobCalendarGrid button:hover:not(:disabled){background:#eaf1ff}
.dobCalendarGrid button.selected{background:#426bf0;color:white;font-weight:700}
.dobCalendarGrid button.today:not(.selected){border:1px solid #b3c6fb;color:#345fd0}
.dobCalendarGrid button:disabled{opacity:.25;cursor:not-allowed}
.dobCalendarFooter{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #edf0f6;color:#8190a5;font-size:11px}
.dobCalendarFooter button{padding:7px 12px;border:0;border-radius:8px;background:#edf3ff;color:#3159bb;cursor:pointer}
/* Signup DOB: professional Day / Month / Year controls; no calendar grid. */
.authCard .dobPopup{width:min(440px,calc(100vw - 48px));max-width:100%;padding:18px;border:1px solid #dce5f3;border-radius:16px;background:#fff;box-shadow:0 18px 42px rgba(24,49,85,.13)}
.authCard .dobSelectRow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.authCard .dobSelectRow label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px;font-weight:650;color:#657996}
.authCard .dobSelectRow select{width:100%;min-width:0;min-height:46px;padding:10px 28px 10px 12px;border:1px solid #d7e2f3;border-radius:12px;background-color:#f8faff;color:#243652;font:inherit;font-size:13px;font-weight:500;box-shadow:0 2px 6px rgba(28,61,110,.035);cursor:pointer;transition:border-color .15s,box-shadow .15s,background-color .15s}
.authCard .dobSelectRow select:hover{border-color:#a9bff0;background-color:#fff}
.authCard .dobSelectRow select:focus-visible{outline:2px solid #c9d9ff;outline-offset:1px;border-color:#5b7ff0;box-shadow:0 0 0 3px rgba(69,105,239,.07)}
@media(max-width:420px){.authCard .dobSelectRow{gap:6px}.authCard .dobSelectRow select{padding-left:7px;padding-right:20px;font-size:12px}}
/* Signup DOB: real custom dropdown menus, not browser-native option lists. */
.authCard .dobSelectRow .dobFancySelect{position:relative;min-width:0;width:100%}
.authCard .dobSelectRow .dobOriginalSelect{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;padding:0!important;border:0!important}
.authCard .dobSelectRow .dobFancyButton{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;min-width:0;min-height:46px;padding:10px 11px;border:1px solid #d7e2f3;border-radius:12px;background:#f8faff;color:#243652;font:inherit;font-size:13px;text-align:left;cursor:pointer;box-shadow:0 2px 6px rgba(28,61,110,.035);transition:border-color .15s,background .15s,box-shadow .15s}
.authCard .dobSelectRow .dobFancyButton:hover{border-color:#9fb9f3;background:#fff}
.authCard .dobSelectRow .dobFancyButton:focus-visible,.authCard .dobSelectRow .dobFancyButton[aria-expanded=true]{outline:2px solid #c9d9ff;outline-offset:1px;border-color:#5b7ff0}
.authCard .dobFancyChevron{color:#607aa8;font-size:19px;line-height:1;flex-shrink:0}
.authCard .dobFancyMenu{position:absolute;top:calc(100% + 6px);left:0;z-index:9999;min-width:100%;width:max-content;max-width:min(240px,80vw);max-height:224px;overflow:auto;overscroll-behavior:contain;padding:5px;border:1px solid #dce5f4;border-radius:12px;background:#fff;box-shadow:0 15px 35px rgba(20,49,96,.16)}
.authCard .dobFancyMenu[hidden]{display:none!important}
.authCard .dobFancyOption{display:block;width:100%;min-width:100px;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:#263752;font:inherit;font-size:13px;text-align:left;cursor:pointer;white-space:nowrap}
.authCard .dobFancyOption:hover,.authCard .dobFancyOption:focus-visible{background:#edf3ff;outline:none}
.authCard .dobFancyOption.selected{background:#e8efff;color:#2856c7;font-weight:700}
/* Current plan distribution: refined neutral buttons, no other UI changes. */
.adminPlanPill {
appearance:none;display:inline-flex;align-items:center;justify-content:center;
min-height:34px;padding:7px 14px;border:1px solid #dce2eb;
border-radius:10px;background:#fff;color:#26364d;
font:inherit;font-size:13px;font-weight:600;line-height:1.3;
text-decoration:none;box-shadow:0 1px 2px rgba(16,24,40,.035);
cursor:pointer;transition:background-color .16s,border-color .16s,box-shadow .16s,color .16s;
}
.adminPlanPill:hover {background:#f5f8ff;border-color:#adc3ef;color:#2554aa;box-shadow:0 2px 6px rgba(30,64,130,.07)}
.adminPlanPill:active {background:#eaf1ff}
.adminPlanPill:focus-visible {outline:2px solid #4e77e9;outline-offset:2px}
/* Xeelist user history: restrained SaaS typography and metadata. */
#listingRows .historyItemTitle,#recent .historyItemTitle,
#competitorHistoryList .historyItemTitle,.aiImageProductGroup .historyItemTitle{
display:block;font-size:15px;line-height:1.45;font-weight:650;
letter-spacing:-.018em;color:var(--text,#17243c);overflow-wrap:anywhere;
}
#listingRows .historyItemMeta,#recent .historyItemMeta,
#competitorHistoryList .historyItemMeta,.aiImageProductGroup .historyItemMeta{
display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;
margin-top:7px;font-size:12px;line-height:1.5;color:var(--muted,#718096);
}
.historyPlatformBadge{
display:inline-flex;align-items:center;max-width:100%;padding:3px 9px;
border:1px solid #e0e7f0;border-radius:7px;background:#f7f9fc;
color:#44556f;font-size:11px;font-weight:650;letter-spacing:.01em;
}
.historyItemDate,.historyItemType{font-size:12px;font-weight:450;color:var(--muted,#718096)}
#listingRows .listingRow,#competitorHistoryList .listingRow{align-items:center;gap:12px}
#listingRows .listingRow>span:first-child{min-width:0;flex:1}
#listingRows .listingRow:hover,#competitorHistoryList .listingRow:hover{transition:background-color .16s ease}
.aiImageProductGroup .aiImageHistoryTitle{margin-bottom:0}
.aiImageProductGroup>.historyItemMeta{margin:5px 0 14px}
.aiImageProductGroup figcaption .historyItemDate{font-size:12px}
/* Image quantity dropdowns: same professional floating style as history periods. */
.imageCountLabel .polishedPeriod,#imageCount+.polishedPeriod{min-width:180px}
.imageCountLabel .polishedPeriodTrigger,#imageCount+.polishedPeriodTrigger{font-size:13px;font-weight:550}
.imageCountLabel .polishedPeriodMenu button{font-size:13px}
@media(max-width:600px){
#listingRows .listingRow,#competitorHistoryList .listingRow{flex-wrap:wrap}
#listingRows .sourcePreviewActions,#competitorHistoryList .sourcePreviewActions{margin-left:auto}
.imageCountLabel .polishedPeriod{min-width:155px}
}
/* Refined Reporting Period controls — user history sections only. */
.historyPeriodBar{
display:flex;align-items:center;flex-wrap:wrap;column-gap:12px;row-gap:9px;
margin:15px 0 18px;
}
.historyPeriodBar>label{
font-size:13px;font-weight:600;letter-spacing:-.01em;
color:#465670;line-height:1.4;
}
.historyPeriodBar .historyPeriodPolished{
min-width:198px;width:220px;max-width:100%;
}
.historyPeriodBar .historyPeriodPolished .polishedPeriodTrigger{
min-height:43px;padding:10px 39px 10px 14px;
border:1px solid #d9e2ef;border-radius:12px;
background:#fff;color:#293951;
font-size:13px;font-weight:600;line-height:1.4;
letter-spacing:-.01em;
box-shadow:0 1px 3px rgba(22,43,77,.035);
transition:border-color .16s,box-shadow .16s,background-color .16s;
}
.historyPeriodBar .historyPeriodPolished .polishedPeriodTrigger:hover{
border-color:#a9bce1;background:#fcfdff;
box-shadow:0 3px 10px rgba(30,55,90,.065);
}
.historyPeriodBar .historyPeriodPolished .polishedPeriodTrigger[aria-expanded=true]{
border-color:#8faaf0;box-shadow:0 0 0 3px rgba(72,111,219,.09);
}
.historyPeriodBar .historyPeriodPolished .polishedPeriodTrigger::after{
width:7px;height:7px;right:17px;border-color:#647a99;
}
.historyPeriodBar .historyPeriodPolished .polishedPeriodMenu{
top:calc(100% + 6px);left:0;right:auto;
width:100%;min-width:100%;max-width:100%;max-height:258px;
overflow-y:auto;overscroll-behavior:contain;
padding:5px;border:1px solid #e2e8f2;border-radius:12px;
box-shadow:0 14px 34px rgba(24,44,78,.12);
scrollbar-width:thin;scrollbar-color:#c7d4e8 transparent;
}
.historyPeriodBar .historyPeriodPolished .polishedPeriodMenu button{
min-height:36px;padding:8px 11px;border-radius:8px;
color:#35445b;font-size:13px;font-weight:500;
line-height:1.4;white-space:normal;
}
.historyPeriodBar .historyPeriodPolished .polishedPeriodMenu button:hover,
.historyPeriodBar .historyPeriodPolished .polishedPeriodMenu button:focus-visible{
background:#f1f5fc;color:#234d9b;
}
.historyPeriodBar .historyPeriodPolished .polishedPeriodMenu button[aria-selected=true]{
background:#eaf1ff;color:#2858bc;font-weight:650;
}
@media(max-width:480px){
.historyPeriodBar .historyPeriodPolished{width:min(220px,100%)}
}
/* Consistent View/Delete hover feedback across user history actions. */
#recent .sourcePreviewActions button:not(.competitorDeleteButton),
#listingRows .sourcePreviewActions button:not(.competitorDeleteButton),
#competitorHistoryList .competitorReportActions button:not(.competitorDeleteButton){
transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease;
}
#recent .sourcePreviewActions button:not(.competitorDeleteButton):hover,
#listingRows .sourcePreviewActions button:not(.competitorDeleteButton):hover,
#competitorHistoryList .competitorReportActions button:not(.competitorDeleteButton):hover{
border-color:#4775e7!important;background:#eff5ff!important;color:#2456bf!important;
box-shadow:0 0 0 2px rgba(71,117,231,.08);
}
#recent .competitorDeleteButton:hover,
#listingRows .competitorDeleteButton:hover,
#competitorHistoryList .competitorDeleteButton:hover,
#aiImageHistoryList button[style*="color: rgb(180, 35, 50)"]:hover,
#aiImageHistoryList button[style*="color:#b42332"]:hover{
border-color:#e34b5c!important;background:#ffe9ec!important;color:#b42332!important;
box-shadow:0 0 0 2px rgba(227,75,92,.09);
}
#recent .sourcePreviewActions button:focus-visible,
#listingRows .sourcePreviewActions button:focus-visible,
#competitorHistoryList .competitorReportActions button:focus-visible{
outline:2px solid #4775e7;outline-offset:2px;
}
/* Header AI credits: display-only polish, original credit accounting unchanged. */
.myAiCredits{display:inline-flex;align-items:center;flex-wrap:wrap;column-gap:10px;row-gap:6px;max-width:100%;padding:10px 14px;border:1px solid #dce5f2;border-radius:14px;background:var(--panel);box-shadow:none;transition:none;font-size:12px;font-weight:500;line-height:1.35}
.myAiCreditsLabel{font-weight:600;color:var(--muted,#687b98);white-space:nowrap}
.myAiCreditsValues{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px;color:var(--text)}
.myAiCreditsValues strong{font-weight:750}
.myAiCreditsValues>span{color:var(--muted,#75849b);font-weight:500}
.myAiCreditsTrack{flex-basis:100%;display:block;height:4px;border-radius:999px;overflow:hidden;background:#e8eef8}
.myAiCreditsFill{display:block;height:100%;border-radius:999px;background:#5378e9;transition:width .25s ease}
.myAiCredits.exhausted .myAiCreditsFill{background:#dc6565}
/* Competitor marketplace selectors: polished menu; original select remains the data source. */
#competitors .competitorMarketPolished{min-width:140px;width:148px;flex:0 0 auto}
#competitors .competitorMarketPolished .polishedPeriodTrigger{min-height:46px;border-radius:12px;padding:10px 36px 10px 15px;background:#fff;border:1px solid #d8e2f0;color:#26364e;font-size:14px;font-weight:600;box-shadow:0 2px 8px rgba(28,51,86,.045);transition:border-color .16s,box-shadow .16s}
#competitors .competitorMarketPolished .polishedPeriodTrigger:hover{border-color:#a5b9e0;box-shadow:0 3px 10px rgba(30,55,90,.07)}
#competitors .competitorMarketPolished .polishedPeriodTrigger[aria-expanded=true]{border-color:#7599eb;box-shadow:0 0 0 3px rgba(80,119,228,.11)}
#competitors .competitorMarketPolished .polishedPeriodMenu{width:100%;min-width:100%;max-width:100%;padding:5px;border-radius:12px;border:1px solid #e1e7f1;box-shadow:0 14px 32px rgba(25,45,80,.13)}
#competitors .competitorMarketPolished .polishedPeriodMenu button{min-height:37px;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:500}
#competitors .competitorMarketPolished .polishedPeriodMenu button[aria-selected=true]{background:#eaf1ff;color:#2858bc;font-weight:650}
@media(max-width:480px){#competitors .competitorMarketPolished{width:140px;min-width:135px}}
/* Google OAuth sign-in — login and signup share the same button. */
.googleSignInArea{margin-top:16px}
.googleDivider{display:flex;align-items:center;gap:12px;margin:0 0 16px;color:#8b95a6;font-size:12px}
.googleDivider:before,.googleDivider:after{content:"";height:1px;background:#e5eaf1;flex:1}
.googleSignInButton{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:11px 16px;border:1px solid #dce3ed;border-radius:12px;background:#fff;color:#243044;font-size:14px;font-weight:600;text-decoration:none;transition:border-color .16s,box-shadow .16s,background .16s}
.googleSignInButton:hover{border-color:#9dc6f3;background:#f8fbff;box-shadow:0 5px 16px rgba(25,74,136,.08)}
.googleSignInButton:focus-visible{outline:3px solid #b4d8ff;outline-offset:2px}
.googleSignInButton svg{flex:0 0 20px}
#authMsg.googleProfileInfo{color:#416787;line-height:1.5}
/* Saved AI Images History: compact rows with expandable image previews */
.aiHistoryCompactList{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.aiHistoryCompactRow{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:12px;border:1px solid #e4eaf2;border-radius:13px;background:#fff}
.aiHistoryThumb{width:62px;height:62px;object-fit:cover;border-radius:9px;flex:none;border:1px solid #edf0f5}
.aiHistoryFileInfo{flex:1;min-width:130px;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.aiHistoryActions{display:flex;align-items:center;gap:8px;margin-left:auto}
.aiHistoryActions button{border-radius:9px;padding:8px 13px;cursor:pointer}
.aiHistoryDelete{color:#b42332!important;border:1px solid #f2c6cc!important;background:#fff5f5!important}
.aiHistoryPreview{flex:0 0 100%;padding:16px 0 4px;text-align:center;border-top:1px solid #e9edf4}
.aiHistoryPreview[hidden]{display:none!important}
.aiHistoryPreview img{display:block;width:auto;max-width:100%;max-height:520px;object-fit:contain;margin:0 auto 12px;border-radius:10px}
.aiHistoryPreview a{display:inline-block;padding:8px 12px}
@media(max-width:520px){.aiHistoryCompactRow{gap:10px}.aiHistoryThumb{width:52px;height:52px}.aiHistoryActions{width:100%;justify-content:flex-end}}
/* AI image history — consistent with professional listing-history typography. */
#aiImageHistoryList .aiHistoryFileName{display:block;max-width:100%;width:fit-content;padding:0;border:0;background:transparent;text-align:left;font:inherit;font-size:15px;line-height:1.45;font-weight:650;letter-spacing:-.018em;color:var(--text,#17243c);overflow-wrap:anywhere;cursor:pointer;transition:color .16s ease}
#aiImageHistoryList .aiHistoryFileName:hover,#aiImageHistoryList .aiHistoryFileName[aria-expanded="true"]{color:#2456bf}
#aiImageHistoryList .aiHistoryFileName:focus-visible,#aiImageHistoryList .aiHistoryThumb:focus-visible{outline:2px solid #4775e7;outline-offset:3px;border-radius:5px}
#aiImageHistoryList .aiHistoryThumb{cursor:pointer}
#aiImageHistoryList .aiHistoryView{transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease}
#aiImageHistoryList .aiHistoryView:hover{border-color:#4775e7!important;background:#eff5ff!important;color:#2456bf!important;box-shadow:0 0 0 2px rgba(71,117,231,.08)}
#aiImageHistoryList .aiHistoryDelete{transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease}
#aiImageHistoryList .aiHistoryDelete:hover{border-color:#e34b5c!important;background:#ffe9ec!important;color:#b42332!important;box-shadow:0 0 0 2px rgba(227,75,92,.09)}
#aiImageHistoryList .aiHistoryView:focus-visible,#aiImageHistoryList .aiHistoryDelete:focus-visible,#aiImageHistoryList .aiHistoryDownload:focus-visible{outline:2px solid #4775e7;outline-offset:2px}
#aiImageHistoryList .aiHistoryPreview .aiHistoryDownload{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:3px;padding:10px 18px;border:1px solid #b9cef5;border-radius:10px;background:#f1f6ff;color:#2456bf;font-size:13px;font-weight:650;letter-spacing:-.01em;text-decoration:none;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
#aiImageHistoryList .aiHistoryPreview .aiHistoryDownload:hover{background:#e5efff;border-color:#4775e7;box-shadow:0 2px 8px rgba(50,95,170,.1)}
/* Image history: same title typography and clickable info area as listing/competitor history. */
#aiImageHistoryList .aiHistoryFileInfo{cursor:pointer;align-self:stretch;justify-content:center;min-width:0;border-radius:8px;padding:4px 2px}
#aiImageHistoryList .aiHistoryFileInfo:focus-visible{outline:2px solid #4775e7;outline-offset:3px}
#aiImageHistoryList .aiHistoryFileName.historyItemTitle{display:block;width:auto;max-width:100%;margin:0;padding:0;border:0;background:none;font-family:inherit;font-size:15px;font-weight:650;line-height:1.45;letter-spacing:-.018em;color:var(--text,#17243c);overflow-wrap:anywhere;cursor:pointer}
#aiImageHistoryList .aiHistoryFileInfo:hover .aiHistoryFileName,#aiImageHistoryList .aiHistoryFileInfo[aria-expanded="true"] .aiHistoryFileName{color:#2456bf}
#aiImageHistoryList .aiHistoryFileInfo .historyItemDate{display:block;font-size:12px;font-weight:450;line-height:1.5;color:var(--muted,#718096)}
#aiImageHistoryList .aiHistoryCompactRow{cursor:pointer}
#aiImageHistoryList .aiHistoryActions,#aiImageHistoryList .aiHistoryPreview{cursor:default}
/* Xeelist SEO intro: scoped to the public login view; app/dashboard unaffected. */
#auth .seoAuthStack{width:min(430px,92vw);display:flex;flex-direction:column;align-items:stretch;gap:15px;margin:24px auto}
#auth .seoAuthStack>.authCard{width:100%}
#auth .seoIntro{text-align:center;padding:0 12px;color:#536178}
#auth .seoIntro h2{font-size:17px;line-height:1.3;font-weight:700;letter-spacing:-.02em;color:#182c4b;margin:0 0 7px}
#auth .seoIntro p{font-size:12px;line-height:1.65;margin:0}
@media(max-width:480px){#auth .seoAuthStack{margin:16px auto;gap:12px}#auth .seoIntro{padding:0 5px}#auth .seoIntro h2{font-size:16px}#auth .seoIntro p{font-size:11.5px}}
/* SEO introduction beside login on desktop; login stays first on mobile.
This affects only #auth; the dashboard and app components are untouched. */
@media (min-width: 900px) {
#auth .seoAuthStack {
width: min(1000px, calc(100vw - 64px));
max-width: 100%;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
align-items: center;
column-gap: clamp(38px, 6vw, 88px);
margin: 36px auto;
}
#auth .seoAuthStack > .authCard {
grid-column: 2;
grid-row: 1;
width: 100%;
min-width: 0;
}
#auth .seoAuthStack > .seoIntro {
grid-column: 1;
grid-row: 1;
text-align: left;
padding: 0;
max-width: 470px;
}
#auth .seoIntro h2 {
font-size: clamp(29px, 3.4vw, 43px);
line-height: 1.13;
letter-spacing: -.04em;
margin-bottom: 16px;
}
#auth .seoIntro p {
font-size: 15px;
line-height: 1.85;
}
}
/* Signup-only SEO alignment: long signup form must not push intro down.
Login remains centered; mobile stacking remains unchanged. */
@media (min-width: 900px) {
#auth .seoAuthStack:has(.tab[data-auth="signup"].active) > .seoIntro {
align-self: start;
margin-top: clamp(110px, 15vh, 170px);
}
}
/* Phase 3: Public homepage SEO typography only. Workspace remains unchanged. */
#auth .authCard .xeelistWordmark {
display: block;
margin: 14px 0 5px;
font-size: 2em;
font-weight: 700;
line-height: 1.2;
}
#auth .seoIntro h1 {
font-size: 20px;
line-height: 1.25;
font-weight: 750;
letter-spacing: -.035em;
color: #182c4b;
margin: 0 0 15px;
}
#auth .seoIntro h2 {
font-size: 16px;
line-height: 1.4;
margin: 22px 0 9px;
color: #182c4b;
}
#auth .seoIntro p + p {
margin-top: 12px;
}
@media (min-width: 900px) {
#auth .seoIntro h1 {
font-size: clamp(30px, 3.4vw, 43px);
line-height: 1.13;
}
#auth .seoIntro h2 {
font-size: 19px;
}
}
@media (max-width: 480px) {
#auth .seoIntro h1 {
font-size: 21px;
}
#auth .seoIntro h2 {
font-size: 15px;
}
}
/* Phase 5: Crawlable homepage feature descriptions; auth and app controls unchanged. */
#auth .seoFeatureList{display:grid;gap:13px;margin-top:22px}
#auth .seoFeature{padding:0 0 12px;border-bottom:1px solid rgba(74,102,146,.15)}
#auth .seoFeature:last-child{border-bottom:0;padding-bottom:0}
#auth .seoFeature h3{margin:0 0 5px;color:#182c4b;font-size:14px;font-weight:700;line-height:1.4}
#auth .seoFeature p{margin:0;font-size:12px;line-height:1.6}
#auth .seoIntro .seoWorkflow{margin-top:17px;font-size:12px;line-height:1.65}
@media(min-width:900px){#auth .seoFeatureList{gap:15px;margin-top:25px}#auth .seoFeature h3{font-size:15px}#auth .seoFeature p,#auth .seoIntro .seoWorkflow{font-size:13px}}
@media(max-width:899px){#auth .seoFeatureList{max-width:560px;margin-left:auto;margin-right:auto}#auth .seoFeature{text-align:left}}
/* Compact authentication introduction and discreet feature link. */
#auth .seoIntro .seoExploreLink{display:inline-flex;align-items:center;gap:7px;margin-top:17px;padding:10px 14px;border:1px solid #cddcf6;border-radius:10px;background:#f0f5ff;color:#2856ad;font-size:13px;font-weight:650;text-decoration:none;transition:background .16s,border-color .16s}
#auth .seoIntro .seoExploreLink:hover{background:#e3edff;border-color:#9ab8ed}
#auth .seoIntro .seoExploreLink:focus-visible{outline:2px solid #3569dc;outline-offset:3px}
/* Standalone public Features page: scoped to prevent dashboard changes. */
.featuresPublic{background:#f7f9fd;color:#1b2940}
.featuresPublic .featuresNav{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px max(24px,calc((100vw - 1120px)/2));margin:0;border-bottom:1px solid #e6eaf3;background:#fff}
.featuresPublic .featuresBrand{font-size:22px;font-weight:800;letter-spacing:-.04em;text-decoration:none;color:#182c4b}.featuresPublic .featuresBrand span{color:#086bfa}
.featuresPublic .featuresNav nav{display:flex;gap:22px;align-items:center}.featuresPublic .featuresNav nav a{color:#52617a;text-decoration:none;font-size:13px;font-weight:600}.featuresPublic .featuresNav nav a[aria-current=page]{color:#245fcd}.featuresPublic .featuresNav .featuresLogin{border:1px solid #d5e2f6;border-radius:9px;padding:10px 13px;color:#245fcd}
.featuresPublic .featuresMain{max-width:1120px;padding:0 24px 80px;margin:auto}.featuresPublic .featuresHero{text-align:center;padding:94px 0 88px}.featuresPublic .featuresEyebrow{font-size:11px;letter-spacing:.15em;color:#416bd4;font-weight:800}.featuresPublic .featuresHero h1{max-width:780px;margin:17px auto 20px;font-size:clamp(35px,5.2vw,61px);line-height:1.12;letter-spacing:-.05em}.featuresPublic .featuresHero p{max-width:650px;margin:0 auto 28px;color:#63718a;font-size:16px;line-height:1.8}.featuresPublic .featuresCTA{display:inline-flex;align-items:center;justify-content:center;padding:14px 23px;background:#5267df;border-radius:11px;color:white;text-decoration:none;font-size:14px;font-weight:700}.featuresPublic .featuresCTA:hover{background:#4054c9}
.featuresPublic .featuresSectionHead{margin-bottom:26px}.featuresPublic .featuresSectionHead h2,.featuresPublic .featuresWorkflow h2{font-size:clamp(27px,3.4vw,37px);letter-spacing:-.035em;margin:10px 0}.featuresPublic .featuresCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.featuresPublic .featuresCard{background:white;border:1px solid #e3e9f4;border-radius:19px;padding:28px;box-shadow:0 8px 30px #233b6b0a;display:flex;flex-direction:column}.featuresPublic .featuresCardNumber{font-size:10px;letter-spacing:.12em;color:#5274d5;font-weight:800}.featuresPublic .featuresCard h3{font-size:21px;letter-spacing:-.03em;line-height:1.25;margin:21px 0 12px}.featuresPublic .featuresCard p{font-size:14px;line-height:1.75;color:#68758b;margin:0 0 16px}.featuresPublic .featuresCard .featuresMeta{font-size:12px;color:#5166a5;margin-top:auto;padding-top:8px}.featuresPublic .featuresCard a{color:#2c5ec6;font-weight:700;font-size:13px;text-decoration:none;margin-top:12px}.featuresPublic .featuresCard a:hover{text-decoration:underline}
.featuresPublic .featuresWorkflow{padding:76px 0}.featuresPublic .featuresWorkflow ol{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:28px}.featuresPublic .featuresWorkflow li{background:#eef3ff;border:1px solid #e0e9fc;padding:24px;border-radius:15px;display:grid;gap:9px}.featuresPublic .featuresWorkflow li strong{font-size:17px}.featuresPublic .featuresWorkflow li span{font-size:13px;line-height:1.6;color:#66758c}.featuresPublic .featuresFinal{text-align:center;padding:60px 20px;border-radius:22px;background:linear-gradient(120deg,#edf3ff,#fff);border:1px solid #e0e8f5}.featuresPublic .featuresFinal h2{font-size:30px;letter-spacing:-.04em;margin:0 0 12px}.featuresPublic .featuresFinal p{color:#66758c;margin:0 0 25px}.featuresPublic .featuresFooter{display:flex;justify-content:space-between;gap:20px;padding:27px max(24px,calc((100vw - 1120px)/2));background:white;border-top:1px solid #e6eaf3;color:#79859a;font-size:12px}.featuresPublic .featuresFooter div{display:flex;gap:18px}.featuresPublic .featuresFooter a{color:#586b87;text-decoration:none}
@media(max-width:850px){.featuresPublic .featuresCards,.featuresPublic .featuresWorkflow ol{grid-template-columns:1fr}.featuresPublic .featuresHero{padding:65px 0}.featuresPublic .featuresNav{flex-wrap:wrap}.featuresPublic .featuresFooter{flex-wrap:wrap}}
@media(max-width:480px){.featuresPublic .featuresNav{padding:16px}.featuresPublic .featuresNav nav{gap:12px}.featuresPublic .featuresNav nav a{font-size:12px}.featuresPublic .featuresMain{padding:0 16px 50px}.featuresPublic .featuresHero{padding:52px 0}.featuresPublic .featuresHero p{font-size:14px}.featuresPublic .featuresCard{padding:22px}}
/* Focused dashboard Features link and clickable account profile. */
.dashboardFeaturesLink{display:block;text-decoration:none;font:inherit}
.accountProfileButton{width:100%;border:0;border-top:1px solid #273142;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.accountProfileButton:hover,.accountProfileButton:focus-visible{background:#202a3a;border-radius:9px}
.accountProfileButton:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.accountProfileButton .accountProfileChevron{margin-left:auto;color:#98a3b7;font-size:22px;line-height:1}
.accountComingSoon{max-width:760px;padding:30px}
.accountComingSoon h2{margin:0 0 12px}
.accountComingSoon p{margin-bottom:24px}
@media(max-width:900px){.accountProfileButton{padding:12px 6px}.accountProfileButton .accountProfileChevron{display:none}}
/* Short, distinct homepage intro; does not repeat the login card tagline. */
#auth .seoIntro .seoIntroSummary{max-width:440px;margin:0;color:#536178;font-size:14px;line-height:1.75}
@media(max-width:899px){#auth .seoIntro .seoIntroSummary{margin-left:auto;margin-right:auto;font-size:12px}}
/* My Account and Settings: scoped, responsive additions */
.accountGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.accountWide{grid-column:1/-1}
.accountCreditGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.accountCreditGrid>div{display:grid;gap:9px;padding:17px;border:1px solid var(--border);border-radius:12px;background:var(--panel2)}
.accountCreditGrid small{color:var(--muted)}
.accountCreditGrid strong{font-size:clamp(18px,2.4vw,27px);overflow-wrap:anywhere;color:var(--text)}
#account #logout{margin-top:18px}
.accountCheck{display:flex;gap:10px;align-items:flex-start;margin:16px 0;line-height:1.5}
.accountCheck input{width:17px;height:17px;flex:none;margin-top:2px;accent-color:var(--accent)}
.accountTextLink{color:var(--accent);font-weight:650}
@media(max-width:750px){.accountGrid{grid-template-columns:1fr}.accountCreditGrid{grid-template-columns:1fr}}
/* Account security and notifications */
.accountRecovery{margin-top:18px;text-align:left}.accountRecovery form{display:grid;gap:10px}.accountRecovery input{width:100%;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--panel);color:var(--text)}#forgotPasswordLink{border:0;background:none;cursor:pointer;margin:8px auto;color:var(--accent);font-size:12px}.accountNotice{padding:12px 0;border-bottom:1px solid var(--border)}.accountNotice p{margin:6px 0;color:var(--muted);font-size:13px}#userUnreadCount:not(:empty){background:#2563eb;color:white;border-radius:12px;padding:2px 7px;font-size:11px}
.ownerBroadcastPanel{border-top:1px solid var(--border,#ddd);margin-top:20px;padding-top:16px;max-width:640px}.ownerBroadcastPanel form{display:grid;gap:10px}.ownerBroadcastPanel input,.ownerBroadcastPanel textarea,.ownerBroadcastPanel select{width:100%;max-width:100%;box-sizing:border-box}.ownerBroadcastPanel h4{margin:0 0 8px}
/* Xeelist account experience refresh — UI only; original handlers/IDs preserved. */
#account,#settings{max-width:1140px;margin:0 auto;padding-bottom:48px}
.accountPageHero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 25px;padding:28px 30px;border:1px solid var(--border);border-radius:20px;background:linear-gradient(125deg,var(--panel),var(--panel2));box-shadow:0 8px 28px rgba(21,40,77,.035)}
.accountPageHero h2{margin:7px 0 8px;font-size:clamp(25px,3vw,35px);font-weight:780;letter-spacing:-.045em;color:var(--text)}
.accountPageHero p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.accountKicker{font-size:10px;letter-spacing:.18em;font-weight:800;color:var(--accent);text-transform:uppercase}
.accountSecondaryButton,.recoveryBackButton{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:41px;padding:10px 16px;border:1px solid var(--border);border-radius:11px;background:var(--panel);color:var(--text);font-size:13px;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.accountSecondaryButton:hover,.recoveryBackButton:hover{background:var(--panel2);border-color:var(--accent)}
#account .accountGrid,#settings .settingsGrid{gap:18px}
#account .accountGrid>.panel,#settings .settingsGrid>.panel,#account>.accountNotificationsCard{border-radius:18px;padding:26px;border:1px solid var(--border);box-shadow:0 6px 24px rgba(15,30,60,.035);min-width:0}
#account .accountGrid h3,#settings .settingsGrid h2,#account .accountNotificationsCard h3{margin:0 0 13px;font-size:17px;letter-spacing:-.02em;color:var(--text)}
#account .settingsForm,#settings .settingsForm{gap:14px}
#account .settingsForm label,#settings .settingsForm label{font-size:12px;font-weight:650;color:var(--muted)}
#account .settingsForm input,#settings .settingsForm input{width:100%;margin-top:7px;min-height:44px;border-radius:10px}
#account .accountCreditGrid>div{border-radius:13px;padding:19px;background:var(--panel2)}
#account .accountCreditGrid strong{font-weight:800;letter-spacing:-.03em}
#account .accountNotificationsCard{margin-top:18px}
#account .accountNotice{padding:15px 4px}
#settings .settingsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#settings .settingIcon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;margin-bottom:16px;background:var(--panel2);border:1px solid var(--border);color:var(--accent);font-size:18px;font-weight:800}
#settings .themeChoices{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
#settings .themeChoices button{min-height:42px;padding:9px 14px;border-radius:10px}
#settings .accountCheck{padding:12px;border:1px solid var(--border);border-radius:11px;margin:10px 0;background:var(--panel2)}
#settings #changePasswordForm{margin-top:18px}
#auth .accountRecovery{margin:16px auto 0;max-width:370px;padding:23px;border-radius:16px;border:1px solid #dfe7f5;background:#fff;box-shadow:0 8px 24px rgba(28,51,96,.055)}
#auth .accountRecovery h3{margin:9px 0 8px;font-size:23px;letter-spacing:-.035em;color:#182a48}
#auth .accountRecovery .muted{font-size:13px;line-height:1.6}
#auth .recoveryIcon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#eaf1ff;color:#3163cf;font-size:23px}
#auth .recoveryBackButton{width:100%;margin-top:12px;background:#fff;color:#31476a;border-color:#dce5f3}
#auth #forgotPasswordLink.hidden{display:none!important}
#auth .accountRecovery.hidden{display:none!important}
.featuresPublic .featuresCard{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.featuresPublic .featuresCard:hover{transform:translateY(-4px);border-color:#c9d7f1;box-shadow:0 16px 38px rgba(25,55,110,.095)}
.featuresPublic .featuresHero{background:radial-gradient(ellipse at 50% 5%,#e9f0ff 0,transparent 66%)}
.featuresPublic .featuresCTA{transition:transform .2s ease,background .2s ease}
.featuresPublic .featuresCTA:hover{transform:translateY(-2px)}
@media(max-width:760px){.accountPageHero{padding:22px;align-items:flex-start;flex-direction:column}#settings .settingsGrid{grid-template-columns:1fr}#account .accountGrid>.panel,#settings .settingsGrid>.panel{padding:20px}}
/* Xeelist workspace account & settings refinement */
#account .workspaceIntro,#settings .workspaceIntro,#features .workspaceIntro{margin:0 0 24px;color:var(--muted);font-size:14px}
#account .workspaceIntro p,#settings .workspaceIntro p,#features .workspaceIntro p{margin:0}
#account .accountGrid>.panel,#settings .settingsGrid>.panel{background:var(--panel);border:1px solid var(--border);border-radius:14px;box-shadow:none;padding:24px}
#account .accountGrid h3,#settings .settingsGrid h2{font-size:16px;font-weight:700;letter-spacing:-.02em}
#account .accountCreditGrid{gap:12px}
#account .accountCreditGrid>div{border:1px solid var(--border);border-radius:12px;background:var(--panel2);padding:18px}
#account .accountCreditGrid strong{font-size:clamp(22px,2.5vw,30px);font-variant-numeric:tabular-nums;letter-spacing:-.04em}
#account .accountCreditGrid small{font-size:12px;color:var(--muted)}
.creditGuideHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.subtleEyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;color:var(--muted)}.creditGuideHead h3{margin:5px 0!important}.creditGuideTag{font-size:11px;padding:6px 10px;border:1px solid var(--border);border-radius:999px;color:var(--muted)}
.creditGuideRows{display:grid;grid-template-columns:1fr 1fr;gap:10px}.creditGuideRows>div{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:12px;padding:15px;min-width:0}.creditGuideSymbol{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:var(--panel2);color:var(--accent);font-size:19px}.creditGuideRows>div>span:nth-child(2){display:grid;gap:4px;min-width:0}.creditGuideRows strong{font-size:13px}.creditGuideRows small{color:var(--muted);font-size:11px}.creditGuideRows b{margin-left:auto;white-space:nowrap;font-size:18px;font-variant-numeric:tabular-nums}.creditGuideRows b small{font-weight:500}.creditGuideNote{font-size:12px;line-height:1.65;color:var(--muted);margin:15px 0 0}.creditGuideNote a,.supportEmail{color:var(--accent);text-decoration:none;font-weight:650}
#settings .settingsGrid{gap:14px}.preferenceRow{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--border);cursor:pointer}.preferenceRow span{display:grid;gap:5px}.preferenceRow strong{font-size:13px}.preferenceRow small{color:var(--muted);font-size:12px}.preferenceRow input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.securityExpand{display:flex;width:100%;justify-content:space-between;align-items:center;padding:13px 15px;border:1px solid var(--border);border-radius:10px;background:var(--panel2);color:var(--text);font-weight:650;cursor:pointer;margin:16px 0}.securityExpand[aria-expanded="true"] span{transform:rotate(180deg)}#changePasswordForm:not(.hidden){display:grid;gap:12px;padding-top:6px}.supportEmail{display:inline-flex;padding:12px 0;font-size:14px}
.workspaceBell{position:relative;margin-left:auto;flex-shrink:0;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--border);border-radius:11px;background:var(--panel);color:var(--text);cursor:pointer}.workspaceBell:hover{background:var(--panel2)}.bellCount:not(:empty){position:absolute;top:-6px;right:-7px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:20px;background:#2563eb;color:#fff;font-size:10px;font-weight:750;border:2px solid var(--panel)}.notificationOverlay{position:fixed;inset:0;z-index:1100;background:transparent}.notificationPopover{position:fixed;right:24px;top:88px;z-index:1101;width:min(420px,calc(100vw - 28px));max-height:min(600px,calc(100vh - 105px));display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--border);border-radius:16px;box-shadow:0 18px 65px rgba(14,28,52,.20);overflow:hidden}.notificationPopoverHead{display:flex;align-items:start;justify-content:space-between;padding:20px;border-bottom:1px solid var(--border)}.notificationPopoverHead h3{margin:0 0 5px;font-size:17px}.notificationPopoverHead p{margin:0;color:var(--muted);font-size:12px}.notificationClose{border:0;background:none;color:var(--muted);font-size:25px;cursor:pointer}.notificationFeed{overflow-y:auto;min-height:95px;padding:8px 12px;color:var(--muted);font-size:13px}.accountNotice{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);padding:14px 13px;border-radius:8px;cursor:pointer}.accountNotice:hover{background:var(--panel2)}.accountNotice.unread{background:color-mix(in srgb,var(--accent) 7%,var(--panel));border-left:3px solid var(--accent)}.accountNotice strong{font-size:13px}.accountNotice p{margin:5px 0!important;color:var(--muted);font-size:12px;line-height:1.5}.accountNotice small{color:var(--muted);font-size:10px}.notificationPopoverFoot{display:flex;justify-content:space-between;gap:8px;padding:13px 20px;border-top:1px solid var(--border)}.notificationPopoverFoot button{background:transparent;border:0;color:var(--accent);font-weight:650;font-size:12px;cursor:pointer}
.featureWorkspaceGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.featureWorkspaceCard{display:flex;flex-direction:column;min-height:315px;padding:24px;background:var(--panel);border:1px solid var(--border);border-radius:15px}.featureWorkspaceIcon{display:grid;place-items:center;width:46px;height:46px;margin:20px 0 14px;border-radius:12px;background:var(--panel2);color:var(--accent);font-size:24px}.featureWorkspaceCard h3{font-size:17px;line-height:1.3;margin:0 0 9px}.featureWorkspaceCard p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 12px}.featureWorkspaceMeta{font-size:11px;color:var(--muted);margin-top:auto}.featureWorkspaceCard button{margin-top:20px;display:flex;justify-content:space-between;align-items:center;width:100%;border:1px solid var(--border);border-radius:10px;padding:11px 13px;background:var(--panel2);color:var(--text);font-weight:650;cursor:pointer}.featureWorkspaceCard button:hover{border-color:var(--accent)}
@media(max-width:900px){.featureWorkspaceGrid{grid-template-columns:1fr}.featureWorkspaceCard{min-height:250px}}@media(max-width:650px){.creditGuideRows{grid-template-columns:1fr}.notificationPopover{top:70px;right:14px}}

/* October 2026: aligned workspace chrome and understated account/settings UI */
#app main>.workspaceHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;flex-wrap:wrap;margin-bottom:28px}
.workspaceHeaderMain{display:flex;align-items:flex-start;gap:16px;min-width:0;flex:1 1 350px}
.workspaceHeading{min-width:0;flex:1}.workspaceHeading .eyebrow{margin:0 0 12px}.workspaceHeading h1{margin:0 0 9px;line-height:1.2}.workspaceHeading .muted{margin:0;line-height:1.5}
.workspaceHeaderActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto;min-height:48px}
.workspaceHeaderActions .workspaceBell{margin:0;order:0;width:46px;height:46px;border-radius:12px;box-shadow:none}
.workspaceHeaderActions .usage{order:1;margin:0;min-width:225px;width:auto;border-radius:13px;box-shadow:none}
.workspaceHeaderMain .backBtn{position:static!important;transform:none!important;margin:0!important;min-height:44px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border-radius:11px;padding:0 14px;font-size:13px;font-weight:650;box-shadow:none;line-height:1}
.workspaceHeaderMain .backBtn.hidden{display:none!important}
#account .subscriptionPanel{display:flex;flex-direction:column;gap:13px}
#account .subscriptionTop{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#account .subscriptionTop h3{margin:0}.subscriptionStatus{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;font-weight:650;padding:6px 10px;border:1px solid var(--border);border-radius:999px}
.subscriptionStatus:before{content:"";width:7px;height:7px;border-radius:50%;background:#23a16e}
#account .subscriptionPanel .details{margin:0;padding:8px 0 14px}
#account .subscriptionPanel .ghost{align-self:flex-start;margin-top:auto}
#account .creditsHeading{font-size:16px!important;font-weight:700!important;letter-spacing:-.02em!important}
#account .accountCreditGrid strong{font-size:clamp(18px,2vw,23px)!important;font-weight:650!important;letter-spacing:-.015em!important;line-height:1.3;font-variant-numeric:tabular-nums}
#settings .settingsGrid{display:flex;flex-direction:column;gap:24px;max-width:920px}
#settings .settingsAppearance{width:100%;border:1px solid var(--border);border-radius:14px;padding:24px}
#settings .settingsSimpleGroup{padding:0 3px;display:block}
#settings .settingsSimpleSection{padding:20px 0;border-bottom:1px solid var(--border)}
#settings .settingsSimpleSection:first-child{padding-top:0}
#settings .settingsSimpleSection h2{font-size:15px;margin:0 0 12px;font-weight:680;letter-spacing:-.01em}
#settings .settingsSimpleSection .preferenceRow{padding:12px 0;border-bottom:0}
#settings .settingsSimpleSection .preferenceRow+.preferenceRow{border-top:1px solid var(--border)}
#settings .settingsSimpleSection .preferenceRow strong{font-size:13px;font-weight:600}
#settings .settingsSimpleSection .securityExpand{margin:0;padding:0;width:100%;border:0;border-radius:0;background:transparent;font-size:15px;font-weight:680;text-align:left;min-height:32px}
#settings .settingsSimpleSection .securityExpand span{font-size:17px;color:var(--muted)}
#settings .settingsSecurity #changePasswordForm:not(.hidden){max-width:460px;padding:18px 0 6px}
#settings .settingsPlainLink,#settings .settingsSupportLine a{font-size:13px;color:var(--accent);text-decoration:none}
#settings .settingsSupportLine{margin:0;font-size:13px;color:var(--muted);line-height:1.7}
@media(max-width:900px){#app main>.workspaceHeader{gap:14px}.workspaceHeaderActions{margin-left:auto}.workspaceHeaderActions .usage{min-width:175px}}
@media(max-width:600px){#app main>.workspaceHeader{flex-direction:column}.workspaceHeaderMain{flex-basis:auto;width:100%;gap:11px}.workspaceHeaderActions{width:100%;justify-content:flex-end}.workspaceHeaderActions .usage{flex:1;min-width:0}.workspaceHeading h1{font-size:26px}#settings .settingsAppearance{padding:18px}}
/* Compact workspace navigation and accessible password form */
.workspaceHeaderMain .backBtn{padding:0 17px;min-width:74px;justify-content:center;letter-spacing:0;font-size:13px;font-weight:600}
#settings .settingsSecurity #changePasswordForm:not(.hidden){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;max-width:650px;padding:22px 0 6px}
#settings #changePasswordForm label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:var(--muted);min-width:0}
#settings #changePasswordForm input{width:100%;min-height:44px;border:1px solid var(--border);border-radius:9px;background:var(--panel);color:var(--text);padding:10px 12px;box-shadow:none;outline-offset:2px;font-size:14px}
#settings #changePasswordForm input:focus{border-color:var(--accent);outline:2px solid color-mix(in srgb,var(--accent) 16%,transparent)}
#settings #changePasswordForm .primary{grid-column:1/-1;justify-self:start;min-height:42px;width:auto;min-width:160px;padding:0 20px;font-size:13px;font-weight:650;border-radius:9px}
#settings .settingsSimpleGroup,#settings .settingsAppearance{max-width:100%}
#settings .settingsSimpleSection h2,#settings .settingsSimpleSection .securityExpand{line-height:1.4}
@media(max-width:620px){#settings .settingsSecurity #changePasswordForm:not(.hidden){grid-template-columns:1fr}#settings #changePasswordForm .primary{width:100%}}
/* Xeelist workspace refinements: blue Back, fluid settings, minimal password form */
#app .workspaceHeaderMain .backBtn:not(.hidden){
appearance:none;display:inline-flex;align-items:center;justify-content:center;
min-width:78px;min-height:40px;padding:0 17px;margin:0;
background:#315eea!important;color:#fff!important;border:1px solid #315eea!important;
border-radius:10px;font-size:14px;font-weight:600;line-height:1.2;font-family:inherit;letter-spacing:0;box-shadow:none;
text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease;
}
#app .workspaceHeaderMain .backBtn:not(.hidden):hover{background:#244ac1!important;border-color:#244ac1!important}
#app .workspaceHeaderMain .backBtn:focus-visible{outline:3px solid rgba(49,94,234,.25);outline-offset:3px}
#settings{width:100%;max-width:none!important;min-width:0;box-sizing:border-box}
#settings .workspaceIntro,#settings .settingsGrid{width:100%;max-width:none!important;min-width:0;box-sizing:border-box}
#settings .settingsGrid{display:flex!important;flex-direction:column;gap:0!important;align-items:stretch}
#settings .settingsAppearance{width:100%;max-width:none!important;box-sizing:border-box;margin-bottom:14px}
#settings .settingsSimpleGroup{width:100%;max-width:none!important;box-sizing:border-box;padding:0!important}
#settings .settingsSimpleSection{width:100%;box-sizing:border-box;padding:22px 0!important}
#settings .settingsSimpleSection h2,#settings .settingsSimpleSection .securityExpand{font-size:15px!important;font-weight:650!important;line-height:1.5!important;letter-spacing:0!important}
#settings .settingsSimpleSection .preferenceRow{width:100%;box-sizing:border-box}
#settings .settingsSecurity #changePasswordForm:not(.hidden){
display:flex!important;flex-direction:column!important;align-items:stretch;gap:14px!important;
width:min(100%,390px)!important;max-width:390px!important;padding:16px 0 4px!important;
}
#settings #changePasswordForm label{display:flex;flex-direction:column;gap:6px!important;width:100%;font-size:13px!important;font-weight:500!important;color:var(--text)!important}
#settings #changePasswordForm input{margin:0!important;width:100%;min-height:42px;border-radius:8px;font-size:14px}
#settings #changePasswordForm .primary{width:auto!important;min-width:0!important;align-self:flex-start;min-height:40px;padding:0 17px!important;font-size:13px!important;font-weight:600!important;border-radius:8px}
@media(max-width:650px){
#app .workspaceHeaderMain .backBtn:not(.hidden){min-width:70px;min-height:38px;padding:0 13px;font-size:13px}
#settings .settingsAppearance{padding:18px!important}
#settings .settingsSecurity #changePasswordForm:not(.hidden){width:100%!important;max-width:100%!important}
#settings #changePasswordForm .primary{width:100%!important;align-self:stretch}
}
/* Final refinement: consistent settings width, typography, and minimal password form */
#app main #settings.view{width:100%;max-width:100%;min-width:0;margin:0;box-sizing:border-box}
#settings .workspaceIntro{max-width:100%;margin:0 0 16px}
#settings .settingsGrid{width:100%;max-width:100%;display:flex;flex-direction:column;align-items:stretch;gap:0}
#settings .settingsAppearance{max-width:100%;width:100%;margin:0 0 12px}
#settings .settingsSimpleGroup{width:100%;max-width:100%;padding:0}
#settings .settingsSimpleSection{padding:20px 0!important}
#settings .settingsSimpleSection h2,#settings .settingsSimpleSection .securityExpand{font-size:15px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:-.01em!important}
#settings .settingsSecurity #changePasswordForm:not(.hidden){display:flex!important;flex-direction:column!important;gap:12px!important;width:100%!important;max-width:360px!important;padding:14px 0 0!important}
#settings #changePasswordForm label{font-size:13px!important;font-weight:500!important;gap:6px!important}
#settings #changePasswordForm input{height:42px;min-height:42px;padding:9px 12px;border-radius:8px;box-shadow:none}
#settings #changePasswordForm .primary{width:auto!important;min-height:39px!important;min-width:0!important;padding:0 16px!important;font-size:13px!important;font-weight:600!important;border-radius:8px!important}
#app .workspaceHeaderMain #backBtn.backBtn:not(.hidden){min-height:39px!important;min-width:76px!important;padding:0 16px!important;background:#315eea!important;border-color:#315eea!important;color:#fff!important;font:600 14px/1.2 system-ui,-apple-system,'Segoe UI',sans-serif!important;letter-spacing:0!important;border-radius:9px!important}
#app .workspaceHeaderMain #backBtn.backBtn:not(.hidden):hover{background:#264cc7!important;border-color:#264cc7!important}
@media(max-width:600px){#settings .settingsAppearance{padding:18px!important}#settings .settingsSecurity #changePasswordForm:not(.hidden){max-width:100%!important}#settings #changePasswordForm .primary{width:100%!important}}
/* Minimal SaaS workspace header — approved compact design */
#app main>.workspaceHeader{align-items:center;gap:18px;margin-bottom:24px;flex-wrap:nowrap;padding:0 0 2px}
#app .workspaceHeaderMain{align-items:center;gap:13px;flex:1 1 auto;min-width:0}
#app .workspaceHeading{display:flex;flex-direction:column;gap:3px;min-width:0}
#app .workspaceHeading .eyebrow{display:none!important}
#app .workspaceHeading h1{font-size:23px;line-height:1.24;font-weight:700;letter-spacing:-.035em;margin:0}
#app .workspaceHeading .muted{font-size:15px;line-height:1.45;font-weight:600;letter-spacing:-.035em;margin:0;color:var(--muted)}
#app .workspaceHeaderMain #backBtn.backBtn:not(.hidden){display:grid!important;place-items:center;flex:0 0 42px;width:42px;min-width:42px!important;height:42px;min-height:42px!important;padding:0!important;border-radius:12px!important;background:color-mix(in srgb,var(--accent) 10%,var(--panel))!important;border:1px solid transparent!important;color:var(--accent)!important;box-shadow:none!important}
#app .workspaceHeaderMain #backBtn.backBtn:not(.hidden):hover{background:color-mix(in srgb,var(--accent) 17%,var(--panel))!important;border-color:color-mix(in srgb,var(--accent) 15%,transparent)!important}
#app .workspaceHeaderMain #backBtn.backBtn svg{display:block}
#app .workspaceHeaderActions{align-items:center;gap:11px;min-height:42px;flex:0 0 auto}
#app .workspaceHeaderActions .workspaceBell{display:grid;place-items:center;order:0;margin:0;width:42px;height:42px;border-radius:50%!important;background:var(--panel);border:1px solid var(--border);box-shadow:none}
#app .workspaceHeaderActions .workspaceBell:hover{background:var(--panel2)}
#app .workspaceHeaderActions .usage{order:1;min-width:0;width:auto;max-width:260px;margin:0;padding:9px 13px;border-radius:12px;box-shadow:none}
#app .workspaceHeaderActions .usage b{font-size:13px;line-height:1.4}
#app .workspaceHeaderActions .usage span{font-size:11px}
#app .workspaceHeaderActions .usage i{margin-top:6px}
@media(max-width:760px){#app main>.workspaceHeader{flex-wrap:wrap;gap:12px}#app .workspaceHeaderMain{width:auto;flex:1 1 220px}#app .workspaceHeaderActions{width:auto;margin-left:auto;justify-content:flex-end}#app .workspaceHeading h1{font-size:20px}#app .workspaceHeaderActions .usage{max-width:195px}}
@media(max-width:480px){#app main>.workspaceHeader{align-items:flex-start}#app .workspaceHeaderMain{flex-basis:100%;width:100%}#app .workspaceHeaderActions{width:100%;justify-content:flex-end}#app .workspaceHeaderActions .usage{flex:0 1 auto;max-width:calc(100% - 55px)}#app .workspaceHeading .muted{font-size:11px}}

/* Notification bell: true optical and geometric centering inside 42px circle. */
#app .workspaceHeaderActions button.workspaceBell,
#app .workspaceHeaderActions #userNotificationBell {
position:relative!important;
display:flex!important;
align-items:center!important;
justify-content:center!important;
flex:0 0 42px!important;
width:42px!important;
min-width:42px!important;
max-width:42px!important;
height:42px!important;
min-height:42px!important;
max-height:42px!important;
padding:0!important;
margin:0!important;
box-sizing:border-box!important;
line-height:0!important;
border-radius:50%!important;
vertical-align:middle!important;
}
#app .workspaceHeaderActions #userNotificationBell > svg {
display:block!important;
position:absolute!important;
left:50%!important;
top:50%!important;
width:20px!important;
height:20px!important;
margin:0!important;
padding:0!important;
transform:translate(-50%,-50%)!important;
transform-origin:center!important;
flex:none!important;
pointer-events:none;
}
/* Unread badge stays at top-right without shifting the bell. */
#app .workspaceHeaderActions #userNotificationBell > .bellCount:not(:empty){
position:absolute!important;
top:-6px!important;
right:-6px!important;
left:auto!important;
transform:none!important;
line-height:14px!important;
}
/* Xeelist notification inbox — compact, accessible SaaS treatment */
#notificationPopover{width:min(390px,calc(100vw - 24px));border-radius:15px;box-shadow:0 18px 55px rgba(16,24,40,.15);border:1px solid var(--border);}
#notificationPopover .notificationPopoverHead{padding:17px 18px 14px;align-items:center;}
#notificationPopover .notificationPopoverHead h3{font-size:16px;letter-spacing:-.02em;font-weight:700;}
#notificationPopover .notificationPopoverHead p{font-size:12px;margin-top:3px;}
#notificationPopover .notificationClose{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;font-size:21px;line-height:1;}
#notificationPopover .notificationClose:hover{background:var(--panel2);color:var(--text);}
#notificationPopover .notificationFeed{padding:7px;min-height:95px;max-height:min(420px,58vh);}
#notificationPopover .accountNotice{position:relative;border-radius:9px;padding:13px 14px 13px 17px;margin:2px 0;border:0;border-bottom:1px solid var(--border);line-height:1.4;transition:background .15s ease;}
#notificationPopover .accountNotice:last-child{border-bottom:0;}
#notificationPopover .accountNotice.unread{border-left:0;background:color-mix(in srgb,#315bea 7%,var(--panel));}
#notificationPopover .accountNotice.unread::before{content:"";position:absolute;top:17px;left:6px;width:6px;height:6px;border-radius:50%;background:#315bea;}
#notificationPopover .accountNotice strong{font-size:13px;font-weight:650;display:block;padding-right:4px;}
#notificationPopover .accountNotice p{font-size:12px;margin:5px 0 7px!important;line-height:1.55;}
#notificationPopover .accountNotice small{font-size:11px;}
#notificationPopover .notificationPopoverFoot{padding:11px 17px;gap:12px;align-items:center;}
#notificationPopover .notificationPopoverFoot button{font-size:12px;font-weight:600;padding:7px 3px;border-radius:6px;}
#notificationPopover .notificationPopoverFoot button:hover{text-decoration:underline;}
#userNotificationBell .bellCount.hidden{display:none!important;}
@media(max-width:650px){#notificationPopover{right:12px;top:72px;max-height:calc(100dvh - 85px);}}
/* Compact notification heading: title and timestamp share one line. */
#notificationPopover .noticeTitleLine,.accountNotice .noticeTitleLine{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0;}
#notificationPopover .noticeTitleLine strong,.accountNotice .noticeTitleLine strong{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:650;}
#notificationPopover .noticeTitleLine small,.accountNotice .noticeTitleLine small{flex:0 0 auto;white-space:nowrap;color:var(--muted);font-size:10px;font-weight:400;text-align:right;}
#notificationPopover .accountNotice p{margin:5px 0 0!important;}
/* Admin broadcast composer — quiet, structured, responsive. */
#ownerBroadcastPanel.ownerBroadcastPanel{max-width:760px;margin-top:24px;padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--panel);}
#ownerBroadcastPanel .broadcastHeading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;}
#ownerBroadcastPanel .broadcastHeading h4{font-size:16px;font-weight:650;letter-spacing:-.015em;margin:0 0 5px;}
#ownerBroadcastPanel .broadcastHeading p{font-size:12px;margin:0;line-height:1.5;}
#ownerBroadcastPanel .broadcastChannel{white-space:nowrap;border:1px solid var(--border);border-radius:999px;padding:5px 10px;color:var(--muted);font-size:11px;font-weight:600;}
#ownerBroadcastPanel form{display:grid;gap:18px;}
#ownerBroadcastPanel .broadcastField{display:grid;gap:7px;min-width:0;}
#ownerBroadcastPanel .broadcastField label{font-size:12px;font-weight:650;color:var(--text);}
#ownerBroadcastPanel .broadcastField input,#ownerBroadcastPanel .broadcastField select,#ownerBroadcastPanel .broadcastField textarea{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:9px;background:var(--panel);color:var(--text);padding:11px 12px;font-size:13px;line-height:1.5;outline-offset:2px;}
#ownerBroadcastPanel .broadcastField textarea{resize:vertical;min-height:112px;}
#ownerBroadcastPanel .broadcastHint{font-size:11px;color:var(--muted);}
#ownerBroadcastPanel .broadcastActions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:2px;}
#ownerBroadcastPanel .broadcastActions button{width:auto;min-height:39px;padding:9px 17px;border-radius:9px;font-size:12px;font-weight:650;}
#ownerBroadcastPanel .broadcastActions p{margin:0;font-size:12px;}
@media(max-width:540px){#ownerBroadcastPanel.ownerBroadcastPanel{padding:17px;}#ownerBroadcastPanel .broadcastHeading{gap:8px;flex-wrap:wrap;}#notificationPopover .noticeTitleLine{align-items:flex-start;}#notificationPopover .noticeTitleLine small{font-size:9px;max-width:105px;white-space:normal;}}
/* Notification unread badge: perfectly centered glyph in a fixed circle. */
#app .workspaceHeaderActions #userNotificationBell > .bellCount:not(:empty){display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;border:2px solid var(--panel)!important;border-radius:50%!important;font-size:10px!important;font-weight:700!important;line-height:1!important;text-align:center!important;font-variant-numeric:tabular-nums!important;}
#app .workspaceHeaderActions #userNotificationBell > .bellCount:not(:empty){top:-6px!important;right:-6px!important;}
#notificationPopover .noticeTitleLine.noticeNoTitle{align-items:flex-start;}
#notificationPopover .noticeNoTitle p{flex:1;min-width:0;margin:0!important;color:var(--text);}
#notificationPopover .noticeNoTitle small{padding-top:2px;}
/* Admin announcements: nested collapsible section, no redundant card chrome. */
#ownerBroadcastPanel.ownerBroadcastAccordion{max-width:none;margin:16px 0 0;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--panel);overflow:visible;}
#ownerBroadcastPanel .broadcastAccordionSummary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:16px 18px;font-size:14px;font-weight:650;color:var(--text);}
#ownerBroadcastPanel .broadcastAccordionSummary::-webkit-details-marker{display:none;}
#ownerBroadcastPanel .broadcastAccordionChevron{width:8px;height:8px;border-right:1.8px solid var(--muted);border-bottom:1.8px solid var(--muted);transform:rotate(45deg);transition:transform .15s;}
#ownerBroadcastPanel[open] .broadcastAccordionChevron{transform:rotate(225deg);}
#ownerBroadcastPanel .broadcastAccordionBody{border-top:1px solid var(--border);padding:20px;}
#ownerBroadcastPanel .broadcastHeading{margin-bottom:18px;}
#ownerBroadcastPanel .broadcastOptional{font-size:11px;font-weight:400;color:var(--muted);margin-left:5px;}
#ownerBroadcastPanel .broadcastNativeSelect{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;padding:0!important;}
#ownerBroadcastPanel .broadcastSelect{position:relative;}
#ownerBroadcastPanel .broadcastSelectButton{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:43px;text-align:left;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:9px;padding:10px 13px;font:inherit;font-size:13px;cursor:pointer;}
#ownerBroadcastPanel .broadcastSelectButton:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
#ownerBroadcastPanel .broadcastSelectChevron{width:8px;height:8px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg);margin-right:4px;}
#ownerBroadcastPanel .broadcastSelectMenu{position:absolute;z-index:100;left:0;right:0;top:calc(100% + 5px);background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:5px;box-shadow:0 14px 30px rgba(10,25,50,.15);max-height:240px;overflow:auto;}
#ownerBroadcastPanel .broadcastSelectMenu.hidden{display:none!important;}
#ownerBroadcastPanel .broadcastSelectMenu button{display:block;width:100%;border:0;border-radius:7px;background:transparent;color:var(--text);text-align:left;padding:10px 11px;font-size:13px;cursor:pointer;}
#ownerBroadcastPanel .broadcastSelectMenu button:hover,#ownerBroadcastPanel .broadcastSelectMenu button:focus-visible{background:var(--panel2);outline:none;}
#ownerBroadcastPanel .broadcastSelectMenu button[aria-selected=true]{color:var(--accent);font-weight:650;background:color-mix(in srgb,var(--accent) 8%,var(--panel));}
@media(max-width:540px){#ownerBroadcastPanel .broadcastAccordionBody{padding:14px;}}
/* AI Management: announcement is a peer accordion, not a nested admin notification card. */
#ownerBroadcastPanel.ownerBroadcastAccordion{margin:0;max-width:none;padding:0;overflow:visible;border:1px solid var(--border);border-radius:18px;background:var(--panel);}
#ownerBroadcastPanel.ownerBroadcastAccordion>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;padding:24px 27px;min-height:86px;}
#ownerBroadcastPanel.ownerBroadcastAccordion>summary::-webkit-details-marker{display:none;}
#ownerBroadcastPanel.ownerBroadcastAccordion>summary h3{margin:0;font-size:18px;line-height:1.35;font-weight:650;letter-spacing:-.025em;}
#ownerBroadcastPanel.ownerBroadcastAccordion>.broadcastAccordionBody{border-top:1px solid var(--border);padding:22px 27px 26px;}
/* Subtle and consistent headings across AI Management accordions. */
#aiManagement .aiAccordion>summary h3{font-size:18px;font-weight:650;letter-spacing:-.025em;line-height:1.35;}
@media(max-width:640px){#ownerBroadcastPanel.ownerBroadcastAccordion>summary{padding:17px 18px;min-height:64px;}#ownerBroadcastPanel.ownerBroadcastAccordion>summary h3,#aiManagement .aiAccordion>summary h3{font-size:16px;}#ownerBroadcastPanel.ownerBroadcastAccordion>.broadcastAccordionBody{padding:16px;}}
/* Dashboard + My Listings only: match existing Competitors action button dimensions.
Competitors CSS/markup is intentionally untouched. */
#recent .listingRow .sourcePreviewActions button,
#listingRows .listingRow .sourcePreviewActions button {
box-sizing: border-box;
display: inline-flex;
align-items: center;
justify-content: center;
width: auto;
height: auto;
min-width: 0;
min-height: 0;
padding: 7px 11px;
font-size: 12px;
font-weight: 400;
line-height: normal;
white-space: nowrap;
}
#recent .listingRow .sourcePreviewActions,
#listingRows .listingRow .sourcePreviewActions {
align-items: center;
gap: 8px;
}
/* Privacy Policy popup content only */
#xeelistPrivacyModal #xeelistPrivacyContent {
font-family: system-ui, Arial, sans-serif;
font-size: 12px;
line-height: 1.6;
color: #17243b;
}
#xeelistPrivacyModal #xeelistPrivacyContent h1 {
font-size: 16px !important;
line-height: 1.4 !important;
font-weight: 700;
margin: 0 0 12px;
}
#xeelistPrivacyModal #xeelistPrivacyContent h2 {
font-size: 14px !important;
line-height: 1.4 !important;
font-weight: 700;
margin: 20px 0 8px;
}
#xeelistPrivacyModal #xeelistPrivacyContent h3 {
font-size: 13px !important;
line-height: 1.4 !important;
margin: 16px 0 8px;
}
#xeelistPrivacyModal #xeelistPrivacyContent p,
#xeelistPrivacyModal #xeelistPrivacyContent li {
font-size: 12px !important;
line-height: 1.6 !important;
margin: 0 0 12px;
}
#xeelistPrivacyModal #xeelistPrivacyContent a {
color: #285ad6;
}
/* Compact password recovery UI — scoped; no login/signup or API changes */
#auth #passwordRecoveryPanel.accountRecovery {
max-width: 370px;
margin: 12px auto 0;
padding: 16px 18px;
border-radius: 14px;
}
#auth #passwordRecoveryPanel h3 {
font-size: 20px;
line-height: 1.3;
margin: 0 0 6px;
letter-spacing: -.025em;
}
#auth #passwordRecoveryPanel #recoveryHint {
font-size: 12px;
line-height: 1.5;
margin: 0 0 12px;
}
#auth #passwordRecoveryForm { gap: 9px; }
#auth #passwordRecoveryForm input {
min-height: 44px;
padding: 10px 12px;
border-radius: 10px;
font-size: 14px;
box-sizing: border-box;
}
#auth #passwordRecoveryForm #recoverySubmit {
min-height: 44px;
padding: 10px 14px;
border-radius: 10px;
font-size: 14px;
}
#auth #passwordRecoveryPanel #recoveryMessage {
margin: 9px 0 0;
font-size: 12px;
line-height: 1.5;
}
#auth #passwordRecoveryPanel #recoveryMessage:empty { display: none; }
#auth #passwordRecoveryPanel #recoveryBack { margin-top: 10px; }
/* Reset Password */
#auth #passwordRecoveryPanel #recoveryTitle {
font-family: inherit !important;
font-size: 14px !important;
font-weight: 400 !important;
font-style: normal !important;
letter-spacing: normal !important;
line-height: 1.5 !important;
text-transform: none !important;
}
/* Trial allocation controls: aligned fields and action on all viewport sizes */
#ownerCreditsControls .trialSettingsGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end;margin:16px 0 22px}
#ownerCreditsControls .trialSettingsGrid label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:500;line-height:1.4}
#ownerCreditsControls .trialSettingsGrid input{width:100%;box-sizing:border-box;min-height:46px;margin:0}
#ownerCreditsControls .trialSettingsGrid #saveTrial{min-height:46px;margin:0;padding:10px 18px;white-space:nowrap;align-self:end}
@media(max-width:850px){#ownerCreditsControls .trialSettingsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#ownerCreditsControls .trialSettingsGrid #saveTrial{width:100%}}
@media(max-width:480px){#ownerCreditsControls .trialSettingsGrid{grid-template-columns:1fr}}
/* Notification deletion controls */
.accountNoticeWrap{display:flex;align-items:stretch;position:relative;min-width:0}
.accountNoticeWrap .accountNotice{flex:1;min-width:0;padding-right:9px!important}
.accountNoticeDelete{align-self:center;flex-shrink:0;width:30px;height:30px;border:0;background:transparent;color:var(--muted);font-size:19px;border-radius:7px;cursor:pointer}
.accountNoticeDelete:hover{background:var(--panel2);color:#b42318}
#notificationPopover .notificationPopoverFoot{flex-wrap:wrap}
#accountNotificationsDeleteAll{color:#b42318!important}
.ownerAlert{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.ownerNoticeDelete{margin-left:auto;border:1px solid var(--border);background:transparent;color:#b42318;border-radius:7px;padding:5px 9px;font-size:12px;cursor:pointer}
.ownerNoticeDelete:hover{background:rgba(180,35,24,.07)}
.ownerNoticeClear{display:block;margin:4px 0 12px auto;border:1px solid var(--border);background:transparent;color:#b42318;border-radius:7px;padding:8px 11px;font-size:12px;cursor:pointer}
/* Professional notification delete icon + custom tooltip (scoped) */
.accountNoticeDelete,.ownerNoticeDelete{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#69788f;font-size:initial;line-height:1;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}
.accountNoticeDelete svg,.ownerNoticeDelete svg{display:block;width:16px;height:16px;pointer-events:none}
.accountNoticeDelete:hover,.ownerNoticeDelete:hover{background:#fff1f0;color:#b42318;border-color:#f4d0cc}
.accountNoticeDelete:focus-visible,.ownerNoticeDelete:focus-visible{outline:2px solid #5b5ce2;outline-offset:2px}
.accountNoticeDelete[data-tooltip]::after,.ownerNoticeDelete[data-tooltip]::after{content:attr(data-tooltip);position:absolute;z-index:100;right:0;bottom:calc(100% + 9px);white-space:nowrap;padding:7px 10px;border-radius:7px;background:#1e293b;color:#fff;font:500 11px/1.3 system-ui,Arial,sans-serif;box-shadow:0 5px 16px rgba(0,0,0,.16);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(3px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease}
.accountNoticeDelete[data-tooltip]:hover::after,.accountNoticeDelete[data-tooltip]:focus-visible::after,.ownerNoticeDelete[data-tooltip]:hover::after,.ownerNoticeDelete[data-tooltip]:focus-visible::after{opacity:1;visibility:visible;transform:translateY(0)}
@media(hover:none){.accountNoticeDelete[data-tooltip]::after,.ownerNoticeDelete[data-tooltip]::after{display:none}}
/* User notification popup: keep the first delete tooltip inside the scroll area. */
#notificationPopover .notificationFeed > .accountNoticeWrap:first-child .accountNoticeDelete[data-tooltip]::after {
top: calc(100% + 8px);
bottom: auto;
}
#notificationPopover .notificationFeed > .accountNoticeWrap:first-child {
position: relative;
z-index: 1;
}
#notificationPopover .notificationFeed {
padding-top: 12px;
}
/* Phase 5.1: improve dashboard subtitle contrast without changing global muted text. */
#pageSub{color:#526077}


/* =========================================
   MY ACCOUNT - ALL 3 BUTTONS
   Save name, Log out, View plans
========================================= */

#account {
    /* BUTTON SIZE */
    --account-btn-font-size: 16px;
    --account-btn-font-weight: 600;
    --account-btn-padding-y: 14px;
    --account-btn-padding-x: 24px;
    --account-btn-radius: 12px;

    /* DEFAULT COLOR - SAME AS SAVE NAME */
    --account-btn-bg: #5B57E8;
    --account-btn-text: #ffffff;
    --account-btn-border: #5B57E8;

    /* HOVER COLORS */
    --account-btn-hover-bg: #4945D5;
    --account-btn-hover-text: #ffffff;
    --account-btn-hover-border: #4945D5;

    /* HOVER EFFECT */
    --account-btn-hover-move: -2px;
    --account-btn-hover-shadow:
        0 7px 18px rgba(91, 87, 232, 0.22);
}

/* ALL ACCOUNT BUTTONS */

#account button {
    font-size: var(--account-btn-font-size);
    font-weight: var(--account-btn-font-weight);

    background-color: var(--account-btn-bg);
    color: var(--account-btn-text);
    border: 1px solid var(--account-btn-border);
    border-radius: var(--account-btn-radius);

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* ONLY LOG OUT AND VIEW PLANS PADDING */
#account button:not(.primary) {
    padding:
        var(--account-btn-padding-y)
        var(--account-btn-padding-x);
}

/* HOVER - ALL 3 BUTTONS */

#account button:hover {
    background-color: var(--account-btn-hover-bg);
    color: var(--account-btn-hover-text);
    border-color: var(--account-btn-hover-border);

    transform: translateY(
        var(--account-btn-hover-move)
    );

    box-shadow: var(--account-btn-hover-shadow);
}

/* CLICK EFFECT */

#account button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* KEYBOARD FOCUS */

#account button:focus-visible {
    outline: 2px solid var(--account-btn-hover-bg);
    outline-offset: 3px;
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    #account button {
        transition: none;
    }

    #account button:hover {
        transform: none;
    }
}


/* =========================================
   XEELIST - UPGRADE PLAN
   Corrected selectors
========================================= */

#plans {
    /* BUTTON CUSTOMIZATION */
    --plan-btn-font-size: 16px;
    --plan-btn-font-weight: 600;
    --plan-btn-padding-y: 14px;
    --plan-btn-padding-x: 24px;
    --plan-btn-radius: 12px;

    /* DEFAULT PURPLE-BLUE */
    --plan-btn-bg: #5B57E8;
    --plan-btn-text: #ffffff;

    /* HOVER */
    --plan-btn-hover-bg: #4945D5;
    --plan-btn-hover-text: #ffffff;

    /* CARD HOVER */
    --plan-card-hover-bg: #ffffff;
    --plan-card-hover-border: #5B57E8;
    --plan-card-hover-move: -5px;
    --plan-card-radius: 18px;
}

/* =========================================
   ALL PLAN BUTTONS
   Including Current Plan
========================================= */

#plans [data-plan] {
    font-size: var(--plan-btn-font-size);
    font-weight: var(--plan-btn-font-weight);

    padding:
        var(--plan-btn-padding-y)
        var(--plan-btn-padding-x);

    background: var(--plan-btn-bg);
    color: var(--plan-btn-text);
    border: 1px solid var(--plan-btn-bg);
    border-radius: var(--plan-btn-radius);

    cursor: pointer;

    transition:
        background-color .22s ease,
        border-color .22s ease,
        color .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

/* HOVER - ALL BUTTONS */

#plans [data-plan]:hover {
    background: var(--plan-btn-hover-bg);
    color: var(--plan-btn-hover-text);
    border-color: var(--plan-btn-hover-bg);

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(91, 87, 232, .22);
}

/* CURRENT PLAN - DEFAULT */

#plans [data-plan]:disabled {
    background: var(--plan-btn-bg);
    color: var(--plan-btn-text);
    border-color: var(--plan-btn-bg);

    opacity: 1;
    cursor: default;
}

/* CURRENT PLAN - HOVER */

#plans [data-plan]:disabled:hover {
    background: var(--plan-btn-hover-bg);
    color: var(--plan-btn-hover-text);
    border-color: var(--plan-btn-hover-bg);

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(91, 87, 232, .22);
}

/* BUTTON CLICK */

#plans [data-plan]:not(:disabled):active {
    transform: translateY(0);
    box-shadow: none;
}

/* =========================================
   COMPLETE PLAN CARD HOVER
   Free, Business, Premium, Enterprise
========================================= */

#plans [data-plan-card] {
    border-radius: var(--plan-card-radius);

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        background-color .28s ease;
}

/* ALL PLAN CARDS HOVER */

#plans [data-plan-card]:hover {
    transform:
        translateY(var(--plan-card-hover-move));

    background: var(--plan-card-hover-bg);
    border-color: var(--plan-card-hover-border);

    box-shadow:
        0 14px 32px rgba(91, 87, 232, .16);
}

/* CURRENT PLAN CARD - KEEP SELECTED BORDER */

#plans [data-plan-card].currentPlan {
    border-color: #5B57E8;
}

/* CURRENT PLAN CARD - HOVER */

#plans [data-plan-card].currentPlan:hover {
    border-color: #4945D5;

    box-shadow:
        0 14px 34px rgba(91, 87, 232, .23);
}

/* KEYBOARD FOCUS */

#plans [data-plan]:focus-visible {
    outline: 2px solid #4945D5;
    outline-offset: 3px;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    #plans [data-plan],
    #plans [data-plan-card] {
        transition: none;
    }

    #plans [data-plan]:hover,
    #plans [data-plan-card]:hover {
        transform: none;
    }
}

/* Xeelist plan benefits: one checked feature per line */
#plans .planFeatureList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#plans .planFeatureItem {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.55;
}
#plans .planFeatureCheck {
  color: #5B57E8;
  font-weight: 700;
  flex: 0 0 auto;
}

/* Xeelist pricing features: add to the end of static/style.css */
#plans .planFeatureList{display:flex;flex-direction:column;gap:10px}
#plans .planFeatureItem{display:flex;align-items:flex-start;gap:11px;line-height:1.55}
#plans .planFeatureCheck{color:#5B57E8;font-weight:700;flex:0 0 auto}
#plans [data-plan-card] b[hidden]{display:none!important}

/* Free plan: Live Chat Support is unavailable */
#plans .planFeatureUnavailable{color:#94a3b8}
#plans .planFeatureUnavailable .planFeatureCheck{color:#dc5665}

/* AI Management: bulk plan saving */
.ownerPlanSaveActions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px;margin:16px 0 24px}
.ownerPlanSaveActions button{min-width:215px}
#ownerPlanSaveMessage{font-size:13px;color:var(--muted,#64748b)}

/* Heading & Subtitle Spacing */
.workspaceHeading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.workspaceHeading h2 {
    margin: 0;
}

.workspaceHeading #pageSub {
    margin: 0;
    line-height: 1.4;
}

/* Xeelist - Premium Marketplace Buttons */

.platform {
    background: #FFFFFF;
    color: #172B4D;
    border: 1px solid #E0E7F1;
    border-radius: 12px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Hover - Blue Border & Text Only */
.platform:not(.active):hover {
    background: #FFFFFF !important;
    border-color: #2563EB !important;
    color: #2563EB !important;
    transform: none !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

/* Selected Marketplace */
.platform.active {
    background: linear-gradient(135deg, #2563EB, #4F46E5);
    border-color: #2563EB;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.20);
}

/* Selected Hover */
.platform.active:hover {
    background: linear-gradient(135deg, #1D4ED8, #4338CA);
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(37, 99, 235, 0.25);
}

/* Keyboard Accessibility */
.platform:focus-visible {
    outline: 3px solid #93C5FD;
    outline-offset: 3px;
}

/* Professional Blue Upload Icon */
#new .uploadIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: #EFF6FF;
    border-radius: 17px;
    color: #2563EB;
    margin: 0 auto 18px;
    transition: transform 0.25s ease;
}

#new .uploadIcon svg {
    width: 26px;
    height: 26px;
    stroke: #2563EB !important;
}

#new .drop:hover .uploadIcon {
    transform: translateY(-3px);
}
/* Compact page header for Xeelist workspace (duplicate titles removed) */
.workspaceHeaderMain{display:flex;align-items:center;gap:14px}
.workspaceHeading{display:flex;flex-direction:column;gap:3px}
.workspaceHeading h2{margin:0!important;line-height:1.25}
.workspaceHeading #pageSub{margin:0!important;line-height:1.4}
.workspaceHeader{margin-bottom:16px}
#listings>.sectionHead,#images>.sectionHead,#plans>.sectionHead,#competitors>.sectionHead{margin-top:0}

/* Xeelist Features — Premium Hover Animation */

#features .featureWorkspaceGrid > .featureWorkspaceCard {
    position: relative;
    transition:
        transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;
    will-change: transform;
}

#features .featureWorkspaceGrid > .featureWorkspaceCard:hover {
    transform: translateY(-10px) scale(1.015) !important;
    border-color: #93C5FD !important;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.15) !important;
}

#features .featureWorkspaceIcon {
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.3s ease,
        color 0.3s ease;
}

#features .featureWorkspaceCard:hover .featureWorkspaceIcon {
    transform: translateY(-4px) scale(1.1);
    background: #EFF6FF;
    color: #2563EB;
}

#features .featureWorkspaceCard button {
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

#features .featureWorkspaceCard:hover button {
    background: #EFF6FF;
    border-color: #93C5FD;
    color: #1D4ED8;
}

#features .featureWorkspaceCard button span {
    display: inline-block;
    transition: transform 0.25s ease;
}

#features .featureWorkspaceCard:hover button span {
    transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
    #features .featureWorkspaceCard,
    #features .featureWorkspaceIcon,
    #features .featureWorkspaceCard button,
    #features .featureWorkspaceCard button span {
        transition: none !important;
    }

    #features .featureWorkspaceCard:hover,
    #features .featureWorkspaceCard:hover .featureWorkspaceIcon {
        transform: none !important;
    }
}
/* XEELIST - FEATURES BLUE BUTTONS */

#features .featureWorkspaceCard button {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border: 1px solid #2563EB !important;
    border-radius: 10px;

    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.12);

    transition:
        background 0.25s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease !important;
}

/* Hover */
#features .featureWorkspaceCard button:hover,
#features .featureWorkspaceCard:hover button {
    background: #1D4ED8 !important;
    color: #FFFFFF !important;
    border-color: #1D4ED8 !important;

    box-shadow: 0 7px 18px rgba(37, 99, 235, 0.22);
}

/* Arrow */
#features .featureWorkspaceCard button span {
    color: #FFFFFF !important;
    font-size: 20px;
    transition: transform 0.3s ease;
}

#features .featureWorkspaceCard button:hover span {
    transform: translateX(5px);
}

/* Click */
#features .featureWorkspaceCard button:active {
    transform: scale(0.98);
}

/* Keyboard Focus */
#features .featureWorkspaceCard button:focus-visible {
    outline: 3px solid #93C5FD;
    outline-offset: 3px;
}

/* XEELIST - SHARP FEATURE CARDS */

#features .featureWorkspaceCard {
    transition:
        transform 0.4s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease !important;
}

/* Lift only - no scaling */
#features .featureWorkspaceCard:hover {
    transform: translateY(-8px) !important;

    border-color: #93C5FD !important;

    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.06),
        0 20px 45px rgba(37, 99, 235, 0.10) !important;
}

/* Keep buttons solid blue */
#features .featureWorkspaceCard button,
#features .featureWorkspaceCard:hover button,
#features .featureWorkspaceCard button:hover {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border-color: #2563EB !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
}

/* Darker blue only when button itself is hovered */
#features .featureWorkspaceCard button:hover {
    background: #1D4ED8 !important;
    border-color: #1D4ED8 !important;
}

/* XEELIST - DASHBOARD CREATE LISTING BUTTON */

#dashboard .hero button.primary[data-view="new"] {
    transition: background-color 0.2s ease !important;
    transform: none !important;
    box-shadow: none !important;
}

#dashboard .hero button.primary[data-view="new"]:hover {
    background: #1D4ED8 !important;
    background-image: none !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}

#dashboard .hero button.primary[data-view="new"]:active {
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

/* Keyboard Focus */
#dashboard .hero button.primary[data-view="new"]:focus-visible {
    outline: 3px solid #A5B4FC;
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    #dashboard .hero button.primary[data-view="new"] {
        transition: none !important;
    }

    #dashboard .hero button.primary[data-view="new"]:hover,
    #dashboard .hero button.primary[data-view="new"]:active {
        transform: none !important;
    }
}

/* XEELIST - LISTING PROGRESS BAR */

#listingProgress {
    width: 100%;
    height: 5px;
    margin: 18px 0 12px;
    background: #E7ECF4;
    border-radius: 20px;
    overflow: hidden;
}

#listingProgress.hidden {
    display: none !important;
}

#listingProgress .listingProgressFill {
    width: 35%;
    height: 100%;
    border-radius: inherit;

    background: linear-gradient(
        90deg,
        #22C7E6,
        #36D6C3,
        #52E6A2
    );

    animation: listingProgressMove 1.8s ease-in-out infinite alternate;
}

@keyframes listingProgressMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(185%);
    }
}

@media (prefers-reduced-motion: reduce) {
    #listingProgress .listingProgressFill {
        animation: none;
        width: 100%;
    }
}

/* AI Credits - Compact Width Fix */

#app #myAiCredits {
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    box-sizing: border-box !important;

    /* Slim appearance */
    padding: 7px 12px !important;
    row-gap: 3px !important;
    line-height: 1.2 !important;
}

@media (max-width: 650px) {
    #app #myAiCredits {
        width: min(240px, 100%) !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}


/* XEELIST - AI CREDITS SUBTLE PERMANENT GLOW */

#app #myAiCredits {
    position: relative !important;

    box-shadow: none !important;
    transition: none !important;

    border-color: #C7D9F8 !important;
}

/* AI Credits percentage: desktop below the progress bar, right aligned. */
#app #myAiCredits .myAiCreditsPercentage {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    grid-column: auto !important;
    grid-row: auto !important;
    left: auto !important;
    top: auto !important;
    right: 10px !important;
    bottom: 7px !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    white-space: nowrap !important;
}

/* AI Credits - Top Row Controls */

/* AI Credits Label */
#app #myAiCredits .myAiCreditsLabel {
    position: relative !important;
    left: 0px !important;
    top: 0px !important;

    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Credit Balance: 7,000.00 / 7,000.00 */
#app #myAiCredits .myAiCreditsValue {
    position: relative !important;
    left: 0px !important;
    top: 0px !important;

    font-size: 13px !important;
    font-weight: 600 !important;
}


/* Available Credits - Text & Position Control */

#app #myAiCredits .myAiCreditsFooterLabel {
    position: relative !important;

    left: 2px !important;
    top: 2px !important;

    font-size: 9px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}

/*Blue Filled Notification Bell */

#userNotificationBell svg {
    fill: #2563EB !important;
    stroke: #1D4ED8 !important;
    stroke-width: 1.8px;
}

/* Keep blue notification count */
#userNotificationBell .bellCount {
    background: #2563EB !important;
    color: #FFFFFF !important;
}

/* XEELIST - DASHBOARD STATS PERMANENT GLOW */

#dashboard .stats article {
    /* Always visible subtle blue glow */
    border-color: #D6E4FA !important;

    box-shadow:
        0 3px 10px rgba(37, 99, 235, 0.08),
        0 8px 22px rgba(37, 99, 235, 0.10) !important;

    transition:
        transform 0.35s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease !important;
}

/* Stronger glow on mouse hover */
#dashboard .stats article:hover {
    transform: none !important;
    border-color: #D6E4FA !important;

    box-shadow:
        0 3px 10px rgba(37, 99, 235, 0.08),
        0 8px 22px rgba(37, 99, 235, 0.10) !important;
}

/* Slightly darker blue on hover */
#dashboard .stats article:hover b {
    color: #1D4ED8 !important;
}

/* XEELIST - COPY ALL BUTTON */

/* Normal State */
#copyAll {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 9px !important;

    transform: none !important;
    box-shadow: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease !important;
}

/* Hover State */
#copyAll:hover {
    background: #F8FAFF !important;
    color: #4F46E5 !important;
    border-color: #6366F1 !important;

    transform: none !important;
    box-shadow: none !important;
}

/* Click State */
#copyAll:active {
    transform: none !important;
    box-shadow: none !important;
}

/* Keyboard Focus */
#copyAll:focus-visible {
    outline: 2px solid #A5B4FC;
    outline-offset: 2px;
}
#copyAll {
    font-weight: 700 !important;
}

/* XEELIST - MULTI-TONE BRAND PROGRESS */

#listingProgress .listingProgressFill {
    background: linear-gradient(
        90deg,
        #1D4ED8 0%,    /* Deep Blue */
        #3B82F6 25%,   /* Bright Blue */
        #818CF8 50%,   /* Soft Indigo */
        #8B5CF6 75%,   /* Purple */
        #4F46E5 100%   /* Brand Indigo */
    ) !important;
}

/* XEELIST — MASONRY AND SCROLL FIX */

#results .grid,
#listingDetail .grid {
    grid-auto-rows: 8px !important;
    row-gap: 10px !important;
    align-items: start !important;
}

#results .grid > .card,
#listingDetail .grid > .card {
    min-width: 0 !important;
    height: auto !important;
    align-self: start !important;
}

.shell {
    min-height: 100vh;
    height: auto !important;
}

.shell main {
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
}

#results,
#listingDetail {
    height: auto !important;
    overflow: visible !important;
}

/* Competitor Reports - remove extra spacing */
#competitors .historyPeriodBar {
    margin-bottom: 12px !important;
}

#competitorHistoryList {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#competitorHistoryList .listingRow:first-child {
    margin-top: 0 !important;
}

/* XEELIST - PRICING PLANS TYPOGRAPHY */

/* Entire pricing section */
#plans .plans {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

/* FREE, BUSINESS, PREMIUM, ENTERPRISE */
#plans .plans article > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* $0, $14 / mo, $30 / mo */
#plans .plans article h2 {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

/* Plan features */
#plans .planFeatureItem {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

/* Checkmarks */
#plans .planFeatureCheck {
    font-size: 15px;
    font-weight: 600;
}

/* Select Plan / Current Plan buttons */
#plans [data-plan] {
    font-size: 15px;
    font-weight: 600;
}

/* SETTINGS - FONT SIZES */
#settings .settingsSimpleSection h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
}

#settings .preferenceRow strong {
    font-size: 17px !important;
    font-weight: 600 !important;
}

#settings .preferenceRow small {
    font-size: 13.5px !important;
    font-weight: 400 !important;
}

/* CHANGE PASSWORD BUTTON */
#settings .settingsSimpleSection .securityExpand {
    display: inline-flex !important;
    width: fit-content !important;
    min-height: 42px;
    padding: 10px 18px !important;
    border: 1px solid var(--accent) !important;
    border-radius: 9px !important;
    background: #5b5ce2 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all .2s ease;
}

#settings .settingsSimpleSection .securityExpand:hover {
    background: #494ac9 !important;
    color: #ffffff !important;
}

/* Privacy & Support headings */
#settings .settingsSimpleSection h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Privacy link and support description */
#settings .settingsSimpleSection p,
#settings .settingsSimpleSection a {
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Section spacing */
#settings .settingsSimpleSection {
    padding: 18px 0 !important;
}



/* Minimal Features */
#features .featureMinimalList {
    margin-top: 26px;
    border-top: 1px solid var(--border);
}

#features .featureMinimalRow {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 12px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background .2s ease;
}

#features .featureMinimalRow:hover {
    background: var(--panel2);
}

#features .featureMinimalNumber {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

#features .featureMinimalContent {
    flex: 1;
    min-width: 0;
}

#features .featureMinimalContent h3 {
    margin: 0 0 9px;
    font-size: 18px;
    font-weight: 650;
    color: var(--text);
}

#features .featureMinimalContent p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

#features .featureMinimalContent small {
    font-size: 12px;
    color: var(--muted);
}

#features .featureMinimalArrow {
    margin-left: auto;
    font-size: 21px;
    color: var(--muted);
    transition: transform .2s, color .2s;
}

#features .featureMinimalRow:hover .featureMinimalArrow {
    color: var(--accent);
    transform: translate(3px, -3px);
}

#features .featureMinimalRow:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

@media (max-width: 600px) {
    #features .featureMinimalRow {
        gap: 14px;
        padding: 22px 6px;
    }
}

/* XEELIST — MINIMAL 3D FEATURE ROWS */

#features .featureMinimalList {
    display: grid;
    gap: 16px;
    border: none;
}

#features .featureMinimalRow {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    align-items: start;
    gap: 20px;
    padding: 24px 26px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;

    /* Always visible soft blue 3D shadow */
    box-shadow:
        0 5px 12px rgba(37, 99, 235, 0.05),
        0 12px 28px rgba(37, 99, 235, 0.09);

    cursor: pointer;
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
}

#features .featureMinimalRow:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow:
        0 10px 20px rgba(37, 99, 235, 0.09),
        0 20px 38px rgba(37, 99, 235, 0.15);
}

#features .featureMinimalRow:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    #features .featureMinimalRow {
        grid-template-columns: 26px minmax(0, 1fr) !important;
        gap: 12px;
        padding: 20px 16px;
    }
}

/* Feature heading & number blue on hover */

#features .featureMinimalRow:hover .featureMinimalNumber {
    color: #2563EB !important;
    transition: color 0.25s ease;
}

/* Sidebar Profile - Hover Background Alignment */
#openAccountPage {
    box-sizing: border-box !important;
    padding: 12px 10px !important;
    min-height: 76px;
    transform: none !important;
}

#openAccountPage:hover {
    transform: none !important;
}

/* Notification Bell - Permanent Premium Highlight */

#app .workspaceHeaderActions #userNotificationBell {
    background: var(--panel) !important;
    border: 1px solid #C9DCFF !important;

    box-shadow:
        0 6px 16px rgba(37, 99, 235, 0.12),
        0 12px 28px rgba(37, 99, 235, 0.16) !important;

    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease !important;
}

#app .workspaceHeaderActions #userNotificationBell:hover {
    background: var(--panel) !important;
    border-color: #A8C6FF !important;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.16),
        0 14px 32px rgba(37, 99, 235, 0.20) !important;
}

/* drop image in new listing */
#new .drop.dragActive {
    border: 2px dashed #2563EB !important;
    background: #EFF6FF !important;
    box-shadow: inset 0 0 0 2px rgba(37,99,235,.08);
}

/* New Listing - Wider Centered Layout */
#new .workspace {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}


/* Marketplace Buttons - Completely Stable */
#new .platform,
#new .platform:hover,
#new .platform:focus,
#new .platform:active,
#new .platform.active,
#new .platform.active:hover {
    transform: none !important;
    animation: none !important;
    translate: none !important;
}

/* Unselected Button Hover */
#new .platform:not(.active):hover {
    background: #FFFFFF !important;
    border-color: #2563EB !important;
    color: #2563EB !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

/* Visit Homepage - Normal */
#auth .seoExploreLink {
    background: #EFF4FF !important;
    color: #172B4D !important;
}

/* Visit Homepage - Hover */
#auth .seoExploreLink:hover {
    background: #EFF4FF !important;
    border-color: #2563EB !important;
    color: #2563EB !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Saved Competitor Reports - Remove Empty Space */

#competitorHistoryDetail:empty {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    min-height: 0 !important;
}

#competitorHistoryDetail:not(:empty) {
    display: block;
}

/* Xeelist app pricing: landing-page-matched neutral cards */
#plans{width:100%;max-width:none}
#plans .appPricingIntro{margin:0 0 34px}
#plans .appPricingIntro h2{margin:0 0 14px;font-size:clamp(26px,3.1vw,42px);line-height:1.16;letter-spacing:-.04em;font-weight:700;color:var(--text)}
#plans .appPricingIntro p{margin:0;color:var(--muted);font-size:15px;line-height:1.6}
#plans .appPricingGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
#plans .appPricingGrid .appPlanCard{position:relative;display:flex;flex-direction:column;min-width:0;padding:32px 23px 27px;border:1px solid var(--border);border-radius:20px;background:var(--panel);box-shadow:0 7px 26px rgba(24,52,95,.035);transform:none;outline:none}
#plans .appPricingGrid .appPlanCard.featured{border:1px solid var(--border);box-shadow:0 7px 26px rgba(24,52,95,.035);transform:none}
#plans .appPricingGrid .appPlanCard.currentPlan{border:1px solid var(--border);box-shadow:0 7px 26px rgba(24,52,95,.035)}
#plans .appPlanPopular{position:absolute;top:-17px;right:20px;padding:7px 15px;border-radius:99px;background:#253650;color:#fff;font-size:12px;font-weight:650;letter-spacing:0}
#plans .appPricingGrid .appPlanName{margin:0;font-size:19px;font-weight:600;line-height:1.35;color:var(--text);letter-spacing:-.02em}
#plans .appPricingGrid .appPlanDescription{margin:12px 0 25px;min-height:39px;font-size:13px;font-weight:400;line-height:1.55;color:var(--muted)}
#plans .appPlanPrice h2{margin:0;font-size:37px;font-weight:400;line-height:1.2;letter-spacing:-.035em;color:var(--text)}
#plans .appPlanPrice .appPlanPeriod{font-size:12px;font-weight:500;letter-spacing:0;color:var(--muted)}
#plans .appPlanCredits{margin:10px 0 25px;min-height:19px;font-size:13px;font-weight:400;color:var(--text)}
#plans .appPricingGrid [data-plan]{display:block;width:100%;min-height:54px;margin:0;padding:12px 10px;border:1px solid #d6e1f2;border-radius:11px;background:#f4f7fd;color:#1c4ca3;font-size:14px;font-weight:600;cursor:pointer;transition:background .18s,border-color .18s;box-shadow:none;transform:none}
#plans .appPricingGrid [data-plan]:not(:disabled):hover{background:#e8efff;border-color:#8db2f6;transform:none;box-shadow:none}
#plans .appPricingGrid [data-plan]:disabled{opacity:.7;cursor:default}
#plans .appPlanDivider{height:1px;background:var(--border);margin:27px 0 22px}
#plans .appPlanFeatures{flex:1}
#plans .appPlanFeatures .planFeatureList{display:flex;flex-direction:column;gap:13px}
#plans .appPlanFeatures .planFeatureItem{display:flex;align-items:flex-start;gap:7px;font-size:13px;font-weight:400;line-height:1.6;color:var(--text)}
#plans .appPlanFeatures .planFeatureCheck{font-size:13px;font-weight:400;color:#365a91;flex:0 0 auto}
#plans .appPlanFeatures .planFeatureUnavailable,#plans .appPlanFeatures .planFeatureUnavailable .planFeatureCheck{color:#9daac0}
#plans #planStatus{margin:28px auto 0;text-align:center;font-size:12px;line-height:1.6}
@media(max-width:1250px){#plans .appPricingGrid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:27px}}
@media(max-width:650px){#plans .appPricingGrid{grid-template-columns:1fr;gap:27px}#plans .appPricingGrid .appPlanCard{padding:28px 21px}#plans .appPricingIntro h2{font-size:29px}}
:root[data-theme="dark"] #plans .appPricingGrid [data-plan]{background:var(--panel2);border-color:var(--border);color:var(--text)}
:root[data-theme="dark"] #plans .appPricingGrid [data-plan]:hover{background:var(--chip)}


/* XEELIST PRICING MATCH FINAL — intentionally last to override legacy plan styles */
#plans {width:100%;max-width:none;--plan-btn-bg:#f4f7fd;--plan-btn-text:#1c4ca3;--plan-btn-hover-bg:#e8efff;--plan-btn-hover-text:#1c4ca3}
#plans .appPricingIntro{margin:0 0 32px}
#plans .appPricingIntro h2{font-size:clamp(27px,3vw,42px);font-weight:700;line-height:1.15;letter-spacing:-.035em;margin:0 0 16px}
#plans .appPricingIntro p{font-size:15px;line-height:1.5;margin:0;color:var(--muted)}
#plans .plans.appPricingGrid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
#plans .plans.appPricingGrid>article.appPlanCard,
#plans .plans.appPricingGrid>article.appPlanCard.featured,
#plans .plans.appPricingGrid>article.appPlanCard.currentPlan,
#plans .plans.appPricingGrid>article.appPlanCard:hover{
 display:flex!important;flex-direction:column!important;position:relative!important;min-width:0!important;
 padding:28px 19px 23px!important;margin:0!important;background:var(--panel)!important;
 border:1px solid var(--border)!important;border-radius:18px!important;
 box-shadow:0 7px 26px rgba(24,52,95,.045)!important;transform:none!important;outline:none!important
}
#plans .appPricingGrid .appPlanName{font-size:17px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.025em!important;margin:0!important;color:var(--text)!important}
#plans .appPricingGrid .appPlanDescription{font-size:12.5px!important;font-weight:400!important;line-height:1.55!important;min-height:38px!important;margin:10px 0 17px!important;color:var(--muted)!important}
#plans .appPricingGrid .appPlanPrice{margin:0!important}
#plans .appPricingGrid .appPlanPrice h2{font-size:34px!important;font-weight:400!important;line-height:1.12!important;letter-spacing:-.04em!important;margin:0!important;color:var(--text)!important}
#plans .appPricingGrid .appPlanPeriod{font-size:12px!important;font-weight:400!important;letter-spacing:0!important;color:var(--muted)!important}
#plans .appPricingGrid .appPlanCredits{font-size:12px!important;font-weight:400!important;line-height:1.5!important;min-height:18px!important;margin:12px 0 20px!important;color:var(--muted)!important}
#plans .appPricingGrid [data-plan],#plans .appPricingGrid [data-plan]:disabled,
#plans .appPricingGrid [data-plan]:disabled:hover{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-height:45px!important;margin:0!important;padding:10px 9px!important;
 background:#f4f7fd!important;color:#1c4ca3!important;border:1px solid #d6e1f2!important;
 border-radius:9px!important;font-size:13px!important;font-weight:600!important;
 box-shadow:none!important;transform:none!important;opacity:1!important
}
#plans .appPricingGrid [data-plan]:not(:disabled):hover{background:#e8efff!important;border-color:#8db2f6!important;box-shadow:none!important;transform:none!important}
#plans .appPricingGrid [data-plan]:disabled{cursor:default!important}
#plans .appPricingGrid .appPlanDivider{height:1px!important;flex:none!important;background:var(--border)!important;margin:24px 0 20px!important}
#plans .appPricingGrid .appPlanFeatures{flex:1!important}
#plans .appPricingGrid .planFeatureList{display:flex!important;flex-direction:column!important;gap:12px!important}
#plans .appPricingGrid .planFeatureItem{display:flex!important;gap:4px!important;align-items:flex-start!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important;color:var(--text)!important}
#plans .appPricingGrid .planFeatureCheck{font-size:12px!important;font-weight:400!important;line-height:1.5!important;color:#365a91!important;flex:none!important}
#plans .appPricingGrid .planFeatureUnavailable,#plans .appPricingGrid .planFeatureUnavailable .planFeatureCheck{color:#9daac0!important}
#plans .appPricingGrid .appPlanPopular{position:absolute!important;top:-15px!important;right:16px!important;display:inline-block!important;width:auto!important;background:#253650!important;color:#fff!important;border-radius:99px!important;padding:6px 12px!important;font-size:11px!important;font-weight:650!important;letter-spacing:0!important}
#plans #planStatus{font-size:12px!important;margin:26px auto 0!important;text-align:center!important}
@media(max-width:1120px){#plans .plans.appPricingGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:27px!important}}
@media(max-width:650px){#plans .plans.appPricingGrid{grid-template-columns:1fr!important;gap:26px!important}#plans .plans.appPricingGrid>article.appPlanCard{padding:26px 20px!important}}
:root[data-theme="dark"] #plans .appPricingGrid [data-plan]{background:var(--panel2)!important;border-color:var(--border)!important;color:var(--text)!important}


/* =========================================
   XEELIST - UPGRADE PLAN FINAL OVERRIDES
   ========================================= */

/* Main heading */
#plans .appPricingIntro h2 {
    font-size: 29px !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
}

/* Pricing Heading & Description Spacing */
#plans .appPricingIntro h2 {
    margin-bottom: 4px !important;
    line-height: 1.15 !important;
}

#plans .appPricingIntro p {
    margin-top: 0 !important;
    line-height: 1.8 !important;
}

/* Plan names */
#plans .appPricingGrid .appPlanName {
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* Plan prices */
#plans .appPricingGrid .appPlanPrice h2 {
    font-size: 34px !important;
    font-weight: 600 !important;
}

/* AI Credits / Month */
#plans .appPricingGrid .appPlanCredits {
    font-size: 13px !important;
    font-weight: 400 !important;
}

#plans .appPricingGrid .appPlanCredits {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #18202d !important;
}

/* Neutral borders for all plans */
#plans .plans.appPricingGrid > article.appPlanCard,
#plans .plans.appPricingGrid > article.appPlanCard.featured {
    border: 1px solid var(--border) !important;
}

/* Blue border ONLY for current active plan */
#plans .plans.appPricingGrid > article.appPlanCard.currentPlan,
#plans .plans.appPricingGrid > article.appPlanCard.currentPlan:hover {
    border: 2px solid #2563EB !important;
}

/*SHARED PUBLIC PAGE - STICKY NAVBAR - Home | Privacy | Refund Policy */

.featuresPublic .featuresNav.xeelistHomeNav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Prevent anchor headings from hiding behind navbar */
.featuresPublic [id] {
    scroll-margin-top: 95px;
}
/* Mobile workspace navigation: keep all button labels readable. */
@media (max-width: 900px) {
  #app.shell { grid-template-columns: 105px minmax(0, 1fr); }
  #app.shell > aside { min-width: 0; padding: 15px 6px; }
  #app.shell > aside .brand b { font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
  #app.shell > aside .brand b:first-letter { font-size: inherit; }
  #app.shell > aside .brand small { font-size: 10px; }
  #app.shell > aside .nav,
  #app.shell > aside .nav:not(.active) {
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 10px 5px;
  }
  #app.shell > main { min-width: 0; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 380px) {
  #app.shell { grid-template-columns: 92px minmax(0, 1fr); }
  #app.shell > aside .nav, #app.shell > aside .nav:not(.active) { font-size: 10px; }
  #app.shell > main { padding-left: 9px; padding-right: 9px; }
}

/* XEELIST MOBILE TYPOGRAPHY REFINEMENT — desktop rules intentionally untouched. */
@media (max-width: 767px) {
  /* Workspace: headings, descriptions and interactive text. */
  #app.shell > main { min-width: 0; }
  #app.shell > main h1, #app.shell > main .workspaceHeading { font-size: clamp(22px, 6vw, 28px); font-weight: 650; line-height: 1.23; letter-spacing: -.025em; overflow-wrap: break-word; }
  #app.shell > main h2, #app.shell > main .sectionHead h2 { font-size: clamp(19px, 5vw, 23px); font-weight: 650; line-height: 1.3; letter-spacing: -.015em; overflow-wrap: break-word; }
  #app.shell > main h3 { font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
  #app.shell > main p, #app.shell > main li { line-height: 1.6; overflow-wrap: break-word; }
  #app.shell > main input, #app.shell > main select, #app.shell > main textarea, #app.shell > main button { font-size: max(14px, 1em); }
  #app.shell > main input, #app.shell > main select, #app.shell > main textarea { min-width: 0; max-width: 100%; }
  #app.shell > main button { line-height: 1.35; }
  #app.shell > aside .nav, #app.shell > aside .nav:not(.active) { font-weight: 550; line-height: 1.4; }
  /* Upgrade plan: override existing desktop !important heading sizes only on mobile. */
  #plans .appPricingIntro h2 { font-size: clamp(22px, 6vw, 26px) !important; font-weight: 650 !important; line-height: 1.25 !important; }
  #plans .appPricingIntro p { font-size: 14px; line-height: 1.65 !important; }
  #plans .appPricingGrid .appPlanName { font-size: 17px !important; font-weight: 650 !important; }
  #plans .appPricingGrid .appPlanPrice h2 { font-size: 31px !important; line-height: 1.15 !important; }
  #plans .appPricingGrid .appPlanCredits { font-size: 13px !important; line-height: 1.5 !important; }
  #plans .appPricingGrid .planFeatureItem { font-size: 13px !important; line-height: 1.55 !important; }
}
@media (max-width: 380px) {
  #app.shell > main h1, #app.shell > main .workspaceHeading { font-size: 21px; }
  #app.shell > main h2, #app.shell > main .sectionHead h2 { font-size: 19px; }
  #app.shell > aside .nav, #app.shell > aside .nav:not(.active) { font-size: 10.5px; }
}


/* XEELIST MOBILE COMPONENT REPAIR 2026-11-03
   Scoped to narrow viewports. Do not change .shell display or .hidden visibility. */
@media (max-width: 767px) {
  #app.shell {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  #app.shell > aside {
    min-width: 0;
    padding: 12px 5px;
  }
  #app.shell > aside .brand { padding: 0 3px 17px; }
  #app.shell > aside .brand b { font-size: 11px; line-height: 1.35; }
  #app.shell > aside .brand small { font-size: 9px; line-height: 1.4; }
  #app.shell > aside .nav,
  #app.shell > aside .nav:not(.active) {
    padding: 9px 4px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
  }
  #app.shell > aside .bottom { min-width: 0; }
  #app.shell > aside .profile { padding: 12px 3px 0; }
  #app.shell > aside .profile > div { flex: 0 0 32px; }
  #app.shell > main {
    min-width: 0;
    width: 100%;
    padding: 15px 10px 35px;
  }
  #app.shell > main .view,
  #app.shell > main .workspace,
  #app.shell > main .panel,
  #app.shell > main .results,
  #app.shell > main .grid,
  #app.shell > main .card {
    min-width: 0;
    max-width: 100%;
  }
  #app.shell > main .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #app.shell > main .grid > .card,
  #app.shell > main .grid > .span2,
  #app.shell > main .grid > .span4 {
    grid-column: 1 / -1;
    min-width: 0;
  }
  #app.shell > main .card { padding: 13px 12px; }
  #app.shell > main .panelHead { flex-wrap: wrap; gap: 6px; }
  #app.shell > main .cardTop { flex-wrap: wrap; gap: 9px; min-width: 0; }
  #app.shell > main .cardTop > label:first-child {
    flex: 1 1 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  /* The select is converted to a custom .polishedPeriod by app.js. */
  #app.shell .imageCard .cardTop > .imageCountLabel,
  #app.shell #images .imageCountLabel {
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 7px;
    white-space: normal;
    line-height: 1.4;
  }
  #app.shell .imageCountLabel > .polishedPeriod,
  #app.shell .imageCountLabel > select,
  #app.shell #imageCount + .polishedPeriod,
  #app.shell #resultImageCount + .polishedPeriod {
    display: block;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  #app.shell .imageCountLabel .polishedPeriodTrigger {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
  }
  #app.shell .imageCountLabel .polishedPeriodMenu {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }
  #app.shell .imageCountLabel .polishedPeriodMenu button {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #app.shell #images .tool,
  #app.shell #competitors .tool {
    min-width: 0;
    width: 100%;
    flex-wrap: wrap;
    align-items: stretch;
  }
  #app.shell #images .tool > *,
  #app.shell #competitors .tool > * {
    min-width: 0;
    max-width: 100%;
  }
  #app.shell #images .tool > input,
  #app.shell #competitors .tool > input,
  #app.shell #images .tool > .fileBtn,
  #app.shell #images .tool > button,
  #app.shell #competitors .tool > button {
    width: 100%;
    flex: 1 1 100%;
  }
  #app.shell .resultHeader {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }
  #app.shell .resultHeader > div:first-child {
    min-width: 0;
    flex: 1 1 100%;
  }
  #app.shell .resultHeader h2 {
    overflow-wrap: anywhere;
    font-size: 19px;
    line-height: 1.3;
  }
  #app.shell .resultHeader .resultActions {
    flex: 1 1 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  #app.shell .resultActions .completeness {
    max-width: 100%;
    white-space: normal;
  }
  #app.shell .resultActions #copyAll {
    white-space: normal;
    min-width: 0;
  }
  #app.shell .sourcePreviewPanel {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  #app.shell .sourcePreviewInfo {
    flex: 1 1 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #app.shell .sourcePreviewActions {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 7px;
  }
  #app.shell .sourcePreviewActions button {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #app.shell .creditGuideRows { grid-template-columns: minmax(0, 1fr); }
  #app.shell .creditGuideRows > div {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }
  #app.shell .creditGuideRows > div > span:nth-child(2) {
    flex: 1 1 90px;
    min-width: 0;
  }
  #app.shell .creditGuideRows b {
    margin-left: 0;
    font-size: 16px;
    white-space: normal;
  }
  #app.shell .accountCreditGrid {
    grid-template-columns: minmax(0, 1fr);
  }
  #app.shell .workspaceHeaderActions,
  #app.shell .workspaceHeaderMain {
    min-width: 0;
    max-width: 100%;
  }
  #app.shell .workspaceHeaderActions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }
  #app.shell .workspaceHeaderActions #userNotificationBell {
    flex: 0 0 42px;
    margin: 0;
  }
  #app.shell .workspaceHeaderActions .usage {
    flex: 1 1 140px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  #app.shell .workspaceHeaderActions .usage b,
  #app.shell .workspaceHeaderActions .usage span {
    overflow-wrap: anywhere;
  }
  #app.shell #plans .appPricingIntro h2 {
    font-size: 23px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }
  #app.shell .notificationPopover {
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
  }
}
@media (max-width: 380px) {
  #app.shell { grid-template-columns: 74px minmax(0, 1fr); }
  #app.shell > aside .nav,
  #app.shell > aside .nav:not(.active) { font-size: 9.5px; padding: 8px 3px; }
  #app.shell > main { padding-left: 8px; padding-right: 8px; }
}

/* 2026-11-03: Mobile-only verified-selector repair. Keep .shell display and .hidden untouched. */
@media (max-width:767px) {
  #app.shell { grid-template-columns:72px minmax(0,1fr) !important; }
  #app.shell > aside { min-width:0; padding:13px 4px !important; }
  #app.shell > aside .brand { padding:0 2px 13px; }
  #app.shell > aside .brand b { font-size:11px !important; line-height:1.25; }
  #app.shell > aside .brand small { font-size:8px !important; }
  #app.shell > aside .nav, #app.shell > aside .nav:not(.active) { font-size:9px !important; line-height:1.35; padding:9px 3px !important; white-space:normal; overflow-wrap:anywhere; }
  #app.shell > aside .profile { min-width:0; overflow:hidden; }
  #app.shell > aside .profile span, #app.shell > aside .profile .accountProfileMeta { overflow-wrap:anywhere; min-width:0; }
  #app.shell > main { min-width:0; padding:14px 8px 30px !important; }
  /* Original 8px masonry rows + JS spans create overlaps after responsive reflow. */
  #app.shell #results .grid, #app.shell #listingDetail .grid {
    display:grid !important; grid-template-columns:minmax(0,1fr) !important;
    grid-auto-rows:auto !important; grid-auto-flow:row !important;
    gap:12px !important; align-items:stretch !important;
  }
  #app.shell #results .grid > .card, #app.shell #listingDetail .grid > .card {
    grid-column:1/-1 !important; grid-row:auto !important; grid-row-end:auto !important;
    height:auto !important; min-height:0 !important; max-width:100%; min-width:0;
    overflow-wrap:anywhere; align-self:stretch !important; margin:0 !important;
  }
  #app.shell #results .grid .cardTop, #app.shell #listingDetail .grid .cardTop {
    display:flex; flex-wrap:wrap; gap:8px; align-items:center;
  }
  #app.shell #results .grid .cardTop label, #app.shell #listingDetail .grid .cardTop label { min-width:0; flex:1 1 110px; white-space:normal; }
  #app.shell #results .grid .cardTop button, #app.shell #listingDetail .grid .cardTop button { flex:0 0 auto; max-width:100%; }
  #app.shell #results .resultHeader, #app.shell #listingDetail .resultHeader { min-width:0; }
  #app.shell #results .resultHeader h2, #app.shell #listingDetail .resultHeader h2 { font-size:18px; overflow-wrap:anywhere; }
  #app.shell #new .platforms { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:9px !important; padding:12px !important; }
  #app.shell #new .platforms .platform { width:100%; min-width:0; min-height:44px; padding:10px 5px; text-align:center; font-size:12px; white-space:normal; }
  #app.shell #new .platforms .platform:last-child:nth-child(odd) { grid-column:1/-1; }
}
@media(max-width:380px) {
  #app.shell { grid-template-columns:66px minmax(0,1fr) !important; }
  #app.shell > aside .nav, #app.shell > aside .nav:not(.active) { font-size:8.5px !important; }
  #app.shell > main { padding-left:7px !important; padding-right:7px !important; }
}

/* 2026-11-03 MOBILE DETAIL FINISH: only <=767px, preserves existing working controls. */
@media (max-width:767px) {
  #app.shell {grid-template-columns:100px minmax(0,1fr) !important;}
  #app.shell > aside {padding:13px 5px !important;}
  #app.shell > aside .brand {padding:0 2px 15px !important;}
  #app.shell > aside .brand b.xeelistWordmark {display:block;position:relative;font-size:12px !important;line-height:1.25 !important;white-space:normal;overflow:visible;letter-spacing:-.025em;}
  #app.shell > aside .brand b.xeelistWordmark > span[aria-label="Beta version"] {position:relative;top:-2px;vertical-align:baseline !important;margin-left:2px !important;font-size:6px !important;white-space:nowrap;}
  #app.shell > aside .brand small {font-size:9px !important;line-height:1.35;overflow-wrap:anywhere;}
  #app.shell > aside .nav, #app.shell > aside .nav:not(.active) {font-size:10px !important;line-height:1.35;padding:9px 4px !important;overflow-wrap:break-word;}
  #app.shell > aside button.profile.accountProfileButton {display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:12px 3px !important;min-width:0;width:100%;overflow:visible;}
  #app.shell > aside button.profile.accountProfileButton > div#avatar {flex:0 0 33px;width:33px;height:33px;}
  #app.shell > aside button.profile.accountProfileButton > span:not(.accountProfileChevron) {display:block;width:100%;min-width:0;overflow:visible;}
  #app.shell > aside button.profile.accountProfileButton #userName,
  #app.shell > aside button.profile.accountProfileButton #userEmail {display:block;max-width:100%;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;overflow-wrap:anywhere;font-size:9px;line-height:1.4;}
  #app.shell > main {padding:14px 8px 30px !important;}
  #app.shell #plans .appPricingIntro h2 {font-size:21px !important;font-weight:650 !important;line-height:1.24 !important;letter-spacing:-.025em;}
  #auth .seoIntro h1 {font-size:clamp(23px,6.2vw,28px) !important;font-weight:650 !important;line-height:1.22 !important;letter-spacing:-.025em !important;}
  #app.shell .imageCountLabel .polishedPeriodTrigger {font-size:12px !important;line-height:1.3 !important;overflow-wrap:normal !important;word-break:normal !important;hyphens:none !important;padding-right:28px !important;}
}
@media(max-width:389px) {
  #app.shell {grid-template-columns:86px minmax(0,1fr) !important;}
  #app.shell > aside .brand b.xeelistWordmark {font-size:10px !important;}
  #app.shell > aside .nav, #app.shell > aside .nav:not(.active) {font-size:9px !important;}
  #app.shell > aside button.profile.accountProfileButton #userName,
  #app.shell > aside button.profile.accountProfileButton #userEmail {font-size:8px !important;}
  #app.shell #plans .appPricingIntro h2 {font-size:19px !important;}
}


/* Login / Signup Heading - Mobile Only */
@media screen and (max-width: 767px) {
  #auth .seoIntro h1 {
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.4px !important;
    text-align: center !important;
  }
}

@media screen and (max-width: 380px) {
  #auth .seoIntro h1 {
    font-size: 22px !important;
  }
}


/* Mobile Dashboard Sidebar & Profile */
@media screen and (max-width: 767px) {

  #app.shell:not(.hidden) > aside {
    width: 83px !important;
    min-width: 83px !important;
    max-width: 83px !important;
    box-sizing: border-box !important;
  }

  #app aside .accountProfileButton {
    display: flex !important;
    align-items: left !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  #app aside .accountProfileButton > span:not(.accountProfileChevron) {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  #app aside #userName,
  #app aside #userEmail {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #app aside #avatar {
    flex-shrink: 0 !important;
  }

}


/* Xeelist mobile workspace header — one row, no header wrap.
   The credit widget is inserted as a direct header child by existing JS. */
@media (max-width:767px) {
  #app.shell > main > header.workspaceHeader {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 24px 94px !important;
    column-gap:4px !important;
    row-gap:0 !important;
    align-items:center !important;
    justify-content:stretch !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:0 !important;
    margin:0 0 16px !important;
    padding:0 !important;
    overflow:visible !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain {
    grid-column:1 !important;grid-row:1 !important;
    display:flex !important;align-items:center !important;
    gap:5px !important;width:auto !important;min-width:0 !important;
    max-width:100% !important;flex-basis:auto !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn.backBtn:not(.hidden) {
    flex:0 0 30px !important;width:30px !important;min-width:30px !important;
    height:33px !important;min-height:33px !important;
    padding:0 !important;border-radius:8px !important;
  }
  #app.shell > main > header.workspaceHeader #backBtn svg {width:16px !important;height:16px !important;}
  #app.shell > main > header.workspaceHeader .workspaceHeading {
    flex:1 1 0 !important;display:flex !important;flex-direction:column !important;
    min-width:0 !important;width:auto !important;gap:2px !important;
    overflow-wrap:normal !important;word-break:normal !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading #pageTitle {
    display:block !important;font-size:clamp(8px,2.55vw,11px) !important;
    font-weight:700 !important;line-height:1.15 !important;
    letter-spacing:-.02em !important;white-space:normal !important;
    overflow-wrap:normal !important;word-break:normal !important;
    margin:0 !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading #pageSub {
    display:block !important;font-size:clamp(5.5px,1.7vw,8px) !important;
    line-height:1.18 !important;margin:0 !important;
    white-space:normal !important;overflow-wrap:normal !important;
    word-break:normal !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {
    grid-column:2 !important;grid-row:1 !important;
    display:flex !important;align-items:center !important;justify-content:center !important;
    flex-wrap:nowrap !important;gap:0 !important;
    width:24px !important;min-width:24px !important;max-width:24px !important;
    min-height:0 !important;margin:0 !important;padding:0 !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell {
    display:grid !important;place-items:center !important;
    flex:0 0 24px !important;width:24px !important;min-width:24px !important;
    height:24px !important;min-height:24px !important;
    padding:4px !important;margin:0 !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell svg {
    width:12px !important;height:12px !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions .usage {display:none !important;}
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    grid-column:3 !important;grid-row:1 !important;
    display:grid !important;position:relative !important;
    width:94px !important;min-width:0 !important;max-width:94px !important;
    margin:0 !important;padding:4px 6px !important;
    box-sizing:border-box !important;border-radius:10px !important;
    gap:2px !important;line-height:1.12 !important;
    overflow:hidden !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel {
    font-size:7.5px !important;left:0 !important;top:0 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValue,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues {
    font-size:7.5px !important;left:0 !important;top:0 !important;
    white-space:nowrap !important;overflow-wrap:normal !important;
    letter-spacing:-.025em !important;
  }

#app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsIcon svg {
    width:9px !important;height:9px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    font-size:6.5px !important;top:0 !important;left:0 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    justify-self:end !important;position:static !important;
    grid-column:auto !important;grid-row:auto !important;
  }
  /* Footer text and percentage share the same final row. */
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto 3px auto !important;
    column-gap:2px !important;
    row-gap:1px !important;
    align-items:center !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel {
    grid-column:1 / -1 !important;grid-row:1 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValue {
    grid-column:1 / -1 !important;grid-row:2 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsTrack {
    grid-column:1 / -1 !important;grid-row:3 !important;
    margin:0 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel {
    grid-column:1 !important;grid-row:4 !important;
    position:static !important;top:auto !important;left:auto !important;
    align-self:center !important;justify-self:start !important;
    white-space:nowrap !important;line-height:1 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    grid-column:2 !important;grid-row:4 !important;
    position:static !important;top:auto !important;left:auto !important;
    align-self:center !important;justify-self:end !important;
    white-space:nowrap !important;line-height:1 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsBar,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsTrack {
    height:3px !important;min-height:3px !important;
  }
}
@media (max-width:359px) {
  #app.shell > main > header.workspaceHeader {
    grid-template-columns:minmax(0,1fr) 22px 88px !important;
    column-gap:3px !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions,
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell {
    width:22px !important;min-width:22px !important;max-width:22px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    width:88px !important;max-width:88px !important;padding:4px 5px !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn.backBtn:not(.hidden) {
    flex-basis:27px !important;width:27px !important;min-width:27px !important;
  }
}


/* XEELIST MOBILE-ONLY SLIDE-OUT NAVIGATION — desktop untouched */
.mobileNavToggle,.mobileNavClose,.mobileNavBackdrop {display:none!important}
@media (max-width:767px) {
  #app.shell:not(.hidden) {
    display:block!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
  }
  #app.shell:not(.hidden) > main {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    box-sizing:border-box!important;
  }
  #app.shell:not(.hidden) > aside#xeelistSidebar {
    position:fixed!important;
    top:0!important;left:0!important;bottom:0!important;
    width:min(300px,82vw)!important;
    min-width:0!important;max-width:82vw!important;
    height:100dvh!important;
    z-index:10021!important;
    padding:24px 16px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    transform:translateX(-105%)!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .24s ease,visibility .24s!important;
    box-sizing:border-box!important;
    box-shadow:12px 0 35px rgba(0,0,0,.12);
  }
  #app.shell.mobileNavOpen > aside#xeelistSidebar {
    transform:translateX(0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  #app.shell > .mobileNavBackdrop:not([hidden]) {
    display:block!important;
    position:fixed!important;inset:0!important;
    z-index:10020!important;
    border:0!important;border-radius:0!important;
    background:rgba(10,18,31,.55)!important;
    cursor:pointer!important;
    width:100%!important;height:100%!important;
  }
  #app.shell .mobileNavToggle {
    display:inline-flex!important;
    flex:0 0 27px!important;
    width:27px!important;min-width:27px!important;height:29px!important;
    align-items:center!important;justify-content:center!important;
    border:1px solid var(--border,#e2e6ee)!important;
    border-radius:8px!important;
    background:var(--panel,#fff)!important;
    color:var(--text,#18202d)!important;
    padding:0!important;
    cursor:pointer!important;
  }
  #app.shell .mobileNavToggle svg {width:17px!important;height:17px!important}
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain {
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    min-width:0!important;
    gap:4px!important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain .workspaceHeading {
    min-width:0!important;
    flex:1 1 auto!important;
    overflow:hidden!important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn.backBtn:not(.hidden) {
    flex:0 0 27px!important;
    width:27px!important;min-width:27px!important;
  }
  #app.shell > aside#xeelistSidebar .brand {
    position:relative!important;
    padding:0 34px 20px 8px!important;
    min-height:50px!important;
  }
  #app.shell > aside#xeelistSidebar .brand b,
  #app.shell > aside#xeelistSidebar .brand b:first-letter {
    font-size:21px!important;
    letter-spacing:.35px!important;
    line-height:1.3!important;
  }
  /* Make the inline Beta badge readable without changing desktop branding. */
  #app.shell > aside#xeelistSidebar .brand .xeelistWordmark > span[aria-label="Beta version"] {
    display:inline-block!important;
    font-size:8px!important;
    font-weight:700!important;
    line-height:1.2!important;
    letter-spacing:.15px!important;
    padding:2px 4px!important;
    margin-left:5px!important;
    vertical-align:middle!important;
    border-radius:5px!important;
  }
  #app.shell > aside#xeelistSidebar .brand small {
    display:block!important;
    font-size:12px!important;
    letter-spacing:.25px!important;
    line-height:1.5!important;
    margin-top:5px!important;
  }
  #app.shell > aside#xeelistSidebar .mobileNavClose {
    display:inline-flex!important;
    position:absolute!important;right:0!important;top:0!important;
    align-items:center!important;justify-content:center!important;
    width:30px!important;height:30px!important;
    background:transparent!important;color:inherit!important;
    border:1px solid rgba(255,255,255,.2)!important;
    border-radius:8px!important;cursor:pointer!important;
    padding:0!important;
  }
  #app.shell > aside#xeelistSidebar nav,
  #app.shell > aside#xeelistSidebar .bottom {width:100%!important;min-width:0!important}
  #app.shell > aside#xeelistSidebar .nav,
  #app.shell > aside#xeelistSidebar .nav:not(.active) {
    display:block!important;
    width:100%!important;
    font-size:17px!important;
    line-height:1.45!important;
    font-weight:500!important;
    text-align:left!important;
    white-space:normal!important;
    padding:14px 12px!important;
  }
  #app.shell > aside#xeelistSidebar button.profile.accountProfileButton {
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
    padding:16px 8px 12px!important;
    text-align:left!important;
    overflow:hidden!important;
  }
  #app.shell > aside#xeelistSidebar button.profile.accountProfileButton > #avatar {
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    border-radius:11px!important;
  }
  #app.shell > aside#xeelistSidebar button.profile.accountProfileButton > span:not(.accountProfileChevron) {
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:3px!important;
    min-width:0!important;
    width:auto!important;
    overflow:hidden!important;
  }
  #app.shell > aside#xeelistSidebar button.profile.accountProfileButton #userName {
    display:block!important;
    font-size:15px!important;
    font-weight:600!important;
    line-height:1.35!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #app.shell > aside#xeelistSidebar button.profile.accountProfileButton #userEmail {
    display:block!important;
    font-size:12px!important;
    line-height:1.4!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #app.shell > aside#xeelistSidebar button.profile.accountProfileButton .accountProfileChevron {
    display:none!important;
  }
  body.xeelistMobileNavLocked {overflow:hidden!important}
}
@media (prefers-reduced-motion:reduce) {
  #app.shell > aside#xeelistSidebar {transition:none!important}
}



/* XEELIST MOBILE REPAIR: targeted rules for real markup, no desktop changes */
#app.shell .competitorDeleteButton {color:#b42332!important;border:1px solid #f2c6cc!important;background:#fff5f5!important;border-radius:10px!important}
#app.shell .competitorSectionPanel {margin-top:18px}
#app.shell .competitorTitlesInput {width:100%;padding:12px;border-radius:10px;box-sizing:border-box}
@media (max-width:767px) {
  #app.shell:not(.hidden) > main {width:100%!important;min-width:0!important;max-width:100%!important;padding:12px clamp(10px,3vw,16px) 32px!important;overflow-x:clip!important}
  #app.shell > main > header.workspaceHeader {grid-template-columns:minmax(0,1fr) 27px 96px!important;column-gap:5px!important;align-items:center!important;margin-bottom:14px!important}
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain {min-width:0!important;gap:5px!important}
  #app.shell > main > header.workspaceHeader .mobileNavToggle {flex:0 0 29px!important;width:29px!important;min-width:29px!important;height:31px!important}
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden) {flex:0 0 29px!important;width:29px!important;min-width:29px!important;height:31px!important}
  #app.shell > main > header.workspaceHeader .workspaceHeading {min-width:0!important;flex:1 1 0!important;overflow:hidden!important}
  #app.shell > main > header.workspaceHeader #pageTitle {font-size:clamp(10px,2.65vw,12px)!important;line-height:1.2!important;word-break:normal!important;overflow-wrap:normal!important}
  #app.shell > main > header.workspaceHeader #pageSub {font-size:clamp(7px,1.9vw,9px)!important;line-height:1.25!important;word-break:normal!important;overflow-wrap:normal!important}
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {width:27px!important;min-width:27px!important;max-width:27px!important}
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell {width:27px!important;min-width:27px!important;height:27px!important}
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell svg {width:14px!important;height:14px!important}
  #app.shell > main > header.workspaceHeader > #myAiCredits {width:96px!important;max-width:96px!important;min-width:0!important;padding:5px 6px!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto 3px auto!important;column-gap:2px!important;row-gap:1px!important}
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel {grid-column:1!important;grid-row:4!important;position:static!important;white-space:nowrap!important}
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {grid-column:2!important;grid-row:4!important;position:static!important;white-space:nowrap!important;justify-self:end!important}
  #app.shell > main > .view {width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  #app.shell > main > .view :is(.workspace,.panel,.resultPad,.listbox,.card) {min-width:0;max-width:100%;box-sizing:border-box}
  #app.shell > main > .view .panel.resultPad {padding:clamp(12px,3.4vw,17px)!important}
  #app.shell > main > .view :is(input,select,textarea) {min-width:0;max-width:100%;box-sizing:border-box}
  #app.shell > main > .view :is(img,video,canvas) {max-width:100%;height:auto}
  #app.shell > main > .view .tool {min-width:0;max-width:100%}
  #app.shell > main > .view .tool > * {min-width:0;max-width:100%;box-sizing:border-box}
  #app.shell > main > .view :is(.grid,.imageGrid,.plans) {min-width:0}
  #app.shell > main > #dashboard .hero {grid-template-columns:minmax(0,1fr)!important;gap:15px!important;padding:clamp(16px,4.5vw,25px)!important}
  #app.shell > main > #dashboard .hero h2 {font-size:clamp(23px,6.2vw,32px)!important;line-height:1.2!important}
  #app.shell > main > #competitors #competitorHistoryList {width:100%!important;min-width:0!important;padding:0!important}
  #app.shell > main > #competitors #competitorHistoryList .competitorReportRow {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;padding:12px!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}
  #app.shell > main > #competitors #competitorHistoryList .competitorReportInfo {grid-column:1!important;display:block!important;min-width:0!important;width:auto!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
  #app.shell > main > #competitors #competitorHistoryList .competitorReportInfo .historyItemTitle {display:block!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important;line-height:1.35!important}
  #app.shell > main > #competitors #competitorHistoryList .competitorReportActions {grid-column:2!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;gap:6px!important;width:auto!important;min-width:0!important;margin:0!important}
  #app.shell > main > #competitors #competitorHistoryList .competitorReportActions button {flex:0 0 auto!important;min-width:0!important;width:auto!important;padding:7px 8px!important;font-size:11px!important;white-space:nowrap!important}
  #app.shell > main > #competitors :is(#competitorPhotoPreview,#photoSearchResult,#titleAnalysisResult,#competitorHistoryDetail) {min-width:0!important;max-width:100%!important;overflow-wrap:break-word}
  #app.shell > main > #competitors :is(#competitorPhotoPreview,#photoSearchResult,#titleAnalysisResult,#competitorHistoryDetail) img {max-width:100%!important;height:auto!important;object-fit:contain!important}
  #app.shell > main > #competitors :is(#photoSearchResult,#titleAnalysisResult,#competitorHistoryDetail) :is(.grid,.imageGrid) {grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
  #app.shell > main > #competitors :is(#photoSearchResult,#titleAnalysisResult,#competitorHistoryDetail) :is(.card,article,figure) {min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  #app.shell > main > #plans :is(.plans,.planGrid) {grid-template-columns:minmax(0,1fr)!important}
  #app.shell > main > #plans :is(h2,h3,p) {overflow-wrap:break-word!important;word-break:normal!important}
}
@media (max-width:390px) {
  #app.shell > main > #competitors #competitorHistoryList .competitorReportRow {grid-template-columns:minmax(0,1fr)!important;align-items:start!important}
  #app.shell > main > #competitors #competitorHistoryList .competitorReportActions {grid-column:1!important;width:100%!important;justify-content:flex-end!important}
}
@media (max-width:359px) {
  #app.shell > main > header.workspaceHeader {grid-template-columns:minmax(0,1fr) 23px 88px!important;column-gap:3px!important}
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {width:23px!important;min-width:23px!important;max-width:23px!important}
  #app.shell > main > header.workspaceHeader > #myAiCredits {width:88px!important;max-width:88px!important}
}


/* XEELIST MOBILE ONLY — FIX THE REAL SPECIFICITY AND INLINE WIDTH CONFLICTS.
   No desktop changes. No changes to existing JavaScript or HTML. */
@media screen and (max-width:767px) {
  /* Keep the original blue back button: prior broad selectors used background
     shorthand with higher specificity and overrode background-color. */
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn.backBtn:not(.hidden) {
    background:#2563eb !important;
    background-color:#2563eb !important;
    background-image:none !important;
    border:1px solid #2563eb !important;
    color:#ffffff !important;
    box-shadow:none !important;
    padding:0 !important;
    display:inline-grid !important;
    place-items:center !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn.backBtn:not(.hidden):hover {
    background:#1d4ed8 !important;
    background-color:#1d4ed8 !important;
    border-color:#1d4ed8 !important;
    color:#ffffff !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn.backBtn svg {
    stroke:#ffffff !important;
    color:#ffffff !important;
  }
  /* Navigation drawer frees the entire main width on phones. */
  #app.shell:not(.hidden) > main {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }
  #app.shell > main > .view {
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  /* Competitor: generated edit field has INLINE min-width:200px, which
     forces narrow report columns wider than their available mobile space. */
  #app.shell > main > #competitors .competitorEditTool {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  #app.shell > main > #competitors .competitorEditTool > div {
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
  }
  #app.shell > main > #competitors .competitorEditTool input {
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  #app.shell > main > #competitors .competitorEditTool > button {
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    white-space:normal !important;
    box-sizing:border-box !important;
  }
  /* Report titles are allowed a full line; actions stay side by side below
     on narrow phones instead of squeezing title to 2-letter columns. */
  #app.shell > main > #competitors #competitorHistoryList .competitorReportRow {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    align-items:start !important;
    gap:8px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  #app.shell > main > #competitors #competitorHistoryList .competitorReportInfo {
    grid-column:1 !important;
    grid-row:auto !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }
  #app.shell > main > #competitors #competitorHistoryList .competitorReportActions {
    grid-column:1 !important;
    grid-row:auto !important;
    display:flex !important;
    flex-flow:row nowrap !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }
  /* Generated marketplace links are .listingRow inside #compResult,
     not generic .grid cards; let link and title wrap safely. */
  #app.shell > main > #competitors #compResult,
  #app.shell > main > #competitors #compResult .listbox,
  #app.shell > main > #competitors #compResult .listingRow {
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  #app.shell > main > #competitors #compResult .listingRow {
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    gap:8px !important;
  }
  #app.shell > main > #competitors #compResult .listingRow > span:first-child {
    flex:1 1 100% !important;
    width:100% !important;
    min-width:0 !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }
  #app.shell > main > #competitors #compResult .listingRow > a {
    display:inline-block !important;
    flex:0 1 auto !important;
    max-width:100% !important;
    margin-left:0 !important;
    overflow-wrap:break-word !important;
  }
  #app.shell > main > #competitors #compResult img,
  #app.shell > main > #competitors #competitorHistoryDetail img {
    max-width:100% !important;
    height:auto !important;
    object-fit:contain !important;
  }
  #app.shell > main > #competitors .panel.resultPad {
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  /* Other sections: constrain only overflowing media and form controls;
     do not replace their existing layout or button designs. */
  #app.shell > main > .view :is(img,video,canvas) {max-width:100%;}
  #app.shell > main > .view :is(input,select,textarea) {min-width:0;max-width:100%;box-sizing:border-box;}
}


/* Xeelist: responsive workspace toolbar, replaces fixed 3-column phone sizing.
   Desktop and credit calculations remain unchanged. */
@media screen and (max-width:767px) {
  #app.shell > main > header.workspaceHeader {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto !important;
    column-gap:10px !important;
    row-gap:10px !important;
    align-items:center !important;
    width:100% !important;
    padding:10px 0 14px !important;
    overflow:visible !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain {
    grid-column:1 !important;grid-row:1 !important;
    display:flex !important;align-items:center !important;
    width:100% !important;min-width:0 !important;max-width:100% !important;
    flex:initial !important;gap:8px !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading {
    min-width:0 !important;flex:1 1 auto !important;overflow:visible !important;
  }
  #app.shell > main > header.workspaceHeader #pageTitle {
    font-size:clamp(12px,3.6vw,16px) !important;
    line-height:1.25 !important;white-space:normal !important;
    overflow-wrap:break-word !important;
  }
  #app.shell > main > header.workspaceHeader #pageSub {
    font-size:clamp(9px,2.5vw,11px) !important;
    line-height:1.35 !important;white-space:normal !important;
    overflow-wrap:break-word !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {
    grid-column:2 !important;grid-row:1 !important;
    width:auto !important;min-width:36px !important;max-width:none !important;
    margin:0 !important;justify-self:end !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell {
    width:36px !important;min-width:36px !important;max-width:36px !important;
    height:36px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    grid-column:1 / -1 !important;grid-row:2 !important;
    justify-self:stretch !important;
    width:100% !important;min-width:0 !important;max-width:100% !important;
    padding:10px 12px !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto 5px auto !important;
    column-gap:10px !important;row-gap:4px !important;
    border-radius:12px !important;overflow:visible !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel {
    font-size:11px !important;line-height:1.3 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValue {
    font-size:13px !important;line-height:1.3 !important;
    min-width:0 !important;white-space:normal !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    font-size:10px !important;line-height:1.3 !important;
  }
}


/* Xeelist mobile header: desktop order preserved in ONE horizontal row.
   Overrides the earlier two-row mobile toolbar rules. */
@media screen and (max-width:767px) {
  #app.shell > main > header.workspaceHeader {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 34px minmax(112px,35%) !important;
    grid-template-rows:auto !important;
    align-items:center !important;
    column-gap:7px !important;
    row-gap:0 !important;
    flex-direction:row !important;
    padding:8px 0 12px !important;
    width:100% !important;
    min-width:0 !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain {
    grid-column:1 !important;grid-row:1 !important;
    display:flex !important;align-items:center !important;
    gap:5px !important;width:auto !important;min-width:0 !important;
    flex:initial !important;
  }
  #app.shell > main > header.workspaceHeader #mobileNavToggle,
  #app.shell > main > header.workspaceHeader #backBtn:not(.hidden) {
    flex:0 0 30px !important;width:30px !important;min-width:30px !important;
    height:34px !important;min-height:34px !important;
    padding:0 !important;margin:0 !important;
    display:grid !important;place-items:center !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading {
    flex:1 1 0 !important;min-width:0 !important;width:auto !important;
    gap:2px !important;
  }
  #app.shell > main > header.workspaceHeader #pageTitle {
    font-size:clamp(10px,2.8vw,15px) !important;
    line-height:1.2 !important;letter-spacing:-.025em !important;
    overflow-wrap:normal !important;word-break:normal !important;
    white-space:normal !important;
  }
  #app.shell > main > header.workspaceHeader #pageSub {
    font-size:clamp(8px,2vw,10px) !important;
    line-height:1.2 !important;
    overflow-wrap:normal !important;word-break:normal !important;
    white-space:normal !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {
    grid-column:2 !important;grid-row:1 !important;
    display:flex !important;align-items:center !important;justify-content:center !important;
    width:34px !important;min-width:0 !important;max-width:34px !important;
    min-height:34px !important;margin:0 !important;gap:0 !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell,
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions .workspaceBell {
    flex:0 0 34px !important;width:34px !important;min-width:34px !important;
    max-width:34px !important;height:34px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    grid-column:3 !important;grid-row:1 !important;
    justify-self:stretch !important;align-self:center !important;
    width:100% !important;min-width:0 !important;max-width:100% !important;
    box-sizing:border-box !important;padding:7px 8px !important;
    margin:0 !important;overflow:hidden !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    font-size:clamp(7px,1.8vw,10px) !important;line-height:1.2 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValue {
    font-size:clamp(8px,2.1vw,11px) !important;line-height:1.2 !important;
    white-space:nowrap !important;
  }
}
@media screen and (max-width:360px) {
  #app.shell > main > header.workspaceHeader {
    grid-template-columns:minmax(0,1fr) 30px minmax(104px,34%) !important;
    column-gap:4px !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain {gap:3px !important;}
  #app.shell > main > header.workspaceHeader #mobileNavToggle,
  #app.shell > main > header.workspaceHeader #backBtn:not(.hidden) {
    flex-basis:27px !important;width:27px !important;min-width:27px !important;height:31px !important;min-height:31px !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {width:30px !important;max-width:30px !important;}
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell,
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions .workspaceBell {
    flex-basis:30px !important;width:30px !important;min-width:30px !important;height:30px !important;
  }
}

/* Mobile header fine tuning: more room for navigation/title, slimmer credits. */
@media screen and (max-width:767px) {
  #app.shell > main > header.workspaceHeader {
    grid-template-columns:minmax(0,1fr) 34px minmax(98px,30%) !important;
    column-gap:5px !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain {gap:6px !important;}
  #app.shell > main > header.workspaceHeader #mobileNavToggle,
  #app.shell > main > header.workspaceHeader #backBtn:not(.hidden) {
    flex:0 0 34px !important;width:34px !important;min-width:34px !important;
    height:38px !important;min-height:38px !important;
  }
  #app.shell > main > header.workspaceHeader #mobileNavToggle svg,
  #app.shell > main > header.workspaceHeader #backBtn svg {width:19px !important;height:19px !important;}
  #app.shell > main > header.workspaceHeader #pageTitle {
    font-size:clamp(12px,3.35vw,16px) !important;
    line-height:1.18 !important;
  }
  #app.shell > main > header.workspaceHeader #pageSub {
    font-size:clamp(8.5px,2.35vw,11px) !important;
    line-height:1.3 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    padding:5px 6px !important;border-radius:12px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    font-size:8px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValue {
    font-size:9px !important;
  }
}
@media screen and (max-width:360px) {
  #app.shell > main > header.workspaceHeader {
    grid-template-columns:minmax(0,1fr) 30px minmax(94px,29%) !important;
    column-gap:4px !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain {gap:4px !important;}
  #app.shell > main > header.workspaceHeader #mobileNavToggle,
  #app.shell > main > header.workspaceHeader #backBtn:not(.hidden) {
    flex:0 0 31px !important;width:31px !important;min-width:31px !important;
    height:36px !important;min-height:36px !important;
  }
}

/* XEELIST HEADER FINAL: desktop structure, phone-only dimensions.
   Edit these variables to tune sizes without changing the desktop design. */
@media screen and (max-width:767px) {
  #app.shell > main > header.workspaceHeader {
    --xh-button:36px;
    --xh-bell:30px;
    --xh-credits:94px;
    --xh-gap:5px;
    --xh-title:13px;
    --xh-subtitle:9px;
    display:flex !important;
    flex-flow:row nowrap !important;
    justify-content:space-between !important;
    align-items:center !important;
    gap:var(--xh-gap) !important;
    width:100% !important;
    padding:0 !important;
    margin:0 0 16px !important;
    min-width:0 !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain {
    display:flex !important; flex:1 1 0 !important;
    align-items:center !important; gap:var(--xh-gap) !important;
    width:auto !important; min-width:0 !important; max-width:none !important;
    margin:0 !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #mobileNavToggle,
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn.backBtn:not(.hidden) {
    display:inline-flex !important; align-items:center !important; justify-content:center !important;
    flex:0 0 var(--xh-button) !important;
    width:var(--xh-button) !important; min-width:var(--xh-button) !important;
    max-width:var(--xh-button) !important;
    height:var(--xh-button) !important; min-height:var(--xh-button) !important;
    padding:0 !important; margin:0 !important; border-radius:10px !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #mobileNavToggle svg,
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn svg {
    width:19px !important; height:19px !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain .workspaceHeading {
    flex:1 1 0 !important; min-width:0 !important; width:auto !important;
    display:flex !important; flex-direction:column !important;
    gap:2px !important; overflow:hidden !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading #pageTitle {
    font-size:var(--xh-title) !important; line-height:1.2 !important;
    font-weight:700 !important; margin:0 !important;
    overflow-wrap:normal !important; word-break:normal !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading #pageSub {
    font-size:var(--xh-subtitle) !important; line-height:1.25 !important;
    margin:0 !important; overflow-wrap:normal !important;
    word-break:normal !important; white-space:normal !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {
    display:flex !important; flex:0 0 var(--xh-bell) !important;
    align-items:center !important; justify-content:center !important;
    width:var(--xh-bell) !important; min-width:var(--xh-bell) !important;
    max-width:var(--xh-bell) !important;
    margin:0 !important; padding:0 !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell {
    flex:0 0 var(--xh-bell) !important;
    width:var(--xh-bell) !important; min-width:var(--xh-bell) !important;
    max-width:var(--xh-bell) !important;
    height:var(--xh-bell) !important; min-height:var(--xh-bell) !important;
    padding:5px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    display:grid !important; flex:0 0 var(--xh-credits) !important;
    width:var(--xh-credits) !important; min-width:var(--xh-credits) !important;
    max-width:var(--xh-credits) !important;
    margin:0 !important; padding:5px 6px !important;
    box-sizing:border-box !important; border-radius:11px !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto 3px auto !important;
    column-gap:2px !important; row-gap:2px !important;
    overflow:hidden !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    font-size:7px !important; line-height:1.15 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValue {
    font-size:8px !important; line-height:1.15 !important;
    white-space:nowrap !important;
  }
}
@media screen and (max-width:359px) {
  #app.shell > main > header.workspaceHeader {
    --xh-button:32px;
    --xh-bell:27px;
    --xh-credits:87px;
    --xh-gap:3px;
    --xh-title:12px;
    --xh-subtitle:8px;
  }
}

/* XEELIST MOBILE MARKETPLACES — readable 3 + 2 layout */
@media screen and (max-width: 767px) {
  #app.shell #new .platforms {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding: 12px !important;
    align-items: stretch !important;
  }
  #app.shell #new .platforms > .platform,
  #app.shell #new .platforms > .platform:last-child:nth-child(odd) {
    grid-column: span 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 10px 5px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-align: center !important;
    border-radius: 10px !important;
  }
  #app.shell #new .platforms > .platform:nth-child(4),
  #app.shell #new .platforms > .platform:nth-child(5) {
    grid-column: span 3 !important;
  }
}

/* XEELIST — generated listing AI images card, mobile alignment */
@media screen and (max-width:767px) {
  #app.shell #new #results .imageCard .cardTop {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(140px,1.15fr) !important;
    align-items:center !important;
    column-gap:10px !important;
    row-gap:12px !important;
  }
  #app.shell #new #results .imageCard .cardTop > label:first-child {
    grid-column:1 !important;
    flex:none !important;
    width:auto !important;
    min-width:0 !important;
    font-size:10px !important;
    line-height:1.4 !important;
    overflow-wrap:normal !important;
  }
  #app.shell #new #results .imageCard .cardTop > .imageCountLabel {
    grid-column:2 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    flex:none !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    gap:5px !important;
    font-size:11px !important;
    white-space:normal !important;
  }
  #app.shell #new #results .imageCard .cardTop > .imageCountLabel > .polishedPeriod,
  #app.shell #new #results .imageCard .cardTop > .imageCountLabel > select {
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    flex:none !important;
  }
  #app.shell #new #results .imageCard .cardTop > #resultGenerateImages {
    grid-column:1 / -1 !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    min-height:43px !important;
    justify-self:stretch !important;
  }
  #app.shell #new #results .imageCard .cardTop > #resultCancelImages:not(.hidden) {
    grid-column:1 / -1 !important;
    width:100% !important;
  }
  #app.shell #new #results .imageCard > #resultImageStatus {
    margin:12px 0 0 !important;
    line-height:1.55 !important;
  }
}

/* XEELIST MOBILE HISTORY ROWS — align Dashboard and Competitor Reports
   with the existing My Listings layout. Desktop untouched. */
@media screen and (max-width:767px) {
  #app.shell > main #dashboard #recent .listingRow,
  #app.shell > main #competitors #competitorHistoryList .listingRow.competitorReportRow {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    column-gap:10px !important;
    row-gap:6px !important;
    width:100% !important;
    min-width:0 !important;
    padding:15px 12px !important;
    box-sizing:border-box !important;
  }
  #app.shell > main #dashboard #recent .listingRow > span:first-child,
  #app.shell > main #competitors #competitorHistoryList .competitorReportRow > .competitorReportInfo {
    grid-column:1 !important;
    grid-row:1 !important;
    min-width:0 !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
  }
  #app.shell > main #dashboard #recent .listingRow .sourcePreviewActions,
  #app.shell > main #competitors #competitorHistoryList .competitorReportRow > .competitorReportActions {
    grid-column:2 !important;
    grid-row:1 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:6px !important;
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
  }
  #app.shell > main #dashboard #recent .listingRow .sourcePreviewActions button,
  #app.shell > main #competitors #competitorHistoryList .competitorReportRow .competitorReportActions button {
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    padding:8px 10px !important;
    font-size:11px !important;
    white-space:nowrap !important;
    box-sizing:border-box !important;
  }
  #app.shell > main #dashboard #recent .historyItemTitle,
  #app.shell > main #competitors #competitorHistoryList .competitorReportRow .historyItemTitle {
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    line-height:1.45 !important;
  }
  #app.shell > main #dashboard #recent .historyItemMeta,
  #app.shell > main #competitors #competitorHistoryList .competitorReportRow .historyItemMeta {
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:5px 8px !important;
  }
}

#app.shell > main > header.workspaceHeader > #myAiCredits {
  border-radius: 7px !important;
}

/* XEELIST MOBILE HEADER - TWO ROWS
   Adjustable: --xh-button, --xh-title, --xh-subtitle, --xh-bell */
@media screen and (max-width:767px) {
  #app.shell > main > header.workspaceHeader {
    --xh-button:40px;
    --xh-bell:38px;
    --xh-title:16px;
    --xh-subtitle:11px;
    --xh-gap:8px;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto !important;
    gap:10px 8px !important;
    align-items:center !important;
    width:100% !important;
    margin:0 0 18px !important;
    padding:0 !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain {
    grid-column:1 !important;grid-row:1 !important;
    display:flex !important;flex:1 1 auto !important;
    width:100% !important;min-width:0 !important;
    align-items:center !important;gap:var(--xh-gap) !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #mobileNavToggle,
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn.backBtn:not(.hidden) {
    width:var(--xh-button) !important;min-width:var(--xh-button) !important;
    max-width:var(--xh-button) !important;height:var(--xh-button) !important;
    min-height:var(--xh-button) !important;flex:0 0 var(--xh-button) !important;
    padding:0 !important;display:inline-flex !important;
    align-items:center !important;justify-content:center !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #mobileNavToggle svg,
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain #backBtn svg {
    width:21px !important;height:21px !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderMain .workspaceHeading {
    flex:1 1 auto !important;min-width:0 !important;width:auto !important;
    overflow:visible !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading #pageTitle {
    font-size:var(--xh-title) !important;font-weight:650 !important;
    line-height:1.25 !important;margin:0 !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading #pageSub {
    font-size:var(--xh-subtitle) !important;line-height:1.35 !important;
    margin:3px 0 0 !important;white-space:normal !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {
    grid-column:2 !important;grid-row:1 !important;
    display:flex !important;flex:0 0 auto !important;
    width:var(--xh-bell) !important;min-width:var(--xh-bell) !important;
    max-width:var(--xh-bell) !important;
    justify-content:center !important;align-items:center !important;
    padding:0 !important;margin:0 !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions #userNotificationBell {
    width:var(--xh-bell) !important;min-width:var(--xh-bell) !important;
    max-width:var(--xh-bell) !important;height:var(--xh-bell) !important;
    min-height:var(--xh-bell) !important;flex:0 0 var(--xh-bell) !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    grid-column:1 / -1 !important;grid-row:2 !important;
    display:grid !important;flex:none !important;
    width:100% !important;min-width:0 !important;max-width:100% !important;
    padding:5px 12px 5px 12px !important;margin:0 !important;
    border-radius:12px !important;overflow:visible !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto 3px auto !important;
    column-gap:2px !important;row-gap:3px !important;
    align-items:center !important;
    padding-right:9px !important;
    cursor:default !important;
    transform:none !important;
    filter:none !important;
  }
  /* Keep label and balance together independently of the card's width. */
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsTopLine {
    grid-column:1 !important;grid-row:1 !important;
    display:inline-flex !important;align-items:center !important;
    justify-self:start !important;justify-content:flex-start !important;
    gap:3px !important;width:max-content !important;max-width:100% !important;
    min-width:0 !important;margin:0 !important;
  }
  /* Row 1: AI Credits label + balance + lightning icon */
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel {
    font-size:11px !important;line-height:1.2 !important;
    white-space:nowrap !important;margin:0 !important;
    align-self:center !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValue {
    font-size:14px !important;line-height:1.2 !important;
    white-space:nowrap !important;margin:0 !important;
    align-self:center !important;justify-self:start !important;
    left:0 !important;top:0 !important;position:relative !important;
  }

#app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsTrack,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsBar {
    grid-column:1 / -1 !important;grid-row:2 !important;
    height:3px !important;min-height:3px !important;margin:0 !important;
    width:100% !important;max-width:100% !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel {
    grid-column:1 !important;grid-row:3 !important;
    font-size:10px !important;line-height:1.15 !important;
    margin:0 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    grid-column:2 !important;grid-row:3 !important;
    font-size:10px !important;line-height:1.15 !important;
    justify-self:end !important;margin:0 !important;
    position:static !important;left:auto !important;top:auto !important;
  }
}
@media screen and (max-width:359px) {
  #app.shell > main > header.workspaceHeader {
    --xh-button:36px;--xh-bell:36px;
    --xh-title:14px;--xh-subtitle:10px;--xh-gap:6px;
  }
}

/* Xeelist unified sidebar icons and typography — desktop + mobile */
#app.shell > aside#xeelistSidebar .nav,
#app.shell > aside#xeelistSidebar .nav:not(.active) {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.45 !important;
  letter-spacing:0 !important;
  text-align:left !important;
  white-space:nowrap !important;
  padding:12px 13px !important;
}
#app.shell > aside#xeelistSidebar .nav.active {
  font-weight:500 !important;
  color:#f8fafc !important;
  background:#202c3d !important;
}
#app.shell > aside#xeelistSidebar .xeelistNavIcon {
  display:block !important;
  flex:0 0 19px !important;
  width:19px !important;
  height:19px !important;
  stroke-width:1.8 !important;
  color:#94a3b8 !important;
}
#app.shell > aside#xeelistSidebar .nav.active .xeelistNavIcon {color:#f8fafc !important;}
#app.shell > aside#xeelistSidebar .xeelistNavLabel {
  display:inline-block !important;
  font-size:inherit !important;
  line-height:inherit !important;
  font-weight:inherit !important;
  color:inherit !important;
  min-width:0 !important;
}
#app.shell > aside#xeelistSidebar .brand b.xeelistWordmark {
  font-size:19px !important;
  font-weight:650 !important;
  letter-spacing:.25px !important;
  line-height:1.3 !important;
  white-space:nowrap !important;
}
#app.shell > aside#xeelistSidebar .brand .xeelistBetaBadge {
  display:inline-block !important;
  vertical-align:middle !important;
  position:relative !important;
  top:-1px !important;
  margin-left:5px !important;
  padding:1px 3px !important;
  font:600 8px/1.25 Inter,system-ui,sans-serif !important;
  letter-spacing:.1px !important;
  color:#93c5fd !important;
  background:transparent !important;
  border:1px solid #446487 !important;
  border-radius:4px !important;
}
#app.shell > aside#xeelistSidebar .brand small {
  font-size:11px !important;
  line-height:1.5 !important;
  color:#94a3b8 !important;
  letter-spacing:.05px !important;
}
#app.shell > aside#xeelistSidebar button.profile.accountProfileButton #userName {
  font-size:14px !important;
  font-weight:500 !important;
}
#app.shell > aside#xeelistSidebar button.profile.accountProfileButton #userEmail {
  font-size:11px !important;
  font-weight:400 !important;
}
@media screen and (max-width:767px) {
  #app.shell > aside#xeelistSidebar .nav,
  #app.shell > aside#xeelistSidebar .nav:not(.active) {
    display:flex !important;
    gap:12px !important;
    font-size:14px !important;
    font-weight:400 !important;
    padding:12px 13px !important;
  }
  #app.shell > aside#xeelistSidebar .nav.active {font-weight:500 !important;}
  #app.shell > aside#xeelistSidebar .brand b.xeelistWordmark {font-size:19px !important;}
}


/* Center the actual inline Lucide user icon in the profile avatar. */
#app.shell > aside#xeelistSidebar button.profile.accountProfileButton > #avatar {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  line-height:1 !important;
}
#app.shell > aside#xeelistSidebar #avatar .xeelistProfileUserIcon {
  display:block !important;
  flex:0 0 21px !important;
  width:21px !important;
  height:21px !important;
  margin:0 !important;
  transform:none !important;
}


/* Sidebar avatar: consistent centered icon on desktop and mobile. */
#app.shell > aside#xeelistSidebar button.profile.accountProfileButton > #avatar {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
}
#app.shell > aside#xeelistSidebar button.profile.accountProfileButton > #avatar svg {
  display:block !important;
  width:23px !important;
  height:23px !important;
  flex:none !important;
  margin:0 auto !important;
}

/* Sidebar avatar: show first + last name initials, not user icon. */
#app.shell > aside#xeelistSidebar button.profile.accountProfileButton > #avatar {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:15px !important;
  font-weight:600 !important;
  letter-spacing:.02em !important;
  line-height:1 !important;
  background-image:none !important;
}


/* Desktop Only - New Listing Subtitle */
@media (min-width: 768px) {
  #app .workspaceHeader #pageSub {
    font-weight: 450 !important;
    letter-spacing: 0.1px !important;
  }
}

/* Desktop Only - AI Credits Card */
@media (min-width: 768px) {

  #app.shell > main > header.workspaceHeader > #myAiCredits {
    border-radius: 12px !important;
    overflow: hidden !important;
  
  }

  #app .myAiCreditsTopLine {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

}


/* Xeelist mobile-only compact toolbar — 2026-11-04.
   Desktop remains unchanged; existing controls retain their event handlers. */
@media screen and (max-width:767px) {
  #app.shell > main > header.workspaceHeader {
    display:grid !important;
    grid-template-columns:40px 40px minmax(0,1fr) 40px !important;
    grid-template-rows:44px auto !important;
    column-gap:7px !important;
    row-gap:16px !important;
    align-items:center !important;
    width:100% !important;
    margin:0 0 18px !important;
    padding:0 !important;
  }
  #app.shell > main > header.workspaceHeader > .workspaceHeaderMain,
  #app.shell > main > header.workspaceHeader > .workspaceHeaderActions {
    display:contents !important;
  }
  #app.shell > main > header.workspaceHeader #mobileNavToggle {
    grid-column:1 !important;grid-row:1 !important;
  }
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden) {
    grid-column:2 !important;grid-row:1 !important;
  }
  #app.shell > main > header.workspaceHeader #mobileNavToggle,
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden) {
    width:40px !important;min-width:40px !important;max-width:40px !important;
    height:40px !important;min-height:40px !important;
    padding:0 !important;margin:0 !important;
    display:inline-flex !important;align-items:center !important;justify-content:center !important;
    border-radius:11px !important;
    align-self:center !important;
  }
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden) {
    position:relative !important;
    background:#2563eb !important;color:#fff !important;border-color:#2563eb !important;
    font-size:0 !important;
  }
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden):hover,
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden):focus-visible {
    background:#1d4ed8 !important;
  }
  /* Native title is retained for accessibility; a tooltip appears on hover/focus. */
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden)::after {
    content:'Back';position:absolute;top:calc(100% + 7px);left:50%;
    transform:translateX(-50%);background:#1f2937;color:#fff;
    border-radius:7px;padding:5px 9px;font:500 12px/1.2 system-ui,sans-serif;
    white-space:nowrap;opacity:0;pointer-events:none;z-index:20;
  }
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden):hover::after,
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden):focus-visible::after {opacity:1;}
  #app.shell > main > header.workspaceHeader .workspaceHeading {
    grid-column:1 / -1 !important;grid-row:2 !important;
    display:flex !important;flex-direction:column !important;
    width:100% !important;min-width:0 !important;margin:0 !important;
    padding:0 2px !important;overflow:visible !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading #pageTitle {
    font-size:19px !important;font-weight:700 !important;line-height:1.3 !important;
    margin:0 !important;overflow-wrap:anywhere !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeading #pageSub {
    font-size:12px !important;font-weight:400 !important;line-height:1.45 !important;
    margin:4px 0 0 !important;white-space:normal !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits {
    grid-column:3 !important;grid-row:1 !important;
    display:grid !important;position:relative !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:16px 3px !important;
    gap:4px !important;align-content:center !important;
    width:100% !important;min-width:0 !important;max-width:none !important;
    height:44px !important;min-height:44px !important;
    margin:0 !important;padding:5px 9px !important;
    border-radius:13px !important;overflow:visible !important;
    transform:none !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsTopLine {
    grid-column:1 !important;grid-row:1 !important;
    display:flex !important;align-items:center !important;
    gap:4px !important;min-width:0 !important;width:calc(100% - 40px) !important;
    max-width:calc(100% - 40px) !important;white-space:nowrap !important;
    position:static !important;overflow:visible !important;
    padding:0 !important;margin:0 !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel {
    flex:0 0 auto !important;font-size:9px !important;white-space:nowrap !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues {
    flex:1 1 auto !important;min-width:0 !important;
    font-size:9px !important;white-space:nowrap !important;
    overflow:hidden !important;text-overflow:ellipsis !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues strong {font-size:10px !important;}
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsTrack {
    grid-column:1 !important;grid-row:2 !important;
    display:block !important;width:100% !important;height:4px !important;
    min-height:4px !important;margin:0 !important;border-radius:99px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel {display:none !important;}
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    display:block !important;visibility:visible !important;opacity:1 !important;
    position:absolute !important;inset:auto 7px auto auto !important;
    top:11px !important;left:auto !important;right:7px !important;bottom:auto !important;
    grid-column:auto !important;grid-row:auto !important;
    width:auto !important;max-width:none !important;height:16px !important;
    font-size:9px !important;line-height:16px !important;
    font-weight:500 !important;color:#64748b !important;
    margin:0 !important;padding:0 !important;white-space:nowrap !important;
    z-index:3 !important;transform:none !important;
  }
  #app.shell > main > header.workspaceHeader #userNotificationBell {
    grid-column:4 !important;grid-row:1 !important;
    width:40px !important;min-width:40px !important;max-width:40px !important;
    height:40px !important;min-height:40px !important;
    padding:0 !important;margin:0 !important;
    justify-self:end !important;align-self:center !important;
    border-radius:50% !important;
  }
  #app.shell > main > header.workspaceHeader .workspaceHeaderActions .usage.hidden {display:none !important;}
}
@media screen and (max-width:359px) {
  #app.shell > main > header.workspaceHeader {
    grid-template-columns:36px 36px minmax(0,1fr) 36px !important;
    column-gap:5px !important;
  }
  #app.shell > main > header.workspaceHeader #mobileNavToggle,
  #app.shell > main > header.workspaceHeader #backBtn.backBtn:not(.hidden),
  #app.shell > main > header.workspaceHeader #userNotificationBell {
    width:36px !important;min-width:36px !important;max-width:36px !important;
    height:36px !important;min-height:36px !important;
  }
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel {font-size:8px !important;}
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues strong {font-size:9px !important;}
}

/* Sidebar Brand Divider */
#xeelistSidebar .brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
    padding-bottom: 22px;
}


/* Password recovery enhancements — scoped to the reset form only. */
#auth .recoveryPasswordWrap{position:relative;width:100%;min-width:0}
#auth .recoveryPasswordWrap.hidden{display:none!important}
#auth .recoveryPasswordWrap #recoveryPassword{width:100%;padding-right:52px;min-width:0}
#auth .recoveryPasswordToggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:var(--muted,#778196);cursor:pointer}
#auth .recoveryPasswordToggle:hover,#auth .recoveryPasswordToggle:focus-visible{background:var(--panel2,#f3f5fa);color:var(--text,#18202d)}
#auth .recoveryPasswordToggle:focus-visible{outline:2px solid var(--accent,#5b5ce2);outline-offset:2px}
#auth .recoveryPasswordRules{display:grid;gap:6px;margin:0 0 2px;text-align:left;font-size:12px;color:var(--muted,#778196)}
#auth .recoveryPasswordRules.hidden{display:none!important}
#auth .recoveryPasswordRules span::before{content:'○';display:inline-block;width:20px;color:var(--muted,#778196)}
#auth .recoveryPasswordRules span.valid{color:#16804a}
#auth .recoveryPasswordRules span.valid::before{content:'✓';color:#16804a}
#auth .recoveryPasswordRules span.invalid{color:#b54747}
#auth .recoveryPasswordError{margin:0;color:#b42318;font-size:12px;line-height:1.5;text-align:left}
#auth .recoveryPasswordError.hidden{display:none!important}


/* Settings - Change Password visibility */
.settingsPasswordWrap {
  position: relative;
  width: 100%;
}

.settingsPasswordWrap input {
  width: 100%;
  padding-right: 52px !important;
}

.settingsPasswordEye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted, #778196);
  cursor: pointer;
}

.settingsPasswordEye:hover {
  color: var(--accent, #5b5ce2);
}

.settingsPasswordEye:focus-visible {
  outline: 2px solid var(--accent, #5b5ce2);
  outline-offset: 2px;
}

.settingsPasswordEye .eyeSlash {
  display: none;
}

.settingsPasswordEye.isVisible .eyeSlash {
  display: block;
}


/* Mobile AI Credits - single row layout */
@media screen and (max-width: 767px) {

  #app.shell > main > header.workspaceHeader > #myAiCredits {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: 16px 4px !important;
    column-gap: 7px !important;
    row-gap: 5px !important;
    align-items: center !important;
    height: 44px !important;
    padding: 6px 9px !important;
  }

  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsLabel {
    grid-column: 1 !important;
    grid-row: 1 !important;
    font-size: 9px !important;
    white-space: nowrap !important;
  }

  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    font-size: 9px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsValues strong {
    font-size: 9px !important;
  }

  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsPercentage {
    grid-column: 3 !important;
    grid-row: 1 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
    font-size: 9px !important;
    white-space: nowrap !important;
    justify-self: end !important;
  }

  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsTrack {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 4px !important;
    margin: 0 !important;
  }

  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsFooterLabel,
  #app.shell > main > header.workspaceHeader > #myAiCredits .myAiCreditsIcon {
    display: none !important;
  }
}

/* Owner-only verification dialog, inside the Xeelist workspace */
.ownerAdminModal[hidden]{display:none!important}
.ownerAdminModal{position:fixed;inset:0;z-index:12000;background:rgba(8,16,32,.64);display:grid;place-items:center;padding:20px}
.ownerAdminDialog{width:min(430px,100%);padding:30px;background:var(--panel,#fff);color:var(--text,#18202d);border:1px solid var(--border,#e2e6ee);border-radius:20px;box-shadow:0 24px 80px #0004}
.ownerAdminDialogIcon{font-size:25px;margin-bottom:10px}
.ownerAdminDialog h2{font-size:21px;margin:0 0 9px}
.ownerAdminDialog p{font-size:13px;line-height:1.65;color:var(--muted,#687287);margin:0 0 22px}
.ownerAdminDialog label{display:block;font-weight:650;font-size:12px;margin-bottom:8px}
.ownerAdminDialog input{display:block;width:100%;padding:13px;border:1px solid var(--border,#dfe4ed);border-radius:10px;background:var(--panel,#fff);color:inherit}
.ownerAdminSecretError{font-size:12px;color:#c83a48;min-height:20px;margin-top:7px}
.ownerAdminActions{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}
.ownerAdminActions button{padding:11px 17px;border-radius:9px;border:1px solid var(--border,#dfe4ed);cursor:pointer}
#ownerAdminSecretSubmit{background:#2359cb;color:white;border-color:#2359cb;font-weight:650}
#ownerAdminSecretSubmit:disabled{opacity:.6}

/* Login / Signup - Desktop Only */
@media (min-width: 1024px) {
    #auth .seoAuthStack > .seoIntro h1 {
        font-size: 32px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }

    #auth .seoAuthStack > .seoIntro p {
        margin-top: 0 !important;
    }
}

/* AI Management: independent provider selection for each feature. */
.aiProviderCard{min-width:0;padding:14px;border:1px solid var(--border,#d7dee8);border-radius:12px;background:var(--panel2,#f8f9fc);color:inherit}
.aiProviderCard h3{margin:0 0 12px;font-size:14px;font-weight:700}
.aiProviderCard label{display:grid;gap:6px;margin:10px 0;font-size:12px;font-weight:600}
.aiProviderCard select{width:100%;min-width:0;padding:9px;border:1px solid var(--border,#d7dee8);border-radius:8px;background:var(--panel,#fff);color:inherit}
.aiProviderCard p{margin:10px 0 5px;font-size:11px;line-height:1.5}
.aiProviderStatus{display:block;min-height:17px;font-size:11px}
