:root{--paper:#f8f6f0;--ink:#353d35;--muted:#777970;--line:#e5e3d9;--green:#596c58;--green-dark:#435641;--sand:#e9e0cf;--red:#ae5c51;--font:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",sans-serif}*{box-sizing:border-box}html{min-height:100%;background:#eae7df}body{margin:0;min-height:100vh;min-height:100dvh;color:var(--ink);font-family:var(--font);display:grid;place-items:center;padding:48px 24px;background:radial-gradient(ellipse at 22% 15%,#f5f2eb 0,transparent 60%),#eae7df;font-size:15px;line-height:1.6}button,input,textarea,a{-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8b9a7a;outline-offset:4px}[hidden]{display:none!important}.icon-library{width:0;height:0;position:absolute}.icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.phone{width:420px;max-width:100%;min-height:820px;position:relative;display:flex;flex-direction:column;background:var(--paper);border:8px solid #353c34;border-radius:48px;box-shadow:0 28px 70px #3b3e3820,0 4px 12px #3b3e3815;overflow:hidden}.app-header{display:flex;justify-content:space-between;align-items:center;padding:25px 24px 14px;gap:12px}.brand{font-size:18px;letter-spacing:3px;font-weight:700;text-decoration:none;display:flex;align-items:center;gap:10px}.brand span{font-size:11px;font-weight:400;letter-spacing:1px;color:var(--muted)}.local-badge{font-size:10px;color:var(--muted);letter-spacing:.1px;display:flex;align-items:center;gap:6px}.local-badge>span{width:5px;height:5px;background:#9ba78d;border-radius:50%}.screen{flex:1;padding:24px;min-width:0}.section-kicker{font-size:10px;letter-spacing:2.2px;color:#838777;margin-bottom:12px;font-weight:600}h1,h2,p{margin-top:0}h1{font-size:27px;font-weight:550;letter-spacing:-1px;line-height:1.4;margin-bottom:10px}h2{font-size:26px;letter-spacing:-.8px;font-weight:550}.intro{color:var(--muted);font-size:13px;margin-bottom:32px}.avatar{border-radius:50%;background:linear-gradient(145deg,#e7e5da,#d9ddcf);display:grid;place-items:center;overflow:hidden;flex:none}.avatar svg{width:40%;height:40%;stroke:#959f89;stroke-width:1;fill:none}.avatar img{width:100%;height:100%;object-fit:cover}.large{width:116px;height:116px;margin:0 auto}.small{width:42px;height:42px}.person-main{text-align:center;padding:8px 0 28px}.person-main h2{margin:20px 0 4px;font-size:30px;overflow-wrap:anywhere}.person-number{font-size:14px;letter-spacing:1px;color:var(--muted);margin-bottom:8px;overflow-wrap:anywhere}.text-button{border:0;background:none;color:var(--muted);font-size:12px;padding:10px 8px;min-height:44px;text-align:center;display:inline-flex;justify-content:center;align-items:center;gap:6px}.text-button .icon{width:14px;height:14px}.contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.action-tile{border:0;background:none;padding:0;display:grid;justify-items:center;gap:10px;color:var(--ink);min-width:0}.action-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;transition:transform .15s,filter .15s}.action-tile:hover .action-icon{transform:translateY(-3px);filter:brightness(.97)}.action-icon .icon{width:26px;height:26px}.green{background:var(--green);color:#fff}.sand{background:#e9decb;color:#81745f}.stone{background:#e3e5df;color:#6c7765}.action-tile strong{font-size:12px;font-weight:500;white-space:nowrap}.quiet-note{text-align:center;padding:36px 0 12px;color:#85877d;font-size:12px;line-height:1.9}.tiny-line{display:block;width:22px;height:1px;background:#c9cdbf;margin:0 auto 18px}.contact-form{display:flex;flex-direction:column}.photo-picker{text-align:center;margin:0 0 24px}.photo-button{display:block;width:fit-content;margin:10px auto 0;font-size:12px;color:var(--green);cursor:pointer;padding:8px;min-height:44px}.photo-button span{font-size:10px;color:var(--muted);margin-left:6px}.contact-form>label{font-size:12px;font-weight:600;display:flex;align-items:center;gap:8px;margin-bottom:8px}.contact-form label>span{font-size:10px;font-weight:400;color:var(--muted)}.contact-form label>.required{color:var(--green)}input:not([type=file]),textarea{width:100%;border:1px solid var(--line);border-radius:12px;background:#fffefb;color:var(--ink);padding:13px 14px;font-size:16px;min-height:48px}.contact-form>input{margin-bottom:20px}input::placeholder,textarea::placeholder{color:#a2a39b;font-size:13px}.contact-form #contact-number{margin-bottom:8px}.field-note{font-size:11px;line-height:1.7;color:var(--muted)}.form-buttons{display:flex;gap:12px;margin-top:16px}.button{min-height:48px;border-radius:14px;border:1px solid transparent;padding:12px 18px;display:inline-flex;gap:8px;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:550;transition:background .15s}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-dark)}.secondary{background:transparent;border-color:#d9dbd0;color:var(--green)}.danger,.stop{background:var(--red);color:white}.form-buttons .primary{flex:1}.privacy-note{font-size:10px;text-align:center;line-height:1.9;color:#93958b;margin:32px 0 4px}.home-indicator{width:100px;height:4px;border-radius:4px;background:#c0c4b8;margin:16px auto 10px;flex:none}.back-button{display:inline-flex;align-items:center;gap:2px;border:0;background:none;color:var(--green);padding:0 0 0 0;min-height:44px;font-size:13px;margin-bottom:24px}.back-button .icon{width:20px;height:20px}.call-screen{display:flex;flex-direction:column}.call-person{text-align:center;padding-top:8px}.call-avatar{width:142px;height:142px;margin:20px auto 22px}.call-person h1{font-size:32px;overflow-wrap:anywhere}.call-status{color:var(--green);font-size:13px;margin:28px 0 12px}.call-waves{height:28px;display:flex;align-items:center;justify-content:center;gap:5px}.call-waves i{height:7px;width:3px;border-radius:3px;background:#9aa48c;animation:wave 1.4s ease-in-out infinite}.call-waves i:nth-child(2){animation-delay:.2s}.call-waves i:nth-child(3){animation-delay:.4s}.call-waves i:nth-child(4){animation-delay:.6s}.call-waves i:nth-child(5){animation-delay:.8s}.call-waves.stopped i{animation:none;height:4px}.call-bottom{margin-top:auto;text-align:center;padding-top:36px}.call-voice{display:flex;gap:7px;align-items:center;justify-content:center;margin:0 auto 24px;min-height:44px;color:var(--green);border:0;background:transparent;font-size:13px}.hangup{border:0;display:grid;place-items:center;width:66px;height:66px;background:var(--red);border-radius:50%;color:white;margin:auto}.hangup .icon{transform:rotate(135deg);width:28px;height:28px}.end-label{display:block;color:var(--muted);font-size:11px;margin:10px 0 24px}.voice-screen>.section-kicker{margin-top:4px}.record-stage{text-align:center;padding:16px 0 28px}.record-orb{width:112px;height:112px;border-radius:50%;margin:0 auto 26px;background:#e8e4d8;display:grid;place-items:center;color:#818670}.record-orb .icon{width:34px;height:34px}.record-orb.recording{background:#eee0da;color:var(--red);box-shadow:0 0 0 12px #eee0da55;animation:breathe 2s ease-in-out infinite}#record-time{display:block;font-size:39px;font-weight:300;font-variant-numeric:tabular-nums;letter-spacing:2px}#record-status{margin:10px 0 0;font-size:12px;color:var(--muted)}.record-actions{display:flex;flex-direction:column;gap:12px}.record-dot{width:8px;height:8px;border-radius:50%;background:currentColor}audio{width:100%;margin-bottom:20px}.messages-screen{display:flex;flex-direction:column;padding:8px 24px 0;min-height:630px;max-height:740px}.message-header{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:16px}.message-header .back-button{margin:0}.message-header h1{font-size:17px;letter-spacing:0;margin:0;overflow-wrap:anywhere}.message-header p{font-size:10px;color:var(--muted);margin:0}.icon-only{width:24px}.message-disclaimer{font-size:10px;color:#999b91;text-align:center;padding:14px 0;margin:0}.message-list{flex:1;min-height:260px;overflow:auto;overscroll-behavior:contain;padding:12px 0;display:flex;flex-direction:column;gap:22px;scrollbar-width:thin}.empty-messages{margin:auto;text-align:center;color:#a0a397;font-size:12px;line-height:1.9}.empty-messages .icon{display:block;width:30px;height:30px;margin:0 auto 12px;color:#afb5a4}.message-row{align-self:flex-end;max-width:88%;display:flex;flex-direction:column;align-items:flex-end}.message-bubble{padding:12px 16px;background:#e4e8db;color:#48583e;font-size:14px;border-radius:17px 17px 4px 17px;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;margin:0}.message-meta{display:flex;align-items:center;gap:8px;font-size:9px;color:#909486;line-height:1.5}.delete-message{background:none;border:0;color:#8d9285;font-size:10px;min-height:32px;padding:4px}.message-composer{display:flex;align-items:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:16px;margin-top:12px}.message-composer textarea{resize:vertical;max-height:150px;min-height:52px;line-height:1.6;font-size:15px;padding:12px}.message-composer button{width:44px;height:44px;min-width:44px;border:0;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;margin-bottom:4px}.composer-note{font-size:9px;color:#969a8e;text-align:center;margin:8px 0}.notice{margin:4px 24px 0;font-size:12px;padding:12px;border-radius:10px;background:#f1e4dc;color:#865b47;overflow-wrap:anywhere}.notice.success{background:#e6ebdf;color:#4b6345}.desktop-note{position:fixed;left:max(32px,calc(50% - 490px));top:25%;max-width:210px}.wordmark{font-size:62px;letter-spacing:-5px;font-weight:450;color:#65735d}.wordmark>span{color:#b8a485}.desktop-note p{margin:20px 0 30px;font-size:20px;line-height:1.9;letter-spacing:-.8px;color:#747a6b}.note-line{display:block;background:#b8beac;width:30px;height:1px;margin-bottom:20px}.desktop-note small{font-size:10px;letter-spacing:1px;line-height:1.9;color:#979c8d}.desktop-caption{position:fixed;left:calc(50% + 290px);top:70%;font-size:11px;line-height:2;color:#8a9080}dialog{width:min(340px,calc(100% - 40px));border:1px solid #e2e2d6;border-radius:24px;padding:28px;background:var(--paper);color:var(--ink);text-align:center;box-shadow:0 20px 80px #30382d30}dialog::backdrop{background:#32382c55;backdrop-filter:blur(4px)}dialog h2{font-size:21px;line-height:1.6;margin-bottom:14px}dialog p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:22px}dialog .button,dialog .text-button{width:100%;margin-top:8px}.dialog-icon{display:grid;place-items:center;background:#e6eadf;border-radius:50%;width:52px;height:52px;color:var(--green);margin:0 auto 18px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@keyframes wave{50%{height:23px}}@keyframes breathe{50%{box-shadow:0 0 0 18px #eee0da33}}@media(max-width:1040px){.desktop-note,.desktop-caption{display:none}}@media(max-width:600px){html,body{background:var(--paper)}body{display:block;padding:0}.phone{width:100%;max-width:none;min-height:100vh;min-height:100dvh;border:0;border-radius:0;box-shadow:none;overflow:clip}.app-header{padding-top:calc(20px + env(safe-area-inset-top));padding-left:24px;padding-right:24px}.screen{padding-left:24px;padding-right:24px}.home-indicator{margin-bottom:calc(10px + env(safe-area-inset-bottom))}.contact-screen{padding-top:24px}.messages-screen{height:calc(100dvh - 105px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:none;min-height:400px}.contact-actions{gap:12px}.person-main{padding-top:24px}.person-main .large{width:128px;height:128px}.quiet-note{padding-top:40px}.call-screen{min-height:calc(100dvh - 120px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.call-person{padding-top:20px}.call-avatar{width:152px;height:152px}.call-bottom{padding-bottom:8px}.back-button{margin-bottom:20px}.privacy-note{margin-top:32px}}@media(max-width:350px){.action-icon{width:56px;height:56px}.action-tile strong{font-size:11px}.local-badge{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.retention-note{font-size:11px;line-height:1.7;color:#858b7b;margin:0 0 12px;text-align:center}.record-retention{font-size:10px;color:#8a907f;margin:6px 0 0;line-height:1.6}.keep-label{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#68775b;min-height:36px;cursor:pointer}.keep-label input{accent-color:var(--green);min-width:16px;min-height:16px;width:16px;height:16px;margin:0;padding:0}.message-row .record-tools{display:flex;gap:12px;align-items:center}.voice-history{margin-top:32px;border-top:1px solid var(--line);padding-top:24px}.voice-history h2{font-size:17px;text-align:center;margin-bottom:8px}.voice-record{border:1px solid var(--line);border-radius:16px;padding:16px;margin-top:12px;background:#fffdf8}.voice-record>time{font-size:11px;color:#818877}.voice-record audio{margin:12px 0 0;height:40px}.record-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.voice-record a{font-size:11px;color:var(--green);padding:8px 0;min-height:36px}.storage-note{color:#8c9184;font-size:10px;line-height:1.8;margin:20px 0 0;text-align:center}.privacy-note strong{font-weight:500;color:#7a806f}.voice-screen .record-stage{padding-bottom:20px}.voice-screen .record-orb{width:92px;height:92px;margin-bottom:20px}.voice-screen .intro{margin-bottom:20px}
.contacts-list{display:flex;flex-direction:column;margin-top:24px;gap:0}.contact-list-item{display:flex;align-items:center;text-align:left;gap:14px;width:100%;padding:18px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink)}.contact-list-item .avatar{width:56px;height:56px}.contact-list-info{flex:1;min-width:0}.contact-list-info strong{display:block;font-size:17px;font-weight:550;overflow-wrap:anywhere}.contact-list-info small{display:block;font-size:12px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.contact-list-item>.icon{color:#9ca58f;width:18px}.add-contact{width:100%;min-height:48px}.contacts-empty{text-align:center;font-size:13px;color:var(--muted);padding:54px 0;line-height:2}.list-screen>.intro{margin-bottom:24px}.history-link{width:100%;display:flex;justify-content:space-between;align-items:center;min-height:48px;margin:32px 0 8px;padding:12px 0;background:none;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--green);font-size:13px}.delete-contact{display:flex;margin:8px auto 0;color:#9f7467}.contact-screen>.back-button{margin-bottom:12px}.history-record{border:1px solid var(--line);border-radius:16px;background:#fffdf8;padding:16px;margin-top:12px}.history-record-header{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:10px}.record-type{font-size:10px;background:#e8ecdf;color:#637650;padding:2px 7px;border-radius:5px}.history-record .message-bubble{background:transparent;padding:0;border-radius:0;color:var(--ink);margin:10px 0}.history-record audio{height:42px;margin:4px 0 12px}.history-record .record-tools a{font-size:11px;color:var(--green);padding:8px 0}.history-screen h1{font-size:25px}.form-screen .intro{margin-bottom:24px}.migration-panel{margin-top:24px;padding:18px;border:1px solid #ddd5c2;border-radius:16px;background:#f3efe4}.migration-panel h2{font-size:17px}.migration-panel p,.migration-panel label{font-size:12px;line-height:1.8}.migration-panel select{width:100%;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;margin:8px 0 12px;font:inherit;font-size:13px}.migration-panel .button{width:100%;font-size:12px;margin-top:8px}.form-screen .form-buttons .secondary{min-width:80px}
/* Approved review: preserve the existing palette and simplify the phone layout. */
:root{--muted:#5f6258;--red:#555c55}body{word-break:keep-all;overflow-wrap:break-word}button:focus:not(:focus-visible),h1:focus:not(:focus-visible){outline:none}.section-kicker{display:none}.desktop-caption{display:none}.wordmark{font-size:32px;letter-spacing:3px;font-weight:700}.wordmark>span{display:none}.avatar-initial{font-size:clamp(20px,5vw,44px);font-weight:500;color:#435641}.avatar.small .avatar-initial,.contact-list-item .avatar-initial{font-size:20px}.info-button{font-size:22px;min-width:44px;min-height:44px}.phone:not([data-screen="list"]) .brand{visibility:hidden}.phone:not([data-screen="list"]) .app-header{justify-content:flex-end;padding-top:8px;padding-bottom:0;min-height:44px}.phone:not([data-screen="list"]) .app-header .brand{display:none}.back-button,.text-button,.photo-button{min-height:44px}.message-meta,.record-retention,.storage-note,.privacy-note,.composer-note,.retention-note,.keep-label,.message-disclaimer,.field-note,.intro,.voice-record>time,.record-type{font-size:13px;color:#5f6258}input::placeholder,textarea::placeholder{color:#5f6258;opacity:1}.keep-label{min-height:44px}.delete-message,.voice-record a{min-width:44px;min-height:44px}.button.danger,.hangup,.button.stop{background:#555c55;color:#fff}.delete-contact,.delete-message{color:#434b43}.person-main{padding:0 0 12px}.person-main h2{margin:8px 0 0}.person-main .text-button{margin:0}.contact-screen{padding-top:0}.contact-screen .back-button{margin-bottom:4px}.contact-actions{gap:10px}.action-icon{width:72px;height:72px}.action-tile strong{font-size:15px}.history-link{min-height:48px}.record-stage{padding:0}.record-orb{background:transparent!important;box-shadow:none!important;width:64px!important;height:64px!important;margin:0 auto 4px!important}.record-actions{gap:8px}.record-actions .button{min-height:44px}.message-composer textarea{resize:none;min-height:44px;max-height:112px;line-height:1.5;overflow-y:auto}.message-composer{align-items:end}.privacy-note summary{cursor:pointer;min-height:44px}.phone[data-screen="messages"] .app-header{display:none}.messages-screen{min-height:0}.call-bottom{gap:24px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.call-waves{display:none}.call-avatar{width:120px;height:120px}.call-person{padding-top:0}.home-indicator{display:none}@media(max-width:600px){body{overscroll-behavior:none}.phone{min-height:100vh;min-height:100dvh}.screen{padding-top:8px}.contact-screen .person-main .large{width:120px;height:120px}.contact-screen .privacy-note{margin-top:12px}.messages-screen{height:100vh;height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.call-screen{min-height:0}.call-person{padding-top:0}.call-avatar{width:120px;height:120px}.voice-screen .intro{margin-bottom:8px}.voice-screen .privacy-note{margin-top:10px}}@media(max-height:700px){.phone{min-height:100vh;min-height:100dvh}.person-main .large,.contact-screen .person-main .large,.call-avatar{width:105px;height:105px}.person-main h2{font-size:24px}.contact-screen .privacy-note{margin-top:4px}.call-person h1{margin:8px 0}.call-bottom{gap:12px}.voice-screen .record-stage{padding-bottom:0}.voice-screen .storage-note{margin-top:8px}}
