:root{--ink:#19223a;--muted:#68748b;--line:#dfe5ef;--primary:#4f46e5;--primary2:#7c3aed;--surface:#fff;--bg:#eef2f8;--danger:#dc2626}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px Inter,"Segoe UI",Arial,sans-serif}.hidden{display:none!important}button,input,textarea,select{font:inherit}.topbar{position:sticky;top:0;z-index:80;height:70px;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 20px;background:linear-gradient(120deg,#121b34,#303f75);color:#fff;box-shadow:0 10px 30px #11182725}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.brandmark{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#6d5dfc,#a855f7);font-weight:900;font-size:12px}.brand b{display:block;font-size:15px}.brand small{display:block;color:#cbd5e1;font-size:10px;margin-top:3px}.topactions{display:flex;align-items:center;gap:8px}.topactions button,.topactions a,.preview-toolbar button,.editor-actions button{border:0;border-radius:10px;padding:9px 11px;font-weight:800;text-decoration:none;cursor:pointer}.soft{background:#edf1f7;color:#34415b}.topbar .soft{background:#ffffff18;color:#fff}.primary{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 7px 18px #4f46e540}.account{background:#fff;color:#27324e}.business{background:#ffffff12;color:#fff;border:1px solid #ffffff2b}.syncstate{font-size:10px;font-weight:800;padding:6px 8px;border-radius:99px;background:#ffffff13}.syncstate.online{color:#a7f3d0}.syncstate.offline{color:#fde68a}.workspace{min-height:calc(100vh - 70px);display:grid;grid-template-columns:215px minmax(470px,1fr) minmax(500px,.95fr)}.sidebar{position:sticky;top:70px;height:calc(100vh - 70px);overflow:auto;padding:15px 12px;background:#fff;border-right:1px solid var(--line)}.sidebar-title{display:flex;justify-content:space-between;align-items:center;margin:10px 3px 7px;color:#80899c;font-size:10px;font-weight:900;letter-spacing:.08em}.sidebar-title button{width:26px;height:26px;border:0;border-radius:8px;background:#e9edff;color:#3730a3;cursor:pointer}.sidebar select{width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.sidebar-actions{display:flex;gap:5px;margin-top:6px}.sidebar-actions button{flex:1;border:0;padding:7px;border-radius:8px;background:#f2f4f8;font-size:10px;cursor:pointer}.dangerText{color:#b91c1c!important}.template-list,.tool-list{display:flex;flex-direction:column;gap:5px}.template-list button{display:flex;align-items:center;gap:8px;text-align:left;padding:8px;border:1px solid transparent;border-radius:11px;background:transparent;color:#445068;cursor:pointer}.template-list button.active{background:#eef2ff;border-color:#c7d2fe;color:#312e81}.template-list b,.template-list small{display:block}.template-list b{font-size:10px}.template-list small{font-size:10px;color:#818a9d;margin-top:2px}.thumb{width:34px;height:43px;background:#fff;border:1px solid #cfd6e3;border-radius:4px;box-shadow:0 2px 7px #1112}.thumb.modern{border-left:9px solid #4f46e5}.thumb.classic{border-top:7px solid #1f2937}.thumb.minimal{border-top:3px solid #9ca3af}.thumb.ats{background:repeating-linear-gradient(#fff 0 6px,#d1d5db 7px 8px)}.tool-list button,.tool-list label{display:block;width:100%;padding:9px 10px;border:0;border-radius:9px;background:#f5f7fb;color:#46526a;text-align:left;font-size:10px;font-weight:700;cursor:pointer}.cloudbox{margin-top:15px;padding:12px;border-radius:13px;background:linear-gradient(145deg,#312e81,#4f46e5);color:#fff}.cloudbox b{font-size:11px}.cloudbox p{font-size:10px;line-height:1.5;color:#dbe2ff}.cloudbox button{width:100%;border:0;padding:8px;border-radius:8px;background:#fff;color:#3730a3;font-weight:800;font-size:10px}.editor{padding:22px;overflow:auto;max-height:calc(100vh - 70px)}.editor-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:15px}.editor-head>div>span{font-size:10px;font-weight:900;letter-spacing:.09em;color:#6366f1}.editor-head h1{margin:5px 0;font-size:26px}.editor-head p{margin:0;color:var(--muted);font-size:11px}.editor-actions{display:flex;gap:7px}.section-card{background:#fff;border:1px solid #fff;border-radius:16px;margin-bottom:11px;box-shadow:0 10px 30px #1e2b4d0c;overflow:hidden}.section-card summary{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;cursor:pointer;list-style:none}.section-card summary span{display:flex;align-items:center;gap:10px}.section-card summary i{font-style:normal;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#eef2ff;color:#4338ca;font-size:10px;font-weight:900}.section-card summary b{font-size:13px}.section-card summary small{font-size:10px;color:#818b9f}.section-body{padding:3px 16px 17px;border-top:1px solid #eef1f6}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.formgrid .wide{grid-column:1/-1}label{display:block;color:#58657b;font-size:10px;font-weight:800;margin-top:10px}input,textarea,select{width:100%;margin-top:5px;padding:10px 11px;border:1px solid #ccd5e3;border-radius:9px;background:#fff;color:#202942;outline:none}input:focus,textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f114}textarea{resize:vertical}.photo-row{display:grid;grid-template-columns:105px 1fr;gap:14px;align-items:start}.photo-upload{position:relative;width:105px;height:125px;border-radius:14px;border:1px dashed #aeb9ca;background:#f7f8fb;overflow:hidden;cursor:pointer}.photo-upload img{width:100%;height:100%;object-fit:cover;display:none}.photo-upload span{height:100%;display:grid;place-items:center;text-align:center;font-size:25px;color:#6366f1}.photo-upload span small{display:block;font-size:10px;color:#7b8597}.hint{margin-top:9px;padding:9px 11px;border-radius:9px;background:#eff6ff;color:#1d4ed8;font-size:10px}.repeat-list{display:flex;flex-direction:column;gap:9px}.repeat-card{position:relative;padding:12px;border:1px solid #e1e6ef;border-radius:12px;background:#fafbfe}.repeat-card .remove{position:absolute;right:7px;top:7px;width:25px;height:25px;border:0;border-radius:8px;background:#fee2e2;color:#991b1b;cursor:pointer}.repeat-card .formgrid{padding-right:23px}.add-repeat{margin-top:10px;border:1px dashed #aeb8ca;background:#f8fafc;color:#4f46e5;width:100%;padding:10px;border-radius:10px;font-weight:800;cursor:pointer}.preview-pane{background:#dfe5ef;max-height:calc(100vh - 70px);overflow:auto}.preview-toolbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:10px 15px;background:#fff;border-bottom:1px solid #d7deea}.preview-toolbar b,.preview-toolbar small{display:block}.preview-toolbar small{font-size:10px;color:#7c879b}.preview-toolbar>div{display:flex;gap:5px;align-items:center}.preview-toolbar button{padding:7px 9px}.paper-stage{min-height:100%;display:flex;justify-content:center;align-items:flex-start;padding:22px;overflow:auto}.cv-paper{--accent:#4f46e5;width:210mm;min-height:297mm;background:#fff;color:#1d2433;box-shadow:0 18px 55px #1118272f;transform:scale(.8);transform-origin:top center;margin-bottom:-59mm;font-family:Arial,sans-serif}.cv-layout{display:grid;grid-template-columns:68mm 1fr;min-height:297mm}.cv-side{padding:18mm 9mm;background:#17213c;color:#fff}.cv-main{padding:17mm 15mm}.cv-photo{width:38mm;height:44mm;border-radius:9mm;object-fit:cover;display:block;margin:0 auto 8mm;background:#33415f}.cv-name{font-size:27px;line-height:1.05;margin:0}.cv-headline{font-size:13px;color:var(--accent);font-weight:700;margin:4px 0 9mm}.cv-section{margin:0 0 8mm}.cv-section h2{font-size:11px;letter-spacing:.09em;text-transform:uppercase;border-bottom:1px solid #d9dee8;padding-bottom:3mm;margin:0 0 4mm}.cv-side .cv-section h2{border-color:#ffffff34;color:#c7d2fe}.cv-contact,.cv-text{font-size:10px;line-height:1.6;white-space:pre-line}.cv-item{margin-bottom:5mm}.cv-item h3{font-size:11px;margin:0 0 1mm}.cv-item .meta{font-size:10px;color:#6b7280;margin-bottom:1.5mm}.cv-side .meta{color:#cbd5e1}.cv-item p{font-size:10px;line-height:1.5;margin:0;white-space:pre-line}.skill-tags{display:flex;flex-wrap:wrap;gap:2mm}.skill-tags span{font-size:10px;padding:2mm 2.5mm;border-radius:3mm;background:#ffffff16}.cv-main .skill-tags span{background:#eef2ff;color:#3730a3}.template-classic .cv-layout,.template-minimal .cv-layout,.template-ats .cv-layout{display:block}.template-classic .cv-side,.template-minimal .cv-side,.template-ats .cv-side{background:#fff;color:#1d2433;padding:15mm 16mm 7mm}.template-classic .cv-main,.template-minimal .cv-main,.template-ats .cv-main{padding:0 16mm 15mm}.template-classic .cv-photo,.template-minimal .cv-photo,.template-ats .cv-photo{float:right;width:30mm;height:35mm;border-radius:4mm;margin:0 0 4mm 8mm}.template-classic .cv-side .cv-section,.template-minimal .cv-side .cv-section,.template-ats .cv-side .cv-section{display:inline-block;width:31%;vertical-align:top;margin-right:2%}.template-classic .cv-side .cv-section h2,.template-minimal .cv-side .cv-section h2,.template-ats .cv-side .cv-section h2{color:#374151;border-color:#d1d5db}.template-classic{--accent:#1f2937}.template-classic .cv-name{text-align:center;font-family:Georgia,serif}.template-classic .cv-headline{text-align:center}.template-minimal{--accent:#64748b}.template-minimal .cv-name{font-weight:400;letter-spacing:.03em}.template-ats{--accent:#111827;box-shadow:none}.template-ats .cv-photo{display:none}.template-ats .cv-section h2{border-bottom:2px solid #111827}.template-ats *{border-radius:0!important}.footer{display:flex;justify-content:space-between;gap:15px;padding:14px 22px;background:#fff;color:#738096;font-size:10px}.footer a,.footer button{color:#4f46e5;border:0;background:none;padding:0;font:inherit}.mobile-tabs{display:none}.toast{position:fixed;right:18px;bottom:18px;z-index:500;padding:12px 15px;border-radius:12px;background:#17213c;color:#fff;box-shadow:0 15px 40px #1118273b;font-size:11px}
@media(max-width:1250px){.workspace{grid-template-columns:190px minmax(420px,1fr) 480px}.editor{padding:15px}.paper-stage{padding:14px}.cv-paper{transform:scale(.68);margin-bottom:-95mm}}
@media(max-width:950px){.topactions .syncstate,.topactions .soft{display:none}.workspace{display:block}.sidebar{position:relative;top:0;height:auto;display:none}.editor,.preview-pane{max-height:none;min-height:calc(100vh - 110px)}.preview-pane{display:none}.pane.active{display:block}.mobile-tabs{display:flex;position:sticky;top:70px;z-index:60;background:#fff;border-bottom:1px solid var(--line)}.mobile-tabs button{flex:1;border:0;padding:11px;background:#fff;color:#68748b;font-weight:800}.mobile-tabs button.active{color:#4338ca;border-bottom:2px solid #4f46e5}.cv-paper{transform:scale(.75);margin-bottom:-74mm}.footer{display:none}}
@media(max-width:620px){.topbar{padding:0 10px}.brand small,.topactions .business{display:none}.workspace{min-width:0}.editor{padding:10px}.editor-head{display:block}.editor-actions{margin-top:10px}.formgrid,.photo-row{grid-template-columns:1fr}.photo-upload{width:90px;height:105px}.cv-paper{transform:scale(.49);margin-bottom:-151mm}.paper-stage{padding:8px;overflow:hidden}.preview-toolbar{padding:8px}.preview-toolbar>span{display:none}}
@media print{.no-print,.footer,.mobile-tabs{display:none!important}body{background:#fff}.workspace{display:block}.preview-pane{display:block;max-height:none;overflow:visible;background:#fff}.paper-stage{padding:0;display:block}.cv-paper{transform:none!important;margin:0!important;box-shadow:none;width:210mm;min-height:297mm}@page{size:A4;margin:0}}

/* PLEVIX v2 – jednotný ekosystém a zjednodušené ovládanie */
.sidebar{background:linear-gradient(165deg,#0d1525,#17223a 62%,#25224f);color:#fff}.sidebar-title{color:#9aa7bc}.sidebar select{border-color:#ffffff15;background:#ffffff0b;color:#fff}.sidebar select option{color:#172033}.template-list button,.tool-list button,.tool-list label{border-color:#ffffff0d;background:#ffffff08;color:#d6deec}.template-list button:hover,.template-list button.active,.tool-list button:hover,.tool-list label:hover{background:#ffffff13;color:#fff}.template-list small{color:#95a1b7}.cloudbox{border-color:#ffffff12;background:#ffffff08;color:#dbe4f1}.cloudbox p{color:#98a5ba}.cloudbox button{background:linear-gradient(135deg,#5b52e8,#8b5cf6);color:#fff}.sidebar-actions button{background:#ffffff09;color:#cbd5e1}.sidebar-actions .dangerText{color:#fca5a5}.topbar{height:78px;background:linear-gradient(120deg,#0f172a,#252b55);box-shadow:0 10px 30px #11182720}.workspace{min-height:calc(100vh - 78px);grid-template-columns:245px minmax(470px,1fr) minmax(500px,.95fr)}.sidebar{top:78px;height:calc(100vh - 78px);padding:14px 13px}.business{display:none}.topactions{gap:8px}.cv-account-dialog{width:min(560px,calc(100% - 24px));padding:0;border:0;border-radius:22px;box-shadow:0 30px 90px #0005}.cv-account-dialog::backdrop{background:#0b1020a8;backdrop-filter:blur(5px)}.cv-account-head{display:flex;justify-content:space-between;align-items:center;padding:20px;color:#fff;background:linear-gradient(135deg,#17203a,#4f46e5)}.cv-account-head span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#c7d2fe}.cv-account-head h2{margin:5px 0 0}.cv-account-head button{width:36px;height:36px;border:0;border-radius:11px;background:#ffffff18;color:#fff;font-size:22px}.cv-account-content{padding:20px}.cv-account-profile{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e3e7f0;border-radius:15px;background:#f8f9ff}.cv-account-profile .px-profile-avatar{width:50px;height:50px}.cv-account-profile b,.cv-account-profile small{display:block}.cv-account-profile small{margin-top:3px;color:#7b8597}.cv-account-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.cv-account-facts>div{padding:12px;border:1px solid #e5e8ef;border-radius:13px}.cv-account-facts span,.cv-account-facts b{display:block}.cv-account-facts span{color:#818ca0;font-size:10px;font-weight:900}.cv-account-facts b{margin-top:4px}.cv-account-actions{display:flex;gap:8px;flex-wrap:wrap}.cv-account-actions a,.cv-account-actions button{border:0;border-radius:11px;padding:10px 12px;text-decoration:none;font-weight:800}.cv-account-actions .dangerText{background:#fff0f0;color:#b42318}
@media(max-width:900px){.workspace{display:block}.sidebar{position:relative;top:auto;height:auto;max-height:none}.topbar{height:70px}.topactions .syncstate,.topactions>.soft{display:none}.px-suite-rail{display:none}}
/* Plocha okolo nahladu a jemne tlacidlo boli svetle.
   POZOR: `.cv-paper` sa NEMENI — to je nahlad hotoveho zivotopisu
   a papier ma byt biely. Stmavit ho by bola chyba, nie oprava. */
html[data-plevix-theme="dark"] .preview-pane{background:#0f1420}
html[data-plevix-theme="dark"] .soft{background:#1c2333;color:#c3cddd}
