:root{color:#20251f;background:#f8f5ed;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f8f5ed}button,input,select,textarea{font:inherit}button{min-width:44px;min-height:44px;border:1px solid #cbd3c7;border-radius:14px;background:#fffdf8;color:#20251f;cursor:pointer;padding:9px 14px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6fa287;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.58}input,select,textarea{width:100%;min-height:50px;border:1px solid #bfc9bd;border-radius:14px;background:#fffefa;padding:11px 13px;color:#20251f;font-size:16px}textarea{min-height:158px;resize:vertical;line-height:1.6}label{display:block;margin:18px 0 7px;color:#263126;font-weight:700}h1{font-size:clamp(2rem,8vw,2.35rem);letter-spacing:-.045em;line-height:1.15;margin:0 0 11px}h2{font-size:clamp(1.35rem,5.5vw,1.6rem);letter-spacing:-.025em;margin:0 0 5px}p{line-height:1.6}small{display:block;color:#617063;line-height:1.45;margin-top:4px}.primary{width:100%;margin-top:18px;border-color:#174c37;background:#174c37;color:#fff;font-weight:750}.danger,.danger-outline{border-color:#a9433a;color:#8c3129}.danger{background:#a9433a;color:#fff}.full{width:100%}.text-button{border:0;background:transparent;margin-top:8px;text-decoration:underline}.eyebrow{color:#397052;font-size:.82rem;font-weight:800;letter-spacing:.08em;margin:0 0 7px}.brand,.auth-brand{color:#174c37;font-size:.94rem;font-weight:800;letter-spacing:.04em;margin:0 0 7px}.notice{border-radius:13px;padding:10px 12px;background:#e8f2e9}.notice.error{background:#fff0ed;color:#812f28}.notice.success,.success{color:#216143;font-weight:650}.auth-page,.gate,.admin-page{min-height:100dvh;display:grid;place-items:center;padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom))}.auth-card,.admin-card{width:min(100%,480px);padding:clamp(24px,7vw,36px);background:#fffdf8;border:1px solid #e3dfd2;border-radius:24px;box-shadow:0 18px 45px #35423214}.admin-card{width:min(100%,720px)}.auth-card h1{margin-bottom:12px}.auth-card form{margin-top:25px}.shell{min-height:100dvh;padding-bottom:calc(88px + env(safe-area-inset-bottom))}.shell-header{display:flex;align-items:center;justify-content:space-between;padding:max(18px,env(safe-area-inset-top)) 20px 13px;background:#f8f5ed}.shell-greeting{color:#697569;font-size:.94rem;margin:0}.avatar{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:50%;background:#dbe9da;color:#174c37;font-weight:800}.shell-content{max-width:760px;margin:0 auto}.page{padding:16px 20px 28px}.lead{max-width:32rem;margin:0 0 21px;color:#586659}.card{margin:16px 0;padding:20px;border:1px solid #e3dfd2;border-radius:21px;background:#fffdf8;box-shadow:0 5px 17px #39442d08}.empty-state{color:#516052}.unavailable{border-style:dashed;background:#faf8f2}.record-prompt{display:grid;width:100%;grid-template-columns:42px 1fr 20px;gap:13px;align-items:center;min-height:94px;padding:16px;border:0;border-radius:22px;background:#174c37;color:#fff;text-align:left;box-shadow:0 10px 22px #174c3730}.record-prompt small{color:#e4efe5;font-size:.88rem}.prompt-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#e1efdf;color:#174c37;font-size:1.8rem;line-height:1}.prompt-arrow{font-size:2rem;font-weight:300}.records-heading{margin:34px 0 12px}.records-heading h2{font-size:1.5rem}.records-heading p{margin:3px 0 0;color:#687568;font-size:.93rem}.bottom-nav{position:fixed;z-index:2;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;left:0;right:0;bottom:0;min-height:76px;padding:7px 6px calc(7px + env(safe-area-inset-bottom));background:#fffdf8;border-top:1px solid #e4e0d5}.bottom-nav button{min-width:0;min-height:50px;padding:5px 2px;border:0;border-radius:12px;background:transparent;color:#687568;font-size:.81rem}.bottom-nav .active{color:#174c37;font-weight:800;background:#e8f0e6}.bottom-nav .nav-add{display:grid;justify-items:center;align-content:end;gap:1px;color:#174c37;font-weight:800}.nav-add>span{display:grid;width:52px;height:52px;margin-top:-27px;place-items:center;border:4px solid #f8f5ed;border-radius:50%;background:#174c37;color:#fff;font-size:2rem;line-height:1;box-shadow:0 5px 13px #174c3735}.nav-add small{color:inherit;font-size:.75rem;margin:0}.section-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.session-list,.admin-list,.record-list{list-style:none;padding:0;margin:0}.session-list li,.admin-list li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #ebe7dd}.session-list li:last-child,.admin-list li:last-child{border-bottom:0}.tabs{display:flex;gap:8px;margin:20px 0 12px}.tabs button[aria-selected=true]{background:#dcece1;border-color:#276447}.record-list li{margin-bottom:10px}.record-card{width:100%;min-height:82px;padding:15px 16px;border-color:#e3dfd2;border-radius:18px;background:#fffdf8;text-align:left}.record-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.back-button{margin:0 0 22px;border:0;background:transparent;color:#35694e;padding-left:0}.record-copy{white-space:pre-wrap;font-size:1.08rem}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:18px}.media-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:13px}.media-grid audio{grid-column:1/-1;width:100%}.identity-card{display:flex;gap:14px;align-items:center;margin:18px 0 22px;padding:20px;border-radius:22px;background:#174c37;color:#fff}.identity-card h2,.identity-card p{margin:0}.identity-card p{color:#e2eee4}.identity-card small{color:#c7dccb}.identity-avatar{flex-basis:50px;width:50px;height:50px;background:#e2efdf}.account-group{margin-top:18px}.dialog-backdrop{position:fixed;z-index:10;inset:0;display:grid;place-items:center;padding:20px;background:#14201880}.dialog{width:min(100%,420px);padding:22px;border-radius:20px;background:#fffdf8;box-shadow:0 18px 46px #0005}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.dialog code{display:block;margin:16px 0;padding:14px;overflow-wrap:anywhere;background:#f0eee6;border-radius:8px;font-size:1rem}.sheet-backdrop{position:fixed;z-index:8;inset:0;display:flex;align-items:flex-end;background:#14201880}.sheet{width:100%;max-height:min(calc(var(--sheet-viewport-height,100dvh) - 8px),760px);overflow:auto;padding:20px 20px calc(25px + env(safe-area-inset-bottom));border-radius:25px 25px 0 0;background:#fffdf8;box-shadow:0 -12px 40px #0003}.sheet header{position:sticky;z-index:1;top:-20px;display:flex;align-items:start;justify-content:space-between;gap:16px;margin:-20px -20px 16px;padding:20px;background:#fffdf8;border-bottom:1px solid #ebe7dd}.sheet header h1{margin:0;font-size:clamp(1.75rem,7vw,2.15rem)}.sheet-intro{margin:0 0 18px;color:#536153}.hint,.count,.submit-reason{color:#607061;font-size:.88rem}.count{text-align:right;margin:4px 0}.count.over{color:#8c3129;font-weight:700}.prompt-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.prompt-chips button{min-height:44px;padding:7px 10px;border:0;border-radius:999px;background:#edf1e8;color:#516652;font-size:.82rem}.photo-fieldset{margin:20px 0 0;padding:0;border:0}.photo-fieldset legend{font-weight:700}.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:9px}.file-choice{display:grid;min-height:48px;place-items:center;margin:0;padding:8px;border:1px dashed #8ba18d;border-radius:14px;color:#24543d;cursor:pointer;text-align:center}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.upload-grid article{overflow:hidden;padding:8px;border:1px solid #dfddd2;border-radius:14px}.upload-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.upload-grid button{width:100%;margin-top:8px}.upload-grid .notice button{background:transparent;border:0;text-decoration:underline}.sheet-submit{margin-bottom:0}.submit-reason{margin:8px 2px 0;text-align:center}@media(min-width:700px){.shell-header,.shell-content{max-width:760px;margin-left:auto;margin-right:auto}.bottom-nav{left:50%;width:min(720px,100%);transform:translate(-50%);border-left:1px solid #e4e0d5;border-right:1px solid #e4e0d5;border-radius:16px 16px 0 0}}html,body,#root{width:100%;max-width:100%;overflow-x:hidden}input,select,textarea{font-size:16px}@media(max-width:430px){.page,.shell-header,.sheet{min-width:0}}
