:root{color:#172033;background:#e8edf5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;white-space:nowrap}.app-shell{--accent: #0f766e;min-height:100vh;background:linear-gradient(180deg,#ffffffb8,#e8edf5e0 280px),#e8edf5}.topbar{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(420px,1.3fr);align-items:center;gap:18px;padding:14px 24px;border-bottom:1px solid #d9e1ec;background:#f8fafcf0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.eyebrow{margin:0 0 4px;color:#64748b;font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.topbar h1{margin:0;font-size:22px}.topbar-stats{display:flex;gap:8px;justify-content:center}.topbar-stats span{display:inline-flex;align-items:center;justify-content:center;min-width:74px;white-space:nowrap;border:1px solid #dbe3ee;border-radius:999px;padding:7px 11px;background:#fff;color:#475569;font-size:12px;font-weight:800}.toolbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.save-state{color:#64748b;font-size:13px}.primary,.ghost{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:1px solid #cbd5e1;border-radius:8px;padding:0 14px;background:#fff;color:#172033;font-weight:700}.primary{border-color:var(--accent);background:var(--accent);color:#fff}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;background:#0f172a7a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.guide-modal{width:min(920px,100%);max-height:min(860px,calc(100vh - 48px));overflow:hidden;border:1px solid #d8e1ec;border-radius:8px;background:#fff;box-shadow:0 28px 90px #0f172a47}.guide-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,#ffffff),#fff 62%)}.guide-head h2{margin:0;font-size:24px}.guide-head button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172033;font-size:24px;font-weight:800;line-height:1}.guide-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-height:calc(min(860px,100vh - 48px) - 86px);overflow:auto;padding:22px 24px 26px}.guide-body section{border:1px solid #e2e8f0;border-radius:8px;padding:16px;background:#fff}.guide-body h3{margin:0 0 10px;color:#172033;font-size:16px}.guide-body ul,.guide-body ol{display:grid;gap:8px;margin:0;padding-left:20px;color:#475569;font-size:14px;line-height:1.65}.guide-body strong{color:#172033}.workspace{display:grid;grid-template-columns:minmax(340px,430px) minmax(360px,1fr);gap:18px;align-items:start;padding:22px 18px 36px}.editor-panel{position:sticky;top:86px;max-height:calc(100vh - 108px);overflow:auto;display:flex;flex-direction:column;gap:14px;padding-right:2px}.panel-section,.section-card{border:1px solid #d9e1ec;border-radius:8px;background:#ffffffeb;box-shadow:0 10px 34px #0f172a0f}.panel-section{padding:16px}.section-heading,.section-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading h2{margin:0;font-size:15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}label{display:grid;gap:6px;color:#475569;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;background:#fff;color:#172033;outline:none}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}.span-2{grid-column:1 / -1}.style-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.template-card{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:10px;min-height:74px;border:1px solid #d8e1ec;border-radius:8px;padding:9px;background:#fff;color:#172033;text-align:left}.template-card.active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent),0 8px 22px color-mix(in srgb,var(--accent) 14%,transparent)}.template-card strong,.template-card small{display:block}.template-card strong{font-size:13px}.template-card small{margin-top:3px;color:#64748b;font-size:11px}.template-preview{position:relative;display:block;width:46px;height:56px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;overflow:hidden}.template-preview i,.template-preview b,.template-preview em{position:absolute;display:block;border-radius:3px;background:#cbd5e1}.template-preview i{top:8px;left:7px;width:18px;height:5px;background:var(--accent)}.template-preview b{top:19px;left:7px;width:32px;height:3px}.template-preview em{top:29px;left:7px;width:26px;height:14px}.preview-sidebar:after,.preview-executive:after{position:absolute;content:"";inset:0 auto 0 0;width:14px;background:var(--accent)}.preview-compact i{width:28px}.preview-fresh{background:#f8fafc}.preview-fresh:after{position:absolute;content:"";right:5px;bottom:5px;width:14px;height:14px;border-radius:999px;background:color-mix(in srgb,var(--accent) 22%,#ffffff)}.preview-timeline:after{position:absolute;content:"";top:17px;bottom:7px;left:12px;width:2px;background:var(--accent)}.preview-executive{background:#f8fafc}.preview-ats{background:#fff}.preview-ats i,.preview-ats b,.preview-ats em{background:#64748b}.preview-consulting{background:#f8fafc}.preview-consulting:after{position:absolute;content:"";left:7px;right:7px;bottom:8px;height:2px;background:#172033}.preview-portfolio{background:color-mix(in srgb,var(--accent) 8%,#ffffff)}.preview-portfolio:after{position:absolute;content:"";right:6px;top:8px;width:12px;height:38px;border-radius:4px;background:var(--accent)}.compact-controls{margin-top:12px}.quality-panel strong{color:var(--accent);font-size:14px}.score-bar{height:8px;margin:14px 0 12px;overflow:hidden;border-radius:999px;background:#e2e8f0}.score-bar span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.quality-panel ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.quality-panel li{position:relative;padding-left:18px;color:#64748b;font-size:13px;font-weight:700}.quality-panel li:before{position:absolute;content:"";top:5px;left:0;width:8px;height:8px;border-radius:999px;background:#cbd5e1}.quality-panel li.done{color:#172033}.quality-panel li.done:before{background:var(--accent)}.swatches{display:flex;gap:10px;margin-top:12px}.swatch{width:30px;height:30px;border:2px solid transparent;border-radius:999px}.swatch.active{border-color:#111827;box-shadow:0 0 0 3px #fff,0 0 0 5px #111827}.quick-add{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.quick-add button{min-height:30px;border:1px solid #d8e1ec;border-radius:999px;padding:0 10px;background:#f8fafc;color:#475569;font-size:12px;font-weight:800}.quick-add button:hover{border-color:var(--accent);color:var(--accent)}.module-picker{border-color:color-mix(in srgb,var(--accent) 42%,#d9e1ec);background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 11%,#ffffff),#fff 58%),#fff}.module-picker .section-heading h2:before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:8px;border-radius:999px;background:var(--accent);color:#fff;font-size:15px;line-height:1}.module-picker select{min-width:160px}.module-picker .quick-add button{background:#fff}.module-list-panel{padding-top:14px}.section-count{border:1px solid #d8e1ec;border-radius:999px;padding:5px 9px;background:#f8fafc;color:#64748b;font-size:12px;font-weight:800;white-space:nowrap}.section-card{margin-top:12px;overflow:hidden}.section-card-head{padding:12px;background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 8%,#ffffff),#f8fafc)}.section-title-input{border:0;background:transparent;padding:4px 0;font-weight:800}.icon-actions{display:flex;flex:0 0 auto;gap:6px}.icon-actions button,.bullet-editor button{width:30px;height:30px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-weight:800}.section-body{padding:12px}.item-editor{border-top:1px solid #e2e8f0;padding:12px 0}.item-editor:first-child{border-top:0;padding-top:0}.bullet-editor{display:grid;gap:8px;margin-top:12px}.bullet-editor label{grid-template-columns:1fr auto;align-items:center}.text-button,.add-item{border:0;background:transparent;color:var(--accent);font-weight:800}.text-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-width:max-content;min-height:32px;margin-top:8px;border-radius:6px;padding:0 10px;line-height:1;writing-mode:horizontal-tb}.text-button:hover{background:color-mix(in srgb,var(--accent) 10%,#ffffff)}.bullet-editor>.text-button{justify-self:start}.add-item{display:flex;align-items:center;justify-content:center;width:100%;min-height:38px;margin-top:4px;border:1px dashed #94a3b8;border-radius:8px;background:#f8fafc}.preview-panel{position:sticky;top:86px;display:grid;justify-items:center;gap:14px;min-width:0;max-height:calc(100vh - 108px);overflow:auto;border:1px solid #d9e1ec;border-radius:8px;padding:14px;background:#ffffff80}.preview-head{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:860px;color:#475569;font-size:12px}.preview-head div{display:flex;align-items:baseline;gap:8px}.preview-head strong{color:#172033;font-size:14px}.preview-head p{margin:0;border:1px solid #d8e1ec;border-radius:999px;padding:5px 10px;background:#fff;font-weight:800}.resume-page{width:860px;min-height:1120px;padding:48px;background:#fff;box-shadow:0 24px 70px #0f172a29;zoom:clamp(.38,calc((100vw - 500px) / 860),1)}.margin-narrow .resume-page{padding:38px}.margin-wide .resume-page{padding:60px}.resume-header{display:flex;justify-content:space-between;gap:28px;padding-bottom:24px;border-bottom:3px solid var(--accent)}.resume-header h2{margin:0 0 8px;color:#111827;font-size:38px}.resume-header p{margin:0;color:var(--accent);font-size:18px;font-weight:800}.contact-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-content:flex-start;max-width:390px;margin:0;padding:0;color:#475569;font-size:13px;list-style:none}.contact-list li{display:inline-flex;align-items:flex-start;justify-content:flex-end;gap:5px;min-height:28px;max-width:100%;min-width:0;border:1px solid #dbe3ee;border-radius:8px;padding:4px 8px 4px 7px;background:#f8fafc}.contact-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:14px;height:16px;margin-top:2px;color:var(--accent)}.contact-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.contact-text{max-width:260px;min-width:0;overflow-wrap:anywhere;color:#40516a;font-weight:650;line-height:1.45;text-align:right;white-space:normal;word-break:break-word}.contact-website .contact-text{max-width:204px;text-align:right}.contact-website{width:240px;gap:4px;padding-left:6px;padding-right:7px}.target{margin:18px 0 0;color:#334155;font-weight:700}.resume-content{display:grid;gap:20px;margin-top:24px}.resume-content section{break-inside:avoid}.resume-content h3{margin:0 0 12px;color:var(--accent);font-size:16px;border-bottom:1px solid #e2e8f0;padding-bottom:7px}.resume-item{margin-top:14px;color:#253247;font-size:14px;line-height:1.7}.resume-item:first-of-type{margin-top:0}.item-title-row,.item-subtitle-row{display:flex;justify-content:space-between;gap:18px}.item-title-row strong{color:#111827;font-size:15px}.item-title-row span,.item-subtitle-row{color:#64748b}.resume-item ul{margin:8px 0 0;padding-left:18px}.resume-item p{margin-bottom:0}.text-small .resume-item{font-size:13px}.text-small .resume-content h3{font-size:15px}.text-small .resume-header h2{font-size:34px}.text-large .resume-item{font-size:15px}.text-large .resume-content h3{font-size:17px}.text-large .resume-header h2{font-size:42px}.density-compact .resume-content{gap:14px;margin-top:18px}.density-compact .resume-item{margin-top:9px;line-height:1.48}.density-compact .resume-item ul{margin-top:5px}.density-relaxed .resume-content{gap:26px;margin-top:30px}.density-relaxed .resume-item{margin-top:18px;line-height:1.82}.skill-line{white-space:pre-wrap}.theme-sidebar .resume-page{padding:0}.theme-sidebar .resume-header{display:grid;grid-template-columns:1fr 240px;padding:30px 40px;border-bottom:0;background:var(--accent);color:#fff}.theme-sidebar .resume-header h2{font-size:34px}.theme-sidebar .resume-header p{font-size:16px}.theme-sidebar .contact-list{gap:6px;max-width:260px}.theme-sidebar .contact-list li{min-height:26px;padding-top:3px;padding-bottom:3px}.theme-sidebar .resume-header h2,.theme-sidebar .resume-header p,.theme-sidebar .contact-list,.theme-sidebar .contact-text{color:#fff}.theme-sidebar .contact-list li{border-color:#ffffff38;background:#ffffff1f}.theme-sidebar .contact-icon{color:#fff}.theme-sidebar .target,.theme-sidebar .resume-content{margin-left:40px;margin-right:40px}.theme-sidebar .target{border-left:4px solid var(--accent);padding-left:12px}.theme-sidebar .resume-content{gap:16px;margin-top:18px}.theme-compact .resume-page{min-height:1080px;padding:38px 44px}.theme-compact .resume-header{padding-bottom:16px}.theme-compact .resume-header h2{font-size:32px}.theme-compact .resume-content{gap:14px;margin-top:18px}.theme-compact .resume-item{margin-top:9px;line-height:1.55}.theme-executive .resume-page{padding:54px 58px;border-top:10px solid #172033}.theme-executive .resume-header{align-items:end;border-bottom:1px solid #172033}.theme-executive .contact-list{max-width:360px;gap:7px}.theme-executive .contact-list li{border-color:#d8dee8;background:#fff}.theme-executive .resume-header h2{font-family:Georgia,Times New Roman,serif;color:#172033;font-size:42px}.theme-executive .resume-header p,.theme-executive .resume-content h3{color:#172033}.theme-executive .resume-content h3{border-bottom:1px solid #172033;text-transform:uppercase}.theme-fresh .resume-page{padding:44px;background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 10%,transparent),transparent 38%),#fff}.theme-fresh .resume-header{border:0;border-radius:8px;padding:28px;background:color-mix(in srgb,var(--accent) 10%,#f8fafc)}.theme-fresh .target{border-radius:8px;padding:12px 14px;background:#f8fafc}.theme-fresh .resume-content h3{display:inline-block;border:0;border-radius:999px;padding:6px 12px;background:color-mix(in srgb,var(--accent) 12%,#ffffff)}.theme-timeline .resume-header{border-bottom:1px solid #dbe3ee}.theme-timeline .resume-content{gap:16px}.theme-timeline .resume-content section{position:relative;padding-left:24px}.theme-timeline .resume-content section:before{position:absolute;content:"";top:6px;bottom:-16px;left:5px;width:2px;background:color-mix(in srgb,var(--accent) 30%,#dbe3ee)}.theme-timeline .resume-content section:after{position:absolute;content:"";top:4px;left:0;width:12px;height:12px;border:3px solid #ffffff;border-radius:999px;background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.theme-timeline .resume-content h3{border-bottom:0;padding-bottom:0}.theme-ats .resume-page{padding:44px 52px;box-shadow:0 24px 70px #0f172a1f}.theme-ats .resume-header{display:grid;grid-template-columns:1fr;gap:10px;padding-bottom:16px;border-bottom:1px solid #172033;text-align:center}.theme-ats .resume-header h2{margin-bottom:4px;font-size:34px;letter-spacing:0;text-transform:uppercase}.theme-ats .resume-header p{color:#172033;font-size:15px}.theme-ats .contact-list{display:flex;justify-content:center;flex-wrap:wrap;max-width:none;gap:7px;color:#334155;text-align:center}.theme-ats .contact-list li{border:0;background:transparent;padding:0}.theme-ats .target{text-align:center}.theme-ats .resume-content h3{color:#172033;border-bottom:1px solid #172033;font-size:14px;text-transform:uppercase}.theme-consulting .resume-page{padding:50px 56px;border-left:12px solid #172033}.theme-consulting .resume-header{align-items:start;border-bottom:2px solid #172033}.theme-consulting .resume-header h2{color:#172033;font-size:36px}.theme-consulting .resume-header p{color:#475569}.theme-consulting .target{display:inline-block;border-bottom:2px solid var(--accent);padding-bottom:5px}.theme-consulting .resume-content h3{color:#172033;border-bottom:0;border-left:5px solid var(--accent);padding:1px 0 1px 10px}.theme-consulting .item-title-row strong{font-size:16px}.theme-portfolio .resume-page{padding:0;overflow:hidden}.theme-portfolio .resume-header{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;padding:30px 40px;border-bottom:0;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 18%,#ffffff),#fff 58%),#fff}.theme-portfolio .resume-header h2{font-size:36px}.theme-portfolio .contact-list{align-content:start;max-width:260px;border-left:1px solid color-mix(in srgb,var(--accent) 35%,#dbe3ee);padding-left:14px;gap:6px}.theme-portfolio .contact-list li{min-height:26px;padding-top:3px;padding-bottom:3px}.theme-portfolio .target{margin:0;padding:11px 40px;background:#172033;color:#fff}.theme-portfolio .resume-content{gap:14px;margin:20px 40px 40px}.theme-portfolio .resume-content h3{border-bottom:0;color:var(--accent)}.theme-portfolio .resume-content section{border:1px solid #e2e8f0;border-radius:8px;padding:14px}.font-serif .resume-page{font-family:Georgia,Times New Roman,serif}.font-mono .resume-header h2,.font-mono .resume-content h3{font-family:SFMono-Regular,Consolas,monospace}@media(max-width:760px){.topbar{grid-template-columns:1fr}.topbar-stats{justify-content:flex-start}.workspace{grid-template-columns:1fr}.editor-panel,.preview-panel{position:static;max-height:none}}@media(max-width:720px){.topbar,.resume-header,.theme-sidebar .resume-header{display:grid}.topbar,.workspace{padding:16px}.toolbar{justify-content:flex-start}.form-grid,.style-row,.template-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.resume-page{min-width:680px;zoom:1}.modal-backdrop{padding:12px}.guide-modal{max-height:calc(100vh - 24px)}.guide-head{padding:16px}.guide-body{grid-template-columns:1fr;max-height:calc(100vh - 104px);padding:16px}}@media print{@page{size:A4;margin:0}html,body{background:#fff;width:210mm;min-height:297mm}.topbar,.editor-panel,.preview-head,.modal-backdrop{display:none}.workspace{display:block;padding:0}.preview-panel{display:block;border:0;padding:0;max-height:none;overflow:visible}.resume-page{--print-margin-x: 14mm;--print-margin-y: 14mm;width:210mm;min-height:297mm;padding:var(--print-margin-y) var(--print-margin-x)!important;margin:0;box-sizing:border-box;box-shadow:none;zoom:1;overflow:visible;box-decoration-break:clone;-webkit-box-decoration-break:clone;print-color-adjust:exact;-webkit-print-color-adjust:exact}.margin-narrow .resume-page{--print-margin-x: 10mm;--print-margin-y: 10mm}.margin-wide .resume-page{--print-margin-x: 18mm;--print-margin-y: 18mm}.resume-content{gap:14px;margin-top:16px}.resume-item,.item-editor,.resume-header,.target,.contact-list li{break-inside:avoid-page;page-break-inside:avoid}.resume-content h3,.item-title-row,.item-subtitle-row{break-after:avoid-page;page-break-after:avoid}.resume-item ul,.resume-item p{orphans:3;widows:3}.resume-content section{break-inside:auto;page-break-inside:auto}.resume-header{break-inside:avoid}.resume-header h2,.resume-header p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-list li{max-width:100%}.contact-text{max-width:260px}.contact-website{width:240px;gap:4px;padding-left:6px;padding-right:7px}.contact-website .contact-text{max-width:204px}.theme-sidebar .resume-header{grid-template-columns:minmax(0,1fr) 260px;padding:8mm;border-radius:0}.theme-sidebar .resume-content{gap:12px;margin-top:6mm}.theme-sidebar .target,.theme-sidebar .resume-content{margin-left:0;margin-right:0}.theme-fresh .resume-header{grid-template-columns:minmax(0,1fr) max-content;padding:7mm;border-radius:3mm}.theme-ats .resume-header{grid-template-columns:1fr;column-gap:0}.theme-ats .contact-list{width:auto;max-width:none;justify-self:center}.theme-portfolio .resume-header{grid-template-columns:minmax(0,1fr) 260px;padding:7mm 0 6mm}.theme-portfolio .target{margin-left:0;margin-right:0;padding:3mm 6mm}.theme-portfolio .resume-content{gap:10px;margin:6mm 0 0}.theme-portfolio .resume-content section{padding:10px}}
