/* STITCHO Design System 2026 | cohesive visual layer; no logo/assets overwritten */
:root{
 --st-accent:#ff7000;--st-accent-hover:#eb6500;--st-canvas:#111110;
 --st-sidebar:#141413;--st-surface:#1d1d1b;--st-surface-2:#252522;
 --st-surface-3:#2d2b28;--st-ink:#faf8f5;--st-muted:#b9b4ab;
 --st-line:#383632;--st-strong-line:#55504a;--st-good:#8ed9ab;
 --st-danger:#ff988b;--st-radius:18px;--st-shadow:0 22px 56px rgba(0,0,0,.18);
 --gold:#ff7000;--gold-light:#ff8b32;--accent:#ff7000;--primary:#ff7000;--brand-gold:#ff7000;
 color-scheme:dark
}
html{scroll-behavior:smooth;scroll-padding-top:88px}
html,body{max-width:100%;min-width:0}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
 background:var(--st-canvas)!important;color:var(--st-ink)!important;-webkit-font-smoothing:antialiased;
 font-feature-settings:"ss01" on;overflow-x:clip}
:where(button,input,select,textarea){font-family:inherit!important}
:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--st-accent)!important;outline-offset:3px!important}
:where(button,a){-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease}
button:disabled{cursor:not-allowed!important;opacity:.53!important;transform:none!important}
button:not(:disabled):active{transform:scale(.985)}
:where(.note,.muted,.cc-service-text span,.mi-kpi-foot,.power-item small,.power-source){color:var(--st-muted)!important}
.app{grid-template-columns:260px minmax(0,1fr)!important;background:var(--st-canvas)!important;min-height:100dvh!important}
.app>aside{position:sticky;top:0;height:100dvh;align-self:start;overflow-x:hidden;overflow-y:auto;
 padding:28px 14px 24px!important;background:var(--st-sidebar)!important;
 border-right:1px solid var(--st-line)!important;scrollbar-width:thin;scrollbar-color:#575149 transparent}
.app>aside .brand{padding:4px 14px 2px!important;max-width:100%}
.app>aside .brand img{width:185px!important;max-width:100%!important;height:auto!important;object-fit:contain!important}
.app>aside .strap{padding:3px 14px 24px!important;color:#9b9489!important;
 font-size:10px!important;font-weight:750!important;letter-spacing:.19em!important;margin:0!important}
#nav{min-width:0;background:transparent!important}
#nav .group{font-family:inherit!important;font-size:10px!important;letter-spacing:.16em!important;
 font-weight:850!important;color:#817d75!important;margin:24px 12px 10px!important;padding:0!important}
#nav button.nav{display:flex!important;align-items:center!important;gap:12px!important;
 width:100%!important;min-height:45px!important;padding:11px 13px!important;margin:4px 0!important;
 border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;
 font-size:12.5px!important;line-height:1.35!important;letter-spacing:.005em!important;
 color:#cbc6bd!important;font-weight:620!important;text-align:left!important;white-space:normal!important;
 box-shadow:none!important;outline-offset:2px}
#nav .st-nav-icon{display:grid;place-items:center;flex:0 0 19px;color:#aaa49c}
#nav .st-nav-icon svg{display:block;width:18px;height:18px;stroke:currentColor;fill:none;
 stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#nav button.nav:hover:not(.active){background:#272622!important;border-color:#393630!important;color:#fff!important}
#nav button.nav.active,#nav button.nav[aria-current="page"]{
 background:#ff7000!important;border-color:#ff7000!important;color:#fff!important;
 font-weight:760!important;box-shadow:0 6px 17px #ff700021!important}
#nav button.nav.active .st-nav-icon{color:#fff!important}
#stitchoSignOutMenu{margin-top:25px!important;border-top:1px solid var(--st-line)!important;
 border-radius:12px!important;padding-top:12px!important;color:#c6c0b8!important}
.app>main{max-width:1700px!important;margin:0 auto!important;padding:34px clamp(22px,3vw,56px) 64px!important;
 width:100%!important;min-width:0!important;overflow:visible!important;background:transparent!important}
.header{display:flex!important;align-items:center!important;gap:22px!important;justify-content:space-between!important;
 border-bottom:1px solid #33312d!important;padding:4px 0 26px!important;margin-bottom:20px!important}
.header>div:first-child{min-width:0}
.header .eyebrow{font-family:inherit!important;color:var(--st-accent)!important;
 font-size:10px!important;font-weight:790!important;letter-spacing:.21em!important;margin-bottom:11px!important}
.header h1{font-family:inherit!important;font-weight:830!important;font-size:clamp(27px,3vw,44px)!important;
 letter-spacing:-.052em!important;line-height:1.12!important;color:var(--st-ink)!important;margin:0 0 9px!important}
.header .muted{font-size:13px!important;line-height:1.6!important;margin:0!important;max-width:68ch}
#status.pill{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;
 gap:7px!important;max-width:230px!important;padding:10px 14px!important;border-radius:100px!important;
 border:1px solid #535047!important;background:#272521!important;color:#e6e1d8!important;
 font-size:11px!important;font-weight:720!important;line-height:1.3!important;letter-spacing:.015em!important}
#status.pill:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#ff7000;box-shadow:0 0 0 3px #ff70001f}
#metrics.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important;margin:0 0 20px!important}
#metrics>.panel{background:var(--st-surface)!important;border:1px solid var(--st-line)!important;
 border-radius:var(--st-radius)!important;padding:18px 21px!important;margin:0!important;
 min-width:0;box-shadow:none!important;position:relative;overflow:hidden}
#metrics>.panel:before{content:"";position:absolute;left:19px;top:0;width:45px;height:2px;
 background:var(--st-accent);border-radius:0 0 9px 9px;opacity:.85}
