:root{color-scheme:light}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{display:grid;grid-template-rows:auto auto minmax(0,1fr);height:100vh;height:100dvh;background:#f6f8ed;font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;color:#183e3b}
.voice-check{background:#f6f8ed;border-bottom:1px solid #d5e0d2;padding:0 max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left))}
.voice-check>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:750}
.voice-check-body{display:grid;gap:8px;padding:0 0 12px}
.voice-check-body label{font-weight:700;font-size:.95rem}
.voice-check select,.voice-check-actions button{font:inherit;min-height:44px;border:1px solid #174a46;border-radius:12px;background:#fff;color:#183e3b}
.voice-check select{display:block;width:100%;margin-top:4px;padding:8px}
.voice-check-actions{display:flex;flex-wrap:wrap;gap:8px}
.voice-check-actions button{padding:8px 14px;cursor:pointer;touch-action:manipulation}
.voice-check-debug{font-size:.95rem}
.voice-check-debug p{white-space:pre-line;margin:8px 0 0}
.app-tabs{display:grid;grid-template-columns:48px repeat(3,minmax(0,1fr));align-items:center;gap:8px;padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));background:#174a46;z-index:3}
.tab-photo{width:48px;height:48px;object-fit:cover;border-radius:50%;border:2px solid #ffe073;display:block}
.app-tabs button{font:inherit;font-weight:750;font-size:1rem;line-height:1.3;min-height:48px;padding:12px 8px;cursor:pointer;touch-action:manipulation;border:2px solid #ffffff60;border-radius:14px;background:transparent;color:white}
.app-tabs button[aria-selected="true"]{background:#ffe073;border-color:#ffe073;color:#183e3b}
.app-tabs button:focus-visible{outline:3px solid white;outline-offset:2px}
.panels{min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}
.panels>section{min-height:100%}
.panels>section[hidden]{display:none}
@media(max-width:420px){.app-tabs button{font-size:.92rem;padding:10px 4px}}
