{"version":3,"file":"blocks/PricingTable/style-index.css","mappings":";;;AAAA,gBAAgB;AAAhB;;;;;;;EAAA;AASA;EACC;EAEA;;;;;;;;;;;;;IAAA;AAaD;AACC;EACC;EACA;EACA;AACF;AAiBC;EACC;AAfF;AAkBC;EACC;AAhBF;AAsBG;EACC;AApBJ;AAuBG;EACC;AArBJ;AAgBG;EACC;AAdJ;AAiBG;EACC;AAfJ;AAUG;EACC;AARJ;AAWG;EACC;AATJ;AAIG;EACC;AAFJ;AAKG;EACC;AAHJ;AAFG;EACC;AAIJ;AADG;EACC;AAGJ;AARG;EACC;AAUJ;AAPG;EACC;AASJ,C","sources":["webpack://brandy-blocks/./src/blocks/PricingTable/style.scss"],"sourcesContent":["/**\n * Pricing Table — shared editor + frontend styles.\n *\n * This file owns the switching mechanism, including the part that lives inside\n * the plans. It has to: the checked state starts on a radio in the chooser and\n * ends on a price in a plan, and the table is the only element that contains\n * both of them.\n */\n\n.brandy-pricing-table {\n\tbox-sizing: border-box;\n\n\t/*\n\t * A stack, not a grid.\n\t *\n\t * The table used to arrange the plans itself, through a column count of its\n\t * own. It no longer does: a Group or Columns block inside it already has\n\t * layout controls an author knows, and two ways to set the same thing is\n\t * one too many. What is left here is the spacing between whatever the table\n\t * holds — usually a chooser and the container the plans live in.\n\t *\n\t * The gap is core's blockGap, serialized by render.php rather than by the\n\t * layout support, because this block declares no layout of its own. The\n\t * theme's value is the fallback, so a table that has never been given a gap\n\t * matches the spacing around it.\n\t */\n\t&__inner {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: var(--pricing-gap, var(--wp--preset--spacing--10, 1.25rem));\n\t}\n\n\t// ── The mechanism ───────────────────────────────────────────────────────\n\t//\n\t// Options are addressed by index. The label is the author's to rename, so\n\t// it cannot be the key — see _shared/pricing-defaults.js.\n\t//\n\t// Option 0 is the resting state: it shows when nothing is checked, which is\n\t// what happens in a table with no chooser at all, and in a browser without\n\t// `:has()`.\n\t//\n\t// `:has()` rather than the sibling combinator this block first used. The\n\t// chooser is a block now, so its radios are nested inside it and no `~` can\n\t// reach out of them. The theme already ships `subgrid` behind `@supports`\n\t// for the Tabs layouts and subgrid is the newer feature of the two, so this\n\t// asks nothing of a browser that the rest of the theme does not.\n\n\t[data-term] {\n\t\tdisplay: none;\n\t}\n\n\t[data-term='0'] {\n\t\tdisplay: block;\n\t}\n\n\t@for $i from 0 through 5 {\n\t\t&:has(.brandy-pricing-options__input--#{$i}:checked) {\n\n\t\t\t[data-term] {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\n\t\t\t[data-term='#{$i}'] {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n}\n"],"names":[],"sourceRoot":""}