:root{--bg:#0C1220;--bg-soft:#11192b;--surface:#161E37;--surface2:#1B2544;--text:#fff;--muted:#A0AABE;--blue:#58A6FF;--blue2:#7FB8FF;--teal:#00C8B4;--border:rgba(255,255,255,.08);--shadow:0 18px 45px rgba(0,0,0,.32);--danger:#ff6b6b;--ok:#00C8B4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top left,rgba(88,166,255,.10),transparent 30%),radial-gradient(circle at top right,rgba(0,200,180,.08),transparent 25%),linear-gradient(180deg,#0C1220,#0A101D);color:var(--text);min-height:100vh}.material-symbols-rounded{font-family:'Material Symbols Rounded';font-size:22px;line-height:1;vertical-align:-5px}.hidden{display:none!important}.muted,.hint{color:var(--muted)}.small{font-size:13px}.login-view{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(460px,100%);background:linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--border);border-radius:28px;padding:34px;box-shadow:var(--shadow)}.login-mark,.brand-mark{width:46px;height:46px;border-radius:15px;background:var(--blue);color:#081120;display:grid;place-items:center;font-weight:900}.eyebrow{display:inline-flex;margin:18px 0 10px;padding:8px 14px;border-radius:999px;background:rgba(88,166,255,.10);border:1px solid rgba(88,166,255,.18);color:var(--blue2);font-weight:700;font-size:13px}.login-card h1{font-size:52px;line-height:1;margin:0 0 10px;letter-spacing:-.04em}.app-shell{display:grid;grid-template-columns:304px 1fr;min-height:100vh}.sidebar{background:rgba(12,18,32,.78);backdrop-filter:blur(16px);border-right:1px solid var(--border);padding:22px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}.brand strong{display:block}.brand span{display:block;color:var(--muted);font-size:13px}.nav{display:flex;flex-direction:column;gap:8px}.nav-title{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:18px 0 4px}.nav-item,.project-button{width:100%;border:0;border-radius:14px;background:transparent;color:#dceaf7;padding:11px 12px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;font-weight:700}.nav-item:hover,.project-button:hover,.nav-item.active,.project-button.active{background:rgba(255,255,255,.08);color:white}.project-list{display:flex;flex-direction:column;gap:6px}.project-button{justify-content:space-between}.project-button-main{background:transparent!important;color:inherit!important;padding:0!important;border:0!important;display:flex!important;gap:10px!important;min-width:0!important;flex:1!important;text-align:left!important}.project-button-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-button small{display:block;color:var(--muted);font-weight:500;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-delete{width:32px;height:32px;border-radius:10px;background:rgba(255,255,255,.06);padding:0;justify-content:center;flex:0 0 auto}.project-delete:hover{background:rgba(255,107,107,.18);color:var(--danger)}.main{padding:28px;width:min(1280px,100%);margin:0 auto}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px;padding:26px;border-radius:28px;background:linear-gradient(135deg,rgba(88,166,255,.14),rgba(0,200,180,.08));border:1px solid rgba(88,166,255,.18);box-shadow:var(--shadow)}.topbar h1{margin:0 0 6px;font-size:32px}.topbar p{margin:0;color:var(--muted)}.card{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid var(--border);border-radius:24px;padding:22px;margin:18px 0;box-shadow:var(--shadow)}.narrow-card{max-width:780px}.project-header-card,.section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}h2{margin:0 0 10px;font-size:22px}h3{margin:0 0 8px;font-size:16px}.sub-block{border-top:1px solid var(--border);padding-top:18px;margin-top:18px}.editable-text{cursor:text;border-radius:12px;padding:4px 6px;margin-left:-6px}.editable-text:hover{background:rgba(255,255,255,.06)}.editable-input{width:min(720px,100%);font:inherit;background:#fff;color:#111;border:1px solid var(--blue);border-radius:12px;padding:10px}.upload-box{display:flex;gap:12px;align-items:center;padding:14px;border:1px dashed rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.03)}.btn,button{border:0;border-radius:14px;padding:11px 15px;cursor:pointer;background:var(--blue);color:#081120;font-weight:800;display:inline-flex;align-items:center;gap:8px}.primary{background:var(--blue)!important;color:#081120!important}.secondary{background:rgba(255,255,255,.06)!important;color:var(--text)!important;border:1px solid var(--border)!important}.danger{background:rgba(255,107,107,.13)!important;color:var(--danger)!important;border:1px solid rgba(255,107,107,.22)!important}.full{width:100%;justify-content:center;margin-top:18px}.btn:disabled,button:disabled,input:disabled,select:disabled,textarea:disabled{opacity:.42;cursor:not-allowed;filter:grayscale(.4)}input,select,textarea{border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:11px;font:inherit;background:#0C1220;color:#fff}.field{display:flex;flex-direction:column;gap:7px;margin-top:14px}.field span{font-weight:700;font-size:14px}.message{margin-top:12px;font-size:14px}.message.error{color:var(--danger)}.message.ok{color:var(--ok)}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:18px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}th{color:var(--muted);background:rgba(255,255,255,.03)}tr:last-child td{border-bottom:0}.file-remove{width:38px;height:38px;padding:0;border-radius:12px;background:rgba(255,107,107,.10);color:var(--danger);justify-content:center}.function-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.function-card{border:1px solid var(--border);border-radius:18px;padding:16px;cursor:pointer;background:rgba(255,255,255,.03);transition:.15s}.function-card:hover{transform:translateY(-1px)}.function-card.active{border-color:rgba(88,166,255,.5);background:rgba(88,166,255,.12)}.function-card strong{display:block;margin-bottom:8px}.function-card p{color:var(--muted);font-size:13px;margin:0}.inline-params:empty{display:none}.inline-params{margin-top:16px;padding-top:16px;border-top:1px solid var(--border);display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.icon-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.icon-only,.icon-text{height:42px;border-radius:14px;justify-content:center}.icon-only{width:42px;padding:0}.icon-text{padding:0 14px}.result-textbox{width:100%;min-height:260px;max-height:620px;overflow:auto;resize:vertical;white-space:pre-wrap;line-height:1.55;background:#fff!important;color:#111!important;border:1px solid rgba(255,255,255,.12);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace}.workflow-status{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.08);border:1px solid var(--border);border-radius:18px;padding:10px 12px;min-width:300px}.workflow-status small{display:block;color:var(--muted);margin-top:2px}.orbit{width:42px;height:42px;border-radius:50%;border:2px solid rgba(255,255,255,.25);position:relative}.orbit:before{content:"";position:absolute;inset:-3px;border-radius:50%;border:3px solid transparent;border-top-color:var(--blue);animation:spin 1s linear infinite}.orbit span{position:absolute;inset:13px;border-radius:50%;background:var(--teal);animation:pulse 1.25s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{transform:scale(1.35);opacity:.45}}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.stat{padding:18px;border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.03)}.stat strong{display:block;font-size:28px;margin-top:8px;color:var(--blue2)}.chart-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bar{height:13px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden;margin:8px 0 14px}.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--teal));border-radius:999px}.bar.positive span{background:linear-gradient(90deg,#00C8B4,#7FB8FF)}.bar.negative span{background:linear-gradient(90deg,#ff6b6b,#ffb3b3)}.rating-row{display:flex;align-items:center;gap:10px;margin-top:12px}.rating-row span{color:var(--muted);font-size:14px}.rating-row button{background:rgba(255,255,255,.06);color:#fff}.rating-row button.active-positive{background:rgba(0,200,180,.18)!important;color:var(--teal)!important}.rating-row button.active-negative{background:rgba(255,107,107,.13)!important;color:var(--danger)!important}.toast{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:1000;background:#00a995;color:white;border-radius:14px;padding:13px 18px;font-weight:800;box-shadow:var(--shadow)}.toast.error{background:#ad3434}.confirm-dialog{border:1px solid var(--border);background:var(--surface);color:#fff;border-radius:24px;padding:24px;box-shadow:var(--shadow);max-width:600px}.confirm-dialog.wide{max-width:760px}.confirm-dialog::backdrop{background:rgba(0,0,0,.55)}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.disabled-overlay{pointer-events:none;opacity:.72}.status-ok{color:var(--ok);font-weight:700}.status-error{color:var(--danger);font-weight:700}.dashboard-filter-card{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.field.compact{min-width:260px;margin-top:0}.pie-layout{display:flex;align-items:center;gap:24px;min-height:154px}.pie{width:132px;height:132px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 14px rgba(12,18,32,.80)}.pie span{background:#0C1220;border:1px solid var(--border);border-radius:999px;padding:8px 10px;font-weight:800}.legend p{display:flex;align-items:center;gap:9px;margin:8px 0;color:var(--muted)}.legend i{width:14px;height:14px;border-radius:5px;display:inline-block}.green{background:var(--teal)}.red{background:var(--danger)}.cyan{background:var(--blue)}.cyan-dark{background:#0b7f92}.dash-row>div:first-child{display:flex;justify-content:space-between;gap:14px;margin-bottom:6px}.dash-row small{color:var(--muted)}.split-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.split-metrics div{border:1px solid var(--border);background:rgba(255,255,255,.03);border-radius:16px;padding:18px}.split-metrics strong{font-size:30px;display:block}.settings-layout{display:grid;grid-template-columns:320px 1fr;gap:18px}.settings-list button{width:100%;margin-bottom:8px;justify-content:flex-start}.param-row{display:grid;grid-template-columns:1.1fr 1.2fr .8fr .6fr .6fr 1.2fr 42px;gap:8px;align-items:end;margin-bottom:10px}.param-row input,.param-row select{width:100%}.readonly-code{background:rgba(255,255,255,.05);border:1px solid var(--border);border-radius:14px;padding:11px;color:var(--blue2);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(88,166,255,.12);color:var(--blue2);font-weight:800;font-size:12px}.protected{opacity:.65}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.main{padding:18px}.topbar,.project-header-card,.section-head,.upload-box,.dashboard-filter-card,.pie-layout{flex-direction:column;align-items:flex-start}.chart-row,.settings-layout{grid-template-columns:1fr}.param-row{grid-template-columns:1fr}.field.compact{min-width:0;width:100%}}
.topbar-right{display:flex;align-items:flex-start;justify-content:flex-end;gap:12px;flex-wrap:wrap}.user-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);background:rgba(255,255,255,.06);border:1px solid var(--border);border-radius:999px;padding:8px 10px}.user-chip .material-symbols-rounded{font-size:18px}.language-switch{display:inline-flex;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:rgba(255,255,255,.05)}.language-switch button{border-radius:0;background:transparent;color:var(--muted);padding:8px 10px;font-size:12px;min-width:44px}.language-switch button.active{background:var(--blue);color:#081120}.settings-list h3{margin:18px 0 8px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.1em}.settings-list .active{border-color:rgba(88,166,255,.55)!important;background:rgba(88,166,255,.14)!important}.login-card .eyebrow{margin-top:0}@media(max-width:980px){.topbar-right{justify-content:flex-start}.workflow-status{min-width:0;width:100%}}
.textbox-shell{position:relative}.textbox-edit-controls{position:absolute;right:14px;bottom:14px;display:flex;gap:8px;z-index:5}.result-textbox.editing{outline:2px solid var(--blue);box-shadow:0 0 0 4px rgba(88,166,255,.14)}.result-textbox.dirty{background:linear-gradient(180deg,#fff 0%,#fffbe6 100%)!important}.inline-params{display:none!important}.file-load-text{width:38px;height:38px;padding:0;border-radius:12px;background:rgba(88,166,255,.12);color:var(--blue);justify-content:center}.license-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);background:rgba(255,255,255,.06);border:1px solid var(--border);border-radius:999px;padding:8px 10px}.license-chip.ok{color:var(--ok);background:rgba(0,200,180,.10);border-color:rgba(0,200,180,.24)}.license-chip.error{color:var(--danger);background:rgba(255,107,107,.12);border-color:rgba(255,107,107,.24)}
/* v8.8: accepted edits are saved as text versions; dirty state is shown directly in the textarea. */
/* v8.10: explicit clickable textbox action controls */
.textbox-edit-controls{pointer-events:auto}.textbox-edit-controls button{pointer-events:auto}.result-textbox:not([readonly]){cursor:text}.result-textbox[readonly]{cursor:default}.icon-actions button:not(:disabled),.textbox-edit-controls button:not(:disabled){pointer-events:auto}

/* v8.14: Edit accept/reject controls are visible only during edit mode. Dirty edits are visibly highlighted in the textarea. */
.textbox-edit-controls.hidden{display:none!important;visibility:hidden!important;pointer-events:none!important}
.textbox-edit-controls:not(.hidden){display:flex!important;visibility:visible!important;pointer-events:auto!important}
.result-textbox.dirty{font-weight:800!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important;color:#0b3a6f!important;background:#fffbe6!important;border-color:#58A6FF!important}
.result-textbox.editing.dirty{box-shadow:0 0 0 4px rgba(88,166,255,.18), inset 0 0 0 2px rgba(88,166,255,.32)!important}

/* v8.15: inline diff view during textbox edit. Unchanged text stays normal, inserted text is bold/underlined, deleted text is grey/struck. */
.textbox-shell.diff-active{position:relative}
.result-diff-preview{position:absolute;inset:0;z-index:2;min-height:260px;max-height:620px;overflow:auto;resize:none;white-space:pre-wrap;line-height:1.55;background:#fff;color:#111;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:11px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;pointer-events:none}
.textbox-shell.diff-active .result-textbox{position:relative;z-index:3;background:transparent!important;color:transparent!important;caret-color:#111!important;text-decoration:none!important;font-weight:400!important;border-color:#58A6FF!important;box-shadow:0 0 0 4px rgba(88,166,255,.16)!important}
.textbox-shell.diff-active .result-textbox::selection{background:rgba(88,166,255,.25);color:transparent}
.diff-added{font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;color:#0b3a6f;background:#fff6bf;border-radius:4px}
.diff-deleted{color:#8a8f9d;text-decoration:line-through;text-decoration-thickness:2px;background:#f1f3f6;border-radius:4px}
.diff-unchanged{color:#111}

/* v8.19: real segment editor. Cursor and visual change markers share one surface. */
.segment-editor{width:100%;min-height:260px;max-height:620px;overflow:auto;resize:vertical;white-space:pre-wrap;line-height:1.55;background:#fff!important;color:#111!important;border:1px solid #58A6FF;border-radius:14px;padding:11px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;outline:2px solid var(--blue);box-shadow:0 0 0 4px rgba(88,166,255,.16);caret-color:#111;tab-size:2}
.segment-editor:focus{outline:2px solid var(--blue);box-shadow:0 0 0 4px rgba(88,166,255,.18),inset 0 0 0 2px rgba(88,166,255,.18)}
.segment-char{white-space:pre-wrap}
.segment-added{font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;color:#0b3a6f;background:#fff6bf;border-radius:3px}
.segment-deleted{color:#8a8f9d;text-decoration:line-through;text-decoration-thickness:2px;background:#f1f3f6;border-radius:3px}
.segment-normal{color:#111;background:transparent}
.textbox-shell.segment-edit-active .result-textbox{display:none!important}
.textbox-shell.segment-edit-active .textbox-edit-controls{z-index:10}


/* v8.20 modern upload dropzone */
.modern-upload{display:block;padding:0;border:0;background:transparent}
.upload-input-hidden{position:absolute!important;width:1px;height:1px;opacity:0;pointer-events:none}
.drop-zone{min-height:154px;border:1.5px dashed rgba(88,166,255,.48);border-radius:22px;background:linear-gradient(180deg,rgba(88,166,255,.08),rgba(255,255,255,.025));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:26px;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;color:var(--text)}
.drop-zone:hover,.drop-zone:focus{border-color:var(--blue);background:linear-gradient(180deg,rgba(88,166,255,.13),rgba(0,200,180,.04));box-shadow:0 14px 34px rgba(0,0,0,.18);outline:none;transform:translateY(-1px)}
.drop-zone.drag-over{border-color:var(--teal);background:linear-gradient(180deg,rgba(0,200,180,.13),rgba(88,166,255,.07));box-shadow:0 0 0 4px rgba(0,200,180,.08),var(--shadow)}
.drop-zone.disabled{opacity:.42;cursor:not-allowed;filter:grayscale(.35);pointer-events:none}
.drop-zone strong{font-size:18px;letter-spacing:-.01em}
.drop-zone span:not(.material-symbols-rounded){color:var(--muted);font-size:13px}
.drop-icon{width:54px;height:54px;border-radius:18px;background:rgba(88,166,255,.14);border:1px solid rgba(88,166,255,.28);display:grid;place-items:center;color:var(--blue)}
.drop-icon .material-symbols-rounded{font-size:30px;vertical-align:0}

/* v8.22: keep export icon but remove duplicate project title/description block. */
.project-header-card{justify-content:flex-end;align-items:center;min-height:74px}
.project-header-card .editable-project-head{display:none!important}
.project-header-card .meta-actions{margin-left:auto}

/* v8.22: visible function parameters must be rendered when configured as visible. */
.inline-params.has-visible-params{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}
.inline-params.has-visible-params .field{margin-top:0}


/* v8.23: project title/description visible once in project frame; actions aligned with description line bottom right. */
.project-header-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:18px!important;min-height:120px!important}
.project-header-card .editable-project-head{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px!important;min-width:0!important}
.project-header-card .editable-project-head h2{margin:0!important;font-size:30px!important;letter-spacing:-.02em!important}
.project-header-card .editable-project-head p{margin:0!important}
.project-header-card .meta-actions{align-self:end!important;margin-left:0!important;display:flex!important;gap:8px!important;padding-bottom:2px!important}
#projectDescriptionText{min-height:34px;display:inline-flex!important;align-items:center;border:1px solid transparent}
#projectDescriptionText.empty-description{color:rgba(160,170,190,.72);border-color:rgba(255,255,255,.10);background:rgba(255,255,255,.035);padding:8px 10px;margin-left:0;border-radius:12px;width:min(720px,100%)}
#projectOwnerLine{font-size:12px;color:var(--muted);margin-top:-2px!important}
@media(max-width:980px){.project-header-card{grid-template-columns:1fr!important}.project-header-card .meta-actions{justify-content:flex-start!important}}

/* 0.0.31 hard guard: edit controls may only be visible while the shell is actively in segment edit mode. */
.textbox-shell:not(.segment-edit-active) .textbox-edit-controls{display:none!important;visibility:hidden!important;pointer-events:none!important}
.textbox-shell:not(.segment-edit-active) .result-textbox{display:block!important;visibility:visible!important}

/* 0.0.32: live workflow status in the affected textbox without changing the text value. */
.textbox-shell.workflow-locked{position:relative}
.textbox-shell.workflow-locked .result-textbox{opacity:1;filter:none;cursor:default}
.workflow-textbox-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:8}
.workflow-overlay-card{max-width:min(420px,72%);padding:13px 16px;border-radius:18px;background:rgba(12,18,32,.82);border:1px solid rgba(88,166,255,.32);box-shadow:0 18px 42px rgba(0,0,0,.30);color:#fff;display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:3px;align-items:center;text-align:left;backdrop-filter:blur(12px)}
.workflow-overlay-card .material-symbols-rounded{grid-row:1 / span 2;color:var(--blue);animation:spin 1.1s linear infinite}
.workflow-overlay-card strong{font-size:14px;line-height:1.2}
.workflow-overlay-card small{font-size:12px;color:var(--muted);line-height:1.25}

/* 0.0.42: textbox ergonomics, collapsible work areas and compact file controls */
.result-textbox{min-height:calc(1.55em * 4 + 26px)!important;resize:vertical!important;max-height:none!important;padding-left:68px!important;line-height:1.55!important}
.textbox-shell.textbox-with-lines{position:relative}
.line-numbers{position:absolute;left:1px;top:1px;bottom:1px;width:56px;z-index:2;overflow:hidden;padding:11px 8px;border-radius:14px 0 0 14px;background:#f2f5f9;color:#7f8794;border-right:1px solid #dbe1ea;text-align:right;white-space:pre;font:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;line-height:1.55;pointer-events:none;user-select:none}
.textbox-stats{display:flex;justify-content:flex-end;margin-top:7px;color:rgba(160,170,190,.82);font-size:12px;font-weight:600;letter-spacing:.01em}
.segment-editor{min-height:calc(1.55em * 4 + 26px)!important;max-height:none!important;resize:vertical!important}
.workflow-textbox-overlay{align-items:flex-end!important;justify-content:center!important;padding:0 12px 12px!important}
.workflow-overlay-card{width:100%!important;max-width:none!important;grid-template-columns:auto 1fr!important;border-radius:0 0 14px 14px!important;background:rgba(12,18,32,.88)!important;border-color:rgba(88,166,255,.28)!important}
.collapsible-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.collapsible-head h2{margin:0}
.collapsible-card.collapsed > :not(.collapsible-head),.app-result-group.collapsed .embedded-card > :not(.collapsible-head){display:none!important}
.app-result-group{padding:22px!important}
.embedded-card{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.embedded-card + .embedded-card{border-top:1px solid var(--border)!important;margin-top:18px!important;padding-top:18px!important}
.file-head-action{width:34px!important;height:34px!important;border-radius:11px!important}
.table-wrap th .file-head-action{margin:-6px 0}


/* 0.0.43: collapsed group header remains visible and line gutter no longer covers text */
.result-textbox{padding-left:92px!important;background-clip:padding-box!important}
.textbox-shell.textbox-with-lines .result-textbox{padding-left:92px!important}
.line-numbers{width:76px!important;padding-left:10px!important;padding-right:12px!important;z-index:1!important}
.textbox-shell.textbox-with-lines .textbox-edit-controls{z-index:6}
.app-result-group.collapsed > .apps-part{display:block!important}
.app-result-group.collapsed > .result-part{display:none!important}
.app-result-group.collapsed .apps-part > :not(.collapsible-head){display:none!important}
.app-result-group.collapsed .collapsible-head{display:flex!important;margin-bottom:0!important}


/* 0.0.44: hard fix for collapsible app/result group and line-number gutter. */
.app-result-group > .collapsible-head{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:10px!important}
.app-result-group.collapsed > .collapsible-head{display:flex!important;margin-bottom:0!important}
.app-result-group.collapsed > :not(.collapsible-head){display:none!important}
.textbox-shell.textbox-with-lines{--rionyx-line-gutter:92px!important}
.textbox-shell.textbox-with-lines .result-textbox{padding-left:calc(var(--rionyx-line-gutter) + 18px)!important;background-clip:padding-box!important}
.textbox-shell.textbox-with-lines .line-numbers{width:var(--rionyx-line-gutter)!important;padding-left:10px!important;padding-right:14px!important;z-index:3!important}


/* 0.0.45: cleaned app/result collapse UI and persistent textbox heights. */
.app-result-group > .collapsible-head.app-result-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}
.app-result-group > .collapsible-head.app-result-head h2{margin:0!important}
.app-result-group [data-collapse-toggle]:not(.app-result-toggle){display:none!important}
.app-result-group .app-result-toggle{display:inline-flex!important;flex:0 0 auto!important}
.app-result-group.collapsed > :not(.collapsible-head){display:none!important}
.textbox-shell.textbox-with-lines .segment-editor{height:auto;min-height:calc(1.55em * 4 + 26px)!important;resize:vertical!important}
.textbox-shell.textbox-with-lines .result-textbox,.textbox-shell.textbox-with-lines .segment-editor{box-sizing:border-box!important}


/* 0.0.46 hard-stable textbox layout. Supersedes previous line-number/resize rules. */
.textbox-shell.textbox-with-lines{
  --rionyx-line-gutter:104px!important;
  position:relative!important;
  overflow:visible!important;
}
.textbox-shell.textbox-with-lines .line-numbers{
  position:absolute!important;
  left:1px!important;
  top:1px!important;
  bottom:1px!important;
  width:var(--rionyx-line-gutter)!important;
  padding:11px 14px 11px 10px!important;
  z-index:4!important;
  overflow:hidden!important;
  border-radius:14px 0 0 14px!important;
  background:#f2f5f9!important;
  color:#778190!important;
  border-right:1px solid #dbe1ea!important;
  text-align:right!important;
  white-space:pre!important;
  line-height:1.55!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;
  pointer-events:none!important;
  user-select:none!important;
}
.textbox-shell.textbox-with-lines .result-textbox,
.textbox-shell.textbox-with-lines .segment-editor{
  width:100%!important;
  box-sizing:border-box!important;
  line-height:1.55!important;
  resize:vertical!important;
  overflow:auto!important;
  min-height:calc(1.55em * 4 + 26px)!important;
  max-height:var(--rionyx-max-textbox-height, 620px)!important;
  padding-left:calc(var(--rionyx-line-gutter) + 20px)!important;
  padding-right:14px!important;
  position:relative!important;
  z-index:2!important;
  background:#fff!important;
  color:#111!important;
  white-space:pre-wrap!important;
  overflow-wrap:break-word!important;
  word-break:break-word!important;
}
.textbox-shell.segment-edit-active .line-numbers{
  display:block!important;
  visibility:visible!important;
}
.textbox-shell.segment-edit-active .segment-editor{
  display:block!important;
}
.textbox-shell.segment-edit-active .result-textbox{
  display:none!important;
}
.textbox-shell.textbox-stable-0146 .textbox-edit-controls{
  z-index:8!important;
}
.rionyx-line-measure{
  contain:layout style!important;
}


/* 0.0.48 adaptive line-number gutter. */
.textbox-shell.textbox-with-lines{--rionyx-line-gutter:56px!important}
.textbox-shell.textbox-with-lines .line-numbers{width:var(--rionyx-line-gutter)!important;padding-left:8px!important;padding-right:10px!important}
.textbox-shell.textbox-with-lines .result-textbox,.textbox-shell.textbox-with-lines .segment-editor{padding-left:calc(var(--rionyx-line-gutter) + 18px)!important}
.settings-layout .settings-list button small{opacity:.72}


/* 0.0.49 workflow cancel/status controls */
.workflow-overlay-card-0149{display:flex;align-items:center;gap:10px;width:100%;}
.workflow-overlay-card-0149 .workflow-overlay-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px;}
.workflow-overlay-card-0149 small{white-space:normal;overflow:hidden;text-overflow:ellipsis;}
.workflow-stop-button{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#ffb4b4;border-radius:10px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto;}
.workflow-stop-button:hover{background:rgba(255,93,93,.14);border-color:rgba(255,93,93,.35);}
.workflow-stop-button:disabled{opacity:.45;cursor:not-allowed;}
.workflow-stop-button .material-symbols-rounded{font-size:20px;}


/* 0.0.50 workflow stop click fix */
.workflow-textbox-overlay{pointer-events:none!important;}
.workflow-textbox-overlay .workflow-overlay-card,
.workflow-textbox-overlay .workflow-stop-button{pointer-events:auto!important;}
.workflow-stop-button{position:relative;z-index:30;}
.workflow-overlay-card-0149{position:relative;z-index:20;}

/* 0.0.54: collapsible sidebar base rules */
.sidebar-toggle{position:fixed;left:286px;top:18px;z-index:80;width:42px;height:42px;border-radius:14px;background:rgba(22,30,55,.94)!important;color:#fff!important;border:1px solid var(--border)!important;box-shadow:var(--shadow);padding:0;display:grid;place-items:center}
.app-shell.sidebar-collapsed{grid-template-columns:0 1fr}
.app-shell.sidebar-collapsed .sidebar{width:0;min-width:0;padding-left:0!important;padding-right:0!important;border-right:0;overflow:hidden;visibility:hidden}
.app-shell.sidebar-collapsed .sidebar-toggle{left:18px}
.app-shell.sidebar-collapsed .main{width:min(1540px,100%)}
.sidebar-toggle:hover{border-color:rgba(88,166,255,.42)!important;background:rgba(27,37,68,.98)!important}
@media(max-width:980px){.sidebar-toggle{display:none}.app-shell.sidebar-collapsed{grid-template-columns:1fr}.app-shell.sidebar-collapsed .sidebar{visibility:visible;width:auto;padding:22px!important;border-right:1px solid var(--border)}}

/* 0.0.54 cleaned star/fullscreen UI */
.star-rating{display:flex;align-items:center;gap:4px}
.star-rating-button{width:34px;height:34px;padding:0;border-radius:10px;background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important;display:grid;place-items:center}
.star-rating-button .material-symbols-rounded{font-variation-settings:'FILL' 0,'wght' 500,'GRAD' 0,'opsz' 24;font-size:27px;color:#fff!important}
.star-rating-button:hover{background:rgba(255,255,255,.08)!important}
.star-rating-button.active{background:transparent!important;color:#fff!important}
.star-rating-button.active .material-symbols-rounded{font-variation-settings:'FILL' 1,'wght' 650,'GRAD' 0,'opsz' 24;color:#fff!important}
.star-static{display:inline-flex;gap:2px;vertical-align:middle;align-items:center}
.star-static .material-symbols-rounded{font-variation-settings:'FILL' 0,'wght' 500,'GRAD' 0,'opsz' 24;font-size:21px;color:#fff!important}
.star-static .material-symbols-rounded.active{font-variation-settings:'FILL' 1,'wght' 650,'GRAD' 0,'opsz' 24;color:#fff!important}
.dashboard-rating-line{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;margin-top:4px}
.file-rating-stars{white-space:nowrap}
.fullscreen-text-dialog{width:min(100vw - 16px,100vw);max-width:none;height:min(100vh - 16px,100vh);max-height:none;display:flex;flex-direction:column;gap:14px;padding:16px;margin:0;border:1px solid var(--border);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02)),linear-gradient(180deg,#0C1220,#0A101D);color:var(--text);box-shadow:var(--shadow)}
.fullscreen-text-dialog:not([open]){display:none}
.fullscreen-text-dialog::backdrop{background:rgba(0,0,0,.48)}
.fullscreen-text-head{flex:0 0 auto;margin-bottom:0!important;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.fullscreen-text-head .icon-actions{justify-content:flex-end;gap:8px;flex-wrap:wrap}
.fullscreen-editor-shell{--fullscreen-line-gutter:88px;--fullscreen-bottom-bar:72px;flex:1 1 auto;min-height:0;width:100%;position:relative;overflow:hidden;border:1px solid var(--border);border-radius:22px;background:rgba(255,255,255,.03)}
.fullscreen-line-numbers{position:absolute;left:0;top:0;bottom:0;width:var(--fullscreen-line-gutter)!important;z-index:2!important;overflow:hidden!important;padding:22px 10px!important;background:rgba(255,255,255,.05)!important;color:var(--muted)!important;border-right:1px solid var(--border)!important;text-align:right!important;white-space:pre!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;font-size:16px!important;line-height:1.7!important;pointer-events:none!important;user-select:none!important}
.fullscreen-textarea{position:absolute;inset:0;height:100%!important;min-height:0!important;width:100%!important;padding:22px 22px calc(var(--fullscreen-bottom-bar) + 22px) calc(var(--fullscreen-line-gutter) + 18px)!important;line-height:1.7!important;color:var(--text)!important;background:transparent!important;border:0!important;display:block!important;opacity:1!important;visibility:visible!important;resize:none!important;overflow:auto!important;box-sizing:border-box}
.fullscreen-textarea:read-only{background:transparent!important;color:var(--text)!important}
.fullscreen-textarea:not(:read-only){outline:2px solid var(--blue);box-shadow:0 0 0 4px rgba(88,166,255,.16)}
.fullscreen-segment-editor{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;padding:22px 22px calc(var(--fullscreen-bottom-bar) + 22px) calc(var(--fullscreen-line-gutter) + 18px)!important;line-height:1.7!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:auto!important;resize:none!important;box-sizing:border-box!important;outline:2px solid var(--blue)!important;box-shadow:0 0 0 4px rgba(88,166,255,.16)!important;white-space:pre-wrap!important;overflow-wrap:break-word!important}
.fullscreen-edit-dock{position:absolute;right:16px;bottom:16px;z-index:4;display:flex;gap:8px;align-items:center;justify-content:flex-end;pointer-events:auto}
.fullscreen-edit-dock.hidden{display:none!important}
.fullscreen-text-dialog .rating-row{flex:0 0 auto;margin-top:0!important}

/* 0.0.55: star glyph rendering independent of Material Symbols fill support. */

.rxy-star-glyph{display:inline-block;font-family:Arial,Helvetica,sans-serif;font-size:28px;line-height:1;color:#fff!important;background:transparent!important;text-shadow:none!important}
.rxy-star-glyph.empty{font-weight:400}
.rxy-star-glyph.active{font-weight:700;color:#fff!important}
.star-rating-button{background:transparent!important;border:0!important;color:#fff!important}
.star-rating-button .rxy-star-glyph{pointer-events:none}
.star-static.rxy-star-static{display:inline-flex;gap:3px;align-items:center;vertical-align:middle}
.star-static.rxy-star-static .rxy-star-glyph{font-size:22px}
.rating-required-box{width:100%;padding:12px 14px;margin:0 0 10px;border:1px solid rgba(255,107,107,.5);border-radius:16px;background:rgba(255,107,107,.10);color:#fff;display:flex;flex-direction:column;gap:4px}
.rating-required-box strong{color:#fff;font-weight:800}
.rating-required-box span{color:var(--muted);font-size:13px}
.rating-value-text{color:var(--muted);font-size:13px;font-weight:700;margin-left:6px}
.file-rating-cell{white-space:nowrap;font-weight:800;color:#fff}


/* 0.0.64: definitive fullscreen textbox UI based on the normal textbox standard. */
.fullscreen-editor-shell{
  --fullscreen-line-gutter:56px!important;
  --fullscreen-bottom-bar:72px!important;
  background:#fff!important;
  border:1px solid #dbe1ea!important;
  border-radius:14px!important;
  overflow:hidden!important;
}
.fullscreen-line-numbers{
  left:1px!important;
  top:1px!important;
  bottom:1px!important;
  width:var(--fullscreen-line-gutter)!important;
  padding:11px 10px 11px 8px!important;
  z-index:6!important;
  background:#f2f5f9!important;
  color:#778190!important;
  border-right:1px solid #dbe1ea!important;
  border-radius:14px 0 0 14px!important;
  font:inherit!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;
  line-height:1.55!important;
  white-space:pre!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
.fullscreen-textarea,
.fullscreen-segment-editor,
.fullscreen-segment-editor:focus{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  padding:11px 14px calc(var(--fullscreen-bottom-bar) + 11px) calc(var(--fullscreen-line-gutter) + 18px)!important;
  box-sizing:border-box!important;
  background:#fff!important;
  color:#111!important;
  caret-color:#111!important;
  border:0!important;
  border-radius:0!important;
  outline:none!important;
  box-shadow:none!important;
  line-height:1.55!important;
  white-space:pre-wrap!important;
  overflow-wrap:break-word!important;
  word-break:break-word!important;
  overflow:auto!important;
  resize:none!important;
}
.fullscreen-textarea:read-only{
  background:#fff!important;
  color:#111!important;
}
.fullscreen-textarea.hidden{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.fullscreen-segment-editor{
  z-index:3!important;
}
.fullscreen-segment-editor .segment-normal{color:#111!important}
.fullscreen-edit-dock{z-index:8!important}


/* 0.0.65: edit lifecycle and fullscreen line grid corrections. */
.fullscreen-line-numbers,
.fullscreen-textarea,
.fullscreen-segment-editor,
.fullscreen-segment-editor:focus {
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;
  font-size:16px!important;
  font-weight:400!important;
  line-height:24.8px!important;
  letter-spacing:normal!important;
}
.fullscreen-line-numbers { padding-top:11px!important; padding-bottom:11px!important; }

/* 0.0.70: stable normal-to-fullscreen edit layout. */
.fullscreen-text-dialog[open]{
  width:calc(100vw - 16px)!important;
  height:calc(100dvh - 16px)!important;
  max-width:none!important;
  max-height:none!important;
  box-sizing:border-box!important;
}
.fullscreen-text-dialog[open] .fullscreen-editor-shell{
  flex:1 1 0!important;
  min-height:0!important;
  height:auto!important;
}
.fullscreen-text-dialog.fullscreen-editing .fullscreen-editor-shell{
  position:relative!important;
  overflow:hidden!important;
}
.fullscreen-text-dialog.fullscreen-editing .fullscreen-segment-editor{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  display:block!important;
  overflow:auto!important;
  resize:none!important;
}

/* 0.0.71: keep fullscreen edit decision controls anchored like normal textbox controls. */
.fullscreen-editor-shell > .fullscreen-edit-dock{
  position:absolute!important;
  top:auto!important;
  left:auto!important;
  right:14px!important;
  bottom:14px!important;
  margin:0!important;
  transform:none!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:auto!important;
  height:auto!important;
  z-index:20!important;
  pointer-events:auto!important;
}
.fullscreen-editor-shell > .fullscreen-edit-dock.hidden{
  display:none!important;
}

/* 0.0.75: backend connection settings */
.settings-connection-grid{display:grid;grid-template-columns:1.1fr 1.5fr .7fr;gap:14px;align-items:start}.backend-settings-card{margin-bottom:18px}.backend-settings-card .section-head{align-items:center}@media(max-width:980px){.settings-connection-grid{grid-template-columns:1fr}}

/* 0.0.77 compact file overview */
.file-overview{margin-top:14px;padding-top:14px}
.compact-file-table table{font-size:13px}
.compact-file-table th,.compact-file-table td{padding:7px 9px;height:38px}
.compact-file-table th{white-space:nowrap}
.file-sort-button{height:auto;min-height:0;padding:2px 18px 2px 0;border:0!important;border-radius:0;background:transparent!important;color:var(--muted)!important;font:inherit;font-weight:700;position:relative}
.file-sort-button.active{color:#fff!important}
.file-sort-button.active::after{content:'arrow_upward';font-family:'Material Symbols Rounded';font-size:15px;position:absolute;right:0;top:1px}
.file-sort-button.active[data-direction="desc"]::after{content:'arrow_downward'}
.file-name-cell{max-width:430px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-date-cell{white-space:nowrap;font-variant-numeric:tabular-nums}
.file-options-heading,.file-options-cell{width:74px;text-align:right}
.file-options{position:relative;display:inline-flex}
.file-options-trigger{width:30px;height:30px;border-radius:9px}
.file-options-trigger .material-symbols-rounded{font-size:19px}
.file-options-menu{display:none;position:absolute;right:0;top:34px;z-index:40;min-width:148px;padding:6px;background:#18213a;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow)}
.file-options-menu.open{display:grid;gap:3px}
.file-options-menu button{width:100%;padding:8px 10px;border-radius:8px;justify-content:flex-start;background:transparent;color:#fff;font-size:13px}
.file-options-menu button:hover{background:rgba(255,255,255,.08)}
.file-options-menu button .material-symbols-rounded{font-size:18px}

/* 0.0.79: settings transfer controls are separated from project archives. */
.settings-transfer-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:14px 16px;border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.03)}
.settings-transfer-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.settings-transfer-copy .hint{font-size:13px}
.settings-transfer-bar .icon-actions{flex-wrap:nowrap}
@media(max-width:720px){.settings-transfer-bar{align-items:flex-start}.settings-transfer-copy{padding-top:4px}}

.local-action-icon{width:24px;height:24px;display:block;color:currentColor;filter:none;pointer-events:none}

/* 0.0.80: backend configuration guard and white local settings icons. */
.local-action-icon{filter:brightness(0) invert(1)!important}
.icon-only:disabled .local-action-icon{opacity:.45}
.backend-key-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:10px 12px;border:1px solid rgba(255,193,7,.45);border-radius:10px;background:rgba(255,193,7,.10)}
.backend-key-notice.hidden{display:none}
.backend-key-notice p{margin:0;font-size:14px;line-height:1.35}
.backend-key-notice .btn{flex:0 0 auto}
@media(max-width:720px){.backend-key-notice{align-items:flex-start;flex-direction:column}}


/* Release information: fixed, high-contrast and independent of page layout. */
.rionyx-release-footer{
  position:fixed!important;
  right:14px!important;
  bottom:10px!important;
  z-index:2147483647!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:none!important;
  width:auto!important;
  max-width:calc(100vw - 28px)!important;
  margin:0!important;
  padding:6px 10px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:8px!important;
  background:rgba(12,18,32,.88)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.25!important;
  letter-spacing:.01em!important;
  text-align:right!important;
  white-space:nowrap!important;
  box-shadow:0 4px 18px rgba(0,0,0,.28)!important;
}
@media(max-width:640px){
  .rionyx-release-footer{right:8px!important;bottom:8px!important;font-size:11px!important;white-space:normal!important;}
}

/* Full-screen license lock; the server-side API guard is authoritative. */
.license-runtime-blocker{
  position:fixed;
  inset:0;
  z-index:2147483646;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(7,12,24,.94);
  backdrop-filter:blur(8px);
}
.license-runtime-blocker.hidden{display:none}
.license-runtime-card{
  width:min(520px,100%);
  padding:34px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:20px;
  background:#121b30;
  color:#fff;
  text-align:center;
  box-shadow:0 22px 70px rgba(0,0,0,.45);
}
.license-runtime-card>.material-symbols-rounded{font-size:46px;color:#ffb4ab}
.license-runtime-card h2{margin:12px 0 8px}
.license-runtime-card p{margin:0 0 22px;color:#d8deea;line-height:1.5}

/* Amazon Bedrock settings */
.bedrock-settings-card{display:flex;flex-direction:column;gap:18px}
.bedrock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.bedrock-grid label{display:flex;flex-direction:column;gap:7px;font-weight:600}
.bedrock-grid label .hint{font-weight:400}
.bedrock-status{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--border,#d8dee8);border-radius:10px;background:rgba(127,127,127,.04)}
.bedrock-status.ok{border-color:rgba(34,139,94,.45)}
.bedrock-status span{font-size:.9rem;overflow-wrap:anywhere}
.bedrock-model-panel{display:flex;flex-direction:column;gap:14px;padding-top:4px}
.muted-panel{opacity:.72}
.bedrock-connect-actions{flex-wrap:wrap}
@media (max-width:760px){.bedrock-grid{grid-template-columns:1fr}}
.bedrock-saved-credential{display:flex;flex-direction:column;gap:14px;padding:14px;border:1px solid var(--border,#d8dee8);border-radius:10px;background:rgba(127,127,127,.03)}
.bedrock-saved-credential.editing{opacity:.7}
.bedrock-e2e-panel{display:flex;flex-direction:column;gap:12px;padding-top:8px;border-top:1px solid var(--border,#d8dee8)}
.bedrock-e2e-result{display:flex;flex-direction:column;gap:8px}
.bedrock-e2e-stage{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid var(--border,#d8dee8);border-radius:9px}
.bedrock-e2e-stage.ok{border-color:rgba(34,139,94,.5)}
.bedrock-e2e-stage.error{border-color:rgba(190,50,50,.5)}
.bedrock-e2e-stage span{font-size:.9rem;overflow-wrap:anywhere}
.bedrock-e2e-answer pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;padding:12px;border-radius:9px;background:rgba(127,127,127,.08)}
