/* Shared workspace controls with readable light and dark appearances. */
body.studio254,body.studio254 :is(button,input,textarea,select){font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body.studio254 .tool-nav{min-width:0;gap:16px}
body.studio254 .tool-switcher{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;justify-content:flex-start;scrollbar-width:thin}
body.studio254 .tool-switcher a{flex:0 0 auto!important;min-width:max-content!important;white-space:nowrap;min-height:44px;gap:7px;padding:9px 12px;font-size:13px}
body.studio254[data-theme] :is(.humanizer-hero59,.humanizer-controls59,.writing-columns>section){box-shadow:0 10px 28px #152a4410!important}
body.studio254[data-theme] :is(.humanizer-submit59,.humanizer-review59,.humanizer-process59 span){background:var(--surface2)!important;color:var(--ink)!important;border-color:var(--line)!important}
body.studio254[data-theme] .humanizer-review59 small{color:var(--muted)}
body.studio254{--page:#f3f5f9;--surface:#fff;--surface2:#f6f8fc;--ink:#19263a;--muted:#50627a;--line:#dbe2ec;background:var(--page)!important;color:var(--ink)!important;color-scheme:light}
body.studio254[data-theme="dark"],body.studio254[data-theme="black"]{--page:#0c121d;--surface:#131e2e;--surface2:#1b293c;--ink:#edf3ff;--muted:#b1c1d8;--line:#32445e;color-scheme:dark}
body.studio254[data-theme]{--tool-surface:var(--surface);--tool-soft:var(--surface2);--tool-ink:var(--ink);--tool-muted:var(--muted);--tool-border:var(--line)}
body.studio254[data-theme] :is(.card,.panel,.projects,.editor-shell,.writing-columns section,.humanizer-controls59,.tool-api,.tool-nav,.appbar,.top){background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
body.studio254[data-theme] :is(.hero,.intro,.mast,.humanizer-hero59){background:radial-gradient(circle at 84% 20%,var(--studio-glow,#588efa20),transparent 55%),var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
body.studio254[data-theme] :is(h1,h2,h3,h4,label,summary,.panel-head,.heading,.eyebrow){color:var(--ink)!important}
body.studio254[data-theme] :is(p,small,.hint,.foot,.tool-note,.status){color:var(--muted)}
body.studio254[data-theme] :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.tool-select-trigger,.tool-select-options){background:var(--surface2)!important;color:var(--ink)!important;border-color:var(--line)!important;color-scheme:inherit}
body.studio254[data-theme] :is(input,textarea)::placeholder{color:var(--muted)!important}
body.studio254[data-theme] select option{background:var(--surface);color:var(--ink)}
body.studio254[data-theme] :is(.row,.source,.result,.favourite,.option){background:var(--surface2);color:var(--ink);border-color:var(--line)}
body.studio254[data-theme] #play-question{color:var(--ink)}
body.studio254[data-theme="light"] #play-options button{background:#eef5fb;color:#20354a;border-color:#c6d5e4}
.studio254 :is(.tool-hero,.tool-form,.panel,.studio-panel,.feature-card,.tool-card){background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:22px!important;box-shadow:0 12px 34px #152a4410}
.studio254 :is(h1,h2,h3,h4,label,summary){color:var(--ink)!important}.studio254 :is(p,small,.muted){color:var(--muted)}
.studio254 :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.tool-select-trigger,.tool-select-options){background:var(--surface2)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:12px!important;box-sizing:border-box;max-width:100%}
.studio254 textarea{font-size:17px!important;line-height:1.8!important;padding:18px!important}
.studio254 :is(button,.button){transition:background .18s,transform .18s,box-shadow .18s;touch-action:manipulation;border-radius:12px;min-height:40px}
.studio254 button:active{transform:translateY(1px)}.studio254 :focus-visible{outline:3px solid #588efa;outline-offset:3px}
.studio254 .tool-nav{background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line)}
#starterGrid{max-height:none!important;overflow:visible!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}#starterGrid p{display:none}#starterGrid>*{min-width:0}
.calculator-modal-v276 .calculator-shell-v276{height:min(740px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;display:flex!important;flex-direction:column;gap:8px;padding:16px!important;position:relative}
.calculator-shell-v276 header{flex:none}.calculator-shell-v276 header h2{font-size:21px;margin:0}.calculator-shell-v276 header p{display:none}.calculator-screen-v276{flex:none;padding:10px!important}.calculator-screen-v276 input{font-size:20px!important;min-height:30px!important}.calculator-screen-v276 output{font-size:26px!important;min-height:30px!important}.calculator-keys-v276{flex:1;min-height:0;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(9,minmax(0,1fr));gap:5px!important;overflow:hidden!important}.calculator-keys-v276 button{min-height:0!important;padding:2px!important;font-size:16px!important}.calculator-shell-v276 footer{flex:none;padding:0!important}.calculator-history-v277:not([hidden]){position:absolute;inset:100px 16px 60px;z-index:3;overflow:auto;background:var(--surface,#fff);padding:16px;border-radius:16px}
.launch-ready2516{position:fixed;inset:0;z-index:2147483000!important;background:#08121e!important;display:grid!important;place-items:center;pointer-events:auto;animation:none!important;opacity:1!important;color:white;transition:opacity .3s}
.launch-ready2516.launch-complete2516{opacity:0!important;pointer-events:none}.launch-ready2516 .senvo-launch-lockup2514{animation:none!important;opacity:1!important;transform:none!important;position:relative;display:grid;justify-items:center;gap:12px;text-align:center}.launch-ready2516 img{width:76px;height:76px;border-radius:20px}.launch-ready2516 span{font-size:40px;font-weight:750}.launch-ready2516 small{letter-spacing:.4em;color:#a6c9ef}.launch-ready2516 p{font-size:14px;color:#b9c7db}.launch-orbit2516{position:absolute;width:280px;height:280px;border:1px solid #a7c6ed18;border-top-color:#71b1ff;border-radius:50%;animation:launch-orbit2516 3s linear infinite}.launch-progress2516{width:150px;height:3px;background:#1a324c;overflow:hidden;border-radius:3px}.launch-progress2516:after{content:'';display:block;width:60%;height:100%;background:#a0c9fb;animation:launch-track2516 1.5s ease-in-out infinite}.launch-recovery2516 button{margin:8px;padding:10px 14px;border:1px solid #607a9a;background:#152c43;color:#fff;border-radius:10px}
@keyframes launch-orbit2516{to{transform:rotate(360deg)}}@keyframes launch-track2516{from{transform:translateX(-110%)}to{transform:translateX(180%)}}
.inbox-send-review2516{border:1px solid #7792b0;border-radius:16px;padding:20px;margin-top:16px}.inbox-send-review2516 pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.inbox-send-review2516 button{padding:12px;margin:8px}
@media(max-height:500px){.calculator-shell-v276 header small,.calculator-modes-v276 span,.calculator-shell-v276 footer span,.calculator-state-v277,.calculator-result-label{display:none}.calculator-shell-v276 header h2{font-size:15px}.calculator-modal-v276 .calculator-shell-v276{gap:3px;padding:8px!important}.calculator-screen-v276{padding:2px 8px!important}.calculator-screen-v276 label{display:none}.calculator-keys-v276 button{font-size:12px!important}.calculator-shell-v276 footer button,.calculator-modes-v276 button{min-height:22px!important;padding:2px!important}}
@media(prefers-reduced-motion:reduce){.launch-orbit2516,.launch-progress2516:after{animation:none}.studio254 *{scroll-behavior:auto!important;transition:none!important}}
.calculator-modal-v276 .calculator-shell-v276 header{margin:0;padding-bottom:6px}
.calculator-modal-v276 .calculator-screen-v276{min-height:0;margin-top:0}
.calculator-modal-v276 .calculator-modes-v276{margin:0;flex:none}
.calculator-modal-v276 .calculator-shell-v276 footer{margin-top:0}
@media(max-height:500px) and (min-width:600px){
 .calculator-modal-v276 .calculator-shell-v276{width:min(980px,calc(100vw - 24px))!important;display:grid!important;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);grid-template-rows:auto 1fr auto auto;column-gap:18px;padding:12px!important}
 .calculator-shell-v276 header{grid-column:1;grid-row:1}.calculator-screen-v276{grid-column:1;grid-row:2;align-self:center}.calculator-modes-v276{grid-column:1;grid-row:3}.calculator-shell-v276 footer{grid-column:1;grid-row:4}
 .calculator-keys-v276{grid-column:2;grid-row:1 / 5;height:100%;gap:5px!important}.calculator-keys-v276 button{font-size:15px!important}
 .calculator-shell-v276 header button{height:32px;width:32px;min-height:32px;padding:0}
 .calculator-shell-v276 footer button{width:100%;min-height:34px!important}
}
