:root{--primary:#16865f;--dark:#111816;--muted:#5d6964;--paper:#fff;--bg:#f3f6f4;--border:#dfe7e2}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:#17201b}a{text-decoration:none}.btn{border-radius:8px;font-weight:700}.glass{background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.7);box-shadow:0 24px 70px rgba(18,38,28,.12)}.topbar{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--border)}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-brand{background:radial-gradient(circle at 18% 20%,#32c878 0,transparent 34%),linear-gradient(145deg,#08140e,#173426);padding:70px;color:#fff;display:flex;flex-direction:column;justify-content:space-between}.auth-form{display:grid;place-items:center;padding:36px}.auth-card{max-width:460px;width:100%;padding:38px;border-radius:14px}.form-control,.form-select{border-radius:8px;border-color:#d8e2dc}.small-label{font-size:.78rem;font-weight:700;color:#536159}
.auth-theme-showcase{margin:28px 0 24px;max-width:680px}.auth-theme-showcase-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.auth-theme-showcase-head strong{font-size:16px;color:#fff}.auth-theme-showcase-head span{font-size:12px;color:rgba(255,255,255,.68)}.auth-theme-grid{display:grid;grid-template-columns:repeat(5,minmax(74px,1fr));gap:12px}.auth-theme-thumb{height:104px;border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(0,0,0,.22);position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.38);transition:transform .18s,box-shadow .18s}.auth-theme-thumb:hover{transform:translateY(-4px) scale(1.025);box-shadow:0 20px 42px rgba(0,0,0,.28)}.auth-theme-thumb span{position:absolute;display:block}.thumb-top{left:0;right:0;top:0;height:14px;background:var(--thumb-accent,#0f766e)}.thumb-photo{left:10px;top:22px;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,var(--thumb-accent,#0f766e),#dbeafe)}.thumb-line{left:40px;height:5px;border-radius:99px;background:#d6dee8}.thumb-line.w-1{top:24px;width:46%}.thumb-line.w-2{top:34px;width:36%}.thumb-line.w-3{left:10px;top:72px;width:74%}.thumb-line.w-4{left:10px;top:84px;width:58%}.thumb-block{left:10px;top:51px;width:52%;height:10px;border-radius:3px;background:color-mix(in srgb,var(--thumb-accent,#0f766e) 16%,#eef2f7)}.thumb-side{right:8px;top:50px;width:22%;height:42px;border-radius:4px;background:#f1f5f9}.auth-theme-thumb-1{--thumb-accent:#0f766e}.auth-theme-thumb-2{--thumb-accent:#2563eb}.auth-theme-thumb-3{--thumb-accent:#111827}.auth-theme-thumb-4{--thumb-accent:#7c2d12}.auth-theme-thumb-5{--thumb-accent:#4d7c0f}.auth-theme-thumb-6{--thumb-accent:#9333ea}.auth-theme-thumb-7{--thumb-accent:#0891b2}.auth-theme-thumb-8{--thumb-accent:#be123c}.auth-theme-thumb-9{--thumb-accent:#ca8a04}.auth-theme-thumb-10{--thumb-accent:#334155}.auth-theme-thumb-2 .thumb-side,.auth-theme-thumb-6 .thumb-side{left:8px;right:auto}.auth-theme-thumb-2 .thumb-line,.auth-theme-thumb-6 .thumb-line{left:38px}.auth-theme-thumb-3{background:#f8fafc}.auth-theme-thumb-3 .thumb-top{height:100%;width:30%;right:auto}.auth-theme-thumb-3 .thumb-photo{left:42%;top:16px}.auth-theme-thumb-4 .thumb-top{top:auto;bottom:0;height:8px}.auth-theme-thumb-5 .thumb-block{width:76%;height:18px}.auth-theme-thumb-7 .thumb-photo{border-radius:6px}.auth-theme-thumb-8 .thumb-side{height:74px;top:20px}.auth-theme-thumb-9{background:#fffdf5}.auth-theme-thumb-10 .thumb-top{height:8px}
.template-card{border:0;border-radius:8px;overflow:hidden;box-shadow:0 16px 50px rgba(20,42,31,.10);transition:.2s;background:#fff}.template-card:hover{transform:translateY(-4px);box-shadow:0 25px 60px rgba(20,42,31,.16)}.template-preview{height:250px;position:relative;overflow:hidden;background:#eef2ef}.live-template-preview iframe{width:850px;height:1120px;border:0;transform:scale(.295);transform-origin:0 0;pointer-events:none;background:#fff}.theme-thumb{height:100%;display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:.04em}.theme-thumb span{background:rgba(0,0,0,.22);padding:10px 14px;border-radius:8px}.theme-thumb-0{background:linear-gradient(135deg,#0f766e 0 38%,#f8fafc 38%)}.theme-thumb-1{background:linear-gradient(90deg,#111827 0 34%,#be123c 34% 37%,#f8fafc 37%)}.theme-thumb-2{background:linear-gradient(180deg,#1d4ed8 0 32%,#f8fafc 32%)}.theme-thumb-3{background:linear-gradient(135deg,#fff7ed,#7c2d12)}.theme-thumb-4{background:linear-gradient(135deg,#4d7c0f,#f7fee7)}.theme-thumb-5{background:linear-gradient(135deg,#0f172a,#e2e8f0)}
.dashboard-hero{padding:18px 0;background:linear-gradient(145deg,#101916,#173426);color:#fff}.dashboard-hero-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1180px}.dashboard-hero h1{font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.15}.dashboard-hero .badge{border-radius:6px;font-size:.68rem}.dashboard-quickstart{max-width:1180px}.upload-card{background:#fff;border:1px solid var(--border);border-radius:8px;padding:18px;box-shadow:0 12px 34px rgba(20,42,31,.08)}.quick-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.quick-card-head h2,.dashboard-quickstart h2{font-size:1.12rem;line-height:1.25}.quick-card-head p,.dashboard-quickstart p{font-size:.94rem}.upload-dropzone{min-height:104px;border:1.5px dashed #a9c4b8;background:linear-gradient(180deg,#fbfdfc,#f5faf7);border-radius:8px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;padding:16px;cursor:pointer;color:#26382f;transition:.18s}.upload-dropzone i{grid-row:1/3;font-size:28px;color:var(--primary);justify-self:center}.upload-dropzone strong{font-size:.98rem}.upload-dropzone span{display:block;color:#64736c;font-size:12px}.upload-dropzone.is-dragging{border-color:var(--primary);background:#edf8f2;transform:translateY(-1px)}.upload-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.upload-footer .progress{height:8px;min-width:180px;max-width:260px;flex:1}.status-steps{display:flex;flex-wrap:wrap;gap:8px}.status-steps span{border:1px solid var(--border);border-radius:999px;padding:5px 10px;font-size:12px;color:#66736c}.status-steps span.active{background:#e8f7ee;color:#166534;border-color:#b7e3c7}.review-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.review-grid div{border:1px solid var(--border);border-radius:8px;padding:10px;background:#fafcfb}.review-grid strong,.review-grid span{display:block}.review-grid span{color:#66736c;font-size:13px;margin-top:4px}
.editor-shell{display:grid;grid-template-columns:400px 1fr;min-height:calc(100vh - 57px)}.editor-panel{background:#fff;border-right:1px solid var(--border);height:calc(100vh - 57px);overflow:auto}.preview-zone{padding:24px;overflow:auto}.editor-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:14px}.resume-frame{display:block;width:850px;height:1120px;margin:auto;border:0;background:#fff;box-shadow:0 24px 70px rgba(8,25,16,.18);transform-origin:top center}.field-card{border:1px solid var(--border);border-radius:8px;padding:14px;margin-bottom:12px}.section-title{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--primary)}.drag-row{border:1px solid #cbd7d0;border-radius:8px;padding:10px;margin-top:9px;background:#fafcfb}.drag-row textarea{min-height:72px}.item-actions{display:flex;gap:6px;justify-content:flex-end}.photo-preview{object-fit:cover;border-radius:8px;background:#eef2ef}
.editor-workspace{min-height:100vh;display:grid;grid-template-columns:88px 394px minmax(520px,1fr) 128px;grid-template-rows:60px calc(100vh - 60px);background:#eef2f7;color:#071b3a}.editor-workspace .workspace-topbar{grid-column:1/-1;display:grid;grid-template-columns:260px 1fr 420px 250px;align-items:center;gap:16px;background:#fff;border-bottom:1px solid #dbe3ee;padding:0 22px}.workspace-brand{display:flex;align-items:center;gap:10px;color:#9b4bd8;font-weight:800}.brand-mark{width:28px;height:28px;border-radius:7px;background:linear-gradient(135deg,#8b5cf6 0 45%,#fb7185 45% 70%,#f59e0b 70%);display:inline-block;transform:skew(-8deg)}.workspace-save{display:flex;align-items:center;justify-content:center;gap:6px;color:#073263;font-weight:700}.workspace-save i{color:#003d75}.workspace-docbar{height:48px;background:#eef3fb;display:flex;align-items:center;gap:24px;padding:0 28px;box-shadow:0 8px 18px rgba(15,23,42,.08)}.link-button{border:0;background:transparent;color:#006edb;font-weight:800;text-decoration:underline}.workspace-zoom{display:flex;align-items:center;justify-content:flex-end;gap:12px;color:#1b3256}.icon-btn{width:30px;height:30px;border:0;background:transparent;color:#64748b;font-weight:800}.zoom-divider{height:30px;width:1px;background:#b7c3d5}.editor-rail{grid-column:1;grid-row:2;background:#e9eef7;border-right:1px solid #d9e1ec;display:flex;flex-direction:column;align-items:center;padding-top:32px;gap:22px}.rail-item{width:80px;border:0;background:transparent;color:#082653;display:grid;place-items:center;gap:6px;font-size:13px;line-height:1.18}.rail-item i{font-size:24px}.rail-item.active i{background:#ff985c;color:#052653;border-radius:8px;padding:9px}.rail-item.active span{font-weight:800}.workspace-panel{grid-column:2;grid-row:2;background:#fff;border-right:1px solid #c9d4e3;height:calc(100vh - 60px);overflow:auto;padding:24px}.panel-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #c7d1e0;margin:0 -24px 22px;padding:0 24px 20px}.panel-heading h1{font-size:24px;margin:0;font-weight:900}.panel-close{font-size:24px;color:#006edb}.panel-subtitle{font-size:18px;font-weight:900;margin:18px 0 12px}.theme-swatches{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.theme-swatches span{width:23px;height:23px;border-radius:50%;background:var(--swatch);border:1px solid #9aa8bb}.theme-swatches span:first-child{background:linear-gradient(135deg,transparent 45%,#0f172a 46% 52%,transparent 53%),#fff}.template-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.template-mini-card{margin:0}.template-mini-card button{width:100%;padding:0;border:1px solid #cbd5e1;background:#fff;cursor:pointer;text-align:left;transition:.16s}.template-mini-card.active button{border:3px solid #0878ff}.template-mini-card iframe{display:block;width:850px;height:1120px;border:0;transform:scale(.187);transform-origin:0 0;pointer-events:none;background:#fff}.template-mini-card button{height:210px;overflow:hidden;position:relative}.template-mini-card span{position:absolute;left:8px;bottom:6px;background:rgba(255,255,255,.92);border-radius:5px;padding:2px 6px;font-size:11px;font-weight:800}.content-editor{border-top:1px solid #dbe3ee;padding-top:8px}.workspace-canvas{grid-column:3;grid-row:2;background:#f8fafc;padding:18px 20px;overflow:auto}.workspace-canvas .resume-frame{width:850px;height:1120px;box-shadow:0 16px 48px rgba(15,23,42,.18)}.action-dock{grid-column:4;grid-row:2;background:#f8fafc;border-left:1px solid #e2e8f0;padding:26px 14px;display:flex;flex-direction:column;gap:14px;align-items:stretch}.dock-btn{border:1px solid #111e9a;border-radius:999px;background:#fff;color:#0b1c93;font-weight:900;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:7px}.dock-btn.secondary{border-color:#cbd5e1;color:#24344d}.finish-btn{border-radius:999px;background:#d41472;color:#fff;font-weight:900;text-align:center;padding:12px;text-decoration:none}.resume-score{margin-top:auto;background:#fff;border:1px solid #d8e1ec;border-radius:8px;padding:14px 10px;text-align:center;box-shadow:0 8px 18px rgba(15,23,42,.08);font-size:11px}.score-ring{width:42px;height:42px;border-radius:50%;border:7px solid #18a38c;display:grid;place-items:center;margin:10px auto 8px;font-weight:900}.editor-workspace .field-card{padding:12px}.editor-workspace .section-title{font-size:.72rem}
.resume-document{background:#e9efec;margin:0;padding:24px;color:#18211d}.resume-page{width:210mm;min-height:297mm;margin:0 auto;background:#fff;padding:18mm;box-shadow:0 12px 38px rgba(0,0,0,.14)}.paper-letter{width:8.5in;min-height:11in}.resume-hero{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center;border-bottom:4px solid var(--theme-accent);padding-bottom:18px;margin-bottom:18px}.resume-photo{width:104px;height:104px;object-fit:cover;border-radius:8px}.resume-hero h1{font-size:34px;line-height:1.05;margin:0}.resume-role{font-weight:800;color:var(--theme-accent);margin:6px 0}.resume-contact{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.resume-contact span,.pill{border:1px solid color-mix(in srgb,var(--theme-accent) 35%,#d9e1dc);background:var(--theme-soft);padding:4px 8px;border-radius:8px;font-size:12px}.resume-grid{display:grid;grid-template-columns:32% 1fr;gap:20px}.resume-section{break-inside:avoid;margin-bottom:16px}.resume-section h2{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:var(--theme-accent);border-bottom:1px solid #d8e0db;padding-bottom:5px}.resume-item{margin:10px 0;break-inside:avoid}.resume-item h3{font-size:16px;margin:0 0 2px}.resume-item p{margin:5px 0;color:#34423b}.resume-meta{font-size:12px;color:#68756f}.skill-bar{height:6px;background:#e7ece9;border-radius:99px;overflow:hidden}.skill-bar i{display:block;height:100%;background:var(--theme-accent)}.theme-2 .resume-grid{grid-template-columns:1fr}.theme-3 .resume-hero{background:var(--theme-soft);padding:18px;border:0;border-left:8px solid var(--theme-accent)}.theme-4 .resume-page{padding:22mm}.theme-5 .resume-item{border-left:3px solid var(--theme-accent);padding-left:10px}.theme-6 .resume-section{border:1px solid #e0e7e3;padding:10px;border-radius:8px}
.premium-entry{position:relative;display:grid;grid-template-columns:34px 1fr;gap:10px;margin:12px 0;break-inside:avoid;page-break-inside:avoid}.premium-entry+.premium-entry{margin-top:14px}.entry-marker{position:relative;display:flex;justify-content:center}.entry-marker:after{content:"";position:absolute;top:28px;bottom:-18px;width:2px;background:color-mix(in srgb,var(--theme-accent) 35%,#dbe3de)}.premium-entry:last-child .entry-marker:after{display:none}.entry-marker span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--theme-accent);color:#fff;font-size:12px;box-shadow:0 4px 10px rgba(0,0,0,.12)}.entry-body{padding:12px;border:1px solid #dfe7e2;background:#fff;border-radius:8px;transition:.18s}.entry-topline{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.entry-org{font-weight:800;color:var(--theme-accent);font-size:13px}.entry-meta,.entry-note{font-size:12px;color:#66736c}.date-badge{white-space:nowrap;border:1px solid color-mix(in srgb,var(--theme-accent) 35%,#d9e1dc);background:var(--theme-soft);border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;color:#24352d}.entry-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.entry-tags span{font-size:11px;border-radius:999px;background:#f1f5f3;border:1px solid #dfe7e2;padding:3px 7px;color:#405149}.education-entry .entry-marker span{background:#111827}.education-entry .entry-body{background:linear-gradient(180deg,#fff,#fbfdfc)}
.theme-1 .experience-entry .entry-body{border-left:4px solid var(--theme-accent)}.theme-2 .premium-entry{grid-template-columns:1fr}.theme-2 .entry-marker{display:none}.theme-2 .entry-body{border:0;border-top:3px solid var(--theme-accent);box-shadow:0 8px 20px rgba(18,38,28,.08)}.theme-3 .entry-body{background:var(--theme-soft);border-color:transparent}.theme-4 .premium-entry{grid-template-columns:42% 1fr}.theme-4 .entry-marker{display:none}.theme-4 .entry-body{border-left:2px solid var(--theme-accent)}.theme-5 .entry-body{border-radius:0;border-width:0 0 0 3px;border-color:var(--theme-accent)}.theme-6 .premium-entry{grid-template-columns:1fr}.theme-6 .entry-marker{display:none}.theme-6 .entry-body{background:#f8fafc;border:1px solid #cbd5e1}
.theme-7 .entry-body{background:#111827;color:#f8fafc}.theme-7 .entry-body p,.theme-7 .entry-meta,.theme-7 .entry-note{color:#d1d5db}.theme-8 .entry-body{border-radius:14px;background:rgba(255,255,255,.76);box-shadow:0 12px 28px rgba(0,0,0,.08)}.theme-9 .entry-marker span{border-radius:6px}.theme-9 .entry-body{border-style:dashed}.theme-10 .entry-body{border:0;border-bottom:2px solid var(--theme-accent);padding-left:0;padding-right:0;border-radius:0}.theme-11 .resume-section h2{border:0;background:#111827;color:#fff;padding:6px 8px}.theme-11 .entry-body{border-color:#c8a24a}.theme-12 .premium-entry{grid-template-columns:28px 1fr}.theme-12 .entry-marker span{background:#0ea5e9}.theme-13 .entry-body{background:#eef6ff;border-color:#bfdbfe}.theme-14 .education-entry .entry-body{border:2px solid #d6b15e}.theme-15 .entry-body{box-shadow:inset 4px 0 0 var(--theme-accent)}.theme-16 .premium-entry{grid-template-columns:1fr 1fr}.theme-16 .entry-marker{display:none}.theme-17 .entry-topline{border-bottom:1px solid #dfe7e2;padding-bottom:6px}.theme-18 .entry-body{background:#f7f3ff;border-color:#ddd6fe}.theme-19 .entry-marker span{background:#64748b}.theme-19 .entry-body{font-family:Georgia,serif}.theme-20 .entry-body{background:#fff7ed;border-color:#fed7aa}
.theme-21 .entry-body{border-radius:16px}.theme-22 .entry-body{background:#f8fafc;box-shadow:0 0 0 1px #e2e8f0}.theme-23 .premium-entry{grid-template-columns:1fr}.theme-23 .entry-marker{display:none}.theme-23 .entry-body{border-left:6px double var(--theme-accent)}.theme-24 .entry-body{background:linear-gradient(90deg,var(--theme-soft),#fff 34%)}.theme-25 .entry-marker:after{background:repeating-linear-gradient(to bottom,var(--theme-accent),var(--theme-accent) 4px,transparent 4px,transparent 8px)}.theme-26 .entry-body{border-top:1px solid #111827;border-bottom:1px solid #111827;border-left:0;border-right:0;border-radius:0}.theme-27 .entry-marker span{width:20px;height:20px}.theme-27 .entry-body{padding:9px}.theme-28 .entry-body{background:#fdf2f8;border-color:#fbcfe8}.theme-29 .entry-body{background:#ecfeff;border-color:#a5f3fc}.theme-30 .entry-body{background:#fafafa;border-color:#d4d4d4}
@media screen{.entry-body:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(18,38,28,.10)}}
.resume-template-shell{position:relative;overflow:hidden}.hero-mark{display:none}.theme-kicker{display:inline-block;font-size:10px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:var(--theme-accent);margin-bottom:6px}.resume-summary{max-width:640px}.resume-side{min-width:0}.resume-main{min-width:0}.skill-widget{margin:8px 0}.skill-head{display:flex;justify-content:space-between;gap:8px;font-size:12px}.skill-dots{display:none;gap:4px;margin-top:6px}.skill-dots b{width:8px;height:8px;border-radius:50%;background:#d8e0db}.skill-dots b.on{background:var(--theme-accent)}.mini-card{border:1px solid #e0e7e3;border-radius:8px;padding:8px;margin:7px 0;background:#fff}.mini-card p{margin:3px 0 0}.detail-card h3{font-size:14px}.layout-1 .resume-grid{grid-template-columns:32% 1fr}.layout-1 .resume-side{background:var(--theme-soft);padding:12px;border-radius:8px}.layout-1 .resume-hero{grid-template-columns:auto 1fr;align-items:center}
.layout-2 .resume-grid{grid-template-columns:1fr 30%}.layout-2 .resume-side{order:2;border-left:3px solid var(--theme-accent);padding-left:14px}.layout-2 .resume-main{order:1}.layout-2 .resume-hero{border:0;background:linear-gradient(90deg,var(--theme-soft),#fff);padding:16px;border-radius:12px}.layout-2 .resume-contact{grid-column:1/-1}
.layout-3 .resume-grid{display:block}.layout-3 .resume-page{padding:16mm 18mm}.layout-3 .resume-hero{display:block;border-bottom:2px solid #111827}.layout-3 .resume-photo{float:right;width:82px;height:82px;margin-left:16px}.layout-3 .resume-contact span{background:transparent;border:0;padding:0;font-size:11px}.layout-3 .resume-section h2{color:#111827;border-bottom:1px solid #111827}
.layout-4 .resume-page{background:#fff;color:#172033;border-top:8px solid var(--theme-accent);box-shadow:0 18px 58px rgba(15,23,42,.14)}.layout-4 .resume-hero{border:0;background:linear-gradient(90deg,#fff7ed 0,#f8fafc 72%);padding:18px;border-radius:8px;box-shadow:inset 0 0 0 1px #e7edf4}.layout-4 .resume-grid{grid-template-columns:1fr 34%;align-items:start}.layout-4 .resume-side{order:2;background:#f8fafc;border:1px solid #e2e8f0;padding:14px;border-radius:8px}.layout-4 .resume-section h2{color:#7c2d12;border-bottom:2px solid #e7edf4;letter-spacing:.14em}.layout-4 .resume-role,.layout-4 .entry-org{color:#9a3412}.layout-4 .resume-section p,.layout-4 .resume-meta{color:#475569}.layout-4 .mini-card,.layout-4 .entry-body{background:#fff;border:1px solid #e2e8f0;color:#172033;box-shadow:0 8px 22px rgba(15,23,42,.06)}.layout-4 .resume-contact span{background:#fff;border-color:#fed7aa;color:#334155}.layout-4 .resume-photo{border-radius:10px;box-shadow:0 10px 24px rgba(15,23,42,.14)}.layout-4 .date-badge{background:#fff7ed;border-color:#fed7aa;color:#7c2d12}.layout-4 .entry-tags span{background:#fff7ed;border-color:#fed7aa;color:#7c2d12}
.layout-5 .resume-grid{grid-template-columns:1fr 1fr;gap:14px}.layout-5 .resume-hero{display:grid;grid-template-columns:1fr 120px;grid-template-areas:"copy photo" "contact contact";background:var(--theme-soft);border:0;padding:18px;border-radius:20px}.layout-5 .resume-photo{grid-area:photo;width:120px;height:120px;border-radius:24px}.layout-5 .hero-copy{grid-area:copy}.layout-5 .resume-contact{grid-area:contact}.layout-5 .resume-section{background:#fff;border:1px solid #e0e7e3;padding:10px;border-radius:14px}
.layout-6 .resume-page{font-family:Consolas,Monaco,monospace;background:#fbfbf7}.layout-6 .resume-hero{border:1px solid #111827;padding:14px;grid-template-columns:auto 1fr}.layout-6 .resume-section h2:before{content:"// ";color:var(--theme-accent)}.layout-6 .resume-grid{grid-template-columns:38% 1fr}.layout-6 .resume-side{border-right:1px dashed #111827;padding-right:12px}.layout-6 .entry-body,.layout-6 .mini-card{border-radius:0}
.layout-7 .resume-page{background:linear-gradient(135deg,#f8fbff,#eef7f6)}.layout-7 .resume-hero{grid-template-columns:1fr auto;border:0}.layout-7 .hero-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--theme-accent);color:#fff;font-weight:900}.layout-7 .resume-photo{display:none}.layout-7 .resume-grid{grid-template-columns:1fr 1fr}.layout-7 .section-skill{grid-column:1/-1}.layout-7 .skill-widget{display:inline-block;width:31%;margin-right:1%;vertical-align:top}
.layout-8 .resume-hero{grid-template-columns:120px 1fr;border:0}.layout-8 .resume-photo{width:120px;height:120px;border-radius:50%;border:6px solid var(--theme-soft)}.layout-8 .resume-grid{grid-template-columns:28% 1fr}.layout-8 .resume-side{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:12px}.layout-8 .resume-section h2{border:0}.layout-8 .mini-card,.layout-8 .entry-body{border-radius:18px}
.layout-9 .resume-page{padding-top:10mm}.layout-9 .resume-hero{display:block;text-align:center;border:0}.layout-9 .resume-photo{width:92px;height:92px;border-radius:50%}.layout-9 .resume-contact{justify-content:center}.layout-9 .resume-grid{grid-template-columns:1fr}.layout-9 .resume-main{display:grid;grid-template-columns:1fr 1fr;gap:12px}.layout-9 .section-experience{grid-column:1/-1}.layout-9 .resume-section{border-top:4px solid var(--theme-accent);padding-top:8px}
.layout-10 .resume-page{padding:0}.layout-10 .resume-hero{padding:18mm;background:var(--theme-accent);color:#fff;border:0;margin:0}.layout-10 .theme-kicker,.layout-10 .resume-role{color:#fff}.layout-10 .resume-contact span{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.35);color:#fff}.layout-10 .resume-grid{padding:14mm 18mm;grid-template-columns:34% 1fr}.layout-10 .resume-side{background:#f8fafc;padding:12px;border-radius:8px}
.corporate-executive .resume-page{border-top:8px solid var(--theme-accent)}.modern-professional .resume-page{box-shadow:0 20px 60px rgba(15,23,42,.18)}.minimal-ats .resume-page{box-shadow:none}.executive-sidebar .resume-page{box-shadow:0 20px 60px rgba(15,23,42,.16)}.premium-dark .resume-page{box-shadow:0 20px 70px rgba(0,0,0,.34)}.creative-designer .resume-page:before{content:"";position:absolute;right:-40px;top:-40px;width:170px;height:170px;background:var(--theme-soft);border-radius:50%}.software-developer .date-badge{border-radius:0}.ai-data-engineer .entry-tags span{background:#e0f2fe}.ux-designer .resume-section h2{font-size:15px;text-transform:none;letter-spacing:0}.product-manager .entry-body{border-left:5px solid var(--theme-accent)}.project-manager .premium-entry{grid-template-columns:44px 1fr}.marketing-professional .resume-page{background:#fff7ed}.sales-executive .resume-hero h1{text-transform:uppercase}.finance-accounting .resume-page{font-family:Georgia,serif}.hr-professional .resume-contact span{border-radius:4px}.legal-professional .resume-page{border:1px solid #111827}.medical-professional .resume-page{background:#f8fffd}.academic-research .resume-section h2{font-family:Georgia,serif}.teacher-educator .entry-marker span{background:#f97316}.startup-professional .resume-page{transform-origin:top center}.freelancer .resume-section{border-radius:14px}.consultant .resume-page{border-left:10px solid var(--theme-accent)}.luxury-gold .resume-page{background:#fffdf5}.luxury-gold .resume-section h2,.luxury-gold .entry-org{color:#a16207}.scandinavian-minimal .resume-page{background:#fafafa}.apple-inspired .resume-page{border-radius:18px}.microsoft-fluent .resume-section{box-shadow:inset 3px 0 0 var(--theme-accent);padding-left:10px}.google-material .entry-body{box-shadow:0 2px 8px rgba(60,64,67,.18)}.glassmorphism .resume-page{background:linear-gradient(135deg,#ffffffcc,#f0f9ffcc)}.neumorphism .mini-card,.neumorphism .entry-body{box-shadow:6px 6px 14px #d8dedb,-6px -6px 14px #fff;border:0}.magazine-style .resume-hero h1{font-size:44px;letter-spacing:-1px}.portfolio-hybrid .resume-page{background:#fcfcff}.portfolio-hybrid .section-project{background:var(--theme-soft);padding:12px;border-radius:16px}
.skill-style-1 .skill-dots{display:none}.skill-style-2 .skill-bar{height:10px;border-radius:3px}.skill-style-3 .skill-bar{display:none}.skill-style-3 .skill-dots{display:flex}.skill-style-4{border:1px solid #e0e7e3;border-radius:999px;padding:5px 9px}.skill-style-4 .skill-bar{display:none}.skill-style-5 .skill-head span{display:none}.skill-style-5 .skill-bar{height:3px}.skill-style-6{display:inline-block;margin-right:5px}.skill-style-6 .skill-bar,.skill-style-6 .skill-head span,.skill-style-6 .skill-dots{display:none}.skill-style-6 strong{display:inline-block;background:var(--theme-soft);border:1px solid color-mix(in srgb,var(--theme-accent) 40%,#d9e1dc);border-radius:999px;padding:4px 8px}
.layout-1 .resume-hero,.layout-4 .resume-hero,.layout-6 .resume-hero,.layout-10 .resume-hero{grid-template-columns:minmax(88px,auto) minmax(0,1fr);grid-template-areas:"photo copy" "contact contact";align-items:start;column-gap:20px;row-gap:12px}.layout-1 .resume-photo,.layout-4 .resume-photo,.layout-6 .resume-photo,.layout-10 .resume-photo{grid-area:photo;align-self:start}.layout-1 .hero-copy,.layout-4 .hero-copy,.layout-6 .hero-copy,.layout-10 .hero-copy{grid-area:copy;min-width:0;max-width:none}.layout-1 .resume-contact,.layout-4 .resume-contact,.layout-6 .resume-contact,.layout-10 .resume-contact{grid-area:contact;margin-top:0}.layout-1 .resume-summary,.layout-4 .resume-summary,.layout-6 .resume-summary,.layout-10 .resume-summary{max-width:100%;line-height:1.45}.layout-1 .resume-hero h1,.layout-4 .resume-hero h1,.layout-6 .resume-hero h1,.layout-10 .resume-hero h1{overflow-wrap:anywhere}.layout-10 .resume-hero{grid-template-columns:120px minmax(0,1fr);padding:16mm 18mm}.layout-10 .resume-contact{align-self:end}
@page{size:A4;margin:12mm 0 0}@page:first{margin:0}@media print{body,.resume-document{background:#fff;padding:0}.topbar,.editor-panel,.editor-actions,#exportResult{display:none!important}.editor-shell{display:block}.preview-zone{padding:0}.resume-frame{box-shadow:none;width:100%;height:100vh}.resume-page{box-shadow:none;margin:0}.resume-section,.resume-item{break-inside:avoid}}
@media(max-width:992px){.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}.dashboard-hero-inner{display:block}.dashboard-hero-inner .d-flex{margin-top:10px}.editor-shell{grid-template-columns:1fr}.editor-panel{height:auto}.preview-zone{padding:12px}.resume-frame{transform:scale(.74);margin-bottom:-290px}.resume-page{width:100%;padding:24px}.resume-grid{grid-template-columns:1fr}.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1180px) and (min-width:993px){.auth-brand{padding:48px}.auth-theme-grid{grid-template-columns:repeat(4,minmax(70px,1fr));gap:10px}.auth-theme-thumb{height:96px}}
@media(max-width:576px){.auth-form{padding:18px}.auth-card{padding:24px}.upload-card{padding:14px}.quick-card-head{display:block}.upload-dropzone{grid-template-columns:1fr;text-align:center}.upload-dropzone i{grid-row:auto}.upload-footer{display:block}.upload-footer .progress{max-width:none;margin-top:8px}.resume-frame{transform:scale(.42);margin-bottom:-650px}.resume-hero{grid-template-columns:1fr}.resume-hero h1{font-size:28px}}

body:has(.editor-workspace){background:#eef2f7;overflow:hidden}
body:has(.editor-workspace)>.topbar{display:none}
.editor-workspace .workspace-canvas{display:flex;flex-direction:column;align-items:center}
.editor-workspace #exportResult{width:min(850px,100%);min-height:24px;margin-top:10px;color:#475569;font-size:13px}
.editor-workspace .workspace-docbar .link-button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.editor-workspace .workspace-docbar .link-button:first-child{max-width:210px}
.editor-workspace .icon-btn:hover,.editor-workspace .rail-item:hover,.editor-workspace .dock-btn:hover{background:#edf5ff}
.editor-workspace .finish-btn:hover{background:#b70f60;color:#fff}
.editor-workspace .template-mini-card button:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.12)}
.editor-workspace .resume-frame{background:#fff;border:0}
@media(max-width:1280px){.editor-workspace{grid-template-columns:82px 340px minmax(440px,1fr) 116px}.editor-workspace .workspace-topbar{grid-template-columns:220px 110px 1fr 220px}.workspace-panel{padding:20px}.template-mini-card iframe{transform:scale(.155)}.template-mini-card button{height:178px}.workspace-canvas .resume-frame{transform:scale(.9);transform-origin:top center;margin-bottom:-110px}}
@media(max-width:1040px){body:has(.editor-workspace){overflow:auto}.editor-workspace{min-height:100vh;display:grid;grid-template-columns:74px minmax(280px,340px) minmax(360px,1fr);grid-template-rows:auto auto auto}.editor-workspace .workspace-topbar{grid-column:1/-1;grid-template-columns:1fr auto;grid-auto-rows:auto;height:auto;padding:12px 16px}.workspace-docbar,.workspace-zoom{grid-column:1/-1}.editor-rail{grid-column:1;grid-row:2}.workspace-panel{grid-column:2;grid-row:2;height:calc(100vh - 132px)}.workspace-canvas{grid-column:3;grid-row:2}.action-dock{grid-column:1/-1;grid-row:3;flex-direction:row;align-items:center;padding:12px 16px}.action-dock .resume-score{margin-top:0;margin-left:auto;width:120px}.dock-btn,.finish-btn{min-width:118px}.workspace-canvas .resume-frame{transform:scale(.72);margin-bottom:-310px}}
@media(max-width:760px){.editor-workspace{display:block}.editor-workspace .workspace-topbar{display:flex;flex-wrap:wrap;gap:10px}.workspace-brand{width:100%}.workspace-save{margin-left:auto}.workspace-docbar{width:100%;padding:10px 12px;gap:12px}.workspace-zoom{width:100%;justify-content:center}.editor-rail{height:auto;flex-direction:row;justify-content:space-around;padding:10px;gap:6px}.rail-item{width:auto;min-width:68px;font-size:11px}.workspace-panel{height:auto;border-right:0;border-bottom:1px solid #cbd5e1}.template-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-canvas{padding:16px 8px;overflow:hidden}.workspace-canvas .resume-frame{transform:scale(.48);transform-origin:top center;margin-bottom:-570px}.action-dock{position:sticky;bottom:0;z-index:20;background:#fff;display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #dbe3ee}.action-dock .resume-score{display:none}.dock-btn,.finish-btn{min-width:0}}

.editor-workspace .workspace-topbar{grid-template-columns:150px minmax(320px,1fr) 250px}
.workspace-save{justify-content:flex-start}
.action-dock{background:linear-gradient(180deg,#ffffff,#f6f8fb)}
.dock-btn{min-height:42px;border-color:#c4d4ff;background:#fff;color:#061f78;box-shadow:0 8px 18px rgba(15,23,42,.08);text-decoration:none;transition:transform .16s,box-shadow .16s,background .16s}
.dock-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.13);background:#f8fbff;color:#061f78}
#exportBtn,#printBtn{background:#071b63;color:#fff;border-color:#071b63}
#exportBtn:hover,#printBtn:hover{background:#0b2aa0;color:#fff}
.section-edit-head,.row-edit-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mini-action-group{display:flex;align-items:center;gap:6px}
.mini-action{width:28px;height:28px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#29415f;display:inline-grid;place-items:center;font-size:13px;line-height:1}
.mini-action:hover{background:#eef6ff;border-color:#9bbcf5;color:#0b4bbb}
.mini-action.success{color:#047857;border-color:#b7e4d1}
.mini-action.danger{color:#b42318;border-color:#f1c2bd}
.quick-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.quick-add-btn{border:1px solid #d8e1ec;background:#fff;border-radius:10px;padding:12px 10px;display:flex;align-items:center;gap:8px;color:#0b2447;font-weight:800;text-align:left}
.quick-add-btn i{color:#0f766e}
.quick-add-btn:hover{border-color:#95b8e8;background:#f8fbff}
.row-toggle{border:0;background:transparent;display:flex;align-items:center;gap:6px;min-width:0;color:#0b2447;font-weight:800;text-align:left}
.row-toggle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drag-row{border:1px solid #dbe4ef;border-radius:10px;background:#fff;padding:10px;margin-top:10px;transition:border-color .16s,box-shadow .16s}
.drag-row.is-focused{border-color:#0878ff;box-shadow:0 0 0 4px rgba(8,120,255,.12)}
.drag-row.is-collapsed .row-fields{display:none}
.row-fields{padding-top:10px}
.spellcheck-list{display:grid;gap:10px}
.spellcheck-item,.spellcheck-ok{border:1px solid #dbe4ef;border-radius:10px;background:#fff;padding:10px;display:grid;gap:3px}
.spellcheck-item strong{color:#9f1239}
.spellcheck-item span,.spellcheck-ok span{color:#526172;font-size:13px}
.spellcheck-ok{grid-template-columns:20px 1fr;align-items:center}
.spellcheck-ok i{color:#0f9f6e}
.resume-section,.resume-item{position:relative}
.live-preview-controls,.live-item-controls{position:absolute;right:6px;top:6px;z-index:10;display:flex;gap:4px;opacity:0;transition:opacity .14s}
.resume-section:hover>.live-preview-controls,.resume-item:hover>.live-item-controls{opacity:1}
.live-preview-controls button,.live-item-controls button{border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#10233f;font:700 9px/1 Arial,sans-serif;padding:4px 7px;box-shadow:0 3px 10px rgba(15,23,42,.14)}
.live-item-controls button:last-child{color:#b42318}
.preview-focus{outline:2px solid #0878ff;outline-offset:3px}
@media print{.live-preview-controls,.live-item-controls{display:none!important}}
@media(max-width:1280px){.editor-workspace .workspace-topbar{grid-template-columns:130px minmax(260px,1fr) 220px}}
@media(max-width:760px){.quick-add-grid{grid-template-columns:1fr}.editor-workspace .workspace-topbar{grid-template-columns:none}}

.dock-btn.icon-only{width:52px;min-width:52px;height:46px;padding:0;border-radius:14px;font-size:19px}
.dock-btn.icon-only i{margin:0}
.resume-document .resume-section,.resume-document .resume-item{transition:transform .16s ease,box-shadow .16s ease,outline-color .16s ease}
.resume-document .resume-section:hover{transform:scale(1.012);transform-origin:center left;z-index:8;outline:1px solid rgba(17,24,96,.24);outline-offset:5px;box-shadow:0 12px 28px rgba(15,23,42,.10)}
.resume-document .resume-item:hover{transform:scale(1.01);z-index:9}
.live-preview-controls,.live-item-controls{left:-38px;right:auto;top:8px;flex-direction:column;background:#f8fbff;border:2px solid #1c245f;border-radius:14px;padding:5px;box-shadow:0 10px 28px rgba(15,23,42,.2)}
.live-preview-controls button,.live-item-controls button{width:27px;height:27px;padding:0;border:0;border-radius:8px;background:transparent;color:#16356f;font:700 15px/1 Arial,sans-serif;box-shadow:none;display:grid;place-items:center}
.live-preview-controls button:hover,.live-item-controls button:hover{background:#e9efff;color:#061f78}
.live-item-controls button:last-child{color:#12305f}
.live-item-controls button:last-child:hover{background:#fee2e2;color:#b42318}

.editor-workspace{grid-template-columns:minmax(320px,380px) minmax(0,1fr);grid-template-rows:64px calc(100vh - 64px);background:#eef2f7}
.editor-workspace .workspace-topbar{grid-column:1/-1;grid-template-columns:minmax(120px,180px) minmax(220px,1fr) auto;height:64px;padding:0 20px;gap:14px}
.workspace-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.workspace-panel{grid-column:1;grid-row:2;height:calc(100vh - 64px);border-right:1px solid #d6e0ec;padding:20px;background:#fff}
.workspace-canvas{grid-column:2;grid-row:2;padding:24px clamp(18px,4vw,56px);background:#f7f9fc;overflow:auto}
.editor-workspace .workspace-canvas{align-items:center}
.editor-workspace .resume-frame{width:850px;height:1120px;max-width:none;box-shadow:0 18px 55px rgba(15,23,42,.16)}
.content-editor{border-top:0;padding-top:0}
.quick-add-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-actions .dock-btn{min-height:38px;border-radius:10px;padding:7px 12px;box-shadow:none}
.workspace-actions #exportBtn{background:#071b63;color:#fff;border-color:#071b63}
.workspace-actions #printBtn{background:#fff;color:#17315c;border-color:#cbd5e1}

@media(max-width:1180px){
  body:has(.editor-workspace){overflow:auto}
  .editor-workspace{grid-template-columns:minmax(280px,340px) minmax(0,1fr);grid-template-rows:auto auto}
  .editor-workspace .workspace-topbar{height:auto;min-height:64px;grid-template-columns:1fr auto;padding:12px 16px}
  .workspace-docbar{grid-column:1/-1;grid-row:2;padding:0 14px}
  .workspace-panel{height:calc(100vh - 116px)}
  .workspace-canvas{padding:18px}
  .workspace-canvas .resume-frame{transform:scale(.82);transform-origin:top center;margin-bottom:-200px}
}
@media(max-width:820px){
  .editor-workspace{display:block}
  .editor-workspace .workspace-topbar{display:grid;grid-template-columns:1fr auto;gap:10px}
  .workspace-actions{grid-column:1/-1;justify-content:flex-start;overflow:auto;padding-bottom:2px}
  .workspace-panel{height:auto;border-right:0;border-bottom:1px solid #d6e0ec}
  .workspace-canvas{padding:16px 8px;overflow:hidden}
  .workspace-canvas .resume-frame{transform:scale(.58);transform-origin:top center;margin-bottom:-470px}
}
@media(max-width:560px){
  .workspace-canvas .resume-frame{transform:scale(.43);margin-bottom:-640px}
  .quick-add-grid{grid-template-columns:1fr}
  .workspace-actions .dock-btn{min-width:auto}
}

@media print{
  html,body,.resume-document{width:auto;min-height:0;background:#fff!important;padding:0!important;margin:0!important}
  .resume-page{box-shadow:none!important;margin:0!important;overflow:visible!important}
  .resume-template-shell{overflow:visible!important}
  .resume-grid,.resume-main,.resume-side{break-inside:auto;page-break-inside:auto}
  .resume-section{break-inside:auto;page-break-inside:auto}
  .resume-section h2,.entry-topline{break-after:avoid;page-break-after:avoid}
  .resume-item,.premium-entry,.entry-body,.mini-card,.skill-widget{break-inside:avoid;page-break-inside:avoid}
  .live-preview-controls,.live-item-controls{display:none!important}
}
.layout-7 .hero-mark{display:none}
.layout-7 .resume-photo{display:block;width:74px;height:74px;border-radius:50%;border:4px solid var(--theme-soft)}
.layout-4.theme-4 .premium-entry{grid-template-columns:1fr;width:100%}
.layout-4.theme-4 .premium-entry .entry-marker{display:none}
.layout-4.theme-4 .premium-entry .entry-body{grid-column:1;width:100%}
.layout-4.theme-4 .resume-main,.layout-4.theme-4 .resume-section{min-width:0;width:100%}
.layout-5.theme-5 .resume-grid{grid-template-columns:1fr;gap:12px}
.layout-5.theme-5 .resume-side,.layout-5.theme-5 .resume-main{display:contents}
.layout-5.theme-5 .resume-section{width:100%;margin-bottom:12px}
.layout-5.theme-5 .premium-entry{grid-template-columns:1fr}
.layout-5.theme-5 .entry-marker{display:none}
.layout-5.theme-5 .entry-body{width:100%}
.layout-10.theme-10 .resume-grid{display:block;padding:14mm 18mm}
.layout-10.theme-10 .resume-side,.layout-10.theme-10 .resume-main{display:block;background:transparent;padding:0;border-radius:0}
.layout-10.theme-10 .resume-section{width:100%;position:relative;z-index:1;margin-bottom:14px}
.layout-10.theme-10 .resume-section:hover{z-index:3}
.layout-10.theme-10 .resume-section h2{border-bottom:1px solid #cbd5e1;margin-bottom:10px}
.layout-10.theme-10 .mini-card,.layout-10.theme-10 .entry-body{width:100%}
.layout-10.theme-10 .pill{display:inline-block;margin:0 6px 6px 0}
.layout-7 .resume-contact,.layout-8 .resume-contact{grid-column:1/-1;align-self:start;margin-top:2px}
.layout-8 .resume-hero{align-items:center;row-gap:14px;margin-bottom:16px}
.layout-8 .resume-contact{display:flex;flex-wrap:wrap;gap:7px;max-width:100%}
.layout-8 .resume-contact span{font-size:11px;padding:5px 8px;max-width:100%;overflow-wrap:anywhere}
.layout-8 .resume-summary{max-width:100%;line-height:1.45}
.layout-8 .resume-grid{align-items:start;gap:18px}
.layout-8 .resume-side{align-self:start}
.layout-7 .resume-contact{justify-content:flex-start}
.workspace-nav{display:flex;align-items:center;gap:10px}
.back-icon-btn{width:42px;height:42px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#0f2f6f;display:inline-grid;place-items:center;font-size:20px;box-shadow:0 8px 18px rgba(15,23,42,.08);transition:background .16s,color .16s,transform .16s,box-shadow .16s}
.back-icon-btn:hover{background:#071b63;color:#fff;transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.14)}
.premium-upload-card{border:1px solid #e3ece8;border-radius:10px;padding:24px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.08)}
.premium-upload-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.premium-upload-title{display:flex;align-items:flex-start;gap:14px}
.premium-upload-icon{width:52px;height:52px;border-radius:10px;background:#eefaf5;color:#06956f;display:grid;place-items:center;font-size:28px;border:1px solid #d5f1e8}
.premium-upload-title h2{font-size:18px;line-height:1.2;margin:1px 0 4px;font-weight:900;color:#1f2937}
.premium-upload-title p{margin:0;color:#64748b;font-size:13px}
.premium-upload-badge{border-radius:8px;background:#e9f8f2;color:#047857;border:1px solid #c8eddf;padding:6px 10px;font-size:12px;font-weight:900;white-space:nowrap}
.premium-upload-card .upload-dropzone{min-height:132px;border:1.5px dashed #a8d8ca;background:linear-gradient(135deg,#fbfffd,#f7fcfb);border-radius:8px;display:grid;grid-template-columns:128px minmax(0,1fr) minmax(210px,280px);grid-template-rows:1fr;align-items:center;gap:22px;padding:26px 30px;color:#22342d;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}
.premium-upload-card .upload-dropzone:hover,.premium-upload-card .upload-dropzone.is-dragging{border-color:#059669;background:#f1fbf7;box-shadow:0 14px 34px rgba(5,150,105,.1);transform:translateY(-1px)}
.dropzone-upload-icon{display:grid;place-items:center;color:#07966f;font-size:54px}
.dropzone-copy{display:grid;gap:4px;justify-items:start}
.dropzone-copy strong{font-size:16px;font-weight:900;color:#24312b}
.dropzone-copy span{font-size:13px;color:#64748b}
.dropzone-copy b{color:#06956f}
.file-type-pills{display:flex!important;gap:8px;margin-top:7px}
.file-type-pills em{font-style:normal;border:1px solid #dbe5e1;border-radius:4px;background:#fff;color:#64748b;padding:4px 10px;font-size:11px;font-weight:800}
.secure-upload-note{border-left:1px solid #dbe5e1;min-height:64px;padding-left:34px;display:flex!important;align-items:center;gap:12px;color:#0f8b6f}
.secure-upload-note>i{font-size:24px}
.secure-upload-note span{display:grid!important;gap:3px;color:#64748b;font-size:12px;line-height:1.35}
.secure-upload-note strong{color:#07966f;font-size:13px}
.premium-upload-card .upload-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}
.premium-upload-status{display:flex;align-items:center;gap:8px;color:#64748b;font-size:13px;min-width:max-content}
.premium-upload-status i{font-size:8px;color:#10b981}
.premium-upload-status strong{color:#047857}
.premium-browse-btn{border:0;border-radius:6px;background:linear-gradient(180deg,#0ca678,#078763);color:#fff;min-height:40px;padding:0 20px;display:inline-flex;align-items:center;gap:8px;font-weight:900;box-shadow:0 10px 22px rgba(5,150,105,.22);transition:transform .16s,box-shadow .16s,background .16s}
.premium-browse-btn:hover{background:linear-gradient(180deg,#0b946d,#067756);transform:translateY(-1px);box-shadow:0 14px 28px rgba(5,150,105,.28)}
.premium-upload-card .upload-footer .progress{height:9px;max-width:320px;min-width:180px;flex:1}
.ai-analysis-card{border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#f3faf7);padding:14px;display:grid;gap:12px}
.ai-analysis-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ai-analysis-card strong{color:#0f766e;font-size:14px}
.ai-analysis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ai-analysis-grid div{border:1px solid #e2e8f0;background:#fff;border-radius:8px;padding:10px}
.ai-analysis-grid span{display:block;color:#0f766e;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.ai-analysis-grid p{margin:0;color:#475569;font-size:12px;line-height:1.45}
.resume-photo-frame{display:block;width:104px;height:104px;border-radius:8px;overflow:hidden;background:#eef2ef;flex:0 0 auto}
.resume-photo-frame .resume-photo{width:100%;height:100%;object-fit:cover;object-position:var(--photo-x,50%) var(--photo-y,50%);transform:scale(var(--photo-zoom,1));transform-origin:var(--photo-x,50%) var(--photo-y,50%);border-radius:0!important;box-shadow:none!important}
.resume-template-shell *{min-width:0}
.resume-contact span{overflow-wrap:anywhere}
.resume-main,.resume-side,.hero-copy{min-width:0}
.layout-3 .resume-photo-frame{float:right;width:82px;height:82px;margin-left:16px}.layout-3 .resume-photo{float:none;margin-left:0}
.layout-5 .resume-photo-frame{grid-area:photo;width:120px;height:120px;border-radius:24px}.layout-5 .resume-photo{grid-area:auto}
.layout-7 .resume-photo-frame{display:block;width:74px;height:74px;border-radius:50%;border:4px solid var(--theme-soft)}.layout-7 .resume-photo{display:block;width:100%;height:100%}
.layout-8 .resume-photo-frame{width:120px;height:120px;border-radius:50%;border:6px solid var(--theme-soft)}.layout-8 .resume-photo{width:100%;height:100%;border:0}
.layout-9 .resume-photo-frame{width:92px;height:92px;border-radius:50%;margin:0 auto 10px}.layout-9 .resume-photo{width:100%;height:100%}
.layout-1 .resume-photo-frame,.layout-4 .resume-photo-frame,.layout-6 .resume-photo-frame,.layout-10 .resume-photo-frame{grid-area:photo;align-self:start}
.layout-10 .resume-photo-frame{width:120px;height:120px}
.photo-adjuster{display:grid;grid-template-columns:86px minmax(0,1fr);gap:14px;align-items:start}
.photo-drag-stage{width:86px;height:86px;border-radius:14px;overflow:hidden;background:#eef2ef;border:1px solid #cbd5e1;cursor:grab;touch-action:none;box-shadow:inset 0 0 0 4px #fff}
.photo-drag-stage:active{cursor:grabbing}
.photo-drag-stage .photo-preview{width:100%;height:100%;object-fit:cover;object-position:var(--photo-x,50%) var(--photo-y,50%);transform:scale(var(--photo-zoom,1));transform-origin:var(--photo-x,50%) var(--photo-y,50%);border-radius:0;background:#eef2ef}
.photo-adjuster-controls{display:grid;gap:8px;min-width:0}
.photo-adjuster-controls .form-range{margin:0}

@media screen{
  .resume-document .resume-section:hover{transform:none;outline:1px solid rgba(37,99,235,.18);outline-offset:4px;box-shadow:none}
  .resume-document .resume-item:hover{transform:none}
  .live-preview-controls,.live-item-controls{position:absolute;left:auto!important;right:8px!important;top:8px!important;z-index:20;display:inline-flex!important;flex-direction:row!important;align-items:center;gap:3px;opacity:0;pointer-events:none;background:rgba(255,255,255,.96);border:1px solid #cbd5e1;border-radius:999px;padding:3px;box-shadow:0 8px 20px rgba(15,23,42,.14);backdrop-filter:blur(6px)}
  .resume-section:hover>.live-preview-controls,.resume-item:hover>.live-item-controls,.live-preview-controls:focus-within,.live-item-controls:focus-within{opacity:1;pointer-events:auto}
  .live-preview-controls button,.live-item-controls button{width:24px;height:24px;padding:0;border:0;border-radius:999px;background:transparent;color:#1e3a8a;font-size:13px;line-height:1;display:grid;place-items:center;box-shadow:none}
  .live-preview-controls button:hover,.live-item-controls button:hover{background:#e0ecff;color:#0f2f6f}
  .live-item-controls button:last-child{color:#b42318}
  .live-item-controls button:last-child:hover{background:#fee2e2;color:#991b1b}
  .live-preview-controls svg,.live-item-controls svg{width:14px;height:14px;display:block;fill:none;stroke:currentColor;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
  .live-preview-controls i,.live-item-controls i{line-height:1}
}
@media(max-width:900px){
  .premium-upload-card .upload-dropzone{grid-template-columns:72px 1fr;gap:16px}
  .secure-upload-note{grid-column:1/-1;border-left:0;border-top:1px solid #dbe5e1;padding:16px 0 0;min-height:0}
  .ai-analysis-grid{grid-template-columns:1fr}
}
@media(max-width:576px){
  .premium-upload-head,.premium-upload-card .upload-footer{display:grid;gap:12px}
  .premium-upload-card .upload-dropzone{grid-template-columns:1fr;text-align:center;justify-items:center}
  .dropzone-copy{justify-items:center}
  .premium-browse-btn{width:100%;justify-content:center}
  .premium-upload-status{justify-content:center}
}
