*{box-sizing:border-box}body{margin:0;color:#173348;background:#eef3f7;font:16px/1.5 system-ui,sans-serif}header{padding:18px 24px;background:#102d43;color:white;display:flex;justify-content:space-between}header a{color:white;text-decoration:none;font-weight:700}
.stay-start-meter{margin:0;padding:10px 24px;background:#173042;color:#fff;font-size:.9rem;line-height:1.4}
.stay-start-meter a{color:#fff;text-decoration:none}main{max-width:540px;margin:48px auto;padding:32px;background:white;border-radius:16px}h1{font-size:30px;margin:8px 0 18px}.eyebrow{color:#08766f;font-weight:700;font-size:14px}label{display:block;margin:16px 0}input,textarea{display:block;width:100%;font:inherit;padding:12px;border:1px solid #9aadb9;border-radius:8px}button{font:inherit;border:0;border-radius:8px;padding:11px 16px;background:#08766f;color:white;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.accountbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px;background:white}.accountbar span{flex:1}details{padding:12px 24px;background:#fff}details form{max-width:650px}iframe{display:block;width:100%;height:calc(100vh - 200px);min-height:650px;border:0}#pilotStatus{padding:12px 24px;background:#fff;margin:0;border-top:1px solid #ccd8df}main p{color:#526674}[hidden]{display:none!important}@media(max-width:600px){main{margin:16px;padding:24px}.accountbar button{font-size:14px;padding:8px}header{padding:14px}}

/* Keep the private customer portal inside an iPhone viewport, including enlarged text. */
@media(max-width:600px){
  header{display:block;padding:14px 16px}
  header a{display:block;min-width:0;overflow-wrap:anywhere}
  header span{display:block;font-size:14px}
  #accountPanel,#pilotMount{width:100%;min-width:0}
  .accountbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}
  .accountbar strong,.accountbar span{grid-column:1/-1;min-width:0;overflow-wrap:anywhere}
  .accountbar span{flex:none}
  .accountbar button{width:100%;min-width:0;min-height:44px;padding:8px;font-size:14px;overflow-wrap:anywhere}
  iframe{width:100%;max-width:100%;min-width:0}
}
@media(max-width:360px){.accountbar{grid-template-columns:minmax(0,1fr)}}
.trial-panel{padding:14px 24px;background:#fff5dd;color:#493414;border-top:1px solid #ead5a8}.trial-panel p{margin:0 0 10px}.trial-panel button{background:#205e59}.trial-panel button[hidden]{display:none}
.pilot-start-hint{margin:0;padding:14px 24px;background:#e9f6f3;color:#173e3b;border-top:1px solid #c6e7df;line-height:1.55}
.pilot-readonly-summary{margin:0;padding:18px 24px;background:#fff9e9;color:#453514;border-top:1px solid #dfcc9b;line-height:1.6;overflow-wrap:anywhere}
.password-row{display:flex;gap:8px;align-items:stretch;margin-bottom:16px}.password-row input{min-width:0;flex:1}.password-row button{background:#e8f1f0;color:#17413e;min-width:90px}.password-row button:focus-visible,.feedback-topics button:focus-visible{outline:3px solid #08766f;outline-offset:2px}.feedback-topics{display:flex;flex-wrap:wrap;gap:8px}.feedback-topics button{background:#e8f1f0;color:#17413e;border:1px solid #aaccc8;min-height:44px}
.initial-password-toggle{display:block;margin:4px 0 16px;background:#e8f1f0;color:#17413e;min-height:44px}.initial-password-toggle:focus-visible{outline:3px solid #08766f;outline-offset:2px}
.operator-feedback{border-top:1px solid #ccd8df}.operator-feedback-item{padding:14px 0;border-top:1px solid #e0e9ed;overflow-wrap:anywhere}.operator-feedback-item p{margin:7px 0;white-space:pre-wrap}

.operator-price-preview{max-width:720px;padding-top:16px;border-top:1px solid #d6e2e6}.operator-price-preview h3{margin:0 0 8px}.operator-price-scroll{max-width:100%;overflow-x:auto}.operator-price-preview table{border-collapse:collapse;min-width:430px;width:100%;text-align:left}.operator-price-preview th,.operator-price-preview td{padding:9px 12px;border-bottom:1px solid #d6e2e6}.operator-price-preview thead{background:#eaf4f2}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pilot-legal{display:flex;justify-content:center;gap:22px;padding:16px 24px;color:#355265;background:#fff;border-top:1px solid #ccd8df}.pilot-legal a{color:#0d615b;text-decoration:underline;text-underline-offset:3px}
.purchase-survey{padding:14px 24px;background:#e8f5f3;border-top:1px solid #bcd8d4}.purchase-survey summary{font-size:18px;line-height:1.4;font-weight:700;cursor:pointer}.purchase-survey p{margin:12px 0}.purchase-survey .feedback-topics button{background:#fff}
.purchase-survey select{display:block;max-width:320px;width:100%;margin:6px 0 16px;padding:10px;border:1px solid #9aadb9;border-radius:8px;background:#fff;font:inherit}
#pilotStatus:empty{display:none}
#pilotStatus:not(:empty){position:sticky;top:0;z-index:10;max-height:120px;overflow:auto;overflow-wrap:anywhere;box-shadow:0 2px 8px #17334818}
.backup-check{border-top:1px solid #ccd8df}.backup-check summary{font-weight:700;cursor:pointer}.backup-check label{max-width:620px}.backup-check p{max-width:720px}.backup-check input{background:#fff}
.pilot-journey{padding:16px 24px;background:#eef8f6;border-top:1px solid #c6e2dc}.pilot-journey h2{font-size:20px;margin:0 0 10px}.pilot-journey ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:0 0 12px;padding-left:24px}.pilot-journey li{padding:3px 4px;overflow-wrap:anywhere}.pilot-journey p{margin:12px 0 0;color:#355265}@media(max-width:600px){.pilot-journey ol{grid-template-columns:minmax(0,1fr)}}

/* Keep the actual customer app near the top of small screens. */
.pilot-account-actions{width:100%;padding:0;background:transparent}.pilot-account-actions summary,.pilot-journey-wrap summary{cursor:pointer;font-weight:700;color:#145f5b;padding:10px 0}.pilot-account-actions summary:focus-visible,.pilot-journey-wrap summary:focus-visible{outline:3px solid #08766f;outline-offset:2px}.pilot-action-grid{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0}.pilot-journey-wrap{border-top:1px solid #c6e2dc;background:#eef8f6;padding:2px 24px}.pilot-journey-wrap .pilot-journey{padding:8px 0 16px;border:0}.pilot-journey-wrap .pilot-journey h2{display:none}@media(max-width:600px){.accountbar .pilot-account-actions{grid-column:1/-1}.pilot-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pilot-journey-wrap{padding:2px 16px}}
.accountbar .pilot-feedback-quick{min-height:44px}@media(max-width:600px){.accountbar .pilot-feedback-quick{grid-column:1/-1}}
.pilot-billing{padding:18px 24px;background:#f1f8fc;border-top:1px solid #c5dce7}.pilot-billing h2{font-size:21px;margin:0 0 8px}.pilot-billing p{margin:10px 0;max-width:760px}.pilot-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.pilot-plan-grid button{min-height:82px;text-align:left;background:#fff;border:1px solid #77aaa5;color:#164845;font-weight:700}.pilot-plan-grid button small{font-size:14px;font-weight:400}.pilot-terms{display:flex;gap:12px;align-items:flex-start;max-width:760px}.pilot-terms input{width:20px;height:20px;flex:none;margin:3px 0}.pilot-terms a{color:#145e5b;text-decoration:underline}.pilot-billing button:focus-visible,.pilot-billing a:focus-visible{outline:3px solid #08766f;outline-offset:2px}@media(max-width:680px){.pilot-billing{padding:16px}.pilot-plan-grid{grid-template-columns:minmax(0,1fr)}}
.owner-mirror-panel{padding:18px 24px;background:#eff7fb;border-top:2px solid #8db6c5}.owner-mirror-panel h2{font-size:21px;margin:0 0 6px}.owner-mirror-panel p{max-width:760px;margin:8px 0 12px}.owner-mirror-panel iframe{margin-top:14px;background:white;border:1px solid #b5ccd4;border-radius:8px}.owner-mirror-panel [role=status]{font-weight:600;color:#214b56;overflow-wrap:anywhere}@media(max-width:600px){.owner-mirror-panel{padding:16px}}
.owner-pilot-test{padding:18px 24px;background:#fff;border-top:1px solid #ccd8df}.owner-pilot-test h2{font-size:20px;margin:0 0 6px}.owner-pilot-test p{max-width:760px;margin:8px 0 12px}@media(max-width:600px){.owner-pilot-test{padding:16px}}
.owner-work-link{display:inline-block;padding:12px 16px;margin:4px 0 12px;border-radius:8px;background:#08766f;color:#fff;font-weight:700;text-decoration:none}.owner-work-link:focus-visible{outline:3px solid #102d43;outline-offset:3px}
.pilot-payment-notice{margin:12px 20px;padding:14px 18px;background:#fff3d7;border:1px solid #b77b21;border-radius:10px;color:#45300c;line-height:1.5}

/* The operator opens the existing business first; pilot controls remain separate. */
.owner-session #pilotFeedbackJump,.owner-session #pilotJourneyWrap,.owner-session #pilotBackupCheck,.owner-session #pilotTrialPanel,.owner-session #pilotBilling,.owner-session #pilotPurchaseSurvey,.owner-session #pilotFeedbackDetails,.owner-session #pilotGettingStarted,.owner-session #pilotReadOnlySummary,.owner-session #pilotMount,.owner-session #ownerPilotTest,.owner-session #pilotSave,.owner-session #pilotExport,.owner-session #pilotCloudExport,.owner-session #pilotRecoveryExport,.owner-session #pilotCloudReload,.owner-session #pilotRefreshAccess{display:none!important}
.owner-session .owner-mirror-panel{padding:12px 16px;background:#fff}.owner-session .owner-mirror-panel iframe{height:calc(100vh - 150px);min-height:720px;margin-top:8px}.owner-session .owner-mirror-panel h2{margin-bottom:4px}.owner-session .owner-mirror-panel p{max-width:none}

.try-app{padding:18px;border:1px solid #83b8b0;border-radius:12px;background:#edf8f5}.try-app p{margin:0 0 16px;color:#173e3b}.try-app-button{display:block;text-align:center;border-radius:8px;background:#08766f;color:white;padding:13px 16px;text-decoration:none;font-weight:700;min-height:48px}.try-app-button:focus-visible{outline:3px solid #102d43;outline-offset:3px}.try-app small{display:block;margin-top:10px;color:#3d6260;font-size:14px;line-height:1.45}.login-intro{margin-top:24px}

/* Registration checkboxes: beside the label text (CSP style-src 'self' — no inline <style>). */
.stay-check{display:flex;gap:10px;align-items:flex-start;margin:14px 0;font:inherit;font-size:.92rem;line-height:1.45}
.stay-check input{display:inline-block;width:auto;margin-top:.35em;flex:none}

.password-gate{max-width:620px;margin:48px auto;padding:28px;border:3px solid #0b766e;border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.16)}
.password-gate h2{font-size:clamp(1.8rem,5vw,2.5rem);margin:.25rem 0 .75rem}
.password-gate-lead{font-size:1.15rem;padding:12px 14px;border-radius:10px;background:#eef8f7}
.password-gate form{display:grid;gap:14px;margin-top:20px}
.password-gate input{width:100%;box-sizing:border-box}
.password-gate #initialPasswordButton{min-height:52px;font-weight:700}
.password-gate-note{font-weight:600}

/* ST-104 CSP: legacy admin jump buttons (no inline style) */
#pilotInviteJump{background:#136c50;color:#fff;border:0;border-radius:8px;padding:12px 16px;font-weight:750;cursor:pointer}
#pilotTesterJump{background:#173e62;color:#fff;border:0;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}
