/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #ffffff; --ink: #1c1c1e; --sub: #6f6f76; --faint: #a7a7ae;
  --line: #e9e9ee; --card: #ffffff; --accent: #2f5bea; --accent-soft: #eaf0ff;
  --good: #1f7a45; --good-soft: #e4f4ea; --warn: #b3261e; --warn-soft: #fdeceb; --amber: #9a6700; --amber-soft: #fff4d6;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 14.5px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
a { color: var(--accent); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14.5px; color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: none; border-radius: 10px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }
.btn:hover { background: #244bcc; }
.btn-ghost { background: #f2f2f5; color: #3a3a40; }
.btn-ghost:hover { background: #e8e8ee; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--sub); }
.field input, .field select, .field textarea { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; }
.field textarea { height: auto; padding: 10px 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.muted { color: var(--sub); }
.err { color: var(--warn); font-size: 13.5px; }

/* ---- shell ---- */
.shell { display: flex; min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; gap: 3px; width: 232px; background: #fff; border-right: 1px solid var(--line); padding: 18px 12px; flex-shrink: 0; transition: width 0.15s ease; position: -webkit-sticky; position: sticky; top: 0; height: 100vh; }
.sidebar.collapsed { width: 68px; align-items: center; }
.sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 2px 10px 16px 10px; text-decoration: none; color: inherit; }
.sidebar.collapsed .brand { padding: 2px 0 16px 0; }
.sidebar .brand span { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.sidebar .brand .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.sidebar .sect { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); padding: 12px 13px 4px; }
.sidebar.collapsed .sect { display: none; }
.mi { display: flex; align-items: center; gap: 12px; height: 40px; border-radius: 10px; padding: 0 12px; font-size: 14px; font-weight: 500; color: #4a4a52; text-decoration: none; background: none; border: none; width: 100%; text-align: left; }
.mi:hover { background: #f4f4f7; color: var(--ink); }
.mi.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mi svg { flex-shrink: 0; }
.sidebar.collapsed .mi { width: 42px; padding: 0; justify-content: center; }
.sidebar.collapsed .mi .lbl { display: none; }
.sidebar.collapsed .brand span { display: none; }
.sidebar .spacer { flex-grow: 1; }
.sidebar .acct { padding: 8px 12px 0; font-size: 12px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar.collapsed .acct { display: none; }
.main { flex-grow: 1; padding: 30px 40px; max-width: 1180px; min-width: 0; }

.pagehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.pagehead h1 { font-size: 24px; }
.pagehead .sub { color: var(--sub); font-size: 13.5px; margin-top: 4px; }
.tabs { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 8px 12px; text-decoration: none; color: var(--sub); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.stack { display: grid; grid-gap: 14px; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: 12px; gap: 12px; }
.stat { padding: 14px 16px; }
.stat .k { font-size: 12px; font-weight: 600; color: var(--sub); text-transform: uppercase; letter-spacing: 0.04em; }
.stat .v { font-size: 24px; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.stat .n { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sub); padding: 10px 12px; font-weight: 600; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: middle; max-width: 280px; }
.tbl tr:first-child td { border-top: none; }
.tbl td.num, .tbl th.num { text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; white-space: nowrap; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f2f2f5; color: #55555c; }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.soft { background: var(--accent-soft); color: var(--accent); }
.bar { height: 6px; background: #eeeef2; border-radius: 999px; overflow: hidden; min-width: 120px; }
.bar i { display: block; height: 100%; background: var(--good); border-radius: 999px; }
.bar i.amber { background: #e0a100; }
.bar i.warn { background: var(--warn); }
.empty { padding: 36px 22px; text-align: center; color: var(--sub); }
.formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); grid-gap: 12px; gap: 12px; padding: 16px; }
.formgrid .full { grid-column: 1 / -1; }
.rowlink { color: inherit; text-decoration: none; font-weight: 600; }
.rowlink:hover { color: var(--accent); }
details.editor summary { cursor: pointer; font-weight: 600; padding: 12px 16px; list-style: none; }
details.editor summary::-webkit-details-marker { display: none; }
.group { margin-bottom: 22px; }
.group h2 { font-size: 15px; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.group h2 .muted { font-size: 13px; font-weight: 500; }

@media (max-width: 760px) {
  .shell { flex-direction: column; }
  .sidebar, .sidebar.collapsed { position: fixed; bottom: 0; left: 0; right: 0; top: auto; height: auto; width: 100%; flex-direction: row; justify-content: space-around; padding: 6px 8px; border-right: none; border-top: 1px solid var(--line); z-index: 20; }
  .sidebar .brand, .sidebar .spacer, .sidebar .acct, .sidebar .sect, .sidebar button.mi.toggle { display: none; }
  .sidebar .mi { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .sidebar .mi .lbl { display: none; }
  .main { padding: 18px 14px 90px; max-width: 100%; }
}

