:root{--ink:#24464e;--muted:#60767c;--accent:#4f8195;--soft:#edf5f8;--line:#d8e5e7;--accent-text:#345764}*{box-sizing:border-box}body{margin:0;font:16px/1.5 "Segoe UI",Arial,sans-serif;color:var(--ink);background:radial-gradient(ellipse at 90% 15%,#e0f0e8,transparent 50%),linear-gradient(125deg,#edf7fc,#f5f9f8)}button,input,textarea,select{font:inherit;color:inherit}button,a,label.file-button,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}a{color:inherit;text-decoration:none}button,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible,label.file-button:focus-within{outline:3px solid #347b96;outline-offset:4px}[hidden]{display:none!important}.topbar{height:93px;display:flex;justify-content:space-between;align-items:center;padding:0 40px;border-bottom:1px solid #d1e3e4;background:#ffffff8c;gap:20px}.brand{display:flex;align-items:center;gap:13px;font-size:23px;letter-spacing:-.04em}.brand strong{font-weight:500}.brand small{display:block;font-size:11px;letter-spacing:.06em;color:var(--muted);margin-top:-2px}.mark{height:47px;width:47px;border:1px solid white;border-radius:16px;background:linear-gradient(#f5ffff,#cfe8e2);box-shadow:0 4px 14px #4f817915;text-align:center;font:italic 36px Georgia,serif}.top-right{display:flex;align-items:center;gap:25px}.free{font-size:13px;color:var(--muted)}.primary,.outline{border:1px solid #fff;border-radius:23px;padding:11px 20px;display:inline-flex;align-items:center;justify-content:center;gap:20px;font-size:14px;font-weight:600}.primary{background:linear-gradient(#f3fcff,#c9e5ed);box-shadow:0 4px 14px #4b7a8c17;color:#28525f}.primary:hover{background:linear-gradient(#fff,#badfe9)}.outline{background:#ffffff75;border-color:#d4e3e6}.outline:hover{background:white}.full{width:100%}.workspace{display:grid;grid-template-columns:380px minmax(0,1fr);max-width:1600px;margin:auto}.editor{background:#ffffff86;border-right:1px solid #d4e5e6;padding:31px 25px 24px}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:600;color:#65858a;margin:0 0 14px}h1{font:32px/1.15 Georgia,serif;letter-spacing:-.035em;margin:0 0 14px}h1 em{font-weight:400;color:#5a8991}.intro>p:last-child{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:26px}.tabs{display:flex;padding:4px;border:1px solid #d7e5e7;border-radius:15px;background:#eaf1f2;margin-bottom:28px;gap:4px}.tabs button{width:50%;border:0;background:none;padding:10px 6px;font-size:14px;border-radius:11px}.tabs button[aria-selected=true]{background:white;box-shadow:0 2px 8px #66818c15;font-weight:600}.control-group{margin-bottom:27px}.label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}h2{font-size:14px;font-weight:600;margin:0}.label-row>span{font-size:11px;color:var(--muted)}.templates{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.templates>button{border:1px solid #d5e1e4;border-radius:13px;background:#ffffff73;padding:7px 6px 10px;text-align:left;transition:transform .2s,border-color .2s}.templates>button:hover{transform:translateY(-3px)}.templates>button[aria-pressed=true]{border:2px solid #6d9ba6;padding:6px 5px 9px;background:#f7feff}.templates strong{font-size:11px;display:block;padding:8px 2px 2px}.templates small{font-size:9px;display:block;color:var(--muted);padding:0 2px}.mini{display:block;background:#fff;border:1px solid #e0e9eb;border-radius:5px;height:108px;padding:14px 10px;overflow:hidden}.mini i{display:block;width:40%;height:13px;background:#9dc0ca;border-radius:3px;margin-bottom:8px}.mini b{display:block;height:3px;background:#c8d7db;margin:5px 0;width:90%}.mini em{display:block;height:19px;background:#e3f0f3;border-radius:4px;margin:9px 0}.aero-mini{background:linear-gradient(130deg,#e3f3f7,#fff 65%)}.cards-mini em{display:inline-block;width:43%;height:25px;margin:8px 2%}.classic-mini i{background:#708083;height:5px;width:70%}.classic-mini b{margin-top:12px}.swatches{display:flex;align-items:center;justify-content:space-between;gap:7px}.swatches>button{width:30px;height:30px;border-radius:50%;border:3px solid white;background:var(--swatch);box-shadow:0 0 0 1px #d6e1e3;position:relative}.swatches>button[aria-pressed=true]{outline:2px solid #3d6572;outline-offset:2px}.swatches>button[aria-pressed=true]:after{content:'✓';color:white;font-size:12px;position:absolute;inset:2px}.custom-color{position:relative;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:white;border:1px solid #d6e1e3;overflow:hidden}.custom-color input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.control-group>label{display:block;font-size:14px;font-weight:600;margin-bottom:10px}select,input:not([type=file]):not([type=color]),textarea{display:block;width:100%;border:1px solid #d5e2e5;border-radius:10px;background:#ffffffc9;padding:10px 11px;font-size:14px}textarea{resize:vertical;min-height:70px}select{cursor:pointer}input:focus,textarea:focus,select:focus{outline:2px solid #79aab5}.hint{font-size:12px;line-height:1.6;color:var(--muted);margin:9px 0 0}.photo-control{display:flex;align-items:center;gap:14px}.photo-thumb{width:61px;height:69px;border:1px dashed #b8ced2;background:#eaf5f5;border-radius:12px;display:grid;place-items:center;color:#78979f;font-size:23px;overflow:hidden;flex-shrink:0}.photo-thumb img{width:100%;height:100%;object-fit:cover}.file-button{cursor:pointer}.photo-control .outline{font-size:12px;padding:7px 13px}.photo-control .hint{font-size:10px}.text-button{padding:0;background:none;border:0;font-size:12px;text-decoration:underline;text-underline-offset:3px;color:#456b77}.quiet-note{display:flex;gap:12px;border-top:1px solid var(--line);padding-top:18px}.quiet-note>span{font-size:25px;color:#67958e}.quiet-note p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.draft-tools{margin-top:27px;padding-top:18px;border-top:1px solid var(--line)}#save-status{font-size:11px;margin:0 0 12px;color:#537d74}.draft-tools>div{display:flex;gap:17px}.draft-tools .hint{font-size:10px}.preview-area{min-width:0;padding:30px 45px 45px}.preview-top{display:flex;justify-content:space-between;font-size:12px;color:#68828a;max-width:794px;margin:0 auto 18px}.preview-dot{display:inline-block;height:7px;width:7px;border-radius:50%;background:#8cafaa;margin-right:6px}.paper-wrap{max-width:794px;margin:auto}.resume{background:white;min-height:1050px;padding:52px 49px;box-shadow:0 14px 45px #42617112,0 2px 8px #4261710c;color:#293b43;line-height:1.5;font-size:14px;overflow-wrap:anywhere;--cv-font:Arial,sans-serif;font-family:var(--cv-font)}.resume header{display:flex;justify-content:space-between;gap:25px;margin-bottom:30px;align-items:flex-start}.resume h1{font-family:var(--cv-font);font-size:36px;line-height:1.13;letter-spacing:-.04em;margin:0 0 9px;color:var(--accent-text);font-weight:600;overflow-wrap:anywhere}.resume .cv-role{font-size:16px;margin:0 0 14px;color:#445d68}.cv-contact{font-size:11px;line-height:1.8;color:#5e727b;display:flex;gap:0 13px;flex-wrap:wrap}.cv-photo{width:88px;height:105px;object-fit:cover;border-radius:14px;flex-shrink:0}.resume h2{font-family:var(--cv-font);font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--accent-text);margin:0 0 13px;font-weight:700}.cv-summary{margin-bottom:27px}.cv-summary p{font-size:13px;line-height:1.7;margin:0;white-space:pre-line}.cv-sections{display:grid;gap:23px}.cv-section{break-inside:avoid}.cv-entry{margin-top:15px;break-inside:avoid}.cv-entry:first-of-type{margin-top:0}.entry-top{display:flex;justify-content:space-between;align-items:baseline;gap:15px}.cv-entry h3{font-size:14px;margin:0;font-weight:600}.cv-entry .dates{font-size:11px;color:#61737d;flex-shrink:0}.cv-entry .org{font-size:12px;color:var(--accent-text);margin:3px 0 6px}.cv-entry .description{font-size:12px;color:#4d626c;line-height:1.65;white-space:pre-line;margin:6px 0 0}.resume.aero{background:linear-gradient(135deg,var(--soft),white 46%);border-radius:6px}.aero .cv-section{padding:17px 20px;background:#ffffffbb;border:1px solid #e3ecef;border-radius:13px}.aero .cv-summary{padding:0 1px}.resume.cards .cv-sections{grid-template-columns:1fr 1fr;gap:16px}.cards .cv-section{padding:19px;border-radius:13px;background:var(--soft);border:1px solid #e2e9ed}.cards .cv-section:first-child{grid-column:1/-1}.cards .entry-top{display:block}.cards .dates{margin-top:3px;display:block}.cards header{border-bottom:2px solid var(--soft);padding-bottom:25px}.resume.classic{--accent-text:#263943!important;border-radius:0}.classic .cv-photo{border-radius:0}.classic h2{border-bottom:1px solid #cbd5db;padding-bottom:7px}.classic .cv-sections{gap:24px}.preview-bottom{text-align:center;font-size:12px;color:#70888e;margin-top:24px}#length-note{text-align:center;max-width:794px;margin:auto}.form-section{border:1px solid #d9e5e8;border-radius:13px;margin-bottom:12px;background:#ffffff81;overflow:hidden}.form-section summary{cursor:pointer;font-weight:600;font-size:14px;padding:13px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:5px}.form-section summary:after{content:'＋';font-size:18px;font-weight:400}.form-section[open] summary:after{content:'−'}.fields{padding:0 13px 15px}.fields label{font-size:12px;display:block;margin:10px 0}.fields input,.fields textarea{font-size:13px!important;margin-top:5px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px}.section-order{margin:22px 0 13px}.section-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:5px}.section-controls button{border:1px solid #d5e3e7;background:white;border-radius:7px;padding:5px 9px;font-size:12px;min-width:30px}.section-controls .delete{color:#885853}.entry-form{border-top:1px solid #dfebec;padding-top:8px;margin-top:15px}.entry-form:first-of-type{border-top:0}.entry-form>.text-button{display:block;margin:9px 0 0 auto}.add-entry{margin-top:15px}.content-actions{align-items:start}.content-actions .text-button{font-size:11px;max-width:120px;text-align:right}.example-note{margin-bottom:17px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#284e59;color:white;padding:12px 22px;border-radius:16px;z-index:5;box-shadow:0 5px 25px #23485133;font-size:14px;max-width:90vw}dialog{border:1px solid white;border-radius:25px;background:#f7fcfc;color:var(--ink);padding:32px;max-width:440px;width:calc(100% - 35px);box-shadow:0 20px 80px #1f4e4f35}dialog::backdrop{background:#29484f55;backdrop-filter:blur(4px)}dialog h2{font:26px/1.2 Georgia,serif;margin:14px 0}dialog p{font-size:14px;color:var(--muted)}dialog .full{margin-top:12px}.close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px}.dialog-symbol{font-size:32px}.dialog-actions{display:flex;justify-content:end;gap:10px;margin-top:23px}.empty-preview{color:var(--muted);font-size:14px;padding:30px 0;line-height:1.8}.resume .empty-preview{color:#7a929b}@media(min-width:1600px){.workspace{border-left:1px solid #d5e4e7;border-right:1px solid #d5e4e7}}@media(max-width:1100px){.workspace{grid-template-columns:330px minmax(0,1fr)}.editor{padding:25px 18px}.preview-area{padding:28px 20px}.resume{padding:35px 28px;min-height:900px}.resume h1{font-size:29px}.resume.cards .cv-sections{grid-template-columns:1fr}.cards .cv-section:first-child{grid-column:auto}.entry-top{flex-wrap:wrap;gap:3px}.topbar{padding:0 25px}.free{display:none}.templates small{font-size:8px}}@media(max-width:740px){.topbar{height:80px;padding:0 16px}.brand{font-size:20px;gap:9px}.brand small{font-size:9px}.mark{width:38px;height:38px;font-size:29px;border-radius:12px}.topbar .primary{font-size:12px;padding:9px 13px;gap:9px}.workspace{display:block}.editor{border-right:0;padding:25px 21px}.intro h1{font-size:32px}.intro>p:last-child{font-size:14px}.editor .eyebrow{font-size:10px}.templates{gap:12px}.mini{height:105px}.templates strong{font-size:13px}.templates small{font-size:10px}.swatches{justify-content:flex-start;gap:15px}.preview-area{padding:25px 12px 35px;background:#dfedef}.resume{padding:28px 22px;min-height:650px;font-size:13px}.resume h1{font-size:27px}.cv-photo{width:65px;height:80px}.resume .cv-role{font-size:14px}.resume header{gap:14px}.aero .cv-section{padding:15px}.resume.cards .cv-sections{grid-template-columns:1fr}.draft-tools .hint{font-size:12px}.preview-top{padding:0 5px}.cv-contact{font-size:11px}.resume h2{font-size:12px}.tabs{position:sticky;top:0;z-index:2}.control-group label,.fields label{font-size:14px}.fields input,.fields textarea{font-size:16px!important}.templates button{min-height:44px}.section-controls button{min-height:36px;min-width:36px}.text-button{font-size:13px}.topbar .primary span{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@page{size:A4;margin:14mm}@media print{html,body{background:white!important;margin:0;padding:0}.topbar,.editor,.preview-top,.preview-bottom,#length-note,.toast,dialog{display:none!important}.workspace,.preview-area,.paper-wrap{display:block;margin:0;padding:0;max-width:none}.resume{margin:0;padding:0;min-height:0;box-shadow:none;border-radius:0;font-size:10pt;print-color-adjust:exact;-webkit-print-color-adjust:exact;background:white!important}.resume h1{font-size:26pt}.resume .cv-role{font-size:12pt}.cv-contact{font-size:9pt}.cv-summary p{font-size:10pt}.cv-entry h3{font-size:11pt}.cv-entry .org,.cv-entry .description{font-size:10pt}.cv-entry .dates{font-size:9pt}.resume h2{font-size:10pt;break-after:avoid}.resume header{break-inside:avoid}.cv-section{break-inside:auto!important}.cv-entry{break-inside:avoid}.resume.cards .cv-sections{display:block}.cards .cv-section{margin-bottom:16px}.cv-sections{display:block}.cv-section{margin-bottom:20px}.empty-preview{display:none}.resume.print-classic .cv-section{padding:0;border:0;border-radius:0;background:white}.resume.print-classic{--accent-text:#263943!important}.resume.print-classic h2{border-bottom:1px solid #bfcbd0;padding-bottom:6px}.resume.print-classic .cv-photo{display:none}.resume.print-classic .entry-top{display:flex;justify-content:space-between}.resume.print-classic header{border:0;padding:0}}

/* Warm, quiet workspace */
body{background:radial-gradient(ellipse at 90% 10%,#f4e9d9,transparent 55%),linear-gradient(125deg,#faf5ee,#f2eee5);--ink:#554b42;--muted:#847567;--line:#e5dace}
.topbar{background:#fffcf6c9;border-color:#e8ded2}
.editor{background:#fffdf7b3;border-color:#e8ded2}
.mark{color:#77654f;background:linear-gradient(#fffdf7,#eee0c9);box-shadow:0 4px 14px #93784b17}
h1 em{color:#a47c57}
.tabs{background:#ece5db;border-color:#e0d5c7}
.tabs button[aria-selected=true]{background:#fffdf8;color:#755b45;box-shadow:0 3px 7px #80663c15}
.primary{color:#6c5037;background:linear-gradient(#fff9ee,#eddbc0);box-shadow:0 4px 13px #87674420}
.primary:hover{background:linear-gradient(#fffdf8,#e8d0ad)}
.outline{background:#fffcf7;border-color:#e4d7c6}
.templates>button{border-color:#e4d9c9;background:#fffcf7}
.templates>button[aria-pressed=true]{border-color:#ba9774;background:#fffcf7}
select,input:not([type=file]):not([type=color]),textarea{border-color:#e3d8c9;background:#fffdf8}
.photo-thumb{border-color:#d1bda3;background:#f4ede1;color:#ad8c67}
.form-section{border-color:#e5dacb;background:#fffdf8}
.section-controls button{border-color:#e3d7c8;background:#fffaf1}
.section-controls .delete{color:#995e51}
.text-button{color:#8b6d50}
.intro h1{margin-bottom:26px}
.draft-tools>div{display:grid;grid-template-columns:1fr;gap:13px}
.draft-button{display:flex;align-items:center;justify-content:center;min-height:47px;width:100%;border:1px solid #fff8ee;border-bottom:3px solid #c9b79b;border-radius:15px;background:linear-gradient(180deg,#fffdf7 0%,#efe0c8 100%);box-shadow:0 5px 10px #846b4920,inset 0 1px 0 white;color:#6c5037;font-size:14px;font-weight:600;text-decoration:none;padding:11px 16px;cursor:pointer;transition:transform .15s,box-shadow .15s}
.draft-button:hover{transform:translateY(-2px);box-shadow:0 7px 13px #846b492b}
.draft-button:active{transform:translateY(2px);box-shadow:0 1px 3px #846b4920}
.draft-button:focus-within{outline:3px solid #aa855b;outline-offset:3px}
.draft-tools .hint{margin-top:16px}
#ui-language{width:auto;max-width:150px;min-height:40px;border-radius:20px;font-size:14px;background:#fffcf5}
dialog{background:#fffaf2;color:#554b42}
.resume [contenteditable]{border-radius:4px;cursor:text;min-width:8px;outline:1px solid transparent;transition:background .15s,outline-color .15s}
.resume [contenteditable]:hover{background:#bfa57e12;outline-color:#c5ae893a}
.resume [contenteditable]:focus{outline:2px solid #b89d72;outline-offset:4px;background:#fffaf4cc}
.resume [contenteditable]:empty:before{content:attr(data-placeholder);color:#a39381}
.resume [contenteditable]:empty{min-height:1em;display:block}
.resume .cv-contact [contenteditable]:empty{display:inline-block}
.resume [contenteditable][aria-multiline=true]{white-space:pre-wrap}
@media(max-width:740px){.topbar{height:auto;min-height:80px;padding:14px;flex-wrap:wrap;gap:12px}.top-right{gap:9px;margin-left:auto}.brand small{display:none}#ui-language{font-size:12px;max-width:104px;min-height:36px;padding:6px}.preview-area{background:#eee5d8}.draft-tools>div{grid-template-columns:1fr 1fr}.draft-button{font-size:12px}.free{display:none}}
@media print{.resume [contenteditable],.resume [contenteditable]:hover,.resume [contenteditable]:focus{outline:none!important;background:transparent!important}.resume [contenteditable]:empty:before{content:none}}
