/* ---- Override parent container constraints for the builder tab ---- */
/* Remove max-width and overflow restrictions that prevent full-width layout and sticky */
.ap773-main { overflow-y: visible !important; }
.ap773-main-inner { max-width: none !important; }

/* ---- Builder chrome styles ---- */
.ap773-builder-topbar{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.ap773-builder-topbar-right{display:flex;align-items:center;gap:10px;flex-shrink:0}
.ap773-toggle-row{display:flex;align-items:center;gap:10px}

.ap773-builder-opts{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:10px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:14px;transition:opacity .2s}

.ap773-builder-shell{display:grid;grid-template-columns:200px 1fr 280px;gap:0;border:1px solid #e2e8f0;border-radius:12px;min-height:600px;background:#fff;align-items:start}

/* -- Sidebar -- */
.ap773-bl-sidebar{background:#f8fafc;border-right:1px solid #e2e8f0;padding:10px 8px;overflow-y:auto;display:flex;flex-direction:column;gap:2px;position:sticky;top:32px;max-height:calc(100vh - 32px);align-self:start}
.ap773-bl-cat{font-size:10px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.07em;padding:8px 8px 4px}
.ap773-bl-sep{height:1px;background:#e2e8f0;margin:6px 4px}
.ap773-bl-block{display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:7px;border:1px solid transparent;background:#fff;cursor:grab;font-size:12px;color:#334155;transition:all .12s;user-select:none}
.ap773-bl-block:hover{border-color:#c7d2fe;background:#eef2ff}
.ap773-bl-block.is-dragging{opacity:.35}
.ap773-bl-icon{width:26px;height:26px;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ap773-bl-icon--heading{background:#eef2ff;color:#4f46e5}
.ap773-bl-icon--text{background:#f0fdf4;color:#16a34a}
.ap773-bl-icon--button{background:#fef9c3;color:#b45309}
.ap773-bl-icon--image{background:#ecfdf5;color:#059669}
.ap773-bl-icon--divider{background:#f1f5f9;color:#64748b}
.ap773-bl-icon--video{background:#fce7f3;color:#be185d}
.ap773-bl-icon--stats{background:#eff6ff;color:#1d4ed8}
.ap773-bl-icon--file{background:#fff7ed;color:#c2410c}
.ap773-bl-icon--form{background:#f5f3ff;color:#7c3aed}
.ap773-bl-icon--html{background:#f1f5f9;color:#475569}
.ap773-bl-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ap773-pro-badge-sm{font-size:9px;background:#f59e0b;color:#fff;padding:1px 5px;border-radius:4px;font-weight:600;flex-shrink:0}
.ap773-bl-add-section{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:9px;border:1px dashed #c7d2fe;border-radius:7px;background:transparent;color:#6366f1;font-size:12px;font-weight:500;cursor:pointer;transition:all .12s;font-family:inherit}
.ap773-bl-add-section:hover{background:#eef2ff}

/* -- Canvas -- */
.ap773-bl-canvas{background:#f1f5f9;padding:14px;display:flex;flex-direction:column;gap:12px;min-height:600px}
.ap773-canvas-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:12px;color:#94a3b8;font-size:13px;text-align:center;padding:40px 20px}

/* Sections on canvas */
.ap773-cs-section{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}
.ap773-cs-section.is-selected{border-color:#6366f1}
.ap773-cs-sec-header{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#f8fafc;border-bottom:1px solid #e2e8f0;cursor:default}
.ap773-cs-sec-title{font-size:12px;font-weight:500;color:#475569;flex:1}
.ap773-cs-sec-badge{font-size:10px;padding:2px 7px;border-radius:10px;background:#eef2ff;color:#4f46e5;font-weight:500}
.ap773-cs-sec-actions{display:flex;gap:3px;margin-left:auto}
.ap773-cs-grid{display:grid;gap:10px;padding:10px;width:100%}
.ap773-cs-grid--1{grid-template-columns:1fr}
.ap773-cs-grid--2{grid-template-columns:repeat(2,1fr)}
.ap773-cs-grid--3{grid-template-columns:repeat(3,1fr)}
.ap773-cs-col{display:flex;flex-direction:column;gap:8px;min-height:80px;border:1.5px dashed #e2e8f0;border-radius:7px;padding:4px;transition:all .15s;background:rgba(241,245,249,0.5)}
/* Adjacent text blocks merge into one card */
.ap773-cs-col .is-text-block{border-radius:8px}
.ap773-cs-col .is-text-block+.is-text-block{margin-top:-8px;border-top:1px dashed #dde4ef !important;border-radius:0 0 8px 8px}
.ap773-cs-col .is-text-block:has(+.is-text-block){border-radius:8px 8px 0 0}
.ap773-cs-col.drag-over{border-color:#818cf8;background:#eef2ff}

/* Blocks on canvas */
.ap773-cs-block{position:relative;border-radius:8px;overflow:hidden;cursor:default;transition:border-color .12s,background .12s;border:1px solid transparent;background:transparent}
.ap773-cs-block.is-text-block{background:#fff;border-color:#e2e8f0}
.ap773-cs-block.is-text-block:hover{border-color:#c7d2fe}
.ap773-cs-block.is-text-block.is-selected{border-color:#6366f1;background:#fafafe}
.ap773-cs-block.is-media-block{background:transparent;border-color:transparent}
.ap773-cs-block.is-media-block:hover{background:#f0f4ff;border-color:#c7d2fe}
.ap773-cs-block.is-media-block.is-selected{background:#fafafe;border-color:#6366f1}
.ap773-cs-block-header{display:flex;align-items:center;gap:7px;padding:7px 9px;border-bottom:1px solid #f1f5f9}
.ap773-cs-block-icon{width:20px;height:20px;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ap773-cs-block-label{font-size:11px;font-weight:500;color:#475569;flex:1}
.ap773-cs-block-actions{display:flex;gap:2px}
.ap773-cs-block-preview{padding:8px 9px;font-size:12px;color:#64748b;line-height:1.4;min-height:24px}
.ap773-cs-block-preview .prev-heading{font-weight:600;color:#0f172a;font-size:14px}
.ap773-cs-block-preview .prev-btn{display:inline-flex;padding:4px 12px;border-radius:5px;font-size:11px;font-weight:500}
.ap773-cs-block-preview .prev-btn-p{background:#6366f1;color:#fff}
.ap773-cs-block-preview .prev-btn-s{border:1px solid #6366f1;color:#6366f1}
.ap773-cs-block-preview .prev-video{background:#0f1117;border-radius:5px;padding:8px;color:#fff;font-size:11px;text-align:center}
.ap773-cs-block-preview .prev-divider{border-top:1px solid #e2e8f0;margin:4px 0}
.ap773-cs-block-preview .prev-stats{display:flex;gap:6px}
.ap773-cs-block-preview .prev-stat-chip{background:#eff6ff;border-radius:5px;padding:4px 8px;font-size:11px;color:#1d4ed8;font-weight:500}
.ap773-role-chip{font-size:10px;padding:1px 6px;border-radius:8px;background:#f0fdf4;color:#16a34a;font-weight:500}
.ap773-role-chip-all{background:#f0fdf4;color:#16a34a}
.ap773-role-chip-role{background:#eef2ff;color:#4f46e5}

/* Icon buttons (toolbar) */
.ap773-icon-btn{width:24px;height:24px;border-radius:5px;border:1px solid transparent;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#94a3b8;transition:all .12s;flex-shrink:0;padding:0}
.ap773-icon-btn:hover{background:#f1f5f9;color:#475569}
.ap773-icon-btn.del:hover{background:#fee2e2;color:#dc2626}

/* -- Inspector -- */
.ap773-bl-inspector{background:#f8fafc;border-left:1px solid #e2e8f0;display:flex;flex-direction:column;overflow-y:auto;position:sticky;top:32px;max-height:calc(100vh - 32px);align-self:start}
.ap773-insp-header{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-bottom:1px solid #e2e8f0;background:#fff}
.ap773-insp-title{font-size:12px;font-weight:600;color:#0f172a;text-transform:uppercase;letter-spacing:.05em}
.ap773-insp-close{width:24px;height:24px;border-radius:5px;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#94a3b8;padding:0}
.ap773-insp-close:hover{background:#f1f5f9;color:#475569}
.ap773-insp-body{padding:12px 14px;display:flex;flex-direction:column;gap:10px;flex:1}
.ap773-if{display:flex;flex-direction:column;gap:4px}
.ap773-if label{font-size:11px;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.04em}
.ap773-if input,.ap773-if textarea,.ap773-if select{padding:6px 9px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;font-family:inherit;color:#0f172a;background:#fff;width:100%;box-sizing:border-box}
.ap773-if input:focus,.ap773-if textarea:focus,.ap773-if select:focus{outline:none;border-color:#6366f1}
.ap773-if textarea{resize:vertical;min-height:72px}
.ap773-if-row{display:flex;gap:8px}
.ap773-if-row .ap773-if{flex:1}
.ap773-insp-sep{height:1px;background:#e2e8f0;margin:2px 0}
.ap773-insp-sub{font-size:10px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}
.ap773-role-checks{display:flex;flex-direction:column;gap:5px}
.ap773-role-check{display:flex;align-items:center;gap:7px;font-size:12px;color:#334155;cursor:pointer}
.ap773-role-check input{accent-color:#6366f1;width:13px;height:13px}
.ap773-cols-btns{display:flex;gap:6px;margin-bottom:4px}
.ap773-col-btn{flex:1;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;cursor:pointer;transition:all .12s}
.ap773-col-btn:hover{border-color:#a5b4fc;background:#f5f3ff;color:#6366f1}
.ap773-col-btn.active{border-color:#6366f1;background:#eef2ff;color:#4f46e5}

/* -- Save bar -- */
.ap773-builder-savebar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;padding:12px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}
.ap773-save-status{font-size:13px;color:#16a34a}
.ap773-save-status.error{color:#dc2626}

/* -- Hidden = faded in canvas during role preview -- */
.ap773-cs-section.role-hidden,.ap773-cs-block.role-hidden{opacity:.28;outline:2px dashed #fca5a5}

/* -- Dashboard templates -- */
.ap773-template-panel{margin:14px 0 16px;padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.ap773-template-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.ap773-template-head h3{margin:0 0 4px;font-size:15px;line-height:1.25;color:#0f172a}
.ap773-template-head p{margin:0;color:#64748b;font-size:13px;line-height:1.45;max-width:760px}
.ap773-template-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;background:#ecfdf5;color:#15803d;font-size:11px;font-weight:700;white-space:nowrap}
.ap773-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ap773-template-card{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0;transition:transform .15s,border-color .15s,box-shadow .15s}
.ap773-template-card:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(15,23,42,.08)}
.ap773-template-preview{height:82px;padding:14px;background:linear-gradient(135deg,#f8fafc,#eef2ff);display:flex;align-items:center;gap:12px;border-bottom:1px solid #e2e8f0}
.ap773-template-card--purple .ap773-template-preview{background:linear-gradient(135deg,#f5f3ff,#ede9fe)}
.ap773-template-card--blue .ap773-template-preview{background:linear-gradient(135deg,#eff6ff,#dbeafe)}
.ap773-template-card--green .ap773-template-preview{background:linear-gradient(135deg,#f0fdf4,#dcfce7)}
.ap773-template-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;background:#fff;color:#4f46e5;box-shadow:0 8px 20px rgba(15,23,42,.08);flex-shrink:0}
.ap773-template-card--blue .ap773-template-icon{color:#2563eb}
.ap773-template-card--green .ap773-template-icon{color:#16a34a}
.ap773-template-lines{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0}
.ap773-template-lines span{height:8px;border-radius:99px;background:rgba(255,255,255,.95);box-shadow:0 1px 2px rgba(15,23,42,.05)}
.ap773-template-lines span:nth-child(1){width:78%}.ap773-template-lines span:nth-child(2){width:100%}.ap773-template-lines span:nth-child(3){width:56%}
.ap773-template-body{padding:14px;display:flex;flex-direction:column;gap:9px;flex:1}
.ap773-template-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#64748b}
.ap773-template-body h4{margin:0;font-size:15px;color:#0f172a;line-height:1.25}
.ap773-template-body p{margin:0;font-size:12px;line-height:1.45;color:#475569;flex:1}
.ap773-template-best{font-size:11px;line-height:1.4;color:#64748b;background:#f8fafc;border:1px solid #eef2f7;border-radius:8px;padding:8px}
.ap773-template-card .ap773-use-template{justify-content:center;margin-top:2px;width:100%}
@media (min-width:783px) and (max-width:1280px){.ap773-template-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}.ap773-template-preview{height:58px !important}}
@media (max-width:782px){.ap773-template-grid{grid-template-columns:1fr}}
@media (max-width:782px){.ap773-template-head{flex-direction:column}.ap773-template-badge{align-self:flex-start}}

/* Panelra 1.1.0 dashboard template builder previews */
.prev-hero{
	border-radius:10px;
	color:#fff;
	display:flex;
	flex-direction:column;
	gap:4px;
	padding:10px 12px;
}
.prev-hero--purple{background:linear-gradient(135deg,#7c3aed,#5b21b6);}
.prev-hero--blue{background:linear-gradient(135deg,#2563eb,#1d4ed8);}
.prev-hero--green{background:linear-gradient(135deg,#16a34a,#15803d);}
.prev-hero--softgreen{background:linear-gradient(135deg,#ecfdf5,#dcfce7);color:#14532d;}
.prev-hero strong{font-size:12px;line-height:1.2;}
.prev-hero span{font-size:11px;line-height:1.35;opacity:.9;}
.prev-list{
	background:#f8fafc;
	border:1px solid #e2e8f0;
	border-radius:10px;
	display:flex;
	flex-direction:column;
	gap:3px;
	padding:9px 10px;
}
.prev-list strong{color:#0f172a;font-size:12px;}
.prev-list span{color:#64748b;font-size:11px;}
.ap773-insp-help{
	background:#f8fafc;
	border:1px solid #e2e8f0;
	border-radius:8px;
	color:#64748b;
	font-size:11px;
	line-height:1.4;
	margin:0 0 8px;
	padding:8px 10px;
}

/* Panelra 1.1.0 — Action editor for visual template blocks */
.ap773-actions-editor{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.ap773-actions-editor-head{align-items:center;display:flex;justify-content:space-between;gap:10px;margin:8px 0 2px}
.ap773-mini-btn{background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;color:#4338ca;cursor:pointer;font-size:11px;font-weight:800;padding:6px 9px}
.ap773-mini-btn:hover{background:#e0e7ff}
.ap773-action-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-direction:column;gap:8px;padding:10px}
.ap773-action-row-top{align-items:center;display:flex;gap:8px;font-size:12px}
.ap773-action-grip{color:#94a3b8;font-size:12px;line-height:1}
.ap773-action-remove{background:#fff;border:1px solid #fecaca;border-radius:999px;color:#dc2626;cursor:pointer;font-size:16px;font-weight:800;height:24px;line-height:20px;margin-left:auto;padding:0;width:24px}
.ap773-action-row label{color:#475569;display:flex;flex-direction:column;font-size:11px;font-weight:800;gap:4px;margin:0;text-transform:none}
.ap773-action-row input,.ap773-action-row select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#0f172a;font-size:12px;max-width:100%;min-height:34px;padding:5px 8px;width:100%}
.ap773-action-row-grid{display:grid;gap:8px;grid-template-columns:72px 1fr}
@media(max-width:1200px){.ap773-action-row-grid{grid-template-columns:1fr}}

/* Panelra 1.1.0 — keep Dashboard Builder columns stable with rich template sections. */
.ap773-builder-shell{
  grid-template-columns:minmax(170px,200px) minmax(0,1fr) minmax(250px,280px) !important;
  max-width:100%;
  overflow:hidden;
}
.ap773-bl-canvas,
.ap773-cs-section,
.ap773-cs-grid,
.ap773-cs-col,
.ap773-cs-block,
.ap773-cs-block-preview{min-width:0;box-sizing:border-box;}
.ap773-bl-canvas{overflow:hidden;}
.ap773-cs-grid--3{grid-template-columns:repeat(3,minmax(0,1fr));}
.ap773-cs-block-preview .prev-video{overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-word;}
@media (max-width:1280px){
  .ap773-builder-shell{grid-template-columns:180px minmax(0,1fr) 260px !important;}
}


/* Panelra dashboard templates: keep all four template cards on one desktop row. */
.ap773-template-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:10px !important;}
.ap773-template-preview{height:70px !important;padding:10px !important;}
.ap773-template-icon{height:36px !important;width:36px !important;border-radius:10px !important;font-size:16px !important;}
.ap773-template-lines{gap:6px !important;}
.ap773-template-lines span{height:6px !important;}
.ap773-template-body{gap:7px !important;padding:11px !important;}
.ap773-template-body h4{font-size:13px !important;}
.ap773-template-body p{font-size:11px !important;line-height:1.35 !important;}
.ap773-template-best{font-size:10px !important;padding:6px !important;}
.ap773-template-card .ap773-use-template{min-height:30px !important;padding:6px 8px !important;font-size:11px !important;}
@media (min-width:783px) and (max-width:1280px){.ap773-template-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}}
@media (max-width:782px){.ap773-template-grid{grid-template-columns:1fr !important;}}

/* Panelra 1.1.x — keep all dashboard templates in one horizontal row on desktop. */
@media (min-width:783px){
  .ap773-template-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media (min-width:783px) and (max-width:1280px){
  .ap773-template-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:8px !important;}
  .ap773-template-preview{height:58px !important;padding:8px !important;}
  .ap773-template-body{padding:9px !important;gap:5px !important;}
  .ap773-template-body h4{font-size:12px !important;}
  .ap773-template-body p{font-size:10px !important;line-height:1.3 !important;}
  .ap773-template-best{font-size:9px !important;padding:5px !important;}
}


/* Panelra 1.1.x — force four dashboard templates in one desktop row. */
@media (min-width: 783px) {
  .toplevel_page_pnlrdb-settings .ap773-template-panel .ap773-template-grid,
  .ap773-template-panel .ap773-template-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-card,
  .ap773-template-card {
    min-width: 0 !important;
    width: auto !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-preview,
  .ap773-template-preview {
    height: 58px !important;
    min-height: 58px !important;
    padding: 8px !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-icon,
  .ap773-template-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    font-size: 15px !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-body,
  .ap773-template-body {
    padding: 9px !important;
    gap: 5px !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-eyebrow,
  .ap773-template-eyebrow {
    font-size: 9px !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-body h4,
  .ap773-template-body h4 {
    font-size: 12px !important;
    line-height: 1.15 !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-body p,
  .ap773-template-body p {
    font-size: 10px !important;
    line-height: 1.28 !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-best,
  .ap773-template-best {
    font-size: 9px !important;
    line-height: 1.25 !important;
    padding: 5px !important;
  }
  .toplevel_page_pnlrdb-settings .ap773-template-card .ap773-use-template,
  .ap773-template-card .ap773-use-template {
    min-height: 28px !important;
    padding: 5px 7px !important;
    font-size: 10px !important;
  }
}
@media (max-width: 782px) {
  .toplevel_page_pnlrdb-settings .ap773-template-panel .ap773-template-grid,
  .ap773-template-panel .ap773-template-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Panelra template grid forced 4 columns desktop */
@media (min-width: 1200px){
.panelra-template-grid,
.panelra-dashboard-templates-grid,
.panelra-templates-grid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:16px !important;
}

.panelra-template-card,
.panelra-dashboard-template-card,
.panelra-template-item{
    min-width:0 !important;
    width:100% !important;
    max-width:none !important;
}
}


/* Panelra surgical fix: dashboard template cards stay on one desktop row. */
@media (min-width: 783px){
  .ap773-page .ap773-template-panel .ap773-template-grid,
  .toplevel_page_pnlrdb-settings .ap773-template-panel .ap773-template-grid,
  #ap773-template-panel .ap773-template-grid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:8px !important;
    width:100% !important;
    max-width:100% !important;
    align-items:stretch !important;
  }
  .ap773-page .ap773-template-panel .ap773-template-card,
  .toplevel_page_pnlrdb-settings .ap773-template-panel .ap773-template-card,
  #ap773-template-panel .ap773-template-card{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    flex:0 1 auto !important;
  }
  #ap773-template-panel .ap773-template-preview{
    height:54px !important;
    min-height:54px !important;
    padding:7px 8px !important;
  }
  #ap773-template-panel .ap773-template-icon{
    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    font-size:14px !important;
  }
  #ap773-template-panel .ap773-template-lines{gap:5px !important;}
  #ap773-template-panel .ap773-template-lines span{height:5px !important;}
  #ap773-template-panel .ap773-template-body{padding:8px !important;gap:5px !important;}
  #ap773-template-panel .ap773-template-eyebrow{font-size:8.5px !important;line-height:1.1 !important;}
  #ap773-template-panel .ap773-template-body h4{font-size:11.5px !important;line-height:1.15 !important;}
  #ap773-template-panel .ap773-template-body p{font-size:10px !important;line-height:1.25 !important;}
  #ap773-template-panel .ap773-template-best{font-size:9px !important;line-height:1.2 !important;padding:5px !important;}
  #ap773-template-panel .ap773-template-card .ap773-use-template{min-height:27px !important;padding:5px 6px !important;font-size:10px !important;}
}
@media (max-width: 782px){
  #ap773-template-panel .ap773-template-grid{grid-template-columns:1fr !important;}
}
