.map-layout-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 3px 0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}
.map-layout-options[hidden], .map-editor-lock-notice[hidden] { display: none !important; }
.map-layout-options button {
  min-height: 33px;
  padding: 6px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font: 700 11px "DM Sans";
  cursor: pointer;
}
.map-layout-options button.is-active { border-color: #2563eb; background: #2563eb; color: #fff; }
.map-layout-options button:disabled, .map-tool-button:disabled, .map-preset-slot:disabled { cursor: not-allowed; }
.map-editor-lock-notice {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 11px;
}
.table-map-stage[data-area="salao"] { aspect-ratio: 913 / 957; }
.table-map-stage[data-area="mezanino"] { aspect-ratio: 925 / 960; }
.table-map-editor[data-area="salao"][data-layout="6x4"] { background-image: url("salao-grade-6x4.png"); }
.table-map-editor[data-area="salao"][data-layout="6x5"] { background-image: url("salao-grade-6x5.png"); }
.table-map-editor[data-area="salao"][data-layout="7x5"] { background-image: url("salao-grade-7x5.png"); }
.table-map-editor[data-area="salao"][data-layout="8x5"] { background-image: url("salao-grade-8x5.png"); }
.table-map-editor[data-area="mezanino"][data-layout="13"] { background-image: url("mezanino-grade-13.png"); }
.table-sector-pricing{display:grid;gap:9px;padding:11px 12px;border:1px solid #dbeafe;border-radius:10px;background:#fff}
.table-sector-pricing[hidden],.table-sector-price-fields[hidden]{display:none!important}
.table-sector-pricing .toggle-setting{margin:0}
.table-sector-pricing .field-help{margin:0}
.table-sector-price-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;max-width:380px}
.table-sector-price-fields label{min-width:0}
.map-sector-key{display:inline-flex;align-items:center;gap:5px;margin-left:auto;color:#475569;font-size:10px}
.map-sector-key i{width:9px;height:9px;border-radius:50%;background:#7e22ce}
.table-map-editor .map-preset-slot.sector-gold{outline:2px solid #7e22ce;outline-offset:1px}
.map-furniture-number{width:25px;min-width:25px;max-width:25px;height:25px;padding:0;border-radius:50%}
.table-map-stage[data-area="mezanino"] .map-furniture-number{box-sizing:border-box;inline-size:25px;block-size:25px;min-inline-size:25px;max-inline-size:25px;min-block-size:25px;max-block-size:25px;aspect-ratio:1;padding:0;border-radius:50%}
.table-map-prices{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;width:100%;margin-top:2px}
.table-map-prices .map-price-item{display:grid;flex:1 1 160px;max-width:250px;gap:2px;padding:7px 9px;border:1px solid #dbeafe;border-radius:9px;background:#f8fbff;text-align:left}
.table-map-prices .map-price-item.is-gold{border-color:#d8b4fe;background:#faf5ff}
.table-map-prices .map-price-item strong{color:#1e3a5f;font-size:10px}
.table-map-prices .map-price-item.is-gold strong{color:#7e22ce}
.table-map-prices .map-price-item small{color:#475569;font-size:9px;line-height:1.3}
.table-map-prices .map-price-note{width:100%;color:#64748b;font-size:9px;text-align:center}
.table-map-viewer .map-furniture.sector-gold .map-furniture-number,.table-map-zoom-viewer .map-furniture.sector-gold .map-furniture-number{border:3px solid #8b00d0}
@media(max-width:520px){.table-sector-price-fields{grid-template-columns:1fr}.map-sector-key{flex-basis:100%;margin-left:0}}

.map-share-shell{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;height:100%;background:#f3f6fb}
.map-share-preview{position:relative;min-height:0;overflow:auto;padding:14px;background:#e8eef6}
.map-share-preview canvas{display:block;width:min(720px,100%);height:auto;margin:0 auto;border-radius:12px;background:#fff;box-shadow:0 8px 28px #14213d2b}
.map-share-preview canvas[hidden]{display:none}
.map-share-generating{display:grid;min-height:260px;place-items:center;color:#475569;font-size:12px;font-weight:700}
.map-share-generating[hidden]{display:none}
.map-share-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;padding:11px 14px;background:#fff;border-top:1px solid #dbeafe}
.map-share-actions .button{width:100%;min-height:43px}
.map-share-actions .button:disabled{cursor:wait;opacity:.55}
.map-share-modal .map-zoom-help{background:#fff}
@media(max-width:700px){.map-share-preview{padding:8px}.map-share-actions{padding:9px}.map-share-modal .map-zoom-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.map-share-modal .map-zoom-tabs button{padding:6px 4px;font-size:9px}}
