:root { font-family: system-ui, sans-serif; color: #183b32; background: #e7efe9; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.shell { width: min(100%, 450px); }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 20px; line-height: 1.05; font-weight: 720; }
.brand small { font-size: 13px; font-weight: 500; }
.mark { display: grid; place-items: center; width: 44px; height: 44px; background: #245844; color: #fff; border-radius: 12px; }
.panel { border: 1px solid #c8d9cc; background: #fffef9; padding: clamp(20px, 6vw, 36px); border-radius: 18px; box-shadow: 0 16px 50px #14392c12; }
.environment { color: #386752; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin: 0 0 10px; }
h1 { margin: 0; font-size: clamp(1.6rem, 5vw, 2rem); letter-spacing: -.045em; }
p { line-height: 1.55; }
#intro { color: #486055; }
#message:empty { display: none; }
#message { padding: 10px 12px; background: #edf4ee; border-radius: 6px; }
#message.error { background: #fbe7e4; color: #872a20; }
form, #controls { display: grid; gap: 12px; }
label { display: grid; gap: 5px; font-weight: 650; }
input, button { font: inherit; min-height: 44px; }
input { width: 100%; padding: 8px 10px; border: 1px solid #80978b; border-radius: 7px; background: #fff; color: inherit; }
button { cursor: pointer; border-radius: 7px; border: 1px solid #235843; background: #245844; color: #fff; font-weight: 680; padding: 9px; }
button.secondary { color: #245844; background: transparent; }
button:disabled { opacity: .6; cursor: wait; }
:is(button,input):focus-visible { outline: 3px solid #a16126; outline-offset: 3px; }
img { width: 184px; max-width: 100%; height: auto; justify-self: center; background: #fff; }
select { font: inherit; min-height: 44px; padding: 8px; border: 1px solid #80978b; border-radius: 7px; background: #fff; color: inherit; }
.owner-dashboard { align-items: start; }
.owner-dashboard .shell { width: min(100%, 1020px); margin-top: clamp(0px, 5vh, 56px); }
.dashboard-toolbar, .dashboard-nav, .record-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-toolbar { justify-content: space-between; border-block: 1px solid #d5e2d7; padding-block: 12px; }
.dashboard-nav button { border-color: transparent; }
.dashboard-nav [aria-current="page"] { background: #e7efe9; }
.dashboard-feedback { margin: 0; color: #385e4b; }
.dashboard-feedback:empty { display: none; }
.dashboard-feedback.error { color: #872a20; }
.dashboard-content h2 { margin: 8px 0 14px; letter-spacing: -.03em; }
.dashboard-content h3 { margin: 0 0 4px; font-size: 1rem; }
.dashboard-content .dashboard-form { max-width: 540px; }
.dashboard-form > button { justify-self: start; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 24px; }
.dashboard-metrics > div, .record { background: #f6f9f5; border: 1px solid #d8e5d9; border-radius: 10px; padding: 12px; }
.dashboard-metrics dt, .record-meta { color: #486055; font-size: .875rem; }
.dashboard-metrics dd { margin: 5px 0 0; font-weight: 750; font-size: 1.75rem; }
.record-list { display: grid; gap: 8px; list-style: none; padding: 0; }
.record { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 12px; overflow-wrap: anywhere; }
.record p { margin: 4px 0; }
.dashboard-empty { color: #486055; }
.cleaner-portal { align-items: start; padding-inline: clamp(12px, 4vw, 24px); }
.cleaner-portal .shell { width: min(100%, 660px); }
.cleaner-content h2 { margin: 14px 0 8px; font-size: 1.3rem; }
.cleaner-content h3 { margin: 0 0 6px; font-size: 1rem; }
.cleaner-content p { margin: 6px 0 12px; }
.cleaner-section { margin-top: 16px; border-top: 1px solid #d5e2d7; padding-top: 14px; }
.cleaner-address { font-weight: 650; overflow-wrap: anywhere; }
.cleaner-instructions { white-space: pre-wrap; overflow-wrap: anywhere; }
.cleaner-content .record { align-items: center; }
textarea { width: 100%; resize: vertical; font: inherit; padding: 8px 10px; border: 1px solid #80978b; border-radius: 7px; background: #fff; color: inherit; }
textarea:focus-visible { outline: 3px solid #a16126; outline-offset: 3px; }
