/* Layout for the offline utility; component styling comes from base.css. */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--foreground); background: var(--background); }
aside { width: 210px; position: fixed; inset: 0 auto 0 0; border-right: 1px solid var(--border); background: var(--sidebar); padding: 28px 18px; }
aside .brand { font-size: 18px; font-weight: 700; padding: 0 12px 25px; }
aside nav { display: grid; gap: 8px; }
aside a { color: var(--muted-foreground); padding: 11px 12px; text-decoration: none; border-radius: 8px; font-size: 14px; }
aside a:first-child { color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); }
aside .side-note { margin-top: 28px; padding: 12px; font-size: 12px; line-height: 1.8; color: var(--muted-foreground); }
body > div { margin-left: 210px; min-height: 100vh; display: flex; flex-direction: column; }
header { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 12px 32px; border-bottom: 1px solid var(--border); background: var(--card); }
header p { margin: 0; color: var(--muted-foreground); font-size: 13px; }
main { flex: 1; padding: 32px; background: var(--gradient-hero); }
main > div { max-width: 1400px; margin: auto; display: grid; gap: 20px; }
h1 { margin: 0; font-size: 25px; font-weight: 650; }
h2 { margin: 0 0 14px; font-size: 16px; font-weight: 600; }
p { line-height: 1.7; }
.intro, .hint { color: var(--muted-foreground); font-size: 13px; }
.intro { margin: 10px 0 0; }
.card-glass { border-radius: 12px; padding: 22px; }
.query-row, .actions, .result-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.query-row .input-shell { flex: 1; min-width: 220px; }
.result-heading { justify-content: space-between; margin-bottom: 16px; }
.result-heading p { margin: 0; }
.textarea-shell { margin: 12px 0; }
.textarea-field { width: 100%; min-height: 104px; resize: vertical; }
.table-shell { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table-cell { vertical-align: top; overflow-wrap: anywhere; min-width: 85px; }
.table-cell.pkg { font-family: ui-monospace, Menlo, Consolas, monospace; min-width: 245px; }
.table-cell.note { min-width: 200px; }
.hint strong { color: var(--foreground); }
.load-row { margin-top: 18px; display: flex; justify-content: center; }
button:disabled { opacity: .5; cursor: default; }
summary { cursor: pointer; font-size: 14px; font-weight: 550; }
details p { margin: 8px 0; }
button, a, summary { transition: background-color .15s, color .15s, opacity .15s; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.screen-reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 850px) { aside { display: none; } body > div { margin-left: 0; } main { padding: 18px; } header { padding: 12px 20px; } .card-glass { padding: 16px; } }
