:root{--green:#0e6b5b;--green-dark:#0a4f44;--green-tint:#ddf0ea;--yellow:#f4b740;--yellow-tint:#fdf0cf;--yellow-ink:#5c3d00;--coral:#a93f20;--coral-tint:#fbe0d8;--blue:#174a85;--blue-tint:#dce9f8;--ground:#f4f7f5;--card:#ffffff;--ink:#14312b;--ink-soft:#3d5650;--muted:#55706a;--line:#c6d4d0;--line-soft:#e1e9e6;--shadow:0 4px 14px rgba(20,49,43,0.06)}*{box-sizing:border-box}body,html{margin:0;padding:0}body{font-family:Nunito,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--ground);color:var(--ink);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.15}h1,h2{font-weight:800}h2{font-size:19px}h3{font-size:17px;font-weight:800}a{color:var(--green);text-decoration:none;font-weight:700}a:hover{color:var(--green-dark)}button,input,select,textarea{font-family:inherit;font-size:16px;color:inherit}:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.muted{color:var(--muted)}.small{font-size:14px}.center{text-align:center}.error{color:#8f2f14}.error,.ok{font-weight:700}.ok{color:var(--green-dark)}.app{min-height:100dvh;display:flex}.sidebar{display:none}.main-col{flex:1 1;min-width:0;display:flex;flex-direction:column}.topbar{background:var(--green);color:#fff;padding:10px 12px 10px 16px;display:flex;align-items:center;justify-content:space-between}.topbar-brand{font-size:20px;font-weight:800}.topbar-actions{display:flex;gap:6px}.icon-btn{width:44px;height:44px;border-radius:22px;background:var(--green-dark);display:flex;align-items:center;justify-content:center}.icon-btn,.icon-btn:hover{color:#fff}.content{flex:1 1;padding:20px 16px 96px;display:flex;flex-direction:column;gap:16px;max-width:980px;width:100%;margin:0 auto}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:10;background:#fff;border-top:1px solid var(--line-soft);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 4px calc(8px + env(safe-area-inset-bottom))}.tab{min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:12px;font-weight:700;color:var(--muted)}.tab.active{color:var(--green);font-weight:800}@media (min-width:900px){.sidebar{display:flex;flex-direction:column;gap:4px;width:240px;flex-shrink:0;background:var(--green);color:#fff;padding:28px 16px;position:-webkit-sticky;position:sticky;top:0;height:100dvh}.brand{font-size:24px;font-weight:800;padding:0 12px}.brand-sub{font-size:14px;color:#cfe9e2;padding:0 12px 16px}.side-nav{display:flex;flex-direction:column;gap:4px}.side-link{min-height:46px;border-radius:12px;color:#fff;padding:0 12px;display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}.side-link:hover{color:#fff;background:rgba(255,255,255,.1)}.side-link.active{background:var(--green-dark);font-weight:800}.tabbar,.topbar{display:none}.content{padding:32px 32px 48px}}.stack{flex-direction:column;gap:14px}.row,.stack{display:flex}.row{gap:10px;align-items:center;flex-wrap:wrap}.row-between{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}.grow{flex:1 1;min-width:0}.page-head{gap:4px}.card,.page-head{display:flex;flex-direction:column}.card{background:var(--card);border-radius:18px;padding:16px;box-shadow:var(--shadow);gap:10px}.list{display:flex;flex-direction:column;gap:12px}.empty{background:var(--card);border:2px dashed var(--line);border-radius:18px;padding:24px 16px;color:var(--muted)}.btn,.empty{text-align:center}.btn{min-height:46px;padding:0 16px;border-radius:13px;border:1.5px solid transparent;font-weight:800;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:disabled{opacity:.6;cursor:default}.btn-lg{min-height:54px;font-size:17px;border-radius:16px}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:var(--green-dark);color:#fff}.btn-accent{background:var(--yellow);color:var(--ink)}.btn-outline{background:#fff;color:var(--green);border-color:var(--green)}.btn-danger{background:#fff;color:var(--coral);border-color:var(--coral)}.btn-ghost{background:transparent;color:var(--ink-soft)}.link-btn{background:none;border:none;padding:10px 0;min-height:44px;color:var(--muted);font-weight:700;font-size:14px;cursor:pointer;text-decoration:underline}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:14px;font-weight:700;color:var(--ink-soft)}.input{min-height:50px;width:100%;border:1.5px solid var(--line);border-radius:14px;padding:10px 14px;background:#fff}textarea.input{min-height:90px;resize:vertical}.input-code{font-size:24px;letter-spacing:6px;text-align:center;font-weight:800}.checkline{display:flex;gap:10px;align-items:flex-start;font-size:15px}.checkline input{width:22px;height:22px;margin-top:1px;flex-shrink:0;accent-color:var(--green)}.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.chip{min-height:44px;padding:0 16px;border-radius:22px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-weight:700;font-size:15px;cursor:pointer;flex-shrink:0}.chip.active{background:var(--green);border-color:var(--green);color:#fff}.segmented{background:#e3ebe8;border-radius:16px;padding:4px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:4px;gap:4px}.segmented button{min-height:44px;border:none;border-radius:12px;background:transparent;color:var(--ink-soft);font-weight:700;font-size:15px;cursor:pointer}.segmented button.active{background:#fff;color:var(--ink);font-weight:800}.badge{border-radius:12px;padding:5px 10px;font-size:13px;font-weight:800;white-space:nowrap;display:inline-block}.badge-green{background:var(--green-tint);color:var(--green-dark)}.badge-yellow{background:var(--yellow-tint);color:var(--yellow-ink)}.badge-blue{background:var(--blue-tint);color:var(--blue)}.badge-coral{background:var(--coral-tint);color:#7a2c14}.badge-grey{background:#e3ebe8;color:var(--ink-soft)}.avatar{width:44px;height:44px;border-radius:22px;background:var(--green-tint);color:var(--green);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;flex-shrink:0}.notice{background:var(--yellow-tint);color:var(--yellow-ink);border-radius:16px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start;font-size:14px}.notice svg{flex-shrink:0}.notice-green{background:var(--green-tint);color:var(--green-dark)}.quote{font-size:14px;color:var(--ink-soft)}.hero{background:var(--green);color:#fff;border-radius:22px;padding:22px 20px;display:flex;flex-direction:column;gap:4px}.hero p{color:#e3f3ee}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}@media (min-width:900px){.tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}.tile{background:#fff;border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:8px;box-shadow:0 6px 18px rgba(20,49,43,.08)}.tile,.tile:hover{color:var(--ink)}.tile-icon{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center}.tile-title{font-size:17px;font-weight:800}.tile-sub{font-size:14px;color:var(--muted);font-weight:400}.activity{background:#fff;border-radius:16px;padding:12px 14px;display:flex;gap:12px;align-items:center}.activity,.activity:hover{color:var(--ink)}.activity-title{font-size:15px;font-weight:700}.items-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}@media (min-width:700px){.items-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.item-card{background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow)}.item-photo{width:100%;object-fit:cover;display:block}.item-photo,.item-photo-empty{height:130px;background:var(--green-tint)}.item-photo-empty{color:var(--green-dark);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}.item-body{padding:12px;gap:6px}.chat,.item-body{display:flex;flex-direction:column}.chat{gap:10px}.day-sep{align-self:center;background:#e3ebe8;color:var(--ink-soft);border-radius:10px;padding:4px 12px;font-size:12px;font-weight:700}.msg-row{display:flex;gap:10px;align-items:flex-end}.msg-row.mine{justify-content:flex-end}.bubble{max-width:min(78%,520px);background:#fff;border-radius:18px 18px 18px 4px;padding:10px 14px;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}.bubble.mine{background:var(--green);color:#fff;border-radius:18px 18px 4px 18px}.bubble-author{font-size:13px;font-weight:800;color:var(--green)}.bubble-body{white-space:pre-wrap;font-size:15px}.bubble-meta{font-size:12px;color:var(--muted);display:flex;gap:10px;align-items:center}.bubble.mine .bubble-meta{color:#cfe9e2;justify-content:flex-end}.bubble.mine .link-btn{color:#cfe9e2}.bubble .link-btn{min-height:0;padding:0;font-size:12px}.composer{position:-webkit-sticky;position:sticky;bottom:76px;background:var(--ground);padding:8px 0;display:flex;gap:8px;align-items:center}@media (min-width:900px){.composer{bottom:0}}.composer .input{border-radius:24px}.send-btn{width:50px;height:50px;border-radius:25px;border:none;background:var(--green);color:#fff;justify-content:center;flex-shrink:0;cursor:pointer}.report-form,.send-btn{display:flex;align-items:center}.report-form{gap:8px;flex-wrap:wrap;width:100%}.report-form .input{flex:1 1;min-width:180px}.welcome{min-height:100dvh;background:var(--green)}.welcome,.welcome-head{display:flex;flex-direction:column}.welcome-head{padding:36px 24px 24px;color:#fff;gap:12px;max-width:520px;width:100%;margin:0 auto}.welcome-head h1{font-size:32px}.welcome-head p{color:#e3f3ee;font-size:17px}.welcome-logo{width:56px;height:56px;border-radius:18px;background:var(--yellow);color:var(--ink);display:flex;align-items:center;justify-content:center}.welcome-panel{flex:1 1;background:var(--ground);border-radius:28px 28px 0 0;padding:26px 24px 32px}.welcome-panel>form{max-width:472px;margin:0 auto}.gate{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px}.gate-card{background:#fff;border-radius:22px;padding:28px 24px;max-width:440px;width:100%;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow)}.gate-icon{width:56px;height:56px;border-radius:18px;background:var(--green-tint);color:var(--green);display:flex;align-items:center;justify-content:center}.prose{max-width:680px;margin:0 auto;padding:32px 20px 64px;gap:14px}.prose,.prose ul{display:flex;flex-direction:column}.prose ul{margin:0;padding-left:20px;gap:6px}