@import url("./assets/oxr-image-preview.css");

#auth {
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:100dvh;background:#fff;
}
.auth-product {
  position:relative;isolation:isolate;overflow:hidden;display:grid;justify-items:center;align-items:start;
  padding:clamp(74px,24vh,210px) 24px 36px;color:#f5f7ff;
  background:radial-gradient(ellipse at 63% 91%,#1f1f21,transparent 66%),#0b0e17;
}
.auth-product-copy {text-align:center}
.auth-product h1 {font-size:clamp(32px,4vw,64px);letter-spacing:-.035em;font-weight:635;line-height:1.12;text-wrap:balance}
.auth-product-summary {margin-top:16px;color:#bfc9df;font-size:clamp(14px,1.25vw,18px);line-height:1.55}
.auth-product-art {
  position:absolute;z-index:-1;inset:auto 0 0;height:68%;
  background:radial-gradient(ellipse at 57% 51%,#ffffff17,transparent 52%),
    radial-gradient(ellipse at 26% 84%,#ffffff0c,transparent 54%);
  mask-image:linear-gradient(to bottom,transparent,#000 20%,#000 86%,transparent);
}
.auth-product-art canvas {display:block;width:100%;height:100%}
.auth-form-pane {display:grid;place-items:center;padding:42px clamp(22px,5vw,75px)}
.auth-card {width:min(100%,388px)}
.auth-card h2 {margin-bottom:30px;font-size:clamp(26px,3vw,36px);letter-spacing:-.035em;font-weight:710}
.auth-card form {display:grid;gap:14px}
.auth-card .field {gap:6px;margin:0;color:#343948;font-size:14px;font-weight:600}
.auth-card .input {min-height:44px;padding:9px 12px;border-color:#dce0ea;border-radius:10px;font-size:16px}
.auth-card .input:focus-visible {outline:2px solid #7287c4;outline-offset:1px}
.auth-inline-field {
  display:flex;align-items:center;min-width:0;border:1px solid #dce0ea;border-radius:10px;background:#f6f6f7;
}
.auth-inline-field:focus-within {outline:2px solid #7287c4;outline-offset:1px}
.auth-card .auth-inline-field .input {flex:1;min-width:0;width:auto;border:0;background:transparent;outline:none}
.auth-card .auth-inline-action {flex:none;min-height:34px;margin:4px;padding-inline:10px;color:#575c66;font-size:13px;white-space:nowrap}
.auth-card .auth-inline-action:hover {color:var(--ink);background:#ebebed}
.auth-card :is(.platform-login,[type=submit]) {width:100%;min-height:44px;border-radius:10px;font-size:14px}
.auth-card form [type=submit] {margin-top:2px}
.auth-card .platform-login {border-color:transparent;background:#f0f0f2;color:var(--ink)}
.auth-card .platform-login:hover:not(:disabled) {background:#e8e8eb}
.auth-divider {display:flex;align-items:center;gap:12px;margin:22px 0 13px;color:#606677;text-align:center;font-size:13px}
.auth-divider::before,.auth-divider::after {content:"";flex:1;border-top:1px solid #e5e8ef}
.auth-alternative .auth-message {margin-top:9px;text-align:center}
.auth-guidance,.auth-message {color:#606677;font-size:13px;line-height:1.6}
.auth-guidance {margin-bottom:16px}
.auth-message:empty {display:none}
.auth-footer {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 3px;margin-top:20px;color:#606677}
.auth-footer .button {min-height:36px;color:#3b5099}
.auth-footer .button:hover {background:#eff3ff}
.auth-card .form-error {color:var(--danger);overflow-wrap:anywhere}
.auth-card .form-error:empty {display:none}
@media (max-width:760px) {
  #auth {grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}
  .auth-product {min-height:250px;padding:30px 18px}
  .auth-product h1 {font-size:clamp(25px,7.65vw,37px)}
  .auth-product-summary {margin-top:8px}
  .auth-product-art {height:66%}
  .auth-form-pane {padding:34px 24px}
}
.account-avatar {padding:0}
.rail-footer {display:grid;justify-items:center;gap:8px;margin-top:auto}
.rail-footer .account-avatar {margin:0}
.account-menu {
  position:fixed;
  inset:auto auto 52px 8px;
  width:min(174px,calc(100% - 16px));
  margin:0;
  padding:5px;
  border:1px solid var(--rule);
  border-radius:11px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 8px 24px #2020271c,0 1px 4px #2020270d;
}
.account-menu :is(a,button) {
  display:flex;align-items:center;width:100%;min-height:var(--control-height);padding:6px 10px;
  border:0;border-radius:7px;background:transparent;text-align:left;
  font-size:var(--text-body);font-weight:560;color:#45454a;
}
.account-menu :is(a,button):hover,.account-menu a[aria-current="page"] {background:var(--soft);color:var(--ink)}
.account-menu :is(a,button):focus-visible {outline-offset:-2px}
.account-menu .account-logout {color:var(--danger)}
.account-menu .account-logout:hover {background:#f8eeed;color:var(--danger)}
.rail-footer:has(.account-menu:popover-open) .account-avatar {background:#e5e5e8;color:var(--ink)}
.rail-footer:has(.account-menu:popover-open) .account-avatar::after {visibility:hidden}
@media(prefers-reduced-motion:no-preference) {
  .account-menu:popover-open {animation:account-menu-appear .15s cubic-bezier(.22,.8,.24,1) both}
  @keyframes account-menu-appear {from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
}
@media (max-height:405px) {.rail-footer {gap:3px}}
.modal-heading.dialog-header {
  margin:0;
  padding:9px 14px 9px 18px;
  border-bottom:1px solid var(--rule);
  background:#f8f8f9;
}
.dialog-header h2 {font-size:16px;font-weight:680}
.dialog-header .icon-button {border-color:transparent;background:transparent}
.dialog-header .icon-button:hover {background:var(--soft)}

dialog:has(.key-created-header) {width:min(640px,calc(100% - 28px));border-radius:16px;box-shadow:0 18px 54px #14141835}
dialog:has(.key-created-header)::backdrop {background:#17171c9c}
.modal-heading.key-created-header {padding:14px clamp(14px,3vw,22px) 8px;border-bottom:0;background:#fff}
.key-created-header h2 {display:flex;align-items:center;gap:9px;font-size:var(--text-section)}
.key-created-mark {display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#248649;color:#fff}
.key-created-mark .ui-icon {width:16px;height:16px;stroke-width:2.5}
.dialog-body.key-created-body {padding:6px clamp(14px,3vw,22px) 20px}
.key-created-value {display:flex;align-items:center;gap:10px;padding:7px;border:1px solid var(--rule);border-radius:10px;background:#fcfcfc}
.key-created-value input {flex:1;min-width:0;padding:7px;border:0;border-radius:5px;background:transparent;font-size:14px;text-overflow:ellipsis}
.key-created-value input:focus {text-overflow:clip}
.key-created-value .button {flex:none;min-height:36px;padding:6px 12px}
.key-created-body #key-created-help {margin:9px 0 0}
.key-created-body .key-created-actions {justify-content:flex-end;margin-top:16px}
.key-created-actions .button {min-height:36px}

dialog.agent-setup-dialog {
  width:min(580px,calc(100% - 28px));
  max-height:calc(100dvh - 28px);
  box-shadow:0 20px 70px #22232b36;
}
.agent-setup-dialog::backdrop {background:#23242b54;backdrop-filter:blur(3px)}
.agent-setup-dialog .dialog-header {padding:16px clamp(16px,4vw,26px) 9px;border-bottom:0;background:#fff}
.agent-setup-dialog .dialog-header h2 {font-size:var(--text-section)}
.agent-setup-dialog .dialog-body {padding:10px clamp(16px,4vw,26px) 24px}
.agent-setup-dialog .dialog-body p {margin:0 0 17px;line-height:1.65}
.mcp-address-field {display:grid;gap:7px}
.mcp-address-field label {font-weight:660}
.mcp-address {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;
  padding:3px 5px 3px 0;border:1px solid var(--rule);border-radius:9px;background:var(--soft)}
.mcp-address .input {min-width:0;min-height:38px;padding:6px 10px;border:0;background:transparent;font-size:13px}
.mcp-address .button {min-height:34px;padding:5px 8px}
.agent-setup-dialog .mcp-authorization-note {margin:10px 0 0;color:var(--muted);font-size:13px}
.mcp-consent-page {display:grid;place-items:center;min-height:100dvh;padding:20px}
.mcp-consent-panel {display:grid;gap:16px;width:min(100%,520px);padding:clamp(20px,5vw,32px);overflow-wrap:anywhere}
.mcp-consent-panel h1 {font-size:24px}
.mcp-consent-panel ul {margin:0;padding-inline-start:20px}
.mcp-consent-panel .actions {justify-content:flex-end}
.agent-mcp-config {margin-top:15px;border:1px solid var(--rule);border-radius:9px}
.agent-mcp-config summary {display:flex;align-items:center;gap:6px;min-height:38px;padding:5px 10px;
  font-weight:580;list-style:none;cursor:pointer}
.agent-mcp-config summary::-webkit-details-marker {display:none}
.agent-mcp-config summary:hover {background:var(--soft)}
.agent-mcp-config summary .ui-icon {width:14px;height:14px}
.agent-mcp-config[open] summary .ui-icon {transform:rotate(90deg)}
.mcp-config-content {display:grid;justify-items:start;gap:8px;padding:11px;border-top:1px solid var(--rule)}
.agent-setup-dialog .mcp-config-content p {margin:0;font-size:13px}
.mcp-config-content textarea {font-size:12px;background:#fafafa}
.mcp-dialog-footer {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin-top:20px}
.mcp-dialog-footer .actions {margin:0 0 0 auto;justify-content:flex-end}
.mcp-copy-feedback {color:var(--muted);font-size:12px}
.mcp-copy-feedback:empty {display:none}

.account-page {width:100%;max-width:920px;margin-inline:auto;padding-block:4px 12px}
.account-page .page-heading {margin-bottom:19px}
.account-page h1 {font-size:var(--text-title)}
.account-page :is(h1,h2)[tabindex="-1"]:focus {outline:none}
.account-section + .account-section {margin-top:20px}
.account-section h2 {font-size:var(--text-section);font-weight:650;margin-bottom:9px}
.account-section > .muted {margin:-3px 0 12px}
.account-card {margin:0}
.account-row {display:grid;grid-template-columns:clamp(64px,15%,128px) minmax(0,1fr);align-items:center;gap:10px;min-height:43px;padding:6px clamp(12px,1.8vw,18px)}
.account-row + .account-row {border-top:1px solid var(--rule)}
.account-row dt {color:var(--muted);font-weight:560}
.account-row dd {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;min-width:0;margin:0}
.account-value {min-width:0;overflow-wrap:anywhere}
.account-value code {font-family:var(--mono);font-size:var(--text-body)}
.account-row .button {margin-inline-start:auto;min-height:33px;padding:4px 9px;font-size:13px}
.account-row .button.danger:hover {background:#fbefee;border-color:#c86865}
.account-image {display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.account-monogram {
  display:grid;
  place-items:center;
  flex:none;
  width:42px;
  height:42px;
  border:1px solid #e5e5e9;
  border-radius:50%;
  background:#f0f0f3;
  color:#3b3c45;
  font-size:18px;
  font-weight:670;
}
.account-edit-form .actions {justify-content:flex-end}
.account-edit-form .form-error {color:var(--danger)}
.avatar-upload {
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(12px,3vw,20px);
  padding:clamp(12px,3vw,18px);border:1px solid var(--rule);border-radius:12px;background:#f8f8f9;
}
.avatar-upload .account-monogram {width:clamp(54px,15vw,80px);height:clamp(54px,15vw,80px);font-size:25px}
.avatar-preview {object-fit:cover}
.avatar-picker {position:relative;min-height:36px;padding:5px 10px;cursor:pointer}
.avatar-picker:focus-within {outline:2px solid #555;outline-offset:2px}
.avatar-picker:has(input:disabled) {cursor:default;opacity:.55}
.avatar-upload-details p {margin:7px 0 0;font-size:12px;line-height:1.55}
.avatar-upload-details .avatar-file-name {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
form[data-task="account-avatar"] .form-error:not([hidden]) {margin:10px 0 0}
.account-privacy h2 {scroll-margin-top:20px}
.account-privacy-row {
  display:flex;align-items:center;justify-content:space-between;gap:10px 16px;
  padding:clamp(11px,1.6vw,15px);
}
.account-privacy-row + .account-privacy-row {border-top:1px solid var(--rule)}
.account-privacy-row h3 {font-size:14px;font-weight:650}
.account-privacy-row p {margin-top:6px;color:var(--muted);font-size:13px;line-height:1.65}
.account-privacy-row .button {min-height:36px;flex:none;font-size:13px}
.account-privacy-row .danger:hover,.privacy-confirm-form .danger:hover {background:#fbefee;border-color:#c86865}
.privacy-confirm-form .actions {justify-content:flex-end}
.privacy-confirm-form .form-error {color:var(--danger)}
@media(max-width:620px) {
  .account-privacy-row {align-items:flex-start;flex-direction:column}
}
.section-space {margin-top:18px}
.stat-value {font-size:31px}
.text-link {text-decoration:underline;text-underline-offset:2px}
.connection {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.connection h2 {font-size:17px}
.connection code {overflow-wrap:anywhere}

.access-page .segmented-nav a {min-width:78px;text-align:center}
.access-key-toolbar {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:11px;margin-bottom:14px}
.access-key-toolbar h2,.mcp-access-intro h2 {font-size:var(--text-section)}
.access-key-toolbar h2 span {margin-left:6px;color:var(--muted);font-size:13px;font-weight:500}
.access-key-warning {display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 16px;
  border-radius:6px;background:#fcede4;color:#544741;line-height:1.5}
.access-key-warning-icon {display:grid;place-items:center;flex:none;width:17px;height:17px;margin-top:2px;
  border-radius:50%;background:#c75116;color:#fff;font-size:12px;font-weight:700;line-height:1}
.access-filters {display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,155px);gap:10px;margin-bottom:14px}
.access-search {position:relative;min-width:0}
.access-search .ui-icon {position:absolute;top:50%;translate:0 -50%;left:10px;color:var(--muted);pointer-events:none}
.access-search input {padding-left:32px}
.keys-panel {overflow:hidden}
.keys-panel table {min-width:52rem;table-layout:fixed}
.keys-panel thead {background:#f2f2f3}
.keys-panel th:first-child {width:14%}
.keys-panel th:nth-child(2) {width:9.75rem}
.keys-panel th:nth-child(4) {width:13%}
.keys-panel th:nth-child(5) {width:7rem}
.keys-panel th:nth-child(6) {width:5.5rem}
.keys-panel th:last-child {width:9.25rem}
.keys-panel :is(th,td):nth-child(n+4) {text-align:center}
.keys-panel :is(th,td):nth-child(n+5) {white-space:nowrap}
.keys-panel td:is(:nth-child(4),:nth-child(5)) {font-variant-numeric:tabular-nums}
.keys-panel td:nth-child(4) {overflow-wrap:anywhere}
.keys-panel .status {display:flex;width:max-content;margin-inline:auto}
.key-name {font-weight:650;overflow-wrap:anywhere}
.key-prefix {display:flex;align-items:center;gap:4px;white-space:nowrap;color:var(--muted)}
.key-prefix code {font:12px var(--mono)}
.key-copy.button {min-height:32px;width:32px;padding:5px;color:var(--muted)}
.key-copy .ui-icon {width:15px;height:15px}
.key-actions {display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.key-actions .button {min-height:32px;padding:4px 7px}
.key-revoke:hover {color:var(--danger)}
.key-delete-warning {display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid #ecd4d5;border-radius:9px;background:#faf0ef}
.key-delete-warning span {display:grid;place-items:center;flex:none;width:19px;height:19px;margin-top:2px;border-radius:50%;
  background:var(--danger);color:#fff;font-size:12px;font-weight:680}
.key-delete-warning p {margin:0;color:var(--ink)}
.key-delete-form .field {margin:15px 0 7px}
.key-delete-form .form-error {margin:8px 0 0;color:var(--danger)}
.key-revoke-actions {justify-content:flex-end}
.key-delete-submit.button {border-color:var(--danger);background:var(--danger);color:#fff}
.key-delete-submit.button:hover:enabled {border-color:#78312e;background:#78312e}
.key-switch {display:inline-grid;align-items:center;padding:2px;width:34px;height:20px;border:1px solid var(--rule);
  border-radius:99px;background:#e8e8ea;color:var(--ink)}
.key-switch::before {content:"";width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003}
.key-switch[aria-checked="true"] {justify-items:end;border-color:var(--ink);background:var(--ink)}
.key-switch:disabled {opacity:.55;cursor:wait}
.access-empty,.mcp-access-intro {display:grid;justify-items:center;gap:8px;padding:32px 14px;text-align:center}
.access-empty h3 {font-size:15px}
.access-empty p,.mcp-access-intro p {color:var(--muted)}
.access-mark {display:grid;place-items:center;width:38px;height:38px;margin-bottom:3px;border:1px solid var(--rule);
  border-radius:10px;background:#f5f5f6;color:var(--ink)}
.access-mark .ui-icon {width:19px;height:19px}
.mcp-access-intro {align-content:center;min-height:220px;gap:8px}
.mcp-access-intro .access-mark {width:48px;height:48px;border-radius:13px}
.mcp-access-intro .access-mark .ui-icon {width:24px;height:24px}
.mcp-access-intro .actions {justify-content:center;margin-top:4px}
.mcp-connections {margin-top:16px;padding:16px 20px}
.mcp-connections h2 {font-size:17px}
.mcp-connections ul {margin:12px 0 0;padding:0;list-style:none}
.mcp-connections li {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--rule)}
.mcp-connections li div {overflow-wrap:anywhere}
.mcp-connections li p {margin:4px 0 0;color:var(--muted);font-size:13px}
.mcp-connections li .button {flex-shrink:0}
@media (max-width:480px) {
  .access-filters {grid-template-columns:minmax(0,1fr)}
  .mcp-access-intro {min-height:200px;padding-block:24px}
}
.status.key-active {color:#356649;background:#edf4ef}
.clipboard-buffer {position:fixed;inset:0 auto auto 0;width:1px;height:1px;opacity:0;pointer-events:none}

.key-permissions > summary {
  display:flex;
  gap:8px;
  align-items:center;
  list-style:none;
  border-radius:7px;
  background:#fff;
}
.key-permissions[open] > summary {border-radius:7px 7px 0 0}
.key-permissions > summary::-webkit-details-marker {display:none}
.key-permissions > summary:hover {background:#f1f1f3}
.key-permissions > summary:focus-visible {outline:2px solid #555;outline-offset:-2px}
.key-permissions > summary .ui-icon {width:14px;height:14px}
.key-permissions[open] > summary .ui-icon {transform:rotate(90deg)}
.key-permissions > summary .muted {margin-left:auto;font-size:12px}
.key-scope-choice {padding:3px 6px;border-radius:6px}
.key-scope-choice:hover {background:#f8f8f9}
.file-setting {display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--rule);padding:12px 0}
.file-setting p {margin:3px 0 0}
.document-editor {font-family:var(--mono);min-width:0;resize:vertical}
body:has(.application-route) {background:#f1f1f3}
main.application-route {padding:0;max-width:none}
.ui-icon {width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.app-grid {--app-rule:#dedee3;--app-text:#232428;--app-subtle:#65666e;display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100dvh;color:var(--app-text)}
.app-sidebar {min-width:0;padding:14px 10px;overflow-wrap:anywhere}
.app-brand {padding:0 8px;margin:0 0 13px;font-size:var(--text-section);font-weight:720;letter-spacing:-.036em}
.aside-title {display:flex;align-items:center;justify-content:space-between;padding:0 8px;margin:8px 0 8px;color:var(--app-subtle);font-size:13px;font-weight:620}
.app-icon {width:34px;min-height:34px;padding:0;display:grid;place-items:center;color:var(--app-subtle)}
.application-panel {display:flex;flex-direction:column;min-width:0;margin:8px 8px 8px 0;border-radius:12px;border-color:#d5d5dc;box-shadow:0 1px 3px #27273a0e;background:#fdfdfd}
.application-body {padding:0 20px 19px;flex:1;min-width:0}
.files-header {display:flex;gap:14px;justify-content:space-between;align-items:flex-start;margin-bottom:26px}
.files-header h1,.files-header h2 {font-size:1.25rem;line-height:1.3;overflow-wrap:anywhere}
.files-header .muted {margin-top:9px}
.oxr-sidebar-nav {display:grid;gap:4px}
.oxr-brand {display:block}
.oxr-sidebar-nav a,.job-link {border-radius:7px;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;padding:8px 10px;font-size:13px;font-weight:580}
.oxr-sidebar-nav a[aria-current],.oxr-sidebar-nav a[aria-current]:hover {background:#252525;color:#fff}
.oxr-sidebar-nav a:hover,.job-link:hover,.job-link[aria-current] {background:#e7e7eb}
.oxr-history-title {margin:21px 0 5px;font-size:12px}
.job-link span {min-width:0}
.job-link strong {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}
.job-link small {display:block;color:var(--app-subtle);font-size:11px;font-weight:450}
.job-link .ui-icon {color:var(--app-subtle)}
.oxr-toolbar {display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:7px 19px}
.oxr-toolbar .actions {margin-left:auto}
.oxr-toolbar .button {gap:6px}
.oxr-home {display:grid;align-items:center;padding-bottom:24px}
.oxr-start {width:min(100%,820px);margin:0 auto}
.oxr-start h1 {font-size:var(--text-title);letter-spacing:-.02em;line-height:1.3}
.oxr-start > p {margin:7px 0 26px}
.oxr-task-list {padding-top:32px}
.oxr-settings .actions {justify-content:flex-end}
.oxr-settings-group {margin-top:18px;border:1px solid var(--rule);border-radius:12px;background:#fff}
.oxr-settings-group h3 {padding:15px 17px;border-bottom:1px solid var(--rule);font-size:15px}
.oxr-settings-row {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:13px 17px}
.oxr-settings-row + .oxr-settings-row {border-top:1px solid var(--rule)}
.oxr-settings-row small {display:block;margin-top:3px;color:var(--muted)}
.oxr-settings-values {display:flex;align-items:center;flex-wrap:wrap;gap:10px;max-width:100%;accent-color:#343b45}
.oxr-settings-values input[type=range] {width:clamp(80px,15vw,205px)}
.oxr-settings-values .input {width:78px;min-height:35px;padding-block:5px}
.oxr-settings-row [role=switch] {appearance:none;display:inline-flex;align-items:center;width:37px;height:22px;padding:3px;border-radius:99px;background:#828994;cursor:pointer}
.oxr-settings-row [role=switch]::after {content:"";width:16px;height:16px;border-radius:50%;background:#fff}
.oxr-settings-row [role=switch]:checked {justify-content:flex-end;background:#27272a}
.oxr-history-heading,.oxr-history-controls,.oxr-history-pagination {display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.oxr-history-heading {justify-content:space-between;margin-bottom:20px}
.oxr-history-heading h1,.oxr-result-title h1 {font-size:var(--text-title);letter-spacing:-.02em;overflow-wrap:anywhere}
.oxr-history-controls {max-width:100%}
.oxr-search-field {position:relative;max-width:100%}
.oxr-search-field .ui-icon {position:absolute;left:10px;top:50%;translate:0 -50%;color:var(--muted);pointer-events:none}
.oxr-search-field .input {padding-left:35px;width:min(250px,100%);min-width:0}
.oxr-filters {position:relative}
.oxr-filters>summary {cursor:pointer;list-style:none}
.oxr-filters>summary::-webkit-details-marker {display:none}
.oxr-filter-form {position:absolute;z-index:2;inset-inline-end:0;top:calc(100% + 7px);width:220px;max-width:calc(100vw - 90px);padding:14px;border:1px solid var(--rule);border-radius:10px;box-shadow:0 6px 25px #0002;background:#fff}
.oxr-filter-form .field {margin-bottom:10px}
.oxr-filter-form .actions {justify-content:flex-end}
.oxr-filter-form .button {min-height:34px;padding:5px 10px;font-size:13px}
#oxr-task-results .table-wrap {border:1px solid var(--rule);border-radius:10px;overflow:auto}
#oxr-task-results table {min-width:650px}
#oxr-task-results th {white-space:nowrap;background:#f7f7f8}
.history-file-link {display:flex;align-items:center;gap:7px;max-width:25ch}
.history-file-link span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history-file-link:hover span {text-decoration:underline}
.oxr-history-pagination {justify-content:flex-end;margin-top:15px;font-size:13px;color:var(--muted)}
.oxr-history-pagination>span:first-child {margin-right:auto}
.oxr-history-pagination .button {min-height:34px;padding:6px 9px}
.oxr-history-pagination .input {width:auto;min-height:34px}
.oxr-history-empty {display:grid;place-items:center;gap:9px;min-height:200px;border:1px solid var(--rule);border-radius:10px;color:var(--muted)}
.oxr-history-empty .ui-icon {width:26px;height:26px}
.oxr-result-title {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 18px}
.oxr-result-grid {display:grid;grid-template-columns:minmax(145px,.3fr) minmax(0,1fr);align-items:start;gap:14px}
.oxr-job-details,.oxr-result-panel {min-width:0;border:1px solid var(--rule);border-radius:10px;background:#fff}
.oxr-job-details h2 {padding:13px 14px;border-bottom:1px solid var(--rule);font-size:14px;font-weight:650}
.oxr-job-details dl {margin:7px 14px 12px}
.oxr-job-details dl div {display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;padding:5px 0}
.oxr-job-details dt {color:var(--muted)}
.oxr-job-details dd {margin:0;text-align:right}
.oxr-result-panel {overflow:hidden}
.oxr-result-tabs {display:flex;flex-wrap:wrap;gap:6px;padding:0 12px;border-bottom:1px solid var(--rule);background:#f8f8f9}
.oxr-result-tabs .button {border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--muted);font-size:13px}
.oxr-result-tabs .button[aria-pressed=true] {color:var(--ink);border-bottom-color:var(--ink)}
.oxr-reading,.oxr-layout-preview {min-height:190px;max-height:65vh;overflow:auto;padding:20px;overflow-wrap:anywhere}
.oxr-reading :is(h1,h2,h3,h4,p,table,ul,ol,blockquote,pre) {margin:0 0 .95em}
.oxr-reading :is(img,video) {max-width:100%;height:auto}
.oxr-reading table {width:auto}
.oxr-reading :is(td,th) {border:1px solid var(--rule)}
.oxr-reading pre {white-space:pre-wrap}
.oxr-result-panel .document-output {border:0;border-radius:0;margin:0;max-height:65vh}
.oxr-layout-preview {display:grid;justify-items:start;gap:14px;background:#f6f7f8}
.oxr-layout-preview .input {width:auto}
.oxr-layout-preview canvas {max-width:100%;height:auto;border:1px solid var(--rule);border-radius:4px}
.upload-card {position:relative;border:1px solid #dde1e6;border-radius:18px;background:#f8f9fb;text-align:center}
.oxr-upload-settings.button {position:absolute;z-index:1;inset-block-start:14px;inset-inline-end:14px;min-height:34px;padding:5px 10px;font-size:13px}
.upload-dropzone {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:265px;padding:20px 15px;cursor:pointer;gap:10px;border:1px solid transparent;border-radius:17px}
.oxr-upload-settings + form .upload-dropzone {padding-top:58px}
.upload-dropzone[data-dragging],.upload-dropzone:hover {background:#eef2f7;border-color:#97a3b3}
.upload-dropzone:focus-within {outline:2px solid #252525;outline-offset:-5px;border-radius:22px}
.upload-dropzone strong {font-size:14px;color:var(--muted);font-weight:550}
.upload-card form[aria-busy=true] .upload-dropzone {cursor:wait;opacity:.65}
.oxr-upload-error,.oxr-upload-status {padding:0 16px 12px}
.upload-picker {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.upload-cta {display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:var(--control-height);padding:0 17px;border-radius:8px;color:white;background:#252525;font-weight:640}
.upload-formats {font-size:12px;color:#666}
.oxr-upload-document {display:grid;place-items:center;width:68px;height:79px;margin-bottom:6px;border:1px solid #d9dde4;border-radius:12px;background:#fff;color:#3d4b5b;box-shadow:0 5px 17px #20304912}
.oxr-upload-document .ui-icon {width:30px;height:30px;stroke-width:1.35}
@media(max-width:760px) {
  .app-grid {grid-template-columns:155px minmax(0,1fr)}
  .application-body {padding-inline:14px}
  .files-header {flex-wrap:wrap}
  .oxr-result-grid {grid-template-columns:minmax(0,1fr)}
  .oxr-filter-form {inset-inline:0 auto}
  .oxr-toolbar {padding-inline:14px}
}
@media(max-width:540px) {
  .app-grid {display:block}.app-sidebar {padding:7px 12px}.app-brand {padding:0;margin:0 0 5px}
  .app-sidebar .wiki-tree,.app-sidebar .aside-title,.app-sidebar .job-link,.app-sidebar .empty {display:none}
  .oxr-sidebar-nav {display:flex;flex-wrap:wrap}.application-panel {margin:0 5px 5px;min-height:70dvh}
  .upload-dropzone {min-height:245px}
}

.live-usage-chart {display:block;width:100%;margin-top:14px;color:var(--muted)}
.live-usage-chart text {fill:currentColor;font-size:11px;font-family:var(--body)}
