/* Zenvira by Artemis 0.6 – az elfogadott adminarculathoz illeszkedő piszkozat-szerkesztő */
.zn-draft-editor .zn-breadcrumb{font-size:11px;color:#477687;display:inline-flex;align-items:center;gap:7px;margin-bottom:10px;font-weight:650}
.zn-draft-editor .zn-breadcrumb .zi{width:15px;height:15px}
.zn-draft-editor .zn-draft-shell{padding:25px 26px 22px;border-radius:14px}
.zn-draft-editor .zn-draft-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-bottom:1px solid #eaf0f4;padding:0 0 24px;margin:0 0 25px}
.zn-draft-editor .zn-draft-steps .wizard-step{padding:8px 10px;display:flex;align-items:center;gap:9px;justify-content:center;border-radius:8px;white-space:nowrap;color:#7b8b99;font-weight:650;font-size:11px}
.zn-draft-editor .zn-draft-steps .wizard-step.is-active{background:#e5f9f5;color:#006b67}
.zn-draft-editor .wizard-step-number{display:inline-flex;width:24px;height:24px;border-radius:50%;align-items:center;justify-content:center;background:#e8eef2;color:#647c88;font-weight:800;flex-shrink:0}
.zn-draft-editor .wizard-step.is-active .wizard-step-number{background:#02b8ad;color:#fff}
.zn-draft-step-panel[hidden]{display:none!important}
.zn-draft-step-panel h2{font-size:18px;color:#082940;margin:0 0 17px}
.zn-draft-editor label{font-size:12px;font-weight:750;color:#315063;display:flex;flex-direction:column;gap:8px}
.zn-draft-editor label small{color:#8a9caa;font-size:10px;font-weight:450;line-height:1.5}
.zn-draft-editor input:not([type=hidden]),.zn-draft-editor select,.zn-draft-editor textarea{font-family:inherit;border:1px solid #d4e1e8;background:#fff;border-radius:9px;min-height:45px;padding:9px 12px;color:#153349;min-width:0;width:100%;font-size:12px}
.zn-draft-editor input:focus,.zn-draft-editor select:focus,.zn-draft-editor textarea:focus{outline:0;border-color:#08bcae;box-shadow:0 0 0 3px #16c8b823}
.zn-draft-editor input:disabled{background:#f2f6f9;color:#8293a3;cursor:not-allowed}
.zn-draft-editor .zn-draft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px}
.zn-draft-editor .zn-draft-between{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:14px}
.zn-draft-editor .zn-draft-between h2{margin-bottom:5px}
.zn-draft-editor .zn-draft-between .muted{font-size:11px}
.zn-draft-editor .zn-draft-between .btn{flex-shrink:0}
.zn-draft-editor .zn-draft-line{background:#f9fbfc;border:1px solid #e3ebf0;border-radius:13px;padding:16px;margin-bottom:13px}
.zn-draft-editor .zn-draft-line-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;color:#08314a}
.zn-draft-editor .zn-remove-line{border:0;color:#a4434c;background:transparent;display:flex;gap:4px;align-items:center;cursor:pointer;font-size:11px;font-weight:650}
.zn-draft-editor .zn-remove-line .zi{width:16px;height:16px}
.zn-draft-editor .zn-draft-line-fields{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:13px}
.zn-draft-editor .zn-line-product,.zn-draft-editor .zn-line-name{grid-column:span 2}
.zn-draft-editor .zn-draft-line-summary{font-size:11px;color:#2e7d79;text-align:right;margin-top:12px;font-weight:650}
.zn-draft-editor .zn-draft-totals{margin:19px 0 14px auto;max-width:360px;background:#f5faf9;border:1px solid #d8ebe8;border-radius:12px;padding:12px 17px}
.zn-draft-editor .zn-draft-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;padding:7px 0;color:#5f7685}
.zn-draft-editor .zn-draft-totals strong{color:#0b3046;white-space:nowrap;font-size:13px}
.zn-draft-editor .zn-draft-totals .zn-total-main{border-top:1px solid #cde1df;margin-top:6px;padding-top:13px;font-weight:800;color:#10394a}
.zn-draft-editor .zn-draft-totals .zn-total-main strong{font-size:17px;color:#007f7a}
.zn-draft-editor .zn-draft-review{background:#f4f9fa;border-radius:10px;padding:16px 18px;margin-bottom:18px}
.zn-draft-editor .zn-draft-review p{font-size:12px;color:#445f6e;line-height:1.5;margin:3px 0 9px}
.zn-draft-editor .zn-draft-review strong{color:#11334a}
.zn-draft-editor .zn-draft-notes textarea{min-height:105px;resize:vertical}
.zn-draft-editor .zn-draft-final{text-align:center;display:flex;align-items:center;flex-direction:column;max-width:500px;margin:18px auto 25px;gap:12px;color:#405968}
.zn-draft-editor .zn-draft-final>.zi{width:48px;height:48px;color:#00a99e;background:#e9faf6;padding:10px;border-radius:50%}
.zn-draft-editor .zn-draft-final h2{margin:0}
.zn-draft-editor .zn-draft-final p{font-size:12px;line-height:1.6;margin:0}
.zn-draft-editor .zn-draft-final-total strong{color:#0c726e}
.zn-draft-editor .zn-draft-final .btn{padding:12px 20px;min-height:44px;margin-top:7px}
.zn-draft-editor .zn-draft-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e6edf2;margin-top:26px;padding-top:17px}
.zn-draft-editor .zn-draft-autosave{color:#7c909f;font-size:10px;margin:auto;text-align:center}
.zn-draft-list .zn-draft-tabs{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-bottom:1px solid #e3eaf0;margin-bottom:15px}
.zn-draft-list .zn-draft-tabs a,.zn-draft-list .zn-draft-tabs .zn-draft-tab-disabled{font-size:12px;font-weight:700;text-decoration:none;padding:10px 0 13px;color:#718797;border-bottom:3px solid transparent}
.zn-draft-list .zn-draft-tabs a.is-active{color:#008c85;border-bottom-color:#03b6ac}
.zn-draft-list .zn-draft-tabs .zn-draft-tab-disabled{opacity:.58}
.zn-draft-list .zn-draft-tab-disabled small{font-size:9px;font-weight:400}
.zn-draft-list .zn-table-scroll{margin-top:12px}
.zn-draft-list .zn-data-table{min-width:860px}
.zn-draft-list .zn-data-table td{font-size:11px}
.zn-draft-list .zn-actions{gap:6px}
@media(max-width:950px){.zn-draft-editor .zn-draft-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.zn-draft-editor .zn-draft-shell{padding:16px}.zn-draft-editor .zn-draft-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding-bottom:11px}.zn-draft-editor .zn-draft-steps .wizard-step{padding:6px 2px;gap:3px;flex-direction:column;text-align:center;font-size:9px}.zn-draft-editor .wizard-step-number{width:25px;height:25px}.zn-draft-editor .zn-draft-grid{grid-template-columns:1fr;gap:15px}.zn-draft-editor .zn-draft-between{flex-direction:column}.zn-draft-editor .zn-draft-line-fields{grid-template-columns:1fr;gap:10px}.zn-draft-editor .zn-line-product,.zn-draft-editor .zn-line-name{grid-column:auto}.zn-draft-editor .zn-draft-line{padding:12px}.zn-draft-editor .zn-draft-actions{flex-wrap:wrap}.zn-draft-editor .zn-draft-autosave{order:3;width:100%;margin-top:4px}.zn-draft-editor .zn-draft-totals{max-width:none}}
.zn-draft-editor .zn-draft-readonly{border:0;margin:0;padding:0;min-width:0}
.zn-draft-editor .zn-draft-readonly:disabled{opacity:.92}
.zn-draft-dashboard-banner{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#f2fbf9;border:1px solid #c5ebe5;border-radius:12px;padding:12px 16px;margin-bottom:18px;font-size:12px;color:#174256}.zn-draft-dashboard-banner strong{color:#067e76;font-size:13px}.zn-draft-dashboard-banner span{color:#718697}.zn-draft-dashboard-banner .btn{margin-left:auto}@media(max-width:650px){.zn-draft-dashboard-banner .btn{margin-left:0}}

/* 1.0.1 – választható vevő: partnertörzs vagy egyszeri, manuálisan megadott vevő */
.zn-buyer-choice{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:17px 20px;border-radius:14px;background:#f0f8f8;border:1px solid #d5ebe9}
.zn-buyer-choice strong{width:100%;color:#152f42;font-size:15px}
.zn-buyer-radio{display:flex!important;align-items:center;gap:9px;font-weight:600!important;cursor:pointer;font-size:14px!important;color:#204157}
.zn-buyer-radio input{width:17px!important;height:17px!important;margin:0!important;accent-color:#28aaa9}
.zn-buyer-section{grid-column:1/-1;min-width:0;padding:18px 20px;border:1px solid #dce9ed;border-radius:14px;background:#fff}
.zn-buyer-section[hidden]{display:none!important}
.zn-buyer-section--partner>label{display:block;max-width:630px}
.zn-buyer-section--manual .zn-form-grid{margin-top:10px}
.zn-buyer-help{margin:0 0 10px;font-size:14px;color:#4d6672}
@media(max-width:650px){.zn-buyer-choice,.zn-buyer-section{padding:14px}.zn-buyer-radio{width:100%}}

/* Zenvira 1.0.2 – alapértelmezett szabad vevőadatok + partnerkereső ablak */
.zn-draft-editor .zn-buyer-entry{grid-column:1/-1;min-width:0;background:#fff;border:1px solid #dce9ed;border-radius:14px;padding:20px}
.zn-draft-editor .zn-buyer-entry-top{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:19px}
.zn-draft-editor .zn-buyer-entry-top h3{margin:0 0 5px;color:#12324a;font-size:17px}
.zn-draft-editor .zn-buyer-entry-top p{margin:0;color:#648292;font-size:12px;line-height:1.6}
.zn-draft-editor .zn-buyer-entry-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:end}
.zn-draft-editor .zn-buyer-entry-actions .btn{white-space:nowrap}
.zn-draft-editor .zn-buyer-fields{gap:16px 20px}
.zn-draft-editor .zn-buyer-selected{display:flex;align-items:center;gap:6px;background:#e8f8f4;color:#086c65;border:1px solid #c6eae1;border-radius:9px;padding:10px 12px;margin-bottom:17px;font-size:12px}
.zn-draft-editor .zn-buyer-selected[hidden],.zn-draft-editor .zn-buyer-save-choice[hidden]{display:none!important}
.zn-draft-editor .zn-buyer-selected .zi{width:17px;height:17px}
.zn-draft-editor .zn-buyer-save-choice{margin:19px 0 10px;display:flex!important;flex-direction:row!important;align-items:flex-start;gap:12px;background:#f0f9f9;border:1px solid #d2eae8;padding:15px;border-radius:11px;cursor:pointer}
.zn-draft-editor .zn-buyer-save-choice input[type=checkbox]{min-height:18px!important;height:18px!important;width:18px!important;margin:1px 0 0!important;flex-shrink:0;accent-color:#08a99e}
.zn-draft-editor .zn-buyer-save-choice span{display:flex;flex-direction:column;gap:3px}
.zn-draft-editor .zn-buyer-save-choice strong{color:#153549;font-size:13px}
.zn-draft-editor .zn-buyer-footnote{margin:10px 0 0;color:#758d9b;font-size:11px;line-height:1.5}
.zn-draft-editor .zn-buyer-dialog{position:fixed;max-width:min(620px,calc(100vw - 30px));width:620px;max-height:min(85vh,730px);padding:22px;border:1px solid #dae8eb;border-radius:17px;box-shadow:0 24px 95px #0c2a4560;color:#18384e;background:#fff}
.zn-draft-editor .zn-buyer-dialog::backdrop{background:#081b30ac;backdrop-filter:blur(2px)}
.zn-draft-editor .zn-buyer-dialog:not([open]){display:none}
.zn-draft-editor .zn-buyer-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px}
.zn-draft-editor .zn-buyer-dialog-head h2{margin:0 0 4px;color:#12354a;font-size:21px}
.zn-draft-editor .zn-buyer-dialog-head p{margin:0;font-size:12px;color:#6a8190}
.zn-draft-editor .zn-buyer-dialog-close{font-size:25px;background:#f0f5f7;border:0;border-radius:9px;width:34px;height:34px;cursor:pointer;color:#44616f}
.zn-draft-editor .zn-buyer-partner-list{display:flex;flex-direction:column;gap:6px;overflow:auto;max-height:45vh;margin:14px 0}
.zn-draft-editor .zn-buyer-partner-row{padding:11px 13px;border:1px solid #e4edef;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:#fff;color:#153549;cursor:pointer;text-align:left}
.zn-draft-editor .zn-buyer-partner-row:hover,.zn-draft-editor .zn-buyer-partner-row:focus{border-color:#05aea5;background:#f2fbfa}
.zn-draft-editor .zn-buyer-partner-row strong{font-size:13px}
.zn-draft-editor .zn-buyer-partner-row span{font-size:11px;color:#74909f}
.zn-draft-editor .zn-buyer-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#77909f;font-size:12px}
.zn-draft-editor .zn-buyer-empty{font-size:13px;color:#7b8f9b}
@media(max-width:720px){.zn-draft-editor .zn-buyer-entry{padding:14px}.zn-draft-editor .zn-buyer-entry-top{flex-direction:column}.zn-draft-editor .zn-buyer-entry-actions{width:100%;justify-content:flex-start}.zn-draft-editor .zn-buyer-dialog{padding:14px}}
