
:root{
  --evt-primary:#0f766e;
  --evt-primary-dark:#115e59;
  --evt-primary-soft:#ecfdf5;
  --evt-sidebar:#102a26;
  --evt-sidebar-muted:#9fb7b2;
  --evt-bg:#f5f7f7;
  --evt-border:#e2e8e6;
  --evt-text:#18211f;
  --evt-muted:#6b7774;
  --evt-sidebar-width:272px;
  --evt-radius:14px;
}
*{box-sizing:border-box}
html,body{min-height:100%}
body{margin:0;background:var(--evt-bg);color:var(--evt-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}
a{color:#0b6f68}
a:hover{color:#095d57}
.btn-primary{--bs-btn-bg:var(--evt-primary);--bs-btn-border-color:var(--evt-primary);--bs-btn-hover-bg:var(--evt-primary-dark);--bs-btn-hover-border-color:var(--evt-primary-dark);--bs-btn-active-bg:var(--evt-primary-dark);--bs-btn-active-border-color:var(--evt-primary-dark)}
.form-control,.form-select,.input-group-text{border-color:#d8e0de}
.form-control:focus,.form-select:focus{border-color:#71b8b1;box-shadow:0 0 0 .2rem rgba(15,118,110,.12)}
.card{border:1px solid var(--evt-border);border-radius:var(--evt-radius);box-shadow:0 2px 8px rgba(16,42,38,.035)}
.card-header,.card-footer{background:#fff;border-color:var(--evt-border);padding:14px 18px}
.card-body{padding:18px}
.table>:not(caption)>*>*{padding:.8rem .9rem;border-bottom-color:#edf0ef}
.table thead th{white-space:nowrap;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#71807c;background:#fafbfb}
.table-hover>tbody>tr:hover>*{--bs-table-bg-state:#fbfdfc}
code{color:#0b726b}

.evt-shell{min-height:100vh}
.evt-sidebar{position:fixed;z-index:1035;left:0;top:0;bottom:0;width:var(--evt-sidebar-width);background:var(--evt-sidebar);color:#fff;flex-direction:column;padding:18px 14px}
.evt-main{min-height:100vh;margin-left:var(--evt-sidebar-width)}
.evt-topbar{min-height:60px;z-index:1020}
.evt-content{min-height:calc(100vh - 60px)}
.evt-brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;padding:4px 8px 18px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.08)}
.evt-brand:hover{color:#fff}
.evt-brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#fff;color:var(--evt-sidebar);font-size:18px;font-weight:900}
.evt-brand strong{display:block;font-size:18px;letter-spacing:-.03em;line-height:1}
.evt-brand small{display:block;color:var(--evt-sidebar-muted);font-size:11px;margin-top:3px}
.evt-brand-mobile{color:var(--evt-text);border:0;margin:0;padding:0}
.evt-brand-mobile:hover{color:var(--evt-text)}
.evt-brand-mobile .evt-brand-mark{background:var(--evt-sidebar);color:#fff}
.evt-brand-mobile small{color:var(--evt-muted)}
.evt-nav{padding:4px 0;overflow:auto}
.evt-nav-label{padding:18px 12px 6px;color:#6f918b;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.evt-nav-group{display:grid;gap:3px}
.evt-nav-link{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:10px;color:#c9d8d5;text-decoration:none;font-weight:600}
.evt-nav-link i{width:19px;text-align:center;font-size:16px;color:#9fb7b2}
.evt-nav-link:hover{color:#fff;background:rgba(255,255,255,.06)}
.evt-nav-link.active{color:#fff;background:var(--evt-primary)}
.evt-nav-link.active i{color:#fff}
.evt-sidebar-footer{margin-top:auto;padding:14px 10px 4px;color:#789791;font-size:10px;display:flex;align-items:center;gap:7px}
.evt-dot{width:4px;height:4px;border-radius:50%;background:#5d7f79}
.evt-offcanvas{width:280px!important}
.evt-offcanvas .evt-nav{padding:12px}
.evt-offcanvas .evt-nav-link{color:#344542}
.evt-offcanvas .evt-nav-link i{color:#607570}
.evt-offcanvas .evt-nav-link:hover{background:#eef4f2;color:#173a34}
.evt-offcanvas .evt-nav-link.active{background:var(--evt-primary);color:#fff}
.evt-offcanvas .evt-nav-label{color:#82928f}

.evt-page-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:22px}
.evt-page-header h1{font-size:30px;font-weight:800;letter-spacing:-.035em;margin:2px 0 5px}
.evt-page-kicker{font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:var(--evt-primary)}
.evt-page-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.evt-page-actions:empty{display:none}

.evt-kpi-card{color:inherit;transition:.18s ease}
.evt-kpi-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(19,52,46,.08);border-color:#cedbd8}
.evt-kpi-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:var(--evt-primary-soft);color:var(--evt-primary);font-size:18px;margin-bottom:14px}
.evt-kpi-label{color:var(--evt-muted);font-size:12px;font-weight:700}
.evt-kpi-value{font-size:30px;font-weight:850;letter-spacing:-.04em;line-height:1.15;margin-top:2px}
.evt-metric-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.evt-metric-strip>div{padding:12px;border-radius:10px;background:#f8faf9}
.evt-metric-strip span{display:block;color:var(--evt-muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.evt-metric-strip strong{display:block;font-size:20px;margin-top:3px}
.evt-mini-stat .card-body{display:flex;flex-direction:column;gap:2px}
.evt-mini-stat span{font-size:11px;color:var(--evt-muted)}
.evt-mini-stat strong{font-size:24px;letter-spacing:-.03em}
.evt-mini-stat small{color:#8a9693}

.eventree-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}
.eventree-stat-card{display:flex;flex-direction:column;padding:15px 17px;border:1px solid var(--evt-border);border-radius:12px;background:#fff;text-decoration:none;color:inherit;transition:.18s ease}
.eventree-stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(22,35,32,.07)}
.eventree-stat-card span{font-size:11px;color:var(--evt-muted)}
.eventree-stat-card strong{font-size:24px;line-height:1.1;margin-top:4px}
.eventree-business-table-card{overflow:hidden}
.eventree-business-main-cell{min-width:240px}
.eventree-business-name{font-size:14px;font-weight:800;text-decoration:none}
.eventree-business-slug,.eventree-business-contact{font-size:11px;color:#89938f;margin-top:2px}
.eventree-badge-wrap{display:flex;flex-wrap:wrap;gap:5px;max-width:360px}
.eventree-admin-badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:7px;background:#edf5f3;color:#35645d;font-size:10px;font-weight:700}
.eventree-admin-badge.is-derived:before{content:"●";font-size:7px;margin-right:5px;color:var(--evt-primary)}
.eventree-admin-badge.is-event{background:#f2eff9;color:#625586}
.eventree-admin-badge.is-muted{background:#f2f3f4;color:#6c757d}
.eventree-structure-pills{display:flex;flex-wrap:wrap;gap:6px;min-width:150px}
.eventree-structure-pills span{padding:5px 7px;border:1px solid #e2e6e9;border-radius:8px;background:#fff;font-size:10px;color:#657078}
.eventree-structure-pills strong{color:#20272d;font-size:12px}
.eventree-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.eventree-status.is-published{background:#e6f5ef;color:#157357}
.eventree-status.is-draft{background:#f4f0e8;color:#846a33}
.eventree-row-actions{display:flex;gap:5px;justify-content:flex-end}
.eventree-legacy-id{font-size:9px;color:#adb5bd;margin-top:5px}
.eventree-empty-state{display:flex;flex-direction:column;align-items:center;padding:42px 20px;color:#6c757d}
.eventree-empty-state strong{color:#2a3137;font-size:16px}
.eventree-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:20px 0 10px;color:#6c757d}

.eventree-detail-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:16px}
.eventree-detail-summary>div{padding:13px 14px;border:1px solid var(--evt-border);border-radius:11px;background:#fff}
.eventree-detail-summary span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#7b858d}
.eventree-detail-summary strong{display:block;margin-top:3px;font-size:18px}
.eventree-detail-tabs{display:flex;gap:4px;overflow:auto;margin:0 0 18px;padding:5px;background:#fff;border:1px solid var(--evt-border);border-radius:12px}
.eventree-detail-tabs a{display:flex;align-items:center;gap:6px;padding:9px 12px;border-radius:8px;text-decoration:none;color:#66717a;font-size:12px;font-weight:700;white-space:nowrap}
.eventree-detail-tabs a:hover{background:#f4f7f6;color:var(--evt-primary)}
.eventree-detail-tabs a.active{background:var(--evt-primary-soft);color:var(--evt-primary)}
.eventree-detail-tabs a span{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#fff;font-size:9px}
.eventree-dashboard-card{margin-bottom:16px}
.eventree-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--evt-border);border:1px solid var(--evt-border);border-radius:10px;overflow:hidden}
.eventree-overview-grid>div{padding:13px;background:#fff}
.eventree-overview-grid span,.eventree-sync-grid span{display:block;color:#7a858c;font-size:9px;text-transform:uppercase;letter-spacing:.05em}
.eventree-overview-grid strong,.eventree-sync-grid strong{display:block;margin-top:4px;font-size:13px}
.eventree-module-flow{display:flex;gap:7px;flex-wrap:wrap}
.eventree-module-flow span{padding:7px 10px;border-radius:999px;background:#f1f3f4;color:#939ba1;font-size:10px;font-weight:700}
.eventree-module-flow span.active{background:#e6f4f1;color:#197665}
.eventree-sync-state{padding:13px;border-radius:10px}
.eventree-sync-state strong,.eventree-sync-state span{display:block}
.eventree-sync-state.is-clean{background:#e8f5ef;color:#176f57}
.eventree-sync-state.is-dirty{background:#fff3d9;color:#896516}
.eventree-form-footer{position:sticky;bottom:12px;z-index:10;display:flex;align-items:center;justify-content:flex-end;gap:15px;margin-top:16px;padding:11px 14px;border:1px solid var(--evt-border);border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(20,32,30,.08)}
.eventree-classification-block{padding:12px 0}
.eventree-classification-block+.eventree-classification-block{border-top:1px solid #e4e8ea}
.eventree-classification-label{margin-bottom:9px;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7a858c}
.eventree-seo-preview{padding:16px;border:1px solid var(--evt-border);border-radius:12px;background:#fafbfb}
.eventree-seo-url{font-size:11px;color:#277b51}
.eventree-seo-title{margin:5px 0;font-size:18px;color:#2455a4}
.eventree-seo-description{max-width:650px;color:#59636c;font-size:12px;line-height:1.5}
.eventree-sync-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.eventree-sync-grid>div{padding:12px;border:1px solid #e3e7e9;border-radius:9px;background:#fafbfb}

.eventree-rich-editor{min-height:220px;background:#fff}
.eventree-rich-editor .ql-editor{min-height:200px;font-size:14px;line-height:1.6}
.evt-field-control{padding:12px;border:1px solid var(--evt-border);border-radius:10px;background:#fff}
.evt-choice{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--evt-border);border-radius:10px;background:#fff;cursor:pointer}
.evt-choice:hover{background:#f8fbfa}
.evt-check-list{display:grid;gap:9px}
.evt-sticky-save{position:sticky;top:78px}
.evt-selector-list{max-height:590px;overflow:auto;border:1px solid var(--evt-border);border-radius:10px}
.field-selector-row{display:flex;gap:9px;padding:9px 11px;margin:0;border-bottom:1px solid #eef1f0}
.field-selector-row:last-child{border-bottom:0}
.field-selector-row small{display:block;color:#88938f;font-size:10px}

.evt-media-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.evt-media-card{border:1px solid var(--evt-border);border-radius:12px;overflow:hidden;background:#fff}
.evt-media-thumb{aspect-ratio:1.45/1;background:#edf1f0}
.evt-media-thumb img{width:100%;height:100%;object-fit:cover}
.evt-media-body{display:flex;flex-direction:column;gap:4px;padding:10px}
.evt-media-body strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.evt-media-body small{color:#87918e;font-size:9px}
.evt-media-body .badge{align-self:flex-start;font-size:9px}
.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.media-tile{position:relative;border:1px solid var(--evt-border);border-radius:12px;overflow:hidden;background:#fff}
.media-tile img{width:100%;aspect-ratio:1.3/1;object-fit:cover}
.media-tile-meta{padding:8px}.media-tile-meta small{display:block;color:#6c757d}
.media-delete{position:absolute;top:8px;right:8px}

.evt-catalog-root{display:flex;align-items:center;justify-content:space-between;gap:12px}
.evt-flow{display:flex;align-items:center;justify-content:space-between;gap:8px}
.evt-flow>div{display:flex;align-items:center;gap:8px;min-width:0}
.evt-flow>div>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--evt-primary-soft);color:var(--evt-primary);font-weight:800}
.evt-flow p{margin:0}.evt-flow p strong,.evt-flow p small{display:block}.evt-flow p small{color:var(--evt-muted);font-size:9px}

.evt-login-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(160deg,#edf5f2,#f8faf9)}
.evt-login-wrap{width:min(430px,calc(100% - 32px))}
.evt-login-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px}
.evt-login-brand strong{font-size:22px;letter-spacing:-.04em}.evt-login-brand span:last-child{display:block;color:#7b8784;font-size:12px}
.evt-login-card{box-shadow:0 18px 55px rgba(16,42,38,.10)}

@media(max-width:1399.98px){
  .evt-media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .evt-metric-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1199.98px){
  .eventree-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .eventree-detail-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:991.98px){
  .evt-main{margin-left:0}
  .evt-page-header{align-items:flex-start}
  .evt-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767.98px){
  .evt-page-header{flex-direction:column}
  .evt-page-actions{justify-content:flex-start}
  .eventree-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eventree-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eventree-overview-grid,.eventree-sync-grid{grid-template-columns:1fr}
  .evt-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .evt-flow{align-items:flex-start;flex-direction:column}
  .evt-flow>i{transform:rotate(90deg);margin-left:10px}
}
\n\n/* v1.3.0 AI Matching */\n.evt-secret-status{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--evt-border);border-radius:10px;background:#fff8e8}.evt-secret-status.is-set{background:#ebf8f1}.evt-secret-status span{font-size:11px;color:var(--evt-muted)}.evt-ai-run-meta{display:flex;flex-wrap:wrap;gap:8px}.evt-ai-run-meta>span{padding:7px 9px;border-radius:9px;background:#f4f7f6;font-size:11px}.evt-ai-match-list{display:grid;gap:10px}.evt-ai-match{display:flex;gap:12px;padding:13px;border:1px solid var(--evt-border);border-radius:12px;background:#fff}.evt-ai-rank{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:10px;background:var(--evt-primary-soft);color:var(--evt-primary);font-weight:900}.evt-ai-score{display:inline-flex;padding:5px 8px;border-radius:999px;background:#e8f5ef;color:#176f57;font-size:12px;font-weight:850}\n

/* ==========================================================
   Core v1.6.1 — Dynamic Listing Editor
   ========================================================== */
.eventree-field-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  height:100%;
  min-width:0;
  padding:14px;
  border:1px solid var(--evt-border);
  border-radius:12px;
  background:#fff;
  overflow:visible;
}
.eventree-field-main{
  min-width:0;
}
.eventree-field-switch{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0;
}
.eventree-field-switch span{
  min-width:0;
  overflow-wrap:anywhere;
}
.eventree-commercial-panel{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  display:flex;
  flex-direction:column;
  gap:8px;
  width:100%;
  min-width:0;
  margin:0;
  padding:12px;
  border:1px solid #dce7e3;
  border-radius:10px;
  background:#f7faf9;
  box-shadow:none!important;
}
.eventree-commercial-panel[hidden],
.eventree-commercial-price[hidden]{
  display:none!important;
}
.eventree-commercial-title{
  font-size:12px;
  font-weight:700;
  color:#26332f;
}
.eventree-commercial-price{
  margin-top:0;
}
.eventree-empty-schema{
  padding:20px;
  border:1px dashed var(--evt-border);
  border-radius:10px;
  color:#6f7b77;
  background:#fafcfb;
  text-align:center;
}
.eventree-schema-loading{
  min-height:90px;
  opacity:.52;
  pointer-events:none;
  transition:opacity .15s ease;
}
#listing-fields-card .card-body{
  overflow:visible;
}
#listing-fields-card .row{
  overflow:visible;
}
#listing-fields-card .form-select,
#listing-fields-card .form-control{
  max-width:100%;
}
.eventree-rich-editor{
  min-height:260px;
}
.eventree-rich-editor .ql-editor{
  min-height:230px;
}


/* ==========================================================
   Core v1.6.2 — Listing editor UI polish
   ========================================================== */
#listing-fields-container .eventree-field-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
  min-width:0;
  height:100%;
  padding:16px!important;
  border:1px solid #dfe5e2!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none;
  overflow:hidden;
}
#listing-fields-container .eventree-field-main{
  width:100%;
  min-width:0;
}
#listing-fields-container .eventree-field-switch{
  display:flex;
  align-items:center;
  width:100%;
  min-height:42px;
}
#listing-fields-container .eventree-commercial-panel{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  display:flex;
  flex-direction:column;
  gap:10px;
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:12px!important;
  border:1px solid #d9e0dd!important;
  border-radius:9px!important;
  background:#f7f9f8!important;
  box-shadow:none!important;
  overflow:hidden;
}
#listing-fields-container .eventree-commercial-panel[hidden],
#listing-fields-container .eventree-commercial-price[hidden]{
  display:none!important;
}
#listing-fields-container .eventree-commercial-title{
  margin:0;
  color:#202926;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
}
#listing-fields-container .eventree-commercial-panel .form-control,
#listing-fields-container .eventree-commercial-panel .form-select{
  width:100%;
  max-width:100%;
  min-width:0;
}
#listing-fields-container .eventree-commercial-price{
  width:100%;
  margin:0;
}
#listing-fields-container .eventree-commercial-price > [class*="col-"]{
  min-width:0;
}
.eventree-rich-editor-shell{
  position:relative;
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.eventree-rich-editor-shell .ql-toolbar.ql-snow{
  position:relative;
  z-index:2;
  width:100%;
  min-height:50px;
  border:1px solid #ced4da;
  border-radius:10px 10px 0 0;
  background:#fff;
}
.eventree-rich-editor-shell .eventree-rich-editor.ql-container.ql-snow{
  position:relative;
  display:block;
  width:100%;
  height:320px!important;
  min-height:320px!important;
  max-height:320px!important;
  border:1px solid #ced4da;
  border-top:0;
  border-radius:0 0 10px 10px;
  background:#fff;
  overflow:hidden;
}
.eventree-rich-editor-shell .eventree-rich-editor .ql-editor{
  display:block;
  width:100%;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  padding:16px 18px;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  font-size:14px;
  line-height:1.6;
  overscroll-behavior:contain;
}
.eventree-rich-editor-shell .ql-editor p:last-child{
  margin-bottom:0;
}
@media(max-width:767.98px){
  .eventree-rich-editor-shell .eventree-rich-editor.ql-container.ql-snow{
    height:280px!important;
    min-height:280px!important;
    max-height:280px!important;
  }
}


/* ==========================================================
   Core v1.7.0 — Listing Media Manager
   ========================================================== */
#listing-media-card{
  overflow:visible;
}
.eventree-listing-media-manager{
  min-width:0;
}
.eventree-media-upload-zone{
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  min-height:88px;
  padding:16px 18px;
  border:1.5px dashed #b8c7c2;
  border-radius:12px;
  background:#f8fbfa;
  cursor:pointer;
  transition:
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease;
}
.eventree-media-upload-zone:hover,
.eventree-media-upload-zone:focus-visible,
.eventree-media-upload-zone.is-dragging{
  border-color:var(--evt-primary);
  background:#f1faf7;
  box-shadow:0 0 0 3px rgba(12,139,116,.08);
  outline:none;
}
.eventree-media-upload-icon{
  display:grid;
  place-items:center;
  flex:0 0 46px;
  width:46px;
  height:46px;
  border-radius:12px;
  background:#e8f5f1;
  color:var(--evt-primary);
  font-size:24px;
}
.eventree-media-manager-status{
  min-height:20px;
  font-size:12px;
  font-weight:600;
}
.eventree-media-manager-status.is-working{
  color:#6c757d;
}
.eventree-media-manager-status.is-success{
  color:#08785f;
}
.eventree-media-manager-status.is-error{
  color:#b42318;
}
.eventree-media-editor-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(155px,1fr));
  gap:12px;
  width:100%;
}
.eventree-media-editor-tile{
  position:relative;
  min-width:0;
  border:1px solid #dfe5e2;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
  cursor:grab;
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    opacity .12s ease;
}
.eventree-media-editor-tile:hover{
  box-shadow:0 8px 24px rgba(24,43,37,.08);
}
.eventree-media-editor-tile.is-dragging{
  opacity:.45;
  transform:scale(.98);
  cursor:grabbing;
}
.eventree-media-editor-image{
  position:relative;
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#eef2f0;
}
.eventree-media-editor-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.eventree-media-cover-badge{
  position:absolute;
  left:8px;
  top:8px;
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(13,116,92,.92);
  color:#fff;
  font-size:10px;
  font-weight:800;
  line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.16);
}
.eventree-media-drag-handle{
  position:absolute;
  right:8px;
  top:8px;
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:8px;
  background:rgba(20,28,26,.68);
  color:#fff;
  font-size:16px;
  backdrop-filter:blur(4px);
}
.eventree-media-delete{
  position:absolute;
  right:8px;
  bottom:8px;
  width:32px;
  height:32px;
  padding:0;
  border-radius:9px;
  opacity:0;
  transform:translateY(3px);
  transition:opacity .12s ease,transform .12s ease;
}
.eventree-media-editor-tile:hover .eventree-media-delete,
.eventree-media-editor-tile:focus-within .eventree-media-delete{
  opacity:1;
  transform:none;
}
.eventree-media-editor-meta{
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:space-between;
  min-width:0;
  padding:9px 10px;
}
.eventree-media-editor-meta span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#2d3835;
  font-size:11px;
  font-weight:650;
}
.eventree-media-editor-meta small{
  flex:0 0 auto;
  color:#8a9692;
  font-size:10px;
}
.eventree-media-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:145px;
  padding:24px;
  border:1px dashed #ced8d4;
  border-radius:12px;
  background:#fafcfb;
  color:#72807b;
  text-align:center;
}
.eventree-media-empty i{
  margin-bottom:3px;
  color:#9aa6a2;
  font-size:30px;
}
.eventree-media-empty strong{
  color:#3d4945;
}
.eventree-media-empty span{
  max-width:520px;
  font-size:12px;
}

@media(max-width:575.98px){
  .eventree-media-upload-zone{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .eventree-media-upload-zone .btn{
    width:100%;
    margin-left:0!important;
  }
  .eventree-media-editor-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .eventree-media-delete{
    opacity:1;
    transform:none;
  }
}
\n/* v1.8.0 supplier offers + field icons */\n.evt-icon-picker{display:flex;align-items:center;gap:10px}.evt-icon-preview{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid #dce4e1;border-radius:10px;background:#f8faf9;color:#08785f}.evt-icon-preview svg,.evt-field-list-icon,.evt-feature-icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor}.evt-field-list-icon{width:22px;height:22px;margin:auto;color:#08785f}.evt-feature-icon{width:28px;height:28px;color:#08785f}.evt-offer-file-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:10px;background:#f2f6f4;color:#08785f;font-size:22px}.min-width-0{min-width:0}\n

/* ==========================================================
   Portal v1.8.2 — Angajat Viewer / read-only operational mode
   ========================================================== */
.evt-readonly .evt-readonly-banner{
  border-color:#b8d9e8;
  background:#f1f9fc;
}
.evt-readonly .evt-content form[method="post"] button[type="submit"],
.evt-readonly .evt-content form[method="post"] button:not([type]),
.evt-readonly .evt-content form[method="post"] input[type="submit"]{
  display:none!important;
}
.evt-readonly .evt-content a[href="/businesses/new"],
.evt-readonly .evt-content a[href="/listings/new"],
.evt-readonly .evt-content [data-media-upload-zone],
.evt-readonly .evt-content [data-media-delete],
.evt-readonly .evt-content .eventree-media-delete,
.evt-readonly .evt-content .eventree-media-drag-handle{
  display:none!important;
}
.evt-readonly .evt-content [data-media-id]{
  cursor:default!important;
}
.evt-readonly .evt-viewer-readonly-control,
.evt-readonly textarea[readonly],
.evt-readonly input[readonly]{
  background:#f7f9f8!important;
  color:#3a4541!important;
  cursor:default;
}
.evt-readonly select.evt-viewer-inspect-select{
  background-color:#fff;
  cursor:pointer;
}
.evt-readonly select.evt-viewer-inspect-select:focus{
  border-color:#86b7fe;
  box-shadow:0 0 0 .25rem rgba(13,110,253,.10);
}
.evt-readonly .form-check-input:disabled{
  opacity:.75;
}
.evt-readonly .ql-container{
  background:#f9fbfa;
}
.evt-readonly .ql-editor{
  cursor:default;
}
.evt-readonly .ql-toolbar{
  display:none!important;
}


/* ==========================================================
   Portal v1.8.3 — Angajat Viewer Simulation Mode
   ========================================================== */
.evt-readonly .evt-readonly-banner{
  border-color:#9fd2e6;
  background:#f0f9fd;
}

.evt-readonly .evt-viewer-readonly-control,
.evt-readonly textarea,
.evt-readonly input:not([type="file"]):not([type="submit"]),
.evt-readonly select{
  background:#fff!important;
  color:inherit!important;
  cursor:auto!important;
}

/* Viewer may interact with normal editor controls locally. */
.evt-readonly .form-check-input:not(:disabled){
  opacity:1;
  cursor:pointer;
}
.evt-readonly select{
  cursor:pointer!important;
}

/* Rich text remains fully interactive locally in simulation mode. */
.evt-readonly .ql-container{
  background:#fff;
}
.evt-readonly .ql-editor{
  cursor:text;
}
.evt-readonly .ql-toolbar{
  display:block!important;
}

/* Write operations still stay out of reach. */
.evt-readonly .evt-content form[method="post"] button[type="submit"],
.evt-readonly .evt-content form[method="post"] input[type="submit"],
.evt-readonly .evt-content [data-media-upload-zone],
.evt-readonly .evt-content [data-media-delete],
.evt-readonly .evt-content .eventree-media-delete,
.evt-readonly .evt-content .eventree-media-drag-handle{
  display:none!important;
}

/* No upload or persisted media reordering in simulation mode. */
.evt-readonly .evt-content input[type="file"]{
  display:none!important;
}
.evt-readonly .evt-content [data-media-id]{
  cursor:default!important;
}

.evt-simulation-pulse{
  animation:evtSimulationPulse .55s ease;
}
@keyframes evtSimulationPulse{
  0%{transform:scale(1)}
  35%{transform:scale(1.008);box-shadow:0 0 0 4px rgba(13,110,253,.08)}
  100%{transform:scale(1);box-shadow:none}
}


/* ==========================================================
   Portal v1.9.0 — Business offer defaults + Listing overrides
   ========================================================== */
.evt-offer-field-card,
.evt-offer-override-card{
  border:1px solid #dfe6e3;
  border-radius:12px;
  padding:14px;
  background:#fff;
}
.evt-offer-override-card{
  transition:border-color .15s ease,box-shadow .15s ease;
}
.evt-offer-override-card:has([data-offer-override-toggle]:checked){
  border-color:#e6c466;
  box-shadow:0 0 0 3px rgba(230,196,102,.10);
}
.evt-offer-field-icon{
  width:24px;
  height:24px;
  flex:0 0 24px;
  fill:none;
  stroke:currentColor;
  color:#08785f;
}
.evt-offer-price-badge{
  padding:.55rem .75rem;
  font-size:.78rem;
}
.eventree-offer-inheritance .form-check-label{
  font-size:.82rem;
}
#listing-offer-container.eventree-schema-loading{
  opacity:.55;
  pointer-events:none;
}


/* ==========================================================
   Portal v1.9.3 — Lead sales/recommendation UI
   ========================================================== */
.evt-lead-recommendation{
  align-items:flex-start;
}
.evt-lead-result-actions{
  min-width:170px;
}
.evt-lead-result-actions form{
  margin:0;
}
.evt-lead-result-actions .btn{
  white-space:nowrap;
}
.evt-lead-recommendation .badge{
  line-height:1.2;
}
@media (max-width: 767.98px){
  .evt-lead-result-actions{
    min-width:100%;
    text-align:left!important;
  }
  .evt-lead-result-actions .btn{
    width:100%;
  }
}
