/* MENTALS: a brief, deliberate press. Load after the existing component styles. */
:root{--feedback-ease:cubic-bezier(.2,.8,.2,1);--feedback-press-time:160ms}
html.feedback-modal-open{overflow:hidden;scrollbar-gutter:stable}
:is(.button,.icon-button,.shop-button,.shop-icon-button,.shop-search-clear,.shop-favorite-remove,.filter-button,.consent-button,.consent-close,.privacy-media-button,.feedback-button,.feedback-close),.privacy-receipt [data-consent-open]{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease,box-shadow 160ms ease,scale var(--feedback-press-time) var(--feedback-ease),transform 180ms var(--feedback-ease)}
:is(.button,.icon-button,.shop-button,.shop-icon-button,.shop-search-clear,.shop-favorite-remove,.filter-button,.consent-button,.consent-close,.privacy-media-button,.feedback-button,.feedback-close).is-feedback-pressed,.privacy-receipt [data-consent-open].is-feedback-pressed{scale:.985}
:is(.icon-button,.shop-icon-button,.shop-search-clear,.shop-favorite-remove,.consent-close,.feedback-close).is-feedback-pressed{scale:.96;background-color:#e1e8d4}
html:not(.feedback-ready) :is(.button,.shop-button,.consent-button,.privacy-media-button,.feedback-button):active:not(:disabled):not([aria-disabled="true"]){scale:.985}
html:not(.feedback-ready) :is(.icon-button,.shop-icon-button,.shop-search-clear,.shop-favorite-remove,.consent-close,.feedback-close):active:not(:disabled):not([aria-disabled="true"]){scale:.96}
/* Existing active transforms are replaced only on these known controls. */
.icon-button:active,.shop-icon-button:active,.shop-button:active{transform:none}
.button.is-feedback-pressed{transform:translateY(0)}
:is(.topic-card-link,.shop-result,.nav-dropdown>summary,.curriculum-item>summary,.faq-list summary,.consent-details>summary){transition:background-color 160ms ease,color 160ms ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:is(.topic-card-link,.shop-result,.nav-dropdown>summary,.curriculum-item>summary,.faq-list summary,.consent-details>summary).is-feedback-pressed{background-color:#173e310c}
.program-band .curriculum-item>summary.is-feedback-pressed{background-color:#ffffff0e}
.topic-card-link.is-feedback-pressed .topic-arrow{background:#173e31;color:#fffcf6}
:where(a[href]):not(:where(.button,.shop-button,.topic-card-link,.shop-result)).is-feedback-pressed,:where(.shop-text-button,.feedback-footer-trigger,.footer [data-consent-open]).is-feedback-pressed{opacity:.72}
:is(.consent-switch,.feedback-switch){transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease,scale var(--feedback-press-time) var(--feedback-ease)}
.consent-toggle.is-feedback-switch-pressed .consent-switch,.feedback-option.is-feedback-switch-pressed .feedback-switch,.feedback-toggle.is-feedback-switch-pressed .feedback-switch{scale:.96;box-shadow:0 0 0 4px #173e3110}

.feedback-dialog,.feedback-status-toast{box-sizing:border-box;color:#173e31;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.feedback-dialog *{box-sizing:border-box}
.feedback-dialog{width:min(590px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 36px);margin:auto;padding:0;border:1px solid #e0e7d7;border-radius:23px;background:#fffcf6;box-shadow:0 30px 110px #0d2e234d,0 4px 20px #0d2e2320;overflow:hidden;color-scheme:light}
.feedback-dialog[open]{display:flex;flex-direction:column;animation:feedback-enter 220ms var(--feedback-ease) both}
.feedback-dialog::backdrop{background:#0b231a70;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:feedback-shade 180ms ease both}
.feedback-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;flex-shrink:0;gap:18px;padding:27px 27px 25px;border-bottom:1px solid #173e3126;background:linear-gradient(130deg,#fffdf8,#f1f4e8)}
.feedback-dialog-heading{display:flex;align-items:center;gap:14px;min-width:0}
.feedback-mark{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #173e3125;border-radius:14px;background:linear-gradient(140deg,#e8eedc,#f7f7ed);box-shadow:inset 0 1px 0 #fff}
.feedback-mark svg{display:block;width:27px;height:27px}
.feedback-eyebrow{margin:0 0 7px!important;font-size:9px!important;font-weight:650;line-height:1.4!important;letter-spacing:.13em;color:#607360!important}
.feedback-dialog h2{margin:0;font-size:27px;font-weight:500;line-height:1.17;letter-spacing:-.04em;text-wrap:balance}
.feedback-dialog h2:focus{outline:none}
.feedback-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:11px;border:1px solid #173e3126;border-radius:50%;background:#fffdf880;color:#173e31;cursor:pointer}
.feedback-close svg{width:19px;height:19px}
.feedback-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:23px 28px;scrollbar-width:thin;scrollbar-color:#a1b29a transparent}
.feedback-description{margin:0 0 17px!important;color:#385446!important;font-size:14px!important;line-height:1.75!important}
.feedback-current{display:flex;align-items:center;gap:9px;margin:0 0 22px!important;color:#607063!important;font-size:11px!important;line-height:1.6!important}
.feedback-current:before{content:"";flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:#71875b;box-shadow:0 0 0 3px #71875b12}
.feedback-options{border-top:1px solid #173e3126}
.feedback-option{display:grid;grid-template-columns:24px minmax(0,1fr) 48px;align-items:center;gap:14px;padding:21px 0;border-bottom:1px solid #173e3126;cursor:pointer}
.feedback-option-icon{align-self:start;color:#6a805f;padding-top:3px}
.feedback-option-icon svg{display:block;width:22px;height:22px}
.feedback-option-copy{display:block;min-width:0}
.feedback-option-title{display:block;font-size:17px;font-weight:550;line-height:1.4;letter-spacing:-.02em;color:#173e31}
.feedback-option-description{display:block;margin-top:5px;font-size:12px;line-height:1.7;color:#52675c}
.feedback-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:48px;min-height:44px}
.feedback-toggle input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.feedback-switch{display:block;position:relative;width:48px;height:28px;border:1px solid #8e9f8b;border-radius:28px;background:#dce3d6;pointer-events:none}
.feedback-switch>span{position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fffcf6;box-shadow:0 1px 3px #173e3130;transition:transform 160ms var(--feedback-ease)}
.feedback-toggle input:checked+.feedback-switch{background:#173e31;border-color:#173e31}
.feedback-toggle input:checked+.feedback-switch>span{transform:translateX(20px)}
.feedback-toggle input:disabled{cursor:default}
.feedback-toggle input:disabled+.feedback-switch{opacity:.45}
.feedback-option:has(input:disabled){cursor:default}
.feedback-support{margin:16px 0 0!important;padding:11px 13px;border-left:2px solid #a3b58c;background:#f2f5ea;border-radius:0 6px 6px 0;font-size:11px!important;line-height:1.7!important;color:#52675c!important}
.feedback-quiet-note{margin:18px 0 0!important;font-size:11px!important;line-height:1.7!important;color:#607063!important}
.feedback-message{margin:17px 0 0!important;padding:11px 13px;border:1px solid #173e3115;border-radius:8px;background:#edf2e2;color:#385446!important;font-size:12px!important;line-height:1.7!important}
.feedback-message:empty,.feedback-current:empty{display:none}
.feedback-dialog-footer{flex-shrink:0;padding:19px 28px 18px;border-top:1px solid #173e3126;background:#f7f7ef}
.feedback-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:10px}
.feedback-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin:0;padding:12px 16px;border:1px solid #173e3138;border-radius:9px;font:600 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:center;cursor:pointer;color:#173e31;background:#fffcf6}
.feedback-button-preview svg{width:20px;height:20px;flex-shrink:0}
.feedback-button-save{background:#173e31;border-color:#173e31;color:#fffcf6;box-shadow:inset 0 1px 0 #ffffff10}
.feedback-storage{margin:13px 0 0!important;font-size:10px!important;line-height:1.7!important;text-align:center;color:#607063!important}
.feedback-cancel-note{margin:3px 0 0!important;font-size:10px!important;line-height:1.7!important;text-align:center;color:#607063!important}
.feedback-dialog :focus-visible{outline:3px solid #667f39;outline-offset:4px}
.feedback-toggle input:focus-visible+.feedback-switch{outline:3px solid #667f39;outline-offset:4px}
.feedback-footer-trigger{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:4px 0;border:0;background:transparent;color:inherit;font:inherit;font-size:15px;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#ffffff55;touch-action:manipulation}
.footer-grid .feedback-footer-trigger{display:flex;margin-bottom:14px;color:#b9cbb9;font-size:17px;line-height:1.6}
.feedback-footer-icon{display:inline-flex;flex:0 0 20px;color:inherit}
.feedback-footer-icon svg{display:block;width:20px;height:20px}
.feedback-status-toast{position:fixed;z-index:90;right:24px;bottom:max(24px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:11px;width:max-content;max-width:min(440px,calc(100% - 48px));padding:15px 19px;border:1px solid #173e3129;border-radius:13px;background:#fffdf7f5;box-shadow:0 12px 38px #0d2e2326;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);font-size:13px;font-weight:500;line-height:1.55;pointer-events:none;animation:feedback-enter 200ms var(--feedback-ease) both}
.feedback-status-toast:before{content:"✓";display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:#dce4cd;color:#173e31;font-size:13px}
.product-page .feedback-status-toast{bottom:128px}
.feedback-dialog [hidden],.feedback-footer-trigger[hidden],.feedback-status-toast[hidden]{display:none!important}
@keyframes feedback-enter{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes feedback-shade{from{opacity:0}to{opacity:1}}
@media(hover:hover) and (pointer:fine){.feedback-close:hover{background:#e4eadb}.feedback-button-preview:hover{background:#e7ecdc;border-color:#173e315a}.feedback-button-save:hover{background:#24553f;border-color:#24553f}.feedback-footer-trigger:hover{text-decoration-color:currentColor}}
@media(max-width:600px){.feedback-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:20px}.feedback-dialog-header{gap:12px;padding:21px 20px}.feedback-dialog-heading{gap:10px}.feedback-mark{flex-basis:36px;width:36px;height:36px;border-radius:11px}.feedback-mark svg{width:23px;height:23px}.feedback-eyebrow{font-size:8px!important;letter-spacing:.09em}.feedback-dialog h2{font-size:23px}.feedback-close{flex-basis:44px;width:44px;height:44px;padding:11px}.feedback-dialog-body{padding:20px}.feedback-description{font-size:13px!important}.feedback-current{font-size:10px!important;margin-bottom:18px!important}.feedback-option{grid-template-columns:21px minmax(0,1fr) 48px;gap:11px;padding:19px 0}.feedback-option-icon svg{width:20px;height:20px}.feedback-option-title{font-size:16px}.feedback-option-description{font-size:11px}.feedback-dialog-footer{padding:16px 20px}.feedback-button{min-height:46px;font-size:12px;padding:11px 10px}.feedback-actions{gap:8px}.feedback-button-preview{gap:7px}.feedback-button-preview svg{width:18px;height:18px}.feedback-storage,.feedback-cancel-note{font-size:9px!important}.feedback-status-toast{right:12px;bottom:max(16px,env(safe-area-inset-bottom));max-width:calc(100% - 24px);padding:13px 15px;font-size:12px}.product-page .feedback-status-toast{bottom:calc(144px + env(safe-area-inset-bottom))}}
@media(max-height:600px){.feedback-dialog{max-height:calc(100dvh - 16px)}.feedback-dialog-header{padding-block:16px}.feedback-dialog-footer{padding-block:12px}.feedback-button{min-height:41px}.feedback-storage{margin-top:10px!important}}
@media(prefers-reduced-motion:reduce){.feedback-dialog,.feedback-dialog::backdrop,.feedback-status-toast,.feedback-button,.feedback-close,.feedback-switch,.feedback-switch>span{animation:none!important;transition:none!important}:where(.button,.icon-button,.shop-button,.shop-icon-button,.shop-search-clear,.shop-favorite-remove,.filter-button,.consent-button,.consent-close,.privacy-media-button,.privacy-receipt [data-consent-open],.feedback-button,.feedback-close).is-feedback-pressed,:where(.button,.icon-button,.shop-button,.shop-icon-button,.shop-search-clear,.shop-favorite-remove,.consent-button,.consent-close,.privacy-media-button,.feedback-button,.feedback-close):active,.consent-toggle.is-feedback-switch-pressed .consent-switch,.feedback-option.is-feedback-switch-pressed .feedback-switch,.feedback-toggle.is-feedback-switch-pressed .feedback-switch{scale:1!important}.button.is-feedback-pressed,.icon-button:active,.shop-icon-button:active,.shop-button:active{transform:none!important}}
@media(prefers-reduced-transparency:reduce){.feedback-dialog::backdrop{background:#16372ce6;backdrop-filter:none;-webkit-backdrop-filter:none}.feedback-status-toast{background:#fffcf6;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(forced-colors:active){.feedback-dialog,.feedback-status-toast{border:1px solid CanvasText;background:Canvas;color:CanvasText}.feedback-button,.feedback-close{border:1px solid ButtonText}.feedback-toggle input{position:static;width:24px;height:24px;opacity:1}.feedback-switch{display:none}.feedback-dialog::backdrop{background:#0008;backdrop-filter:none}}
@media print{.feedback-dialog,.feedback-footer-trigger,.feedback-status-toast{display:none!important}}
/* A saved favorite keeps a legible foreground while it is pressed. */
.topic-save[aria-pressed=true].is-feedback-pressed{background-color:#244f3d;color:#fffcf6}
@media(max-width:640px){.footer-grid .feedback-footer-trigger{font-size:16px;margin-bottom:0}}
