:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182b25;background:#e9eeeb;font-synthesis:none;--green:#19634a;--muted:#738079;--line:#e8ece9}*{box-sizing:border-box}body{margin:0 auto;max-width:480px;min-height:100dvh;background:#fff}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}header{position:sticky;top:0;z-index:3;background:#fff;display:flex;align-items:center;gap:12px;padding:calc(16px + env(safe-area-inset-top)) 20px 16px;border-bottom:1px solid var(--line)}header strong{display:block;font-size:16px;font-weight:650}header small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.brandmark{display:grid;place-items:center;background:#eaf4ee;color:var(--green);width:42px;height:42px;border-radius:13px;flex-shrink:0}.entrance-tag{font-size:11px;color:var(--muted);margin-left:auto}main{padding:24px 20px calc(100px + env(safe-area-inset-bottom));min-height:calc(100dvh - 80px)}.screen-title h1,.dashboard-head h1{font-size:28px;letter-spacing:-.8px;line-height:1.15;margin:0 0 7px;font-weight:700}.screen-title p{font-size:14px;color:var(--muted);margin:0 0 24px}.visitor-fields{margin-bottom:25px}label{display:block;font-size:12px;font-weight:550;margin:18px 0 8px}input{width:100%;border:1px solid #e1e7e2;border-radius:12px;padding:14px;background:#f7f9f7;color:#182b25;outline:none;font-size:16px;min-height:48px}input:focus{border-color:var(--green);box-shadow:0 0 0 3px #19634a12}.search{margin-top:12px;position:relative}.search input{padding-left:38px}.search span{position:absolute;left:14px;top:11px;font-size:24px;color:var(--muted)}.directory-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;padding-bottom:10px}.directory-label>span:first-child{color:#34473d;font-weight:600}#contact-count{font-size:10px;text-transform:lowercase}.contact{display:flex;align-items:center;gap:12px;min-height:80px;border-top:1px solid var(--line);padding:14px 0}.avatar{width:45px;height:45px;border-radius:50%;background:#eef3ef;color:#50745c;display:grid;place-items:center;font-size:13px;font-weight:600;flex-shrink:0}.contact-copy{flex:1;min-width:0}.contact strong{display:block;font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.contact small{display:block;font-size:12px;margin-top:4px;color:var(--muted)}.call-button{border:0;display:flex;align-items:center;justify-content:center;gap:6px;min-width:76px;min-height:44px;border-radius:12px;color:var(--green);background:#eaf5ed;font-size:12px;font-weight:600;flex-shrink:0}.call-button svg{width:17px;height:17px}.call-button:hover{background:#dceee1}.permission-note{font-size:11px;color:#8a958e;line-height:1.6;margin-top:20px;max-width:280px}#app-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;background:#ffffffed;backdrop-filter:blur(15px);border-top:1px solid var(--line);display:flex;padding:8px 18px calc(8px + env(safe-area-inset-bottom));z-index:3}#app-nav a{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px;color:#89968e;min-height:48px}#app-nav a[aria-current]{color:var(--green);font-weight:650}#app-nav a[aria-current] svg{background:#eaf5ed;box-shadow:0 0 0 7px #eaf5ed;border-radius:5px}.panel{padding:20px 0;border-top:1px solid var(--line)}.panel h2{font-size:17px;font-weight:650;margin:0;letter-spacing:-.3px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.badge{font-size:10px;border-radius:8px;background:#eef5ef;color:#4e7157;padding:6px 9px;white-space:nowrap}.subtle,.fine{font-size:13px;color:var(--muted);line-height:1.6}.fine{font-size:12px}.primary,.secondary,.danger{border:0;border-radius:12px;min-height:48px;padding:13px 17px;font-size:14px;font-weight:550;text-align:center;display:inline-flex;justify-content:center;align-items:center}.primary{background:var(--green);color:white}.secondary{background:#eff3ef;color:#42614c}.danger{background:#b64040;color:white}.wide{width:100%;margin-top:24px}.login .panel{border:0;padding:0}.login label:first-child{margin-top:0}.login .fine{text-align:center;max-width:270px;margin:18px auto}.dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:20px}.dashboard-head h1{font-size:25px}.dashboard-head .secondary{font-size:11px;padding:9px 11px;min-height:36px}.account-name{font-size:12px;color:var(--muted);margin:0 0 14px}.availability{display:flex;align-items:center;gap:7px;font-size:10px;color:#568160}.pulse{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#70aa7b}.mode-note{font-size:10px;line-height:1.6;color:#8c764c;background:#faf5e9;padding:10px 12px;border-radius:9px;margin-bottom:22px}.dashboard-grid,.stack{display:grid;grid-template-columns:1fr}.empty-state{padding:22px 0 6px}.empty-state h3{font-size:16px;font-weight:550;margin:0 0 6px}.empty-state .subtle{font-size:12px;margin:6px 0 20px}.link-button{background:none;border:0;padding:4px 0;color:var(--green);font-size:12px;cursor:pointer}.event{padding:16px 0;border-bottom:1px solid var(--line);display:flex;gap:12px}.event-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#a4baaa;margin-top:6px}.event strong{font-size:12px;font-weight:500;line-height:1.5}.event small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.qr-card{text-align:center}.qr-card img{display:block;width:150px;height:150px;margin:15px auto}.qr-card h3{font-size:15px;font-weight:600}.qr-card .secondary{font-size:12px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1px;color:var(--muted)}details summary{font-size:14px;font-weight:550;cursor:pointer;min-height:44px;align-content:center}.loading,.empty{padding:28px 0;font-size:13px;line-height:1.7;color:var(--muted)}#notice{display:none;position:fixed;bottom:calc(90px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:432px;padding:14px 18px;border-radius:12px;background:#223e31;color:white;font-size:13px;line-height:1.6;z-index:10;box-shadow:0 4px 20px #0002}#notice.visible{display:block}dialog{margin:0 auto;position:fixed;inset:0;border:0;border-radius:0;background:#10271e;color:white;width:100%;max-width:480px;height:100dvh;max-height:100dvh;padding:calc(26px + env(safe-area-inset-top)) 24px calc(26px + env(safe-area-inset-bottom));overflow-y:auto}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#17221de8}.call-top{display:flex;align-items:center;justify-content:space-between}.call-top .eyebrow{color:#98b5a5}dialog h2{font-size:29px;letter-spacing:-.7px;margin:40px 0 8px;text-align:center}#call-status{font-size:13px;color:#acc0b3;text-align:center;line-height:1.6;margin:0}.video-stage{position:relative;background:#19372a;border-radius:20px;overflow:hidden;flex:1;min-height:180px;margin:28px 0;aspect-ratio:3/4}#remote-video{width:100%;height:100%;object-fit:cover}#local-video{position:absolute;right:14px;bottom:14px;width:26%;border-radius:12px;background:#244837}.video-placeholder{position:absolute;inset:0;display:grid;align-content:center;text-align:center;font-size:16px;color:#cadace;line-height:2;pointer-events:none}.video-placeholder small{font-size:11px;color:#94ae9b}.video-placeholder[hidden]{display:none}#call-controls{display:flex;gap:12px}#call-controls button{flex:1;min-height:56px;border-radius:16px}#call-note{text-align:center;color:#8fa999;font-size:10px;line-height:1.6;min-height:24px;margin-bottom:0}:focus-visible{outline:3px solid #70aa7b;outline-offset:3px}@media(min-width:600px){body{box-shadow:0 0 60px #1836260a}dialog::backdrop{background:#17221dbb}}@media(max-width:350px){main{padding-left:16px;padding-right:16px}header{padding-left:16px;padding-right:16px}.contact{gap:10px}.contact strong{font-size:14px}.call-button{min-width:64px}.avatar{width:40px;height:40px}.entrance-tag{font-size:10px}}
