/* Customize tab: a look-only preview of what can be tailored per customer.
   Nothing here is wired up: the mock is `inert`, so no control can be focused or
   clicked. The real, working options for admins live in the Settings tab. */

.czScroll{ flex:1 1 auto; min-height:0; overflow-y:auto; }
.czContent{ max-width:1180px; margin:0 auto; padding:26px 22px 48px; }

.czHead{ display:flex; align-items:flex-start; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:18px; }
.czHead h1{ margin:0 0 4px; font-size:22px; color:var(--navy); letter-spacing:-.3px; }
.czHead p{ margin:0; color:var(--muted); max-width:68ch; line-height:1.5; }
.czLimited{
  display:flex; align-items:center; gap:12px; padding:12px 16px; border-radius:var(--radius-md);
  background:var(--warn-wash); border:1px solid #f3dfae; color:#7a5212; max-width:440px;
}
.czLimited svg{ width:22px; height:22px; flex-shrink:0; }
.czLimited b{ display:block; color:#5c3d0c; font-size:13.5px; }
.czLimited span{ font-size:12.5px; line-height:1.45; }

/* the mock: looks live, cannot be used */
.czMock{ display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); gap:16px; user-select:none; }
.czMock *{ cursor:default !important; }
.czCard{
  grid-column:span 4; min-width:0; position:relative; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:18px 20px; box-shadow:var(--shadow-sm);
}
.czCard.w6{ grid-column:span 6; } .czCard.w8{ grid-column:span 8; } .czCard.w12{ grid-column:span 12; }
.czCard h2{ display:flex; align-items:center; gap:8px; margin:0 0 3px; font-size:15px; color:var(--navy); }
.czCard h2 i{ display:grid; place-items:center; width:26px; height:26px; border-radius:8px; background:var(--primary-soft); color:var(--teal); font-style:normal; }
.czCard h2 i svg{ width:15px; height:15px; }
.czCard > p{ margin:0 0 14px; color:var(--muted); font-size:12.5px; line-height:1.45; }
.czLock{ position:absolute; top:16px; right:16px; color:#a0aec0; }
.czLock svg{ width:15px; height:15px; }

.czRow{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; border-top:1px solid var(--border-soft); font-size:13px; color:var(--text-2); }
.czRow:first-of-type{ border-top:0; }
.czRow small{ color:var(--muted); }
.czField{ display:grid; gap:5px; margin-bottom:10px; font-size:12px; color:var(--muted); font-weight:500; }
.czInput{ border:1px solid var(--border); border-radius:var(--radius-sm); padding:7px 10px; font-size:13px; color:var(--text); background:var(--surface-raised); }
.czSelect{ display:inline-flex; align-items:center; gap:8px; border:1px solid var(--border); border-radius:var(--radius-sm); padding:5px 10px; font-size:12.5px; color:var(--text-2); background:var(--surface-raised); white-space:nowrap; }
.czSelect::after{ content:""; width:6px; height:6px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg) translateY(-2px); }

