/*
 * Copyright (c) 2025–2026 Ion Hands LLC. All rights reserved.
 * Proprietary and confidential. Unauthorized copying, modification,
 * distribution, or use of this file, via any medium, is strictly prohibited.
 */

  


  



  #detail-overlay.over-chat{z-index:6500;}
  





  #detail-overlay{position:fixed;inset:0 0 var(--wh-nav-h,0px) 0;z-index:5000;background:rgba(0,0,0,0);
    pointer-events:none;transition:background 0.3s ease;}
  #detail-overlay.open{background:rgba(0,0,0,0.62);pointer-events:all;}
  






  #detail-panel{position:absolute;bottom:0;left:50%;transform:translate(-50%,calc(100% + var(--wh-nav-h,0px)));width:92%;max-width:520px;
    background:var(--bg-card);border-top:1px solid var(--line-color);
    border-radius:16px 16px 0 0;
    padding:0 0 max(24px,env(safe-area-inset-bottom));
    transition:transform 0.38s cubic-bezier(.2,.85,.32,1);max-height:88dvh;overflow-y:auto;
    box-shadow:0 -8px 32px rgba(0,0,0,0.12);}
  #detail-overlay.open #detail-panel{transform:translate(-50%,0);}
  .detail-drag-handle{width:36px;height:4px;background:var(--line-color);margin:12px auto 0;border-radius:2px;}
  .detail-header{padding:16px 20px 14px;border-bottom:1px solid var(--line-color);
    display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
  .detail-eyebrow{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:4px;}
  .detail-title{font-family:'Inter',sans-serif;font-size:clamp(1.2rem,4vw,1.6rem);font-weight:700;
    letter-spacing:-0.03em;color:var(--text-primary);line-height:1.2;}
  .detail-close{border:1px solid var(--line-color);background:transparent;width:32px;height:32px;
    border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;
    color:var(--text-muted);flex-shrink:0;margin-top:2px;transition:all 0.15s;}
  .detail-close:hover{border-color:var(--accent);color:var(--accent);}
  .detail-close svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;}
  .detail-body{padding:18px 20px;}
  .detail-section-label{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);
    font-weight:700;margin-bottom:10px;}
  .detail-text{font-family:'Inter',sans-serif;font-size:var(--fs-md);font-weight:400;
    color:var(--text-secondary);line-height:1.75;margin-bottom:16px;}
  .detail-text-header{font-size:var(--fs-base);font-weight:600;color:var(--text-secondary);margin-bottom:10px;line-height:1.5;}
  .detail-bullet-list{margin:0 0 16px;padding-left:20px;font-size:var(--fs-base);color:var(--text-primary);line-height:1.75;}
  .detail-bullet-list li{margin-bottom:8px;}
  .bl-sep{color:var(--text-muted);font-size:.75em;vertical-align:middle;margin:0 3px;font-weight:400;}
  .bullet-dow{display:inline-block;font-size:.52rem;font-weight:700;letter-spacing:.05em;
    background:rgba(16,185,129,0.10);color:var(--accent);border:1px solid rgba(16,185,129,0.28);
    border-radius:3px;padding:1px 4px;vertical-align:middle;margin-right:5px;line-height:1.5;}
  .detail-meta-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
  .detail-meta-chip{font-size:.75rem;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);
    background:var(--bg-secondary);border:1px solid var(--line-color);border-radius:4px;padding:5px 11px;font-weight:500;}
  
  


  .detail-cta-accordion{margin:20px 20px 16px;border:2px solid var(--accent);border-radius:8px;
    overflow:hidden;box-shadow:0 2px 10px rgba(16,185,129,0.15);}
  .detail-cta-toggle{display:flex;align-items:center;justify-content:space-between;
    width:100%;padding:14px 16px;
    background:rgba(16,185,129,0.08);
    border:none;cursor:pointer;font-family:'Inter',sans-serif;text-align:left;
    transition:background 0.15s;}
  .detail-cta-toggle:active{background:rgba(16,185,129,0.16);}
  .detail-cta-toggle-left{display:flex;align-items:center;gap:10px;}
  .detail-cta-toggle-icon{width:28px;height:28px;border-radius:6px;
    background:var(--accent);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .detail-cta-toggle-icon svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
  .detail-cta-toggle-label{font-size:var(--fs-base);font-weight:700;color:var(--accent);
    letter-spacing:-0.01em;}
  .detail-cta-toggle-count{font-size:var(--fs-sm);color:var(--text-muted);font-weight:400;margin-left:6px;}
  .detail-cta-chevron{width:20px;height:20px;flex-shrink:0;transition:transform 0.28s cubic-bezier(.25,1,.5,1);}
  .detail-cta-chevron svg{width:20px;height:20px;stroke:var(--accent);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
  .detail-cta-accordion.open .detail-cta-chevron{transform:rotate(180deg);}
  .detail-cta-body{max-height:0;overflow:hidden;
    transition:max-height 0.35s cubic-bezier(.25,1,.5,1);}
  .detail-cta-accordion.open .detail-cta-body{max-height:600px;}
  .detail-actions{padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px;}
  .action-btn{display:flex;align-items:center;gap:12px;padding:13px 16px;background:var(--bg-secondary);
    border:1px solid var(--line-color);border-radius:8px;cursor:pointer;
    transition:background 0.15s,border-color 0.15s;font-family:'Inter',sans-serif;text-align:left;width:100%;}
  .action-btn:hover{background:var(--card-hover-bg);border-color:rgba(16,185,129,0.3);}
  .action-btn-icon{width:32px;height:32px;border:1px solid rgba(16,185,129,0.2);border-radius:6px;
    background:rgba(16,185,129,0.08);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--accent);}
  .action-btn-icon svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;}
  .action-btn-text{flex:1;}
  .action-btn-label{font-size:var(--fs-base);font-weight:600;color:var(--text-primary);}
  .action-btn-sub{font-size:var(--fs-sm);color:var(--text-muted);font-weight:400;margin-top:2px;}
  .action-btn-arrow{color:var(--text-muted);margin-left:auto;font-size:1.1rem;}

  


  .reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease;}
  .reveal.visible{opacity:1;transform:translateY(0);}
  .reveal-d1{transition-delay:.08s;}.reveal-d2{transition-delay:.16s;}
  .reveal-d3{transition-delay:.24s;}.reveal-d4{transition-delay:.32s;}

  @media (min-width:521px){
    #app{box-shadow:0 0 80px rgba(0,0,0,0.15);}
  }

  


  .hero-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:28px;}
  .chat-card{background:var(--bg-card);color:var(--text-primary);
    border:1.5px solid var(--accent);
    box-shadow:0 0 0 3px rgba(16,185,129,0.12),var(--shadow);padding:0;overflow:hidden;cursor:pointer;
    margin-bottom:0;
    transition:background 0.2s,box-shadow 0.2s,transform 0.15s,max-height 0.3s cubic-bezier(.25,1,.5,1);
    max-height:220px;}
  .chat-card:hover{background:var(--card-hover-bg);box-shadow:0 0 0 4px rgba(16,185,129,0.2),var(--shadow);max-height:400px;}
  .chat-card:active{background:var(--card-hover-bg);transform:scale(0.992);}
  .chat-card-inner{padding:16px 14px 14px;position:relative;}

  
  .upload-card{background:linear-gradient(135deg,#10b981 0%,#059669 100%);
    border-color:transparent;
    border-radius:8px;padding:0;overflow:hidden;
    box-shadow:0 4px 18px rgba(16,185,129,0.3);
    margin-bottom:0;display:flex;flex-direction:column;
    transition:background 0.2s,transform 0.15s;}
  .upload-card:hover{background:linear-gradient(135deg,#0ea572 0%,#047857 100%);}
  .upload-card:active{background:linear-gradient(135deg,#059669 0%,#065f46 100%);transform:scale(0.992);}
  .upload-card-label{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
    color:rgba(255,255,255,0.85);padding:12px 14px 9px;}
  
  .upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,0.2);
    flex:1;border-top:1px solid rgba(255,255,255,0.2);overflow:hidden;align-content:start;}
  .upload-btn.upload-extra{display:none;}
  .upload-actions.open{overflow:visible;flex:unset;}
  .upload-actions.open .upload-btn.upload-extra{display:flex;}
  .upload-card:has(.upload-actions.open){overflow:visible;}
  .upload-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:5px;padding:11px 4px;background:transparent;cursor:pointer;border:none;
    transition:background 0.15s;min-height:52px;}
  .upload-btn:hover{background:rgba(255,255,255,0.12);}
  .upload-btn:active{background:rgba(255,255,255,0.22);}
  .upload-btn svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
  .upload-btn-label{font-size:.65rem;font-weight:600;color:rgba(255,255,255,0.85);
    letter-spacing:.01em;text-align:center;line-height:1.2;}
  .upload-more-toggle{display:flex;align-items:center;justify-content:center;gap:4px;
    width:100%;border:none;background:rgba(0,0,0,0.12);cursor:pointer;padding:5px 8px;
    font-size:.5rem;font-weight:700;color:rgba(255,255,255,0.85);letter-spacing:.04em;text-transform:uppercase;
    border-top:1px solid rgba(255,255,255,0.15);transition:background 0.15s;}
  .upload-more-toggle:hover{background:rgba(0,0,0,0.2);}
  .upload-more-toggle svg{width:10px;height:10px;stroke:rgba(255,255,255,0.85);fill:none;stroke-width:2.5;
    stroke-linecap:round;stroke-linejoin:round;transition:transform .25s;flex-shrink:0;}
  .upload-more-toggle.open svg{transform:rotate(180deg);}
  





  
  #sec-calendar .section-header{margin-bottom:42px;}
  #sec-settings .section-header{margin-bottom:14px;}
  #sec-inspect  .section-header{padding:8px 18px;margin-bottom:14px;}

  
  body[data-appmode="A"] .section-header,
  body[data-appmode="B"] .section-header{margin-bottom:84px;}
  body[data-appmode="A"] .hero-row,
  body[data-appmode="B"] .hero-row{margin-bottom:140px;}
  body[data-appmode="A"] .upload-card,
  body[data-appmode="A"] .chat-card,
  body[data-appmode="B"] .upload-card,
  body[data-appmode="B"] .chat-card{min-height:208px;}
  body[data-appmode="A"] .upload-card-label,
  body[data-appmode="B"] .upload-card-label{
    font-size: calc(.72rem * 1.3);
    padding: 14px 14px 9px;}
  body[data-appmode="A"] .upload-actions,
  body[data-appmode="B"] .upload-actions{
    display:flex;flex-direction:row;flex-wrap:nowrap;
    overflow-x:scroll;overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    background:transparent;
    border-top:1px solid rgba(255,255,255,0.2);
    flex:1;gap:0;}
  body[data-appmode="A"] .upload-actions::-webkit-scrollbar,
  body[data-appmode="B"] .upload-actions::-webkit-scrollbar{display:none;}
  body[data-appmode="A"] .upload-actions .upload-btn,
  body[data-appmode="B"] .upload-actions .upload-btn{
    display:flex;flex-direction:column;
    align-items:center;justify-content:center;
    text-align:center;
    flex:0 0 100%;width:100%;min-width:100%;
    height:100%;
    scroll-snap-align:start;scroll-snap-stop:always;
    gap:13px;padding:18px 0;
    border:none;}
  body[data-appmode="A"] .upload-actions .upload-btn svg,
  body[data-appmode="B"] .upload-actions .upload-btn svg{
    width: calc(35px * 1.3); height: calc(35px * 1.3); stroke-width:1.5;}
  body[data-appmode="A"] .upload-actions .upload-btn-label,
  body[data-appmode="B"] .upload-actions .upload-btn-label{
    font-size: calc(.76rem * 1.3); font-weight:700;}
  body[data-appmode="A"] .upload-actions .upload-btn.upload-extra,
  body[data-appmode="B"] .upload-actions .upload-btn.upload-extra{display:flex;}
  body[data-appmode="A"] .upload-more-toggle,
  body[data-appmode="B"] .upload-more-toggle{display:none;}
  body[data-appmode="A"] .upload-carousel-nav,
  body[data-appmode="B"] .upload-carousel-nav{
    display:flex;align-items:center;justify-content:space-between;
    background:rgba(0,0,0,0.18);border-top:1px solid rgba(255,255,255,0.12);
    padding:0;flex-shrink:0;}

  
  body[data-appmode="A"] .chat-card,
  body[data-appmode="B"] .chat-card{
    display:flex;flex-direction:column;overflow:hidden;
    max-height:260px;}
  body[data-appmode="A"] .chat-card-inner,
  body[data-appmode="B"] .chat-card-inner{
    display:flex;flex-direction:column;
    flex:1;padding:16px 14px 14px;overflow:hidden;}
  body[data-appmode="A"] .chat-card-label,
  body[data-appmode="B"] .chat-card-label{
    font-size: calc(.72rem * 1.3);
    flex-shrink:0;
    margin-bottom:10px;}
  body[data-appmode="A"] .chat-card-preview,
  body[data-appmode="B"] .chat-card-preview{
    flex:1;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden;}
  body[data-appmode="A"] .chat-bubble-preview,
  body[data-appmode="B"] .chat-bubble-preview{
    font-size: calc(.88rem * 1.3);
    -webkit-line-clamp:4;}

  
  body[data-appmode="A"] #heroAudioBtn.rec-active,
  body[data-appmode="B"] #heroAudioBtn.rec-active{
    background:rgba(239,68,68,0.18);
    outline:2px solid #ef4444;outline-offset:-2px;}

  






  


  body[data-appmode="A"] .upload-card-label{position:relative;}
  body[data-appmode="A"] .upload-card-label::after{
    content:"+";
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    font-size:2rem;
    font-weight:800;
    line-height:1;
    color:rgba(255,255,255,0.95);
    pointer-events:none;}

  




  .cal-add-btn-top{display:none;}
  body[data-appmode="A"] #sec-calendar .cal-add-btn-top{
    display:inline-flex;
    align-items:center;justify-content:center;
    flex-shrink:0;
    width:31px;height:31px;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.30) 0%,
        rgba(255,255,255,0.14) 18%,
        rgba(255,255,255,0.04) 42%,
        transparent 62%),
      linear-gradient(180deg, #13c789 0%, #059669 100%);
    border:1.5px solid rgba(255,255,255,0.22);
    border-radius:9px;
    color:#fff;cursor:pointer;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.34),
      inset 0 -1.5px 3px rgba(0,0,0,0.18),
      0 1px 0 rgba(0,0,0,0.18),
      0 2px 0 rgba(4,95,70,0.55),
      0 4px 8px rgba(0,0,0,0.26),
      0 6px 14px rgba(16,185,129,0.16);
    text-shadow:0 1px 0 rgba(0,0,0,0.22);
    transition:transform .14s cubic-bezier(.34,1.4,.64,1),
               box-shadow .14s ease,
               background .14s ease;}
  body[data-appmode="A"] #sec-calendar .cal-add-btn-top:hover{
    transform:translateY(-1px);
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.36) 0%,
        rgba(255,255,255,0.18) 18%,
        rgba(255,255,255,0.05) 42%,
        transparent 62%),
      linear-gradient(180deg, #15d091 0%, #06a075 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.40),
      inset 0 -1.5px 3px rgba(0,0,0,0.18),
      0 1px 0 rgba(0,0,0,0.18),
      0 3px 0 rgba(4,95,70,0.55),
      0 5px 10px rgba(0,0,0,0.28),
      0 8px 18px rgba(16,185,129,0.20);}
  body[data-appmode="A"] #sec-calendar .cal-add-btn-top:active{
    transform:translateY(1px);
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.10) 18%,
        rgba(255,255,255,0.02) 42%,
        transparent 62%),
      linear-gradient(180deg, #0ea572 0%, #047857 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      inset 0 -1px 2px rgba(0,0,0,0.20),
      0 1px 0 rgba(0,0,0,0.20),
      0 1px 0 rgba(4,95,70,0.55),
      0 2px 6px rgba(0,0,0,0.24),
      0 5px 12px rgba(16,185,129,0.14);}
  body[data-appmode="A"] #sec-calendar .cal-add-btn-top svg{
    width:15px;height:15px;stroke:#fff;fill:none;
    stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;
    filter:drop-shadow(0 1px 0 rgba(0,0,0,0.22));}
  
  body[data-appmode="A"] #sec-calendar .cal-events .cal-add-btn{display:none;}
  





  .section-title-row{
    display:flex;
    align-items:center;}

  


  body[data-appmode="A"] #sec-calendar .section-title-row .cal-add-btn-top{
    margin-left:0.55em;}
  body[data-appmode="A"] #sec-inspect .section-title-row .files-add-btn-top{
    margin-left:10px;}

  




  body[data-appmode="A"] #sec-dashboard .hero-row{
    margin-bottom:320px;}

  
  body[data-appmode="A"] #sec-calendar .cal-weekday{
    font-size:calc(.55rem * 1.3);}

  
  body[data-appmode="A"] #sec-calendar .day-num{
    font-size:calc(var(--fs-xs) * 1.3);
    width:calc(22px * 1.15);
    height:calc(22px * 1.15);}

  







  body[data-appmode="A"] #sec-calendar .cal-legend{
    cursor:pointer;
    transition:padding .28s ease, gap .28s ease, background .28s ease,
               border-color .28s ease, box-shadow .28s ease;}
  body[data-appmode="A"] #sec-calendar .cal-legend .legend-item{
    transition:padding .28s ease, gap .28s ease, background .28s ease,
               border-color .28s ease, font-size .28s ease,
               letter-spacing .28s ease;}
  body[data-appmode="A"] #sec-calendar .cal-legend .day-dot{
    transition:width .28s ease, height .28s ease, border-radius .28s ease,
               box-shadow .28s ease;}

  
  body[data-appmode="A"] #sec-calendar .cal-legend.is-grown{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:14px;
    background:var(--bg-card);
    border-color:var(--accent);
    box-shadow:0 6px 24px rgba(0,0,0,0.15);}
  body[data-appmode="A"] #sec-calendar .cal-legend.is-grown .legend-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    background:var(--bg-elevated);
    border:1px solid var(--line-color);
    border-radius:6px;
    font-size:.84rem;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--text-primary);}
  body[data-appmode="A"] #sec-calendar .cal-legend.is-grown .day-dot{
    width:14px;
    height:14px;
    border-radius:3px;
    flex-shrink:0;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.22),
               0 1px 2px rgba(0,0,0,0.25);}

  
  body[data-appmode="A"] #sec-calendar .cal-header{
    padding:8px; gap:6px; margin-bottom:12px;}
  body[data-appmode="A"] #sec-calendar .cal-view-btn{
    min-height:28px; padding:6px 12px;}
  body[data-appmode="A"] #sec-calendar .cal-nav{
    width:36px; height:36px;}
  body[data-appmode="A"] #sec-calendar .cal-today-chip{
    min-height:28px; padding:6px 12px;}

  






  body[data-appmode="A"] #sec-calendar{
    padding-left:0;
    padding-right:0;}
  body[data-appmode="A"] #sec-calendar .cal-day{
    min-height:60px;}
  body[data-appmode="A"] #sec-calendar .cal-grid,
  body[data-appmode="A"] #sec-calendar .cal-week-view{
    width:107%;
    max-width:107%;
    margin-left:-3.5%;
    margin-right:-3.5%;}

  


  .files-add-btn-top{display:none;}
  body[data-appmode="A"] #sec-inspect .files-add-btn-top{
    display:inline-flex;
    align-items:center;justify-content:center;
    flex-shrink:0;
    width:31px;height:31px;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.30) 0%,
        rgba(255,255,255,0.14) 18%,
        rgba(255,255,255,0.04) 42%,
        transparent 62%),
      linear-gradient(180deg, #13c789 0%, #059669 100%);
    border:1.5px solid rgba(255,255,255,0.22);
    border-radius:9px;
    color:#fff;cursor:pointer;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.34),
      inset 0 -1.5px 3px rgba(0,0,0,0.18),
      0 1px 0 rgba(0,0,0,0.18),
      0 2px 0 rgba(4,95,70,0.55),
      0 4px 8px rgba(0,0,0,0.26),
      0 6px 14px rgba(16,185,129,0.16);
    text-shadow:0 1px 0 rgba(0,0,0,0.22);
    transition:transform .14s cubic-bezier(.34,1.4,.64,1),
               box-shadow .14s ease,
               background .14s ease;}
  body[data-appmode="A"] #sec-inspect .files-add-btn-top:hover{
    transform:translateY(-1px);
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.36) 0%,
        rgba(255,255,255,0.18) 18%,
        rgba(255,255,255,0.05) 42%,
        transparent 62%),
      linear-gradient(180deg, #15d091 0%, #06a075 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.40),
      inset 0 -1.5px 3px rgba(0,0,0,0.18),
      0 1px 0 rgba(0,0,0,0.18),
      0 3px 0 rgba(4,95,70,0.55),
      0 5px 10px rgba(0,0,0,0.28),
      0 8px 18px rgba(16,185,129,0.20);}
  body[data-appmode="A"] #sec-inspect .files-add-btn-top:active{
    transform:translateY(1px);
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.10) 18%,
        rgba(255,255,255,0.02) 42%,
        transparent 62%),
      linear-gradient(180deg, #0ea572 0%, #047857 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      inset 0 -1px 2px rgba(0,0,0,0.20),
      0 1px 0 rgba(0,0,0,0.20),
      0 1px 0 rgba(4,95,70,0.55),
      0 2px 6px rgba(0,0,0,0.24),
      0 5px 12px rgba(16,185,129,0.14);}
  body[data-appmode="A"] #sec-inspect .files-add-btn-top svg{
    width:15px;height:15px;stroke:#fff;fill:none;
    stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;
    filter:drop-shadow(0 1px 0 rgba(0,0,0,0.22));}

  

  .aev-invite-section{display:none;}
  body[data-appmode="A"] .aev-invite-section{
    display:block;
    margin-top:14px;
    padding-top:14px;
    border-top:1px dashed var(--line-color);}
  body[data-appmode="A"] .aev-invite-label{
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--text-muted);
    margin-bottom:8px;}
  body[data-appmode="A"] .aev-invite-hint{
    font-weight:500;
    text-transform:none;
    letter-spacing:0;
    opacity:.75;}
  body[data-appmode="A"] .aev-invite-recent-row{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    margin-bottom:8px;}
  body[data-appmode="A"] .aev-invite-recipient-row{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:8px;}
  body[data-appmode="A"] .aev-invite-input{
    margin-top:0;}

  


  body[data-appmode="A"] ._prop-summary._prop-editing ._prop-val[contenteditable="true"]{
    background:rgba(16,185,129,0.10);
    border:1px dashed rgba(16,185,129,0.55);
    border-radius:4px;
    padding:2px 6px;
    outline:none;
    cursor:text;}
  body[data-appmode="A"] ._prop-summary._prop-editing ._prop-val[contenteditable="true"]:focus{
    background:rgba(16,185,129,0.18);
    border-color:var(--accent);
    border-style:solid;}

  







  body[data-appmode="A"] #chat-modal .msg.assistant .msg-bubble{
    --font-scale: calc(var(--font-scale) * 1.8);
    line-height: 1.6;}

  



  body[data-appmode="A"] .bottom-nav .nav-label{
    font-size:calc(.55rem * 1.2 * var(--font-scale));}

  


  body[data-appmode="A"] .bottom-nav{
    min-height:calc(78px + max(6px, env(safe-area-inset-bottom)));}
  body[data-appmode="A"] .bottom-nav .nav-item{
    padding:12px 4px 8px;
    gap:5px;}

  



  body[data-appmode="A"] #sec-advice .section-header{
    margin-bottom:42px;}

  





  body[data-appmode="A"] #sec-dashboard.active{
    display:flex;
    flex-direction:column;}
  body[data-appmode="A"] #sec-dashboard > .section-header{order:1;}
  


  body[data-appmode="A"] #sec-dashboard > #wh-coach-cards{order:2;}
  body[data-appmode="A"] #sec-dashboard > #sports-coach-card-host{order:3;}
  body[data-appmode="A"] #sec-dashboard > .hero-row{order:4;}
  body[data-appmode="A"] #sec-dashboard > #needsAttentionCard{order:5;}
  body[data-appmode="A"] #sec-dashboard > #todayFocusCard{order:6;}
  body[data-appmode="A"] #sec-dashboard > .metrics-row{order:7;}
  body[data-appmode="A"] #sec-dashboard > .add-card-strip{order:8;}
  body[data-appmode="A"] #sec-dashboard > .charts-half-row{order:9;}
  body[data-appmode="A"] #sec-dashboard > #heatmapCard{order:10;}

  













  body[data-appmode="A"] #sec-inspect .mf-section-toggle{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.30) 0%,
        rgba(255,255,255,0.14) 18%,
        rgba(255,255,255,0.04) 42%,
        transparent 62%),
      linear-gradient(180deg, #13c789 0%, #059669 100%);
    border:1.5px solid rgba(255,255,255,0.20);
    border-radius:14px;
    color:#fff;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.32),
      inset 0 -2px 4px rgba(0,0,0,0.18),
      0 1px 0 rgba(0,0,0,0.15),
      0 2px 0 rgba(4,95,70,0.55),
      0 5px 12px rgba(0,0,0,0.28),
      0 10px 22px rgba(16,185,129,0.14);
    text-shadow:0 1px 0 rgba(0,0,0,0.22);
    transition:transform .14s cubic-bezier(.34,1.4,.64,1),
               box-shadow .14s ease,
               background .14s ease;}
  body[data-appmode="A"] #sec-inspect .mf-section-toggle:hover{
    transform:translateY(-1px);
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.36) 0%,
        rgba(255,255,255,0.18) 18%,
        rgba(255,255,255,0.05) 42%,
        transparent 62%),
      linear-gradient(180deg, #15d091 0%, #06a075 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.40),
      inset 0 -2px 4px rgba(0,0,0,0.18),
      0 1px 0 rgba(0,0,0,0.15),
      0 3px 0 rgba(4,95,70,0.55),
      0 6px 14px rgba(0,0,0,0.30),
      0 12px 26px rgba(16,185,129,0.18);}
  body[data-appmode="A"] #sec-inspect .mf-section-toggle:active{
    transform:translateY(1px);
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.10) 18%,
        rgba(255,255,255,0.02) 42%,
        transparent 62%),
      linear-gradient(180deg, #0ea572 0%, #047857 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      inset 0 -1.5px 3px rgba(0,0,0,0.20),
      0 1px 0 rgba(0,0,0,0.18),
      0 1px 0 rgba(4,95,70,0.55),
      0 3px 8px rgba(0,0,0,0.26),
      0 6px 14px rgba(16,185,129,0.14);}
  body[data-appmode="A"] #sec-inspect .mf-section-toggle .mf-count{
    color:rgba(255,255,255,0.88);
    text-shadow:0 1px 0 rgba(0,0,0,0.22);}
  body[data-appmode="A"] #sec-inspect .mf-section-toggle svg{
    stroke:#fff;
    filter:drop-shadow(0 1px 0 rgba(0,0,0,0.22));}
  body[data-appmode="A"] #sec-inspect .mf-section-toggle .inspect-section-label-dot{
    background:#fff;
    box-shadow:0 0 0 2px rgba(255,255,255,0.18),
               inset 0 -1px 1px rgba(0,0,0,0.15);}

  



  body[data-appmode="A"] #sec-dashboard .upload-card{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.30) 0%,
        rgba(255,255,255,0.14) 18%,
        rgba(255,255,255,0.04) 42%,
        transparent 62%),
      linear-gradient(180deg, #13c789 0%, #059669 100%);
    border:1.5px solid rgba(255,255,255,0.20);
    border-radius:14px;
    color:#fff;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.32),
      inset 0 -2px 4px rgba(0,0,0,0.18),
      0 1px 0 rgba(0,0,0,0.15),
      0 2px 0 rgba(4,95,70,0.55),
      0 5px 12px rgba(0,0,0,0.28),
      0 10px 22px rgba(16,185,129,0.14);
    text-shadow:0 1px 0 rgba(0,0,0,0.22);
    transition:transform .14s cubic-bezier(.34,1.4,.64,1),
               box-shadow .14s ease,
               background .14s ease;}
  body[data-appmode="A"] #sec-dashboard .upload-card:hover{
    transform:translateY(-1px);
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.36) 0%,
        rgba(255,255,255,0.18) 18%,
        rgba(255,255,255,0.05) 42%,
        transparent 62%),
      linear-gradient(180deg, #15d091 0%, #06a075 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.40),
      inset 0 -2px 4px rgba(0,0,0,0.18),
      0 1px 0 rgba(0,0,0,0.15),
      0 3px 0 rgba(4,95,70,0.55),
      0 6px 14px rgba(0,0,0,0.30),
      0 12px 26px rgba(16,185,129,0.18);}
  body[data-appmode="A"] #sec-dashboard .upload-card:active{
    transform:translateY(1px);
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.10) 18%,
        rgba(255,255,255,0.02) 42%,
        transparent 62%),
      linear-gradient(180deg, #0ea572 0%, #047857 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      inset 0 -1.5px 3px rgba(0,0,0,0.20),
      0 1px 0 rgba(0,0,0,0.18),
      0 1px 0 rgba(4,95,70,0.55),
      0 3px 8px rgba(0,0,0,0.26),
      0 6px 14px rgba(16,185,129,0.14);}

  




  body[data-appmode="A"] #sec-dashboard .chat-card{
    border-radius:14px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.10),
      inset 0 -2px 4px rgba(0,0,0,0.28),
      0 1px 0 rgba(0,0,0,0.20),
      0 2px 0 rgba(0,0,0,0.45),
      0 5px 12px rgba(0,0,0,0.32),
      0 10px 22px rgba(0,0,0,0.20);
    transition:transform .14s cubic-bezier(.34,1.4,.64,1),
               box-shadow .14s ease;}
  body[data-appmode="A"] #sec-dashboard .chat-card:hover{
    transform:translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.14),
      inset 0 -2px 4px rgba(0,0,0,0.28),
      0 1px 0 rgba(0,0,0,0.20),
      0 3px 0 rgba(0,0,0,0.45),
      0 6px 14px rgba(0,0,0,0.34),
      0 12px 26px rgba(0,0,0,0.24);}
  body[data-appmode="A"] #sec-dashboard .chat-card:active{
    transform:translateY(1px);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 -1.5px 3px rgba(0,0,0,0.30),
      0 1px 0 rgba(0,0,0,0.22),
      0 1px 0 rgba(0,0,0,0.45),
      0 3px 8px rgba(0,0,0,0.30),
      0 6px 14px rgba(0,0,0,0.18);}

  





  body[data-appmode="A"] #sec-inspect #filesAccordions{
    gap:18px;}
  body[data-appmode="A"] #sec-inspect #filesAccordions > div{
    margin-top:0 !important;}

  

  .upload-carousel-nav{display:none;}
  .upload-carousel-nav button{
    background:none;border:none;flex:0 0 48px;height:36px;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;color:rgba(255,255,255,0.9);padding:0;}
  .upload-carousel-nav button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
  .upload-carousel-nav button:active{background:rgba(255,255,255,0.1);}
  .upload-carousel-nav button[disabled]{opacity:0.2;pointer-events:none;}
  .upload-carousel-dots{display:flex;gap:5px;align-items:center;justify-content:center;flex:1;}
  .upload-carousel-dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,0.35);transition:background 0.2s,transform 0.2s;}
  .upload-carousel-dot.active{background:#fff;transform:scale(1.3);}
  
  #uploadActionsWrap.carousel-locked{overflow:hidden;pointer-events:none;}
  #uploadActionsWrap.carousel-locked #heroAudioBtn{pointer-events:all;}
  .chat-card-glow{position:absolute;top:-40px;right:-40px;width:160px;height:160px;
    background:radial-gradient(circle,rgba(16,185,129,0.08) 0%,transparent 70%);pointer-events:none;}
  .chat-card-label{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
    color:var(--accent);margin-bottom:0;}
  .chat-card-preview{display:flex;align-items:flex-start;gap:8px;}
  .chat-avatar{width:34px;height:34px;border-radius:50%;background:rgba(16,185,129,0.12);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;}
  .chat-bubble-preview{background:var(--bg-elevated);border-radius:0 8px 8px 8px;
    padding:10px 12px;flex:1;font-size:.88rem;font-weight:500;line-height:1.55;color:var(--text-secondary);
    overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;}
  .chat-card:hover .chat-bubble-preview{-webkit-line-clamp:unset;}
  .chat-cta{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:12px;
    border-top:1px solid var(--line-color);}
  .chat-cta-text{font-size:.72rem;font-weight:600;color:var(--text-secondary);flex:1;}
  .chat-cta-arrow{font-size:1.2rem;color:var(--text-muted);}


  





























  #chat-plus-overlay,
  #files-plus-overlay,
  #wh-artifact-overlay,
  #review-overlay,
  #motion-alert-overlay,
  #cooking-pages-overlay,
  #sports-flag-picker-overlay,
  #avatar-picker-overlay,
  #default-tab-picker-overlay,
  #wh-fresh-start-overlay,
  #chat-modal { display:none; }

  









  #tourOverlay { display:none; }

  




  #tourDeepOverlay { display:none; }






  #inapp-map-overlay { display:none; }
