/* Shared styles for every Greenroom page. Loaded before each page's own <style>, so pages only add what is unique to them. */
:root{--g:#164c3b;--g2:#246b52;--mint:#eaf5ef;--bg:#f5f7f5;--ink:#10251e;--muted:#687771;--line:#dfe7e2;--red:#b64242}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);line-height:1.5}
button,input,select,textarea{font:inherit}button{cursor:pointer}

/* Header */
.top{min-height:60px;background:#0f3b2b;display:flex;align-items:center;flex-wrap:wrap;gap:10px;justify-content:space-between;padding:10px max(30px,calc((100% - 840px)/2))}
.brand{font-size:24px;font-weight:900;color:#fff;text-decoration:none}.brand span{display:inline-grid;place-items:center;width:34px;height:34px;background:#fff;color:var(--g);border-radius:10px;margin-right:8px}.brand{display:inline-flex;align-items:center}.brand img{width:34px;height:34px;border-radius:50%;object-fit:cover;margin-right:8px;flex:none}
.brand .sa{display:inline;width:auto;height:auto;background:none;color:#5fd08f;border-radius:0;margin:0}
.top nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px}
.top .navlink{color:#fff;font-weight:600;font-size:15px;text-decoration:none;margin:0}.top .navlink:hover,.top .navlink[aria-current=page]{text-decoration:underline;text-underline-offset:4px}
.top .btn{padding:7px 14px;background:#fff;color:var(--g);font-size:14px;border-radius:8px}

/* Layout and building blocks */
.content{padding:30px;max-width:900px;margin:0 auto}
.hero{background:linear-gradient(135deg,#164c3b,#2c7559);color:#fff;border-radius:22px;padding:30px;margin-bottom:22px}.hero h1{font-size:36px;line-height:1.15;margin:0 0 8px}.hero p{color:#d5e6df;margin:0}.hero a{color:#fff}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 2px 8px #10251e05}
.btn{display:inline-block;border:0;border-radius:10px;padding:12px 16px;font-weight:800;text-decoration:none;cursor:pointer}.primary{background:var(--g);color:#fff}.primary:disabled{opacity:.6;cursor:wait}.secondary{background:#edf3f0;color:var(--g)}
.hidden{display:none!important}

/* Forms */
.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:grid;gap:6px;align-content:start}.field.full{grid-column:1/-1}
.field>label,.field>.lbl{font-size:12px;font-weight:900}
.field input:not([type=checkbox]):not([type=radio]):not([type=file]),.field select,.field textarea{border:1px solid var(--line);padding:12px;border-radius:10px;background:#fff;width:100%}.field textarea{min-height:110px}
.hint{font-size:12px;color:var(--muted)}.warn{font-size:13px;background:#fff7e6;border:1px solid #f1d9a6;color:#7a5410;border-radius:10px;padding:8px 12px}
.notice{padding:13px 15px;border-radius:12px;font-size:14px;margin-top:15px}.notice.ok{background:var(--mint);border:1px solid #a9cfbc;color:var(--g2)}.notice.err{background:#fee9e9;border:1px solid #f3c4c4;color:var(--red)}

/* Footer */
.site-footer{background:#103b2e;color:#cfe1d9;text-align:left;font-size:14px;padding:34px 30px 22px;margin-top:20px}
.site-footer .foot-grid{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:22px}
.site-footer h4{color:#fff;font-size:14px;margin:0 0 8px}.site-footer p{margin:0 0 6px}
.site-footer a{color:#fff}.site-footer .fbrand{font-size:20px;font-weight:900;color:#fff;margin-bottom:6px}
.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin-bottom:6px}
.site-footer .legal{max-width:900px;margin:24px auto 0;padding-top:16px;border-top:1px solid #ffffff22;color:#9fbcb0;font-size:13px}

@media(max-width:600px){.top{padding:12px 15px}.content{padding:15px}.hero{padding:26px 20px}.hero h1{font-size:28px}.formgrid{grid-template-columns:1fr}.site-footer{padding:28px 15px 18px}}
