:root { color-scheme: light; --ink: #1b302b; --muted: #63746d; --line: #dce4de; --green: #205d46; --paper: #fff; --wash: #f3f5f0; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--wash); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.55; }
[hidden] { display: none !important; }
.header { padding: 22px 4vw; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #fff; border-bottom: 1px solid var(--line); }
.brand-group { display: flex; gap: 14px; align-items: center; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--green); color: #f0f6d8; font-size: 26px; font-weight: 650; }
.brand { font-size: 16px; font-weight: 800; letter-spacing: .2em; margin: 0; }
.brand span { margin-left: 12px; color: var(--muted); font-size: 10px; letter-spacing: .16em; font-weight: 600; }
.header-caption { font-size: 12px; color: var(--muted); margin: 1px 0 0; }
.session { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); }
.session p { margin: 0; }
main { max-width: 1530px; margin: auto; padding: 26px 4vw 40px; }
h1 { font-size: clamp(23px, 2.5vw, 32px); font-weight: 650; letter-spacing: -.04em; line-height: 1.2; margin: 0; }
h2 { font-size: 23px; font-weight: 650; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 8px; }
h3 { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; margin: 12px 0 18px; }
h4 { font-size: 16px; margin: 12px 0; }
p { margin: 0 0 14px; }
button { appearance: none; color: #fff; background: var(--green); border: 1px solid var(--green); border-radius: 8px; padding: 10px 15px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.4; transition: background .15s; }
button:hover:not(:disabled) { background: #164532; }
button.secondary { color: var(--ink); background: #fff; border-color: #b6c7bc; }
button.secondary:hover:not(:disabled), button.quiet:hover:not(:disabled) { background: #edf3eb; }
button.quiet { color: var(--green); background: transparent; border-color: transparent; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.danger { background: #a23d32; border-color: #a23d32; }
button.danger:hover:not(:disabled) { background: #812b23; }
:focus-visible { outline: 3px solid #287bce; outline-offset: 3px; }
a { color: var(--green); text-underline-offset: 4px; }
fieldset { display: grid; grid-template-columns: 194px minmax(0, 1fr); gap: 30px; border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.focused-workspace { display: block; max-width: 950px; margin: 0 auto; }
fieldset.focused-workspace #wallet-catalog, fieldset.focused-workspace #next-packages { display: none !important; }
.sidebar { padding-top: 5px; }
nav { display: grid; gap: 6px; margin: 16px 0 30px; }
nav button { text-align: left; padding: 13px 12px; background: transparent; color: var(--muted); border-color: transparent; font-size: 14px; }
nav button span { display: inline-block; margin-right: 9px; font-size: 10px; opacity: .7; }
nav button[aria-pressed="true"] { background: #e1ebdd; color: #214d37; border-color: #d4e1ce; }
nav button:hover:not(:disabled) { background: #e9eee4; }
.sidebar-note { color: var(--muted); font-size: 11px; line-height: 1.9; border-top: 1px solid var(--line); padding-top: 20px; }
.content { min-width: 0; }
.page-heading, .sync-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.page-heading { margin-bottom: 19px; }
.sync-bar { min-height: 43px; margin-bottom: 18px; border-top: 1px solid var(--line); padding-top: 8px; }
.sync { font-size: 12px; color: var(--muted); margin: 0; }
.sync.stale { color: #8b382a; }
.badge { display: inline-block; font-size: 11px; font-weight: 650; line-height: 1.5; padding: 5px 9px; border-radius: 6px; overflow-wrap: anywhere; }
.badge.good { color: #205b3e; background: #e4f1e6; }
.badge.neutral { color: #725725; background: #f3ecd9; }
.badge.bad { color: #94372d; background: #f9e9e5; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px; margin-bottom: 20px; box-shadow: 0 2px 3px #1b302b03; }
.intro { max-width: 650px; margin: 40px auto; padding: 38px; }
.eyebrow { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .14em; font-weight: 650; margin-bottom: 8px; }
.muted { color: var(--muted); font-size: 13px; }
.section-heading, .control { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.wallet-tools { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; margin-top: 20px; }
.wallet-search { flex: 1 1 300px; min-width: 0; }
.wallet-search input { width: 100%; }
.wallet-filters, .wallet-pagination { display: flex; flex-wrap: wrap; gap: 7px; }
.wallet-filters button, .wallet-pagination button { padding: 8px 11px; }
.wallet-filters button { background: #fff; color: var(--ink); border-color: var(--line); }
.wallet-filters button[aria-pressed="true"], .wallet-pagination button[aria-current="page"] { background: var(--green); color: #fff; border-color: var(--green); }
.wallet-pagination button[aria-current="page"]:hover:not(:disabled) { background: var(--green); color: #fff; }
#wallet-summary { margin: 15px 0 0; }
.wallet-pagination { justify-content: center; align-items: center; margin-top: 15px; }
.item-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; margin: 24px 0 18px; }
.item { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: #fff; }
.item button { margin: 10px 8px 0 0; }
.item dl { grid-template-columns: minmax(90px, 125px) minmax(0, 1fr); gap: 6px 10px; }
.empty { padding: 36px 20px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 10px; margin: 0; grid-column: 1 / -1; }
dl { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 9px 18px; margin: 0 0 20px; }
dt { color: var(--muted); font-size: 12px; }
dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
code, pre, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
pre { padding: 16px; margin: 12px 0; border: 1px solid var(--line); border-radius: 8px; background: #f6f8f4; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
details { margin: 20px 0; border-top: 1px solid var(--line); padding-top: 14px; }
summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.review { border-top: 2px solid var(--green); margin-top: 28px; padding-top: 22px; scroll-margin-top: 20px; }
.review > .item { margin: 14px 0; }
.notice, .success { padding: 15px 18px; border-left: 3px solid #b58939; border-radius: 0 8px 8px 0; background: #fbf5e7; font-size: 13px; margin: 18px 0; }
.success { border-color: var(--green); background: #edf5eb; }
.confirmation { display: flex; align-items: flex-start; gap: 12px; padding: 18px; margin: 20px 0; background: #f0f5eb; border: 1px solid #d5e0cc; border-radius: 8px; overflow-wrap: anywhere; }
.confirmation input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--green); }
label { display: block; font-size: 13px; font-weight: 550; margin-bottom: 8px; }
input[type="text"], input[type="search"] { width: 100%; max-width: 640px; padding: 12px; border: 1px solid #a8b9ac; border-radius: 7px; font: inherit; font-size: 14px; }
.lookup { display: flex; gap: 16px; align-items: flex-end; margin: 22px 0; }
.lookup > div { flex: 1; }
#message:empty { display: none; }
#message { font-size: 13px; padding: 12px 16px; margin-bottom: 22px; background: #eaf1e5; border: 1px solid #d2dfc9; border-radius: 8px; overflow-wrap: anywhere; }
#message.error { background: #fff0ed; border-color: #deaaa1; color: #802b22; }
footer { max-width: 1530px; padding: 0 4vw 25px; margin: auto; color: var(--muted); font-size: 11px; }
.skip-link { position: absolute; left: 12px; top: -100px; padding: 12px; background: white; z-index: 5; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1000px) { fieldset { grid-template-columns: 155px minmax(0, 1fr); gap: 20px; } .page-heading { align-items: flex-start; flex-direction: column; } .control { flex-direction: column; } }
@media (max-width: 700px) { .header { padding: 18px; align-items: flex-start; } main { padding: 20px 16px; } fieldset { display: block; } .sidebar > .eyebrow, .sidebar-note, .session p { display: none; } .sidebar nav { grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 0 0 25px; } .sidebar nav button { padding: 11px 3px; font-size: 11px; text-align: center; } .sidebar nav button span { display: none; } .card { padding: 20px 16px; } .section-heading, .lookup { flex-direction: column; align-items: stretch; } .sync-bar { align-items: flex-start; } .sync-bar button { flex-shrink: 0; } dl, .item dl { grid-template-columns: 1fr; gap: 3px; } dd { margin-bottom: 8px; } .brand span { display: none; } .brand-mark { width: 36px; height: 36px; } .header-caption { font-size: 10px; } .actions { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
