/* Orea: black working surfaces and warm beige/brown control states. */
:root:root {
 --dw-bg:#050505;--dw-panel:#0c0c0c;--dw-raised:#161616;--dw-fg:#f1eee9;--dw-muted:#b6b3ae;
 --dw-earth:#c8ac8a;--dw-ice:#c8ac8a;--dw-border:#373737;
 --dw-focus:#d7bd9d;--dw-control-fill:#141312;--dw-control-hover:#201f1e;--dw-control-pressed:#2b2a29;
 --dw-control-ink:#eee3d4;--dw-control-muted:#c1b6a7;--dw-control-line:#65513b;
 --clear-night:#050505;--clear-white:#f1eee9;--clear-secondary:#b6b3ae;
 --clear-plane:#0c0c0c;--clear-control:#111111;--clear-action:#222222;
 --clear-line:#ffffff17;--clear-control-line:#ffffff30;--clear-edge:none;--clear-shadow:none;--clear-blur:none;
 --bg:#050505;--bg-side:#080808;--raised:#101010;--fill:#191919;--fill-2:#222222;
 --fg:#f1eee9;--fg-2:#d2cfc9;--muted:#aaa7a2;--ivory:#c8ac8a;--on-ivory:#1c1b1a;--hover:#c8ac8a14;
 color-scheme:dark;
}
body.glass-world{background:#050505}
body.glass-world::before{display:none}
html[data-material] body .app-rail{background:#080808;border-bottom:1px solid #ffffff17;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-material] body .tool-nav a:hover{background:#171615;color:#e1c5a3}
html[data-material] body .tool-nav a:active{background:#2b2a29;color:#eedac0}
html[data-material] body .tool-nav a[aria-current=page]{background:#1d1c1b;color:#e1c5a3;border-color:transparent;box-shadow:none}
html[data-material] body .tool-nav a[aria-current=page]::after{background:#c8ac8a;box-shadow:none}
html[data-material] body :focus-visible{outline:2px solid var(--dw-focus);outline-offset:3px}
html[data-material] body .account-button{color:#d2c0a8}
html[data-material] body .brand-link>span, .landing .brand .wm{font-family:Arial,sans-serif;font-size:32px;line-height:1;letter-spacing:-2px;font-weight:600;font-style:italic}
html[data-material] body .button,html[data-material] body input,html[data-material] body textarea,html[data-material] body select{border-radius:8px;box-shadow:none;text-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-material] body :is(input,textarea,select){background:#101010;border-color:#484848;color:#f1eee9}
html[data-material] body :is(input,textarea)::placeholder{color:#aaa7a2}
html[data-material] body .button::before,html[data-material] body .button::after{display:none}
html[data-material] body :is(.button.primary,.cinema-generate,.send-btn,.btn--primary),.landing .ask__send{background:#c8ac8a;border:1px solid #c8ac8a;color:#1c1b1a;box-shadow:none;text-shadow:none;transform:none}
html[data-material] body :is(.button.primary,.cinema-generate,.send-btn,.btn--primary):hover:not(:disabled),.landing .ask__send:hover{background:#d7bd9d;color:#1c1b1a;border-color:#d7bd9d}
html[data-material] body :is(.button.primary,.send-btn,.btn--primary):active:not(:disabled){background:#b79873;color:#1c1b1a;border-color:#b79873}
html[data-material] body :is(.button.primary,.cinema-generate,.send-btn,.btn--primary):disabled{background:#4a4136;color:#d2c1ab;border-color:#665643;opacity:.7}
html[data-material] body :is(.project-menu,.memory-dialog,.memory-contents-dialog,#accountDialog,.design-compose,.design-conversation,.design-conversation-heading,.design-editor-top,.design-editor-gate,.design-showcase,.cinema-prompt-panel,.composer,.sidebar,.menu,.dialog__card,.dw-convert-dialog){background:#0c0c0c;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-color:#ffffff20}
html[data-material] body :is(.topbar,.embedded-chat .topbar){background:#050505}
html[data-material] body .embedded-chat .sidebar{background:#080808}
html[data-material] body .composer{background:#111111;border-color:#454545;border-radius:16px}
html[data-material] body .composer:focus-within{border-color:#b69b7c}
html[data-material] body .design-compose textarea{min-height:100px;max-height:220px;resize:vertical}
html[data-material] body .design-connection{border:0;background:transparent;padding:0;color:#b6b3ae;font-size:12px}
html[data-material] body :is(.cinema-studio,.design-workspace) :is(input,textarea,select){background:#101010;border-color:#444;color:#f1eee9}
html[data-material] body .cinema-prompt-panel{border:1px solid #383838;border-radius:10px}
html[data-material] body .cinema-stage{border-radius:10px;background:#111;box-shadow:none}
html[data-material] body .memory-save{color:#d8bd9c}
html[data-material] body .workspace-content .memory-save{background:#151413;border:1px solid #695640;color:#dec4a4}
html[data-material] body .dw-account{background:#0c0c0c;border-color:#353433;box-shadow:0 20px 60px #0008}
html[data-material] #newChat{background:#c8ac8a;color:#1c1b1a;border:1px solid #c8ac8a;border-radius:8px}
.landing :is(.btn--light,.btn--ghost,.ask)::before,.landing :is(.btn--light,.btn--ghost,.ask)::after{display:none!important}
html[data-material] body .cinema-mode[aria-selected=true]{background:#191919;border-color:#545454;box-shadow:none}
html[data-material] body .cinema-examples{margin-top:48px;padding:24px 0;border:0;border-top:1px solid #393939;background:transparent;box-shadow:none}
html[data-material] body .cinema-examples .recipe-grid{display:block;columns:5;column-gap:14px}
html[data-material] body .cinema-examples .recipe-tile{display:block;width:100%;break-inside:avoid;margin:0 0 20px;background:transparent;text-align:start}
html[data-material] body .cinema-examples .recipe-media{aspect-ratio:auto;height:auto;border-radius:9px;overflow:hidden;position:relative;background:#111}
html[data-material] body .cinema-examples .recipe-media :is(img,video){display:block;position:static;width:100%;height:auto;max-height:none;object-fit:contain;aspect-ratio:auto}
html[data-material] body .cinema-examples .recipe-media video{min-height:130px}
html[data-material] body .cinema-examples .recipe-caption{margin-top:9px}
html[data-material] body .cinema-examples .example-stamp{top:8px;inset-inline-start:8px;bottom:auto;font-size:10px;background:#111c}
.cinema-video-card{color:inherit;font:inherit;border:0;padding:0;cursor:default}
.cinema-video-card .recipe-caption{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cinema-video-card p{font-size:11px;color:#aaa7a2}
.cinema-video-card video{border-radius:9px}
html[data-material] body .cinema-examples .recipe-tile{margin-bottom:14px}
html[data-material] body .cinema-examples .recipe-caption,html[data-material] body .cinema-examples .recipe-tile>p{display:none}
html[data-material] body .cinema-examples .recipe-media{border-radius:12px}
html[data-material] body .cinema-examples .use-recipe{border-radius:999px;background:#c8ac8a;color:#1c1b1a;padding:9px 15px;font-size:12px;border:0;box-shadow:none}
html[data-material] body .cinema-example-play{position:absolute;bottom:10px;inset-inline-end:10px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;border:1px solid #ffffff38;background:#070707b8;color:#f4ead9;box-shadow:none}
html[data-material] body .cinema-example-play .icon{width:18px;height:18px}
html[data-material] body .tool-nav{position:absolute;left:50%;transform:translateX(-50%);width:max-content;margin:0}
html[data-material] body .account-button{margin-inline-start:auto}
.landing .material-switch{display:none}
.landing :is(.button,.btn--light,.btn--ghost,.ask,.ask__send){box-shadow:none!important;backdrop-filter:none!important;text-shadow:none!important}
.landing :is(.btn--light,.ask__send){background:#c8ac8a!important;color:#1c1b1a!important;border-color:#c8ac8a!important}
.landing :is(.button,.btn--ghost){background:#232323!important;border-color:#ffffff30!important}
.landing .ask{background:#0c0c0c!important;border:1px solid #ffffff30!important;border-radius:14px!important}
.landing .ask__send::before,.landing .ask__send::after{display:none!important}
@media(max-width:1120px) and (min-width:761px){html[data-material] body .tool-nav{position:static;transform:none;flex:1;width:auto}html[data-material] body .brand-link>span{font-size:27px}}
@media(max-width:760px){html[data-material] body .tool-nav{position:static;transform:none;grid-row:2;width:100%;justify-content:center}html[data-material] body .brand-link>span{font-size:27px}html[data-material] body .account-button{margin-inline-start:0}html[data-material] body .cinema-examples .recipe-grid{columns:2}html[data-material] body .cinema-examples{margin-top:28px}.landing .brand .wm{font-size:28px}}
@media(min-width:761px) and (max-width:1250px){html[data-material] body .cinema-examples .recipe-grid{columns:3}}

/* Kimi reference: one quiet writing area and a compact, independent history. */
html[data-material] .embedded-chat .sidebar{--side-w:240px;padding-inline:12px}
.chat-wordmark{display:flex;justify-content:center;align-items:center;gap:12px;font:600 italic 48px/1.1 Arial,sans-serif;letter-spacing:-3px;color:#f1eee9;margin-bottom:18px;direction:ltr}
.chat-doodle{width:54px;height:44px;overflow:visible}
.doodle-loop,.doodle-fold{transform-box:fill-box;transform-origin:center;animation:orea-unfold 5s ease-in-out 3 both}
.doodle-fold{animation-delay:-1.5s;animation-direction:reverse}
@keyframes orea-unfold{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-4px) rotate(8deg)}}
html[data-material] body .cinema-stage{height:clamp(240px,34vw,440px);min-height:0;max-height:440px;aspect-ratio:auto}
html[data-material] body .cinema-prompt-panel{padding:24px;gap:18px}
html[data-material] body .cinema-prompt-field textarea{min-height:145px;height:145px;max-height:260px}
html[data-material] body .cinema-stage>:is(img,video){object-fit:contain}
html[data-material] body .cinema-empty-stage>img{object-fit:cover}
.orea-language{display:block;flex:none;width:90px;min-width:0}
html[data-material] body .orea-language select{width:100%;min-height:44px;padding:7px 6px;font-size:12px;background:#0c0c0c;border-color:#ffffff20;color:#c9c5bf}
html[dir=ltr] .cinema-workspace>*{direction:ltr}
html[dir=ltr] .cinema-prompt-panel{text-align:left}
html[data-material] .empty__orea,html[data-material] .empty__model{display:none}
html[data-material] .main.is-empty .empty{padding-bottom:24px}
html[data-material] .empty__greet{font-size:21px;font-weight:400;color:#c2beb7}
html[data-material] .composer-wrap{width:min(820px,100%);padding-inline:24px}
html[data-material] .composer{padding:14px 14px 10px;border-radius:18px}
html[data-material] body .composer textarea{min-height:55px;background:transparent;border:0;padding:3px 6px 12px;border-radius:0;box-shadow:none}
html[data-material] .composer__bar{min-height:44px}
html[data-material] .send-btn{border-radius:50%;width:38px;height:38px}
html[data-material] .main.is-empty .suggestions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:22px}
html[data-material] .suggestion{display:block;min-height:40px;padding:8px 14px;border:1px solid #ffffff20;border-radius:24px;background:transparent}
html[data-material] .suggestion span{display:none}
html[data-material] .suggestion b{font-size:12px;font-weight:400;color:#b8b4ae}
html[data-material] .suggestion:hover{background:#1d1c1b;border-color:#a28563;color:#e1c5a3}
html[data-material] .suggestion:active{background:#2b2a29}
html[data-material] .chat-item.active,html[data-material] .chat-item.is-active .chat-item__link{background:#1d1c1b}
html[data-material] .topbar{border:0}
@media(max-width:640px){
 .chat-wordmark{font-size:38px;margin-bottom:12px}
 html[data-material] .empty__greet{font-size:19px}
 html[data-material] .composer-wrap{padding-inline:12px}
 html[data-material] .main.is-empty .suggestions{order:0;margin-top:12px;gap:6px}
 html[data-material] .suggestion{min-height:44px;padding:8px 12px}
 html[data-material] .send-btn{width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){.doodle-loop,.doodle-fold{animation:none}}

/* Pliability reference: light capsule controls, with movement inside the action. */
.landing .nav__cta{gap:10px}
/* The header reveals the same live dust; the old crystal theme must not tint it blue. */
html[data-material] body.landing .nav,html[data-material] body.landing .nav:is(.scrolled,.open){isolation:isolate;background:rgba(0,0,0,.18);border-color:#c8ac8a18;backdrop-filter:none;-webkit-backdrop-filter:none}
html.no-webgl[data-material] body.landing .nav::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('../img/studio/orea-night-dust.png') center/100% 100% no-repeat;opacity:.82}
html[data-material] .landing .nav__cta>.btn--light{min-height:44px;padding:10px 22px;border-radius:999px;font-size:13px;font-weight:500;letter-spacing:-.15px;gap:14px;overflow:hidden}
.landing .nav__links a{font-size:13px;font-weight:400;letter-spacing:-.1px;padding-inline:11px}
.landing .nav__motion{width:44px;min-height:44px;padding:0;border-radius:50%;border-color:#ffffff25;background:#080808!important}
.landing .nav__motion span{display:none}
.landing .orea-language{width:88px}
.landing .orea-language select{border-radius:999px!important;background:#080808!important;padding-inline:12px!important}
.landing .ask{border-radius:999px!important;padding:7px 8px 7px 20px}
.landing .ask__send{width:44px;height:44px;min-height:44px;flex:none;border-radius:50%!important}
.landing .ask input{min-width:0;background:transparent}
.landing .cta-arrow{display:inline-flex;transition:transform 180ms ease,opacity 180ms ease}
.landing .cta-arrow svg{width:15px;height:15px;stroke:currentColor;stroke-width:var(--orea-icon-stroke,1.5);fill:none}
.landing .story-agent>img{width:clamp(64px,9vw,110px);height:110px;object-fit:contain;filter:drop-shadow(0 8px 20px #0007)}
.landing .tool-wolf{width:30px;height:36px;object-fit:contain;filter:none}
@media(hover:hover){
 .landing .nav__cta>.btn--light:hover .cta-arrow{transform:translate(2px,-2px)}
 .landing .nav__motion:hover svg{transform:scale(.9)}
 .landing .nav__motion svg{transition:transform 180ms ease}
}
@media(max-width:760px){.landing .ask{padding-inline:15px 7px}.landing .story-agent>img{height:80px;width:65px}}
@media(prefers-reduced-motion:reduce){.landing .cta-arrow,.landing .nav__motion svg{transition:none!important;transform:none!important}}

/* Settings: a steady navigation column and one readable panel at a time. */
#settings.orea-settings{width:min(820px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(640px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #353433;border-radius:16px;background:#0c0c0c;color:#f1eee9;overflow:hidden}
#settingsForm{height:100%;max-height:none;display:grid;grid-template-columns:170px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;padding:0;gap:0;background:#0c0c0c;border-radius:0;overflow:hidden}
#settingsForm .dialog__head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:18px 22px;border-bottom:1px solid #ffffff14}
#settingsTitle{font-size:21px;font-weight:500;margin:0}
.settings-navigation{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:12px;padding:18px 12px;border-inline-end:1px solid #ffffff14;background:#080808;overflow:auto}
.settings-navigation [role=tablist]{display:flex;flex-direction:column;gap:5px}
.settings-navigation button{min-height:44px;padding:10px 13px;border:0;border-radius:8px;background:transparent;color:#aaa59e;font:400 13px/1.4 var(--dw-font);text-align:start;cursor:pointer}
.settings-navigation button:hover{background:#ffffff08;color:#eee5d9}
.settings-navigation button[aria-selected=true]{background:#c8ac8a14;color:#e1c5a3}
.settings-account-link{margin-top:auto;border-top:1px solid #ffffff14!important;border-radius:0!important}
.settings-content{grid-column:2;grid-row:2;padding:25px 28px;overflow:auto;min-width:0;overscroll-behavior:contain}
.settings-content>section{display:flex;flex-direction:column;gap:22px;min-width:0}
.settings-content>section[hidden]{display:none!important}
.settings-content h3{font-size:19px;font-weight:500;margin:0}
.settings-description{color:#aaa59e;font-size:12px;line-height:1.7;margin-top:-12px}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0;padding-block:2px 22px;border-bottom:1px solid #ffffff14;font-size:14px}
.settings-row>span{min-width:0}.settings-row small{display:block;color:#aaa59e;font-size:11px;line-height:1.7;margin-top:4px}
#settingsLanguage{width:130px;flex:none;min-height:44px;font-size:13px}
#settingsForm .choice{padding:12px 0;border:0;border-bottom:1px solid #ffffff12;border-radius:0;min-height:62px;gap:12px;background:transparent;box-shadow:none}
#settingsForm .choice:has(input:checked){background:transparent;border-color:#c8ac8a50}
#settingsForm .choice input{width:16px;height:16px;flex:none;margin-top:5px;accent-color:#c8ac8a}
#settingsForm .choice b{font-size:13px;font-weight:400}
#settingsForm .choice small{font-size:11px;line-height:1.7;color:#aaa59e}
#settingsForm .field>span,#settingsForm legend{font-size:13px;font-weight:400}
#settingsForm .field textarea{min-height:120px;background:#111;border-color:#353433;font-size:14px}
#settingsForm .switch{align-items:flex-start;font-size:13px;line-height:1.7}
#settingsForm .switch input{margin-top:4px;flex:none;width:17px;height:17px}
#memoryList:empty::before{content:attr(data-empty-label)}
.settings-data-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:12px 22px;border-bottom:1px solid #ffffff14}
.settings-data-row b{font-size:13px;font-weight:400}.settings-data-row p{font-size:12px;color:#aaa59e;margin-top:6px;line-height:1.7}
#settingsForm .dialog__foot{grid-column:1/-1;grid-row:3;display:flex;gap:8px;padding:14px 22px;border-top:1px solid #ffffff14;background:#0c0c0c}
#settingsForm .dialog__foot .btn{min-height:44px;min-width:86px;border-radius:999px;padding:9px 20px;font-size:13px}
#settingsForm .btn--danger{background:transparent;border-color:#704c40;color:#ddb6a2}
@media(max-width:640px){
 #settings.orea-settings{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:13px}
 #settingsForm{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto}
 #settingsForm .dialog__head{padding:12px 16px}
 .settings-navigation{grid-column:1;grid-row:2;flex-direction:row;align-items:center;gap:6px;padding:8px;border-inline-end:0;border-bottom:1px solid #ffffff14}
 .settings-navigation [role=tablist]{flex-direction:row;gap:2px}
 .settings-navigation button{font-size:12px;padding:10px 11px;white-space:nowrap}
 .settings-account-link{margin-top:0;margin-inline-start:auto;border-top:0!important}
 .settings-content{grid-column:1;grid-row:3;padding:22px 18px}
 #settingsForm .dialog__foot{grid-row:4;padding:12px 16px}
 .settings-row{gap:12px}#settingsLanguage{width:110px}
 .settings-data-row{gap:12px;flex-wrap:wrap}.settings-data-row .btn{min-height:44px}
}

/* Language is a globe control with a native top-layer, custom-styled picker. */
html[data-material] body .orea-language{position:relative;width:44px;flex:none}
html[data-material] body .orea-language select[hidden]{display:none!important}
html[data-material] body .language-trigger{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#c9c3b9;font:400 12px/1.4 var(--dw-font);cursor:pointer;box-shadow:none;transition:background 150ms,color 150ms}
.language-trigger>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:var(--orea-icon-stroke,1.5);transition:transform 180ms ease}
.language-trigger>[data-language-value]{position:absolute;bottom:0;inset-inline-end:0;font-size:8px;padding:0 2px;border-radius:3px;background:#080808;color:#c8ac8a}
html[data-material] body .language-trigger:hover,html[data-material] body .language-trigger[aria-expanded=true]{background:#ffffff08;color:#f1e6d6}
.language-trigger:hover>svg{transform:rotate(-12deg)}
html[data-material] body .language-picker{position:fixed;inset:auto;margin:0;width:202px;max-width:calc(100vw - 16px);padding:6px;border:1px solid #494036;border-radius:16px;background:#10100f;color:#e8e0d4;box-shadow:0 16px 45px #0009;direction:ltr}
.language-picker:popover-open{animation:orea-picker-in 130ms ease-out}
.language-picker>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;margin:0;padding:10px 12px;border:0;border-radius:11px;background:transparent;color:#c3bdb3;text-align:start;font:400 13px/1.5 var(--dw-font);cursor:pointer;transition:background 140ms,color 140ms}
.language-picker>button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:var(--orea-icon-stroke,1.5);opacity:0}
.language-picker>button[aria-selected=true]{color:#dec3a0;background:#c8ac8a0c}.language-picker>button[aria-selected=true] svg{opacity:1}
.language-picker>button:hover{background:#c8ac8a16;color:#f3e8d9}
html[data-material] body .orea-language--full{width:130px;min-width:110px}
html[data-material] body .orea-language--full .language-trigger{width:100%;justify-content:space-between;gap:12px;padding:10px 13px;border:1px solid #494036;border-radius:999px;background:#111}
.orea-language--full .language-trigger>[data-language-value]{position:static;font-size:13px;background:transparent;color:inherit}
.orea-language--full .language-trigger>svg{width:17px;height:17px}
html[data-material] body .app-rail>.project-selector{background:transparent;border:0;border-radius:999px;box-shadow:none;min-width:0;padding:8px 10px}
html[data-material] body .app-rail>.project-selector:hover{background:#c8ac8a0a;color:#e1c6a5}
.project-selector>.icon:first-child{transition:transform 180ms ease}
.project-selector:hover>.icon:first-child{transform:rotate(-9deg) translateY(-1px)}
html[data-material] body .app-rail>.account-button{background:transparent;border:0;border-radius:50%}
html[data-material] body .app-rail>.account-button:hover{background:#ffffff08}
.tool-nav .icon,.icon-btn>.ic,.tool-btn>.ic,.send-btn>.ic,.account>.ic{transition:transform 160ms ease}
.tool-nav a:hover>.icon,.tool-btn:hover>.ic{transform:translateY(-2px)}
.send-btn:hover:not(:disabled)>.ic-send{transform:translateY(-2px)}
.account:hover>.ic{transform:rotate(22deg)}
.animated-trash{background:none!important;mask:none!important;-webkit-mask:none!important;overflow:visible}
.animated-trash svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:var(--orea-icon-stroke,1.5);stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.trash-lid{transform-origin:17px 7px;transition:transform 160ms ease}
button:hover .trash-lid{transform:translateY(-1px) rotate(12deg)}
@keyframes orea-picker-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media(max-width:1000px){html[data-material] body .app-rail{grid-template-columns:32px minmax(0,1fr) 44px 44px 44px}html[data-material] body .app-rail>.orea-language{width:44px}}
@media(prefers-reduced-motion:reduce){.language-picker:popover-open{animation:none}.language-trigger>svg,.project-selector>.icon,.tool-nav .icon,.icon-btn>.ic,.tool-btn>.ic,.send-btn>.ic,.account>.ic,.trash-lid{transition:none!important;transform:none!important}}
html[data-material] .landing .brand{direction:inherit}
html[data-material] .landing .brand .wm,html[data-material] body .brand-link>span,.chat-wordmark{color:#c8ac8a}
.landing .brand .wm,.chat-wordmark>span{direction:ltr;unicode-bidi:isolate}
.chat-wordmark{direction:inherit}

html[data-material] body .project-menu{width:340px;max-width:calc(100vw - 24px);padding:14px;border-radius:20px;background:#0c0c0c;border-color:#524533;box-shadow:0 18px 50px #000a}
html[data-material] body .project-menu .panel-heading{padding-bottom:10px}.project-menu .panel-heading b{font-size:13px}
html[data-material] body .memory-row{border:0;border-bottom:1px solid #ffffff0b;border-radius:10px;padding:4px;background:transparent}
html[data-material] body .memory-row.is-selected{background:#c8ac8a0c}
html[data-material] body .memory-name{font-size:13px;font-weight:400;padding:10px;min-height:44px}
html[data-material] body .memory-icon{border:0;background:transparent;border-radius:50%;box-shadow:none;width:36px;min-height:36px;padding:9px}
html[data-material] body .memory-icon:hover{background:#c8ac8a16;color:#e6ceb0}
html[data-material] body #memoryToggle .memory-switch-track{border-color:#76604b;background:#c8ac8a08}
html[data-material] body #memoryToggle[aria-checked=true] .memory-switch-track{background:#c8ac8a;border-color:#c8ac8a}
html[data-material] body #memoryToggle[aria-checked=true] .memory-switch-thumb{background:#1c1b1a}
@media(pointer:coarse){html[data-material] body .memory-icon{width:44px;min-height:44px;padding:12px}}
@media(prefers-reduced-motion:reduce){.orea-select-menu:popover-open{animation:none}.orea-select-trigger>svg{transition:none}}
@media(max-width:480px){
 html[data-material] body .cinema-empty-copy{padding:18px;max-width:100%}
 html[data-material] body .cinema-empty-copy h3{font-size:25px;line-height:1.3;margin-bottom:8px}
 html[data-material] body .cinema-empty-copy p{font-size:11px;line-height:1.65;margin-bottom:12px}
 html[data-material] body .cinema-frame-mark{display:none}
 html[data-material] body .cinema-empty-copy .button{min-height:44px;font-size:11px;padding:8px 11px}
 html[data-material] body .cinema-empty-stage>.example-stamp{font-size:9px;max-width:calc(100% - 24px);white-space:normal}
}
@media(max-width:400px){html[data-material] body .app-rail #projectEyebrow{display:none}html[data-material] body .app-rail>.project-selector{justify-content:center;gap:10px}}
@media(max-width:860px){
 html[data-material] .landing .nav:not(.open) .nav__links{display:none}
 html[data-material] .landing .nav.open .nav__links{display:flex;background:#0c0c0c;border-color:#554634;backdrop-filter:none;border-radius:18px;animation:orea-picker-in 150ms ease-out}
 html[data-material] .landing .nav__burger{background:transparent;border-color:transparent;border-radius:50%}
}
.landing .hero__fallback-img{filter:grayscale(.93)}

/* Motion follows the action, and only runs while a pointer is over its control. */
.chat-project-action>.icon{display:block;flex:none;width:17px;height:17px;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat}
.icon--upload,.icon--download,.icon--bookmark,.icon--pencil,.icon--notebook,.icon--history,.icon--user,.icon--plus,.icon--x{transition:transform 170ms ease}
@media(hover:hover){
 :is(button,a,label):hover>.icon--upload{transform:translateY(-3px)}
 :is(button,a,label):hover>.icon--download{transform:translateY(3px)}
 :is(button,a):hover>.icon--bookmark{transform:translateY(-2px) rotate(-7deg)}
 :is(button,a):hover>.icon--pencil{transform:rotate(-12deg)}
 :is(button,a):hover>.icon--history{transform:rotate(-25deg)}
 :is(button,a):hover>.icon--notebook{transform:rotate(-7deg)}
 :is(button,a):hover>.icon--user{transform:translateY(-2px)}
 :is(button,a):hover>.icon--plus{transform:rotate(90deg)}
 :is(button,a):hover>.icon--x{transform:rotate(90deg)}
}
@media(prefers-reduced-motion:reduce){[class*="icon--"]{transition:none!important;transform:none!important}}
body.orea-support{margin:0;background:#050505;color:#e7e0d5;color-scheme:dark}
/* Local icon motion, warm tool states and a single comfortable writing surface. */
:root{--orea-motion:180ms;--orea-ease:cubic-bezier(.22,.75,.3,1)}
html[data-material] body .chat-project-action{width:44px;min-width:44px;height:44px;padding:11px;justify-content:center;border:0;border-radius:50%;background:transparent;color:#cbbda9;transition:background var(--orea-motion),transform var(--orea-motion)}
html[data-material] body .chat-project-action:hover{background:#c8ac8a18;color:#e7cfaf}
.chat-project-action:active:not(:disabled){transform:scale(.92)}
.chat-project-action[aria-busy=true]>.icon{animation:orea-store .8s ease-in-out infinite}
html[data-material] body .app-rail>.project-selector{min-height:44px;padding:9px 13px;border:1px solid #806344;border-radius:9px;background:linear-gradient(110deg,#1d1c1b,#353433);color:#f0d4ae;overflow:hidden;transition:background var(--orea-motion),border-color var(--orea-motion),transform var(--orea-motion)}
html[data-material] body .app-rail>.project-selector:hover{background:linear-gradient(110deg,#292827,#63482a);border-color:#c8ac8a;transform:translateY(-1px)}
html[data-material] body .app-rail>.project-selector:active{transform:scale(.97)}
.project-selector:popover-open>.icon:first-child,.project-selector[aria-expanded=true]>.icon:first-child{transform:rotate(-9deg)}
html[data-material] body .composer{padding:14px 14px 10px;border-radius:20px;border:1px solid #6d5942;background:#0d0c0b;transition:border-color 180ms,box-shadow 180ms}
html[data-material] body .composer:focus-within{border-color:#c8ac8a;box-shadow:0 0 0 3px #c8ac8a0a}
html[data-material] body .composer textarea{min-height:60px;max-height:32dvh;padding:4px 6px 12px;line-height:1.8;outline:none;background:transparent;border:0;resize:none}
.composer__bar{gap:10px;align-items:flex-end}.composer__tools{min-width:0;flex-wrap:wrap;gap:6px}
html[data-material] body .composer .toggle{min-height:38px;padding:7px 10px;gap:7px;border:1px solid transparent;border-radius:999px;background:transparent;color:#bfb29f;font-size:12px;transition:background 180ms,border-color 180ms,transform 180ms}
html[data-material] body .composer .toggle:hover:not(:disabled){background:#c8ac8a14;color:#edd2af}
html[data-material] body .composer .toggle[aria-pressed=true]{background:#c8ac8a20;border-color:#a98b65;color:#e9c99f}
.thinking-orbit{transform-origin:12px 12px;transition:transform 240ms var(--orea-ease)}
#thinkBtn:hover .thinking-orbit{transform:rotate(-14deg)}
#thinkBtn[aria-pressed=true] .thinking-node{animation:orea-thought 1.8s ease-in-out infinite;transform-origin:12px 12px}
.research-toggle:disabled{opacity:.45;cursor:not-allowed}.research-mark{transition:transform 220ms var(--orea-ease)}
.research-toggle:hover:not(:disabled) .research-mark{transform:translate(1px,-2px) rotate(-8deg)}
.research-toggle[aria-pressed=true] .research-mark{animation:orea-search 1.5s ease-in-out 2}
@keyframes orea-thought{50%{opacity:.4;transform:scale(.7)}}
@keyframes orea-search{50%{transform:translate(2px,-2px)}}
@keyframes orea-store{50%{transform:translateY(3px);opacity:.5}}
@media(hover:hover) and (pointer:fine){
 .icon-btn:is(#openSidebar,#closeSidebar):hover .ic path:last-child{transform:translateX(-2px);transition:transform 180ms,opacity 180ms}
 #attachBtn:hover .ic{transform:rotate(-13deg) translateY(-1px)}
 #sendBtn:hover:not(:disabled) .ic-send{transform:translateY(-3px)}
 .tool-nav a:hover>.icon--pen-tool{transform:rotate(-12deg) translateY(-2px)}
 .button:not(:disabled):active,.tool-btn:active,.toggle:active:not(:disabled){transform:scale(.96)}
}
@media(max-width:640px){html[data-material] body .composer{padding:12px 10px 8px;border-radius:18px}html[data-material] body .composer textarea{min-height:54px;font-size:16px}html[data-material] body .composer .toggle{min-height:44px;padding:7px 8px;font-size:11px}.composer__bar{gap:6px}.composer__tools{gap:2px}}
@media(max-width:400px){html[data-material] body .app-rail #projectEyebrow{display:block;max-width:78px;font-size:11px}html[data-material] body .app-rail>.project-selector{padding-inline:8px;gap:6px}}
@media(prefers-reduced-motion:reduce){.thinking-node,.research-mark,.chat-project-action>.icon{animation:none!important}.thinking-orbit,.research-mark,.project-selector,.chat-project-action{transition:none!important;transform:none!important}}
/* One continuous history surface; lower composer tools are compact symbols. */
html[data-material] .sidebar .chat-item{border-radius:14px;transition:background 180ms var(--orea-ease),box-shadow 180ms}
html[data-material] .sidebar .chat-item:is(.active,.is-active)::before{content:none}
html[data-material] .sidebar .chat-item>.chat-item__link,html[data-material] .sidebar .chat-item:is(.active,.is-active)>.chat-item__link,html[data-material] .sidebar .chat-item__link:is(:hover,:focus-visible){border-radius:14px;background:transparent;outline:none}
html[data-material] .sidebar .chat-item:has(.chat-item__link:focus-visible){box-shadow:inset 0 0 0 1px #c8ac8a}
html[data-material] body .composer .toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;min-width:44px;height:44px;padding:10px;border:1px solid transparent;border-radius:50%}
html[data-material] body .composer .toggle>.ic{width:21px;height:21px;flex:none}
html[data-material] body .composer .toggle>span{position:absolute;bottom:calc(100% + 7px);inset-inline-start:0;white-space:nowrap;pointer-events:none;padding:5px 9px;border:1px solid #65513b;border-radius:8px;background:#121110;color:#e6d4bc;font-size:11px;line-height:1.6;opacity:0;transform:translateY(3px);transition:opacity 150ms,transform 150ms}
html[data-material] body .composer .toggle:is(:hover,:focus)>span{opacity:1;transform:none}
html[data-material] body .composer .toggle[aria-pressed=true]::after{content:'';position:absolute;bottom:3px;left:19px;width:4px;height:4px;border-radius:50%;background:#e9c99f}
html[data-material] body .composer .toggle:active:not(:disabled)>.ic{transform:scale(.9)}
@media(prefers-reduced-motion:reduce){html[data-material] .sidebar .chat-item,html[data-material] body .composer .toggle>span{transition:none!important;transform:none!important}}
/* Cinema: tool intent first, one working area, descriptive inspiration below. */
html[data-material] body .cinema-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding-block:12px 26px}
html[data-material] body .cinema-modes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;min-width:0;width:100%;overflow:visible}
html[data-material] body .cinema-modes .cinema-mode{display:flex;align-items:center;justify-content:flex-start;min-width:0;min-height:68px;padding:10px;gap:10px;border:1px solid transparent;border-radius:14px;background:transparent;color:#c9bba7;text-align:start;position:relative}
html[data-material] body .cinema-modes .cinema-mode[aria-selected=true]{background:#21201f;border-color:#8d6c4740;color:#edd2ad}
.cinema-mode>.icon{flex:none;width:22px;height:22px;transform-origin:center;transition:transform 220ms var(--orea-ease)}
.cinema-mode-copy{display:grid;gap:5px;min-width:0}.cinema-mode-copy>strong{font-size:12px;font-weight:500;line-height:1.5}.cinema-mode-copy>small{font-size:10px;font-weight:400;line-height:1.6;color:#a99a87;white-space:normal}
html[data-material] body .cinema-mode[aria-selected=true]::after{background:#c8ac8a;inset-inline:30%;bottom:5px}
html[data-material] body .cinema-examples{padding-top:30px;border-color:#c8ac8a26}
html[data-material] body .cinema-examples .recipe-caption{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:12px;font-size:12px;line-height:1.6}
html[data-material] body .cinema-examples .recipe-caption>b{font-weight:400;color:#d6c4ac}
html[data-material] body .cinema-examples .recipe-tile>p{display:block;margin:7px 0 0;font-size:10px;line-height:1.8;color:#a39788}
html[data-material] body .cinema-examples .use-recipe{padding:6px 9px;min-height:36px;font-size:10px;flex:none}
html[data-material] body .cinema-examples .recipe-tile{margin-bottom:24px}
.cinema-camera-setup,.cinema-camera-motion{padding-top:14px;border-top:1px solid #c8ac8a1a}
.cinema-camera-setup>h3,.cinema-camera-motion>h3{font:500 12px/1.7 var(--dw-font);color:#cfb594;margin:0 0 12px}
.cinema-camera .camera-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible;padding:4px 0}
.cinema-camera .camera-column{min-width:0;width:100%}
.crop-hint{color:#c7b597;font-size:12px;line-height:1.8}.crop-hint[hidden]{display:none}
html[data-material] body .cinema-stage-footer:has(.cinema-stage-tools:empty){display:none}
@media(hover:hover) and (pointer:fine){
 .cinema-mode[data-mode='image.generate']:hover>.icon{transform:rotate(-7deg) scale(1.1)}
 .cinema-mode[data-mode='video.generate']:hover>.icon{transform:translateX(3px)}
 .cinema-mode[data-mode='image.edit']:hover>.icon{transform:rotate(-16deg)}
 .cinema-mode[data-mode='image.adjust']:hover>.icon{transform:rotate(90deg)}
 .cinema-mode[data-mode='storyboard']:hover>.icon{transform:translateY(-3px) rotate(-7deg)}
 .cinema-mode[data-mode='timeline.render']:hover>.icon{transform:rotate(-18deg)}
}
@media(max-width:1250px){html[data-material] body .cinema-navigation{grid-template-columns:1fr}html[data-material] body .cinema-modes{grid-template-columns:repeat(3,minmax(0,1fr))}.cinema-navigation>.button{justify-self:end}}
@media(max-width:640px){html[data-material] body .cinema-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html[data-material] body .cinema-modes .cinema-mode{padding:10px;min-height:74px;gap:8px}.cinema-mode-copy>small{font-size:10px}html[data-material] body .cinema-examples .recipe-caption{flex-wrap:wrap}html[data-material] body .cinema-examples .use-recipe{min-height:44px}.cinema-heading-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.cinema-mode>.icon{transform:none!important;transition:none!important}}
.image-controls .field>span{display:flex;justify-content:space-between;align-items:center;gap:12px}
.image-controls .field output{font-variant-numeric:tabular-nums;direction:ltr}
.orea-document{max-width:800px;margin:auto;padding:48px 24px 70px;font:400 15px/1.85 var(--dw-font,system-ui);color:#e7e0d5}
.orea-document>.brand{display:inline-flex;align-items:center;gap:10px;color:#c8ac8a;text-decoration:none;font:600 italic 30px/1.2 Arial,sans-serif;letter-spacing:-1px;direction:inherit}
.orea-document>.brand img{width:28px;height:34px}.orea-document h1{font-size:clamp(27px,5vw,38px);font-weight:500;line-height:1.4;margin:55px 0 22px}
.orea-document p{color:#bcb5ab;max-width:65ch}.orea-document ul{list-style:none;padding:0;margin:28px 0}
.orea-document li{border-bottom:1px solid #ffffff15}.orea-document li a{display:block;min-height:44px;padding:13px 0;overflow-wrap:anywhere}
.orea-document nav{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:26px}.orea-document a:focus-visible{outline:2px solid #bbb1a4;outline-offset:4px}
.orea-document nav>a{min-height:44px;display:inline-flex;align-items:center}.orea-document .document-primary{background:#c8ac8a;color:#1c1b1a;text-decoration:none;border-radius:999px;padding:9px 22px}
@media(max-width:1000px){
 :root:root{--studio-nav:120px}
 html[data-material] body .app-rail{display:grid;grid-template-columns:32px minmax(0,1fr) 44px 78px 44px;grid-template-rows:44px 46px;gap:6px;padding:10px 12px;height:120px}
 html[data-material] body .app-rail>.brand-link{grid-column:1;grid-row:1;padding:0;min-width:0}
 html[data-material] body .brand-link>span{display:none}
 html[data-material] body .app-rail>.project-selector{grid-column:2;grid-row:1;width:100%;min-width:0;max-width:none}
 html[data-material] body #memoryToggle{grid-column:3;grid-row:1;width:44px;padding:0}
 html[data-material] body #memoryToggle>.memory-switch-label{display:none}
 html[data-material] body .app-rail>.orea-language{grid-column:4;grid-row:1;width:78px}
 html[data-material] body .app-rail>.account-button{grid-column:5;grid-row:1;margin:0}
 html[data-material] body .tool-nav{position:static;transform:none;grid-column:1/-1;grid-row:2;width:100%;height:46px;gap:4px}
 html[data-material] body .tool-nav a{flex:1;min-width:0;min-height:44px;padding:8px 5px;font-size:12px;gap:6px}
}
/* Original outlined symbols with local, independent detail movement. */
.animated-symbol{background:none!important;mask:none!important;-webkit-mask:none!important}
.animated-symbol svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:var(--orea-icon-stroke,1.5);stroke-linecap:round;stroke-linejoin:round}
.animated-symbol .symbol-detail{transform-origin:12px 12px;transition:transform 180ms var(--orea-ease),opacity 180ms}
@media(hover:hover) and (pointer:fine){
 .cinema-mode[data-mode]:hover>.animated-symbol{transform:none}
 .cinema-mode:hover>.icon--photo .symbol-detail{transform:translateY(-1.5px)}
 .cinema-mode:hover>.icon--video .symbol-detail{transform:translateX(1.5px)}
 .cinema-mode:hover>.icon--adjustments-horizontal .symbol-detail{transform:translateX(3px)}
 .cinema-mode:hover>.icon--stack-2 .symbol-detail{transform:translateY(2px)}
 .cinema-mode:hover>.icon--scissors .symbol-detail{transform:rotate(-9deg)}
}
@media(prefers-reduced-motion:reduce){.animated-symbol .symbol-detail{transition:none!important;transform:none!important}}
@media(max-width:640px){
 html[data-material] body .cinema-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 html[data-material] body .cinema-modes .cinema-mode{flex-direction:column;justify-content:center;gap:5px;padding:8px 4px;min-height:82px;text-align:center}
 .cinema-mode-copy{gap:2px}.cinema-mode-copy>strong{font-size:11px}.cinema-mode-copy>small{font-size:9px}
 html[data-material] body .cinema-navigation{gap:8px;padding-bottom:18px}
}
html[data-material] body .cinema-camera .camera-controls{direction:inherit;gap:14px 10px;margin:0;padding:0}
.cinema-camera .camera-column{display:grid;align-content:start;gap:7px}
.cinema-camera .camera-column>span{font-size:11px;color:#bca98f}
.cinema-camera .camera-column :is(select,.orea-select-trigger){min-height:44px;font-size:11px;max-width:100%}
.cinema-camera .camera-column .orea-select-trigger{padding-inline:10px;text-align:start}
html[data-material] body .cinema-modes .cinema-mode{box-shadow:none;background-image:none}
html[data-material] body .cinema-modes .cinema-mode:not([aria-selected=true]){background:transparent;border-color:transparent}
/* Settings use compact option rows and a real switch, with one bounded editor. */
#settings.orea-settings{width:min(720px,calc(100vw - 32px));height:min(590px,calc(100dvh - 40px));border-radius:24px;border-color:#383736;background:#090909}
#settingsForm{grid-template-columns:136px minmax(0,1fr);background:#090909}
#settingsForm .dialog__head{padding:16px 22px;border-color:#ffffff0c}
#settingsTitle{font-size:19px}#settingsForm .dialog__head .icon-btn{width:36px;height:36px;border-radius:50%}
.settings-navigation{padding:16px 10px;background:transparent;border-color:#ffffff0c}
.settings-navigation button{min-height:40px;padding:9px 12px;border-radius:12px;font-size:12px}
.settings-content{padding:24px;scrollbar-width:thin;scrollbar-color:#554938 transparent}
.settings-content>section{gap:18px}.settings-content h3{font-size:17px}.settings-description{font-size:11px;margin-top:-10px}
.settings-row{align-items:center;gap:16px;font-size:13px;padding-block:0 18px}
.settings-row>.orea-select{flex:0 0 120px;width:120px;min-width:0}
#settingsForm .orea-select-trigger{min-height:40px;padding:8px 12px;border-radius:12px;background:transparent;font-size:12px}
#settingsForm .choice{min-height:60px;padding:11px 0;gap:16px;align-items:center;border-color:#ffffff0d}
#settingsForm .choice>span{flex:1;gap:3px}#settingsForm .choice input{order:2;margin:0;width:16px;height:16px}
#settingsForm .choice b{font-size:12px}#settingsForm .choice small{font-size:11px}
#settingsForm .field{gap:9px}#settingsForm .field textarea{padding:12px 14px;min-height:112px;max-height:170px;border:1px solid #4b4033;border-radius:16px;background:#0f0e0d;font-size:14px;box-shadow:none}
#settingsForm .field textarea:focus{border-color:#b29672;outline:none}
#settingsForm .switch{display:flex;align-items:center;gap:16px;padding-block:8px;cursor:pointer}
#settingsForm .switch>span{flex:1;display:grid;gap:5px;min-width:0}#settingsForm .switch b{font-size:13px;font-weight:400}#settingsForm .switch small{display:block;font-size:11px;color:#a99e90;line-height:1.8}
#settingsForm .switch input{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 36px;width:36px;height:20px;margin:0;border:1px solid #736653;border-radius:999px;background:#272625;cursor:pointer;transition:background 180ms,border-color 180ms}
#settingsForm .switch input::before{content:'';position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#aba397;transition:transform 180ms,background 180ms}
#settingsForm .switch input:checked{background:#ceb18b;border-color:#ceb18b}#settingsForm .switch input:checked::before{transform:translateX(16px);background:#161514}
#settingsForm .switch input:focus-visible{outline:2px solid #d4b995;outline-offset:4px}
#settingsForm .memory-list:empty::before{font-size:11px;color:#867f75}#settingsForm .memory-list li{padding:9px 0;border:0;border-bottom:1px solid #ffffff0c;border-radius:0}
#settingsForm .field-actions .btn{padding:5px 0;min-height:36px;border:0;background:transparent;font-size:11px;color:#c3ae91}
#settingsForm .dialog__foot{gap:8px;padding:12px 22px;border-color:#ffffff0c;background:transparent}
#settingsForm .dialog__foot .btn{flex:none;width:auto;min-width:76px;min-height:40px;padding:8px 17px;border-radius:999px;font-size:12px}
#settingsForm .dialog__foot .btn--ghost{border-color:transparent;background:transparent;color:#a89b89}
#settingsForm #saveSettings{background:#c8ac8a;color:#191817;border-color:transparent}
.settings-data-row{padding-block:9px 18px;gap:16px}.settings-data-row .btn{flex:none;min-width:70px;width:auto;padding:7px 12px;min-height:38px;border-radius:999px;font-size:11px}
html[data-material] .composer-wrap{width:min(760px,100%)}
html[data-material] body .composer{border-color:#514638;border-radius:26px;padding:14px 14px 10px;background:#0d0c0b;box-shadow:none}
html[data-material] body .composer textarea{border:0;outline:0;box-shadow:none;border-radius:0;min-height:64px;padding:4px 6px 12px}
html[data-material] .sidebar .chat-item>.chat-item__link{border:0;box-shadow:none;background:transparent!important}
html[data-material] .sidebar .chat-item:hover{background:#c8ac8a12}
.ic{stroke-width:var(--orea-icon-stroke,1.5)}.icon-btn .ic,.side-row .ic{width:20px;height:20px}
#openSettings .ic path:first-child{transform-origin:12px 12px;transition:transform 220ms var(--orea-ease)}
#openSettings:hover .ic path:first-child{transform:rotate(30deg)}
.account__chevron{transition:transform 180ms}.account:hover .account__chevron{transform:translateX(2px)}
@media(max-width:640px){
 #settings.orea-settings{width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:min(650px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);border-radius:22px}
 #settingsForm{grid-template-columns:minmax(0,1fr)}#settingsForm .dialog__head{padding:13px 16px}
 .settings-navigation{padding:5px 10px;gap:4px}.settings-navigation button{font-size:11px;padding-inline:10px}
 .settings-content{padding:20px 17px}.settings-row{gap:12px}.settings-row>.orea-select{flex-basis:105px;width:105px}
 #settingsForm .dialog__foot{padding:12px 16px}#settingsForm .switch{gap:12px}
 html[data-material] .composer-wrap{padding-inline:14px}html[data-material] body .composer{border-radius:23px;padding:12px 11px 8px}
}
@media(prefers-reduced-motion:reduce){#settingsForm .switch input,#settingsForm .switch input::before,#openSettings .ic path,.account__chevron{transition:none!important;transform:none!important}#settingsForm .switch input:checked::before{transform:translateX(16px)!important}}
@media(hover:hover) and (pointer:fine){
 :is(button,a,label):hover>.animated-symbol{transform:none!important}
 :is(button,a,label):hover>.icon--upload .symbol-detail{transform:translateY(-2px)}
 :is(button,a,label):hover>.icon--download .symbol-detail{transform:translateY(2px)}
 :is(button,a,label):hover>.icon--notebook .symbol-detail{transform:translateX(1.5px)}
 :is(button,a,label):hover>.icon--pen-tool .symbol-detail{transform:rotate(-9deg)}
}
#settingsForm .settings-row>.orea-language--full{flex:0 0 120px;width:120px;min-width:0}
#settingsForm .settings-row .language-trigger{min-height:40px;padding:8px 12px;border-radius:12px;background:transparent}
#settingsForm .settings-preferences .switch{display:grid;grid-template-columns:max-content 36px minmax(0,1fr);column-gap:14px;row-gap:8px;align-items:center}
#settingsForm .settings-preferences .switch>span{display:contents}
#settingsForm .settings-preferences .switch b{grid-column:1;grid-row:1}
#settingsForm .settings-preferences .switch input{grid-column:2;grid-row:1}
#settingsForm .settings-preferences .switch small{grid-column:1/-1;grid-row:2}
@media(max-width:640px){#settingsForm .settings-row>.orea-language--full{flex-basis:105px;width:105px}}
/* Compact empty composer and symbol actions, with accessible names retained. */
html[data-material] body .composer textarea{min-height:40px;padding-top:2px;padding-bottom:9px}
html[data-material] body .composer{padding-top:11px;padding-bottom:8px}
html[data-material] body .cinema-heading-actions>.button,html[data-material] body .design-conversation-heading>.memory-save{width:44px;min-width:44px;height:44px;min-height:44px;padding:11px;font-size:0;gap:0;border:0;border-radius:50%;background:transparent;box-shadow:none;line-height:0!important;gap:0!important;grid-auto-flow:column!important}
html[data-material] body .cinema-heading-actions>.button>.icon,html[data-material] body .design-conversation-heading>.memory-save>.icon{width:21px;height:21px}
html[data-material] body .cinema-heading-actions>.button:hover,html[data-material] body .design-conversation-heading>.memory-save:hover{background:#c8ac8a14}
html[data-material] body .cinema-navigation{grid-template-columns:minmax(0,1fr) 44px;gap:14px;padding:8px 0 18px}
html[data-material] body .cinema-modes{display:flex;flex-wrap:wrap;gap:6px;grid-template-columns:none}
html[data-material] body .cinema-modes .cinema-mode{flex:none;position:relative;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:11px;border-radius:50%;border:0}
html[data-material] body .cinema-mode[aria-selected=true]::after{display:none}
.cinema-mode-copy{position:absolute;inset-inline-start:0;top:calc(100% + 8px);z-index:12;display:grid;min-width:130px;width:max-content;max-width:200px;padding:9px 12px;border:1px solid #65513b;border-radius:12px;background:#121110;text-align:start;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-3px);transition:opacity 150ms,transform 150ms}
.cinema-mode:is(:hover,:focus-visible)>.cinema-mode-copy{opacity:1;visibility:visible;transform:none}
html[data-material] body .cinema-navigation>.button{width:44px;min-height:44px;padding:11px;font-size:0;border:0;border-radius:50%;background:transparent;line-height:0!important;gap:0!important;grid-auto-flow:column!important}
.cinema-camera>summary>.camera-trigger-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html[data-material] body .cinema-camera>summary{display:flex;width:44px;min-height:44px;align-items:center;justify-content:center;padding:11px;border:0;border-radius:50%;background:transparent;list-style:none}
html[data-material] body .cinema-camera>summary::after{display:none}
.cinema-camera>summary>.icon{width:21px;height:21px}
:is(button,a):hover>.icon--memory-store .symbol-detail{transform:translateX(2px)}
@media(prefers-reduced-motion:reduce){.cinema-mode-copy{transition:none!important;transform:none!important}}
#settingsForm .dialog__foot #saveSettings{display:flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:10px;border-radius:50%}
#saveSettings>.ic{width:20px;height:20px}#saveSettings>.settings-save-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* Writing box above an independent row of bare symbols. */
html[data-material] body .composer{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;gap:3px}
html[data-material] body .composer:focus-within{border:0;box-shadow:none}
.composer__writing{padding:10px 14px;border:1px solid #514638;border-radius:23px;background:#0d0c0b;transition:border-color 180ms}
.composer__writing:focus-within{border-color:#b29672}
html[data-material] body .composer textarea{padding:2px 0;min-height:28px;line-height:1.7}
.composer__bar{padding-inline:3px;min-height:44px;gap:5px}
html[data-material] body .composer :is(.toggle,.tool-btn,.send-btn),html[data-material] body .composer :is(.toggle,.tool-btn,.send-btn):is(:hover,:active,[aria-pressed=true]){width:44px;height:44px;min-width:44px;min-height:44px;padding:11px;border:0;background:transparent;box-shadow:none;color:#bca68a;outline-offset:-3px}
html[data-material] body .composer .send-btn:not(:disabled){color:#ead2b2}
html[data-material] body .composer .send-btn:disabled{color:#756e64;opacity:.55}
html[data-material] body .composer .toggle[aria-pressed=true]{color:#f0d0a7}
html[data-material] body .composer .toggle[aria-pressed=true]::after{bottom:2px}
html[data-material] body .cinema-navigation{min-width:0}
html[data-material] body .cinema-modes{min-width:0;max-width:100%}
html[data-material] body .cinema-modes .cinema-mode{flex:0 0 44px;max-width:44px;min-width:44px;min-height:44px;gap:0;background:transparent;overflow:visible;z-index:1}
html[data-material] body .cinema-modes .cinema-mode[aria-selected=true]{background:transparent;color:#f0d0a7}
html[data-material] body .cinema-mode-copy{display:none}
html[data-material] body .cinema-mode:is(:hover,:focus-visible)>.cinema-mode-copy{display:grid}
html[data-material] body .cinema-modes .cinema-mode:last-child .cinema-mode-copy{inset-inline-start:auto;inset-inline-end:0}
html[data-material] body :is(.cinema-heading-actions>.button,.cinema-navigation>.button,.cinema-camera>summary,.design-conversation-heading>.memory-save):hover{background:transparent}
@media(prefers-reduced-motion:reduce){.composer__writing{transition:none}}
/* Symbol hit areas stay invisible in every interaction state. */
html[data-material] body .composer :is(.toggle,.tool-btn,.send-btn):is(:disabled,:enabled,[aria-pressed=true],:hover,:focus-visible,:active),html[data-material] body .composer__bar,html[data-material] body .composer__tools,html[data-material] body .composer__send{background:transparent!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important}
html[data-material] body .composer__bar{border:0!important}
html[data-material] body .composer .send-btn:enabled{color:#e6c49c}
html[data-material] body .composer .send-btn:disabled{color:#847967}
html[data-material] body .contact{background:transparent!important;box-shadow:none}
html[data-material] body #composer,html[data-material] body #composer:focus-within{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
html[data-material] body .design-workspace .design-compose{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-material] body .suggestion{background:transparent;border:0;border-radius:0;padding:8px 10px}
html[data-material] body .tool-nav a,html[data-material] body .tool-nav a:is(:hover,:active,[aria-current=page]){background:transparent;box-shadow:none}
/* Permanent bare-action rule: memory selection has no visual container. */
html[data-material] body .app-rail>#projectMenuButton,html[data-material] body .app-rail>#projectMenuButton:is(:hover,:active,:focus-visible,[data-selected=true],[data-enabled=true]){display:flex;align-items:center;justify-content:center;position:relative;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;padding:10px;margin:0;border:0;border-radius:0;background:transparent!important;background-image:none!important;box-shadow:none!important;overflow:visible;transform:none;gap:0;color:#c5b095}
html[data-material] body .app-rail #projectEyebrow{display:block;position:absolute;width:1px;height:1px;max-width:1px;min-width:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.memory-select-symbol{display:block;flex:none;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:var(--orea-icon-stroke,1.5);stroke-linecap:round;stroke-linejoin:round}
.memory-select-arrows{transition:transform 180ms var(--orea-ease);transform-origin:17px 18px}
#projectMenuButton:hover .memory-select-arrows{transform:translateX(1.5px)}
html[data-material] body .app-rail>#projectMenuButton[data-selected=true]{color:#ebcba1}
#projectMenuButton[data-selected=true]::after{content:'';position:absolute;bottom:3px;left:20px;width:4px;height:4px;border-radius:50%;background:currentColor}
#projectMenuButton[data-enabled=false]::after{opacity:.4}
html[data-material] body .app-rail>#projectMenuButton:focus-visible{outline:2px solid #d7bd9d;outline-offset:1px}
html[data-material] body :is(#accountButton,#newProject),html[data-material] body :is(#accountButton,#newProject):is(:hover,:active,:focus-visible){background:transparent!important;border:0;box-shadow:none}
html[data-material] body #newProject{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:11px;font-size:0;gap:0}
#newProject>.icon{width:21px;height:21px}
html[data-material] body #settingsForm :is(.btn,[role=tab]),html[data-material] body #settingsForm :is(.btn,[role=tab]):is(:hover,:active,:focus-visible){background:transparent!important;border-color:transparent;box-shadow:none}
html[data-material] body #settingsForm #saveSettings{color:#e7c49a;background:transparent}
#settingsForm [role=tab][aria-selected=true]{text-decoration:underline;text-underline-offset:8px;text-decoration-color:#c8ac8a}
html[data-material] body .cinema-studio .button:has(>.icon),html[data-material] body .design-workspace .import-tools .button:has(>.icon){display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:11px;gap:0;font-size:0;background:transparent!important;border:0;box-shadow:none}
html[data-material] body .cinema-studio .button:has(>.icon)>.icon{width:21px;height:21px}
html[data-material] body .cinema-studio .button.primary:has(>.icon){color:#e7c49a}
html[data-material] body .cinema-studio .button:disabled:has(>.icon){color:#897c68;opacity:.55}
@media(prefers-reduced-motion:reduce){.memory-select-arrows{transition:none!important;transform:none!important}}
html[data-material] body #projectMenuButton[data-selected=true]::after{display:block}
html[data-material] body #accountButton .account-avatar{border:0;background:transparent;box-shadow:none}
@media(max-width:1000px){html[data-material] body .app-rail{grid-template-columns:repeat(5,44px);justify-content:space-between}html[data-material] body .app-rail>.orea-language{width:44px}}
/* A select trigger is an open value and a chevron, never an action box. */
html[data-material] body .orea-select-trigger,html[data-material] body .orea-select-trigger:is(:hover,:active,:focus-visible,[aria-expanded=true]),html[data-material] body #settingsForm .settings-row .language-trigger{min-height:44px;padding:9px 3px;border:0!important;border-radius:0;background:transparent!important;background-image:none!important;box-shadow:none!important}
html[data-material] body .orea-select-trigger:focus-visible{outline:0;text-decoration:underline;text-decoration-color:#d7bd9d;text-underline-offset:6px}
html[data-material] body :is(.cinema-studio,.cinema-direction-dialog) select:not(.orea-select-native){min-height:44px;padding:8px 3px;border:0;border-radius:0;background:transparent;box-shadow:none}
html[data-material] body .sidebar__foot{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0;padding-bottom:0}
html[data-material] body .sidebar__foot>.account{grid-column:1/-1;grid-row:2;margin:0}
html[data-material] body .sidebar__foot>.sidebar-settings{grid-column:1;grid-row:1}
html[data-material] body .sidebar__foot>.orea-language{grid-column:2;grid-row:1}
/* Navigation and submit actions stay open; only the actual writing field has a surface. */
html[data-material] .landing :is(.btn,.ask__send),html[data-material] body #settingsForm .btn{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#d7bd9d!important;min-height:44px}
html[data-material] .landing .ask__send{min-width:44px}
html[data-material] .landing :is(.btn,.ask__send):hover,html[data-material] body #settingsForm .btn:hover{color:#f0dcc0!important}

/* Primary composer actions belong inside the one writing surface. */
html[data-material] body .composer__writing{position:relative;min-height:62px;padding-inline-end:104px!important}html[data-material] body .composer__writing>.composer__send{position:absolute;inset-inline-end:8px;bottom:8px;display:flex;align-items:center;gap:2px}html[data-material] body .composer__writing :is(#sendBtn,#micBtn){width:44px;min-width:44px;height:44px;min-height:44px;background:transparent!important;border:0!important;box-shadow:none!important;color:#d7bd9d}html[data-material] body .composer__writing #input{min-width:0;width:100%;padding-inline:0!important}html[data-material] body .composer__writing .attachments{max-width:100%;min-width:0}
/* The existing settings sections keep their behavior inside layered panels. */
#settings.orea-settings{background:#0f0e0d;border-color:#4e4233;border-radius:24px}#settingsForm{background:#121110;direction:ltr;padding:5px;gap:4px;border-radius:24px}#settingsForm .dialog__head{background:#171615;border-radius:19px 19px 0 0;border:0;padding:14px 18px}.settings-navigation{background:#151413!important;border:0;border-radius:18px;padding:14px 10px}.settings-navigation [role=tablist]{counter-reset:settings-section}.settings-navigation [role=tab]{counter-increment:settings-section;display:flex;align-items:center;gap:10px;min-height:44px!important;border-radius:11px}.settings-navigation [role=tab]::before{content:counter(settings-section,decimal-leading-zero);font-size:10px;color:#99856a}.settings-navigation button[aria-selected=true]{background:#353433!important;color:#e5c49a}.settings-content{background:#242322;border-radius:18px;padding:22px}.settings-content>.settings-panel,.settings-content>section{background:transparent}.settings-row{background:#2c2b2a;border:1px solid #ab8c5e14;border-radius:12px;padding:12px!important}.settings-content .choice{background:#2c2b2a!important;border:0!important;border-radius:12px!important;padding:12px!important}html[dir=rtl] #settingsForm .dialog__head,html[dir=rtl] .settings-navigation,html[dir=rtl] .settings-content{direction:rtl}html[dir=ltr] #settingsForm .dialog__head,html[dir=ltr] .settings-navigation,html[dir=ltr] .settings-content{direction:ltr}
#projectDialog,#memoryContentsDialog,.dw-account{background:#131211!important;border:1px solid #544632!important;border-radius:22px!important}.memory-content-list,.memory-destinations,.dw-account .account-fields{background:#21201f;border-radius:16px;padding:14px}.memory-entry,.memory-file{background:#282726!important;border-color:#bca07218!important;border-radius:12px!important}
@media(max-width:640px){#settingsForm{grid-template-columns:90px minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important}.settings-navigation{grid-column:1!important;grid-row:2!important;flex-direction:column!important;padding:10px 5px!important}.settings-navigation [role=tablist]{flex-direction:column!important}.settings-navigation [role=tab]{font-size:10px;gap:4px;padding:7px 4px;white-space:normal}.settings-navigation [role=tab]::before{font-size:8px}.settings-content{grid-column:2!important;grid-row:2!important;padding:14px 10px!important}.settings-row{flex-direction:column;align-items:stretch;gap:10px}.settings-row>select{width:100%!important}.settings-account-link{font-size:10px!important}.settings-content h3{font-size:17px}}
/* Conversation groups and settings use layered, warm neutral surfaces. */
html[data-material] body .sidebar .side-nav{border:1px solid #c8ac8a18;border-radius:16px;padding:5px;margin:4px 0 8px}
html[data-material] body .sidebar .history{border:1px solid #c8ac8a14;border-radius:16px;padding:6px;overflow:auto}
.history-group{border:1px solid #c8ac8a13;border-radius:12px;margin:0 0 5px;overflow:hidden}
.history-group>summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;list-style:none;cursor:pointer;color:#c9b59a;font-size:11px;font-weight:600}
.history-group>summary::-webkit-details-marker{display:none}.history-group>summary:focus-visible{outline:2px solid #d5b789;outline-offset:-3px}.history-group__chevron{font-size:20px;line-height:1;transition:transform .18s}.history-group[open]>.history-group__chevron,.history-group[open]>summary .history-group__chevron{transform:rotate(90deg)}
.history-group__items{padding:0 4px 5px}.history-group__items .chat-item{margin:2px 0;border-radius:10px!important}.history-group__items .chat-item.active{box-shadow:inset 2px 0 currentColor}
html[data-material] body #settings.orea-settings{background:#0f0e0d!important;border-color:#695744!important}html[data-material] body #settingsForm{background:#0d0c0b!important}html[data-material] body #settingsForm .dialog__head{background:#141312!important}html[data-material] body .settings-navigation{background:#151413!important}html[data-material] body .settings-content{background:#1d1c1b!important}html[data-material] body .settings-row,html[data-material] body .settings-content .choice{background:#272625!important;border-color:#d8b98c1c!important}html[data-material] body .settings-navigation [role=tab][aria-selected=true]{color:#efd3a9!important;text-decoration-color:#c9a578}
@media(prefers-reduced-motion:reduce){.history-group__chevron{transition:none}}

html[data-material] body #settingsForm .dialog__foot{padding:8px 14px!important;min-height:52px!important;gap:8px!important}html[data-material] body #settingsForm .dialog__foot .btn{width:auto!important;min-width:44px!important;min-height:44px!important;padding:8px!important}html[data-material] body #settingsForm .dialog__foot #saveSettings{width:44px!important;height:44px!important}
/* Layered chat surfaces, retaining Orea's existing chat colors. */
html[data-material] body .sidebar{border-inline-end:0!important}
html[data-material] body .sidebar__library{display:flex;flex-direction:column;flex:1 1 0;min-height:0;padding:4px;border:1px solid #c8ac8a24;border-radius:18px;overflow:hidden}
html[data-material] body .sidebar__library .side-nav{flex:none;margin:0 0 4px;border:0;border-radius:13px;background:#ffffff08;padding:4px}
html[data-material] body .sidebar__library .history{flex:1 1 0;margin:0;border:0;border-radius:13px;background:#ffffff05;padding:5px;min-height:0}
html[data-material] body .sidebar__library .side-search{border:0!important;box-shadow:none!important}
html[data-material] body .topbar__end{display:flex;align-items:center;gap:0;padding:0;border:0;border-radius:0;background:transparent}
html[data-material] body .topbar__end .chat-project-tools{margin:0;gap:0}
html[data-material] body .composer{padding:4px!important;border:1px solid #c8ac8a30!important;border-radius:22px!important;background:#ffffff08!important;box-shadow:none!important}
html[data-material] body .composer__writing{border:1px solid #c8ac8a30!important;border-radius:17px!important;background:#0d0c0b!important;padding:10px 14px!important;padding-inline-end:104px!important}
html[data-material] body .composer__bar{padding:3px 5px!important;min-height:48px!important}
html[data-material] body .composer__bar :is(.toggle,.tool-btn){position:relative;isolation:isolate;border-radius:11px!important}
html[data-material] body .composer__bar :is(.toggle,.tool-btn)::before{content:none}
html[data-material] body .composer__bar :is(.toggle,.tool-btn):focus-visible,html[data-material] body .topbar__end button:focus-visible{outline:2px solid #d7bd9d!important;outline-offset:-2px}
@media(max-width:640px){html[data-material] body .composer{padding:4px!important}html[data-material] body .composer__writing{padding-inline-end:100px!important}.topbar__end{flex:none}}
/* Soften the chat library enclosure beside the brand and memory controls. */
html[data-material] body .sidebar__library{border-radius:26px!important;padding:5px!important}
html[data-material] body .sidebar__library .side-nav{border-radius:20px!important}
html[data-material] body .sidebar__library .history{border-radius:20px!important}
@media(max-width:640px){html[data-material] body .sidebar__library{border-radius:23px!important}}
/* Compact settings header and footer while retaining touch targets. */
html[data-material] body #settingsForm .dialog__head{padding:8px 14px!important;min-height:54px!important;border-radius:17px 17px 0 0!important}
html[data-material] body #settingsForm .dialog__head h2{font-size:17px!important;line-height:1.35}
html[data-material] body #settingsForm .dialog__head button{width:44px!important;min-width:44px!important;height:44px!important;padding:11px!important}
html[data-material] body #settingsForm .dialog__foot{padding:4px 12px!important;min-height:48px!important;border-radius:0 0 17px 17px!important}
html[data-material] body #settingsForm .dialog__foot .btn{font-size:11px!important;min-height:44px!important}
/* Independent rounded navigation and chat work surfaces. */
html[data-material] body .app-rail{box-sizing:border-box;width:calc(100% - 16px)!important;margin:6px 8px 0!important;height:calc(var(--studio-nav) - 6px)!important;border:1px solid #c8ac8a24!important;border-radius:20px!important;box-shadow:none!important}
html[data-material] body .workspace-content[data-surface=chat]{box-sizing:border-box;width:calc(100% - 16px)!important;height:calc(100dvh - var(--studio-nav) - 8px)!important;margin:4px 8px 4px!important;border:1px solid #c8ac8a24!important;border-radius:22px!important;overflow:hidden}
@media(max-width:760px){html[data-material] body .app-rail{width:calc(100% - 12px)!important;margin:4px 6px 0!important;height:calc(var(--studio-nav) - 4px)!important;border-radius:18px!important}html[data-material] body .workspace-content[data-surface=chat]{width:calc(100% - 12px)!important;height:calc(100dvh - var(--studio-nav) - 6px)!important;margin:3px 6px!important;border-radius:18px!important}}
/* Chat composer: one continuous writing surface inside a quieter outer shell. */
html[data-material] body .composer{background:#131211!important;border:1px solid #c8ac8a30!important;border-radius:22px!important;padding:4px!important;gap:0!important}
html[data-material] body .composer__writing{background:#1d1c1b!important;border:0!important;border-radius:17px 17px 0 0!important}
html[data-material] body .composer__bar{background:#1d1c1b!important;border:0!important;border-radius:0 0 17px 17px!important;padding:3px 10px 5px!important}
html[data-material] body .composer__writing #sendBtn{background:#c8ac8a!important;color:#1c1b1a!important;border-radius:50%!important}
html[data-material] body .composer__writing #sendBtn:disabled{opacity:.45}
/* The conversation is a separate surface beside its history, below the shared rail. */
html[data-material] body .app>.main{box-sizing:border-box;height:calc(100% - 12px)!important;margin:6px!important;border:1px solid #c8ac8a30;border-radius:20px;background:#0a0908!important;overflow:hidden}
@media(max-width:860px){html[data-material] body .app>.main{height:calc(100% - 8px)!important;margin:4px!important;border-radius:17px}}
/* Cinema-inspired shell encloses the complete chat composer. */
html[data-material] body .composer-wrap>.composer{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;background:#131211!important;border:1px solid #5a4b38!important;border-radius:22px!important;padding:4px!important;gap:0!important}
html[data-material] body .composer-wrap>.composer .composer__writing{border-radius:17px 17px 0 0!important}
html[data-material] body .composer-wrap>.composer .composer__bar{border-radius:0 0 17px 17px!important}
/* Match the Cinema heading treatment while preserving Arabic readability. */
@font-face{font-family:'Orea Cinema Heading';src:url('/assets/fonts/space-grotesk-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
html[data-material] body .empty__greet{font-family:'Orea Cinema Heading','Noto Sans Arabic',sans-serif!important;font-weight:700!important;font-size:40px!important;line-height:36px!important;letter-spacing:-1.6px;text-transform:uppercase;text-align:center;background:linear-gradient(#f0e6d8 14%,#d5b89469 100%);background-clip:text;-webkit-background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
html[dir=rtl][data-material] body .empty__greet{letter-spacing:0;line-height:1.35!important}
@media(max-width:760px){html[data-material] body .empty__greet{font-size:28px!important;line-height:1.2!important;letter-spacing:-1px}html[dir=rtl][data-material] body .empty__greet{letter-spacing:0}}
/* Remove the redundant rule above sidebar settings. */
html[data-material] body .sidebar__foot{border:0!important;box-shadow:none!important}
html[data-material] body .sidebar__foot::before{content:none!important}
/* Current selection is shown by light rather than a check or underline. */
html[data-material] body #modelMenu .menu__check{display:none!important}
html[data-material] body #modelMenu [aria-checked=true]{background:#b99c721f!important;box-shadow:inset 0 0 0 1px #d8bd9180!important;border-radius:12px;color:#f1ddbe}
html[data-material] body .tool-nav a[aria-current=page]::after{display:none!important}
html[data-material] body .tool-nav a[aria-current=page]{background:#c8ac8a20!important;border-radius:12px!important;box-shadow:inset 0 0 0 1px #c8ac8a35,0 0 14px #c8ac8a18!important;color:#efd6b3!important}
/* Two clearly separate full-width composer surfaces. */
html[data-material] body .composer-wrap>.composer{gap:5px!important}
html[data-material] body .composer-wrap>.composer .composer__writing{border-radius:16px!important;background:#242322!important}
html[data-material] body .composer-wrap>.composer .composer__bar{border-radius:14px!important;background:#242322!important;min-height:54px!important}
/* User correction: one outer shell containing the writing surface and its tools. */
html[data-material] body .composer-wrap>.composer{background:#131211!important;border:1px solid #5a4b38!important;border-radius:22px!important;padding:4px!important;gap:0!important}
html[data-material] body .composer-wrap>.composer .composer__writing{background:#242322!important;border-radius:17px 17px 0 0!important}
html[data-material] body .composer-wrap>.composer .composer__bar{background:#242322!important;border-radius:0 0 17px 17px!important;min-height:48px!important}
/* Three distinct surfaces: navigation, conversation list, and conversation. */
html[data-material] body .workspace-content[data-surface=chat]{border:0!important;border-radius:0!important;overflow:hidden}
html[data-material] body .app>.sidebar{box-sizing:border-box;height:calc(100% - 12px);margin:6px;border:1px solid #c8ac8a30!important;border-radius:20px!important;overflow:hidden}
@media(max-width:860px){html[data-material] body .app>.sidebar{height:calc(100% - 8px);margin:4px;border-radius:17px!important}}
/* Dark chat and design bases; warm accents remain on controls. */
html[data-material] body .app>.main{background:#050505!important}
html[data-material] body .sidebar__library{border:0!important;border-radius:0!important;background:transparent!important;padding:0!important}
html[data-material] body .sidebar__library .history{border-radius:15px!important}
html[data-material] body .msg__error{background:#141312!important;border:1px solid #b69b7645!important;color:#eadac3!important;border-radius:14px!important;padding:9px 12px!important;font:inherit;line-height:1.6}
html[data-material] body .msg__error .btn{min-height:44px!important;height:auto!important;border:0!important;border-radius:10px!important;padding:8px 12px!important;background:#c8ac8a1c!important;color:#e2c6a1!important;font:inherit}
html[data-material] body .msg__error .btn:focus-visible{outline:2px solid #d7bd9d;outline-offset:2px}
/* Beige wordmarks; white gem assets keep their original color. */
html[data-material] .landing .brand .wm{color:#c8ac8a!important}
html[data-material] body .brand-link>span{color:#c8ac8a!important}
.hero-pointer-ripple{position:absolute;z-index:3;width:44px;height:44px;pointer-events:none;border-radius:50%;border:1px solid #afa4945c;box-shadow:0 0 14px #ada29224,inset 0 0 10px #d7bb8820;transform:translate(-50%,-50%) scale(.35);animation:hero-ripple 1.2s ease-out forwards}
.hero-pointer-ripple:nth-of-type(even){border-color:#d3b88b52;box-shadow:0 0 14px #c6ac8124,inset 0 0 10px #d9d4cc1c}
@keyframes hero-ripple{to{transform:translate(-50%,-50%) scale(1.45);opacity:0}}
@media(prefers-reduced-motion:reduce){.hero-pointer-ripple{display:none;animation:none}}
@media(hover:hover) and (pointer:fine){html,body{cursor:url('/assets/img/orea-cursor.svg?v=20261104-beige') 4 3,auto}a,button:not(:disabled),summary,[role=button]:not([aria-disabled=true]),[role=tab],label[for]{cursor:url('/assets/img/orea-cursor-hover.svg?v=20261104-beige') 4 3,pointer!important}input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=range]),textarea,[contenteditable=true]{cursor:text!important}}
@media(hover:hover) and (pointer:fine){html:active,body:active,a:active,button:not(:disabled):active,summary:active,[role=button]:not([aria-disabled=true]):active,[role=tab]:active,label[for]:active{cursor:url('/assets/img/orea-cursor-press.svg?v=20261104-beige') 4 3,auto!important}input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=range]):active,textarea:active,[contenteditable=true]:active{cursor:text!important}}
/* Action movement stays inside the mark; controls never jump. */
@media(prefers-reduced-motion:no-preference){.animated-symbol .symbol-detail,#sendBtn .ic-send circle{transform-origin:12px 12px;transition:transform 180ms ease,opacity 180ms ease}.button:hover>.icon--arrow-up-right .symbol-detail,.button:focus-visible>.icon--arrow-up-right .symbol-detail,#sendBtn:hover .ic-send circle{transform:scale(.75)}.button:hover>.icon--download .symbol-detail,.button:hover>.icon--check .symbol-detail{transform:scale(1.18)}.button:hover>.icon--upload .symbol-detail{transform:translateY(-1px)}}

/* language menu: every line on one alignment (the page's), the name isolated in its own script; the chosen one lit with a check */
html body .language-picker>button{direction:inherit!important;text-align:start;justify-content:space-between}
html body .language-picker>button>span{unicode-bidi:isolate;flex:1 1 auto;text-align:start}
html body .language-picker>button>svg{display:none!important}
html body .language-picker>button::after{content:"";flex:none;width:16px;height:16px;background:currentColor;opacity:0;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m5 12.5 4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m5 12.5 4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center/contain no-repeat}
html body .language-picker>button[aria-selected=true]::after{opacity:1}
html body .language-picker>button::after{margin-inline-start:auto}
html[dir=rtl] body .language-picker{direction:rtl!important}
html[dir=ltr] body .language-picker{direction:ltr!important}
html body .language-picker>button>span{flex:1 1 auto!important}

/* Page ground (owner decision 2026-11-07, confirmed after trying a black page): every page sits on the popup charcoal; writing boxes one step lighter, wells inside them black. */
:root{--orea-ground:#000}
html:not(#_)[data-material]{background:var(--orea-ground)!important}
html:not(#_)[data-material] body:not(#_):is(.glass-world,.landing,.orea-support),html:not(#_)[data-material] body:not(#_) :is(#main.workspace-content,.app-rail,.app>.main,.topbar,.embedded-chat .topbar,.landing .preloader){background:var(--orea-ground)!important}

/* Writing boxes share one method (owner decision 2026-11-07): one frame in the chat-capsule colour, tools on the left,
   send on the right as the Orea arrow inside a circle — dim brown while empty, beige once there is something to send. */
:root{--orea-write:#1b1a19;--orea-write-line:#35302a;--orea-write-focus:#65513b;--orea-send-idle:#3b3229;--orea-send-idle-ink:#8c7a64;--orea-send:#d7bd9d;--orea-send-ink:#1a140e}
/* Chat: one long framed capsule. */
html:not(#_)[data-material] body:not(#_) .composer-wrap>#composer{direction:ltr;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"att att att" "tools text send";align-items:end;gap:0 2px!important;min-height:58px;padding:6px!important;border:1px solid var(--orea-write-line)!important;border-radius:28px!important;background:var(--orea-write)!important;background-image:none!important;box-shadow:none!important;transition:border-color 180ms}
html:not(#_)[data-material] body:not(#_) .composer-wrap>#composer:focus-within{border-color:var(--orea-write-focus)!important}
html:not(#_)[data-material] body:not(#_) #composer .composer__writing{display:contents!important}
html:not(#_)[data-material] body:not(#_) #composer #attachments:not([hidden]){grid-area:att;padding:6px 8px 2px}
html:not(#_)[data-material] body:not(#_) #composer textarea{grid-area:text;align-self:center;min-height:44px!important;max-height:32dvh;padding:10px 8px!important;line-height:1.6!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html:not(#_)[data-material] body:not(#_) #composer .composer__bar{grid-area:tools;display:flex;align-items:flex-end;min-height:44px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
html:not(#_)[data-material] body:not(#_) #composer .composer__tools{flex-wrap:nowrap;gap:0}
html:not(#_)[data-material] body:not(#_) #composer .composer__send{grid-area:send;position:static!important;display:flex;align-items:center;gap:2px}
/* The send circle, shared by every writing box. */
html:not(#_)[data-material] body:not(#_) :is(#composer #sendBtn,.landing .ask__send,.cinema-rebuilt .cinema-generate,.design-writing-actions>button){display:grid;place-items:center;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;margin:2px;padding:0!important;border:0!important;border-radius:50%!important;background:var(--orea-send)!important;background-image:none!important;color:var(--orea-send-ink)!important;box-shadow:none!important;opacity:1!important;transition:background 180ms,color 180ms,transform 180ms}
html:not(#_)[data-material] body:not(#_) :is(#composer #sendBtn,.landing .ask__send,.cinema-rebuilt .cinema-generate,.design-writing-actions>button):is(:disabled,[aria-disabled=true]){background:var(--orea-send-idle)!important;color:var(--orea-send-idle-ink)!important}
html:not(#_)[data-material] body:not(#_) :is(#composer #sendBtn,.landing .ask__send,.cinema-rebuilt .cinema-generate,.design-writing-actions>button):not(:disabled):hover{transform:translateY(-1px)}
html:not(#_)[data-material] body:not(#_) :is(#composer #sendBtn,.landing .ask__send,.cinema-rebuilt .cinema-generate,.design-writing-actions>button) svg{width:19px!important;height:19px!important}
html:not(#_)[data-material] body:not(#_) :is(#composer #sendBtn,.landing .ask__send,.cinema-rebuilt .cinema-generate,.design-writing-actions>button):focus-visible{outline:1.5px solid var(--orea-send)!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){html:not(#_)[data-material] body:not(#_) :is(#composer #sendBtn,.landing .ask__send,.cinema-rebuilt .cinema-generate,.design-writing-actions>button){transition:none}}
/* Home: the same capsule; the circle stays dim until there is an idea typed. */
html:not(#_)[data-material] body:not(#_).landing .ask:has(input:placeholder-shown) .ask__send:not(#_):not(#_){background:var(--orea-send-idle)!important;color:var(--orea-send-idle-ink)!important}
html:not(#_)[data-material] body:not(#_).landing .ask{padding-block:6px!important;padding-inline-end:7px!important}
/* Cinema (approved shape kept): the frame takes the chat writing colour; the size/quality/count values show as value + light chevron, no box. */
html:not(#_)[data-material] body:not(#_) .cinema-rebuilt .cinema-write-surface{background:var(--orea-write)!important;border-color:var(--orea-write-line)!important}
html:not(#_)[data-material] body:not(#_) .cinema-rebuilt .cinema-write-surface:focus-within{border-color:var(--orea-write-focus)!important}
html:not(#_)[data-material] body:not(#_) .cinema-compose-inner .cinema-output-values .orea-select-trigger:hover{color:var(--orea-send)!important}
/* Open Design: one framed writing box in the chat colour; attach, memory and send sit on one line with no box behind them. */
html:not(#_)[data-material] body:not(#_) .design-compose .design-writing{background:var(--orea-write)!important;border:1px solid var(--orea-write-line)!important;border-radius:18px!important;box-shadow:none!important;transition:border-color 180ms}
html:not(#_)[data-material] body:not(#_) .design-compose .design-writing:focus-within{border-color:var(--orea-write-focus)!important}
html:not(#_)[data-material] body:not(#_) .design-compose .design-compose-bar,html:not(#_)[data-material] body:not(#_) .design-compose .design-compose-bar :is(button,label){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
html:not(#_)[data-material] body:not(#_) .design-compose .design-compose-bar{border-radius:0!important;align-items:center}
html:not(#_)[data-material] body:not(#_).landing .ask input:is(:focus,:focus-visible){outline:0!important;box-shadow:none!important;border-color:transparent!important;background:transparent!important}
html:not(#_)[data-material] body:not(#_).landing .ask:focus-within{border-color:var(--orea-write-focus)!important}
html:not(#_)[data-material] body:not(#_) .design-compose .design-compose-bar .memory-save{place-items:center!important;align-content:center!important;padding:0!important}

/* Chat layout (owner, 2026-11-07): no rounded frames around the list or the conversation, no circles around symbols.
   The list sits on the page charcoal, separated by one hairline; rows are plain lines that light up on hover; the open chat is one charcoal step up. */
html:not(#_)[data-material] body:not(#_) #app>.sidebar{margin:0!important;border:0!important;border-inline-end:0!important;border-radius:0!important;background:var(--orea-ground,#000)!important;box-shadow:none!important;padding:14px 10px 10px!important}
html:not(#_)[data-material] body:not(#_) #app>.main{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--orea-ground,#000)!important;height:100%!important}
html:not(#_)[data-material] body:not(#_) .sidebar :is(.side-nav,.history){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
html:not(#_)[data-material] body:not(#_) .sidebar .sidebar__head{margin-bottom:8px!important;padding:0 2px!important}
html:not(#_)[data-material] body:not(#_) .sidebar .side-nav{display:flex;align-items:center;margin:0 0 10px!important}
html:not(#_)[data-material] body:not(#_) .sidebar #newChat{flex:1;min-height:44px;padding:0 10px!important;border-radius:10px!important;color:var(--orea-ink,#f1eee9)!important;background:transparent!important}
html:not(#_)[data-material] body:not(#_) .sidebar #newChat .ic{border:0!important;padding:0!important;border-radius:0!important;width:20px!important;height:20px!important;color:#d7bd9d}
html:not(#_)[data-material] body:not(#_) .sidebar #newChat:hover,html:not(#_)[data-material] body:not(#_) .sidebar #sidebarAccount:hover,html:not(#_)[data-material] body:not(#_) .sidebar .side-row:hover{background:#ffffff08!important}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item{margin:1px 0!important;border-radius:10px!important;box-shadow:none!important;background:transparent!important}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item:hover{background:#ffffff08!important}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item:is(.active,.is-active){background:var(--orea-write,#1b1a19)!important;box-shadow:none!important}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item:is(.active,.is-active) .chat-item__link{color:var(--orea-ink,#f1eee9)!important}
html:not(#_)[data-material] body:not(#_) .sidebar .history__empty{margin:8px 10px!important}
html:not(#_)[data-material] body:not(#_) .sidebar .sidebar__foot{border-top:1px solid #ffffff0f;padding-top:8px!important}
html:not(#_)[data-material] body:not(#_) :is(.sidebar .account__avatar,.sidebar .account__avatar .ic,.topbar .icon-btn,.topbar .chat-project-action,.sidebar .icon-btn){border:0!important;box-shadow:none!important;background:transparent!important}
html:not(#_)[data-material] body:not(#_) #app>.main>.topbar{border-bottom:0!important;background:transparent!important}
/* Chat status message: dot + text + action word, no box (same as the Open Design status line). */
html:not(#_)[data-material] body:not(#_) .msg__error{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#cfc4b6}
html:not(#_)[data-material] body:not(#_) .msg__error::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:#b4876b}
html:not(#_)[data-material] body:not(#_) .msg__error .btn{min-height:44px;padding:0 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#f1eee9!important;font-weight:600}
html:not(#_)[data-material] body:not(#_) .msg__error .btn:hover{color:#d7bd9d!important}
/* The list resize handle shows only while it is used. */
html:not(#_)[data-material] body:not(#_) .sidebar-resizer::before{opacity:0;transition:opacity 180ms}
html:not(#_)[data-material] body:not(#_) .sidebar-resizer:is(:hover,:focus-visible,:active)::before{opacity:1}

/* ===== One shape per meaning (owner, 2026-11-07). Approved references: the Elements dialog, the segment box, the beige pill. ===== */
:root{--orea-surface:#0f0e0d;--orea-surface-line:#f3ece124;--orea-well:#1b1a19;--orea-thumb:linear-gradient(180deg,#d3b997,#bfa17d);--orea-thumb-ink:#1a140e;--orea-well-line:#35302a;--orea-selected:#f4e3c8;--orea-accent:#c8ac8a;--orea-unselected:#9a8f7e}
/* Dialogs: one surface, one corner. */
html:not(#_)[data-material] body:not(#_) :is(.memory-contents-dialog,.memory-dialog,.dw-account,#settings.orea-settings,#settings .dialog__card,#settingsForm,.dw-convert-dialog,.project-menu,.cinema-direction-dialog,.cinema-media-drawer){background:var(--orea-surface)!important;background-image:none!important;border-color:var(--orea-surface-line)!important;border-radius:18px!important}
html:not(#_)[data-material] body:not(#_) :is(#settings .dialog__card,#settingsForm){border:0!important}
/* Menus: one surface; rows 44px; the chosen row is beige text with its mark, never a card. */
html:not(#_)[data-material] body:not(#_) :is(.model-picker .menu,.language-picker,.orea-select-menu,.chat-menu,.menu){background:var(--orea-surface)!important;border:1px solid var(--orea-surface-line)!important;border-radius:14px!important;box-shadow:0 16px 45px #0009!important;padding:6px!important}
html:not(#_)[data-material] body:not(#_) :is(.menu__item,.language-picker>button,.language-picker [role=option],.orea-select-option){min-height:44px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important}
html:not(#_)[data-material] body:not(#_) :is(.menu__item,.language-picker>button,.language-picker [role=option],.orea-select-option):is(:hover,:focus-visible){background:#ffffff08!important}
html:not(#_)[data-material] body:not(#_) :is(.menu__item,.language-picker>button,.language-picker [role=option],.orea-select-option):is([aria-checked=true],[aria-selected=true]){color:var(--orea-selected)!important;background:transparent!important;box-shadow:none!important}
/* Tabs inside sections: muted words; the chosen one is lighter with a short beige line under it. */
html:not(#_)[data-material] body:not(#_) :is(.film-tab,.account-tabs [role=tab],.settings-navigation [role=tab],.cinema-workspace-tabs>button,.camera-dialog-tab,.palette-editor-tabs>button){position:relative;min-height:44px;text-decoration:none!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--orea-unselected)!important;font-weight:500}
html:not(#_)[data-material] body:not(#_) :is(.film-tab,.account-tabs [role=tab],.settings-navigation [role=tab],.cinema-workspace-tabs>button,.camera-dialog-tab,.palette-editor-tabs>button):is([aria-selected=true],[aria-pressed=true],.is-active,.active){color:#f2ebe0!important;font-weight:600}
html:not(#_)[data-material] body:not(#_) :is(.film-tab,.account-tabs [role=tab],.settings-navigation [role=tab],.cinema-workspace-tabs>button,.camera-dialog-tab,.palette-editor-tabs>button)::after{content:''!important;position:absolute!important;inset:auto auto 4px 50%!important;width:20px!important;height:1.5px!important;margin:0!important;transform:translateX(-50%)!important;border-radius:1px!important;background:var(--orea-accent)!important;opacity:0;transition:opacity 180ms}
html:not(#_)[data-material] body:not(#_) :is(.film-tab,.account-tabs [role=tab],.settings-navigation [role=tab],.cinema-workspace-tabs>button,.camera-dialog-tab,.palette-editor-tabs>button):is([aria-selected=true],[aria-pressed=true],.is-active,.active)::after{opacity:1}
html:not(#_)[data-material] body:not(#_) :is(.film-tab,.account-tabs [role=tab],.settings-navigation [role=tab],.cinema-workspace-tabs>button,.camera-dialog-tab,.palette-editor-tabs>button):hover{color:#d9cfc1!important}
/* Fields: one black well with one line; search keeps its underline. */
html:not(#_)[data-material] body:not(#_) :is(.dw-account .field input,.memory-dialog .field input,.direction-preview textarea,#settings .field :is(input:not([type=radio]):not([type=checkbox]),textarea),.chat-item__rename,.dw-convert-dialog input){background:var(--orea-write,#1b1a19)!important;border:1px solid var(--orea-write-line,#35302a)!important;border-radius:12px!important;box-shadow:none!important;outline:0!important;transition:border-color 180ms}
html:not(#_)[data-material] body:not(#_) :is(.dw-account .field input,.memory-dialog .field input,.direction-preview textarea,#settings .field :is(input:not([type=radio]):not([type=checkbox]),textarea),.chat-item__rename,.dw-convert-dialog input):focus{border-color:var(--orea-write-focus,#65513b)!important}
/* Primary action: the beige pill everywhere (the account form was a small rectangle). */
html:not(#_)[data-material] body:not(#_) .dw-account :is(button[type=submit],.button.primary,.btn--primary){border-radius:999px!important}
/* Close: the symbol alone, no word, no box. */
html:not(#_)[data-material] body:not(#_) :is(.dialog-head,.cinema-workspace-toolbar,.dw-account,.direction-head-actions) :is(button,a):is([aria-label="Close" i],[aria-label="إغلاق"],[aria-label="Cerrar" i],:has(>.icon--x)){width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;justify-content:center;font-size:0!important;gap:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important;line-height:0!important;gap:0!important;grid-auto-flow:column!important}
html:not(#_)[data-material] body:not(#_) :is(.dialog-head,.cinema-workspace-toolbar,.dw-account,.direction-head-actions) :is(button,a):is([aria-label="Close" i],[aria-label="إغلاق"],[aria-label="Cerrar" i],:has(>.icon--x)) :is(svg,.icon){width:20px!important;height:20px!important;font-size:20px!important}
/* Small repeated actions: marks or words, no boxes. */
html:not(#_)[data-material] body:not(#_) .tl-track-ctrl{min-width:30px;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--orea-unselected)!important}
html:not(#_)[data-material] body:not(#_) .tl-track-ctrl:is([aria-pressed=true],.active,.is-active){color:var(--orea-selected)!important}
html:not(#_)[data-material] body:not(#_).landing .story-toggle{border:0!important;background:transparent!important;box-shadow:none!important}
html:not(#_)[data-material] body:not(#_).landing .story-toggle:hover{color:var(--orea-send,#d7bd9d)!important}
html:not(#_)[data-material] body:not(#_) .dw-account .dialog-head>button:has(>.icon--x){margin-inline-start:auto}

/* ===== Text roles (owner, 2026-11-07): the same kind of text looks the same everywhere. 40 size/colour pairs reduced to these roles. ===== */
:root{--t-title:#f2ebe0;--t-body:#cfc4b6;--t-label:#a99d8c;--t-help:#9a8f7e;--t-micro:#8a806f}
/* Dialog and workspace titles */
html:not(#_)[data-material] body:not(#_) :is(.dw-account h2,.memory-contents-dialog .dialog-head h2,.direction-title>h2,.storyboard-head h2,.image-controls h2){font-size:18px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:0!important;color:var(--t-title)!important;font-family:inherit!important}
/* Panel titles (a panel inside a page) */
html:not(#_)[data-material] body:not(#_) :is(.chat-history-title,.design-conversation h2,.design-editor-top b,.cinema-eyebrow){font-size:15px!important;font-weight:600!important;letter-spacing:0!important;color:var(--t-title)!important}
/* Empty states: title + one line */
html:not(#_)[data-material] body:not(#_) .empty-copy h2{font-size:16px!important;font-weight:600!important;color:var(--t-title)!important;letter-spacing:0!important}
html:not(#_)[data-material] body:not(#_) :is(.empty-copy p,.library-empty p,.library-empty,.memory-empty,.history__empty,.design-editor-gate span,.design-note){font-size:13px!important;font-weight:400!important;line-height:1.6!important;color:var(--t-help)!important}
/* Field labels */
html:not(#_)[data-material] body:not(#_) :is(.field>span:first-child:not(.orea-select):not(:has(input,select,textarea,button)),.picture-picker-label,fieldset>legend,.choice-wheel-title){font-size:12px!important;font-weight:500!important;letter-spacing:.01em!important;color:var(--t-label)!important;text-transform:none!important}
/* Helper text under or beside a control */
html:not(#_)[data-material] body:not(#_) :is(.helper,.direction-subtitle,.design-connection-text,.dw-account .helper){font-size:12px!important;font-weight:400!important;line-height:1.55!important;letter-spacing:0!important;color:var(--t-help)!important}
/* Small meta captions: counters, saved state, group names */
html:not(#_)[data-material] body:not(#_) :is(.cinema-draft-status,.cinema-prompt-counter,.cinema-readiness,.heading-cluster-label,.badge){font-size:11px!important;font-weight:400!important;letter-spacing:.02em!important;color:var(--t-micro)!important}
/* Camera tabs: no divider between them; the shared tab line marks the chosen one. */
html:not(#_)[data-material] body:not(#_) .camera-dialog-tabs{border:0!important;gap:20px}
html:not(#_)[data-material] body:not(#_) .camera-dialog-tab::before{content:none!important}
/* Picking by image: one mark everywhere — a thin beige ring on the picture and the name in the selected colour. */
html:not(#_)[data-material] body:not(#_) :is(.choice-wheel-option,.lighting-preset,.palette-library-item,.movement-options>button):is([aria-pressed=true],[aria-checked=true],[aria-selected=true],.is-selected,.selected){color:var(--orea-selected)!important}
html:not(#_)[data-material] body:not(#_) :is(.choice-wheel-option,.lighting-preset,.palette-library-item,.movement-options>button):is([aria-pressed=true],[aria-checked=true],[aria-selected=true],.is-selected,.selected) :is(img,.palette-art){box-shadow:0 0 0 1.5px var(--orea-accent)!important;outline:0!important}
/* Numbers: scales use the rail with a bead; exact values use the field well with the stepper marks inside. */
html:not(#_)[data-material] body:not(#_) .orea-stepper{background:var(--orea-write,#1b1a19)!important;border:1px solid var(--orea-write-line,#35302a)!important;border-radius:12px!important;box-shadow:none!important}
html:not(#_)[data-material] body:not(#_) .orea-stepper:focus-within{border-color:var(--orea-write-focus,#65513b)!important}

/* Cinema writing frame, option B (owner said continue with it, 2026-11-07): approved shape and frame colour kept;
   the four cards sit a step lighter than the writing box so they read as pressable, and light up with a beige line on hover;
   the tools under the text share the cards' colour (beige marks, bold values like "Auto") with no boxes. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-write-surface .cinema-compose-inner{background:#201f1d!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-write-surface .cinema-scene-settings :is(.direction-symbol,.cinema-camera>summary){background:#2a2826!important;background-image:none!important;box-shadow:inset 0 0 0 1px #ffffff10!important;transition:background 180ms,box-shadow 180ms}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-write-surface .cinema-scene-settings :is(.direction-symbol,.cinema-camera>summary):is(:hover,:focus-visible){background:#322f2b!important;box-shadow:inset 0 0 0 1px #c8ac8a40!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-compose-inner :is(.cinema-inline-tools,.cinema-writing-bottom) :is(button,summary,label) :is(svg,.icon){color:#e6d4bc!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-compose-inner .cinema-output-values .orea-select-trigger{color:#f2ebe0!important;font-weight:600!important}
@media(prefers-reduced-motion:reduce){html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-write-surface .cinema-scene-settings :is(.direction-symbol,.cinema-camera>summary){transition:none!important}}

/* Cinema writing frame: original shapes and sizes kept (owner, 2026-11-07); only colours follow the new levels.
   The small value boxes (1:1, 1024px, 1/4) take the cards' colour; the tools stay marks; the send circle keeps its original size. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-compose-inner .cinema-output-values .orea-select-trigger::before{background:#2a2826!important;box-shadow:inset 0 0 0 1px #ffffff10!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-compose-inner .cinema-output-values .orea-select-trigger:hover::before{background:#322f2b!important;box-shadow:inset 0 0 0 1px #c8ac8a40!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-generate{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important}

/* ===== Owner pass, 2026-11-07: the Elements dialog is the reference. ===== */
/* 1. The workspace switcher (Chat / Cinema / Open Design) and the Library/Favorites media filters use the approved black box with the warm raised thumb. */
html:not(#_)[data-material] body:not(#_) :is(.app-rail .tool-nav,.library-kinds){display:inline-flex;align-items:center;gap:2px!important;padding:3px!important;background:var(--orea-well,#1b1a19)!important;border:0!important;border-radius:13px!important;box-shadow:inset 0 1px 2px #000a,inset 0 0 0 1px #f3ece112!important}
html:not(#_)[data-material] body:not(#_) :is(.app-rail .tool-nav>a,.library-kinds>.library-kind){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px!important;padding:0 15px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:#9a8f7e!important;text-decoration:none!important;transition:color 180ms,background 180ms}
html:not(#_)[data-material] body:not(#_) :is(.app-rail .tool-nav>a,.library-kinds>.library-kind):hover:not([aria-current=page]):not([aria-selected=true]){color:#e6dccb!important}
html:not(#_)[data-material] body:not(#_) :is(.app-rail .tool-nav>a[aria-current=page],.library-kinds>.library-kind[aria-selected=true]){background:var(--orea-thumb)!important;box-shadow:inset 0 1px 0 #f6d9a424,0 0 0 1px #c8ac8a3d,0 3px 10px -2px #000c!important;color:var(--orea-thumb-ink,#1a140e)!important}
html:not(#_)[data-material] body:not(#_) :is(.app-rail .tool-nav>a,.library-kinds>.library-kind)::after{content:none!important}
@media(prefers-reduced-motion:reduce){html:not(#_)[data-material] body:not(#_) :is(.app-rail .tool-nav>a,.library-kinds>.library-kind){transition:none}}
/* 2. Save to memory: soft field, beige pill — like the rest. */
html:not(#_)[data-material] body:not(#_) .memory-dialog :is(.button.primary,button[type=submit]){border-radius:999px!important}
/* 3. Open Design: no big frame around the assistant (like the chat); one hairline divides it from the editor; the writing box is a small framed capsule that grows. */
html:not(#_)[data-material] body:not(#_) .design-conversation{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html:not(#_)[data-material] body:not(#_) .design-chat-log{background:transparent!important}
html:not(#_)[data-material] body:not(#_) .design-chat-resizer::before{opacity:0;transition:opacity 180ms}
html:not(#_)[data-material] body:not(#_) .design-chat-resizer:is(:hover,:focus-visible,:active)::before{opacity:1}
html:not(#_)[data-material] body:not(#_) .design-chat-resizer{border-inline-start:1px solid #ffffff0f}
html:not(#_)[data-material] body:not(#_) .design-compose .design-writing{border-radius:24px!important}
html:not(#_)[data-material] body:not(#_) .design-compose .design-writing textarea{field-sizing:content;height:auto!important;min-height:44px!important;max-height:30dvh!important}
/* 4. Crop & color: the side panel sits on the dialog surface (Elements), the size tiles keep their black box. */
html:not(#_)[data-material] body:not(#_) .image-workbench .image-controls{background:var(--orea-surface,#0f0e0d)!important;border:1px solid var(--orea-surface-line,#f3ece124)!important;border-radius:18px!important;box-shadow:none!important}
/* 5. Storyboard scenes: each scene text is written in the chat writing box — charcoal, one soft frame — not a black well. */
html:not(#_)[data-material] body:not(#_) .shot-row .field textarea{background:var(--orea-write,#1b1a19)!important;border:1px solid var(--orea-write-line,#35302a)!important;border-radius:18px!important;box-shadow:none!important;padding:12px 14px!important;transition:border-color 180ms}
html:not(#_)[data-material] body:not(#_) .shot-row .field textarea:focus{border-color:var(--orea-write-focus,#65513b)!important;outline:0!important}
/* One notice in the identity colours (was a cool blue-grey box): dialog surface, soft corners, a small beige dot before the text. */
html:not(#_)[data-material] body:not(#_) #notice{background:var(--orea-surface,#0f0e0d)!important;border:1px solid var(--orea-surface-line,#f3ece124)!important;border-radius:14px!important;box-shadow:0 16px 45px #0009!important;color:#e6dccb!important;backdrop-filter:none!important}
html:not(#_)[data-material] body:not(#_) #notice:not(:empty)::before{content:"";display:inline-block;width:6px;height:6px;margin-inline-end:10px;border-radius:50%;background:#c8ac8a;vertical-align:middle}
/* Black box rule (owner, 2026-11-07): the black box is only for the main choice at the top of a surface
   (workspace switcher, a tool's own sections). Lists of options under it — like the size tiles — sit on the surface with no black box;
   the warm thumb alone marks the chosen one. */
html:not(#_):not(#__) body:not(#_):not(#__) .orea-choice-row.is-ratio{background:transparent!important;box-shadow:none!important;padding:0!important}
/* Crop & color: Crop / Light and color / Local color transfer are the tool's main choice, so they take the black box. */
html:not(#_)[data-material] body:not(#_) .image-controls .cinema-workspace-tabs{display:flex!important;flex-wrap:wrap;gap:2px!important;padding:3px!important;background:var(--orea-well,#1b1a19)!important;border:0!important;border-radius:13px!important;box-shadow:inset 0 1px 2px #000a,inset 0 0 0 1px #f3ece112!important}
html:not(#_)[data-material] body:not(#_) .image-controls .cinema-workspace-tabs>button{flex:1 1 auto;justify-content:center;min-height:38px!important;padding:0 12px!important;border-radius:10px!important;font-weight:500}
html:not(#_)[data-material] body:not(#_) .image-controls .cinema-workspace-tabs>button[aria-pressed=true]{background:var(--orea-thumb)!important;box-shadow:inset 0 1px 0 #f6d9a424,0 0 0 1px #c8ac8a3d,0 3px 10px -2px #000c!important;color:var(--orea-thumb-ink,#1a140e)!important}
html:not(#_)[data-material] body:not(#_) .image-controls .cinema-workspace-tabs>button::after{content:none!important}

/* ===== Media library order (owner, 2026-11-07) ===== */
/* Library / Favorites / Elements is the drawer's main choice: the black box with the warm thumb. */
html:not(#_):not(#__) body:not(#_):not(#__) dialog.cinema-media-drawer .cinema-workspace-tabs{display:inline-flex!important;gap:2px!important;padding:3px!important;background:var(--orea-well,#1b1a19)!important;border-radius:13px!important;box-shadow:inset 0 1px 2px #000a,inset 0 0 0 1px #f3ece112!important}
html:not(#_):not(#__) body:not(#_):not(#__) dialog.cinema-media-drawer .cinema-workspace-tabs .button{min-height:38px!important;height:38px!important;padding:0 14px!important;border-radius:10px!important;color:#9a8f7e!important;font-weight:500!important}
html:not(#_):not(#__) body:not(#_):not(#__) dialog.cinema-media-drawer .cinema-workspace-tabs .button[aria-pressed=true]{background:var(--orea-thumb)!important;box-shadow:inset 0 1px 0 #f6d9a424,0 0 0 1px #c8ac8a3d,0 3px 10px -2px #000c!important;color:var(--orea-thumb-ink,#1a140e)!important}
html:not(#_):not(#__) body:not(#_):not(#__) dialog.cinema-media-drawer .cinema-workspace-tabs .button::after{content:none!important}
/* Order: what to show first, then one search line with its tools. */
html:not(#_):not(#__) body:not(#_):not(#__) .library-heading.is-stacked{display:grid!important;gap:14px!important;margin:0 0 18px!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-choices{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline{display:flex;align-items:center;gap:6px;min-width:0}
html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline input[type=search]{flex:1 1 220px;min-width:0;height:44px;padding-inline:30px 4px!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a8f7e' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='10.75' cy='10.75' r='5.75'/%3E%3Cpath d='m15 15 4.25 4.25'/%3E%3C/svg%3E") no-repeat left 4px center/17px!important;border:0!important;border-bottom:1px solid #f3ece124!important;border-radius:0!important;color:#f2ebe0}
html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline input[type=search]:dir(rtl){padding-inline:30px 4px!important;background-position:right 4px center!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline input[type=search]:focus{outline:0;border-bottom-color:#c8ac8a!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline .library-head-actions{margin-inline-start:10px;display:flex;align-items:center;gap:8px}
html:not(#_):not(#__) body:not(#_):not(#__) .library-density[aria-pressed=true]{color:#f4e3c8!important}
/* Folders beside the files, like the chat list: plain rows, the open one a charcoal step up. */
html:not(#_):not(#__) body:not(#_):not(#__) .library-body{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;align-items:start}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folders{position:sticky;top:0;display:flex;flex-direction:column;gap:2px;padding-inline-end:16px;border-inline-end:1px solid #ffffff0f}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder{display:flex!important;align-items:center;gap:10px;width:100%;min-height:40px!important;padding:0 10px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:#cfc4b6!important;font-size:13px!important;font-weight:500;text-align:start;justify-content:flex-start!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder :is(svg,.icon){width:18px;height:18px;flex:none;color:#a99d8c}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder small{font-size:11px;color:#8a806f}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder:hover{background:#ffffff08!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder[aria-current=true]{background:#1b1a19!important;color:#f2ebe0!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder[aria-current=true] :is(svg,.icon){color:#d7bd9d}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder.is-new{color:#9a8f7e!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder.is-naming input{flex:1;min-width:0;height:34px;padding:0 10px;background:var(--orea-write,#1b1a19);border:1px solid #65513b;border-radius:10px;color:#f2ebe0;font:inherit;outline:0}
html:not(#_):not(#__) body:not(#_):not(#__) .library-folder-tools{display:flex;gap:2px;padding:4px 2px 0}
/* Smaller previews by default, so many files fit; the layout mark switches to large ones. */
html:not(#_):not(#__) body:not(#_):not(#__) .library-wall[data-density=compact]{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:16px 12px!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-wall[data-density=large]{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-wall[data-density=compact] .library-caption :is(b,small){font-size:12px!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-wall[data-density=compact] .library-caption small{font-size:11px!important}
@media(max-width:760px){
 html:not(#_):not(#__) body:not(#_):not(#__) .library-body{grid-template-columns:1fr;gap:14px}
 html:not(#_):not(#__) body:not(#_):not(#__) .library-folders{position:static;flex-direction:row;overflow-x:auto;padding:0 0 8px;border:0;border-bottom:1px solid #ffffff0f;scrollbar-width:none}
 html:not(#_):not(#__) body:not(#_):not(#__) .library-folder{width:auto;flex:none;white-space:nowrap}
 html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline{flex-wrap:wrap}
 html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline input[type=search]{flex-basis:100%}
 html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline .library-head-actions{margin-inline-start:auto}
 html:not(#_):not(#__) body:not(#_):not(#__) .library-wall[data-density=compact]{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 8px!important}
 html:not(#_):not(#__) body:not(#_):not(#__) .library-wall[data-density=large]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline input[type=search]{flex:1 1 auto!important;width:auto!important;max-width:none!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-searchline .library-head-actions{margin-inline-start:auto!important}
@media(max-width:760px){
 html:not(#_):not(#__) body:not(#_):not(#__) dialog.cinema-media-drawer .cinema-workspace-tabs{flex-wrap:nowrap!important}
 html:not(#_):not(#__) body:not(#_):not(#__) dialog.cinema-media-drawer .cinema-workspace-tabs .button{padding:0 10px!important;font-size:13px!important}
 html:not(#_):not(#__) body:not(#_):not(#__) dialog.cinema-media-drawer .cinema-workspace-tabs .button :is(.icon,svg){display:none!important}
}
html:not(#_):not(#__) body:not(#_):not(#__) .library-heading.is-stacked,html:not(#_):not(#__) body:not(#_):not(#__) .library-heading.is-stacked>.library-searchline,html:not(#_):not(#__) body:not(#_):not(#__) .library-body{width:100%!important;max-width:none!important;align-self:stretch!important;justify-self:stretch!important;flex:1 1 100%!important}
html:not(#_):not(#__) body:not(#_):not(#__) .library-heading.is-stacked{grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important}
html:not(#_):not(#__) body:not(#_):not(#__) dialog.cinema-media-drawer .cinema-workspace-tabs{align-self:center!important;height:auto!important}
/* Cinema inspiration strip (owner, 2026-11-07): the picture in front sits a little lower, the smaller ones behind sit a little higher,
   so the middle one reads as the main one. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-showreel .showreel-scene{transform:translate(calc(-50% + var(--scene-slot)*64%),-62%) scale(var(--scene-scale))!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-showreel .showreel-scene.is-featured{transform:translate(calc(-50% + var(--scene-slot)*64%),-41%) scale(var(--scene-scale))!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-showreel-scenes{margin-bottom:14px}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-showreel{margin-top:22px!important}

/* Chat list rows (owner, 2026-11-07): the title takes the row; pin and "more" appear when the pointer or focus is on the row.
   A pinned chat keeps a small beige pin as its state. Touch screens always show "more". */
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;min-height:40px}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>:is(.chat-item__pin,[data-act=more]){position:relative;display:grid;place-items:center;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#a99d8c!important;opacity:0;pointer-events:none;transition:opacity 140ms,color 140ms}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>:is(.chat-item__pin,[data-act=more])::after{content:"";position:absolute;inset:-7px}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>:is(.chat-item__pin,[data-act=more]) svg{width:17px!important;height:17px!important}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item:is(:hover,:focus-within)>:is(.chat-item__pin,[data-act=more]),html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>[data-act=more][aria-expanded=true]{opacity:1;pointer-events:auto}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>:is(.chat-item__pin,[data-act=more]):hover{color:#f2ebe0!important;background:#ffffff0a!important}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>.chat-item__pin[aria-pressed=true]{opacity:1;pointer-events:auto;color:#d7bd9d!important}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>.chat-item__pin[aria-pressed=true] .pin-head{fill:currentColor}
html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>.chat-item__link{min-width:0;padding-inline:10px 4px!important}
@media(hover:none){html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>[data-act=more]{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){html:not(#_)[data-material] body:not(#_) .sidebar .chat-item>:is(.chat-item__pin,[data-act=more]){transition:none}}

/* "Try again": one shape everywhere — the refresh mark + the word, no box (chat error and Open Design status). */
html:not(#_)[data-material] body:not(#_) :is(.msg__error .btn,.design-connection button){display:inline-flex!important;align-items:center;gap:6px;min-height:44px;padding:0 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#f1eee9!important;font-size:13px!important;font-weight:600!important}
html:not(#_)[data-material] body:not(#_) .msg__error .btn::before{content:"";width:15px;height:15px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M19 9.5A7.25 7.25 0 1 0 19.25 13'/%3E%3Cpath fill='black' stroke='none' d='M19.4 9.4 14.36 8.74 17.32 7.32 18.74 4.36Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M19 9.5A7.25 7.25 0 1 0 19.25 13'/%3E%3Cpath fill='black' stroke='none' d='M19.4 9.4 14.36 8.74 17.32 7.32 18.74 4.36Z'/%3E%3C/svg%3E") center/contain no-repeat}
html:not(#_)[data-material] body:not(#_) .design-connection button :is(svg,.icon){width:15px!important;height:15px!important}
html:not(#_)[data-material] body:not(#_) :is(.msg__error .btn,.design-connection button):hover{color:#d7bd9d!important}

/* Every switch at the top of a dialog or tool is the same black box as the workspace switcher (owner, 2026-11-07):
   log in / create account, settings sections, film setup, camera, palette editor, timeline inspector. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.account-tabs,.settings-navigation [role=tablist],.cinema-film-tabs,.camera-dialog-tabs,.palette-editor-tabs,.edit-inspector .cinema-workspace-tabs){display:inline-flex!important;flex-wrap:wrap;align-items:center;gap:2px!important;width:auto!important;padding:3px!important;background:var(--orea-well,#1b1a19)!important;border:0!important;border-radius:13px!important;box-shadow:inset 0 1px 2px #000a,inset 0 0 0 1px #f3ece112!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.account-tabs [role=tab],.settings-navigation [role=tab],.film-tab,.camera-dialog-tab,.palette-editor-tabs>button,.edit-inspector .cinema-workspace-tabs>button){display:inline-flex!important;align-items:center;justify-content:center;gap:7px;flex:1 1 auto;min-height:38px!important;height:38px!important;padding:0 15px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:#9a8f7e!important;font-weight:500!important;text-decoration:none!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.account-tabs [role=tab],.settings-navigation [role=tab],.film-tab,.camera-dialog-tab,.palette-editor-tabs>button,.edit-inspector .cinema-workspace-tabs>button):hover{color:#e6dccb!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.account-tabs [role=tab],.settings-navigation [role=tab],.film-tab,.camera-dialog-tab,.palette-editor-tabs>button,.edit-inspector .cinema-workspace-tabs>button):is([aria-selected=true],[aria-pressed=true],.is-active,.active){background:var(--orea-thumb)!important;box-shadow:inset 0 1px 0 #f6d9a424,0 0 0 1px #c8ac8a3d,0 3px 10px -2px #000c!important;color:var(--orea-thumb-ink,#1a140e)!important;font-weight:600!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.account-tabs [role=tab],.settings-navigation [role=tab],.film-tab,.camera-dialog-tab,.palette-editor-tabs>button,.edit-inspector .cinema-workspace-tabs>button)::after,html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .camera-dialog-tab::before{content:none!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .account-tabs{display:flex!important;width:100%!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .edit-inspector .cinema-workspace-tabs{display:flex!important;flex-wrap:nowrap!important;width:100%!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .edit-inspector .cinema-workspace-tabs>button{min-width:0;padding:0 10px!important;font-size:12.5px!important;white-space:nowrap}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .edit-inspector .cinema-workspace-tabs>button :is(.icon,svg){display:none!important}
/* Settings sections are a side list, not a top switch: plain rows like the chat list; the open one a charcoal step up. */
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .settings-navigation [role=tablist]{display:flex!important;flex-direction:column;align-items:stretch;gap:2px!important;width:100%!important;padding:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .settings-navigation [role=tab]{justify-content:flex-start!important;flex:none;width:100%;min-height:40px!important;height:auto!important;padding:0 12px!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:#cfc4b6!important;font-weight:500!important;white-space:nowrap}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .settings-navigation [role=tab]:hover{background:#ffffff08!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .settings-navigation [role=tab][aria-selected=true]{background:#1b1a19!important;color:#f2ebe0!important;font-weight:600!important}

/* Writing places are never black (owner, 2026-11-07): every field and writing box uses the chat writing colour with one soft line;
   multi-line ones get the softer corner of the chat. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(#settings textarea,#settings .field input:not([type=radio]):not([type=checkbox]),.direction-preview textarea,.element-editor textarea,.element-editor input[type=text],dialog textarea:not(.cinema-prompt-field textarea)){background:var(--orea-write,#1b1a19)!important;border:1px solid var(--orea-write-line,#35302a)!important;box-shadow:none!important;outline:0!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(#settings textarea,.direction-preview textarea,.element-editor textarea,dialog textarea:not(.cinema-prompt-field textarea)){border-radius:18px!important;padding:12px 14px!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(#settings textarea,#settings .field input,.direction-preview textarea,.element-editor :is(textarea,input),dialog textarea):focus{border-color:var(--orea-write-focus,#65513b)!important}

/* One hover for every symbol-only button and every close (the settings close is the reference):
   a soft round light behind the symbol, and the symbol brightens. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(button,a):is([aria-label="Close" i],[aria-label="إغلاق"],[aria-label="Cerrar" i],:has(>.icon--x),:has(>svg[data-icon=x])),html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.icon-btn,.library-mark,.chat-project-action,.cinema-heading-actions button,.direction-head-actions button,.od-mark,.design-editor-top button:not(.button.primary):not(.od-save)){border-radius:50%!important;transition:background 140ms,color 140ms}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(button,a):is([aria-label="Close" i],[aria-label="إغلاق"],[aria-label="Cerrar" i],:has(>.icon--x),:has(>svg[data-icon=x])):is(:hover,:focus-visible),html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.icon-btn,.library-mark,.chat-project-action,.cinema-heading-actions button,.direction-head-actions button,.od-mark,.design-editor-top button:not(.button.primary):not(.od-save)):is(:hover,:focus-visible):not(:disabled){background:#ffffff12!important;color:#f1eee9!important}
@media(prefers-reduced-motion:reduce){html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.icon-btn,.library-mark,.chat-project-action){transition:none}}
/* Cinema Image/Video: the chosen mode takes the same warm thumb as the top switch (Chat / Cinema / Open Design), not beige. Colour only; size and shape stay. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .cinema-primary-modes .cinema-mode[aria-selected=true]{background:var(--orea-thumb)!important;box-shadow:inset 0 1px 0 #f6d9a424,0 0 0 1px #c8ac8a3d,0 3px 10px -2px #000c!important;color:var(--orea-thumb-ink,#1a140e)!important}
/* Symbol-only marks: the symbol sits in the exact middle of its circle. A hidden word inside (font-size 0) used to open a
   second grid row and push the symbol up; flex with no line height keeps one centred row. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .od-mark:not([hidden]){display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;padding:0!important}
/* Dividers on the black page: a fine warm line that can actually be seen (top bar, Open Design chat | preview, headings). */
:root{--orea-divider:#ffffff2e}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .app-rail{border-bottom-color:var(--orea-divider)!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .design-chat-resizer{border-left-color:var(--orea-divider)!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.design-editor-top,.design-conversation-heading){border-bottom-color:var(--orea-divider)!important}
/* Chat list: never scrolls sideways (no bar above Guest); one very soft line separates Guest from the chats. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) #app>.sidebar :is(.sidebar__library,.history){overflow-x:clip!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) #app>.sidebar .sidebar__library::-webkit-scrollbar:horizontal{display:none;height:0}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) #app>.sidebar .sidebar__foot{border-top:1px solid #ffffff14!important;box-shadow:none!important}
/* Chat: the list and the conversation are parted by the same visible fine line as the top bar. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) #app>.sidebar{border-inline-end:1px solid var(--orea-divider)!important}
/* Chosen switch choices (top switch, Image/Video, Library/Favorites/Elements, sign-in, film, camera, palette, timeline, crop):
   the logo colour #c8ac8a with dark ink; inner glows of the old brown thumb are replaced by a soft lift. */
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) :is(.app-rail .tool-nav>a[aria-current=page],.library-kinds>.library-kind[aria-selected=true],.cinema-rebuilt .cinema-primary-modes .cinema-mode[aria-selected=true],.orea-choice-row.is-segment>.orea-choice-thumb){box-shadow:inset 0 1px 0 #fff3,0 3px 10px -2px #000c!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) :is(.app-rail .tool-nav>a[aria-current=page],.library-kinds>.library-kind[aria-selected=true],.cinema-rebuilt .cinema-primary-modes .cinema-mode[aria-selected=true],.image-controls .cinema-workspace-tabs>button[aria-pressed=true],dialog.cinema-media-drawer .cinema-workspace-tabs .button[aria-pressed=true],.orea-choice-row.is-segment>.orea-choice[aria-checked=true]) :is(svg,.icon,small,strong,span){color:var(--orea-thumb-ink)!important}
/* Failed reply (chat) and lost connection (Open Design): no box. The reason in plain text, then Try again as a word with
   the refresh mark inside a small round light; the mark turns while hovered or while an automatic retry counts down. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error{display:flex!important;align-items:center;gap:6px 12px!important;flex-wrap:wrap;width:auto;max-width:100%;margin-top:2px;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#e6dccb!important;font-size:14px;line-height:1.55}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error::before{content:none!important;display:none!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error .msg__retry-hint{color:#9a8f7e;font-size:12px;font-variant-numeric:tabular-nums}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error .msg__retry-hint:empty{display:none}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.msg__error .btn,.design-connection button){position:relative;display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;padding:0 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#f1eee9!important;font-weight:600;font-size:13px}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error .btn::before{width:26px!important;height:26px!important;flex:none;background:currentColor!important;-webkit-mask-size:15px 15px!important;mask-size:15px 15px!important;-webkit-mask-position:center!important;mask-position:center!important;-webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error .btn::after{content:"";position:absolute;inset-inline-start:2px;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;background:#ffffff14;pointer-events:none;transition:background-color .15s}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .design-connection button>.icon{box-sizing:content-box;width:15px!important;height:15px!important;padding:5.5px;border-radius:50%;background:#ffffff14;transition:background-color .15s}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.msg__error .btn,.design-connection button):hover{color:#d7bd9d!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error .btn:hover::after,html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .design-connection button:hover :is(.icon,svg:first-child){background:#ffffff26}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error .btn:hover::before,html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .msg__error:has(.msg__retry-hint:not(:empty)) .btn::before,html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .design-connection button:hover :is(.icon,svg:first-child){animation:orea-retry-turn 1.2s linear infinite}
@keyframes orea-retry-turn{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){html:not(#_):not(#__)[data-material] body:not(#_):not(#__) :is(.msg__error .btn::before,.design-connection button .icon,.design-connection button svg){animation:none!important}}
/* Chat scrollbars: thin, no arrow buttons (Windows showed up/down arrows in the chat list and thread). */
html[data-material] :is(#app,#app *,.conversation-search-dialog,.conversation-search-dialog *){scrollbar-width:auto;scrollbar-color:auto}
html[data-material] :is(#app,#app *,.conversation-search-dialog *)::-webkit-scrollbar{width:6px;height:6px;background:transparent}
html[data-material] :is(#app,#app *,.conversation-search-dialog *)::-webkit-scrollbar-button{display:none;width:0;height:0}
html[data-material] :is(#app,#app *,.conversation-search-dialog *)::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:6px}
html[data-material] :is(#app,#app *,.conversation-search-dialog *)::-webkit-scrollbar-thumb:hover{background:#ffffff38}
html[data-material] :is(#app,#app *,.conversation-search-dialog *)::-webkit-scrollbar-track,html[data-material] :is(#app,#app *)::-webkit-scrollbar-corner{background:transparent}
/* Film setup: the Genre / Era / Tempo switch sits in from the edge like the content under it; the side pictures can be clicked. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) dialog.cinema-direction-dialog .film-tool-layout>.cinema-film-tabs{margin:14px 22px 0!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) dialog.cinema-direction-dialog .film-neighbor-scenes{pointer-events:none}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) dialog.cinema-direction-dialog .film-neighbor{pointer-events:auto;cursor:pointer;transition:opacity .18s}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) dialog.cinema-direction-dialog .film-neighbor:hover{opacity:.8}
/* Colour palette: its Back / From image / Colour wheel switch sits in from the edge like Film setup's. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) dialog.cinema-direction-dialog .direction-content>.palette-editor-tabs{margin:14px 22px 0!important}
/* Cinema: under the pictures and above the agents, the sentence in exactly the chat greeting's type
   (Orea Cinema Heading, 40px bold uppercase, beige gradient); no line. */
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-create-intro{display:block!important;text-align:center;margin:20px auto 14px!important;height:auto!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-create-intro h1{margin:0!important;font-family:'Orea Cinema Heading','Noto Sans Arabic',sans-serif!important;font-size:40px!important;font-weight:700!important;line-height:36px!important;letter-spacing:-1.6px!important;text-transform:uppercase!important;color:transparent!important;-webkit-text-fill-color:transparent!important;background:linear-gradient(rgb(240,230,216) 14%,rgba(213,184,148,.41) 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;opacity:1!important;visibility:visible!important;transform:none!important}
html[dir=rtl] html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-create-intro h1{letter-spacing:0!important;line-height:1.35!important}
@media(max-width:760px){html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-create-intro h1{font-size:28px!important;line-height:30px!important;letter-spacing:-1px!important}}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-create-intro>:not(h1){display:none!important}
/* Cinema send: the arrow in the exact middle of its circle (the hidden word used to push it up), like chat and Open Design. */
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-generate{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;padding:0!important;font-size:0!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-generate>.icon{display:block;width:20px;height:20px;margin:0!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-generate>.icon svg{display:block;width:100%;height:100%}
/* Cinema writing tools: a tool that is in use (paperclip with attachments, a camera movement chosen) stays lit in the
   logo colour like a chosen switch; the symbol keeps its place and size. Removing the last one turns it off. */
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-inline-tools>:is(button,.button)[aria-pressed=true]{background:radial-gradient(circle at 50% 50%,#d0b591 0 17px,#bfa17d 17.6px,transparent 18.4px)!important;color:var(--orea-thumb-ink,#1a140e)!important;box-shadow:none!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-inline-tools>:is(button,.button)[aria-pressed=true] :is(svg,.icon,.instrument){color:var(--orea-thumb-ink,#1a140e)!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-inline-tools>[data-direction=movement][aria-pressed=true] .direction-choice-copy{display:none!important}
/* Open Design marks: the hidden word left a flex gap that pushed the symbol 3px aside; no gap, no margin, dead centre. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .od-mark:not([hidden]){gap:0!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .od-mark>:is(.icon,svg){margin:0!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .design-connection button>.icon{display:block!important;align-self:center!important;margin:0!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .design-connection button>.icon>svg{display:block;width:15px!important;height:15px!important;padding:0!important;background:none!important}
/* Try again (owner, 2026-11-07): the action itself sits in one soft round capsule — refresh mark + word — so it reads as
   something to press; the reason beside it stays plain text with no frame. Same in chat and Open Design. */
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) :is(.msg__error .btn,.design-connection button){min-height:44px!important;padding:0!important;gap:7px!important;background:transparent!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) :is(.msg__error .btn,.design-connection button)::after{content:""!important;position:absolute!important;inset:5px -12px!important;width:auto!important;height:auto!important;margin:0!important;border-radius:999px!important;background:#ffffff12!important;box-shadow:inset 0 0 0 1px #ffffff14!important;pointer-events:none;transition:background-color .15s}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) :is(.msg__error .btn,.design-connection button):hover::after{background:#ffffff22!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) :is(.msg__error .btn,.design-connection button){margin-inline:12px!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .msg__error .btn::before{width:15px!important;height:15px!important;-webkit-mask-size:15px 15px!important;mask-size:15px 15px!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .design-connection button>.icon{padding:0!important;background:none!important;width:15px!important;height:15px!important}
html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .design-connection button::after{display:block!important}
/* ---- Cinema on a phone: the same arrangement as the computer, just smaller (owner, 2026-11-07) ----------------------
   Image/Video stays a slim column at the left of the writing frame; the four scene cards stay in one row (symbol + value);
   the tools, values and send stay on one line; the agents row slides sideways instead of widening the page. */
@media (max-width:700px){
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-command-center{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;column-gap:6px!important;row-gap:0!important;align-items:end!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-primary-modes{grid-column:1!important;grid-row:1!important;display:flex!important;flex-direction:column!important;width:52px!important;padding:3px!important;gap:3px!important;margin:0 0 0!important;align-self:end!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-primary-modes .cinema-mode{flex-direction:column!important;justify-content:center!important;width:46px!important;min-width:0!important;height:48px!important;min-height:44px!important;gap:2px!important;padding:3px 0!important;font-size:10px!important;line-height:1.1!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-primary-modes .cinema-mode .icon{width:17px!important;height:17px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-write-surface{grid-column:2!important;grid-row:1!important;min-width:0!important;width:auto!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt :is(.cinema-prompt-meta,.cinema-service-state){grid-column:1 / -1!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-scene-settings{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;padding:4px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-scene-settings :is(.direction-symbol,.cinema-camera>summary){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;width:auto!important;min-width:0!important;height:54px!important;padding:4px 2px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-scene-settings .cinema-camera{min-width:0!important;width:auto!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-scene-settings :is(.cinema-instrument,.direction-symbol>.icon){width:24px!important;height:24px!important;min-width:24px!important;flex:none!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-scene-settings :is(.direction-choice-copy,.camera-choice-copy){display:flex!important;flex-direction:column!important;align-items:center!important;min-width:0!important;max-width:100%!important;text-align:center!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-scene-settings :is(.direction-choice-copy,.camera-choice-copy)>:first-child{display:none!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-scene-settings :is(.direction-choice-value,.camera-choice-copy strong){display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10.5px!important;line-height:1.2!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-compose-inner{grid-template-columns:minmax(0,1fr)!important;padding:8px 8px 6px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-compose-inner>.cinema-prompt-field{grid-column:1!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-writing-bottom{grid-column:1!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:2px!important;padding-inline-end:50px!important;min-width:0!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-writing-actions{grid-column:1!important;grid-row:2!important;justify-self:end!important;align-self:center!important;z-index:1}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-generate{width:40px!important;height:40px!important;min-width:40px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-inline-tools{gap:0!important;flex:none!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-inline-tools>*{width:34px!important;min-width:34px!important;height:44px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-writing-bottom .cinema-output-values{display:flex!important;flex-wrap:nowrap!important;gap:2px!important;min-width:0!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-writing-bottom .cinema-output-values .orea-select-trigger{font-size:11px!important;padding-inline:6px 4px!important;gap:2px!important;min-width:0!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .agent-rail{max-width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:14px!important;scrollbar-width:none!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .agent-rail::-webkit-scrollbar{display:none}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-primary-modes{min-width:0!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-writing-bottom .cinema-output-values .orea-select-trigger::after,html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-writing-bottom .cinema-output-values .orea-select-trigger>svg:last-child{display:none!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-writing-bottom .cinema-output-values .orea-select-trigger{padding-inline:5px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-heading-actions{max-width:100%!important;overflow-x:auto!important;scrollbar-width:none!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .cinema-rebuilt .cinema-heading-actions::-webkit-scrollbar{display:none}
}
/* Open Design on a phone: title and tools stay on one line, just smaller — no Save on top of the title. */
@media (max-width:700px){
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .design-editor-top{gap:6px!important;padding-inline:12px 6px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .design-editor-top>b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .design-editor-top .import-tools{flex:none!important;flex-wrap:nowrap!important;align-items:center!important;gap:0!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .design-editor-top .import-tools .od-mark{width:38px!important;min-width:38px!important;height:44px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .design-editor-top .import-tools .od-rule{margin-inline:2px!important}
 html:not(#_):not(#__):not(#___)[data-material] body:not(#_):not(#__):not(#___) .design-editor-top .import-tools .od-save{height:34px!important;min-height:34px!important;padding:0 12px!important;margin-inline-start:4px!important;font-size:12px!important}
}
/* Hover motion for every Orea symbol (owner, 2026-11-07: the marks used to move and must again). The facet or detail of
   the symbol moves a step in the direction it means; symbols without a detail turn or lift as a whole. Only on devices that
   hover; reduced motion keeps everything still. Chosen/disabled controls do not move. */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 :is(.icon,svg[data-icon]) .symbol-detail{transform-box:view-box;transform-origin:12px 12px;transition:transform 180ms cubic-bezier(.2,.7,.2,1)}
 :is(.icon,svg[data-icon]){transition:transform 180ms cubic-bezier(.2,.7,.2,1)}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--arrow-up,svg[data-icon="arrow-up"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="arrow-up"] .symbol-detail{transform:translateY(-2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--arrow-down,svg[data-icon="arrow-down"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="arrow-down"] .symbol-detail{transform:translateY(2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--arrow-left,svg[data-icon="arrow-left"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="arrow-left"] .symbol-detail{transform:translateX(-2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--arrow-right,svg[data-icon="arrow-right"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="arrow-right"] .symbol-detail{transform:translateX(2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--arrow-up-right,svg[data-icon="arrow-up-right"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="arrow-up-right"] .symbol-detail{transform:translate(1.5px,-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--arrow-back-up,svg[data-icon="arrow-back-up"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="arrow-back-up"] .symbol-detail{transform:translateX(-2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--arrow-forward-up,svg[data-icon="arrow-forward-up"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="arrow-forward-up"] .symbol-detail{transform:translateX(2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--paperclip,svg[data-icon="paperclip"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="paperclip"] .symbol-detail{transform:translate(1.5px,-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--search,svg[data-icon="search"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="search"] .symbol-detail{transform:translate(1.5px,1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--refresh,svg[data-icon="refresh"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="refresh"] .symbol-detail{transform:rotate(45deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--history,svg[data-icon="history"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="history"] .symbol-detail{transform:rotate(-35deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--download,svg[data-icon="download"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="download"] .symbol-detail{transform:translateY(2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--upload,svg[data-icon="upload"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="upload"] .symbol-detail{transform:translateY(-2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--copy,svg[data-icon="copy"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="copy"] .symbol-detail{transform:translate(-1.5px,-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--pencil,svg[data-icon="pencil"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="pencil"] .symbol-detail{transform:translate(1.5px,-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--compose,svg[data-icon="compose"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="compose"] .symbol-detail{transform:translate(1.5px,-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--code,svg[data-icon="code"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="code"] .symbol-detail{transform:translateX(1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--globe,svg[data-icon="globe"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="globe"] .symbol-detail{transform:rotate(18deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--home,svg[data-icon="home"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="home"] .symbol-detail{transform:translateY(-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--settings,svg[data-icon="settings"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="settings"] .symbol-detail{transform:rotate(45deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--sidebar-left,svg[data-icon="sidebar-left"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="sidebar-left"] .symbol-detail{transform:translateX(-2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--sidebar-right,svg[data-icon="sidebar-right"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="sidebar-right"] .symbol-detail{transform:translateX(2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--pin,svg[data-icon="pin"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="pin"] .symbol-detail{transform:translate(1px,-1px) rotate(-8deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--photo,svg[data-icon="photo"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="photo"] .symbol-detail{transform:translateY(-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--video,svg[data-icon="video"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="video"] .symbol-detail{transform:translateX(1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--crop,svg[data-icon="crop"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="crop"] .symbol-detail{transform:translate(1px,-1px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--scissors,svg[data-icon="scissors"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="scissors"] .symbol-detail{transform:rotate(-12deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--rotate-image,svg[data-icon="rotate-image"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="rotate-image"] .symbol-detail{transform:rotate(-25deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--palette,svg[data-icon="palette"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="palette"] .symbol-detail{transform:scale(1.18)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--sun,svg[data-icon="sun"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="sun"] .symbol-detail{transform:rotate(30deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--movement,svg[data-icon="movement"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="movement"] .symbol-detail{transform:translateX(2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--layout,svg[data-icon="layout"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="layout"] .symbol-detail{transform:translateX(1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--stack-2,svg[data-icon="stack-2"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="stack-2"] .symbol-detail{transform:translateY(2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--adjustments-horizontal,svg[data-icon="adjustments-horizontal"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="adjustments-horizontal"] .symbol-detail{transform:translateX(3px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--sparkles,svg[data-icon="sparkles"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="sparkles"] .symbol-detail{transform:scale(1.22) rotate(12deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--volume,svg[data-icon="volume"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="volume"] .symbol-detail{transform:translateX(1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--mic,svg[data-icon="mic"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="mic"] .symbol-detail{transform:translateY(-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--notebook,svg[data-icon="notebook"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="notebook"] .symbol-detail{transform:translateX(1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>:is(.icon--memory-store,svg[data-icon="memory-store"]) .symbol-detail,:is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled)>.icon>svg[data-icon="memory-store"] .symbol-detail{transform:translateX(2px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--x,svg[data-icon="x"]){transform:rotate(90deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--plus,svg[data-icon="plus"]){transform:rotate(90deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--star,svg[data-icon="star"]){transform:rotate(16deg) scale(1.08)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--user,svg[data-icon="user"]){transform:translateY(-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--folder,svg[data-icon="folder"]){transform:translateY(-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--at,svg[data-icon="at"]){transform:rotate(-14deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--trash,svg[data-icon="trash"]){transform:translateY(-1px) rotate(-6deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--pen-tool,svg[data-icon="pen-tool"]){transform:rotate(-10deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--movie,svg[data-icon="movie"]){transform:translateX(1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--message-circle,svg[data-icon="message-circle"]){transform:translateY(-1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--like,svg[data-icon="like"]){transform:translateY(-1.5px) rotate(-8deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--dislike,svg[data-icon="dislike"]){transform:translateY(1.5px) rotate(-8deg)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--player-play,svg[data-icon="player-play"]){transform:translateX(1.5px)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--dots,svg[data-icon="dots"]){transform:scale(1.12)!important}
 :is(button,a,label,summary,[role=button]):is(:hover,:focus-visible):not(:disabled):not([aria-selected=true])>:is(.icon--check,svg[data-icon="check"]){transform:scale(1.12)!important}
}
/* Chat list: the same very soft line as above Guest parts New chat / search from the conversations. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) #app>.sidebar .side-nav{border-bottom:1px solid #ffffff14!important;padding-bottom:8px!important;margin-bottom:8px!important}
@media (hover:hover) and (prefers-reduced-motion:no-preference){html[data-material] body .sidebar-search-trigger:is(:hover,:focus-visible) svg .symbol-detail{transform:translate(1.5px,1.5px)!important;transform-box:view-box;transition:transform 180ms cubic-bezier(.2,.7,.2,1)}}
/* Top bar: the Chat / Cinema / Open Design switch sits on the true centre of the bar at every width, and on wide screens the
   ends step in a little from the edge, as on any well-made site. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .app-rail{position:sticky!important;top:0;z-index:60}
@media (min-width:861px){html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .app-rail>.tool-nav{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important}}
@media (min-width:1600px){
 html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .app-rail{padding-inline:clamp(16px,1.7vw,48px)!important}
 html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .design-workspace{padding-inline:clamp(0px,1.2vw,32px)!important}
}
/* Camera window: its Setup / Movement switch sits in from the edge like Film setup and Colour palette. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .camera-dialog-tabs{margin:14px 22px 0!important}
/* Chat search window: its close × in the dead centre of its circle. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .conversation-search-dialog>button{display:inline-grid!important;place-items:center!important;line-height:0!important;padding:0!important}
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .conversation-search-dialog>button>svg{display:block}
/* Timeline transport (play, undo, redo, save): symbol-only, so no gap beside the hidden word — the symbol sits centred. */
html:not(#_):not(#__)[data-material] body:not(#_):not(#__) .cinema-rebuilt .row>.button.small:has(>.icon:only-child){gap:0!important;line-height:0!important}
