* { box-sizing: border-box; }
:root { color-scheme: light; font: 16px/1.5 system-ui,sans-serif; color: #172825; background: #f2f6f5; }
body { margin: 0; }
a { color: #08685d; }
.shell { display: grid; grid-template-columns: 16rem minmax(0,1fr); min-height: 100vh; }
aside { background: #092f2b; color: #e4f5ef; padding: 2rem 1.25rem; display: flex; flex-direction: column; gap: 2rem; }
.brand { font-size: 1.32rem; color: #fff; font-weight: 750; text-decoration: none; padding: 0 .65rem; }
aside nav { display: grid; gap: .25rem; }
aside nav a { padding: .65rem .75rem; border-radius: .45rem; text-decoration: none; color: inherit; }
aside nav a:hover, aside nav a[aria-current="page"] { background: #185149; color: #fff; }
.signout { margin-top: auto; display: grid; gap: .5rem; padding: .65rem; }
main { padding: clamp(1rem, 4vw, 3rem); width: 100%; max-width: 76rem; }
h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 1.5rem; letter-spacing: -.035em; }
.heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.panel { border-radius: .7rem; background: #fff; border: 1px solid #d7e5e1; padding: 1.35rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(15rem,100%),1fr)); gap: 1rem; }
.metric { display: grid; text-decoration: none; color: inherit; }
.metric strong { color: #08685d; font-size: 2.25rem; }
label { display: block; font-weight: 620; margin-bottom: .4rem; }
input, select { width: 100%; padding: .65rem; border: 1px solid #9eafab; border-radius: .4rem; color: inherit; background: #fff; font: inherit; }
button, .button { border: 1px solid transparent; border-radius: .4rem; padding: .65rem 1rem; background: #08685d; color: white; text-decoration: none; font: inherit; font-weight: 650; cursor: pointer; }
button:hover, .button:hover { background: #074d45; }
button.secondary { border-color: #a6c3bb; background: #fff; color: #173d35; }
:focus-visible { outline: 3px solid #cf6e22; outline-offset: 3px; }
small { display: block; margin-top: .35rem; color: #52645f; }
.editor > button { margin-top: 1.5rem; }
.editor .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guest { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.guest aside { padding: 1.15rem; }
.guest main { max-width: 30rem; margin: 1.5rem auto; }
.login { display: grid; gap: .6rem; }
.login input { margin-bottom: .55rem; }
.table-wrap { padding: 0; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: .85rem 1rem; border-bottom: 1px solid #e0ebe8; white-space: nowrap; }
th { background: #e9f3ef; }
tbody tr:last-child td { border-bottom: 0; }
.status { border-radius: 1rem; padding: .18rem .6rem; background: #eee; }
.status.active, .notice { background: #dff2e8; color: #14563e; }
.notice, .errors { border-radius: .4rem; padding: .7rem 1rem; }
.errors { background: #fff0eb; color: #8b2d19; padding-left: 2rem; }
.filter { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter label { margin: 0; }
.filter select { width: auto; max-width: 100%; }
.pages { display: flex; gap: 1rem; margin-top: 1rem; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 700px) {
    .shell { grid-template-columns: minmax(0,1fr); }
    aside { gap: .8rem; padding: 1rem; }
    aside nav { display: flex; flex-wrap: wrap; }
    .signout { display: flex; align-items: center; margin: 0; }
    .editor .grid { grid-template-columns: minmax(0,1fr); }
}

:root {
  --shop-navy: #092f3b; --shop-teal: #087f82; --shop-orange: #f0781f;
  --ink: #182d36; --muted: #6d8188; --line: #dbe5e7; --paper: #f4f7f8;
}
body { color: var(--ink); background: var(--paper); }
.shell { grid-template-columns: 16rem minmax(0,1fr); width: 100%; }
aside { position: sticky; top: 0; height: 100vh; background: linear-gradient(180deg,#092f3b,#0c4350); box-shadow: 8px 0 26px #092f3b12; }
aside nav a { display: flex; align-items: center; gap: .65rem; }
main { max-width: none; min-width: 0; padding: clamp(1.1rem,2.5vw,2.6rem); }
.panel { border-color: var(--line); border-radius: 1rem; box-shadow: 0 8px 24px #123c4810; }
button,.button { background: var(--shop-teal); border-radius: .65rem; font-weight: 700; }
button:hover,.button:hover { background: #06696d; }
button.secondary { background: #fff; border-color: var(--line); color: var(--shop-navy); }
input,select,textarea { min-width: 0; border-color: #cbd9dc; border-radius: .65rem; }
input:focus,select:focus,textarea:focus { outline: 3px solid #087f8225; border-color: var(--shop-teal); }
.table-wrap { width: 100%; border-radius: 1rem; }
table { width: 100%; border-collapse: collapse; }
th { color: #61767e; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
th,td { padding: .85rem 1rem; border-bottom: 1px solid #e7edef; vertical-align: top; }
.dashboard-hero { border-radius: 1.35rem; background: linear-gradient(118deg,#092f3b,#0b5962); color: #fff; }
.dashboard-hero .button { background: var(--shop-orange); color: #fff; }
.dashboard-section,.shop-overview,.user-access-section { margin-block: 1.4rem; }
.dashboard-section-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.85rem; }
.metric,.dashboard-metric { min-height: 8rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px #123c4809; }
.metric strong,.dashboard-metric strong { color: var(--shop-teal); }
.metric-icon,.dashboard-metric-icon { display:grid; place-items:center; width:2.4rem; aspect-ratio:1; border-radius:.8rem; background:#e8f6f4; color:var(--shop-teal); }
