:root{--owner-bg:#f3f6f7;--owner-surface:#fff;--owner-ink:#18343e;--owner-muted:#516670;--owner-line:#d9e3e7;--owner-accent:#16747b;--owner-tint:#e7f4f3;--owner-width:240px}
body.owner-shell{margin:0;background:var(--owner-bg)!important;color:var(--owner-ink)!important;font:15px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;display:block;min-height:100vh}
body.owner-shell[data-owner-theme=dark]{--owner-bg:#142029;--owner-surface:#1c2d37;--owner-ink:#edf4f5;--owner-muted:#b3c8d1;--owner-line:#39515f;--owner-accent:#9ad3d2;--owner-tint:#25454b;color-scheme:dark}
.owner-shell *{box-sizing:border-box}.owner-shell [hidden]{display:none!important}.owner-sidebar{position:fixed;inset:0 auto 0 0;width:var(--owner-width);background:var(--owner-surface);border-right:1px solid var(--owner-line);overflow:auto;padding:22px 16px;z-index:1000}.owner-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--owner-ink);font-weight:750;margin-bottom:24px}.owner-brand img{object-fit:contain}.owner-brand small{display:block;font-size:10px;color:var(--owner-muted);letter-spacing:.07em;margin-top:4px}.owner-nav-group>span{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin:18px 8px 6px;color:var(--owner-muted)}.owner-nav-group a{display:block;color:var(--owner-ink);padding:8px 10px;border-radius:8px;text-decoration:none;line-height:1.35;min-height:36px;margin:2px 0;font-weight:520}.owner-nav-group a:hover,.owner-nav-group a[aria-current=page]{background:var(--owner-tint);color:var(--owner-accent)}.owner-nav-group a[aria-current=page]{font-weight:750}.owner-nav-end{border-top:1px solid var(--owner-line);margin-top:22px;padding-top:12px;display:grid;gap:12px}.owner-main,.owner-shell>.admin-content{margin-left:var(--owner-width)!important;min-width:0;max-width:none!important;width:auto;padding:0!important}.owner-top{position:sticky;top:0;z-index:70;display:flex;gap:16px;align-items:center;border-bottom:1px solid var(--owner-line);background:var(--owner-surface);padding:12px 28px;min-height:68px;color:var(--owner-ink)}.owner-top>label{display:flex;gap:8px;align-items:center;margin:0;white-space:nowrap;font-size:12px}.owner-top select{width:auto!important;margin:0!important}.owner-search-wrap{position:relative;max-width:560px;flex:1}.owner-search-wrap input{margin:0!important;width:100%}.owner-search-wrap>div{position:absolute;top:100%;left:0;right:0;background:var(--owner-surface);border:1px solid var(--owner-line);box-shadow:0 12px 25px #0002;padding:8px;max-height:55vh;overflow:auto}.owner-search-wrap a{display:block;padding:9px;text-decoration:none}.owner-version{font-size:12px;color:var(--owner-muted)}[data-owner-menu]{display:none!important}.owner-content{padding:28px clamp(16px,3vw,40px);max-width:1600px;margin:auto}.owner-lead{color:var(--owner-muted);max-width:78ch}.owner-shell>.admin-content>:not(.owner-top){margin-left:28px;margin-right:28px}.owner-shell>.admin-content>.admin-top{margin-top:24px}.owner-shell .admin-tools{display:none}.owner-shell h1{font-size:clamp(25px,2.5vw,36px);letter-spacing:-.035em;line-height:1.2}.owner-shell h2{font-size:21px;letter-spacing:-.02em}.owner-shell :is(.panel,.rol-card,.stats article,.welcome-panel,.hero-control,.setup-hero){background:var(--owner-surface)!important;color:var(--owner-ink)!important;border:1px solid var(--owner-line)!important;border-radius:14px;box-shadow:none}.owner-shell :is(input,textarea,select){background:var(--owner-surface);color:var(--owner-ink);border:1px solid var(--owner-line);padding:10px 12px;border-radius:8px;font:inherit;max-width:100%;min-width:0}.owner-shell :is(input:not([type=checkbox]):not([type=radio]),textarea,select){width:100%}.owner-shell :is(button,.primary,.rol-button,.button-link){font:600 14px/1.3 system-ui;min-height:36px;padding:9px 13px;border-radius:8px;cursor:pointer;border:1px solid var(--owner-line);color:var(--owner-ink);background:var(--owner-surface);text-decoration:none}.owner-shell :is(.primary,.rol-button.teal){background:var(--owner-accent)!important;color:var(--owner-surface)!important;border-color:var(--owner-accent)!important}.owner-shell a{color:var(--owner-accent)}.owner-shell :is(th,td){border-color:var(--owner-line)!important;color:var(--owner-ink)}.owner-shell th{background:var(--owner-tint)!important}.owner-shell table{width:100%;border-collapse:collapse}.owner-shell .table-wrap{overflow:auto}.owner-shell :is(label,.field-label){display:block;margin-bottom:12px}.owner-shell :is(label>span,label>small){display:block}.owner-shell :is(.small,.muted,.rol-muted){color:var(--owner-muted)!important}.owner-shell .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.owner-shell .panel{padding:24px;margin-bottom:20px}.owner-shell :is(.notice,.rol-notice){background:var(--owner-tint);color:var(--owner-ink);border:1px solid var(--owner-line);padding:14px;border-radius:10px;margin:12px 0}.owner-shell :is(.alert,.rol-error){background:#fff2f2;color:#8c2536;padding:14px;border:1px solid #d7a5ad;border-radius:10px;margin:12px 0}.owner-shell :focus-visible{outline:3px solid var(--owner-accent);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.owner-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0}.owner-shell .owner-top label{display:flex}.owner-shell .owner-top button{white-space:nowrap}.owner-shell .owner-nav-end form{margin:0}
/* The editor keeps its tools and production iframe; only its surrounding chrome is shared. */
body.owner-shell.studio{height:auto;overflow:auto}.owner-shell.studio>.owner-main{height:100vh;display:flex;flex-direction:column;overflow:hidden}.owner-shell.studio .studio-top{position:relative;inset:auto;flex-wrap:wrap;gap:10px;min-height:66px;height:auto;padding:10px 14px;background:var(--owner-surface);color:var(--owner-ink);border-bottom:1px solid var(--owner-line)}.owner-shell.studio .studio-workspace{flex:1;min-height:0;height:auto;grid-template-columns:220px minmax(180px,1fr) 280px}.owner-shell.studio .studio-left,.owner-shell.studio .studio-right{background:var(--owner-surface);color:var(--owner-ink);border-color:var(--owner-line)}.owner-shell.studio .save-controls{flex-wrap:wrap;gap:5px}.owner-shell.studio .studio-title small{color:var(--owner-muted)}.owner-shell.studio .studio-top button{padding:7px 9px}.owner-shell.studio .device-controls{margin:0}.owner-shell.studio .left-tabs{flex-wrap:wrap}.owner-shell.studio .canvas-status{height:auto;min-height:26px}.owner-shell.studio.rol-simple .studio-workspace{grid-template-columns:200px minmax(180px,1fr) 270px}.rol-simple [data-advanced-only]{display:none!important}.editor-mode{display:flex;gap:4px}.editor-mode [aria-pressed=true]{background:var(--owner-tint);color:var(--owner-accent);border-color:var(--owner-accent)}.owner-mode-help{font-size:12px;color:var(--owner-muted);padding:6px 14px;margin:0;border-bottom:1px solid var(--owner-line)}
@media(max-width:1300px){.owner-shell.studio .owner-sidebar{width:200px}.owner-shell.studio{--owner-width:200px}.owner-shell.studio .studio-workspace,.owner-shell.studio.rol-simple .studio-workspace{grid-template-columns:185px minmax(160px,1fr) 235px}.owner-version{display:none}}
@media(max-width:950px){.owner-sidebar{display:none;width:245px!important;box-shadow:0 0 0 100vmax #0005}.owner-shell.owner-menu-open .owner-sidebar{display:block}.owner-main,.owner-shell>.admin-content{margin-left:0!important}[data-owner-menu]{display:block!important}.owner-top{padding:10px 14px;gap:10px}.owner-top>label{font-size:0}.owner-content{padding:20px 16px}.owner-shell>.admin-content>:not(.owner-top){margin-left:16px;margin-right:16px}}
@media(max-width:600px){.owner-shell .form-grid{grid-template-columns:1fr}.owner-top input{font-size:13px}.owner-top>label{display:none}.owner-shell.studio .studio-workspace,.owner-shell.studio.rol-simple .studio-workspace{grid-template-columns:160px minmax(200px,1fr);overflow:auto}.owner-shell.studio .studio-right{grid-column:1/-1;max-height:330px}.owner-shell.studio>.owner-main{min-height:100vh;height:auto;overflow:visible}.owner-shell.studio .studio-workspace{min-height:680px}.owner-shell.studio .save-controls{justify-content:flex-start}.owner-shell.studio .owner-top{position:sticky}}

.translation-job{border-top:1px solid var(--owner-border,#d4ddd9);padding:18px 0;margin-top:16px}.translation-job>p{white-space:pre-wrap;overflow-wrap:anywhere}.translation-job label{display:block}.translation-job textarea{width:100%;min-width:0;box-sizing:border-box}
