/* Genererad från Prishämtarens style.css, avgränsad till #pris-root och hubbens färger */
#pris-root { --panel: var(--card); --soft: var(--bg); --accent: #1f5c4a; --accent-ink: #fff; --accent-soft: rgba(31,92,74,.12);
  --err-soft: var(--errbg); --warn-soft: var(--warnbg); --radius: 10px; --mono: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; }
@media (prefers-color-scheme: dark) { #pris-root { --accent: #6fcf97; --accent-ink: #10231a; } }
#pris-main { padding: 0; overflow: visible; }
#pris-root .badge { background: var(--err); color: #fff; }
#pris-root * { box-sizing: border-box; }
#pris-root button, #pris-root input, #pris-root select, #pris-root textarea { font: inherit; color: inherit; }
#pris-root .badge { background: var(--err); color: var(--card); border-radius: 10px; font-size: 11px; padding: 0 6px; }
#pris-root .hidden { display: none !important; }
#pris-main { flex: 1; overflow: auto; padding: 24px 28px 60px; }
#pris-root h1 { font-size: 20px; margin: 0 0 4px; font-weight: 600; }
#pris-root h2 { font-size: 15px; margin: 0 0 12px; font-weight: 600; }
#pris-root h3 { font-size: 13px; margin: 0 0 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
#pris-root .sub { color: var(--muted); margin: 0 0 20px; }
#pris-root .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
#pris-root .head .sub { margin: 0; }
#pris-root .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
#pris-root .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
#pris-root .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 14px; }
#pris-root .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#pris-root .field.wide { grid-column: 1 / -1; }
#pris-root .field > span { font-size: 12px; color: var(--muted); }
#pris-root .hint { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
#pris-root input[type=text], #pris-root input[type=password], #pris-root input[type=number], #pris-root input[type=time], #pris-root select, #pris-root textarea {
  border: 1px solid var(--line); background: var(--card); border-radius: 6px; padding: 7px 9px; width: 100%; min-width: 0;
}
#pris-root textarea { resize: vertical; min-height: 60px; font-family: var(--mono); font-size: 12.5px; }
#pris-root input:focus, #pris-root select:focus, #pris-root textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
#pris-root input.mono { font-family: var(--mono); font-size: 12.5px; }
#pris-root label.check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
#pris-root .btn { border: 1px solid var(--line); background: var(--card); padding: 7px 13px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
#pris-root .btn:hover { background: var(--soft); }
#pris-root .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
#pris-root .btn.primary:hover { filter: brightness(1.1); }
#pris-root .btn.danger { color: var(--err); }
#pris-root .btn.small { padding: 3px 9px; font-size: 12.5px; }
#pris-root .btn.ghost { border-color: transparent; background: none; }
#pris-root .btn:disabled { opacity: .5; cursor: default; }
#pris-root .btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
#pris-root table { width: 100%; border-collapse: collapse; }
#pris-root th, #pris-root td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
#pris-root th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); position: sticky; top: 0; }
#pris-root td.num { text-align: right; font-variant-numeric: tabular-nums; }
#pris-root .tablewrap { overflow: auto; max-height: 380px; border: 1px solid var(--line); border-radius: 6px; }
#pris-root .tablewrap table td, #pris-root .tablewrap table th { white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
#pris-root .split { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
#pris-root .list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
#pris-root .list button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
#pris-root .list button:last-child { border-bottom: 0; }
#pris-root .list button:hover { background: var(--soft); }
#pris-root .list button.active { background: var(--accent-soft); }
#pris-root .list .meta { font-size: 12px; color: var(--muted); }
#pris-root .list .off { opacity: .55; }
#pris-root .pill { display: inline-block; font-size: 11.5px; padding: 1px 8px; border-radius: 10px; background: var(--soft); color: var(--muted); }
#pris-root .pill.ok { background: #e4f2e9; color: var(--ok); }
#pris-root .pill.warn { background: var(--warn-soft); color: var(--warn); }
#pris-root .pill.err { background: var(--err-soft); color: var(--err); }
#pris-root .status { font-size: 12.5px; color: var(--muted); }
#pris-root .maprow select, #pris-root .maprow input { font-size: 13px; }
#pris-root .maprow td:first-child { font-weight: 500; }
#pris-root .req { color: var(--err); margin-left: 2px; }
#pris-root .example { font-family: var(--mono); font-size: 12px; color: var(--muted); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#pris-root .errors { background: var(--err-soft); border-radius: 6px; padding: 10px 12px; font-size: 12.5px; color: var(--err); margin-top: 10px; }
#pris-root .stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; margin-bottom: 10px; }
#pris-root .stats b { font-variant-numeric: tabular-nums; }
#pris-root details.help summary { cursor: pointer; color: var(--accent); font-size: 13px; }
#pris-root details.help { margin-top: 12px; }
#pris-root .help-body { font-size: 12.5px; margin-top: 8px; display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; }
#pris-root .help-body code { font-family: var(--mono); background: var(--soft); padding: 1px 5px; border-radius: 4px; }
#pris-root .logline { font-family: var(--mono); font-size: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line); display: grid; grid-template-columns: 150px 120px 1fr; gap: 10px; }
#pris-root .logline .t { color: var(--muted); }
#pris-root .logline.error .m { color: var(--err); }
#pris-root .logline.warn .m { color: var(--warn); }
#pris-root .logline.ok .m { color: var(--ok); }
#pris-root .empty { text-align: center; color: var(--muted); padding: 40px 20px; }
#pris-root .spin { display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: s .7s linear infinite; vertical-align: -2px; }
#pris-root to { transform: rotate(360deg); }
#pris-root .coltable td, #pris-root .coltable th { padding: 6px 6px; }
#pris-root .coltable td:nth-child(2) input { min-width: 140px; }
#pris-root .coltable td:nth-child(3) select { min-width: 80px; }
#pris-root .coltable td:nth-child(4) input { min-width: 56px; }
#pris-root .coltable td:nth-child(5) select { min-width: 120px; }
#pris-root .coltable td:nth-child(6) input { min-width: 100px; }
#pris-root .coltable .btns { flex-wrap: nowrap; gap: 2px; }
#pris-root .split > * { min-width: 0; }
#pris-root .logline .m { white-space: pre-wrap; }
#pris-root tr.newrow td { background: #f1f8f4; }
#pris-root tr.missing td { background: var(--warn-soft); }
#pris-root #vgTable td { white-space: normal; max-width: none; }
#pris-root #vgTable input { min-width: 180px; }
#pris-root .vgstatus { font-size: 12px; white-space: nowrap; }
#pris-root .vgstatus.vg-ok { color: var(--ok); font-weight: 600; }
#pris-root .vgstatus.vg-unknown { color: var(--err); }
