/* The standalone app uses one screen at a time and one persistent navigation. */
.standalone-app{background:#091525;color:#eef3fa;font:15px/1.55 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--app-line:#2b4059;--app-muted:#adbed1;--app-surface:#102138;--app-accent:#f3c747}
.standalone-app [hidden]{display:none!important}
.standalone-app .app-shell{margin:0;min-height:100dvh;background:none}
.standalone-app main{max-width:1040px;min-height:calc(100dvh - 145px);margin:0 auto;padding:28px 24px 112px;scroll-margin-top:80px}
.standalone-app h1,.standalone-app h2,.standalone-app h3{color:#f6f8fc;letter-spacing:-.025em}
.standalone-app h1{font-size:30px;line-height:1.2;margin:0 0 10px}
.standalone-app h2{font-size:23px;line-height:1.3;margin:0 0 12px}
.standalone-app p{line-height:1.65}
.standalone-app .app-topbar{position:sticky;top:0;z-index:40;min-height:64px;height:64px;padding:8px max(24px,calc((100vw - 992px)/2));display:flex;flex-wrap:nowrap;justify-content:space-between;gap:12px;border-bottom:1px solid var(--app-line);background:#0b192b}
.standalone-app .app-brand{display:flex;align-items:center;gap:9px;border:0;background:none;color:#f6f8fc;text-align:left;font-family:inherit;font-size:15px;line-height:1.25;font-weight:700;cursor:pointer;min-height:44px;padding:0}
.standalone-app .app-brand>span{font-size:16px;font-weight:700;line-height:1.25;letter-spacing:-.2px}
.standalone-app .app-brand small{display:block;font-size:10px;font-weight:400;color:var(--app-muted);margin-top:3px;letter-spacing:0}
.standalone-app .app-header-actions{display:flex;align-items:center;gap:6px}
.standalone-app .header-action{min-height:44px;min-width:44px;padding:9px;border:0;border-radius:9px;background:transparent;color:#c5d4e5;display:flex;align-items:center;gap:7px;cursor:pointer;font-size:12px}
.standalone-app .header-action:hover{background:#1b304a;color:white}
.standalone-app svg{flex-shrink:0}
.standalone-app .header-action svg,.standalone-app .app-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* All tools are direct destinations on every screen. Phones use two rows. */
:root{--app-nav-height:78px}
.standalone-app .app-nav{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:45;align-items:stretch;gap:2px;padding:4px max(8px,calc((100vw - 1040px)/2)) calc(4px + env(safe-area-inset-bottom));background:#050505;border-top:1px solid var(--app-line)}
.standalone-app .app-nav>button{min-width:0;min-height:64px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;margin:0;padding:5px 3px;border:0;border-radius:8px;background:transparent;color:#b6b6b0;font-family:inherit;font-size:12px;font-weight:500;line-height:1.3;cursor:pointer}
.standalone-app .app-nav>button>span{font-family:inherit;font-size:12px;line-height:1.3;text-align:center;white-space:normal;overflow-wrap:normal;max-width:100%;min-height:2.6em;display:flex;align-items:center;justify-content:center}
.standalone-app .app-nav>button.active{color:#efc64b;background:#211e14}
.standalone-app .app-nav>button:hover{color:#fff;background:#1b1b19}
@media(max-width:760px){
 :root{--app-nav-height:148px}
 .standalone-app .app-nav{grid-template-columns:repeat(10,minmax(0,1fr));padding-left:5px;padding-right:5px;gap:2px}
 .standalone-app .app-nav>button{grid-column:span 2;padding:4px 2px;min-height:62px}
 .standalone-app .app-nav>button:nth-child(6){grid-column:2/span 2}
}
@media(max-height:480px) and (min-width:560px){
 .standalone-app .app-nav{grid-template-columns:repeat(9,minmax(0,1fr))}
 .standalone-app .app-nav>button,.standalone-app .app-nav>button:nth-child(6){grid-column:auto}
}
.standalone-app .app-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:650;color:#9bb1ca;margin:0 0 10px}
.standalone-app .screen-heading>p:last-child{color:var(--app-muted);font-size:15px;max-width:600px;margin:0}
.standalone-app #home-panel{max-width:720px;margin:12px auto}
.standalone-app .app-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;font-size:13px;color:#c7d4e4;margin:20px 0}
.standalone-app .app-price strong{color:#f3c747;font-size:20px;font-weight:750;letter-spacing:-.5px}
.standalone-app .app-price>span{font-size:12px;color:#9eb2c8;margin-left:3px}
.standalone-app .home-start{padding:0;border:0;background:none;box-shadow:none}
.standalone-app .start-options{display:grid;grid-template-columns:1fr;gap:10px;margin:0}
.standalone-app .start-option{display:grid;grid-template-columns:38px minmax(0,1fr) 12px;align-items:center;gap:12px;min-height:86px;padding:16px;border:1px solid #3b5571;background:#12263e;border-radius:12px;text-align:left;color:#f4f7fb;cursor:pointer}
.standalone-app .start-option>span{grid-row:auto;color:inherit;font-size:22px;line-height:1.4}
.standalone-app .start-option .action-icon{display:grid;place-items:center;background:#213c53;color:#ffda6d;border-radius:10px;width:38px;height:42px;font-size:27px;font-weight:400}
.standalone-app .start-option strong{display:block;font-size:16px;line-height:1.4;font-weight:650}
.standalone-app .start-option small{display:block;font-size:12px;line-height:1.5;color:#a9bed4;margin:4px 0 0}
.standalone-app .start-option:hover{border-color:#f3c747;background:#19334e}
.standalone-app .home-purchase-note,.standalone-app .account-value{font-size:12px;color:var(--app-muted);line-height:1.6;margin:14px 2px}
.standalone-app #start-saved{margin:0;min-height:40px}
.standalone-app .home-how{display:flex;gap:16px;flex-wrap:wrap;margin:26px 0 0;padding-top:18px;border-top:1px solid var(--app-line);font-size:11px;color:#b5c7db}
.standalone-app .home-how span{display:flex;align-items:center;gap:7px}
.standalone-app .home-how b{font-size:10px;width:20px;height:20px;display:grid;place-items:center;background:#23384e;color:#f2cf6e;border-radius:50%}
.standalone-app .current-work{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;margin:18px 0;border:1px solid #5c6248;border-radius:10px;background:#1c2c37}
.standalone-app .current-work strong{font-size:14px;overflow-wrap:anywhere}
.standalone-app .current-work p{font-size:12px;color:var(--app-muted);margin:3px 0 0}
.standalone-app .current-work .button{flex-shrink:0;font-size:13px;padding:10px 14px}
.standalone-app .button{min-height:44px;border-radius:9px;padding:11px 17px;font-size:14px;line-height:1.5;white-space:normal;letter-spacing:0;box-shadow:none;cursor:pointer}
.standalone-app .button-primary{background:#f3c747;color:#101c2b;border-color:#f3c747;font-weight:700;box-shadow:none}
.standalone-app .button-primary:hover{background:#ffda73;color:#0b1829}
.standalone-app .button-secondary{background:#19314c;color:#e6effa;border:1px solid #47617d}
.standalone-app .text-button{min-height:44px;padding:8px 0;font-size:13px;line-height:1.5;color:#f4d477}
.standalone-app button:disabled{cursor:default;opacity:.55}
.standalone-app button:focus-visible,.standalone-app a:focus-visible,.standalone-app summary:focus-visible{outline:3px solid #ffda73;outline-offset:3px}
.standalone-app .field-input,.standalone-app .export-select,.standalone-app input:not([type=checkbox]):not([type=radio]),.standalone-app select,.standalone-app textarea{max-width:100%;font-family:inherit;font-size:16px;color:#edf4fc;background:#0b1a2d;border:1px solid #4b6580;border-radius:8px;box-sizing:border-box;min-height:44px}
.standalone-app input:not([type=checkbox]):not([type=radio]),.standalone-app select{height:46px;padding:10px 12px}
.standalone-app textarea{padding:12px;line-height:1.6}
.standalone-app .field-label,.standalone-app .field-hint{font-size:13px;line-height:1.6}
.standalone-app .field-label{margin:18px 0 7px;color:#d5e2f0}
.standalone-app .field-hint{color:var(--app-muted)}
.standalone-app .checkbox-label{font-size:13px!important;line-height:1.6!important;color:#c8d7e8}
.standalone-app input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#f3c747;vertical-align:middle;margin-right:8px}
.standalone-app #career-dialog{width:100%;max-width:none;max-height:none;overflow:visible;padding:0;border:0;border-radius:0;background:none;color:inherit;margin:0}
.standalone-app #career-dialog>.dialog-heading{display:block;position:relative;margin:0 0 8px;min-height:0}
.standalone-app #career-close{font-size:12px;min-height:36px;margin-bottom:12px}
.standalone-app #career-title{font-size:28px;margin:0;line-height:1.3}
.standalone-app #career-dialog p{font-size:14px;line-height:1.65;color:#b7cadf}
.standalone-app #career-tool-help{border:0;padding:0;margin:8px 0 22px;font-size:14px;max-width:680px}
.standalone-app #career-dialog [data-career-panel]>h3:first-child,.standalone-app #career-dialog [data-career-panel]>h3:first-child+p{display:none}
.standalone-app #career-dialog h3{font-size:20px;margin:18px 0 10px}
.standalone-app #career-dialog h4{font-size:16px;line-height:1.5}
.standalone-app .career-tabs.document-tools{display:flex;gap:4px;flex-wrap:nowrap;border:0;border-radius:9px;background:#12263e;padding:4px;margin:18px 0;overflow-x:auto}
.standalone-app .document-tools button{flex:1;white-space:normal;font-size:12px;padding:9px 8px;min-height:44px;border:0;border-radius:6px;background:transparent;color:#b9cbdf}
.standalone-app .document-tools button[aria-pressed=true]{background:#2a4056;color:#ffe09a;font-weight:600}
.standalone-app .career-storage{padding:0 14px;margin:14px 0 20px;background:#101f32;border:1px solid var(--app-line);border-radius:8px}
.standalone-app .career-storage summary,.standalone-app .version-save-details summary,.standalone-app .account-data summary{font-size:13px;min-height:44px;padding:12px 0;color:#c9d8ea;cursor:pointer}
.standalone-app .career-storage[open]{padding-bottom:12px}
.standalone-app .career-storage p{font-size:12px!important;margin:5px 0 12px}
.standalone-app #career-status{margin:12px 0;padding:10px 12px;font-size:13px;line-height:1.55}
.standalone-app #career-profile-slot{margin:0}
.standalone-app .profile-section-bar{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:12px 14px;background:#12263e;border:1px solid var(--app-line);border-radius:10px}
.standalone-app .profile-section-bar label{display:flex;align-items:center;gap:12px;width:100%;font-size:12px;font-weight:600;color:#b6c9df;white-space:nowrap}
.standalone-app .profile-section-bar select{flex:1;min-width:0;margin:0}
.standalone-app .profile-section-title{font-size:20px!important;margin:14px 0!important}
.standalone-app [data-profile-category]{margin:0!important;border:0!important;background:none!important;padding:0!important;box-shadow:none!important;overflow:visible!important}
.standalone-app [data-profile-category]>.category-summary{display:none!important}
.standalone-app [data-profile-category]>.builder-entries{padding:0!important}
.standalone-app [data-profile-category]>#builder-personal{margin:0!important;max-width:100%!important}
.standalone-app [data-profile-category]>.button{margin:12px 0!important;max-width:100%!important}
.standalone-app .profile-section-actions{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--app-line);margin-top:22px;padding-top:12px}
.standalone-app .profile-save-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:24px 0 0;border-top:1px solid var(--app-line);padding-top:16px}
.standalone-app [data-career-panel=profile]>.career-actions{margin-bottom:16px}
.standalone-app #career-profile-save,.standalone-app #career-profile-build{display:none}
.standalone-app .service-role{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;margin:16px 0;border:1px solid var(--app-line);border-radius:10px;background:#0e1e32;min-width:0}
.standalone-app .service-role legend{font-size:13px;color:#e4c66b}
.standalone-app .service-role>label{font-size:13px;gap:7px;color:#c8d7e8;min-width:0}
.standalone-app .service-role label:has(textarea),.standalone-app .service-role>.builder-group,.standalone-app .service-role>.service-setup-heading{grid-column:1/-1}
.standalone-app .service-role>.service-setup-heading{font-size:13px;padding:9px 12px;margin:8px 0 0;border-left:2px solid #d1b052;background:#192d43}
.standalone-app .builder-group.resume-category{box-shadow:none;background:#12263b;border:1px solid var(--app-line);border-radius:9px}
.standalone-app .builder-group>.category-summary,.standalone-app .background-builder .resume-category>.category-summary{display:grid;grid-template-columns:30px minmax(0,1fr) 14px;min-height:62px;gap:3px 10px;padding:10px 12px}
.standalone-app .builder-group>.category-summary h3{font-size:14px!important;margin:0!important;line-height:1.4}
.standalone-app .category-icon,.standalone-app .background-builder .category-icon{width:30px;height:32px;border-radius:7px;background:#1c3a53;box-shadow:none}
.standalone-app .category-icon svg{width:21px;height:21px}
.standalone-app .category-hint{font-size:11px;line-height:1.45}
.standalone-app .full-specialty-help{font-size:12px;line-height:1.6;margin:0}
.standalone-app .career-grid{gap:16px}
.standalone-app .career-grid>label,.standalone-app .career-form>label{font-size:13px}
.standalone-app .career-actions{gap:10px;margin:16px 0}
.standalone-app .career-actions .button{width:auto;font-size:13px}
.standalone-app .career-result{padding:16px;margin:10px 0;background:#102138;border-color:var(--app-line);border-radius:9px}
.standalone-app .career-result p{margin:8px 0}
.standalone-app .career-badge{font-size:11px;padding:3px 8px}
.standalone-app .resume-list-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0}
.standalone-app .version-save-details{padding:0 14px;margin:18px 0;border:1px solid var(--app-line);border-radius:8px}
.standalone-app .version-save-details .field-input{width:100%}
.standalone-app #career-versions-empty,.standalone-app #career-jobs-empty{padding:24px 16px;border:1px dashed #3d5571;border-radius:10px;text-align:center}
.standalone-app .library-filters{grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.standalone-app .library-filters label{font-size:12px}
.standalone-app .library-search-label{grid-column:1/-1}
.standalone-app .library-results{gap:10px}
.standalone-app .library-result{padding:14px;border-color:var(--app-line);border-radius:9px;background:#102138;gap:5px}
.standalone-app .library-code{font-size:18px}
.standalone-app .library-result strong{font-size:14px}
.standalone-app .library-result-note{font-size:11px}
.standalone-app .library-detail{padding:18px;margin:18px 0;background:#102138;border-color:#4a6481}
.standalone-app .library-caution{font-size:12px!important}
.standalone-app .library-manual{border-top:1px solid var(--app-line);padding-top:10px}
.standalone-app .career-kit-controls{background:#172a3d;border-color:#5a5940;border-radius:9px;padding:0 16px 12px}
.standalone-app .career-kit-controls summary{font-size:13px;padding:12px 0;min-height:44px}
.standalone-app #career-kit-title{font-size:18px}
.standalone-app .steps{margin:0 0 18px;gap:0;min-height:0}
.standalone-app .steps li{flex:1;padding-bottom:12px;border-width:2px}
.standalone-app .steps button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;font-size:12px;padding:0 4px}
.standalone-app .step-number{width:22px;height:22px;font-size:11px}
.standalone-app .flow-heading{margin:0 0 12px;gap:14px;min-height:0}
.standalone-app .flow-heading p{font-size:12px}
.standalone-app .card{border-radius:12px;border:1px solid var(--app-line);background:#102138;padding:24px;box-shadow:none}
.standalone-app .card-description{font-size:14px;margin-bottom:18px}
.standalone-app .section-kicker{font-size:10px;line-height:1.5;letter-spacing:.12em;margin-bottom:10px}
.standalone-app .upfront-payment{max-width:680px;margin:0 auto}
.standalone-app .upfront-payment>p{font-size:14px;line-height:1.65}
.standalone-app .upfront-payment .upfront-price{font-size:32px;color:#f3c747;margin:16px 0}
.standalone-app .upfront-payment .checkbox-label{margin:20px 0}
.standalone-app .opsec-notice{margin:12px 0 18px;padding:12px;gap:10px;border-radius:8px}
.standalone-app .opsec-notice svg{width:20px;height:20px}
.standalone-app .opsec-notice h2{font-size:12px;margin:0 0 4px}
.standalone-app .opsec-notice p,.standalone-app .opsec-notice summary,.standalone-app .opsec-notice a{font-size:12px;line-height:1.6}
.standalone-app .opsec-notice p{margin:0 0 7px}
.standalone-app .background-builder>summary{margin-bottom:12px}
.standalone-app .background-builder>summary strong{font-size:23px}
.standalone-app .background-builder>p{font-size:13px;color:#b7cadf;line-height:1.6}
.standalone-app .background-builder>.category-guide{display:none}
.standalone-app .resume-entry-switch{margin:16px 0}
.standalone-app .resume-upload-area{padding:18px;border-radius:10px}
.standalone-app #import-resume{min-height:58px;padding:12px 18px}
.standalone-app #import-resume strong{font-size:16px}
.standalone-app #import-resume small{font-size:12px}
.standalone-app .resume-format-badges{gap:8px;margin:14px 0}
.standalone-app .resume-format-badges li{padding:9px 8px}
.standalone-app .resume-format-label,.standalone-app .resume-file-limit,.standalone-app .resume-local-note,.standalone-app .resume-older-word{font-size:12px!important}
.standalone-app .editor-card #resume-input{height:320px;min-height:240px;font-size:16px!important;line-height:1.6;border:1px solid #4b6580;border-radius:8px}
.standalone-app .context-column{max-width:none;grid-template-columns:1fr 1fr;gap:16px}
.standalone-app .stage-intro{margin:8px 0 20px}
.standalone-app .stage-intro h2{font-size:24px}
.standalone-app .context-card>.small-icon,.standalone-app .context-card>h2,.standalone-app .context-card>p:first-of-type{display:none}
.standalone-app .context-card>.field-label:first-of-type{margin-top:0}
.standalone-app .job-input{height:160px;min-height:100px;font-size:15px}
.standalone-app .flow-actions{margin:18px 0;gap:12px}
.standalone-app .final-build-card{max-width:700px;margin:auto}
.standalone-app .empty-state{padding:36px 24px;min-height:0}
.standalone-app .empty-icon{font-size:40px;margin:0 0 14px}
.standalone-app .empty-state h2{font-size:23px;margin-bottom:12px}
.standalone-app .empty-state p{font-size:14px;max-width:460px;margin:0 auto 22px}
.standalone-app .review-overview{gap:16px;margin-bottom:18px}
.standalone-app .strengths-card,.standalone-app .findings-card,.standalone-app .rewrite-card,.standalone-app .next-steps{padding:22px;margin:18px 0;border-radius:12px}
.standalone-app .strengths-card p,.standalone-app .summary-card p,.standalone-app .review-finding>p{font-size:14px;line-height:1.7}
.standalone-app .suggestions-heading{margin:28px 0 18px}
.standalone-app .suggestions-heading h2{font-size:24px}
.standalone-app .suggestion-card{padding:22px;border-radius:12px;margin-bottom:16px}
.standalone-app .export-grid{gap:20px}
.standalone-app .export-tools{padding:22px}
.standalone-app .export-tools>p{font-size:14px}
.standalone-app .design-option{padding:12px;min-height:126px;border-radius:9px}
.standalone-app .design-swatch{transform:scale(.75);margin:-9px auto}
.standalone-app .design-option strong{font-size:13px}
.standalone-app .design-option small{font-size:11px}
.standalone-app .resume-extras{display:flex;align-items:center;gap:16px;border-top:1px solid var(--app-line);margin-top:24px;padding-top:12px}
.standalone-app #settings-panel{max-width:720px;margin:0 auto}
.standalone-app .settings-list{display:grid;border:1px solid var(--app-line);border-radius:11px;overflow:hidden;margin:20px 0}
.standalone-app .settings-list>button,.standalone-app .settings-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:14px 16px;text-align:left;border:0;border-bottom:1px solid var(--app-line);border-radius:0;background:#102138;color:#e3ecf8;font-family:inherit;font-size:14px;line-height:1.5;font-weight:400;cursor:pointer;text-decoration:none}
.standalone-app .settings-list>:last-child{border-bottom:0}
.standalone-app .settings-list>button:hover,.standalone-app .settings-list>a:hover{background:#1a304a}
.standalone-app .settings-list span{color:#9fb6cf}
.standalone-app .app-about{border-top:1px solid var(--app-line);margin-top:24px;padding-top:12px;color:#acbfd4;font-size:12px}
.standalone-app .app-about summary{min-height:44px;cursor:pointer;font-size:13px;color:#cfdded;padding:10px 0}
.standalone-app .app-about a{color:#ead18c;text-decoration:underline}
.standalone-app .storage-notice{display:block;padding:14px;margin:20px 0;background:#11263c;border-radius:10px;border-color:var(--app-line)}
.standalone-app .storage-notice h2{font-size:16px}
.standalone-app .storage-notice p{font-size:13px}
.standalone-app .storage-notice .button{margin-top:12px}
.standalone-app dialog{padding:24px;border-radius:14px;border:1px solid #4b6580;background:#102138;max-height:90dvh;width:min(520px,calc(100vw - 28px));color:#eef3fa}
.standalone-app dialog::backdrop{background:#030a14bb;backdrop-filter:blur(3px)}
.standalone-app dialog h2{font-size:24px}
.standalone-app dialog p{font-size:13px;color:#b9cbe0}
.standalone-app #welcome-dialog{padding:24px;max-width:440px}
.standalone-app #welcome-title{font-size:26px;margin:16px 0 10px}
.standalone-app .welcome-brand{margin-bottom:16px;font-size:10px;gap:10px}
.standalone-app .welcome-brand img{width:34px;height:34px}
.standalone-app .account-benefits{font-size:13px;line-height:1.6;margin:14px 0 20px}
.standalone-app .account-benefits li{margin:4px 0}
.standalone-app #welcome-dialog>.button{min-height:46px;margin:10px 0}
.standalone-app #welcome-dialog>.field-hint{font-size:11px}
.standalone-app #account-dialog{max-width:520px}
.standalone-app #account-dialog .field-label{margin-top:14px}
.standalone-app #account-dialog .field-input{width:100%}
.standalone-app #account-dialog #account-benefits{font-size:13px}
.standalone-app #account-dialog .purchase-history{margin-top:20px;border-top:1px solid var(--app-line);padding-top:6px}
.standalone-app #account-dialog .purchase-history summary{font-size:13px;cursor:pointer;padding:12px 0}
.standalone-app #account-dialog .purchase-history p{font-size:12px}
.standalone-app .toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%);max-width:min(560px,calc(100vw - 32px));padding:12px 18px;font-size:13px;background:#24443c;color:#f1faf7;border:1px solid #527d68;border-radius:10px;z-index:85}
.standalone-app .error-banner{bottom:88px;left:50%;max-width:660px;width:calc(100% - 32px);padding:16px 44px 16px 16px;font-size:13px;line-height:1.6;border-radius:10px}
.standalone-app .loading-card{max-width:440px;padding:28px}
.standalone-app .loading-card h2{font-size:23px}
@media(max-width:760px){
 .standalone-app main{padding:22px 16px 100px}
 .standalone-app .app-topbar{height:60px;min-height:60px;padding:7px 16px;gap:8px}
 .standalone-app .app-brand>span{font-size:15px}
 .standalone-app #account-label{font-size:11px}
 .standalone-app .header-action{padding:9px;gap:6px}
 .standalone-app #home-panel{margin:4px auto}
 .standalone-app h1{font-size:27px}
 .standalone-app .screen-heading>p:last-child{font-size:14px;max-width:330px}
 .standalone-app .app-price{margin:16px 0 18px;gap:4px;font-size:12px}
 .standalone-app .app-price>span{font-size:11px}
 .standalone-app .start-option{padding:14px 12px;min-height:84px;gap:10px;grid-template-columns:34px minmax(0,1fr) 12px}
 .standalone-app .start-option .action-icon{width:34px;height:38px;font-size:25px}
 .standalone-app .start-option strong{font-size:15px}
 .standalone-app .start-option small{font-size:11px}
 .standalone-app .home-how{gap:10px;margin-top:20px;font-size:10px;padding-top:16px}
 .standalone-app .home-how b{width:18px;height:18px}
 .standalone-app #career-title{font-size:25px}
 .standalone-app #career-tool-help{font-size:13px;margin-bottom:18px}
 .standalone-app #career-close{margin-bottom:10px}
 .standalone-app .career-grid,.standalone-app .service-role,.standalone-app .context-column{grid-template-columns:1fr}
 .standalone-app .service-role{padding:14px 12px;gap:14px}
 .standalone-app .profile-section-bar{padding:10px;gap:10px}
 .standalone-app .profile-section-bar label{display:flex;align-items:center;gap:12px;width:100%;font-size:11px}
 .standalone-app .profile-section-title{font-size:18px!important}
 .standalone-app .profile-save-actions{flex-direction:column;gap:8px}
 .standalone-app .profile-save-actions .button{width:100%}
 .standalone-app .profile-save-actions .button-secondary{order:1}
 .standalone-app .career-actions .button{flex:1 1 auto}
 .standalone-app .library-filters{grid-template-columns:1fr 1fr;gap:12px}
 .standalone-app .library-results{grid-template-columns:1fr}
 .standalone-app .library-detail{padding:14px}
 .standalone-app .card{padding:20px 16px}
 .standalone-app .steps button{font-size:10px;gap:6px}
 .standalone-app .step-number{width:19px;height:19px;font-size:10px}
 .standalone-app .empty-state{padding:30px 18px}
 .standalone-app .context-column{gap:16px}
 .standalone-app .flow-actions{gap:10px}
 .standalone-app .flow-actions .button-secondary{font-size:12px}
 .standalone-app .current-work{padding:12px;gap:10px}
 .standalone-app .current-work .button{padding:9px 12px;font-size:12px}
 .standalone-app .resume-extras{flex-direction:column;gap:0;align-items:flex-start}
 .standalone-app .export-tools{padding:20px 16px}
 .standalone-app .strengths-card,.standalone-app .findings-card,.standalone-app .rewrite-card,.standalone-app .next-steps,.standalone-app .suggestion-card{padding:20px 16px}
}
@media(prefers-reduced-motion:reduce){.standalone-app *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.standalone-app .app-shell,.standalone-app .app-nav,.standalone-app dialog,.standalone-app .toast,.standalone-app .error-banner{display:none!important}.standalone-app{background:#fff}}

/* Screen headings already identify these tools. Keep the working area focused. */
.standalone-app .library-heading>h3,.standalone-app .library-heading>p{display:none}
.standalone-app .library-heading .career-badge{margin:0}
.standalone-app #career-dialog .career-opsec{font-size:12px;padding:10px 12px;line-height:1.6;margin:14px 0}
.standalone-app #career-dialog #career-profile-summary{font-size:12px;line-height:1.5;margin:12px 0}
.standalone-app .profile-section-bar{scroll-margin-top:80px}

.standalone-app #career-profile-slot{padding:0;margin:0;background:none;border:0}
.standalone-app [data-career-panel=profile]>.career-actions{margin:4px 0 14px}
.standalone-app #career-profile-load{font-size:12px;padding:6px 0;min-height:36px}
.standalone-app .profile-section-bar{margin-bottom:16px}
.standalone-app .profile-section-title{margin:12px 0!important}

/* Optional first-account walkthrough; the same fields remain directly accessible. */
.standalone-app .profile-setup-offer{margin:0 0 14px}
.standalone-app .profile-setup-offer .text-button{font-size:13px}
.standalone-app .profile-setup-panel{padding:16px;margin:0 0 20px;border:1px solid #526349;border-radius:10px;background:#162b37;scroll-margin-top:80px}
.standalone-app .profile-setup-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.standalone-app #career-dialog #profile-setup-progress{font-size:12px;color:#efd987;margin:0;line-height:1.5}
.standalone-app .profile-setup-heading .text-button{flex-shrink:0;font-size:12px;min-height:36px}
.standalone-app #profile-setup-meter{display:block;width:100%;height:4px;border:0;border-radius:3px;accent-color:#f3c747;margin:8px 0 16px;background:#344b57}
.standalone-app #profile-setup-meter::-webkit-progress-bar{background:#344b57;border-radius:3px}
.standalone-app #profile-setup-meter::-webkit-progress-value{background:#f3c747;border-radius:3px}
.standalone-app #profile-setup-question{font-size:21px;line-height:1.35;margin:0 0 10px;outline:none}
.standalone-app #career-dialog #profile-setup-hint{font-size:14px;color:#d0dfeb;margin:0 0 8px}
.standalone-app #profile-setup-tip-details summary{font-size:12px;color:#f3d779;padding:8px 0;min-height:36px;cursor:pointer}
.standalone-app #profile-setup-tips{font-size:13px;color:#bdd0e3;padding-left:20px;line-height:1.7;margin:8px 0}
.standalone-app #profile-setup-tips li{margin-bottom:8px}
.standalone-app #career-dialog #profile-setup-status{font-size:13px;color:#ffe29a;margin:10px 0 0}
.standalone-app #profile-setup-status:empty{display:none}
.standalone-app .profile-setup-controls{border-top:1px solid #3a5066;margin-top:24px;padding-top:16px}
.standalone-app .profile-setup-controls>.checkbox-label{display:block;line-height:1.7!important}
.standalone-app .profile-setup-controls a{color:#f3d779;text-decoration:underline}
.standalone-app .profile-setup-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.standalone-app .profile-setup-actions .button-primary{margin-left:auto;min-width:130px}
.standalone-app .profile-setup-finished{padding:16px;border:1px solid #547d68;border-radius:10px;background:#18382f;margin-bottom:20px;scroll-margin-top:80px}
.standalone-app .profile-setup-finished h2{font-size:20px}
.standalone-app.profile-setup-active[data-app-view=profile] #career-tool-help,.standalone-app.profile-setup-active[data-app-view=profile] #career-profile-summary,.standalone-app.profile-setup-active[data-app-view=profile] [data-career-panel=profile]>.career-actions,.standalone-app.profile-setup-active[data-app-view=profile] .profile-section-actions,.standalone-app.profile-setup-active[data-app-view=profile] .profile-save-actions,.standalone-app.profile-setup-active[data-app-view=profile] #career-storage{display:none}
@media(max-width:480px){.standalone-app .profile-setup-panel{padding:14px}.standalone-app #profile-setup-question{font-size:20px}.standalone-app .profile-setup-actions{gap:8px}.standalone-app .profile-setup-actions .button{font-size:13px;padding:10px 12px}.standalone-app .profile-setup-actions .text-button{font-size:12px}.standalone-app .profile-setup-actions .button-primary{min-width:115px}.standalone-app #home-profile-setup .text-button{flex-shrink:0}}

/* Resume studio: one editing panel at a time, with a direct path to page proof. */
.standalone-app .export-layout{grid-template-columns:minmax(0,1fr) 390px;gap:20px}
.standalone-app .studio-tools>p{font-size:13px;margin-bottom:14px}
.standalone-app .studio-quick-actions{display:flex;align-items:center;gap:14px;margin:16px 0}
.standalone-app .studio-quick-actions .button{padding:10px 12px;font-size:13px}
.standalone-app .studio-tabs{display:flex;gap:4px;padding:4px;border-radius:9px;background:#1a3046;margin:18px 0}
.standalone-app .studio-tabs button{flex:1;min-height:44px;padding:10px 7px;font-size:12px;color:#b7cbe0;background:none;border-radius:6px}
.standalone-app .studio-tabs button[aria-pressed=true]{background:#2d465b;color:#ffe297;font-weight:650}
.standalone-app .studio-tools details{border-top:1px solid #354e68;margin:16px 0 0;padding-top:4px}
.standalone-app .studio-tools details summary{min-height:44px;padding:12px 0;font-size:13px;color:#f1d482;cursor:pointer}
.standalone-app .selected-template strong{display:block;font-size:19px;color:#f4f7fb}
.standalone-app .selected-template p{font-size:12px;line-height:1.65;color:#b2c6db;margin:6px 0}
.standalone-app .studio-filter{display:grid;gap:7px;margin:12px 0 16px}
.standalone-app .studio-filter label{font-size:12px;color:#bdd0e3}
.standalone-app .studio-filter input,.standalone-app .studio-filter select{width:100%;margin:0 0 8px}
.standalone-app .studio-template{padding:12px 8px!important;min-height:150px;gap:7px;cursor:pointer}
.standalone-app .studio-template strong{font-size:12px!important;line-height:1.4}
.standalone-app .studio-template small{font-size:10px!important;line-height:1.4}
.standalone-app .studio-template:has(input:disabled){opacity:.45;cursor:default}
.standalone-app .studio-swatch{position:relative;display:block;width:62px;height:80px;background:white;border:1px solid #dce1e9;box-shadow:0 2px 5px #0002;padding:10px 7px}
.standalone-app .studio-swatch>b{display:block;background:var(--swatch-accent);height:4px;width:75%;margin-bottom:8px}
.standalone-app .studio-swatch>span{display:grid;gap:4px}
.standalone-app .studio-swatch i{display:block;background:#aab1bb;height:2px}
.standalone-app .studio-swatch i:nth-child(3n){width:65%}
.standalone-app .studio-swatch.header-band>b{height:15px;width:calc(100% + 14px);margin:-10px -7px 8px;border-bottom:5px solid #e0e6ec}
.standalone-app .studio-swatch.header-card>b{background:#dce3ea;height:12px;margin:-3px -2px 7px;width:calc(100% + 4px)}
.standalone-app .studio-swatch.header-plain>b{width:60%}
.standalone-app .studio-swatch.layout-left>span{margin-left:15px}
.standalone-app .studio-swatch.layout-right>span{margin-right:15px}
.standalone-app .studio-swatch>em{position:absolute;top:27px;bottom:10px;width:11px;display:grid;gap:4px;align-content:start;background:#edf1f5;padding:3px 2px}
.standalone-app .studio-swatch.layout-left>em{left:5px}.standalone-app .studio-swatch.layout-right>em{right:5px}
.standalone-app .studio-swatch>em i{background:var(--swatch-accent);opacity:.65;height:2px}
.standalone-app #template-count{font-size:12px;color:#b9cde0;margin:12px 0 0}
.standalone-app .studio-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.standalone-app .studio-fields label{display:grid;gap:7px;align-content:start;font-size:12px;color:#c4d6e9;min-width:0}
.standalone-app .studio-fields .field-input{width:100%;min-width:0;font-size:15px;padding:10px}
.standalone-app .studio-tools #format-federal-note,.standalone-app .studio-tools #agency-writing-note{font-size:12px;line-height:1.65;padding:12px;border-left:3px solid #d2b35a;background:#23333e;margin:16px 0}
.standalone-app .studio-tools .federal-checks{padding:14px;background:#142d3b;border:1px solid #526849;color:#e6f3f5}
.standalone-app .studio-tools .federal-checks h3{font-size:16px;margin:0 0 8px}
.standalone-app .studio-tools .federal-checks p,.standalone-app .studio-tools .federal-checks li{font-size:12px;line-height:1.65;color:#bfd3e4}
.standalone-app .studio-tools .federal-checks summary{font-size:12px;line-height:1.5}
.standalone-app .studio-tools .federal-checks a,.standalone-app #agency-writing-note a{color:#f6dc8d}
.standalone-app .studio-section-list{padding:0;list-style:none;display:grid;gap:12px;margin:16px 0}
.standalone-app .studio-section{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px;border:1px solid #3c5570;border-radius:9px;background:#11263c;min-width:0}
.standalone-app .studio-section>input{grid-column:1/-1;width:100%;font-size:15px}
.standalone-app .studio-section .checkbox-label{font-size:11px!important}
.standalone-app .section-order-actions{display:flex;gap:5px}
.standalone-app .section-order-actions .button{min-width:40px;min-height:42px;padding:7px 10px;font-size:16px}
.standalone-app .studio-text-editor{padding:16px;margin:0!important;border-bottom:1px solid #dce2ea;color:#1c3047;background:#eef2f7}
.standalone-app .studio-text-editor summary{min-height:44px;color:#1c3b5c;font-size:14px;cursor:pointer}
.standalone-app .studio-text-editor .field-label,.standalone-app .studio-text-editor .field-hint{color:#3d536b}
.standalone-app #studio-source-text{display:block;width:100%;font:14px/1.7 inherit;min-height:340px;padding:14px;background:#fff;color:#192c43}
.standalone-app #resume-photo-input{width:100%;height:auto;padding:10px;font-size:12px}
.standalone-app #resume-photo-status{font-size:12px}
@media(max-width:1000px){.standalone-app .export-layout{grid-template-columns:1fr;grid-template-areas:'tools' 'preview';gap:20px}.standalone-app .export-layout>.export-tools{display:block}}
@media(min-width:1001px){.standalone-app .export-layout{grid-template-areas:'preview tools'}.standalone-app .studio-tools{padding:20px}}

.standalone-app .paper-card .paper-toolbar{background:#13283f;color:#d0dfef;border-bottom:1px solid #354d65}
.standalone-app .paper-card .preview-label,.standalone-app .paper-card .preview-help,.standalone-app .paper-card .pdf-page-label{color:#b9cee2}
.standalone-app .studio-text-editor{background:#13283f;color:#c6d9eb}
.standalone-app .studio-text-editor summary,.standalone-app .studio-text-editor .field-label{color:#d0e2f4}
.standalone-app .studio-text-editor .field-hint{color:#b8cce0}
.standalone-app #pdf-pages[aria-busy=true]{opacity:.4}

/* Google authentication stays within the independent program account. */
.standalone-app .google-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:8px;font-size:14px;font-weight:500;box-shadow:none}
.standalone-app .google-button:hover:not(:disabled){background:#eef3fa;color:#1f1f1f;border-color:#9aa9b8}
.standalone-app .google-button svg{width:20px;height:20px;flex-shrink:0}
.standalone-app .google-terms{font-size:11px!important;line-height:1.6;color:#b6c9df;margin:10px 0 14px}
.standalone-app .google-terms a{color:#e8d08a;text-decoration:underline}
.standalone-app .auth-divider{display:flex;align-items:center;gap:12px;color:#97adc6;font-size:11px;margin:16px 0}
.standalone-app .auth-divider:before,.standalone-app .auth-divider:after{content:'';height:1px;flex:1;background:#354c65}
.standalone-app .auth-remember{display:block;margin:14px 0}
.standalone-app #account-link-google{margin-bottom:14px}
.standalone-app .google-existing-choice{border:1px solid #746443;background:#263541;border-radius:9px;padding:14px;margin:16px 0}
.standalone-app .google-existing-choice p{font-size:13px}
.standalone-app .google-existing-choice .text-button{display:block;margin-top:10px}
.standalone-app #welcome-google-status:empty{display:none}
.standalone-app #welcome-dialog .welcome-brand{margin-bottom:12px}
.standalone-app #welcome-dialog .account-benefits{margin:12px 0 16px}
.standalone-app #welcome-dialog .google-button{margin-bottom:0}

/* A short review path, with the document first and one clarification at a time. */
.standalone-app .review-task-nav{display:flex;gap:6px;padding:5px;background:#14293e;border:1px solid #36516d;border-radius:10px;margin-bottom:20px}
.standalone-app .review-task-nav button{flex:1;min-width:0;min-height:48px;background:transparent;color:#c5d6e8;font-size:13px;line-height:1.4;padding:8px;border-radius:7px}
.standalone-app .review-task-nav button[aria-current=step]{background:#2a4358;color:#ffe29a;font-weight:650}
.standalone-app #review-task-title{font-size:26px;margin-bottom:10px;scroll-margin-top:95px}
.standalone-app .review-task-intro{color:#bbcee2;font-size:14px;max-width:680px}
.standalone-app #review-draft-stage>.rewrite-card{margin-top:16px;padding:20px}
.standalone-app #rewrite-draft{height:clamp(290px,48vh,480px);min-height:260px;font-size:15px;line-height:1.6;padding:16px}
.standalone-app #apply-rewrite{width:100%;white-space:normal;min-height:50px}
.standalone-app .review-draft-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}
.standalone-app .review-draft-actions .button{white-space:normal}
.standalone-app .review-notes{border-top:1px solid #36516d;margin-top:22px;padding-top:4px}
.standalone-app .review-notes>summary{min-height:48px;padding:14px 0;cursor:pointer;color:#f4d479;font-size:14px}
.standalone-app .review-notes .review-overview{display:block;margin-top:12px}
.standalone-app .review-notes .score-card{padding:16px;gap:16px;margin-bottom:14px}
.standalone-app .review-notes .score-ring{width:78px;height:78px;min-width:78px}
.standalone-app .review-notes .score-ring strong{font-size:26px}
.standalone-app .review-notes .score-card h2{font-size:20px}
.standalone-app .review-notes .score-card p{font-size:12px}
.standalone-app .review-notes .summary-card{padding:20px}
.standalone-app #review-details-stage{max-width:780px}
.standalone-app .question-heading{scroll-margin-top:100px;margin:18px 0}
.standalone-app .question-heading h3{font-size:19px}
.standalone-app .question-heading>p{font-size:14px;color:#c1d3e6}
.standalone-app .question-heading .question-counter{color:#ffe09a;font-weight:600;font-size:13px}
.standalone-app #review-details-stage .findings-card,.standalone-app #review-details-stage .next-steps{padding:0;border:0;margin:0;background:none;box-shadow:none}
.standalone-app #review-details-stage .review-finding,.standalone-app #review-details-stage .review-question,.standalone-app .review-extra-fields{padding:20px;background:#10243a;border:1px solid #3c5872;border-radius:10px;margin:0;list-style:none}
.standalone-app #review-details-stage .review-finding h3,.standalone-app #review-details-stage .review-question h3{font-size:17px}
.standalone-app #review-details-stage .answer-input{min-height:130px;font-size:16px;line-height:1.6}
.standalone-app #review-details-stage .answer-list{margin:0;padding:0;display:block}
.standalone-app .question-navigation{display:flex;justify-content:space-between;gap:10px;margin:18px 0;padding:10px 0;position:sticky;bottom:78px;background:#081726;z-index:2}
.standalone-app .question-navigation .button{white-space:normal;min-height:48px}
.standalone-app #review-send-area{padding:18px 0;margin-top:0;border-top:0}
.standalone-app #review-send-area .button{white-space:normal;width:100%}
.standalone-app #review-skip-details{display:block;margin:16px 0;min-height:44px}
.standalone-app .studio-template{min-height:130px!important;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:14px!important;position:relative}
.standalone-app .studio-template strong{font-size:15px!important;padding-right:18px}
.standalone-app .studio-template small{font-size:12px!important;text-align:left}
.standalone-app .studio-template input{position:absolute;right:10px;top:12px;opacity:1;width:16px;height:16px;accent-color:#f2ca57}
.standalone-app .studio-template .template-preview-button{font-size:13px;min-height:44px;margin-top:auto;color:#ffe294;text-decoration:underline}
.standalone-app .photo-upload-card #resume-photo-preview{display:block;width:96px;height:96px;object-fit:cover;border-radius:8px;margin:12px 0}
.standalone-app #resume-photo-upload{width:100%;margin-bottom:10px}
.standalone-app .photo-upload-card>label{display:block;margin:6px 0}
.standalone-app #studio-cover-letter{white-space:normal;width:100%;margin-top:16px}
.standalone-app .template-example-dialog{width:min(1000px,100%);max-width:100%;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:20px;border-radius:14px;overflow:hidden;background:#0b1e32;color:#ecf3fb;border:1px solid #4c6580}
.standalone-app .template-example-dialog[open]{display:flex;flex-direction:column;gap:10px}
.standalone-app .example-header{display:flex;gap:12px;justify-content:space-between;align-items:start}
.standalone-app .example-header h2{font-size:22px;margin-bottom:6px}
.standalone-app .example-header p{font-size:13px;color:#c5d6e8;margin:0}
.standalone-app .example-controls{display:flex;gap:12px;align-items:end;justify-content:space-between;flex-wrap:wrap}
.standalone-app .example-controls>label{display:grid;gap:5px;font-size:12px;flex:1;min-width:120px}
.standalone-app .example-controls select{width:100%;min-height:44px;background:#152e48;color:#fff;border:1px solid #506f8c;padding:8px}
.standalone-app .example-page-scroll{overflow:auto;flex:1;min-height:0;background:#243445;border-radius:8px;overscroll-behavior:contain;padding:10px}
.standalone-app #template-example-pages{width:100%;margin:auto}
.standalone-app #template-example-pages .pdf-page{padding:0;margin-bottom:16px;background:transparent;max-width:none}
.standalone-app #template-example-pages canvas{display:block;width:100%;height:auto;background:white}
.standalone-app #template-example-pages.full-size{width:816px}
.standalone-app #template-example-pages .pdf-page-label{color:#d5e1ee;font-size:11px}
.standalone-app .example-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#bacfe1}
.standalone-app #template-example-status{margin:0;font-size:12px}
.standalone-app .branch-picker{background:#10263d;padding:12px;border:1px solid #49637d;gap:12px}
.standalone-app .picker-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.standalone-app .picker-modes .button{font-size:12px;padding:8px 6px;min-height:44px;white-space:normal}
.standalone-app .picker-modes .button[aria-pressed=true]{background:#304c60;border-color:#e0bd55;color:#ffe394}
.standalone-app .picker-library{display:grid;gap:12px}
.standalone-app .picker-library label{font-size:13px;line-height:1.5}
.standalone-app .picker-included{margin:0;font-size:13px;line-height:1.6;color:#c1d2e4;overflow-wrap:anywhere}
.standalone-app .picker-included.has-value{color:#bce8cf;border-left:3px solid #6cb897;padding-left:10px}
.standalone-app .category-count{grid-column:2;grid-row:3;font-size:11px;color:#bee6cc;line-height:1.5}
.standalone-app .category-count:empty{display:none}
@media(max-width:600px){
 .standalone-app .review-task-nav{gap:2px;padding:3px}.standalone-app .review-task-nav button{font-size:12px;padding:8px 5px}
 .standalone-app .review-draft-actions{display:grid}.standalone-app #review-task-title{font-size:23px}
 .standalone-app .template-example-dialog{height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:14px;width:100vw}
 .standalone-app .example-header h2{font-size:19px}.standalone-app .example-controls{gap:8px}.standalone-app .example-controls>.button{font-size:12px;padding:8px 10px}
 .standalone-app .example-footer{align-items:stretch;flex-direction:column;gap:8px}.standalone-app .example-footer .button{width:100%}
 .standalone-app .question-navigation{bottom:74px}.standalone-app .question-navigation .button{font-size:13px;padding:10px 12px}
}

/* Visible sample pages, rather than a wall of template names. */
.standalone-app.browsing-templates .export-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'tools' 'preview'}
.standalone-app #template-library{margin-top:24px;border-top:1px solid #3d5671;padding-top:20px}
.standalone-app #template-library>h3{font-size:20px;margin-bottom:8px}
.standalone-app #design-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.standalone-app .studio-template{padding:9px!important;gap:7px;background:#152c43!important;min-width:0}
.standalone-app .studio-template .template-page-image{display:block;width:100%;height:auto;aspect-ratio:430/557;object-fit:contain;background:#fff;box-shadow:0 2px 8px #0005;border-radius:2px}
.standalone-app .studio-template input{top:auto;bottom:12px;right:10px}
.standalone-app .studio-template strong{font-size:15px!important;margin-top:6px}
.standalone-app .studio-template small{font-size:12px!important}
.standalone-app .studio-template .template-preview-button{font-size:12px;min-height:40px;margin-right:22px}
.standalone-app .studio-filter{max-width:600px}
.standalone-app .profile-save-state{border:1px solid #3d5872;background:#10283c;border-radius:10px;padding:14px;margin:14px 0}
.standalone-app #profile-persistence-status{font-size:14px;font-weight:600;margin:0}
.standalone-app #profile-persistence-status[data-state=saved]{color:#b9e5ca}
.standalone-app #profile-persistence-status[data-state=unsaved],.standalone-app #profile-persistence-status[data-state$=error]{color:#ffe095}
.standalone-app .profile-save-state .field-hint{font-size:12px;margin:8px 0 0}
.standalone-app .profile-save-actions{position:sticky;bottom:76px;z-index:3;background:#0b1e30;padding:10px;border:1px solid #385571;border-radius:10px}
.standalone-app .home-tool-button{display:grid;grid-template-columns:1fr auto;gap:6px 14px;text-align:left;color:#ecf3fa;background:#142b42;border:1px solid #415d77;border-radius:11px;padding:18px;width:100%;margin:20px 0}
.standalone-app .home-tool-button strong{font-size:17px}
.standalone-app .home-tool-button span{font-size:13px;line-height:1.6;color:#bdd1e3}
.standalone-app .home-tool-button b{grid-column:2;grid-row:1/3;align-self:center;font-size:24px;color:#f5ce62}
.standalone-app .letter-start{padding:18px;border:1px solid #415d77;border-radius:10px;background:#112b42;margin-bottom:22px}
.standalone-app .letter-start .button{white-space:normal;margin:5px 6px 5px 0}
.standalone-app .library-steps{display:flex;gap:6px;list-style:none;padding:5px;background:#11283e;border:1px solid #3c5570;border-radius:10px;margin:18px 0}
.standalone-app .library-steps li{flex:1;text-align:center;font-size:13px;color:#c4d5e6;padding:12px 5px;border-radius:6px}
.standalone-app .library-steps li[aria-current=step]{color:#ffe294;background:#2e485e;font-weight:650}
.standalone-app [data-library-stage] h4{font-size:21px;margin:18px 0 10px}
.standalone-app [data-library-stage]>p{font-size:14px;color:#c1d4e5;line-height:1.7}
.standalone-app .library-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.standalone-app .library-kind-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.standalone-app .library-choice{display:flex;flex-direction:column;justify-content:center;text-align:left;padding:20px;border:1px solid #4c6884;background:#15324b;color:#f5f8fc;border-radius:10px;min-height:100px;gap:8px}
.standalone-app .library-choice:hover,.standalone-app .library-choice:focus-visible{border-color:#f5ce62;background:#213f56}
.standalone-app .library-choice strong{font-size:17px}
.standalone-app .library-choice span{font-size:13px;line-height:1.5;color:#c3d5e7}
.standalone-app .library-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;border-bottom:1px solid #3a5570;margin-bottom:20px;padding-bottom:12px}
.standalone-app .library-context p{width:100%;margin:0;font-weight:600;color:#e4edf7}
.standalone-app .library-search-label{display:grid;gap:9px;font-size:14px;margin:18px 0}
.standalone-app .library-search-label input{font-size:16px}
.standalone-app #library-change-filters{margin:12px 0 20px}
.standalone-app #library-change-filters>summary{min-height:44px;color:#f4d47f;cursor:pointer;padding:12px 0}
.standalone-app .library-success{padding:22px;border:1px solid #71a78b;border-radius:12px;background:#12342f;margin:18px 0}
.standalone-app .library-success .career-actions{display:flex;flex-wrap:wrap;gap:12px}
.standalone-app .library-success .button{white-space:normal}
@media(max-width:1000px){.standalone-app #design-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.standalone-app #design-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.standalone-app .library-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.standalone-app .library-kind-grid{grid-template-columns:1fr}.standalone-app .library-choice{padding:16px;min-height:96px}.standalone-app .library-steps li{font-size:12px}.standalone-app .library-success .career-actions{display:grid}.standalone-app .studio-template small{font-size:11px!important}}
.standalone-app #career-profile-save{display:inline-flex}
.standalone-app.browsing-templates .studio-quick-actions,.standalone-app [data-career-panel=profile]>.career-actions{position:sticky;top:70px;z-index:5;padding:10px;background:#10253b;border:1px solid #3b5570;border-radius:9px}
/* Keep the actual example pages near the top of the template screen. */
.standalone-app.browsing-templates .studio-tools>.section-kicker,.standalone-app.browsing-templates .studio-tools>p,.standalone-app.browsing-templates .selected-template{display:none}
.standalone-app.browsing-templates .studio-quick-actions{margin:8px 0;padding:5px;border:0}
.standalone-app.browsing-templates .studio-tabs{margin:10px 0}
.standalone-app.browsing-templates #template-library{margin-top:12px;padding-top:12px}
.standalone-app.browsing-templates #template-library>h3{font-size:19px}
.standalone-app.browsing-templates #template-library>.field-hint{font-size:12px;line-height:1.55;margin-bottom:12px}
.standalone-app .studio-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin:10px 0 14px}
.standalone-app .studio-filter>label:first-child{grid-column:1;grid-row:1}
.standalone-app .studio-filter>select{grid-column:1;grid-row:2}
.standalone-app .studio-filter>label:nth-of-type(2){grid-column:2;grid-row:1}
.standalone-app .studio-filter>input{grid-column:2;grid-row:2}
.standalone-app .studio-filter input,.standalone-app .studio-filter select{min-width:0;font-size:13px}
/* Guided setup also offers an explicit save, independently of opt-in step saves. */
.standalone-app.profile-setup-active[data-app-view=profile] [data-career-panel=profile]>.career-actions{display:flex}
.standalone-app.profile-setup-active .profile-setup-panel{scroll-margin-top:135px}

/* Public CV setup stays within the app's existing navigation. */
.cv-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.cv-choices,.cv-preview-column{min-width:0}.cv-checks{border:1px solid var(--line,#435469);border-radius:12px;padding:12px 16px;margin:18px 0}.cv-checks legend{padding:0 6px;font-weight:700}.cv-checks .checkbox-label{margin:10px 0}.cv-published,.cv-publish-box{padding:20px;border:1px solid var(--line,#435469);border-radius:14px;margin:20px 0}.cv-published{border-color:#e7bf41}.cv-preview{color:#17222f;background:#fff;border-radius:6px;padding:24px;overflow-wrap:anywhere;font-size:14px;line-height:1.55;box-shadow:0 4px 18px #0002}.cv-preview h2{color:#12294d;font-size:25px;margin:0 0 8px}.cv-preview h3{color:#12294d;font-size:16px;border-bottom:2px solid #d3af40;padding-bottom:5px;margin:22px 0 10px}.cv-preview h4{color:#17222f;font-size:14px;margin:14px 0 4px}.cv-preview p,.cv-preview li{color:#33435a;font-size:14px;line-height:1.55;white-space:pre-wrap}.cv-preview p{margin:6px 0}.cv-preview a{color:#12305e;display:block;overflow-wrap:anywhere}.cv-preview ul{padding-left:20px}.cv-choices label:not(.checkbox-label){display:block;margin:16px 0 6px;font-weight:600}.cv-choices input:not([type=checkbox]),.cv-choices textarea,#cv-link{width:100%;min-width:0}#cv-link{font-size:14px;margin-top:10px}#cv-status{overflow-wrap:anywhere}#cv-consent{flex-shrink:0}.cv-publish-box>.button{margin-top:12px}
@media(max-width:760px){.cv-editor-grid{grid-template-columns:minmax(0,1fr);gap:12px}.cv-published,.cv-publish-box{padding:16px}.cv-preview{padding:20px}.cv-published .career-actions{gap:12px}}

.resume-profile-offer,.profile-import-entry{border:1px solid #546a81;border-radius:12px;padding:16px;margin:16px 0}.resume-profile-offer h3{margin-top:0}.profile-import-entry>summary{color:#f0c64a;font-weight:700;cursor:pointer}.profile-import-dialog{width:min(840px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 32px);padding:24px;background:#0d1c2c;color:#e6edf4;border:1px solid #53677d;border-radius:16px;overflow:auto}.profile-import-dialog::backdrop{background:#020a14c9}.pi-top{display:flex;align-items:start;gap:12px;justify-content:space-between}.pi-top h2{font-size:22px;margin:0}.pi-top button{flex-shrink:0}.profile-import-dialog progress{width:100%;height:6px;accent-color:#f0c64a}.profile-import-dialog select,.profile-import-dialog input:not([type=checkbox]),.profile-import-dialog textarea{width:100%;min-width:0}.profile-import-dialog label:not(.pi-use){display:block;margin:8px 0}.profile-import-dialog pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:230px;overflow:auto;padding:12px;background:#071322;font-size:14px}.profile-import-dialog .pi-entry{min-width:0;margin:20px 0;border:1px solid #50657d;border-radius:12px;padding:16px}.pi-entry legend{padding:0 6px;font-weight:700;max-width:100%;overflow-wrap:anywhere}.pi-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pi-field{min-width:0;border-top:1px solid #35495c;padding-top:10px}.pi-use{display:flex;gap:8px;align-items:start;font-size:13px;color:#f0d16e}.pi-use input{flex-shrink:0;margin-top:3px}.pi-existing{font-size:12px;line-height:1.5;color:#b9c8d8;overflow-wrap:anywhere;white-space:pre-wrap}.pi-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:16px 0}.profile-import-dialog button,.profile-import-dialog input,.profile-import-dialog select{min-height:44px}.profile-import-dialog input[type=checkbox]{width:18px;height:18px;min-height:0;accent-color:#efc547}.profile-import-dialog #pi-status{white-space:pre-wrap;overflow-wrap:anywhere}.pi-fields>fieldset{grid-column:1/-1;min-width:0}.pi-fields>fieldset label{display:flex;gap:10px;align-items:center}
@media(max-width:620px){.profile-import-dialog{padding:18px 16px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:8px}.pi-fields{grid-template-columns:minmax(0,1fr)}.pi-actions>.button{width:100%;order:3}.pi-top h2{font-size:20px}}

.profile-import-dialog input,.profile-import-dialog select,.profile-import-dialog textarea{font-size:16px}

.profile-import-dialog[open]{display:flex;flex-direction:column;overflow:hidden;height:min(900px,calc(100dvh - 24px))}#pi-review:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.profile-import-dialog .pi-scroll{flex:1;min-height:0;overflow:auto;padding-right:4px;scroll-behavior:auto}.profile-import-dialog .pi-actions{flex-shrink:0;border-top:1px solid #4b6580;margin:0;padding:12px 0 0}.profile-import-dialog .pi-input-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.profile-import-dialog .pi-use{font-size:14px;align-items:center;margin-bottom:8px}.profile-import-dialog .pi-entry{margin:14px 0}.profile-import-dialog #pi-progress{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-import-dialog .pi-privacy{font-size:14px;margin:8px 0}.profile-import-dialog #pi-source-details{font-size:14px}.profile-import-dialog #pi-status{font-size:14px;margin:10px 0}.profile-import-dialog #pi-session-note{font-size:13px;margin:8px 0 12px}.profile-import-dialog #pi-title{font-size:20px;margin:12px 0}

.template-finish-box{padding:18px;margin:18px 0;border:1px solid var(--gold,#eec54b);border-radius:12px;background:rgba(238,197,75,.05)}.template-finish-box h3{margin-top:0}#cv-use-resume{margin:12px 0}#cv-source-state{font-size:.9rem}#cv-resume-source{width:100%}

body.standalone-app main{padding-bottom:calc(var(--app-nav-height) + 28px)}
html{scroll-padding-bottom:calc(var(--app-nav-height) + 16px)}
body.standalone-app .toast,body.standalone-app .error-banner{bottom:calc(var(--app-nav-height) + 12px)}
body.standalone-app .question-navigation{bottom:calc(var(--app-nav-height) + 8px)}