.czToggle{ width:34px; height:20px; border-radius:999px; background:#d7dee7; position:relative; flex-shrink:0; }
.czToggle::after{ content:""; position:absolute; top:3px; left:3px; width:14px; height:14px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.2); }
.czToggle.on{ background:var(--teal); }
.czToggle.on::after{ left:17px; }
.czCheck{ width:16px; height:16px; border-radius:4px; border:1.5px solid #cbd5e0; display:inline-block; vertical-align:middle; }
.czCheck.on{ background:var(--teal); border-color:var(--teal); position:relative; }
.czCheck.on::after{ content:""; position:absolute; left:4px; top:1px; width:4px; height:8px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }

.czSwatches{ display:flex; gap:8px; }
.czSwatches span{ width:26px; height:26px; border-radius:8px; }
.czSwatches span.on{ box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--navy); }
.czLogo{ display:flex; align-items:center; gap:12px; padding:10px; border:1.5px dashed var(--border); border-radius:var(--radius-md); margin-bottom:12px; font-size:12.5px; color:var(--muted); }
.czLogo b{ display:grid; place-items:center; width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,#7c3aed,#0b2545); color:#fff; font-size:15px; }

.czTag{ display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:999px; font-size:11.5px; font-weight:600; background:#f1f4f7; color:var(--text-2); margin:2px 3px 2px 0; }
.czTag.teal{ background:var(--primary-soft); color:var(--teal); }
.czTag.amber{ background:var(--warn-wash); color:var(--warn); }
.czTag.red{ background:var(--critical-wash); color:var(--critical); }
.czTag.blue{ background:var(--info-wash); color:var(--info); }
.czTag.add{ background:none; border:1px dashed #cbd5e0; color:var(--muted); }

.czTable{ width:100%; border-collapse:collapse; font-size:12.5px; }
.czTable th{ text-align:left; font-size:10.5px; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); font-weight:600; padding:0 8px 7px; border-bottom:1px solid var(--border); }
.czTable td{ padding:8px; border-bottom:1px solid var(--border-soft); color:var(--text-2); vertical-align:middle; }
.czTable td.c, .czTable th.c{ text-align:center; }
.czTable code{ font-family:var(--mono, monospace); font-size:11.5px; color:var(--muted); }

/* processes: a workflow builder, drawn */
.czFlowTabs{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.czFlowTabs span{ padding:6px 12px; border-radius:999px; font-size:12.5px; font-weight:500; color:var(--muted); background:#f1f4f7; }
.czFlowTabs span.on{ background:var(--navy); color:#fff; }
.czFlow{ display:flex; align-items:stretch; gap:0; overflow-x:auto; padding:6px 2px 10px; }
.czStep{ flex:0 0 170px; border:1px solid var(--border); border-radius:var(--radius-md); padding:12px; background:var(--surface-raised); position:relative; }
.czStep .n{ font-family:var(--mono, monospace); font-size:10.5px; color:var(--muted); }
.czStep b{ display:block; margin:3px 0 6px; font-size:13px; color:var(--navy); }
.czStep .who{ font-size:11.5px; color:var(--text-2); margin-bottom:6px; }
.czStep .sla{ font-size:11px; color:var(--muted); }
.czStep.start{ border-color:#bfe3dd; background:var(--primary-soft); }
.czStep.cond{ border-style:dashed; border-color:#e9c46a; background:#fffcf2; }
.czStep.end{ border-color:var(--teal); }
.czArrow{ flex:0 0 34px; display:grid; place-items:center; color:#a0aec0; }
.czArrow svg{ width:22px; height:22px; }
.czFlowFoot{ display:flex; gap:18px; flex-wrap:wrap; margin-top:10px; padding-top:12px; border-top:1px solid var(--border-soft); font-size:12.5px; color:var(--text-2); }
.czFlowFoot > span{ display:inline-flex; align-items:center; gap:8px; }

.czRule{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:10px 12px; border:1px solid var(--border); border-radius:var(--radius-md); margin-bottom:8px; font-size:12.5px; color:var(--text-2); background:var(--surface-raised); }
.czRule .kw{ font-weight:700; font-size:11px; letter-spacing:.4px; color:var(--teal); }
.czRule .czToggle{ margin-left:auto; }

.czLayers{ display:flex; flex-direction:column; gap:6px; }
.czLayer{ display:flex; align-items:center; gap:10px; padding:7px 10px; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:12.5px; color:var(--text-2); }
.czLayer .grip{ color:#cbd5e0; letter-spacing:-2px; }
.czLayer .dot{ width:12px; height:12px; border-radius:4px; }
.czLayer small{ margin-left:auto; color:var(--muted); }

.czConn{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:8px; }
.czConn div{ display:flex; align-items:center; gap:8px; padding:9px 10px; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:12.5px; color:var(--text-2); }
.czConn div i{ width:22px; height:22px; border-radius:6px; flex-shrink:0; font-style:normal; display:grid; place-items:center; color:#fff; font-size:10px; font-weight:700; }
.czConn div .czToggle{ margin-left:auto; transform:scale(.85); }

.czFoot{ margin-top:22px; text-align:center; color:var(--muted); font-size:13px; }
.czFoot b{ color:var(--navy); }

@media (max-width:1000px){
  .czCard, .czCard.w6, .czCard.w8{ grid-column:span 6; }
}
@media (max-width:700px){
  .czMock{ grid-template-columns:minmax(0, 1fr); }
  .czCard, .czCard.w6, .czCard.w8, .czCard.w12{ grid-column:auto; }
  /* the mock is inert, so a sideways-scrolling strip could not be scrolled: stack the steps */
  .czFlow{ flex-direction:column; overflow:visible; }
  .czStep{ flex:none; }
  .czArrow{ flex:0 0 26px; transform:rotate(90deg); }
}
