@font-face { font-family: Plex; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Plex; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Plex; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Plex; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
:root { --ink: #17263b; --muted: #526178; --accent: #215fb9; --line: #d8dee8; --background: #f4f6f9; --sidebar: #17283f; --white: #fff; --radius: 6px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 15px/1.5 Plex, sans-serif; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #174780; }
::selection { background: #c8dcfa; color: #17263b; }
:focus-visible { outline: 3px solid #4489e5; outline-offset: 3px; }
h1,h2,p { margin: 0; }
h1 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: 19px; font-weight: 600; }
p { max-width: 70ch; }
button,input,select { font: inherit; }
button,a,input,select { -webkit-tap-highlight-color: transparent; }
.muted,.footnote,.field-help { color: var(--muted); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 216px; display: flex; flex-direction: column; padding: 28px 16px 20px; background: var(--sidebar); color: #d9e3f1; }
.brand { font-size: 24px; font-weight: 600; color: #fff; text-decoration: none; letter-spacing: -.02em; padding: 0 12px; }
.brand:hover { color: #fff; }
.brand span { font-weight: 400; }
.sidebar nav { display: grid; gap: 5px; margin-top: 38px; }
.sidebar nav a { padding: 10px 12px; text-decoration: none; color: #c9d5e5; border-radius: var(--radius); }
.sidebar nav a:hover { background: #243b59; color: #fff; }
.sidebar nav a[aria-current] { background: #29496f; color: #fff; font-weight: 600; }
.identity { margin-top: auto; padding: 20px 12px 0; border-top: 1px solid #3a4c64; }
.user-name { display: block; overflow-wrap: anywhere; }
.role { display: block; margin: 3px 0 12px; color: #c2cfe0; font-size: 13px; }
.logout { border: 0; padding: 0; background: transparent; color: #d9e3f1; text-decoration: underline; cursor: pointer; }
.workspace { margin-left: 216px; padding: 36px 40px 60px; max-width: 1656px; }
.page-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 15px; border: 1px solid #aab7c8; border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.button:hover { background: #edf2f8; color: var(--ink); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.primary:hover { background: #174780; }
.button:disabled { cursor: wait; opacity: .65; }
.count { border-radius: 4px; background: #e9eef5; padding: 0 6px; font-variant-numeric: tabular-nums; }
.intro-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.intro-row p,.next-step p { margin-top: 8px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.next-step { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.filters { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.search-field { width: min(400px, 100%); }
input,select { width: 100%; padding: 9px 12px; min-height: 42px; border: 1px solid #aab7c8; border-radius: var(--radius); background: var(--white); color: var(--ink); caret-color: var(--accent); }
input::placeholder { color: #5c6a7e; }
[aria-invalid='true'] { border-color: #b13330; outline: 1px solid #b13330; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th { font-size: 13px; font-weight: 600; color: var(--muted); background: #fafbfd; }
th,td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8fafd; }
.row-link { font-weight: 600; }
.url { max-width: 330px; overflow-wrap: anywhere; }
.badge { display: inline-flex; padding: 2px 8px; border-radius: 4px; background: #edf0f4; color: #526178; font-size: 13px; white-space: nowrap; }
.badge.succeeded { background: #e4f2eb; color: #226243; }
.badge.running,.badge.queued { background: #e5edfb; color: #24529a; }
.badge.failed { background: #fbe9e7; color: #9b2b29; }
progress { display: block; height: 5px; width: 120px; margin-top: 10px; accent-color: var(--accent); }
.empty-state { padding: 42px 32px; background: var(--white); border: 1px dashed #aab7c8; border-radius: var(--radius); }
.empty-state p { margin: 8px 0 16px; color: var(--muted); }
.footnote { font-size: 13px; margin-top: 14px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-tabs a { padding: 6px 12px; border-radius: 5px; color: var(--muted); text-decoration: none; }
.filter-tabs a[aria-current] { color: #194e9b; background: #dde8f9; font-weight: 600; }
.filter-tabs a:hover { background: #e8edf4; }
.mono,code { font-family: ui-monospace, monospace; font-size: 12px; overflow-wrap: anywhere; }
small { display: block; margin-top: 4px; color: var(--muted); }
.nowrap { white-space: nowrap; }
.back-link { display: inline-block; margin-bottom: 18px; }
.settings-form { max-width: 560px; }
.settings-form label { display: block; font-weight: 600; margin-top: 22px; }
.settings-form label input,.settings-form label select { display: block; font-weight: 400; margin-top: 7px; }
.field-help { font-size: 13px; margin-top: 6px; }
.form-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.notice { padding: 14px 16px; border: 1px solid #bac9dd; border-radius: var(--radius); background: #eaf0f8; color: #334963; }
.notice.error { color: #9b2b29; border-color: #dbb2af; background: #fff1ef; }
.public-page { min-height: 100dvh; display: grid; align-items: center; justify-items: center; padding: 24px; }
.login-panel { width: min(100%, 470px); }
.brand-dark,.brand-dark:hover { color: var(--ink); padding: 0; }
.login-panel h1 { margin: 32px 0 14px; font-size: 32px; line-height: 1.25; }
.login-panel .gsid-signin,.login-panel .notice { margin-top: 28px; }
.login-panel .button { margin-top: 24px; }
dialog { inset: 0 0 0 auto; margin: 0; width: min(540px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%; border: 0; padding: 0; color: var(--ink); box-shadow: -12px 0 40px #00000026; }
dialog::backdrop { background: #14233548; }
.drawer-panel { padding: 28px; }
.drawer-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.drawer-heading h2 { overflow-wrap: anywhere; }
.detail-list { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }
details { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
summary { cursor: pointer; }
details p { margin-top: 12px; }
.request-status { position: fixed; bottom: 18px; right: 18px; max-width: min(440px, calc(100% - 36px)); padding: 14px 18px; border: 1px solid #dbb2af; border-radius: var(--radius); background: #fff1ef; color: #9b2b29; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 10; background: #fff; padding: 10px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 800px) {
  .sidebar { position: static; width: auto; padding: 16px; }
  .sidebar nav { display: flex; flex-wrap: wrap; margin-top: 18px; gap: 3px; }
  .sidebar nav a { padding: 8px 10px; }
  .identity { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding: 12px 10px 0; }
  .role { margin: 0; }
  .identity form { margin-left: auto; }
  .workspace { margin-left: 0; padding: 24px 18px 40px; }
  .page-heading,.intro-row { align-items: flex-start; flex-wrap: wrap; }
  .page-heading { gap: 14px; }
  h1 { font-size: 25px; }
  .filters { flex-wrap: wrap; }
  .search-field { flex: 1; min-width: 170px; }
  .empty-state { padding: 28px 22px; }
  .detail-list { grid-template-columns: 1fr; gap: 6px; }
  .detail-list dd { margin-bottom: 16px; }
  th,td { padding: 12px; }
  .drawer-panel { padding: 22px; }
}
.local-login{margin-top:32px;text-align:left;border-top:1px solid var(--line);padding-top:20px}.local-login summary{cursor:pointer;color:var(--muted);font-size:.9rem}.local-login form{display:grid;gap:10px;margin-top:20px}.local-login button{margin-top:10px}
