/* Konektim Booking 1.6 · admin panel and mailer. Black-and-white app language. */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.v16-admin .sidebar nav .nav-group{display:block;margin:16px 13px 4px;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a909a}
.v16-admin .sidebar nav .nav-group:first-child{margin-top:4px}
.v16-admin .sidebar nav a{min-height:38px}

/* Shared bits */
.v16-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 16px}
.v16-search{flex:1 1 260px}.v16-search input{width:100%;min-height:42px;border:1px solid #dfe3e8;border-radius:10px;padding:0 14px;font:inherit;background:#fff}
.segmented{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:11px;background:#eef0f3}
.segmented .btn{min-height:34px;padding:0 12px;border:0;background:transparent;box-shadow:none;font-weight:600;color:#4c535d}
.segmented .btn.active{background:#fff;color:#16181c;box-shadow:0 1px 3px #1b1e2414}
.segmented .btn small{margin-left:4px;color:#8a909a;font-weight:500}
.segmented label{position:relative;display:inline-flex}.segmented label input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.segmented label span{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border-radius:8px;font-size:12.5px;font-weight:600;color:#4c535d}
.segmented label input:checked+span{background:#fff;color:#16181c;box-shadow:0 1px 3px #1b1e2414}
.segmented label input:focus-visible+span{outline:2px solid #16181c;outline-offset:1px}
.v16-state{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#4c535d;white-space:nowrap}
.v16-state::before{content:"";width:7px;height:7px;border-radius:50%;background:#b5bac2}
.v16-state.ok::before{background:#16181c}.v16-state.off{color:#8d4a40}.v16-state.off::before{background:transparent;border:1.5px solid #a14f43}
.v16-row-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.v16-row-actions .btn{min-height:34px;padding:0 11px;font-size:12.5px}
.btn.danger-text{color:#a14f43}.btn.danger-text:hover{background:#a14f430f}
.btn.danger{background:#a14f43;border-color:#a14f43;color:#fff}
.v16-break{overflow-wrap:anywhere}.v16-err{color:#a14f43}
.v16-note{margin-top:6px;font-size:12.5px;color:#69707b}.v16-note a{color:inherit}
td small,td>small{display:block;color:#7c838d;font-size:11.5px;margin-top:2px}
.v16-section{margin-top:28px}.v16-section>.row{margin-bottom:12px;flex-wrap:wrap;gap:10px}
#dialog.v16-wide{width:min(760px,calc(100vw - 24px))}

/* Companies */
.v16-companies td{vertical-align:middle}
.v16-danger-box{border:1px solid #e9c9c3;background:#fbf4f2;border-radius:12px;padding:14px 16px}.v16-danger-box p{margin:6px 0 0;color:#5d4440}
.v16-tristate-list{display:grid;gap:2px;max-height:56vh;overflow:auto;padding-right:4px}
.v16-tristate{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-bottom:1px solid #eef0f3;padding:10px 0;margin:0}
.v16-tristate legend{float:left;font-weight:600;font-size:13.5px;padding:0}.v16-tristate legend small{display:block;font-weight:400;color:#7c838d;font-size:11.5px}

/* Plans */
.v16-plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:22px}
.v16-plan{position:relative;display:flex;flex-direction:column;gap:6px}.v16-plan .btn{margin-top:auto;align-self:flex-start}
.v16-plan h2{margin:0}.v16-plan p{margin:0;color:#69707b;font-size:12.5px}.v16-plan .plan-list{margin:8px 0 12px;font-size:12.5px}
.v16-plan-rank{position:absolute;top:16px;right:16px;width:24px;height:24px;border-radius:50%;border:1px solid #dfe3e8;display:grid;place-items:center;font-size:11px;font-weight:700;color:#69707b}
.v16-matrix-card h2{margin-top:0}
.v16-matrix th,.v16-matrix td{text-align:center}.v16-matrix th[scope=row],.v16-matrix thead th:first-child{text-align:left;font-weight:500}
.v16-matrix thead th{position:sticky;top:0;background:#fff}
.v16-matrix th[scope=row]{text-transform:none;letter-spacing:0;font-size:13px;color:#30353d;font-weight:500}
.v16-matrix-num td{font-weight:700}.v16-matrix tbody tr:hover{background:#f7f8fa}
.v16-cell-switch{display:inline-flex;vertical-align:middle}

/* Log */
.v16-log{list-style:none;margin:0;padding:0;border:1px solid #e6e9ed;border-radius:14px;background:#fff;overflow:hidden}
.v16-log li{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:12px 18px;border-bottom:1px solid #eef0f3}.v16-log li:last-child{border:0}
.v16-log time{font-variant-numeric:tabular-nums;color:#69707b;font-size:12.5px;padding-top:1px}
.v16-log strong{font-weight:600}.v16-log small{display:block;color:#7c838d;margin-top:2px}

/* E-mail switch groups */
.v16-mail-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;align-items:start}
.v16-mail-groups .card h2{margin:0 0 6px;font-size:15px}
.v16-mail-groups .mail-toggle{padding:11px 0;border-bottom:1px solid #eef0f3}.v16-mail-groups .mail-toggle:last-child{border:0}
.v16-locked .tag{align-self:center}
.v16-sub{border-left:2px solid #eef0f3;margin-left:4px;padding-left:12px;transition:opacity .2s}
.v16-sub[data-off]{opacity:.45}
.v16-sticky-save{grid-column:1/-1;position:sticky;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 18px;border:1px solid #e3e6ea;border-radius:14px;background:#ffffffee;backdrop-filter:blur(12px);box-shadow:0 8px 26px #1b1e2412}
.v16-mail-groups>.error{grid-column:1/-1;margin:0}
.v16-preview-frame{width:100%;height:min(70vh,720px);border:1px solid #e3e6ea;border-radius:12px;background:#f4f2ee;transition:width .25s}
.v16-preview-frame.mobile{width:390px;max-width:100%;margin:0 auto;display:block}

/* Mailer list */
.v16-empty-cta{text-align:center;padding:42px 20px}.v16-empty-cta p{max-width:460px;margin:8px auto 18px;color:#69707b}
.v16-templates{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.v16-template{position:relative}.v16-template input{position:absolute;opacity:0}
.v16-template>span{display:flex;flex-direction:column;gap:3px;height:100%;padding:12px;border:1.5px solid #e3e6ea;border-radius:12px;cursor:pointer}
.v16-template input:checked+span{border-color:#16181c;box-shadow:0 0 0 3px #16181c14}.v16-template input:focus-visible+span{outline:2px solid #16181c;outline-offset:2px}
.v16-template small{color:#7c838d;font-size:11.5px}
.v16-template-thumb{display:flex;flex-direction:column;gap:4px;height:74px;padding:9px;margin-bottom:6px;border-radius:8px;background:#f4f2ee}
.v16-template-thumb i{display:block;border-radius:2px;background:#cfd2d7}
.t-heading{height:8px;width:70%;background:#16181c!important}.t-text{height:12px}.t-button{height:9px;width:38%;background:#16181c!important;border-radius:3px!important}.t-image{height:18px}.t-quote{height:9px;border-left:3px solid #16181c}.t-divider{height:1px}.t-spacer{height:4px;background:transparent!important}
.v16-chips{display:flex;flex-wrap:wrap;gap:6px;border:0;padding:0;margin:0}.v16-chips legend{width:100%;font-weight:600;margin-bottom:6px;padding:0}
.v16-chips label{position:relative}.v16-chips input{position:absolute;opacity:0}
.v16-chips span{display:inline-flex;min-height:34px;align-items:center;padding:0 13px;border:1px solid #dfe3e8;border-radius:999px;font-size:12.5px;cursor:pointer}
.v16-chips input:checked+span{background:#16181c;border-color:#16181c;color:#fff}.v16-chips input:focus-visible+span{outline:2px solid #16181c;outline-offset:2px}

/* Editor */
.v16-editor-route .content{padding:0;max-width:none}
.ed{display:flex;flex-direction:column;min-height:calc(100dvh - 58px)}
.ed-bar{position:sticky;top:57px;z-index:5;display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid #e6e9ed;background:#fffffff2;backdrop-filter:blur(12px)}
.ed-name{flex:1;min-width:120px}.ed-name input{width:100%;border:1px solid transparent;border-radius:8px;padding:8px 10px;font:600 16px inherit;background:transparent}
.ed-name input:hover{border-color:#e3e6ea}.ed-name input:focus{border-color:#16181c;outline:0;background:#fff}
#ed-saved{font-size:12px;white-space:nowrap}
.ed-meta{display:grid;grid-template-columns:1.3fr 1.3fr 1fr;gap:12px;padding:14px 18px;border-bottom:1px solid #eef0f3;background:#fff}
.ed-meta .field{margin:0}.ed-audience{width:100%;justify-content:flex-start;text-align:left;white-space:normal;min-height:42px;font-weight:500}
.ed-grid{flex:1;display:grid;grid-template-columns:230px minmax(0,1fr) 300px;min-height:0}
.ed-left,.ed-right{padding:16px;background:#fff;overflow:auto;max-height:calc(100dvh - 180px);position:sticky;top:120px}
.ed-left{border-right:1px solid #eef0f3}.ed-right{border-left:1px solid #eef0f3}
.ed-left>.segmented{width:100%;margin-bottom:14px}.ed-left>.segmented .btn{flex:1}
.ed-palette{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ed-pal{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 6px;border:1px solid #e3e6ea;border-radius:12px;background:#fff;font:600 12px inherit;color:#30353d;cursor:grab;transition:border-color .15s,transform .15s}
.ed-pal svg{width:22px;height:22px}.ed-pal:hover{border-color:#16181c}.ed-pal:active{cursor:grabbing;transform:scale(.97)}
.ed-tip{font-size:12px;margin-top:14px}
.ed-stage{padding:18px;background:#eceae5;min-width:0}
.ed-view{display:flex;width:max-content;margin:0 auto 14px;background:#e0ddd6}
.ed-paper{background:var(--eb-bg);border-radius:14px;padding:28px 14px;min-height:100%}
.ed-card{max-width:600px;margin:0 auto;background:var(--eb-card);border-radius:var(--eb-radius);color:var(--eb-text);font-family:var(--eb-font);transition:max-width .25s;box-shadow:0 1px 2px #0000000a}
.ed-card.mobile{max-width:375px}
.ed-logo{display:flex;align-items:center;gap:10px;padding:26px 30px 6px;font-family:Arial,Helvetica,sans-serif}
.ed-canvas{min-height:120px;padding:6px 0}
.ed-block{position:relative;padding:6px 30px;outline:1.5px solid transparent;outline-offset:-1.5px;cursor:pointer;transition:outline-color .12s}
.ed-block:hover{outline-color:#16181c33}.ed-block.selected{outline-color:#16181c}
.ed-block:focus-visible{outline:2px solid #16181c}
.ed-block.dragging{opacity:.35}
.ed-tools{position:absolute;right:6px;top:-15px;z-index:2;display:none;align-items:center;gap:2px;padding:2px 4px;border-radius:8px;background:#16181c;color:#fff;font:600 11px "Segoe UI",system-ui,sans-serif}
.ed-block:hover .ed-tools,.ed-block.selected .ed-tools,.ed-block:focus-within .ed-tools{display:flex}
.ed-tools .btn{min-height:24px;min-width:24px;padding:0 5px;border:0;background:transparent;color:#fff;font-size:12px;box-shadow:none}
.ed-tools .btn:hover{background:#ffffff26}.ed-tools .btn:disabled{opacity:.35}
.ed-handle{cursor:grab;padding:0 4px;font-size:13px}.ed-type{padding:0 6px 0 2px;opacity:.8}
.ed-drop{height:3px;margin:-1.5px 24px;border-radius:2px;background:#16181c;box-shadow:0 0 0 3px #16181c1f}
.ed-empty{margin:20px 30px;padding:40px 16px;border:1.5px dashed #c9ccd1;border-radius:12px;text-align:center;color:#7c838d;font-family:"Segoe UI",system-ui,sans-serif}
.ed-footer{padding:22px 30px 28px;font:12px/1.7 Arial,Helvetica,sans-serif;color:#8a8f98}
.eb-h{margin:6px 0;line-height:1.2;font-weight:700;color:var(--eb-text);font-family:var(--eb-font);letter-spacing:0}
.eb-xl{font-size:34px}.eb-l{font-size:26px}.eb-m{font-size:20px}
.eb-text{font-size:16px;line-height:1.65}.eb-text a,.eb-quote a,.eb-h a{color:var(--eb-accent);text-decoration:underline}
.eb-btn{display:inline-block;margin:10px 0;padding:14px 26px;color:#fff;font:bold 16px Arial,Helvetica,sans-serif}
.ed-body img{display:inline-block;max-width:100%;height:auto;vertical-align:top}
.eb-img-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:140px;border:1.5px dashed #c9ccd1;border-radius:10px;color:#7c838d;font:13px "Segoe UI",system-ui,sans-serif;text-align:center;padding:12px;overflow-wrap:anywhere}
.eb-img-empty svg{width:28px;height:28px}
.eb-quote{margin:4px 0;padding:14px 18px;border-left:4px solid var(--eb-accent);background:var(--eb-bg);font-size:16px;line-height:1.6;border-radius:0 10px 10px 0}
.eb-hr{border:0;border-top:1px solid #e3e1dc;margin:12px 0}
.eb-spacer{background:repeating-linear-gradient(45deg,transparent 0 6px,#16181c08 6px 12px)}
.eb-ph{color:#b0b4ba}
.ed-right h3{margin:4px 0 12px;font-size:14px}
.ed-right .field{margin:0}.ed-right textarea{min-height:0;resize:vertical;font-family:inherit}
.ed-right output{font-weight:600}
.ed-align{border:0;padding:0;margin:0}.ed-align legend{font-weight:600;margin-bottom:6px;padding:0;font-size:13px}
.ed-help p,.ed-help dd{color:#69707b;font-size:12.5px;line-height:1.55}
.ed-help dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0 0 16px;font-size:12.5px}.ed-help dt{font-family:ui-monospace,Consolas,monospace;color:#30353d}.ed-help dd{margin:0}
.ed-help code{font-size:12px;background:#f1f2f4;padding:1px 5px;border-radius:5px}
.ed-images{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ed-images>button{aspect-ratio:1;padding:0;border:1.5px solid #e3e6ea;border-radius:8px;overflow:hidden;background:#f4f5f7;cursor:pointer}
.ed-images>button img{width:100%;height:100%;object-fit:cover;display:block}.ed-images>button.selected{border-color:#16181c;box-shadow:0 0 0 2px #16181c}
.ed-upload{position:relative;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1.5px dashed #c9ccd1;border-radius:8px;font-size:11.5px;font-weight:600;color:#4c535d;cursor:pointer}
.ed-upload svg{width:18px;height:18px}.ed-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.ed-upload:focus-within{outline:2px solid #16181c}
.ed-pv{display:flex;justify-content:center;width:max-content;margin:0 auto}

@media (max-width:1180px){.ed-grid{grid-template-columns:200px minmax(0,1fr)}.ed-right{grid-column:1/-1;position:static;max-height:none;border-left:0;border-top:1px solid #eef0f3}}
@media (max-width:860px){
 .ed-meta{grid-template-columns:1fr}.ed-grid{grid-template-columns:1fr}.ed-left{position:static;max-height:none;border-right:0;border-bottom:1px solid #eef0f3}
 .ed-palette{grid-template-columns:repeat(4,1fr)}.ed-pal{padding:10px 4px}
 .ed-bar{flex-wrap:wrap;top:56px}.ed-bar .actions{width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.ed-bar .actions .btn{padding:0 6px;font-size:12.5px}
 .ed-stage{padding:10px}.ed-paper{padding:14px 6px}.ed-block{padding:6px 18px}.ed-logo,.ed-footer{padding-left:18px;padding-right:18px}
 .ed-tools{display:flex;position:static;width:max-content;margin:0 0 4px auto}
 .ed-block:not(.selected) .ed-tools{display:none}
 .v16-log li{grid-template-columns:1fr;gap:2px}
 .v16-sticky-save{flex-direction:column;align-items:stretch}
 .v16-tristate{flex-direction:column;align-items:flex-start}
 .v16-row-actions{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){.ed-card,.v16-preview-frame,.ed-pal,.v16-sub{transition:none}}
