:root{color-scheme:dark;--bg:var(--ain-bg);--panel:var(--ain-surface);--line:var(--ain-line);--muted:var(--ain-muted);--accent:var(--ain-accent)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f4f6ec;font:15px 'DM Sans',system-ui}a{color:inherit}header{padding:20px 32px;display:flex;gap:30px;align-items:center;border-bottom:1px solid var(--line)}.brand{font-size:17px;font-weight:700;text-decoration:none;display:flex;align-items:center;gap:10px}.brand b{background:var(--accent);color:var(--bg);padding:6px;border-radius:7px}nav{display:flex;gap:24px}nav a{text-decoration:none;color:var(--muted)}nav [aria-current]{color:var(--accent)}.badge{margin-left:auto;font-size:10px;letter-spacing:.12em;border:1px solid var(--line);border-radius:30px;padding:8px 12px;color:var(--accent)}main{padding:34px;max-width:1800px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:var(--accent);margin:0 0 14px}h1{font-size:clamp(30px,3vw,48px);font-weight:500;letter-spacing:-.04em;margin:0}h2{font-size:20px;font-weight:500;letter-spacing:-.02em}h3{font-size:15px}.intro p:not(.eyebrow){color:var(--muted)}button,input,select,textarea{font:inherit}button{background:transparent;color:#f4f6ec;border:1px solid #53604f;border-radius:8px;padding:10px 13px;min-height:40px;cursor:pointer}button:hover{border-color:var(--accent)}button:disabled{opacity:.4;cursor:not-allowed}.primary{background:var(--accent);color:#192214;border-color:var(--accent);font-weight:700}.quiet{font-size:12px;border:0;color:var(--muted)}.tools{display:flex;gap:8px;flex-wrap:wrap}#status{font-size:12px;color:var(--muted);min-height:20px;margin:22px 0 16px}#status[data-error=true]{color:#ffc492}.workspace{display:grid;grid-template-columns:260px minmax(280px,1fr) minmax(320px,1.2fr);gap:18px;align-items:start}.panel{border:1px solid var(--line);border-radius:16px;padding:22px;background:var(--panel);min-width:0}label{display:block;font-size:12px;color:#c1cbbf;margin:0 0 19px}input:not([type=color]),select,textarea{width:100%;background:#111812;color:#f4f6ec;border:1px solid var(--line);border-radius:7px;padding:11px;margin-top:8px;min-width:0}input[type=color]{display:block;width:100%;height:42px;border:1px solid var(--line);background:transparent;margin-top:8px;border-radius:7px}textarea{resize:vertical;line-height:1.5}.pair{display:grid;grid-template-columns:1fr 70px;gap:12px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.section-head .eyebrow,.section-head h2{margin:0}.section-head button{font-size:12px;padding:7px 9px}.scenes{list-style:none;padding:0;margin:18px 0 22px;display:grid;gap:8px}.scenes button{width:100%;text-align:left;display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}.scenes button[aria-current=true]{background:#30412a;border-color:#8fae73}.number{color:var(--accent);font-size:11px;flex-shrink:0}.scenes span:last-child{font-size:12px}details{border-top:1px solid var(--line);padding-top:18px;font-size:12px}summary{cursor:pointer}details p{line-height:1.5;color:var(--muted)}details button{margin:6px 0;width:100%;font-size:12px}.button-row{border:1px solid var(--line);border-radius:10px;padding:12px;margin:10px 0}.button-row label{margin-bottom:8px}.button-row .quiet{padding:3px}.hint{font-size:12px;color:var(--muted);line-height:1.5}.reference{margin-top:28px;padding-top:20px;border-top:1px solid var(--line);font-size:12px;line-height:1.5;color:var(--muted)}.reference span{font-size:10px;letter-spacing:.08em;color:var(--accent)}.preview{min-width:0;padding:10px 12px}.preview .section-head{align-items:start;margin-bottom:22px}.preview h2{font-size:22px}.device{margin:auto;width:100%;border:7px solid #333e32;background:#102621;border-radius:23px;overflow:hidden;box-shadow:0 25px 80px #0005}.portrait{max-width:350px;aspect-ratio:9/16}.landscape{aspect-ratio:16/9}.square{aspect-ratio:1}.device iframe{width:100%;height:100%;display:block;border:0}dialog{background:var(--panel);border:1px solid var(--line);border-radius:14px;color:inherit;max-width:460px;padding:28px}dialog::backdrop{background:#000a}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:1100px){.workspace{grid-template-columns:230px 1fr}.preview{grid-column:1/-1}.intro{align-items:start;flex-direction:column}.device.portrait{max-width:350px}}@media(max-width:640px){header{padding:16px;gap:16px;flex-wrap:wrap}.badge{margin-left:0}nav{order:3;width:100%;gap:18px;font-size:13px}main{padding:24px 14px}.workspace{grid-template-columns:minmax(0,1fr)}.panel{padding:18px}.preview{grid-column:auto;padding:10px 0}.tools button{font-size:12px}.intro{gap:12px}h1{font-size:34px}.device{max-width:100%}.section-head{flex-wrap:wrap}}
.library{margin:24px 0 0;padding:20px 22px}.library .section-head{margin-bottom:8px}.library h2{margin:0}.library-list{display:flex;gap:12px;overflow-x:auto;padding:8px 2px 10px}.library-card{min-width:240px;max-width:300px;flex:0 0 260px;border:1px solid var(--line);border-radius:12px;padding:14px;background:#131b14}.library-card[data-active=true]{border-color:var(--accent);background:#263322}.library-card h3{margin:0 0 6px;overflow-wrap:anywhere}.library-card .hint{margin:0 0 12px}.library-card .tools{gap:6px}.library-card button{font-size:11px;min-height:34px;padding:7px 8px}.library-card .active-label{color:var(--accent);font-size:10px;margin-bottom:8px;display:block}.library-card button[aria-current=true]{background:var(--accent);color:#172312}#renameError{font-size:12px;color:#ffc492}#renameDialog input{width:100%}@media(max-width:640px){.library{padding:16px}.library-list{display:grid;grid-template-columns:minmax(0,1fr);max-height:360px;overflow-y:auto;overflow-x:hidden}.library-card{min-width:0;max-width:none;width:100%}}
/* Admira Matrix is the default shell; project artwork keeps its own colors. */
body{color:var(--ain-ink);font-family:var(--ain-font);background-color:var(--bg);background-image:linear-gradient(90deg,#00ff4105 1px,transparent 1px),linear-gradient(#00ff4104 1px,transparent 1px);background-size:32px 32px}header{background:var(--ain-header-bg);gap:22px}.brand,.eyebrow,h1,h2{color:var(--accent)}h1{font-weight:700;letter-spacing:-.035em;text-shadow:0 0 20px #00ff4125}h2,h3{font-weight:600}button,input,select,textarea,.brand b,.badge,.panel,.button-row,.device,dialog,.library-card,input[type=color]{border-radius:0!important}button{color:var(--accent);border-color:var(--line);min-height:44px}.primary{background:var(--accent);color:#001a06}.panel{background:#031109ed;box-shadow:inset 0 0 24px #00ff4103}.library-card{background:#020c06}.library-card[data-active=true],.scenes button[aria-current=true]{background:#062911;border-color:var(--accent)}input:not([type=color]),select,textarea{background:#010904;color:#d1ffda}.device{border-width:2px;border-color:var(--accent);box-shadow:0 0 24px #00ff4112}.session-tools{display:flex;gap:10px;align-items:center;margin-left:auto}.session-tools label{margin:0;font-size:10px}.session-tools select{margin:4px 0 0;padding:7px;min-height:36px}.badge{margin-left:0}.mode-bar{border:1px solid var(--line);padding:14px 18px;margin-bottom:26px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#031109}.mode-bar>span{font-size:11px;color:var(--accent);letter-spacing:.1em}.mode-bar p{flex-basis:100%;margin:0;font-size:12px;color:var(--muted)}.mode-bar .tools{margin-left:auto}.mode-bar [aria-pressed=true]{background:var(--accent);color:#001a06}.cloud-controls{border-left:2px solid var(--accent);padding:8px 14px;margin:18px 0}.cloud-controls p{font-size:12px;line-height:1.6}.cloud-controls h3{margin:0}.library-list{flex-wrap:wrap;overflow:visible}.library-card{flex:1 1 240px;max-width:none}body[data-mode=basic] [data-level],body[data-mode=advanced] [data-level=expert]{display:none!important}#loginDialog p{line-height:1.6;font-size:13px}header,main,.tools,.mode-bar{min-width:0}button,nav a{overflow-wrap:anywhere}@media(max-width:850px){header{flex-wrap:wrap}.session-tools{margin-left:0}header nav{flex-wrap:wrap;gap:16px}.badge{margin-left:auto}}@media(max-width:640px){header{gap:12px;padding:14px}.brand{font-size:15px}.session-tools{width:100%;justify-content:space-between;order:2}header nav{order:3;width:100%}.badge{font-size:9px}.mode-bar{padding:12px;gap:12px}.mode-bar .tools{margin-left:0;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.mode-bar button{padding:8px 5px;font-size:12px}main{padding:18px 12px}h1{font-size:29px}.library-list{display:grid}.pair{grid-template-columns:minmax(0,1fr)}.intro>.tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.intro>.tools button{min-width:0}.intro>.tools .primary{grid-column:1/-1}}
[hidden]{display:none!important}body[data-stage=entry] main,body[data-stage=entry] .session-tools,body[data-stage=workspace] #entryScreen{display:none}body[data-stage=workspace] #loginButton{display:none}.session-tools .tools [data-mode-choice=basic]{display:none}.session-tools .tools{flex-wrap:nowrap}.session-tools [aria-pressed=true]{background:var(--accent);color:#001a06}.mode-bar .tools{display:none}.entry-screen{max-width:1120px;margin:0 auto;padding:clamp(28px,6vw,80px) 24px}.entry-screen>p:not(.eyebrow){color:var(--muted);line-height:1.6}.entry-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);margin-top:38px}.entry-grid>div{padding:30px;min-width:0}.entry-grid>div+div{border-left:1px solid var(--line)}.entry-grid p{font-size:13px;line-height:1.7;color:var(--muted)}.entry-grid button{display:block;width:100%;margin-top:14px}.entry-number{color:var(--accent);font-size:11px;letter-spacing:.12em}#entryLanguage label{font-size:13px}#entryLanguage select{max-width:320px;min-height:48px}body[data-stage=workspace] .session-tools{margin-left:auto}body[data-stage=workspace] .badge{display:none}@media(max-width:640px){.entry-screen{padding:30px 16px}.entry-screen h1{font-size:28px;line-height:1.2}.entry-grid{grid-template-columns:minmax(0,1fr);margin-top:26px}.entry-grid>div{padding:22px 18px}.entry-grid>div+div{border-left:0;border-top:1px solid var(--line)}body[data-stage=workspace] .session-tools{display:flex;width:100%;gap:8px}.session-tools .tools{flex:1;display:grid;grid-template-columns:1fr 1fr}.session-tools button{padding:8px;font-size:11px}#accountButton{max-width:100px}.badge{display:none}}
.images-dialog{width:min(1000px,calc(100vw - 28px));max-width:1000px;max-height:90svh;overflow-y:auto}.images-dialog>p{line-height:1.6;font-size:13px}.images-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.images-list li{border:1px solid var(--line);padding:10px;min-width:0;display:flex;flex-direction:column;gap:10px}.images-list img{width:100%;height:180px;object-fit:contain;background:#010603}.images-list span{overflow-wrap:anywhere;font-size:12px}.images-list .tools{margin-top:auto}.images-list button{font-size:11px;padding:6px;flex:1}.image-picker{border:1px dashed var(--accent);padding:14px}#imagesStatus{color:var(--accent);line-height:1.5;font-size:13px}@media(max-width:640px){.images-dialog{padding:18px}.images-list{grid-template-columns:minmax(0,1fr)}.images-list img{height:220px}.images-dialog>.tools{display:grid;grid-template-columns:minmax(0,1fr)}.library .section-head{align-items:stretch}.library .section-head>button{flex:1;min-width:110px}}
#telegramDialog{max-width:650px;width:calc(100vw - 28px);max-height:90svh;overflow-y:auto}#telegramDialog>p{line-height:1.6;font-size:13px}#telegramLink{padding:12px;border:1px solid var(--accent);color:var(--accent)}#telegramBatches{display:grid;gap:12px;margin:18px 0}#telegramStatus{color:var(--accent)}

.hotspot-coordinates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#hotspots fieldset{min-width:0;margin:12px 0;border:1px solid var(--line,#216738)}.expanded-player{width:96vw;max-width:1400px;height:94vh;padding:10px}.expanded-player iframe{display:block;width:100%;height:calc(100% - 60px);border:1px solid #39ff14;background:#102621}.expanded-player::backdrop{background:#000c}

.native-cafeteria>#cafeCatalog~*{display:none}#cafeCatalog[hidden]{display:none}#catalogProducts details{margin:10px 0;border:1px solid #245232;padding:12px}#catalogProducts details label{margin-top:12px}#catalogProducts input[type=checkbox]{width:auto;min-height:0;margin-right:6px}

.expert-commands{margin-top:22px}.expert-commands h2{margin:0 0 16px}.command-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.command-controls label{flex:1 1 260px;min-width:0;margin:0}.command-controls input{font-family:inherit}.command-controls button{flex:0 0 auto}.expert-commands .hint{overflow-wrap:anywhere}.demo-player-dialog{width:min(1100px,calc(100vw - 24px));max-width:1100px;max-height:calc(100svh - 24px);padding:clamp(12px,3vw,24px);overflow:auto}.demo-player-dialog h2{overflow-wrap:anywhere}.demo-player-dialog video{display:block;width:100%;aspect-ratio:16/9;max-height:68svh;background:#000;object-fit:contain}.demo-player-dialog a{display:inline-block;padding:12px 0;overflow-wrap:anywhere}@media(max-width:640px){.command-controls button{width:100%}.demo-player-dialog .section-head{align-items:start}.demo-player-dialog h2{font-size:18px}.demo-player-dialog .section-head button{min-height:44px}.expert-commands{padding:16px}}
@media(max-width:640px){.intro>.tools [data-demo-open]{grid-column:1/-1}}
.demo-create{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.demo-create .hint{overflow-wrap:anywhere}.demo-create button{max-width:100%}#demoCreateStatus:empty{display:none}@media(max-width:640px){.demo-create button{width:100%}}
.cloud-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.cloud-actions button{min-width:0;flex:0 1 auto}@media(max-width:640px){.cloud-actions{display:grid;grid-template-columns:minmax(0,1fr)}.cloud-actions button{width:100%}}
.send-xpacio-dialog{width:min(920px,calc(100vw - 24px));max-width:920px;max-height:calc(100svh - 24px);overflow:auto;padding:20px}.send-xpacio-dialog::backdrop{background:#000d}.send-xpacio-dialog h2,.send-xpacio-dialog p{overflow-wrap:anywhere}.send-xpacio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.send-xpacio-grid iframe{width:100%;height:400px;border:1px solid #39ff14;background:#102621}.send-xpacio-dialog select{width:100%;min-width:0}.send-xpacio-dialog .button-link{display:inline-block;margin:8px 12px 8px 0;padding:12px;text-decoration:none;border:1px solid #39ff14;color:#001b07;background:#39ff14}.send-xpacio-dialog [hidden]{display:none}@media(max-width:640px){.send-xpacio-grid{grid-template-columns:minmax(0,1fr)}.send-xpacio-grid iframe{height:300px}.send-xpacio-dialog{padding:14px}.send-xpacio-dialog h2{font-size:22px}.send-xpacio-dialog button,.send-xpacio-dialog .button-link{width:100%;text-align:center}}

.cafe-editor label{display:grid;gap:6px;margin:12px 0}.cafe-editor input[type=checkbox]{width:24px;min-height:24px}.cafe-editor summary{overflow-wrap:anywhere}
.delivery-targets{display:grid;gap:6px;margin:12px 0;max-height:340px;overflow:auto}.send-xpacio-dialog .delivery-target{display:flex;gap:10px;align-items:center;margin:0;padding:10px 6px;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.send-xpacio-dialog .delivery-target input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:0;padding:0}.delivery-results{padding:0;list-style:none;display:grid;gap:12px}.delivery-results li{display:grid;gap:6px;padding:12px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.delivery-results span,.delivery-results a{font-size:13px}.delivery-results [data-state=error] span{color:#ffc492}.delivery-results a{color:var(--accent);width:fit-content}
.delivery-history-dialog{width:min(900px,calc(100vw - 24px));max-width:900px;max-height:calc(100svh - 24px);overflow:auto}.delivery-history-dialog>p{line-height:1.6;overflow-wrap:anywhere}.delivery-history-dialog details{margin:16px 0;padding-top:16px}.delivery-history-dialog summary{line-height:1.7;overflow-wrap:anywhere}.delivery-history-dialog a{color:var(--accent)}
.delivery-history-dialog .history-guide{margin:12px 0;padding-top:0}.history-guide ol{padding-left:24px;line-height:1.6}.history-guide li{margin:8px 0;overflow-wrap:anywhere}
.history-compare-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.history-compare-controls label{margin:0;min-width:0}.history-compare-controls select{width:100%;min-width:0}.history-compare-controls button{max-width:100%;justify-self:start;white-space:normal}.history-compare p,.history-compare h3,.history-compare li{overflow-wrap:anywhere}.history-compare-results ul{padding-left:20px}.history-compare-results p span{display:block;font-size:13px}.history-compare-results li{margin:12px 0}@media(max-width:640px){.history-compare-controls{grid-template-columns:minmax(0,1fr)}}
.history-compare>button{width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.history-compare>summary>.history-compare-summary-part{display:inline-block;max-width:100%;white-space:normal;vertical-align:top;overflow-wrap:anywhere}
.history-compare-view{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:start;margin:12px 0}.history-compare-view[hidden]{display:none}.history-compare-view-label{flex:1 1 280px;min-width:0;margin:0}.history-compare-mode{display:block;width:100%;min-width:0}.history-compare-matches{flex:1 1 100%;min-width:0;margin:0;overflow-wrap:anywhere}.history-compare-csv-scope{font-size:13px;line-height:1.6}.history-compare-status:empty{display:none}
.history-compare-search{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:end;margin:12px 0}.history-compare-search[hidden]{display:none}.history-compare-search label{flex:1 1 280px;min-width:0;margin:0}.history-compare-search input{width:100%;min-width:0}.history-compare-search button{width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.delivery-history-dialog .history-batch-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;align-items:stretch}
.delivery-history-dialog .history-compare-export-actions{display:grid;gap:8px;margin-top:14px;min-width:0;max-width:100%}
.delivery-history-dialog .history-compare-action-row{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;min-width:0;max-width:100%}.delivery-history-dialog .history-batch-actions>button,.delivery-history-dialog .history-compare-action-row>button{width:auto;max-width:100%;min-width:0;margin:0;flex:0 1 auto;white-space:normal;overflow-wrap:anywhere}
.history-backup-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:14px 0}.history-backup-actions>button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.history-backup-scope{flex:1 1 240px;margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.history-backup-status{line-height:1.6;overflow-wrap:anywhere}.history-backup-status:empty{display:none}
.history-restore-status,.history-restore-summary{line-height:1.6;overflow-wrap:anywhere}.history-restore-status:empty{display:none}.history-restore-review{margin:16px 0}.history-restore-review p,.history-restore-review summary,.history-restore-review li{overflow-wrap:anywhere}.history-restore-review button{max-width:100%;white-space:normal;overflow-wrap:anywhere;margin:6px 8px 6px 0}
.history-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.history-filters label{margin:0;min-width:0}.history-filters .history-search{grid-column:1/-1}.history-filters button{grid-column:1/-1;justify-self:start}@media(max-width:640px){.history-filters{grid-template-columns:minmax(0,1fr)}}
.history-copy-status,.history-incidents-status{line-height:1.6;overflow-wrap:anywhere}.history-copy-status:empty,.history-incidents-status:empty{display:none}.history-copy-fallback,.history-incidents-fallback{margin:14px 0}.history-copy-fallback textarea,.history-incidents-fallback textarea{line-height:1.6;overflow-wrap:anywhere}
.history-version-summary{line-height:1.6;overflow-wrap:anywhere}.history-version-summary:empty{display:none}.history-version-state{font-size:13px;color:var(--muted)}
.history-version-view{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.delivery-history-dialog .history-version-view>button{width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}.history-version-matches{flex:1 1 200px;margin:6px 0;line-height:1.5}.history-version-scope{font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}

.conflict-actions[hidden]{display:none}.conflict-actions{margin:12px 0}
.conflict-compare-dialog{width:min(1100px,calc(100vw - 24px));max-width:min(1100px,calc(100vw - 24px));max-height:90svh;overflow:auto;box-sizing:border-box}
.conflict-compare-previews,.conflict-difference-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.conflict-compare-previews section{min-width:0}.conflict-compare-previews p{overflow-wrap:anywhere}
.conflict-compare-previews iframe{width:100%;height:420px;border:1px solid var(--line);box-sizing:border-box}
.conflict-compare-previews button{max-width:100%;margin-top:10px}
.conflict-differences section{border-top:1px solid var(--line);padding:12px 0}.conflict-differences pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:8px 0}.conflict-differences h4{overflow-wrap:anywhere}
.conflict-compare-status:empty{display:none}
@media(max-width:640px){.conflict-compare-previews,.conflict-difference-values{grid-template-columns:minmax(0,1fr)}.conflict-compare-dialog{padding:16px}.conflict-compare-previews iframe{height:360px}}

.conflict-version-identity{font-size:.85rem;line-height:1.5;overflow-wrap:anywhere;color:#b7c9c0}

.device-naming{margin:12px 0;max-width:700px}.device-naming form{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.device-naming label{flex:1 1 240px}.device-naming p{font-size:.85rem;line-height:1.5}
.history-compare-order-control{display:block;flex:1 1 280px;min-width:0;margin:0;max-width:100%}.history-compare-order-control[hidden]{display:none}.history-compare-order{display:block;width:100%;min-width:0;max-width:100%}

.history-compare-export-actions[hidden]{display:none}.history-compare-copy-status{line-height:1.6;overflow-wrap:anywhere}.history-compare-copy-status:empty{display:none}.history-compare-copy-fallback{margin:14px 0}.history-compare-copy-fallback textarea{line-height:1.6;overflow-wrap:anywhere;max-height:70vh;max-height:70svh;overflow-y:auto}

/* Account dialog: close in the corner, Access beside the stable Google host. */
#loginDialog{position:fixed;width:min(460px,calc(100vw - 32px));max-height:calc(100svh - 32px);overflow:auto}#loginDialog h2{margin:8px 0 14px;padding-right:32px;font-size:20px}#loginDialog #closeLogin{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:32px;padding:0;font-size:22px;line-height:1;background:transparent}#loginDialog .login-access-row{display:flex;align-items:flex-start;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:18px 0 0}#loginTarget{flex:1 1 240px;min-width:0;margin:0}#loginDialog #backToEntry{flex:0 0 auto;min-height:40px;margin:0;white-space:nowrap}

/* Entry offers only the opposite language; editing keeps its panel controls. */
body[data-stage=entry] .ain-quad-tools{display:none!important}body[data-stage=workspace] .entry-language-toggle{display:none!important}.entry-language-toggle{flex:0 0 auto;height:40px;min-height:40px;min-width:52px;padding:6px 10px;font-size:13px}.entry-screen{max-width:840px}.entry-grid{grid-template-columns:minmax(0,1fr)}
