/* First access uses existing semantic FYNIA UI tokens. */
.onboarding-modal{width:min(600px,calc(100vw - 32px));max-width:600px;max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--border);border-radius:24px;background:var(--surface);color:var(--ink);overflow:auto;box-sizing:border-box}
.onboarding-modal::backdrop,.install-dialog::backdrop{background:color-mix(in srgb,var(--green-950) 65%,transparent)}
#onboardingContent{display:grid;gap:16px}.guide-brand{text-align:center}.guide-brand img{width:180px;max-width:100%;height:auto;object-fit:contain}.guide-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.guide-top button{font-size:12px;min-height:44px}.onboarding-modal h1{font-size:26px;margin:0;line-height:1.2}.onboarding-modal h2{font-size:16px;margin:0}.onboarding-modal p{margin:0;line-height:1.6}.onboarding-modal small{color:var(--muted);font-size:13px}.onboarding-modal progress{width:100%;height:8px;accent-color:var(--accent)}
.guide-choices{display:grid;gap:12px}.guide-choices button{display:grid;gap:8px;text-align:left;white-space:normal;padding:16px;background:var(--surface-secondary);color:var(--ink)}.guide-choices strong{font-size:16px}.guide-choices span{font-size:14px;font-weight:400;line-height:1.5;color:var(--muted)}.guide-choices b{font-size:14px;color:var(--accent)}.guide-actions,.guide-shortcuts{display:flex;flex-wrap:wrap;gap:8px}.guide-actions button{flex:1;min-width:140px}.guide-shortcuts button{font-size:14px;min-height:44px}.guide-note{display:grid;gap:12px;background:var(--surface-secondary);padding:16px;border-radius:16px}.guide-added{display:grid;gap:8px;padding-left:24px;margin:0}.guide-footer{display:flex;justify-content:space-between;gap:8px;position:sticky;bottom:-24px;background:var(--surface);padding:16px 0 max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--border)}.guide-footer button{min-height:44px;font-size:14px;white-space:normal;flex:1}
#onboardingContent label{display:grid;gap:8px;font-size:14px}#onboardingContent input{width:100%;min-width:0;height:48px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--input-bg);color:var(--ink);font-size:16px;box-sizing:border-box}
.welcome-empty .empty{min-height:240px;gap:8px}.welcome-empty .empty h3{font-size:22px}.welcome-empty .empty p{font-size:15px}.empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.first-steps ul{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:0}.first-steps li{display:flex;align-items:center;gap:8px;font-size:14px}.first-steps li>span:first-child{color:var(--accent)}.first-steps button{min-height:44px}.guide-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface-secondary)}.insight-readiness p{font-size:15px;color:var(--muted)}
.install-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--border);border-radius:24px;background:var(--surface);color:var(--ink);overflow:auto}.install-dialog h2{font-size:24px;margin-top:0}.install-dialog li{padding:12px 0;font-size:16px;line-height:1.5}.install-dialog .icon{width:24px;height:24px;vertical-align:middle}.install-dialog small{display:block;color:var(--muted);line-height:1.5}.install-dialog form{margin-top:24px;text-align:right}.install-dialog button{min-height:44px}
.sidebar .brand-lockup .brand,.sidebar .brand-lockup .brand img{width:150px;height:auto;max-height:none}.sidebar .brand-lockup{margin-bottom:24px}.sidebar .brand-signature{font-size:13px;line-height:1.5;margin:8px 0 0}.mobile-brand{flex-shrink:0}.mobile-brand img{width:96px;height:36px;object-fit:contain;max-width:100%}
.planning-card-composition{display:block!important;margin-top:8px!important;font-size:13px!important;font-weight:400;color:var(--muted);line-height:1.5}.planning-card-composition span{display:inline;font-size:inherit}.planning-list-row>span{min-width:0}
@media(max-width:600px){.onboarding-modal,.install-dialog{padding:16px;border-radius:24px}.onboarding-modal h1{font-size:24px}.guide-footer{bottom:-16px}.guide-top{align-items:flex-start}.guide-brand img{width:150px}.guide-shortcuts{display:grid;grid-template-columns:1fr 1fr}.welcome-empty .empty{padding:24px 8px}.empty-actions{flex-direction:column;width:100%}.guide-resume{flex-direction:column;align-items:stretch}.first-steps ul{flex-direction:column;gap:4px}.guide-actions{flex-direction:column}.mobile-brand img{width:84px;height:32px}.planning-card-composition{max-width:240px}}
