:root { color:#17211c; background:#f7faf7; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; }
button,input,textarea,select { font:inherit; }
label,input,textarea,select { min-width:0; max-width:100%; }
p,h1,h2,h3,.button,label { overflow-wrap:anywhere; }
select { min-height:42px; padding:9px; border:1px solid #b9ccc0; border-radius:6px; background:white; }
input[type="checkbox"] { width:20px; min-height:20px; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.55; }
a { color:#176d46; }
.hero { color:#fff; background:linear-gradient(90deg,rgba(7,36,24,.91),rgba(7,36,24,.52)),url('./lawnlink-hero-yard-v34.png') center 58%/cover; }
.hero-inner { width:min(1080px,100%); margin:auto; padding:28px 24px 50px; }
.brand { display:inline-flex; align-items:center; gap:10px; color:#fff; text-decoration:none; font-weight:850; font-size:18px; }
.brand img { width:40px; height:40px; }
.hero h1 { margin:48px 0 8px; font-size:40px; line-height:1.1; letter-spacing:0; }
.hero p { max-width:660px; margin:0; color:#eaf4ed; line-height:1.5; }
main { width:min(1080px,100%); margin:auto; padding:28px 24px 90px; }
.status { min-height:24px; margin:0 0 20px; color:#235d3f; font-weight:700; }
.status.error { color:#a33424; }
.section { padding:26px 0; border-top:1px solid #d7e3dd; }
.section:first-of-type { border-top:0; padding-top:4px; }
h2 { margin:0 0 14px; font-size:23px; letter-spacing:0; }
h3 { margin:0 0 6px; font-size:18px; letter-spacing:0; }
p { line-height:1.5; }
.muted { color:#66746d; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)); gap:14px; }
.item { min-width:0; padding:18px; border:1px solid #d7e3dd; border-radius:8px; background:#fff; }
.item p { margin:6px 0; }
.item strong { color:#153b29; }
.badge { display:inline-block; padding:4px 8px; border-radius:4px; color:#176d46; background:#e9f6ed; font-size:12px; font-weight:800; }
.badge.wait { color:#80540c; background:#fff3d9; }
.row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:12px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:9px 14px; border:1px solid #198956; border-radius:6px; background:#198956; color:white; text-align:center; text-decoration:none; font-weight:800; }
.button.secondary { color:#176d46; background:#fff; border-color:#b7d2c2; }
.button:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid #e3ab38; outline-offset:2px; }
form { display:grid; gap:10px; }
label { display:grid; gap:5px; font-weight:700; font-size:13px; }
input,textarea { width:100%; min-height:42px; padding:9px 10px; border:1px solid #b9ccc0; border-radius:6px; background:#fff; color:#17211c; }
textarea { min-height:80px; resize:vertical; }
.quote-form { margin-top:14px; padding-top:14px; border-top:1px solid #e0e9e3; }
.message-list { display:grid; gap:8px; margin:12px 0; }
.message { padding:10px 12px; border-left:3px solid #198956; background:#f1f8f3; overflow-wrap:anywhere; }
.message.mine { border-left-color:#d49a2f; background:#fff9ed; }
.photo { width:100%; aspect-ratio:16/9; margin:10px 0; object-fit:cover; border-radius:6px; background:#edf2ec; }
.empty { padding:18px 0; color:#66746d; }
.access { width:min(480px,100%); margin:18px auto; padding:22px; border:1px solid #d7e3dd; border-radius:8px; background:white; }
.hide { display:none !important; }
@media (max-width:600px) { .hero-inner { padding:20px 18px 38px; } .hero h1 { margin-top:36px; } main { padding:20px 18px 90px; } .item { padding:16px; } }

.dashboard-nav{display:flex;flex-wrap:wrap;gap:10px;padding:16px 0;border-bottom:1px solid #d4dfd7}.dashboard-nav a{padding:10px 12px;background:#eaf3ed;border-radius:6px;color:#123d29;font-weight:600}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.stat strong{display:block;font-size:1.7rem;margin-top:8px}.filter-row{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.filter-row label{flex:1;min-width:180px}.message time{display:block;font-size:.8rem;color:#455c4c;margin-top:6px}.section{scroll-margin-top:92px}.job-link{display:inline-block;margin-top:12px}.customer-jobs{padding-left:20px}.customer-jobs li{margin-bottom:10px}

/* Keep action feedback visible while using long dashboards. */
.status:not(:empty) { position:sticky; top:12px; z-index:20; padding:12px 16px; border:1px solid #b7d2c2; border-radius:8px; background:#f1f8f3; box-shadow:0 4px 18px #123d2920; }
.status.error:not(:empty) { background:#fff4f0; border-color:#d79b8e; }
