/* Fiozato Logistics — aba "A cortar" em 3 abas (plano de corte). Classes .ct-*; usa .fz-* de /fila/fila-ui.css e .pz-* de /pedidos/pedidos-ui.css (carregar os três). */

/* seletor das 3 abas + botões à direita */
.ct-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.ct-modes { display: inline-flex; flex-shrink: 0; border: 1px solid #000000; border-radius: 3px; overflow: hidden; }
.ct-modes button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border: 0; border-left: 1px solid #000000; background: #ffffff; color: #111111; font: inherit; font-size: 13.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.ct-modes button:first-child { border-left: 0; }
.ct-modes button.is-on { background: #000000; color: #ffffff; font-weight: 700; }
.ct-modes button.is-on .pz-ic { color: #f2ff58; }
.ct-actions { display: flex; align-items: center; gap: 8px; }
.ct-btn { height: 36px; font-weight: 600; padding: 0 14px; }
.ct-btn-sm { height: 32px; font-weight: 600; padding: 0 14px; }
.ct-btn-lg { height: 40px; font-weight: 600; padding: 0 14px; }
.ct-link { padding: 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: #111111; text-decoration: underline; cursor: pointer; }
.ct-link-lg { font-size: 13px; }
.ct-ghost { height: 34px; padding: 0 14px; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ct-x { display: inline-flex; padding: 2px; border: 0; background: none; color: #5f5f5f; cursor: pointer; }
.ct-grow { flex-grow: 1; }
.ct-muted { font-size: 12.5px; color: #5f5f5f; }
.ct-muted b { color: #111111; }
.ct-empty { padding: 22px 16px; font-size: 13px; color: #5f5f5f; }
.ct-empty-box { margin: 0 16px; border: 1px dashed #9a9a9a; border-radius: 3px; }
.ct-nocolor { font-size: 12px; color: #5f5f5f; }
.ct-color { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ct-size-sm { min-width: 26px; height: 22px; padding: 0 4px; font-size: 11px; }

/* três blocos de números */
.ct-tiles { margin: 0 16px 14px; display: flex; gap: 10px; }
.ct-tile { flex: 1; min-width: 0; border-radius: 3px; padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.ct-tile small { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.ct-tile strong { font-size: 34px; line-height: 1; white-space: nowrap; }
.ct-tile span { font-size: 12.5px; }
.ct-tile-black { background: #111111; color: #ffffff; }
.ct-tile-accent { background: #f2ff58; color: #111111; }
.ct-tile-grey { background: #f1f1f1; color: #111111; }

/* colunas: cortes à esquerda, resumo à direita */
.ct-cols { display: flex; gap: 14px; align-items: flex-start; padding: 0 16px; }
.ct-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ct-side { flex: 0 0 290px; display: flex; flex-direction: column; gap: 12px; }

/* um corte */
.ct-cut { border: 1px solid #000000; }
.ct-chead { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #000000; color: #ffffff; }
.ct-ord { font-size: 26px; color: #f2ff58; min-width: 40px; }
.ct-cinfo { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; min-width: 0; }
.ct-cinfo > b { font-size: 16px; }
.ct-cmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.ct-cmeta > span { font-size: 12px; color: #bdbdbd; white-space: nowrap; }
.ct-cmeta > span b { color: #ffffff; }
.ct-cmeta .fz-swatch, .ct-phead .fz-swatch { color: #111111; }
.ct-cmeta .ct-color, .ct-phead .ct-color { font-size: 12px; }
.ct-chead .ct-nocolor { color: #bdbdbd; }
.ct-pulled { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #bdbdbd; white-space: nowrap; }
.ct-pulled b { color: #ffffff; }
.ct-pulled-text { display: block; }
.ct-cstat { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 132px; padding-left: 14px; border-left: 1px solid #333333; }
.ct-cstat strong { font-size: 22px; line-height: 1; }
.ct-cstat span { font-size: 12.5px; font-weight: 700; color: #f2ff58; }
.ct-cstat span.is-none { color: #777777; }
.ct-cstat small { font-size: 12px; color: #bdbdbd; white-space: nowrap; }

/* grade de tamanhos do corte, com − / + */
.ct-grid { display: inline-flex; gap: 4px; flex-shrink: 0; }
.ct-cell { display: inline-flex; flex-direction: column; width: 38px; box-sizing: border-box; border: 1.5px solid #444444; border-radius: 3px; overflow: hidden; color: #777777; }
.ct-cell > span:first-child { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 38px; }
.ct-cell small { display: inline-flex; align-items: center; gap: 2px; font-size: 9.5px; font-weight: 700; line-height: 1; }
.ct-cell small em { padding: 0 2px; border-radius: 2px; background: #111111; color: #f2ff58; font-size: 8.5px; font-weight: 800; font-style: normal; line-height: 11px; }
.ct-cell b { font-size: 16px; line-height: 1.1; }
.ct-cell.has { background: #f2ff58; color: #111111; border-color: #ffffff; }
.ct-cell.far { background: repeating-linear-gradient(45deg, #2a2a2a 0 4px, #1a1a1a 4px 8px); }
.ct-cell.is-anchor { border-width: 2.5px; border-color: #ffffff; }
.ct-step { display: flex; height: 17px; background: #111111; border-top: 1px solid #444444; }
.ct-step.is-off { background: transparent; border-top-color: transparent; }
.ct-step button { flex: 1; padding: 0; border: 0; background: transparent; color: #ffffff; font: inherit; font-size: 13px; font-weight: 700; line-height: 16px; cursor: pointer; }
.ct-step button + button { border-left: 1px solid #555555; }
.ct-step button:disabled { color: #555555; cursor: default; }
.ct-grid-light .ct-cell { border-color: #cfcfcf; color: #b0b0b0; background: #ffffff; }
.ct-grid-light .ct-cell.has { border-color: #111111; background: #f2ff58; color: #111111; }
.ct-grid-light .ct-cell.far { background: repeating-linear-gradient(45deg, #ececec 0 4px, #f7f7f7 4px 8px); }
.ct-grid-light .ct-cell.is-anchor { border-color: #111111; }

/* linhas do corte */
.ct-row { display: grid; grid-template-columns: 22px 40px 96px 150px 50px 130px 80px minmax(0, 1fr); align-items: center; column-gap: 12px; min-height: 52px; padding: 4px 16px; border-top: 1px solid #eeeeee; background: #ffffff; }
.ct-row > .fz-size, .ct-rest-row > .fz-size, .ct-prow2 > .fz-size { justify-self: start; }
.ct-row.is-puller { background: #fbfde6; }
.ct-row.is-used { background: #f4f4f4; }
.ct-resolve { display: inline-grid; width: 20px; height: 20px; place-items: center; box-sizing: border-box; border: 1.5px solid #8b8b8b; background: #ffffff; color: transparent; cursor: pointer; }
.ct-resolve input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.ct-resolve:has(input:checked), .ct-resolve.is-done { border-color: #137549; background: #137549; color: #ffffff; }
.ct-resolve:has(input:focus-visible) { outline: 2px solid #111111; outline-offset: 2px; }
.ct-resolve.is-done { cursor: default; }
.ct-cust { font-size: 12.5px; }
.ct-val { font-size: 12.5px; }
.ct-val.is-big { font-weight: 700; }
.ct-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; box-sizing: border-box; border-radius: 3px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.ct-tag-big { background: #111111; color: #f2ff58; }
.ct-tag-list { background: #f2ff58; color: #111111; border: 1.5px solid #111111; }
.ct-tag-ready { background: #137549; color: #ffffff; font-weight: 700; }
.ct-tag-ride { border: 1px solid #cfcfcf; color: #5f5f5f; font-weight: 600; }
.ct-tag-mm { background: #ffffff; color: #111111; border: 1.5px solid #111111; }
.ct-fate { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.ct-fate.is-ok { font-weight: 700; color: #137549; }
.ct-fate.is-bad { font-weight: 600; color: #b52f3e; }
.ct-fate.is-later { color: #111111; }
.ct-fate.is-later .pz-ic { color: #5f5f5f; }
.ct-mmrow { display: grid; grid-template-columns: 40px 118px minmax(0, 1fr) 80px 150px; align-items: center; column-gap: 12px; min-height: 52px; padding: 4px 16px; border-top: 1px solid #eeeeee; background: #f4f4f4; }
.ct-mmrow.is-puller { background: #fbfde6; }
.ct-mmrow > b { font-size: 13px; white-space: nowrap; }
.ct-mmic { display: inline-flex; justify-content: center; }
.ct-mmsizes { display: flex; gap: 6px; flex-wrap: wrap; }
.ct-mmsizes span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 7px; border: 1.5px solid #111111; border-radius: 3px; background: #ffffff; font-size: 12px; }
.ct-mmreach { font-size: 12.5px; color: #5f5f5f; white-space: nowrap; }
.ct-mmreach b { color: #111111; }
.ct-out { display: flex; align-items: flex-start; gap: 8px; padding: 9px 16px; border-top: 1px solid #e5e5e5; background: #f7f7f7; font-size: 12.5px; color: #5f5f5f; line-height: 1.45; }
.ct-out .pz-ic { margin-top: 3px; }
.ct-out b { color: #111111; }

/* sobras */
.ct-rest { border: 1px dashed #9a9a9a; border-radius: 3px; background: #ffffff; }
.ct-rest-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }
.ct-rest-head > div { display: flex; flex-direction: column; gap: 2px; }
.ct-rest-head b { font-size: 14.5px; }
.ct-rest-head span { font-size: 12.5px; color: #5f5f5f; }
.ct-rest-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 150px 50px 96px 170px; align-items: center; column-gap: 12px; min-height: 50px; padding: 4px 16px; border-top: 1px solid #eeeeee; }
.ct-rest-row b { font-size: 13px; }
.ct-rest-mm { grid-template-columns: 40px minmax(0, 1fr) 150px 250px 80px; min-height: 54px; }
.ct-lcells { display: inline-flex; gap: 4px; }
.ct-lcells span { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 38px; border: 1.5px solid #dcdcdc; border-radius: 3px; background: #ffffff; color: #b0b0b0; }
.ct-lcells span.has { border-color: #111111; background: #f2ff58; color: #111111; }
.ct-lcells small { font-size: 9.5px; font-weight: 700; line-height: 1; }
.ct-lcells b { font-size: 15px; line-height: 1.15; }

/* coluna do resumo */
.ct-box { border: 1px solid #e5e5e5; border-radius: 3px; padding: 14px 16px; background: #ffffff; display: flex; flex-direction: column; gap: 8px; }
.ct-box-strong { border-color: #000000; gap: 0; }
.ct-box-grey { background: #f7f7f7; gap: 0; padding-bottom: 8px; }
.ct-box-mm { border-width: 2px; gap: 8px; }
.ct-bhead { display: flex; justify-content: space-between; align-items: center; }
.ct-bhead b { font-size: 11px; letter-spacing: .1em; color: #5f5f5f; }
.ct-box-strong .ct-bhead, .ct-box-grey .ct-bhead { padding-bottom: 8px; }
.ct-box-mm .ct-bhead { padding-bottom: 0; }
.ct-big { font-size: 26px; line-height: 1; }
.ct-srow { padding: 12px 0; border-top: 1px solid #e5e5e5; display: flex; flex-direction: column; gap: 5px; }
.ct-srow > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ct-srow > div b { font-size: 14px; }
.ct-srow > div strong { font-size: 18px; }
.ct-srow > div span { font-size: 12px; color: #5f5f5f; }
.ct-srow em { font-size: 12px; font-weight: 700; font-style: normal; white-space: nowrap; }
.ct-srow em.is-ok { color: #137549; }
.ct-srow em.is-bad, .ct-srow small { color: #b52f3e; }
.ct-srow small { font-size: 11.5px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-chips span { font-size: 12px; font-weight: 600; padding: 2px 7px; border: 1px solid #d4d4d4; border-radius: 3px; }
.ct-adj { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 8px; border-top: 1px solid #e5e5e5; }
.ct-adj > div { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.ct-adj b { font-size: 13px; }
.ct-adj em { padding: 0 5px; border-radius: 2px; background: #111111; color: #f2ff58; font-size: 11px; font-weight: 800; font-style: normal; }
.ct-adj span { font-size: 12px; color: #5f5f5f; }
.ct-rule { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid #e5e5e5; font-size: 12.5px; }
.ct-rule span { color: #5f5f5f; }
.ct-rule b { text-align: right; white-space: nowrap; }
.ct-mmname { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.ct-mmname b { font-size: 14px; }
.ct-mmbig { display: flex; align-items: baseline; justify-content: space-between; }
.ct-mmbig strong { font-size: 26px; line-height: 1; }
.ct-mmbig b { font-size: 14px; }
.ct-track { height: 8px; background: #e9e9e9; border-radius: 4px; }
.ct-track i { display: block; height: 8px; background: #111111; border-radius: 4px; }

/* chave Priorizar */
.ct-prios { margin: 0 16px 14px; display: flex; align-items: stretch; gap: 10px; }
.ct-prios > div { display: flex; flex-direction: column; justify-content: center; gap: 2px; flex: 0 0 96px; }
.ct-prios > div b { font-size: 13.5px; }
.ct-prios > div small { font-size: 11.5px; color: #5f5f5f; }
.ct-prio { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid #d4d4d4; border-radius: 3px; background: #ffffff; color: #111111; font: inherit; text-align: left; cursor: pointer; }
.ct-prio.is-on { border: 2px solid #111111; padding: 11px 15px; background: #fbfde6; }
.ct-prio i, .ct-who i { width: 16px; height: 16px; flex-shrink: 0; box-sizing: border-box; border-radius: 50%; border: 1.5px solid #111111; background: #ffffff; }
.ct-prio.is-on i, .ct-who.is-on i { background: radial-gradient(#111111 0 45%, #ffffff 50%); }
.ct-prio span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-prio span > b { font-size: 14.5px; }
.ct-prio small { font-size: 12px; color: #5f5f5f; white-space: nowrap; }
.ct-prio small b { color: #111111; }

/* minha lista */
.ct-list { margin: 0 16px 14px; border: 1px solid #000000; border-radius: 3px; }
.ct-lhead { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.ct-lhead > div { display: flex; flex-direction: column; gap: 2px; flex: 0 0 210px; }
.ct-lhead > div b { font-size: 15px; }
.ct-lhead > div small, .ct-lookup > div small { font-size: 11.5px; color: #5f5f5f; }
.ct-field { display: flex; align-items: center; gap: 9px; flex: 0 0 260px; height: 40px; padding: 0 12px; box-sizing: border-box; border: 1px solid #bdbdbd; border-radius: 3px; background: #ffffff; color: #5f5f5f; }
.ct-field input { border: 0; outline: 0; flex-grow: 1; min-width: 0; font: inherit; font-size: 14px; background: transparent; }
.ct-field.is-filled { flex-basis: 230px; border: 2px solid #111111; color: #111111; }
.ct-field.is-filled input { font-weight: 700; }
.ct-lcols, .ct-lrow { display: grid; grid-template-columns: 20px 52px 240px 150px minmax(0, 1fr) 240px 20px; align-items: center; column-gap: 14px; }
.ct-lth { padding: 9px 16px; background: #f6f6f6; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: #5f5f5f; }
.ct-lrow { min-height: 58px; padding: 4px 16px; border-top: 1px solid #e5e5e5; background: #ffffff; }
.ct-lrow > strong { font-size: 20px; }
.ct-grip { font-size: 14px; color: #9a9a9a; letter-spacing: -2px; cursor: grab; }
.ct-litem { display: flex; flex-direction: column; gap: 2px; }
.ct-litem b { font-size: 14px; }
.ct-litem > span { font-size: 12px; color: #5f5f5f; }
.ct-lpiece { display: inline-flex; align-items: center; gap: 8px; }
.ct-lpiece i { font-style: normal; }
.ct-reason { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid #111111; border-radius: 3px; background: #f2ff58; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ct-lpull { font-size: 12.5px; }
.ct-lfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid #e5e5e5; background: #fafafa; }
.ct-lfoot > div { display: flex; align-items: center; gap: 12px; }
.ct-lfoot > div > b { font-size: 13px; }
.ct-seg { display: inline-flex; flex-shrink: 0; border: 1px solid #111111; border-radius: 3px; overflow: hidden; }
.ct-seg button { height: 34px; padding: 0 14px; border: 0; background: #ffffff; color: #111111; font: inherit; font-size: 12.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.ct-seg button.is-on { background: #000000; color: #ffffff; font-weight: 700; }
.ct-seg-lg button { height: 40px; padding: 0 16px; font-size: 13px; }
.ct-seg-fill { display: flex; }
.ct-seg-fill button { flex: 1; height: 36px; padding: 0 8px; }
.ct-seg-dark { border-color: #555555; }
.ct-seg-dark button { height: 30px; padding: 0 12px; font-size: 12px; background: transparent; color: #ffffff; }
.ct-seg-dark button.is-on { background: #f2ff58; color: #111111; }

/* adicionar pelo pedido / pela peça */
.ct-lookup { margin: 0 16px 14px; padding: 14px; border: 1px solid #000000; border-radius: 3px; display: flex; align-items: center; gap: 12px; }
.ct-lookup > div:first-child { display: flex; flex-direction: column; gap: 2px; flex: 0 0 140px; }
.ct-lookup > div:first-child b { font-size: 13.5px; }
.ct-result { margin: 0 16px; border: 1px solid #000000; }
.ct-rhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #000000; color: #ffffff; }
.ct-rhead > div { display: flex; align-items: center; gap: 18px; }
.ct-rhead > div:last-child { gap: 10px; }
.ct-rhead strong { font-size: 30px; line-height: 1; }
.ct-rhead > div > div:not(.ct-seg) { display: flex; flex-direction: column; gap: 3px; }
.ct-rhead b { font-size: 15px; }
.ct-rhead span { font-size: 12.5px; color: #bdbdbd; }
.ct-rhead small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: #bdbdbd; }
.ct-verdict { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e5e5e5; }
.ct-verdict > div { display: flex; flex-direction: column; gap: 2px; }
.ct-verdict b { font-size: 14.5px; }
.ct-verdict span { font-size: 12.5px; color: #111111; }
.ct-verdict.is-bad { background: #fdf0f1; color: #b52f3e; }
.ct-verdict.is-ok { background: #eef7f1; color: #137549; }
.ct-pcols, .ct-prow { display: grid; grid-template-columns: 250px 190px minmax(0, 1fr); column-gap: 18px; align-items: center; }
.ct-pth { padding: 10px 16px; background: #f6f6f6; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: #5f5f5f; }
.ct-prow { min-height: 104px; padding: 12px 16px; border-top: 1px solid #e5e5e5; background: #ffffff; }
.ct-prow.is-cut { background: #fbfde6; }
.ct-pinfo { display: flex; align-items: center; gap: 12px; }
.ct-pinfo > div { display: flex; flex-direction: column; gap: 5px; }
.ct-pinfo b { font-size: 14px; }
.ct-pinfo span { display: inline-flex; align-items: center; gap: 8px; }
.ct-todo { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ct-todo > div { display: flex; flex-direction: column; gap: 3px; }
.ct-todo b { font-size: 13.5px; }
.ct-todo span { font-size: 12.5px; color: #5f5f5f; }
.ct-todo-cut { display: flex; align-items: center; gap: 18px; }
.ct-todo-cut > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ct-todo-cut > div:first-child { gap: 6px; flex: 0 0 auto; }
.ct-todo-cut small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: #5f5f5f; }
.ct-todo-cut > div > span { font-size: 13px; }
.ct-n { font-size: 18px; }
.ct-todo-cut .is-ok { color: #137549; }
.ct-rides { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-ride { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; border: 1px solid #d4d4d4; border-radius: 3px; background: #ffffff; white-space: nowrap; }
.ct-ride > b { font-size: 12px; }
.ct-ride .ct-fate { font-size: 12px; gap: 4px; }
.ct-cols-lookup { align-items: flex-start; }
.ct-mbox { flex: 1; min-width: 0; border: 1px solid #000000; }
.ct-mhead { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #000000; color: #ffffff; }
.ct-mhead > div { display: flex; flex-direction: column; gap: 4px; }
.ct-mhead b { font-size: 18px; }
.ct-mhead span { font-size: 12.5px; color: #bdbdbd; }
.ct-mhead span b { font-size: inherit; color: #ffffff; }
.ct-mbody { padding: 14px 16px; }
.ct-mq { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; }
.ct-mq b { font-size: 14px; }
.ct-mq span { font-size: 12.5px; color: #5f5f5f; }
.ct-mrow { display: grid; grid-template-columns: 150px repeat(5, minmax(0, 1fr)) 90px; column-gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid #e5e5e5; }
.ct-mrow > strong { font-size: 16px; text-align: right; }
.ct-mth { padding: 0 0 8px; border-top: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #5f5f5f; }
.ct-mth span { text-align: center; }
.ct-mth span:first-child { text-align: left; }
.ct-mth span:last-child { text-align: right; }
.ct-mcell { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 54px; border: 1px solid #d4d4d4; border-radius: 3px; background: #ffffff; color: #111111; font: inherit; cursor: pointer; }
.ct-mcell b { font-size: 18px; line-height: 1; }
.ct-mcell small { font-size: 10px; color: #5f5f5f; min-height: 12px; }
.ct-mcell:disabled { color: #b5b5b5; cursor: default; }
.ct-mcell.is-sel { border: 2.5px solid #111111; background: #f2ff58; }
.ct-mcell.is-ride { border: 1.5px solid #111111; background: #fbfde6; }
.ct-pbox { flex: 0 0 470px; border: 1px solid #000000; }
.ct-pbox-empty { padding: 28px 16px; border-style: dashed; border-color: #9a9a9a; font-size: 13px; color: #5f5f5f; box-sizing: border-box; }
.ct-phead { padding: 14px 16px; background: #000000; color: #ffffff; display: flex; flex-direction: column; gap: 10px; }
.ct-phead > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ct-phead small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: #bdbdbd; }
.ct-phead .ct-cstat { border-left: 0; padding-left: 0; }
.ct-phead .ct-cstat small { font-weight: 400; letter-spacing: 0; font-size: 12px; }
.ct-prow2 { display: grid; grid-template-columns: 40px 84px 40px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 52px; padding: 4px 16px; border-top: 1px solid #eeeeee; background: #ffffff; }
.ct-prow2.is-puller { background: #fbfde6; }
.ct-prow2 > b { font-size: 13px; }

/* janela do ajuste e gaveta das regras */
.ct-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .45); }
.ct-modal { position: fixed; z-index: 41; left: 50%; top: 120px; transform: translateX(-50%); width: 560px; max-width: calc(100vw - 32px); max-height: calc(100vh - 140px); overflow: auto; box-sizing: border-box; background: #ffffff; border: 1px solid #000000; border-radius: 3px; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.ct-mtop { display: flex; justify-content: space-between; align-items: flex-start; }
.ct-mtop > div { display: flex; flex-direction: column; gap: 6px; }
.ct-mtop b { font-size: 20px; }
.ct-mtop span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.ct-drawer .ct-mtop span { font-size: 12.5px; font-weight: 400; color: #5f5f5f; }
.ct-stepbox { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #f6f6f6; border-radius: 3px; }
.ct-stepbox > div:not(.ct-stepper) { display: flex; flex-direction: column; gap: 2px; }
.ct-stepbox > div:last-child { align-items: flex-end; }
.ct-stepbox span { font-size: 12.5px; color: #5f5f5f; }
.ct-stepbox b { font-size: 18px; }
.ct-stepper { display: flex; align-items: center; gap: 14px; }
.ct-stepper button { width: 44px; height: 44px; border: 1.5px solid #111111; border-radius: 3px; background: #ffffff; font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; }
.ct-stepper button:disabled { opacity: .35; cursor: default; }
.ct-stepper strong { font-size: 34px; line-height: 1; min-width: 28px; text-align: center; }
.ct-fgroup { display: flex; flex-direction: column; gap: 8px; }
.ct-fgroup > b { font-size: 13px; }
.ct-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ct-reasons button { height: 38px; border: 1px solid #d4d4d4; border-radius: 3px; background: #ffffff; font: inherit; font-size: 12.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.ct-reasons button.is-on { border: 2px solid #111111; background: #f2ff58; font-weight: 700; }
.ct-who { display: grid; grid-template-columns: 18px 84px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 42px; padding: 0 12px; border: 1px solid #d4d4d4; border-radius: 3px; background: #ffffff; color: #111111; font: inherit; text-align: left; cursor: pointer; }
.ct-who.is-on { border: 2px solid #111111; padding: 0 11px; background: #fbfde6; }
.ct-who i { width: 14px; height: 14px; }
.ct-who b { font-size: 13px; }
.ct-who span { font-size: 12.5px; }
.ct-who small { font-size: 11.5px; color: #5f5f5f; }
.ct-note { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid #e5e5e5; border-radius: 3px; font-size: 12.5px; line-height: 1.45; }
.ct-note .pz-ic { margin-top: 2px; color: #137549; }
.ct-mfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid #e5e5e5; }
.ct-mfoot > span { font-size: 12px; color: #5f5f5f; }
.ct-mfoot > div { display: flex; gap: 8px; }
.ct-drawer { position: fixed; z-index: 41; right: 0; top: 0; bottom: 0; width: 460px; max-width: 100vw; overflow: auto; box-sizing: border-box; background: #ffffff; border-left: 1px solid #000000; padding: 22px 24px; display: flex; flex-direction: column; }
.ct-drawer .ct-mtop { padding-bottom: 14px; align-items: center; }
.ct-rfield { display: flex; flex-direction: column; gap: 7px; padding: 14px 0; border-top: 1px solid #e5e5e5; }
.ct-rfield > b { font-size: 13.5px; }
.ct-rfield > small { font-size: 12px; color: #5f5f5f; line-height: 1.4; min-height: 17px; }
.ct-money { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.ct-money input { width: 96px; height: 34px; padding: 0 10px; box-sizing: border-box; border: 1px solid #bdbdbd; border-radius: 3px; font: inherit; font-size: 12.5px; font-weight: 700; text-align: right; }
.ct-cmp { display: flex; gap: 8px; padding: 14px 0; border-top: 1px solid #e5e5e5; }
.ct-cmp > div { flex: 1; min-width: 0; border: 1px solid #e5e5e5; border-radius: 3px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.ct-cmp > div.is-on { border: 2px solid #000000; padding: 9px 11px; background: #fbfde6; }
.ct-cmp small { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #5f5f5f; }
.ct-cmp span { font-size: 12.5px; }
.ct-cmp span b { font-size: 18px; }
.ct-cmp > div > b { font-size: 14px; }
.ct-dfoot { margin-top: auto; display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid #e5e5e5; }
