/* v6-newtable.css — create-table flow (NTFlow1-4, SNG/MTT/Spin, Done). Prefix nt-. */
main[data-view="wizard"].on { position: absolute; inset: 0; z-index: 5; display: block; }
.nt-screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  background: #161618; color: #F2EFEA; font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.nt-screen button { font-family: 'Manrope', sans-serif; cursor: pointer; }
.nt-screen button:disabled { cursor: default; }
.nt-sky { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.nt-screen > *:not(.nt-sky) { position: relative; }

/* header */
.nt-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px 2px; flex-shrink: 0; }
.nt-x { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #F2EFEA; background: none; border: 0; padding: 0; }
.nt-head h1 { margin: 0; flex: 1; font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; color: #F2EFEA; }
.nt-dpill { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 15px; background: #1F1F22; border: 1px solid #2E2E33; font-size: 12.5px; font-weight: 800; color: #F2EFEA; }
.nt-tpl { height: 30px; padding: 0 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #F5F3EF; font-size: 12px; font-weight: 800; }

/* progress */
.nt-prog { display: flex; gap: 8px; padding: 6px 16px 8px; flex-shrink: 0; }
.nt-prog button { flex: 1; display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 0; text-align: left; }
.nt-prog .bar { height: 3px; border-radius: 2px; background: #2A2A2F; }
.nt-prog .t { font-size: 11.5px; font-weight: 800; color: #8A8178; white-space: nowrap; }
.nt-prog .done .bar, .nt-prog .cur .bar { background: #F5F3EF; }
.nt-prog .done .t { color: #F5F3EF; }
.nt-prog .cur .t { color: #F2EFEA; }

/* summary bar */
.nt-sum { margin: 0 16px; height: 46px; padding: 0 12px 0 14px; border-radius: 12px; background: #1F1F22; border: 1px solid #2E2E33; position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nt-sum .acc { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.nt-badge { display: inline-flex; flex-shrink: 0; height: 20px; padding: 0 9px; transform: skewX(-18deg); border-radius: 4px; align-items: center; margin-left: 2px; }
.nt-badge span { transform: skewX(18deg); font-size: 10.5px; font-weight: 800; color: #fff; white-space: nowrap; }
.nt-sum .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-sum .nm b { font-size: 14px; color: #F2EFEA; }
.nt-sum .st { font-size: 12.5px; font-weight: 700; color: #F5F3EF; }
.nt-sum .tg { font-size: 10px; font-weight: 800; color: #F5F3EF; }
.nt-sum .en { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 800; color: #F2EFEA; flex-shrink: 0; }
.nt-sum .pp { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 800; color: #A79F94; flex-shrink: 0; }

/* scroll body */
.nt-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.nt-scroll::-webkit-scrollbar { display: none; }
.nt-fill { --k: 1; padding-bottom: 14px; display: flow-root; }
.nt-cap { margin: calc(12px * var(--k,1)) 16px calc(6px * var(--k,1)); font-size: 9.5px; font-weight: 800; letter-spacing: .2em; color: #8A8178; }
.nt-m { margin: 0 16px; }
.nt-mb { margin-bottom: 6px; }
.nt-gap { height: 6px; }
.nt-note { margin: 5px 16px 0; display: flex; align-items: flex-start; gap: 6px; font-size: 11px; line-height: 1.4; color: #8A8178; }
.nt-note svg { flex-shrink: 0; margin-top: 2px; }
.nt-foot { margin: 6px 16px 0; font-size: 11px; line-height: 1.45; color: #8A8178; }
.nt-dim { opacity: .32; pointer-events: none; }

.nt-input { display: block; width: calc(100% - 32px); box-sizing: border-box; margin: 0 16px; height: calc(46px * var(--k,1)); padding: 0 14px; border-radius: 12px; border: 1px solid #2A2A2F; background: #1F1F22; color: #F2EFEA; font: 700 16px 'Manrope', sans-serif; outline: none; }
.nt-input:focus { border-color: rgba(255,255,255,.55); }
.nt-input:disabled { color: #A79F94; }
.nt-pwd { margin-top: 6px; font-size: 14px; height: calc(42px * var(--k,1)); }

/* segmented */
.nt-seg { display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: #1F1F22; border: 1px solid #2E2E33; }
.nt-seg button { flex: 1; min-width: 0; height: calc(34px * var(--k,1)); border-radius: 8px; border: 1px solid transparent; background: transparent; color: #A79F94; font: 800 12.5px 'Manrope', sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 4px; white-space: nowrap; }
.nt-seg.sm button { height: calc(30px * var(--k,1)); font-size: 12px; }
.nt-seg button.on { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.14); color: #F5F3EF; }
.nt-seg button.dis { color: #45413C; text-decoration: line-through; text-decoration-color: #3A3631; }
.nt-seg .bar { width: 3px; height: 13px; border-radius: 2px; flex-shrink: 0; }
.nt-seg button.dis .bar { opacity: .35; }

/* family grid */
.nt-famgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 16px; }
.nt-fam { position: relative; overflow: hidden; height: calc(52px * var(--k,1)); padding: 0 8px 0 12px; border-radius: 12px; background: #1F1F22; border: 1px solid #2E2E33; text-align: left; font: 800 13px 'Manrope', sans-serif; color: #F2EFEA; }
.nt-fam .acc { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fc); }
.nt-fam .sub { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; color: #A79F94; }
.nt-fam.on { background: linear-gradient(135deg, color-mix(in srgb, var(--fc) 20%, transparent), #1F1F22 75%); border-color: var(--fc); }
.nt-fam.dis { opacity: .32; }

/* variant chips */
.nt-vchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 16px; padding-left: 4px; }
.nt-vchip { height: calc(30px * var(--k,1)); padding: 0 14px; border: 1px solid var(--fc); transform: skewX(-18deg); border-radius: 5px; background: transparent; display: inline-flex; align-items: center; }
.nt-vchip span { transform: skewX(18deg); font: 800 12.5px 'Manrope', sans-serif; color: var(--fc); white-space: nowrap; }
.nt-vchip.on { border-color: transparent; background: linear-gradient(90deg, var(--fc), color-mix(in srgb, var(--fc) 70%, transparent)); }
.nt-vchip.on span { color: #fff; }
.nt-vchip.dis { opacity: .3; }
.nt-vnote { margin: 7px 16px 0; font-size: 11px; color: #8A8178; }

/* felts */
.nt-felts { display: flex; gap: 6px; margin: 0 16px; }
.nt-felts button { flex: 1; height: calc(40px * var(--k,1)); border-radius: 10px; border: 1px solid #2A2A2F; padding: 0; }
.nt-felts button.on { border: 2px solid #F5F3EF; }

/* seats */
.nt-seats { display: flex; justify-content: space-between; margin: 0 16px; }
.nt-seats button { width: 36px; height: 36px; border-radius: 18px; background: #1A1A1D; color: #F2EFEA; border: 1px solid #2A2A2F; font: 800 13.5px 'Manrope', sans-serif; padding: 0; }
.nt-seats button.on { background: #F5F3EF; color: #15120D; border: 0; }
.nt-seats button:disabled { opacity: .25; }

/* card + rows */
.nt-card { margin: 0 16px; padding: 0 12px; border-radius: 14px; background: #1F1F22; border: 1px solid #2E2E33; }
.nt-row { display: flex; align-items: center; gap: 10px; min-height: calc(38px * var(--k,1)); border-bottom: 1px solid #202024; }
.nt-card > .nt-row:last-child, .nt-card > div:last-child > .nt-row:last-child { border-bottom: 0; }
.nt-row .lb { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: #F2EFEA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-row .lb small { font-size: 11px; font-weight: 600; color: #8A8178; }
.nt-row.dis > * { opacity: .32; }
.nt-val { font-size: 13.5px; font-weight: 800; color: #F5F3EF; white-space: nowrap; }
.nt-val small { font-size: 10.5px; color: #8A8178; font-weight: 700; }
.nt-dv { font-size: 13.5px; font-weight: 800; color: #F2EFEA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62%; }
.nt-dv small { font-size: 11px; color: #8A8178; }

.nt-bighead { display: flex; align-items: baseline; justify-content: space-between; padding-top: calc(10px * var(--k,1)); gap: 10px; }
.nt-bighead .lbl { font-size: 13.5px; font-weight: 700; }
.nt-bighead .big { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nt-bighead .big small { font-size: 12px; color: #8A8178; }
.nt-lencard .nt-bighead .big { font-size: 20px; }
.nt-bighead .aside { font-size: 12px; font-weight: 800; color: #F5F3EF; }
.nt-mini { font-size: 11px; color: #8A8178; margin-top: 2px; }
.nt-classes { display: flex; gap: 4px; margin: calc(10px * var(--k,1)) 0; }
.nt-classes button { flex: 1; min-width: 0; height: calc(28px * var(--k,1)); padding: 0; border-radius: 14px; background: #1A1A1D; border: 1px solid #2A2A2F; color: #F2EFEA; font: 700 11px 'Manrope', sans-serif; }
.nt-classes button.on { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); color: #F5F3EF; }
.nt-stakerow { padding-bottom: 6px; }
.nt-lenrow { display: flex; align-items: center; height: calc(40px * var(--k,1)); }
.nt-lenrow .sv { display: none; }
.nt-scale { display: flex; justify-content: space-between; padding: 0 0 8px; font-size: 10px; font-weight: 700; color: #8A8178; border-bottom: 1px solid #202024; }

/* slider */
.nt-slider { flex-shrink: 0; display: flex; align-items: center; gap: 8px; max-width: 52%; }
.nt-slider.wide { width: 100%; max-width: none; }
.nt-slider input { -webkit-appearance: none; appearance: none; flex: 1; min-width: 40px; height: 18px; margin: 0; background: transparent; cursor: pointer; }
.nt-slider input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #F5F3EF var(--p,0%), #2A2A2F var(--p,0%)); }
.nt-slider input::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #F5F3EF var(--p,0%), #2A2A2F var(--p,0%)); }
.nt-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 8px; background: #F2EFEA; border: 3px solid #F5F3EF; box-sizing: border-box; }
.nt-slider input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 8px; background: #F2EFEA; border: 3px solid #F5F3EF; box-sizing: border-box; }
.nt-slider .sv { min-width: 54px; text-align: right; font-size: 13px; font-weight: 800; color: #F5F3EF; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* stepper */
.nt-stepper { flex-shrink: 0; display: flex; align-items: center; gap: 2px; padding: 2px; border-radius: 10px; border: 1px solid #2A2A2F; }
.nt-stepper button { width: 28px; height: 28px; border-radius: 8px; border: 0; background: #1E1E22; color: #F2EFEA; font: 700 16px 'Manrope', sans-serif; padding: 0; }
.nt-stepper .v { min-width: 42px; padding: 0 2px; text-align: center; font-size: 13.5px; font-weight: 800; color: #F2EFEA; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nt-stepper .v small { font-size: 10px; color: #8A8178; }
.nt-when { color: #F5F3EF; }

/* switch */
.nt-sw { flex-shrink: 0; width: 42px; height: 24px; border-radius: 12px; border: 0; padding: 3px; background: #2A2A2D; display: flex; justify-content: flex-start; }
.nt-sw span { width: 18px; height: 18px; border-radius: 9px; background: #8A8178; }
.nt-sw.on { background: #F5F3EF; justify-content: flex-end; }
.nt-sw.on span { background: #15120D; }
.nt-sw.sm { width: 38px; height: 22px; border-radius: 11px; }
.nt-sw.sm span { width: 16px; height: 16px; border-radius: 8px; }

/* toggle tiles */
.nt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 16px; }
.nt-tile { display: flex; align-items: center; gap: 8px; height: calc(40px * var(--k,1)); min-height: 36px; padding: 0 10px; border-radius: 11px; background: #1F1F22; border: 1px solid #2E2E33; }
.nt-tile .lb { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: #F2EFEA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-tile.dis { opacity: .32; }
.nt-grid .nt-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nt-dim .nt-tile.dis { opacity: 1; }

/* payouts / prize rows */
.nt-prow { display: flex; align-items: center; justify-content: space-between; min-height: calc(30px * var(--k,1)); border-bottom: 1px solid #202024; font-size: 13.5px; font-weight: 800; }
.nt-prow:last-child { border-bottom: 0; }
.nt-prow em { font-style: normal; font-size: 12px; font-weight: 600; color: #A79F94; }
.nt-prow.hot span { color: #E879F9; }
.nt-pays .nt-prow span { color: #F2EFEA; }
.nt-pays .nt-prow.hot span { color: #E879F9; }

/* footer */
.nt-footer { flex-shrink: 0; display: flex; gap: 10px; padding: 10px 16px 16px; background: #161618; border-top: 1px solid #2E2E33; }
.nt-back { flex: 0 0 104px; height: 48px; border-radius: 12px; background: #1F1F22; border: 1px solid #2E2E33; color: #F2EFEA; font-size: 14px; font-weight: 800; }
.nt-next { flex: 1; height: 48px; border-radius: 12px; border: 0; background: #F5F3EF; color: #15120D; font-size: 14px; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.nt-next.busy { opacity: .55; }

/* done */
.nt-donewrap { padding-bottom: 24px; }
.nt-hero { display: flex; flex-direction: column; align-items: center; padding: 70px 24px 0; text-align: center; }
.nt-hero .ring { width: 76px; height: 76px; border-radius: 38px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; }
.nt-hero h1 { margin: 20px 0 0; font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; color: #F2EFEA; }
.nt-hero p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #A79F94; }
.nt-donesum { margin: 26px 16px 0; }
.nt-donesum .nt-sum { margin: 0 16px; }
.nt-detail { margin-top: 12px; }
.nt-actions { display: flex; flex-direction: column; gap: 10px; margin: 26px 16px 0; }
.nt-primary { height: 50px; border-radius: 12px; border: 0; background: #F5F3EF; color: #15120D; font-size: 14.5px; font-weight: 800; }
.nt-primary:disabled { background: #2A2A2F; color: #8A8178; }
.nt-two { display: flex; gap: 10px; }
.nt-ghost { flex: 1; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #F5F3EF; font-size: 13.5px; font-weight: 800; }
.nt-ghost:disabled { opacity: .35; }
.nt-link { height: 44px; background: none; border: 0; font-size: 13.5px; font-weight: 700; color: #A79F94; }
.nt-legal { text-align: center; font-size: 10.5px; color: #6E675F; margin-top: 4px; }

/* sheets */
.nt-sheet { padding: 6px 16px 10px; font-family: 'Manrope', sans-serif; color: #F2EFEA; }
.nt-sheet .nt-cap { margin-left: 0; }
.nt-trow { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid #2A2A2F; }
.nt-trow .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nt-trow .tx b { font-size: 14px; }
.nt-trow .tx span { font-size: 11.5px; color: #8A8178; }
.nt-chipbtn { height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #F5F3EF; font: 800 12px 'Manrope', sans-serif; }
.nt-chipbtn.dim { border-color: #2E2E33; color: #8A8178; }
.nt-empty { padding: 22px 0; text-align: center; font-size: 13px; color: #8A8178; line-height: 1.5; }

@media (max-width: 380px) {
  .nt-seats button { width: 32px; height: 32px; border-radius: 16px; }
  .nt-row .lb { font-size: 12.5px; }
  .nt-slider .sv { min-width: 46px; font-size: 12px; }
  .nt-tile .lb { font-size: 11.5px; white-space: normal; line-height: 1.15; }
  .nt-prog { gap: 6px; }
  .nt-prog .t { font-size: 10.5px; }
}

/* table name: obviously editable (owner 2026-10-06) */
.nt-namef { position: relative; display: block; }
.nt-namef .nt-input { padding-right: 44px; border-color: rgba(255,255,255,.45); }
.nt-namef .nt-input:focus { border-color: #F5F3EF; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.nt-namei { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); color: #F5F3EF; pointer-events: none; display: flex; }
.nt-namehint { margin: 6px 18px 0; font: 600 11px Manrope, sans-serif; color: #8A8178; }
.nt-rep .nt-seg { min-width: 196px; }

/* ---- clean theme (owner 2026-10-07: no gold in table setup, variant A tabs) ---- */
.nt-sky { display: none; }
.nt-tabs { gap: 20px; padding: 4px 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); margin: 0 0 10px; }
.nt-tabs button { flex: 0 0 auto; position: relative; padding: 8px 0 10px; cursor: pointer; }
.nt-tabs .t { font-size: 13.5px; color: #6B6E75; }
.nt-tabs .cur .t { color: #F5F3EF; }
.nt-tabs .cur::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #F5F3EF; }
.nt-seg button.on { background: #F5F3EF; border-color: transparent; color: #0B0C0E; }
.nt-classes button.on { background: #F5F3EF; border-color: transparent; color: #0B0C0E; }
.nt-sw.on { background: #1E9E6A; }
.nt-sw.on span { background: #fff; }
.nt-val, .nt-slider .sv, .nt-bighead .aside, .nt-when, .nt-sum .st { color: #F5F3EF; }
.nt-sum .tg { color: #A6A8AE; }
.nt-tpl, .nt-ghost, .nt-chipbtn { border-color: rgba(255,255,255,.14); color: #F5F3EF; }
.nt-slider input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #A6A8AE var(--p,0%), #2A2A2F var(--p,0%)); }
.nt-slider input::-moz-range-track { background: linear-gradient(90deg, #A6A8AE var(--p,0%), #2A2A2F var(--p,0%)); }
.nt-slider input::-webkit-slider-thumb { border-color: #fff; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.nt-slider input::-moz-range-thumb { border-color: #fff; background: #fff; }
/* brand rule 2026-10-07: champagne = logo + the one primary action; selections neutral */
.nt-next, .nt-primary { background: #D4B98A; color: #15120D; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.nt-back { flex: 0 0 132px; }
.nt-screen { background: #0B0C0E; }
.nt-head h1 { font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 800; text-align: center; }

/* templates sheet: Load · Open · Delete fit at 300px */
.nt-trow .nt-chipbtn { flex: none; }
@media (max-width: 380px) { .nt-trow { flex-wrap: wrap; } .nt-trow .tx { flex-basis: 100%; } .nt-chipbtn { padding: 0 10px; } }
