/*
 * MENTE Ultimate 6.1 — Responsive Application System
 * One stylesheet for desktop, tablet and mobile. No dependency on previous UI layers.
 */
:root{
  --mente-v6-bg:#0b0d12;
  --mente-v6-bg-2:#0f1219;
  --mente-v6-panel:#121620;
  --mente-v6-panel-2:#171c27;
  --mente-v6-panel-3:#1c2230;
  --mente-v6-line:#292f3d;
  --mente-v6-line-soft:#202633;
  --mente-v6-text:#f4f6fb;
  --mente-v6-text-2:#c8cfdb;
  --mente-v6-muted:#8f99aa;
  --mente-v6-accent:#8d89f5;
  --mente-v6-accent-soft:rgba(141,137,245,.15);
  --mente-v6-copper:#dfb27f;
  --mente-v6-copper-soft:rgba(223,178,127,.14);
  --mente-v6-good:#62c99f;
  --mente-v6-warn:#e4b35d;
  --mente-v6-danger:#ef6d79;
  --mente-v6-radius:16px;
  --mente-v6-radius-lg:22px;
  --mente-v6-shadow:0 18px 50px rgba(0,0,0,.28);
  --mente-v6-sidebar:300px;
  --mente-v6-topbar:72px;
  --mente-v6-content:1600px;
  --mente-v6-dock:78px;
  color-scheme:dark;
}

