:root{color-scheme:light;--navy:#15253b;--cyan:#07aebe;--green:#147c67;--pale:#e9f8f8;--text:#15253b}*{box-sizing:border-box}html{min-height:100%;background:var(--pale)}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);min-height:100vh;min-height:100dvh;background:linear-gradient(155deg,#e5faf8,#f6fbfc)}.app{max-width:520px;margin:0 auto;min-height:100vh;min-height:100dvh;padding:calc(26px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column}header{display:flex;align-items:center;gap:12px;color:var(--navy);font-size:18px;font-weight:600}header b{color:var(--green)}.brandmark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--cyan);color:white;font-size:27px;font-weight:900}.panel{margin:auto 0;background:white;border:1px solid #ccebed;border-radius:24px;box-shadow:0 15px 60px #15253b12;padding:clamp(22px,6vw,36px)}.panel[hidden]{display:none}.eyebrow{text-transform:uppercase;letter-spacing:2.5px;font-weight:800;font-size:12px;color:var(--green)}h1{font-size:clamp(29px,7vw,42px);line-height:1.12;letter-spacing:-.035em;margin:12px 0 16px}p{font-size:16px;line-height:1.55;color:#486070}label{display:block;font-weight:750;font-size:14px;margin:23px 0 10px}input{display:block;width:100%;height:67px;font-size:35px;letter-spacing:.24em;font-weight:750;text-align:center;border:2px solid #b6dadf;border-radius:14px;margin-bottom:13px;color:var(--navy)}button{width:100%;display:block;cursor:pointer;border:none;border-radius:13px;padding:17px 14px;font:700 17px/1.25 inherit;font-family:inherit;font-size:17px;font-weight:750;background:var(--cyan);color:var(--navy);min-height:56px;margin-top:12px}button.primary{background:var(--green);color:white;min-height:80px;font-size:19px}button.alert{background:#b7372d;color:white;min-height:80px;font-size:19px}button:disabled{opacity:.56;cursor:wait}.notice{font-size:15px;line-height:1.5;border-radius:12px;margin:18px 0;padding:14px;background:#e7f6f4;color:#075347;min-height:16px}.notice:empty{display:none}.notice.error{background:#fff0ed;color:#9a2b20}.muted{font-size:13px;color:#627885;margin-top:18px}.textbtn{background:transparent;color:#315465;text-decoration:underline;padding:9px;min-height:auto;font-size:13px}.footer{margin:28px 0 0;text-align:center;color:#54717b;font-size:13px}@media(max-width:375px){.panel{padding:21px}h1{font-size:29px}}

.brandmark img{display:block;width:32px;height:32px;object-fit:contain}.pair-consent{display:flex;align-items:flex-start;gap:10px;margin:14px 0 17px;font-weight:500;font-size:13px;line-height:1.45;color:#355c69}.pair-consent input{width:19px;height:19px;min-width:19px;min-height:19px;letter-spacing:normal;margin:1px 0 0;accent-color:#078998}.advanced{margin-top:18px;border-top:1px solid #dcebec;padding-top:13px}.advanced summary{cursor:pointer;color:#376474;font-size:13px;font-weight:700}.advanced p{margin:9px 0}.advanced button{margin-top:6px}

/* 1.0.3: Distinct, accessible Connect installation prompt. */
.app{gap:16px}.app .panel{margin:0;background:#fff}.app #install-card{margin-top:12px;border:2px solid #b7e4e7;padding:clamp(19px,5vw,29px)}.mcc-child-install h1{font-size:clamp(24px,6.5vw,32px)}.mcc-child-install p{margin:8px 0}.mcc-child-install button{background:#078998;color:#fff;line-height:1.35}.mcc-child-install .muted{margin-top:12px}.app #setup{margin-top:0}.app #connected{margin:auto 0}.app #setup h1{font-size:clamp(28px,6vw,37px)}.app .brandmark img{width:33px;height:33px}

/* v1.1.0: the same installed app can share location and receive alerts. */
.mcc-receiver-panel{margin-top:0!important;margin-bottom:12px!important}
.mcc-receiver-panel h2{font-size:clamp(20px,5vw,28px);line-height:1.25;margin:10px 0;color:#15253b}
.mcc-receiver-panel>p{font-size:14px}
.mcc-receiver-panel .mcc-add-code{display:block;padding:16px;background:#e6f7f6;border:1px solid #b4dfdd;border-radius:12px;color:#076977;font-size:16px;font-weight:750;cursor:pointer;margin:16px 0}
.mcc-receiver-panel details[open] .mcc-add-code{margin-bottom:10px}
.mcc-receiver-panel #receiver-form{padding:0 4px 14px}
.mcc-receiver-panel #receiver-actions[hidden],.mcc-share-toggle[hidden]{display:none}
.mcc-receiver-panel #receiver-actions button{font-size:14px;min-height:46px;line-height:1.3}
.mcc-receiving-row{display:flex;align-items:center;gap:11px;border:1px solid #d5e9e9;background:#f5fbfb;border-radius:10px;padding:12px 14px;margin:8px 0;font-size:14px}
.mcc-receiving-row span{color:#078998;font-size:20px;font-weight:bold}
.mcc-receiver-panel #receiver-alerts h3{font-size:17px;margin:20px 0 8px;color:#15253b}
.mcc-received-alert{display:grid;gap:6px;padding:14px 0;border-top:1px solid #d2e6e7}
.mcc-received-alert strong{font-size:14px}.mcc-received-alert small{color:#627885;font-size:12px}
.mcc-received-alert a{display:inline-block;font-size:13px;color:#086c78;font-weight:bold;text-decoration:underline}
.mcc-share-toggle{margin:10px 0;background:#f5fbfb;color:#086c78;border:1px solid #b7e1e4;font-size:14px}

/* v1.1.1: contact requests, no location permissions or continuous tracking. */
.mcc-contact-inbox{margin:22px 0 2px;padding:18px 16px;border:1px solid #c9e5e6;border-radius:16px;background:#f4fbfb}
.mcc-contact-inbox h2{font-size:20px;line-height:1.25;margin:0;color:#15253b}
.mcc-contact-inbox>.muted{margin:8px 0 14px}
.mcc-quiet-button{min-height:45px!important;font-size:14px!important;line-height:1.35!important;background:#e2f5f5!important;border:1px solid #a6d5d8!important;color:#086978!important;padding:10px 12px!important}
.mcc-contact-request-item{background:white;border:1px solid #c7e3e5;border-radius:11px;padding:14px;margin:12px 0;display:grid;gap:7px}
.mcc-contact-request-item strong{font-size:16px;color:#15253b}
.mcc-contact-request-item small{font-size:12px;color:#617987}
.mcc-contact-buttons{display:grid;gap:8px}
.mcc-contact-buttons button{margin:0}
.mcc-call-link{min-height:45px;background:#078998;color:#fff!important;text-decoration:none!important;display:flex;align-items:center;justify-content:center;border-radius:10px;padding:10px 14px;font-weight:750;font-size:14px}
.mcc-receiving-row{flex-wrap:wrap}
.mcc-contact-recipient-box{width:100%;flex-basis:100%;border-top:1px solid #d8e8e8;padding-top:12px;display:grid;gap:8px}
.mcc-contact-recipient-box small{color:#446572;font-size:12px;line-height:1.4}
.mcc-contact-recipient-box input{height:45px;font-size:14px;letter-spacing:normal;text-align:left;margin:0;padding:10px;border-width:1px}
.mcc-contact-recipient-box .mcc-quiet-button{margin:0}

/* v1.1.2: explicit, in-app phone permissions; no automatic sharing. */
.mcc-permissions-panel{margin:0!important;padding:22px!important;border-color:#b8e1e4!important;background:#f2fbfb!important}
.mcc-permissions-panel h2{font-size:clamp(22px,5vw,29px);line-height:1.2;margin:10px 0;color:#15253b}
.mcc-permissions-panel>.muted{margin:0 0 12px;font-size:14px}
.mcc-permission-row{padding:16px 0;border-top:1px solid #cce6e9;display:grid;gap:8px}
.mcc-permission-row[hidden],.mcc-permissions-panel[hidden]{display:none!important}
.mcc-permission-row strong{display:block;color:#15253b;font-size:16px}
.mcc-permission-row small{display:block;margin:4px 0;color:#486978;font-size:13px;line-height:1.45}
.mcc-permission-row .mcc-permission-state{font-size:13px;color:#087787;margin:0}
.mcc-permission-row button{width:100%;margin:0}
