/* MY BODY PILATES • WEBSITE-ALIGNED STUDIO INTELLIGENCE CONCEPT
   Inspired by the live editorial direction of mybodypilates.pages.dev. */
:root{--ink:#393538;--sub:#766c69;--bronze:#c3a18a;--bronze2:#9c7967;--light:#f9f7f3;--cream:#f1e9e2;--surface:#fffdfa;--line:#eae3dc;--sidebar:#f5f0e9;--sidebar2:#e9dcd0;--shadow:0 15px 45px rgba(63,48,43,.035);--serif:'Dream Avenue','Cormorant Garamond',Georgia,serif;--font:'Agrandir','Manrope',Arial,sans-serif}
html,body{background:var(--light)}
.sidebar{background:var(--sidebar);color:var(--ink);border-right:1px solid #e5dbd1;padding-top:25px}.brand{border-bottom:1px solid #e2d7cd;gap:10px;padding-bottom:23px}.brand-symbol{width:58px;height:58px}.brand-copy span{color:#393538;letter-spacing:.15em;font-size:10px}.brand-copy small{color:#997f70;font-size:9px;letter-spacing:.11em;line-height:1.5}.nav-label{color:#a18b7e;font-size:9px;letter-spacing:.19em}.nav-link{color:#786c65;border-radius:2px;font-size:11px;font-weight:600;letter-spacing:.02em}.nav-link:hover{color:var(--ink);background:#eae0d8}.nav-link.active{color:#393538;background:#e5d6ca;border-color:#d8c5b7}.nav-link.active .nav-icon{color:#95705e}.nav-count{background:#d6bda9!important;color:#57483f!important}.side-promo{border-radius:3px;background:#e6d6c9;border:1px solid #dbc7b8}.side-promo .eyebrow{color:#8b6b59}.side-promo strong{font-size:29px;color:#393538;line-height:.95}.side-promo p{color:#6f5b50}.side-promo .side-button{color:#393538;background:#f8f3ed;border:1px solid #e4d8cf;border-radius:1px;font-weight:600}.side-footer{color:#a18e83}.topbar{background:#f9f7f3ee;border-bottom:1px solid #e8e0d7;height:83px}.crumb{color:#9e7e6b}.current-page{font-size:28px;font-weight:500}.avatar{background:#dec7b7;color:#604b40}.btn{border-radius:3px;letter-spacing:.035em}.btn.secondary{background:#eaddd1;border-color:#dccbbf;color:#493d38}.btn.outline{border-color:#dbccc2;background:#fffdfa}.btn.ghost{background:transparent}.icon-button,.location-picker{border-radius:3px;background:#fffdfa}.tag{border-radius:2px;letter-spacing:.025em}.card{border-radius:3px;box-shadow:none;background:#fffdfa}.demo-ribbon{background:#f1e8e0;border-color:#e9d9cc;border-radius:2px;font-size:10px}.content{padding-top:30px}.section-head h1,.section-head h2,.hero h1,.showcase-intro h2,.site-quote{font-family:var(--serif);font-weight:400;letter-spacing:-.036em}.section-head h1{font-size:clamp(41px,4vw,57px);line-height:1.01}.section-head h2{font-size:39px}.eyebrow{letter-spacing:.17em;color:#9e7d68}.metrics .metric{background:#fffdfa}.metric .m-icon,.activity .activity-icon,.agent-symbol{border-radius:2px;background:#f4eae0;color:#96705b}.metric strong{color:#393538}.metric .delta{color:#6d8a78}.card h3{font-weight:600}.hero{background:#eee6de;padding:38px 38px;min-height:350px;border-radius:3px;isolation:isolate;border:1px solid #e8dbcf;align-items:center;overflow:hidden}.hero:before{background:linear-gradient(90deg,rgba(238,230,222,0) 0%,rgba(237,224,211,.04) 50%),url('assets/studio-reformers.webp') center 53%/cover no-repeat;width:40%;height:100%;position:absolute;right:0;top:0;bottom:auto;border:0;border-radius:0;z-index:-1;content:''}.hero:after{content:'';position:absolute;right:37%;top:0;width:13%;height:100%;background:linear-gradient(90deg,#eee6de,transparent);border:0;border-radius:0;z-index:-1}.hero-content{width:63%;max-width:680px}.hero h1{font-size:clamp(43px,4.2vw,68px);line-height:.99;max-width:650px;margin:19px 0}.hero p{max-width:415px;color:#70605a;font-size:12px}.hero-bubble{position:absolute;z-index:2;right:15px;bottom:17px;width:130px;min-width:130px;height:130px;margin:0;border-radius:50%;background:#f9f6f0ed;border:1px solid #ffffffce;box-shadow:0 4px 30px #0001}.hero-bubble strong{font-family:var(--serif);font-size:47px;line-height:1.1;color:#8c6e5d}.hero-bubble span{font-size:7px;letter-spacing:.12em}.hero-bubble small{font-size:8px}.showcase-intro{border-radius:3px;background:#393538 url('assets/class-together.webp') right center/auto 130% no-repeat;position:relative;isolation:isolate}.showcase-intro:before{position:absolute;content:'';inset:0;background:linear-gradient(90deg,#393538 0%,#393538 55%,#393538bb 74%,#39353800 100%);z-index:-1}.showcase-intro h2{font-size:clamp(43px,4.5vw,70px);line-height:.98}.showcase-intro p{max-width:560px}.showcase-steps>*,.story-card{border-radius:3px}.member-portal{border-radius:3px;background:#e6d5c5}.portal-logo{max-height:100px}.side-promo .eyebrow,.showcase-intro .eyebrow{font-size:10px}
/* Website-to-CRM bridge: design aligned to the public site, presented in CRM */
.web-experience{background:#fdfbf8;border:1px solid #e8e1d8;color:#393538;overflow:hidden}.web-experience button{font-family:var(--font)}.web-masthead{height:104px;display:flex;align-items:center;justify-content:space-between;padding:8px clamp(24px,4vw,62px);border-bottom:1px solid #eee7e0;gap:20px}.web-mark{display:flex;gap:11px;align-items:center}.web-mark img{width:70px;height:70px;object-fit:contain}.web-mark span{font-size:11px;font-weight:700;line-height:1.45;letter-spacing:.24em}.web-nav{display:flex;align-items:center;gap:32px;margin:0 auto}.web-nav span{font-size:9px;font-weight:700;letter-spacing:.2em;white-space:nowrap}.web-nav-cta{border:1px solid #c3a18a;background:transparent;color:#5d4a42;font-size:9px;font-weight:700;letter-spacing:.13em;padding:16px 19px;display:flex;align-items:center;gap:10px;white-space:nowrap}.web-nav-cta svg{width:14px;height:14px}
.web-hero{display:grid;grid-template-columns:50% 50%;min-height:620px}.web-hero-copy{padding:70px clamp(25px,5.6vw,92px) 35px clamp(28px,6vw,98px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.web-hero-copy .eyebrow{font-size:9px;letter-spacing:.23em}.web-hero h1{font-family:var(--serif);font-size:clamp(74px,8vw,128px);font-weight:400;line-height:.79;letter-spacing:-.06em;margin:30px 0 29px}.web-experience em{font-weight:400}.web-hero-copy>p{font-size:13px;line-height:1.85;max-width:350px;color:#766f69;margin:0 0 31px}.web-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.web-solid{border:1px solid #393538;background:#393538;color:white;font-size:9px;font-weight:700;letter-spacing:.17em;padding:15px 19px;display:flex;align-items:center;justify-content:center;gap:14px;min-height:47px}.web-solid svg,.web-text-button svg{width:14px;height:14px}.web-text-button{border:0;background:transparent;color:#393538;font-size:9px;font-weight:700;letter-spacing:.13em;padding:14px 4px;display:flex;align-items:center;gap:11px}.web-scroll-label{font-size:9px;letter-spacing:.12em;color:#9f8778;margin-top:54px;display:flex;gap:12px;align-items:center;white-space:nowrap}.web-scroll-label span{width:26px;height:1px;background:#bba494}.web-hero-photo{min-height:620px;background:#dfd1c0 url('assets/studio-reformers.webp') center center/cover no-repeat;position:relative}.web-hero-photo:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1a171735,transparent 35%)}.web-photo-credit{position:absolute;bottom:24px;left:29px;right:29px;display:flex;justify-content:space-between;align-items:center;color:white;font-size:10px;letter-spacing:.19em;font-weight:700}.web-photo-credit span{font-family:var(--serif);font-size:26px;letter-spacing:0}
.web-manifesto{text-align:center;padding:90px 35px 92px;background:#f4eee8}.web-number{font-size:9px;color:#a88973;font-weight:700;letter-spacing:.23em}.web-manifesto h2,.web-connection h2,.web-sister h2,.web-close h2{font-family:var(--serif);font-weight:400;letter-spacing:-.055em;line-height:.95;margin:26px 0}.web-manifesto h2{font-size:clamp(50px,6vw,94px)}.web-manifesto p{font-size:13px;line-height:1.95;max-width:550px;color:#746c65;margin:0 auto}.web-connection{display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,5vw,80px);padding:90px clamp(25px,6vw,95px);background:#fffdfa;align-items:center}.web-connection-intro h2{font-size:clamp(55px,5.3vw,84px)}.web-connection-intro>p{max-width:440px;font-size:13px;line-height:1.95;color:#756d66}.web-flow{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:33px}.web-flow span{font-size:8px;font-weight:700;letter-spacing:.13em;padding:9px 11px;background:#f2e9e1;color:#856955}.web-flow svg{width:13px;height:13px;color:#b08b73}.web-flow-note{font-size:10px;margin-top:18px;color:#998578;line-height:1.7}.web-form-shell{border:1px solid #e3d7cb;background:#f3ece5;padding:clamp(23px,3.2vw,48px);box-shadow:22px 22px 0 #f9f4ef}.web-form-eyebrow{font-size:9px;letter-spacing:.2em;color:#9f806a;font-weight:700}.web-form-shell h3{font-family:var(--serif);font-size:clamp(42px,4vw,64px);letter-spacing:-.055em;font-weight:400;margin:12px 0 25px}.web-form-shell .field{margin-bottom:22px}.web-form-shell .field label{font-size:9px;letter-spacing:.14em;color:#725a4b}.web-form-shell .field input,.web-form-shell .field select{background:#fffdfa;border:1px solid #e7dcd2;border-radius:0;font-size:13px;min-height:47px;padding:13px}.web-submit{width:100%;min-height:52px;background:#393538;color:#fff;border:1px solid #393538;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:10px;letter-spacing:.16em;font-weight:700}.web-submit svg{height:16px;width:16px}.web-form-disclaimer{font-size:10px;color:#927e71;line-height:1.5;margin:13px 0 0}.web-sister{padding:81px clamp(25px,6vw,95px) 90px;background:#f8f3ee}.web-sister h2{font-size:clamp(52px,5vw,80px);margin:24px 0 46px}.web-location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.web-location-grid>div{padding:28px 0 25px;border-top:1px solid #bfa48f;border-bottom:1px solid #ddd0c3}.web-location-grid>div span{color:#ab8a74;font-size:10px;letter-spacing:.2em}.web-location-grid h3{font-family:var(--serif);font-weight:400;font-size:clamp(35px,3.7vw,58px);margin:23px 0 10px;line-height:1}.web-location-grid p{font-size:9px;font-weight:700;letter-spacing:.15em;color:#9c826f}.web-close{background:#393538;color:#f8f2ec;padding:83px clamp(25px,6vw,95px) 85px}.web-close>span{font-size:9px;letter-spacing:.19em;color:#d1b7a2}.web-close h2{font-size:clamp(68px,7.7vw,114px);margin:27px 0}.web-close>p{color:#d3c6be;font-size:14px;margin:0 0 25px}.web-solid.light{background:#f4e9de;color:#393538;border-color:#f4e9de}.web-text-button.light{color:#f4e9de}.web-footer{padding:25px clamp(25px,6vw,95px);display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eee5dc}.web-footer span,.web-footer a{font-size:9px;letter-spacing:.09em;color:#6d5e55}.web-footer a{display:inline-flex;align-items:center;gap:7px;color:#765645;font-weight:700}
@media(max-width:1350px){.web-nav{gap:15px}.web-hero-copy{padding-left:48px}.web-hero h1{font-size:94px}.web-nav span{font-size:8px}}
@media(max-width:1100px){.web-nav{display:none}.web-hero h1{font-size:clamp(70px,7.5vw,100px)}.web-hero-copy{padding:40px 33px}.web-hero{min-height:530px}.web-hero-photo{min-height:530px}.web-masthead{height:84px}}
@media(max-width:970px){.hero-content{width:63%}.hero h1{font-size:50px}.web-hero h1{font-size:82px}.web-scroll-label{white-space:normal}}
@media(max-width:720px){.web-masthead{padding:7px 21px}.web-mark img{height:55px;width:55px}.web-mark span{font-size:9px}.web-nav-cta{font-size:8px;padding:12px}.web-hero{grid-template-columns:1fr;min-height:0}.web-hero-copy{padding:50px 26px 30px}.web-hero h1{font-size:clamp(76px,13vw,112px);margin:25px 0}.web-hero-photo{min-height:350px;background-position:center 55%}.web-scroll-label{margin-top:40px}.web-manifesto{padding:65px 25px}.web-manifesto h2{font-size:54px}.web-connection{grid-template-columns:1fr;padding:60px 23px;gap:30px}.web-connection-intro h2{font-size:67px}.web-form-shell{box-shadow:11px 11px 0 #f9f4ef;padding:24px}.web-sister{padding:65px 24px}.web-sister h2{font-size:60px}.web-location-grid{grid-template-columns:1fr;gap:13px}.web-location-grid>div{padding:18px 0}.web-location-grid h3{margin:11px 0;font-size:46px}.web-close{padding:65px 24px}.web-close h2{font-size:74px}.web-footer{flex-direction:column;align-items:flex-start;padding:25px;gap:12px}.hero{min-height:330px}.hero:before{width:35%}.hero-content{width:68%}.hero h1{font-size:44px}.hero-bubble{width:90px;min-width:90px;height:90px;right:10px;bottom:10px}.hero-bubble strong{font-size:34px}.hero-bubble span{font-size:6px}.hero-bubble small{font-size:7px}}
@media(max-width:520px){.hero{padding:30px 22px 165px}.hero-content{width:100%}.hero:before{width:100%;height:165px;top:auto;bottom:0;background-position:center 44%}.hero:after{width:100%;height:70px;right:0;top:auto;bottom:95px;background:linear-gradient(#eee6de,transparent)}.hero h1{font-size:47px}.hero p{font-size:11px}.hero-bubble{width:81px;min-width:81px;height:81px;bottom:7px;right:14px}.web-masthead{height:71px}.web-mark img{width:48px;height:48px}.web-hero h1{font-size:82px}.web-hero-photo{min-height:290px}.web-hero-copy{padding:42px 22px 28px}.web-form-shell .two-fields{grid-template-columns:1fr;gap:0}.web-flow{gap:5px}.web-flow span{font-size:7px;padding:7px}.web-close h2{font-size:61px}.web-experience .eyebrow{font-size:9px}.showcase-intro{background-position:right top;background-size:auto 100%}.showcase-intro:before{background:#393538db}}
/* Original studio photographs load from the provided inspiration site when reachable;
   the bundled, original SVG illustration is used as an offline fallback. */
.web-hero-photo{background-image:url('assets/studio-reformers.webp'),url('assets/studio-fallback.svg');background-position:center center,center center;background-size:cover,cover}
.hero:before{background-image:linear-gradient(90deg,rgba(238,230,222,0),rgba(237,224,211,.04)),url('assets/studio-reformers.webp'),url('assets/studio-fallback.svg');background-size:cover,cover,cover;background-position:center,center 53%,center 53%}
.showcase-intro{background-image:url('assets/class-together.webp'),url('assets/studio-fallback.svg');background-size:auto 130%,cover;background-position:right center,right center}

/* Autopilot work board */
.work-board{display:grid;gap:19px;margin-top:19px}
.work-controls{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.work-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}
.work-col h4{font-family:var(--serif);font-size:24px;font-weight:500;margin:0 0 12px}
.work-item{border-top:1px solid var(--line);padding:13px 0}
.work-top{display:flex;gap:12px;align-items:flex-start}
.work-top p{margin:2px 0 0;font-size:12px;color:var(--sub)}
.work-bar{height:5px;background:var(--line);border-radius:3px;overflow:hidden;margin:10px 0 6px}
.work-bar span{display:block;height:100%;background:var(--bronze);transition:width .6s}
.work-item small{font-size:11px;color:var(--sub)}
@media(max-width:900px){.work-cols{grid-template-columns:1fr}}

/* Demo sign-in */
.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--light)}
.login-card{width:min(440px,100%);background:var(--surface);border:1px solid var(--line);padding:44px 40px;box-shadow:var(--shadow)}
.login-brand{display:flex;flex-direction:column;align-items:center;margin-bottom:30px;color:var(--ink)}
.login-brand .brand-top{font-family:var(--serif);font-size:30px;font-weight:500;letter-spacing:-.04em}
.login-brand .brand-bottom{font-size:9px;letter-spacing:.32em;font-weight:700;margin-top:8px}
.login-card h1{font-family:var(--serif);font-size:52px;font-weight:400;line-height:1;margin:14px 0 12px}
.login-card form{display:grid;gap:18px;margin-top:26px}
.login-card .btn{width:100%}

/* White welcome screen */
.login-screen{background:#fff}
.login-card{background:#fff;border:0;box-shadow:none;text-align:center;padding:24px}
.login-logo{width:min(240px,60vw);height:auto;margin:0 auto 28px}
.login-card .note{margin:0 0 6px}
.login-card .fine{margin-top:18px;color:var(--sub)}

/* Live website panel */
.live-site{background:#fff;border-top:1px solid var(--line);padding:36px clamp(16px,3vw,40px) 48px}
.live-site-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.live-site-head h2{font-family:var(--serif);font-weight:400;font-size:34px;margin:8px 0 0}
.live-site iframe{display:block;width:100%;height:85vh;border:1px solid var(--line);background:#fff}

/* Studio assistant */
.bot{position:fixed;right:20px;bottom:20px;z-index:80;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.bot[hidden]{display:none}
.bot-fab{position:relative;border:0;border-radius:999px;background:var(--ink);color:#fff;padding:14px 20px;font:700 11px var(--font);letter-spacing:.12em;text-transform:uppercase;box-shadow:0 12px 30px rgba(57,53,56,.25);cursor:pointer}
.bot-badge{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;border-radius:10px;background:var(--bronze);color:#fff;font-size:11px;line-height:20px;text-align:center;padding:0 5px}
.bot-panel{width:min(370px,calc(100vw - 32px));height:min(520px,70vh);background:#fff;border:1px solid var(--line);box-shadow:0 20px 50px rgba(57,53,56,.18);display:flex;flex-direction:column}
.bot-panel[hidden]{display:none}
.bot-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}
.bot-head strong{display:block;font-family:var(--serif);font-size:22px;font-weight:500}
.bot-head small{font-size:11px;color:var(--sub)}
.bot-close{border:0;background:none;font-size:24px;line-height:1;cursor:pointer;color:var(--ink)}
.bot-log{flex:1;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.bot-msg{max-width:88%;padding:9px 12px;font-size:13px;line-height:1.5;background:var(--cream);color:var(--ink);align-self:flex-start}
.bot-msg.me{align-self:flex-end;background:var(--ink);color:#fff}
.bot-chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px;border-top:1px solid var(--line)}
.bot-chips button{border:1px solid var(--line);background:#fff;padding:6px 10px;font-size:11px;cursor:pointer;color:var(--ink)}
.bot-chips button:hover{border-color:var(--bronze)}
.bot-form{display:flex;border-top:1px solid var(--line)}
.bot-form input{flex:1;border:0;padding:12px 14px;font:inherit;font-size:13px;outline:none;min-width:0}
.bot-form button{border:0;background:var(--ink);color:#fff;padding:0 16px;font:700 11px var(--font);letter-spacing:.1em;text-transform:uppercase;cursor:pointer}

/* Assistant: header, attention states */
.bot-head{gap:10px}
.bot-avatar{position:relative;flex:0 0 38px;height:38px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font:700 11px var(--font);letter-spacing:.08em}
.bot-avatar i{position:absolute;right:0;bottom:1px;width:10px;height:10px;border-radius:50%;background:#6f9c84;border:2px solid #fff}
.bot-title{flex:1;min-width:0}
.bot-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;border-radius:50%}
.bot-icon:hover{border-color:var(--bronze)}
.bot-icon.off{color:var(--sub);opacity:.55}
.bot-msg.alert{background:#fff;border:1px solid var(--bronze);border-left:3px solid var(--bronze)}
.bot-msg.alert::before{content:'NEEDS YOU';display:block;font:700 9px var(--font);letter-spacing:.16em;color:var(--bronze2);margin-bottom:3px}
.bot-fab.ring{animation:bot-ring .9s ease 2}
@keyframes bot-ring{0%,100%{transform:rotate(0)}15%{transform:rotate(-6deg) scale(1.04)}30%{transform:rotate(6deg) scale(1.04)}45%{transform:rotate(-4deg)}60%{transform:rotate(4deg)}75%{transform:rotate(-2deg)}}
@media(prefers-reduced-motion:reduce){.bot-fab.ring{animation:none}}

/* Live website page */
.live-page{display:flex;flex-direction:column;gap:16px}
.live-frame{display:block;width:100%;height:calc(100vh - 230px);min-height:520px;border:1px solid var(--line);background:#fff}

/* Phone and tablet */
.bot{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}
.login-screen{padding:max(24px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom))}
@media(max-width:1024px){
 .live-frame{height:75vh;min-height:480px}
 .live-site iframe{height:75vh}
}
@media(max-width:768px){
 .bot{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));align-items:stretch}
 .bot-panel{width:100%;height:min(62vh,520px)}
 .bot-fab{align-self:flex-end;min-height:48px}
 .bot-chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .bot-chips button{flex:0 0 auto;min-height:40px;padding:8px 12px;font-size:12px}
 .bot-form input,.field input,.field select,.field textarea,input,select,textarea{font-size:16px}
 .bot-form button{min-height:48px}
 .live-site{padding:24px 12px 96px}
 .live-site-head h2{font-size:26px}
 .live-frame{height:70vh;min-height:420px}
 .login-logo{width:min(200px,55vw)}
 .login-card h1{font-size:44px}
}
/* Tablet top bar: keep the action row inside the screen */
.top-actions{min-width:0}
@media(max-width:1180px){.top-actions .desktop-only{display:none}}
@media(max-width:860px){.top-actions{gap:8px}.top-actions .top-demo{padding-inline:12px}}
@media(max-width:860px){.top-actions .top-demo.secondary{display:none}}

/* Live website device preview */
.device-toggle{display:inline-flex;align-self:flex-start;border:1px solid var(--line);background:#fff;padding:3px;gap:3px;border-radius:999px}
.device-toggle button{border:0;background:transparent;color:var(--ink);font:700 11px var(--font);letter-spacing:.1em;text-transform:uppercase;padding:10px 16px;min-height:40px;border-radius:999px;cursor:pointer}
.device-toggle button[aria-pressed="true"]{background:var(--ink);color:#fff}
.device-stage{display:flex;justify-content:center;background:#f6f2ee;border:1px solid var(--line);padding:0}
.device-stage .live-frame{border:0}
.device-desktop .device-shell{width:100%}
.device-ipad,.device-iphone{padding:28px 12px}
.device-ipad .device-shell,.device-iphone .device-shell{background:#1f1d1e;box-shadow:0 24px 60px rgba(57,53,56,.25);max-width:100%}
.device-ipad .device-shell{width:min(834px,100%);padding:18px;border-radius:34px}
.device-ipad .live-frame{height:min(1112px,78vh);min-height:0;border-radius:16px}
.device-iphone .device-shell{width:min(417px,100%);padding:12px;border-radius:52px}
.device-iphone .live-frame{height:min(852px,78vh);min-height:0;border-radius:40px}
@media(max-width:768px){.device-toggle{align-self:stretch;justify-content:space-between}.device-toggle button{flex:1;padding:10px 8px}}

/* Portal device preview */
.preview-toggle{align-self:center;flex:0 0 auto}
.preview-toggle button{padding:8px 13px;min-height:34px;font-size:10px}
@media(max-width:1280px){.top-actions .top-demo.secondary{display:none}}
@media(max-width:1100px){.top-actions .preview-toggle{display:none}}
.preview-page{min-height:100vh;background:#fff;padding:20px clamp(16px,3vw,40px) 40px;display:flex;flex-direction:column;gap:18px}
.preview-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}
.preview-brand{display:flex;align-items:center;gap:14px}
.preview-brand img{width:54px;height:54px;object-fit:contain}
.preview-brand strong{display:block;font-family:var(--serif);font-size:26px;font-weight:500}
.preview-page .device-stage{flex:1;align-items:flex-start}
.preview-page .device-ipad .live-frame{height:min(1112px,calc(100vh - 230px))}
.preview-page .device-iphone .live-frame{height:min(852px,calc(100vh - 230px))}
.preview-note{text-align:center;margin:0}

/* Dashboard: needs your attention */
.attention{margin:0 0 19px;border-left:3px solid var(--bronze)}
.attn-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:8px}
.attn-head h2{font-family:var(--serif);font-weight:400;font-size:clamp(26px,3vw,36px);margin:6px 0 0;line-height:1.1}
.attn-row{display:grid;grid-template-columns:92px 1fr auto;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.attn-row .tag{justify-self:start}
.attn-row.urgent{background:linear-gradient(90deg,rgba(195,161,138,.10),transparent);margin:0 -12px;padding-inline:12px}
.attn-text{min-width:0}
.attn-text strong{display:block;font-size:14px}
.attn-text p{margin:2px 0 0;font-size:12px;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attn-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:768px){.attn-row{grid-template-columns:1fr;gap:8px}.attn-actions{justify-content:flex-start}.attn-actions .btn{min-height:44px}.attn-text p{white-space:normal}}
@media(max-width:768px){.bot-panel{height:min(48vh,460px)}}