html{background:var(--mente-v6-bg);scroll-behavior:smooth}
html,body{min-width:320px;margin:0;padding:0}
body.mente-standalone,body.mente-v6-app{background:var(--mente-v6-bg);color:var(--mente-v6-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
#mente-application{min-height:100dvh}

.mente-portal,.mente-commerce{--app-accent:var(--mente-accent,var(--mente-v6-accent));position:relative;width:100%;min-height:100dvh;margin:0;color:var(--mente-v6-text);background:var(--mente-v6-bg);font-family:inherit;isolation:isolate}
.mente-portal *, .mente-portal *::before,.mente-portal *::after,.mente-commerce *, .mente-commerce *::before,.mente-commerce *::after{box-sizing:border-box}
.mente-portal a,.mente-commerce a{color:inherit;text-decoration:none}
.mente-portal button,.mente-portal input,.mente-portal select,.mente-portal textarea,.mente-commerce button,.mente-commerce input,.mente-commerce select,.mente-commerce textarea{font:inherit}
.mente-portal button,.mente-commerce button{cursor:pointer}
.mente-portal img,.mente-commerce img{max-width:100%;display:block}
.mente-icon,.mc-icon{width:19px;height:19px;flex:0 0 19px;display:inline-block;vertical-align:middle}
.mente-portal :focus-visible,.mente-commerce :focus-visible{outline:2px solid #b7b4ff;outline-offset:2px}

/* ---------- Application shell ---------- */
.mente-layout,.mc-shell{display:grid;grid-template-columns:var(--mente-v6-sidebar) minmax(0,1fr);min-height:100dvh;background:var(--mente-v6-bg)}
.mente-sidebar,.mc-sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:14px;padding:18px 16px;background:#0e1118;border-right:1px solid var(--mente-v6-line-soft);overflow-y:auto;overscroll-behavior:contain;z-index:80}
.mente-workspace,.mc-workspace{min-width:0;min-height:100dvh;background:linear-gradient(180deg,#0b0e14,#0b0d12 60%)}
.mente-main,.mc-content{width:min(100%,var(--mente-v6-content));margin:0 auto;padding:28px clamp(22px,3vw,42px) 44px;min-width:0}
.mente-width-contained .mente-main{max-width:1240px}

/* ---------- Brand / sidebar ---------- */
.mente-logo-wrap,.mc-brand{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;padding:2px 4px 16px;border-bottom:1px solid var(--mente-v6-line-soft)}
.mente-logo-mark,.mc-brand-symbol{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#b8b5ff,#7470d7);color:#11131a;font-size:18px;font-weight:850;box-shadow:0 8px 28px rgba(93,88,205,.18)}
.mente-logo-mark img,.mc-brand-symbol img{width:100%;height:100%;object-fit:cover}
.mente-brand,.mc-brand>div:nth-child(2){min-width:0}
.mente-brand strong,.mc-brand b{display:block;color:#fff;font-size:14px;font-weight:760;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mente-brand small,.mc-brand small{display:block;margin-top:4px;color:#7f899a;font-size:9px;font-weight:720;line-height:1.2;letter-spacing:.12em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mente-mobile-close,.mc-mobile-close{display:none}
.mente-sidebar-tag,.mc-context{padding:11px 12px;border:1px solid var(--mente-v6-line-soft);border-radius:12px;background:rgba(255,255,255,.018);color:#a7b0bf;font-size:10px;font-weight:720;line-height:1.35;letter-spacing:.08em}
.mente-live-dot,.mc-live{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:999px;background:var(--mente-v6-good);box-shadow:0 0 0 4px rgba(98,201,159,.08)}
.mc-context small{display:block;margin-top:4px;color:#707989;font-weight:560;letter-spacing:0}
.mente-nav-label,.mc-nav-caption{margin:9px 7px 2px;color:#676f7f;font-size:9px;font-weight:820;line-height:1.3;letter-spacing:.15em;text-transform:uppercase}
.mente-personal-caption{margin-top:18px;padding-top:16px;border-top:1px solid var(--mente-v6-line-soft)}
.mente-command-trigger{width:100%;min-height:40px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;padding:0 10px;border:1px solid var(--mente-v6-line);border-radius:11px;background:#121620;color:#a6afbe;text-align:left}
.mente-command-trigger span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
.mente-command-trigger kbd{padding:3px 6px;border:1px solid #343a49;border-radius:6px;background:#191e28;color:#7f8795;font-size:9px}
.mente-nav,.mc-nav{display:flex;flex-direction:column;gap:4px;min-width:0}
.mente-nav-link,.mc-nav a{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:44px;padding:9px 11px;border:1px solid transparent;border-radius:11px;color:#aeb6c4;font-size:12px;font-weight:630;line-height:1.35;transition:background .14s ease,border-color .14s ease,color .14s ease}
.mente-nav-link>span,.mc-nav a>span{display:block;flex:1 1 auto;width:auto;max-width:none;min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal;hyphens:none}
.mente-nav-link>.mente-icon,.mc-nav a>i{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;color:#8c95a5}
.mente-nav-link em,.mc-nav a>b{flex:0 0 auto}
.mente-nav-link:hover,.mc-nav a:hover{background:#151a24;border-color:#222a38;color:#eef1f6}
.mente-nav-link.is-active,.mc-nav a.active{background:#1b2030;border-color:#31384a;color:#fff;box-shadow:inset 3px 0 0 var(--app-accent)}
.mente-nav-link.is-active .mente-icon,.mc-nav a.active i{color:#b8b5ff}
.mente-nav-link em,.mc-nav a>b{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:var(--mente-v6-accent-soft);color:#d8d6ff;font-size:9px;font-style:normal;font-weight:800}
.mente-sidebar-bottom,.mc-side-bottom{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid var(--mente-v6-line-soft)}
.mente-sidebar-help{padding:13px;border:1px solid var(--mente-v6-line);border-radius:13px;background:#121620}
.mente-help-icon{width:30px;height:30px;display:grid;place-items:center;margin-bottom:9px;border-radius:9px;background:var(--mente-v6-accent-soft);color:#c9c7ff}
.mente-sidebar-help strong{display:block;color:#fff;font-size:12px}
.mente-sidebar-help p,.mc-side-bottom p{margin:6px 0 10px;color:#7f8999;font-size:10px;line-height:1.55}
.mente-sidebar-help a,.mente-website-link,.mc-side-bottom a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:0 9px;border-radius:9px;color:#c3cad6;font-size:10px;font-weight:650}
.mente-sidebar-help a:hover,.mente-website-link:hover,.mc-side-bottom a:hover{background:#171c26;color:#fff}


/* Responsive-only controls are hidden by default on desktop. */
.mente-mobile-dock,.mc-mobile-dock{display:none}
.mente-v5-notices[hidden],.mente-command-overlay[hidden],.mente-dialog-notice[hidden]{display:none!important}

/* ---------- Top bar ---------- */
.mente-topbar,.mc-topbar{position:sticky;top:0;z-index:70;min-height:var(--mente-v6-topbar);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:0 clamp(22px,3vw,42px);border-bottom:1px solid var(--mente-v6-line-soft);background:rgba(11,13,18,.92);backdrop-filter:blur(18px)}
.mente-menu-button,.mc-mobile-menu{display:none}
.mente-breadcrumb,.mc-crumb{display:flex;align-items:center;gap:8px;min-width:0;color:#7e8796;font-size:10px;font-weight:700;letter-spacing:.08em}
.mente-breadcrumb strong,.mc-crumb strong{color:#f3f5f8;font-size:14px;font-weight:720;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mente-top-actions,.mc-top-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.mente-top-date,.mente-top-secure,.mc-today,.mc-top-visit,.mc-user{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;border:1px solid var(--mente-v6-line-soft);border-radius:10px;background:#11151e;color:#8f98a7;font-size:10px;white-space:nowrap}
.mente-top-search{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;border:1px solid var(--mente-v6-line-soft);border-radius:10px;background:#11151e;color:#aab2c0}
.mente-top-search:hover,.mc-top-visit:hover{border-color:#383f4e;color:#fff}
.mente-avatar,.mc-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;border:1px solid #39354c;background:#201e2b;color:#dad8ff;font-size:12px;font-weight:820}

/* ---------- Page headings ---------- */
.mente-page-head,.mc-page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 22px;padding:0}
.mente-page-head>div,.mc-page-title>div{min-width:0}
.mente-eyebrow,.mc-eyebrow,.mc-agency-kicker{display:inline-flex;align-items:center;gap:6px;color:#9e9af6;font-size:9px;font-weight:820;line-height:1.3;letter-spacing:.14em;text-transform:uppercase}
.mente-page-head h1,.mc-page-title h1{margin:7px 0 0;color:#fff;font-size:clamp(28px,3vw,42px);line-height:1.08;letter-spacing:-.04em;font-weight:780}
.mente-page-head p,.mc-page-title p{max-width:760px;margin:8px 0 0;color:var(--mente-v6-muted);font-size:13px;line-height:1.65}

/* ---------- Welcome / hero ---------- */
.mente-welcome,.mc-agency-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.2fr) 260px;gap:24px;align-items:center;margin:0 0 18px;padding:28px;border:1px solid var(--mente-v6-line);border-radius:var(--mente-v6-radius-lg);background:linear-gradient(145deg,#151a25,#111620 66%,#121725);box-shadow:var(--mente-v6-shadow)}
.mente-welcome::before,.mc-agency-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 0 0,rgba(141,137,245,.14),transparent 34%),radial-gradient(circle at 100% 0,rgba(223,178,127,.08),transparent 25%)}
.mente-welcome>*,.mc-agency-hero>*{position:relative;z-index:1}
.mente-welcome h1,.mc-agency-copy h2{margin:12px 0 10px;color:#fff;font-size:clamp(31px,3.4vw,52px);line-height:1.02;letter-spacing:-.055em;font-weight:790}
.mente-welcome p,.mc-agency-copy p{max-width:690px;margin:0 0 18px;color:#a6afbd;font-size:14px;line-height:1.7}
.mente-welcome-period{color:var(--app-accent)}
.mente-welcome-art,.mc-agency-visual{justify-self:end;position:relative;width:230px;height:190px;border:1px solid #2d3443;border-radius:20px;background:linear-gradient(180deg,#171d28,#111620);overflow:hidden}
.mente-orbit,.mc-agency-ring{position:absolute;border:1px solid rgba(141,137,245,.25);border-radius:999px;inset:22px}
.mente-orbit-b,.mc-agency-ring-inner{inset:48px;border-color:rgba(223,178,127,.22)}
.mente-orbit-core,.mc-agency-core{position:absolute;inset:50%;width:64px;height:64px;margin:-32px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#b2afff,#6f6bd3);color:#141520}
.mc-agency-actions{display:flex;flex-wrap:wrap;gap:10px}

/* ---------- Buttons ---------- */
.mente-btn,.mc-btn,.mente-inline-btn,.mente-row-action,.mente-account-link,.mente-v5-notice-read{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--mente-v6-line);border-radius:11px;background:#171c26;color:#eef1f6;font-size:11px;font-weight:720;line-height:1.2;text-decoration:none;transition:transform .12s ease,border-color .12s ease,background .12s ease}
.mente-btn:hover,.mc-btn:hover,.mente-inline-btn:hover,.mente-row-action:hover,.mente-account-link:hover{transform:translateY(-1px);border-color:#3a4253;background:#1a202c}
.mente-btn--accent,.mc-btn-primary{border-color:transparent;background:linear-gradient(135deg,#dcb184,#8d89f5);color:#18151d}
.mente-btn--outline,.mc-btn-subtle{background:#131820;color:#e6eaf1}
.mc-btn-danger{border-color:rgba(239,109,121,.38);background:rgba(239,109,121,.09);color:#ffb8bf}

/* ---------- Statistics ---------- */
.mente-stat-grid,.mc-stats,.mu-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.mente-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mente-stat,.mc-stat,.mu-summary>div{position:relative;min-width:0;min-height:132px;padding:16px;border:1px solid var(--mente-v6-line);border-radius:15px;background:linear-gradient(180deg,#151a24,#111620);overflow:hidden}
.mente-stat-icon,.mc-stat-head b{width:34px;height:34px;display:grid;place-items:center;border:1px solid #343b49;border-radius:10px;background:#1b202c;color:#b8b5ff}
.mente-stat small,.mc-stat-head span,.mu-summary small{display:block;color:#8f99a9;font-size:10px;font-weight:670;line-height:1.4}
.mente-stat strong,.mc-stat>strong,.mu-summary strong{display:block;margin:10px 0 5px;color:#fff;font-size:28px;line-height:1;font-weight:780;letter-spacing:-.04em}
.mente-stat>span:last-child,.mc-stat-note{display:block;color:#6f7888;font-size:10px;line-height:1.5}
.mente-stat--highlight{background:linear-gradient(145deg,#191d2d,#131823);border-color:#373553}

/* ---------- Surfaces / cards ---------- */
.mente-surface,.mc-card,.mc-list-card,.mc-soft-panel,.mc-warning,.mu-record,.mu-card,.mente-project-card,.mente-resource-card,.mente-whatsapp-card,.mente-bottom-cta,.mente-quick-panel,.mente-activity-panel{min-width:0;padding:18px;border:1px solid var(--mente-v6-line);border-radius:var(--mente-v6-radius);background:linear-gradient(180deg,#141923,#111620);box-shadow:none}
.mente-double-grid,.mc-two,.mente-support-grid,.mente-account-grid,.mu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.mu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mente-section-head,.mc-card-head,.mc-soft-head,.mu-record-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--mente-v6-line-soft)}
.mente-section-head h2,.mc-card h2,.mc-card-head h2,.mu-record h2,.mu-card h2,.mente-project-card h2,.mente-resource-card h2{margin:0;color:#fff;font-size:16px;line-height:1.25;font-weight:730;letter-spacing:-.02em}
.mente-section-head a,.mc-card-head a,.mc-link-more,.mente-resource-more,.mente-project-link{display:inline-flex;align-items:center;gap:6px;color:#a9a6ff;font-size:10px;font-weight:720}
.mente-muted,.mc-muted,.mc-helper,.mc-note,.mc-disclaimer,.mente-surface p,.mu-card p,.mu-record-copy,.mu-action-form>p{color:var(--mente-v6-muted);font-size:12px;line-height:1.65}
.mente-surface p:last-child,.mc-card p:last-child,.mu-card p:last-child{margin-bottom:0}

/* ---------- Quick actions / list rows ---------- */
.mente-quick-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.mente-quick-panel>div strong{display:block;margin-top:4px;color:#fff;font-size:15px}
.mente-quick-panel nav,.mc-quick,.mente-shop-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mc-quick{grid-template-columns:1fr}
.mente-quick-panel nav a,.mc-quick>a,.mc-quick-row,.mente-shop-actions a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:11px 12px;border:1px solid var(--mente-v6-line-soft);border-radius:12px;background:#151a24;color:#dfe4ec;font-size:11px;font-weight:650}
.mente-quick-panel nav a:hover,.mc-quick>a:hover,.mc-quick-row:hover,.mente-shop-actions a:hover{border-color:#394152;background:#181e29}
.mc-quick>a i{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--mente-v6-accent-soft);color:#c8c5ff}
.mc-quick>a span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.mc-quick>a b{font-size:11px;color:#fff}.mc-quick>a small{color:#778191;font-size:9px}
.mente-list,.mente-activity-list,.mu-record-list{display:flex;flex-direction:column;gap:8px}
.mente-line,.mente-activity-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:11px;min-height:56px;padding:10px;border:1px solid var(--mente-v6-line-soft);border-radius:12px;background:#131820}
.mente-line-icon,.mente-activity-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#191f2a;color:#aaa7ff}
.mente-line-body,.mente-activity-copy{min-width:0}
.mente-line-body strong,.mente-activity-copy strong{display:block;color:#f1f3f7;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mente-line-body small,.mente-activity-copy small,.mente-activity-item time{display:block;margin-top:3px;color:#727c8b;font-size:9px}
.mente-activity-context{color:#6f7886;font-size:9px}
.mente-activity-empty,.mente-empty,.mc-empty,.mu-record-empty{padding:24px;border:1px dashed #303747;border-radius:13px;background:#11151d;color:#818a99;text-align:center;font-size:12px;line-height:1.6}

/* ---------- Badges ---------- */
.mente-badge,.mc-status,.mc-pill,.mu-record-status,.mu-pill,.mente-notice{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 8px;border:1px solid #343b49;border-radius:999px;background:#171c25;color:#b7bfcc;font-size:9px;font-weight:740;line-height:1}
.mente-dot{width:6px;height:6px;border-radius:999px;background:#8d89f5}
.mente-badge--good{border-color:rgba(98,201,159,.28);background:rgba(98,201,159,.08);color:#a3e4c9}.mente-badge--good .mente-dot{background:var(--mente-v6-good)}
.mente-badge--active{border-color:rgba(141,137,245,.32);background:var(--mente-v6-accent-soft);color:#cbc9ff}
.mente-badge--soft{color:#a9b1be}

/* ---------- Projects / resources / products ---------- */
.mente-project-grid,.mente-resource-grid,.mente-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mente-project-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.mente-project-icon,.mente-resource-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #343b49;border-radius:12px;background:#1a202c;color:#b6b3ff}
.mente-project-description,.mente-resource-excerpt{color:#8d96a5;font-size:11px;line-height:1.6}
.mente-project-meta{display:grid;grid-template-columns:minmax(90px,.7fr) 1fr;gap:10px;padding:9px 0;border-top:1px solid var(--mente-v6-line-soft);font-size:10px}.mente-project-meta span{color:#727b8a}.mente-project-meta strong{color:#e8ebf1;font-weight:650}
.mente-product{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--mente-v6-line);border-radius:13px;background:#131820}
.mente-product-image{width:72px;height:72px;display:grid;place-items:center;border-radius:11px;background:#1a1f2a;overflow:hidden}.mente-product-image img{width:100%;height:100%;object-fit:cover}.mente-product-copy{min-width:0}.mente-product-copy strong{display:block;color:#fff;font-size:12px}.mente-product-copy small{display:block;margin-top:4px;color:#788190;font-size:9px}.mente-product-price{color:#e2b786;font-size:13px;font-weight:760}

/* ---------- Account / support ---------- */
.mente-account-header{display:flex;align-items:center;gap:13px;margin-bottom:18px}.mente-account-avatar{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#211f2f;color:#dcd9ff;font-weight:800}.mente-account-header small{color:#777f8e;font-size:9px;letter-spacing:.12em}.mente-account-header h2{margin:3px 0;color:#fff}.mente-account-header span{color:#8d96a5;font-size:10px}
.mente-account-link{width:100%;justify-content:space-between;margin-top:8px}
.mente-support-grid{align-items:start}
.mente-whatsapp-card{margin-top:14px}

/* ---------- Forms ---------- */
.mente-form,.mc-form,.mu-form,.mu-action-form form{display:block;width:100%}
.mente-form label,.mc-field,.mu-form label,.mu-action-form label{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;color:#cfd5df;font-size:10px;font-weight:680;line-height:1.35}
.mente-form label>span,.mc-field>span{color:#cfd5df}
.mente-form input:not([type=checkbox]):not([type=radio]),.mente-form select,.mente-form textarea,.mc-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.mc-field select,.mc-field textarea,.mu-form input:not([type=checkbox]):not([type=radio]),.mu-form select,.mu-form textarea,.mu-action-form input:not([type=checkbox]):not([type=radio]),.mu-action-form select,.mu-action-form textarea{width:100%;min-height:43px;padding:10px 11px;border:1px solid #303746;border-radius:10px;background:#0f141d;color:#f0f2f6;font-size:12px;line-height:1.4;box-shadow:none;outline:none}
textarea{resize:vertical}
.mente-form textarea,.mc-field textarea,.mu-form textarea,.mu-action-form textarea{min-height:108px}
.mente-form input:focus,.mente-form select:focus,.mente-form textarea:focus,.mc-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]):focus,.mc-field select:focus,.mc-field textarea:focus,.mu-form input:focus,.mu-form select:focus,.mu-form textarea:focus,.mu-action-form input:focus,.mu-action-form textarea:focus{border-color:#565d82;box-shadow:0 0 0 3px rgba(141,137,245,.08)}
.mc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.mc-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mc-check,.mu-check,.mu-ai-consent{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:8px!important;color:#b9c0cc!important;font-size:10px!important;line-height:1.5!important}.mc-check input,.mu-check input,.mu-ai-consent input{flex:0 0 auto;margin-top:2px}
.mc-filter-panel,.mc-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:14px}.mc-filter-panel label{min-width:160px;flex:1;margin:0}.mc-filter-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.mc-filter-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid var(--mente-v6-line);border-radius:999px;background:#141923;color:#aab2bf;font-size:9px;font-weight:700}.mc-filter-chip.is-active{background:var(--mente-v6-accent-soft);border-color:rgba(141,137,245,.28);color:#dedcff}
.mc-info{margin-top:14px;padding:13px;border:1px solid var(--mente-v6-line-soft);border-radius:12px;background:#121721}.mc-info strong{color:#fff;font-size:11px}.mc-info p{margin:5px 0;color:#7e8796;font-size:10px;line-height:1.55}.mc-info a{color:#aaa7ff;font-size:10px;font-weight:700}
.mente-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* ---------- Commerce tables ---------- */
.mc-table-wrap,.mente-table-wrap{width:100%;max-width:100%;overflow:auto;border:1px solid var(--mente-v6-line);border-radius:13px;background:#10151d}
.mc-table,.mente-table{width:100%;border-collapse:separate;border-spacing:0;min-width:660px}.mc-table th,.mente-table th{padding:11px 12px;border-bottom:1px solid var(--mente-v6-line);background:#141923;color:#7e8796;font-size:9px;font-weight:760;text-align:left;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.mc-table td,.mente-table td{padding:12px;border-bottom:1px solid var(--mente-v6-line-soft);color:#bdc5d1;font-size:10px;vertical-align:middle}.mc-table tr:last-child td,.mente-table tr:last-child td{border-bottom:0}.mc-table tbody tr{transition:background .12s ease}.mc-table tbody tr:hover{background:#141923}.mc-table td b{display:block;color:#fff;font-size:11px}.mc-table td small{display:block;margin-top:3px;color:#737d8d;font-size:9px}.mc-money,.mc-total{font-weight:760;color:#f0f2f6}.mc-table-link{display:inline-flex;align-items:center;gap:5px;color:#aaa7ff;font-size:10px;font-weight:700;white-space:nowrap}.mc-record-count{color:#78818f;font-size:10px}
.mc-pager,.mente-pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px}.mc-pager a,.mente-pagination a,.mente-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 9px;border:1px solid var(--mente-v6-line);border-radius:9px;background:#141923;color:#b8c0cc;font-size:10px}

/* ---------- Product editor / media ---------- */
.mente-v5-editor-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:11px 12px;border:1px solid var(--mente-v6-line);border-radius:12px;background:#121720}.mente-v5-editor-tools strong{display:block;color:#fff;font-size:11px}.mente-v5-editor-tools small{display:block;margin-top:3px;color:#737d8d;font-size:9px}.mente-v5-editor-tools>[data-mente-dirty-status]{color:#8f99a9;font-size:9px}
.mc-media-studio{display:flex;flex-direction:column;gap:12px}.mc-media-columns{display:grid;grid-template-columns:1fr 1.3fr;gap:12px}.mc-media-slot{padding:13px;border:1px solid var(--mente-v6-line);border-radius:13px;background:#10151d}.mc-media-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.mc-media-title strong{color:#fff;font-size:11px}.mc-media-title small{color:#77818f;font-size:9px}.mc-media-preview{min-height:190px;display:grid;place-items:center;border:1px dashed #343c4b;border-radius:12px;background:#0d121a;overflow:hidden}.mc-media-preview img{width:100%;height:100%;max-height:270px;object-fit:contain}.mc-media-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#737d8c;font-size:10px}.mc-media-icon{font-size:24px}.mc-upload-zone{display:flex;align-items:center;justify-content:center;min-height:46px;margin-top:10px;padding:10px;border:1px dashed #3b4353;border-radius:10px;background:#131821;color:#aeb6c3;font-size:10px;text-align:center}.mc-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mc-gallery-thumb{position:relative;aspect-ratio:1;border:1px solid var(--mente-v6-line);border-radius:10px;background:#0e131b;overflow:hidden}.mc-gallery-thumb img{width:100%;height:100%;object-fit:cover}.mc-gallery-thumb label{position:absolute;inset:auto 5px 5px;display:flex;align-items:center;gap:4px;padding:5px 6px;border-radius:7px;background:rgba(7,9,14,.82);color:#fff;font-size:8px}.mc-media-empty{grid-column:1/-1;min-height:120px;border:1px dashed #303746;border-radius:10px}.mc-category-grid{max-height:220px;overflow:auto;padding:10px;border:1px solid var(--mente-v6-line);border-radius:10px;background:#0f141d}.mc-category-grid label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;margin:0 0 7px!important;font-size:10px!important}.mc-danger-zone{border-color:rgba(239,109,121,.3);background:linear-gradient(180deg,rgba(239,109,121,.05),#111620)}

/* ---------- Analytics ---------- */
.mc-analytics-row,.mc-operations-row{align-items:stretch}.mc-graph-card{min-height:320px}.mc-graph-summary{display:flex;align-items:baseline;gap:10px;margin-bottom:12px}.mc-graph-summary strong{font-size:24px;color:#fff}.mc-graph-summary span{color:#737d8c;font-size:9px}.mc-chart{position:relative;min-height:220px;padding:10px 6px 0}.mc-chart-grid{position:absolute;inset:10px 6px 30px;display:grid;grid-template-rows:repeat(4,1fr);pointer-events:none}.mc-chart-grid span{border-top:1px solid rgba(255,255,255,.055)}.mc-chart-columns{position:absolute;inset:10px 6px 0;display:flex;align-items:flex-end;gap:5px}.mc-chart-day{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.mc-chart-bar-shell{width:100%;height:calc(100% - 30px);display:flex;align-items:flex-end;justify-content:center}.mc-chart-bar{display:block;width:min(18px,70%);height:var(--mc-height,0%);border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#aaa7ff,#706bd7)}.mc-chart-date{color:#697382;font-size:7px;white-space:nowrap}.mc-chart-note{margin-top:8px;color:#66707f;font-size:9px}.mc-breakdown-list{display:flex;flex-direction:column;gap:12px}.mc-breakdown-row{display:flex;justify-content:space-between;gap:10px;color:#bec5d1;font-size:10px}.mc-breakdown-track,.mc-chart-track{display:block;height:6px;margin-top:6px;border-radius:999px;background:#222836;overflow:hidden}.mc-breakdown-track span,.mc-chart-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#807bdc,#b9b5ff)}.mc-chart-row{margin:12px 0}.mc-chart-row>div{display:flex;justify-content:space-between;color:#b6becb;font-size:10px}
.mente-premium-trend{position:relative;width:100%;min-height:240px}.mente-premium-trend canvas{display:block;width:100%;max-width:100%}.mente-trend-tooltip{position:absolute;top:8px;transform:translateX(-50%);padding:5px 7px;border:1px solid #383f4e;border-radius:7px;background:#0d1118;color:#fff;font-size:9px;pointer-events:none}

/* ---------- Dashboard custom layout ---------- */
.mente-layout-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:14px 16px;border:1px solid var(--mente-v6-line);border-radius:14px;background:#121720}.mente-layout-heading span{display:block;color:#8f8bf0;font-size:8px;font-weight:820;letter-spacing:.15em}.mente-layout-heading strong{display:block;margin-top:4px;color:#fff;font-size:13px}.mente-layout-heading small{display:block;margin-top:3px;color:#747e8d;font-size:9px}.mente-layout-actions{display:flex;gap:7px}.mente-layout-primary,.mente-layout-reset{min-height:34px;padding:0 10px;border:1px solid var(--mente-v6-line);border-radius:9px;background:#181d27;color:#c9d0db;font-size:9px;font-weight:700}.mente-layout-primary{background:var(--mente-v6-accent-soft);border-color:rgba(141,137,245,.25);color:#d9d7ff}.mente-layout-notice{color:#737d8b;font-size:9px}.mente-dashboard-grid{display:flex;flex-direction:column;gap:14px}.mente-widget{position:relative}.mente-widget-tools,.mente-metric-tools{display:none;position:absolute;z-index:8;top:6px;right:6px;gap:4px}.mente-layout-editing .mente-widget-tools,.mente-layout-editing .mente-metric-tools{display:flex}.mente-metric-tools{top:5px}.mente-layout-button{width:29px;height:29px;display:grid;place-items:center;padding:0;border:1px solid #394151;border-radius:8px;background:#111620;color:#aab2bf}.mente-layout-editing .mente-widget{outline:1px dashed rgba(141,137,245,.34);outline-offset:4px;border-radius:12px}.is-dragging{opacity:.55}

/* ---------- Command palette ---------- */
.mente-command-overlay{position:fixed;z-index:12000;inset:0;display:grid;place-items:start center;padding:12vh 16px 20px;background:rgba(4,6,10,.72);backdrop-filter:blur(8px)}.mente-command-overlay[hidden]{display:none}.mente-command-dialog{width:min(620px,100%);max-height:72vh;display:flex;flex-direction:column;border:1px solid #363e4d;border-radius:18px;background:#111620;box-shadow:0 30px 100px rgba(0,0,0,.48);overflow:hidden}.mente-command-header{display:grid;grid-template-columns:24px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:13px;border-bottom:1px solid var(--mente-v6-line)}.mente-command-label{color:#fff;font-size:11px;font-weight:700}.mente-command-header button{width:32px;height:32px;border:1px solid var(--mente-v6-line);border-radius:9px;background:#171c26;color:#b9c1cd}.mente-command-dialog>input{margin:12px 12px 0;min-height:44px;padding:0 12px;border:1px solid #303848;border-radius:10px;background:#0d121a;color:#fff;font-size:13px}.mente-command-note{margin:8px 13px;color:#687180;font-size:9px}.mente-command-results{padding:0 8px 8px;overflow:auto}.mente-command-results a{display:grid;grid-template-columns:20px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:42px;padding:0 9px;border-radius:9px;color:#bac2ce;font-size:11px}.mente-command-results a:hover{background:#181e28;color:#fff}.mente-command-empty{padding:18px;text-align:center;color:#7a8392;font-size:10px}.mente-command-footer{display:flex;justify-content:flex-end;gap:12px;padding:9px 12px;border-top:1px solid var(--mente-v6-line);color:#707988;font-size:8px}.mente-command-footer kbd{padding:2px 5px;border:1px solid #353c4b;border-radius:5px;background:#181d27}

/* ---------- Workspace search / notices / drawers / toast ---------- */
.mente-v5-toasts{position:fixed;z-index:14000;right:18px;bottom:18px;display:flex;flex-direction:column;gap:8px;width:min(360px,calc(100vw - 32px))}.mente-v5-toast{position:relative;padding:12px 38px 12px 13px;border:1px solid #343c4b;border-radius:11px;background:#151b25;color:#e8ebf1;font-size:10px;line-height:1.5;box-shadow:var(--mente-v6-shadow)}.mente-v5-toast.is-error{border-color:rgba(239,109,121,.36);color:#ffc0c6}.mente-v5-toast-close{position:absolute;right:7px;top:7px;width:24px;height:24px;border:0;border-radius:7px;background:#202633;color:#9ba5b4}
.mente-v5-drawer-backdrop,.mente-v5-search-backdrop,.mente-dialog-backdrop{position:fixed;z-index:13000;inset:0;display:flex;justify-content:flex-end;background:rgba(2,4,8,.72);backdrop-filter:blur(6px)}.mente-v5-drawer,.mente-dialog{width:min(760px,92vw);height:100dvh;display:flex;flex-direction:column;border-left:1px solid #343b49;background:#0f141d;box-shadow:-24px 0 80px rgba(0,0,0,.45)}.mente-v5-drawer-head,.mente-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;padding:14px 16px;border-bottom:1px solid var(--mente-v6-line)}.mente-v5-drawer-head small,.mente-dialog-top small{display:block;color:#8f8bf0;font-size:8px;letter-spacing:.14em}.mente-v5-drawer-head h2,.mente-dialog-top h2{margin:4px 0 0;color:#fff;font-size:17px}.mente-v5-drawer-head button,.mente-dialog-top button{width:36px;height:36px;border:1px solid var(--mente-v6-line);border-radius:10px;background:#171c26;color:#c6ced9}.mente-v5-drawer-body,.mente-dialog-body{flex:1;min-height:0;padding:16px;overflow:auto}.mente-v5-drawer-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-top:1px solid var(--mente-v6-line);color:#737d8c;font-size:9px}.mente-v5-drawer-foot a{color:#aaa7ff}.mente-v5-skeleton,.mente-loading{padding:22px;border:1px dashed #313948;border-radius:12px;color:#7d8796;text-align:center;font-size:10px}
.mente-v5-search-backdrop{justify-content:center;align-items:flex-start;padding:10vh 16px}.mente-v5-search-dialog{width:min(680px,100%);max-height:75vh;border:1px solid #343c4b;border-radius:18px;background:#10151d;box-shadow:0 30px 100px rgba(0,0,0,.5);overflow:hidden}.mente-v5-search-head{display:flex;align-items:center;gap:8px;padding:12px;border-bottom:1px solid var(--mente-v6-line)}.mente-v5-search-head input{flex:1;min-width:0;height:42px;padding:0 10px;border:1px solid #303847;border-radius:10px;background:#0c1118;color:#fff}.mente-v5-search-results{max-height:55vh;overflow:auto;padding:8px}.mente-v5-search-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border-radius:10px;color:#c0c7d2;font-size:10px}.mente-v5-search-item:hover{background:#171c26}.mente-v5-search-item strong{display:block;color:#fff;font-size:11px}.mente-v5-search-item small{display:block;margin-top:3px;color:#737d8c}
.mente-v5-notices{position:fixed;z-index:12000;right:22px;top:82px;width:min(380px,calc(100vw - 44px));max-height:min(70vh,640px);display:flex;flex-direction:column;border:1px solid #343c4b;border-radius:16px;background:#10151d;box-shadow:0 24px 70px rgba(0,0,0,.4);overflow:hidden}.mente-v5-notices-items{overflow:auto;padding:8px}.mente-v5-notice{display:block;padding:10px;border-radius:10px;color:#c0c7d2;font-size:10px}.mente-v5-notice:hover{background:#171c26}.mente-v5-notice.is-read{opacity:.62}.mente-v5-bell,.mente-v5-top-search,.mente-pwa-install{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 10px;border:1px solid var(--mente-v6-line-soft);border-radius:10px;background:#11151e;color:#aab2c0;font-size:10px}.mente-v5-selection,.mente-v5-tablebar,.mente-v5-views{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 10px}.mente-v5-view,.mente-v5-columns{min-height:31px;padding:0 9px;border:1px solid var(--mente-v6-line);border-radius:9px;background:#141923;color:#aab2bf;font-size:9px}.mente-v5-view.is-active{background:var(--mente-v6-accent-soft);color:#dcd9ff}.mente-v5-col-hidden{display:none!important}.mente-v5-seo{margin-top:12px;padding:12px;border:1px solid var(--mente-v6-line-soft);border-radius:11px;background:#10151d}.mente-v5-seo strong{color:#fff;font-size:10px}.mente-v5-seo small{color:#77818f;font-size:9px}.mente-v5-gallery-previews{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:8px}.mente-v5-gallery-previews img{aspect-ratio:1;object-fit:cover;border-radius:9px}.mente-v5-crop{position:relative;overflow:hidden;border-radius:10px}.mente-v5-offline{position:fixed;z-index:15000;left:50%;top:10px;transform:translateX(-50%);padding:7px 10px;border:1px solid #4d4332;border-radius:9px;background:#231d14;color:#f3dba8;font-size:9px}

/* ---------- Ultimate records / assistant ---------- */
.mu-record-list{display:flex;flex-direction:column;gap:10px}.mu-record{padding:17px}.mu-record-type{color:#8f8bf0;font-size:8px;font-weight:800;letter-spacing:.12em}.mu-record-status{margin-left:auto}.mu-record h2{margin:12px 0 8px}.mu-record-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:14px;padding-top:12px;border-top:1px solid var(--mente-v6-line-soft);color:#737d8c;font-size:9px}.mu-record-bottom .mente-btn{margin-left:auto}.mu-assistant-result>small{color:#8f8bf0;font-size:8px;letter-spacing:.14em}.mu-assistant-sources{display:flex;flex-direction:column;gap:7px;margin-top:12px;padding-top:12px;border-top:1px solid var(--mente-v6-line-soft)}.mu-assistant-sources strong{color:#fff;font-size:10px}.mu-assistant-sources a{color:#aaa7ff;font-size:10px}.mu-action-form{margin-bottom:14px}

/* ---------- Notice / flash ---------- */
.mente-notice,.mc-flash,.mente-commerce-notice{width:100%;margin:0 0 12px;padding:11px 12px;border-radius:11px;border:1px solid #354053;background:#151b25;color:#cbd2dd;font-size:10px;line-height:1.5}.mc-flash-error,.mente-notice--error{border-color:rgba(239,109,121,.34);background:rgba(239,109,121,.07);color:#ffc2c8}.mente-notice--success{border-color:rgba(98,201,159,.3);background:rgba(98,201,159,.07);color:#afe4cf}

/* ---------- Safe mode ---------- */
.mente-ap-safe{min-height:100dvh;display:grid;place-items:center;padding:24px;background:var(--mente-v6-bg);color:var(--mente-v6-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mu-safe-card{width:min(560px,100%);padding:28px;border:1px solid var(--mente-v6-line);border-radius:20px;background:linear-gradient(180deg,var(--mente-v6-panel),var(--mente-v6-bg-2));box-shadow:var(--mente-v6-shadow)}
.mu-safe-card small{display:block;color:var(--mente-v6-accent);font-size:10px;font-weight:800;letter-spacing:.14em}.mu-safe-card h1{margin:10px 0;color:#fff;font-size:32px;line-height:1.1}.mu-safe-card p{margin:10px 0;color:var(--mente-v6-muted);font-size:13px;line-height:1.7}.mu-safe-card a{color:#d2d0ff;font-weight:700}
@media(max-width:767px){.mente-ap-safe{padding:14px}.mu-safe-card{padding:20px;border-radius:16px}.mu-safe-card h1{font-size:27px}}

/* ---------- Login ---------- */
.mente-login-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.65fr);align-items:center;gap:64px;padding:clamp(28px,5vw,72px);background:radial-gradient(circle at 10% 15%,rgba(141,137,245,.12),transparent 28%),linear-gradient(145deg,#0d1119,#090b10);color:#fff}
.mente-login-brand{max-width:620px}.mente-login-brand-mark{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#b3b0ff,#7470d5);color:#151620;font-size:22px;font-weight:850}.mente-login-brand h1{margin:24px 0 12px;font-size:clamp(38px,5vw,68px);line-height:.98;letter-spacing:-.06em}.mente-login-brand p{max-width:560px;color:#939dac;font-size:14px;line-height:1.7}.mente-login-security{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.mente-login-security span{padding:7px 9px;border:1px solid var(--mente-v6-line);border-radius:9px;background:#11151e;color:#8f99a8;font-size:9px}.mente-login-card{width:100%;max-width:480px;justify-self:end;padding:26px;border:1px solid #303746;border-radius:20px;background:linear-gradient(180deg,#151a24,#10151d);box-shadow:0 30px 100px rgba(0,0,0,.32)}.mente-login-card h2{margin:0 0 8px;font-size:22px}.mente-login-card>p{color:#828c9b;font-size:11px;line-height:1.6}.mente-login-field{display:block;margin-top:14px}.mente-login-field label{display:block;margin-bottom:6px;color:#cbd2dd;font-size:10px;font-weight:700}.mente-login-field input[type=text],.mente-login-field input[type=password]{width:100%;height:46px;padding:0 11px;border:1px solid #303746;border-radius:11px;background:#0d1219;color:#fff;font-size:13px}.mente-password-group{position:relative}.mente-password-group input{padding-right:72px!important}.mente-password-group button{position:absolute;right:7px;top:50%;transform:translateY(-50%);height:31px;padding:0 8px;border:1px solid #343b49;border-radius:8px;background:#171c25;color:#b8c0cc;font-size:9px}.mente-login-options{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0}.mente-login-remember{display:flex;align-items:center;gap:6px;color:#939cab;font-size:9px}.mente-login-options a,.mente-login-foot a{color:#aaa7ff;font-size:9px}.mente-login-submit{width:100%;height:46px;border:0;border-radius:11px;background:linear-gradient(135deg,#dfb27f,#8d89f5);color:#17151c;font-weight:780}.mente-login-error{margin:10px 0;padding:9px 10px;border:1px solid rgba(239,109,121,.35);border-radius:9px;background:rgba(239,109,121,.08);color:#ffc3c8;font-size:10px}.mente-login-foot{margin-top:14px;color:#707988;font-size:9px;text-align:center}

/* ---------- Footer ---------- */
.mente-footer,.mc-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px clamp(22px,3vw,42px);border-top:1px solid var(--mente-v6-line-soft);color:#666f7f;font-size:9px}

/* ---------- Embedded commerce ---------- */
.mc-unified-embed{width:100%;min-height:0;background:transparent;color:inherit}.mc-unified-embed .mc-page-title{margin-top:0}.mc-unified-embed .mc-agency-hero{margin-top:0}

/* ---------- Light option ---------- */
.mente-theme-light{--mente-v6-bg:#eef1f6;--mente-v6-bg-2:#f4f6f9;--mente-v6-panel:#fff;--mente-v6-panel-2:#f8f9fb;--mente-v6-panel-3:#f0f3f7;--mente-v6-line:#d8dee8;--mente-v6-line-soft:#e6eaf0;--mente-v6-text:#161b25;--mente-v6-text-2:#30394a;--mente-v6-muted:#667186;color-scheme:light;color:var(--mente-v6-text);background:var(--mente-v6-bg)}
.mente-theme-light .mente-workspace,.mente-theme-light .mente-main{background:var(--mente-v6-bg)}
.mente-theme-light .mente-topbar{background:rgba(255,255,255,.92)}
.mente-theme-light .mente-page-head h1,.mente-theme-light .mente-section-head h2,.mente-theme-light .mente-line-body strong,.mente-theme-light .mente-activity-copy strong,.mente-theme-light .mente-account-header h2{color:#171c27}
.mente-theme-light .mente-surface,.mente-theme-light .mente-quick-panel,.mente-theme-light .mente-stat,.mente-theme-light .mente-project-card,.mente-theme-light .mente-resource-card,.mente-theme-light .mente-bottom-cta{background:#fff}

/* ---------- Final component coverage ---------- */
.mc-breakdown-list{display:grid;gap:12px}.mc-breakdown-item{display:grid;gap:7px}.mc-breakdown-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.mc-breakdown-row span{color:var(--mente-v6-text-2);font-size:12px}.mc-breakdown-row strong{color:var(--mente-v6-text);font-size:12px}.mc-breakdown-track{height:7px;border-radius:999px;background:#1d2430;overflow:hidden}.mc-breakdown-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--mente-v6-accent),#a8a5ff)}
.mc-field-date small{display:block;color:var(--mente-v6-muted);font-size:10px;font-weight:500;line-height:1.45}.mc-date-input{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
.mc-product-row{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;min-width:0}.mc-product-row img,.mc-product-placeholder{width:46px;height:46px;border-radius:10px;border:1px solid var(--mente-v6-line);background:#171c26;object-fit:cover}.mc-product-placeholder{display:grid;place-items:center;color:#8994a5}.mc-product-placeholder svg{width:20px;height:20px}.mc-product-row>span{display:block;min-width:0}.mc-product-row b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--mente-v6-text);font-size:12px}.mc-product-row small{display:block;margin-top:3px;color:var(--mente-v6-muted);font-size:9px}.mc-sku{display:inline-flex;max-width:180px;padding:4px 7px;border:1px solid var(--mente-v6-line);border-radius:7px;background:#141923;color:#aeb8c6;font:600 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-variant{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;margin-top:7px;padding:9px 11px;border:1px solid var(--mente-v6-line);border-radius:9px;background:#141923;color:#dbe1ea;text-decoration:none;font-size:11px}.mc-variant:hover{border-color:#3a4353;background:#181e29;color:#fff}
.mente-bottom-icon{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid var(--mente-v6-line);border-radius:12px;background:#1a202b;color:#cbc9ff}.mente-bottom-icon svg{width:19px;height:19px}.mente-center{text-align:center}.mente-center .mente-btn{display:inline-flex}
.mente-login-symbol{display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;border:1px solid #383f50;border-radius:14px;background:#1a202c;color:#cbc9ff}.mente-login-symbol svg{width:22px;height:22px}.mente-login-form{display:grid;gap:14px}.mente-login-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.mente-hero-separator{display:inline-block;margin:0 5px;color:#677285}.mente-orbit-a{opacity:.7}.mente-source-direct{border-style:dashed!important}.mente-source-direct .mente-resource-more{color:#c6c4ff}.mu-ticket-reply{margin-top:9px;padding:12px!important;border-left:3px solid var(--mente-v6-accent)!important;background:#151a24!important}.mu-ticket-reply strong{display:block;margin-bottom:5px;color:#dcdcff;font-size:11px}.mu-ticket-reply p{margin:0;color:var(--mente-v6-text-2);font-size:11px;line-height:1.55}

@media(max-width:900px){
  .mc-product-row b{white-space:normal;overflow:visible;text-overflow:clip}.mc-product-row small{font-size:10px}.mc-sku{max-width:100%}.mc-variant{min-height:46px;font-size:12px}.mente-bottom-icon{width:40px;height:40px;min-width:40px}.mente-center .mente-btn{width:100%;justify-content:center}
}

/* ---------- Dynamic workspace / modal coverage ---------- */
.mente-dialog-actions{display:flex;align-items:center;gap:8px}.mente-dialog-actions button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--mente-v6-line);border-radius:10px;background:#171c25;color:#cfd5df}.mente-dialog-notice{margin:0 14px 10px;padding:10px 12px;border:1px solid #454058;border-radius:10px;background:#1a1824;color:#ded9ff;font-size:11px;line-height:1.5}.mente-dialog-notice[hidden]{display:none!important}
.mente-v5-notice-link{display:inline-flex;align-items:center;margin-top:7px;color:#c8c6ff;font-size:10px;font-weight:700}.mente-v5-table-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0;padding:9px;border:1px solid var(--mente-v6-line);border-radius:10px;background:#121720}.mente-v5-row-choice{width:16px;height:16px;accent-color:var(--mente-v6-accent)}.mente-v5-copy-fallback{width:100%;min-height:76px;margin-top:9px;padding:9px;border:1px solid var(--mente-v6-line);border-radius:9px;background:#0f141c;color:#e7eaf0;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.mente-v5-views-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.mente-v5-views-head strong{color:#eef1f6;font-size:11px}.mente-v5-views-head button{min-height:32px;padding:0 10px;border:1px solid var(--mente-v6-line);border-radius:8px;background:#171d27;color:#dfe3ea;font-size:9px;font-weight:700}
@media(max-width:900px){.mente-dialog-notice{margin:0 12px 8px}.mente-v5-table-actions,.mente-v5-views-head{align-items:stretch;flex-direction:column}.mente-v5-views-head button{min-height:42px}.mente-v5-copy-fallback{font-size:12px}}

/* Desktop shell invariant: mobile scrims must never participate in the grid. */
.mente-mobile-shade,.mc-shade{display:none}
@media(max-width:900px){.mente-mobile-shade,.mc-shade{display:block}}

/* ===================== Responsive system ===================== */

/* Desktop: dedicated permanent sidebar and wide workspace. */
@media(min-width:1200px){
  :root{--mente-v6-sidebar:300px;--mente-v6-topbar:72px;--mente-v6-content:1600px}
  .mente-layout,.mc-shell{grid-template-columns:var(--mente-v6-sidebar) minmax(0,1fr)}
  .mente-sidebar,.mc-sidebar{position:sticky;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .mente-main,.mc-content{padding:28px clamp(28px,2.2vw,44px) 48px}
  .mente-mobile-shade,.mc-shade,.mente-mobile-close,.mc-mobile-close,.mente-menu-button,.mc-mobile-menu,.mente-mobile-dock,.mc-mobile-dock{display:none!important}
  .mente-nav-link,.mc-nav a{font-size:12px}
  .mente-nav-link>span,.mc-nav a>span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  .mente-stat-grid,.mc-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .mente-double-grid,.mc-two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mente-project-grid,.mente-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mente-welcome,.mc-agency-hero{grid-template-columns:minmax(0,1.2fr) 260px}
  .mc-topbar{grid-template-columns:minmax(0,1fr) auto}
}

/* Tablet: independent drawer layout. No squeezed desktop sidebar. */
@media(min-width:768px) and (max-width:1199px){
  :root{--mente-v6-topbar:68px;--mente-v6-content:100%;--mente-v6-dock:0px}
  body.mente-v6-app,body.mente-standalone{overflow-x:hidden;background:var(--mente-v6-bg)}
  body.mente-v6-menu-lock{overflow:hidden!important;touch-action:none}
  .mente-layout,.mc-shell{display:block;min-height:100dvh}
  .mente-sidebar,.mc-sidebar{position:fixed;z-index:10020;inset:0 auto 0 0;width:340px;max-width:86vw;height:100dvh;padding:calc(16px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));border-right:1px solid #303746;border-radius:0 20px 20px 0;background:#0d1118;box-shadow:24px 0 80px rgba(0,0,0,.5);transform:translate3d(-104%,0,0);opacity:0;visibility:hidden;pointer-events:none;transition:transform .22s ease,opacity .18s ease;overflow-y:auto;overflow-x:hidden}
  .mente-portal.mente-v6-menu-open .mente-sidebar,.mente-commerce.mente-v6-menu-open .mc-sidebar{transform:translate3d(0,0,0);opacity:1;visibility:visible;pointer-events:auto}
  .mente-mobile-shade,.mc-shade{position:fixed;z-index:10010;inset:0;display:block;background:rgba(3,5,9,.7);backdrop-filter:blur(4px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
  .mente-portal.mente-v6-menu-open .mente-mobile-shade,.mente-commerce.mente-v6-menu-open .mc-shade{opacity:1;visibility:visible;pointer-events:auto}
  .mente-mobile-close,.mc-mobile-close{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--mente-v6-line);border-radius:11px;background:#171c25;color:#cbd2dd}
  .mente-topbar,.mc-topbar{min-height:calc(var(--mente-v6-topbar) + env(safe-area-inset-top));height:calc(var(--mente-v6-topbar) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 18px 0;background:rgba(11,13,18,.96)}
  .mente-topbar{grid-template-columns:44px minmax(0,1fr) auto}
  .mc-topbar{grid-template-columns:minmax(0,1fr) auto}
  .mc-crumb{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;min-width:0}
  .mente-menu-button,.mc-mobile-menu{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--mente-v6-line);border-radius:12px;background:#151a23;color:#f1f3f7}
  .mc-mobile-menu{font-size:0}.mc-mobile-menu::before{content:"☰";font-size:20px;line-height:1}
  .mc-crumb .mc-mobile-menu{grid-column:1;grid-row:1}.mc-crumb>strong{grid-column:2;grid-row:1;min-width:0}
  .mente-breadcrumb small,.mc-crumb>span,.mc-crumb>i{display:none}
  .mente-main,.mc-content{padding:24px 22px 42px}
  .mente-footer,.mc-footer{padding:18px 22px 26px}
  .mente-stat-grid,.mc-stats,.mu-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .mente-double-grid,.mc-two,.mente-support-grid,.mente-account-grid,.mu-grid,.mc-media-columns{grid-template-columns:1fr;gap:12px}
  .mente-project-grid,.mente-resource-grid,.mente-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mente-welcome,.mc-agency-hero{grid-template-columns:minmax(0,1fr) 190px;padding:22px}
  .mente-welcome-art,.mc-agency-visual{width:180px;height:160px}
  .mente-nav-link,.mc-nav a{font-size:14px;min-height:50px;padding:11px 12px}
  .mente-nav-link>span,.mc-nav a>span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  .mc-table-wrap,.mente-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .mc-table,.mente-table{min-width:720px}
  .mente-mobile-dock,.mc-mobile-dock{display:none!important}
  .mente-v5-notices{top:calc(var(--mente-v6-topbar) + env(safe-area-inset-top) + 10px);right:14px;left:auto;width:min(380px,calc(100vw - 28px))}
}

/* Mobile: separate app UI with drawer + bottom navigation. */
@media(max-width:767px){
  :root{--mente-v6-topbar:62px;--mente-v6-dock:76px;--mente-v6-content:100%}
  body.mente-v6-app,body.mente-standalone{overflow-x:hidden;background:var(--mente-v6-bg)}
  body.mente-v6-menu-lock{overflow:hidden!important;touch-action:none}
  .mente-portal,.mente-commerce{width:100%;max-width:100%;overflow:visible}
  .mente-layout,.mc-shell{display:block;min-height:100dvh}
  .mente-sidebar,.mc-sidebar{position:fixed;z-index:10020;inset:0 auto 0 0;width:min(90vw,360px);max-width:min(90vw,360px);height:100dvh;padding:calc(14px + env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom));border-right:1px solid #303746;border-radius:0 20px 20px 0;background:#0d1118;box-shadow:24px 0 80px rgba(0,0,0,.5);transform:translate3d(-104%,0,0);opacity:0;visibility:hidden;pointer-events:none;transition:transform .22s ease,opacity .18s ease;overflow-y:auto;overflow-x:hidden}
  .mente-portal.mente-v6-menu-open .mente-sidebar,.mente-commerce.mente-v6-menu-open .mc-sidebar{transform:translate3d(0,0,0);opacity:1;visibility:visible;pointer-events:auto}
  .mente-mobile-shade,.mc-shade{position:fixed;z-index:10010;inset:0;display:block;background:rgba(3,5,9,.72);backdrop-filter:blur(4px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
  .mente-portal.mente-v6-menu-open .mente-mobile-shade,.mente-commerce.mente-v6-menu-open .mc-shade{opacity:1;visibility:visible;pointer-events:auto}
  .mente-mobile-close,.mc-mobile-close{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--mente-v6-line);border-radius:11px;background:#171c25;color:#cbd2dd}
  .mente-topbar,.mc-topbar{min-height:calc(var(--mente-v6-topbar) + env(safe-area-inset-top));height:calc(var(--mente-v6-topbar) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 9px 0;background:rgba(11,13,18,.97)}
  .mente-topbar{grid-template-columns:44px minmax(0,1fr) auto;gap:9px}
  .mc-topbar{grid-template-columns:minmax(0,1fr) auto;gap:9px}
  .mc-crumb{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;min-width:0!important}
  .mente-menu-button,.mc-mobile-menu{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--mente-v6-line);border-radius:12px;background:#151a23;color:#f1f3f7}
  .mc-mobile-menu{font-size:0}.mc-mobile-menu::before{content:"☰";font-size:20px;line-height:1}.mc-crumb .mc-mobile-menu{grid-column:1;grid-row:1}.mc-crumb>strong{grid-column:2;grid-row:1;min-width:0}
  .mente-breadcrumb,.mc-crumb{overflow:hidden}.mente-breadcrumb small,.mc-crumb>span,.mc-crumb>i{display:none}.mente-breadcrumb strong,.mc-crumb strong{display:block;font-size:16px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mente-top-date,.mente-top-secure,.mc-today,.mc-top-visit,.mc-top-label,.mente-pwa-install{display:none!important}
  .mente-top-search,.mente-v5-top-search,.mente-v5-bell{position:relative!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;font-size:0!important;overflow:hidden!important}
  .mente-top-search svg{width:18px;height:18px}.mente-avatar,.mc-avatar{width:40px;height:40px}
  .mente-v5-bell::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E") center/contain no-repeat}
  .mente-v5-bell[data-count]::after{content:attr(data-count);position:absolute;transform:translate(10px,-10px);min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ef6d79;color:#fff;font-size:9px!important;line-height:16px;text-align:center}
  .mente-main,.mc-content{padding:14px 10px calc(var(--mente-v6-dock) + env(safe-area-inset-bottom) + 24px)}
  .mente-footer,.mc-footer{padding:14px 10px calc(var(--mente-v6-dock) + env(safe-area-inset-bottom) + 20px);flex-direction:column;align-items:flex-start}
  .mente-page-head,.mc-page-title{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:14px}.mente-page-head h1,.mc-page-title h1{font-size:26px}.mente-page-head p,.mc-page-title p{font-size:12px}
  .mente-welcome,.mc-agency-hero{grid-template-columns:1fr;padding:17px;margin-bottom:12px;border-radius:16px}.mente-welcome-art,.mc-agency-visual{display:none}.mente-welcome h1,.mc-agency-copy h2{font-size:27px}.mente-welcome p,.mc-agency-copy p{font-size:13px}.mc-agency-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .mente-stat-grid,.mc-stats,.mu-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mente-stat,.mc-stat,.mu-summary>div{min-height:108px;padding:13px}.mente-stat strong,.mc-stat>strong,.mu-summary strong{font-size:23px}
  .mente-double-grid,.mc-two,.mente-support-grid,.mente-account-grid,.mu-grid,.mc-media-columns{grid-template-columns:1fr;gap:10px}.mente-project-grid,.mente-resource-grid,.mente-product-grid{grid-template-columns:1fr}
  .mente-surface,.mc-card,.mu-record,.mu-card,.mente-project-card,.mente-resource-card,.mente-bottom-cta,.mente-quick-panel,.mente-activity-panel{padding:14px;border-radius:14px}
  .mente-quick-panel{align-items:stretch;flex-direction:column}.mente-quick-panel nav,.mente-shop-actions{grid-template-columns:1fr}.mente-line,.mente-activity-item{grid-template-columns:38px minmax(0,1fr) auto}.mente-activity-item>svg{display:none}.mente-activity-item time{grid-column:2;margin-top:-5px}
  .mc-form-grid,.mc-date-grid{grid-template-columns:1fr}.mc-filter-panel,.mc-filters{display:grid;grid-template-columns:1fr}.mc-filter-panel label{min-width:0}.mc-gallery-grid,.mente-v5-gallery-previews{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mc-table-wrap,.mente-table-wrap{overflow:visible;border:0;background:transparent}.mc-table,.mente-table{display:block;min-width:0;width:100%;border-collapse:separate}.mc-table thead,.mente-table thead{display:none}.mc-table tbody,.mente-table tbody{display:flex;flex-direction:column;gap:9px}.mc-table tr,.mente-table tr{display:block;padding:4px 12px;border:1px solid var(--mente-v6-line);border-radius:14px;background:#121720}.mc-table td,.mente-table td{display:grid;grid-template-columns:minmax(96px,38%) minmax(0,1fr);align-items:start;gap:10px;padding:10px 0;border-bottom:1px solid var(--mente-v6-line-soft);white-space:normal;word-break:normal;overflow-wrap:break-word;text-align:right}.mc-table td:last-child,.mente-table td:last-child{border-bottom:0}.mc-table td::before,.mente-table td::before{content:attr(data-label);color:#737d8c;font-size:10px;font-weight:700;text-align:left}.mc-table td>*{justify-self:end;max-width:100%}.mc-table td b,.mc-table td small{text-align:right}.mc-table-link{justify-self:end}
  .mente-product{grid-template-columns:62px minmax(0,1fr)}.mente-product-price{grid-column:2}.mente-layout-toolbar{flex-direction:column;align-items:stretch}.mente-layout-actions{display:grid;grid-template-columns:1fr 1fr}
  .mente-command-overlay{padding:0;place-items:end center}.mente-command-dialog{width:100%;max-height:88dvh;border-radius:20px 20px 0 0}
  .mente-v5-drawer-backdrop,.mente-dialog-backdrop{align-items:flex-end}.mente-v5-drawer,.mente-dialog{width:100%;height:94dvh;border-left:0;border-top:1px solid #343b49;border-radius:20px 20px 0 0}.mente-v5-search-backdrop{padding:0;align-items:flex-end}.mente-v5-search-dialog{width:100%;max-height:88dvh;border-radius:20px 20px 0 0}
  .mente-v5-toasts{left:10px;right:10px;bottom:calc(var(--mente-v6-dock) + env(safe-area-inset-bottom) + 16px);width:auto}
  .mente-v5-notices{top:auto;right:8px;left:8px;bottom:calc(var(--mente-v6-dock) + env(safe-area-inset-bottom) + 12px);width:auto;max-height:min(70dvh,560px);border-radius:18px}
  .mente-login-shell{grid-template-columns:1fr;gap:22px;padding:calc(26px + env(safe-area-inset-top)) 12px calc(28px + env(safe-area-inset-bottom));align-items:start}.mente-login-brand{text-align:center;margin:0 auto}.mente-login-brand-mark{margin:0 auto}.mente-login-brand h1{font-size:32px}.mente-login-brand p{font-size:12px}.mente-login-security{justify-content:center}.mente-login-card{justify-self:center;max-width:520px;padding:19px}
  .mente-mobile-dock,.mc-mobile-dock{position:fixed;z-index:9500;left:7px;right:7px;bottom:calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:5px;border:1px solid #313848;border-radius:19px;background:rgba(18,23,32,.97);backdrop-filter:blur(16px);box-shadow:0 18px 50px rgba(0,0,0,.4)}
  .mente-mobile-dock :is(a,button),.mc-mobile-dock :is(a,button){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:55px;padding:5px 3px;border:0;border-radius:13px;background:transparent;color:#7f8999}.mente-mobile-dock :is(a,button) svg,.mc-mobile-dock :is(a,button) svg{width:19px;height:19px}.mente-mobile-dock :is(a,button) span,.mc-mobile-dock :is(a,button) span{max-width:100%;font-size:10px;font-weight:700;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:normal!important;overflow-wrap:normal!important}.mente-mobile-dock :is(a,button).is-active,.mc-mobile-dock :is(a,button).is-active{background:#252b3a;color:#dedcff}
  .mente-sidebar .mente-nav-link>span,.mc-sidebar .mc-nav a>span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
  .mente-nav-link,.mc-nav a{font-size:14px;min-height:50px;padding:11px 12px}.mente-nav-label,.mc-nav-caption{font-size:10px}.mente-sidebar-tag,.mc-context{font-size:10px;white-space:normal;word-break:normal}
}

@media(max-width:480px){
  .mente-stat-grid,.mc-stats,.mu-summary{grid-template-columns:1fr 1fr}.mente-main,.mc-content{padding-left:9px;padding-right:9px}.mente-topbar,.mc-topbar{padding-left:7px;padding-right:7px}.mente-mobile-dock,.mc-mobile-dock{left:5px;right:5px;padding:4px}.mente-mobile-dock :is(a,button) span,.mc-mobile-dock :is(a,button) span{font-size:9px}.mc-media-preview{min-height:160px}.mc-gallery-grid,.mente-v5-gallery-previews{grid-template-columns:1fr 1fr}
}
@media(max-width:360px){
  .mente-stat-grid,.mc-stats,.mu-summary{grid-template-columns:1fr}.mente-breadcrumb strong,.mc-crumb strong{font-size:14px}.mente-mobile-dock :is(a,button) span,.mc-mobile-dock :is(a,button) span{font-size:8px}.mente-mobile-dock,.mc-mobile-dock{gap:2px}.mente-nav-link,.mc-nav a{font-size:13px}.mente-login-brand h1{font-size:29px}
}
@media(max-width:767px) and (orientation:landscape) and (max-height:560px){
  .mente-sidebar,.mc-sidebar{width:min(72vw,360px);max-width:min(72vw,360px)}
  .mente-mobile-dock,.mc-mobile-dock{min-height:60px}.mente-mobile-dock :is(a,button),.mc-mobile-dock :is(a,button){min-height:48px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.mente-sidebar,.mc-sidebar,.mente-mobile-shade,.mc-shade,.mente-btn,.mc-btn{transition:none!important}
}


/* ===================== v6.1.1 Product Editor Rebuild ===================== */
body.mente-v5-drawer-open{overflow:hidden!important}

/* Desktop: true centered product modal, not a side drawer. */
@media(min-width:1024px){
  .mente-v5-drawer-backdrop{align-items:center!important;justify-content:center!important;padding:24px!important;background:rgba(2,4,8,.78)!important;backdrop-filter:blur(8px)!important}
  .mente-v5-drawer{width:min(1180px,calc(100vw - 48px))!important;height:min(900px,calc(100dvh - 48px))!important;max-width:1180px!important;max-height:900px!important;border:1px solid #343b49!important;border-radius:20px!important;background:#0d121a!important;box-shadow:0 32px 100px rgba(0,0,0,.58)!important;overflow:hidden!important}
  .mente-v5-drawer-head{min-height:72px!important;padding:14px 20px!important;background:#10151e!important}
  .mente-v5-drawer-body{padding:18px 20px 22px!important;background:#0b1017!important}
  .mente-v5-drawer-foot{min-height:46px!important;padding:10px 20px!important;background:#10151e!important}
  .mente-v5-drawer-body>.mente-commerce>.mc-page-title{display:none!important}
  .mente-v5-drawer .mc-product-editor-columns{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)!important;gap:16px!important;align-items:start!important}
}

/* Product editor sticky command bar */
.mc-product-editor-v2{display:block!important;width:100%!important;min-width:0!important}
.mc-product-editor-toolbar{position:sticky!important;top:-18px!important;z-index:30!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:12px!important;margin:-2px 0 16px!important;padding:12px 14px!important;border:1px solid #303746!important;border-radius:14px!important;background:rgba(16,21,30,.96)!important;backdrop-filter:blur(12px)!important;box-shadow:0 12px 32px rgba(0,0,0,.18)!important}
.mc-product-editor-title{min-width:0!important}.mc-product-editor-title strong{display:block!important;color:#fff!important;font-size:13px!important;font-weight:760!important}.mc-product-editor-title small{display:block!important;margin-top:3px!important;color:#8791a0!important;font-size:9px!important;line-height:1.4!important}
.mc-product-editor-toolbar>[data-mente-dirty-status]{display:inline-flex!important;align-items:center!important;min-height:28px!important;padding:0 9px!important;border:1px solid #343c4d!important;border-radius:999px!important;background:#151a23!important;color:#9ca5b3!important;font-size:9px!important;font-weight:700!important;white-space:nowrap!important}
.mc-product-editor-toolbar-actions{display:flex!important;align-items:center!important;gap:8px!important}.mc-product-editor-toolbar-actions .mc-btn{width:auto!important;min-width:0!important;margin:0!important}
.mc-product-editor-columns{align-items:start!important}.mc-product-content-card,.mc-product-sales-card{min-width:0!important}

/* Correct checkbox rendering. The old .mc-field input rule made checkboxes 100% wide. */
.mc-check input[type=checkbox],.mc-check input[type=radio],.mc-taxonomy-option input[type=checkbox],.mc-gallery-thumb input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;padding:0!important;margin:0!important;border:1px solid #4a5364!important;border-radius:4px!important;background:#0d1219!important;accent-color:var(--mente-v6-accent)!important;box-shadow:none!important;appearance:auto!important;-webkit-appearance:auto!important}

/* Searchable taxonomy cards */
.mc-taxonomy-panel{margin:14px 0!important;padding:14px!important;border:1px solid var(--mente-v6-line)!important;border-radius:14px!important;background:#10151e!important;overflow:hidden!important}
.mc-taxonomy-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:11px!important}.mc-taxonomy-head strong{display:block!important;color:#f5f7fb!important;font-size:12px!important;font-weight:760!important}.mc-taxonomy-head small{display:block!important;margin-top:3px!important;color:#7f8998!important;font-size:9px!important;line-height:1.45!important}.mc-taxonomy-count{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;min-height:26px!important;padding:0 9px!important;border:1px solid #373e4d!important;border-radius:999px!important;background:#171c25!important;color:#b4bdca!important;font-size:9px!important;font-weight:740!important;white-space:nowrap!important}
.mc-taxonomy-search{display:block!important;margin:0 0 10px!important}.mc-taxonomy-search input{width:100%!important;min-height:40px!important;padding:9px 11px!important;border:1px solid #303746!important;border-radius:10px!important;background:#0d121a!important;color:#eef1f6!important;font-size:11px!important;outline:none!important}.mc-taxonomy-search input:focus{border-color:#565d82!important;box-shadow:0 0 0 3px rgba(141,137,245,.08)!important}.mc-taxonomy-search input::placeholder{color:#687383!important}
.mc-category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;max-height:260px!important;overflow:auto!important;padding:4px!important;border:0!important;border-radius:0!important;background:transparent!important;scrollbar-width:thin!important;scrollbar-color:#4a5364 transparent!important}
.mc-tag-grid{max-height:190px!important}
.mc-taxonomy-option{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:9px 10px!important;border:1px solid #282f3d!important;border-radius:10px!important;background:#0d121a!important;color:#cdd3dd!important;cursor:pointer!important;transition:border-color .15s ease,background .15s ease!important}
.mc-taxonomy-option[hidden]{display:none!important}.mc-taxonomy-option:hover{border-color:#41495a!important;background:#131923!important}.mc-taxonomy-option.is-selected{border-color:#514e75!important;background:#171827!important}
.mc-taxonomy-option>input{position:absolute!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;pointer-events:none!important}
.mc-taxonomy-box{position:relative!important;display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;border:1px solid #4b5465!important;border-radius:5px!important;background:#10151d!important}
.mc-taxonomy-option>input:checked+.mc-taxonomy-box{border-color:#8883ef!important;background:#7772df!important}.mc-taxonomy-option>input:checked+.mc-taxonomy-box::after{content:""!important;position:absolute!important;left:5px!important;top:2px!important;width:5px!important;height:9px!important;border:solid white!important;border-width:0 2px 2px 0!important;transform:rotate(45deg)!important}
.mc-taxonomy-option>input:focus-visible+.mc-taxonomy-box{outline:2px solid #9b97ff!important;outline-offset:2px!important}
.mc-taxonomy-name{display:block!important;min-width:0!important;padding-left:calc(var(--tax-depth,0) * 10px)!important;color:inherit!important;font-size:10px!important;font-weight:620!important;line-height:1.35!important;overflow-wrap:break-word!important;word-break:normal!important}
.mc-taxonomy-noresult,.mc-taxonomy-empty{margin:9px 0 0!important;color:#7c8797!important;font-size:10px!important;line-height:1.5!important}.mc-taxonomy-noresult[hidden]{display:none!important}

/* Media studio inside modal */
.mc-product-editor-v2 .mc-media-studio{margin-top:16px!important}.mc-product-editor-v2 .mc-media-columns{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;gap:12px!important}.mc-product-editor-v2 .mc-media-slot{min-width:0!important}.mc-product-editor-v2 .mc-upload-zone{position:relative!important;min-height:48px!important;overflow:hidden!important;cursor:pointer!important}.mc-product-editor-v2 .mc-upload-zone input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}
.mc-product-editor-v2 .mc-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.mc-product-editor-v2 .mc-media-preview{min-height:170px!important}

/* Product editor mobile/tablet */
@media(max-width:1023px){
  .mente-v5-drawer-backdrop{align-items:stretch!important;justify-content:stretch!important;padding:0!important;background:#0b0f16!important;backdrop-filter:none!important}
  .mente-v5-drawer{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;background:#0b1017!important;box-shadow:none!important}
  .mente-v5-drawer-head{position:sticky!important;top:0!important;z-index:50!important;min-height:calc(62px + env(safe-area-inset-top))!important;padding:env(safe-area-inset-top) 14px 0!important;background:#0e131b!important}
  .mente-v5-drawer-body{padding:12px 12px calc(18px + env(safe-area-inset-bottom))!important;background:#0b1017!important}
  .mente-v5-drawer-foot{display:none!important}
  .mente-v5-drawer-body>.mente-commerce>.mc-page-title{display:none!important}
  .mc-product-editor-toolbar{top:-12px!important;grid-template-columns:minmax(0,1fr) auto!important;padding:10px!important;margin:0 0 12px!important}.mc-product-editor-toolbar>[data-mente-dirty-status]{grid-column:1/2;grid-row:2}.mc-product-editor-toolbar-actions{grid-column:2;grid-row:1/3;flex-direction:column!important;align-items:stretch!important}.mc-product-editor-toolbar-actions .mc-btn{min-height:38px!important;padding:0 10px!important;font-size:10px!important}
  .mc-product-editor-columns{grid-template-columns:1fr!important}.mc-product-editor-v2 .mc-media-columns{grid-template-columns:1fr!important}.mc-product-editor-v2 .mc-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mc-category-grid{grid-template-columns:1fr!important;max-height:280px!important}.mc-tag-grid{max-height:220px!important}
}
@media(max-width:560px){
  .mente-v5-drawer-head h2{font-size:15px!important}.mente-v5-drawer-head small{font-size:7px!important}.mente-v5-drawer-head button{width:40px!important;height:40px!important}
  .mc-product-editor-toolbar{position:relative!important;top:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}.mc-product-editor-toolbar>[data-mente-dirty-status]{align-self:flex-start!important}.mc-product-editor-toolbar-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}.mc-product-editor-toolbar-actions:has(.mc-btn:only-child){grid-template-columns:1fr!important}.mc-product-editor-toolbar-actions .mc-btn{width:100%!important;min-height:44px!important}
  .mc-product-editor-v2 .mc-card{padding:13px!important}.mc-taxonomy-panel{padding:11px!important}.mc-taxonomy-head{flex-direction:column!important;gap:8px!important}.mc-taxonomy-count{align-self:flex-start!important}.mc-taxonomy-option{min-height:46px!important}.mc-taxonomy-name{font-size:11px!important}
}
