.ntsm-wrap{max-width:1600px}.ntsm-head{display:flex;justify-content:space-between;align-items:center}.ntsm-head h1{margin-bottom:2px}.ntsm-head p{margin-top:0;color:#646970}.ntsm-stats{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px;margin:18px 0}.ntsm-stats>div,.ntsm-toolbar,.ntsm-legend{background:#fff;border:1px solid #dcdcde;border-radius:10px}.ntsm-stats>div{padding:16px}.ntsm-stats b{display:block;font-size:26px}.ntsm-stats span{color:#646970}.ntsm-toolbar,.ntsm-legend{padding:12px 16px;margin:12px 0;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.ntsm-legend i{display:inline-block;width:16px;height:16px;border-radius:50%;vertical-align:-3px;margin-right:6px}.ntsm-legend .available{background:#43a047}.ntsm-legend .cheap{background:#ffb51b}.ntsm-legend .reserved{background:#4d9bea}.ntsm-legend .sold{background:#ef4f4f}.ntsm-legend .vip{background:#9138df}.ntsm-map-card{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:18px;overflow:auto}.ntsm-hall{position:relative;min-width:1320px;padding:12px 80px 76px;background:linear-gradient(#f7f7f7,#fff);border-radius:10px}.ntsm-stage{margin:0 auto 28px;max-width:760px;background:#203e67;color:#fff;text-align:center;padding:16px;border-radius:7px;font-weight:700;letter-spacing:5px}.ntsm-upper,.ntsm-lower{width:100%}.ntsm-lower{width:84%;margin:0 auto}.ntsm-row{display:flex;align-items:center;margin:6px 0}.ntsm-row-label{width:62px;font-size:11px;font-weight:700;color:#536070;text-align:right;margin-right:12px;flex:none}.ntsm-seatline{display:flex;align-items:center;gap:5px;justify-content:center;flex:1}.ntsm-seat{width:29px;height:29px;border:0;border-radius:50%;color:#fff;font-size:9px;cursor:pointer;padding:0;box-shadow:inset 0 -1px 0 rgba(0,0,0,.2)}.ntsm-seat.available{background:#43a047}.ntsm-seat.available.cheap{background:#ffb51b;color:#263238}.ntsm-seat.reserved{background:#4d9bea}.ntsm-seat.sold{background:#ef4f4f}.ntsm-seat.vip{background:#9138df}.ntsm-seat.ntsm-highlight{box-shadow:0 0 0 4px #111;transform:scale(1.1)}.ntsm-aisle{width:38px;flex:none}.ntsm-row.row-15 .ntsm-aisle.gap-2{width:265px}.ntsm-wide-aisle{margin:16px auto 22px;width:82%;height:42px;border-top:2px solid #d1d5da;border-bottom:2px solid #d1d5da;display:flex;align-items:center;justify-content:center;color:#40536d;font-weight:700}.ntsm-tech{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);background:#dfe3e7;border:1px solid #c3c7cb;border-radius:5px;padding:9px 45px;text-align:center;font-weight:700;color:#304b6b}.ntsm-tech small{font-weight:400}.ntsm-side-stairs{position:absolute;top:65px;color:#34495e;font-size:10px;font-weight:700;line-height:1.2}.ntsm-side-stairs.left{left:10px}.ntsm-side-stairs.right{right:10px;text-align:right}.ntsm-exit{position:absolute;top:275px;color:#34495e;font-size:11px;font-weight:700}.ntsm-exit.left{left:8px}.ntsm-exit.right{right:8px}.ntsm-entry{position:absolute;bottom:12px;color:#34495e;font-size:11px;font-weight:700}.ntsm-entry.left{left:45px}.ntsm-entry.right{right:45px}.ntsm-modal[hidden]{display:none}.ntsm-modal{position:fixed;inset:0;background:rgba(0,0,0,.35);display:grid;place-items:center;z-index:100000}.ntsm-modal-card{position:relative;background:#fff;border-radius:12px;padding:24px;width:min(430px,90vw);box-shadow:0 20px 50px rgba(0,0,0,.25)}.ntsm-x{position:absolute;right:10px;top:8px;border:0;background:none;font-size:28px;cursor:pointer}.ntsm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ntsm-actions button{padding:12px;border:1px solid #c3c4c7;background:#f6f7f7;border-radius:7px;cursor:pointer}@media(max-width:900px){.ntsm-stats{grid-template-columns:repeat(2,1fr)}}
.ntsm-orders td{vertical-align:middle}.ntsm-paid{display:inline-block;background:#dff5e5;color:#176b34;padding:4px 9px;border-radius:12px;font-weight:600}.ntsm-unpaid{display:inline-block;background:#f4f4f4;padding:4px 9px;border-radius:12px}.ntsm-order-result{margin-top:8px}.ntsm-orders .button{margin-bottom:4px}
.ntsm-manual-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:100001;display:flex;align-items:center;justify-content:center;padding:24px}.ntsm-manual-box{background:#fff;width:min(1200px,96vw);max-height:92vh;overflow:auto;border-radius:12px;padding:20px}.ntsm-manual-head{display:flex;justify-content:space-between;gap:15px;align-items:center;position:sticky;top:-20px;background:#fff;padding:10px 0;z-index:2}.ntsm-manual-grid{display:grid;gap:7px}.ntsm-manual-row{display:flex;gap:5px;align-items:center;justify-content:center}.ntsm-manual-label{width:55px;font-weight:700}.ntsm-manual-seat{width:32px;height:32px;border-radius:50%;border:0;background:#43a047;color:#fff;cursor:pointer;font-size:10px}.ntsm-manual-seat.selected{outline:4px solid #111;transform:scale(1.08)}.ntsm-manual-gap{width:36px}.ntsm-manual-row.r15 .ntsm-manual-gap{width:220px}.ntsm-customer-card{background:#f6f7f7;border-left:4px solid #3858e9;padding:8px 12px;margin:8px 0;border-radius:4px}
.ntsm-physical-overlay{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:100002;display:flex;align-items:center;justify-content:center;padding:20px}.ntsm-physical-box{background:#fff;width:min(1450px,97vw);max-height:94vh;overflow:auto;border-radius:12px;padding:20px}.ntsm-physical-content{display:grid;grid-template-columns:minmax(800px,1fr) 320px;gap:24px;align-items:start}.ntsm-physical-form{position:sticky;top:65px;background:#f6f7f7;border:1px solid #dcdcde;border-radius:10px;padding:16px}.ntsm-physical-form label{display:block;font-weight:600;margin:10px 0}.ntsm-physical-form input[type=text],.ntsm-physical-form input[type=email],.ntsm-physical-form input[type=number],.ntsm-physical-form select,.ntsm-physical-form textarea{width:100%;margin-top:5px}.ntsm-physical-form .ntsm-check{font-weight:400}.ntsm-physical-form #ntsm-phys-save{width:100%;margin-top:8px}@media(max-width:1100px){.ntsm-physical-content{grid-template-columns:1fr}.ntsm-physical-form{position:static}}
/* v0.6 physical-sale map uses exactly the same hall geometry as the main map */
.ntsm-physical-box{width:min(1740px,98vw)}
.ntsm-physical-content{grid-template-columns:minmax(1050px,1fr) 340px}
.ntsm-phys-map-card{padding:12px;overflow:auto}
.ntsm-phys-map-card .ntsm-hall{min-width:1320px}
.ntsm-phys-disabled{cursor:not-allowed;opacity:1}
.ntsm-phys-seat.selected{box-shadow:0 0 0 4px #111;transform:scale(1.1)}
@media(max-width:1350px){.ntsm-physical-content{grid-template-columns:1fr}.ntsm-physical-form{position:static}}
/* v0.7: manual online seat picker uses the same full hall map as physical sales */
.ntsm-manual-full{width:min(1760px,98vw);max-width:none;}
.ntsm-manual-full .ntsm-phys-map-card{margin-top:12px;}
/* v0.8 secure frontend portal */
.ntsm-portal-shell{max-width:1500px;margin:20px auto;padding:0 14px;box-sizing:border-box}.ntsm-portal-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ntsm-portal-top h1{margin:0}.ntsm-portal-top p{margin:4px 0 0}.ntsm-portal-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.ntsm-portal-nav a{padding:11px 15px;border-radius:9px;text-decoration:none;background:#eef2f7;color:#1f2937;font-weight:700}.ntsm-portal-nav a.active{background:#2271b1;color:#fff}.ntsm-portal-login{max-width:520px;margin:60px auto;padding:28px;background:#fff;border:1px solid #dcdcde;border-radius:14px;text-align:center}.ntsm-portal-shell .wrap{margin:0}.ntsm-portal-shell .notice{margin-left:0}.ntsm-portal-shell table{background:#fff}
@media(max-width:782px){.ntsm-portal-shell{padding:0 8px}.ntsm-portal-top{align-items:flex-start}.ntsm-portal-top h1{font-size:24px}.ntsm-portal-nav a{flex:1;text-align:center;min-width:130px}.ntsm-toolbar{display:flex;flex-wrap:wrap;gap:8px}.ntsm-toolbar .button{min-height:44px}.ntsm-map-card{overflow-x:auto;-webkit-overflow-scrolling:touch}.ntsm-hall{min-width:1050px}.ntsm-physical-box,.ntsm-manual-box{width:98vw!important;max-width:none!important;height:94vh;overflow:auto}.ntsm-physical-content{grid-template-columns:1fr!important}.ntsm-physical-form{position:static!important}.ntsm-wrap table.widefat{display:block;overflow-x:auto;white-space:nowrap}.ntsm-order-suggest,.ntsm-order-manual,.ntsm-order-confirm{min-height:42px;margin:2px}}

/* v0.10 readability, pickup state and physical-sale panel */
.ntsm-physical-overlay{background:rgba(15,23,42,.46)}
.ntsm-physical-box{background:#fff;color:#172033}
.ntsm-physical-form{background:#fff!important;color:#172033!important;border:1px solid #d7dee8!important;box-shadow:0 8px 28px rgba(15,23,42,.10)}
.ntsm-physical-form h3,.ntsm-physical-form label{color:#172033!important}
.ntsm-physical-form input,.ntsm-physical-form select,.ntsm-physical-form textarea{background:#fff!important;color:#172033!important;border:1px solid #b9c3d0!important;min-height:42px}
.ntsm-physical-form textarea{min-height:88px}
.ntsm-physical-form #ntsm-phys-save{background:#1f9d55!important;border-color:#1f9d55!important;color:#fff!important;font-weight:700;min-height:46px}
.ntsm-picked{display:inline-block;background:#dff5e5;color:#176b34;padding:4px 9px;border-radius:12px;font-weight:700}
.ntsm-not-picked{display:inline-block;background:#fff0f0;color:#a61b1b;padding:4px 9px;border-radius:12px;font-weight:700;margin-bottom:5px}
.ntsm-orders th,.ntsm-orders td{padding:12px 10px}
/* v0.12 ticket categories for physical sales */
.ntsm-ticket-types{display:grid;grid-template-columns:1fr;gap:8px;margin:6px 0 10px}.ntsm-ticket-types label{display:grid!important;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;padding:9px 10px;border:1px solid #d7dee8;border-radius:8px;background:#f8fafc}.ntsm-ticket-types label small{font-weight:400;color:#5d6878}.ntsm-ticket-types input{grid-column:1/3;width:100%!important;margin-top:6px!important}.ntsm-ticket-check{padding:9px 10px;border-radius:7px;background:#fff3cd;color:#664d03;margin-bottom:10px}.ntsm-ticket-check.ok{background:#d1e7dd;color:#0f5132}.ntsm-ticket-check.bad{background:#fff3cd;color:#664d03}

/* v0.13.2 cleaner dashboard and unified orders */
.ntsm-main-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0;padding:18px;background:#fff;border-radius:14px}
.ntsm-action-card{appearance:none;border:0;text-decoration:none!important;background:#f2f5fa;color:#1e293b!important;font-weight:700;font-size:16px;padding:14px 20px;border-radius:12px;cursor:pointer;box-shadow:none}
.ntsm-action-card.primary{background:#3977bd;color:#fff!important}.ntsm-action-card:hover{filter:brightness(.97)}.ntsm-action-card.compact{padding:11px 16px;white-space:nowrap}
.ntsm-orders-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.ntsm-orders-head h1{margin-bottom:4px}.ntsm-orders-head p{margin:0;color:#64748b}
.ntsm-order-tools{display:flex;justify-content:space-between;gap:14px;align-items:center;background:#fff;padding:14px;border-radius:14px;margin:14px 0}.ntsm-filter-tabs{display:flex;gap:7px;flex-wrap:wrap}.ntsm-filter-tabs button{border:0;border-radius:999px;padding:9px 13px;background:#eef2f7;cursor:pointer;font-weight:600}.ntsm-filter-tabs button.active{background:#3977bd;color:#fff}#ntsm-order-search{min-width:290px;padding:10px 13px;border:1px solid #ccd5e1;border-radius:10px}
.ntsm-orders-table-wrap{overflow-x:auto;background:#fff;border-radius:14px}.ntsm-orders-clean{border:0!important}.ntsm-orders-clean th{padding:15px 12px!important;background:#f7f9fc;font-weight:700}.ntsm-orders-clean td{padding:14px 12px!important;vertical-align:middle;border-bottom:1px solid #edf0f4}.ntsm-orders-clean tr:last-child td{border-bottom:0}.ntsm-source{display:inline-block;padding:6px 9px;border-radius:8px;font-weight:700;white-space:nowrap}.ntsm-source.online{background:#eaf2ff;color:#245da0}.ntsm-source.physical{background:#f3eafb;color:#7137a8}.ntsm-row-actions{min-width:185px}.ntsm-row-actions .button{margin:2px 3px 2px 0}.ntsm-order-result{margin-top:7px;font-size:13px}.ntsm-done{color:#16713b;font-weight:700}
.ntsm-preview-overlay{position:fixed;inset:0;background:rgba(15,23,42,.62);z-index:100000;overflow:auto;padding:24px}.ntsm-preview-box{background:#fff;max-width:1600px;margin:0 auto;border-radius:16px;padding:20px;min-width:1000px}.ntsm-preview-note{color:#526273}.ntsm-preview-highlight{outline:5px solid #2563eb!important;outline-offset:2px;box-shadow:0 0 0 3px #fff!important}
@media(max-width:782px){.ntsm-main-actions{display:grid;grid-template-columns:1fr 1fr;padding:12px}.ntsm-action-card{font-size:14px;padding:13px 10px;text-align:center}.ntsm-orders-head,.ntsm-order-tools{align-items:stretch;flex-direction:column}#ntsm-order-search{min-width:0;width:100%}.ntsm-orders-clean{min-width:1050px}.ntsm-preview-overlay{padding:8px}.ntsm-preview-box{padding:12px}}

/* v0.13.3 compact checkbox, calculated total and settings */
.ntsm-physical-form .ntsm-check{display:flex!important;align-items:center;gap:9px;line-height:1.3;margin:14px 0!important}
.ntsm-physical-form .ntsm-check input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;margin:0!important;padding:0!important;box-shadow:none!important;flex:0 0 18px}
.ntsm-physical-form #ntsm-phys-amount{font-weight:700;background:#f2f5f8!important;cursor:default}
.ntsm-settings{max-width:900px}.ntsm-settings-card{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:20px 24px;margin:18px 0;box-shadow:0 2px 8px rgba(0,0,0,.04)}.ntsm-settings-card h2{margin-top:0}.ntsm-danger-card{border-left:4px solid #d63638}.ntsm-danger-card hr{margin:20px 0}.ntsm-danger-card .button{min-width:220px}.ntsm-reset-ok{margin-top:15px;padding:10px 12px;background:#edfaef;border-left:4px solid #00a32a}.ntsm-reset-error{margin-top:15px;padding:10px 12px;background:#fcf0f1;border-left:4px solid #d63638}
/* v0.13.4 order management */
.ntsm-cancelled{display:inline-block;background:#f3f4f6;color:#6b7280;padding:5px 9px;border-radius:10px;font-weight:700}.ntsm-row-actions .ntsm-cancel-order,.ntsm-row-actions .ntsm-cancel-physical{border-color:#d97706;color:#92400e}.ntsm-row-actions .ntsm-delete-order,.ntsm-row-actions .ntsm-delete-physical{border-color:#dc2626;color:#b91c1c}.ntsm-row-actions .ntsm-reset-order-seats,.ntsm-row-actions .ntsm-reset-physical-seats{border-color:#2563eb;color:#1d4ed8}

/* v0.13.8 order activity history */
.ntsm-row-actions .ntsm-info{border-color:#64748b;color:#334155;font-weight:600}
.ntsm-history-overlay{position:fixed;inset:0;background:rgba(15,23,42,.58);z-index:100010;display:flex;align-items:center;justify-content:center;padding:18px}
.ntsm-history-box{background:#fff;width:min(650px,96vw);max-height:86vh;overflow:auto;border-radius:16px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.22)}
.ntsm-history-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #e5e7eb;padding-bottom:14px}.ntsm-history-head h2{margin:0 0 4px}.ntsm-history-head p{margin:0;color:#64748b}
.ntsm-history-list{padding-top:8px}.ntsm-history-item{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:13px 0;border-bottom:1px solid #eef2f7}.ntsm-history-item:last-child{border-bottom:0}.ntsm-history-dot{width:24px;height:24px;border-radius:50%;background:#e8f5ed;color:#16713b;display:flex;align-items:center;justify-content:center;font-weight:800}.ntsm-history-title{font-weight:700;color:#172033}.ntsm-history-meta{font-size:12px;color:#64748b;margin-top:2px}.ntsm-history-details{font-size:13px;color:#475569;margin-top:5px}.ntsm-history-empty{padding:22px;text-align:center;color:#64748b}

/* v0.13.71 DEV: keep the physical booking form beside the hall at 100% desktop zoom.
   The hall retains its full seat geometry and scrolls inside the left pane. */
@media (min-width: 1101px) {
  .ntsm-physical-box { width: min(1740px, 98vw); box-sizing: border-box; }
  .ntsm-physical-content {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
  }
  .ntsm-physical-content > * { min-width: 0; }
  .ntsm-phys-map-card { min-width: 0; max-width: 100%; overflow-x: auto; }
  .ntsm-physical-form { min-width: 0; position: sticky; top: 65px; }
}
@media (min-width: 1101px) and (max-width: 1350px) {
  .ntsm-physical-content { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); }
  .ntsm-physical-form { position: sticky; top: 65px; }
}

/* 0.13.73: cancelled records clearly visible on desktop and mobile */
.ntsm-orders-clean tr.ntsm-cancelled-row td{background:#fff0f0!important;border-bottom-color:#f1c4c4!important}.ntsm-orders-clean tr.ntsm-cancelled-row td:first-child{border-left:5px solid #b42336}.ntsm-orders-clean tr.ntsm-cancelled-row .ntsm-cancelled{background:#b42336;color:#fff;font-weight:800}.ntsm-orders-clean tr.ntsm-cancelled-row td:nth-child(3)::after{content:"OTKAZANO";display:inline-block;margin-top:5px;padding:3px 7px;background:#b42336;color:#fff;border-radius:5px;font-weight:800;font-size:11px}

.ntsm-original-order{display:inline-block;margin-top:4px;color:#7a2437;font-size:12px;white-space:nowrap}

.ntsm-card-amount{display:inline-block;margin-top:5px;font-weight:700;color:#243f69;font-size:14px;}
#ntsm-phys-amount{font-weight:700;font-size:17px;background:#eef3fb;}

/* DEV: visible order amount for online and physical reservations */
.ntsm-card-amount{margin:6px 0 4px;font-size:13px;color:#30435b;white-space:nowrap}.ntsm-card-amount strong{font-weight:800;color:#1d3557;font-size:14px}

/* v0.13.80 DEV: consistent payment status and single amount for all reservations */
.ntsm-orders-clean td.ntsm-payment-cell{min-width:170px;vertical-align:middle}
.ntsm-payment-layout{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.ntsm-payment-cell .ntsm-card-amount{display:flex;flex-direction:column;gap:2px;margin:0;white-space:nowrap;line-height:1.35}
.ntsm-payment-cell .ntsm-card-amount span{font-size:11px;font-weight:500;color:#64748b}
.ntsm-payment-cell .ntsm-card-amount strong{font-size:15px;font-weight:800;color:#243f69}
@media(max-width:782px){.ntsm-orders-clean td.ntsm-payment-cell{min-width:0}.ntsm-payment-layout{gap:7px}.ntsm-payment-cell .ntsm-card-amount strong{font-size:14px}}

/* v0.13.81: compact ticket breakdown; hide zero-quantity types */
.ntsm-ticket-card{display:flex;flex-direction:column;gap:5px;min-width:125px}
.ntsm-ticket-card-total{display:block;font-size:15px;line-height:1.35;font-weight:800;color:#243f69}
.ntsm-ticket-card-types{display:flex;flex-direction:column;gap:3px}
.ntsm-ticket-card-types span{display:block;font-size:12px;line-height:1.4;color:#4b5563;white-space:nowrap}
.ntsm-ticket-card-types b{font-weight:700;color:#243f69}
@media(max-width:782px){.ntsm-ticket-card{min-width:0}.ntsm-ticket-card-types span{white-space:normal}}

/* v0.13.84: legend for assigned VIP seats, matches seat map. */
.ntsm-legend .vip-assigned{background:#cbb5e8;box-shadow:inset 0 0 0 1px #a78bc9}

/* v0.13.85: guest-only VIP reservation */
.ntsm-seat.reserved.vip-guest{background:#cbb5e8!important;color:#35234c!important;box-shadow:inset 0 0 0 1px #a78bc9}
.ntsm-vip-buttons{display:flex;flex-wrap:wrap;gap:8px}
#ntsm-vip-error{color:#b42318}

.ntsm-vip-multi-tools{margin:12px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ntsm-seat.ntsm-vip-selected{outline:3px solid #33215e!important;outline-offset:2px;box-shadow:0 0 0 5px #e6d6fa!important}

/* v0.13.91: consistent VIP assignment coloring in all seat selection maps */
.ntsm-seat.vip-assigned-seat,.ntsm-seat.vip-assigned-seat:disabled{background:#cbb5e8!important;color:#35234c!important;box-shadow:inset 0 0 0 1px #a78bc9!important;opacity:1!important;}
/* 0.13.96: Existing hall blocks, labeled without shifting seats. */
.ntsm-section-guide{display:flex;justify-content:space-around;gap:18px;margin:10px auto 6px;max-width:96%;font-size:12px;font-weight:800;letter-spacing:.045em;color:#283b58;text-align:center}
.ntsm-section-guide span{flex:1;background:#eaf0f7;border:1px solid #d3dce7;border-radius:7px;padding:5px 3px}

/* v0.13.98 — Align the stage and labels to the seat area, not the row-name gutter.
   Seats retain their original flex layout, gap widths and identifiers. */
.ntsm-hall {--ntsm-row-gutter:74px;}
.ntsm-stage {position:relative;left:calc(var(--ntsm-row-gutter) / 2);}
.ntsm-section-guide {width:calc(100% - var(--ntsm-row-gutter));max-width:none;margin:10px 0 6px var(--ntsm-row-gutter);box-sizing:border-box;}
/* Rear section markers follow the narrower rear seating block. */
.ntsm-wide-aisle + .ntsm-section-guide {width:calc(84% - var(--ntsm-row-gutter));margin-left:calc(8% + var(--ntsm-row-gutter));}

/* v0.13.99 DEV: same hall geometry and seat status palette on desktop and mobile.
   Visual-only rules; do not alter seat identifiers, VIP designations or order data. */
.ntsm-map-card .ntsm-hall,
.ntsm-phys-map-card .ntsm-hall { min-width:1320px; box-sizing:border-box; }
.ntsm-map-card .ntsm-seat,
.ntsm-phys-map-card .ntsm-seat { flex:0 0 29px; opacity:1; -webkit-appearance:none; appearance:none; }
.ntsm-map-card .ntsm-seat.available:not(.cheap):not(.vip-assigned-seat),
.ntsm-phys-map-card .ntsm-seat.available:not(.cheap):not(.vip-assigned-seat) { background:#43a047 !important; color:#fff !important; }
.ntsm-map-card .ntsm-seat.cheap:not(.vip-assigned-seat),
.ntsm-phys-map-card .ntsm-seat.cheap:not(.vip-assigned-seat) { background:#ffb51b !important; color:#263238 !important; }
.ntsm-map-card .ntsm-seat.reserved:not(.vip-assigned-seat):not(.vip-guest),
.ntsm-phys-map-card .ntsm-seat.reserved:not(.vip-assigned-seat):not(.vip-guest) { background:#4d9bea !important; color:#fff !important; }
.ntsm-map-card .ntsm-seat.sold:not(.vip-assigned-seat),
.ntsm-phys-map-card .ntsm-seat.sold:not(.vip-assigned-seat) { background:#ef4f4f !important; color:#fff !important; }
.ntsm-map-card .ntsm-seat.vip:not(.vip-assigned-seat),
.ntsm-phys-map-card .ntsm-seat.vip:not(.vip-assigned-seat) { background:#9138df !important; color:#fff !important; }
.ntsm-map-card .ntsm-seat.vip-assigned-seat,
.ntsm-phys-map-card .ntsm-seat.vip-assigned-seat,
.ntsm-map-card .ntsm-seat.vip-guest,
.ntsm-phys-map-card .ntsm-seat.vip-guest { background:#cbb5e8 !important; color:#35234c !important; box-shadow:inset 0 0 0 1px #a78bc9 !important; opacity:1 !important; }
@media(max-width:782px) {
 .ntsm-map-card,.ntsm-phys-map-card { overflow-x:auto; -webkit-overflow-scrolling:touch; }
 .ntsm-map-card .ntsm-hall,.ntsm-phys-map-card .ntsm-hall { min-width:1320px !important; }
 .ntsm-map-card .ntsm-seat:disabled,.ntsm-phys-map-card .ntsm-seat:disabled { opacity:1 !important; -webkit-text-fill-color:currentColor; }
 .ntsm-legend i { flex:none; }
}

/* v0.14.00 DEV: section headings use the same measured seat widths and aisle as seating rows.
   Upper seats: 18 x 29px + 17 x 5px = 607px each block; lower: 15 x 29px + 14 x 5px = 505px.
   Center both blocks in the same seatline area (after 74px row label gutter). */
.ntsm-map-card .ntsm-section-guide, .ntsm-phys-map-card .ntsm-section-guide {
  display:flex;justify-content:center;align-items:stretch;gap:43px;
  margin:10px 0 6px 74px;width:calc(100% - 74px);max-width:none;box-sizing:border-box;
}
.ntsm-map-card .ntsm-section-guide span, .ntsm-phys-map-card .ntsm-section-guide span {
  flex:0 0 607px;box-sizing:border-box;
}
.ntsm-map-card .ntsm-wide-aisle + .ntsm-section-guide,
.ntsm-phys-map-card .ntsm-wide-aisle + .ntsm-section-guide {
  width:calc(84% - 74px); margin-left:calc(8% + 74px);gap:43px;
}
.ntsm-map-card .ntsm-wide-aisle + .ntsm-section-guide span,
.ntsm-phys-map-card .ntsm-wide-aisle + .ntsm-section-guide span {flex-basis:505px;}

/* v0.14.01 DEV — One identical seat hall coordinate system on desktop and mobile.
   The viewport scrolls; the stage, rows, aisles and color/status classes never reflow. */
.ntsm-map-card, .ntsm-phys-map-card {
  max-width:100%; min-width:0; overflow-x:auto; overflow-y:auto;
  -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain;
}
.ntsm-map-card > .ntsm-hall,
.ntsm-phys-map-card > .ntsm-hall {
  box-sizing:border-box!important; width:1600px!important; min-width:1600px!important;
  max-width:none!important; flex:none!important;
}
.ntsm-map-card .ntsm-upper, .ntsm-map-card .ntsm-lower,
.ntsm-phys-map-card .ntsm-upper, .ntsm-phys-map-card .ntsm-lower {
  flex:none;
}
.ntsm-map-card .ntsm-seat, .ntsm-phys-map-card .ntsm-seat {
  box-sizing:border-box; flex:0 0 29px!important; width:29px!important;
  height:29px!important; min-width:29px!important; min-height:29px!important;
  border-radius:50%!important; transform-origin:center;
}
.ntsm-map-card .ntsm-row-label, .ntsm-phys-map-card .ntsm-row-label {
  width:62px!important; flex:0 0 62px!important; margin-right:12px!important;
}
.ntsm-map-card .ntsm-aisle.gap-1, .ntsm-phys-map-card .ntsm-aisle.gap-1 {
  width:38px!important; flex:0 0 38px!important;
}
.ntsm-map-card .ntsm-row.row-15 .ntsm-aisle.gap-2,
.ntsm-phys-map-card .ntsm-row.row-15 .ntsm-aisle.gap-2 {
  width:265px!important; flex:0 0 265px!important;
}
.ntsm-map-card .ntsm-seat:disabled, .ntsm-phys-map-card .ntsm-seat:disabled {
  opacity:1!important; -webkit-text-fill-color:currentColor;
}
@media(max-width:782px) {
  /* Preserve full desktop dimensions; scroll the inner map rather than squeeze the seats. */
  .ntsm-map-card > .ntsm-hall, .ntsm-phys-map-card > .ntsm-hall {
    width:1600px!important; min-width:1600px!important;
  }
}

/* v0.14.02: measured section headings are laid directly over the actual seat blocks. */
.ntsm-hall .ntsm-section-guide { box-sizing:border-box; overflow:visible; }
.ntsm-hall .ntsm-section-guide span { white-space:nowrap; min-height:32px; }

/* v0.14.03 DEV — Assigned VIP remains pale lilac even when a status style
   or a narrower/mobile stylesheet takes precedence. Only seats explicitly
   designated VIP and currently reserved/sold are affected. */
.ntsm-map-card .ntsm-seat[data-vip-designated="1"].reserved,
.ntsm-map-card .ntsm-seat[data-vip-designated="1"].sold,
.ntsm-map-card .ntsm-seat.vip-assigned-seat,
.ntsm-phys-map-card .ntsm-seat.vip-assigned-seat,
.ntsm-seat.vip-assigned-seat:disabled {
 background-color:#cbb5e8 !important; color:#35234c !important;
 -webkit-text-fill-color:#35234c !important;
 box-shadow:inset 0 0 0 1px #a78bc9 !important; opacity:1 !important;
}

/* Larger, clearer section label in assigned seats (DEV 0.14.04) */
.ntsm-assigned .ntsm-assigned-section{display:inline-block;font-size:15px;font-weight:700;line-height:1.65;color:#243d65;margin:2px 0 5px;}

/* DEV v0.14.09: gray blocked seats, consistent in all map variants */
.ntsm-seat.blocked,.ntsm-seat.blocked:disabled,.ntsm-map-card .ntsm-seat.blocked,.ntsm-phys-map-card .ntsm-seat.blocked{background:#80868e!important;color:#fff!important;opacity:1!important;box-shadow:inset 0 0 0 1px #686e76!important;cursor:not-allowed;}
.ntsm-legend .blocked{background:#80868e!important;}
.ntsm-stats{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));}

/* DEV v0.14.15: small mobile-only pickup control; original card layout unchanged. */
.ntsm-quick-pickup{display:none!important}
@media(max-width:782px){
 .ntsm-quick-pickup{display:inline-flex!important;align-items:center;justify-content:center;max-width:210px;width:auto!important;min-height:34px!important;padding:5px 12px!important;font-size:13px!important;font-weight:650;line-height:1.25;white-space:normal;vertical-align:middle;margin:7px 6px 7px 0!important}
 .ntsm-quick-pickup:disabled{opacity:.65;cursor:not-allowed}
}
