/* ONTO setup: one decision at a time, with shared desktop and native identity. */
body:has(.onto-journey){background:#f8faf8;color:#103b40;background-image:none;}
#app:has(.onto-journey){min-height:100svh;background:#f8faf8;}
#app .onto-journey{--oj-ink:#103b40;--oj-muted:#536e70;--oj-line:#dce7e2;--oj-paper:#f8faf8;min-height:100svh;color:var(--oj-ink);background:var(--oj-paper);font-size:16px;line-height:1.5;}
#app .onto-journey *,#app .onto-journey *::before,#app .onto-journey *::after{box-sizing:border-box;}
#app .onto-journey [hidden]{display:none!important;}
#app .onto-journey .oj-top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;max-width:1020px;margin:0 auto;padding:12px 28px;background:transparent;border:0;box-shadow:none;}
#app .onto-journey .oj-top img{display:block;width:88px;height:auto;max-height:40px;object-fit:contain;}
#app .onto-journey .oj-top>a{display:inline-flex;align-items:center;min-height:44px;}
#app .onto-journey .oj-top :is(button,.link,summary){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:10px 12px;background:transparent;border:0;border-radius:12px;color:var(--oj-ink);font:inherit;font-size:14px;font-weight:500;box-shadow:none;text-decoration:none;cursor:pointer;}
#app .onto-journey .oj-top svg{width:20px;height:20px;flex:none;}
#app .onto-journey .oj-main{display:flex;flex-direction:column;width:100%;max-width:588px;min-height:calc(100svh - 76px);margin:0 auto;padding:26px 24px max(24px,env(safe-area-inset-bottom));background:transparent;border:0;border-radius:0;box-shadow:none;}
#app .onto-journey .oj-progress{display:flex;gap:0;width:100%;margin:0 0 30px;border:0;padding:0;}
#app .onto-journey .oj-progress span{flex:1;min-width:0;min-height:4px;border:0;border-top:3px solid var(--oj-line);padding-top:8px;color:var(--oj-muted);font-size:12px;line-height:1.4;}
#app .onto-journey .oj-progress :is(.current,[aria-current=step]){border-color:#05888b;color:var(--oj-ink);font-weight:650;}
#app .onto-journey .oj-progress .done{border-color:#83d9c8;}
#app .onto-journey .oj-kicker{margin:0 0 12px;color:#397573;font-size:12px;line-height:1.5;font-weight:650;letter-spacing:.09em;text-transform:uppercase;}
#app .onto-journey h1{max-width:17ch;margin:0 0 14px;color:var(--oj-ink);font-size:clamp(29px,5vw,38px);font-weight:650;line-height:1.12;letter-spacing:-1.1px;text-wrap:balance;scroll-margin-top:20px;}
#app .onto-journey .oj-lead{max-width:42ch;margin:0 0 30px;color:var(--oj-muted);font-size:16px;line-height:1.5;}
#app .onto-journey h2{margin:22px 0 12px;color:var(--oj-ink);font-size:18px;font-weight:600;line-height:1.3;letter-spacing:-.25px;}
#app .onto-journey form{margin:0;min-width:0;}
#app .onto-journey .onto-form-fields{display:block;border:0;padding:0;margin:0;min-width:0;}
#app .onto-journey .setup-field{display:block;margin:0 0 20px;color:var(--oj-ink);}
#app .onto-journey .setup-field>:is(span,label){display:block;margin:0 0 8px;color:var(--oj-ink);font-size:14px;font-weight:600;line-height:1.5;}
#app .onto-journey :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){width:100%;min-height:54px;margin:0;padding:14px 16px;border:1px solid #b9d0ca;border-radius:14px;background:#fff;color:var(--oj-ink);box-shadow:none;font:inherit;font-size:16px;line-height:1.4;}
#app .onto-journey input::placeholder,#app .onto-journey textarea::placeholder{color:#637b7c;opacity:1;}
#app .onto-journey .setup-field small,#app .onto-journey :is(.setup-note,.ok-note){color:var(--oj-muted);font-size:12px;line-height:1.55;font-weight:400;}
#app .onto-journey .setup-field>small{display:block;margin-top:7px;}
#app .onto-journey input:disabled,#app .onto-journey fieldset:disabled{opacity:.65;}
#app .onto-journey .setup-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
#app .onto-journey .oj-choices{display:grid;grid-template-columns:1fr;gap:12px;margin:2px 0 8px;}
#app .onto-journey .oj-choice{display:flex;align-items:center;gap:16px;width:100%;min-height:88px;margin:0;padding:18px;background:#fff;border:1px solid var(--oj-line);border-radius:18px;box-shadow:0 2px 6px #103b4004;color:var(--oj-ink);text-align:left;font:inherit;cursor:pointer;transition:border-color .15s ease,background .15s ease;}
#app .onto-journey .oj-choice>span:not(.oj-icon){min-width:0;flex:1;}
#app .onto-journey .oj-choice strong{display:block;color:var(--oj-ink);font-size:17px;font-weight:600;line-height:1.35;letter-spacing:-.2px;}
#app .onto-journey .oj-choice small{display:block;margin-top:5px;color:var(--oj-muted);font-size:13px;line-height:1.45;font-weight:400;}
#app .onto-journey .oj-choice>svg{width:18px;height:18px;flex:none;color:#567775;}
#app .onto-journey .oj-choice .oj-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;background:#ddf5ec;border-radius:14px;color:#087c7c;}
#app .onto-journey .oj-choice .oj-icon svg{width:22px;height:22px;}
#app .onto-journey .oj-choice:nth-child(2) .oj-icon{background:#e0f4f7;color:#0b757d;}
#app .onto-journey .oj-choice:nth-child(3) .oj-icon{background:#ffede6;color:#a34d37;}
#app .onto-journey .oj-choice[aria-pressed=true]{background:#e8f7f0;border-color:#148581;}
#app .onto-journey .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:13px 20px;border:1px solid #b9d0ca;border-radius:15px;background:#fff;color:var(--oj-ink);box-shadow:none;font:inherit;font-size:15px;font-weight:600;line-height:1.4;cursor:pointer;text-decoration:none;}
#app .onto-journey .btn.primary{background:#0a777c;border-color:#0a777c;color:#fff;}
#app .onto-journey .btn:disabled,#app .onto-journey button:disabled{opacity:.55;cursor:default;}
#app .onto-journey :is(.link,.ok-text-button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 4px;color:#086e73;background:transparent;border:0;box-shadow:none;font:inherit;font-size:14px;font-weight:500;text-decoration:none;cursor:pointer;}
#app .onto-journey .oj-footer{position:sticky;bottom:0;z-index:4;display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:28px -2px 0;padding:14px 2px max(12px,env(safe-area-inset-bottom));border:0;background:var(--oj-paper);}
#app .onto-journey .oj-footer>.primary{width:100%;min-height:54px;}
#app .onto-journey .oj-support{margin:24px 0 0;padding:8px 0;text-align:center;font-size:12px;color:var(--oj-muted);}
#app .onto-journey .oj-support :is(a,button){min-height:44px;font-size:12px;color:var(--oj-muted);text-underline-offset:4px;}
#app .onto-journey .oj-summary{margin:22px 0;padding:0;border:0;box-shadow:none;}
#app .onto-journey .oj-summary dl,#app .onto-journey dl.oj-summary{margin:0;}
#app .onto-journey .oj-summary dl>div,#app .onto-journey dl.oj-summary>div{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:14px 0;border-bottom:1px solid var(--oj-line);}
#app .onto-journey .oj-summary dt{flex:0 0 36%;color:var(--oj-muted);font-size:14px;}
#app .onto-journey .oj-summary dd{margin:0;text-align:right;overflow-wrap:anywhere;color:var(--oj-ink);font-size:14px;font-weight:550;}
#app .onto-journey .oj-services{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0 24px;padding:0;border:0;}
#app .onto-journey .oj-services label{display:flex;align-items:center;gap:12px;min-height:56px;padding:14px 16px;border:1px solid var(--oj-line);border-radius:14px;background:#fff;color:var(--oj-ink);font-size:15px;line-height:1.4;cursor:pointer;}
#app .onto-journey .oj-services label:has(input:checked){background:#e5f5ee;border-color:#5da79b;}
#app .onto-journey :is(input[type=checkbox],input[type=radio]){width:20px;height:20px;flex:0 0 20px;accent-color:#087b7d;}
#app .onto-journey .oj-review{padding:0;background:transparent;border:0;box-shadow:none;}
#app .onto-journey .oj-review>strong{display:block;font-size:20px;font-weight:600;color:var(--oj-ink);}
#app .onto-journey .oj-support-panel{margin:12px 0 24px;}
#app .onto-journey .oj-support-panel section{padding:18px 0;border-bottom:1px solid var(--oj-line);}
#app .onto-journey .oj-support-panel h2{margin:0 0 6px;}
#app .onto-journey .oj-support-panel p{margin:0 0 10px;color:var(--oj-muted);font-size:14px;line-height:1.5;}
#app .onto-journey :is(.ok-disclosure,details){background:transparent;border:0;border-top:1px solid var(--oj-line);border-radius:0;box-shadow:none;margin:14px 0;padding:12px 0;color:var(--oj-ink);}
#app .onto-journey summary{min-height:44px;padding:10px 0;color:#176e70;font-size:14px;font-weight:500;line-height:1.5;cursor:pointer;}
#app .onto-journey summary span{margin-left:6px;font-size:12px;font-weight:400;color:var(--oj-muted);}
#app .onto-journey details p{font-size:14px;line-height:1.5;color:var(--oj-muted);}
#app .onto-journey [data-setup-draft-notice]{font-size:12px;margin-bottom:16px;}
#app .onto-journey [data-setup-draft-notice] details{border:0;padding:0;margin:0;}
#app .onto-journey [data-setup-draft-notice] summary{font-size:12px;}
#app .onto-journey .onto-address-panel{margin-top:10px;gap:8px;color:var(--oj-muted);font-size:13px;line-height:1.5;}
#app .onto-journey .onto-address-panel .btn{width:100%;margin:4px 0;font-size:13px;text-align:left;justify-content:flex-start;}
#app .onto-journey .onto-address-panel [role=listbox]{box-shadow:0 6px 18px #103b4010;}
#app .onto-journey .onto-address-panel [role=option]{min-height:48px;font-size:14px;}
#app .onto-journey :is(.setup-error,.setup-alert,[role=alert]){padding:12px 14px;background:#fff0e9;color:#8d3c2c;border:0;border-radius:12px;font-size:14px;line-height:1.5;overflow-wrap:anywhere;}
#app .onto-journey .onto-field-error{display:block;margin:7px 0 0;color:#9b3528;font-size:13px;line-height:1.5;}
#app .onto-journey [aria-invalid=true]{border-color:#b9523c;}
#app .onto-journey :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #0b8588;outline-offset:3px;}
#app .onto-journey .btn.primary:focus-visible{outline-color:#d66d50;}
@media(hover:hover){#app .onto-journey .oj-choice:not(:disabled):hover{background:#f0faf5;border-color:#7fb8ac;}#app .onto-journey .btn.primary:not(:disabled):hover{background:#075e63;}#app .onto-journey :is(.link,.ok-text-button):hover{text-decoration:underline;}}
@media(min-width:800px){#app .onto-journey{background:radial-gradient(ellipse at 0 0,#ddf3eb75,transparent 38%),radial-gradient(ellipse at 100% 100%,#ffede340,transparent 40%),var(--oj-paper);}#app .onto-journey .oj-main{padding-top:44px;min-height:calc(100svh - 92px);}#app .onto-journey .oj-top{min-height:92px;}#app .onto-journey .oj-progress{margin-bottom:38px;}#app .onto-journey .oj-choices{gap:14px;}#app .onto-journey .oj-footer{background:#f8faf8f7;}}
@media(max-width:600px){#app .onto-journey .oj-top{min-height:68px;padding:10px 20px;}#app .onto-journey .oj-top img{width:78px;}#app .onto-journey .oj-main{min-height:calc(100svh - 68px);padding:22px 22px max(16px,env(safe-area-inset-bottom));}#app .onto-journey h1{font-size:31px;letter-spacing:-.9px;}#app .onto-journey .oj-lead{font-size:15px;margin-bottom:26px;}#app .onto-journey .oj-progress{margin-bottom:26px;}#app .onto-journey .oj-choice{padding:16px;gap:13px;min-height:86px;}#app .onto-journey .oj-choice strong{font-size:16px;}#app .onto-journey .setup-two{grid-template-columns:1fr;gap:0;}#app .onto-journey .oj-summary dl>div,#app .onto-journey dl.oj-summary>div{gap:14px;}}
@media(max-height:560px){#app .onto-journey .oj-footer{position:static;}#app .onto-journey .oj-main{padding-top:16px;}#app .onto-journey .oj-progress{margin-bottom:18px;}}
@media(prefers-reduced-motion:reduce){#app .onto-journey *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}

#app .onto-journey .oj-top [data-oj-back] svg{transform:rotate(180deg)}
#app .onto-journey form{display:flex;flex-direction:column}
#app .onto-journey [data-setup-draft-notice]{order:2;margin:14px 0 0;font-size:12px}
#app .onto-journey .oj-footer{order:3}
#app .onto-journey .oj-progress .active{border-color:#83d9c8}
#app .onto-journey .oj-progress [aria-current=step]{border-color:#05888b}
#app .onto-journey .journey-lease-facts{margin:20px 0}
#app .onto-journey .journey-lease-facts>div{padding:12px 0;border-bottom:1px solid #dce7e2}
#app .onto-journey .journey-lease-facts dt{font-size:12px;color:#536e70}
#app .onto-journey .journey-lease-facts dd{margin:4px 0 0;overflow-wrap:anywhere}
#app .onto-journey .journey-lease-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}

/* Compact completion and honest, stage-driven document activity. */
#app .onto-journey .oj-ready-brand{display:flex;align-items:center;gap:18px;padding:22px 0;margin:4px 0 18px;border-bottom:1px solid var(--oj-line)}
#app .onto-journey .oj-ready-brand img{width:112px;height:38px;object-fit:contain}
#app .onto-journey .oj-ready-brand p{margin:0;font-size:18px;font-weight:600}
#app .onto-journey .oj-review{margin-bottom:20px}
#app .onto-journey .oj-review>p{font-size:14px;color:var(--oj-muted)}
#app .onto-journey .oj-document-loading{text-align:center;padding:24px 18px 30px;background:#fff;border:1px solid var(--oj-line);border-radius:20px}
#app .onto-journey fieldset:disabled:has(.oj-document-loading){opacity:1}
#app .onto-journey .oj-loading-mark{position:relative;display:inline-flex;align-items:center;justify-content:center;width:156px;height:88px}
#app .onto-journey .oj-loading-mark img{width:112px;height:38px;object-fit:contain}
#app .onto-journey .oj-loading-mark>span{position:absolute;bottom:4px;width:7px;height:7px;border-radius:50%;background:#19b5b8;animation:onto-breathe 1.6s ease-in-out infinite}
#app .onto-journey .oj-document-loading h2{margin:18px 0 8px;font-size:22px}
#app .onto-journey .oj-document-loading p{margin:0;color:var(--oj-muted);font-size:15px}
#app .onto-journey .oj-document-loading small{display:block;max-width:30ch;margin:auto;font-size:13px;color:var(--oj-muted);line-height:1.6}
#app .onto-journey .oj-reading-preview{display:grid;gap:10px;max-width:220px;margin:26px auto;padding:18px;border:1px solid var(--oj-line);border-radius:12px}
#app .onto-journey .oj-reading-preview span{height:9px;border-radius:8px;background:linear-gradient(90deg,#e5eeeb,#cce9e2,#e5eeeb);background-size:200% 100%;animation:onto-read 2s ease-in-out infinite}
#app .onto-journey .oj-reading-preview span:nth-child(2){width:80%}
#app .onto-journey .oj-reading-preview span:nth-child(3){width:55%}
@keyframes onto-breathe{50%{opacity:.35;transform:scale(.8)}}
@keyframes onto-read{to{background-position:-200% 0}}
