/* "We're new" feedback banner + modal (feedback-test) */
:root{--fb-h:0px}
body.fb-on{padding-top:var(--fb-h)}
body.fb-on .site-header{top:var(--fb-h)}
body.fb-on .tkm-head{top:var(--fb-h)}
.fb-banner{position:fixed;top:0;left:0;right:0;z-index:60;background:#3d6863;color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.15);transform:translateY(-110%);transition:transform .28s ease;padding-top:env(safe-area-inset-top)}
.fb-banner.show{transform:none}
.fb-banner-in{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:.6rem;padding:.55rem .75rem .55rem 1rem;font:500 15px/1.3 system-ui,-apple-system,sans-serif}
.fb-banner-txt{flex:1;min-width:0}
.fb-banner-txt b{font-weight:700}
.fb-btn{appearance:none;border:0;border-radius:999px;background:#f1d9cf;color:#2e3a39;font:600 14px/1 system-ui,-apple-system,sans-serif;padding:.62rem .95rem;cursor:pointer;white-space:nowrap;min-height:40px}
.fb-btn:hover{background:#fff}
.fb-x{appearance:none;border:0;background:transparent;color:#fff;font-size:22px;line-height:1;width:40px;height:40px;border-radius:50%;cursor:pointer;flex:none}
.fb-x:hover{background:rgba(255,255,255,.15)}
.fb-btn:focus-visible,.fb-x:focus-visible,.fb-tab:focus-visible,.fb-chip:focus-within,.fb-modal :focus-visible{outline:3px solid #9a5546;outline-offset:2px}
@media (max-width:480px){.fb-banner-in{font-size:14px;gap:.4rem;padding:.45rem .4rem .45rem .8rem}.fb-btn{padding:.55rem .75rem;font-size:13px}}
.fb-tab{position:fixed;right:0;top:55%;z-index:55;transform:rotate(-90deg) translateY(-100%);transform-origin:top right;background:#3d6863;color:#fff;border:0;border-radius:10px 10px 0 0;padding:.5rem .9rem;font:600 13px/1 system-ui,-apple-system,sans-serif;cursor:pointer;box-shadow:0 -2px 8px rgba(0,0,0,.15);display:none}
.fb-tab.show{display:block}
.fb-ov{position:fixed;inset:0;z-index:70;background:rgba(30,40,39,.55);display:none;align-items:flex-end;justify-content:center}
.fb-ov.show{display:flex}
@media (min-width:640px){.fb-ov{align-items:center;padding:1rem}}
.fb-modal{background:#fbf7f2;color:#2e3a39;width:100%;max-width:520px;max-height:92dvh;overflow:auto;border-radius:18px 18px 0 0;padding:1.25rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom));font:15px/1.45 system-ui,-apple-system,sans-serif;position:relative;-webkit-overflow-scrolling:touch}
@media (min-width:640px){.fb-modal{border-radius:18px;padding:1.6rem}}
.fb-modal h2{margin:0 2.5rem .25rem 0;font-size:1.3rem;color:#2f524e}
.fb-modal p.fb-sub{margin:0 0 1rem;color:#4d5a58}
.fb-modal .fb-x{position:absolute;top:.6rem;right:.6rem;color:#2e3a39}
.fb-modal .fb-x:hover{background:#e3ece5}
.fb-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1rem;border:0;padding:0}
.fb-chips legend{font-weight:600;margin-bottom:.5rem;padding:0}
.fb-chip{position:relative}
.fb-chip input{position:absolute;opacity:0;width:1px;height:1px}
.fb-chip span{display:inline-block;border:1.5px solid #9db5a6;background:#fff;border-radius:999px;padding:.5rem .8rem;font-size:14px;cursor:pointer;user-select:none;min-height:38px;box-sizing:border-box}
.fb-chip input:checked+span{background:#3d6863;border-color:#3d6863;color:#fff}
.fb-chip input:checked+span::before{content:"✓ "}
.fb-f label{display:block;font-weight:600;margin:0 0 .3rem}
.fb-f textarea,.fb-f input[type=email]{width:100%;box-sizing:border-box;border:1.5px solid #c9d6cd;border-radius:12px;padding:.65rem .75rem;font:16px/1.4 system-ui,-apple-system,sans-serif;background:#fff;color:#2e3a39}
.fb-f textarea{min-height:96px;resize:vertical}
.fb-f{margin-bottom:.9rem}
.fb-count{font-size:12px;color:#4d5a58;text-align:right;margin-top:.2rem}
.fb-check{display:flex;gap:.5rem;align-items:center;font-size:14px;margin-top:.5rem}
.fb-check input{width:20px;height:20px;accent-color:#3d6863}
.fb-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.fb-submit{width:100%;background:#9a5546;color:#fff;font-size:16px;padding:.85rem;min-height:48px}
.fb-submit:hover{background:#82463a}
.fb-submit[disabled]{opacity:.6;cursor:default}
.fb-err{color:#9a5546;font-size:14px;margin:.4rem 0 0;min-height:1em}
.fb-thanks{text-align:center;padding:1.5rem .5rem .5rem}
.fb-thanks .fb-big{font-size:42px;line-height:1}
.fb-thanks .fb-btn{margin-top:1rem;background:#3d6863;color:#fff}
body.fb-lock{overflow:hidden}

/* inside an open <dialog> (store pop-up): banner stays on top, dialog shrinks below it so no control is covered */
dialog.fb-in .fb-banner{z-index:2147483000}
dialog.fb-in .fb-ov{z-index:2147483001}
body.fb-on dialog.fb-in.tk-modal{margin-top:calc(var(--fb-h) + 1vh);max-height:calc(98vh - var(--fb-h))}
@media (max-width:720px){body.fb-on dialog.fb-in.tk-modal{margin-top:var(--fb-h);height:calc(100dvh - var(--fb-h));max-height:calc(100dvh - var(--fb-h))}}
