:root{--bg: #f5f6f8;--surface: #ffffff;--text: #1f2430;--muted: #6b7280;--border: #e2e5ea;--primary: #2f5bea;--primary-dark: #2448c4;--danger: #d93c3c;--radius: 8px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}a{color:var(--primary);text-decoration:none}h1{font-size:1.6rem;margin:0 0 1rem}.container{max-width:1400px;margin:0 auto;padding:1.5rem}.muted{color:var(--muted)}.small{font-size:.85rem}.error{color:var(--danger);margin:0}.stack{display:flex;flex-direction:column;gap:1rem}.row{display:flex;gap:.5rem;flex-wrap:wrap}label{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:500}input,textarea,select{font:inherit;font-weight:400;padding:.55rem .7rem;border:1px solid var(--border);border-radius:6px;background:#fff}input:focus,textarea:focus,select:focus{outline:2px solid var(--primary);outline-offset:-1px}textarea{resize:vertical}label.checkbox{flex-direction:row;align-items:center;gap:.5rem}.btn{display:inline-block;cursor:pointer;background:var(--primary);color:#fff;border:1px solid var(--primary);border-radius:6px;padding:.55rem 1rem;font:inherit;font-weight:500}.btn:hover{background:var(--primary-dark)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-ghost{background:transparent;color:var(--primary)}.btn-ghost:hover{background:#eef2ff}.btn-danger{background:transparent;color:var(--danger);border-color:var(--danger)}.btn-danger:hover{background:#fdecec}.btn-small{padding:.35rem .7rem;font-size:.85rem}.navbar{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1.5rem;background:var(--surface);border-bottom:1px solid var(--border)}.navbar nav{display:flex;align-items:center;gap:1rem}.brand{font-weight:700;font-size:1.15rem;color:var(--text)}.auth-card{max-width:400px;margin:3rem auto;padding:2rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem;display:flex;flex-direction:column;gap:.3rem}.card p{margin:0}.card .row{margin-top:.8rem}.card-title{font-weight:600;font-size:1.05rem;color:var(--text)}.empty{text-align:center;padding:3rem;background:var(--surface);border-radius:var(--radius);border:1px dashed var(--border)}.toolbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.75rem 1rem;margin-bottom:1rem}.title-input{flex:1;min-width:180px;font-weight:600}.status{font-size:.85rem;color:var(--muted);min-width:120px}.status.saved{color:#1a8f4a}.status.error{color:var(--danger)}.editor-body{display:grid;grid-template-columns:minmax(380px,1fr) minmax(0,1fr);gap:1.5rem;align-items:start}.editor-form{max-height:calc(100vh - 170px);overflow-y:auto;padding-right:.5rem}.editor-preview{position:sticky;top:1rem;max-height:calc(100vh - 170px);overflow-y:auto}@media (max-width: 960px){.editor-body{grid-template-columns:1fr}.editor-form,.editor-preview{max-height:none;position:static}}.section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.2rem 1.2rem;margin:0}.section legend{font-weight:600;padding:0 .4rem}.fields{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.fields .full{grid-column:1 / -1}.list-item{border:1px solid var(--border);border-radius:6px;padding:.8rem;margin-bottom:.8rem;background:#fafbfc}.list-item-actions{display:flex;justify-content:flex-end;gap:.3rem;margin-bottom:.5rem}.list-item-actions button{border:1px solid var(--border);background:#fff;border-radius:4px;width:28px;height:28px;cursor:pointer}.list-item-actions button.danger{color:var(--danger)}.list-item-actions button:disabled{opacity:.4;cursor:default}.resume-page{background:#fff;color:#222;width:100%;max-width:210mm;min-height:297mm;margin:0 auto;padding:18mm 16mm;box-shadow:0 2px 12px #00000014;font-size:10.5pt;line-height:1.45}.resume-page h1{font-size:22pt;margin:0}.resume-page h2{font-size:11pt;text-transform:uppercase;letter-spacing:.08em;margin:0 0 .4rem}.resume-page p{margin:0 0 .3rem}.resume-page ul{margin:.25rem 0 0;padding-left:1.1rem}.r-headline{font-size:12pt;color:#555}.r-contact{font-size:9.5pt;color:#555;word-break:break-word}.r-section{margin-top:1rem}.r-item{margin-bottom:.7rem;break-inside:avoid}.r-item-head{display:flex;justify-content:space-between;gap:1rem}.r-item-head span{color:#666;white-space:nowrap;font-size:9.5pt}.r-item-sub{color:#555;font-style:italic}.r-link{font-style:normal}.r-skills{list-style:none;padding:0!important;display:flex;flex-wrap:wrap;gap:.35rem}.r-skills li{border:1px solid #ccc;border-radius:4px;padding:.1rem .5rem;font-size:9.5pt}.template-classic{font-family:Georgia,Times New Roman,serif}.template-classic .r-header{text-align:center;border-bottom:2px solid #222;padding-bottom:.6rem}.template-classic h2{border-bottom:1px solid #bbb;padding-bottom:.15rem}.template-modern{font-family:Helvetica Neue,Arial,sans-serif}.template-modern .r-header{border-left:5px solid var(--primary);padding-left:.8rem}.template-modern h1,.template-modern h2{color:var(--primary)}.template-modern .r-skills li{background:#eef2ff;border-color:#c9d4fb}@media print{@page{size:A4;margin:0}body,:root{background:#fff}.no-print{display:none!important}.container{padding:0;max-width:none}.editor-body{display:block}.editor-preview{position:static;max-height:none;overflow:visible}.resume-page{box-shadow:none;max-width:none;min-height:auto}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
