\
:root { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #161616; background: #f5f6f8; }
* { box-sizing: border-box; }
body { margin: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 24px; }
header { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
h1 { margin: 0 0 4px; font-size: 28px; }
header p { margin: 0; color: #666; }
.stats { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-link { display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 8px; background: #111; color: white; text-decoration: none; font-size: 13px; }
.nav-secondary { border: 1px solid #cfd3d8; background: white; color: #333; cursor: pointer; }
.logout-form { margin: 0; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.stats span { background: white; border: 1px solid #ddd; border-radius: 10px; padding: 8px 10px; font-size: 12px; }
.stats strong { font-size: 16px; margin-left: 5px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: 10px; background: white; border: 1px solid #ddd; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
input, select, button { font: inherit; }
.filters input, .filters select { padding: 10px; border: 1px solid #cfd3d8; border-radius: 8px; }
.filters button { border: 0; border-radius: 8px; padding: 9px 14px; background: #111; color: white; cursor: pointer; }
.check { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.cards { display: grid; gap: 10px; }
.card { position: relative; display: grid; grid-template-columns: 72px 1fr 330px; gap: 14px; background: white; border: 1px solid #ddd; border-radius: 12px; padding: 14px; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #aaa; }
.priority-high::before { background: #d52929; }
.priority-medium::before { background: #d59a29; }
.priority-low::before { background: #3a78c2; }
.priority { display: flex; align-items: flex-start; justify-content: center; padding-top: 4px; font-size: 12px; font-weight: 800; }
.card h2 { margin: 0 0 8px; font-size: 17px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #666; font-size: 13px; }
.meta strong { color: #111; font-size: 16px; }
.reason { margin-top: 8px; font-size: 12px; color: #8b3b3b; }
.actions { display: flex; flex-direction: column; gap: 8px; }
.actions form { display: flex; gap: 6px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; border: 1px solid #cfd3d8; background: white; color: #222; border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 13px; }
.btn.link { background: #111; color: white; border-color: #111; text-align: center; }
.btn.success { border-color: #2f8f53; }
.btn.star { border-color: #b88a14; }
.btn.muted { color: #666; }
.empty { background: white; border: 1px dashed #ccc; padding: 40px; border-radius: 12px; text-align: center; color: #666; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid #ddd; border-radius: 12px; }
.runs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.runs-table th, .runs-table td { padding: 12px; border-bottom: 1px solid #e5e5e5; text-align: left; vertical-align: top; }
.runs-table th { background: #fafafa; white-space: nowrap; }
.runs-table small { display: block; margin-top: 4px; color: #666; }
.run-status { display: inline-block; border-radius: 999px; padding: 4px 7px; font-size: 11px; font-weight: 800; }
.status-success { background: #dff3e6; color: #176337; }
.status-failed { background: #f8dddd; color: #8b2020; }
.status-blocked { background: #fff0c7; color: #725300; }
.status-running { background: #fff0c7; color: #725300; }
.status-skipped { background: #e8e8e8; color: #555; }
.run-details { min-width: 260px; max-width: 440px; overflow-wrap: anywhere; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: #eef1f5; }
.login-card { width: min(100%, 390px); padding: 28px; border: 1px solid #d9dde2; border-radius: 16px; background: white; box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.login-card h1 { font-size: 25px; }
.login-card > p { margin: 4px 0 22px; color: #666; }
.login-brand { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: #111; color: white; font-weight: 800; }
.login-form { display: grid; gap: 8px; }
.login-form label { margin-top: 5px; font-size: 13px; font-weight: 700; }
.login-form input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c8cdd3; border-radius: 9px; }
.login-form button { min-height: 46px; margin-top: 10px; border: 0; border-radius: 9px; background: #111; color: white; cursor: pointer; font-weight: 700; }
.login-error { margin-bottom: 12px; padding: 10px; border-radius: 8px; background: #f8dddd; color: #8b2020; font-size: 13px; }
.settings-container { max-width: 900px; }
.settings-form { display: grid; gap: 14px; }
.settings-section { padding: 18px; border: 1px solid #ddd; border-radius: 12px; background: white; }
.settings-section h2 { margin: 0 0 5px; font-size: 18px; }
.settings-section p { margin: 0 0 14px; color: #666; font-size: 13px; }
.settings-section textarea { width: 100%; resize: vertical; padding: 12px; border: 1px solid #c8cdd3; border-radius: 9px; line-height: 1.5; }
.radius-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.radius-option { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; padding: 14px; border: 1px solid #cfd3d8; border-radius: 10px; cursor: pointer; }
.radius-option input { grid-row: 1 / 3; }
.radius-option span { color: #666; font-size: 12px; }
.settings-actions { display: flex; gap: 10px; justify-content: flex-end; }
.schedule-options { display: flex; flex-wrap: wrap; gap: 16px; }
.schedule-options label { display: grid; gap: 6px; min-width: 160px; }
.schedule-options input[type="time"] { padding: 10px 12px; border: 1px solid #c8cdd3; border-radius: 9px; background: white; }
.primary-action, .danger-action { min-height: 44px; padding: 10px 14px; border-radius: 9px; cursor: pointer; font-weight: 700; }
.primary-action { border: 0; background: #111; color: white; }
.danger-action { border: 1px solid #b84a4a; background: white; color: #8b2020; }
.notice { margin-bottom: 14px; padding: 12px; border-radius: 9px; font-size: 14px; }
.success-notice { background: #dff3e6; color: #176337; }
.error-notice { background: #f8dddd; color: #8b2020; }
.force-run-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 14px; border: 1px solid #e0c26b; border-radius: 12px; background: #fff9e8; }
.force-run-panel p { margin: 4px 0 0; color: #665a36; font-size: 13px; }
.force-run-panel form { flex: 0 0 auto; }
@media (max-width: 850px) {
  header { flex-direction: column; }
  .stats, .header-actions { width: 100%; }
  .filters { grid-template-columns: 1fr; }
  .card { grid-template-columns: 1fr; }
  .priority { justify-content: flex-start; }
  .actions .btn, .actions form, .actions form .btn { width: 100%; }
  .actions form { display: grid; grid-template-columns: 1fr 1fr; }
  .filters input, .filters select, .filters button { min-height: 46px; width: 100%; }
}
@media (max-width: 700px) {
  .container { padding: 14px; }
  h1 { font-size: 24px; }
  .stats .nav-link, .stats .logout-form { flex: 1 1 auto; }
  .stats .logout-form .nav-link { width: 100%; justify-content: center; }
  .table-wrap { overflow: visible; border: 0; background: transparent; }
  .runs-table, .runs-table tbody, .runs-table tr, .runs-table td { display: block; width: 100%; }
  .runs-table thead { display: none; }
  .runs-table tr { margin-bottom: 12px; padding: 6px 12px; border: 1px solid #ddd; border-radius: 12px; background: white; }
  .runs-table td { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid #eee; }
  .runs-table td:last-child { border-bottom: 0; }
  .runs-table td::before { content: attr(data-label); color: #666; font-size: 11px; font-weight: 800; text-transform: uppercase; }
  .run-details { min-width: 0; max-width: none; }
  .login-card { padding: 22px; }
  .radius-options { grid-template-columns: 1fr; }
  .settings-actions { display: grid; }
  .settings-actions button { width: 100%; }
  .force-run-panel { align-items: stretch; flex-direction: column; }
  .force-run-panel button { width: 100%; }
}
