:root{color:#17211b;--brand:#166534;--bg:#f8faf8;--text:#17211b;--dark-bg:#101a14;--dark-text:#f1f5f2;--danger:#b91c1c;--warning:#92400e;background:#f8faf8;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}.app{flex-direction:column;min-height:100vh;display:flex}button,input,select,textarea{font:inherit}button,select,input{min-height:48px}button{color:#17211b;cursor:pointer;background:#fff;border:1px solid #bac9bc;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;display:inline-flex}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #92cba1}.primary{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:650}.quiet{background:0 0;border:0}.header{background:#fff;border-bottom:1px solid #e1e9e2}.header-inner,.main{width:100%;max-width:1100px;margin:auto}.header-inner{justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;display:flex}.brand{color:var(--brand);align-items:center;gap:12px;display:flex}.brand strong{font-size:20px;display:block}.brand small{color:#4b6251;font-size:12px;display:block}.header-tools{align-items:end;gap:12px;display:flex}.header-tools label{font-size:12px}.header-tools select{min-height:48px;display:block}.main{flex:1;padding:28px 24px 70px}.page-head,.section-head{justify-content:space-between;align-items:center;gap:20px;display:flex}.page-head{margin-bottom:20px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--brand);margin:0 0 4px;font-size:12px;font-weight:750}h1{margin:0;font-size:32px;line-height:1.2}h2{margin:0 0 12px;font-size:20px}.section-head{margin:0 0 18px}.section-head h2{margin:0}.section-head span{color:#496251}.connection,.badge{color:#14572c;white-space:nowrap;background:#e8f2e9;border-radius:99px;padding:7px 12px;font-size:14px}.connection:not(.connected){color:#7b3d00;white-space:normal;background:#fff4e6}.notice{border-left:4px solid var(--brand);background:#f2f7ed;border-radius:4px;padding:12px 16px;line-height:1.5}.error{color:var(--danger)}.tabs{border-bottom:1px solid #d8e4db;gap:8px;margin-bottom:24px;display:flex;overflow-x:auto}.tabs button{white-space:nowrap;color:#3d5142;background:0 0;border:0;border-radius:0;font-weight:600}.tabs button[aria-current=page]{color:var(--brand);box-shadow:inset 0 -3px var(--brand)}.tabs b{background:var(--brand);color:#fff;border-radius:99px;padding:2px 7px;font-size:12px}.panel,.record{background:#fff;border:1px solid #dce6dd;border-radius:14px;padding:24px;box-shadow:0 2px 8px #183f2010}.entry-form{gap:20px;display:grid}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;display:grid}label{gap:7px;font-size:14px;font-weight:650;display:grid}input,select,textarea{width:100%;color:var(--text);background:#fff;border:1px solid #a9baac;border-radius:9px;padding:10px 12px}textarea{resize:vertical;min-height:110px}fieldset{border:1px solid #dce6dd;border-radius:12px;padding:18px}legend{padding:0 8px;font-weight:700}.entry-form>.primary{justify-self:start}.cards{gap:12px;display:grid}.record>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.record p{margin:12px 0;line-height:1.5}.record small{color:#4b6251}.empty{text-align:center;background:#fff;border:1px dashed #b4c8b9;border-radius:14px;padding:35px 20px}.actions{flex-wrap:wrap;gap:12px;display:flex}.login{gap:18px;max-width:440px;margin:40px auto;display:grid}.login h1{font-size:24px}.login p{margin:0;line-height:1.5}footer{justify-content:center;gap:12px;padding:20px;display:flex}footer button{background:0 0;border:0;min-height:48px}.modal-backdrop{background:#07170b99;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{width:100%;max-width:500px}@media (width<=700px){.header-inner{align-items:flex-start;padding:12px 16px}.header-tools{flex-wrap:wrap;justify-content:end}.header-tools label{width:100px}.header-tools select{width:100%}.main{padding:24px 16px 60px}.grid{grid-template-columns:1fr}.page-head{flex-direction:column;align-items:flex-start}.panel,.record{padding:18px}.entry-form>.primary{width:100%}h1{font-size:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.field-hint{color:#496251;font-size:12px;font-weight:400;line-height:1.4}@media (width<=700px){.tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:visible}.tabs button{white-space:normal;text-align:center;min-width:0}}.brand strong{font-size:1.25rem}.brand small,.header-tools label,.eyebrow,.tabs b,.field-hint{font-size:.75rem}h1{font-size:2rem}h2,.login h1{font-size:1.25rem}.connection,.badge,label{font-size:.875rem}@media (width<=700px){h1{font-size:1.5rem}}h1{line-height:1.3}.tabs button{overflow-wrap:anywhere}@media (width<=700px){.section-head,.record>div{flex-wrap:wrap}.section-head>div{min-width:0}.record p,.record small{overflow-wrap:anywhere}}.photo-picker{min-width:0}.photo-picker input[type=file]{cursor:pointer;max-width:100%;height:auto;min-height:48px}.photo-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;margin-top:12px;display:grid}.photo-item{border:1px solid #dce6dd;border-radius:10px;min-width:0;padding:8px}.photo-thumb{aspect-ratio:4/3;object-fit:contain;background:#f2f7ed;border-radius:7px;width:100%;max-height:190px;display:block}.photo-item button{width:100%;margin-top:8px}.photo-status{color:#334c39;margin:8px 0;font-size:.875rem}.photo-section{border-top:1px solid #dce6dd;margin-top:16px;padding-top:14px}.photo-section h3{margin:0;font-size:1rem}.photo-section .field-hint{margin-top:10px;display:block}.owner-setup{margin-top:24px}.owner-setup>p{line-height:1.5}.setup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.setup-grid form{border:1px solid #dce6dd;border-radius:12px;align-content:start;gap:14px;min-width:0;padding:18px;display:grid}.setup-grid h3{margin:0;font-size:1rem}.setup-grid form>button{justify-self:start}.check-row{align-items:center;gap:10px;min-height:48px;display:flex}.check-row input{flex:none;width:24px;height:24px;min-height:24px}@media (width<=700px){.setup-grid{grid-template-columns:1fr}.setup-grid form>button{width:100%}}.invitation-link{align-items:end;gap:12px;margin:16px 0;display:flex}.invitation-link label{flex:1;min-width:0}.invitation-link input{width:100%;max-width:100%}@media (width<=700px){.invitation-link{display:block}.invitation-link button{width:100%;margin-top:10px}}
