/* High Thoughts — optional onboarding tour (muted tan / cream / sage / forest, 2026-11-10). Drop-in for /m. */
/* The older card-style "How it works" overlay is replaced by this tour. */
#htTut{display:none!important}

.htr-layer{position:fixed;inset:0;z-index:100000;font-family:"Nunito",system-ui,sans-serif;color:#1d3b24;-webkit-tap-highlight-color:transparent}
.htr-layer[hidden]{display:none}
.htr-block{position:absolute;inset:0;touch-action:none}
.htr-btn:focus-visible,.htr-skip:focus-visible,.htr-yes:focus-visible,.htr-no:focus-visible{outline:3px solid #839779;outline-offset:2px}
.htr-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.htr-ring{position:absolute;border-radius:14px;pointer-events:none;box-shadow:0 0 0 3px #fffaf0,0 0 0 6px #8b9a72,0 0 16px 6px rgba(225,232,211,.55);animation:htrPulse 2.4s ease-in-out infinite;transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease}
@keyframes htrPulse{0%,100%{box-shadow:0 0 0 3px #fffaf0,0 0 0 6px #8b9a72,0 0 14px 5px rgba(225,232,211,.45)}50%{box-shadow:0 0 0 3px #fffaf0,0 0 0 8px #a4b092,0 0 22px 9px rgba(225,232,211,.7)}}

/* Tooltip card */
.htr-tip{position:absolute;left:12px;right:12px;max-width:360px;margin:0 auto;box-sizing:border-box;background:#fffaf0;border-radius:18px;border:2px solid #a4b092;box-shadow:0 12px 30px rgba(16,51,27,.35);padding:16px 16px 12px;animation:htrIn .25s ease-out}
@keyframes htrIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.htr-arrow{position:absolute;width:18px;height:18px;background:#fffaf0;transform:rotate(45deg);border-radius:3px;border:2px solid #a4b092}
.htr-arrow.up{top:-11px;border-right:0;border-bottom:0}
.htr-arrow.down{bottom:-11px;border-left:0;border-top:0}
.htr-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.htr-emoji{flex:0 0 auto;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;color:#1f4a35;background:#e1e8d3;border:1px solid #a4b092;font-variant-emoji:text;font-family:"Segoe UI Symbol","DejaVu Sans",system-ui,sans-serif}
.htr-title{margin:0;font-family:"Fredoka",system-ui,sans-serif;font-weight:600;font-size:20px;line-height:1.15;color:#1f4a35}
.htr-count{margin-left:auto;font-size:11px;font-weight:800;color:#4d5f45;background:#efeadb;border-radius:999px;padding:3px 9px;white-space:nowrap}
.htr-body{margin:0 0 10px;font-weight:600;font-size:15px;line-height:1.45;color:#2f3f33}
.htr-body b{color:#1f4a35}
.htr-foot{display:flex;align-items:center;gap:8px}
.htr-dots{display:flex;gap:5px;flex:1;min-width:0}
.htr-dots i{width:8px;height:8px;border-radius:8px;background:#d8d1bb;transition:all .25s}
.htr-dots i.on{width:20px;background:#5f7a55}
.htr-btn{border:0;cursor:pointer;font-family:"Fredoka",system-ui,sans-serif;font-weight:600;border-radius:999px}
.htr-back{background:#e1e8d3;color:#1f4a35;font-size:15px;padding:9px 14px;border:1px solid #a4b092!important}
.htr-next{background:#1f4a35;color:#fffaf0;font-size:16px;padding:10px 20px}
.htr-next:active{transform:translateY(1px)}
.htr-skip{display:block;margin:8px auto 0;background:none;border:0;color:#5a5a46;font-weight:700;font-size:13px;cursor:pointer;padding:4px 10px;text-decoration:underline;text-underline-offset:2px}

/* "Want a quick tour?" prompt */
.htr-prompt-wrap{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(40,52,40,.55);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.htr-prompt{width:100%;max-width:340px;border-radius:20px;overflow:hidden;background:#fffaf0;border:2px solid #a4b092;box-shadow:0 14px 34px rgba(16,51,27,.35);animation:htrIn .3s ease-out;text-align:center}
.htr-greet{padding:16px 10px 12px;line-height:1.05;background:#1f4a35;border-bottom:2px solid #a4b092}
.htr-greet .hg-line{margin:0;font-family:"Fredoka","Arial Rounded MT Bold","Trebuchet MS",ui-rounded,system-ui,sans-serif;font-weight:700;font-size:clamp(32px,10vw,44px);letter-spacing:.5px;white-space:nowrap;display:inline-flex;align-items:baseline;justify-content:center;max-width:100%}
.htr-greet .hg-hi{color:#e1e8d3;font-size:1.22em}
.htr-greet .hg-gh{display:inline-block;color:#d9c9a0;opacity:.95;transform:translateY(-.14em)}
.htr-greet .hg-gh i{display:inline-block;font-style:normal}
.htr-greet .hg-gh i:nth-child(1){color:#d9c9a0}
.htr-greet .hg-gh i:nth-child(2){color:#c2cfae}
.htr-greet .hg-name{color:#fffaf0;overflow:hidden;text-overflow:ellipsis;min-width:0}
.htr-pbody{padding:18px 20px 16px}
.htr-pbody h2{margin:0 0 6px;font-family:"Fredoka",system-ui,sans-serif;font-weight:600;font-size:24px;color:#1f4a35}
.htr-pbody p{margin:0 0 16px;font-weight:600;font-size:15px;line-height:1.45;color:#2f3f33}
.htr-yes{display:block;width:100%;border:0;cursor:pointer;border-radius:999px;padding:14px;font-family:"Fredoka",system-ui,sans-serif;font-weight:600;font-size:18px;color:#fffaf0;background:#1f4a35}
.htr-yes:active{transform:translateY(1px)}
.htr-no{display:block;margin:10px auto 0;background:none;border:0;cursor:pointer;font-weight:700;font-size:15px;color:#4d5f45;padding:8px 14px}
.htr-hint{margin:6px 0 0!important;font-size:12px!important;font-weight:600;color:#6f7a62!important}

/* Settings card */
.htr-settings-card .small-btn{margin-top:4px}
@media (prefers-reduced-motion:reduce){.htr-ring,.htr-tip,.htr-prompt{animation:none}.htr-ring{transition:none}}