#metrics>.panel .muted{font-size:11px!important;letter-spacing:.02em;font-weight:660}
#metrics>.panel .metric{font-family:inherit!important;color:#fff!important;
 font-size:clamp(23px,2.3vw,36px)!important;letter-spacing:-.045em;font-weight:810!important;line-height:1.2}
#panel.panel{margin:0!important;padding:0!important;background:transparent!important;
 border:0!important;box-shadow:none!important;min-width:0!important;overflow:visible!important}
#panel .power-title,#panel .cc-heading,#panel .mi-title{margin:9px 0 17px!important;min-width:0}
#panel .power-title h2,#panel .cc-heading h2,#panel .mi-title h2{font-family:inherit!important;
 letter-spacing:-.04em!important;font-size:clamp(22px,2.1vw,29px)!important;line-height:1.2!important;
 color:#f9f6ef!important;font-weight:800!important;margin:0 0 7px!important}
#panel .power-title p,#panel .cc-heading p,#panel .mi-title p{font-size:12.5px!important;
 color:var(--st-muted)!important;line-height:1.55!important;max-width:85ch}
#panel :is(.panel,.power-section,.mi-data-section,.business,.power-card,.email-flow-card,.mi-kpi,.cc-summary){
 background:var(--st-surface)!important;background-image:none!important;
 border:1px solid var(--st-line)!important;border-radius:var(--st-radius)!important;box-shadow:none!important;
 color:var(--st-ink)!important;min-width:0;max-width:100%}
#panel :is(.power-section,.mi-data-section,.business,.email-flow-card){padding:clamp(17px,1.8vw,27px)!important;margin:14px 0!important}
#panel :is(.power-section,.mi-data-section,.business,.email-flow-card) :is(h2,h3){
 font-family:inherit!important;color:var(--st-ink)!important;font-weight:780!important;
 letter-spacing:-.028em!important;line-height:1.25!important}
#panel :is(.power-section,.mi-data-section,.business,.email-flow-card)>h3{
 padding-bottom:13px!important;border-bottom:1px solid #35332f!important;margin:0 0 17px!important;
 font-size:18px!important}
#panel .power-section>p,#panel .email-flow-card>p{color:var(--st-muted)!important;
 font-size:12.5px!important;line-height:1.6!important}
#panel :is(.power-stats,.mi-stat-grid,.mi-columns,.cc-services){gap:12px!important;min-width:0!important}
#panel :is(.power-stat,.mi-kpi,.cc-service,.power-lead,.cc-summary,.mi-connection-strip,.mi-action-row,.power-review,.power-audit>div,.power-item){
 background:#252420!important;background-image:none!important;border:1px solid #3e3b36!important;
 border-radius:14px!important;color:#f5f1eb!important;box-shadow:none!important;min-width:0}
#panel :is(.power-stat,.mi-kpi){padding:19px 18px!important}
#panel :is(.power-stat strong,.mi-kpi-number,.mi-summary-count,.cc-summary-count,.metric){
 font-family:inherit!important;font-variant-numeric:tabular-nums!important;color:#ff8b2c!important;
 font-weight:820!important;letter-spacing:-.047em!important}
#panel :is(.power-stat span,.mi-kpi-label){color:#d7d1c7!important;letter-spacing:.005em!important}
#panel .power-stat strong{font-size:clamp(23px,2.6vw,35px)!important;line-height:1.1!important}
#panel .power-item{padding:14px 16px!important;margin:8px 0!important;gap:12px!important}
#panel .power-item strong{color:#fff!important;font-weight:740}
#panel .power-item small{color:#aea79d!important;line-height:1.55}
#panel :is(.mi-section-heading h3,.cc-section-label){font-family:inherit!important;
 letter-spacing:-.013em!important;color:#f5f1e9!important}
#panel .cc-provider-icon{background:#35312b!important;color:#ff8e38!important;border:1px solid #51473b!important}
#panel .cc-connected{color:#a5e4b9!important;background:#203328!important;border-color:#3e6447!important}
#panel .cc-service:has(.cc-connected){border-color:#466049!important;background:#222923!important}
#panel .cc-summary:has(.cc-summary-count){border-color:#62503b!important}
#panel .mi-connection-strip{background:#262922!important;border-color:#455044!important}
#panel :is(.mi-bar-track,.wa-track){background:#33312e!important}
#panel :is(.mi-bar-track span,.wa-track i){background:linear-gradient(90deg,#ff7000,#ffa24f)!important}
#panel .mi-action-row:hover{border-color:#ff7000!important;background:#2c2721!important}
#panel .mi-table-wrap{border:1px solid var(--st-line);border-radius:14px;overflow:auto;max-width:100%;scrollbar-width:thin}
#panel table{width:100%;border-collapse:separate;border-spacing:0}
#panel :is(th,td){border-color:#3a3732!important}
#panel th{font-size:11px!important;font-weight:760!important;color:#afa79b!important;
 background:#262420!important;text-transform:uppercase;letter-spacing:.055em}
#panel td{color:#e6e0d8!important;font-size:12px!important}
#panel tbody tr:hover{background:#2a2824}
#panel :is(.power-fields label,.power-section>label,.power-section .power-check,.email-flow-card label){
 color:#dcd5ca!important;font-size:12px!important;font-weight:680!important}
#panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea){
 background:#141412!important;color:#f8f5ee!important;border:1px solid #4b4640!important;
 border-radius:11px!important;min-height:44px;box-shadow:none!important;font-size:13px!important;
 transition:border-color .16s ease,box-shadow .16s ease!important}
#panel :is(input,select,textarea):focus{border-color:#ff7000!important;box-shadow:0 0 0 3px #ff70001f!important;outline:none!important}
#panel :is(input,textarea)::placeholder{color:#8b847c!important}
#panel input[type=file]{padding:10px!important}
#panel input[type=checkbox],#panel input[type=radio],input[type=checkbox],input[type=radio]{
 accent-color:#ff7000!important}
