/* PULSO Social AI Studio · Purple Aurora · responsive design system */
:root {
  color-scheme:dark;
  --bg:#09051c;--paper:#170f32;--ink:#f8f5ff;--muted:#a8a0c2;
  --line:#30234d;--brand:#b258ff;--brand2:#f147c9;--soft:#23163f;
  --mint:#6be5c7;--green:#65e3bb;
  --shadow:0 18px 42px rgba(0,0,0,.18);
}
html,body {height:100%;width:100%;background:#070314;color:var(--ink)}
body {padding:0!important; background:radial-gradient(ellipse at 17% 7%,#1a0c37 0,transparent 46%),#060312}
.app {width:100%;max-width:none;height:100dvh;min-height:550px;margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:radial-gradient(circle at 88% 1%,rgba(106,36,189,.21),transparent 35%),radial-gradient(circle at 0% 98%,rgba(103,36,154,.14),transparent 45%),var(--bg)}
.app::before {top:-200px;right:-170px;width:470px;height:470px;background:#7534da;opacity:.12;filter:blur(90px)}
.app:after{display:none}
.main{padding:27px 23px calc(180px + env(safe-area-inset-bottom,0px));height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#51416e transparent;max-width:none}
.topbar{margin-bottom:30px;gap:12px}
.logo{border-radius:13px;background:linear-gradient(140deg,#5e16d6,#c93be2);box-shadow:0 6px 30px #8d2eff35}
.brand{font-size:20px;letter-spacing:-1px;color:white}.brand small{color:#a79cbe;font-size:9px}
.circle-btn{background:#1c1139;border:1px solid #352651;color:#d5c7ef}.avatar{color:#ebc5ff;background:#43246c}
.eyebrow{color:#ad79fb;letter-spacing:2px}.heading,.page-heading{color:white;letter-spacing:-1.1px}.heading{font-size:clamp(28px,6vw,41px);margin:8px 0 10px}.heading em{color:#ca70ff}
.sub,.page-description {color:#a6a0be}.demo-pill{color:#bf9fff;background:#26173e;border:1px solid #51306c;margin-bottom:15px}
.voice-hero{background:radial-gradient(circle at 50% 61%,rgba(94,20,192,.3),transparent 48%),linear-gradient(146deg,#1d1039,#0b0624 80%);border:1px solid #503477;border-radius:27px;box-shadow:inset 0 1px 0 #8650a736,0 16px 50px #08021f7c;min-height:326px;padding:23px 21px 20px}
.voice-hero:after{border-color:#ba83fc1e;right:-125px;bottom:-145px}
.hero-tag{border:1px solid #7444ae7d;color:#d7b3fd;background:#3219536d;font-size:9px}
.ready{color:#e4d9f3}.dot{background:#9c6aff;box-shadow:0 0 0 4px #8844e22e,0 0 14px #d26bff}
.voice-hero h2{font-size:26px;line-height:1.18;margin:12px 0 7px;color:white}.voice-hero p{color:#bbb0d8}
.voice-visual{min-height:172px;margin:8px auto 2px;gap:3px}
.hero-mic{position:relative;isolation:isolate;overflow:visible;width:135px;height:135px;border:2px solid #b54eff90;outline:none;color:#f9e6ff;background:radial-gradient(circle at 32% 25%,#f1b0ff 0%,#9f35f0 13%,#4c11ad 42%,#1a073f 72%);box-shadow:inset -8px -15px 25px #0b052a,0 0 10px #b73cff,0 0 34px #972aff7a,0 0 0 10px #8532db17,0 0 0 25px #8b2ef111;animation:orbPulse 5s ease-in-out infinite}
.hero-mic:before,.hero-mic:after{content:"";position:absolute;z-index:-1;inset:-10px;border-radius:50%;border:2px solid #c13cff9c;box-shadow:0 0 15px #a53aff94;transform:rotate(34deg) scaleX(.76);pointer-events:none}
.hero-mic:after{inset:-15px;border:1.5px solid #9455f5c7;transform:rotate(-49deg) scaleX(.66);box-shadow:0 0 16px #9934fb6b}
.hero-mic svg{width:34px;height:34px;filter:drop-shadow(0 0 10px #f0d7ff)}
.wave{width:45px;gap:4px;opacity:.78}.wave i{background:linear-gradient(#f2aeff,#9d3feb,#4823a4);width:3px}
.hero-foot{color:#e9d1fc;font-size:11px}.type-link{color:#ddacff;font-size:12px}
.section-head{margin-top:27px}.section-head h3{font-size:15px;color:#f6efff}.section-head>span{color:#9891b0!important}
.link{color:#bb7cff}.quick-grid{gap:11px}.quick,.mini-stat,.card,.editor-card,.metric-card{background:linear-gradient(160deg,#1b1036,#140d2b);border:1px solid var(--line);box-shadow:0 4px 17px #05011328;color:#f7f2ff}
.quick{min-height:100px;border-radius:18px;padding:13px 12px}.quick:hover,.post:hover{border-color:#7e49be;transform:translateY(-1px)}.quick,.post{transition:border .18s,transform .18s}
.quick-ico,.quick:nth-child(2) .quick-ico,.quick:nth-child(3) .quick-ico{background:#30184e;color:#bf8afa}
.quick b{font-size:11px}.mini-stat{border-radius:17px}.mini-stat small{color:#afa8c3}.mini-stat b{color:#e8cdfc}
.post,.metric-card{background:#170f30;border-color:#352550;color:white}.post-info b{color:#efeaf9}.post-meta,.inbox-row small{color:#a69ebe}.post .chev{color:#ad7ef1}
.post-thumb.purple{background:linear-gradient(145deg,#5526ba,#b954e7)}.post-thumb.peach{background:linear-gradient(145deg,#7e3ca8,#b35da7)}.post-thumb.dark{background:linear-gradient(145deg,#140728,#593088)}
.status{background:#2b1847;color:#c6a2ff}.status.review{background:#3e243c;color:#ffc3d2}.status.done{background:#193b37;color:#84e6cc}
.tabs{background:#110a26;border-top:1px solid #39294d;box-shadow:0 -10px 32px #03010c87;padding-left:11px;padding-right:11px}
.tab{color:#a6a0bb;border-radius:13px}.tab.active{color:#d3a3ff;background:#301b54}.tab:hover{color:#f6dbff}.tab svg{stroke-width:1.85}
.voice-dock{background:linear-gradient(120deg,#221138,#1a0f32);border:1px solid #5d397f;box-shadow:0 8px 36px #0008}.dock-mic{background:linear-gradient(140deg,#7423e3,#cf38da);box-shadow:0 0 20px #a03dd351}.dock-text{color:#afa5c5}.dock-text b{color:white}.dock-key{background:#39224f;color:#d6a5ff}
.page-description{margin-bottom:23px}.card,.editor-card{border-radius:20px}.cal-head b{color:white}.cal-arrows .tiny-btn,.tiny-btn{background:#2a1a45;color:#d9c6fa;border-color:#483066}
.choice{background:#1c1238;color:#b4a9d0;border-color:#3b2b53}.choice.on{background:#49236f;color:#f4dbff;border-color:#9952d8}
.field,.pulso-access input,textarea,input{color:#f8f3ff}.field,.pulso-access input{background:#140d2a;border:1px solid #4b345d;color:#f8f3ff}.field::placeholder,.pulso-access input::placeholder{color:#8b7baf}.field-label{color:#d0c4e3}.tag{color:#b7a7ca;background:#21163b;border-color:#3f2d56}.tag.on{background:#482773;color:#f1d5ff;border-color:#8752bb}.hint{color:#ada2c2}
.btn{background:linear-gradient(115deg,#6422df,#c83bc8);color:white}.btn.alt{background:#301952;color:#e7d1ff}.btn.ghost{background:#140d2b;color:#ce92ff;border-color:#593c79}
.notice{background:#231b33;color:#c6b6da;border-color:#473453}.connection{border-color:var(--line)}
.metric-hero{background:radial-gradient(circle at 75% 20%,#7331a68a,transparent 45%),linear-gradient(120deg,#30134f,#150b32);border:1px solid #52316e}.metric-card small{color:#b5a9ca}.metric-card b{color:white}
.inbox-item{border-color:#38284c}.inbox-item p{color:#bdb2d3}.inbox-item button{color:#c68bfd}.inbox-avatar{background:#45246e;color:#eedaff}
.design-preview{border:1px solid #4d3264}.copy-result{background:#180e2e;border:1px solid #382a51}.copy-box{color:#ebe6f6;background:#160c2c}.empty{background:#170f2f;border-color:#32254e;color:#a89cc7}
.overlay{background:#080315c9;backdrop-filter:blur(8px)}.sheet{background:#180e31;color:#f8f4ff;border:1px solid #553876;border-bottom:0}.sheet-handle{background:#694e86}.sheet-head h2{color:#fff}.sheet-head p{color:#b3a3cd}.xbtn{background:#301a50;color:#dfc1fc}.voice-sheet{background:radial-gradient(circle at 50% 26%,#361064,#1a0b36 49%,#0b061b 100%);border-color:#593586}.voice-sheet .xbtn{background:#3d245d}.voice-orb{background:radial-gradient(circle at 34% 22%,#d68cff,#8522d0 35%,#331067 60%,#160c39 82%);box-shadow:0 0 8px #c14efa,0 0 32px #a42bff70,0 0 0 15px #8c3de419,0 0 0 34px #bd6fff09}.voice-orb svg{filter:drop-shadow(0 0 8px #ffd6ff)}
.pulso-orb{background:radial-gradient(circle at 34% 22%,#d898f7,#7928c9 37%,#270f62 68%,#15082b 100%)!important;box-shadow:0 0 18px #9c39eb85,0 0 0 14px #a947ef18!important}
.pulso-access,.pulso-transcript{color:#f8f2ff}.pulso-access label,.pulso-small-label{color:#ccbadf}.pulso-primary{background:linear-gradient(110deg,#6824ea,#d142d5)}.pulso-secondary{border-color:#704f8f;color:#eee0ff;background:#23123e}
.pulso-bubble{background:#3a235c;color:#f8f1ff}.pulso-bubble.me{background:#49216f}.pulso-privacy{color:#b9aacc}
.toast{background:#372155;border:1px solid #8151a3;box-shadow:0 15px 38px #05020d99}
@keyframes orbPulse {0%,100%{box-shadow:inset -8px -15px 25px #0b052a,0 0 13px #c146ff,0 0 33px #8a28ff8b,0 0 0 10px #8532db17,0 0 0 25px #8b2ef111}50%{box-shadow:inset -8px -15px 25px #0b052a,0 0 22px #ce55ff,0 0 48px #a538ffc5,0 0 0 12px #8532db29,0 0 0 28px #8b2ef118}}
/* Tablet and mobile: native full-bleed responsive screen, persistent bottom actions */
@media (min-width:560px) and (max-width:959px) {body{padding:0!important}.app{border:0;border-radius:0;height:100dvh;min-height:550px;max-width:none}.main{max-width:780px;margin:auto;padding:32px 42px 165px}.tabs,.voice-dock{max-width:780px;left:50%;right:auto;width:100%;transform:translateX(-50%)}.toast{left:calc(50% - 340px);right:calc(50% - 340px)}}
/* Desktop: actual workspace layout, not an enlarged phone mockup */
@media (min-width:960px) {
  .app{max-width:none;height:100dvh;min-height:680px}
  .main{margin-left:236px;padding:34px clamp(28px,4.2vw,70px) 132px;height:100%;width:calc(100% - 236px)}
  .topbar{margin-bottom:36px;max-width:1200px;margin-inline:auto}
  .screen{max-width:1200px;margin:0 auto}
  .tabs{position:absolute;top:0;bottom:0;left:0;right:auto;width:236px;height:100%;display:flex;flex-direction:column;justify-content:flex-start;gap:8px;align-items:stretch;padding:116px 15px 28px 15px;border-right:1px solid #38294b;border-top:0;background:radial-gradient(circle at 30% 10%,#251040,transparent 60%),#100922;box-shadow:9px 0 42px #07011673}
  .sidebar-brand{position:absolute;top:30px;left:27px;right:20px;display:flex;align-items:center;gap:11px;color:white;font-weight:840;letter-spacing:-.5px;font-size:22px}
  .sidebar-brand-icon{width:38px;height:38px;display:grid;place-items:center;background:linear-gradient(130deg,#6f21eb,#d638cc);border-radius:12px;font-size:21px;box-shadow:0 0 18px #a538ff48}
  .sidebar-brand-sub{display:block;color:#a38cbe;letter-spacing:1.7px;font-size:9px;margin-top:3px;text-transform:uppercase}
  .tabs .tab{width:100%;min-height:49px;padding:0 14px;display:flex;flex-direction:row;gap:13px;justify-content:flex-start;border-radius:13px;font-size:13px;font-weight:680;text-align:left}
  .tabs .tab svg{width:19px;height:19px}
  .sidebar-caption{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:#8e77a9;margin:6px 14px 10px}
  .sidebar-bottom{margin-top:auto;padding:18px 11px;color:#b6a3d0;border-top:1px solid #3a2857;font-size:11px;line-height:1.6}
  .sidebar-bottom span{display:flex;align-items:center;gap:7px;color:#d5c3eb;margin-bottom:8px}
  .sidebar-bottom i{width:7px;height:7px;background:#8850d6;border-radius:50%}
  .voice-dock{position:absolute;left:auto;right:clamp(25px,4vw,64px);bottom:24px;width:min(580px,calc(100% - 316px));min-height:65px;border-radius:18px;padding:11px 11px 11px 14px}
  .dock-mic{width:44px;height:44px}.dock-text{font-size:12px}.dock-text b{font-size:13px}
  .screen[data-screen=home]{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.85fr);column-gap:26px;align-items:start}
  .screen[data-screen=home]>.eyebrow{grid-column:1;grid-row:1;align-self:end;padding-top:21px}
  .screen[data-screen=home]>.heading{grid-column:1;grid-row:2;align-self:start;font-size:clamp(34px,3.7vw,56px);line-height:1.08;margin:4px 0 14px}
  .screen[data-screen=home]>.sub{grid-column:1;grid-row:3;font-size:15px;margin:0 0 13px}
  .screen[data-screen=home]>.demo-pill{grid-column:1;grid-row:4;justify-self:start;align-self:start}
  .screen[data-screen=home]>.voice-hero{grid-column:2;grid-row:1/5;min-height:370px;padding:26px 25px}
  .screen[data-screen=home]>.voice-hero .voice-visual{min-height:205px}
  .screen[data-screen=home]>.voice-hero .hero-mic{width:155px;height:155px}
  .screen[data-screen=home]>.section-head{grid-column:1/3}
  .screen[data-screen=home]>.quick-grid,.screen[data-screen=home]>.stats-row,.screen[data-screen=home]>.post-list{grid-column:1/3}
  .quick{min-height:113px;padding:20px}.quick b{font-size:14px}.quick-ico{width:34px;height:34px}
  .stats-row .mini-stat{padding:20px 22px}.mini-stat b{font-size:29px}.mini-stat small{font-size:12px}
  .post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .screen[data-screen=studio] .editor-card{max-width:740px}.screen[data-screen=calendar] .card{max-width:1000px}
  .overlay{align-items:center;justify-content:center;inset:0}
  .sheet{border:1px solid #553876;border-radius:24px;width:min(550px,calc(100% - 30px));max-height:min(85dvh,850px);padding:27px 28px;box-shadow:0 30px 95px #020007c9}
  .voice-sheet{border-radius:24px;min-height:540px}
  .sheet-handle{margin:-8px auto 22px}.toast{left:auto;right:40px;bottom:107px;width:350px}
}
@media (max-width:959px){.sidebar-brand,.sidebar-caption,.sidebar-bottom{display:none}}
@media (max-width:559px){.main{padding:20px 18px calc(171px + env(safe-area-inset-bottom,0px))}.topbar{margin-bottom:25px}.heading{font-size:clamp(28px,7.5vw,36px)}.voice-hero{min-height:322px}.voice-visual{min-height:160px}.hero-mic{width:123px;height:123px}.wave{width:35px}.tabs{padding-bottom:calc(11px + env(safe-area-inset-bottom,0px))}.post-list{display:flex;flex-direction:column}.voice-dock{left:15px;right:15px}.sidebar-brand{display:none}}
@media (max-width:370px){.quick-grid{gap:7px}.quick{padding:11px 7px}.voice-hero{padding:19px 14px}.hero-mic{width:112px;height:112px}.wave{width:24px}}
@media(prefers-reduced-motion:reduce){.hero-mic{animation:none}}
