/* Tas Care Guide — safe mobile visual polish
   Visual-only layer. No interaction, pointer, modal, scroll-lock or JS behaviour changes. */
@media (max-width:720px){
  :root{
    --tcg-find:#0b7086;
    --tcg-find-soft:#e5f4f6;
    --tcg-guide:#b87a16;
    --tcg-guide-soft:#fff3d9;
    --tcg-family:#2f7a4c;
    --tcg-family-soft:#eaf6e9;
    --tcg-provider:#174d7a;
    --tcg-provider-soft:#e8f0f8;
    --tcg-card:#fffefa;
    --tcg-page:#f4f0e7;
    --tcg-line:#d6d5cc;
    --tcg-shadow:0 8px 24px rgba(35,56,45,.10);
  }

  body{background:linear-gradient(180deg,#f7f3eb 0%,var(--tcg-page) 100%)}
  .wrap{padding-bottom:28px}

  /* App header */
  header{background:rgba(255,254,250,.98);box-shadow:0 3px 14px rgba(28,55,42,.08)}
  .tcg-brand-mark{background:linear-gradient(145deg,#2d7652,#285f78);box-shadow:0 4px 12px rgba(37,96,73,.18)}
  .who-badge{background:#f0f5ed;border-color:#c8d7c8}

  /* Shared cards: more separation and rhythm */
  .panel,.card,.current-plan,.price-card,.dash-shell,.admin-workspace,.tcg-admin-section{
    border-color:var(--tcg-line);
    box-shadow:var(--tcg-shadow);
  }
  .panel{margin:18px 0;border-radius:20px}
  .card{border-radius:20px;background:var(--tcg-card)}
  .card h3{margin-bottom:8px}
  .status{padding:10px 2px 7px;font-weight:650}

  /* FIND SERVICES — teal */
  #directory .mobile-quick{
    margin:0 -16px 18px;
    padding:22px 16px 20px;
    background:
      linear-gradient(135deg,rgba(6,87,111,.96),rgba(21,128,145,.88)),
      url('tas-scene-clean.jpg') center/cover no-repeat;
    color:#fff;
    border-bottom:1px solid #0c6074;
  }
  #directory .mobile-quick .tcg-eyebrow{color:#dff7fb!important}
  #directory .mobile-quick h1{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.16);margin-bottom:16px}
  #directory .tcg-search-form{
    background:rgba(255,255,255,.97);
    border-color:#b6d8df;
    box-shadow:0 10px 28px rgba(1,53,69,.18);
  }
  #directory .tcg-search-submit{background:var(--tcg-find)}
  #directory .mobile-filter-toggle{background:#e6f4f6;border-color:#b6d5da;color:#125c6b}
  #directory .service-intro{display:flex;align-items:center;gap:9px;margin-top:22px}
  #directory .service-intro:before{content:'⌕';display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--tcg-find-soft);color:var(--tcg-find);font-size:22px;font-weight:900}
  #directory .cat{background:#eef7f5;border-color:#c9dfdb;color:#24554d;box-shadow:0 4px 12px rgba(41,83,67,.07)}
  #directory .cat:nth-child(2),#directory .cat:nth-child(5){background:#edf4f8;border-color:#ccdde5}
  #directory .cat:nth-child(3),#directory .cat:nth-child(6){background:#f8f1e5;border-color:#e4d6be}
  #directory .cards{gap:16px}
  #directory .card{border-left:4px solid #8bc2ca;padding:18px 17px}
  #directory .tcg-availability{font-weight:750;border:1px solid #cbe0cd}
  #directory .tcg-card-actions .btn:not(.alt){background:var(--tcg-find)}
  #directory .tcg-card-more{border-top-color:#dde6e3}

  /* GUIDED HELP — warm amber */
  #guided{--section-accent:var(--tcg-guide)}
  #guided .guided-family-intro{
    position:relative;
    overflow:hidden;
    background:
      radial-gradient(circle at 92% 18%,rgba(244,190,77,.28) 0 78px,transparent 79px),
      linear-gradient(145deg,#fff8e9 0%,#f9ecd1 100%);
    border-color:#e5c98f;
  }
  #guided .guided-family-intro:after{content:'✦';position:absolute;right:22px;top:18px;font-size:31px;color:#d39a31;opacity:.55}
  #guided .guided-family-intro .section-kicker{color:#8b5a0c}
  #guided .guided-family-intro h2{color:#5f400f}
  #guided .guided-builder{border-top:5px solid #d79a28;background:#fffdf8}
  #guided .guided-builder h3{display:flex;align-items:center;gap:9px;color:#5e4317}
  #guided .guided-builder h3:before{content:'1→2→3';font-size:11px;letter-spacing:-.4px;background:var(--tcg-guide-soft);color:#86580e;border:1px solid #e7ca91;border-radius:9px;padding:6px 7px}
  #guided .guided-submit .btn{background:var(--tcg-guide);box-shadow:0 6px 14px rgba(161,103,15,.18)}
  #guided .assessment-help{background:linear-gradient(180deg,#fffdf8,#fff8e9);border-color:#e2cfaa}
  #guided .assessment-step{background:#fffefa;border:1px solid #eadfc8;border-radius:14px;margin:9px 0}
  #guided .assessment-step>span{background:#d99b2d;color:#fff}

  /* FAMILY — green */
  #family{--section-accent:var(--tcg-family)}
  #family>.panel:first-child{
    background:
      radial-gradient(circle at 92% 10%,rgba(88,156,100,.16) 0 88px,transparent 89px),
      linear-gradient(145deg,#f5fbf2,#eaf5e8);
    border-color:#bad6bb;
    border-top:5px solid var(--tcg-family);
  }
  #family>.panel:first-child h2{color:#235f3c}
  #family .family-signin-prompt{background:#f0f8ee!important;border:1px solid #c8dfc7!important;border-radius:15px}
  #family .family-signin-btn,.family-signin-btn{background:var(--tcg-family)}
  #family h3{color:#2b6742}
  #family #favList .claimrow{
    background:#fffefa;
    border-color:#cfe0cd;
    box-shadow:0 4px 12px rgba(37,91,55,.06);
  }
  #family .taskrow{background:#fbfdf9;border:1px solid #dce7d8;border-radius:13px;padding:12px;margin:8px 0}
  #family .taskrow input[type=checkbox]{accent-color:var(--tcg-family)}
  #family .tcg-family-progress progress{accent-color:var(--tcg-family)}

  /* PROVIDERS — navy blue */
  #provider{--section-accent:var(--tcg-provider)}
  #provider>.panel:first-child{
    position:relative;
    overflow:hidden;
    background:
      linear-gradient(145deg,rgba(17,61,99,.98),rgba(28,83,128,.94));
    border-color:#174b75;
    color:#fff;
    box-shadow:0 12px 30px rgba(18,59,94,.20);
  }
  #provider>.panel:first-child h2,#provider>.panel:first-child h3,#provider>.panel:first-child label{color:#fff}
  #provider>.panel:first-child .muted,#provider>.panel:first-child .plainhint{color:#d9e8f4}
  #provider>.panel:first-child .btn:not(.alt){background:#fff;color:#174d7a;border-color:#fff}
  #provider>.panel:first-child .btn.alt{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.55)}
  #provider .provider-dashboard>h3{display:flex;align-items:center;gap:9px;color:#174d7a}
  #provider .provider-dashboard>h3:before{content:'▦';display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--tcg-provider-soft);color:var(--tcg-provider)}
  #provider .dash-shell{background:#f8fbfe;border-color:#cbdce9;border-left-width:5px;box-shadow:0 6px 18px rgba(31,74,109,.09)}
  #provider .dash-metric{background:#fff;border-color:#dbe6ef}
  #provider .dash-actions .btn:not(.alt){background:var(--tcg-provider)}
  #provider .current-plan{background:#edf4fa;border-color:#c9dce9}
  #provider .pricing-wrap{border-top-color:#cbdde9}
  #provider .price-card{border-color:#ccdae5;background:#fbfdff}
  #provider .price-card.featured{border-color:#4f86b1;background:#f2f7fb}

  /* Bottom nav: each destination keeps its own identity */
  .mobile-bottom-nav{background:rgba(255,254,250,.98);border-top-color:#d4d5ce;box-shadow:0 -5px 18px rgba(32,48,40,.10)}
  .mobile-bottom-nav button[data-view="directory"][aria-current="page"]{color:var(--tcg-find);background:var(--tcg-find-soft)}
  .mobile-bottom-nav button[data-view="guided"][aria-current="page"]{color:#9b630d;background:var(--tcg-guide-soft)}
  .mobile-bottom-nav button[data-view="family"][aria-current="page"]{color:var(--tcg-family);background:var(--tcg-family-soft)}
  .mobile-bottom-nav button[data-view="provider"][aria-current="page"]{color:var(--tcg-provider);background:var(--tcg-provider-soft)}
  .mobile-bottom-nav button{transition:background .15s ease,color .15s ease}

  /* Buttons / controls — clearer hierarchy but preserve behaviour */
  .btn{box-shadow:0 4px 10px rgba(35,73,52,.11)}
  .btn.alt{box-shadow:none}
  input:not([type=checkbox]):not([type=radio]),select,textarea{background:#fff;border-color:#bfc8c0}
  input:focus,select:focus,textarea:focus{outline-color:#95b69e}

  /* Small screens */
  @media(max-width:390px){
    #directory .mobile-quick{padding-left:13px;padding-right:13px}
    .panel{padding-left:14px;padding-right:14px}
    #provider>.panel:first-child{padding:18px 14px}
  }
}
