/* Shared compact, soft-earth discovery layout. Works in browser and native shell. */
body[data-page="free"] .free-grid.shd-discover-host,
body[data-page="paid"] #categories.shd-discover-host{display:block!important;grid-template-columns:none!important}
body[data-page="free"] .free-grid.shd-discover-host>[data-free-category],
body[data-page="paid"] #categories.shd-discover-host>.paid-category-group{display:none!important}
body.shd-ios-simple #categories.shd-discover-host>.paid-category-group,
body.shd-ios-simple .free-grid.shd-discover-host>[data-free-category]{display:none!important}
.shd-discover{font-family:inherit;display:block!important;color:#39513e;max-width:940px;margin:auto;grid-column:1/-1;text-align:left}
body.shd-ios-simple:not(.shd-ios-choose) .shd-discover{display:none!important}
.shd-discover [hidden]{display:none!important}
.shd-discover-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:4px 0 12px}
.shd-discover-head h2{margin:0 0 4px;font:700 1.5rem/1.2 Georgia,serif;color:#3d5341}
.shd-discover-head p{margin:0;font-size:.9rem;line-height:1.4;color:#647365}
.shd-discover-legend{white-space:nowrap;font-size:.72rem;color:#687365}
.shd-discover-utilities{display:grid;gap:8px;grid-template-columns:1fr;max-width:100%;margin:0 0 14px}
.shd-discover-guide-toggle{background:#e5eee5;color:#3d5943;border:1px solid #c4d2c2;border-radius:12px;padding:10px 13px;min-height:44px;font-weight:750;text-align:left;display:flex;justify-content:space-between;align-items:center}
.shd-discover-guide-toggle span{font-size:1.5rem;line-height:1}
.shd-discover-search-label{color:#526450;font-size:.76rem;font-weight:700}
#shd-discover-search{font-size:16px;width:100%;min-height:45px;background:#fffdf8;color:#324c37;border:1px solid #c6d0c0;border-radius:11px;padding:10px 12px}
.shd-discover-section{margin:11px 0 15px}
.shd-discover-section h3{font-size:1rem;font-weight:800;line-height:1.3;color:#48644c;margin:0 0 8px!important;padding:0}
.shd-discover-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.shd-discover-tile{background:#fffdfa;border:1px solid #d5dacf;border-radius:13px;padding:11px;min-height:80px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;gap:5px;color:#37513d;box-shadow:0 2px 5px rgba(45,56,39,.04);cursor:pointer}
.shd-discover-tile strong{font-weight:800;font-size:.92rem;line-height:1.22}
.shd-discover-tile strong span{color:#8d7153}
.shd-discover-tile small{font-size:.74rem;color:#67736b;line-height:1.3}
.shd-discover-tile:focus-visible,.shd-discover-guide button:focus-visible,.shd-discover-random-btn:focus-visible{outline:3px solid #7f9c81;outline-offset:2px}
.shd-discover-guide,.shd-discover-preview,.shd-discover-find-result{position:relative;border:1px solid #cfdbc9;border-radius:15px;background:#f0f3ec;padding:14px;margin:12px 0}
.shd-discover-guide h3,.shd-discover-preview h3{margin:0 0 5px;color:#3a5642;font:700 1.18rem Georgia,serif}
.shd-discover-guide>p{margin:0 0 9px;color:#516651}
.shd-discover-guide-choices{display:flex;flex-wrap:wrap;gap:7px}
.shd-discover-guide-choices button{border:1px solid #c6d2c2;border-radius:30px;background:#fffdfa;padding:9px 12px;min-height:42px;color:#435b46;font-size:.83rem;font-weight:700}
.shd-discover-guide-response{margin-top:10px;color:#48614b}
.shd-discover-guide-response:empty{display:none}
.shd-discover-guide-response p{margin:0 0 8px}
.shd-discover-guide-response small{display:block;margin:0 0 10px}
.shd-discover-guide-response button,.shd-discover-random-btn{min-height:44px;background:#405a46;color:#fffdf9;border:0;border-radius:10px;padding:10px 14px;font-weight:750}
.shd-discover-find-result>button{display:flex;flex-direction:column;text-align:left;gap:3px;padding:10px 0;width:100%;border:0;border-bottom:1px solid #d6e0d3;background:transparent;color:#3f5b45}
.shd-discover-find-result button small{font-size:.77rem;color:#66786a}
.shd-discover-search-title{margin:0 0 9px;font-weight:700}
.shd-discover-preview{background:#fbf7ed;border-color:#ddcdb9;padding-right:38px}
.shd-discover-preview-eyebrow{font-size:.7rem;letter-spacing:.11em;font-weight:800;color:#9a714e;margin:0 0 6px}
.shd-discover-preview-text{font:400 1.03rem/1.5 Georgia,serif;margin:9px 0;color:#455a45}
.shd-discover-preview-hint{font-size:.79rem;color:#657568;line-height:1.45;margin:8px 0}
.shd-discover-preview>a,.shd-discover-upgrade>a{color:#526a52;text-decoration:underline;font-size:.81rem}
.shd-discover-close{position:absolute;right:10px;top:8px;background:transparent;border:0;color:#586c5b;font-size:1.45rem;min-width:36px;min-height:36px}
.shd-discover-random{background:#ecf0e6;border:1px solid #cfdbca;border-radius:15px;padding:15px;margin:22px 0 14px}
.shd-discover-random h3{margin:0 0 4px;font:700 1.15rem Georgia,serif}
.shd-discover-random p{margin:0 0 10px;font-size:.87rem;line-height:1.43;color:#536856}
.shd-discover-random .shd-discover-random-feedback{margin:7px 0 0;font-size:.83rem}
.shd-discover-random-btn:disabled{opacity:.55}
.shd-discover-random small{display:block;color:#718073;font-size:.73rem;margin-top:9px;line-height:1.4}
.shd-discover-footer{border-top:1px solid #dce3d9;margin-top:15px;padding:15px 0;display:flex;justify-content:space-between;align-items:center;gap:15px}
.shd-discover-footer strong{color:#3b5440;font-size:.9rem}
.shd-discover-footer p{color:#667569;font-size:.78rem;line-height:1.4;margin:4px 0 0}
.shd-discover-footer a{white-space:nowrap;text-decoration:none;border:1px solid #849a86;border-radius:10px;padding:10px 12px;font-size:.8rem;color:#405c48;font-weight:800;background:#fffdf7}
.shd-discover-upgrade{text-align:center;margin:6px 0 0}
@media(max-width:355px){.shd-discover-tile{padding:9px;min-height:76px}.shd-discover-tile strong{font-size:.83rem}.shd-discover-tile small{font-size:.69rem}.shd-discover-footer{flex-direction:column;align-items:start}}
/* Native overrides: more specific than the existing iPhone two-column launcher */
body.shd-ios-simple.shd-ios-choose .free-grid.shd-discover-host{display:block!important;grid-template-columns:none!important}
body.shd-ios-simple.shd-ios-choose #categories.shd-discover-host{display:block!important;grid-template-columns:none!important}
body.shd-ios-simple.shd-ios-choose #categories.shd-discover-host>.paid-category-group{display:none!important}
body.shd-ios-simple.shd-ios-choose .free-grid.shd-discover-host>[data-free-category]{display:none!important}
body.shd-ios-simple.shd-ios-choose:has(#shd-discover) .shd-ios-category-heading{display:none!important}
/* Replace repeated legacy sales sections with one passive catalog link. */
body[data-page="free"] .canteen-sample-card,
body[data-page="free"] .premium-preview,
body[data-page="free"] .upgrade-banner,
body[data-page="free"] .dashboard-header [data-checkout-plan]{display:none!important}

/* V56: Accordion topic groups reduce scrolling without removing card descriptions. */
.shd-discover-access-note{font-size:.75rem;font-weight:800;color:#5e755e;text-align:right;margin:0 0 5px!important}
.shd-discover-head{margin:0 0 9px}
.shd-discover-head h2{font-size:1.34rem}
.shd-discover-utilities{margin-bottom:10px;gap:6px}
.shd-discover-section{margin:0 0 7px!important;padding:0;border:1px solid #d1dbce;border-radius:13px;background:#fffdf9;overflow:hidden}
.shd-discover-section>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:12px 13px;min-height:46px;cursor:pointer;color:#405f46;font-weight:850;font-size:.96rem;line-height:1.22}
.shd-discover-section>summary::-webkit-details-marker{display:none}
.shd-discover-section>summary small{margin-left:auto;color:#69776c;font-size:.71rem;font-weight:650;white-space:nowrap}
.shd-discover-section .shd-discover-expand-icon{font-size:1.2rem;margin-left:4px;transform:rotate(0);transition:transform .14s ease}
.shd-discover-section[open] .shd-discover-expand-icon{transform:rotate(180deg)}
.shd-discover-section[open]>summary{background:#ecf1e9;border-bottom:1px solid #d8dfd4}
.shd-discover-tiles{padding:8px;gap:7px}
.shd-discover-tile{min-height:62px;padding:9px 10px;border-radius:11px;gap:3px}
.shd-discover-tile strong{font-size:.86rem;line-height:1.15}
.shd-discover-tile small{font-size:.7rem;line-height:1.23}
.shd-discover-section>summary:focus-visible{outline:3px solid #7f9c81;outline-offset:-4px}
/* Messages confirming Copy or Save must clear the fixed native/iOS footer. */
@media(max-width:760px){
 body[data-page="free"] .toast,body[data-page="paid"] .toast{
   position:fixed!important;left:50%!important;right:auto!important;
   bottom:calc(110px + env(safe-area-inset-bottom))!important;
   transform:translateX(-50%)!important;max-width:calc(100vw - 32px)!important;
   width:max-content;z-index:20000!important;text-align:center;
   box-shadow:0 8px 24px rgba(0,0,0,.22)!important;
 }
}
@media(prefers-reduced-motion:reduce){.shd-discover-section .shd-discover-expand-icon{transition:none}}

/* V57: Asterisk explainer is a quiet link, not an upsell or popup. */
.shd-discover-premium-legend{text-align:left;padding:3px 0 8px;margin:0 0 4px;border-bottom:1px solid #e0e6db}
.shd-discover-premium-legend>a{display:inline-block;font-size:.81rem;font-weight:800;color:#405b45;text-decoration:underline;text-underline-offset:3px;min-height:25px}
.shd-discover-premium-legend p{font-size:.77rem;line-height:1.42;margin:2px 0 0;color:#607061}
.shd-discover-premium-legend p a{color:#486b4c;text-decoration:underline;text-underline-offset:2px}
.shd-premium-info-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(92vw,540px);max-width:540px;max-height:calc(100dvh - 50px);margin:auto;padding:0;border:1px solid #ccd9c8;border-radius:17px;background:#fffdf8;color:#405441;box-shadow:0 16px 52px rgba(23,40,30,.28);overflow-y:auto;overscroll-behavior:contain}
.shd-premium-info-dialog::backdrop{background:rgba(24,40,29,.57)}
.shd-premium-info-dialog .shd-premium-info-inner{position:relative;padding:22px 19px 23px}
.shd-premium-info-dialog h2{font:700 1.5rem/1.2 Georgia,serif;color:#3a5340;margin:0 0 10px}
.shd-premium-overline{color:#887259;font-size:.69rem;font-weight:850;letter-spacing:.13em;margin:0 0 7px}
.shd-premium-info-dialog p{font-size:.84rem;line-height:1.48;margin:0 0 13px;color:#607061}
.shd-premium-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}
.shd-premium-comparison section{background:#f3f5ef;border:1px solid #dce4d8;border-radius:12px;padding:12px}
.shd-premium-comparison section+section{background:#f7f3ea;border-color:#ded6c7}
.shd-premium-comparison h3{font-size:.94rem;font-weight:850;margin:0 0 6px;color:#3c5740}
.shd-premium-comparison ul{padding-left:16px;margin:0}
.shd-premium-comparison li{font-size:.78rem;line-height:1.43;color:#546757;margin:0 0 6px}
.shd-premium-trial-heading{font-size:.99rem;margin:12px 0 6px;color:#405641}
.shd-premium-info-dialog .shd-premium-trial-copy{margin:0 0 10px}
.shd-premium-info-dialog .shd-premium-mobile-note{font-size:.74rem;margin-bottom:12px}
.shd-premium-dialog-close{position:absolute;right:11px;top:11px;min-width:38px;min-height:38px;border:0;background:transparent;color:#465f4a;font-size:1.55rem;cursor:pointer}
.shd-premium-dialog-done{width:100%;border:1px solid #718774;border-radius:11px;padding:11px;min-height:44px;color:#3d5b43;background:#e8efe5;font-weight:800;cursor:pointer}
.shd-premium-dialog-close:focus-visible,.shd-premium-dialog-done:focus-visible,.shd-discover-premium-legend a:focus-visible{outline:3px solid #779a7d;outline-offset:2px}
@media(max-width:450px){.shd-premium-comparison{grid-template-columns:1fr}.shd-premium-info-dialog .shd-premium-info-inner{padding:18px 15px 19px}}

/* V58: make a full card a two-step flow, with category switching in-editor. */
.shd-fast-category{display:flex;align-items:center;gap:9px;padding:8px 10px;margin:0 0 11px;border:1px solid #d7e0d2;border-radius:12px;background:#f4f6f0;min-width:0}
.shd-fast-category label{flex:0 0 auto;max-width:40%;font-size:.83rem;line-height:1.25;font-weight:800;color:#40573f;margin:0!important}
.shd-fast-category select{flex:1;min-width:0;max-width:100%;min-height:44px;padding:8px 12px;border:1px solid #bfcfbb;border-radius:9px;color:#324936;background:#fffdf9;font-size:16px}
body[data-page="paid"]:has(#shd-discover) .paid-form-top{display:none!important}
.shd-change-card-shortcut{border:0;padding:9px 5px;min-height:44px;background:transparent;text-decoration:underline;text-underline-offset:3px;cursor:pointer;color:#455f45;font-weight:750;font-size:.86rem}
.shd-fast-category:focus-within{border-color:#66876d}
@media(max-width:360px){.shd-fast-category{gap:6px;padding:8px}.shd-fast-category label{font-size:.78rem}}

/* V62: visible, compact featured lab; designed for web and native iPhone. */
.shd-featured-lab{display:flex;gap:11px;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#e8efe5,#f6f1e5);border:1px solid #c8d5c5;border-radius:14px;padding:11px 13px;margin:8px 0 12px;box-shadow:0 2px 10px rgba(35,57,38,.04)}
.shd-featured-lab div{min-width:0;flex:1}
.shd-featured-lab span{display:block;font-size:.63rem;letter-spacing:.13em;color:#8b7758;font-weight:850;margin-bottom:3px}
.shd-featured-lab strong{font:700 1.08rem/1.25 Georgia,serif;color:#37523e}
.shd-featured-lab p{color:#5c6b5b;font-size:.75rem;line-height:1.32;margin:2px 0 0}
.shd-featured-lab button{flex:none;border-radius:10px;border:1px solid #405d47;background:#405d47;color:#fffdf8;font-size:.78rem;font-weight:800;padding:10px 11px;min-height:44px;cursor:pointer}
.shd-featured-lab button:focus-visible{outline:3px solid #709875;outline-offset:3px}
body[data-page="paid"] .shd-lab-heading{padding:8px 0 11px}
body[data-page="paid"] .shd-lab-heading .eyebrow{color:#906c47;font-size:.7rem;font-weight:850;letter-spacing:.11em}
body[data-page="paid"] .shd-lab-heading strong{display:block;color:#36513d;font:700 1.15rem/1.3 Georgia,serif;margin:4px 0}
body[data-page="paid"] .shd-lab-heading span{font-size:.84rem;color:#59695e;line-height:1.42}
body[data-page="paid"] .shd-lab-disclaimer{background:#f0f4ee;color:#506551;border:1px solid #d7e2d4;border-radius:12px;padding:11px 12px;font-size:.79rem;line-height:1.4;margin:12px 0 3px}
@media(max-width:390px){.shd-featured-lab{align-items:start}.shd-featured-lab button{padding:9px 7px;max-width:92px;line-height:1.2}}

/* V72: On the Free home, show the six genuine free controls rather than a 17-category searchable directory. */
body[data-page="free"] .free-grid.shd-discover-host{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body[data-page="free"] .free-grid.shd-discover-host>[data-free-category],
body[data-page="free"].shd-ios-simple.shd-ios-choose .free-grid.shd-discover-host>[data-free-category]{display:flex!important}
body[data-page="free"] .free-grid.shd-discover-host>#shd-discover{grid-column:1/-1;margin:0;padding:0;border:0;background:transparent;min-height:0}
body[data-page="free"] .free-grid.shd-discover-host>#shd-discover>:not(.shd-premium-info-dialog){display:none!important}
/* The iPhone Create tab is the same simple page: quote, free cards, and the quiet Full Access preview. */
body[data-page="free"].shd-ios-simple.shd-ios-choose .daily-quote-card{display:flex!important}
body[data-page="free"].shd-ios-simple .shd-ios-category-heading{display:none!important}
body[data-page="free"].shd-ios-simple:not(.shd-ios-choose) .shd-free-category-intro,
body[data-page="free"].shd-ios-simple:not(.shd-ios-choose) .shd-free-premium-spotlight{display:none!important}
body[data-page="free"].shd-ios-simple:not(.shd-ios-choose) .daily-quote-card{display:none!important}
body[data-page="free"].shd-ios-simple.shd-ios-quote .daily-quote-card{display:flex!important}
body[data-page="free"].shd-ios-simple.shd-ios-choose .free-grid.shd-discover-host{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:650px){body[data-page="free"].shd-ios-simple.shd-ios-choose .daily-quote-card{display:block!important}}

/* V73: Free Create must feel like a simple card flow on phone and iPhone.
   V28 had turned the real primary button into a pale sticky container while
   preserving white button text; never permit an invisible Generate control. */
@media(max-width:760px){
  body[data-page="free"] .generator-control-panel > button[data-generate-free],
  body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel > button[data-generate-free]{
    display:flex!important;align-items:center!important;justify-content:center!important;
    position:static!important;inset:auto!important;z-index:auto!important;
    width:100%!important;box-sizing:border-box!important;min-height:54px!important;
    margin:12px 0 5px!important;padding:12px 16px!important;
    border:1px solid #365640!important;border-radius:12px!important;
    background:#365640!important;color:#fffdf8!important;
    font-size:1.02rem!important;line-height:1.3!important;font-weight:850!important;
    text-shadow:none!important;box-shadow:0 3px 9px rgba(29,57,36,.13)!important;
    opacity:1!important;visibility:visible!important;white-space:normal!important;
  }
  body[data-page="free"] .generator-control-panel > button[data-generate-free]:disabled,
  body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel > button[data-generate-free]:disabled{
    opacity:.65!important;cursor:progress!important;
  }
  body[data-page="free"] .generator-workspace-tabs{scroll-margin-top:18px!important}
  body[data-page="free"] [data-generator-workspace]{scroll-margin-top:92px!important}
  body[data-page="free"] .generator-result-panel{scroll-margin-top:14px!important}
}
/* After a free category selection the user sees a compact editor, not
   the original sprawling page, disclaimer panel and duplicate report link. */
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel{
  padding:12px 13px 15px!important;margin:0!important;
  min-height:0!important;gap:8px!important;
}
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel > .notice,
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel > .generator-help-row,
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel > [data-free-description]{display:none!important}
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel > .eyebrow{display:none!important}
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel > [data-free-heading]{
  color:#405640!important;font:700 1.32rem/1.2 Georgia,serif!important;
  margin:4px 0 7px!important;padding:0!important;
}
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel .shd-fast-category{margin-bottom:4px!important}
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-workspace-tabs{
  position:static!important;top:auto!important;margin:0 0 7px!important;
  padding:4px!important;min-height:44px!important;box-shadow:none!important;
}
body[data-page="free"].shd-ios-simple.shd-ios-work .generator-layout{margin:0!important;gap:7px!important}

/* V74 mobile QA: Keep all six free categories within 320px devices without sideways scrolling.
   Kids & Teens keeps every choice; format and safety details are expandable and
   default to message, allowing its Create action to be reached in about a screen. */
@media(max-width:760px){
 body[data-page="free"] .shd-free-connection-details,
 body[data-page="free"] .shd-free-caregiver-details{
  background:#f1f4ef;border:1px solid #d3dfd0;border-radius:11px;
  margin:8px 0;padding:0!important;overflow:hidden;
 }
 body[data-page="free"] .shd-free-connection-details summary,
 body[data-page="free"] .shd-free-caregiver-details summary{
  display:flex;justify-content:space-between;align-items:center;gap:9px;
  cursor:pointer;padding:11px 13px;font-weight:800;font-size:.88rem;
  line-height:1.35;color:#39543f;min-height:45px;box-sizing:border-box;
 }
 body[data-page="free"] .shd-free-connection-details summary small{color:#66776a;font-size:.72rem;font-weight:650;text-align:right}
 body[data-page="free"] .shd-free-connection-details[open] .kids-connection-picker{margin:0 10px 12px!important;padding:10px!important;min-width:0}
 body[data-page="free"] .shd-free-caregiver-details p{margin:0!important;padding:0 13px 13px;font-size:.8rem!important;line-height:1.45}
 body[data-page="free"].shd-ios-simple.shd-ios-work .free-kids-heading{margin:0 0 8px!important}
 body[data-page="free"].shd-ios-simple.shd-ios-work .free-kids-heading span{font-size:.78rem!important;line-height:1.35!important}
 body[data-page="free"].shd-ios-simple.shd-ios-work .free-reset-options>.muted.small{display:none!important}
 body[data-page="free"].shd-ios-simple.shd-ios-work .free-kids-options .kids-caregiver-disclaimer{font-size:.76rem!important;line-height:1.38!important;margin:5px 0!important}
 body[data-page="free"].shd-ios-simple.shd-ios-work .free-kids-options .kids-guidance-options{margin:7px 0!important}
 body[data-page="free"].shd-ios-simple.shd-ios-work .generator-control-panel button[data-generate-free]:focus-visible,
 body[data-page="free"].shd-ios-simple.shd-ios-work .shd-free-connection-details summary:focus-visible,
 body[data-page="free"].shd-ios-simple.shd-ios-work .shd-free-caregiver-details summary:focus-visible{outline:3px solid #8ca78e;outline-offset:2px}
}
/* V74 cross-check: Browser-mobile must not repeat the old Premium catalog below
   the new single spotlight. The spotlight remains informational, not checkout. */
@media(max-width:760px){
 body[data-page="free"] .canteen-sample-card,
 body[data-page="free"] .premium-preview,
 body[data-page="free"] .upgrade-banner{display:none!important}
 body[data-page="free"]:not(.shd-ios-simple) .generator-workspace-tabs{scroll-margin-top:104px!important}
 body[data-page="free"].shd-ios-simple .generator-workspace-tabs{scroll-margin-top:18px!important}
}


/* V75 — Signed-in Free dashboard: put the real daily quote directly after the
   shared logo/menu, then six free tools, then the Lab-inspired Premium preview.
   These selectors are scoped to Free; billing and paid pages are unchanged. */
body[data-page="free"] .app-main{padding-top:12px}
body[data-page="free"] .shd-brand-principle,
body[data-page="free"] .member-view-switch,
body[data-page="free"] .dashboard-header{display:none!important}
body[data-page="free"] .daily-quote-card{
  margin:0 0 14px!important;padding:17px 18px!important;
  border-radius:18px;border-color:#d7c8b7;
  background:linear-gradient(126deg,#f0e5db 0%,#faf5eb 60%,#e9eee4 100%);
}
body[data-page="free"] .daily-quote-card .eyebrow{font-size:.7rem;margin-bottom:4px}
body[data-page="free"] .daily-quote-card h2{font-size:1.3rem;line-height:1.2}
body[data-page="free"] .daily-quote-card blockquote{font-size:clamp(1rem,3.7vw,1.23rem);line-height:1.42}
body[data-page="free"] .shd-free-category-intro{margin:11px 0 9px!important}
body[data-page="free"] .shd-free-category-intro h2{font-size:1.24rem}
body[data-page="free"] .free-grid{gap:9px;margin-bottom:13px}
body[data-page="free"] .free-grid>.category-button{min-height:88px;padding:10px 7px}
body[data-page="free"] .shd-free-premium-spotlight{margin:13px 0 18px;padding:16px 17px}
body[data-page="free"] .shd-free-premium-head h2{font-size:1.27rem}
body[data-page="free"] .shd-free-premium-items{margin-bottom:11px}
body[data-page="free"] #freeContent{scroll-margin-top:10px}
body[data-page="free"] [data-generator-workspace],
body[data-page="free"] .generator-workspace-tabs{scroll-margin-top:18px}
@media(max-width:650px){
  body[data-page="free"] .app-main{padding-top:8px}
  body[data-page="free"] .daily-quote-card{padding:15px 14px!important;margin-bottom:11px!important}
  body[data-page="free"] .daily-quote-card .btn{min-height:42px;margin-top:11px}
  body[data-page="free"] .shd-free-premium-items{gap:7px}
  body[data-page="free"] .shd-free-premium-items>div{padding:9px 9px}
}
/* Do not change the native work/result states; the Quote-and-Tools state is
   intentionally limited to its Create/category-chooser view. */


/* V75.1 — Free palette alignment.
   Use the existing site's Soft Earth variables, not another palette.
   Color-only, scoped to the Free page: no changes to routing, categories,
   native purchases, content generation, or the Full Access experience. */
body[data-page="free"]{
  --shd-free-olive:var(--green,#4f5b46);
  --shd-free-forest:var(--green-2,#344235);
  --shd-free-sage:#e1e7dc;
  --shd-free-cream:var(--cream,#f7f2e8);
  --shd-free-paper:var(--paper,#fffdf7);
  --shd-free-terracotta:var(--gold,#a45f4b);
  --shd-free-brown:#705e53;
  --shd-free-line:var(--line,#d6c9c0);
}
body[data-page="free"] .daily-quote-card{
  border:1px solid #b5bfaf!important;
  border-left:4px solid var(--shd-free-terracotta)!important;
  background:linear-gradient(125deg,#e3e9dd 0%,#eef0e6 45%,#f5ece2 100%)!important;
  box-shadow:0 8px 21px rgba(47,59,43,.08)!important;
}
body[data-page="free"] .daily-quote-card .eyebrow,
body[data-page="free"] .daily-quote-author{
  color:#824c3f!important;
}
body[data-page="free"] .daily-quote-card h2{
  color:var(--shd-free-forest)!important;
}
body[data-page="free"] .daily-quote-card blockquote{
  color:#343d34!important;
}
/* In the native app Share Quote is inserted right after Copy Quote. */
body[data-page="free"] .daily-quote-card [data-copy-daily-quote]{
  background:var(--shd-free-olive)!important;
  border:1px solid var(--shd-free-olive)!important;
  color:#fffdf7!important;
  box-shadow:0 3px 9px rgba(47,59,43,.10);
}
body[data-page="free"] .daily-quote-card [data-native-share="quote"]{
  background:#f6eee5!important;
  border:1.5px solid #9e6b59!important;
  color:#7c4d3e!important;
}
body[data-page="free"] .daily-quote-card [data-copy-daily-quote]:focus-visible,
body[data-page="free"] .daily-quote-card [data-native-share="quote"]:focus-visible{
  outline:3px solid #8a9b7f;outline-offset:3px;
}
body[data-page="free"] .shd-free-category-intro .eyebrow{color:#8d5947!important}
body[data-page="free"] .shd-free-category-intro h2{color:var(--shd-free-forest)!important}
body[data-page="free"] .shd-free-category-intro>p:last-child{color:#5d6859!important}
body[data-page="free"] .free-grid .category-button{
  background:#eaf0e7!important;
  border-color:#bac7b5!important;
  color:var(--shd-free-forest)!important;
  box-shadow:0 3px 9px rgba(47,59,43,.06)!important;
}
body[data-page="free"] .free-grid .category-button:nth-child(4n+2),
body[data-page="free"] .free-grid .category-button:nth-child(4n+3){
  background:#f7efe7!important;
  border-color:#d6c5b6!important;
}
body[data-page="free"] .free-grid .category-button svg,
body[data-page="free"] .free-grid .category-button .category-icon{color:var(--shd-free-terracotta)!important}
body[data-page="free"] .free-grid .category-button .shd-free-category-detail{color:#596957!important}
body[data-page="free"] .free-grid .category-button[aria-pressed="true"]{
  border-color:var(--shd-free-olive)!important;
  background:#e0e9dc!important;
}
body[data-page="free"] .free-grid .category-button:focus-visible{
  outline:3px solid #8e6755!important;outline-offset:2px;
}
body[data-page="free"] .shd-free-premium-spotlight{
  background:linear-gradient(140deg,#dde6d8 0%,#eceae0 52%,#f1e1d7 100%)!important;
  border-color:#bac5b2!important;
  color:var(--shd-free-forest)!important;
}
body[data-page="free"] .shd-free-premium-eyebrow{color:#895344!important}
body[data-page="free"] .shd-free-premium-head h2{color:var(--shd-free-forest)!important}
body[data-page="free"] .shd-free-premium-head>p:last-child{color:#586557!important}
body[data-page="free"] .shd-free-premium-items>div{
  background:var(--shd-free-paper)!important;
  border-color:#c5cdbf!important;
}
body[data-page="free"] .shd-free-premium-items strong{color:var(--shd-free-forest)!important}
body[data-page="free"] .shd-free-premium-items span{color:#626657!important}
body[data-page="free"] .shd-free-premium-link{
  background:var(--shd-free-olive)!important;
  color:#fffdf7!important;
}
body[data-page="free"] .shd-free-premium-reminder{color:#555f52!important}

/* V75.2: Warm Soft Earth and navigation simplification, member pages only.
   Sage leans olive (warm yellow-green) rather than icy mint/blue. */
:root{--shd-warm-sage:#e5e8d8;--shd-warm-sage-deep:#dce2cd;--shd-warm-cream:#f6eee4;--shd-warm-terracotta:#a35f4c;--shd-warm-forest:#3c513e}
body[data-page="free"] .daily-quote-card{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:9px;row-gap:8px;
  background:linear-gradient(125deg,#e5e8d8 0%,#efece0 60%,#f5ece3 100%)!important;
  border-color:#b8bda9!important;
}
body[data-page="free"] .daily-quote-card>div{grid-column:1/-1}
body[data-page="free"] .daily-quote-card [data-copy-daily-quote],
body[data-page="free"] .daily-quote-card [data-native-share="quote"]{
  width:100%!important;min-width:0;min-height:44px!important;margin:2px 0 0!important;
  padding:9px 10px!important;font-size:.84rem!important;line-height:1.25!important;
  border-radius:11px!important;white-space:normal;
}
body[data-page="free"] .daily-quote-card:not(:has([data-native-share="quote"])) [data-copy-daily-quote]{grid-column:1/-1}
body[data-page="free"] .free-grid .category-button{
  background:var(--shd-warm-sage)!important;border-color:#bec6b0!important;
  min-height:83px!important;padding:8px 7px!important;
}
body[data-page="free"] .free-grid .category-button:nth-child(4n+2),
body[data-page="free"] .free-grid .category-button:nth-child(4n+3){
  background:var(--shd-warm-cream)!important;border-color:#d9c7b8!important;
}
body[data-page="free"] .free-grid .category-button[aria-pressed="true"]{
  background:var(--shd-warm-sage-deep)!important;border-color:#56664e!important;
}
body[data-page="free"] .shd-free-premium-spotlight{
  display:block!important;overflow:hidden;
  background:linear-gradient(140deg,#e3e7d5 0%,#efe9dd 68%,#f3e1d6 100%)!important;
  border-color:#bfc6b3!important;margin:14px 0 19px!important;
  padding:0!important;
}
body[data-page="free"] .shd-free-premium-head{
  display:block;position:relative;padding:15px 38px 15px 16px;min-height:94px;
  cursor:pointer;list-style:none;outline-offset:-4px;
}
body[data-page="free"] .shd-free-premium-head::-webkit-details-marker{display:none}
body[data-page="free"] .shd-free-premium-head:after{
  content:'+';position:absolute;right:14px;top:15px;
  font-size:1.45rem;font-weight:700;line-height:1;color:#8e604b;
}
body[data-page="free"] .shd-free-premium-spotlight[open] .shd-free-premium-head:after{content:'−'}
body[data-page="free"] .shd-free-premium-head .shd-free-premium-eyebrow{margin-bottom:4px!important}
body[data-page="free"] .shd-free-premium-head h2{font-size:1.24rem!important;margin:3px 0 5px!important;line-height:1.2}
body[data-page="free"] .shd-free-premium-head>p:last-child{font-size:.8rem;line-height:1.35;margin:0!important}
body[data-page="free"] .shd-free-premium-items{margin:0 14px 11px!important;gap:7px}
body[data-page="free"] .shd-free-premium-link{display:flex!important;margin:0 14px 10px!important}
body[data-page="free"] .shd-free-premium-reminder{margin:0 14px 14px!important}
body[data-page="free"] .shd-free-premium-head:focus-visible{outline:3px solid #a35f4c}
/* Reduce the footprint of the fixed navigation without hiding the iPhone home indicator. */
@media(max-width:760px){
  body[data-page="free"] .app-main,body[data-page="paid"] .app-main{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
  body[data-page="free"] .shd-global-nav,body[data-page="paid"] .shd-global-nav{min-height:65px!important}
  body[data-page="free"] .shd-global-brand img,body[data-page="paid"] .shd-global-brand img{width:44px!important;height:44px!important}
  body[data-page="free"] .shd-global-menu,body[data-page="paid"] .shd-global-menu{top:65px!important}
  body[data-page="free"] .mobile-member-nav,body[data-page="paid"] .mobile-member-nav,
  html.shd-native-shell body[data-page="free"] .mobile-member-nav,
  html.shd-native-shell body[data-page="paid"] .mobile-member-nav{
    left:11px!important;right:11px!important;
    bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;
    padding:0!important;min-height:50px!important;
    background:#faf5ed!important;border:1px solid #d5c7b9!important;
    border-radius:16px!important;box-shadow:0 6px 16px rgba(36,47,37,.14)!important;
  }
  body[data-page="free"] .mobile-member-nav a,body[data-page="paid"] .mobile-member-nav a{
    display:flex;align-items:center;justify-content:center;min-height:50px;
    padding:9px 3px!important;font-size:.77rem!important;
  }
  body[data-page="free"] .mobile-member-nav a.active,body[data-page="paid"] .mobile-member-nav a.active{
    background:#4f5b46!important;color:#fffdf7!important;
  }
  body[data-page="free"] .toast,body[data-page="paid"] .toast,
  body[data-page="free"] .shd-native-toast,body[data-page="paid"] .shd-native-toast{
    bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;
  }
  body[data-page="free"] .shd-free-category-intro{margin:9px 0 7px!important}
  body[data-page="free"] .free-grid{gap:9px!important;margin-bottom:12px!important}
  body[data-page="free"] .shd-free-premium-spotlight{margin-top:13px!important}
  body[data-page="paid"] .shd-brand-principle,
  body[data-page="paid"] .member-view-switch{display:none!important}
  body[data-page="paid"] .dashboard-header{gap:8px!important;margin:6px 0 10px!important;align-items:start}
  body[data-page="paid"] .dashboard-header h1{font-size:clamp(1.65rem,6vw,2rem)!important;line-height:1.14!important}
  body[data-page="paid"] .dashboard-header p{font-size:.85rem!important;line-height:1.4!important}
  body[data-page="paid"] .member-intro-strip{padding:12px!important;margin-bottom:12px!important}
  body[data-page="paid"] .member-intro-strip>div:first-child{display:none!important}
  body[data-page="paid"] .member-intro-links{display:flex!important;flex-wrap:nowrap!important;gap:7px!important;overflow-x:auto;-webkit-overflow-scrolling:touch}
  body[data-page="paid"] .member-intro-links a{white-space:nowrap;font-size:.79rem;min-height:40px;padding:9px 11px}
  body[data-page="free"] #dailyQuoteHeading,
  body[data-page="free"] #freeCategories,
  body[data-page="paid"] #today,
  body[data-page="paid"] #categories,
  body[data-page="free"] #saved,body[data-page="paid"] #saved{scroll-margin-top:82px}
}
/* Warm cool mint-like callouts across both member experiences. */
body[data-page="free"] .shd-fast-category,body[data-page="paid"] .shd-fast-category,
body[data-page="free"] .shd-discover-guide-toggle,body[data-page="paid"] .shd-discover-guide-toggle,
body[data-page="free"] .shd-discover-guide,body[data-page="paid"] .shd-discover-guide,
body[data-page="free"] .shd-discover-random,body[data-page="paid"] .shd-discover-random,
body[data-page="free"] .shd-featured-lab,body[data-page="paid"] .shd-featured-lab{
  background:var(--shd-warm-sage)!important;border-color:#c3c7ae!important;
}
body[data-page="free"] .shd-discover-section[open]>summary,
body[data-page="paid"] .shd-discover-section[open]>summary{
  background:#e6e9d9!important;
}
body[data-page="free"] .generator-result-panel .result-meta .action-row [data-copy-kids-send-ahead],
body[data-page="paid"] .generator-result-panel .result-meta .action-row [data-copy-kids-send-ahead]{
  background:#e5e8d8!important;border-color:#b3bea5!important;
}

@media(max-width:760px){body[data-page="paid"] #paidAccountActions{scroll-margin-top:82px}}

/* Keep member controls compact without reducing touch-target size. */
@media(max-width:760px){
  body[data-page="paid"] .dashboard-header .action-row{
    width:100%;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px!important;margin-top:5px!important;
  }
  body[data-page="paid"] .dashboard-header .action-row [data-membership-label]{
    grid-column:1/-1;justify-self:start;margin:0!important;
  }
  body[data-page="paid"] .dashboard-header .action-row>.btn{
    width:100%;min-width:0;min-height:44px!important;
    padding:8px 7px!important;font-size:.79rem!important;text-align:center;
  }
  body[data-page="paid"] [data-native-app-settings]{scroll-margin-top:82px}
}

/* First-time Full Access setup stays available without burying Today's tools. */
body[data-page="paid"] details.premium-onboarding{padding:0!important;overflow:hidden}
body[data-page="paid"] .shd-premium-onboarding-summary{
  cursor:pointer;list-style:none;position:relative;padding:15px 40px 14px 16px;min-height:88px;
}
body[data-page="paid"] .shd-premium-onboarding-summary::-webkit-details-marker{display:none}
body[data-page="paid"] .shd-premium-onboarding-summary:after{
  content:'+';position:absolute;right:15px;top:15px;color:#995d48;
  font-size:1.45rem;font-weight:800;line-height:1;
}
body[data-page="paid"] details.premium-onboarding[open] .shd-premium-onboarding-summary:after{content:'−'}
body[data-page="paid"] .shd-premium-onboarding-summary .eyebrow{font-size:.68rem;margin:0 0 4px}
body[data-page="paid"] .shd-premium-onboarding-summary h2{
  color:#3c513e;font:700 1.27rem/1.2 Georgia,serif;margin:0 0 5px;
}
body[data-page="paid"] .shd-premium-onboarding-summary p:last-child{font-size:.82rem;line-height:1.35;color:#5e6356;margin:0}
body[data-page="paid"] details.premium-onboarding>.premium-onboarding-grid,
body[data-page="paid"] details.premium-onboarding>.action-row,
body[data-page="paid"] details.premium-onboarding>[data-premium-onboarding-status]{margin-left:16px;margin-right:16px}
body[data-page="paid"] details.premium-onboarding>.premium-onboarding-grid{margin-top:0}
body[data-page="paid"] .shd-premium-onboarding-summary:focus-visible{outline:3px solid #a35f4c;outline-offset:-4px}
