/* MarTech workspace: shared visual tokens, scoped to avoid public share pages. */
:root{--mt-canvas:#f6f8fc;--mt-surface:#fff;--mt-line:#e7ebf3;--mt-text:#17233b;--mt-muted:#65728a;--mt-accent:#4f46e5;--mt-tint:#eef2ff;--mt-radius:16px}
.dark{--mt-canvas:#101625;--mt-surface:#182134;--mt-line:#2b3549;--mt-text:#eef2ff;--mt-muted:#a6b2c8;--mt-tint:#252c50}
.mt-app{background:var(--mt-canvas);color:var(--mt-text);font-feature-settings:'cv11','ss01';text-rendering:optimizeLegibility}
.mt-app :is(a,button,input,select,textarea):focus-visible,.mt-auth :is(a,button,input):focus-visible{outline:3px solid #818cf8;outline-offset:3px}
.mt-app button,.mt-auth button{-webkit-tap-highlight-color:transparent}
.mt-app .mt-sidebar{background:var(--mt-surface);color:var(--mt-muted);border-right:1px solid var(--mt-line)}
.mt-brand{display:flex;align-items:center;gap:11px;padding:24px 22px;color:var(--mt-text)}
.mt-brand-mark{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:#4f46e5;color:#fff;box-shadow:0 4px 10px #4f46e526;flex-shrink:0}
.mt-brand strong{display:block;font-size:16px;letter-spacing:-.6px}.mt-brand small{display:block;margin-top:1px;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--mt-muted)}
.mt-workspace-chip{display:flex;align-items:center;gap:9px;border:1px solid var(--mt-line);border-radius:10px;padding:10px 12px;margin:0 16px 12px;font-size:12px;font-weight:600;background:var(--mt-canvas)}
.mt-search{position:relative;margin:0 16px 20px}.mt-search svg{position:absolute;left:11px;top:13px;width:16px;height:16px;color:var(--mt-muted)}
.mt-search input{width:100%;height:42px;padding:9px 38px 9px 34px;border:1px solid var(--mt-line);border-radius:9px;background:var(--mt-surface);font:inherit;font-size:12px;color:var(--mt-text)}
.mt-search kbd{position:absolute;right:10px;top:13px;font-size:10px;color:var(--mt-muted);pointer-events:none}
.mt-nav-heading{font-size:10px;letter-spacing:1.3px;font-weight:600;text-transform:uppercase;padding:0 12px 8px;color:var(--mt-muted)}
.mt-app .mt-nav-link{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:9px;color:var(--mt-muted);font-size:12px;font-weight:500;min-height:40px;transition:background .15s,color .15s}
.mt-app .mt-nav-link:hover{background:var(--mt-canvas);color:var(--mt-text)}
.mt-app .mt-nav-link[aria-current=page]{background:var(--mt-tint);color:#4f46e5;font-weight:600}
.dark.mt-app .mt-nav-link[aria-current=page],.dark .mt-app .mt-nav-link[aria-current=page]{color:#b5baff}
.mt-nav-link svg{width:18px;height:18px;flex-shrink:0}.mt-nav-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-sidebar-footer{padding:12px;border-top:1px solid var(--mt-line)}
.mt-footer-action{display:flex;align-items:center;gap:9px;min-height:38px;width:100%;padding:8px 10px;border-radius:8px;font-size:12px;color:var(--mt-muted)}
.mt-footer-action:hover{background:var(--mt-canvas)}.mt-footer-action svg{width:17px;height:17px}
.mt-user{display:flex;align-items:center;gap:9px;padding:12px 8px 0;margin-top:6px;border-top:1px solid var(--mt-line)}
.mt-user-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--mt-tint);color:#6366f1;font-size:12px;font-weight:700;flex-shrink:0}
.mt-user-name{color:var(--mt-text);font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mt-user-email{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-app .mt-topbar{border-color:var(--mt-line)}.mt-app .mt-topbar>div:first-child{background:var(--mt-surface);opacity:.97}
.mt-app main{max-width:1800px;margin:0 auto;width:100%;padding:28px 32px 40px}
.mt-skip{position:fixed;left:16px;top:-100px;z-index:100;padding:12px 20px;background:var(--mt-accent);color:white;border-radius:9px}.mt-skip:focus{top:12px}
.mt-app main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea){border-color:var(--mt-line);border-radius:10px}
.mt-app main table{font-size:13px}.mt-app main thead{background:var(--mt-canvas)}.mt-app main th{font-size:11px;letter-spacing:.025em}.mt-app main td{vertical-align:middle}
.mt-app main .shadow-card{box-shadow:0 2px 4px #17233b03;border-color:var(--mt-line)}
.mt-dashboard{display:grid;gap:24px}.mt-overview{display:flex;justify-content:space-between;align-items:center;gap:16px}
.mt-eyebrow{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:var(--mt-muted);font-weight:600;margin-bottom:7px}
.mt-overview h2{font-size:28px;letter-spacing:-1px;line-height:1.3;font-weight:650;color:var(--mt-text)}.mt-overview p{font-size:13px;color:var(--mt-muted);margin-top:6px}
.mt-date{font-size:12px;white-space:nowrap;padding:10px 12px;display:flex;gap:8px;align-items:center;border:1px solid var(--mt-line);background:var(--mt-surface);border-radius:9px;color:var(--mt-muted)}
.mt-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mt-card{border:1px solid var(--mt-line);background:var(--mt-surface);border-radius:var(--mt-radius);box-shadow:0 2px 4px #17233b03;min-width:0}
.mt-kpi{padding:20px}.mt-kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:500;color:var(--mt-muted)}
.mt-kpi-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--mt-tint);color:#6366f1}.mt-kpi-icon svg{width:17px;height:17px}
.mt-kpi-value{font-size:clamp(21px,2.15vw,30px);letter-spacing:-1px;line-height:1.3;font-weight:650;margin:12px 0;color:var(--mt-text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mt-kpi-foot{font-size:11px;color:var(--mt-muted);display:flex;align-items:center;gap:6px}.mt-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6366f1;flex-shrink:0}
.mt-progress{height:5px;border-radius:10px;background:var(--mt-line);overflow:hidden;margin-top:11px}.mt-progress>span{height:100%;display:block;background:#6366f1;border-radius:10px}
.mt-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:24px}.mt-stack{display:grid;align-content:start;gap:24px}
.mt-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:21px 22px 16px}.mt-card-head h3{font-size:14px;font-weight:650;letter-spacing:-.2px}.mt-card-head p{font-size:11px;color:var(--mt-muted);margin-top:4px}
.mt-text-link{color:#4f46e5;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.dark .mt-text-link{color:#a5b4fc}
.mt-card-body{padding:0 22px 22px}.mt-pipeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mt-stage{background:var(--mt-canvas);padding:16px;border-radius:11px}.mt-stage strong{display:block;font-size:25px;letter-spacing:-.8px;margin:7px 0 3px;font-weight:600}.mt-stage-label{font-size:11px;color:var(--mt-muted);display:flex;gap:6px;align-items:center}.mt-stage small{font-size:10px;color:var(--mt-muted)}
.mt-campaign-row{display:flex;align-items:center;gap:12px;padding:16px 22px;border-top:1px solid var(--mt-line);transition:background .15s}.mt-campaign-row:hover{background:var(--mt-canvas)}
.mt-row-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:var(--mt-tint);color:#6366f1;flex-shrink:0}.mt-row-icon svg{width:18px;height:18px}
.mt-row-title{font-size:12px;font-weight:600;color:var(--mt-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mt-row-meta{font-size:11px;color:var(--mt-muted);margin-top:4px}
.mt-badge{font-size:10px;font-weight:500;padding:4px 8px;border-radius:6px;background:var(--mt-tint);color:#4f46e5;text-transform:capitalize;white-space:nowrap}.mt-badge[data-status=active]{background:#ecfdf5;color:#047857}.mt-badge[data-status=draft]{background:#fffbeb;color:#92400e}.mt-badge[data-status=completed]{background:#f1f5f9;color:#475569}
.mt-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mt-quick a{display:flex;align-items:center;flex-direction:column;gap:10px;padding:15px 6px;border:1px solid var(--mt-line);border-radius:11px;font-size:10px;color:var(--mt-muted)}.mt-quick a:hover{background:var(--mt-tint);border-color:#c7d2fe;color:var(--mt-accent)}.mt-quick svg{width:20px;height:20px;color:#6366f1}
.mt-sales{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mt-sales label{font-size:11px;color:var(--mt-muted)}.mt-sales strong{display:block;font-size:22px;font-weight:600;letter-spacing:-.7px;margin-top:6px}.mt-sales small{font-size:10px;color:var(--mt-muted)}
.mt-spark{display:flex;align-items:end;gap:7px;height:80px;margin-top:25px}.mt-spark>div{flex:1;display:flex;justify-content:end;flex-direction:column;align-items:center;height:100%;gap:7px}.mt-spark-bar{width:100%;max-width:52px;background:#818cf8;border-radius:5px 5px 2px 2px;min-height:3px}.mt-spark small{font-size:9px;color:var(--mt-muted)}
.mt-payments{display:flex;align-items:center;gap:24px}.mt-donut{width:104px;height:104px;border-radius:50%;padding:12px;flex-shrink:0}.mt-donut>div{border-radius:50%;background:var(--mt-surface);height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.mt-donut strong{font-size:21px;font-weight:600;letter-spacing:-.6px}.mt-donut small{font-size:10px;color:var(--mt-muted)}
.mt-payment-legend{flex:1;min-width:0;display:grid;gap:14px}.mt-payment-legend p{font-size:11px;color:var(--mt-muted)}.mt-payment-legend strong{font-size:14px;display:block;margin-top:3px;font-weight:600;overflow-wrap:anywhere}
.mt-empty{padding:25px 22px 32px;text-align:center;color:var(--mt-muted);font-size:12px;line-height:1.8}.mt-empty svg{width:28px;height:28px;margin:0 auto 10px;color:#a5b4fc}
.mt-help-card{padding:20px 22px;background:var(--mt-tint);border:1px solid var(--mt-line);border-radius:var(--mt-radius)}.mt-help-card h3{font-size:13px;font-weight:600}.mt-help-card p{font-size:11px;line-height:1.8;color:var(--mt-muted);margin:7px 0 12px}
.mt-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border-radius:9px;background:#4f46e5;color:#fff;font-size:12px;font-weight:600;border:1px solid #4f46e5;cursor:pointer;transition:background .15s,box-shadow .15s}.mt-primary:hover{background:#4338ca;box-shadow:0 3px 10px #4f46e52b}.mt-primary svg{width:16px;height:16px}
.mt-auth{min-height:100dvh;background:#fff;color:#17233b;font-family:'Inter','Noto Sans Thai',sans-serif;-webkit-font-smoothing:antialiased}
.mt-auth-grid{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.mt-auth-main{display:flex;flex-direction:column;padding:38px 48px}.mt-auth .mt-brand{padding:0}.mt-auth-form{width:100%;max-width:360px;margin:auto;padding:50px 0}.mt-auth-form h1{font-size:30px;letter-spacing:-1px;line-height:1.3;font-weight:650}.mt-auth-intro{font-size:13px;color:#65728a;line-height:1.8;margin:10px 0 28px}
.mt-auth-label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.mt-auth-field{width:100%;height:46px;border:1px solid #dfe5ef;border-radius:9px;padding:10px 13px;font-size:14px;background:#fff;color:#17233b}.mt-auth-field:focus{border-color:#818cf8;outline:3px solid #eef2ff}
.mt-auth-password{position:relative}.mt-auth-password input{padding-right:64px}.mt-auth-password button{position:absolute;right:4px;top:4px;height:38px;padding:0 10px;border:0;background:transparent;font-size:11px;font-weight:600;color:#6366f1}
.mt-auth-divider{display:flex;align-items:center;gap:14px;margin:23px 0;font-size:11px;color:#65728a}.mt-auth-divider:before,.mt-auth-divider:after{content:'';flex:1;height:1px;background:#e7ebf3}
.mt-auth-options{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0 23px;font-size:11px;color:#65728a}.mt-auth-options label{display:flex;gap:7px;align-items:center;min-height:24px}.mt-auth-options input{accent-color:#4f46e5;border-radius:4px}.mt-auth-options a,.mt-auth-register a{color:#4f46e5;font-weight:600}
.mt-auth-submit{width:100%;height:46px}.mt-auth-sso{width:100%;background:#fff;color:#17233b;border:1px solid #dfe5ef;box-shadow:0 1px 2px #17233b05;font-size:13px}.mt-auth-sso:hover{background:#f6f8fc;box-shadow:none}
.mt-auth-register{text-align:center;font-size:12px;color:#65728a;margin-top:25px}.mt-auth-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#65728a}.mt-auth-alert{padding:12px 14px;border:1px solid #fecaca;border-radius:9px;background:#fff1f2;color:#9f1239;font-size:12px;line-height:1.8;margin-bottom:18px}.mt-auth-alert ul{list-style:disc;padding-left:16px}
.mt-auth-art{position:relative;margin:16px 16px 16px 0;border-radius:22px;background:#111e3a;overflow:hidden;min-height:600px;display:flex;flex-direction:column;justify-content:space-between;padding:48px;color:white}
.mt-auth-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% center}.mt-auth-art:after{position:absolute;inset:0;content:'';background:linear-gradient(180deg,rgba(15,23,55,.68),rgba(30,27,75,.05) 45%,rgba(15,23,55,.93))}.mt-auth-art>*:not(img){position:relative;z-index:1}
.mt-art-kicker{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#d6dbff}.mt-auth-art h2{font-size:clamp(30px,3.25vw,48px);line-height:1.17;letter-spacing:-1.8px;font-weight:500;max-width:440px;margin:14px 0 18px}.mt-auth-art p{font-size:13px;line-height:1.9;color:#d9e0f0;max-width:340px}.mt-auth-brands{display:flex;flex-wrap:wrap;gap:22px;margin-top:30px;padding-top:22px;border-top:1px solid #ffffff30;font-size:11px;font-weight:600;letter-spacing:.5px}.mt-art-tag{display:inline-flex;align-items:center;gap:8px;background:#ffffff12;border:1px solid #ffffff30;border-radius:30px;padding:9px 14px;font-size:10px;width:fit-content;backdrop-filter:blur(8px)}
@media(min-width:1600px){.mt-auth-main{padding:48px 64px}.mt-auth-art{padding:64px}.mt-auth-form{max-width:400px}}
@media(max-width:1199px){.mt-grid{grid-template-columns:minmax(0,1fr)}.mt-grid>.mt-stack:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-auth-main{padding:28px}.mt-auth-art{padding:32px}}
@media(max-width:767px){.mt-app main{padding:22px 16px 32px}.mt-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mt-kpi{padding:16px}.mt-kpi-value{font-size:24px}.mt-overview h2{font-size:23px}.mt-overview{align-items:start}.mt-date{font-size:10px;padding:8px}.mt-date svg{display:none}.mt-grid{gap:16px}.mt-grid>.mt-stack:last-child{grid-template-columns:minmax(0,1fr)}.mt-stack,.mt-dashboard{gap:18px}.mt-card-head{padding:18px 18px 14px}.mt-card-body{padding:0 18px 18px}.mt-campaign-row{padding:15px 18px}.mt-stage{padding:12px}.mt-pipeline{gap:8px}.mt-sales strong{font-size:17px}.mt-auth-grid{grid-template-columns:1fr}.mt-auth-art{display:none}.mt-auth-main{padding:26px 24px;min-height:100dvh}.mt-auth-form{padding:48px 0}.mt-auth-footer{padding-bottom:env(safe-area-inset-bottom,0px)}}
@media(max-width:374px){.mt-date{display:none}.mt-kpi-value{font-size:21px}.mt-kpi-top{font-size:11px}.mt-kpi-icon{width:27px;height:27px}.mt-kpi{padding:13px}.mt-sales{gap:8px}}
@media(prefers-reduced-motion:reduce){.mt-app *, .mt-auth *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
.mt-account-page{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:100dvh;padding:32px 20px;background:#f6f8fc}.mt-account-card{width:100%;max-width:460px;margin-top:28px;background:#fff;border:1px solid #e7ebf3;border-radius:18px;padding:30px;box-shadow:0 8px 30px #17233b06}.mt-account-card label{font-size:12px;font-weight:600;color:#475569}.mt-account-card input:not([type=checkbox]){min-height:46px;width:100%;border:1px solid #dfe5ef;border-radius:9px;font-size:16px}.mt-account-card button[type=submit]{min-height:44px;background:#4f46e5;border-radius:9px;letter-spacing:0;text-transform:none}.mt-account-card .flex.items-center.justify-end{flex-wrap:wrap;gap:12px}.mt-account-card h1{font-size:24px;font-weight:650;letter-spacing:-.6px;margin-bottom:8px}.mt-account-card .mt-account-intro{font-size:13px;color:#65728a;line-height:1.8;margin-bottom:24px}
@media(max-width:480px){.mt-account-card{padding:24px 20px}}
/* Page-wide mobile contract: readable fields, touch targets, contained data. */
.mt-app main :is(.grid,.flex)>*{min-width:0}
.mt-app main :is(.text-slate-400,.text-gray-400){color:#65728a}.dark .mt-app main :is(.text-slate-400,.text-gray-400){color:#a6b2c8}
.mt-table-scroll{max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c7d2fe transparent}
.mt-table-scroll:focus-visible{outline:3px solid #818cf8;outline-offset:2px}
.mt-app main table th{white-space:nowrap}.mt-app main table td{font-variant-numeric:tabular-nums}
.mt-mobile-hint{font-size:11px;color:var(--mt-muted);padding:10px 16px;border-bottom:1px solid var(--mt-line)}
.mt-sales-tabs{scroll-snap-type:x proximity;scroll-padding:12px;border-bottom:1px solid var(--mt-line);padding-bottom:8px!important;gap:4px}.mt-sales-tabs a{scroll-snap-align:start;border-radius:8px;font-size:12px;min-height:42px}
.mt-app .mt-modal-panel{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.mt-app .drive-container{border-color:var(--mt-line);min-height:calc(100dvh - 130px)}
.mt-app .drive-toolbar .breadcrumbs{overflow-x:auto;white-space:nowrap}.mt-app .toolbar-actions{flex-wrap:wrap}.mt-app .selection-bar{flex-wrap:wrap}
.mt-app .drive-toolbar .tb-btn{min-height:40px}.mt-app .drive-toolbar .search-box input{font-size:13px}
.mt-app #replyOverlay{height:100dvh;padding-bottom:env(safe-area-inset-bottom,0px)}
.mt-app main :is(.email-body,.email-content){overflow-wrap:anywhere}.mt-app main iframe{max-width:100%}
.mt-mobile-agenda{display:none}
@media(max-width:767px){
 .mt-app main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea),.mt-auth input:not([type=checkbox]){font-size:16px!important;min-height:44px}
 .mt-app main :is(button,.tb-btn,.sel-btn),.mt-app .mt-topbar button,.mt-app .mt-topbar a,.mt-app .mt-sidebar :is(button,a){min-height:44px}
 .mt-app main button:has(>svg:only-child),.mt-app .mt-topbar button{min-width:44px}
 .mt-app .mt-nav-link{font-size:14px;min-height:44px}
 .mt-topbar .h-16{height:auto;min-height:64px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}
 .mt-topbar .h-16>div:first-child{flex:1;min-width:130px}.mt-topbar .h-16>div:last-child{max-width:100%;flex-wrap:wrap}
 .mt-app main form[method=GET] :is(input,select){max-width:100%}.mt-app main form[method=GET] .flex{flex-wrap:wrap}
 .mt-app main .mt-form-actions{display:flex;flex-wrap:wrap;gap:10px;padding-bottom:env(safe-area-inset-bottom,0px)}
 .mt-form-actions>button[type=submit]{flex:1;min-width:150px}
 .mt-app .mt-modal-panel{max-height:calc(100dvh - 24px);padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}
 .mt-app .mt-mobile-cards.mt-card-ready{display:block;width:100%;min-width:0}
 .mt-mobile-cards.mt-card-ready thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .mt-mobile-cards.mt-card-ready tbody{display:block}.mt-mobile-cards.mt-card-ready .mt-card-row{display:block;padding:12px 16px;border-bottom:1px solid var(--mt-line)}
 .mt-mobile-cards.mt-card-ready .mt-card-row td{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:8px 0!important;white-space:normal;text-align:left;overflow-wrap:anywhere}
 .mt-mobile-cards.mt-card-ready .mt-card-row td:before{content:attr(data-label);font-size:11px;color:var(--mt-muted);font-weight:500;flex:0 0 80px;text-transform:none}
 .mt-mobile-cards.mt-card-ready .mt-card-row td>*{min-width:0;max-width:100%}.mt-mobile-cards.mt-card-ready .mt-card-row td:first-child{display:block;padding-bottom:13px!important}.mt-mobile-cards.mt-card-ready .mt-card-row td:first-child:before{display:none}
 .mt-app .drive-toolbar{padding:12px;gap:10px}.mt-app .drive-toolbar .breadcrumbs{flex-basis:100%;font-size:13px;min-height:32px}
 .mt-app .toolbar-actions{width:100%;gap:8px;flex-wrap:wrap}.mt-app .drive-toolbar .search-box{display:flex!important;flex-basis:100%;order:-1;min-width:0}.mt-app .drive-toolbar .search-box input{width:100%;min-width:0}
 .mt-app .drive-toolbar .tb-btn{min-width:44px;justify-content:center;padding:10px}.mt-app .drive-toolbar .tb-btn.primary span{display:inline!important}
 .mt-app .items-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mt-app .item-checkbox{opacity:1;width:26px;height:26px}
 .mt-app .drive-item.list-mode{flex-wrap:wrap}.mt-app .drive-item.list-mode .item-name{flex-basis:65%}
 .mt-app .selection-bar{padding:12px;gap:8px}.mt-app .selection-bar .sel-count{flex-basis:100%}
 .mt-app #bulkActionsBar{max-height:45dvh;overflow-y:auto}.mt-app #actionBar>div{flex-wrap:wrap}.mt-app #actionBar button{flex:1 1 28%;padding:10px 6px;font-size:12px}
 .mt-app #actionBar kbd{display:none}.mt-app #triageRoot{padding-bottom:180px}
 .mt-calendar-desktop{display:none}.mt-mobile-agenda{display:block}.mt-agenda-date{font-size:12px;color:var(--mt-muted);padding:15px 18px 8px;font-weight:600}
 .mt-app main [data-mobile-full]{width:100%;min-width:0}.mt-app .mt-sales-tabs{margin-right:-16px;padding-right:16px}
}
@media(hover:none){.mt-app main .group-hover\:opacity-100,.mt-public .group-hover\:opacity-100{opacity:1}.mt-app .item-checkbox{opacity:1}}
.mt-pending-steps{list-style:none;margin:0;padding:0;display:grid;gap:22px}.mt-pending-steps li{display:flex;gap:13px}.mt-pending-steps li>span{width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;background:#eef2ff;color:#4f46e5;border-radius:50%;font-size:12px;font-weight:600}.mt-pending-steps strong{font-size:13px;font-weight:600}.mt-pending-steps p{font-size:12px;color:#65728a;margin-top:4px;line-height:1.8}
@media(max-width:374px){.mt-date-picker .grid-cols-7 button{min-width:0!important;width:100%;max-width:44px}.mt-date-picker .grid-cols-7 .w-11{width:100%}}
@media(max-width:767px){.mt-kpi-foot,.mt-row-meta,.mt-card-head p,.mt-quick a,.mt-text-link,.mt-stage-label,.mt-stage small{font-size:12px}.mt-card-head h3{font-size:15px}.mt-row-title{font-size:14px}.mt-kpi-top{font-size:12px}.mt-primary{font-size:13px}.mt-help-card p{font-size:12px}.mt-date{font-size:11px}.mt-auth-options,.mt-auth-register{font-size:12px}}
.mt-app .modal-box{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}.mt-app .modal-box .modal-actions{flex-wrap:wrap}
.mt-app .mt-modal-panel:focus,.mt-app .modal-box:focus{outline:none}
.dark .mt-badge:not([data-status]),.dark .mt-kpi-icon,.dark .mt-row-icon,.dark .mt-user-avatar{color:#c7d2fe}.dark .mt-quick svg{color:#a5b4fc}
@media(max-width:767px){.mt-app main a.inline-flex{min-height:44px}.mt-app .mt-mobile-cards .mt-card-row td a{min-height:44px}}
.mt-app .modal-content{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
@media(min-width:1024px){.mt-app #actionBar{left:256px}}
@media(max-width:767px){.mt-app #bulkActionBar{left:12px;right:12px;bottom:12px;transform:none;min-width:0!important;width:auto;max-height:45dvh;overflow:auto;flex-wrap:wrap;padding:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.mt-app .tabs-scroll{scrollbar-width:thin}.mt-app .tabs-scroll::-webkit-scrollbar{display:block;height:3px}}
@media(hover:none){.mt-app .asset-overlay{opacity:1;background:linear-gradient(transparent 50%,#0f172933);align-items:flex-end;padding-bottom:10px}.mt-app .asset-overlay :is(a,button){width:44px;height:44px}}
.mt-auth-art>picture{position:absolute;inset:0;z-index:0}.mt-auth-art>picture>img{width:100%;height:100%;object-fit:cover;object-position:60% center}
/* Creative modules share the same calm, data-first canvas. */
.mt-app .workspace-header,.mt-app .mt-studio-hero{background:var(--mt-surface);color:var(--mt-text);border:1px solid var(--mt-line);box-shadow:0 2px 4px #17233b03}
.mt-app .workspace-header:before,.mt-app .workspace-header:after{display:none}
.mt-app .workspace-header .stat-card{background:var(--mt-canvas);border:1px solid var(--mt-line);border-radius:12px}
.mt-app .workspace-header .stat-card p:first-child{color:var(--mt-text)}
.mt-app .workspace-header .text-indigo-200,.mt-app .mt-studio-hero .text-violet-100{color:var(--mt-muted)}
.mt-app .workspace-header a{background:var(--mt-tint);color:#4338ca}.dark .mt-app .workspace-header a{color:#c7d2fe}
.mt-app .workspace-header button{background:#4f46e5;color:#fff}
.mt-app .mt-studio-hero select{background:var(--mt-canvas);background-image:none!important;color:var(--mt-text);border-color:var(--mt-line);appearance:auto}
.mt-app .mt-studio-hero h1{font-size:24px}.mt-app .mt-studio-hero .bg-white\/15,.mt-app .workspace-header .bg-white\/10{background:var(--mt-tint);color:#6366f1}
.mt-app .asset-card{background:var(--mt-surface);border-color:var(--mt-line)}.mt-app .asset-thumb{background:var(--mt-canvas)}.dark .mt-app .asset-card .text-gray-800{color:var(--mt-text)}