#panel :is(button.action,button[type="submit"],button.cc-connect,button.power-mini,button.wa-btn,.email-flow-card button.action):not(:disabled),
.action:not(:disabled),.cc-connect:not(:disabled){
 background:#ff7000!important;background-image:none!important;color:#fff!important;
 border:1px solid #ff7000!important;border-radius:11px!important;
 font-size:12.5px!important;font-weight:780!important;text-shadow:none!important;
 box-shadow:none!important;line-height:1.3!important}
#panel :is(button.action,button[type="submit"],button.cc-connect,button.power-mini,button.wa-btn):not(:disabled):hover,
.action:not(:disabled):hover{background:#e86400!important;border-color:#e86400!important;box-shadow:0 7px 18px #ff700021!important}
#panel :is(.power-mini,.action){min-height:42px;white-space:normal}
#panel :is(button[data-step],.power-tabs button,.wa-history-actions button){
 border-radius:10px!important;min-height:42px!important;font-size:12px!important;line-height:1.3!important}
#panel .power-steps{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:9px!important;margin:14px 0 18px!important;padding:4px!important;background:#1b1a18!important;
 border:1px solid #35312d!important;border-radius:14px!important;overflow:visible!important}
#panel .power-steps button:not(.current){background:#282622!important;color:#c9c2b9!important;
 border:1px solid transparent!important;box-shadow:none!important}
#panel .power-steps button.current{background:#ff7000!important;color:#fff!important;
 outline:none!important;box-shadow:0 4px 15px #ff700026!important;font-weight:780!important}
#panel :is(.power-steps button,.power-tabs button,.st-fold-toggle){font-family:inherit!important}
#panel :is(details,.lf-disclosure,.st-source-admin,.wa-history-panel){border-color:#434039!important;border-radius:13px!important}
#panel summary{cursor:pointer;color:#d6c9b9!important;line-height:1.45!important;font-size:12.5px!important;
 font-weight:660!important}
#panel details[open]>summary{color:#ff8a32!important}
#panel :is(.st-fold-toggle,.wa-detail-close){color:#fff!important;background:#ff7000!important;border-color:#ff7000!important}
#panel :is(.wa-visual-report,.wa-stat,.wa-detail-modal,.wa-collapsible){
 background:#252420!important;background-image:none!important;border-color:#484039!important;color:#f5f1e9!important}
#panel .wa-stat strong{color:#ff8b2c!important;font-family:inherit!important;font-size:26px!important}
#panel .wa-report-line{color:#dbd4ca!important}
#panel :is(.email-preview-dock,.email-library-modal,.email-shopify-picker,.email-picker-controls){
 border-color:#4e4840!important}
