[hidden]{display:none!important}
body{font-size:16px;background:#f3f6f4}
header{min-height:76px;padding:16px max(24px,5%)}
.app-brand{display:flex;align-items:center;gap:10px;font-size:21px;letter-spacing:-.5px}
.app-brand img{width:36px;height:36px;border-radius:9px}
main{padding-top:28px}
button,input,select,textarea{font-size:16px}
button:focus-visible,a:focus-visible{outline:3px solid #b38b3f;outline-offset:3px}
#welcomeScreen{max-width:1060px;margin:20px auto 40px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:white;border:1px solid #dce5de;border-radius:24px;box-shadow:0 12px 50px #153e3908}
.welcome-copy{padding:52px 40px;align-self:center}
.welcome-kicker{font-size:14px;font-weight:650;color:#57766a;margin-bottom:18px}
#welcomeTitle{font-size:clamp(32px,3.6vw,46px);line-height:1.12;letter-spacing:-1.7px;margin:0 0 20px;color:#153e39}
.welcome-copy>p{font-size:16px;line-height:1.65;max-width:35ch}
.welcome-actions{display:grid;gap:12px;margin-top:30px}
.welcome-actions button{width:100%;min-height:50px;border-radius:12px;font-weight:650}
#welcomeSignUp{background:white;border:1px solid #aec5b9;color:#153e39}
#guestContinue{border:0;background:transparent;text-decoration:underline;text-underline-offset:5px;font-weight:500;color:#315e51}
.welcome-copy .welcome-footnote{font-size:14px;text-align:center;max-width:none;margin-top:5px;color:#687b73}
.welcome-art{background:#e9f0eb;padding:38px 32px;display:flex;flex-direction:column;justify-content:center}
.welcome-art svg{width:100%;height:auto;max-height:390px;display:block}
.welcome-art p{font-size:14px;text-align:center;margin:20px auto 0;max-width:29ch;color:#4f6c5e}
#welcomeDraftNote{padding:10px 14px;border-radius:10px;background:#eef4ed;margin:14px 0 0;max-width:none;font-size:14px}
#setupScreen{max-width:650px;margin:0 auto 40px}
.flow-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.flow-progress{display:flex;align-items:center;gap:12px;font-size:14px;color:#738378}
.flow-progress .current{color:#153e39;font-weight:700}
.flow-progress i{display:block;width:22px;height:1px;background:#bccdc1}
.setup-card{background:white;border:1px solid #dce5de;border-radius:20px;padding:30px}
#setupTitle{font-size:28px;line-height:1.2;letter-spacing:-.8px;margin:0 0 10px}
.setup-intro{margin-bottom:24px;font-size:16px}
#setupScreen label{font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;color:#36584b;margin:0 0 7px}
#setupScreen input,#setupScreen select{min-height:48px;border-radius:10px;background:#fff;width:100%;border:1px solid #bbccc1;padding:10px 12px;color:#203c37}
#setupScreen input[type=checkbox]{min-height:22px;width:22px!important;height:22px;padding:0;flex-shrink:0;accent-color:#215b4e}
#setupScreen input::placeholder{color:#8a9890}
#setupScreen .pair{gap:16px;margin-top:18px;margin-bottom:0}
#setupScreen #lShapeFields{margin-top:20px;background:#f2f6f2;padding:18px;border-radius:12px}
#setupScreen #returnGroupFields{margin-top:20px}
#roomLayoutPanel{padding:0;border:0;margin:0;background:none}
#roomLayoutPanel>summary{display:none}
#setupScreen #generate{min-height:52px;border-radius:12px;margin-top:24px!important;font-size:16px;font-weight:650}
#setupScreen .setup-help{margin-top:18px}
#setupScreen .setup-help summary{font-size:14px}
#setupScreen .note{font-size:14px;line-height:1.5}
#setupResume{width:100%;min-height:44px;margin-top:12px;border:0;background:none;text-decoration:underline;text-underline-offset:4px}
#setupError{color:#a43c27;font-size:14px}
.editor-save-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 4px;flex-wrap:wrap}
.editor-save-row .actions{margin:0}
#editRoomLayout{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;max-width:100%;flex:0 0 auto}
#editRoomLayout svg{width:18px;height:18px;min-width:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7}
#draftStatus{font-size:14px}
body[data-screen=welcome] .brand-tagline{display:none}
@media(max-width:640px){
 header{min-height:66px;padding:14px 18px}.app-brand{font-size:20px}.app-brand img{width:32px;height:32px}
 main{padding:20px 14px}.brand-tagline{display:none}
 #welcomeScreen{grid-template-columns:1fr;margin:0 auto 20px;border-radius:18px;max-width:430px}
 .welcome-copy{padding:28px 24px 24px;order:1}
 #welcomeTitle{font-size:34px;max-width:11ch;margin-bottom:14px}
 .welcome-kicker{margin-bottom:12px}.welcome-copy>p{line-height:1.5}
 .welcome-actions{margin-top:22px;gap:10px}
 .welcome-art{padding:16px 24px;order:2;display:none}
 .setup-card{padding:24px 20px;border-radius:16px}.setup-intro{margin-bottom:20px}
 #setupTitle{font-size:26px}.flow-heading{margin-bottom:16px}
 #setupScreen .pair{gap:12px;margin-top:16px}#setupScreen label{font-size:14px}
 #setupScreen #lShapeFields{padding:14px}.editor-save-row{margin-top:12px}
}
@media print{#welcomeScreen,#setupScreen,#editRoomLayout{display:none!important}#editorScreen{display:block!important}}

#editorTitle:focus{outline:none}
#editPlanNames:focus-visible{outline:none;text-decoration:underline;text-underline-offset:5px}

.legal-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:12px 20px 30px;font-size:14px}.legal-links a,.account-legal a{color:#315e51;text-underline-offset:3px}.account-legal{font-size:14px;line-height:1.6;margin-top:18px}

/* Keep navigation and session actions together at the leading edge. */
header{gap:20px}.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.header-auth{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;background:transparent;color:#fff;border-color:#64857b;font-size:14px;white-space:nowrap}.header-auth:hover{background:#254f46}.app-brand{margin-left:auto;flex-shrink:0}.app-brand .brand-name{color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit}.header-auth-status{margin:0;padding:12px 20px;background:#fff0e9;color:#a43c27;font-size:14px;text-align:center}
@media(max-width:600px){header{gap:12px;padding:12px 14px}.header-actions{gap:6px}.header-actions button{font-size:14px;padding:9px 10px}.app-brand .brand-name{display:none}.app-brand img{width:32px;height:32px}.app-brand{margin-left:auto}}
