/* SyncroOS A：珊瑚粉、蜜桃黄和薰衣草紫的直播创作主题。 */
:root{
  --accent:#8b5cf6;
  --accent-strong:#7546e8;
  --coral:#ff6b6b;
  --coral-deep:#ef4c65;
  --peach:#fff0e7;
  --butter:#ffe66d;
  --lavender:#eee8ff;
  --mint:#bcf5df;
  --ink:#3b3150;
  --muted:#887c9e;
  --line:#f1dfdc;
  --sidebar:228px;
  font-family:"Nunito","Microsoft YaHei","Segoe UI",sans-serif;
}
*{scrollbar-color:#d4d4d8 #26232c}
body{color:var(--ink);background:radial-gradient(circle at 70% -20%,#fff2cf 0,transparent 31%),#fffaf7}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background-image:radial-gradient(#ffb9b1 1px,transparent 1px);background-size:24px 24px;opacity:.15}
button{border:1px solid #f3d9d7;border-radius:14px;color:#4f405f;background:#fffdfb;font-weight:700;box-shadow:0 3px 0 #f3e2df;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
button:hover{background:#fff2ed;transform:translateY(-2px);box-shadow:0 6px 16px #eb8b8830}
button:active{transform:translateY(1px);box-shadow:0 1px 0 #f3e2df}
button.primary{background:linear-gradient(135deg,#a78bfa,#7c5ce6);border-color:#7c5ce6;box-shadow:0 5px 0 #6945d4;color:#fff}
button.primary:hover{background:linear-gradient(135deg,#b39cff,#7851e6)}
button.danger{color:#e74766;background:#fff0f2;border-color:#ffd0d9;box-shadow:none}
button.quiet{box-shadow:none}
.sidebar{background:linear-gradient(160deg,#ff7773,#ff6678 52%,#f65382);box-shadow:10px 0 28px #f35d7735;color:#fff3eb;padding:22px 14px 17px;overflow:hidden}
.sidebar::before{content:"";position:absolute;width:240px;height:240px;border:28px solid #ffffff20;border-radius:50%;right:-142px;top:220px;pointer-events:none}
.sidebar::after{content:"✦  ✦";position:absolute;right:18px;top:125px;transform:rotate(15deg);font-size:17px;color:#fff3a7;letter-spacing:14px;opacity:.9}
.syncroos-brand{position:relative;z-index:1;gap:7px;padding:0 8px 21px;color:#fff;text-shadow:0 1px 0 #dc5262;font-size:29px;letter-spacing:0;font-weight:900}
.brand-bean{height:47px;width:47px;object-fit:contain;filter:drop-shadow(0 4px 2px #b8415735)}
.syncroos-brand small{color:#ffe5bc;font-size:8px;letter-spacing:1.35px;font-weight:800;margin-top:2px}
.nav-label{position:relative;z-index:1;color:#ffd6c8;font-size:9px;font-weight:900;letter-spacing:1.3px;margin:12px 13px 7px}
.nav-item{position:relative;z-index:1;color:#fff7f3;border:0;border-radius:14px;padding:11px 12px;gap:10px;font-size:12px;font-weight:700;margin:2px 0;box-shadow:none}
.nav-item>span{color:#ffe76d;font-size:18px}.nav-item small{color:#fff;border-color:#ffffff80;background:#ffffff20;border-radius:7px;font-weight:800}
.nav-item:hover{background:#ffffff1e}.nav-item.active{background:#fff;color:#f0516e;box-shadow:0 6px 15px #b53d5333}.nav-item.active>span{color:#9c6aff}
.nav-divider{border-color:#ffffff35;margin:15px 12px 9px}.sidebar-foot{position:relative;z-index:1;background:#ffffff16;border:1px solid #ffffff2b;border-radius:15px;padding:11px 10px;margin:14px 5px 0;color:#fff5ee}.sidebar-foot small{color:#ffd6c8}.sidebar-dot{background:#ffe66d;box-shadow:0 0 0 4px #ffe66d25}
.app-shell{background:linear-gradient(145deg,#fffaf7,#fff9f4 50%,#fff5ed);min-height:100vh}.topbar{height:78px;margin:0 30px;border:0;border-bottom:1px solid #f5e2dd}.breadcrumb{font-size:12px;color:#a996a8;font-weight:700}.breadcrumb strong{color:#6a5478}.breadcrumb>span{color:#ff9b98}.header-center{background:#fff;border:1px solid #f8dfdc;border-radius:99px;padding:8px 13px;box-shadow:0 3px 12px #edb1a72b;color:#806f89}.topbar #settings-open{color:#8b5cf6;font-weight:800;font-size:12px}.dot.on{background:#29c58d;box-shadow:0 0 0 4px #29c58d24}
main.realtime-workspace{grid-template-columns:minmax(440px,1.32fr) minmax(360px,.86fr);gap:28px;padding:24px 30px 17px;height:calc(100dvh - 126px);min-height:650px}.section-heading{min-height:43px;margin-bottom:15px}.eyebrow{color:#f06c81;font-weight:900;letter-spacing:1.6px}.section-heading h1,.section-heading h2{color:#3e3153;font-weight:900}.section-heading h1{font-size:28px}.section-heading h2{font-size:22px}.heading-actions{gap:9px}.heading-actions button{color:#8b5cf6;background:#f4efff;border:0}.status-badge{border:0;background:#fff0b7;color:#986418;font-weight:900;border-radius:99px;padding:7px 11px;box-shadow:none}
.realtime-workspace .stage{border-radius:26px;background:#c6a7f7;box-shadow:none;min-height:345px}.realtime-workspace .stage::before{background:radial-gradient(circle at 20% 15%,#fff5b080 0 4%,transparent 5%),radial-gradient(circle at 82% 20%,#ffffff44 0 13%,transparent 14%),linear-gradient(135deg,transparent 35%,#fff7e822 36% 46%,transparent 47%)}
.stage-top{top:18px;left:19px;right:19px;color:#fff}.stage-label{background:#ffffff2b;border-color:#ffffff60;color:#fff;font-weight:900;border-radius:99px}.stage-clock{background:#ffffff2b;color:#fff;border-radius:99px}.stage-empty{padding:25px 22px 84px;color:#fff}.stage-bean{height:170px;max-width:180px;object-fit:contain;filter:drop-shadow(0 14px 10px #bb405950);animation:bean-bob 3s ease-in-out infinite}.stage-empty h2{color:#fff!important;font-size:23px!important;text-shadow:0 2px #e9606d}.stage-empty p{color:#fff5f0!important;font-size:12px!important}.stage-empty .subtle{background:#fff;color:#ed5871;border:0;border-radius:99px;font-weight:900;box-shadow:0 4px 0 #d9566c}.stage-caption{background:linear-gradient(transparent,#702e4fbb);padding:38px 20px 17px;color:#fff}.stage-caption span{color:#fff0e9}.stage-icon{background:#ffffff28;color:#fff;border:1px solid #ffffff45;box-shadow:none;border-radius:11px}.wave i{background:#ffe66d}
.reply-strip{padding:14px 3px 12px;border-color:#f3dfdc}.reply-strip p{color:#665370;font-weight:700}.reply-strip #transcript{color:#8b5cf6}.session-controls{gap:9px;margin-top:13px}.realtime-workspace .session-controls>button,.realtime-workspace .start-actions>button{font-size:11px;padding:10px 13px}.footnote{color:#aa94a1}.chat-panel{border:0;border-radius:26px;background:#fff;box-shadow:0 12px 32px #edb5ae35;padding:20px 19px 13px}.chat-panel .section-heading{margin-bottom:12px}.chat-panel .small{background:#ff6b6b;border-color:#ff6b6b;color:#fff;box-shadow:0 4px 0 #e45268}.room-status{color:#76617b;margin-bottom:5px}.room-detail{background:#fff8dc;border-radius:11px;color:#9d7b4e;padding:6px 9px}.chat-toolbar{border-color:#f3e3e3}.tabs{gap:17px}.tabs button[aria-selected=true]{color:#f2516e;border-color:#f2516e;font-weight:900}.toggle{color:#7b667e}.switch{background:#e6dbe5}.toggle input:checked+.switch{background:#a78bfa}.feed{padding-right:2px}.feed-empty{min-height:210px}.feed-empty>span{font-size:0;width:105px;height:105px;background:url('/api/live/static/assets/syncroos-bean-headset.png') center/contain no-repeat;filter:drop-shadow(0 8px 5px #f2a69345);animation:bean-bob 3s ease-in-out infinite}.feed-empty h3{color:#6f526e;font-size:14px;font-weight:900}.feed-empty p{color:#aa93a6}.message{border:0;grid-template-columns:34px 1fr;padding:10px 5px;margin:4px 0;border-radius:15px;background:#fff5f4;animation:message-pop .32s both}.message:nth-child(3n){background:#f1edff}.message:nth-child(3n+1){background:#edfff8}.user-icon{background:#ffb4aa!important;color:#fff!important;box-shadow:0 2px 0 #f38e93}.message-meta{color:#9b839b;font-weight:800}.message p{font-size:12px;color:#4f3c56;line-height:1.6}.message-result{color:#a58ea4}.message button{color:#8b5cf6;font-weight:900}.queue-info{border:0;border-top:1px dashed #f0d9d7;color:#927b92;padding:10px 3px}.queue-info strong{color:#f2516e}.composer{border-top:1px solid #f4e0de;padding-top:9px}.composer>label{color:#957e97;font-weight:800}.composer input{border-color:#f4d7d5;border-radius:15px;background:#fffaf9}.composer button{border-radius:15px;box-shadow:none}.jump{background:#8b5cf6;color:#fff;border:0;box-shadow:0 6px 20px #7956be44}
footer{border:0;margin:0 30px;height:48px;color:#ab92a0}footer a{color:#8b5cf6;font-weight:800}.toast{background:#3f3151;border-radius:16px;box-shadow:0 10px 35px #51345555}
dialog{border:0;border-radius:25px;background:#fffaf8;box-shadow:0 30px 90px #bd5d6b50}.dialog-heading{background:linear-gradient(100deg,#fff0e7,#f2edff);border-radius:25px 25px 0 0}.settings-tabs{border-color:#f0dfdc}.settings-tabs button.active{border-color:#ff6b6b;color:#e84f6b;font-weight:900}.settings-body{color:#5a4762}.settings-body h3{color:#4c3855;font-weight:900}.settings-body label{color:#735b76;font-weight:800}.settings-body input,.settings-body textarea,.settings-body select{border-color:#f1dcd9;border-radius:12px;color:#503d5a;background:#fff}.dialog-footer{border-color:#f0dfdc}.form-error{color:#e44765}
.wide-workspace{padding:27px 30px 35px;min-height:calc(100dvh - 126px);position:relative}.wide-workspace::after{content:"";position:absolute;right:38px;top:17px;width:76px;height:76px;background:url('/api/live/static/assets/syncroos-bean-headset.png') center/contain no-repeat;opacity:.18;pointer-events:none;transform:rotate(12deg)}.page-heading{margin-bottom:23px}.page-heading h1{color:#3d2f51;font-size:30px;font-weight:900}.page-heading p{color:#9b8195}.editing-layout,.creation-layout{background:#fff;border:1px solid #f6e0dc;border-radius:24px;padding:20px;box-shadow:0 12px 32px #f0b4a735}.comparison{height:clamp(330px,52dvh,625px);gap:16px}.media-surface{border-radius:19px;background:#fff0e7;border:2px solid #fff9f3}.output-surface{background:#eee8ff}.surface-label{color:#ef6676;font-weight:900}.surface-label span{color:#94798b}.surface-label b{color:#8b5cf6;border-color:#d4c7ff;background:#ffffffaf;border-radius:99px}.media-empty>span{color:#ff7a82}.media-empty strong{color:#5e4563;font-weight:900}.media-empty p{color:#a58d9d}.workflow-line{border-color:#f3dfdc;color:#92758c;font-weight:800}.workflow-line i{color:#ff6b6b}.inspector{border-color:#f3dfdc}.inspector h3,.creation-form h3{color:#4e3958;font-weight:900}.wide-workspace label,.large-dialog label{color:#725a75;font-weight:800}.wide-workspace input:not([type=checkbox]),.wide-workspace select,.wide-workspace textarea,.large-dialog input:not([type=checkbox]),.large-dialog select,.large-dialog textarea{border-color:#efd9d8;border-radius:12px;color:#4d3d56}.wide-workspace summary,.large-dialog summary{color:#8b5cf6;font-weight:900}.image-picker{border-color:#ff9e9e;border-radius:17px;background:linear-gradient(135deg,#fff1e7,#f5efff)}.image-picker>div{color:#e85b73}.image-picker small{color:#a18198}.text-button{color:#8b5cf6;font-weight:900}.inline-check input{accent-color:#ff6b6b}.creation-form{border-color:#f1ddda}.steps-inline{border-color:#f1ddda;color:#a58ea0}.steps-inline .active{color:#ef5672;font-weight:900}.timeline-row button{color:#f05a73}.job-row{border-color:#f3e2df}.job-row strong{color:#775277}.job-row p{color:#a18aa0}.job-row progress{accent-color:#ff6b6b}.result-preview{background:linear-gradient(135deg,#fff0e7,#f0eaff);border-radius:20px}.asset-tabs{border-color:#f2dfdc}.asset-tabs button.active{color:#ef5672;border-color:#ef5672;font-weight:900}.asset-tabs button{color:#a18c9d}.asset-list{border-color:#f1dedc}.asset-row{border-color:#f2e2df}.asset-row .asset-symbol{background:#fff0e7;color:#ff6b6b;border-radius:17px}.asset-main strong{color:#553f5e}.asset-main p{color:#9e8498}.empty-list strong{color:#76556f}.empty-list p{color:#aa91a2}.voice-preset{border-color:#f3e2df}.voice-preset strong{color:#755473}.voice-preset p{color:#a98da2}.component-output{background:#fff0e7;border-radius:18px}.form-section-title{border-color:#f0dfdc}.reference-row{border-color:#f1e0df}.resource-details{color:#765476}.resource-details dt{color:#ab90a2}.task-search input{border-color:#efd9d8;border-radius:12px}.task-search button{box-shadow:none}
@keyframes bean-bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}
@keyframes message-pop{from{opacity:0;transform:translateX(14px) scale(.97)}to{opacity:1;transform:none}}
.desktop-titlebar{display:none}
html.tauri-client .desktop-titlebar{display:flex;position:fixed;z-index:50;inset:0 0 auto 0;height:42px;align-items:center;padding:0 9px 0 15px;background:linear-gradient(100deg,#ff7773 0%,#ff9485 48%,#c7b3ff 100%);color:#fff8f1;box-shadow:0 2px 14px #ba62763b;user-select:none}
html.tauri-client .desktop-window-brand{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:900;letter-spacing:.8px;text-shadow:0 1px 0 #be5c65}
html.tauri-client .desktop-window-brand img{width:29px;height:29px;object-fit:contain;filter:drop-shadow(0 2px 1px #a74a5630)}
html.tauri-client .desktop-window-brand small{font-size:8px;letter-spacing:1px;color:#fff0cb;font-weight:800}
html.tauri-client .desktop-window-note{margin-left:18px;font-size:10px;color:#fff6edcc;font-weight:700;letter-spacing:.3px}
html.tauri-client .desktop-window-actions{display:flex;align-self:stretch;margin-left:auto;gap:2px}
html.tauri-client .desktop-window-actions button{width:43px;height:100%;padding:0;border:0;border-radius:9px;color:#fff;background:transparent;box-shadow:none;font-size:17px;line-height:1;transition:background .16s ease}
html.tauri-client .desktop-window-actions button:hover{transform:none;background:#ffffff2b;box-shadow:none}
html.tauri-client .desktop-window-actions .desktop-close:hover{background:#e84f65}
html.tauri-client .sidebar{top:42px;height:calc(100dvh - 42px)}
html.tauri-client .app-shell{min-height:calc(100dvh - 42px);margin-top:42px}
@media(max-width:700px){html.tauri-client .desktop-window-note{display:none}html.tauri-client .desktop-window-actions button{width:38px}html.tauri-client .sidebar{top:42px;height:64px}html.tauri-client .app-shell{margin-top:106px}}
/* A design composition: mascot rail, floating control bar, large stage and pastel dock. */
:root{--sidebar:150px;--ink:#514556;--muted:#8b7f8b}
.turn-policy-status{margin:3px 4px 6px;font-size:10px;color:#9366c5;line-height:1.6}
body::before{display:none}
button{box-shadow:none;font-weight:600}
button.primary{background:#9567ff;border-color:transparent;box-shadow:none}
button.primary:hover{background:#8555ee;box-shadow:0 5px 18px #9667ff35}
svg{width:24px;height:24px;display:block;flex-shrink:0}
[data-icon]{display:inline-flex;align-items:center;justify-content:center}
:focus-visible{outline:3px solid #9465ee;outline-offset:3px}
.sidebar{padding:21px 12px 14px;background:linear-gradient(170deg,#ff7672 5%,#ff9b85 49%,#ffcfad 100%);box-shadow:none;overflow-y:auto;scrollbar-width:none}
.sidebar::before,.sidebar::after{display:none}
.syncroos-brand{flex-direction:column;gap:0;padding:0 0 18px;text-align:center;font-size:27px;color:#352924;text-shadow:none;letter-spacing:4px;font-weight:900}
.brand-bean{width:85px;height:85px;filter:drop-shadow(0 3px 0 #da786f30)}
.syncroos-brand small{display:none}
.studio-navigation{background:#fff9eddb;border:3px solid #fffdf4;border-radius:23px;padding:9px 6px;flex-shrink:0}
.nav-label{display:none}
.nav-item{font-size:11px;gap:9px;color:#968787;padding:10px 8px;margin:3px 0;border-radius:12px;white-space:nowrap;min-height:42px;font-weight:650}
.nav-item>span{color:inherit;width:20px;display:flex}
.nav-item svg{width:20px;height:20px;stroke-width:2}
.nav-item small{display:none}
.nav-item:hover{color:#ea656c;background:#ffe6dc;box-shadow:none}
.nav-item.active{background:#ff7a76;color:#fff;box-shadow:0 4px 10px #ff7a762d}
.nav-item.active>span{color:#fff}
.nav-divider{border-color:#eed9cc;margin:10px 8px}
.sidebar-note{position:relative;background:#fffdfa;border-radius:23px 19px 26px 18px;transform:rotate(-5deg);padding:14px 8px 0;margin:24px 2px 6px;color:#865e50;text-align:center}
.sidebar-note p{font-size:14px;line-height:1.65;margin:0;font-weight:750;letter-spacing:1px}
.sidebar-note p span{display:block;font-size:12px}
.sidebar-note img{width:82px;height:82px;object-fit:contain;margin:0 auto -3px;transform:rotate(8deg)}
.sidebar-note i{position:absolute;right:8px;bottom:25px;color:#ff6b75;font-size:27px;font-style:normal}
.sidebar-foot{margin:12px 0 0;background:none;border:0;padding:0 6px;justify-content:center;color:#915c56;font-size:10px}
.sidebar-foot small{display:none}
.sidebar-dot{background:#fffaea;box-shadow:none}
.app-shell{background:radial-gradient(ellipse at 0 0,#fff0e1,transparent 65%),#fffaf4}
.topbar{height:76px;margin:16px 22px;gap:18px;padding:12px 17px;background:#fffffff0;border:1px solid #fff;border-radius:24px;box-shadow:0 4px 22px #df98701a}
.studio-identity{display:flex;align-items:center;gap:10px;min-width:130px}
.studio-identity>img{width:46px;height:46px;object-fit:contain;border-radius:50%;background:#ffcec2;padding:2px}
.breadcrumb{display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-size:10px}
.breadcrumb>span{color:#a297a3}.breadcrumb strong{color:#625269;font-size:14px;font-weight:750}
#top-session-state{display:flex;align-items:center;gap:15px;white-space:nowrap}
.status-badge{background:#e8fbf1;color:#279a73;padding:8px 12px;font-weight:700;font-size:11px}
.stage-clock{background:none;color:#796c80;padding:0;font-size:12px}
.header-center{background:none;border:0;box-shadow:none;padding:0;margin-left:auto;margin-right:0;font-size:10px;white-space:nowrap;color:#9a8d9d}
#top-session-actions{display:flex;margin:0;gap:8px}
#start-live{display:flex;align-items:center;gap:10px;padding:13px 22px;border-radius:16px;font-size:16px;white-space:nowrap}
#start-live svg{width:23px;height:23px}
#start-demo{border:0;background:#f4f0fb;color:#9076aa;font-size:11px;padding:10px}
.topbar #settings-open{display:flex;align-items:center;justify-content:center;gap:5px;background:#f6f4f7;padding:12px;color:#8a7f93;border-radius:16px;font-size:11px;flex-shrink:0}
.header-settings svg{width:22px;height:22px}
main.realtime-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.48fr);grid-template-rows:minmax(0,1fr) 96px;gap:16px;height:calc(100dvh - 136px);min-height:650px;padding:0 22px 12px;max-width:none}
.preview-panel{height:auto;position:relative;min-width:0;min-height:0}
.realtime-workspace .stage{min-height:290px;border-radius:23px;box-shadow:none;background:#c6a7f7}
.realtime-workspace .stage::before{background:none}
.stage-top{top:18px;left:20px;right:20px}
.stage-label{background:#ef515bcf;border:0;border-radius:10px;padding:9px 12px;font-size:10px;letter-spacing:1px;color:#fff}
.stage-options{display:flex;gap:6px;align-items:center;border:1px solid #ffffff45;background:#1b1821b3;border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(10px);color:#fff;font-size:10px;padding:8px 11px;border-radius:11px}
.stage-options svg{width:15px;height:15px}
.stage-options:hover{background:#27222ecc}
.stage-empty{align-items:flex-start;justify-content:center;text-align:left;padding:56px 30px 110px;gap:0;background:linear-gradient(90deg,#0e0c12f2 0%,#0e0c1299 40%,transparent 72%),url('/api/live/static/assets/syncroos-studio-welcome.jpg') 62% center/cover no-repeat}
.illustration-label{position:static;margin:0 0 12px;font-size:11px;font-weight:500;letter-spacing:.04em;color:#d7d3df;background:#1b1821cc;border:1px solid rgba(255,255,255,.10);padding:6px 10px;border-radius:6px}
.stage-empty h2{font-size:clamp(22px,2.35vw,38px)!important;max-width:238px;line-height:1.55;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.65);font-weight:850;letter-spacing:2px;text-wrap:balance}
.stage-empty p{max-width:238px;font-size:13px!important;color:#fff!important;line-height:1.8;background:#A855F738;border-radius:8px;padding:12px 14px;margin:12px 0 18px}
.stage-empty .subtle{box-shadow:none;border-radius:12px;padding:11px 16px;font-size:13px;margin-top:0}
.stage-caption{bottom:12px;left:12px;right:12px;padding:12px 15px;background:#2b1b4a85;border:1px solid #ffffff20;backdrop-filter:blur(14px);border-radius:15px}
.stage-caption strong{font-size:13px;font-weight:700}.stage-caption span{font-size:9px;margin-top:3px}
.stage-icon{background:none;box-shadow:none;border:0}
.reply-strip{min-height:0;padding:10px 4px 5px;border:0;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.reply-strip>.eyebrow{font-size:9px;letter-spacing:0;flex-shrink:0;color:#eb8c8c}
.reply-strip p{font-size:10px;line-height:1.6;margin:0;font-weight:400;color:#8e7a8c;flex:1;min-width:0}
.reply-strip #transcript{flex-basis:100%;max-height:35px}
.realtime-workspace .session-controls{gap:8px;margin:0;min-height:30px}
.realtime-workspace .session-controls>button{font-size:10px;padding:5px 10px;box-shadow:none;border:0;background:#f4ece9;color:#987f90}
.realtime-workspace .footnote{font-size:9px;margin:5px 3px 0;line-height:1.3;color:#ab97a3}
.chat-panel{height:auto;padding:18px 16px 14px;background:#fff;border:1px solid #ffe2d8;border-radius:24px;box-shadow:0 5px 22px #e4ad9220;overflow:hidden}
.chat-panel .section-heading{min-height:35px;margin-bottom:9px;gap:9px}
.chat-panel .eyebrow{display:none}.chat-panel .section-heading h2{font-size:18px;color:#ee636b;margin:0;white-space:nowrap}
.chat-panel .small{font-size:10px;padding:7px 9px;box-shadow:none;border-radius:10px;background:#fff0ed;border-color:transparent;color:#eb686f;font-weight:650}
.count{border-radius:8px;background:#fff2ef;color:#f28a8d;padding:2px 6px;font-size:10px}
.room-status{font-size:10px;color:#998699;margin:0 0 7px}
.room-detail{padding:6px 8px;margin:0 0 8px;font-size:9px;line-height:1.5;background:#fff9e6;color:#a69773}
.chat-toolbar{padding-top:5px;border:0;gap:4px}
.tabs{gap:14px}.tabs button{font-size:11px;padding-bottom:10px;box-shadow:none;font-weight:600}
.toggle{font-size:10px;gap:5px;margin-bottom:10px}.switch{width:24px;height:14px}.switch::before{width:10px;height:10px}
.feed{min-height:115px;padding:8px 0;display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.feed-empty{min-height:180px;flex:1;align-self:stretch;padding:10px}
.feed-empty>span{width:84px;height:84px}.feed-empty h3{font-size:12px;margin-top:14px}.feed-empty p{font-size:10px}
.message{width:94%;flex-shrink:0;grid-template-columns:26px minmax(0,1fr);padding:10px 11px;gap:9px;border-radius:19px;margin:0;background:#ede3ff;box-shadow:none}
.message:nth-child(3n){background:#fff0b8;align-self:flex-end}
.message:nth-child(3n+1){background:#cff9e8;align-self:flex-end}
.message:nth-child(3n+2){background:#ffe1e8}
.user-icon{width:26px;height:26px;font-size:11px;background:#fff9!important;color:#b37683!important;box-shadow:none}
.message-meta{font-size:10px;color:#8f6d95;font-weight:600;gap:5px}
.message time{font-size:8px;color:#a088a4}.message p{font-size:12px;line-height:1.55;margin:4px 0;color:#674b71}
.message-bottom{min-height:10px;gap:4px}.message-result{font-size:8px;color:#a0809f}.message button{font-size:9px;box-shadow:none;color:#9970be}
.queue-info{font-size:9px;padding:10px 0;gap:10px}.queue-info strong{font-weight:700}
.composer{padding-top:5px;border:0}.composer>div{margin-top:6px;gap:8px}
.composer input{background:#f7f5f8;border:0;border-radius:14px;padding:12px;font-size:10px}
.composer button{background:#ff7777;border:0;box-shadow:none;border-radius:14px;width:45px;color:#fff}
.composer>label{font-size:9px;color:#b29cae}.composer>span{font-size:8px;color:#b29cae;line-height:1.5;margin-top:7px}
.jump{bottom:140px;z-index:4}
.quick-dock{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;min-width:0}
.quick-tile{border:0;border-radius:19px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:12px 5px;min-width:0;box-shadow:none;transition:transform .18s,filter .18s}
.quick-tile svg{width:30px;height:30px;stroke-width:2}
.quick-tile strong{font-size:12px;font-weight:700;white-space:nowrap}
.quick-tile.coral{background:#ffd4d5;color:#f46b78}.quick-tile.peach{background:#ffe9cb;color:#e8a33a}.quick-tile.yellow{background:#fff1a0;color:#dea327}.quick-tile.mint{background:#c9f9e8;color:#22bc94}.quick-tile.pink{background:#ffd7df;color:#ef7496}.quick-tile.lavender{background:#e9d9ff;color:#9c69eb}
.quick-tile:hover{transform:translateY(-4px);filter:saturate(1.2);box-shadow:0 7px 15px #bc93802a}
.creation-note{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;background:#fff0a7;border-radius:20px;padding:8px 15px;overflow:hidden;color:#8c602e}
.creation-note::before{content:"";position:absolute;width:190px;height:120px;border-radius:50%;background:#ffe48170;bottom:-75px;right:-25px;transform:rotate(-15deg)}
.creation-note img{height:89px;width:89px;object-fit:contain;transform:rotate(-9deg)}
.creation-note>div{position:relative;font-size:19px;font-weight:750;line-height:1.55;letter-spacing:1px;transform:rotate(-4deg)}
.creation-note>div span{display:block;font-size:9px;letter-spacing:1px;color:#bb944e;margin-top:1px}
.creation-note>i{font-size:29px;font-style:normal;color:#ff7881;transform:rotate(15deg);margin-left:auto}
footer{height:28px;margin:0 22px;font-size:8px;min-height:0;padding:0;border:0}
.wide-workspace{padding:8px 22px 28px;min-height:calc(100dvh - 136px)}
.wide-workspace::after{display:none}
.page-heading{gap:15px;margin-bottom:20px;padding:10px 5px}
.page-heading>div{margin-right:auto;min-width:0}
.page-heading h1{font-size:26px;margin-top:4px}.page-heading p{font-size:11px;margin-top:7px;line-height:1.7;color:#9b8798}
.page-emblem{display:grid;place-items:center;width:61px;height:61px;flex-shrink:0;background:#ffdfd9;border-radius:20px;transform:none;color:#f27e80}
.page-emblem svg{height:30px;width:30px;transform:none}
#view-offline .page-emblem{background:#eaddff;color:#9b6fe0}#view-assets .page-emblem{background:#fff0b3;color:#d7a23e}#view-history .page-emblem{background:#d4f4e7;color:#49b993}#view-component .page-emblem{background:#e0ebff;color:#7296d0}
.editing-layout,.creation-layout{border:1px solid #ffe5da;border-radius:24px;box-shadow:0 4px 22px #df987016;padding:24px;gap:26px}
.comparison{height:clamp(330px,52dvh,620px)}
.media-surface{background:radial-gradient(ellipse at 50% 40%,#fff9ee,#ffe9db);border:0;border-radius:21px}
.output-surface{background:radial-gradient(ellipse at 50% 40%,#fbf7ff,#eaddff)}
.media-empty>span{display:grid;place-items:center;border-radius:24px;width:76px;height:76px;background:#fff9;box-shadow:0 8px 18px #b7807612;color:#f39b8c}
.output-surface .media-empty>span{color:#ab8ae6}
.inspector{background:#fffaf6;border:0;padding:18px;border-radius:19px}
.inspector h3{font-size:18px;margin:6px 0 16px}.inspector .eyebrow{color:#f29c91}
.asset-tabs{background:#fff;border:1px solid #ffe5da;border-radius:17px;padding:5px;gap:7px;display:flex}
.asset-tabs button{flex:1;border:0;border-radius:12px;padding:13px;color:#a98d9f;font-weight:650}
.asset-tabs button.active{background:#fff0cf;border:0;color:#b88731}
.asset-toolbar{padding:20px 2px}.asset-list{border:1px solid #ffe5da;background:#fff;border-radius:22px;padding:0 22px;overflow:hidden}
.asset-row{padding:20px 0}.empty-list{padding:50px 18px}
.voice-presets{gap:12px}.voice-preset{padding:16px;background:#fff;border:1px solid #eee3f8;border-radius:16px}
.creation-results .result-preview{min-height:260px}.steps-inline{gap:15px}.steps-inline span{font-size:11px}.steps-inline .active{background:#fff0df;color:#dd976c;padding:5px 10px;border-radius:8px;margin-top:-5px}
.large-dialog{border-radius:24px}.dialog-heading .eyebrow{color:#bf93a3}.dialog-footer button.primary{min-width:100px}
@media(min-width:1600px){:root{--sidebar:168px}.topbar{margin-left:26px;margin-right:26px}main.realtime-workspace{padding-left:26px;padding-right:26px;grid-template-columns:minmax(0,1fr) minmax(390px,.44fr);gap:18px;grid-template-rows:minmax(0,1fr) 106px}.quick-tile strong{font-size:14px}.quick-tile svg{width:34px;height:34px}.stage-empty h2{font-size:40px!important;max-width:273px}.nav-item{font-size:12px;padding:11px}.sidebar-note{margin-top:auto}}
@media(max-height:850px) and (min-width:1001px){.sidebar-note{display:none}.sidebar-foot{margin-top:auto;padding-top:14px}.brand-bean{width:65px;height:65px}.syncroos-brand{padding-bottom:14px}.nav-item{min-height:39px;padding-top:8px;padding-bottom:8px}}
@media(max-width:1200px) and (min-width:1001px){:root{--sidebar:130px}.nav-item{font-size:10px;padding-left:5px;gap:6px}.studio-navigation{padding:7px 4px}.topbar{gap:10px;padding-left:12px;padding-right:12px}.header-center{display:none}#top-session-actions{margin-left:auto}#start-live{padding:12px 15px;font-size:13px}.settings-label{display:none}main.realtime-workspace{grid-template-columns:minmax(0,1fr) 325px;gap:13px}.quick-dock{gap:7px}.quick-tile strong{font-size:10px}.stage-empty h2{font-size:25px!important;max-width:180px}.stage-empty p{max-width:180px;font-size:12px!important}.stage-empty{padding-left:20px}}
@media(max-width:1000px){.wide-workspace::after{display:none}.editing-layout,.creation-layout{padding:16px}.chat-panel{box-shadow:0 10px 24px #edb5ae35}}
@media(max-width:600px){:root{--sidebar:0px}.sidebar{background:linear-gradient(90deg,#ff7773,#ff5e80)}.brand-bean{height:34px;width:34px}.syncroos-brand{font-size:20px}.topbar{margin:0 16px}.header-center{display:none}main.realtime-workspace,.wide-workspace{padding-left:16px;padding-right:16px}.realtime-workspace .stage{min-height:375px}.stage-bean{height:142px}.chat-panel{border-radius:21px;padding:16px}.editing-layout,.creation-layout{border-radius:20px;padding:13px}.comparison{height:325px}.page-heading h1{font-size:26px}footer{margin:0 16px}.wide-workspace::after{display:none}}
@media(max-width:1000px){
  :root{--sidebar:126px}
  .sidebar{padding:16px 8px}.brand-bean{width:67px;height:67px}.syncroos-brand{font-size:24px}.nav-item{font-size:10px;gap:7px;padding:10px 5px}.studio-navigation{padding:7px 4px}.sidebar-note{padding:12px 4px 0}.sidebar-note p{font-size:12px}
  .topbar{height:auto;min-height:76px;margin:14px 18px;padding:12px;gap:10px;flex-wrap:wrap}.header-center{display:none}.studio-identity{min-width:120px}#top-session-actions{margin-left:auto}#start-live{padding:12px 15px;font-size:13px}.settings-label{display:none}#top-session-state{gap:8px}.stage-clock{font-size:10px}.status-badge{font-size:10px;padding:6px 9px}
  main.realtime-workspace{display:grid;grid-auto-flow:row;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:18px;height:auto;min-height:0;padding:0 18px 20px}.preview-panel{height:610px;grid-row:1}.quick-dock{grid-row:2;height:96px}.chat-panel{grid-row:3;height:580px;padding:18px}.creation-note{grid-row:4;height:100px;justify-content:flex-start;padding-left:25px}.creation-note>div{font-size:20px}.creation-note>i{margin-right:20px}
  .stage-empty h2{font-size:32px!important;max-width:223px}.stage-empty p{max-width:223px}.wide-workspace{padding:6px 18px 24px}.editing-layout,.creation-layout{padding:20px}.page-heading{gap:12px}.page-emblem{width:52px;height:52px;border-radius:17px}.page-heading h1{font-size:24px}.comparison{height:420px}footer{margin:0 18px;min-height:35px}
}
@media(max-width:600px){
  :root{--sidebar:0px}
  .sidebar{position:sticky;height:64px;top:0;width:100%;padding:7px 10px;gap:8px;overflow-x:auto;overflow-y:hidden;background:#ff8b80;align-items:center;flex-direction:row;border-bottom:1px solid #fff5}
  .syncroos-brand{font-size:17px;flex-direction:row;letter-spacing:1px;padding:0 4px;gap:2px;white-space:nowrap}.brand-bean{height:39px;width:39px}.studio-navigation{display:flex;align-items:center;background:none;border:0;border-radius:0;padding:0;gap:3px}.nav-item{width:auto;margin:0;min-height:37px;padding:9px 10px;font-size:10px;color:#fff}.nav-item>span{display:none}.nav-item.active{background:#fff5ee;color:#ef6d72;box-shadow:none}.sidebar-note,.sidebar-foot,.nav-divider{display:none}
  .topbar{margin:12px 12px 14px;border-radius:20px;padding:11px;gap:9px;min-height:70px}.studio-identity{min-width:0;flex:1}.studio-identity>img{width:36px;height:36px}.breadcrumb{font-size:9px;gap:3px}.breadcrumb strong{font-size:12px}.topbar #settings-open{padding:9px;order:2}#top-session-state{order:1;gap:7px}#top-session-actions{order:3;flex-basis:100%;margin:0;gap:8px}#start-live{flex:1;justify-content:center;padding:10px;font-size:13px}#start-demo{padding:10px 17px;font-size:10px}#stop{width:100%}.status-badge{padding:6px 8px;font-size:9px}.stage-clock{font-size:9px}
  main.realtime-workspace{padding:0 12px 18px;gap:14px}.preview-panel{height:525px}.realtime-workspace .stage{min-height:320px;border-radius:20px}.stage-top{top:14px;left:14px;right:14px}.stage-label{padding:7px 8px;font-size:8px}.stage-options{font-size:9px;padding:6px 8px}.stage-options svg{width:13px;height:13px}.illustration-label{position:static;margin:0 0 10px;font-size:10px;padding:5px 8px}.stage-empty{padding:40px 18px 96px;background-position:57% center}.stage-empty h2{font-size:25px!important;max-width:160px;letter-spacing:1px}.stage-empty p{max-width:160px;font-size:12px!important;line-height:1.7;padding:10px 11px;margin:10px 0 16px}.stage-empty .subtle{padding:10px 13px;font-size:12px}.stage-caption{padding:10px;left:10px;right:10px;bottom:10px}.stage-caption strong{font-size:11px}.stage-caption span{font-size:8px}.reply-strip{gap:7px;padding-top:9px}.reply-strip p{font-size:9px}.realtime-workspace .footnote{font-size:8px}
  .quick-dock{grid-template-columns:repeat(3,minmax(0,1fr));height:164px;gap:9px}.quick-tile{border-radius:17px;gap:5px;padding:10px 4px}.quick-tile strong{font-size:11px}.quick-tile svg{width:26px;height:26px}.chat-panel{height:570px;padding:16px}.creation-note{height:95px;border-radius:19px;padding-left:20px}.creation-note img{height:82px;width:82px}.creation-note>div{font-size:18px}.creation-note>div span{font-size:8px}
  .wide-workspace{padding:0 12px 25px}.page-heading{gap:10px;padding:7px 0;margin-bottom:14px;flex-wrap:wrap}.page-heading>div{flex:1}.page-emblem{width:43px;height:43px;border-radius:14px}.page-emblem svg{width:24px;height:24px}.page-heading h1{font-size:22px}.page-heading p{font-size:10px;line-height:1.7}.page-heading>.inline-check{flex-basis:100%;justify-content:flex-end}.editing-layout,.creation-layout{padding:13px;border-radius:20px}.comparison{height:320px;gap:9px}.surface-label{left:10px;right:10px;top:13px;font-size:8px;gap:5px}.media-empty>span{width:52px;height:52px;border-radius:17px;font-size:28px}.media-empty strong{font-size:11px}.media-empty p{font-size:9px}.inspector{padding:14px}.asset-tabs{gap:2px;padding:4px;border-radius:14px}.asset-tabs button{font-size:10px;padding:11px 5px}.asset-toolbar{gap:8px;padding:16px 0}.asset-toolbar button{font-size:11px;padding:9px}.asset-list{padding:0 14px;border-radius:18px}.voice-presets{grid-template-columns:1fr}.page-heading .eyebrow{font-size:8px}.steps-inline{gap:12px}.steps-inline span{font-size:10px}footer{margin:0 12px;padding:0 0 12px;height:auto;min-height:35px}
}

/* Desktop shell: keep the workbench inside the native window rather than
   letting the document grow beyond it. The chat feed retains its own scroll. */
html.tauri-client,
html.tauri-client body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
html.tauri-client .app-shell{height:calc(100dvh - 42px);min-height:0;margin-top:42px;display:flex;flex-direction:column;overflow:hidden}
html.tauri-client .topbar{flex:0 0 76px}
html.tauri-client main.realtime-workspace{flex:1 1 auto;width:100%;margin:0;min-height:0;height:auto;grid-template-columns:minmax(0,1fr) minmax(300px,.44fr);grid-template-rows:minmax(0,1fr);overflow:hidden}
html.tauri-client .realtime-workspace .stage{flex:0 0 auto;width:100%;aspect-ratio:16/9;min-height:0;max-height:calc(100% - 120px)}
html.tauri-client .app-shell:has(#view-realtime:not([hidden])) #additional-workspaces{display:none}
html.tauri-client .preview-panel{min-height:0;overflow:hidden}
html.tauri-client .chat-rail{min-height:0;display:flex;flex-direction:column;gap:16px}
html.tauri-client .chat-panel{flex:1 1 auto;min-height:0;height:auto}
html.tauri-client .creation-note{flex:0 0 96px;min-height:0}
html.tauri-client footer{flex:0 0 28px}
html.tauri-client #additional-workspaces{flex:1 1 auto;min-height:0;overflow:auto}
html.tauri-client .wide-workspace{height:100%;min-height:0;overflow:auto}
html.tauri-client #desktop-titlebar{cursor:move}
html.tauri-client .desktop-window-actions,
html.tauri-client .desktop-window-actions button{cursor:default}
@media(max-height:800px) and (min-width:1001px){
  html.tauri-client .topbar{flex-basis:66px;height:66px;margin-top:10px;margin-bottom:10px}
  html.tauri-client main.realtime-workspace{padding-bottom:8px;gap:12px}
  html.tauri-client .chat-rail{gap:12px}
  html.tauri-client .creation-note{flex-basis:76px}
  html.tauri-client .creation-note img{width:70px;height:70px}
  html.tauri-client .creation-note>div{font-size:15px}
}
