@font-face{font-family:Onest;src:url('/cabinet/assets/Onest-Variable.ttf');font-weight:100 900;font-display:swap}
@font-face{font-family:Commissioner;src:url('/cabinet/assets/Commissioner-Variable.ttf');font-weight:100 900;font-display:swap}
@font-face{font-family:Literata;src:url('/cabinet/assets/Literata-Variable.ttf');font-weight:200 900;font-display:swap}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#101219}body{font-family:Onest,sans-serif;-webkit-font-smoothing:antialiased;color:#f1eff5}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #b9adff;outline-offset:3px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.device{width:100%;max-width:402px;height:100svh;min-height:760px;margin:auto;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;background:#08090c}.statusbar{height:54px;flex-shrink:0;position:relative;display:flex;justify-content:space-between;align-items:flex-start;padding:17px 27px 0;font-size:14px;font-weight:650}.island{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:115px;height:34px;border-radius:99px;background:#000}.status-icons{display:flex;align-items:center;gap:5px}.status-icons svg{width:17px;height:13px;fill:currentColor;stroke:none}.status-icons .wifi{fill:none;stroke:currentColor;stroke-width:1.7}.status-icons .battery{width:25px;fill:none;stroke:currentColor;stroke-width:1.2}.status-icons .battery-fill{fill:currentColor;stroke:none}.appbar{height:68px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 25px}.brand{display:flex;gap:11px;min-height:44px;align-items:center;color:inherit;text-decoration:none;font:590 21px Commissioner,sans-serif;letter-spacing:-.75px}.brand-mark{width:29px;height:29px;position:relative;overflow:hidden;display:block;border-radius:8px}.brand-mark img{width:56px;height:56px;max-width:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.search{width:44px;height:44px;display:grid;place-items:center;border:1px solid #ffffff20;background:#ffffff04;border-radius:50%;color:#a5a7b2}.search svg{width:19px;height:19px}.content{flex:1;min-height:0;display:flex;flex-direction:column;padding:17px 27px 13px}.eyebrow{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;font-size:10px;line-height:1.3;font-weight:520;letter-spacing:.035em;color:#9b97a8}.eyebrow i{width:5px;height:5px;border-radius:50%;background:#9788ef}.composition{flex:1;min-height:0;display:flex;flex-direction:column}.intro{position:relative}.intro h1{margin:0;font:440 36px/1.11 Commissioner,sans-serif;letter-spacing:-1.4px}.intro p{margin:18px 0 0;max-width:330px;font-size:13px;line-height:1.65;color:#91949f}.actions{padding-top:24px}.primary{width:100%;height:55px;padding:0 18px;border:0;border-radius:14px;display:flex;align-items:center;gap:12px;background:#eeedf2;color:#15151c;font-size:14px;font-weight:600}.primary svg{width:20px;height:20px}.primary span{flex:1;text-align:left}.primary svg:last-child{width:18px;height:18px}.privacy{display:flex;align-items:center;justify-content:center;gap:7px;margin:15px 0 2px;color:#777984;font-size:10px}.privacy svg{width:12px;height:12px;stroke-width:1.5}.bottom-nav{height:78px;flex-shrink:0;margin:0 20px;padding:7px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;border:1px solid #ffffff12;border-radius:22px;background:#101116}.nav-item{height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #ffffff0e;border-radius:15px;background:#ffffff03;color:#9597a2;font-size:10px;font-weight:500}.nav-item svg{width:21px;height:21px}.nav-item.active{background:#28272e;border-color:#aaa1c34a;color:#e0d8f5}.nav-item.player{color:#b3b1c3}.safe-bottom{height:33px;flex-shrink:0;position:relative}.safe-bottom i{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:134px;height:5px;border-radius:9px;background:#e9e8ec}
/* 01 — matte black, platinum object, asymmetry and deliberate whitespace. */
.direction-a .device{background:radial-gradient(ellipse at 75% 28%,#201e292e,transparent 45%),#08090c}.direction-a .eyebrow{padding-top:8px}.direction-a .composition{justify-content:flex-end}.direction-a .intro{padding-bottom:6px}.direction-a .intro h1{font-weight:400;font-size:39px;letter-spacing:-1.7px}.sculpture{height:265px;min-height:190px;position:relative;margin:0 -7px 26px;flex:1;max-height:288px}.ring{position:absolute;left:50%;top:53%;border:1px solid #bfb4e91a;border-radius:50%;transform:translate(-50%,-50%)}.ring-one{width:260px;height:180px;transform:translate(-50%,-50%) rotate(-26deg)}.ring-two{width:215px;height:255px;border-color:#bfb4e90a;transform:translate(-50%,-50%) rotate(31deg)}.sheet{position:absolute;width:123px;height:163px;left:50%;top:51%;border-radius:9px;transform:translate(-50%,-50%) rotate(-9deg);background:linear-gradient(130deg,#37383f,#141519 75%);border:1px solid #ffffff24;box-shadow:0 26px 40px #0007,inset 0 1px #fff3}.sheet-back{transform:translate(-38%,-47%) rotate(9deg);background:linear-gradient(145deg,#29282f,#121214);border-color:#ffffff16}.sheet-front{transform:translate(-62%,-55%) rotate(-9deg);z-index:2;overflow:hidden}.sheet-fold{width:22px;height:22px;position:absolute;right:0;top:0;background:linear-gradient(140deg,#131418,#62626d);clip-path:polygon(0 0,100% 100%,0 100%);filter:drop-shadow(-2px 3px 4px #000)}.page-lines{position:absolute;left:22px;right:22px;top:28px;display:grid;gap:7px}.page-lines i{height:2px;background:#9c9ba756}.page-lines i:first-child{width:49%;height:4px;margin-bottom:6px;background:#d6d2e3b3}.page-lines i:last-child{width:60%}.mini-wave{position:absolute;left:23px;right:23px;bottom:20px;height:30px;display:flex;align-items:center;justify-content:center;gap:4px}.mini-wave i{height:calc(var(--h)*.44);width:2px;border-radius:2px;background:linear-gradient(#e3dff2,#9992b6)}.sculpture-shadow{position:absolute;left:20%;right:15%;height:20px;bottom:10px;background:#0006;border-radius:50%;filter:blur(15px)}.direction-a .primary{border-radius:12px;background:linear-gradient(120deg,#e8e7ed,#cbc8d1);box-shadow:inset 0 1px #fff8}.direction-a .bottom-nav{background:#0c0d10;border-color:#ffffff16;border-radius:19px}.direction-a .nav-item{border-radius:12px;background:#ffffff04;border-color:#ffffff0d}.direction-a .nav-item.active{background:#ddd8ea;color:#202027;border-color:#eeecf3}.direction-a .safe-bottom i{background:#c8c5cf}
/* 02 — editorial paper: the existing Literata reading typeface and ink geometry. */
.direction-b{color:#292b36}.direction-b .device{background:radial-gradient(ellipse at 0 32%,#fffefa 0%,transparent 50%),#f1efe9}.direction-b .search{background:#faf9f5;border-color:#37344822;color:#4f5061}.direction-b .content{padding-top:19px}.direction-b .eyebrow{color:#77727c;border-bottom:1px solid #34324426;padding-bottom:18px}.direction-b .eyebrow i{background:#887fa7}.direction-b .intro{padding-top:25px}.direction-b .intro h1{font-family:Literata,serif;font-weight:400;font-size:31px;line-height:1.2;letter-spacing:-1.45px}.direction-b .intro p{color:#76727a;margin-top:16px;font-size:12px}.paper-scene{position:relative;flex:1;min-height:170px;max-height:260px;margin:3px 0 2px}.paper{position:absolute;left:50%;top:53%;width:144px;height:179px;border:1px solid #d8d3c9;border-radius:2px;background:#fbfaf6;transform:translate(-50%,-50%) rotate(-7deg);box-shadow:9px 19px 20px #413a4015}.paper-back{transform:translate(-40%,-46%) rotate(8deg);background:#e5e0d7}.paper-front{padding:19px;transform:translate(-58%,-54%) rotate(-7deg)}.paper-header{display:flex;justify-content:space-between;font:10px Literata,serif;color:#777080;border-bottom:1px solid #c9c2b6;padding-bottom:8px}.paper-header span:last-child{font:8px Onest;letter-spacing:2px}.paper-title{height:6px;width:67%;background:#51475e;opacity:.8;margin:13px 0 12px}.paper-lines{display:grid;gap:6px}.paper-lines i{height:2px;background:#cdc7bd}.paper-lines i:nth-child(3){width:80%}.paper-lines i:last-child{width:56%}.paper-wave{height:24px;position:absolute;left:23px;right:23px;bottom:16px;display:flex;align-items:center;justify-content:center;gap:4px}.paper-wave i{width:2px;height:calc(var(--h)*.32);background:#9282a9;border-radius:2px}.paper-seal{position:absolute;left:calc(50% + 35px);top:calc(50% + 44px);width:46px;height:46px;display:grid;place-items:center;background:#d8cee6;border:4px solid #f1efe9;border-radius:50%;color:#766487;box-shadow:0 7px 20px #38303c12}.paper-seal svg{width:19px;height:19px}.direction-b .actions{padding-top:11px}.direction-b .primary{background:#3b334b;color:#f6f1fc;border-radius:10px;box-shadow:0 8px 18px #31273714}.direction-b .privacy{color:#817b85}.direction-b .bottom-nav{margin:0 20px;background:#e8e4de;border-color:#d4cec7;border-radius:18px;padding:6px;gap:6px}.direction-b .nav-item{background:#f4f1eb;border:1px solid #dcd6d0;border-radius:12px;color:#7c7583;box-shadow:0 2px 2px #21192504}.direction-b .nav-item.active{background:#fffefa;border-color:#c0b1d0;color:#514264;box-shadow:0 2px 6px #342d3e0d}.direction-b .safe-bottom i{background:#35313d}.direction-b .statusbar{color:#25232c}
/* 03 — layered glass and a branded sculptural light source. */
.direction-c .device{background:radial-gradient(ellipse at 3% 35%,#422b7980,transparent 49%),radial-gradient(ellipse at 104% 59%,#13536756,transparent 44%),linear-gradient(145deg,#131023,#060a13)}.direction-c .appbar{background:transparent}.direction-c .search{background:#ffffff0a;border-color:#ffffff26;box-shadow:inset 0 1px #ffffff0e}.direction-c .eyebrow{color:#a9a0c5}.direction-c .eyebrow i{background:#a8c1e6;box-shadow:0 0 10px #a8c1e6}.direction-c .composition{align-items:center;justify-content:flex-end}.direction-c .intro{text-align:center;margin-bottom:7px}.direction-c .intro h1{font-size:35px;font-weight:500;letter-spacing:-1.5px}.direction-c .intro p{color:#ada5bc;font-size:12px;max-width:330px;margin-top:17px}.prism-scene{width:100%;flex:1;min-height:190px;max-height:278px;position:relative;margin-bottom:21px}.orbit{width:285px;height:112px;position:absolute;top:47%;left:50%;border-radius:50%;border:1px solid #c8b1ff3b;transform:translate(-50%,-50%) rotate(-32deg);box-shadow:0 -2px 14px #a38df019,inset 0 1px 4px #c3aeff16;background:linear-gradient(145deg,#8367c40c,transparent 60%)}.orbit-two{width:240px;height:102px;transform:translate(-50%,-50%) rotate(45deg);border-color:#97d5de22}.prism-glow{width:135px;height:135px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:linear-gradient(45deg,#bf74e6,#599bc6);filter:blur(52px);opacity:.4;border-radius:50%}.glass-document{width:133px;height:167px;position:absolute;left:50%;top:47%;transform:translate(-50%,-50%) rotate(-11deg);border:1px solid #d7cbff82;border-radius:20px;background:linear-gradient(130deg,#bd9beb4d,#a898cf18 46%,#87d5e538);box-shadow:inset 0 1px 2px #fffc,0 22px 60px #0004,inset -1px -1px 2px #8bd9dd5e;backdrop-filter:blur(12px);overflow:hidden}.glass-fold{width:42px;height:42px;position:absolute;right:-13px;top:-13px;border-radius:12px;background:linear-gradient(140deg,#e0c5ff30,#edf1ff60);border:1px solid #edf1ff53;transform:rotate(45deg)}.glass-lines{position:absolute;left:23px;right:23px;top:33px;display:grid;gap:7px}.glass-lines i{height:2px;border-radius:3px;background:#e1d7fa69}.glass-lines i:first-child{width:55%;height:5px;background:#ece4fa;margin-bottom:8px}.glass-lines i:last-child{width:60%}.glass-wave{position:absolute;left:24px;right:24px;bottom:21px;height:36px;display:flex;align-items:center;justify-content:center;gap:4px}.glass-wave i{width:3px;height:calc(var(--h)*.45);border-radius:2px;background:linear-gradient(#efedff,#a5cce9)}.direction-c .actions{padding-top:22px}.direction-c .primary{background:linear-gradient(110deg,#d9c7fc,#b5c6f0 60%,#b4d8e4);border:1px solid #ffffff73;border-radius:18px;box-shadow:0 10px 28px #9483ea23,inset 0 1px #ffffff6b;color:#282539}.direction-c .privacy{color:#998fae}.direction-c .bottom-nav{background:linear-gradient(120deg,#b6a4f016,#abc9e70b);border:1px solid #c2b8e72e;box-shadow:inset 0 1px #ffffff11,0 18px 45px #0005;border-radius:24px;backdrop-filter:blur(30px)}.direction-c .nav-item{background:#ffffff05;border-color:#ffffff0f;border-radius:17px;color:#b2a9c0}.direction-c .nav-item.active{background:linear-gradient(135deg,#c3a9fc36,#a7b9ec16);border:1px solid #d8c8f366;color:#ece2ff;box-shadow:inset 0 1px #ffffff24}.direction-c .nav-item.player{color:#b5d3e5}
/* 04 — typographic editing studio; a square grid and sculpted hardware. */
.direction-d .device{background:#10121a}.direction-d .appbar{padding-top:4px}.direction-d .brand{font-weight:650}.direction-d .search{border-radius:12px;background:#1c202c;border-color:#353a48;color:#c8c9d6}.direction-d .content{padding-top:24px}.direction-d .eyebrow{color:#93909f;letter-spacing:.02em;border-top:1px solid #ffffff15;padding-top:17px}.direction-d .eyebrow i{width:17px;height:3px;border-radius:1px;background:#aa9ce9}.direction-d .intro{padding-top:26px}.direction-d .intro h1{font-size:42px;font-weight:620;letter-spacing:-2px;line-height:1.02}.direction-d .intro p{font-size:12px;line-height:1.65;margin-top:17px;max-width:325px;color:#9a9caa}.studio-object{position:relative;flex:1;min-height:136px;max-height:195px;margin-top:25px;margin-bottom:7px;overflow:hidden;border:1px solid #434451;border-radius:13px;background:linear-gradient(135deg,#242831,#15181f);box-shadow:inset 0 1px #ffffff0c,0 18px 36px #0002}.studio-object::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 22px,#fff 23px,transparent 24px),repeating-linear-gradient(90deg,transparent,transparent 22px,#fff 23px,transparent 24px);opacity:.018}.studio-sheet{position:absolute;width:100px;height:128px;left:27px;top:50%;transform:translateY(-50%) rotate(-7deg);border:1px solid #a3a4ab3b;border-radius:5px;background:linear-gradient(125deg,#55565d,#2d2e37);box-shadow:9px 13px 14px #0004}.studio-grip{display:flex;gap:5px;margin:11px 12px}.studio-grip i{width:4px;height:4px;background:#b5b5c1;border-radius:50%}.studio-lines{position:absolute;top:34px;left:13px;right:13px;display:grid;gap:8px}.studio-lines i{height:3px;background:#a4a3b2;opacity:.6}.studio-lines i:first-child{width:64%;background:#e4def8;opacity:1}.studio-lines i:nth-child(4){width:60%}.studio-lines i:last-child{width:45%}.studio-wave{position:absolute;left:155px;right:30px;top:50%;transform:translateY(-50%);height:80px;display:flex;align-items:center;justify-content:space-between;gap:4px}.studio-wave i{width:4px;height:var(--h);border-radius:1px;background:linear-gradient(#c9bff1,#8c80ba)}.studio-line{height:1px;position:absolute;left:145px;right:23px;top:50%;background:#c0addc1a}.studio-corner{position:absolute;width:9px;height:9px;border-color:#9691ad80}.corner-tl{top:12px;left:12px;border-top:1px solid;border-left:1px solid}.corner-br{right:12px;bottom:12px;border-bottom:1px solid;border-right:1px solid}.direction-d .actions{padding-top:19px}.direction-d .primary{border-radius:10px;background:#b5a8eb;color:#252034;border:1px solid #d2c5fe;font-weight:680;box-shadow:inset 0 1px #ffffff3b}.direction-d .privacy{color:#8b8899}.direction-d .bottom-nav{margin:0 20px;height:78px;padding:0;gap:9px;border:0;border-radius:0;background:transparent}.direction-d .nav-item{height:67px;background:linear-gradient(#252831,#1c1f28);border:1px solid #3a3e4b;border-radius:12px;color:#a1a4b5;box-shadow:inset 0 1px #ffffff07,0 4px 8px #0002}.direction-d .nav-item.active{background:#b5a8eb;color:#282135;border-color:#cec1ff;box-shadow:inset 0 1px #ffffff4a}.direction-d .nav-item.player{color:#c4b8ef}
@media(max-width:380px){.appbar{padding-inline:22px}.content{padding-inline:24px;padding-top:12px}.intro h1{font-size:34px}.intro p{font-size:12px;margin-top:14px}.direction-a .intro h1{font-size:36px}.sculpture{margin-bottom:17px;min-height:164px}.direction-b .intro{padding-top:20px}.direction-b .intro h1{font-size:29px}.direction-b .intro p{font-size:11.5px}.paper-scene{min-height:155px}.paper{width:129px;height:166px}.paper-front{padding:16px}.paper-title{margin:10px 0}.paper-lines{gap:5px}.prism-scene{min-height:166px;margin-bottom:15px}.glass-document{width:124px;height:155px}.direction-c .intro h1{font-size:33px}.direction-c .intro p{font-size:11.5px}.direction-d .content{padding-top:15px}.direction-d .intro{padding-top:22px}.direction-d .intro h1{font-size:38px}.direction-d .intro p{font-size:11.5px}.studio-object{margin-top:18px;min-height:122px}.studio-sheet{height:111px;width:87px}.studio-lines{gap:6px}.studio-wave{left:138px;right:27px}.direction-d .actions{padding-top:15px}.actions{padding-top:19px}.bottom-nav{margin-inline:16px}}

/* Shared approved graphite surfaces and restrained Prism accents. */
.prism-screen.direction-c .device{background:#0d1016}
.prism-screen.direction-c .primary{background:linear-gradient(#d6d9e3,#d6d9e3) padding-box,linear-gradient(115deg,#e6c4ad,#c4b4f0 48%,#a1d7e2) border-box;color:#202833;border-color:transparent;box-shadow:0 6px 18px #0003,inset 0 1px #ffffff40}
.prism-screen.direction-c .bottom-nav{background:#141922;border-color:#303946;box-shadow:inset 0 1px #ffffff0b,0 18px 45px #0005}
.prism-screen.direction-c .nav-item{background:#1a202a;border-color:#2b3441;color:#a7b2c2}
.prism-screen.direction-c .nav-item.active{background:linear-gradient(#293443,#293443) padding-box,linear-gradient(120deg,#b6978670,#9d8cc090 48%,#80b4c680) border-box;border-color:transparent;color:#e6edf5;box-shadow:inset 0 1px #ffffff18}
.prism-screen.direction-c .nav-item.active svg{color:#c9bae6}
.prism-screen.direction-c .nav-item.player{color:#bccadb}
.prism-screen.direction-c .nav-item.player svg{color:#a8ceda}
/* Short-height resilience: retain the approved full-height composition. */
@media(max-height:700px){.prism-screen.empty-screen .device,.prism-screen.library-screen .device{min-height:0}.prism-screen.empty-screen .content{overflow-y:auto;display:block}.prism-screen.empty-screen .composition{display:flex;min-height:350px}.prism-screen.empty-screen .prism-scene{flex:0 0 185px;min-height:185px}.prism-screen.empty-screen .actions{padding-bottom:8px}.prism-screen.library-screen .project-rail{overflow:auto}}

.library-content{flex:1;min-height:0;padding:17px 24px 10px;display:flex;flex-direction:column;overflow:hidden}
.library-toolbar{margin:0 0 18px;display:grid;grid-template-columns:auto minmax(0,1fr) 44px;align-items:center;gap:10px;flex-shrink:0}
.view-toggle{height:44px;padding:3px;display:flex;border:1px solid #ccbae728;background:#bca8e507;border-radius:14px}.view-toggle button{min-height:44px;min-width:58px;margin-top:-4px;margin-bottom:-4px;position:relative;isolation:isolate;border:0;background:transparent;color:#948ba6;font-size:11px;padding:0 11px}.view-toggle button::before{content:'';position:absolute;inset:5px 0;z-index:-1;border-radius:10px}.view-toggle button[aria-pressed=true]{color:#ece3fb}.view-toggle button[aria-pressed=true]::before{background:linear-gradient(125deg,#c6b2f332,#b5c6f013);box-shadow:inset 0 0 0 1px #d6c5f632}
.direction-c .new-project{width:100%;min-width:0;height:44px;padding:0 10px;border-radius:14px;gap:7px;font-size:11px;justify-content:center;white-space:nowrap}.new-project svg{width:16px;height:16px}.new-project span{flex:0 1 auto}
.project-rail{flex:1;min-height:0;margin:0 -24px;padding:0 24px 8px;display:flex;align-items:flex-start;gap:16px;overflow:auto;scroll-snap-type:x mandatory;scroll-padding-inline:24px;overscroll-behavior-x:contain;scrollbar-width:none}.project-rail::-webkit-scrollbar{display:none}
.project-card{width:min(266px,calc(100vw - 124px));flex:0 0 auto;overflow:hidden;scroll-snap-align:start;border:1px solid #d2c2f339;border-radius:22px;background:linear-gradient(135deg,#c6adf014,#afcbe706);box-shadow:inset 0 1px #ffffff15,0 16px 32px #0002;backdrop-filter:blur(16px)}
.project-cover{aspect-ratio:3/4;position:relative;isolation:isolate;overflow:hidden;background:#172336}.project-cover>img{width:auto;max-width:none;height:242%;position:absolute;left:50%;top:-34%;transform:translateX(-56%);display:block}.project-cover::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#06091550,transparent 30%,#0a102b20 48%,#0b0e21e6 100%);pointer-events:none}
.project-state{position:absolute;z-index:2;left:13px;top:13px;min-height:26px;max-width:calc(100% - 26px);display:flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #c5dcde27;border-radius:9px;backdrop-filter:blur(18px);background:#0611199c;color:#c7eee4;font-size:9px;line-height:1.35}.project-state i{width:5px;height:5px;border-radius:50%;background:#92dac8;flex-shrink:0}.project-state[data-tone=pending]{background:#21193299;color:#ddcefa;border-color:#e0c9ff35}.project-state[data-tone=pending] i{background:#bea4ef}
.project-heading{position:absolute;left:17px;right:17px;bottom:18px;z-index:2}.project-heading h2{margin:0;color:#fbf5ff;font:510 28px/1.05 Commissioner,sans-serif;letter-spacing:-.85px}.project-heading p{margin:9px 0 0;color:#c3c4d3;font-size:10px;line-height:1.4}
.project-details{padding:13px 16px 7px}.project-details>p{margin:0;font-size:10px;color:#a69ab8;line-height:1.4}.project-action{width:100%;min-height:44px;padding:4px 0 0;display:flex;justify-content:space-between;gap:12px;align-items:center;background:none;border:0;text-align:left;color:#e2d7f7;font-size:12px;font-weight:550}.project-action svg{width:16px;height:16px;color:#b8acd0}
.project-action-row{display:flex;align-items:center;gap:8px}.project-action-row .project-action{min-width:0}.more-actions{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;border:0;border-radius:11px;background:transparent;color:#b8acd0}.more-actions svg{width:20px;height:20px}.project-details{position:relative}.project-menu{position:absolute;right:12px;bottom:57px;padding:5px;border:1px solid #c1abd855;border-radius:12px;background:#262138;box-shadow:0 14px 28px #0008;z-index:4}.project-menu span{display:flex;align-items:center;min-height:40px;padding:0 12px;color:#cfc4e2;font-size:11px;white-space:nowrap}.project-menu span:last-child{color:#e0b8c7}
.cover-placeholder{width:100%;height:100%;position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 4%,#a09fe070,transparent 60%),linear-gradient(170deg,#494862,#2c3147 60%,#1c233c)}.cover-placeholder>span{position:absolute;top:38%;left:50%;transform:translate(-50%,-50%);font:400 69px Commissioner,sans-serif;letter-spacing:-4px;color:#dacbe640;text-shadow:0 1px #ffffff14}.cover-placeholder i{position:absolute;left:-40%;top:45%;width:170%;height:100px;transform:rotate(-35deg);border-radius:50%;border:1px solid #dbccf522}.cover-placeholder i:last-child{top:48%;transform:rotate(30deg);border-color:#abcade29}
.library-bottom{height:28px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 2px;color:#8f849f;font-size:10px;font-variant-numeric:tabular-nums}.pagination{display:flex;gap:6px;align-items:center}.pagination i{width:5px;height:5px;background:#b6a1d54d;border-radius:9px}.pagination i.selected{width:20px;background:#c7b8ec}
.project-rail[data-layout=grid]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start;scroll-snap-type:none;overflow-y:auto}.project-rail[data-layout=grid] .project-card{width:100%;border-radius:17px}.project-rail[data-layout=grid] .project-heading{left:12px;right:12px;bottom:14px}.project-rail[data-layout=grid] .project-heading h2{font-size:20px}.project-rail[data-layout=grid] .project-heading p{font-size:9px}.project-rail[data-layout=grid] .project-state{left:8px;top:8px;font-size:8px;padding-inline:6px;max-width:calc(100% - 16px)}.project-rail[data-layout=grid] .project-details{padding-inline:12px}.project-rail[data-layout=grid] .project-action{font-size:11px;line-height:1.35;gap:5px}.project-rail[data-layout=grid] .project-details>p{font-size:9px}
.project-rail[data-layout=grid] .project-action svg{display:none}.project-rail[data-layout=grid] .project-action-row{gap:1px}.project-rail[data-layout=grid] .project-action{font-size:10px}
.search-field{height:48px;min-height:48px;display:flex;gap:6px;margin:-6px 0 13px;border:1px solid #cbb5ee40;background:#0c0d2099;border-radius:13px}.search-field input{font:12px Onest,sans-serif;min-width:0;width:100%;padding-left:13px;color:#ece5f6;background:none;border:0;outline:none}.search-field:focus-within{border-color:#c8b7f3}.search-field button{width:44px;flex-shrink:0;min-height:44px;display:grid;place-items:center;border:0;background:transparent;color:#a497b8}.search-field button svg{width:17px}.no-results{margin:auto;text-align:center;color:#c9beda;font-size:14px}.project-rail:has(.project-card:not([hidden]))+.no-results{display:none}
[hidden]{display:none!important}.direction-c .library-content+.bottom-nav{flex-shrink:0}
@media(max-width:380px){.library-content{padding-top:12px;padding-inline:24px}.project-heading h2{font-size:25px}.project-details{padding-top:11px;padding-bottom:5px}.view-toggle button{min-width:55px;padding-inline:9px}.project-rail[data-layout=grid] .project-heading h2{font-size:18px}.project-rail[data-layout=grid] .project-details{padding-inline:10px}}

/* Solid graphite surfaces; the logo's colours appear only in small accents. */
.library-screen .project-details>p{color:#99a4b4}
.library-screen .view-toggle{border-color:#303744;background:#141922}
.library-screen .view-toggle button{color:#949faf}
.library-screen .view-toggle button[aria-pressed=true]{color:#e5eaf0}
.library-screen .view-toggle button[aria-pressed=true]::before{background:#29323f;box-shadow:inset 0 0 0 1px #465263}
.library-screen .project-card{background:#161c25;border-color:#343d4a;box-shadow:inset 0 1px #ffffff0b,0 16px 32px #0002}
.library-screen .project-cover::after{background:linear-gradient(180deg,#090d1250,transparent 30%,#0b101620 48%,#0d121ae6 100%)}
.library-screen .project-state[data-tone=pending]{background:#1a2433cc;color:#c4cedd;border-color:#91a1b64a}
.library-screen .project-state[data-tone=pending] i{background:#a9b8cc}
.library-screen .project-heading h2{color:#f4f6f9}
.library-screen .project-heading p{color:#c3cad3}
.library-screen .project-action{color:#dce3ec}
.library-screen .project-action svg,.library-screen .more-actions{color:#a8b4c4}
.library-screen .project-action svg{color:#bfb4d6}
.library-screen .project-menu{background:#202833;border-color:#485566}
.library-screen .project-menu span{color:#d1d9e4}
.library-screen .project-menu span:last-child{color:#dfb7bd}
.library-screen .cover-placeholder{background:#26313f}
.library-screen .cover-placeholder>span{color:#cad5e440}
.library-screen .cover-placeholder i{border-color:#d3b7da2b}
.library-screen .cover-placeholder i:last-child{border-color:#a3cfdb30}
.library-screen .library-bottom{color:#8d99aa}
.library-screen .pagination i{background:#a9b6c74d}
.library-screen .pagination i.selected{background:linear-gradient(100deg,#dbb5a2,#b7a6dc 48%,#9bcbd8)}
.library-screen .search-field{background:#141922;border-color:#394554}
.library-screen .search-field:focus-within{border-color:#9daec3}
.library-screen .search-field input{color:#e5ebf2}
.library-screen .search-field button{color:#a1aec0}
.library-screen .no-results{color:#c7d1df}

.suite-screen .device{min-height:0}.suite-header{height:64px;flex-shrink:0;padding:4px 24px 10px;display:grid;grid-template-columns:44px 1fr 44px;gap:7px;align-items:center}.suite-header h1{font:520 21px/1.2 Commissioner,sans-serif;letter-spacing:-.45px;margin:0;text-align:center}.icon-button{width:44px;height:44px;display:grid;place-items:center;border:1px solid #343e4d;border-radius:50%;background:#171d26;color:#c9d3e1}.icon-button svg{width:19px;height:19px}.suite-body{flex:1;min-height:0;padding:13px 24px 22px;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}.suite-body::-webkit-scrollbar{display:none}.suite-footer{flex-shrink:0;padding:9px 24px 13px;display:grid;gap:8px}.suite-footer:empty{display:none}.suite-screen.direction-c .suite-primary{height:auto;min-height:52px;display:flex;justify-content:center;text-align:center;border-radius:15px;font:600 12px/1.4 Onest,sans-serif;padding:14px 12px;gap:8px}.suite-primary span{flex:0 1 auto;text-align:center}.suite-button{min-height:46px;padding:10px 14px;border:1px solid #354153;border-radius:13px;background:#171e29;color:#c0cddd;font:500 12px/1.4 Onest,sans-serif;display:flex;align-items:center;justify-content:center;gap:8px;width:100%}.suite-button.quiet{background:transparent;border-color:transparent;color:#a6b4c8}.suite-button.danger{color:#dfb1b3;background:#2c2128;border-color:#654349}.suite-button svg{width:18px;height:18px}.stack{display:grid;gap:12px}.split{display:flex;align-items:center;justify-content:space-between;gap:12px}.surface{border:1px solid #323d4c;border-radius:18px;background:#161d27;padding:17px}.surface.soft{background:#121923}.surface.warm{border-color:#615448;background:#211f21}.surface.cool{border-color:#385465;background:#142129}.surface h2,.surface h3{margin:0;font:520 17px/1.35 Commissioner,sans-serif;letter-spacing:-.3px}.surface p{font-size:12px;line-height:1.6;color:#abb9cd}.surface p:last-child{margin-bottom:0}.muted{color:#97a6bc}.lead{font-size:13px;line-height:1.7;color:#adbbce;margin:4px 0 20px}.caption,.note{font-size:10px;line-height:1.6;color:#96a6bc}.note{margin:10px 0 0}.section-label{font:500 11px/1.5 Onest,sans-serif;color:#91a1b7;margin:24px 0 11px;letter-spacing:.03em}.section-label:first-child{margin-top:0}.badge{display:inline-flex;gap:6px;align-items:center;font-size:10px;font-weight:450;color:#c8b89f;background:#2b2723;border:1px solid #89715a38;padding:6px 9px;border-radius:8px;white-space:nowrap}.badge i{width:4px;height:4px;background:currentColor;border-radius:50%}.badge.green{color:#a8cdbb;background:#1b2c2a;border-color:#789e8933}.badge.cool{color:#adcad8;background:#202e3a;border-color:#7699b433}.badge.neutral{color:#b1bccd;background:#222b37;border-color:#63779033}.badge.red{color:#d9b0b5;background:#30242d;border-color:#805e7333}.suite-row{width:100%;display:flex;align-items:center;gap:12px;padding:14px 0;border:0;border-bottom:1px solid #2a3442;background:transparent;text-align:left;min-height:66px}.suite-row:last-child{border-bottom:0}.row-icon{width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;border:1px solid #3b4658;background:#212b39;color:#bdb4d4}.row-icon svg{width:19px;height:19px}.row-copy{display:grid;gap:5px;flex:1;min-width:0}.row-copy strong{font:500 13px/1.4 Onest,sans-serif;color:#dfe6f0}.row-copy small{font-size:10px;line-height:1.4;color:#98a9bf}.suite-row>svg{width:15px;height:15px;color:#8192aa}.action-list{display:grid}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:15px;font-size:11px;color:#aebed1}.field input,.field select,.field textarea,.suite-input{font:400 13px/1.45 Onest,sans-serif;color:#e0e8f4;width:100%;min-height:48px;border:1px solid #354255;border-radius:12px;background:#141b25;padding:13px 14px;outline:0}.field input:focus,.field select:focus,.field textarea:focus,.suite-input:focus{border-color:#a599bc}.field textarea{min-height:100px;resize:vertical}.field input::placeholder,.suite-input::placeholder{color:#73869f}.field small{font-size:10px;line-height:1.5;color:#8296b0}.field:last-child{margin-bottom:0}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:7px 11px;font-size:10px;line-height:1.4;border:1px solid #3d4858;border-radius:9px;background:#202a36;color:#b5c3d5}.chip[aria-pressed=true],.chip.selected{background:#302f3e;border-color:#80738f;color:#d9d0e8}button.chip{min-height:44px}.choice{display:flex;align-items:center;gap:12px;position:relative;padding:17px 14px;border:1px solid #344052;border-radius:16px;background:#161d27;min-height:68px;color:#d6e0ed}.choice:has(input:checked),.choice.selected{border-color:#80738e;background:#252635;box-shadow:inset 0 1px #ded7f012}.choice input{appearance:none;flex-shrink:0;width:20px;height:20px;border:1px solid #65758b;border-radius:50%;margin:0;background:#121923}.choice input[type=checkbox]{border-radius:6px}.choice input:checked{background:#c2b4d7;border:5px solid #272435;box-shadow:0 0 0 1px #ad9fc2}.choice strong{display:block;font:500 13px/1.5 Onest,sans-serif}.choice small,.choice p{display:block;margin:5px 0 0;font-size:10px;line-height:1.6;color:#9dacc1}.choice>span:not(.choice-icon){flex:1;min-width:0}.choice-icon{width:38px;height:38px;border:1px solid #4d465e;background:#322b3d;color:#c2b1d3;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.choice-icon svg{width:21px;height:21px}.divider{height:1px;background:#2d3745;margin:19px 0}.number-badge{font-size:11px;min-width:28px;height:28px;background:#283445;color:#bdc9da;display:grid;place-items:center;border:1px solid #43546b;border-radius:9px}.status-hero{text-align:center;padding:24px 2px 26px}.status-hero .hero-icon{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 25px;border:1px solid #5b5369;border-radius:25px;background:#282637;color:#c6b6db;box-shadow:inset 0 1px #ded6f016,0 12px 35px #0004}.status-hero .hero-icon svg{width:31px;height:31px;stroke-width:1.3}.status-hero .hero-icon.green{background:#1d302e;border-color:#435a52;color:#b3d3bf}.status-hero .hero-icon.warm{background:#322b26;border-color:#6b5948;color:#d7bda6}.status-hero h2{font:480 29px/1.15 Commissioner,sans-serif;letter-spacing:-.75px;margin:15px 0}.status-hero p{font-size:12px;line-height:1.7;color:#99aac0;margin:0 auto;max-width:290px}.project-mini{display:flex;gap:15px;align-items:center}.project-mini img{width:64px;height:84px;object-fit:cover;border-radius:11px;border:1px solid #53617655}.project-mini h2{font:520 19px/1.3 Commissioner,sans-serif;margin:0 0 7px}.project-mini p{font-size:10px;color:#98a9c0;line-height:1.7;margin:0}.summary-list{margin:0}.kv,.summary-list>div{display:flex;justify-content:space-between;gap:14px;font-size:11px;line-height:1.6;padding:11px 0;border-bottom:1px solid #2b3645}.kv:last-child,.summary-list>div:last-child{border-bottom:0}.kv span:first-child,.summary-list dt{color:#91a3bb}.summary-list dd{margin:0;text-align:right}.timeline{display:grid;gap:20px;padding:4px 0}.timeline>div{display:flex;gap:12px;align-items:flex-start}.timeline .dot{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;border:1px solid #52616e;background:#25352f;color:#a9c8b9;flex-shrink:0}.timeline svg{width:14px;height:14px}.timeline .dot.pending{background:#342d27;color:#d1baa4;border-color:#786650}.timeline strong{display:block;font-size:12px;font-weight:500}.timeline small{display:block;margin-top:5px;font-size:10px;color:#8d9eb5;line-height:1.6}.profile-avatar,.avatar-ring{width:72px;height:72px;border-radius:23px;border:1px solid #a997b055;background:#2b2c3b;color:#d6c7e1;display:grid;place-items:center;font:500 25px Commissioner,sans-serif;margin:8px auto 15px}.profile-summary{text-align:center;margin-bottom:25px}.profile-summary h2{font:500 25px Commissioner,sans-serif;margin:0 0 6px}.profile-summary p{font-size:11px;color:#8f9fb7}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #303b4c;font-size:12px}.setting-row small{display:block;font-size:10px;color:#8c9cb3;line-height:1.6;margin-top:6px}.toggle{appearance:none;width:43px;height:25px;background:#303b4d;border:1px solid #4c5b71;border-radius:99px;flex-shrink:0;position:relative;cursor:pointer}.toggle:before{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#aab8c9}.toggle:checked{background:#4b485f;border-color:#9d8cae}.toggle:checked:before{left:21px;background:#dfd2eb}.toggle:disabled{opacity:.4}button:disabled,input:disabled,select:disabled{opacity:.42;cursor:default}.disabled{opacity:.48}.progress-track{height:5px;border-radius:9px;background:#313b4a;overflow:hidden;margin:18px 0 11px}.progress-track i{display:block;height:100%;border-radius:9px;background:#b7b0d1}.crop-preview{position:relative;aspect-ratio:1;border:1px solid #435065;background:#101720;border-radius:18px;display:grid;place-items:center;overflow:hidden}.crop-preview .crop-disc{width:70%;aspect-ratio:1;border-radius:50%;background:#313949;border:1px solid #beb0c8;display:grid;place-items:center;font:500 70px Commissioner,sans-serif;color:#c5b8d3;box-shadow:0 0 0 100px #0005}.crop-preview img{max-width:100%;max-height:100%}input[type=range]{width:100%;accent-color:#b5a9cf;min-height:44px}.wide-cover{width:100%;height:175px;object-fit:cover;border:1px solid #4b5a6e;border-radius:17px}.reading-card{padding:18px;border:1px solid #3c4758;border-radius:18px;background:#1a2330;display:grid;gap:15px}.reading-card .title{font:520 19px Commissioner,sans-serif}.reading-card .meta{font-size:10px;color:#93a5be}.waveform{height:58px;display:flex;align-items:center;justify-content:space-between;gap:3px;margin:15px 0}.waveform i{display:block;width:3px;height:var(--h);border-radius:4px;background:#809ead}.waveform i:nth-child(3n){background:#b9aacd}.waveform i:nth-child(5n){background:#b99e88}.player-art{height:208px;width:158px;display:block;object-fit:cover;border:1px solid #566577;border-radius:15px;margin:3px auto 20px;box-shadow:0 18px 40px #0006}.player-title{text-align:center;font:500 26px/1.2 Commissioner,sans-serif;letter-spacing:-.5px;margin:0 0 6px}.player-subtitle{text-align:center;font-size:11px;color:#95a8c1;margin:0 0 19px}.player-controls{display:flex;align-items:center;justify-content:center;gap:23px;margin:8px 0 15px}.player-controls .play-main{height:64px;width:64px;border-radius:50%;background:#d0cadc;color:#252534;border:1px solid #eee4ff66;display:grid;place-items:center}.player-controls .play-main svg{width:25px;height:25px}.player-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.player-tools button{font-size:10px;padding:10px 4px}.time-row{font-size:9px;color:#869bb7;display:flex;justify-content:space-between;margin-top:-6px}.script-paper{padding:21px 19px;background:#18212c;border:1px solid #3c4b61;border-radius:17px;color:#bdc9d8;font:400 15px/1.9 Commissioner,sans-serif}.script-paper h3{font:550 12px/1.6 Onest,sans-serif;letter-spacing:.03em;color:#d9e0e9;margin:0 0 22px}.script-paper p{margin:16px 0}.script-paper .speaker{font:600 10px/1.5 Onest,sans-serif;color:#b6a7cc;letter-spacing:.08em;margin-top:25px}.script-paper .current-line{border-left:2px solid #b9aaca;background:#302e3b;padding:12px 13px;border-radius:0 10px 10px 0;color:#ede7f2}.suite-toast{position:absolute;bottom:126px;left:24px;right:24px;padding:13px 15px;background:#354357;color:#edf2fa;border:1px solid #778497;border-radius:13px;font-size:11px;line-height:1.5;z-index:10;box-shadow:0 12px 30px #0008}.suite-toast[hidden]{display:none}.auth-mark{width:53px;height:53px;overflow:hidden;margin:3px auto 19px;border-radius:16px;background:#191f2b}.auth-mark img{width:100%;height:100%;object-fit:cover}.auth-heading{text-align:center;font:500 29px/1.15 Commissioner,sans-serif;margin:0 0 15px;letter-spacing:-.7px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border:1px solid #364255;background:#151d28;border-radius:13px;margin-bottom:20px}.auth-tabs button{border:0;border-radius:9px;background:transparent;min-height:40px;font-size:11px;color:#a9b7ca}.auth-tabs .selected{background:#2c3444;color:#ece9f2}.recovery-code{font:500 17px/1.7 Onest,sans-serif;letter-spacing:.1em;background:#101923;border:1px dashed #69627c;border-radius:14px;padding:20px;text-align:center;color:#d2c5df}.owner-label{font-size:9px;letter-spacing:.05em;color:#a29cb7;text-align:center;margin:0 0 13px}.auth-screen .suite-body{padding-top:20px}.search-box{position:relative;margin-bottom:19px}.search-box svg{position:absolute;top:15px;left:14px;width:18px;height:18px;color:#8094ad}.search-box input{padding-left:41px}.skeleton{background:#222d3b;border-radius:9px;height:14px;margin:10px 0}.sheet-title{font:500 25px Commissioner,sans-serif;text-align:center;margin:14px 0}.sheet-grab{height:4px;width:40px;border-radius:9px;background:#526177;margin:4px auto 25px}[hidden]{display:none!important}.suite-screen:has(.suite-body[data-kind=player]) .suite-body{padding-top:8px}.file-drop{width:100%;padding:23px 16px;border:1px dashed #64718a;border-radius:17px;background:#1a2230;display:grid;gap:9px;justify-items:center;text-align:center;min-height:112px}.file-drop strong{font-size:12px;font-weight:500}.file-drop small{font-size:10px;color:#8c9eb7}.file-drop svg{color:#c2b2d4}.local-status{font-size:10px;color:#b8c8dd;line-height:1.6}.checklist{margin:0;padding:0;list-style:none;display:grid;gap:14px}.checklist li{display:flex;gap:10px;font-size:11px;line-height:1.6;color:#b4c0d2}.checklist svg{width:17px;height:17px;color:#aec9b8}.empty-art{display:grid;place-items:center;height:160px;color:#afa0c8}.empty-art svg{width:90px;height:90px;stroke-width:.65}.suite-screen button{transition:background-color .15s,transform .15s}.suite-screen button:hover{filter:brightness(1.1)}.suite-screen button:active{transform:translateY(1px)}@media(max-width:380px){.suite-header{padding-inline:20px;height:59px}.suite-header h1{font-size:20px}.suite-body{padding:10px 22px 18px}.suite-footer{padding:8px 22px 11px}.status-hero{padding:19px 0 21px}.status-hero h2{font-size:27px}.status-hero .hero-icon{width:67px;height:67px;margin-bottom:20px}.player-art{width:139px;height:184px;margin-bottom:16px}.player-title{font-size:24px}.surface{padding:15px}.suite-row{min-height:61px}.section-label{margin-top:20px}.choice{padding:15px 12px}.player-controls{margin-block:7px 13px}.player-subtitle{margin-bottom:13px}}
.suite-body{font-size:12px;line-height:1.5}.suite-body strong{font-weight:500}.suite-body p.muted{font-size:12px;line-height:1.65}.suite-body .choice .muted{font-size:11px;line-height:1.55}.suite-body .chip{display:inline-flex;align-items:center;gap:7px;min-height:44px}.suite-body label.chip{cursor:pointer}.suite-body .chip svg{width:18px;height:18px}.suite-body .chip input{accent-color:#bbabcd;margin:0;width:14px;height:14px}.suite-body input[type=radio]{accent-color:#bbabcd}.suite-body .surface.split>.profile-avatar{margin:0;flex-shrink:0;width:62px;height:62px}.suite-body details summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#d4ddeb;cursor:pointer;list-style:none}.suite-body details summary::after{content:'⌄';color:#9baac0}.suite-body details[open] summary::after{content:'⌃'}.suite-body details summary::-webkit-details-marker{display:none}.link-button{min-height:44px;border:0;background:transparent;color:#bcaccf;font-size:11px;padding:9px 3px}.suite-footer p{margin:0}.suite-footer .link-button{min-height:44px}.suite-body label.toggle{width:44px;height:44px;display:block;background:transparent;border:0;position:relative;flex-shrink:0}.suite-body label.toggle:before{display:none}.suite-body label.toggle input{appearance:none;position:absolute;width:42px;height:25px;top:8px;left:0;margin:0;border:1px solid #4c5b71;background:#303b4d;border-radius:99px;cursor:pointer}.suite-body label.toggle input:checked{background:#514962;border-color:#9686a8}.suite-body label.toggle span{position:absolute;left:4px;top:12px;height:17px;width:17px;background:#adb9c9;border-radius:50%;pointer-events:none}.suite-body label.toggle input:checked+span{left:21px;background:#dfd2eb}.suite-body label.toggle:has(input:disabled){opacity:.4}.suite-body .status-hero>.choice-icon{width:68px;height:68px;margin:0 auto 20px;border-radius:22px}.suite-body .status-hero>.choice-icon svg{width:29px;height:29px}.suite-body .status-hero>svg{width:46px;height:46px;margin:4px auto 20px;color:#b9a9ce;stroke-width:1.2}.suite-body .summary-list strong,.suite-body .kv strong{text-align:right;overflow-wrap:anywhere}.suite-body .kv>span:first-child{min-width:74px}.suite-screen button.secondary{width:100%;min-height:46px;padding:10px 12px;border:1px solid #354153;border-radius:13px;background:#171e29;color:#bdcadc;font-size:12px}.suite-screen .surface .badge+h2{margin-top:15px}.suite-body .setting-row:first-child{padding-top:2px}.suite-body .setting-row:last-child{border-bottom:0;padding-bottom:2px}.suite-body .setting-row .chip{min-width:76px;font-size:10px}.suite-body .split>strong{font-size:12px}.suite-body .surface h2{font-size:18px}.suite-body .surface progress{display:block}.suite-body .split:has(.section-label) .section-label{margin:5px 0}.suite-body .status-hero .profile-avatar{background:#292a39}.suite-body [data-flow-voice-name] label{min-height:48px}.suite-body [data-flow-voice-name] input{height:20px;width:20px;flex-shrink:0}.suite-body .stack>.field{margin:0}.suite-body .stack>.section-label{margin:7px 0 0}.suite-body .suite-row .row-copy{min-width:0}.suite-body [data-flow-scene-list] .choice{gap:9px}.suite-body [data-flow-scene-list] .number-badge{min-width:25px;height:25px}.suite-body .summary-list .split{align-items:flex-start}.suite-body .summary-list strong{font-size:11px}.suite-body .status-hero .choice-icon+div>strong{font-family:Commissioner,sans-serif;font-weight:500!important}.suite-body .status-hero .choice-icon+div .caption{margin-bottom:9px}.suite-body button[data-demo]>.primary{width:100%}
.suite-body button.chip{min-width:44px}.suite-screen .suite-header h1{overflow-wrap:normal}.suite-body .surface .summary-list{padding:0}
.art-crop{position:relative;isolation:isolate;overflow:hidden;flex-shrink:0}.art-crop>img{position:absolute;height:242%;width:auto;max-width:none;left:50%;top:-34%;transform:translateX(-56%);margin:0;border:0;border-radius:0;object-fit:fill}.project-mini .art-crop{width:64px;height:84px;border-radius:11px;border:1px solid #53617655}.project-mini .art-crop>img{height:242%;width:auto;border:0;border-radius:0}.wide-cover.art-crop{display:block}.art-crop.player-art>img{max-height:none}.art-crop:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 20px #07101b33}

.reading-scene-list{margin-top:14px;margin-bottom:14px}

.clarifications-screen .device{min-height:0}
.clarify-header{height:64px;padding:6px 24px 10px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;flex-shrink:0}
.clarify-header h1{margin:0;text-align:center;font:520 21px/1.2 Commissioner,sans-serif;letter-spacing:-.45px;white-space:nowrap}
.clarify-back{width:44px;height:44px;display:grid;place-items:center;border:1px solid #343d4a;border-radius:50%;background:#161c25;color:#ced7e3}
.clarify-body{flex:1;min-height:0;padding:14px 24px 16px;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain}
.clarify-body::-webkit-scrollbar{display:none}
.clarify-context{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;color:#b7c3d3;font-size:12px}
.issue-count{padding:6px 10px;border-radius:9px;border:1px solid #927e6433;background:#2b2722;color:#cbb99f;font-size:10px;white-space:nowrap}
.issue-list{display:flex;flex-direction:column;gap:12px}
.issue-card{border:1px solid #354052;border-radius:18px;background:#161c25;overflow:hidden}
.issue-card[open]{border-color:#6a5a4c;background:#1b1f26;box-shadow:inset 0 1px #ead5b908}
.issue-card summary{min-height:62px;display:flex;align-items:center;gap:11px;padding:11px 14px;cursor:pointer;list-style:none}
.issue-card summary::-webkit-details-marker{display:none}
.issue-number{width:26px;height:26px;flex-shrink:0;display:grid;place-items:center;border:1px solid #485568;border-radius:9px;background:#263140;color:#b2bdcf;font-size:11px;font-variant-numeric:tabular-nums}
.issue-card[open] .issue-number{background:#393029;border-color:#a089675c;color:#d4bd9e}
.issue-card summary strong{flex:1;min-width:0;color:#e1e7ef;font:500 13px/1.45 Onest,sans-serif}
.issue-card summary>svg{width:17px;height:17px;color:#9babbf}
.issue-card[open] summary>svg{transform:rotate(180deg);color:#c3b29c}
.issue-content{padding:0 15px 17px}
.script-excerpt{padding:13px 14px;border-radius:12px;border:1px solid #35404c;background:#101720}
.excerpt-location{font-size:9px;color:#9aa9bd;line-height:1.5}
.script-excerpt blockquote{padding:0;margin:8px 0 0;color:#e2e7ef;font:430 15px/1.55 Commissioner,sans-serif;letter-spacing:-.05px}
.script-excerpt blockquote span{display:block;color:#a0adbf;font-size:13px;margin-bottom:7px}
.script-excerpt blockquote strong{display:block;font-weight:480;padding-left:10px;border-left:2px solid #ad9ec6}
.issue-instruction{margin:13px 2px 0;color:#bec6d2;font-size:11px;line-height:1.65}
.format-example{margin:12px 2px 0;color:#d9d4e3;font-size:11px;line-height:1.5}
.format-example span{display:block;margin-bottom:5px;color:#94a2b7;font-size:9px}
.document-wide{margin:0;padding:10px 12px;border-radius:10px;background:#242a32;color:#a5b2c4;font-size:10px;line-height:1.5}
.clarify-footer{padding:9px 24px 12px;flex-shrink:0}
.same-project-note{margin:0 0 11px;text-align:center;color:#97a6ba;font-size:10px;line-height:1.55}
.clarifications-screen.direction-c .upload-correction{height:52px;border-radius:14px;font-size:12px;justify-content:center;gap:9px;padding-inline:12px}
.upload-correction span{flex:0 1 auto}
.upload-correction svg{width:18px;height:18px}
.repeat-check{width:100%;min-height:44px;margin-top:7px;display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:1px solid #354153;border-radius:13px;color:#b4c2d5;font-size:11px}
.repeat-check svg{width:16px;height:16px}
.correction-selected{display:flex;align-items:center;gap:8px;margin-bottom:6px;min-height:44px;border:1px solid #405067;border-radius:12px;background:#1b2431;padding:0 3px 0 12px}
.correction-name{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#d1dbe9;font-size:11px}
.remove-correction{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;border:0;background:transparent;color:#acbbce}
.remove-correction svg{width:17px;height:17px}
.correction-message{margin:0 0 8px;color:#a8b8cc;font-size:10px;line-height:1.5;text-align:center}
.correction-message[data-error=true]{color:#deb2b7}
.clarifications-screen .bottom-nav{flex-shrink:0}
[hidden]{display:none!important}
@media(max-width:380px){.clarify-header{height:58px}.clarify-header h1{font-size:20px}.clarify-body{padding-top:11px;padding-bottom:10px}.clarify-context{margin-bottom:13px}.issue-list{gap:10px}.issue-card summary{min-height:57px;padding:10px 12px;gap:9px}.issue-card summary strong{font-size:12px}.issue-content{padding:0 12px 13px}.script-excerpt{padding:11px 12px}.script-excerpt blockquote{font-size:14px}.issue-instruction{font-size:10.5px;margin-top:11px}.clarify-footer{padding-top:6px;padding-bottom:10px}.same-project-note{margin-bottom:9px}}

/* Canonical interactive skin: reuse approved Prism tokens, fonts and controls. */
:root{color-scheme:dark;--phone-width:375px}*{box-sizing:border-box}body{margin:0;background:#080a0e;color:#eef2f7;font-family:Onest,sans-serif;display:flex;justify-content:center;align-items:center;min-height:100dvh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #aad4de;outline-offset:3px}input,textarea,select{min-width:0}.suite-screen .device{width:var(--phone-width);height:min(844px,100dvh);max-height:100dvh;min-height:0;display:flex;flex-direction:column;position:relative;overflow:hidden;border-radius:32px;box-shadow:0 24px 90px #0007;border:1px solid #28303c}.statusbar{height:45px;flex-shrink:0}.suite-body{padding-top:13px;scrollbar-width:thin;scrollbar-color:#2d3a4a transparent}.suite-body h1{font-family:Commissioner,sans-serif}.suite-footer{padding-top:10px}.bottom-nav{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;min-height:75px;margin:0 16px;padding:7px;gap:7px;flex-shrink:0}.nav-item{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;font:500 10px Onest,sans-serif;border:1px solid}.nav-item svg{width:22px;height:22px}.safe-bottom{height:22px;min-height:22px;display:grid;place-items:center}.safe-bottom i{width:112px;height:4px;border-radius:3px;background:#f1f3f6}.suite-header{padding-inline:20px}.suite-header h1{font-size:20px}.suite-body>.surface+.surface{margin-top:12px}.section-label{font-size:12px}.caption,.note{font-size:11px}.field{display:grid;gap:8px;font-size:12px;color:#acb8c8}.field input,.field select,.field textarea{width:100%;padding:13px;border:1px solid #354153;border-radius:12px;background:#141b25;color:#edf1f8;font-size:14px;min-height:47px}.field textarea{min-height:100px;resize:vertical}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.disclosure-body{margin-top:20px}summary{cursor:pointer}.surface summary{font-size:13px}.upload-panel{text-align:center;padding:22px 17px}.upload-panel .choice-icon{display:inline-grid;margin-bottom:14px}.upload-panel h3{overflow-wrap:anywhere}.upload-panel .suite-button{margin-top:14px}.suite-row{min-height:69px;width:100%;text-align:left;display:flex;align-items:center;gap:12px}.suite-row>svg{width:17px;height:17px}.row-copy{flex:1;min-width:0;display:grid;gap:5px}.row-copy strong{font-size:13px;overflow-wrap:anywhere}.row-copy small{font-size:11px}.suite-body .suite-row{border-radius:15px}.choice{min-height:65px}.choice input[type=radio]{accent-color:#b5c5d6;width:17px;height:17px;flex-shrink:0}.choice strong,.voice-choice strong{font-size:13px}.voice-choice{display:flex;align-items:center;gap:11px;flex:1}.voice-choice span{display:grid;gap:6px}.voice-choice small{font-size:10px;color:#9aabbe}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{border:1px solid #354252;background:#151d28;border-radius:11px;padding:9px 11px;color:#aabbd0;font-size:11px}.chip[aria-pressed=true]{background:#2c3948;color:#eef3fb;border-color:#75839d}.search-field,.search-box{display:flex;align-items:center;gap:10px;margin:0 0 17px}.search-field input,.search-box input{background:#171e29;border:1px solid #354252;border-radius:12px;padding:13px 10px;color:#e9f0fa;flex:1;width:100%;min-width:0;font-size:13px}.search-box>svg{width:19px;height:19px}.library-screen .suite-body{padding-top:15px;display:flex;flex-direction:column}.library-toolbar{gap:7px}.library-toolbar .primary{height:44px;min-height:44px;padding:10px 6px;font-size:10px;border-radius:13px}.library-toolbar .primary svg{width:15px}.view-toggle button{min-width:48px;padding-inline:9px;font-size:10px}.project-rail{min-height:400px;overflow-x:auto;overflow-y:hidden;flex-shrink:0}.project-card{width:258px}.project-cover-button{display:block;border:0;background:none;padding:0;width:100%;color:inherit;text-align:left}.card-cover{width:100%;height:100%}.art-crop{position:relative;overflow:hidden}.art-crop>img{position:absolute;height:242%;width:auto;max-width:none;left:50%;top:-34%;transform:translateX(-56%)}.project-cover .art-crop{position:absolute;inset:0}.cover-placeholder{position:relative;display:grid;place-items:center;background:#1a2636;overflow:hidden}.cover-placeholder span{font:400 56px Commissioner,sans-serif;letter-spacing:-3px;color:#ced7e4;z-index:1}.cover-placeholder:after{content:'';position:absolute;border:1px solid #a8cdd12f;width:160px;height:230px;border-radius:25px;transform:rotate(-17deg);background:#a5b9de07}.project-heading h2{font-size:29px}.project-rail[data-layout=grid]{display:grid;grid-template-columns:1fr 1fr;gap:12px;overflow:visible;min-height:0}.project-rail[data-layout=grid] .project-card{width:100%;border-radius:16px}.project-rail[data-layout=grid] .project-heading h2{font-size:18px}.project-rail[data-layout=grid] .project-state{font-size:7px;left:7px;top:7px;padding:4px}.project-rail[data-layout=grid] .project-heading{left:10px;right:10px;bottom:13px}.project-rail[data-layout=grid] .project-heading p{font-size:8px}.project-rail[data-layout=grid] .project-details{padding:12px}.project-rail[data-layout=grid] .project-details>p{font-size:8px}.project-rail[data-layout=grid] .project-action{font-size:10px}.project-rail[data-layout=grid] .project-action-row .icon-button{width:28px;height:35px;border:0}.project-rail[data-layout=grid] .project-action>svg{display:none}.app-project-identity{display:flex;align-items:center;gap:14px;margin-bottom:23px}.app-project-identity h1{font-size:28px;font-weight:520;margin:0;letter-spacing:-1px}.app-project-identity p{font-size:11px;color:#97a6bb}.app-project-identity .icon-button{height:64px;width:52px;border-radius:14px}.wide-cover{width:100%;height:155px;border-radius:15px}.player-art{width:187px;height:230px;margin:0 auto;border-radius:22px}.mini-cover{width:45px;height:61px;flex-shrink:0;border-radius:8px}.mini-cover span{font-size:18px}.project-mini{display:flex;align-items:center;gap:14px}.project-mini h2{font-size:19px}.project-mini p{font-size:10px;margin:7px 0 0}.request-card{padding:0;overflow:hidden;text-align:left;color:inherit}.request-copy{padding:16px}.request-copy h2{margin-top:13px}.empty-content{height:100%;min-height:390px;display:flex;flex-direction:column;justify-content:center}.empty-content .intro h1{font-size:34px;line-height:1.12;margin:0;letter-spacing:-1.3px}.empty-content .prism-scene{flex:0 0 220px;position:relative}.empty-content .intro p{font-size:12px;line-height:1.65;color:#99a7b8}.empty-content .orbit{position:absolute;left:50%;top:50%}.error-banner{border:1px solid #89664c;background:#33251f;padding:11px 15px;border-radius:12px;font-size:12px;color:#e5c1a6;line-height:1.5;margin-bottom:16px}.toast{position:absolute;z-index:35;bottom:116px;left:24px;right:24px;background:#263845f5;border:1px solid #607b8e;border-radius:14px;color:#ebf2f8;padding:14px;font-size:12px;box-shadow:0 10px 40px #0008}.error-message{color:#e0b8a5}.player-tools{display:flex;gap:8px}.player-tools .suite-button{min-width:0;font-size:11px}.player-controls .icon-button{width:48px;height:48px}.player-seek{width:100%;accent-color:#b9c9e0}.current-scene{width:100%;display:flex;align-items:center;justify-content:center;gap:5px;margin:16px 0;padding:12px;border:1px solid #344050;border-radius:12px;background:#171e27;color:#afbdd0;font-size:12px}.current-scene svg{width:16px;height:16px;margin-left:8px}.player-title{text-align:center;font:500 25px Commissioner,sans-serif;margin:20px 0 7px}.player-subtitle{text-align:center;font-size:11px;color:#97a7bd}.waveform{height:59px;display:flex;align-items:center;justify-content:center;gap:3px}.waveform i{height:var(--h);width:3px;border-radius:2px;background:#a8c4d059}.time-row{display:flex;justify-content:space-between;font-size:10px;color:#9eafc3;margin-top:5px}.player-controls{display:flex;align-items:center;justify-content:center;gap:27px;margin-top:16px}.play-main{width:65px;height:65px;display:grid;place-items:center;border:1px solid #cdd6e3;border-radius:50%;background:#c7d0df;color:#202935}.play-main svg{width:24px;height:24px}.script-paper p{font:400 17px/1.7 Commissioner,sans-serif}.script-paper .speaker{font-weight:650;margin-top:24px;font-size:12px}.script-paper .current-line{color:#bbd6e1}.kv strong{max-width:62%;overflow-wrap:anywhere;text-align:right}.profile-avatar img{height:100%;width:100%;object-fit:cover}.profile-summary .profile-avatar{overflow:hidden}.image-preview{overflow:hidden}.image-preview img{max-width:100%;object-fit:cover}.toggle{display:flex;justify-content:space-between;align-items:center;gap:12px}.toggle input{accent-color:#acccda;width:22px;height:22px}.modal-layer{position:fixed;z-index:50;inset:0;background:#03060bbb;display:flex;align-items:center;justify-content:center;padding:20px}.modal-sheet{width:min(335px,100%);max-height:90dvh;overflow:auto;padding:23px;background:#141c27;border:1px solid #414d60;border-radius:25px;box-shadow:0 25px 80px #000b}.modal-sheet h2{font:500 23px Commissioner,sans-serif;margin:0 0 15px}.modal-sheet p{font-size:12px;line-height:1.65;color:#aab9cc}.modal-sheet .stack{gap:9px}.modal-sheet .close-sheet{display:flex;justify-content:flex-end;margin-bottom:10px}.modal-sheet .field{margin:12px 0}.review-tools{position:fixed;left:24px;top:24px;width:220px;font-size:11px;color:#8d9bad;display:grid;gap:12px}.review-tools h2{color:#d6dfec;font-size:17px;margin:0}.review-tools label{display:grid;gap:7px}.review-tools select,.review-tools button{border:1px solid #344153;border-radius:10px;background:#111923;padding:10px;color:#c4d0e0;font-size:11px}.review-tools p{line-height:1.6}.review-tools strong{color:#a5cbd8}.review-tools .review-role{display:flex;gap:6px}.review-role button{flex:1}.review-tools button[aria-pressed=true]{background:#2b3c4c;color:#f0f5fc}.review-tools summary{color:#a4c3d6}.reduce-motion *{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media(max-width:780px){body{background:#0d1016}.suite-screen .device{width:100%;max-width:430px;height:100dvh;border:0;border-radius:0;box-shadow:none}.review-tools{display:none}.modal-layer{align-items:flex-end;padding:0}.modal-sheet{width:100%;max-width:430px;border-radius:25px 25px 0 0;padding-bottom:28px}.project-card{width:calc(100vw - 117px);max-width:280px}}@media(max-height:700px){.statusbar{height:32px}.suite-header{height:54px}.bottom-nav{height:68px;min-height:68px}.nav-item{min-height:51px}.safe-bottom{height:16px;min-height:16px}.player-art{height:150px;width:126px}.suite-footer .note{display:none}}

.toast{pointer-events:none}.statusbar .battery-fill{fill:currentColor}.project-identity h1{overflow-wrap:anywhere}
.issue-card summary::after{display:none}.issue-card summary>svg{width:16px;height:16px}.issue-card[open] summary>svg{transform:rotate(-90deg)}
.form-columns .field{margin:0;align-content:start}.form-columns select{height:48px}
.search-box input{padding-left:42px}

/* Ready-reading library: project identity leads each player entry. */
.player-library-list{gap:12px}
.player-library-card{display:flex;align-items:center;gap:16px;width:100%;min-width:0;padding:12px;border:1px solid #35404e;border-radius:20px;background:linear-gradient(145deg,#202833,#171e28);color:#eef2f7;text-align:left;box-shadow:0 8px 24px #00000012}
.player-library-card:hover{border-color:#596779}
.player-library-card:active{background:#25303d}
.player-library-cover{width:78px;height:102px;flex:0 0 78px;border-radius:11px;box-shadow:0 4px 14px #00000026}
.player-library-cover.cover-placeholder span{font-size:28px;letter-spacing:-1px}
.player-library-cover.cover-placeholder:after{width:70px;height:100px;border-radius:13px}
.player-library-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding-block:3px}
.player-library-title{font:520 22px/1.15 Commissioner,sans-serif;letter-spacing:-.5px;overflow-wrap:anywhere}
.player-library-type{font:400 12px/1.45 Onest,sans-serif;color:#b7c1cd}
.player-library-reading-name{font:400 11px/1.4 Onest,sans-serif;color:#96a3b4;overflow-wrap:anywhere}
.player-library-open{display:inline-flex;align-items:center;gap:6px;margin-top:5px;color:#a7b8cb;font:400 10px/1.4 Onest,sans-serif}
.player-library-open svg{width:13px;height:13px}

.request-card{position:relative}.request-card:has(>.generation-remove)>.project-mini{padding-right:52px}.request-card>.generation-remove{position:absolute;top:16px;right:16px;width:40px;height:40px;min-height:40px;z-index:1}.request-card>.generation-remove svg{width:20px;height:20px}

.generation-preparing>.badge{color:#ffd477;background:linear-gradient(110deg,rgba(255,196,61,.19),rgba(255,139,49,.13));border-color:rgba(255,190,65,.48)}.generation-preparing>.badge i{background:#ffc34d;box-shadow:0 0 8px rgba(255,184,58,.45)}.palette-phone .generation-preparing>.note{color:#f4cb83!important}

.project-status-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap;width:100%;margin-bottom:12px}.project-status-row>.project-state{position:static!important;margin:0;flex-shrink:0}.project-generation-status{display:flex;flex-direction:column;gap:3px;text-align:left;margin-left:auto;padding:7px 10px;border:1px solid rgba(191,157,255,.4);border-radius:12px;background:linear-gradient(115deg,rgba(175,120,255,.16),rgba(238,127,191,.12));color:#dbc6ff;font-size:10px;line-height:1.3;max-width:100%}.project-generation-status strong{font-size:11px;font-weight:650}.project-generation-status.is-preparing{color:#ffd477;border-color:rgba(255,190,65,.48);background:linear-gradient(110deg,rgba(255,196,61,.19),rgba(255,139,49,.13))}.project-generation-status.is-stale{border-style:dashed}.project-generation-status small{font-size:9px;color:inherit}.project-cover>.project-status-row{position:absolute;left:12px;right:12px;top:12px;bottom:auto;width:auto}

.reading-fragment-list{display:grid;gap:14px}.reading-fragment-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;color:inherit}.reading-fragment summary{cursor:pointer;color:#cfb7ff}.reading-fragment h2{font-size:17px}

.reading-fragment.is-selected{border-color:#ba9aee;box-shadow:inset 0 0 0 1px #ba9aee}.reading-fragment-pick{display:flex;align-items:center;gap:12px;width:100%;padding:0;border:0;background:transparent;text-align:left;color:#d4bcff;font-weight:650}.reading-fragment-pick svg{width:22px;height:22px}.reading-fragment-pick small{display:block;margin-top:3px;font-weight:400;color:#a49aa9}

.demo-project-card .project-cover{position:relative}.demo-badge{position:absolute;top:14px;right:14px;padding:7px 14px;border-radius:999px;background:linear-gradient(135deg,#e1caff,#bd9af5);color:#241538;font-weight:700;box-shadow:0 2px 12px #0006}.demo-project-card h2{margin:.6rem 0}.demo-project-card .project-state{display:inline-flex}

.library-tabs{display:flex;gap:6px;padding:5px;border:1px solid #303845;border-radius:17px;background:#121820;margin:0 0 22px}.library-tabs button{flex:1;min-height:43px;border:0;border-radius:12px;color:#929ead;background:transparent;font:500 13px Onest,sans-serif}.library-tabs button.selected{background:#293441;box-shadow:inset 0 0 0 1px #465366;color:#edf0f6}.library-screen .library-tabs{margin:0 0 16px}.sharing-screen .project-mini{padding:12px}.sharing-screen .project-mini h2{font-size:17px}.sharing-screen .mini-cover{width:43px;height:57px;flex-basis:43px}.share-period{padding:25px 0 20px}.eyebrow{font:500 10px/1.6 Onest,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#a8b9c8;margin:0 0 10px}.share-period h2{font:500 38px/1.15 Commissioner,sans-serif;letter-spacing:-1.3px;margin:8px 0;color:#f0f1f5}.share-period>p:not(.eyebrow){font-size:12px;color:#929eaf;margin:0 0 19px}.period-options{display:flex;gap:7px}.period-options button{flex:1;padding:11px 3px;border:1px solid #343d4b;border-radius:11px;background:#191f29;color:#a5b0bf;font:500 12px Onest,sans-serif}.period-options button[aria-pressed=true]{background:#d7d7e1;border-color:#d9c9d2;color:#242b37}.custom-days{margin-top:14px}.invite-note{display:flex;gap:12px;padding:16px;border-radius:15px;border:1px solid #384252;background:#1a222d}.invite-note>svg{width:20px;height:20px;color:#adbcca;flex-shrink:0;margin-top:2px}.invite-note p{margin:0;color:#a5b0bf;font-size:12px;line-height:1.65}.invite-note strong{display:block;font-size:13px;color:#e4e7ee;font-weight:500;margin-bottom:4px}.share-file-list{display:grid;gap:8px}.share-file{display:flex;align-items:center;gap:11px;min-height:71px;border:1px solid #343d48;border-radius:15px;padding:12px;background:#171d26}.share-file.selected{background:#1c252e;border-color:#48545f}.share-file-icon{display:grid;place-items:center;flex:0 0 34px;height:36px;color:#b7b3d1}.share-file-icon svg{width:22px;height:22px}.share-file>span:nth-child(2){flex:1;min-width:0}.share-file strong,.share-download strong{display:block;font-size:13px;font-weight:500;line-height:1.4}.share-file small,.share-download small{display:block;color:#96a2b2;font-size:10px;line-height:1.5;margin-top:4px}.share-file input,.share-download input{accent-color:#b6cbd3;width:19px;height:19px;flex-shrink:0}.share-download{display:flex;align-items:center;gap:16px;margin:20px 0 2px;padding:0 2px}.share-download>span{flex:1}.share-intro{text-align:center;margin:22px 0 26px}.share-intro h2{font:500 34px/1.15 Commissioner,sans-serif;letter-spacing:-.9px;color:#f0f1f5;margin:13px 0 18px}.share-intro p:not(.eyebrow){font-size:13px;line-height:1.65;color:#9aa6b6}.share-intro.compact{margin:12px 0 25px}.share-intro.compact h2{font-size:32px}.invite-symbol{display:grid;place-items:center;width:88px;height:88px;border:1px solid #465261;border-radius:26px;background:#212d37;margin:36px auto 25px;box-shadow:0 16px 45px #0003,inset 0 1px #ffffff10}.invite-symbol svg{width:33px;height:33px;color:#c3c2dd}.invite-symbol.success{width:62px;height:62px;margin:14px auto 20px;border-radius:20px}.invite-symbol.success svg{width:27px;color:#b2d0c6}.share-facts{margin:24px 0;display:grid;gap:23px}.share-facts>div{display:flex;align-items:flex-start;gap:13px}.share-facts svg{width:20px;height:20px;color:#a9c3cd;margin-top:2px;flex-shrink:0}.share-facts strong{font-size:13px;font-weight:500;color:#e4e7ec;display:block}.share-facts small{font-size:11px;color:#919cad;display:block;margin-top:6px;line-height:1.5}.private-link{display:flex;gap:8px;align-items:center;border:1px dashed #3b4553;border-radius:13px;padding:13px;color:#a6b0bf;font-size:10px}.private-link svg{width:16px;height:16px;flex-shrink:0}.auth-divider{display:flex;align-items:center;gap:12px;margin:25px 0 18px;color:#808d9d;font-size:12px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#303845;flex:1}.auth-method{margin-bottom:23px}.shared-library-caption{color:#8d9cac;font-size:12px;margin:0 0 19px}.received-list{display:grid;gap:20px}.received-card{border-radius:23px;overflow:hidden;background:#171e27;border:1px solid #34414f}.received-cover{display:block;position:relative;width:100%;height:305px;padding:0;border:0;background:#172330;color:white;text-align:left;overflow:hidden}.received-art,.shared-hero-art{height:100%;width:100%;position:absolute;inset:0;overflow:hidden}.received-cover:after,.shared-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0b11152b 0%,transparent 30%,#0e141ee8 100%);pointer-events:none}.recipient-tag{position:absolute;top:17px;left:17px;z-index:1;display:flex;align-items:center;gap:6px;background:#0d1725b8;border:1px solid #8193ab40;border-radius:10px;padding:7px 9px;font-size:10px;color:#c5d2dc}.recipient-tag svg{width:13px;height:13px}.received-title{position:absolute;z-index:1;bottom:23px;left:21px;right:19px}.received-title p,.shared-hero-copy>p{color:#a5bdc8;font-size:10px;margin:0 0 10px}.received-title h2{font:500 33px/1.06 Commissioner,sans-serif;letter-spacing:-.7px;margin:0}.received-details{padding:18px 20px 0}.sender-line{display:flex;align-items:center;gap:8px;color:#a4afbd;font-size:11px}.sender-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#313a4b;color:#c6c6df;font:500 12px Onest,sans-serif;flex-shrink:0}.access-line{display:flex;align-items:center;gap:7px;color:#93a1b3;font-size:11px;margin:14px 0}.access-line svg{width:15px;height:15px;color:#a7bfc6}.access-line strong{font-weight:400;color:#c8d5dc}.received-open{display:flex;align-items:center;justify-content:space-between;background:none;color:#e0e4ec;width:100%;border:0;border-top:1px solid #34414d;padding:17px 0;font:500 12px Onest,sans-serif;margin-top:17px}.received-open svg{width:17px;height:17px;color:#b8aecf}.shared-hero{position:relative;height:248px;overflow:hidden;border-radius:20px;border:1px solid #334352}.shared-hero-copy{position:absolute;z-index:1;left:20px;right:20px;bottom:20px}.shared-hero-copy h2{font:500 32px/1.08 Commissioner,sans-serif;letter-spacing:-.9px;margin:0 0 10px}.shared-hero-copy>span{font-size:10px;color:#b0bbca}.shared-logline{font-size:12px;line-height:1.75;color:#b0bbc9;margin:17px 0 22px}.shared-reading{padding:18px;border-radius:18px;border:1px solid #414b5c;background:#242d39}.reading-wave{color:#b9b3d6}.reading-wave svg{width:28px;height:28px}.reading-duration{font-size:10px;color:#afbbca}.shared-reading h3{font:500 19px/1.25 Commissioner,sans-serif;margin:14px 0 18px}.shared-reading button{min-height:46px!important}.shared-materials{display:grid;gap:8px}.shared-materials .suite-row{margin:0}.recipient-person{border:1px solid #374352;background:#181f29;border-radius:17px;padding:16px}.person-heading{display:flex;gap:10px;align-items:center}.person-heading>span:nth-child(2){flex:1}.person-heading strong{display:block;font-size:14px;font-weight:500}.person-heading small{display:block;color:#96a5b5;font-size:10px;margin-top:4px}.person-heading .badge{font-size:9px;padding:6px}.recipient-person .suite-row{padding:14px 0;border:0;background:none;margin:12px 0 4px}.recipient-person .suite-row strong{font-size:12px}.recipient-person .suite-row small{font-size:10px}.grant-actions{display:flex;gap:8px}.grant-actions button{flex:1;min-height:39px!important;font-size:12px!important}.pending-invite{display:flex;gap:10px;align-items:center;padding:14px;border:1px solid #343d48;background:#171e27;border-radius:15px}.pending-invite>span:nth-child(2){flex:1}.pending-invite strong{display:block;font-size:12px;font-weight:500}.pending-invite small{display:block;font-size:10px;color:#97a3b3;margin-top:6px}.activity-person{text-align:center;padding:12px 0 25px}.activity-person .sender-avatar{width:54px;height:54px;margin:0 auto 13px;font-size:20px}.activity-person h2{font:500 28px Commissioner,sans-serif;margin:0 0 8px}.activity-person p{font-size:12px;color:#9caabb;margin:0}.activity-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:20px}.activity-metrics>div{padding:19px 12px;border:1px solid #394554;border-radius:16px;background:#1e2834}.activity-metrics strong{font:400 32px Commissioner,sans-serif;color:#cfdeea;display:block}.activity-metrics span{font-size:10px;color:#a3b0c0;display:block;margin-top:7px}.activity-timeline{display:grid;gap:22px}.activity-timeline>div{display:flex;gap:15px;align-items:flex-start}.activity-timeline i{height:7px;width:7px;border-radius:50%;background:#a9bbc5;flex-shrink:0;margin-top:6px}.activity-timeline strong{font-size:12px;font-weight:400;display:block}.activity-timeline small{font-size:10px;color:#8f9bac;display:block;margin-top:5px}.pitch-slide{position:relative;min-height:365px;border:1px solid #57606c;border-radius:16px;background:#d3d7d7;color:#1d2932;padding:26px 25px;overflow:hidden}.pitch-slide .eyebrow{color:#5d737c;font-size:9px}.pitch-slide .slide-number{font:400 54px Commissioner,sans-serif;color:#9dadaf;display:block;margin:32px 0 16px}.pitch-slide h2{font:500 32px/1.1 Commissioner,sans-serif;letter-spacing:-.8px;margin:0 0 22px}.pitch-slide p{font-size:12px;line-height:1.7;color:#465862}.slide-rule{height:1px;background:#9cacae;margin:29px 0 17px}.pitch-slide small{font-size:9px;color:#526a73}.slide-pagination{display:flex;align-items:center;justify-content:center;gap:34px;margin:18px 0}.slide-pagination>span{font-size:12px;color:#a0adbc}.teaser-preview{position:relative;height:200px;overflow:hidden;border-radius:17px;margin-bottom:20px}.teaser-art{width:100%;height:100%}.teaser-preview>span{position:absolute;inset:0;display:grid;place-items:center;background:#07101b50}.teaser-preview>span svg{width:40px;height:40px}.review-role{flex-wrap:wrap}.review-role button{min-width:80px;flex:1}.review-sharing{margin-top:16px;display:grid;gap:8px}.review-sharing button{font-size:11px!important;min-height:35px!important}.shared-project-screen .suite-header h1{font-size:14px}.shared-library-screen .suite-body{padding-top:20px}

.share-intro .eyebrow{text-align:center}.sharing-success-screen .invite-symbol{margin:2px auto 15px}.sharing-success-screen .share-intro{margin:0 0 20px}.sharing-success-screen .share-intro h2{font-size:29px;margin:10px 0 12px}.sharing-success-screen .share-intro p:not(.eyebrow){font-size:12px}.sharing-success-screen .project-mini{padding:12px}.sharing-success-screen .project-mini h2{font-size:16px}.sharing-success-screen .mini-cover{width:39px;height:53px;flex-basis:39px}.sharing-success-screen .share-facts{margin:20px 0;gap:17px}.sharing-success-screen .private-link{padding:10px}.shared-library-screen .received-art>img{transform:translateX(-56%)}

/* Presentation studies only. The working application keeps its approved skin. */
body.palette-lab{display:block;min-height:100dvh;margin:0;padding:38px 32px 30px;background:#f5f1e9;color:#332c24;color-scheme:light;font-family:Onest,sans-serif}
.palette-lab #palette-lab{max-width:1680px;margin:auto}
.palette-heading{display:flex;align-items:center;justify-content:space-between;gap:30px}
.palette-kicker{margin:0 0 15px;color:#80705f;font-size:10px;letter-spacing:.15em;text-transform:uppercase}
.palette-heading h1{margin:0 0 14px;font:500 clamp(37px,3.8vw,59px)/1.02 Commissioner,sans-serif;letter-spacing:-2.1px}
.palette-heading h1 br{display:none}.palette-heading h1 em{font:400 1.02em Literata,serif;letter-spacing:-2.7px;margin-left:.13em;color:#805438}
.palette-subtitle{margin:0;color:#736657;font-size:12px;line-height:1.8}
.palette-return{display:flex;align-items:center;gap:17px;padding:14px 18px;border:1px solid #d8c9b7;border-radius:13px;background:linear-gradient(#fffdf8,#eee5d8);box-shadow:inset 0 1px #fff,0 2px 0 #d4c7b8,0 6px 15px #5841240a;color:#59442f;font-size:11px;text-decoration:none;white-space:nowrap}
.palette-return svg{width:15px;height:15px}
.palette-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:22px;border-top:1px solid #dfd3c2;margin:27px 0 25px}
.palette-screen-tabs{display:flex;gap:5px;flex-wrap:wrap;padding:5px;border:1px solid #ddd0be;border-radius:15px;background:#e9e0d2;box-shadow:inset 0 2px 4px #76562e0c}
.palette-screen-tabs button,.palette-all{border:1px solid transparent;border-radius:10px;min-height:37px;padding:9px 15px;background:transparent;color:#6c5946;font-size:11px;cursor:pointer;transition:transform .12s,box-shadow .12s}
.palette-screen-tabs button[aria-pressed=true]{border-color:#594b3d;background:linear-gradient(#625344,#3b3025);box-shadow:inset 0 1px #a08a7066,0 2px 0 #2c241d,0 4px 7px #3e302227;color:#fff7e8}
.palette-all{border-color:#cdbba4;background:#fbf7ef}.palette-controls>p{font-size:11px;color:#81705c}
.palette-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px 24px;align-items:start}
.palette-option{min-width:0;--display:Commissioner,sans-serif;--display-weight:570;--display-tracking:-.65px;--button-radius:13px;--glint:#ffffff70;--shade:#36271222;--edge-depth:3px}
.palette-option-heading{display:flex;align-items:center;gap:9px;margin-bottom:14px;min-height:49px}
.palette-number{align-self:flex-start;margin-top:3px;color:#9c8469;font:450 12px Commissioner,sans-serif}
.palette-option-heading h2{font:530 21px Commissioner,sans-serif;letter-spacing:-.55px;margin:0 0 6px;color:#332c24}
.palette-option-heading p{font-size:9px;letter-spacing:.025em;color:#81715e;margin:0}
.palette-swatches{display:flex;margin-left:auto;flex-shrink:0}.palette-swatches span{height:13px;width:13px;display:block;border:1px solid #00000018;border-radius:50%;margin-left:-3px;box-shadow:inset 0 1px 1px #ffffff60}
.palette-lab .palette-shell{position:relative;width:100%;--preview-scale:1;height:800px}
.palette-lab .palette-shell .palette-phone{position:relative;display:flex;flex-direction:column;margin:0;overflow:hidden;width:375px!important;max-width:none!important;height:800px!important;max-height:none;border-radius:33px;border:1px solid var(--control);background:var(--bg);color:var(--ink);transform:scale(var(--preview-scale));transform-origin:top left;box-shadow:inset 0 0 0 3px var(--rim),0 0 0 1px var(--border),0 6px 0 -2px var(--border),0 20px 28px -16px #3f302945}
.palette-phone .statusbar{height:47px;padding-inline:23px;color:var(--ink);flex-shrink:0}.palette-phone .island{width:93px;height:27px;background:#101619}
.palette-phone .suite-header{padding-inline:18px}.palette-phone .suite-header h1{font-size:23px!important;font-family:var(--display)!important;font-weight:var(--display-weight)!important;letter-spacing:var(--display-tracking)}
.palette-phone .suite-body{padding-inline:18px;min-height:0;scrollbar-width:none;overflow:auto}.palette-phone .suite-footer{padding-inline:18px}
.palette-phone .bottom-nav{margin-inline:12px;gap:7px;padding:7px;height:79px;min-height:79px;border-radius:25px!important}
.palette-phone .nav-item{min-height:60px;font-size:10px;border-radius:17px!important;gap:6px}.palette-phone .nav-item svg{height:22px;width:22px;stroke-width:1.7}
.palette-phone .safe-bottom{height:22px;min-height:22px}.palette-phone .safe-bottom i{width:112px;background:var(--ink)}
.palette-phone .library-tabs{margin-bottom:19px;padding:5px;border-radius:16px}.palette-phone .library-tabs button{font-size:12px;min-height:39px;border-radius:11px}
.palette-phone .library-toolbar{grid-template-columns:auto minmax(0,1fr) 43px;gap:9px;margin-bottom:23px}
.palette-phone .library-toolbar .icon-button{width:43px;height:44px;border-radius:50%}
.palette-phone .view-toggle{height:44px;padding:3px;border-radius:13px}.palette-phone .view-toggle button{padding-inline:5px;font-size:10px;min-width:40px;min-height:36px}
.palette-phone .library-toolbar .primary{height:44px;min-height:44px;border-radius:var(--button-radius);font-size:11px;font-weight:620;padding-inline:8px;gap:7px}.palette-phone .library-toolbar .primary svg{width:14px}
.palette-phone .project-rail{margin-inline:-18px;padding-inline:18px;padding-bottom:14px;min-height:370px;flex:1;overflow:auto;gap:16px;scroll-padding-inline:18px}
.palette-phone .project-card{width:271px!important;max-width:271px!important;flex-shrink:0;border-radius:24px!important}
.palette-phone .project-heading h2{font-size:29px;line-height:1.12;font-family:var(--display)!important;font-weight:var(--display-weight)!important;letter-spacing:var(--display-tracking)!important}
.palette-phone .project-details{padding:14px 14px 16px}.palette-phone .project-details>p{margin:0 0 12px;font-size:10px}
.palette-phone .project-action{font-size:11px;min-height:40px;padding:0 12px;border:1px solid var(--border)!important;border-radius:12px;gap:7px}
.palette-phone .project-details .icon-button{width:39px;height:40px;border-radius:12px}
.palette-option-footer{margin-top:21px;padding:15px 16px 17px;border:1px solid var(--border);border-radius:18px;background:var(--bg);color:var(--ink);box-shadow:inset 0 1px var(--rim)}
.palette-option-footer p{font-size:11px;line-height:1.65;margin:0 0 15px;min-height:37px;color:var(--muted)}
.palette-inspect{width:100%;min-height:43px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:9px;font:600 11px Onest,sans-serif;cursor:pointer}
.palette-inspect svg{width:16px;height:16px}
.palette-grid.is-focused{grid-template-columns:minmax(0,390px);justify-content:center}.palette-grid.is-focused .palette-option{width:100%}.palette-lab .palette-grid.is-focused .palette-phone{height:844px!important}
.palette-grid.is-focused .palette-option-footer{display:flex;align-items:center;gap:18px}.palette-grid.is-focused .palette-option-footer p{margin:0;flex:1}.palette-grid.is-focused .palette-inspect{width:auto;min-width:138px}
.palette-quick-switch{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;max-width:840px;margin:29px auto 0}
.palette-quick-switch button{border:1px solid #d3c5b2;background:#faf6ee;border-radius:11px;font-size:11px;padding:12px 15px;color:#6f6154;display:flex;align-items:center;gap:8px;transition:transform .12s}
.palette-quick-switch button[aria-pressed=true]{border-color:#78634b;background:#e9ddcc;color:#443b2e;box-shadow:inset 0 1px 3px #63462320}.palette-quick-switch i{width:10px;height:10px;border-radius:50%;display:block}
.palette-page-note{margin-top:35px;padding-top:22px;border-top:1px solid #ded2c1;text-align:center;font-size:10px;line-height:1.8;color:#81705c}
.palette-lab :is(button,a):focus-visible{outline:3px solid #906741;outline-offset:4px}

/* Solid page colors. Gradients describe the button material, never the page. */
.palette-option[data-palette=scriptoolz]{--bg:#080B10;--surface:#0E1728;--soft:#0B101C;--raised:#262239;--border:#2B3043;--control:#62577F;--ink:#F2EFF6;--muted:#A0A8BB;--accent:#88C9E0;--on-accent:#080A13;--accent-soft:#242036;--accent-ink:#C2B6FF;--illustration:#20283D;--wash:#9788EF12;--button-top:#C2B6FF;--button-bottom:#E8B0AE;--button-edge:#6B6995;--rim:#CDD3ED18;--glint:#FFFFFF8C;--shade:#02041180;--edge-depth:1px;--display:Commissioner,sans-serif;--display-weight:600;--display-tracking:-.65px;color-scheme:dark}
.palette-option[data-palette=ocean]{--bg:#051E32;--surface:#0C3048;--soft:#09283E;--raised:#164B63;--border:#23536B;--control:#4A8099;--ink:#EDF8FF;--muted:#92BED0;--accent:#6CDBDC;--on-accent:#073445;--accent-soft:#124D60;--accent-ink:#9BEDEE;--illustration:#14647B;--wash:#6CDBDC13;--button-top:#A4F0EA;--button-bottom:#4BBDBF;--button-edge:#267F8A;--rim:#8CCBE820;--glint:#E3FFFFCE;--shade:#000C2090;color-scheme:dark}
.palette-option[data-palette=sage]{--bg:#EEF4E7;--surface:#FCFDF6;--soft:#E0EAD5;--raised:#D8E4C9;--border:#C3D2B6;--control:#91A685;--ink:#203B31;--muted:#526857;--accent:#28664E;--on-accent:#F4F9ED;--accent-soft:#D3E6D8;--accent-ink:#285A42;--illustration:#799969;--wash:#28664E10;--button-top:#327558;--button-bottom:#20533F;--button-edge:#173E2F;--rim:#FFFFFFAF;--glint:#FFFFFF48;--shade:#315D3226;color-scheme:light}
.palette-option[data-palette=cherry]{--bg:#2A1019;--surface:#421C29;--soft:#34141F;--raised:#612B38;--border:#6E3948;--control:#A06470;--ink:#FFF2ED;--muted:#D6ABB3;--accent:#EDB7A0;--on-accent:#42232C;--accent-soft:#542939;--accent-ink:#F6C8AA;--illustration:#914653;--wash:#F2B78F12;--button-top:#F5D9BF;--button-bottom:#D79985;--button-edge:#985F51;--rim:#F4B6B426;--glint:#FFF7E9BB;--shade:#17060DB0;color-scheme:dark}
.palette-option[data-palette=champagne]{--bg:#211B16;--surface:#30271F;--soft:#281F18;--raised:#4A3928;--border:#60503B;--control:#917857;--ink:#FFF4E1;--muted:#C7B49A;--accent:#E4C48B;--on-accent:#37291B;--accent-soft:#443723;--accent-ink:#EBD09B;--illustration:#7D613D;--wash:#E4C48B13;--button-top:#F3DDB0;--button-bottom:#C5A268;--button-edge:#8B6D40;--rim:#EBD7B62A;--glint:#FFFBE4BC;--shade:#130D09A0;color-scheme:dark}
.palette-option[data-palette=porcelain]{--bg:#F2F5FC;--surface:#FFFFFF;--soft:#E6ECF8;--raised:#DCE5F8;--border:#C6D2E8;--control:#889CBD;--ink:#142441;--muted:#546684;--accent:#244EC6;--on-accent:#FFFFFF;--accent-soft:#DBE5FC;--accent-ink:#244CA8;--illustration:#7493D8;--wash:#244EC610;--button-top:#3563D9;--button-bottom:#1C3E9F;--button-edge:#122A75;--rim:#FFFFFFE0;--glint:#FFFFFF60;--shade:#2C4F9C32;color-scheme:light}
.palette-option[data-palette=malachite]{--bg:#092B25;--surface:#123B31;--soft:#0D322A;--raised:#224B3E;--border:#3D6650;--control:#61846D;--ink:#F1F7E9;--muted:#A4C4AD;--accent:#BDE1BB;--on-accent:#173A2B;--accent-soft:#24533F;--accent-ink:#CAE5B9;--illustration:#46775B;--wash:#CDE6B813;--button-top:#DBEDD0;--button-bottom:#9ABD98;--button-edge:#608260;--rim:#B8DAAA27;--glint:#F0FFDED0;--shade:#001B16A0;color-scheme:dark}
.palette-option[data-palette=honey]{--bg:#FFF7DF;--surface:#FFFDF1;--soft:#F3E6BC;--raised:#EBD6A0;--border:#DCCA95;--control:#A78B46;--ink:#392B14;--muted:#776439;--accent:#EDB94B;--on-accent:#442E0C;--accent-soft:#F6E4AE;--accent-ink:#7C5217;--illustration:#C4943A;--wash:#E5B54013;--button-top:#F6D47E;--button-bottom:#DFAB3C;--button-edge:#B38228;--rim:#FFFFFFCC;--glint:#FFF5CDB0;--shade:#94701832;color-scheme:light}
.palette-option[data-type=editorial]{--display:Literata,serif;--display-weight:440;--display-tracking:-.7px}
.palette-option[data-type=humanist]{--display:Onest,sans-serif;--display-weight:650;--display-tracking:-.9px}
.palette-option[data-finish=ceramic]{--button-radius:16px;--edge-depth:4px}
.palette-option[data-finish=enamel]{--button-radius:11px;--edge-depth:4px}

/* Shared color mapping over the existing screen components. */
.palette-phone :is(h1,h2,h3,.lead,.project-action,.row-copy strong,.player-library-title,.choice strong,.share-file strong,.share-download strong){color:var(--ink)!important}
.palette-phone :is(.caption,.note,.project-details>p,.project-mini p,.row-copy small,.player-library-type,.player-library-reading-name,.player-library-open,.share-period>p,.eyebrow,.share-file small,.share-download small,.shared-logline,.reading-duration,.section-label){color:var(--muted)!important}
.palette-phone :is(.surface,.project-card,.suite-row,.player-library-card,.share-file,.shared-reading,.invite-note,.share-download,.choice){background:var(--surface)!important;border-color:var(--border)!important;color:var(--ink)!important;box-shadow:inset 0 1px var(--rim),0 7px 17px -9px var(--shade)!important}
.palette-phone :is(.library-tabs,.view-toggle,.bottom-nav){background:var(--soft)!important;border-color:var(--border)!important;box-shadow:inset 0 2px 4px var(--shade),0 1px var(--rim)!important}
.palette-phone .bottom-nav{box-shadow:inset 0 1px var(--rim),0 -6px 25px -14px var(--shade),0 2px 2px var(--shade)!important}
.palette-phone :is(.library-tabs button,.view-toggle button){color:var(--muted)!important;background:transparent!important;border-color:var(--border)!important;box-shadow:none!important}
.palette-phone .library-tabs .selected,.palette-phone .view-toggle button[aria-pressed=true]::before{background:linear-gradient(175deg,var(--surface),var(--raised))!important;color:var(--ink)!important;box-shadow:inset 0 1px var(--rim),inset 0 0 0 1px var(--border),0 2px 2px var(--shade)!important}
.palette-phone .view-toggle button[aria-pressed=true]{color:var(--ink)!important}
.palette-phone :is(.suite-button,.icon-button,.nav-item,.project-action,.period-options button){background:linear-gradient(165deg,var(--surface),var(--soft))!important;color:var(--ink)!important;border-color:var(--border)!important;box-shadow:inset 0 1px var(--rim),inset 0 -1px var(--border),0 2px 0 var(--border),0 5px 8px -4px var(--shade)!important}
.palette-phone .nav-item{color:var(--muted)!important}.palette-phone .nav-item svg{color:var(--muted)!important}
.palette-phone :is(.nav-item.active,.primary,.period-options button[aria-pressed=true]),.palette-inspect{position:relative;background:linear-gradient(170deg,var(--button-top),var(--accent) 48%,var(--button-bottom))!important;color:var(--on-accent)!important;border:1px solid var(--button-top)!important;border-bottom-color:var(--button-edge)!important;border-radius:var(--button-radius);box-shadow:inset 0 1px 0 var(--glint),inset 0 -1px 1px var(--button-edge),0 var(--edge-depth) 0 var(--button-edge),0 7px 12px -3px var(--shade)!important;text-shadow:0 1px 1px #ffffff10;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.palette-option[data-finish=metal] :is(.palette-phone .primary,.palette-phone .nav-item.active,.palette-phone .period-options button[aria-pressed=true],.palette-inspect){background:linear-gradient(165deg,var(--button-top) 0%,var(--accent) 31%,var(--button-bottom) 67%,var(--accent) 100%)!important}
.palette-option[data-finish=glass] :is(.palette-phone .primary,.palette-phone .nav-item.active,.palette-inspect){background:linear-gradient(155deg,var(--button-top),var(--accent) 37%,var(--button-bottom))!important;box-shadow:inset 0 1px 1px var(--glint),inset 0 0 0 1px #ffffff30,inset 0 -2px 2px #267F8A66,0 3px 0 var(--button-edge),0 7px 16px #00121B60!important}
.palette-phone .nav-item.active svg,.palette-phone .primary svg{color:var(--on-accent)!important}
.palette-phone :is(.icon-button svg,.project-action svg,.row-icon,.reading-wave,.share-file-icon,.player-library-open svg,.player-library-card>svg){color:var(--accent-ink)!important}
.palette-phone .row-icon{background:var(--accent-soft)!important;border-color:var(--border)!important;box-shadow:inset 0 1px var(--rim)!important}.palette-phone .suite-row>svg{color:var(--accent-ink)!important}
.palette-phone .cover-placeholder{background:var(--illustration)!important}.palette-phone .cover-placeholder span{color:var(--ink)!important}.palette-phone .project-cover .cover-placeholder span{color:#fff8ee!important}
.palette-phone .project-cover .project-heading h2,.palette-phone .shared-hero-copy h2{color:#fff9f2!important}
.palette-phone .project-cover .project-heading p,.palette-phone .shared-hero-copy p,.palette-phone .shared-hero-copy span{color:#e0e8e9!important}
.palette-phone .project-cover:after{background:linear-gradient(180deg,#091b1920,transparent 28%,#08182405 43%,#04131be8 100%)!important}
.palette-phone .project-state{background:#07313ee0!important;color:#DFF7E9!important;border-color:#87BCAA80!important}.palette-phone .project-state[data-tone=pending]{background:#683D21E6!important;color:#FFF3D4!important;border-color:#D8B28390!important}.palette-phone .project-state[data-tone=pending] i{background:#F2CB8A!important}
.palette-phone :is(.share-file.selected,.shared-reading){background:var(--accent-soft)!important;border-color:var(--control)!important}
.palette-phone .invite-note p,.palette-phone .invite-note strong,.palette-phone .invite-note svg{color:var(--accent-ink)!important}.palette-phone .invite-note{background:var(--wash)!important;border-color:var(--border)!important;box-shadow:none!important}
.palette-phone .field input{background:var(--surface)!important;border-color:var(--control)!important;color:var(--ink)!important;box-shadow:inset 0 2px 4px var(--shade)!important}
.palette-phone .share-file input,.palette-phone .share-download input{accent-color:var(--accent)}
.palette-phone .access-line,.palette-phone .access-line strong,.palette-phone .access-line svg{color:var(--accent-ink)!important}.palette-phone .shared-hero{border-color:var(--border)}
.palette-phone :is(.shared-hero-copy h2,.shared-reading h3,.share-period h2,.project-mini h2,.player-library-title){font-family:var(--display)!important;font-weight:var(--display-weight)!important;letter-spacing:var(--display-tracking)!important}
.palette-phone .player-library-card{border:1px solid var(--border);padding:15px;border-radius:23px;gap:17px;align-items:center}
.palette-phone .player-library-title{font-size:24px!important;line-height:1.16}.palette-phone .player-library-cover{width:83px;height:114px;flex-basis:83px;border:1px solid var(--border);box-shadow:0 5px 9px var(--shade)}
.palette-phone .player-library-type{font-size:11px}.palette-phone .player-library-open{display:flex;align-items:center;gap:8px;padding:7px 9px;background:var(--soft);border:1px solid var(--border);border-radius:8px;color:var(--accent-ink)!important;box-shadow:inset 0 1px var(--rim);font-size:9px}
.palette-phone .share-period h2{font-size:38px}.palette-phone .share-download{background:none!important;box-shadow:none!important}
/* Phone previews are non-interactive; the real gallery controls demonstrate press depth. */
.palette-phone :is(button,input,select,textarea,summary){pointer-events:none}
.palette-inspect:hover{filter:brightness(1.035);transform:translateY(-1px)}
.palette-inspect:active{transform:translateY(3px);filter:brightness(.98);box-shadow:inset 0 2px 4px var(--shade),inset 0 1px var(--glint),0 1px 0 var(--button-edge)!important}
.palette-lab :is(.palette-screen-tabs button,.palette-quick-switch button,.palette-return,.palette-all):active{transform:translateY(2px)}
/* Website reference: existing Control V2 colors, fonts and primary treatment.
   apps/scriptoolz-web/app/projects/product.module.css:2948-3068. */
.palette-option[data-palette=scriptoolz] .palette-phone :is(.surface,.project-card,.suite-row,.player-library-card,.choice){background:linear-gradient(155deg,#131E34ED,#0B1220F2)!important;box-shadow:inset 0 1px #FFFFFF08,0 10px 24px #00000020!important;border-color:#CDD3ED21!important}
.palette-option[data-palette=scriptoolz] .palette-phone :is(.suite-button,.icon-button,.nav-item,.project-action,.period-options button){background:#FFFFFF0B!important;box-shadow:inset 0 1px #FFFFFF08,0 3px 9px #00000018!important;border-color:#D2DAF438!important;color:#E7E7EF!important}
.palette-option[data-palette=scriptoolz] .palette-phone :is(.primary,.period-options button[aria-pressed=true]),.palette-option[data-palette=scriptoolz] .palette-inspect{background:linear-gradient(105deg,#C2B6FF 0%,#88C9E0 68%,#E8B0AE 128%)!important;color:#080A13!important;border-color:#C2B6FF70!important;box-shadow:0 13px 34px #5463AE38,inset 0 1px #FFFFFF8C!important;text-shadow:none}
.palette-option[data-palette=scriptoolz] .palette-phone .library-tabs{background:none!important;border:0;box-shadow:none!important;padding:0;gap:8px}
.palette-option[data-palette=scriptoolz] .palette-phone .library-tabs button{border:1px solid #383B54;background:#181C2D!important;color:#C8C3D9!important;box-shadow:inset 0 1px #FFFFFF08!important}
.palette-option[data-palette=scriptoolz] .palette-phone .library-tabs .selected{border-color:#AA96EC;background:#292339!important;color:#F2EFF6!important}
.palette-option[data-palette=scriptoolz] .palette-phone .view-toggle{background:#0B101C!important;box-shadow:inset 0 1px #FFFFFF08!important}
.palette-option[data-palette=scriptoolz] .palette-phone .view-toggle button[aria-pressed=true]::before{background:#242338!important;box-shadow:inset 0 0 0 1px #63558470!important}
.palette-option[data-palette=scriptoolz] .palette-phone .bottom-nav{background:#0B101C!important;border-color:#2B3043!important;box-shadow:inset 0 1px #FFFFFF08,0 -8px 25px #00000018!important}
.palette-option[data-palette=scriptoolz] .palette-phone .nav-item.active{background:linear-gradient(90deg,#9788EF2E,#9788EF0D)!important;color:#F2EFF6!important;border-color:#8270B570!important;box-shadow:inset 0 1px #C2B6FF26,0 4px 12px #00000020!important}
.palette-option[data-palette=scriptoolz] .palette-phone .nav-item.active::before{content:'';position:absolute;left:0;top:calc(50% - 11px);width:2px;height:22px;border-radius:10px;background:linear-gradient(180deg,#A897FF,#63CBDC);box-shadow:0 0 12px #8D7CEB66}
.palette-option[data-palette=scriptoolz] .palette-phone .nav-item.active svg{color:#D3C8F5!important}
.palette-option[data-palette=scriptoolz] .palette-phone .project-state{background:#101626D9!important;color:#C1C5D2!important;border-color:#CDD3ED26!important}
.palette-option[data-palette=scriptoolz] .palette-phone .project-state i{background:#E8BA72!important;box-shadow:0 0 0 3px #E8BA721A}
.palette-option[data-palette=scriptoolz] .palette-phone .project-state[data-tone=pending] i{background:#B1A1EB!important;box-shadow:0 0 0 3px #B1A1EB1A}
.palette-option[data-palette=scriptoolz] .palette-inspect:active{transform:translateY(1px);box-shadow:0 3px 12px #5463AE26,inset 0 1px 3px #55658A40!important}
@media(max-width:1140px){.palette-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:810px;margin:auto;gap:35px 26px}.palette-controls>p{display:none}.palette-heading h1 br{display:block}.palette-heading h1 em{margin-left:0}.palette-grid.is-focused{grid-template-columns:minmax(0,390px)}}
@media(max-width:620px){body.palette-lab{padding:25px 20px}.palette-heading{align-items:flex-start;flex-direction:column;gap:15px}.palette-heading h1{font-size:38px;letter-spacing:-1.7px}.palette-heading h1 br{display:none}.palette-heading h1 em{margin-left:.13em;letter-spacing:-2px}.palette-kicker{font-size:8px;margin-bottom:12px}.palette-subtitle{font-size:11px}.palette-subtitle br{display:none}.palette-return{padding:9px 12px;font-size:10px}.palette-controls{margin-top:22px;padding-top:18px;flex-wrap:wrap;gap:12px}.palette-screen-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.palette-screen-tabs button{padding-inline:8px;font-size:10px}.palette-option-heading{gap:7px}.palette-option-heading h2{font-size:18px}.palette-option-heading p{font-size:8px}.palette-swatches span{width:10px;height:10px}.palette-option-footer{padding:13px 12px 15px;border-radius:15px}.palette-option-footer p{font-size:10px;min-height:48px}.palette-inspect{min-height:41px;font-size:10px}.palette-grid{gap:29px 18px}.palette-number{font-size:10px}.palette-page-note{font-size:9px}}
@media(max-width:520px){.palette-grid{grid-template-columns:minmax(0,375px);justify-content:center;gap:32px}.palette-option-heading h2{font-size:23px}.palette-option-heading p{font-size:10px}.palette-number{font-size:12px}.palette-swatches span{width:14px;height:14px}.palette-option-footer p{font-size:11px;min-height:0}.palette-option-footer{margin-top:18px}.palette-grid.is-focused .palette-option-footer{display:block}.palette-grid.is-focused .palette-inspect{width:100%;margin-top:14px}.palette-heading h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){.palette-lab *{transition:none!important;scroll-behavior:auto!important}.palette-inspect:hover{transform:none}}

@font-face{font-family:Onest;src:url('/cabinet/assets/Onest-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:Commissioner;src:url('/cabinet/assets/Commissioner-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:Literata;src:url('/cabinet/assets/Literata-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--app-height:100dvh;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}
html,body{margin:0;width:100%;height:100%;overflow:hidden}body.palette-option{display:block;padding:0;background:var(--bg);color:var(--ink);font:14px/1.5 Onest,sans-serif;letter-spacing:normal}
body .mobile-app.device{display:flex;flex-direction:column;width:100%!important;max-width:none!important;height:var(--app-height)!important;max-height:none!important;min-height:0;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;background:var(--bg)!important;color:var(--ink);padding-top:var(--safe-top)}
body .mobile-app.device[data-loading=true]{padding-top:0}
.mobile-app[data-loading=true] .suite-body{padding:0;overflow:hidden;-webkit-mask-image:none;mask-image:none}
.mobile-app[data-loading=true] .auth-loading{width:100%;min-height:100%}
.mobile-app .suite-body{flex:1;overflow:auto;overscroll-behavior:contain;min-height:0;min-width:0;padding:18px 20px 36px;scroll-padding-block:18px 36px;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 16px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 16px,#000 calc(100% - 24px),transparent 100%);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.mobile-app .suite-header{flex:0 0 auto;height:auto;min-height:60px;padding:9px 20px;display:grid;grid-template-columns:44px 1fr 44px;gap:8px}.mobile-app .suite-header h1{margin:0;text-align:center;line-height:1.2;font-size:21px!important;overflow-wrap:anywhere}
.mobile-app .suite-header .icon-button{width:44px;height:44px}.mobile-app .suite-footer{flex:0 0 auto;padding:8px 20px 10px;background:var(--bg)}.mobile-app .suite-footer:empty{display:none}
.mobile-app .bottom-nav{box-sizing:border-box;position:relative;inset:auto;transform:none;flex:0 0 84px;align-self:stretch;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);align-items:stretch;justify-items:stretch;gap:8px;margin:14px 16px calc(10px + var(--safe-bottom));width:auto;min-width:0;padding:8px;height:84px;min-height:84px;max-height:84px;border-width:1px;border-style:solid;border-radius:26px!important;isolation:isolate}
.mobile-app .bottom-nav .nav-item{box-sizing:border-box;position:relative;inset:auto;transform:none;display:grid;grid-template-rows:22px auto;align-content:center;justify-items:center;gap:5px;width:100%;min-width:0;height:100%;min-height:0;max-height:none;margin:0;padding:6px 8px;border-width:1px;border-style:solid;border-radius:18px!important;line-height:1.2;text-align:center}
.mobile-app .bottom-nav .nav-item svg{display:block;width:22px;height:22px;margin:0}.mobile-app .bottom-nav .nav-item span{display:block;margin:0;white-space:nowrap}
body.palette-option .mobile-app .bottom-nav .nav-item:not(.active){box-shadow:inset 0 1px var(--rim),inset 0 -1px var(--border),0 2px 0 var(--border),0 6px 10px -5px var(--shade)!important}
.mobile-app .bottom-nav .nav-item:active{transform:translateY(1px)}
.mobile-app :is(button,input,select,textarea,summary){pointer-events:auto!important;touch-action:manipulation}.mobile-app button{font-family:Onest,sans-serif;cursor:pointer}.mobile-app button:disabled{opacity:.45}.mobile-app :is(input,select,textarea){font-size:16px!important;color:var(--ink);background:var(--surface);border:1px solid var(--control);border-radius:12px;padding:12px;width:100%;min-height:46px}.mobile-app textarea{min-height:110px;resize:vertical}.mobile-app input[type=checkbox],.mobile-app input[type=radio]{width:21px;min-height:21px;accent-color:var(--accent);flex-shrink:0}
.mobile-app label.field{display:grid;gap:7px;margin:0 0 17px}.mobile-app label.field>span{font-size:12px;color:var(--muted)}.mobile-app .stack{display:grid;gap:13px}.mobile-app .surface{padding:17px;border-radius:19px;border:1px solid var(--border)}.mobile-app .surface h2,.mobile-app .surface h3{margin-top:0}.mobile-app .primary,.mobile-app .suite-button{min-height:46px;padding:12px 17px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;font-size:13px}.mobile-app .primary svg,.mobile-app .suite-button svg{width:18px;height:18px}
.mobile-app .library-toolbar{grid-template-columns:auto minmax(0,1fr) 44px;gap:8px;margin-bottom:21px}.mobile-app .library-toolbar .primary{padding-inline:8px;font-size:11px;min-height:44px}.mobile-app .view-toggle button{min-width:41px}.mobile-app .library-tabs{display:flex;flex-shrink:0}.mobile-app .library-tabs button{flex:1;min-height:44px}
.mobile-app .project-rail{display:flex;flex:none;min-height:0;overflow-x:auto;overflow-y:hidden;padding-bottom:18px;margin-inline:-20px;padding-inline:20px;align-items:stretch;gap:16px}.mobile-app .project-card{width:calc(100vw - 85px)!important;max-width:350px!important;flex:0 0 auto}.mobile-app .project-cover-button{width:100%}.mobile-app .project-cover{aspect-ratio:3/4}.mobile-app .project-card .project-heading h2{font-size:29px;overflow-wrap:anywhere}.mobile-app .project-details .icon-button{min-width:40px}.mobile-app .project-details>p{min-height:15px}
.mobile-app .project-rail[data-layout=grid]{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:0;gap:12px;overflow:visible}.mobile-app .project-rail[data-layout=grid] .project-card{width:100%!important;max-width:none!important;min-width:0}.mobile-app .project-rail[data-layout=grid] .project-heading{left:11px;right:11px;bottom:15px}.mobile-app .project-rail[data-layout=grid] .project-heading h2{font-size:20px}.mobile-app .project-rail[data-layout=grid] .project-action{padding:8px;font-size:10px}.mobile-app .project-rail[data-layout=grid] .project-details{padding:10px}.mobile-app .project-rail[data-layout=grid] .project-state{top:8px;left:8px;font-size:8px;padding:5px;max-width:calc(100% - 12px)}
body.palette-option .mobile-app .project-state[data-tone=source] i{background:#56D9A0!important;box-shadow:0 0 0 3px #56D9A01F,0 0 10px #56D9A080!important}body.palette-option .mobile-app .project-state[data-tone=source]{color:#D9F8E9!important;background:#082C26DC!important;border-color:#4FAC8866!important}
.mobile-app .art-crop img{width:100%;height:100%;object-fit:cover;inset:0;transform:none}.mobile-app .project-cover .art-crop{position:absolute;inset:0}.mobile-app .cover-placeholder{min-height:inherit;position:relative;overflow:hidden;display:grid;place-items:center}.mobile-app .cover-placeholder span{position:relative;z-index:1;font:500 38px var(--display);color:var(--accent-ink)!important}.mobile-app .cover-placeholder i{position:absolute;inset:10%;border:1px solid var(--border);transform:rotate(24deg);border-radius:16px}.mobile-app .cover-placeholder i+i{transform:rotate(-31deg)}
.mobile-app .wide-cover{height:195px;width:100%;border-radius:19px;overflow:hidden}.mobile-app .project-mini h2{font-family:var(--display);margin:0 0 4px;font-size:20px}.mobile-app .project-mini p{margin:0}.mobile-app .mini-cover{width:55px;flex-basis:55px;height:70px}.mobile-app .project-tabs{display:flex;gap:7px;margin:21px 0}.mobile-app .project-tabs button{flex:1;min-height:42px}
.mobile-app .notice{border:1px solid var(--control);background:var(--accent-soft);color:var(--ink);padding:13px 15px;border-radius:13px;font-size:12px;line-height:1.6}.mobile-app .notice.error{border-color:#BF625A}.mobile-app .connection{padding:8px 20px;flex:0 0 auto;font-size:11px;color:var(--ink);background:var(--accent-soft)}.mobile-app .connection button{margin-left:9px;color:inherit;background:none;border:0;text-decoration:underline;min-height:30px}.mobile-app .empty{text-align:center;padding:40px 10px}.mobile-app .empty>svg{width:44px;height:44px;color:var(--accent-ink)}.mobile-app .empty h2{font:550 27px var(--display);margin:15px 0}.mobile-app .empty p{color:var(--muted);line-height:1.6}.mobile-app .note,.mobile-app .caption{font-size:12px;line-height:1.6;color:var(--muted)}.mobile-app .section-label{font-size:12px;margin:24px 0 12px;color:var(--muted);font-weight:450}
.mobile-app .chips{display:flex;gap:7px;flex-wrap:wrap}.mobile-app .chips button{min-height:37px;padding:7px 11px;border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:11px;font-size:11px}.mobile-app .chips button[aria-pressed=true]{background:var(--accent-soft);color:var(--ink);border-color:var(--control)}.mobile-app .progress-bar{height:5px;background:var(--soft);border-radius:8px;overflow:hidden;margin:14px 0}.mobile-app .progress-bar>i{display:block;height:100%;background:var(--accent);width:var(--progress,0%)}.mobile-app .metric{font:600 27px var(--display)}.mobile-app .row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-app .row-between>*{min-width:0}.mobile-app .row-between small{color:var(--muted)}.mobile-app .choice{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:13px;padding:12px}.mobile-app .choice strong{display:block;font-size:13px}.mobile-app .choice small{display:block;font-size:11px;color:var(--muted)}.mobile-app .form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-app .source-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.65 var(--display);background:var(--soft);border-left:2px solid var(--accent);padding:14px;border-radius:8px}
.mobile-app .player-art{width:min(65vw,260px);height:min(72vw,290px);margin:12px auto 23px;border-radius:23px}.mobile-app .player-title{font:600 27px var(--display);text-align:center;color:var(--ink);margin:0 0 7px}.mobile-app .player-subtitle{text-align:center;color:var(--muted);font-size:13px}.mobile-app .player-seek{padding:0;height:30px;min-height:30px;border:0;accent-color:var(--accent);background:none}.mobile-app .time-row{color:var(--muted);font-size:12px}.mobile-app .player-controls{gap:27px;margin:20px 0}.mobile-app .play-main{height:69px;width:69px;min-height:69px;border-radius:50%;padding:0}.mobile-app .player-controls .icon-button{height:47px;width:47px}.mobile-app .player-tools{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mobile-app .player-library-title{font-size:23px!important}
.mobile-app .theme-options{display:grid;gap:18px;padding:3px 2px 10px;min-width:0}
.mobile-app .theme-card{box-sizing:border-box;position:relative;display:block;width:100%;min-width:0;max-width:100%;margin:0;border:2px solid var(--border);border-radius:21px;padding:16px;background:var(--bg);color:var(--ink);text-align:left;cursor:pointer;box-shadow:inset 0 1px var(--rim),inset 0 -1px var(--border),0 2px 0 var(--border),0 8px 16px -10px var(--shade);transition:transform .12s ease,box-shadow .12s ease}
.mobile-app .theme-card[aria-checked=true]{outline:none;border-color:var(--control);box-shadow:inset 0 0 0 1px var(--control),inset 0 2px var(--rim),0 2px 0 var(--border),0 9px 18px -10px var(--shade)}
.mobile-app .theme-card:focus-visible{outline-offset:-5px}.mobile-app .theme-card:active{transform:translateY(1px)}
.mobile-app .theme-card .theme-preview{box-sizing:border-box;display:flex;gap:10px;align-items:center;padding:14px 14px 16px;min-width:0;border:1px solid var(--border);border-radius:13px;background:var(--surface);margin-top:12px;box-shadow:inset 0 1px var(--rim),inset 0 -1px var(--border)}
.mobile-app .theme-card .theme-preview>span{flex:1;min-width:0;font-family:var(--display)}.mobile-app .theme-card .theme-preview>i{display:block;flex:0 0 55px;height:30px;width:55px;border:1px solid var(--button-top);border-bottom-color:var(--button-edge);border-radius:9px;background:linear-gradient(135deg,var(--button-top),var(--button-bottom));box-shadow:inset 0 1px var(--glint),0 3px var(--button-edge),0 6px 9px -4px var(--shade)}.mobile-app .theme-card small{font-size:10px;color:var(--muted)}
.modal-layer{position:fixed;inset:0;z-index:100;background:#0009;display:flex;align-items:flex-end;justify-content:center;padding:15px 15px calc(15px + var(--safe-bottom));backdrop-filter:blur(5px)}.modal-sheet.palette-phone{width:100%;max-width:480px;max-height:85dvh;overflow:auto;background:var(--surface);color:var(--ink);padding:24px;border:1px solid var(--control);border-radius:24px;box-shadow:0 20px 60px #0008}.modal-sheet h2{margin:0 0 13px;font:550 23px var(--display);color:var(--ink)}.modal-sheet p{color:var(--muted);line-height:1.6;font-size:13px}.modal-sheet .stack{display:grid;gap:10px}.modal-sheet button{pointer-events:auto!important;min-height:46px;width:100%}.modal-sheet .primary,.modal-sheet .suite-button{padding:13px;border-radius:13px}.toast{position:fixed;bottom:calc(94px + var(--safe-bottom));left:20px;right:20px;z-index:130;background:var(--surface);color:var(--ink);border:1px solid var(--control);border-radius:14px;padding:15px;font-size:13px;box-shadow:0 10px 35px #0005}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.boot{margin:auto;text-align:center;color:var(--muted)}
body.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}:focus-visible{outline:3px solid var(--accent-ink)!important;outline-offset:3px}button,summary{-webkit-tap-highlight-color:transparent}svg{flex-shrink:0}
@media(min-width:700px){.mobile-app .suite-body{padding-inline:max(24px,calc((100vw - 700px)/2))}.mobile-app .bottom-nav{width:420px;align-self:center}.mobile-app .project-rail{margin:0;padding-inline:0}.mobile-app .project-card{width:300px!important}.mobile-app .suite-footer{padding-inline:max(24px,calc((100vw - 700px)/2))}}@media(max-width:359px){.mobile-app .suite-body{padding-inline:15px}.mobile-app .library-toolbar{gap:5px;grid-template-columns:auto minmax(0,1fr) 40px}.mobile-app .library-toolbar .primary{font-size:10px}.mobile-app .view-toggle button{min-width:35px}.mobile-app .nav-item{font-size:10px}}

.source-dot{display:block;width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#56D9A0!important;box-shadow:0 0 0 3px #56D9A01F,0 0 10px #56D9A080!important}.player-feedback{min-height:19px}.mobile-app[aria-busy=true]{cursor:progress}

.mobile-app .project-cover>.cover-placeholder{position:absolute;inset:0;width:100%;height:100%}.mobile-app .project-cover>.cover-placeholder>span{opacity:.2;font-size:80px}

body.keyboard-open .mobile-app .bottom-nav{display:none!important}.mobile-app .suite-body :is(h2,h3,strong,p,.row-copy){overflow-wrap:anywhere}.mobile-app .project-mini>div:last-child{min-width:0}.mobile-app .row-copy{min-width:0}

.mobile-app .suite-header h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.mobile-app .project-heading h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.mobile-app .project-heading p,.mobile-app .project-details>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.mobile-app .player-title{overflow-wrap:anywhere}

body.palette-option .mobile-app .cover-placeholder span{inset:auto;transform:none}body.palette-option .mobile-app .player-controls .play-main{border-radius:50%!important}.mobile-app [hidden]{display:none!important}.mobile-app .player-library-card{margin-bottom:16px}.mobile-app .suite-row{margin-block:8px;border-radius:16px;padding:14px;min-height:62px;border:1px solid var(--border);box-shadow:inset 0 1px var(--rim)}.mobile-app .player-retry{margin-bottom:12px}
.modal-sheet :is(.primary,.suite-button){display:flex;align-items:center;justify-content:center;text-align:center;font-family:Onest,sans-serif;line-height:1.3}.modal-sheet .source-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}
.mobile-app .reading-metadata{display:grid;gap:5px;margin-top:13px}.mobile-app .reading-metadata strong{font-size:14px}.mobile-app .reading-metadata small{font-size:11px;line-height:1.45;color:var(--muted)}.mobile-app .reading-ready-actions{display:grid;gap:9px}.mobile-app .reading-ready-actions>.secondary{background:var(--surface);color:var(--accent);border-color:var(--control)}
.mobile-app .projects-topline{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:18px}.mobile-app .projects-topline .library-tabs{min-width:0;margin-bottom:0!important}.mobile-app .projects-avatar-link{width:48px;height:48px;padding:0;border:1px solid var(--control);border-radius:50%;background:var(--surface);overflow:hidden}.mobile-app .projects-avatar,.mobile-app .profile-avatar{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-weight:650}.mobile-app .projects-avatar{width:100%;height:100%;font-size:20px}.mobile-app .profile-avatar{width:64px;height:64px;flex:none;font-size:25px}.mobile-app :is(.projects-avatar,.profile-avatar) img{display:block;width:100%;height:100%;object-fit:cover}.mobile-app .profile-summary{display:flex;align-items:center;justify-content:space-between;gap:14px}.mobile-app .profile-summary>div{min-width:0}.mobile-app .profile-summary h2{margin:0 0 5px}.mobile-app .profile-summary p{margin:0}.mobile-app .profile-media-field{display:grid;gap:10px;margin:0 0 20px;color:var(--muted);font-size:12px}.mobile-app .profile-media-picker{display:flex;align-items:center;gap:16px;min-width:0}.mobile-app .profile-media-picker>div{display:grid;gap:8px;min-width:0}.mobile-app .profile-media-select{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1px solid var(--control);border-radius:12px;color:var(--ink);background:var(--surface);font-size:13px;cursor:pointer}.mobile-app .profile-media-select input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.mobile-app .profile-media-picker .secondary{min-height:38px;padding:7px 11px;font-size:12px}.mobile-app .profile-media-field small{line-height:1.5}
/* Project material tiles and focused, centred viewing. */
.material-tile{display:block;width:100%;padding:0;overflow:hidden;border:1px solid #ffffff20;border-radius:20px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer}.material-tile strong{display:block;padding:15px 18px;font-size:17px}.material-thumbnail{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;width:100%;overflow:hidden;background:#19191c;pointer-events:none}.material-thumbnail>svg{width:36px;height:36px}.material-thumbnail canvas,.material-thumbnail video,.material-thumbnail img{width:100%;height:100%;object-fit:contain}.material-tile+.material-tile{margin-top:18px}
.modal-layer.material-layer{align-items:center;padding:24px}.material-layer .material-sheet.palette-phone{width:min(1100px,100%);max-width:1100px;max-height:calc(100dvh - 48px);padding:20px;display:flex;flex-direction:column;overflow:hidden;margin:0}.material-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}.material-header h2{margin:0;font-size:22px}.material-header .material-close{width:40px;min-width:40px;height:40px;min-height:40px;padding:10px;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:50%;background:#ffffff0d;box-shadow:none;outline:none}.material-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.material-close:focus-visible{background:#ffffff35}.material-stage{min-height:0;overflow:auto;display:flex;justify-content:center;margin-top:18px}.material-stage video,.material-stage canvas,.material-stage img{max-width:100%;max-height:calc(100dvh - 210px);object-fit:contain;width:auto;height:auto}.material-stage video{width:100%}.material-controls{display:flex;align-items:center;justify-content:center;gap:20px;flex:none;padding-top:14px}.material-controls button{width:auto;min-width:80px;padding:8px 18px;border:1px solid #ffffff25;border-radius:24px;background:#ffffff0c;color:inherit}.material-controls button:disabled{opacity:.3}.material-controls [data-page]{white-space:nowrap}.source-excerpt{white-space:pre-wrap}
.cover-menu{position:relative;width:100%}.cover-menu summary{list-style:none;cursor:pointer;text-align:center;padding:15px;border-radius:28px;background:#ffffff0c;border:1px solid #ffffff20}.cover-menu summary::-webkit-details-marker{display:none}.cover-menu>div{display:flex;gap:12px;padding:12px}.cover-replace{position:relative;display:grid;place-items:center;flex:1;overflow:hidden;border:1px solid #ffffff25;border-radius:24px;cursor:pointer}.cover-replace input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.cover-menu>div>button{flex:1}.field[hidden]{display:none!important}
.project-card{position:relative}.project-reorder{position:absolute;z-index:3;right:12px;bottom:12px;display:flex;gap:6px;opacity:0;transition:opacity .18s}.project-card:hover .project-reorder,.project-card:focus-within .project-reorder{opacity:1}.project-reorder button{width:36px;height:32px;border-radius:16px;background:#242323ef;color:#eee6d9;border:1px solid #ede4d044;cursor:pointer}.project-reorder button:disabled{opacity:.25;cursor:default}@media(hover:none){.project-reorder{opacity:1}}@media(max-width:600px){.material-layer{padding:12px!important}.material-layer .material-sheet.palette-phone{padding:14px;max-height:calc(100dvh - 24px)}}

.material-layer .material-header{position:static;top:auto;padding:0;margin:0;background:transparent}.material-layer .material-close{outline:none;box-shadow:none}.material-layer .material-close svg{width:20px;height:20px}.material-layer .material-close:focus-visible{background:#ffffff35;outline:none;box-shadow:none}

.material-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.material-grid .material-tile{margin:0}

/* Loading occupies the available screen without shifting navigation. */
.mobile-app .suite-body>.brand-loading{box-sizing:border-box;min-height:100%;padding:0;display:grid;place-items:center}
.mobile-app .brand-loading .launch-brand{display:grid;justify-items:center;gap:12px}
.mobile-app .brand-loading .launch-brand img{width:96px;height:96px;object-fit:contain}
.mobile-app .auth-loading .brand-loading{box-sizing:border-box;width:100%;min-height:100%;padding:0}
.mobile-app .player-feedback[hidden]{display:none}

/* Management controls are separate touch targets, including direct siblings. */
.mobile-app .suite-body > :is(.suite-button,.suite-primary,.primary) + :is(.suite-button,.suite-primary,.primary,.surface),
.mobile-app .suite-body > .surface + :is(.suite-button,.suite-primary,.primary){margin-top:14px}
body.palette-option .mobile-app .tone-archive{background:linear-gradient(145deg,#244638,#17372c)!important;color:#a0edc4!important;border-color:#56d9a050!important}
.mobile-app .generation-tabs{display:flex;flex-wrap:wrap;gap:10px}
.mobile-app .generation-tabs button{min-width:0;flex:1;font-size:12px;padding-inline:10px}
.mobile-app .bottom-nav .nav-count{position:absolute;top:7px;left:calc(50% + 7px);display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border-radius:10px;background:#56d9a0;color:#07271a;font-size:10px;font-weight:700;line-height:1}
body.palette-option .mobile-app button.suite-button.tone-archive{background:linear-gradient(145deg,#244638,#17372c)!important;color:#a0edc4!important;border-color:#56d9a050!important}
.mobile-app .reading-ready-actions{gap:14px}
.mobile-app .suite-body > .reading-ready-actions,
.mobile-app .suite-body > .reading-ready-actions + .suite-button{margin-top:14px}

.dreamcast{margin:24px 0}.dreamcast h2{font-size:20px;margin:0}.dreamcast-add{width:auto;min-width:48px;padding:10px 16px}.dreamcast-rail{display:flex;gap:18px;overflow-x:auto;padding:18px 0}.dreamcast figure{margin:0;flex:0 0 112px;text-align:center}.dreamcast img,.dreamcast-photo{width:112px;height:144px;object-fit:cover;border-radius:20px;background:var(--surface)}.dreamcast figcaption{display:grid;gap:5px;margin-top:10px;font-size:15px}.dreamcast figcaption span{font-size:13px;color:var(--muted)}.dreamcast-editor{max-height:88dvh;overflow-y:auto;padding:24px}.dreamcast-fields{display:grid;gap:12px}.dreamcast-editor .row-between button{border-radius:18px;padding:9px;color:var(--accent);background:var(--surface)}.actor-results{display:grid;gap:10px;margin-top:16px}.actor-results button{display:flex;align-items:center;gap:14px;text-align:left;padding:10px;border-radius:16px;background:var(--surface);color:var(--ink)}.actor-results img{width:52px;height:68px;object-fit:cover;border-radius:12px}

.dreamcast-editor-header{position:relative;display:flex;align-items:center;min-height:44px;padding-right:48px;margin-bottom:16px}.dreamcast-editor-header h2{margin:0}.modal-sheet button.dreamcast-close{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;width:36px;min-height:36px;padding:6px;border:0;border-radius:50%;background:transparent;color:var(--muted)}.dreamcast-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}.dreamcast-role-top{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:16px;align-items:center}.dreamcast-role-top .field{margin:0}.dreamcast-avatar{width:64px;height:64px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--soft);color:var(--muted)}.dreamcast-avatar img{width:100%;height:100%;object-fit:cover}.dreamcast-avatar svg{width:28px;height:28px}.dreamcast-actor-name{margin:12px 0;color:var(--muted)}.actor-search-dialog{max-height:88dvh;min-height:50dvh;overflow-y:auto;padding:24px}.actor-search-dialog .actor-results{margin-top:16px}

/* Dreamcast dialogs reuse palette visuals, but their fields are live controls. */
.modal-sheet:is(.dreamcast-editor,.actor-search-dialog) :is(input,select,textarea){pointer-events:auto!important;touch-action:manipulation;font-size:16px!important}

/* Keep mobile material dialogs below the iPhone status bar. */
@media(max-width:600px){
 .modal-layer.material-layer:not(.reader-layer){box-sizing:border-box;height:100dvh;padding:calc(max(52px,var(--safe-top)) + 12px) 12px calc(var(--safe-bottom) + 12px)!important}
 .material-layer:not(.reader-layer) .material-sheet.palette-phone{max-height:100%}
}

.material-fullscreen{margin-left:auto;width:auto;min-width:0;padding:8px 14px;border:1px solid #ffffff40;border-radius:24px;background:#ffffff0d;color:inherit;white-space:nowrap}
.material-sheet:fullscreen,.material-sheet.material-expanded{box-sizing:border-box;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;background:#151515;padding:20px!important;margin:0!important}
.material-sheet:-webkit-full-screen{box-sizing:border-box;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;border-radius:0!important;background:#151515;padding:20px!important;margin:0!important}
.material-sheet.material-expanded{position:fixed;inset:0;z-index:1000}
.material-sheet:fullscreen .material-stage,.material-sheet.material-expanded .material-stage{flex:1}
.material-sheet:-webkit-full-screen .material-stage{flex:1}
.material-sheet:fullscreen .material-stage video,.material-sheet:fullscreen .material-stage canvas,.material-sheet.material-expanded .material-stage video,.material-sheet.material-expanded .material-stage canvas{max-height:calc(100dvh - 140px)}
.material-sheet:-webkit-full-screen .material-stage video,.material-sheet:-webkit-full-screen .material-stage canvas{max-height:calc(100vh - 140px)}

.mobile-app .bottom-nav .nav-item .nav-count{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;min-width:18px;height:18px;padding:0 4px!important;margin:0!important;border-radius:999px;font:700 11px/1 Onest,sans-serif!important;text-align:center;transform:none!important}

.project-generation-indicator{position:absolute;z-index:4;right:14px;bottom:52px;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #dac5ff88;border-radius:16px;color:#fff;font:600 11px/1.15 Onest,sans-serif;background:linear-gradient(110deg,#7359c4,#a34487,#306c65,#7359c4);background-size:260% 100%;box-shadow:0 2px 12px #9064bd33;cursor:pointer;animation:project-generation-glow 5s ease-in-out infinite}
.generation-wave{display:flex;align-items:center;gap:2px;height:13px}.generation-wave i{width:2px;height:6px;border-radius:2px;background:currentColor;animation:project-generation-wave 1.6s ease-in-out infinite}.generation-wave i:nth-child(2){height:12px;animation-delay:.2s}.generation-wave i:nth-child(3){height:8px;animation-delay:.4s}
@keyframes project-generation-glow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes project-generation-wave{0%,100%{transform:scaleY(.6)}50%{transform:scaleY(1)}}
.project-generation-indicator.is-stale,.project-generation-indicator.is-stale i,body.reduce-motion .project-generation-indicator,body.reduce-motion .generation-wave i{animation:none}
@media(prefers-reduced-motion:reduce){.project-generation-indicator,.generation-wave i{animation:none}}
.mobile-app .project-rail[data-layout=grid] .project-generation-indicator{right:10px;bottom:48px;padding:7px;border-radius:50%;width:28px;height:28px;justify-content:center}.mobile-app .project-rail[data-layout=grid] .project-generation-indicator>span:last-child{display:none}
/* Separate independent account actions at every viewport width. */
.mobile-app .profile-session-actions{display:grid;gap:12px;margin-top:20px;margin-bottom:24px}
.mobile-app .profile-session-actions .suite-button{margin:0;width:100%}

/* Themes change colors and finish; approved geometry and typography are shared. */
body.palette-option .mobile-app,body.palette-option .modal-sheet{--display:Onest,sans-serif;--display-weight:600;--display-tracking:-.55px;--button-radius:999px}
body.palette-option .mobile-app :is(.view-toggle,.row-icon,.library-tabs button,.ready-reading-open),body.palette-option .mobile-app .bottom-nav .nav-item{border:0!important}
/* Mobile refinement approved 2026-09-29: black, lilac and quiet material depth. */
.palette-option[data-palette=scriptoolz]{
 --bg:#000;--surface:#141416;--soft:#0C0C0E;--raised:#242427;
 --border:#FFFFFF12;--control:#45424F;--ink:#F5F5F7;--muted:#A5A2AD;
 --accent:#BFA9FA;--accent-ink:#C8B5FF;--accent-soft:#24202F;
 --on-accent:#1D142D;--illustration:#24202D;--wash:#BFA9FA0B;
 --button-top:#DACDFF;--button-bottom:#B49AE9;--button-edge:#8A71B8;
 --rim:#FFFFFF0D;--glint:#FFFFFF66;--shade:#00000080;
 --display:Onest,sans-serif;--display-weight:600;--display-tracking:-.55px;
 --button-radius:999px;
}
body.palette-option{font-size:15px}
body.palette-option[data-palette=scriptoolz]{-webkit-font-smoothing:antialiased}
body.palette-option .mobile-app .suite-body{padding:20px 22px 28px;scroll-padding-block:20px 28px}
body.palette-option .mobile-app .suite-header{min-height:66px;padding:10px 22px}
body.palette-option .mobile-app .suite-header h1{font-size:23px!important;font-weight:600!important;letter-spacing:-.65px}
body.palette-option .mobile-app .suite-footer{padding:12px 22px 6px}
body.palette-option .palette-phone :is(.surface,.suite-row,.player-library-card,.choice,.share-file,.shared-reading){border-radius:22px}
body.palette-option[data-palette=scriptoolz] .palette-phone :is(.surface,.suite-row,.player-library-card,.choice,.share-file,.shared-reading){background:var(--surface)!important;border-color:var(--border)!important;box-shadow:inset 0 1px 0 #FFFFFF06!important}
body.palette-option .mobile-app .surface{padding:20px}
body.palette-option .mobile-app .surface :is(h2,h3){font-family:Onest,sans-serif;font-size:19px;font-weight:600;letter-spacing:-.3px}
body.palette-option .mobile-app :is(.note,.caption,.section-label,.row-copy small){font-size:13px;line-height:1.5}
body.palette-option .mobile-app .section-label{margin:28px 0 14px;font-weight:500;letter-spacing:0}
body.palette-option .mobile-app .row-copy strong{font-size:16px;line-height:1.35;font-weight:550}
body.palette-option .mobile-app .suite-row{min-height:76px;padding:17px;margin-block:10px;gap:15px}
body.palette-option .palette-phone .row-icon{height:42px;width:42px;border-radius:14px}
body.palette-option[data-palette=scriptoolz] .palette-phone .row-icon{border:0;background:#26212F!important;box-shadow:none!important}
body.palette-option .palette-phone .row-icon svg{height:22px;width:22px}

/* Tactile controls: a highlight at the top, no stacked outline or colored glow. */
body.palette-option[data-palette=scriptoolz] .palette-phone :is(.suite-button,.icon-button,.project-action,.period-options button){background:linear-gradient(180deg,#29292C,#202023)!important;border:1px solid #FFFFFF0A!important;color:var(--ink)!important;box-shadow:inset 0 1px 1px #FFFFFF10,inset 0 -1px 1px #00000050,0 4px 10px #00000030!important}
body.palette-option .mobile-app :is(.primary,.suite-button){min-height:52px;padding:14px 20px;border-radius:26px;font-size:15px;font-weight:600;line-height:1.35}
body.palette-option .palette-phone :is(.primary,.period-options button[aria-pressed=true]){border-radius:999px;letter-spacing:-.15px}
body.palette-option[data-palette=scriptoolz] .palette-phone :is(.primary,.period-options button[aria-pressed=true]){background:linear-gradient(180deg,#D6C7FF 0%,#BDA5F2 100%)!important;border:1px solid #E9DFFF40!important;color:var(--on-accent)!important;box-shadow:inset 0 1px 1px #FFFFFF66,inset 0 -1px 1px #8269AF60,0 6px 20px #00000050!important;text-shadow:none}
body.palette-option[data-palette=scriptoolz] .palette-phone .primary svg{color:var(--on-accent)!important}
body.palette-option .mobile-app .suite-footer .primary{min-height:54px;font-size:16px}
body.palette-option .palette-phone :is(.primary,.suite-button,.icon-button):active:not(:disabled){transform:scale(.98)}
body.palette-option[data-palette=scriptoolz] .palette-phone :is(.primary,.suite-button,.icon-button):active:not(:disabled){filter:brightness(.94);box-shadow:inset 0 1px 3px #00000030!important}
body.palette-option[data-palette=scriptoolz] .palette-phone button:disabled{opacity:1;background:#171719!important;border-color:#FFFFFF08!important;color:#74717A!important;box-shadow:inset 0 1px #FFFFFF08!important}
body.palette-option[data-palette=scriptoolz] .palette-phone button:disabled svg{color:#74717A!important}
body.palette-option .palette-phone .icon-button{height:46px;width:46px;border-radius:50%!important}

/* One floating capsule. Only the selected destination has an inset surface. */
body.palette-option .mobile-app .bottom-nav{height:76px;min-height:76px;max-height:76px;flex-basis:76px;margin:16px 22px calc(10px + var(--safe-bottom));padding:5px;gap:0;border-radius:999px!important}
body.palette-option[data-palette=scriptoolz] .mobile-app .bottom-nav{border:1px solid #FFFFFF0D!important;background:linear-gradient(180deg,#29292C,#202022)!important;box-shadow:inset 0 1px 1px #FFFFFF22,inset 0 -1px 1px #FFFFFF08,0 8px 25px #00000055!important}
body.palette-option .mobile-app .bottom-nav .nav-item{grid-template-rows:25px auto;gap:4px;padding:6px 8px;font-size:11px;font-weight:500;border-radius:999px!important}
body.palette-option[data-palette=scriptoolz] .mobile-app .bottom-nav .nav-item{border:0!important;background:transparent!important;color:#D5D2DB!important}
body.palette-option[data-palette=scriptoolz] .mobile-app .bottom-nav .nav-item:not(.active){box-shadow:none!important}
body.palette-option[data-palette=scriptoolz] .mobile-app .bottom-nav .nav-item.active{background:linear-gradient(180deg,#09090B,#101012)!important;color:var(--accent-ink)!important;box-shadow:inset 0 1px 2px #00000088,0 1px 0 #FFFFFF05!important}
body.palette-option .mobile-app .bottom-nav .nav-item.active::before{content:none}
body.palette-option .mobile-app .bottom-nav .nav-item svg{width:25px;height:25px}
body.palette-option[data-palette=scriptoolz] .mobile-app .bottom-nav .nav-item svg{stroke-width:1.8;color:inherit!important}

/* Keep the library toolbar compact enough for a small iPhone. */
body.palette-option[data-palette=scriptoolz]:not(.owner-edition) .mobile-app :is(.suite-header h1,.surface h2,.surface h3,.project-heading h2,.row-copy strong,.player-library-title,.player-title,.section-label){color:var(--ink)!important}
body.palette-option[data-palette=scriptoolz]:not(.owner-edition) .palette-phone :is(.suite-button,.icon-button,.project-action,.period-options button,.row-icon){color:var(--accent-ink)!important}
body.palette-option[data-palette=scriptoolz]:not(.owner-edition) .palette-phone :is(.primary,.period-options button[aria-pressed=true]){color:var(--on-accent)!important}
body.palette-option[data-palette=scriptoolz]:not(.owner-edition) .palette-phone button:disabled{color:#74717A!important}

body.palette-option .mobile-app .library-tabs{min-height:50px;padding:4px;gap:3px;margin-bottom:18px;border-radius:25px}

body.palette-option[data-palette=scriptoolz] .mobile-app .library-tabs{background:#19191C!important;box-shadow:inset 0 1px #FFFFFF09!important}
body.palette-option .mobile-app .library-tabs button{min-height:42px;border-radius:22px;font-size:14px;font-weight:500}
body.palette-option[data-palette=scriptoolz] .mobile-app .library-tabs button{border:0!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important}
body.palette-option[data-palette=scriptoolz] .mobile-app .library-tabs button.selected{background:#303034!important;color:var(--ink)!important;box-shadow:inset 0 1px #FFFFFF11,0 2px 5px #00000035!important}
body.palette-option .mobile-app .library-toolbar{grid-template-columns:auto minmax(0,1fr) 46px;gap:10px;margin-bottom:14px;align-items:center}
body.palette-option .mobile-app .library-toolbar .primary{min-height:46px;height:46px;padding:0 12px;font-size:12px;gap:6px;border-radius:24px}
body.palette-option .mobile-app .view-toggle{height:46px;padding:4px;border-radius:24px}
body.palette-option[data-palette=scriptoolz] .mobile-app .view-toggle{border:0;background:#19191C!important;box-shadow:none!important}
body.palette-option .mobile-app .view-toggle button{min-height:38px;min-width:38px;padding-inline:6px;font-size:10px;border-radius:20px}
body.palette-option .mobile-app .view-toggle button[aria-pressed=true]::before{border-radius:20px}
body.palette-option[data-palette=scriptoolz] .mobile-app .view-toggle button[aria-pressed=true]::before{background:#353539!important;box-shadow:inset 0 1px #FFFFFF0B!important}
body.palette-option .mobile-app .project-tabs{gap:8px}
body.palette-option .mobile-app .project-tabs button{min-height:46px;font-size:14px;padding:11px 16px}

body.palette-option .palette-phone .project-card{border-radius:25px!important}

body.palette-option[data-palette=scriptoolz] .palette-phone .project-card{background:#151517!important;border:1px solid #FFFFFF18!important;box-shadow:inset 0 1px #FFFFFF09,0 18px 35px #00000070!important}
body.palette-option .mobile-app .project-details{padding:15px 17px 17px}
body.palette-option .mobile-app .project-details>p{font-size:12px;margin-bottom:12px}
body.palette-option .mobile-app .project-action{min-height:44px;padding:10px 15px;border-radius:22px;font-size:13px;font-weight:500}
body.palette-option .mobile-app .project-details .icon-button{height:44px;width:44px;min-width:44px}
body.palette-option .mobile-app .project-heading h2{font-size:30px;font-weight:600!important;letter-spacing:-1px!important}
body.palette-option .mobile-app .project-heading p{font-size:12px;line-height:1.4}
body.palette-option[data-palette=scriptoolz] .palette-phone .project-cover::after{background:linear-gradient(180deg,#0000000A,transparent 45%,#000000DA 100%)!important}
body.palette-option .mobile-app .project-rail[data-layout=grid] .project-heading h2{font-size:20px}
body.palette-option .mobile-app .project-rail[data-layout=grid] .project-details{padding:10px}
body.palette-option .mobile-app .project-rail[data-layout=grid] .project-action{font-size:10px;padding:8px}

body.palette-option .mobile-app :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){min-height:52px;border-radius:16px;padding:14px 15px}

body.palette-option[data-palette=scriptoolz] .mobile-app :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border-color:#3A3841!important;background:#171719!important;box-shadow:inset 0 1px 3px #00000020!important}
body.palette-option .mobile-app label.field>span{font-size:13px}
body.palette-option .mobile-app .chips button{min-height:44px;padding:11px 16px;font-size:13px;border-radius:24px}
body.palette-option[data-palette=scriptoolz] .mobile-app .chips button{background:#19191C;border-color:transparent}
body.palette-option[data-palette=scriptoolz] .mobile-app .chips button[aria-pressed=true]{background:#2D253D;color:var(--accent-ink);border-color:#BFA9FA28}
body.palette-option .mobile-app .choice{min-height:62px;padding:16px;font-size:14px}
body.palette-option .mobile-app .choice strong{font-size:14px}
body.palette-option .mobile-app .notice{font-size:14px;line-height:1.55;padding:18px;border-radius:20px}
body.palette-option[data-palette=scriptoolz] .mobile-app .notice{border:1px solid #BFA9FA18;background:#1A1721}
body.palette-option[data-palette=scriptoolz] .mobile-app .notice.error{border-color:#BF625A}
body.palette-option .mobile-app .empty{padding:50px 4px}
body.palette-option .mobile-app .empty h2{font-size:30px;line-height:1.2;letter-spacing:-.8px}
body.palette-option .mobile-app .empty p{font-size:16px;line-height:1.5;margin-bottom:28px}
body.palette-option .mobile-app .player-art{width:min(73vw,304px);height:min(82vw,342px);border-radius:28px;margin:18px auto 30px}
body.palette-option[data-palette=scriptoolz] .mobile-app .player-art{box-shadow:0 20px 45px #0008}
body.palette-option .mobile-app .player-title{font:600 29px/1.2 Onest,sans-serif;letter-spacing:-.8px}
body.palette-option .mobile-app .player-subtitle{font-size:15px;margin-top:10px}
body.palette-option .mobile-app:is([data-screen="player.reading"],[data-screen="demo.player"]) .suite-body{overflow:auto;overscroll-behavior:none;-webkit-mask-image:none;mask-image:none;padding:8px 22px}
body.palette-option .mobile-app:is([data-screen="player.reading"],[data-screen="demo.player"]) .reading-player{min-height:100%;display:flex;flex-direction:column;justify-content:center}
body.palette-option[data-palette=scriptoolz] .mobile-app:is([data-screen="player.reading"],[data-screen="demo.player"]) .reading-player{flex-direction:column}
body.palette-option .mobile-app:is([data-screen="player.reading"],[data-screen="demo.player"]) .player-art{width:min(73vw,304px);height:auto;aspect-ratio:3/4;flex:none;margin:0 auto 17px;overflow:hidden}
body.palette-option .mobile-app:is([data-screen="player.reading"],[data-screen="demo.player"]) .player-title{margin:0 0 17px}
body.palette-option .mobile-app:is([data-screen="player.reading"],[data-screen="demo.player"]) .player-seek{margin-inline:0}
body.palette-option .mobile-app:is([data-screen="player.reading"],[data-screen="demo.player"]) .player-controls{margin:16px 0 0}
body.palette-option .mobile-app .play-main{height:76px;width:76px;min-height:76px;padding:0}
body.palette-option .mobile-app .player-controls .icon-button{height:50px;width:50px}
body.palette-option .mobile-app .player-library-type{font-size:13px}
body.palette-option .mobile-app .player-library-open{padding:8px 12px;font-size:11px;border-radius:16px}
body.palette-option .modal-sheet{border-radius:30px;padding:26px}
body.palette-option[data-palette=scriptoolz] .modal-sheet{background:#19191C;border:1px solid #FFFFFF15}
body.palette-option .modal-sheet h2{font-family:Onest,sans-serif;font-size:23px;letter-spacing:-.5px}
body.palette-option .modal-sheet p{font-size:15px}
body.palette-option .modal-sheet :is(.primary,.suite-button){min-height:52px;font-size:15px;border-radius:26px}
body.palette-option[data-palette=scriptoolz] .theme-card[data-palette=scriptoolz]{border-color:#FFFFFF1F;box-shadow:inset 0 1px #FFFFFF0D}
body.palette-option[data-palette=scriptoolz] .theme-card[data-palette=scriptoolz] .theme-preview>i{background:linear-gradient(#D6C7FF,#BDA5F2);border:0;box-shadow:inset 0 1px #FFFFFF66;border-radius:18px}

/* Native horizontal scrolling supplies momentum and snap; JS only sets pose. */
.mobile-app .project-rail[data-layout=row]{
 --project-card-width:min(76vw,324px);
 position:relative;gap:0;margin-inline:-20px;padding:16px calc((100vw - var(--project-card-width))/2) 20px;
 scroll-snap-type:x mandatory;scroll-padding-inline:calc((100vw - var(--project-card-width))/2);
 scrollbar-width:none;overscroll-behavior:contain none;touch-action:pan-x;align-items:stretch;
}
body.palette-option .mobile-app:is([data-screen="projects.home"],[data-screen="owner.projects"])[data-layout=row] .suite-body{overflow-y:hidden;overscroll-behavior-y:none;touch-action:pan-x}
.mobile-app .project-rail[data-layout=row]::-webkit-scrollbar{display:none}
body.palette-option .mobile-app .project-rail[data-layout=row]{margin-inline:-22px}
.mobile-app .project-rail[data-layout=row] .project-card{
 position:relative;z-index:1;
 width:var(--project-card-width)!important;max-width:var(--project-card-width)!important;
 scroll-snap-align:center;scroll-snap-stop:normal;transform-origin:center center;
 transform:perspective(1000px) translateZ(var(--cover-depth,0px)) rotateY(var(--cover-turn,0deg)) scale(var(--cover-scale,1));
 opacity:var(--cover-opacity,1);will-change:transform;backface-visibility:hidden;backdrop-filter:none;transition:none;
}
.mobile-app .project-rail[data-layout=row] .project-card:not(:last-child){margin-right:-30px}
.mobile-app .project-rail[data-layout=row] .project-card[data-carousel-active=true]{z-index:2}
.mobile-app .project-carousel-pagination{display:flex;justify-content:center;align-items:center;gap:1px;margin:0 0 10px;max-width:100%;flex-wrap:wrap}
.mobile-app .project-carousel-pagination button{display:grid;place-items:center;min-width:32px;width:32px;min-height:32px;height:32px;padding:0;border:0;background:transparent;color:var(--muted);border-radius:50%}
.mobile-app .project-carousel-pagination button::before{content:'';width:18px;height:6px;border-radius:4px;background:currentColor;opacity:.5;transform:scaleX(.3333);transition:transform 180ms cubic-bezier(.23,1,.32,1),opacity 180ms cubic-bezier(.23,1,.32,1)}
.mobile-app .project-carousel-pagination button[aria-pressed=true]{color:var(--accent-ink)}
.mobile-app .project-carousel-pagination button[aria-pressed=true]::before{transform:scaleX(1);opacity:1}
.mobile-app .project-rail[data-layout=grid] .project-card{transform:none;opacity:1}
body.reduce-motion .mobile-app .project-rail .project-card{transform:none!important;opacity:1!important;will-change:auto}
@media(prefers-reduced-motion:reduce){.mobile-app .project-rail .project-card{transform:none!important;opacity:1!important;will-change:auto}}
@media(max-width:359px){
 body.palette-option .mobile-app .suite-body{padding-inline:18px}
 body.palette-option .mobile-app .library-toolbar{gap:6px;grid-template-columns:auto minmax(0,1fr) 44px}
 body.palette-option .mobile-app .library-toolbar .primary{font-size:11px;padding-inline:8px;gap:4px}
 body.palette-option .mobile-app .view-toggle button{min-width:33px;padding-inline:4px}
 body.palette-option .mobile-app .bottom-nav{margin-inline:16px}
 .mobile-app .project-rail[data-layout=row]{margin-inline:-15px}
 body.palette-option .mobile-app .project-rail[data-layout=row]{margin-inline:-18px}
}
@media(min-width:700px){
 body.palette-option .mobile-app .suite-body{padding-inline:max(24px,calc((100vw - 700px)/2))}
 .mobile-app .project-rail[data-layout=row],body.palette-option .mobile-app .project-rail[data-layout=row]{margin-inline:0;padding-inline:calc((100% - var(--project-card-width))/2);scroll-padding-inline:calc((100% - var(--project-card-width))/2)}
}

/* Project creation: keep file state beside its picker and actions in the scroll flow. */
.mobile-app .project-file-picker{position:relative}
.mobile-app .project-file-face{box-sizing:border-box;display:flex;align-items:center;gap:10px;min-height:52px;padding:13px 15px;border:1px solid var(--control);border-radius:16px;background:var(--surface);color:var(--ink);font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.mobile-app .project-file-face.project-file-selected{border-color:#398d69;background:#14241d;color:#d9f8e9}
.mobile-app .project-file-check{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#39ad75;color:#08190f;font-size:16px;font-weight:700}
.mobile-app .project-file-name{min-width:0;overflow-wrap:anywhere}
.mobile-app strong.project-file-name{display:block;margin-top:3px}
body.palette-option .mobile-app .project-file-picker>input.project-file-input{position:absolute;inset:auto 0 0;width:100%;height:52px;min-height:52px;margin:0;padding:0;opacity:0;cursor:pointer}
.mobile-app .certificate-identity>.note{margin:8px 0 27px}
.mobile-app .project-save-end{margin:30px 0 16px}
.mobile-app .project-save-end>.primary{width:100%}
body.palette-option[data-palette=scriptoolz] .mobile-app .project-upload-terms .project-legal-document .suite-row{background:#101012!important;border-color:#ffffff0d!important;box-shadow:none!important;color:#aaa8b0!important}
body.palette-option[data-palette=scriptoolz] .mobile-app .project-upload-terms .project-legal-document .row-copy strong{color:#c2c0c8!important}
body.palette-option[data-palette=scriptoolz] .mobile-app .project-upload-terms .project-legal-document .row-icon{background:#201d25!important;color:#9c8abc!important}
body.palette-option[data-palette=scriptoolz] .mobile-app .project-upload-terms .project-legal-document .suite-row>svg{color:#9c8abc!important}

/* Compact, even rhythm in the project form. */
.mobile-app #project-form>.field,.mobile-app #project-form>.project-authors{margin-bottom:18px}
.mobile-app #project-form>.note{margin:8px 0 20px}
.mobile-app #project-form>.certificate-identity{margin-top:18px}
.mobile-app #project-form>.certificate-identity>.note{margin:8px 0 18px}
.mobile-app #project-form>.certificate-identity>.field{margin-bottom:18px}
.mobile-app .project-authors-title{display:block;margin-bottom:10px;color:var(--muted);font-size:13px}
.mobile-app .project-author-list{list-style:none;display:grid;gap:9px;padding:0;margin:0 0 12px}
.mobile-app .project-author-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:9px 10px 9px 14px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
.mobile-app .project-author-list li>span{flex:1;min-width:0;overflow-wrap:anywhere}
body.palette-option .mobile-app .project-author-list li>.suite-button{flex:0 0 auto;width:auto;min-height:34px;padding:6px 10px;border-radius:10px;font-size:12px;white-space:nowrap}
.mobile-app .project-authors>.field{margin-bottom:10px}
body.palette-option .mobile-app .project-authors>.suite-button{min-height:42px;padding:9px 15px;border-radius:14px;font-size:13px}
/* Completed reading: a quiet success tint without changing other cards. */
body.palette-option[data-palette=scriptoolz] .palette-phone .reading-ready-notice{background:#17231D!important;border-color:#4DA87544!important;box-shadow:inset 0 1px 0 #8AD0A516!important}
body.palette-option[data-palette=scriptoolz] .reading-ready-notice>.note{color:#B8C9BE}
/* Keep the source status with its file name and give the review action breathing room. */
body.palette-option .source-check-card>.source-filename{margin:12px 0 5px}
body.palette-option .source-check-card>.source-review-state{margin:0 0 18px}
/* The save confirmation briefly sweeps from success green into Scriptoolz violet. */
body.palette-option .toast-saved{
 overflow:hidden;isolation:isolate;padding:15px 20px;border-radius:18px;
 background:linear-gradient(105deg,#17392C 0%,#276B56 28%,#574493 66%,#8B68D1 100%);
 background-size:220% 100%;border:1px solid #A7DDB87A;color:#F8F7FF;
 box-shadow:0 10px 30px #0008,inset 0 1px 0 #FFFFFF45;
 font-weight:600;letter-spacing:.1px;
 animation:scriptoolz-save-flash 2.8s ease-in-out both;
}
body.palette-option .toast-saved::before{
 content:"";position:absolute;inset:-35% auto -35% -45%;width:30%;
 background:linear-gradient(90deg,transparent,#FFFFFF50,transparent);
 transform:skewX(-20deg);pointer-events:none;
 animation:scriptoolz-save-sweep 2.8s ease-out both;
}
@keyframes scriptoolz-save-flash{
 0%{opacity:0;transform:translateY(18px) scale(.96);background-position:0% 50%}
 12%{opacity:1;transform:translateY(0) scale(1)}
 55%{background-position:100% 50%}
 78%{opacity:1;transform:translateY(0) scale(1)}
 100%{opacity:0;transform:translateY(-12px) scale(.98);background-position:100% 50%}
}
@keyframes scriptoolz-save-sweep{0%,10%{left:-45%}55%,100%{left:125%}}
body.reduce-motion .toast-saved{animation:none!important}
body.reduce-motion .toast-saved::before{display:none}
@media(prefers-reduced-motion:reduce){.toast-saved{animation:none!important}.toast-saved::before{display:none}}
/* Keep every completed reading accessible while another reading is in progress. */
body.palette-option .ready-reading-list{display:grid;gap:10px;margin-bottom:18px}
body.palette-option .ready-reading-card{display:flex;align-items:center;gap:10px;padding:10px 12px!important}
body.palette-option .ready-reading-open{flex:1;min-width:0;display:flex;align-items:center;gap:12px;text-align:left;padding:6px 0}
body.palette-option[data-palette=scriptoolz] .ready-reading-open{border:0;background:transparent;color:var(--ink)}
body.palette-option .ready-reading-play{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:14px}
body.palette-option[data-palette=scriptoolz] .ready-reading-play{background:#2B233B;color:var(--accent)}
body.palette-option .ready-reading-play svg{width:19px;height:19px}
body.palette-option .ready-reading-copy{min-width:0;display:grid;gap:3px}
body.palette-option .ready-reading-copy strong{font-size:14px;line-height:1.25}
body.palette-option .ready-reading-copy small{font-size:11px;line-height:1.35;overflow-wrap:anywhere}
body.palette-option[data-palette=scriptoolz] .ready-reading-copy small{color:var(--muted)}
body.palette-option .ready-reading-edit{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:12px}
body.palette-option[data-palette=scriptoolz] .ready-reading-edit{border:1px solid var(--border);background:#242128;color:var(--accent)}
body.palette-option .ready-reading-edit svg{width:18px;height:18px}
body.palette-option[data-palette=scriptoolz] .ready-reading-edit svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Keep the owner's dark controls neutral; only the backdrop carries violet. */
body.palette-option[data-palette=scriptoolz].owner-edition{--bg:#0A0810}
body.palette-option[data-palette=scriptoolz].owner-edition .mobile-app{background:var(--bg)!important}
body.palette-option.owner-edition .mobile-app .bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
body.palette-option.owner-edition .mobile-app .bottom-nav .nav-item{padding-inline:3px;font-size:10px}

/* Author feedback 01.10: white names, lilac actions, avatar on the right. */
body.palette-option[data-palette=scriptoolz]:not(.owner-edition) .mobile-app .suite-row>svg{color:var(--accent-ink)!important}
body.palette-option:not(.owner-edition) .mobile-app .projects-topline{grid-template-columns:minmax(0,1fr) 48px}

/* A single presentation for the author and the invited reader. */
body.palette-option .project-presentation{display:grid;gap:14px;width:100%;margin:0;padding-bottom:12px}
body.palette-option .project-presentation>.project-share-end{margin:0;padding:0}
body.palette-option .project-presentation>.project-share-end>.primary{width:100%}
body.palette-option .presentation-hero{overflow:hidden;background:var(--bg)}
body.palette-option .presentation-cover{position:relative;width:100%;height:auto;border-radius:0;aspect-ratio:3/4}
body.palette-option .presentation-cover.custom-cover{aspect-ratio:auto}
body.palette-option .presentation-cover img{display:block;position:static;width:100%!important;height:auto!important;aspect-ratio:auto 3/4;object-fit:contain!important;transform:none!important}
body.palette-option .presentation-heading{padding:12px 22px 0}
body.palette-option .presentation-heading:empty{display:none}
body.palette-option .presentation-heading p{font-size:13px;line-height:1.5;margin:5px 0;color:var(--ink)}
body.palette-option .presentation-heading .presentation-authors{color:var(--muted)}
body.palette-option .presentation-logline{font-size:15px;line-height:1.65;color:var(--ink);margin:0 4px;white-space:pre-line}
body.palette-option .presentation-readings,body.palette-option .presentation-materials{display:grid;gap:12px}
body.palette-option .project-presentation>.presentation-materials{gap:14px}
body.palette-option .presentation-audio,body.palette-option .presentation-material{display:flex;align-items:center;gap:14px;width:100%;padding:18px;border-radius:20px;text-align:left;min-height:76px}
body.palette-option[data-palette=scriptoolz] .presentation-audio,body.palette-option[data-palette=scriptoolz] .presentation-material{border:1px solid var(--border);background:#201b28;color:var(--accent-ink)}
body.palette-option .presentation-audio{min-height:112px;padding:22px 18px}
body.palette-option[data-palette=scriptoolz] .presentation-audio{background:linear-gradient(135deg,#352644,#211b2b);border-color:#514060}
body.palette-option .presentation-resource-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px}
body.palette-option[data-palette=scriptoolz] .presentation-resource-icon{background:#2d2338;color:var(--accent-ink)}
body.palette-option .presentation-audio .presentation-resource-icon{width:58px;height:58px;border-radius:50%}
body.palette-option[data-palette=scriptoolz] .presentation-audio .presentation-resource-icon{background:var(--accent-ink);color:#21152f}
body.palette-option .presentation-resource-icon svg{width:22px;height:22px}
body.palette-option .presentation-resource-copy{flex:1;min-width:0;display:grid;gap:6px}
body.palette-option .presentation-resource-copy strong{font-size:16px;line-height:1.35;overflow-wrap:anywhere}
body.palette-option[data-palette=scriptoolz] .presentation-resource-copy strong{color:var(--ink)!important}
body.palette-option .presentation-resource-copy small{font-size:12px;line-height:1.4}
body.palette-option[data-palette=scriptoolz] .presentation-resource-copy small{color:var(--muted)}
body.palette-option .presentation-audio>svg,body.palette-option .presentation-material>svg{width:18px;height:18px;flex:none}
body.palette-option .presentation-placeholder{display:grid;gap:14px;padding:4px 0}
body.palette-option .presentation-placeholder i{display:block;height:76px;border-radius:20px}
body.palette-option[data-palette=scriptoolz] .presentation-placeholder i{background:#211b29;border:1px solid var(--border)}
body.palette-option .presentation-placeholder i:first-child{height:112px}

body:not(.owner-edition) .bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.bottom-nav .nav-item{position:relative}
.inbox-count,.inbox-inline-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:12px;background:#c5a8ff;color:#211332;font:700 11px/1 sans-serif}
.bottom-nav .inbox-count{position:absolute;top:4px;right:calc(50% - 26px)}
/* Project editor: preserve portrait artwork and make editorial actions explicit. */
.editor-project-heading{display:flex;align-items:center;gap:12px}.editor-project-heading .project-mini{flex:1;margin:0}.editor-project-heading>.icon-button{flex:none}
.reading-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:24px}.reading-section-heading .section-label{margin:0}.reading-section-heading .suite-button{width:auto;min-height:32px;padding:5px 12px;font-size:12px}
.reading-main-choice{flex:none;width:36px;height:36px;border:1px solid #a88bd1;border-radius:50%;background:#2d223d;color:#dfc6ff}.reading-main-choice[aria-pressed=true]{background:#674b87}.reading-main-choice svg{width:20px}
.source-explanation{margin:20px 0}.material-cover-preview{width:120px;aspect-ratio:3/4;overflow:hidden;border-radius:16px;margin-bottom:16px}.row-icon img{width:48px;height:48px;object-fit:cover;border-radius:8px}.material-picker{margin:20px 0}.presentation-synopsis p{white-space:pre-wrap}
.cover-frame-dialog{width:calc(100% - 28px);max-width:480px;max-height:92svh;overflow:auto;background:#17121e;color:#f4edff;border:1px solid #70578f;border-radius:24px;padding:20px}.cover-frame-tabs{display:flex;gap:6px;margin:16px 0}.cover-frame-tabs button{flex:1;border:1px solid #67527e;background:#241b30;color:#e8d7ff;border-radius:12px;font-size:12px;padding:10px 5px}.cover-frame-tabs button[aria-pressed=true]{background:#745596}.cover-frame-preview{height:35svh;aspect-ratio:3/4;overflow:hidden;border-radius:16px;margin:0 auto;background:#09060d}.cover-frame-preview img{width:100%;height:100%;display:block}.cover-frame-actions{display:flex;gap:12px}.cover-frame-actions button{flex:1}
.launch-brand{display:grid;place-items:center;gap:22px;isolation:isolate}.launch-brand img{width:min(48vw,210px);height:auto;border-radius:28%;box-shadow:0 0 64px #9470cc45;animation:launch-logo-arrive 1.8s cubic-bezier(.2,.8,.2,1) both}.launch-brand strong{font-size:28px;letter-spacing:-1px;color:#e7d6ff;animation:launch-name-arrive 1.3s ease both}
@keyframes launch-logo-arrive{0%{opacity:0;transform:scale(.55) rotate(-10deg)}40%{opacity:1;transform:scale(.92) rotate(3deg)}75%{transform:scale(1.06) rotate(-1deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes launch-name-arrive{0%{opacity:0;transform:translateY(15px)}100%{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.launch-brand img,.launch-brand strong{animation:none!important}}
body.reduce-motion .launch-brand img,body.reduce-motion .launch-brand strong{animation:none!important}
/* Scoped specificity keeps compact editor controls independent of global buttons. */
body.palette-option .mobile-app .suite-header:has(.project-header-actions){grid-template-columns:44px minmax(0,1fr) 92px}
.project-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px}
body.palette-option .mobile-app .project-header-actions .icon-button{width:42px;height:42px;min-height:42px;padding:10px;flex:none}
.project-share-end{margin-top:24px;padding-bottom:12px}
body.palette-option .mobile-app .editor-project-heading{margin-bottom:18px}
body.palette-option .mobile-app .reading-section-heading{margin:24px 0 14px;gap:14px}
body.palette-option .mobile-app .reading-section-heading .section-label{margin:0;white-space:nowrap;flex:1}
body.palette-option .mobile-app .reading-section-heading .suite-button{width:auto;flex:none;min-height:34px;padding:6px 12px;font-size:12px;text-align:center;justify-content:center}
body.palette-option .mobile-app .reading-main-choice{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;flex:0 0 34px}
body.palette-option .mobile-app .reading-main-choice svg{width:18px;height:18px;display:block}
body.palette-option[data-palette=scriptoolz] .mobile-app .reading-is-main{background:#261d35!important;border-color:#80629f!important;box-shadow:inset 3px 0 #bfa9fa!important}
.reading-main-label{font-size:11px;color:#d5bcff;line-height:1.4}
body.palette-option[data-palette=scriptoolz] .mobile-app[aria-busy=true] .reading-is-main .reading-main-label{opacity:.65}
.cover-edit-actions{display:grid;gap:12px;margin:16px 0 20px}
body.palette-option .cover-frame-dialog{box-sizing:border-box;max-height:calc(100dvh - 48px);margin:auto;padding:22px;scroll-padding:22px}
body.palette-option .cover-frame-dialog h2{font-size:21px;margin:0 0 12px}
body.palette-option .cover-frame-dialog>.note{margin:0 0 18px;font-size:12px;line-height:1.5}
body.palette-option .cover-frame-tabs{gap:8px;margin:0 0 18px}
body.palette-option .cover-frame-tabs button{min-height:44px;padding:8px 6px;line-height:1.35;font-size:11px;text-align:center;outline-offset:2px}
body.palette-option .cover-frame-preview{height:28dvh;margin:0 auto 18px}
body.palette-option .cover-frame-dialog>.field{margin:0 0 14px;gap:8px}
body.palette-option .cover-frame-dialog input[type=range]{height:30px;min-height:30px;padding:0}
body.palette-option .cover-frame-actions{gap:12px;margin-top:18px;padding-bottom:2px}
body.palette-option .cover-frame-actions button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;font-size:14px;text-align:center;border-radius:16px}

/* Compact project library: one toolbar and one tappable card. */
body.palette-option .mobile-app .library-toolbar{grid-template-columns:auto minmax(0,1fr) 42px 42px;gap:8px}
body.palette-option .mobile-app .library-toolbar .icon-button,
body.palette-option .mobile-app .library-toolbar .projects-avatar-link{width:42px;height:42px;min-width:42px;min-height:42px;padding:0}
.mobile-app .library-toolbar .projects-avatar{width:42px;height:42px}
.mobile-app .project-card .project-cover-button{display:block;width:100%;text-align:left;padding:0;height:auto;border:0;border-radius:inherit;overflow:hidden;background:transparent;color:inherit}
body.palette-option .mobile-app .project-details>p{margin:0}
body.palette-option .mobile-app .suite-header:has(.project-header-actions){grid-template-columns:92px minmax(0,1fr) 92px}
@media(max-width:360px){body.palette-option .mobile-app .library-toolbar{gap:5px;grid-template-columns:auto minmax(0,1fr) 38px 38px}.mobile-app .library-toolbar .view-toggle button{padding-inline:5px}}

/* Feed keeps the artwork clear; grid retains its overlay presentation. */
body.palette-option .mobile-app .project-rail[data-layout=row] .project-cover::after{display:none}




body.palette-option .mobile-app .project-rail[data-layout=row] .project-details{display:grid;gap:10px;padding:16px 18px 18px}
body.palette-option .mobile-app .project-rail[data-layout=row] .project-details .project-state{position:static;justify-self:start;max-width:100%;font-size:10px;padding:7px 10px}
body.palette-option .mobile-app .project-rail[data-layout=row] .project-details .project-heading{position:static;padding:0}
body.palette-option[data-palette=scriptoolz] .mobile-app .project-rail[data-layout=row] .project-details .project-heading{background:none}
body.palette-option .mobile-app .project-rail[data-layout=row] .project-heading h2{font-size:26px;margin:0 0 6px}
body.palette-option .mobile-app .project-rail[data-layout=row] .project-heading p{margin:0;font-size:13px}
@media(min-width:700px){
 .mobile-app .project-rail[data-layout=row]{--project-card-width:min(60vw,500px)}
 body.palette-option .mobile-app .project-rail[data-layout=row] .project-heading h2{font-size:32px}
 body.palette-option .mobile-app .project-rail[data-layout=row] .project-details{padding:20px 24px;gap:12px}
}

/* Tablet feed size must survive WebKit viewport changes after lock/unlock.
   In landscape, vertical scrolling keeps the larger card fully accessible. */
@media(min-width:700px){
 body.palette-option .mobile-app:is([data-screen="projects.home"],[data-screen="owner.projects"])[data-layout=row] .suite-body{overflow-y:auto;touch-action:auto}
 .mobile-app .project-rail[data-layout=row]{touch-action:pan-x pan-y}
}

.brand-loading{display:grid;place-items:center;min-height:280px;padding:40px 24px}.brand-loading .launch-brand img{width:96px;animation:launch-logo-arrive 1.8s cubic-bezier(.2,.8,.2,1) infinite alternate}.brand-loading .launch-brand strong{font-size:16px}

.material-header{position:sticky;top:-26px;z-index:2;background:var(--surface,#19191c);display:flex;align-items:center;gap:16px;padding:12px 0;margin-bottom:16px}.material-header h2{flex:1;margin:0!important}.material-header .material-close{flex:none;width:40px;min-height:40px;height:40px;padding:8px;border-radius:50%;display:grid;place-items:center;background:var(--control);color:var(--ink)}.material-close svg{width:24px;height:24px}

@media(prefers-reduced-motion:reduce){.brand-loading .launch-brand img{animation:none}}

/* Shared mobile geometry is independent of palette and finish. */
body.palette-option .mobile-app .suite-header{min-height:66px;padding:10px 22px}
body.palette-option .mobile-app .suite-header h1{font-family:Onest,sans-serif;font-size:23px!important;letter-spacing:-.65px}
body.palette-option .mobile-app .suite-header .icon-button{width:46px;height:46px;min-width:46px;min-height:46px}
body.palette-option .mobile-app .bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);height:76px;min-height:76px;max-height:76px;flex-basis:76px;margin:16px 22px calc(10px + var(--safe-bottom));padding:5px;gap:0}
body.palette-option .mobile-app .bottom-nav .nav-item{grid-template-rows:25px auto;align-content:center;gap:4px;padding:6px 8px;font:500 11px/1.2 Onest,sans-serif;min-width:0}
body.palette-option.owner-edition .mobile-app .bottom-nav{gap:4px}
body.palette-option.owner-edition .mobile-app .bottom-nav .nav-item{font-size:10px;padding-inline:2px}
body.palette-option .mobile-app .bottom-nav .nav-item svg{width:25px;height:25px}
body.palette-option .mobile-app[data-screen="received.project"] .suite-header.title-only{grid-template-columns:minmax(0,1fr)}
body.palette-option .mobile-app[data-screen="received.project"] .suite-header.title-only>span:empty{display:none}
body.palette-option .mobile-app .material-thumbnail{background:var(--soft)}

/* Project viewing: artwork reaches both edges; text and controls stay inset. */
body.palette-option .mobile-app[data-project-view=true] .suite-body{padding:0 0 24px;scroll-padding-block:0 24px;-webkit-mask-image:none;mask-image:none}
body.palette-option .mobile-app[data-project-view=true] .project-presentation>:not(.presentation-hero){margin-inline:22px;min-width:0}
body.palette-option .mobile-app[data-project-view=true] .suite-body>:not(.project-presentation){margin-inline:22px}
body.palette-option .mobile-app[data-project-view=true] .suite-body>button,body.palette-option .mobile-app[data-project-view=true] .project-presentation>button{width:calc(100% - 44px)}
body.palette-option .mobile-app[data-project-view=true] .bottom-nav{height:54px;min-height:54px;max-height:54px;flex-basis:54px;margin:8px 28px calc(6px + max(0px, var(--safe-bottom) - 12px));padding:4px}
body.palette-option .mobile-app[data-project-view=true] .bottom-nav .nav-item{grid-template-rows:20px auto;gap:2px;padding:3px;min-height:44px}
body.palette-option .mobile-app[data-project-view=true] .bottom-nav .nav-item svg{width:20px;height:20px}
body.palette-option .mobile-app[data-project-view=true] .suite-header h1{color:var(--ink)!important;font-weight:700!important;padding-bottom:6px;background:linear-gradient(90deg,transparent,#c4afff99,transparent) center bottom/48px 2px no-repeat}

/* Viewing controls keep one label regardless of readiness. */
body.palette-option .mobile-app[data-project-view=true] .suite-button.presentation-audio,body.palette-option .mobile-app[data-project-view=true] .suite-button.presentation-script{min-height:52px;height:auto;padding:14px 18px;justify-content:center;gap:10px;text-align:center;border-radius:28px;background:linear-gradient(180deg,var(--raised,var(--surface)),var(--soft));border:1px solid var(--border);color:var(--ink);font-size:16px;font-weight:600;line-height:1.4}
body.palette-option .mobile-app[data-project-view=true] .suite-button.presentation-synopsis{min-height:52px;padding:14px 18px;justify-content:space-between;flex-direction:row-reverse;text-align:left;border-radius:20px;background:var(--surface);border:1px solid var(--border);color:var(--ink);font-size:16px;font-weight:600;line-height:1.4}
body.palette-option .mobile-app[data-project-view=true] .suite-button.presentation-audio svg,body.palette-option .mobile-app[data-project-view=true] .suite-button.presentation-script svg{width:20px;height:20px;flex:none}
/* A small corner radius preserves the full-width cover in viewing mode. */
body.palette-option .mobile-app[data-project-view=true] .presentation-cover{border-radius:10px;overflow:hidden}
body.palette-option .mobile-app[data-project-view=true] .presentation-cover img{border-radius:inherit}

/* An owner playback tab shares the existing rail; themes preserve its geometry. */
body.owner-edition .mobile-app .bottom-nav[data-tabs="5"]{grid-template-columns:repeat(5,minmax(0,1fr))!important}
body.owner-edition .mobile-app .bottom-nav[data-tabs="5"] .nav-item{padding-inline:1px}

/* Editor spacing and moderation state do not depend on the selected palette. */
.mobile-app .native-editor-materials{display:grid;gap:14px;margin-block:14px}
.mobile-app .native-editor-materials>*,.mobile-app .native-editor-materials .moderation-action{margin-block:0}
.material-upload-slot{display:grid;gap:14px}
.mobile-app .material-upload-slot>.field{margin:0}
.mobile-app .material-uploaded{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #56d9a050;border-radius:18px;background:linear-gradient(145deg,#244638,#17372c);color:#a0edc4}
.material-uploaded-check{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#83dfb4;color:#17372c;font-size:20px;font-weight:700}
.material-uploaded>div{display:grid;gap:6px;min-width:0}
.material-uploaded strong{font-size:16px;line-height:1.4}
.material-uploaded>div>span{color:#c6e4d6;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.mobile-app .request-card{position:relative;padding-top:40px}
.mobile-app .request-marker{position:absolute;top:12px;right:14px;border-radius:9px;padding:4px 8px;font-size:10px;font-weight:600;line-height:1.2}
.mobile-app .request-viewed{background:#193c30;color:#b1d8bf;border:1px solid #315a45}
.mobile-app .request-new{background:#287243;color:#e1ffe4;border:1px solid #58a966}

@media(prefers-reduced-motion:reduce){.mobile-app .project-carousel-pagination button::before{transition:none}}
body.reduce-motion .mobile-app .project-carousel-pagination button::before{transition:none}

/* Preparation review: compact per-fragment saves and a final scrolling action. */
.review-save-actions{display:flex;justify-content:flex-start;margin-top:12px}
body.palette-option .mobile-app .review-save-actions .primary{width:auto;min-height:44px;padding:10px 16px;font-size:14px;border-radius:22px}
.reading-review-submit{display:grid;gap:12px;margin-top:24px}
body.palette-option[data-palette] .mobile-app[data-screen="screenplay.review"] .reading-review-submit .primary:disabled{background:#29292C!important;border-color:#FFFFFF08!important;color:#929098!important;box-shadow:inset 0 1px #FFFFFF08!important}
/* Archive is a distinct, reversible action in every account theme. */
body.palette-option[data-palette] .palette-phone.mobile-app button.tone-archive{background:linear-gradient(145deg,#244638,#17372c)!important;color:#a0edc4!important;border-color:#56d9a050!important}

.mobile-app .generation-tabs button[aria-pressed=true]{box-shadow:inset 0 -3px var(--accent-ink)!important;font-weight:650}
.mobile-app .generation-tabs button[aria-pressed=false]{background:#19191C!important;border-color:transparent!important;color:var(--muted)!important}
.mobile-app .generation-current{margin:0 0 4px;color:var(--ink);font-size:13px}

body.palette-option .mobile-app .presentation-heading{margin:16px 0 0;padding:14px 18px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
body.palette-option .mobile-app .presentation-logline{margin:0;padding:16px 18px;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:20px;background:var(--surface)}
body.palette-option .mobile-app[data-project-view=true] .suite-button.presentation-synopsis{justify-content:center;flex-direction:row;text-align:center}
body.palette-option .mobile-app .dreamcast>.row-between{display:flex;align-items:center;justify-content:space-between;gap:16px}
body.palette-option .mobile-app .dreamcast h2{white-space:nowrap;flex:1}
body.palette-option .mobile-app .dreamcast .suite-button.dreamcast-add{width:auto;flex:0 0 auto;min-width:48px;max-width:120px;padding:10px 16px}
/* Compact dreamcast controls; avatar shares the input row, not its label. */
body.palette-option .mobile-app .dreamcast h2{font-size:16px;font-weight:600}
body.palette-option .mobile-app .dreamcast .suite-button.dreamcast-add{min-height:38px;max-width:104px;padding:8px 13px;font-size:14px}
body.palette-option .modal-sheet.dreamcast-editor{padding:20px}
.dreamcast-role-top{grid-template-columns:minmax(0,1fr) 56px;grid-template-rows:auto 48px;gap:8px 18px;align-items:center}
.dreamcast-role-top .field{display:contents}
.dreamcast-role-top .field>span{grid-column:1;grid-row:1}
.dreamcast-role-top .field>input{grid-column:1;grid-row:2;height:44px;min-height:44px;width:100%;padding:10px 12px;font-weight:600}
.dreamcast-role-top .dreamcast-avatar{grid-column:2;grid-row:2;width:56px;height:56px}
body.palette-option .modal-sheet .dreamcast-role{padding:16px}
body.palette-option .modal-sheet.actor-search-dialog{max-width:380px;min-height:0;height:min(420px,calc(var(--app-height,100dvh) - 64px));max-height:calc(var(--app-height,100dvh) - 64px);padding:20px}
body.palette-option .modal-sheet.actor-search-dialog .dreamcast-editor-header{min-height:36px;margin-bottom:8px}
body.palette-option .modal-sheet.actor-search-dialog h2{font-size:15px;font-weight:500;letter-spacing:0}
body.palette-option .modal-sheet.actor-search-dialog .field{margin:10px 0}
body.palette-option .modal-sheet.actor-search-dialog .field input{min-height:44px;padding:10px 12px;font-size:16px}
.modal-layer:has(.actor-search-dialog){height:var(--app-height,100dvh);bottom:auto;padding:15px}

.project-team-fields{margin:16px 0;padding:16px 18px}.project-team-fields summary{cursor:pointer;font-size:16px;font-weight:600}.project-team-fields[open] summary{margin-bottom:18px}.presentation-heading .presentation-authors{margin-top:8px;line-height:1.5}.series-sources{margin:12px 0}

.empty-reading{display:flex;flex-direction:column;gap:18px}.empty-reading p{margin:0}.empty-reading button{margin-top:8px}
.reading-submit-actions{margin-top:24px}.series-material-row{display:flex;align-items:center;gap:8px}.series-material-row>.suite-row{flex:1;min-width:0}.series-material-row>.icon-button{flex-shrink:0}.material-uploaded .icon-button{margin-left:auto}.material-uploaded>div{flex:1}

.project-editor-actions{display:grid;gap:14px;margin-block:14px}.project-editor-actions .project-create-reading{display:grid}.project-pending-materials{margin-block:20px}.project-pending-materials .field{margin-block:0}
.series-material-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px}.series-material-row>.suite-row{grid-column:1;grid-row:1;min-width:0}.series-material-row>.icon-button{grid-column:2;grid-row:1}.series-material-row>.suite-button{grid-column:1/-1;grid-row:2;min-width:0}.project-editor-actions{gap:16px}
/* Explicit support and single-reading permission actions. */
.suite-button.reading-support-action{background:linear-gradient(180deg,#55D799,#32B978);color:#062A1C;border:1px solid #80E7B7}
body.palette-option[data-palette=scriptoolz] .palette-phone .suite-button.reading-support-action:not(:disabled){background:linear-gradient(180deg,#55D799,#32B978)!important;color:#062A1C!important;border:1px solid #80E7B7!important;box-shadow:inset 0 1px 1px #FFFFFF55,0 4px 12px #00000030!important}
.mobile-app[data-loading=true]{background:#08080b!important}body.palette-option[data-palette] .mobile-app[data-loading=true] .suite-body{position:relative;inset:auto;box-sizing:border-box;width:100%;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden;-webkit-mask-image:none;mask-image:none}body.palette-option[data-palette] .mobile-app[data-loading=true] .project-saving{box-sizing:border-box;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;width:100%;min-width:0;min-height:100%;margin:0;padding:32px 24px;color:#eee6ff;text-align:center;background:#08080b}.saving-logo-halo{position:relative;isolation:isolate;width:148px;height:148px;display:grid;place-items:center}.saving-logo-halo::before{content:"";position:absolute;inset:-55px;z-index:-1;background:radial-gradient(ellipse,#a782ff38,transparent 68%);animation:saving-halo 2.6s ease-in-out infinite}.saving-logo{width:136px;height:136px;object-fit:contain;border-radius:28%;animation:saving-breathe 2.6s ease-in-out infinite;will-change:opacity,transform}.saving-stage{margin:0;font-size:15px;line-height:1.5;max-width:310px}.saving-byte-progress{display:grid;gap:10px;width:min(75vw,280px);font-size:14px;color:#d9c7ff}.saving-byte-progress[hidden]{display:none}.saving-byte-progress progress{width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;accent-color:#bca2ff}.saving-byte-progress progress::-webkit-progress-bar{background:#ffffff15}.saving-byte-progress progress::-webkit-progress-value{background:#bca2ff;border-radius:10px}@keyframes saving-breathe{0%,100%{opacity:.78;transform:scale(.98)}50%{opacity:1;transform:scale(1.025)}}@keyframes saving-halo{0%,100%{opacity:.35}50%{opacity:.8}}@media(prefers-reduced-motion:reduce){.saving-logo,.saving-logo-halo::before{animation:none;will-change:auto}}

/* Private support dialogue and the owner's account overview. */
.owner-account-counts{display:flex;gap:8px;flex-wrap:wrap}.owner-account-filters{margin-bottom:16px}.support-chat{display:grid;gap:16px}.support-messages{display:grid;gap:12px}.support-message{padding:14px 16px;border:1px solid var(--border);border-radius:18px;max-width:92%;background:var(--surface)}.support-message.outgoing{justify-self:end;background:var(--soft)}.support-message.incoming{justify-self:start}.support-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin:8px 0}.support-message small{color:var(--muted)}

/* The opening screen is local: it does not wait for a website or a provider. */
.mobile-app[data-auth=true] .suite-body{padding:0;position:relative;display:flex;flex-direction:column}.welcome-screen{position:relative;flex:1;min-height:640px;overflow:hidden;background:#090b17;color:#f5f0ff;display:flex;flex-direction:column;justify-content:space-between;padding:68px 28px 44px}.welcome-art{position:absolute;inset:0;overflow:hidden;pointer-events:none}.welcome-art svg{width:100%;height:100%;position:absolute;inset:0;opacity:.83}.wave-back{stroke-width:78;opacity:.48}.wave-front{stroke-width:58;opacity:.94}.welcome-art g{transform-origin:center;animation:wave-drift 15s ease-in-out infinite alternate}.welcome-art i{position:absolute;inset:0;background:linear-gradient(#090b1700 45%,#090b17dd 85%,#090b17)}.welcome-wordmark{position:relative;font:580 40px Onest,system-ui;letter-spacing:-1.7px}.welcome-wordmark span{display:block;margin-top:13px;font:400 14px Onest,system-ui;letter-spacing:.2px;color:#cbc8df}.welcome-bottom{position:relative;margin-top:auto;z-index:1}.wave-2 svg{transform:rotate(-28deg) scale(1.12)}.wave-2 .wave-back{stroke-width:10;opacity:.9}.wave-2 .wave-front{stroke-width:110}.wave-3 svg{transform:translateY(130px) rotate(70deg) scale(1.5)}.wave-3 .wave-front{stroke-width:80}.wave-3 .wave-back{stroke-width:130;opacity:.3}.wave-4 svg{filter:blur(22px);transform:scale(1.3)}.wave-4 .wave-front{stroke-width:120}.wave-5 svg{transform:rotate(160deg) scale(1.25)}.wave-5 .wave-front{stroke-width:24}.wave-5 .wave-back{stroke-width:36;stroke-dasharray:2 9;opacity:1}.auth-screen{padding:26px 24px 36px;width:100%;max-width:520px;margin:0 auto}.auth-brand{font:600 30px Onest,system-ui;letter-spacing:-1px;margin-bottom:28px}.auth-tabs{display:flex;gap:8px;margin-bottom:26px;border-bottom:1px solid var(--border)}.auth-tabs button{flex:1;min-height:48px;color:var(--muted);background:none;border:0;border-bottom:2px solid transparent}.auth-tabs button.selected{color:var(--ink);border-color:var(--accent-ink)}.auth-screen .field input{font-size:16px!important;min-height:52px}.auth-screen .primary,.auth-screen .secondary{width:100%;min-height:52px;margin-bottom:12px}.auth-screen button.text{background:none;border:0;box-shadow:none;color:var(--accent-ink);font-size:13px;min-height:44px;padding:8px 4px}.auth-divider{display:flex;gap:16px;align-items:center;color:var(--muted);font-size:12px;margin:12px 0 22px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:var(--border);flex:1}.auth-error{color:#ffb5ba;font-size:14px;line-height:1.5}.auth-error:empty{display:none}.auth-consent{align-items:start!important;font-size:13px;line-height:1.5;margin-top:20px}.auth-consent input{width:20px;height:20px;flex-shrink:0}.auth-legal{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.auth-legal button.text{font-size:11px;min-height:32px}.auth-loading{position:relative;display:grid;place-items:center;min-height:100%;flex:1;background:#090b17}.auth-loading .welcome-art{opacity:.6}.auth-loading p{position:relative;color:#eeeaff;font-size:16px}.mobile-app button{touch-action:manipulation}.auth-screen :is(input,button){touch-action:manipulation}@keyframes wave-drift{from{transform:translateY(-8px) rotate(-3deg)}to{transform:translateY(14px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){.welcome-art g{animation:none}}@media(max-height:760px){.welcome-screen{min-height:480px;padding-top:40px}}@media(max-height:620px){.welcome-screen{min-height:380px;padding-top:25px}.welcome-wordmark{font-size:32px}}

/* Entry forms stay near the header; metadata updates never reposition them. */
.mobile-app .auth-screen{padding:24px 24px 32px}
.mobile-app .auth-screen .auth-provider-slot{display:grid;gap:10px}
.mobile-app .auth-screen .auth-provider-slot .secondary{margin:0;min-height:48px}
.mobile-app .auth-screen .auth-divider{margin:18px 0}
.mobile-app .auth-screen .field{margin-bottom:16px}
.mobile-app .auth-screen .primary{margin-top:4px;min-height:50px}
.auth-text-actions{display:flex;flex-direction:column;align-items:center;gap:0}
.mobile-app .auth-screen a.auth-text-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 4px;width:auto;max-width:100%;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:var(--accent-ink)!important;font-size:14px;font-weight:400;line-height:1.4;text-align:center;text-decoration:none;touch-action:manipulation}
.mobile-app .auth-screen a.auth-text-link:hover{text-decoration:underline}
.mobile-app .auth-screen .auth-consent{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:10px;margin:8px 0 18px;padding:0;background:none;border:0;font-size:13px;line-height:1.55;color:var(--ink)}
.mobile-app .auth-screen .auth-consent input{width:22px;height:22px;min-height:22px;max-height:22px;padding:0;margin:0;accent-color:var(--accent-ink)}
.mobile-app .auth-screen .auth-consent label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:12px;width:100%;margin:0;padding:14px;font:inherit;color:inherit}
.mobile-app .auth-screen .auth-consent label>span{min-width:0;overflow-wrap:anywhere}
html body.palette-option[data-palette] .mobile-app .auth-screen .auth-consent label.choice{margin-block:0!important}
.mobile-app .auth-screen .auth-consent a{display:inline;background:none;border:0;box-shadow:none;padding:0;color:var(--accent-ink);font:inherit;text-decoration:underline;text-underline-offset:3px}
.auth-screen a:focus-visible{outline:2px solid var(--accent-ink);outline-offset:4px}
.auth-consent-slot .note{font-size:13px}

.auth-screen .auth-provider{display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;line-height:1.25;padding:10px 14px}.auth-provider svg{width:24px;height:24px;flex-shrink:0}

/* The supplied provider artwork stays unchanged; framing removes its transparent margins. */
.auth-logo-frame{display:block;position:relative;width:24px;height:24px;flex:0 0 24px;overflow:hidden}
.auth-logo-frame img{position:absolute;max-width:none;height:auto;left:50%;top:50%;transform:translate(-50%,-50%)}
.auth-logo-yandex img{width:120%}.auth-logo-vk img{width:166.667%}
.auth-welcome-behind{display:flex;flex:1;min-height:100%;pointer-events:none}
.auth-welcome-behind .welcome-screen{width:100%}
.auth-sheet-layer{position:fixed;inset:0;z-index:110;display:flex;align-items:flex-end;justify-content:center}
.mobile-app .auth-sheet-backdrop{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:#0008;box-shadow:none;animation:auth-backdrop-in 220ms ease-out}
.auth-choice-sheet{position:relative;width:100%;max-width:520px;max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--border);border-bottom:0;border-radius:30px 30px 0 0;background:var(--surface);color:var(--ink);padding:0 24px calc(20px + var(--safe-bottom));box-shadow:0 -16px 60px #0004;animation:auth-sheet-in 320ms cubic-bezier(.22,1,.36,1)}
.auth-sheet-grip{height:28px;display:grid;place-items:center;touch-action:none;cursor:grab}
.auth-sheet-grip i{width:38px;height:4px;border-radius:3px;background:var(--muted);opacity:.42}
.mobile-app .auth-sheet-close{position:absolute;top:12px;right:12px;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;color:var(--muted);font:300 27px Onest,sans-serif}
.auth-sheet-providers{display:flex;justify-content:center;align-items:center;gap:24px;padding:24px 0 28px}
.mobile-app .auth-provider-icon{position:relative;display:grid;place-items:center;width:64px;height:64px;min-height:64px;margin:0;padding:0;background:none;border:0;box-shadow:none;border-radius:18px;flex:0 0 64px}
.auth-provider-icon .auth-logo-frame{width:56px;height:56px;flex-basis:56px}
.mobile-app .auth-provider-icon .auth-logo-frame>svg{display:block;width:100%;height:100%;margin:0}
.auth-logo-telegram>svg{stroke:none}
.auth-logo-telegram img{width:100%}
.auth-sheet-actions{display:grid;gap:10px}
.mobile-app .auth-sheet-actions :is(.primary,.secondary){width:100%;min-height:52px;margin:0;padding:12px 14px;font-size:15px;line-height:1.35;border-radius:26px}
.auth-sheet-legal{margin:18px 0 0;text-align:center;font-size:12px;line-height:1.5;color:var(--muted)}
.auth-choice-sheet .auth-sheet-legal a{display:inline;color:var(--muted);font:inherit;background:none;border:0;box-shadow:none;padding:0;text-decoration:underline;text-underline-offset:3px}
.auth-choice-sheet .auth-error{margin:12px 0 0;text-align:center}
.auth-choice-sheet :focus-visible{outline:2px solid var(--accent-ink);outline-offset:4px}
.auth-provider-icon[aria-disabled=true]{opacity:.55}
.auth-native-apple{height:44px;width:100%;margin-bottom:10px;flex-shrink:0}
.auth-sheet-providers .auth-native-apple-icon{width:88px;height:88px;margin:0;flex:0 0 88px}
.mobile-app .auth-sheet-providers .auth-provider-icon{width:88px;height:88px;min-height:88px;flex-basis:88px}
.auth-sheet-providers .auth-provider-icon .auth-logo-frame{width:88px;height:88px;flex-basis:88px}
.auth-contact-availability .auth-text-link{display:block;margin-bottom:12px}
.auth-screen [data-action="auth.contact.send"]:disabled{opacity:.45;cursor:default}
@keyframes auth-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes auth-backdrop-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.auth-choice-sheet,.auth-sheet-backdrop{animation:none!important}}
.reduce-motion .auth-choice-sheet,.reduce-motion .auth-sheet-backdrop{animation:none!important}

.mobile-app .auth-screen .auth-consent-button{display:block;padding:14px 0;border-top:1px solid var(--border)}
.auth-consent-button p{margin:0 0 10px}.auth-consent-button .secondary{margin-bottom:0}

.welcome-screen{background:#090b12;isolation:isolate;position:relative;overflow:hidden}.concept-art{position:absolute;inset:0;z-index:-1;overflow:hidden;background:#080b13}.concept-art svg{width:100%;height:100%;position:absolute;inset:0}.concept-glow{position:absolute;inset:10% -40%;background:radial-gradient(ellipse at 55% 48%,#6774ba22,transparent 52%);filter:blur(18px)}.concept-strands{transform-origin:50% 50%;animation:concept-flow 16s ease-in-out infinite alternate}.concept-shade{position:absolute;inset:0;background:linear-gradient(#06081088,transparent 35%,transparent 67%,#060810bb)}.welcome-screen .welcome-wordmark{position:relative;z-index:1;font-size:36px;letter-spacing:-1.3px;line-height:1.12;font-weight:550}.welcome-screen .welcome-wordmark span{font-size:13px;letter-spacing:.04em;margin-top:14px;font-weight:400;opacity:.56}.welcome-screen .welcome-bottom{display:flex;flex-direction:column;align-items:center;gap:10px;position:relative;z-index:1}.welcome-screen .welcome-bottom .primary{width:152px;min-height:46px;padding:12px 28px;font-size:15px;font-weight:600;border:1px solid #ffffff30;border-radius:15px;background:linear-gradient(115deg,#e0d5fc,#b8d8e5);color:#20202d;box-shadow:0 8px 30px #0002}.welcome-screen .welcome-register{border:0;background:none;color:inherit;opacity:.65;font-size:13px;font-weight:400;padding:10px 8px;min-height:38px;cursor:pointer;touch-action:manipulation}.art-aurora{background:#06120f}.art-aurora .concept-strands{transform:rotate(-22deg) scale(1.12);filter:drop-shadow(0 0 12px #71ffbf45)}.art-aurora .concept-glow{background:radial-gradient(ellipse,#16493d88,transparent 65%)}.art-pearl{background:#ebedf1}.art-pearl svg{opacity:.7;filter:saturate(.65)}.art-pearl .concept-strands{transform:rotate(140deg) scale(1.3)}.art-pearl .concept-orb{opacity:.12}.art-pearl .concept-shade{background:linear-gradient(#edf0f3,transparent 30%,transparent 60%,#edf0f3)}.concept-pearl{color:#202937}.art-ocean{background:#051720}.art-ocean .concept-strands{transform:rotate(32deg) scale(1.2);filter:drop-shadow(0 0 5px #4ca6c688)}.art-ocean .concept-shade{background:linear-gradient(#051720,transparent 48%,#051720 95%)}.art-fabric{background:#171125}.art-fabric .concept-strands{transform:scale(1.15);filter:drop-shadow(0 0 5px #bf9be222)}.art-silk{background:#f5f3ef}.art-silk .concept-strands{transform:rotate(155deg) scale(1.4);filter:drop-shadow(0 8px 10px #61567733)}.art-silk .concept-shade{background:linear-gradient(#f5f3efaa,transparent 45%,#f5f3ef 95%)}.concept-silk{color:#38353d}.art-sound .concept-strands{transform:translateY(35px);filter:drop-shadow(0 0 5px #b8a1ff77)}.art-sound .concept-shade{background:linear-gradient(#080b13,transparent 38%,#080b13 92%)}.art-eclipse{background:#100d19}.art-eclipse .concept-strands{opacity:.3;transform:rotate(75deg) scale(1.35)}.art-eclipse .concept-orb{filter:drop-shadow(0 0 18px #a28de629);opacity:.9}.art-dawn{background:#f1ded5}.art-dawn .concept-strands{transform:rotate(-145deg) scale(1.8);filter:drop-shadow(0 0 14px #67429599)}.art-dawn .concept-shade{background:linear-gradient(#f4e5df 4%,transparent 39%,#f1ded5 95%)}.concept-dawn{color:#463745}.art-cosmos .concept-strands{transform:rotate(90deg) scale(1.6);opacity:.85}.art-cosmos .concept-orb{opacity:.9;transform:translate(10px,15px) scale(.95)}.art-cosmos .concept-glow{background:radial-gradient(ellipse,#7562d855,transparent 64%)}.concept-pearl .welcome-bottom .primary,.concept-silk .welcome-bottom .primary,.concept-dawn .welcome-bottom .primary{background:#242433;color:#fff;box-shadow:0 6px 20px #3a294822}.concept-ocean .welcome-bottom .primary{background:#c7e5e7}.concept-aurora .welcome-bottom .primary{background:#d5e7dc}.concept-metal .concept-strands{filter:drop-shadow(0 2px 3px #ead2de44)}
@keyframes concept-flow{from{translate:-7px -12px}to{translate:9px 14px}}
@media(prefers-reduced-motion:reduce){.concept-strands{animation:none!important}}.reduce-motion .concept-strands{animation:none!important}

.welcome-screen .welcome-wordmark span{color:inherit}.welcome-screen .welcome-bottom .primary{font-family:inherit}

/* Approved welcome: the same Midnight geometry and logo palette as the preview. */
body.palette-option .mobile-app[data-auth=true]:not([data-screen="demo.player"]):not([data-screen="player.reading"]) .suite-body{padding:0}
.welcome-screen.approved-welcome{container-type:inline-size;display:block;flex:1;min-height:360px;padding:0;background:#08090e;color:#f4edf8;isolation:isolate;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.approved-art{position:absolute;inset:0;overflow:hidden;background:#08090e;z-index:-1;pointer-events:none}
.approved-art svg{position:absolute;inset:0;width:100%;height:100%}
.approved-ambient{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,#7964991c,transparent 58%)}
.approved-cloth{transform-origin:50% 50%;opacity:.76;filter:drop-shadow(0 0 3px #baa5e018);animation:approved-cloth-flow 24s ease-in-out infinite alternate}
.approved-veil{position:absolute;inset:0;background:linear-gradient(transparent 20%,#100c1610 42%,transparent 60%,#08090e 97%)}
.approved-brand{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);text-align:center;width:92%;z-index:1}
.approved-wordmark{position:relative;font-size:clamp(32px,10cqw,52px);line-height:1.15;letter-spacing:-.25cqw;font-weight:500;white-space:nowrap;background:linear-gradient(105deg,#d0b4ff 5%,#e0d6fc 30%,#a7daef 56%,#e9bec9 79%,#f4d0b3);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 1px 0 #fff1) drop-shadow(0 3px 3px #0007) drop-shadow(0 0 11px #b2a0ef66)}
.approved-brand-halo{position:absolute;height:12cqw;top:-1cqw;left:8%;width:84%;z-index:-1;background:radial-gradient(ellipse,#b2a0ef66,transparent 70%);filter:blur(5cqw)}
.welcome-screen.approved-welcome .welcome-bottom{position:absolute;bottom:max(11%,calc(env(safe-area-inset-bottom) + 20px));left:0;width:100%;display:flex;flex-direction:column;align-items:center;gap:1.5cqw;margin:0}
body.palette-option .mobile-app[data-welcome=true] .welcome-screen.approved-welcome .welcome-bottom .primary{position:relative;width:clamp(112px,31.8cqw,166px);height:clamp(38px,10.25cqw,48px);min-height:0;margin:0;padding:0;line-height:1;font-family:inherit;font-size:clamp(13px,3.55cqw,17px);font-weight:560;border:1px solid #ffffff32!important;border-radius:clamp(10px,3.1cqw,16px);background:linear-gradient(110deg,#c2a7f4,#a8cfeb 35%,#e9b6ca 67%,#efc8ac)!important;color:#282139!important;box-shadow:0 1px 0 #fff4 inset,0 6px 20px #0004!important;touch-action:manipulation}
.welcome-screen.approved-welcome .primary:before{content:'';position:absolute;inset:-4px 0}
body.palette-option .mobile-app[data-welcome=true] .welcome-screen.approved-welcome .welcome-register{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;width:auto;height:auto;margin:0;background:none!important;border:0!important;box-shadow:none!important;color:#c7bfd2!important;opacity:1;font-family:inherit;font-size:clamp(11px,2.9cqw,14px);font-weight:400;line-height:1.3;padding:2.6cqw 1cqw;min-height:44px;touch-action:manipulation}
.approved-welcome :is(button,a):focus-visible{outline:2px solid #ccb9f0;outline-offset:5px}
.auth-loading{isolation:isolate;overflow:hidden;background:#08090e}
.auth-loading .approved-art{opacity:.75}
body.palette-option[data-palette=scriptoolz] .mobile-app.device[data-loading=true]{padding-top:0}
body.palette-option[data-palette=scriptoolz] .mobile-app[data-loading=true] .suite-body{padding:0;scroll-padding:0;overflow:hidden;-webkit-mask-image:none;mask-image:none}
body.palette-option[data-palette=scriptoolz] .mobile-app[data-loading=true] .auth-loading{width:100%;height:100%;min-height:100%}
body.palette-option .mobile-app[data-entering=true] .suite-body{animation:screen-arrive 180ms ease-out both}
@keyframes screen-arrive{from{opacity:.75;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes approved-cloth-flow{from{translate:-6px -9px;rotate:-1deg}to{translate:7px 10px;rotate:1deg}}
@media(prefers-reduced-motion:reduce){.approved-cloth{animation:none!important}}
.reduce-motion .approved-cloth{animation:none!important}
@media(prefers-reduced-motion:reduce){body.palette-option .mobile-app[data-entering=true] .suite-body{animation:none}}
.reduce-motion .mobile-app[data-entering=true] .suite-body{animation:none}

body.palette-option .mobile-app.device[data-welcome=true]{padding-top:0;background:#08090e!important}
body.palette-option .mobile-app[data-welcome=true] .suite-body{-webkit-mask-image:none;mask-image:none}
body.palette-option .mobile-app[data-welcome=true] .welcome-screen.approved-welcome.owner-welcome .welcome-bottom .primary{box-sizing:border-box;width:min(280px,calc(100vw - 40px));height:52px;padding-inline:12px;white-space:nowrap;font-size:15px}

/* The document palette is independent of the app theme and its geometry. */
.modal-layer.material-layer.reader-layer{box-sizing:border-box;height:100dvh;align-items:center;padding:calc(var(--safe-top) + 12px) 12px calc(var(--safe-bottom) + 12px)!important}
.reader-layer .material-sheet.palette-phone{box-sizing:border-box;width:min(760px,100%);height:100%;max-height:100%;padding:16px;border-radius:20px;background:#fff!important;color:#171717!important;border:1px solid #d5d5d5!important;color-scheme:light;font-family:Onest,sans-serif}
.reader-layer .material-sheet[data-reader-theme=dark]{background:#18181b!important;color:#f3f3f3!important;border-color:#444448!important;color-scheme:dark}
.reader-layer .material-header h2{color:inherit!important;font:600 21px Onest,sans-serif!important;margin:0!important}
.reader-layer .material-header .material-close{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;flex:none;background:transparent!important;border-color:currentColor!important;color:inherit!important}
.reader-layer .material-stage{display:block;flex:1;min-height:0;margin-top:16px;overscroll-behavior:contain;scrollbar-gutter:stable}
.reader-layer .screenplay-document{width:100%;box-sizing:border-box;padding:0 4px 20px;font:15px/1.45 'Courier New',Courier,monospace}
.reader-layer .screenplay-paragraph{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:0;margin-bottom:.7em;font:inherit!important;line-height:1.45!important;color:inherit!important}
.reader-layer .screenplay-space{height:.6em}

/* Only the navigation capsule is translucent; its labels stay fully opaque. */
body.palette-option[data-palette] .mobile-app .bottom-nav{
 background:color-mix(in srgb,var(--soft) 88%,transparent)!important;
 -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
body.palette-option[data-palette=scriptoolz] .mobile-app .bottom-nav{
 background:linear-gradient(180deg,#29292CE0,#202022E0)!important;
}
/* Project content scrolls behind both floating controls, including safe areas. */
body.palette-option .mobile-app.device[data-project-view=true]{position:relative;padding-top:0}
body.palette-option .mobile-app[data-project-view=true] .suite-body{
 position:absolute;inset:0;box-sizing:border-box;
 padding-top:calc(var(--safe-top) + var(--project-header-height,86px));
 padding-bottom:calc(90px + var(--safe-bottom));
 scroll-padding-block:calc(90px + var(--safe-top)) calc(90px + var(--safe-bottom));
}
body.palette-option .mobile-app[data-project-view=true] .suite-header{
 position:absolute;top:var(--safe-top);left:0;right:0;z-index:5;
 background:transparent!important;border:0;box-shadow:none;
 isolation:isolate;
}
body.palette-option .mobile-app[data-project-view=true] .suite-header::before{
 content:"";position:absolute;left:0;right:0;top:calc(-1 * var(--safe-top));
 z-index:-1;pointer-events:none;
}
body.palette-option .mobile-app[data-project-view=true] .suite-header::before{
 /* Use the active palette so light-theme labels retain their contrast. */
 bottom:calc(-34px * var(--project-header-progress,0));
 background:linear-gradient(to bottom,var(--bg) 0%,var(--bg) calc(55% * (1 - var(--project-header-progress,0))),color-mix(in srgb,var(--bg) 0%,transparent) 100%);
}
body.palette-option .mobile-app[data-project-view=true] .suite-header::after{content:none}
body.palette-option .mobile-app[data-project-view=true] .suite-header h1{
 background:none!important;
 text-shadow:0 1px 4px var(--bg);
}
body.palette-option .mobile-app[data-project-view=true] .bottom-nav{
 position:absolute;left:28px;right:28px;bottom:calc(6px + max(0px,var(--safe-bottom) - 12px));
 width:auto;margin:0;z-index:5;
}

.desktop-brand{display:none}
@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app{width:100%!important;max-width:none!important;height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;padding-left:232px!important;background:var(--bg)!important}
 html body.palette-option[data-palette] .mobile-app .bottom-nav{position:fixed!important;inset:0 auto 0 0!important;transform:none!important;width:232px!important;height:100dvh!important;min-height:0!important;max-height:none!important;margin:0!important;border-radius:0!important;padding:100px 16px 24px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:8px!important;background:var(--surface)!important;border:0!important;border-right:1px solid var(--border)!important;box-shadow:none!important}
 .bottom-nav::before{content:none!important}
 html body.palette-option[data-palette] .mobile-app .bottom-nav .desktop-brand{position:absolute;top:24px;left:16px;width:200px;display:flex;align-items:center;gap:10px;padding:8px 12px;border:0;background:none;color:var(--ink);font:600 22px Onest,sans-serif;text-align:left;cursor:pointer;border-radius:12px}
 .desktop-brand img{width:32px;height:32px;object-fit:contain;border-radius:8px}
 .desktop-brand:hover{background:var(--surface-2)}
 .desktop-brand:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
 html body.palette-option[data-palette] .mobile-app .bottom-nav .nav-item{width:100%!important;height:52px!important;min-height:52px!important;max-height:52px!important;flex:0 0 52px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:10px 16px!important;font-size:14px!important;border-radius:12px!important;box-shadow:none!important}
 html body.palette-option[data-palette] .mobile-app .bottom-nav .nav-item svg{width:22px;height:22px}
 .bottom-nav .inbox-count{top:12px!important;right:12px!important}
 html body.palette-option[data-palette] .mobile-app .suite-body{padding:28px 36px!important;overflow-y:auto!important;touch-action:auto!important}
 html body.palette-option[data-palette] .mobile-app .suite-header{padding:24px 36px!important;border-bottom:1px solid var(--border);min-height:84px}
 html body.palette-option[data-palette] .mobile-app .suite-header h1{font-size:24px!important}
 html body.palette-option[data-palette] .mobile-app .suite-footer{margin:0 36px 20px;max-width:900px;align-self:center;width:calc(100% - 72px)}
 html body.palette-option[data-palette] .mobile-app .library-toolbar{max-width:none!important;width:100%;margin:0 0 28px!important;grid-template-columns:auto 190px 46px 46px!important;justify-content:end!important;gap:12px!important}
 html body.palette-option[data-palette] .mobile-app .library-toolbar .primary{font-size:14px!important;height:46px!important;min-height:46px!important;padding:10px 18px!important}
 html body.palette-option[data-palette] .mobile-app .view-toggle button{font-size:13px!important;padding:10px 15px!important}
 html body.palette-option[data-palette] .mobile-app .project-rail[data-layout=row]{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;gap:24px!important;perspective:none!important;scroll-snap-type:x proximity!important;padding:0 0 20px!important;margin:0!important;overflow-x:auto!important;--project-card-width:360px}
 html body.palette-option[data-palette] .mobile-app .project-rail[data-layout=row] .project-card{width:360px!important;min-width:300px!important;max-width:360px!important;flex:0 0 360px!important;transform:none!important;opacity:1!important;filter:none!important;margin:0!important;border-radius:20px!important}
 html body.palette-option[data-palette] .mobile-app .project-rail[data-layout=row] .project-cover{height:480px!important;aspect-ratio:3/4!important}
 html body.palette-option[data-palette] .mobile-app .project-rail[data-layout=row] .project-heading h2{font-size:25px!important}
 html body.palette-option[data-palette] .mobile-app .project-rail[data-layout=row] .project-details{padding:18px!important;gap:10px!important}
 html body.palette-option[data-palette] .mobile-app .project-rail[data-layout=grid]{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;max-width:1500px!important;margin:0!important;gap:24px!important;padding:0!important}
 html body.palette-option[data-palette] .mobile-app .project-rail[data-layout=grid] .project-card{width:100%!important;transform:none!important;border-radius:20px!important}
 html body.palette-option[data-palette] .mobile-app .project-presentation{max-width:700px;margin-inline:auto}
 .mobile-app .suite-body>form,.mobile-app .suite-body>.profile-summary,.mobile-app .suite-body>.suite-row,.mobile-app .suite-body>.theme-options{max-width:980px;margin-inline:auto}
 .modal-layer .modal-sheet{max-width:760px;max-height:90dvh}
 html body.palette-option[data-palette] .mobile-app[data-auth=true]{padding-left:0!important}
 html body.palette-option[data-palette] .mobile-app .suite-body>:not(.project-rail):not(.library-toolbar){max-width:980px;margin-left:auto!important;margin-right:auto!important}
 html body.palette-option[data-palette] .mobile-app .suite-body>.suite-button{width:auto!important;display:inline-flex!important;margin-right:12px!important;padding:10px 20px!important;min-height:44px!important;border-radius:12px!important;font-size:14px!important}
 html body.palette-option[data-palette] .mobile-app .suite-body>.section-label{font-size:16px!important;font-weight:600}
 html body.palette-option[data-palette] .mobile-app .suite-footer{max-width:980px!important;display:flex!important;justify-content:flex-end!important;gap:12px;width:calc(100% - 72px)!important}
 html body.palette-option[data-palette] .mobile-app .suite-footer .suite-button{width:auto!important;min-width:150px!important;min-height:44px!important;padding:10px 24px!important;border-radius:12px!important;font-size:14px!important}
 html body.palette-option[data-palette] .mobile-app .profile-media-picker{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:24px!important}
 html body.palette-option[data-palette] .mobile-app .library-toolbar{position:relative;padding-left:150px!important}
 html body.palette-option[data-palette] .mobile-app .library-toolbar::before{content:'Проекты';position:absolute;left:0;top:9px;font-size:24px;font-weight:600;color:var(--ink)}
 html body.palette-option[data-palette] .mobile-app .player-library-card{max-width:980px;margin-inline:auto!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="project.workspace"] .project-presentation{width:100%!important;max-width:640px!important;margin-inline:auto!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="project.workspace"] .presentation-hero{aspect-ratio:3/4!important;min-height:0!important}
 .cover-frame-dialog[data-slot="project"] .cover-frame-preview{aspect-ratio:3/4!important;width:min(100%,400px)!important;height:auto!important;max-height:none!important}
 .cover-frame-dialog .field:has(input[name="x"]),.cover-frame-dialog .field:has(input[name="y"]){display:none}
 .cover-frame-preview{cursor:grab;user-select:none}
 .cover-frame-preview[data-dragging="true"]{cursor:grabbing}
 .cover-frame-preview:focus-visible{outline:2px solid #c7b4ff;outline-offset:3px}
 .cover-frame-preview img{pointer-events:none}

 html body.palette-option[data-palette] .mobile-app[data-screen="project.workspace"] .suite-header{min-height:64px!important;padding:14px 36px!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="project.workspace"] .project-presentation.desktop-project{max-width:none!important;width:100%!important}
 .desktop-project-top{display:grid;grid-template-columns:minmax(0,600px) minmax(320px,1fr);gap:28px;align-items:start}
 .desktop-project-poster{position:relative;aspect-ratio:3/4;border-radius:20px;overflow:hidden;background:var(--surface)}
 html body.palette-option[data-palette] .desktop-project-poster .presentation-cover{position:absolute;inset:0;width:100%;height:100%;border-radius:0}
 .desktop-project-info h2{font-size:28px;line-height:1.2;margin:0 0 10px}
 .desktop-project-meta,.desktop-project-author{color:var(--muted);margin:8px 0 16px}
 .desktop-project-block{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:18px;margin:16px 0}
 .desktop-project-block h3{font-size:15px;margin:0 0 12px}
 .desktop-project-block p{font-size:14px;line-height:1.6;white-space:pre-wrap;margin:0;overflow-wrap:anywhere}
 .desktop-project-block .desktop-empty{color:var(--muted)}
 .desktop-project-material-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
 .desktop-project-material-grid .desktop-project-block{margin:0}
 .desktop-resource{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:12px;border:0;border-radius:10px;color:var(--ink);background:var(--bg);cursor:pointer}
 .desktop-resource svg{width:20px;height:20px;flex-shrink:0}
 .desktop-resource span{flex:1;overflow-wrap:anywhere}
 .desktop-resource+.desktop-resource{margin-top:8px}
 html body.palette-option[data-palette] .mobile-app[data-screen="project.workspace"] .project-share-end{max-width:none!important;width:100%!important;display:flex;justify-content:flex-end;margin:12px auto!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="project.workspace"] .project-share-end button{width:auto!important;min-height:44px!important;padding:10px 22px!important;border-radius:12px!important}
}

@media(min-width:1000px){.mobile-app[data-screen="project.manage"] .suite-header{grid-template-columns:160px minmax(0,1fr) 160px!important}.mobile-app[data-screen="project.manage"] .suite-header>.suite-button{justify-self:end;width:auto;min-height:40px;padding:8px 16px;font-size:13px}}

.modal-layer:has([data-confirm]){align-items:center;justify-content:center;padding:24px}.modal-layer:has([data-confirm]) .modal-sheet{width:min(100%,520px);max-width:520px;max-height:calc(100dvh - 48px);margin:0}

@media(min-width:1000px){.owner-edition .suite-body>.stack{max-width:none;width:100%}.owner-edition .project-action-row{display:none}.owner-edition .project-rail{justify-content:flex-start;gap:24px}.owner-edition .request-card{border-radius:18px}.owner-edition .suite-body .stack>.suite-button{width:auto;justify-self:start}}


@media(min-width:1000px){
 html body.palette-option[data-palette].owner-edition .mobile-app .suite-header{min-height:54px!important;height:54px!important;padding:10px 28px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .suite-header h1{font-size:19px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .suite-body{padding:20px 28px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .project-rail[data-layout=grid]{grid-template-columns:repeat(auto-fill,minmax(210px,260px))!important;max-width:none!important;gap:20px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .project-rail[data-layout=grid] .project-cover{height:auto!important;aspect-ratio:3/4!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .project-heading h2{font-size:19px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .project-rail[data-layout=row] .project-card{width:300px!important;min-width:300px!important;max-width:300px!important;flex-basis:300px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .project-rail[data-layout=row] .project-cover{height:400px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .project-details .project-heading{position:static!important;background:none!important;padding:0!important}
 .owner-project-toolbar{display:flex;justify-content:flex-end;margin-bottom:20px}
 .owner-edition .owner-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-top:18px;align-items:start}
 html body.palette-option[data-palette].owner-edition .mobile-app .owner-generation-card{padding:18px!important;border-radius:14px!important;display:grid;gap:10px!important;font-size:13px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .owner-generation-card h2{font-size:18px!important;margin:0}
 .owner-generation-card p{margin:0!important;font-size:13px!important}
 .owner-generation-card .suite-button{width:auto!important;min-height:36px!important;padding:8px 14px!important;font-size:13px!important;justify-self:start}
 .owner-generation-card .mini-cover{width:44px!important;height:59px!important}
 .owner-generation-card .badge{width:max-content;max-width:100%;font-size:12px}
 .owner-progress{display:grid;gap:6px;font-size:12px;color:var(--muted)}
 .owner-progress progress{width:100%;height:6px}
}

@media(min-width:1000px){
 html body.palette-option[data-palette].owner-edition .mobile-app .suite-body>.owner-cards{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;grid-template-columns:repeat(3,minmax(0,1fr))}
 html body.palette-option[data-palette].owner-edition .mobile-app .suite-body>.owner-cards[data-kind="requests"]{grid-template-columns:repeat(4,minmax(0,1fr))}
 .owner-generation-card .project-mini{display:flex;align-items:center;gap:12px;min-width:0}
 .owner-generation-card .project-mini>div{min-width:0}
 .owner-generation-card .mini-cover{flex-shrink:0}
}
@media(min-width:1000px) and (max-width:1250px){html body.palette-option[data-palette].owner-edition .mobile-app .suite-body>.owner-cards[data-kind]{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(min-width:1000px){
 html body.palette-option[data-palette].owner-edition .mobile-app .owner-generation-card .mini-cover{width:72px!important;height:96px!important;aspect-ratio:3/4!important;flex:0 0 72px!important;border-radius:9px!important;overflow:hidden!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .owner-generation-card .project-mini>.mini-cover{width:72px!important;height:96px!important}
 .owner-generation-card .mini-cover img{object-fit:cover!important}
}

@media(min-width:1000px){html body.palette-option[data-palette] .mobile-app[data-screen="owner.project"] .suite-content{max-width:none!important;width:100%!important;margin:0!important;padding:24px 32px!important}.owner-project-editor{display:grid;grid-template-columns:minmax(240px,360px) minmax(360px,1fr);gap:24px;align-items:start}.owner-project-editor>section:last-child{grid-column:1/-1}.owner-project-editor .surface{padding:22px}.owner-project-editor .mini-cover{width:72px;height:96px}.owner-project-editor form textarea{min-height:100px}.mobile-app[data-screen="owner.project"] .project-share-end{display:flex;justify-content:flex-end}}
.owner-resource-dialog{position:fixed;inset:0;margin:auto;width:min(880px,90vw);height:min(850px,85vh);padding:0;border:1px solid #45404e;border-radius:20px;background:#19191b;color:#eee;overflow:hidden}.owner-resource-dialog::backdrop{background:#000a;backdrop-filter:blur(6px)}.owner-resource-dialog .material-header{padding:16px 22px;height:70px;box-sizing:border-box}.owner-resource-body{overflow:auto;height:calc(100% - 70px);padding:24px;box-sizing:border-box}.owner-script{white-space:pre-wrap;line-height:1.65;font:16px/1.65 Literata,serif;margin:0}.owner-resource-body audio,.owner-resource-body video{width:100%}.owner-resource-body iframe{width:100%;height:100%;border:0}
@media(min-width:1000px){html body.palette-option[data-palette].owner-edition .mobile-app[data-screen="owner.project"] .suite-body>.desktop-project,html body.palette-option[data-palette].owner-edition .mobile-app[data-screen="owner.project"] .suite-body>.owner-project-editor,html body.palette-option[data-palette].owner-edition .mobile-app[data-screen="owner.project"] .suite-body>.desktop-project-block,html body.palette-option[data-palette].owner-edition .mobile-app[data-screen="owner.project"] .suite-body>.project-share-end{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}.mobile-app[data-screen="owner.project"] .suite-header{grid-template-columns:180px minmax(0,1fr) 180px!important}.mobile-app[data-screen="owner.project"] .suite-header>.suite-button{justify-self:end;width:auto;min-height:36px;padding:8px 14px;font-size:13px}}

@media(min-width:1000px){
 .owner-project-view-actions{display:flex;justify-content:flex-end;margin:0 0 12px;min-height:40px}
 html body.palette-option[data-palette].owner-edition .mobile-app .brand-loading{min-height:calc(100dvh - 110px);display:flex;align-items:center;justify-content:center;margin:0;padding:0}
 html body.palette-option[data-palette].owner-edition .mobile-app .brand-loading .launch-brand{margin:0;transform:translateY(-30px)}
}

@media(min-width:1000px){html body.palette-option[data-palette].owner-edition .mobile-app[data-screen="owner.project"] .suite-body>.owner-project-view-actions{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}}

.owner-resource-dialog .material-header{top:0;margin:0;gap:16px}
.owner-resource-actions{display:flex;align-items:center;gap:10px;flex:none}
.owner-resource-dialog .owner-resource-actions button{display:grid;place-items:center;box-sizing:border-box;flex:none;width:40px;min-width:40px;height:40px;min-height:40px;padding:9px;border:1px solid #77727d;border-radius:50%;background:#36343b;color:#eee;line-height:1;cursor:pointer}
.owner-resource-dialog .owner-resource-actions button svg{display:block;width:20px;height:20px;flex:none}
.owner-resource-dialog .owner-resource-actions button:hover{background:#48444f}
.owner-resource-dialog.owner-resource-expanded{width:94vw;max-width:1600px;height:92dvh;max-height:1100px}
.owner-presentation-dialog .owner-resource-body{overflow:hidden;overscroll-behavior:contain}
.owner-presentation-dialog iframe{display:block;background:#19191b}

/* Shared browser library controls and card emphasis for author and owner. */
@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app .library-toolbar.owner-project-toolbar{display:grid;align-items:center;max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
}
@media(min-width:1000px) and (hover:hover) and (pointer:fine){
 html body.palette-option[data-palette] .mobile-app .project-rail[data-layout]{padding:16px 12px 24px!important;margin:-16px -12px 0!important}
 .mobile-app .project-rail .project-card{position:relative;transform-origin:center center;transition:transform .28s cubic-bezier(.25,.46,.45,.94),border-color .28s ease,box-shadow .28s ease}
 html body.palette-option[data-palette] .mobile-app .project-rail .project-card:hover{transform:translateY(-4px) scale(1.025)!important;z-index:2;border-color:rgba(244,235,219,.38)!important;box-shadow:inset 0 1px rgba(255,248,235,.08),0 18px 35px rgba(0,0,0,.44),0 0 18px rgba(244,235,219,.09)!important}
}
html body.palette-option[data-palette] .mobile-app .project-rail .project-card:has(:focus-visible){border-color:rgba(244,235,219,.6)!important;box-shadow:inset 0 0 0 1px rgba(244,235,219,.45)!important}
@media(prefers-reduced-motion:reduce){.mobile-app .project-rail .project-card{transition:none}html body.palette-option[data-palette] .mobile-app .project-rail .project-card:hover{transform:none!important}}

html body.palette-option[data-palette].reduce-motion .mobile-app .project-rail .project-card{transition:none}
html body.palette-option[data-palette].reduce-motion .mobile-app .project-rail .project-card:hover{transform:none!important}

@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app:is([data-screen="project.workspace"],[data-screen="owner.project"]):has(.desktop-project)>.suite-header{position:absolute;top:0;left:232px;right:0;z-index:5;height:70px!important;min-height:0!important;padding:14px 36px!important;display:flex!important;justify-content:flex-end;background:transparent!important;border:0!important;pointer-events:none}
 .mobile-app:is([data-screen="project.workspace"],[data-screen="owner.project"]):has(.desktop-project)>.suite-header>:not(.project-header-actions){display:none!important}
 .mobile-app:is([data-screen="project.workspace"],[data-screen="owner.project"]):has(.desktop-project) .project-header-actions{pointer-events:auto}
 .mobile-app:is([data-screen="project.workspace"],[data-screen="owner.project"]):has(.desktop-project) .desktop-project-info>h2{padding-right:108px}
 html body.palette-option[data-palette] .mobile-app:is([data-screen="project.workspace"],[data-screen="owner.project"]):has(.desktop-project) .project-share-end{display:none!important}
 .desktop-project-byline{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin:8px 0 16px}
 .desktop-project-byline p{margin:0;font-size:13px;line-height:1.5}
 .desktop-project-byline .desktop-project-author{margin-left:auto;text-align:right}
 .desktop-resource.screenplay-tile{min-height:58px;background:#342f26;border:1px solid #d7c6a845;color:#f1e4cf;padding:16px 18px;border-radius:16px;transition:background .2s ease}
 .desktop-resource.screenplay-tile:hover{background:#443c30}
 .desktop-resource.screenplay-tile:focus-visible{outline:2px solid #dfcbaa;outline-offset:3px}
}

@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app:has(.desktop-project)>.suite-body{display:flex;flex-direction:column}
 html body.palette-option[data-palette] .mobile-app:has(.desktop-project) .desktop-project{flex:none;margin-block:auto!important}
 .mobile-app:has(.desktop-project) .desktop-project-top{align-items:stretch}
 .mobile-app:has(.desktop-project) .desktop-project-poster{aspect-ratio:3/4;min-height:0}
 .mobile-app:has(.desktop-project) .desktop-project-info{display:flex;flex-direction:column;gap:16px}
 .mobile-app:has(.desktop-project) .desktop-project-info>h2{font-size:40px;line-height:1.12;letter-spacing:-.025em;margin:0}
 .mobile-app:has(.desktop-project) .desktop-project-info>.desktop-project-byline,
 .mobile-app:has(.desktop-project) .desktop-project-info>.desktop-project-block{margin:0}
 .mobile-app:has(.desktop-project) .desktop-project-info>.screenplay-tile{margin-top:auto}
}

/* Shared viewing surface: author, owner and permitted recipient resources. */
@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app:has(.desktop-project) .desktop-project{width:100%!important;max-width:none!important}
 html body.palette-option[data-palette] .mobile-app:has(.desktop-project)>.suite-body{padding-top:48px!important;padding-bottom:48px!important}
 .desktop-project-poster{align-self:start;width:100%;min-width:0;height:auto}
 .desktop-project-material-grid .material-tile-empty{cursor:default;color:var(--muted)}
 .desktop-project-material-grid .material-tile-empty .material-thumbnail{background:#19191b;color:#77747d}
 .mobile-app:has(.desktop-project)>.suite-header{display:none!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="project.workspace"]>.suite-header{display:flex!important}
 .mobile-app:has(.desktop-project) .owner-project-view-actions{position:absolute;top:14px;right:36px;z-index:5;width:auto!important}
 .mobile-app:has(.desktop-project) .project-share-end{display:none!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="profile.home"] .profile-summary{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:32px;width:100%;padding:28px!important;box-sizing:border-box}
 html body.palette-option[data-palette] .mobile-app[data-screen="profile.home"] .profile-summary>div{flex:1;min-width:0;text-align:left!important;margin:0!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="profile.home"] .profile-summary h2{text-align:left!important;font-size:26px!important;margin:0 0 8px!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="profile.home"] .profile-avatar{width:96px;height:96px;flex:0 0 96px;margin:0!important}
 html body.palette-option[data-palette] .mobile-app[data-screen="profile.home"] .profile-session-actions{width:100%;max-width:980px;display:flex;justify-content:flex-end;padding-top:12px}
 .profile-session-actions .suite-button{width:auto!important;min-height:44px;padding:10px 22px!important}
}

@media(min-width:1000px){
 html body.palette-option[data-palette].owner-edition .mobile-app[data-screen="owner.project"]:has(.desktop-project)>.suite-body{padding:48px 36px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app[data-screen="owner.project"]:has(.desktop-project)>.suite-header{position:absolute;top:0;left:232px;right:0;height:70px!important;min-height:0!important;padding:14px 36px!important;display:flex!important;justify-content:flex-end;background:transparent!important;border:0!important;pointer-events:none}
}

/* Owner editor: one picker per file and a single final save action. */
.owner-editor-heading{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.owner-editor-heading h1{font-size:28px;margin:0}
.owner-editor-cover{display:block;position:relative;width:100%;aspect-ratio:3/4;padding:0;border:0;border-radius:18px;overflow:hidden;background:var(--surface);cursor:pointer}
.owner-editor-cover .presentation-cover{position:absolute!important;inset:0;width:100%!important;height:100%!important;border-radius:0!important}
.owner-file-button{position:relative;overflow:hidden;cursor:pointer;text-align:center}
.owner-file-button input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.owner-file-button:focus-within{outline:2px solid #d7c6a8;outline-offset:3px}
.owner-upload-buttons{display:flex;gap:12px;flex-wrap:wrap}
.owner-editor-save{display:flex;justify-content:space-between;gap:24px;grid-column:1/-1;padding:4px 0 24px}
.owner-editor-save>.suite-button{width:auto!important;min-width:180px}
.owner-editor-save>.primary{min-width:280px}
.mobile-app[aria-busy=true] .owner-file-button{pointer-events:none;opacity:.6}
@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app:has(.owner-project-editor)>.suite-body{padding:28px 36px!important}
 .owner-project-editor>.owner-editor-materials{grid-column:1/-1}
 .owner-project-editor .owner-editor-artwork{position:static}
}
@media(max-width:999px){.owner-editor-save{flex-wrap:wrap}.owner-project-editor{display:grid;gap:20px}.owner-editor-cover{max-width:300px;margin:auto}}

@media(min-width:1000px){
 html body.palette-option[data-palette].owner-edition .mobile-app[data-screen="owner.project"] .owner-editor-heading{max-width:none!important;width:100%!important;margin:0 0 24px!important}
 .owner-upload-buttons>.owner-file-button{width:auto!important;flex:1;min-width:180px}
}

/* A stable project overview, independent of description length. */
@media(min-width:1000px){
 .overview-project .desktop-project-top{grid-template-columns:minmax(240px,.85fr) minmax(360px,1.15fr);--overview-height:clamp(660px,calc(100dvh - 128px),900px);height:var(--overview-height);gap:28px}
 .overview-project .desktop-project-poster{height:auto;width:min(100%,calc(var(--overview-height)*.75));max-width:100%;aspect-ratio:3/4;justify-self:center;align-self:center}
 html body.palette-option[data-palette] .overview-project .desktop-project-poster .presentation-cover img{object-fit:contain!important;transform:none!important}
 .mobile-app:has(.overview-project) .desktop-project-info{display:grid;grid-template-rows:auto auto 76px minmax(120px,1fr) 76px 64px 58px;gap:12px;min-height:0}
 .mobile-app:has(.overview-project) .desktop-project-info>h2{font-size:36px}
 .overview-project .desktop-project-byline{gap:8px}
 .overview-project .desktop-project-block{margin:0;width:100%;text-align:left;color:var(--ink);font:inherit;cursor:pointer;position:relative;min-width:0;min-height:0;box-sizing:border-box;padding:16px 18px;transition:background .18s ease,border-color .18s ease}
 .overview-project .desktop-project-block:hover{background:#22211f;border-color:#d7c6a85c}
 .overview-project .desktop-project-block:focus-visible{outline:2px solid #dfcbaa;outline-offset:3px}
 .overview-project .overview-text{padding-right:48px}
 .overview-project .overview-text h3{margin:0 0 6px}
 .overview-project .overview-text p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4;color:var(--muted)}
 .overview-project .overview-text>svg,.overview-project .overview-resource>svg{position:absolute;right:18px;top:calc(50% - 10px);width:20px;height:20px}
 .overview-project .desktop-project-material-grid{min-height:0;gap:12px}
 .overview-project .desktop-project-material-grid>.overview-resource{display:flex;flex-direction:column;gap:10px}
 .overview-project .desktop-project-material-grid h3{margin:0;flex-shrink:0}
 .overview-project .material-thumbnail{min-height:0;flex:1;aspect-ratio:auto;width:100%;border-radius:10px;overflow:hidden;background:#19191b;display:flex;align-items:center;justify-content:center}
 .overview-project .material-thumbnail img{width:100%;height:100%;object-fit:contain}
 .overview-project .material-thumbnail>svg{width:36px;height:36px}
 .overview-project .overview-resource:not(:has(.material-thumbnail)){display:flex;align-items:center;gap:14px;padding-right:48px}
 .overview-project .overview-resource:not(:has(.material-thumbnail)) h3{margin:0;order:1}
 .overview-project .overview-resource-icon{display:flex;order:0}
 .overview-project .overview-resource-icon svg{width:22px;height:22px}
 .overview-project .overview-resource-hint{order:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:13px;margin-left:auto}
 .overview-project .screenplay-tile{background:#342f26;border-color:#d7c6a845;color:#f1e4cf}
 .overview-project .overview-extra{margin-top:20px;max-width:400px;height:260px}
}

.owner-editor-save>.suite-button{order:2;margin-left:auto}.owner-editor-save>.primary{order:1;flex:1;width:auto!important}
/* Listening is the central product action; keep the logo's violet/blue warmth. */
.overview-project .listen-screenplay-tile{background:linear-gradient(115deg,#30234b,#263d53 58%,#42313f);border-color:#8575ac;color:#fff;box-shadow:inset 0 1px 0 #ffffff18}
.overview-project .listen-screenplay-tile:hover{background:linear-gradient(115deg,#443063,#305069 58%,#584151);border-color:#c6b5e1}
.owner-upload-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.owner-upload-buttons>.owner-file-button{min-width:0}.owner-upload-buttons>button{width:100%}
html body.palette-option[data-palette] .mobile-app .owner-upload-buttons [data-action="owner.readingDraft"]{background:linear-gradient(115deg,#44345f,#30495a)!important;color:#f4edff!important;border:1px solid #807292!important}
.owner-upload-buttons [data-action="owner.readingDraft"]:disabled{opacity:.45}
.new-reading-request{border-color:#367e65;box-shadow:inset 0 1px 0 #5ad4a31a}
.owner-reading-setup{max-width:1050px;margin:0 auto}.owner-reading-setup form{display:grid;gap:14px}.reading-scenes{display:grid;gap:12px;max-height:360px;overflow:auto;margin-bottom:20px}.reading-scenes label{display:flex;align-items:center;gap:12px}.reading-scenes input{width:20px;height:20px}.reading-review{max-height:50vh;overflow:auto;line-height:1.6}
@media(max-width:850px){.owner-upload-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Owner request and generation surfaces share a stable card rhythm. */
.owner-cards[data-kind="generations"]{align-items:stretch;grid-auto-rows:1fr}
.owner-generation-card{display:flex;flex-direction:column;gap:12px;min-height:250px}
.owner-generation-card .owner-progress{min-height:38px;width:100%}
.owner-generation-card>.suite-button:last-child{margin-top:auto;align-self:flex-start}
.owner-new-count{display:inline-flex;margin-left:8px;padding:2px 7px;border-radius:12px;background:#254a39;color:#90e5bd;font-size:12px}
@media(min-width:1000px){html body.palette-option[data-palette].owner-edition .mobile-app:is([data-screen="owner.request"],[data-screen="owner.readingSetup"],[data-screen="owner.generations"],[data-screen="owner.queue"])>.suite-header{height:80px!important;min-height:80px!important;padding:16px 28px!important;border-bottom:0;align-items:center}}
.reading-notice{display:flex!important;align-items:center;gap:16px;margin-bottom:20px;padding:14px 18px;background:linear-gradient(120deg,#29203c,#173935);border:1px solid #82739d;border-radius:18px}
.reading-notice>button:first-child{flex:1;display:flex;flex-direction:column;gap:6px;text-align:left;background:none;border:0;color:inherit;cursor:pointer}

/* Shared control spacing for all web cabinet screens. */
html body.palette-option[data-palette] .mobile-app select{appearance:none!important;-webkit-appearance:none!important;padding-right:52px!important}
html body.palette-option[data-palette] .mobile-app .field:has(>select){display:grid!important;grid-template-columns:minmax(0,1fr)}
html body.palette-option[data-palette] .mobile-app .field>select{grid-column:1;grid-row:2}
html body.palette-option[data-palette] .mobile-app .field:has(>select)::after{content:'';grid-column:1;grid-row:2;justify-self:end;align-self:center;margin-right:22px;margin-top:-4px;width:8px;height:8px;border-right:2px solid var(--muted,#bdb6c8);border-bottom:2px solid var(--muted,#bdb6c8);transform:rotate(45deg);pointer-events:none;z-index:1}
html body.palette-option[data-palette] .mobile-app .choice{margin-block:12px!important}
html body.palette-option[data-palette] .mobile-app .suite-row{padding-right:24px!important}
html body.palette-option[data-palette] .mobile-app details>summary{list-style:none;padding-right:24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.mobile-app details>summary::-webkit-details-marker{display:none}
.mobile-app details>summary::after{content:'⌄';flex:none;font-size:20px;line-height:1}
.mobile-app details[open]>summary::after{transform:rotate(180deg)}
.owner-voice-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
@media(min-width:1000px){html body.palette-option[data-palette] .mobile-app .suite-header{padding:16px 36px!important;min-height:80px!important;border-bottom:0!important}}

/* Match the overview bounds to the complete 3:4 poster, with compact media previews. */
@media(min-width:1000px){
 .overview-project{container-type:inline-size}
 .overview-project .desktop-project-top{--overview-height:min(900px,calc(100dvh - 144px),calc((100cqw - 28px)*.425/.75));height:var(--overview-height);align-items:stretch}
 .overview-project .desktop-project-poster{height:auto;width:100%;max-width:100%;aspect-ratio:3/4;align-self:start}
 .mobile-app:has(.overview-project) .desktop-project-info{display:flex;flex-direction:column;justify-content:space-between;gap:12px;height:100%;min-height:0;overflow-y:auto}
 .overview-project .desktop-project-info>*{flex:none}
 .overview-project .desktop-project-info>.screenplay-tile{margin-top:0}
 .overview-project .material-thumbnail{flex:none;aspect-ratio:16/9;width:100%;height:auto}
 .overview-project .desktop-project-material-grid>.overview-resource{align-self:start}
 .overview-project .desktop-project-material-grid>.overview-text{aspect-ratio:16/9;display:flex;flex-direction:column;justify-content:flex-start}
 .overview-project .overview-text{min-height:64px}
}
/* One project library for both account roles and received grants. */
.library-toolbar::before{display:none!important}
.projects-library-heading{display:flex;align-items:center;gap:20px;min-width:0}
.projects-library-heading h1{font-size:24px;margin:0;white-space:nowrap}
.projects-library-heading .view-toggle{white-space:nowrap}
@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app .library-toolbar{padding-left:0!important;grid-template-columns:minmax(330px,1fr) auto 190px 46px 46px!important;align-items:center}
 .projects-library-heading{justify-self:start}
}
@media(max-width:999px){
 .projects-library-heading{grid-column:1/-1;justify-content:space-between;gap:12px}
}
.invitation-preview{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:24px;max-width:560px!important;margin:64px auto!important;padding:28px}
.invitation-preview-cover{width:120px;aspect-ratio:3/4;border-radius:16px;overflow:hidden}
.invitation-preview h1{font-size:26px;margin:0 0 12px}
.invitation-preview p{color:var(--muted);margin:0}
.invitation-preview>button{grid-column:1/-1;width:100%}
@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app .library-toolbar.incoming-project-toolbar{grid-template-columns:minmax(330px,1fr) auto 46px 46px!important}
 .mobile-app:has(.overview-project) .desktop-project-info{justify-content:flex-start}
 .mobile-app:has(.overview-project) .desktop-project-info>.project-summary-tile{flex:1 1 96px;min-height:96px;display:flex;flex-direction:column;justify-content:flex-start}
 .mobile-app:has(.overview-project) .desktop-project-info>.screenplay-tile{margin-top:0}
 .overview-project .desktop-project-info>.project-summary-tile p{white-space:normal;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
}
/* Shared author and owner editor surfaces. */
.genre-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.genre-picker>p{margin:0 0 8px}.genre-selects .field{margin:0}
@media(min-width:1000px){
 html body.palette-option[data-palette].owner-edition .mobile-app .project-rail[data-layout=row] .project-card{width:360px!important;min-width:360px!important;max-width:360px!important;flex-basis:360px!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .project-rail[data-layout=grid]{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important}
 html body.palette-option[data-palette] .mobile-app:has(.author-project-editor) .suite-body>.owner-project-editor,html body.palette-option[data-palette] .mobile-app:has(.author-project-editor) .suite-body>.owner-editor-heading{max-width:none!important;width:100%;margin-inline:0!important}
 .author-project-editor .presentation-cover{width:100%;aspect-ratio:3/4;overflow:hidden;border-radius:18px}
 .author-project-editor .presentation-cover img{width:100%;height:100%;object-fit:cover}
}
@media(max-width:600px){.genre-selects{grid-template-columns:1fr}}
@media(min-width:1000px){
 html body.palette-option[data-palette].owner-edition .mobile-app .project-rail[data-layout=row] .project-cover{height:480px!important;aspect-ratio:3/4!important}
 html body.palette-option[data-palette].owner-edition .mobile-app .project-rail[data-layout=row] .project-heading h2{font-size:25px!important}
}
html body.palette-option[data-palette] .author-project-editor .owner-editor-artwork .presentation-cover{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:3/4;overflow:hidden;border-radius:18px}
.author-project-editor .owner-editor-artwork .presentation-cover img{position:absolute;width:100%;height:100%;object-fit:cover}

html body.palette-option[data-palette] .mobile-app .author-project-editor .author-editor-left>.author-moderation-button{background:linear-gradient(120deg,#203d32,#29463d)!important;border-color:#456a58!important;color:#cde7d8!important;min-height:0!important;width:100%!important;aspect-ratio:1/1;border-radius:22px!important;white-space:normal;font-size:20px!important;padding:28px!important;text-align:center;justify-content:center}
.author-project-editor .owner-upload-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}
.mobile-app[data-screen="screenplay.review"] .suite-body>.notice{margin-top:16px!important}
.script-check-progress{height:6px;border-radius:8px;background:#34303f;margin-top:18px;overflow:hidden}
.script-check-progress i{display:block;width:35%;height:100%;border-radius:8px;background:#bfa7eb;animation:script-check-indeterminate 2s ease-in-out infinite alternate}
@keyframes script-check-indeterminate{from{transform:translateX(-100%)}to{transform:translateX(285%)}}
@media(prefers-reduced-motion:reduce){.script-check-progress i{animation:none;width:100%;opacity:.6}}
@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app[data-screen="reading.setup"] .suite-body>:is(.suite-button,.suite-primary){display:flex!important;width:100%!important;max-width:980px!important;margin:16px auto 0!important;min-height:52px!important}
}

.author-editor-left{display:grid;gap:24px;align-content:start;min-width:0}
@media(min-width:1000px){
 .author-project-editor>.author-editor-left{align-self:stretch;align-content:stretch;grid-template-rows:auto minmax(80px,1fr)}
 html body.palette-option[data-palette] .mobile-app .author-project-editor .author-editor-left>.author-moderation-button{aspect-ratio:auto;height:100%!important;box-sizing:border-box}
}

.editor-material-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.editor-material-card{border:1px solid var(--border,#343438);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:14px;min-width:0}
.editor-material-card h3{margin:0;font-size:18px}.editor-material-card .row-between{flex-wrap:wrap;gap:8px}
.editor-material-status{font-size:13px;color:var(--muted)}.editor-material-status.is-loaded,.editor-source-state{color:#83c9a5}
.editor-material-card .owner-file-button{margin-top:auto}.editor-source-state{margin:0}
@media(max-width:800px){.editor-material-cards{grid-template-columns:1fr}}

/* Desktop project content is in normal flow beside the fixed navigation. */
@media(min-width:1000px){
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true]{box-sizing:border-box}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true]>.suite-header{position:relative!important;inset:auto!important;flex:0 0 64px;height:64px!important;min-height:64px!important;width:100%;box-sizing:border-box;padding:12px 32px!important}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true]>.suite-header::before{display:none!important}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true]>.suite-body{position:relative!important;inset:auto!important;flex:1 1 auto;height:auto!important;min-height:0;box-sizing:border-box;width:100%;display:block!important;padding:24px 32px 40px!important;overflow-x:hidden!important;overflow-y:auto!important;scroll-padding-block:24px;-webkit-mask-image:none!important;mask-image:none!important}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .project-presentation.desktop-project{box-sizing:border-box;width:100%!important;max-width:1280px!important;margin:0 auto!important}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .overview-project .desktop-project-top{display:grid;grid-template-columns:clamp(220px,28%,340px) minmax(0,1fr);gap:28px;align-items:start;height:auto!important;max-height:none!important;margin:0!important}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-poster{width:100%!important;max-width:340px!important;height:auto!important;aspect-ratio:3/4;align-self:start;justify-self:start}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-poster .presentation-cover img{object-fit:contain!important;object-position:center!important;transform:none!important}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-info{display:flex!important;flex-direction:column;justify-content:flex-start;gap:16px;height:auto!important;min-height:0;max-height:none!important;overflow:visible!important;min-width:0}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-info>*{flex:none!important}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-info>h2{font-size:32px;line-height:1.2;padding:0;margin:0;overflow-wrap:anywhere}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-byline{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-byline p{margin:0;text-align:left}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-material-grid{align-items:stretch}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-material-grid>.overview-text{aspect-ratio:auto;align-self:stretch}
 html body.palette-option[data-palette] #app.mobile-app[data-project-view=true] .desktop-project-info>.project-summary-tile{min-height:0;flex:none!important}
}

@media(min-width:1000px){
 html body.palette-option[data-palette] .mobile-app .projects-avatar-link{display:grid!important;place-items:center!important;padding:0!important;width:46px!important;min-width:46px!important;height:46px!important;overflow:hidden;border-radius:50%!important;flex:none}
 html body.palette-option[data-palette] .mobile-app .projects-avatar{position:relative!important;display:block!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;overflow:hidden;border-radius:inherit}
 html body.palette-option[data-palette] .mobile-app .projects-avatar img{position:static!important;display:block!important;transform:none!important;width:100%!important;height:100%!important;margin:0!important;object-fit:cover!important;object-position:center!important;border-radius:inherit}
}
