:root{color-scheme:light;--bg:#f8fbff;--surface:#fff;--ink:#10263e;--muted:#52657a;--blue:#2563eb;--blue-dark:#244f80;--line:#e1e8f1;--soft:#edf4ff;--danger:#a02b34;--radius:20px;font-family:Arial,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}:focus-visible{outline:3px solid #356ec5;outline-offset:3px}main:focus{outline:none}.skip{position:fixed;top:-80px;right:16px;padding:12px 18px;background:var(--ink);color:white;z-index:20;border-radius:12px}.skip:focus{top:10px}
.app-header{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:86px;padding:calc(18px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 18px max(20px,env(safe-area-inset-left));border-bottom:1px solid var(--line);background:var(--surface)}.brand{display:flex;align-items:center;gap:9px;font-size:18px;letter-spacing:-.4px;white-space:nowrap;min-height:44px}.brand b{font-weight:400;color:var(--muted)}.brand-mark{display:flex;justify-content:center;align-items:center;width:36px;height:36px;background:var(--blue-dark);color:white;border-radius:12px;font-size:29px;font-weight:700;line-height:1}.brand-mark span{font-size:21px;color:#b9d6ff;margin-top:-10px}.header-actions{display:flex;align-items:center;gap:16px}.private-label{display:none;font-size:13px;color:var(--muted)}.account-button{min-height:44px;min-width:54px;padding:9px 12px;border:1px solid var(--line);background:var(--surface);border-radius:12px;font-size:14px;color:var(--ink);font-weight:600}
.page{max-width:1060px;margin:auto;padding:28px 20px calc(36px + env(safe-area-inset-bottom))}.has-navigation .page{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.page-heading{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:28px}.eyebrow{color:var(--blue-dark);font-size:12px;letter-spacing:.2px;margin:0 0 8px;font-weight:700}h1{font-size:29px;letter-spacing:-.8px;line-height:1.2;margin:0 0 10px;font-weight:700}h2{font-size:20px;line-height:1.4;letter-spacing:-.3px;margin:0 0 10px}h3{font-size:16px;margin:0 0 10px}.subtitle{font-size:15px;line-height:1.65;color:var(--muted);margin:0}p{line-height:1.65;overflow-wrap:anywhere}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 18px;border:0;border-radius:13px;font-size:15px;font-weight:700;line-height:1.4}.primary{background:var(--blue);color:white;box-shadow:0 3px 8px #2563eb18}.primary:hover{background:#2057d2}.secondary{background:var(--surface);color:var(--blue-dark);border:1px solid var(--line)}.capture-button{width:100%}.full{width:100%}.state-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:36px 25px;text-align:center;max-width:620px;margin:0 auto;box-shadow:0 8px 28px #18365804}.state-symbol,.success-symbol{width:54px;height:54px;display:flex;justify-content:center;align-items:center;background:var(--soft);border-radius:17px;margin:0 auto 20px;color:var(--blue-dark)}.state-symbol svg{width:26px;height:26px}.state-panel h2{font-size:21px;margin-bottom:10px}.state-panel p{color:var(--muted);font-size:15px;margin:0 auto 24px;max-width:390px}.state-panel button{min-width:150px}.state-panel.compact{padding:24px 18px}.state-panel.compact h2{font-size:18px}.loading-panel{padding:28px;background:white;border-radius:var(--radius);border:1px solid var(--line)}.loading-panel p{font-size:14px;color:var(--muted);margin-bottom:0}.skeleton{height:24px;margin:15px 0;background:#eef2f7;border-radius:8px;width:100%}.skeleton.short{width:45%;height:18px}
.observation{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:-6px 0 24px;font-size:12px;color:var(--muted)}.observation>span{display:flex;align-items:center;gap:6px}.observation svg{width:14px;height:14px}.observation strong{font-size:12px;font-weight:600;color:#875411}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-heading h2{font-size:18px;margin:0}.work-section{margin-bottom:28px;min-width:0}.contact-list,.reminder-list{display:grid;gap:12px}.contact-card{display:block;width:100%;text-align:right;border:1px solid var(--line);background:white;border-radius:18px;padding:18px;color:var(--ink);box-shadow:0 3px 15px #18365803}.contact-card:hover{border-color:#aac2e5}.contact-top{display:flex;gap:10px;align-items:center;min-width:0}.contact-avatar{width:38px;height:38px;border-radius:12px;background:var(--soft);color:var(--blue-dark);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:700}.contact-name{flex:1;min-width:0;overflow-wrap:anywhere}.contact-name strong{font-size:16px;line-height:1.5;display:block}.contact-name small{display:block;font-size:13px;color:var(--muted);line-height:1.5}.stage{font-size:12px;color:var(--blue-dark);background:var(--soft);padding:5px 9px;border-radius:8px;max-width:110px;overflow-wrap:anywhere}.contact-need{font-size:14px;color:var(--muted);margin:12px 0}.contact-meta{font-size:12px;color:var(--muted);margin:12px 0}.contact-next{display:flex;gap:9px;align-items:center;border-top:1px solid var(--line);padding-top:12px;font-size:13px;line-height:1.6}.contact-next>span{flex:1}.contact-next time{white-space:nowrap;color:var(--muted);font-size:12px}.contact-next svg{width:17px;height:17px}.empty-inline{background:#fff;border:1px solid var(--line);padding:25px 18px;border-radius:18px;color:var(--muted);text-align:center}.empty-inline svg{margin-bottom:4px;color:var(--blue-dark)}.empty-inline h2{font-size:16px;font-weight:400}.empty-inline p{margin:6px 0;font-size:14px}.section-note,.section-unavailable{color:var(--muted);font-size:13px;line-height:1.6}.operational-notice{display:flex;gap:12px;align-items:center;background:#fff6e9;color:#825014;border-radius:14px;padding:14px;margin-bottom:20px}.operational-notice p{margin:0;font-size:14px}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 14px;margin-bottom:20px;color:var(--muted)}.search input{border:0;background:transparent;min-width:0;padding:14px 0;min-height:50px;width:100%;outline-offset:0}.more-button{width:100%;margin-top:18px}.reminder-card{display:flex;gap:14px;padding:20px;background:white;border:1px solid var(--line);border-radius:18px}.reminder-card h2{font-size:16px;margin:0 0 8px}.reminder-card time,.reminder-card p{font-size:13px;color:var(--muted);line-height:1.6}.reminder-card p{margin:5px 0 0}.reminder-icon{display:flex;align-items:center;justify-content:center;background:var(--soft);color:var(--blue-dark);width:40px;height:40px;border-radius:12px;flex-shrink:0}
.navigation{position:fixed;bottom:0;right:0;left:0;display:flex;padding:7px 12px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;z-index:3;gap:5px}.navigation a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:57px;font-size:11px;color:var(--muted);border-radius:12px}.navigation a[aria-current]{background:var(--soft);color:var(--blue-dark);font-weight:700}.navigation a svg{width:22px;height:22px}
dialog{width:100%;max-width:560px;border:0;padding:0;color:var(--ink);border-radius:24px 24px 0 0;position:fixed;inset:auto 0 0;margin:0 auto;max-height:calc(100dvh - env(safe-area-inset-top) - 18px);box-shadow:0 -8px 50px #15345521;background:white}dialog::backdrop{background:#10263e66}.sheet-top{height:46px;position:relative;display:flex;justify-content:center;align-items:center}.sheet-handle{width:36px;height:4px;background:#ccd6e3;border-radius:5px}.icon-button{position:absolute;inset-inline-start:8px;top:4px;width:44px;height:44px;border:0;background:transparent;font-size:28px;line-height:1;color:var(--muted)}#sheet-body{padding:10px 22px calc(24px + env(safe-area-inset-bottom));overflow:auto;max-height:calc(100dvh - env(safe-area-inset-top) - 64px);overscroll-behavior:contain}#sheet-body h2{font-size:24px}#sheet-body>.subtitle{margin-bottom:22px}.gate-actions{display:grid;gap:10px;margin-top:26px}.detail-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.detail-toolbar button{font-size:14px;padding:10px 14px}.profile-badges{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--muted);margin:0 0 20px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;margin:24px 0}.profile-grid>div{min-width:0}.profile-grid .wide{grid-column:1/-1}dt{font-size:12px;color:var(--muted);margin-bottom:6px}dd{font-size:15px;line-height:1.6;margin:0;overflow-wrap:anywhere}.detail-section{padding:20px 0;border-top:1px solid var(--line)}.detail-section p{margin:6px 0;font-size:14px}.muted{color:var(--muted)}.timeline{list-style:none;padding:0;margin:10px 0}.timeline li{padding:8px 13px;border-inline-start:2px solid #d3e1f5;margin:0 0 10px}.timeline small{font-size:12px;color:var(--muted)}
form label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin:17px 0}form label>span,summary>span{font-size:12px;font-weight:400;color:var(--muted)}input,textarea,select{width:100%;padding:12px 13px;border:1px solid #ccd7e5;border-radius:11px;color:var(--ink);background:#fff;min-height:48px;font-size:16px;line-height:1.5}textarea{resize:vertical;min-height:90px}input[type=date]{min-width:0;text-align:right}input::placeholder{color:#607287}[aria-invalid=true]{border-color:var(--danger);background:#fffafb}.field-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:14px 0 -6px}.contact-inputs{display:grid;gap:0}.contact-inputs label{margin:12px 0}.optional-fields{border-top:1px solid var(--line);padding-top:8px;margin-top:20px}.optional-fields summary{padding:12px 0;min-height:48px;cursor:pointer;font-size:14px;font-weight:600}.form-actions{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:10px;position:sticky;bottom:calc(-24px - env(safe-area-inset-bottom));background:white;padding:16px 0 calc(16px + env(safe-area-inset-bottom));margin:12px 0 calc(-24px - env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:1}.form-actions button{font-size:14px;padding:12px 8px}.form-notice,.validation-message{padding:13px 14px;border-radius:12px;background:#fff6e9;color:#825014;font-size:13px;line-height:1.6}.validation-message{background:#fff0f0;color:var(--danger);margin:12px 0}.validation-message p{margin:5px 0}.approval-hint{margin-bottom:20px}.success-symbol{color:#246549;background:#edf7f1;margin-top:15px}.toast{position:fixed;bottom:calc(22px + env(safe-area-inset-bottom));left:20px;right:20px;max-width:480px;margin:auto;border-radius:13px;background:var(--ink);color:white;font-size:14px;padding:14px 18px;line-height:1.5;box-shadow:0 4px 24px #10263e22;z-index:10;opacity:0;visibility:hidden;pointer-events:none}.has-navigation .toast{bottom:calc(88px + env(safe-area-inset-bottom))}.toast.visible{opacity:1;visibility:visible}.notice{padding:24px}
@media(min-width:600px){.private-label{display:block}.app-header{padding-inline:32px}.page{padding:36px 32px}.page-heading{flex-direction:row;align-items:center;justify-content:space-between;gap:30px}.capture-button{width:auto;flex-shrink:0}.contact-inputs{grid-template-columns:1fr 1fr;gap:14px}.today-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.contact-list{grid-template-columns:repeat(2,minmax(0,1fr))}.today-grid .contact-list{grid-template-columns:1fr}dialog{inset:0;margin:auto;border-radius:24px;max-height:calc(100dvh - 48px)}#sheet-body{max-height:calc(100dvh - 110px);padding-inline:28px}.sheet-handle{display:none}.sheet-top{height:38px}.icon-button{top:2px}h1{font-size:32px}}
@media(min-width:1040px){.app-header{padding-inline:40px}.has-navigation main{margin-inline-start:228px}.page{padding-top:42px;padding-inline:40px}.has-navigation .page{padding-bottom:40px}.navigation{top:86px;bottom:0;left:auto;width:228px;border-top:0;border-inline-end:1px solid var(--line);padding:28px 16px;display:flex;flex-direction:column;justify-content:flex-start;gap:8px}.navigation a{flex:none;flex-direction:row;justify-content:flex-start;gap:14px;padding:14px;min-height:52px;font-size:14px}.has-navigation .toast{bottom:24px}h1{font-size:34px}.state-panel{padding:46px 35px;margin:34px auto}.page-heading{margin-bottom:34px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-width:350px){.brand{font-size:16px;gap:7px}.app-header{gap:6px;padding-inline:16px}.page{padding-inline:16px}.state-panel{padding:28px 18px}h1{font-size:27px}#sheet-body{padding-inline:18px}.contact-top{flex-wrap:wrap}.stage{margin-inline-start:48px}}

.refresh-button{min-width:44px;min-height:44px;padding:10px}.refresh-button svg{width:18px;height:18px}.sheet-top{height:48px}@media(min-width:600px){.sheet-top{height:48px}}

dialog{overflow:hidden}body:has(dialog[open]){overflow:hidden}@media(max-width:599px){#sheet-body{max-height:calc(100dvh - env(safe-area-inset-top) - 66px)}}

.skip{min-height:44px;min-width:44px}