#panel .email-preview-dock{max-width:100%}
#panel :is(.power-tabs,.power-row,.email-flow-actions){gap:10px!important}
#panel :is(.power-contact a,.power-source){border-color:#5d4b37!important;color:#ff9a48!important;background:#2a251d!important}
#panel .power-good{color:var(--st-good)!important}
#panel .power-bad{color:var(--st-danger)!important}
#panel :is(.cc-error,.power-source-warning){background:#34211f!important;border-color:#8b4c42!important;color:#ffb7ae!important}
#panel :is(.cc-heading,.mi-title,.power-title) p{overflow-wrap:anywhere}
#panel *{min-width:0}
#panel :is(table,.power-stats,.mi-stat-grid,.cc-services,.power-fields){max-width:100%}
#panel :is(.mi-table-wrap,.power-contact,.wa-audience-feedback){overflow-wrap:anywhere}
.st-uix-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.st-uix-caption{margin:0;color:#bfb5aa;font-size:12px;line-height:1.55}
.st-uix-kicker{display:block;color:#ff8c33;font-size:10px;font-weight:820;letter-spacing:.16em;text-transform:uppercase;margin-bottom:6px}
.st-uix-rule{height:1px;background:#36322d;border:0;margin:18px 0}
.st-guidance{margin:12px 0 18px;padding:0;background:#24221e;border:1px solid #413a32;border-radius:12px;overflow:hidden}
.st-guidance summary{padding:12px 15px!important;list-style:none;display:flex;align-items:center;gap:9px}
.st-guidance summary:before{content:"?";display:inline-grid;place-items:center;width:18px;height:18px;
 font-size:11px;font-weight:850;color:#ff923f;border:1px solid #ff923f;border-radius:50%}
.st-guidance .st-guidance-body{padding:0 15px 15px;color:#beb5a9;font-size:12px;line-height:1.6}
.st-guidance .st-guidance-body p{margin:0;color:inherit!important}
.st-action-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
 margin:8px 0 16px;padding:13px 16px;border-radius:15px;background:#25231f;border:1px solid #4a3b2d}
.st-action-bar strong{font-size:12px;color:#fff}
.st-action-bar small{display:block;color:#afa69b;font-size:11px;line-height:1.55;margin-top:4px}
.st-action-pill{border:1px solid #75502d;background:#3b291c;border-radius:30px;color:#ffab65;
 padding:7px 11px;font-size:11px;font-weight:750}
.st-uix-brandline{height:2px;width:42px;background:#ff7000;border-radius:6px}
.st-uix-notify{position:fixed;right:22px;bottom:18px;z-index:979;display:flex;align-items:center;gap:8px;
 background:#292622;color:#f7f1ea;border:1px solid #564332;padding:10px 13px;border-radius:13px;
 box-shadow:0 15px 40px #0008;font-size:12px;max-width:min(420px,calc(100vw - 36px))}
.st-uix-notify button{color:#fff;background:#ff7000;border:0;padding:6px 10px;border-radius:8px}
#stitchoGate{background:radial-gradient(ellipse at 70% 4%,#29231d 0%,#181715 46%,#0d0e0d 100%)!important;
 overflow-y:auto!important;padding:25px 18px!important}
#stitchoGate:before{content:""!important;display:block!important;position:absolute!important;inset:0!important;
 background:linear-gradient(115deg,transparent 45%,#ff700007 65%,transparent 88%)!important;pointer-events:none!important}
#stitchoGate:after{color:#9d958c!important;font-family:inherit!important;letter-spacing:.13em!important;
 font-size:10px!important;bottom:18px!important}
#stitchoGate .stitcho-login{padding:clamp(24px,3.4vw,38px)!important;
 border:1px solid #50453c!important;background:#201e1b!important;
 border-radius:23px!important;box-shadow:0 24px 65px #0008,0 0 0 1px #ff700013!important;width:min(460px,100%)!important}
#stitchoGate .stitcho-login h1{font-family:inherit!important;font-size:clamp(24px,3vw,32px)!important;
 letter-spacing:-.048em!important;font-weight:840!important;color:#fff!important;margin:14px 0 6px!important}
#stitchoGate .stitcho-login p{color:#aca39a!important;line-height:1.6!important;font-size:12px!important}
#stitchoGate .stitcho-login label{color:#ddd4c8!important;font-size:12px!important;font-weight:700!important}
#stitchoGate .stitcho-login input:not([type="checkbox"]){
 border-radius:11px!important;background:#151412!important;border:1px solid #524940!important;
 height:48px!important;color:#fff!important;font-size:14px!important;padding:12px 14px!important}
#stitchoGate .stitcho-login input:focus{border-color:#ff7000!important;outline:none!important;box-shadow:0 0 0 3px #ff700023!important}
#stitchoGate .stitcho-login .pw-wrap input{padding-right:60px!important}
#stitchoGate .stitcho-login button:not(#stitchoShowPassword){min-height:46px!important;
 background:#ff7000!important;color:#fff!important;border:1px solid #ff7000!important;border-radius:11px!important;
 font-size:13px!important;font-weight:800!important;box-shadow:none!important}
#stitchoGate .stitcho-login #stitchoShowPassword{width:38px!important;height:38px!important;
 top:5px!important;right:5px!important;border-radius:9px!important;background:#35312a!important;
 color:#ff963e!important;border:0!important}
#stitchoGate .stitcho-login .remember-row{align-items:center!important}
#stitchoGate .stitcho-login .remember-row label{font-size:11px!important}
#stitchoGate .stitcho-login .stitcho-login-logo{width:76px!important;height:76px!important;border-radius:21px!important;overflow:hidden}
#stitchoGate .stitcho-login .stitcho-login-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
#loader{background:#10100ff5!important}
#loader .loadingtext{color:#ff8a30!important;font-family:inherit!important;font-weight:820!important;letter-spacing:.15em!important}
#loader .stitcho-load-progress{border-color:#4b3626!important}
#loader #stitchoLoadFill{background:#ff7000!important}
#stitchoMobileTop{background:#161514!important;border-bottom:1px solid #39332d!important}
#stitchoMobileTop .stitcho-header-logo img{object-fit:contain!important}
@media(min-width:821px){
 .app>aside{width:260px}
 #panel .power-title h2{display:none!important}
 .header{min-height:105px}
}
@media(min-width:1380px){.app{grid-template-columns:274px minmax(0,1fr)!important}.app>aside{width:274px}}
@media(max-width:1100px) and (min-width:821px){
 .app{grid-template-columns:230px minmax(0,1fr)!important}
 .app>aside{width:230px;padding-left:10px!important;padding-right:10px!important}
 .app>main{padding:28px 23px 48px!important}
 #panel .mi-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #panel .cc-services{grid-template-columns:1fr}
}
@media(max-width:820px){
 html{scroll-padding-top:74px}
 .app{display:block!important}
 .app>aside{position:fixed!important;inset:0 auto 0 0!important;width:min(330px,88vw)!important;
 height:100dvh!important;z-index:925!important;box-shadow:18px 0 54px #000b!important}
 .app>main{width:100%!important;padding:75px 14px 72px!important;overflow:visible!important}
 #stitchoMobileTop{height:60px!important;padding:7px 15px!important}
 #stitchoMobileTop .stitcho-header-logo{max-width:112px!important}
 .header{display:flex!important;align-items:center!important;padding:8px 0 16px!important;margin-bottom:14px!important;gap:10px!important}
 .header h1{font-size:clamp(23px,6vw,32px)!important;line-height:1.12!important}
 .header .muted{font-size:11px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #status.pill{font-size:10px!important;padding:8px 9px!important;max-width:105px!important;line-height:1.2!important}
 #metrics.grid{margin:0 0 14px!important;gap:6px!important;padding:5px!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;background:#1d1b18!important;
  border:1px solid #35312d!important;border-radius:15px!important}
 #metrics>.panel{background:#292722!important;min-height:74px!important;
  padding:12px 6px!important;border:0!important;border-radius:10px!important;text-align:center}
 #metrics>.panel:before{left:calc(50% - 17px);width:34px}
 #metrics>.panel .muted{font-size:10px!important;color:#c8bfb3!important;max-width:100%!important}
 #metrics>.panel .metric{font-size:clamp(18px,4.4vw,24px)!important;margin-top:7px!important}
 #panel .power-title{margin:8px 0 13px!important}
 #panel .power-title h2{display:none!important}
 #panel .power-title p{display:block!important;-webkit-line-clamp:unset!important;font-size:12px!important}
 #panel :is(.power-section,.mi-data-section,.business,.email-flow-card){padding:15px 14px!important;margin:10px 0!important;
  border-radius:15px!important}
 #panel .power-section>h3{font-size:16px!important;padding:0 0 11px!important;margin-bottom:13px!important}
 #panel :is(.power-stats,.mi-stat-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;
  border:0!important;background:transparent!important;padding:0!important;gap:8px!important}
 #panel :is(.power-stat,.mi-kpi){background:#27241f!important;border:1px solid #443a30!important;
  border-radius:12px!important;padding:12px 10px!important}
 #panel :is(.mi-stat-grid,.mi-columns,.cc-services){gap:9px!important}
 #panel .mi-columns,#panel .cc-services{grid-template-columns:1fr!important}
 #panel .power-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  padding:5px!important;gap:5px!important}
 #panel .power-steps button{font-size:11px!important;min-height:41px!important;min-width:0!important}
 #panel :is(.power-fields,.wa-audience-actions,.wa-history-actions,.email-flow-actions){grid-template-columns:1fr!important}
 #panel :is(.power-row,.cc-heading,.mi-title){gap:10px!important}
 #panel .wa-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #panel .power-item{padding:12px!important}
 #panel :is(.power-section .note,.mi-data-section .note){font-size:11.5px!important}
 #panel table{width:100%!important;max-width:100%!important}
 #panel .mi-table-wrap{overflow:auto!important}
 #panel :is(.wa-detail-modal,.email-library-modal){max-width:calc(100vw - 30px)!important;padding:18px!important}
 #panel #waControlStatus{overflow-wrap:anywhere}
 #panel .st-mobile-fold[data-st-collapsed=true]>.st-fold-head{margin-bottom:0!important}
 #panel .st-mobile-fold .st-fold-toggle{min-height:32px!important;padding:6px 9px!important}
 #stitchoGate .stitcho-login{padding:24px 21px!important;width:min(430px,100%)!important}
}
@media(max-width:380px){
 .app>main{padding-left:10px!important;padding-right:10px!important}
 #panel :is(.power-section,.mi-data-section,.email-flow-card){padding:13px 11px!important}
 #metrics>.panel .metric{font-size:17px!important}
 .header h1{font-size:22px!important}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;
 animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* Final production polish: inboxes, broadcast review, email studio and global alerts */
#stGlobalBroadcastAlerts.st-alert-launch{
 display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;
 border:1px solid #875534!important;background:#3a261b!important;color:#ffb57a!important;
 border-radius:50px!important;padding:9px 13px!important;min-height:38px!important;
 font-size:11px!important;font-weight:760!important;white-space:nowrap;cursor:pointer;
 box-shadow:none!important
}
#stGlobalBroadcastAlerts.st-alert-launch:before{content:"";width:7px;height:7px;display:inline-block;
 background:#ff7000;border-radius:100%;margin-right:8px;box-shadow:0 0 0 3px #ff700027}
#stGlobalBroadcastAlerts.st-alert-launch:hover{border-color:#ff7000!important;background:#4a2d1b!important}
#panel #stBroadcastAttention:empty{display:none}
#panel .st-delivery-review{border-color:#705036!important;background:#28221b!important}
#panel .st-delivery-review>.st-guidance-body{padding:4px 15px 16px}
#panel .st-delivery-review .st-guidance-body p{margin:8px 0!important}
#panel .st-delivery-review .st-delivery-line{display:flex;align-items:center;justify-content:space-between;
 gap:10px;padding:10px 0;border-top:1px solid #44382d;color:#f1e5d6;font-size:11px;line-height:1.5}
#panel .st-delivery-review .st-delivery-line>span:last-child{font-size:10px;color:#ffb474;white-space:nowrap}
#panel .st-delivery-why{flex:1;overflow-wrap:anywhere}
#panel .searchfields{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0 17px!important}
#panel .searchfields :is(input,select){min-height:43px!important;max-width:100%;flex:1}
#panel .searchfields :is(button.action,button){min-height:42px!important;
 border-radius:11px!important;letter-spacing:.005em;font-weight:730!important}
#panel .searchfields :is(button[data-tab],button[data-mode],button[data-platform],button[data-wa-tab]){
 font-size:12px!important;min-width:95px;border-radius:10px!important;flex:0 1 auto!important}
#panel :is(.searchfields,.mi-columns,.cc-services,.power-stats) >*{min-width:0}
#panel :is(.wa-control-actions,.wa-history-actions,.email-flow-actions){gap:10px!important}
#panel :is(.wa-simple-review .wa-control-actions,.wa-simple-review .wa-history-actions)>button{
 min-height:46px!important;border-radius:12px!important}
#panel .wa-simple-review .wa-btn-sub{font-weight:540!important;opacity:.85!important}
#panel .wa-simple-review .wa-history-panel{background:#201e1b!important;border-color:#4b4036!important}
#panel .wa-simple-review .wa-history-panel>summary{color:#f0d3b9!important;font-weight:770!important}
#panel .wa-simple-review .wa-stats-grid{gap:8px!important}
#panel .wa-simple-review .wa-stat{background:#28231d!important;border-color:#4c392b!important}
#panel .wa-simple-review .wa-stat span{color:#cfc4b5!important}
#panel #emailSimpleFlow{max-width:100%;min-width:0}
#panel #emailSimpleFlow .email-flow-card{background:#24221f!important;border-color:#454039!important;
 border-radius:16px!important;box-shadow:none!important}
#panel #emailSimpleFlow :is(input,textarea,select){background:#161513!important}
#panel #emailSimpleFlow button{border-radius:11px!important}
#panel #emailPreviewDock{max-width:100%;overflow:hidden;border-radius:14px!important}
#panel #emailPreviewDock img,#panel .email-flow-card img{max-width:100%;height:auto;object-fit:contain}
#panel :is(#userList,#emailReports,#waQueueStats,#moduleContent){
 overflow-wrap:anywhere;max-width:100%;min-width:0
}
#panel #moduleContent.business{background:#201f1c!important}
#panel #moduleContent .business{border-color:#3e3932!important}
#panel :is(.email-library-grid,.email-library-modal,.email-shopify-picker){max-width:100%}
#panel :is(.st-more-control,.lf-disclosure summary){color:#ff8b34!important;font-weight:750!important}
#panel :is(.cc-services,.mi-kpi,.power-section,.wa-detail-modal) *{overflow-wrap:break-word}
#panel :is(button,input,textarea,select){max-width:100%}
@media(min-width:821px){
 .app>main>.header{flex-wrap:wrap!important}
 #stGlobalBroadcastAlerts.st-alert-launch{margin-left:auto}
 #panel .searchfields{row-gap:9px}
 #panel .power-stats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
 #panel .wa-simple-review .wa-stats-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important}
}
@media(max-width:820px){
 .header{flex-wrap:wrap!important}
 #stGlobalBroadcastAlerts.st-alert-launch{flex-basis:auto;min-height:31px!important;padding:7px 10px!important}
 #panel .searchfields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #panel .searchfields :is(button,select,input){width:100%!important;min-width:0!important}
 #panel :is(.power-contact,.searchfields,.power-row){max-width:100%!important}
 #panel .mi-table-wrap{overflow-x:auto!important;max-width:100%!important;scrollbar-width:thin}
 #panel table{max-width:100%!important}
 #panel :is(.wa-detail-modal,.email-library-modal){max-height:calc(100dvh - 40px)!important;overflow-y:auto}
 #panel .st-delivery-review .st-delivery-line{flex-wrap:wrap;gap:2px}
 #panel .st-delivery-review .st-delivery-line>span:last-child{white-space:normal}
}


/* WhatsApp delivery recovery: a discreet STITCHO-native diagnostic & approval panel */
#stRecoveryPanel.st-recovery-panel{background:#1f1e1b!important;border:1px solid #48413a!important;
 border-radius:20px!important;padding:clamp(17px,2.2vw,26px)!important;margin:18px 0!important;color:#faf8f5!important}
.st-recovery-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.st-recovery-header h3,.st-recovery-modal h3{font-family:inherit!important;font-size:clamp(20px,2.2vw,26px)!important;
 font-weight:830!important;color:#fff!important;letter-spacing:-.045em!important;line-height:1.2;margin:4px 0 8px}
.st-recovery-header p{max-width:62ch!important;margin:0;color:#bcb3a9;font-size:12px;line-height:1.6}
.st-recovery-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:20px 0}
.st-recovery-metric{min-width:0;background:#292622;border:1px solid #47403a;border-radius:13px;
 padding:13px;display:flex;flex-direction:column;justify-content:center;min-height:82px}
.st-recovery-metric span{font-size:10px;color:#c4b9aa;line-height:1.3;font-weight:680}
.st-recovery-metric strong{font-size:clamp(20px,2.1vw,28px);font-weight:830;font-variant-numeric:tabular-nums;
 color:#ff902f;letter-spacing:-.035em;line-height:1.25;margin-top:6px}
.st-recovery-actions,.st-recovery-modal-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.st-recovery-actions>button,.st-recovery-modal-actions>button{min-height:43px!important;
 border-radius:11px!important;padding:10px 15px!important;font-size:12px!important;font-weight:750!important}
#stRecoveryPanel .st-recovery-neutral,.st-recovery-modal .st-recovery-neutral,
#stRecoveryPanel #stRecoveryRefresh{display:inline-flex;align-items:center;justify-content:center;
 background:#302a24!important;color:#f0e5da!important;border:1px solid #5b4d40!important;
 border-radius:10px!important;padding:10px 13px!important;min-height:41px!important;cursor:pointer}
#stRecoveryPanel button.action,.st-recovery-modal button.action{background:#ff7000!important;
 border:1px solid #ff7000!important;color:#fff!important;border-radius:11px!important;padding:11px 16px!important;
 font-size:12px!important;font-weight:800!important;box-shadow:none!important}
#stRecoveryPanel button:disabled,.st-recovery-modal button:disabled{opacity:.48!important;cursor:not-allowed!important}
#stRecoveryPanel .st-recovery-status{min-height:16px;color:#c1b5a8;font-size:12px;line-height:1.6;margin:12px 0 0}
#stRecoveryPanel .st-recovery-status[data-state=warning]{color:#ffad73}
#stRecoveryPanel .st-recovery-status[data-state=success]{color:#9de6b5}
.st-recovery-details{margin:15px 0!important;border:1px solid #474038!important;background:#26231f!important;border-radius:12px!important}
.st-recovery-details summary{padding:12px 15px!important;color:#e6d6c7!important;font-size:12px}
.st-recovery-details .st-guidance-body{padding:4px 15px 14px!important}
.st-recovery-item{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
 padding:13px 0;border-bottom:1px solid #433b33;min-width:0}
.st-recovery-item:last-child{border-bottom:0}
.st-recovery-item strong{display:block;color:#f6f1ea;font-size:12.5px;font-weight:760;line-height:1.45;overflow-wrap:anywhere}
.st-recovery-item small{display:block;color:#aea396;margin-top:4px;font-size:11px;line-height:1.5}
.st-recovery-item p{margin:7px 0 0;color:#d4c6b9;font-size:11.5px;line-height:1.55}
.st-recovery-class{white-space:nowrap;background:#443126;border:1px solid #634632;color:#ffb277;
 padding:6px 9px;border-radius:100px;font-size:10px;font-weight:740;line-height:1.3}
.st-recovery-error{border:1px solid #834333;border-radius:12px;color:#ffc7ab;background:#33221e;padding:14px;font-size:12px;line-height:1.6}
.st-recovery-backdrop{position:fixed;inset:0;z-index:100050;background:#080807c9;
 backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:18px}
.st-recovery-modal{width:min(640px,100%);max-height:min(88dvh,850px);overflow-y:auto;
 background:#211f1c;border:1px solid #5e4b3d;border-radius:22px;padding:clamp(20px,2.8vw,30px);
 box-shadow:0 35px 95px #000a;color:#f5f0e9;overscroll-behavior:contain}
.st-recovery-modal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.st-recovery-modal-head h3{font-size:24px!important;margin-top:3px}
.st-recovery-modal-head p{color:#bdb1a4;line-height:1.6;font-size:12px}
.st-recovery-close{flex:0 0 38px;width:38px;height:38px;border:1px solid #5c4d3e;border-radius:50%;
 background:#33302c;color:white;font-size:25px;cursor:pointer}
.st-recovery-list{max-height:40dvh;overflow-y:auto;border:1px solid #443b32;border-radius:13px;
 padding:4px 12px;margin:12px 0 17px;scrollbar-width:thin}
.st-recovery-select{display:flex;gap:11px;align-items:flex-start;padding:12px 4px;border-bottom:1px solid #423a31;cursor:pointer}
.st-recovery-select:last-child{border-bottom:0}
.st-recovery-select input,.st-recovery-consent input{accent-color:#ff7000;flex:0 0 18px;width:18px;height:18px;margin:2px 0 0}
.st-recovery-select strong{font-size:13px;color:#fff;display:block}
.st-recovery-select small{display:block;font-size:11px;color:#bdb0a2;line-height:1.5;margin-top:4px}
.st-recovery-consent{display:flex;gap:12px;padding:14px;background:#2c251e;border:1px solid #6a4a33;
 border-radius:12px;margin:14px 0 18px;font-size:12px;line-height:1.5;color:#e5d6c7}
.st-recovery-modal-actions{justify-content:flex-end;margin-top:17px}
.st-recovery-status{min-height:16px;font-size:12px;line-height:1.5;color:#ffc39a}
@media(max-width:820px){
 #stRecoveryPanel.st-recovery-panel{margin:12px 0!important;padding:14px!important;border-radius:15px!important}
 .st-recovery-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .st-recovery-metric{padding:11px 9px;min-height:72px;border-radius:10px}
 .st-recovery-metric span{font-size:10px}
 .st-recovery-metric strong{font-size:22px}
 .st-recovery-actions{display:grid;grid-template-columns:1fr;gap:8px}
 .st-recovery-actions>button{width:100%;min-height:44px}
 .st-recovery-modal{max-width:calc(100vw - 26px);padding:19px 15px;max-height:89dvh;border-radius:16px}
 .st-recovery-modal-actions{flex-direction:column-reverse}
 .st-recovery-modal-actions>button{width:100%;min-height:45px}
 .st-recovery-class{white-space:normal;text-align:right}
}


/* STITCHO FINAL INBOX + BROADCAST COLOR UNIFICATION
   Dynamic WhatsApp markup ships its own style element: these high-specificity selectors
   deliberately override that legacy styling, including mobile, with ONE brand palette. */
:root{--st-ui-orange:#ff7000;--st-ui-white:#fff;--st-ui-base:#171615;--st-ui-panel:#22201d;--st-ui-elevated:#2b2824;--st-ui-border:#464039}
#panel .wa-shell{background:var(--st-ui-base)!important;color:var(--st-ui-white)!important;border-color:var(--st-ui-border)!important}
#panel .wa-shell :is(.wa-side,.wa-main){background:var(--st-ui-base)!important;border-color:var(--st-ui-border)!important}
#panel .wa-shell :is(.wa-sidehead,.wa-chathead,.wa-compose){background:var(--st-ui-panel)!important;border-color:var(--st-ui-border)!important;color:#fff!important}
#panel .wa-shell .wa-sidehead strong,#panel .wa-shell .wa-chathead strong{color:#fff!important;letter-spacing:-.025em}
#panel .wa-shell .wa-search,#panel .wa-shell .wa-compose textarea{
 background:#151412!important;color:#fff!important;border:1px solid #514942!important;
 box-shadow:none!important;outline:none!important;border-radius:13px!important}
#panel .wa-shell :is(.wa-search,.wa-compose textarea):focus-visible{
 border-color:#ff7000!important;box-shadow:0 0 0 3px #ff700024!important}
#panel .wa-shell :is(.wa-search,.wa-compose textarea)::placeholder{color:#999189!important}
#panel .wa-shell .wa-thread{
 background:transparent!important;color:#fff!important;border-color:#37322d!important;
 padding:14px!important;transition:background .18s ease!important}
#panel .wa-shell .wa-thread:hover,#panel .wa-shell .wa-thread.active{background:#31291f!important}
#panel .wa-shell .wa-thread.active{box-shadow:inset 3px 0 #ff7000!important}
#panel .wa-shell .wa-thread-copy strong{color:#fff!important}
#panel .wa-shell :is(.wa-thread-copy small,.wa-time){color:#bdb5aa!important}
#panel .wa-shell .wa-avatar{background:#ff7000!important;color:#fff!important;border:0!important;
 font-weight:780!important;box-shadow:none!important}
#panel .wa-shell .wa-tabs{background:var(--st-ui-base)!important}
#panel .wa-shell .wa-tabs button{
 background:#2a2622!important;color:#e8e1da!important;
 border:1px solid #484039!important;box-shadow:none!important;
 border-radius:12px!important;min-height:42px!important;font-weight:760!important}
#panel .wa-shell .wa-tabs button.active,
#panel .wa-shell .wa-tabs button[aria-selected="true"]{
 background:#ff7000!important;color:#fff!important;border-color:#ff7000!important}
#panel .wa-shell .wa-tabs button:focus-visible{outline:2px solid #ff7000!important;outline-offset:2px!important}
#panel .wa-shell .wa-bubbles{background:#171615!important}
#panel .wa-shell .wa-bubble{background:#302c27!important;color:#fff!important;border:1px solid #49413a!important;box-shadow:none!important}
#panel .wa-shell .wa-bubble.in{background:#302c27!important;color:#fff!important;border-color:#49413a!important}
#panel .wa-shell .wa-bubble.out{background:#ff7000!important;color:#fff!important;border-color:#ff7000!important}
#panel .wa-shell .wa-bubble.out *{color:#fff!important}
#panel .wa-shell .wa-bubble time{color:#d8d0c6!important}
#panel .wa-shell .wa-bubble.out time{color:#fff!important;opacity:.85!important}
#panel .wa-shell .wa-compose-wrap{background:#22201d!important;border-color:#454039!important}
#panel .wa-shell .wa-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 background:transparent!important;color:#ff8d36!important;
 border:1px solid transparent!important;border-radius:10px!important;box-shadow:none!important}
#panel .wa-shell .wa-icon:hover{background:#373029!important;border-color:#5c4435!important}
#panel .wa-shell .wa-send:not(:disabled){
 background:#ff7000!important;color:#fff!important;border:1px solid #ff7000!important;
 border-radius:13px!important;min-height:43px!important;font-size:19px!important;
 box-shadow:none!important;text-shadow:none!important}
#panel .wa-shell .wa-send:not(:disabled):hover{background:#ea6400!important;border-color:#ea6400!important}
#panel .wa-shell .wa-send:disabled{background:#4f4540!important;color:#d2c9c0!important;border-color:#5b514a!important}
#panel .wa-shell .wa-status{color:#ff9b4a!important;background:#22201d!important}
#panel .wa-shell #waLive{color:#f5f1ed!important;font-size:11px!important}
#panel .wa-shell .wa-empty{color:#b7aea4!important}
#panel .wa-shell .wa-emoji{background:#292621!important;border:1px solid #51473d!important}
#panel .wa-shell .wa-emoji button{background:transparent!important;color:#fff!important;border:0!important}
#panel .wa-simple-review .wa-history-panel{background:#211e1b!important;border:1px solid #4b4037!important}
#panel .wa-simple-review .wa-history-panel>summary{color:#ff8d34!important;font-size:14px!important}
#panel .wa-simple-review :is(#waPause,#waQueueRefresh,#waMakeCampaign,#waPrepare,#waDispatch,#waSendApprove,#waSendCancel,#waExport,#waClearHistory){
 background:#ff7000!important;background-image:none!important;border:1px solid #ff7000!important;
 color:#fff!important;text-shadow:none!important;box-shadow:none!important}
#panel .wa-simple-review .wa-stats-grid{gap:9px!important}
#panel .wa-simple-review .wa-stat,
#panel .wa-simple-review .wa-visual-report,
#panel #waQueueStats .wa-stat,
#panel #waQueueStats .wa-visual-report{
 background:#262420!important;background-image:none!important;border:1px solid #49413a!important;
 border-radius:13px!important;box-shadow:none!important}
#panel .wa-simple-review .wa-stat span,#panel #waQueueStats .wa-stat span{
 color:#d3c9bd!important;font-size:11px!important}
#panel .wa-simple-review .wa-stat strong,#panel #waQueueStats .wa-stat strong{
 color:#ff8830!important;font-family:inherit!important;font-variant-numeric:tabular-nums!important;
 font-size:clamp(23px,4.5vw,30px)!important;font-weight:820!important}
#panel .wa-simple-review .wa-visual-report .wa-report-line,
#panel #waQueueStats .wa-report-line{color:#f5f1ed!important}
#panel .wa-simple-review .wa-track,#panel #waQueueStats .wa-track{background:#3d3832!important}
#panel .wa-simple-review .wa-track i,#panel #waQueueStats .wa-track i{
 background:#ff7000!important;background-image:none!important}
#panel .wa-simple-review .wa-stat:focus-visible{outline:2px solid #ff7000!important;outline-offset:2px!important}
#panel .wa-simple-review .wa-detail-modal,.wa-detail-modal{
 background:#24221f!important;background-image:none!important;border-color:#ff7000!important;color:#fff!important}
.wa-detail-modal h3{color:#fff!important;font-family:inherit!important}
.wa-detail-modal p{color:#d4cfc7!important}
.wa-detail-modal button.wa-detail-close{background:#ff7000!important;color:#fff!important;border-color:#ff7000!important}
#panel .wa-simple-review .wa-audience-feedback{
 border-color:#694b34!important;background:#30251c!important;color:#fff!important}
#panel :is(.power-section,.email-flow-card) :is(button.power-mini,button.action):not(:disabled){
 background:#ff7000!important;color:#fff!important;border-color:#ff7000!important}
#panel .wa-simple-review :is(button.action,button.wa-btn) :is(span,small){
 color:#fff!important}
@media(max-width:820px){
 #panel .wa-shell .wa-sidehead,#panel .wa-shell .wa-chathead{padding:13px 14px!important}
 #panel .wa-shell .wa-tabs{gap:7px!important;padding:7px 12px 12px!important}
 #panel .wa-shell .wa-threads{scrollbar-width:thin}
 #panel .wa-shell .wa-thread{min-height:70px!important;padding:13px 14px!important}
 #panel .wa-shell .wa-compose{padding:7px 10px!important;gap:5px!important}
 #panel .wa-shell .wa-compose textarea{min-height:43px!important}
 #panel .wa-shell .wa-bubble{border-radius:14px!important}
 #panel .wa-simple-review .wa-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
