﻿:root {
  color-scheme: light;
  --bg: #f4f4f1;
  --ink: #111;
  --muted: #6b6b66;
  --line: #deded8;
  --soft-line: #ecece7;
  --card: #fff;
  --soft: #fafaf8;
}
* { box-sizing: border-box; }
body { font-family: Inter, Arial, sans-serif; margin: 0; background: var(--bg); color: var(--ink); }
main { max-width: 1120px; margin: 0 auto; padding: 28px; }
.app-shell { display: grid; gap: 16px; }
header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 4px; }
.hero { padding: 12px 0 4px; }
.simple-hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: .92; }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-actions a { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; text-decoration: none; background: #fff; font-weight: 700; font-size: 14px; }
a { color: var(--ink); }
h1 { margin: 0; letter-spacing: -0.06em; font-size: clamp(32px, 5vw, 56px); }
h2 { margin: 0; letter-spacing: -0.035em; font-size: 24px; }
.eyebrow { margin: 0 0 6px; color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .16em; font-weight: 800; }
.card { background: var(--card); padding: 18px; border: 1px solid var(--line); border-radius: 22px; box-shadow: none; margin-bottom: 0; }
.primary-panel { padding: 24px; border-color: #111; }
.quiet-card { background: var(--soft); }
.data-card { overflow: hidden; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.module-card { display: grid; gap: 12px; min-height: 170px; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-decoration: none; align-content: space-between; transition: transform .12s ease, border-color .12s ease; }
.module-card:hover { transform: translateY(-2px); border-color: #111; }
.module-card span { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.module-card strong { font-size: 26px; letter-spacing: -.04em; }
.module-card em { color: var(--muted); font-style: normal; line-height: 1.45; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margi:root {
color-scheme: dark;
--bg: #0b0d10;
--bg-subtle: #12151a;
--ink: #f3f4f6;
--muted: #9ca3af;
--line: #222732;
--soft-line: #1b202a;
--card: #161b22;
--soft: #1c222d;
--accent: #2563eb;
--accent-hover: #3b82f6;
--accent-light: rgba(37, 99, 235, 0.15);
}

{
box-sizing: border-box;
}

body {
font-family: Inter, system-ui, -apple-system, sans-serif;
margin: 0;
background: var(--bg);
color: var(--ink);
}

main {
max-width: 1120px;
margin: 0 auto;
padding: 28px;
}

.app-shell {
display: grid;
gap: 16px;
}

header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 18px;
margin-bottom: 4px;
}

.hero {
padding: 12px 0 4px;
}

.simple-hero h1 {
font-size: clamp(38px, 6vw, 72px);
line-height: .92;
}

nav {
display: flex;
gap: 8px;
flex-wrap: wrap;
}

.quick-actions a {
border: 1px solid var(--line);
border-radius: 999px;
padding: 9px 13px;
text-decoration: none;
background: var(--card);
color: var(--ink);
font-weight: 700;
font-size: 14px;
transition: all .15s ease;
}

.quick-actions a:hover {
border-color: var(--accent);
color: var(--accent-hover);
}

a {
color: var(--ink);
text-decoration: none;
}

h1 {
margin: 0;
letter-spacing: -0.06em;
font-size: clamp(32px, 5vw, 56px);
}

h2 {
margin: 0;
letter-spacing: -0.035em;
font-size: 24px;
}

.eyebrow {
margin: 0 0 6px;
color: var(--accent-hover);
text-transform: uppercase;
font-size: 11px;
letter-spacing: .16em;
font-weight: 800;
}

.card {
background: var(--card);
padding: 18px;
border: 1px solid var(--line);
border-radius: 22px;
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
margin-bottom: 0;
}

.primary-panel {
padding: 24px;
border-color: var(--accent);
background: linear-gradient(145deg, var(--card), var(--soft));
}

.quiet-card {
background: var(--soft);
}

.data-card {
overflow: hidden;
}

.panel-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}

.module-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}

.module-card {
display: grid;
gap: 12px;
min-height: 170px;
padding: 22px;
border: 1px solid var(--line);
border-radius: 24px;
background: var(--card);
text-decoration: none;
align-content: space-between;
transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.module-card:hover {
transform: translateY(-2px);
border-color: var(--accent);
box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.module-card span {
color: var(--accent-hover);
font-size: 12px;
font-weight: 900;
letter-spacing: .14em;
}

.module-card strong {
font-size: 26px;
letter-spacing: -.04em;
color: var(--ink);
}

.module-card em {
color: var(--muted);
font-style: normal;
line-height: 1.45;
}

.stats {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
margin-bottom: 0;
}

.stat {
background: var(--soft);
color: var(--ink);
border: 1px solid var(--line);
border-radius: 20px;
padding: 16px;
min-height: 96px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.stat strong {
display: block;
font-size: 36px;
line-height: 1;
letter-spacing: -0.05em;
color: #fff;
}

.stat span {
color: var(--muted);
font-size: 11px;
text-transform: uppercase;
letter-spacing: .12em;
font-weight: 800;
}

.section-title {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 12px;
margin-bottom: 14px;
}

.section-title span {
color: var(--muted);
font-size: 13px;
max-width: 280px;
text-align: right;
}

.plus {
display: inline-flex;
width: 34px;
height: 34px;
align-items: center;
justify-content: center;
background: var(--accent);
color: #fff !important;
border-radius: 999px;
font-size: 24px !important;
line-height: 1;
transition: background .15s ease;
}

.plus:hover {
background: var(--accent-hover);
}

.error {
color: #f87171;
font-weight: 800;
}

.success {
color: #4ade80;
font-weight: 800;
}

.muted {
color: var(--muted);
font-size: 14px;
margin: 0;
}

form {
display: grid;
gap: 10px;
}

.grid-form {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-composer {
grid-template-columns: 1.15fr 1fr;
}

.grid-form button, .grid-form textarea, .grid-form .wide {
grid-column: 1 / -1;
}

.search-row {
grid-template-columns: 1fr auto;
}

.solo-action {
margin: 0 0 12px;
}

.inline-form {
display: inline;
}

.inline-form button {
margin-left: 0;
}

.schedule-form {
display: grid;
grid-template-columns: minmax(180px, 1fr) auto;
gap: 8px;
align-items: center;
}

.schedule-form input {
min-width: 180px;
}

input, textarea, select, button {
padding: 12px 13px;
border-radius: 14px;
border: 1px solid var(--line);
font: inherit;
background: var(--soft);
color: var(--ink);
outline: none;
transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus, textarea:focus, select:focus {
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-light);
}

select {
cursor: pointer;
}

textarea {
min-height: 220px;
}

pre {
white-space: pre-wrap;
background: var(--bg-subtle);
color: var(--ink);
padding: 16px;
border-radius: 12px;
border: 1px solid var(--line);
}

button {
background: var(--accent);
color: #fff;
border: none;
cursor: pointer;
font-weight: 800;
transition: background .15s ease;
}

button:hover {
background: var(--accent-hover);
}

button:disabled, input:disabled {
opacity: .45;
cursor: not-allowed;
}

.checkbox-row {
display: flex;
align-items: center;
gap: 10px;
color: var(--muted);
background: var(--soft);
padding: 12px;
border-radius: 14px;
border: 1px solid var(--line);
}

.checkbox-row input {
width: auto;
}

.actions {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
}

.action-stack {
align-items: stretch;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 36px;
padding: 8px 13px;
border-radius: 999px;
font-size: 14px;
font-weight: 800;
text-decoration: none;
transition: transform .12s ease, opacity .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover, .quick-actions a:hover {
transform: translateY(-1px);
opacity: .9;
}

.btn-primary {
background: var(--accent);
color: #fff;
border: 1px solid var(--accent);
}

.btn-primary:hover {
background: var(--accent-hover);
border-color: var(--accent-hover);
}

.btn-secondary {
background: var(--soft);
color: var(--ink);
border: 1px solid var(--line);
}

.btn-secondary:hover {
border-color: var(--muted);
}

.btn-danger {
background: transparent;
color: #f87171;
border: 1px solid #7f1d1d;
}

.btn-danger:hover {
background: #7f1d1d;
color: #fff;
}

.pill {
display: inline-flex;
padding: 5px 9px;
border-radius: 999px;
background: var(--accent);
color: #fff;
font-size: 11px;
font-weight: 800;
letter-spacing: .02em;
}

.pill.light {
background: var(--soft);
color: var(--muted);
border: 1px solid var(--line);
}

table {
width: 100%;
border-collapse: collapse;
}

th, td {
padding: 13px 10px;
border-bottom: 1px solid var(--soft-line);
text-align: left;
vertical-align: top;
}

th {
color: var(--muted);
font-size: 11px;
text-transform: uppercase;
letter-spacing: .09em;
font-weight: 900;
}

tr:last-child td {
border-bottom: 0;
}

@media (max-width: 860px) {
main { padding: 18px; }
header { display: block; }
nav { margin-top: 12px; }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel-grid, .module-grid, .grid-form, .search-composer, .search-row { grid-template-columns: 1fr; }
.section-title { display: block; }
.section-title span { display: block; text-align: left; margin-top: 6px; }
table, thead, tbody, th, td, tr { display: block; }
thead { display: none; }
tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
td { border: 0; padding: 5px 0; }
}n-bottom: 0; }
.stat { background: #111; color: #fff; border-radius: 20px; padding: 16px; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; }
.stat strong { display: block; font-size: 36px; line-height: 1; letter-spacing: -0.05em; }
.stat span { color: #d5d5d0; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.section-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.section-title span { color: var(--muted); font-size: 13px; max-width: 280px; text-align: right; }
.plus { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: #111; color: #fff !important; border-radius: 999px; font-size: 24px !important; line-height: 1; }
.error { color: #8a1111; font-weight: 800; }
.success { color: #0f6b2b; font-weight: 800; }
.muted { color: var(--muted); font-size: 14px; margin: 0; }
form { display: grid; gap: 10px; }
.grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.search-composer { grid-template-columns: 1.15fr 1fr; }
.grid-form button, .grid-form textarea, .grid-form .wide { grid-column: 1 / -1; }
.search-row { grid-template-columns: 1fr auto; }
.solo-action { margin: 0 0 12px; }
.inline-form { display: inline; }
.inline-form button { margin-left: 0; }
.schedule-form { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 8px; align-items: center; }
.schedule-form input { min-width: 180px; }
input, textarea, select, button { padding: 12px 13px; border-radius: 14px; border: 1px solid var(--line); font: inherit; background: #fff; color: var(--ink); outline: none; }
input:focus, textarea:focus, select:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
select { cursor: pointer; }
textarea { min-height: 220px; }
pre { white-space: pre-wrap; background: #f1f1ef; padding: 16px; border-radius: 12px; border: 1px solid var(--line); }
button { background: #111; color: #fff; cursor: pointer; font-weight: 800; }
button:disabled, input:disabled { opacity: .45; cursor: not-allowed; }
.checkbox-row { display: flex; align-items: center; gap: 10px; color: var(--muted); background: var(--soft); padding: 12px; border-radius: 14px; }
.checkbox-row input { width: auto; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.action-stack { align-items: stretch; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 13px; border: 1px solid #111; border-radius: 999px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .12s ease, opacity .12s ease, background .12s ease; }
.btn:hover, .quick-actions a:hover { transform: translateY(-1px); opacity: .84; }
.btn-primary { background: #111; color: #fff; }
.btn-secondary { background: #fff; color: #111; }
.btn-danger { background: #fff; color: #111; border-color: #aaa; }
.pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #111; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.pill.light { background: #eee; color: #111; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--soft-line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; font-weight: 900; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) {
  main { padding: 18px; }
  header { display: block; }
  nav { margin-top: 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid, .module-grid, .grid-form, .search-composer, .search-row { grid-template-columns: 1fr; }
  .section-title { display: block; }
  .section-title span { display: block; text-align: left; margin-top: 6px; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 5px 0; }
}
