:root { color-scheme: light; font-family: "Segoe UI", system-ui, sans-serif; color: #233d40; background: #f3f6f5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: #176f65; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, .button { display: inline-block; cursor: pointer; border: 0; border-radius: 7px; padding: 11px 17px; color: white; background: #176f65; font-weight: 600; }
button:hover, .button:hover { background: #10584f; text-decoration: none; }
button:disabled { opacity: .5; cursor: default; }
.secondary { color: #285d56; background: #e6f0ed; }
.secondary:hover { background: #d3e6e0; }
.danger { background: #9e3c42; margin-top: 24px; }
.text-button { padding: 6px; background: transparent; color: #176f65; }
.text-button:hover { background: #e6f0ed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #d5a851; outline-offset: 3px; }
.topbar { display: flex; align-items: center; gap: 30px; background: white; padding: 20px max(24px, calc((100vw - 1200px) / 2)); border-bottom: 1px solid #dce5e1; min-height: 85px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 750; color: #234943; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: white; background: #176f65; border-radius: 10px; }
nav { display: flex; gap: 24px; }
nav a { font-size: 14px; font-weight: 600; }
.account { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: 13px; white-space: nowrap; }
.badge { display: inline-block; font-size: 11px; font-weight: 650; color: #3c7268; background: #eaf3ef; border-radius: 16px; padding: 5px 10px; }
main { max-width: 1248px; padding: 42px 24px 70px; margin: auto; min-height: calc(100vh - 155px); }
h1 { color: #1d403b; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; letter-spacing: -1.2px; margin: 12px 0 16px; }
h2 { color: #254c46; font-size: 21px; margin: 0 0 18px; }
p { line-height: 1.65; }
.eyebrow { color: #748d83; font-size: 11px; font-weight: 750; letter-spacing: 2px; margin-bottom: 10px; }
.lead { color: #6a7f79; font-size: 16px; max-width: 720px; }
.muted { color: #71847e; }
.small { font-size: 12px; }
.panel { background: white; border: 1px solid #dce5e1; border-radius: 12px; padding: 26px; min-width: 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.metrics article { display: flex; justify-content: space-between; align-items: center; background: #e8efeb; padding: 20px 24px; border-radius: 9px; }
.metrics span { font-size: 13px; color: #627a70; }
.metrics strong { font-size: 22px; color: #315a4c; }
label { display: block; font-size: 12px; font-weight: 650; margin: 12px 0 8px; }
input, select { width: 100%; padding: 11px 12px; border: 1px solid #cad9d2; border-radius: 6px; background: white; color: #26443c; }
form > button { margin-top: 20px; }
.filters { display: flex; align-items: end; gap: 14px; margin-bottom: 25px; flex-wrap: wrap; }
.filters .search-field { flex: 1; min-width: 180px; }
.filters > button { margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; background: #f4f7f5; padding: 14px 12px; color: #657f73; white-space: nowrap; }
th button { background: transparent; padding: 0; color: inherit; font-size: 12px; }
th button:hover { color: #176f65; background: transparent; }
th[aria-sort="ascending"] button::after { content: " \2191"; }
th[aria-sort="descending"] button::after { content: " \2193"; }
td { padding: 17px 12px; border-bottom: 1px solid #e8eeea; }
td:first-child { font-weight: 600; min-width: 170px; }
td button { font-size: 11px; padding: 7px 12px; }
.pagination, .actions, .dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pagination { margin-top: 18px; font-size: 12px; color: #6b8379; }
.pagination button { padding: 8px 13px; font-size: 12px; }
.empty { text-align: center; padding: 30px; color: #7a8a82; }
.notice { padding: 14px 18px; background: #e7f2eb; color: #34674f; border-radius: 8px; margin-bottom: 22px; overflow-wrap: anywhere; }
.notice.error { background: #fff0ef; color: #943d41; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.supplier-card h2 { margin-top: 20px; }
.supplier-card .text-button { display: block; margin-top: 14px; }
dt { font-size: 12px; color: #829187; margin-top: 18px; }
dd { margin: 6px 0 20px; font-size: 13px; }
.list-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-top: 28px; }
.list-choice { display: block; width: 100%; text-align: left; margin: 9px 0; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e8eeea; overflow-wrap: anywhere; }
.list-item button { font-size: 12px; }
.login-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: center; margin: 65px auto; max-width: 1040px; }
.login-panel { padding: 35px; }
.login-panel form button { width: 100%; }
.welcome h1 { font-size: clamp(36px, 4vw, 52px); }
.welcome-features { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.welcome-features span { font-size: 12px; padding: 9px 13px; color: #647d70; background: #e7eee8; border-radius: 6px; }
dialog { width: min(460px, calc(100vw - 32px)); padding: 30px; border: 1px solid #cad9d2; border-radius: 12px; color: #233d40; }
dialog::backdrop { background: #183c354d; }
.dialog-footer { margin-top: 22px; font-size: 13px; }
code { overflow-wrap: anywhere; }
.prose { max-width: 850px; margin-top: 28px; }
.prose h2:not(:first-child) { margin-top: 30px; }
footer { padding: 22px; text-align: center; color: #829187; font-size: 12px; border-top: 1px solid #dce5e1; }
@media (max-width: 900px) { .topbar { flex-wrap: wrap; gap: 18px; } .account { margin-left: 0; } .card-grid, .list-layout, .login-layout { grid-template-columns: 1fr; } .login-layout { gap: 30px; margin: 15px 0; } .metrics { gap: 8px; } .metrics article { padding: 14px; flex-direction: column; gap: 8px; } .page-heading { align-items: start; flex-direction: column; } nav { flex-wrap: wrap; gap: 18px; } }
