/* Shared visual treatment for interactive tools, personal lists and learning pages. */
body:not([data-page="/"]) .reference-content :is(.tool-workspace,[class*="tools-module"][class*="__body"],[class*="transaction-module"][class*="__body"],[data-learning]) {
  width:min(100%,var(--subpage-content-max,1240px));
  max-width:var(--subpage-content-max,1240px);
  margin-inline:auto;
  padding:var(--page-section-space) var(--gutter);
  box-sizing:border-box;
  min-width:0;
  background:transparent!important;
}
body:not([data-page="/"]) .reference-content :is(.tool-workspace,[data-learning]) {
  --cinematic-color-line:var(--page-line);
  --cinematic-color-muted:#c7c4be;
}
/* An implicit auto track would expand to the minimum width of the Pfand table. */
body:not([data-page="/"]) .reference-content .tool-workspace[class*="__workspace"] {grid-template-columns:minmax(0,1fr)}
body:not([data-page="/"]) .reference-content .tool-workspace>* {min-width:0}
body:not([data-page="/"]) .reference-content :is(.tools-module__Qp1wHW__history,.tools-module__Qp1wHW__wishlist) {
  padding:0;
  border:0;
  background:transparent!important;
}
body:not([data-page="/"]) .reference-content :is(.tool-panel,.tool-counter,.tool-option,.academy-storage-choice) {
  border-color:var(--page-line);
  border-radius:var(--page-radius)!important;
  box-shadow:none;
}
body:not([data-page="/"]) .reference-content .tool-panel {
  background:transparent!important;
  border:0;
  padding:0;
  margin-bottom:36px;
}
body:not([data-page="/"]) .reference-content :is(.tool-grid,.tool-fields,.tool-counter-grid) {gap:24px}
body:not([data-page="/"]) .reference-content .tool-grid {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(32px,5vw,64px)}
body:not([data-page="/"]) .reference-content .tool-grid>.tool-panel {height:auto;margin-bottom:0}
body:not([data-page="/"]) .reference-content #planner-results {
  padding:clamp(24px,3vw,36px);
  background:var(--page-surface)!important;
  border:1px solid var(--page-line);
}
body:not([data-page="/"]) .reference-content :is(.tool-panel,.tool-workspace) h2 {
  font-size:clamp(25px,2.4vw,34px);
  line-height:1.15;
  letter-spacing:-.025em;
  margin-bottom:18px;
}
body:not([data-page="/"]) .reference-content .tool-workspace h3 {font-size:24px;line-height:1.2}
body:not([data-page="/"]) .reference-content .tool-workspace :is(p,li,label,output,dt,dd,th,td,input,textarea,select,.small-note,.tool-option) {
  font-family:var(--reading-font);
  font-weight:400;
  font-size:15px;
  line-height:1.7;
}
body:not([data-page="/"]) .reference-content .tool-workspace :is(label,dt,th) {color:#f9f8f4;font-weight:600}
body:not([data-page="/"]) .reference-content .tool-workspace :is(p,li,.small-note) {color:#c7c4be}
body:not([data-page="/"]) .reference-content .tool-workspace .small-note {font-size:13px;line-height:1.7}
body:not([data-page="/"]) .reference-content .tool-field label {display:block;margin-bottom:10px}
body:not([data-page="/"]) .reference-content .tool-field output {display:block;color:#f5e62c;font-variant-numeric:tabular-nums;margin-top:4px}
body:not([data-page="/"]) .reference-content .tool-workspace :is(input,textarea,select):not([type="range"]):not([type="checkbox"]):not([type="radio"]) {
  min-height:48px;
  padding:11px 13px;
  background:var(--page-surface)!important;
  border-color:#ffffff30!important;
  border-radius:var(--page-image-radius)!important;
}
body:not([data-page="/"]) .reference-content .tool-workspace :is(input,textarea,select)[aria-invalid="true"] {border-color:#e48c8c!important}
body:not([data-page="/"]) .reference-content .tool-workspace input[type="range"] {width:100%;cursor:pointer;min-height:32px}
body:not([data-page="/"]) .reference-content .tool-workspace hr {width:100%;border:0;border-top:1px solid var(--page-line);margin:6px 0}
body:not([data-page="/"]) .reference-content .tool-actions {gap:12px;margin-top:24px}
body:not([data-page="/"]) .reference-content .tool-actions :is(a,button) {min-height:48px}
body:not([data-page="/"]) .reference-content .tool-results {margin:24px 0}
body:not([data-page="/"]) .reference-content .tool-results>div {display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--page-line)}
body:not([data-page="/"]) .reference-content .tool-results dd {margin:0;font-size:25px;line-height:1.2;font-weight:600;color:#f5e62c;font-variant-numeric:tabular-nums}
body:not([data-page="/"]) .reference-content .tool-stats {gap:20px;margin-block:24px;grid-template-columns:repeat(3,minmax(0,1fr))}
body:not([data-page="/"]) .reference-content .tool-stats>div {padding:24px;margin:0;background:var(--page-surface)!important;border:1px solid var(--page-line);border-radius:var(--page-radius)}
body:not([data-page="/"]) .reference-content .tool-workspace .tool-total {font-family:var(--font);font-size:clamp(36px,4vw,52px);line-height:1.1;color:#f5e62c;margin:12px 0 0}
body:not([data-page="/"]) .reference-content .tool-workspace .tool-status {color:#f5e62c}
body:not([data-page="/"]) .reference-content .tool-workspace .tool-error {background:#3c1e1e;border-color:#9b4444;color:#ffd0d0}
body:not([data-page="/"]) .reference-content .tool-counter {background:var(--page-surface)!important;padding:20px;gap:16px;align-items:center}
body:not([data-page="/"]) .reference-content .tool-counter>div:first-child {min-width:0;overflow-wrap:anywhere}
body:not([data-page="/"]) .reference-content .tool-counter label {line-height:1.45}
body:not([data-page="/"]) .reference-content .tool-counter .small-note {margin-top:5px}
body:not([data-page="/"]) .reference-content .quantity-control {gap:6px}
body:not([data-page="/"]) .reference-content .quantity-control button {min-width:40px;width:40px;height:44px;min-height:44px;border-color:#ffffff30;border-radius:10px;background:var(--page-surface)}
body:not([data-page="/"]) .reference-content .quantity-control button:hover {border-color:#f5e62c;color:#f5e62c}
body:not([data-page="/"]) .reference-content .quantity-control input {width:64px!important;min-height:44px!important;height:44px;padding:7px 5px!important}
body:not([data-page="/"]) .reference-content .table-scroll {margin-top:18px;border:1px solid var(--page-line);border-radius:var(--page-image-radius)}
body:not([data-page="/"]) .reference-content .table-scroll :is(th,td) {padding:14px 16px;font-size:14px}
body:not([data-page="/"]) .reference-content .table-scroll th {background:#ffffff06}
body:not([data-page="/"]) .reference-content .history-row {padding:20px 0;gap:16px}
body:not([data-page="/"]) .reference-content .history-row .small-note {margin-top:5px}
body:not([data-page="/"]) .reference-content .tool-choices {gap:24px}
body:not([data-page="/"]) .reference-content .tool-choices>.tool-panel {margin:0;min-height:180px;padding:clamp(24px,3vw,36px);border:1px solid var(--page-line);background:var(--page-surface)!important}
body:not([data-page="/"]) .reference-content .tool-options {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body:not([data-page="/"]) .reference-content .tool-option {min-height:64px;background:var(--page-surface)!important;border-color:#ffffff30;padding:18px}
body:not([data-page="/"]) .reference-content :is(.tool-option,.tool-choices>.tool-panel):hover {border-color:#f5e62c;color:#f5e62c}
body:not([data-page="/"]) .reference-content .tool-workspace .product-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
body:not([data-page="/"]) .reference-content .tool-workspace .product-card {background:var(--page-surface)!important;border-color:var(--page-line);border-radius:var(--page-radius)!important;display:flex;flex-direction:column}
body:not([data-page="/"]) .reference-content .tool-workspace .product-card [class*="__productBody"] {padding:24px;flex:1}
body:not([data-page="/"]) .reference-content .tool-workspace .product-card h2 {font-size:26px;line-height:1.15;margin-bottom:12px}
body:not([data-page="/"]) .reference-content .tool-workspace .product-card img {object-fit:contain}
body:not([data-page="/"]) .reference-content .line-quote {margin-top:24px;padding:4px 0 4px 20px;background:transparent;border-left:2px solid var(--page-line)}
body:not([data-page="/"]) .reference-content .line-quote p+p {margin-top:5px}
body:not([data-page="/"]) .reference-content [class*="transaction-module"][class*="__summary"] {margin-top:36px;border:1px solid var(--page-line);background:var(--page-surface)!important;border-radius:var(--page-radius)!important}

/* Reading stays on the canvas; actionable cards and results retain subtle surfaces. */
body:not([data-page="/"]) .reference-content [data-learning] :is(.learning-module__G3kcDG__card,[class*="__ingredients"],[class*="__progress"],[class*="__result"]) {
  background-color:var(--page-surface)!important;
  border-radius:var(--page-radius)!important;
  box-shadow:none;
}
body:not([data-page="/"]) .reference-content [data-learning] :is([class*="__cardBody"],[class*="__lesson"],[class*="__related"]) {
  background:transparent!important;
  border:0!important;
  box-shadow:none;
}
body:not([data-page="/"]) .reference-content [data-learning] :is(p,li,dt,dd,[class*="__reading"],[class*="__lessonText"],[class*="__meta"],[class*="__certificateMeta"],[class*="__answer"],[class*="__sources"],[class*="__credit"]) {
  font-family:var(--reading-font);
  font-weight:400;
  font-size:15px;
  line-height:1.75;
  color:#c7c4be;
}
body:not([data-page="/"]) .reference-content [data-learning] :is(h2,h3,h4) {color:#f9f8f4}
body:not([data-page="/"]) .reference-content [data-learning] h2 {font-size:clamp(27px,2.5vw,36px);line-height:1.15;letter-spacing:-.025em}
body:not([data-page="/"]) .reference-content [data-learning] h3 {font-size:24px;line-height:1.2}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__grid"] {grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
body:not([data-page="/"]) .reference-content [data-learning] .learning-module__G3kcDG__card {border:1px solid var(--page-line)!important;min-width:0}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__cardBody"] {border:0!important;padding:24px!important}
body:not([data-page="/"]) .reference-content [data-learning] .learning-module__G3kcDG__card h2 {font-size:29px!important;margin:14px 0;line-height:1.13!important}
body:not([data-page="/"]) .reference-content [data-learning] .learning-module__G3kcDG__card :is([class*="__meta"],[class*="__meta"]>*) {font-size:12px;line-height:1.65}
body:not([data-page="/"]) .reference-content [data-learning] .learning-module__G3kcDG__card [class*="__textLink"] {display:inline-block;margin-top:20px;font-size:15px}
body:not([data-page="/"]) .reference-content [data-learning="academy"] .learning-module__G3kcDG__card[data-featured] {grid-template-columns:1.15fr 1fr;gap:0}
body:not([data-page="/"]) .reference-content [data-learning="academy"] .learning-module__G3kcDG__card[data-featured] [class*="__cardBody"] {padding:clamp(26px,3vw,40px)!important}
body:not([data-page="/"]) .reference-content [data-learning="academy"] .learning-module__G3kcDG__card[data-featured] h2 {font-size:clamp(34px,3vw,44px)!important}
body:not([data-page="/"]) .reference-content [data-learning="academy"] [class*="__courseImage"] {aspect-ratio:3/2;min-height:0!important}
body:not([data-page="/"]) .reference-content [data-learning="academy"] [class*="__cover"] {width:100%;height:100%;min-height:0;object-fit:cover}
body:not([data-page="/"]) .reference-content [data-learning] .learning-module__G3kcDG__card :is([class*="__courseImage"],[class*="__photoFrame"]) {overflow:hidden;border-radius:var(--page-radius) var(--page-radius) 0 0}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__courseNumber"] {background:#090909df;color:#f9f8f4;font-family:var(--reading-font);width:40px;height:40px;font-size:13px;top:16px;left:16px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__photoFrame"] {background:#090909;overflow:hidden;border-radius:var(--page-image-radius)}
body:not([data-page="/"]) .reference-content [data-learning] [data-cocktail-photo] img {object-fit:scale-down!important}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__credit"] {background:transparent!important;border-top:1px solid var(--page-line);padding:14px 18px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__credit"] :is(p,li,a,span) {font-size:11px;line-height:1.7}
body:not([data-page="/"]) .reference-content [data-learning="recipes"] .learning-module__G3kcDG__card {display:flex;flex-direction:column}
body:not([data-page="/"]) .reference-content [data-learning="recipes"] [class*="__cardBody"] {flex:1}
body:not([data-page="/"]) .reference-content [data-learning="recipes"] .learning-module__G3kcDG__card:not(:has(img)) {border-color:var(--page-line)!important}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__filters"] {gap:10px;padding-bottom:24px;margin-bottom:28px;border-color:var(--page-line)}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__filters"] a {min-height:46px;padding:11px 16px;background:transparent;color:#f9f8f4;border:1px solid var(--page-line);border-radius:999px!important;font-family:var(--reading-font);font-size:13px;font-weight:500}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__filters"] a:hover {border-color:#f5e62c}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__filters"] a[aria-current] {background:#f5e62c!important;border-color:#f5e62c;color:#090909!important}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__recipe"] {gap:32px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__ingredients"] {padding:28px;border:1px solid var(--page-line);margin-bottom:28px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__ingredients"] li+li {margin-top:8px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__reading"]>div {padding-inline:0!important}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__related"] {padding:0;margin-top:var(--page-section-space);gap:28px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__related"] h2 {font-size:32px;margin-bottom:16px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__courseLead"] {margin-bottom:32px;gap:24px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__progress"] {padding:28px;border:1px solid var(--page-line);gap:16px 28px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__progress"] p {margin:0}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__progressSteps"] {padding:0;border:0;gap:6px;background:transparent!important}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__progressSteps"] :is(a,button) {background:transparent;color:#f9f8f4;border:1px solid #ffffff30;border-radius:8px;font-family:var(--reading-font);font-size:13px;min-width:40px;min-height:40px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__progressSteps"] :is(a,button)[aria-current] {background:#f5e62c!important;color:#090909!important;border-color:#f5e62c}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__course"]:not([class*="__courseLead"]):not([class*="__courseImage"]):not([class*="__courseNumber"]) {gap:28px}
body:not([data-page="/"]) .reference-content [data-learning="course"] [class*="__navigation"] {border:1px solid var(--page-line);border-radius:var(--page-radius);background:var(--page-surface);padding:8px;gap:4px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__navigation"] :is(a,button) {font-family:var(--reading-font);font-weight:400;font-size:13px;line-height:1.6;padding:12px;min-height:46px;color:#c7c4be}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__navigation"] :is(a,button)[aria-current] {background:#242421;color:#f9f8f4;border-left-color:#f5e62c;font-weight:600}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__navigation"] a:hover {background:#242421;color:#f9f8f4}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__lesson"] {padding:0}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__lessonText"] {padding:0;border:0;font-size:15px;line-height:1.85;background:transparent!important}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__lessonText"] h3 {font-size:25px;line-height:1.25;margin-bottom:14px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__lessonText"] h4 {font-size:22px;line-height:1.3}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__quiz"] {background:var(--page-surface);border:1px solid var(--page-line);border-radius:var(--page-radius);padding:24px;margin-top:32px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__quiz"] :is(h2,h3) {font-size:25px;line-height:1.2;margin:0}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__answer"] {background:#ffffff05;border:1px solid #ffffff30;border-radius:var(--page-image-radius);padding:16px;min-height:52px;color:#f9f8f4;line-height:1.65}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__answer"]:hover:not(:disabled) {border-color:#f5e62c}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__answer"][data-state="correct"] {background:#203d28!important;color:#ceebd3!important;border-color:#7dba79}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__answer"][data-state="wrong"] {background:#452329!important;color:#f5d3d5!important;border-color:#c27575}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__answer"][data-state="inactive"] {color:#aaa8a3;background:var(--page-surface)}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__feedback"] {border-left-color:#f5e62c;padding-left:16px;margin:20px 0}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__actions"] {gap:12px;margin-top:24px}
body:not([data-page="/"]) .reference-content :is([data-learning="exam"],[data-learning="result"]) {max-width:900px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__result"] {padding:28px;border:1px solid var(--page-line);margin:24px 0}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__certificate"] {border-bottom:1px solid var(--page-line);padding:28px 0}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__certificateMeta"] {border:0;padding:0;gap:8px 20px;font-size:13px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__certificate"] h3 {font-size:27px;margin-bottom:12px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__sources"] {margin-top:24px;padding-top:20px;border-top:1px solid var(--page-line);font-size:13px}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__sources"] :is(p,li,a) {font-size:13px;line-height:1.75}
body:not([data-page="/"]) .reference-content [data-learning] .static-disclosure-title {font-family:var(--reading-font)!important;font-size:13px!important;font-weight:600;line-height:1.5;margin:0 0 10px;color:#f9f8f4}
body:not([data-page="/"]) .reference-content [data-learning] [class*="__credit"] .static-disclosure-title {font-size:11px!important;margin-bottom:6px}
body:not([data-page="/"]) .reference-content .academy-storage-choice {font-family:var(--reading-font);margin:0 auto 28px;padding:20px 24px;background:var(--page-surface);border:1px solid var(--page-line)}
body:not([data-page="/"]) .reference-content .academy-storage-choice label {display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.6}
body:not([data-page="/"]) .reference-content .academy-storage-choice input {flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;accent-color:#f5e62c}
body:not([data-page="/"]) .reference-content .academy-storage-choice .small-note {font-family:var(--reading-font);font-size:12px;line-height:1.75;margin-top:10px;color:#c7c4be}

/* Game launch cards and the dialogs that are mounted directly under body. */
body:not([data-page="/"]) .tool-dialog {position:fixed;inset:0;margin:auto;max-height:90dvh;overflow-y:auto;overscroll-behavior:contain}
body:not([data-page="/"]) .reference-content .party-game-launcher {border-color:var(--page-line)!important;border-radius:var(--page-radius)!important;background:var(--page-surface)!important}
body:not([data-page="/"]) .reference-content .party-game-copy {padding:24px}
body:not([data-page="/"]) .reference-content .party-game-copy>p {font-family:var(--reading-font);font-weight:400;font-size:14px!important;line-height:1.7;color:#c7c4be}
body:not([data-page="/"]) .reference-content .party-game-copy h2 {font-size:28px!important;margin:12px 0 16px!important}
body:not([data-page="/"]) .game-dialog.game-dialog {background:var(--page-surface);border:1px solid #ffffff30;border-radius:var(--page-radius);padding:32px}
body:not([data-page="/"]) .game-dialog :is(p,label,input,select,textarea,.tool-option,.game-forbidden) {font-family:var(--reading-font);font-size:15px;font-weight:400;line-height:1.7}
body:not([data-page="/"]) .game-dialog .game-header {border-color:var(--page-line);padding-bottom:24px}
body:not([data-page="/"]) .game-dialog .game-header h2 {font-size:34px}
body:not([data-page="/"]) .game-dialog .game-body h3 {font-size:28px;line-height:1.15}
body:not([data-page="/"]) .game-dialog .game-body p {color:#c7c4be}
body:not([data-page="/"]) .game-dialog .button-primary {background:#f5e62c;border-color:#f5e62c;color:#090909}
body:not([data-page="/"]) .game-dialog .button-primary:hover {background:#fff3a2;border-color:#fff3a2}
body:not([data-page="/"]) .game-dialog .button-secondary {background:#242421;border-color:#55554a;color:#f9f8f4}
body:not([data-page="/"]) .game-dialog :is(.tool-panel,.tool-option) {background:#242421;border-color:var(--page-line)}
body:not([data-page="/"]) .game-dialog .tool-panel {padding:24px}
body:not([data-page="/"]) .game-dialog .game-clock {font-family:var(--font);line-height:1.1}
body:not([data-page="/"]) .tool-dialog :is(p,li,label,input,textarea) {font-family:var(--reading-font);font-size:15px;line-height:1.7}

@media(max-width:1050px) {
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__grid"] {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  body:not([data-page="/"]) .reference-content .tool-workspace .product-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not([data-page="/"]) .reference-content .tool-grid {grid-template-columns:1fr}
  body:not([data-page="/"]) .reference-content .tool-counter-grid {grid-template-columns:minmax(0,1fr)}
  body:not([data-page="/"]) .reference-content [data-learning="course"] [class*="__course"]:not([class*="__courseLead"]) {grid-template-columns:1fr}
  body:not([data-page="/"]) .reference-content [data-learning="course"] [class*="__course"]>aside {position:static;max-height:none;overflow:visible}
  body:not([data-page="/"]) .reference-content [data-learning="course"] [class*="__navigation"] {grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible}
}
@media(max-width:760px) {
  body:not([data-page="/"]) .reference-content :is(.tool-workspace,[class*="tools-module"][class*="__body"],[class*="transaction-module"][class*="__body"],[data-learning]) {padding:var(--page-section-space) var(--gutter)}
  body:not([data-page="/"]) .reference-content :is(.tool-grid,.tool-fields,.tool-options,.tool-stats) {grid-template-columns:1fr;gap:20px}
  body:not([data-page="/"]) .reference-content .tool-panel {padding:0}
  body:not([data-page="/"]) .reference-content :is(#planner-results,.tool-choices>.tool-panel) {padding:24px}
  body:not([data-page="/"]) .reference-content .tool-counter {padding:18px;gap:14px}
  body:not([data-page="/"]) .reference-content .tool-workspace .product-card [class*="__productBody"] {padding:18px}
  body:not([data-page="/"]) .reference-content .tool-workspace .product-card h2 {font-size:24px}
  body:not([data-page="/"]) .reference-content .line-quote {padding:4px 0 4px 16px;margin-top:24px}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__grid"] {grid-template-columns:1fr;gap:24px}
  body:not([data-page="/"]) .reference-content [data-learning="academy"] .learning-module__G3kcDG__card[data-featured] {grid-template-columns:1fr}
  body:not([data-page="/"]) .reference-content [data-learning="academy"] .learning-module__G3kcDG__card[data-featured] [class*="__cardBody"] {padding:24px!important}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__recipe"] {grid-template-columns:1fr;gap:28px}
  body:not([data-page="/"]) .reference-content [data-learning] :is([class*="__ingredients"],[class*="__progress"],[class*="__result"]) {padding:22px}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__lessonText"] {padding:0}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__progressSteps"] {padding:0}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__progress"] {grid-template-columns:1fr}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__progressSteps"] {grid-column:1}
  body:not([data-page="/"]) .reference-content [data-learning="academy"] [class*="__related"] {grid-template-columns:1fr;gap:16px}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__quiz"] {padding:18px}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__quiz"]>.flex {flex-wrap:wrap;align-items:start;gap:10px}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__answer"] {font-size:14px;padding:14px}
  body:not([data-page="/"]) .reference-content [data-learning="course"] [class*="__navigation"] {grid-template-columns:1fr}
  body:not([data-page="/"]) .reference-content .academy-storage-choice {padding:18px;margin-bottom:24px}
  body:not([data-page="/"]) .reference-content .party-game-copy {padding:22px}
  body:not([data-page="/"]) .game-dialog.game-dialog {padding:24px 20px}
  body:not([data-page="/"]) .game-dialog .game-header h2 {font-size:29px}
  body:not([data-page="/"]) .game-dialog .tool-panel {padding:20px}
}
@media(max-width:480px) {
  body:not([data-page="/"]) .reference-content .tool-workspace .product-grid {grid-template-columns:1fr}
  body:not([data-page="/"]) .reference-content .tool-counter {flex-wrap:wrap}
  body:not([data-page="/"]) .reference-content .tool-counter>div:first-child {flex-basis:100%}
  body:not([data-page="/"]) .reference-content .tool-counter .quantity-control {margin-left:auto}
  body:not([data-page="/"]) .reference-content .tool-actions :is(a,button) {max-width:100%;overflow-wrap:anywhere}
  body:not([data-page="/"]) .reference-content [data-learning] [class*="__progressSteps"] :is(a,button) {min-width:38px;min-height:40px}
}
