




@media (max-width: 600px)  {
  
  #mobile-app  {
    display: none !important;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .mob-topbar  {
    display: flex;
    align-items: center;
    padding: 14px 16px 8px;
    flex-shrink: 0;
    gap: 8px;
    border-bottom: 1px solid var(--border);
  }
  .mob-back-btn  {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: var(--t-display);
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
    font-family: inherit;
  }
  .mob-back-btn:hover  {
    border-color: var(--border-focus);
    color: var(--text);
  }
  .mob-icon-btn  {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: var(--t-body);
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
    font-family: inherit;
  }
  .mob-icon-btn:hover  {
    border-color: var(--border-focus);
    color: var(--text);
  }
  
  .mob-screen  {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }
  .mob-screen.active  {
    display: flex;
  }
  
  .mob-home-body  {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  #mob-cal-container  {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    padding: 4px 6px 24px;
  }
  #mob-cal-container #cal-panel  {
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  #mob-cal-container .cal-month  {
    width: 100%;
    max-width: 380px;
  }
  
  .mob-week-strip  {
    display: flex;
    align-items: stretch;
    border-bottom: 1.5px solid var(--border);
    flex-shrink: 0;
    overflow-x: auto;
  }
  .mob-week-strip::-webkit-scrollbar  {
    display: none;
  }
  .mob-w-tile  {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 2px 8px;
    gap: 2px;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: background 0.15s;
    position: relative;
    min-width: 0;
  }
  .mob-w-tile:hover:not(.future)  {
    background: rgba(255,255,255,0.55);
  }
  .mob-w-tile.future  {
    opacity: 0.3;
    cursor: default;
  }
  .mob-w-tile.selected  {
    background: var(--bg) !important;
    box-shadow: inset 0 -2.5px 0 var(--text);
  }
  .mob-w-tile.today .mob-w-day  {
    font-weight: 800;
  }
  .mob-w-day  {
    font-size: var(--t-meta);
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
  }
  .mob-w-num  {
    font-size: var(--t-micro);
    color: var(--muted);
    line-height: 1;
  }
  
  .mob-day-header  {
    padding: 16px 16px 8px;
    flex-shrink: 0;
  }
  .mob-day-heading  {
    font-family: 'Lora', Georgia, serif;
    font-size: var(--t-head);
    font-weight: 400;
    color: var(--text);
    margin-bottom: 10px;
  }
  .mob-sig-area  {
    padding: 0 16px 10px;
    flex-shrink: 0;
  }
  
  .mob-bears-wrap  {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 8px;
    position: relative;
  }
  .mob-bears-scaler  {
    transform-origin: center center;
    
  }
  
  .mob-bears-scaler .bear-panel  {
    display: none !important;
  }
  .mob-bears-scaler .bear-col-expand  {
    display: none !important;
  }
  
  .mob-bears-scaler #sig-dropdown  {
    display: none !important;
  }
  .mob-bears-scaler .bear-col  {
    cursor: pointer;
  }
  .mob-bears-scaler .bear-hex-outer  {
    transition: filter 0.18s, transform 0.15s;
  }
  .mob-bears-scaler .bear-col:active .bear-hex-outer  {
    filter: brightness(0.88);
    transform: scale(0.96);
  }
  
  .mob-bears-scaler .bear-col.active .bear-hex-outer  {
    filter: brightness(1.04);
  }
  .mob-day-footer  {
    padding: 12px 16px 20px;
    flex-shrink: 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  .mob-bear-detail  {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72vh;
    background: var(--card);
    border-radius: 18px 18px 0 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(80,60,40,0.18);
    z-index: 210;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .mob-bear-detail.open  {
    transform: translateY(0);
  }
  .mob-sheet-handle  {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    margin: 10px auto 4px;
    flex-shrink: 0;
  }
  .mob-bear-detail-header  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 12px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border);
  }
  .mob-bear-detail-name  {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lora', Georgia, serif;
    font-size: var(--t-head);
    font-weight: 400;
    color: var(--text);
  }
  .mob-bear-name-dot  {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .mob-bear-done-btn  {
    padding: 7px 18px;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: var(--t-body);
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
  }
  .mob-bear-done-btn:hover  {
    opacity: 0.85;
  }
  .mob-bear-detail-body  {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .mob-bear-toggle  {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: white;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s, background 0.15s;
  }
  .mob-bear-toggle.active  {
    border-color: var(--bear-clr);
    background: rgba(100,80,60,0.02);
  }
  .mob-bear-toggle-box  {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: 1.5px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--t-body);
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.15s;
  }
  .mob-bear-toggle.active .mob-bear-toggle-box  {
    background: var(--bear-clr);
    border-color: var(--bear-clr);
  }
  .mob-bear-toggle-info  {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .mob-bear-toggle-name  {
    font-size: var(--t-body);
    font-weight: 500;
    color: var(--text);
  }
  .mob-bear-toggle-sub  {
    font-size: var(--t-ui);
    color: var(--muted);
  }
  
  .mob-section-label  {
    font-size: var(--t-micro);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--label);
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  
  .mob-hours-vert  {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .mob-hour-row  {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
  }
  .mob-hour-row-lbl  {
    width: 30px;
    flex-shrink: 0;
    font-size: var(--t-meta);
    color: var(--label);
    text-align: right;
    line-height: 1;
  }
  .mob-hour-row-bar  {
    flex: 1;
    height: 28px;
    border-radius: 6px;
    background: rgba(100,80,60,0.08);
    transition: background 0.15s;
    border: 1.5px solid transparent;
  }
  .mob-hour-row:hover .mob-hour-row-bar  {
    border-color: rgba(100,80,60,0.2);
  }
  .mob-hour-row.on .mob-hour-row-bar  {
    border-color: transparent;
  }
  
  .mob-reflection  {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58vh;
    background: var(--card);
    border-radius: 18px 18px 0 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(80,60,40,0.18);
    z-index: 210;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    padding: 0 16px 20px;
    overflow: hidden;
  }
  .mob-reflection.open  {
    transform: translateY(0);
  }
  .mob-reflection-inner  {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 14px;
    gap: 10px;
  }
  
  .mob-backdrop  {
    position: fixed;
    inset: 0;
    background: rgba(44,36,32,0.38);
    z-index: 205;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s;
  }
  .mob-backdrop.show  {
    opacity: 1;
    pointer-events: all;
  }
  
  #mob-cal-container #cal-panel  {
    padding: 8px 12px 16px !important;
  }
  #mob-cal-container .cal-month  {
    margin-bottom: 20px;
  }
  #mob-cal-container .cal-month-label  {
    font-size: var(--t-body) !important;
  }
  #mob-cal-container .cal-dow-row  {
    gap: 3px;
    margin-bottom: 6px;
  }
  #mob-cal-container .cal-dow  {
    width: 40px !important;
    font-size: var(--t-meta) !important;
  }
  #mob-cal-container .cal-row  {
    gap: 3px;
  }
  #mob-cal-container .cal-row.offset  {
    margin-left: 21px;
  }
  #mob-cal-container .cal-cell  {
    width: 40px !important;
    height: 45px !important;
    font-size: var(--t-body) !important;
  }
  
  #mob-cal-container .cal-grid.standard  {
    gap: 4px;
  }
  #mob-cal-container .cal-grid.standard .cal-cell  {
    width: auto !important;
    height: auto !important;
    font-size: var(--t-body) !important;
    min-height: 38px;
  }
  
  #mob-cal-container .bear-trail-label  {
    font-size: var(--t-ui) !important;
    margin-bottom: 6px !important;
  }
  #mob-cal-container .ft-row  {
    margin-bottom: 8px;
    gap: 8px;
  }
  #mob-cal-container .ft-dot  {
    width: 8px !important;
    height: 8px !important;
  }
  #mob-cal-container .ft-name  {
    font-size: var(--t-body) !important;
    width: 80px !important;
  }
  #mob-cal-container .ft-track  {
    height: 7px !important;
  }
  #mob-cal-container .ft-count  {
    font-size: var(--t-body) !important;
    width: 20px !important;
  }
  #mob-cal-container .trail-lens-grid  {
    grid-template-columns: 1fr !important;
  }
}




@media (max-width: 600px) {

  html, body { height: auto; overflow-x: hidden; }
  body { padding: 0; }

  
  body.m-shell #desktop-main { display: none !important; }

  
  
  :root {
    --m-pad:      16px;
    --m-top-h:    72px;   
    
    --m-head-gap: 22px;   
    
    --m-safe: env(safe-area-inset-bottom, 0px);
    --m-ctl-h:    44px;   
    --m-dayhex:   var(--dayhex-compact);   
    --m-q:        22px;   
    --m-wing:     12px;   
    --m-nav-h:    94px;   
    
    --m-log-lift: 12px;   
  }

  #m-page {
    display: flex;
    flex-direction: column;
    
    padding: var(--m-head-gap) var(--m-pad)
             calc(var(--m-nav-h) + var(--m-safe) + 28px);

    
    --doors-scale: 1.28;

    
    --bears-step: 1;

    
    --bears-k: calc(var(--bears-step) * var(--bears-zoom)
                  * var(--bears-fit) * var(--doors-scale));
  }

  
  #m-page > .today-col-day {
    position: static; left: auto; top: auto;
    width: 100%; max-width: none; height: auto; min-height: 0;
    margin: 0 0 4px; flex: 0 0 auto;
  }
  #m-page .bear-area-lead { gap: 12px; align-items: flex-start; }
  #m-page .bear-area-heading { font-size: var(--m-q); line-height: 1.15; }
  #m-page .sig-day-hex { width: var(--m-dayhex); height: calc(var(--m-dayhex) * 1.155); }
  #m-page .sig-hex-num { font-size: calc(var(--m-dayhex) * .36); }

  
  #m-page > .checkin-split {
    
    position: relative; left: auto; top: auto;
    transform: none;
    flex: 0 0 auto;
    align-self: center;
    
    margin: var(--sky-rise) 0 0;
  }

  
  #m-page > .day-so-far { display: none; }

  
  #m-page > .today-wings {
    position: static; left: auto; top: auto;
    width: 72%; height: auto;
    align-self: flex-end; margin: 28px 0 0; flex: 0 0 auto;
  }
  
  #m-page .today-wings .tiw-line { font-size: var(--m-wing); line-height: 1.55; }

  
  body.m-shell #callout-layer,
  body.m-shell #callout-toggle { display: none !important; }

  
  body > .topbar {
    position: sticky; top: 0; z-index: 40;
    min-height: 72px; box-sizing: border-box;
    padding: 10px var(--m-pad); background: var(--card);
  }
  body > .topbar { flex-wrap: wrap; row-gap: 6px; }
  body > .topbar .brand { padding: 0 !important; }
  body > .topbar > div:last-child { flex: 1 1 100%; justify-content: flex-end; flex-wrap: wrap; }
  body > .topbar button { font: var(--type-control); padding: 4px 6px !important; }
  #time-fmt-btn { display: none !important; }

  

  
  .m-bar {
    display: flex; justify-content: space-between;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 46;
    background: var(--card);
    box-shadow: 0 -1px 0 var(--gold-edge);

    
    align-items: flex-start;
    box-sizing: border-box;   
    height: calc(var(--m-nav-h) + var(--m-safe));
    padding: 10px var(--m-pad) calc(6px + var(--m-safe));
  }
  
  .m-days { display: flex; align-items: stretch; gap: 2px; }

  
  :root {
    --m-chev-half: 30deg;  
    --m-chev-arm:  10px;
    --m-chev-t:    1.5px;  
  }
  .m-arrow {
    flex: 0 0 auto; border: none; background: none; cursor: pointer;
    width: 40px; height: auto; padding: 0;   
    display: flex; align-items: center; justify-content: center;
    color: var(--label);
    -webkit-tap-highlight-color: transparent;
  }
  
  .m-arrow.spent { opacity: .2; pointer-events: none; }
  .m-arrow:active { color: var(--text); }
  .m-chev {
    position: relative; display: block;
    width: var(--m-chev-arm); height: calc(var(--m-chev-arm) * 2);
    color: inherit;
  }
  
  .m-chev::before, .m-chev::after {
    content: ''; position: absolute; left: 50%;
    width: var(--m-chev-t); height: var(--m-chev-arm);
    background: currentColor; border-radius: .75px;
  }
  .m-chev::before {           
    bottom: 50%; transform-origin: 50% 100%;
    transform: translateX(-50%) rotate(var(--m-chev-half));
  }
  .m-chev::after {            
    top: 50%; transform-origin: 50% 0%;
    transform: translateX(-50%) rotate(calc(-1 * var(--m-chev-half)));
  }
  .m-arrow-fwd .m-chev { transform: scaleX(-1); }

  
  .m-date {
    flex: 0 0 auto; border: none; cursor: pointer;
    
    min-width: 72px; height: var(--m-ctl-h); padding: 0 12px;
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; gap: 1px;
    
    background: color-mix(in srgb, var(--text) 8%, var(--card));
    color: var(--text); font-family: 'Inter', sans-serif;
    clip-path: var(--shear-md);
    -webkit-tap-highlight-color: transparent;
    transition: transform .1s;
  }
  .m-date:active { transform: scale(.97); }
  .m-date-dow {
    font-size: var(--t-micro); font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--label); line-height: 1;
  }
  .m-date-num {
    font-family: 'Lora', Georgia, serif; font-size: var(--t-head);
    line-height: 1.1; color: var(--text);
  }
  
  .m-date.sig-nudge { animation: sigNudge 0.8s ease-in-out 2; }

  
  .m-date.holding {
    transform: scale(.9);
    transition: transform 480ms cubic-bezier(.4, 0, .6, 1);
  }

  
  .m-log-host { flex: 0 0 auto; display: flex; }
  .m-log-host .log-btn {
    height: var(--m-ctl-h); padding: 0 16px;
    font-size: var(--t-body);
  }

  

  
  body.m-shell #today-nav { display: none; }
  body.m-shell.m-cal-open #today-nav {
    display: flex !important;
    position: fixed; left: 12px; right: 12px;
    
    top: calc(var(--m-top-h) + 10px);
    bottom: calc(var(--m-nav-h) + var(--m-safe) + 10px);
    z-index: 45; overflow-y: auto;
  }
  body.m-cal-open { overflow: hidden; }

  
  .bears-card, .sky-card, .trail-card {
    --card-w: calc(100vw - (var(--m-pad) * 2));
    --card-h: auto;
    max-height: calc(100vh - var(--m-top-h) - var(--m-nav-h) - 24px);
    
    left: 50%;
    top: 50%;
  }
  .trail-card { --card-h: min(560px, calc(100vh - var(--m-top-h) - var(--m-nav-h) - 24px)); }

  
  .bears-card { z-index: 200; }
}


@media (max-width: 600px) { .ln-doors { display: none; } }


@media (max-width: 600px) {
  .sky-ov.au-exercise-overlay { padding: 10px; }
  .sky-ov-card.au-exercise-card { max-height: 92dvh; }
  .au-exercise-head { padding: 18px 16px 4px 18px; }
  .au-exercise-tabs { padding: 0 18px 4px; }
  .au-exercise-body { padding: 12px 18px 8px; }
  .au-exercise-footer { padding: 12px 18px 20px; }
}


@media(max-width:600px) {
  body.honeycomb > .topbar { gap: 6px 12px; }
  body.honeycomb > .topbar > .tb-world-group { flex-basis: 100%; order: 3; gap: 2px; }
}


@media (max-width: 600px) {
  .xc-paper .xc-sline .tc-ans button { min-width: 92px; }
  .xc-steps .xc-step, .dyr .xc-steps .xc-step { padding: 7px 5px 6px; }
}


body.m-shell #m-page > .today-wings.rw-body-wings { width: 100%; margin: 12px 0; order: -1; }





@media (max-width: 600px) {
  html:has(body.honeycomb) { overflow-x: clip; }
  /* !important: beats #bear-area-wrap's own overflow-x/overflow-y !important (goldilocks.css) */
  body.honeycomb #desktop-main,
  body.honeycomb #bear-area-wrap,
  body.honeycomb .bear-area-wrap { display: block; height: auto !important; min-height: 0; overflow: visible !important; }
  body.honeycomb #desktop-main > div { min-width: 0; width: 100%; }
  body.honeycomb #hc-shell { display: block; height: auto; min-height: 0; }
  /* !important: guards against display written inline by scripts; meets #mobile-app's own !important above */
  body.honeycomb :is(#m-page, #m-bar, #mobile-app),
  body.honeycomb #bt-door.over-pieces:not(:has(> .bears-card.is-open)) { display: none !important; }
  body.honeycomb #hc-shell #today-compass-card { overflow: visible; -webkit-mask-image: none; mask-image: none; max-height: none; }
  body.honeycomb .ln-page { position: relative; inset: auto; display: block; }
  body.honeycomb :is(.ln-line, .bt-spine) { display: none; }
  
  body.honeycomb .ln-band { position: fixed; top: var(--ph-top); right: 0; bottom: auto; width: 100%;
    height: calc(100svh - var(--ph-top) - var(--ph-bar));
    -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 90%); mask-image: linear-gradient(to left, #000 25%, transparent 90%); }
  /* !important: beats #bento-yours.yg-chart-page { display: flex !important } (goldilocks.css, 760px) */
  body.honeycomb #hc-shell .hc-layer { display: none !important; }
  /* !important: beats .hc-layer { display: none !important } just above */
  body.honeycomb #hc-shell[data-stop="today"] [data-for="today"],
  body.honeycomb #hc-shell[data-stop="passage"] [data-for="passage"],
  body.honeycomb #hc-shell[data-stop="yours"] [data-for="yours"],
  body.honeycomb #hc-shell[data-stop="author"] [data-for="author"],
  body.honeycomb #hc-shell[data-stop="entry"] [data-for="entry"] { display: flex !important; flex-direction: column; gap: 8px; }
  /* !important: beats the desktop's ID-scoped tile rules (#bento-today …, #bento-yours.yg-chart-page …) */
  body.honeycomb #hc-shell .bento :is(.bt-tile, .bt-stack, .holding-lift, .holding-card,
    .au-room, .pg-flat, .yg-mirror-column, .yg-crossings, .yc-column, .yg-reading-host, .yg-chart-host) {
    flex: none !important; height: auto !important; max-height: none !important;
    min-height: 0; min-width: 0; overflow: visible !important;
  }
  body.honeycomb #hc-shell .bento > :is(.bt-tile, .holding-lift, .yg-mirror-column),
  body.honeycomb #hc-shell .holding-card { width: 100%; box-sizing: border-box; }
  body.honeycomb #hc-shell .holding-grid { display: flex; flex-direction: column; gap: 8px; }
  
  body.honeycomb #hc-shell .bt-tile[data-tile="radar"] .au-people-radar { display: block; flex: none; }
  body.honeycomb #hc-shell .bt-tile[data-tile="radar"] .au-people-radar svg { display: block; width: 100%; height: auto; max-height: 300px; }
  body.honeycomb #hc-shell [data-fixed] { visibility: visible; }
  body.honeycomb #hc-shell [data-fixed] > * { width: 100%; box-sizing: border-box; }
  /* !important: beats display written inline by scripts and the desktop's own [hidden] !importants */
  body.honeycomb #hc-shell [hidden] { display: none !important; }
  body.honeycomb #hc-shell [data-under-float] { margin-bottom: 0; }
}

.ph-layout, .ph-shadowline, .tb-menu > .ph-place { display: none; }
@media (max-width: 600px) {
  
  
  body.honeycomb { --ph-up: 12px; --ph-top: 25px; --ph-head: 60px; --ph-bar: 77px; --ph-line-h: 74px;
    --ph-fade-top: 28px; --ph-fade-top-end: 62px; --ph-fade-low: 44px;
    --ph-door: 36px; --ph-door-rise: 21px; --strip-band-w: 200px;
    height: auto; min-height: 100svh; overflow-x: clip; overflow-y: visible; gap: 0; background: color-mix(in srgb,var(--bg) 35%,var(--card));
    
    padding: var(--ph-top) 0 calc(var(--ph-bar) + var(--ph-fade-low)); }
  
  body.honeycomb > .topbar { position: fixed; inset: calc(-1 * var(--ph-up)) 0 auto; height: calc(var(--ph-head) + var(--ph-up)); box-sizing: border-box;
    padding: 14px 10px 0 12px; margin: 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap;
    background: transparent; box-shadow: none; z-index: 100; pointer-events: none; }
  body.honeycomb > .topbar > :is(.tb-world-group, .brand) { display: none; }
  
  body.phone-bench .ph-shadowline { display: block; position: absolute; left: 0; top: var(--ph-up); width: 100%; height: var(--ph-line-h);
    z-index: -1; overflow: hidden; pointer-events: none; }
  
  body.phone-bench #hc-shell { will-change: transform; }
  
  body.phone-bench { touch-action: pan-y pinch-zoom; }
  
  body.phone-bench .ln-page {
    --ph-fade-mask: linear-gradient(to bottom,
      transparent var(--ph-fade-a, 0px),
      rgb(0 0 0 / .16) calc(var(--ph-fade-a, 0px) + (var(--ph-fade-b, 0px) - var(--ph-fade-a, 0px)) * .25),
      rgb(0 0 0 / .5) calc(var(--ph-fade-a, 0px) + (var(--ph-fade-b, 0px) - var(--ph-fade-a, 0px)) * .5),
      rgb(0 0 0 / .84) calc(var(--ph-fade-a, 0px) + (var(--ph-fade-b, 0px) - var(--ph-fade-a, 0px)) * .75),
      #000 var(--ph-fade-b, 0px),
      #000 var(--ph-fade-c, 100%),
      rgb(0 0 0 / .84) calc(var(--ph-fade-c, 100%) + (var(--ph-fade-d, 100%) - var(--ph-fade-c, 100%)) * .25),
      rgb(0 0 0 / .5) calc(var(--ph-fade-c, 100%) + (var(--ph-fade-d, 100%) - var(--ph-fade-c, 100%)) * .5),
      rgb(0 0 0 / .16) calc(var(--ph-fade-c, 100%) + (var(--ph-fade-d, 100%) - var(--ph-fade-c, 100%)) * .75),
      transparent var(--ph-fade-d, 100%));
    -webkit-mask-image: var(--ph-fade-mask); mask-image: var(--ph-fade-mask); }
  
  body.honeycomb .ln-stage > :is(.ln-stops, .ln-doors) { display: none; }
  /* !important: beats the gap a script writes inline on .topbar-actions */
  body.honeycomb .topbar-actions { margin-left: auto; gap: 2px !important; pointer-events: auto; }
  body.honeycomb .topbar-actions .gc-cs-label { display: none; }
  body.honeycomb .topbar-actions .tb-meet { height: 44px; width: 44px; }
  body.honeycomb .topbar-actions #settings-btn { width: 44px; height: 44px; margin: 0; }
  body.honeycomb .topbar-actions .gc-cloud-status { min-width: 28px; min-height: 44px; display: grid; place-items: center; }
  body.honeycomb .ln-stage { padding-bottom: 0; }
  body.honeycomb .ln-page { padding: 24px 12px 84px; }
  body.honeycomb .ln-paper { inset: 0; }
  body.honeycomb #hc-shell .hc-layer.bento { gap: 10px; padding: 0; }
  body.honeycomb #hc-shell .holding-lift { padding: 0; }
  body.honeycomb #hc-shell .holding-card { padding: 18px 14px 14px; }
  
  body.honeycomb #hc-shell :is(.bt-tile[data-tile="head"], .bt-tile[data-tile="head2"], .ph-rw-head) { padding: 22px 4px 14px; }
  
  body.honeycomb #hc-shell #bento-passage .bt-tile[data-tile="head"] { padding-top: 32px; }
  
  body.honeycomb #hc-shell .bear-area-heading { font-size: 21px; line-height: 1.2; }
  body.honeycomb #hc-shell .sig-day-hex { width: 46px; height: 52px; }
  body.honeycomb #hc-shell .sig-hex-num { font-size: 19px; }
  body.honeycomb #hc-shell .bt-tile[data-tile="wings"]:not(:has(.rw-body-wings:not(:empty))) { display: none; }
  
  body.honeycomb :is(#hc-shell,.ph-sheet) .tc-line { min-height: 44px; padding: 10px 12px; gap: 10px; }
  body.honeycomb :is(#hc-shell,.ph-sheet) .tc-line .tc-bear { width: 30px; height: 34px; }
  body.honeycomb :is(#hc-shell,.ph-sheet) .tc-say { font-size: 16px; }
  body.honeycomb :is(#hc-shell,.ph-sheet) :is(.fold-head,.settings-frame-row > .sph-top) { min-height: 44px; }
  body.honeycomb :is(#hc-shell,.ph-sheet) .tc-go { flex-wrap: wrap; }
  body.honeycomb :is(#hc-shell,.ph-sheet) .tc-go button { min-height: 44px; }
  
  body.honeycomb #hc-shell .bt-tile[data-float] { position: static; padding: 0; margin: 4px 0 0; width: auto; filter: none; }
  /* !important: guards against display written inline by scripts */
  body.honeycomb #hc-shell .bt-tile[data-float]:not(:has(.pn-log-help)) { display: none !important; }
  body.honeycomb #hc-shell .bt-tile[data-float] .pn-log-row { display: block; padding: 0; margin: 0; }
  body.honeycomb #hc-shell .bt-tile[data-float] .pn-log-help { display: block; margin: 0; font: var(--type-small); color: var(--muted); }
  
  body.phone-bench .ph-layout { display: contents; }
  
  
  .ph-bar { --ph-side: max(8px, calc((50% - var(--ph-door) * 2.1) / 2 - 32px));
    position: fixed; inset: auto 0 0; height: var(--ph-bar); box-sizing: border-box; background: none;
    display: flex; align-items: flex-start; justify-content: space-between; z-index: 300; padding: 7px var(--ph-side) 0; }
  .ph-bar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--card); pointer-events: none;
    clip-path: polygon(var(--cut-md) 0,calc(100% - var(--cut-md)) 0,100% var(--cut-md),100% 100%,0 100%,0 var(--cut-md)); }
  
  .ph-tool { position: relative; z-index: 2; flex: none; width: 64px; height: 50px; box-sizing: border-box; display: grid; place-items: center;
    clip-path: var(--shear-md); color: var(--text); }
  .ph-tool-art { position: relative; z-index: 1; display: grid; justify-items: center; gap: 3px; pointer-events: none; }
  .ph-tool-art svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
  .ph-tool-art text { fill: currentColor; stroke: none; font: 700 8.5px Inter,sans-serif; }
  
  .ph-log svg.gi .gi-gold { stroke: currentColor; }
  .ph-tool-art small { font: 600 10px/1.1 Inter,sans-serif; white-space: nowrap; color: var(--text); }
  .ph-slot { border: 0; padding: 0; margin: 0; min-width: 0; cursor: pointer; background: color-mix(in srgb,var(--pc) 22%,var(--card)); }
  .ph-slot[aria-expanded="true"] { background: color-mix(in srgb,var(--pc) 45%,var(--card)); }
  .ph-slot:disabled { visibility: hidden; }
  .ph-log:not(:has(.log-btn)) { visibility: hidden; }
  
  .ph-log .log-btn { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
    font-size: 0; color: transparent; text-align: center; background: color-mix(in srgb,var(--pc) 90%,var(--card)); }
  .ph-log .log-btn.success { background: var(--ok); }
  .ph-log .log-btn.error { background: var(--warn); }
  .ph-log .log-btn:disabled { opacity: .55; }
  .ph-log:has(.log-btn:disabled) .ph-tool-art { opacity: .55; }
  .ph-log .log-btn:focus-visible { outline: 2px solid var(--text); outline-offset: -3px; }
  
  .ph-ring { position: absolute; inset: 0; z-index: 1; pointer-events: none; touch-action: pan-y;
    clip-path: inset(calc(-1 * var(--ph-door-rise) - 8px) calc(var(--ph-side) + 64px) 0 calc(var(--ph-side) + 64px)); }
  .ph-ring-strip { position: absolute; left: 0; top: 0; height: 100%; }
  .ph-door { position: absolute; left: 0; top: calc(4px - var(--ph-door-rise)); transform: translateX(-50%); transform-origin: 50% 0;
    display: grid; justify-items: center; margin: 0; padding: 0; min-width: 0; border: 0; background: none; color: var(--text);
    cursor: pointer; pointer-events: auto; }
  .ph-door[aria-current="page"] { cursor: default; }
  .ph-door-hex { position: relative; isolation: isolate; display: grid; place-items: center;
    width: calc(var(--ph-door) * 1.7); height: calc(var(--ph-door) * 1.7 * .8660254); }
  
  .ph-hex-rim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
  .ph-hex-rim polygon { fill: var(--card); stroke: var(--pc); stroke-width: 2.5px; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
  .ph-door img { width: calc(var(--ph-door) * .9); height: calc(var(--ph-door) * .9); object-fit: contain; }
  
  .ph-door-name { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); font: var(--type-control); font-size: 11px;
    color: var(--text); white-space: nowrap; opacity: var(--ph-name, 0); }
  .ph-door:not(.is-here) .ph-door-name { visibility: hidden; }
  .ph-door:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
  
  body.honeycomb .tb-menu > .ph-place { display: grid; }
  body.honeycomb .tb-menu > .ph-place + button:not(.ph-place) { margin-top: 8px; }
  body.honeycomb .tb-menu > .ph-place.on { background: color-mix(in srgb,var(--on-action) 18%,transparent); }
  
  body.honeycomb .au-room .frames-editor-list { grid-template-columns: minmax(0, 1fr); }
  .ph-bar button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
  
  .ph-bar .ph-slot:focus-visible { outline-offset: -3px; }
  .ph-scrim { position: fixed; inset: var(--ph-head) 0 var(--ph-bar); background: rgb(42 33 28 / .16);
    opacity: 0; visibility: hidden; pointer-events: none; z-index: 190; }
  .ph-layout.is-open .ph-scrim { opacity: 1; visibility: visible; pointer-events: auto; }
  .ph-sheet { position: fixed; inset: calc(var(--ph-head) + 10px) 0 var(--ph-bar); z-index: 200;
    filter: drop-shadow(0 -4px 10px rgb(80 60 40 / .12)); transform: translateY(calc(100% + 20px));
    visibility: hidden; transition: top .34s cubic-bezier(.65,0,.35,1),transform .34s cubic-bezier(.65,0,.35,1),visibility 0s .34s; }
  .ph-layout.is-open .ph-sheet { transform: translateY(0); visibility: visible; transition-delay: 0s; }
  .ph-sheet.is-dragging { transition: none; }
  .ph-sheet-plane { position: absolute; inset: 0; background: var(--card); clip-path: polygon(var(--cut-lg) 0,100% 0,100% 100%,0 100%,0 var(--cut-lg));
    display: flex; flex-direction: column; }
  .ph-sheet-plane::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--pc); }
  .ph-grip { flex: none; height: 30px; border: 0; background: none; cursor: grab; touch-action: none; display: grid; place-items: center; }
  .ph-grip i { width: 36px; height: 4px; background: color-mix(in srgb,var(--label) 60%,var(--card)); }
  .ph-sheet-head { flex: none; display: flex; align-items: center; padding: 0 14px 8px 18px; }
  .ph-sheet-head h2 { flex: 1; font: 600 16px Lora,Georgia,serif; margin: 0; }
  .ph-sheet-close { width: 44px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
  .ph-sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 14px 18px; }
  .ph-sheet-cards { display: flex; flex-direction: column; gap: 10px; }
  /* !important: kept unmeasured: the browser audit could not resolve this selector */
  .ph-sheet :is(.holding-lift,.holding-card,.bt-tile,.au-room,.pg-flat,.tn-panels,.yg-reading-host) { height: auto !important; min-height: 0; max-height: none !important; overflow: visible !important; flex: none; width: 100%; box-sizing: border-box; }
  .ph-sheet .bt-tile { padding: 0; }
  .ph-sheet [data-fixed] { visibility: visible; }
  .ph-sheet [data-fixed] > * { width: 100%; box-sizing: border-box; }
  /* !important: guards against display written inline by scripts */
  .ph-sheet [hidden] { display: none !important; }
  .ph-sheet .bt-spine { display: none; }
  
  .ph-sheet .holding-lift { filter:none;padding:0; }
  .ph-sheet :is(.holding-card,.bt-tile,.au-room,.pg-flat) { background:transparent;clip-path:none;box-shadow:none; }
  .ph-sheet .holding-card { padding:0;border:0; }
  .ph-sheet .holding-card::before { display:none; }
  .ph-sheet [data-phone-repeated-heading] { display:none; }
  .ph-sheet .holding-grid { display: flex; flex-direction: column; }

  html.phone-sheet-open { overflow-y: hidden; }
  body.honeycomb .tc-inner { overflow-wrap: anywhere; }
  @media (prefers-reduced-motion: reduce) {
    .ph-sheet { transition: none; }
  }
}
@media (max-width: 600px) {
  body.honeycomb #hc-shell .bento #today-compass-host > div > div:has(> svg) { flex: 0 0 180px; min-height: 0; width: 180px; height: 180px; margin-inline: auto; }
  /* !important: beats the inline height, overflow and margin the compass list is drawn with */
  body.honeycomb #hc-shell .bento #today-compass-host > div > div:has(> svg) + div { height: auto !important; min-height: 0; overflow: visible !important; margin: 4px 0 2px !important; }
  /* !important: beats the inline font the compass list is drawn with */
  body.honeycomb #hc-shell .bento #today-compass-host > div > div:has(> svg) + div > div { font: italic 400 12px/1.4 Lora,Georgia,serif !important; }
  body.honeycomb #bento-today [data-holding=sky]:has(#bt-sky .tc-sec.on) #today-compass-host > div > div:has(> svg) { flex-basis: 0; height: 0; min-height: 0; }
  body.phone-bench .ph-sheet [data-fixed] { visibility: visible; }
  /* !important: kept unmeasured: the browser audit could not resolve this selector */
  .ph-layout[data-page=today] .ph-sheet :is(.tn-tabs,#dsf-panel) { display: none !important; }
  .ph-layout.is-open .ph-sheet.is-half { top: calc(var(--ph-head) + 10px + var(--ph-half-offset)); transform: translateY(0); }
  body.honeycomb .topbar-actions #settings-btn { width: 44px; }
  body.honeycomb .gc-cloud-status button { min-width: 44px; min-height: 44px; }
}

@media (max-width: 600px) {
  /* !important: beats body.honeycomb .topbar-actions :is(#settings-btn, .gc-cs-btn) (goldilocks.css, more specific) */
  body.honeycomb .gc-cloud-status button { border: 0 !important; background: none !important; padding: 0 !important; }
  
  body.honeycomb .gc-cloud-status .gc-cs-panel:not(.gc-pwa-notice) { position: fixed; top: calc(var(--ph-head) + 6px); right: max(12px, env(safe-area-inset-right, 0px));
    left: max(12px, env(safe-area-inset-left, 0px)); width: auto; }
  body.honeycomb #hc-shell .bento > :is([data-tile=rw], [data-tile=day]) { padding: 0; }
  body.honeycomb #hc-shell .bento .au-room { padding: 0; }
  body.honeycomb #hc-shell .rw-editor .xc-rw { padding: 0; gap: 10px; }
}

@media (max-width: 600px) {
  
  /* !important: beats the inline position, padding, z-index and radius the banner is drawn with */
  body.phone-bench #vault-status-banner { position: relative !important; inset: auto !important; transform: none !important;
    order: -1; width: 100%; max-width: none !important; box-sizing: border-box; margin: calc(var(--ph-head, 72px) - var(--ph-top, 37px)) 0 0; padding: 8px 12px !important;
    z-index: 10002 !important; border-radius: 0 !important; }
  body.phone-bench #vault-status-banner > span { min-width: 0; flex: 1; }
  body.phone-bench #vault-status-banner button { min-height: 44px; }
}


@media (max-width: 600px) {
  body.honeycomb #hc-shell :is(.yg-reading-host,.yg-chart-host,.whole-detail) { scroll-margin-top: calc(var(--ph-head) + 8px); }
  body.honeycomb #hc-shell .yg-mirror-column { gap: 10px; }
  body.honeycomb #bento-yours .whole-field-head { justify-content: space-between; }
  body.honeycomb #bento-yours .whole-field-head > div:first-child { display: block; }
  body.honeycomb #bento-yours .whole-field-head .whole-title { display: none; }
  body.honeycomb #bento-yours .whole-field-head p { margin: 0; }
  body.honeycomb #hc-shell .yg-crossings > .yc-column { width: 100%; }
  body.honeycomb #hc-shell .bento .yg-reading-host { max-height: none; height: auto; overflow: visible; }
}
/* !important: kept unmeasured: desktop-only, outside the phone audit */
@media (min-width: 601px) { .yg-crossings-lift[data-empty] { display: none !important; } }


@media (hover: none), (pointer: coarse) {
  .facets .sph-chip button { width: 24px; min-height: 32px; opacity: 1; }
  .facets .settings-frame-row .sph-chip button { min-height: 24px; }
  .facets .sph-top { gap: 4px; }
  .facets .sph-top .sph-drag { display: grid; place-items: center; flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; opacity: .65; }
  .facets .sph-rename { width: 44px; min-height: 44px; }
  .facets .sph-manage .sph-del { min-width: 44px; min-height: 44px; opacity: .65; }
  .facets .sph-drag { cursor: grab; }
  .facets .sph-name { min-height: 44px; }
}


@media (max-width: 600px) {
  .fv-narrow [data-author-card="people"] > .holding-card { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto; }
  .fv-narrow [data-author-piece="people"] { grid-area: 2 / 1 !important; }
  .fv-narrow [data-author-piece="radar"] { grid-area: 3 / 1 !important; }
}


@media (max-width: 600px) {
  .au-skies-layout { display: flex; flex-direction: column; height: auto; gap: 20px; }
  .au-skies-reading { overflow: visible; }
  .au-skies-reading > .au-deck { max-height: 65svh; overflow: auto; scrollbar-width: thin; overscroll-behavior: contain; }
}


@media (max-width: 600px) {
  body.honeycomb #hc-shell .hc-layer { opacity: 1; visibility: visible; transition: none; }
  /* !important: the phone hides every inactive page with display:none above. */
  body.honeycomb #hc-shell .hc-layer.ph-leaving {
    display: flex !important; flex-direction: column; position: fixed; z-index: 1;
    top: var(--ph-leaving-top); left: var(--ph-leaving-left); width: var(--ph-leaving-width);
    pointer-events: none;
  }
  body.honeycomb #hc-shell .ph-leaving [data-phone-column="first"] { display:none; }
  body.honeycomb #hc-shell .ph-leaving:not(.passage-views) [data-float] .log-btn { display:none; }
}


@media(max-width:600px) {
  body.honeycomb #hc-shell #bento-passage.passage-views { height:auto;overflow:visible; }
  body.honeycomb #hc-shell .passage-views .pv-modebar { display:none; }
  
  body.honeycomb #hc-shell .passage-views [data-tile="logPassage"][data-float] { display:none !important; }
  body.honeycomb #hc-shell .passage-views [data-tile="logPassage"][hidden] { display:none !important; }
  .ph-log:has(.pv-phone-toggle) .ph-tool-art { visibility:visible; }
}

@media(max-width:600px) {
  .ph-layout[data-page="passage-2"] .ph-slot .ph-tool-art small { white-space:normal;max-width:64px;text-align:center; }
}

@media (max-width: 600px) {
  .pk-head { position: sticky; top: var(--ph-head, 72px); z-index: 3; }
  .pk-head.is-stuck { background: var(--card);
    box-shadow: 0 4px 0 var(--page-colour, var(--label)), 0 10px 8px -6px rgba(80,60,40,.18); }
  .pk-peek { position: relative; display: flex; align-items: center; box-sizing: border-box;
    width: calc(100% - 48px * var(--pk-depth)); margin: 0 calc(24px * var(--pk-depth));
    height: 30px; padding: 3px 12px 0 18px; border: 0; cursor: pointer; text-align: left;
    background: linear-gradient(to bottom, transparent 70%, rgba(80,60,40,.10)), color-mix(in srgb, var(--text) 3%, var(--card));
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
    color: color-mix(in srgb, var(--text) 72%, var(--card)); font: 600 14px/1.45 'Lora', Georgia, serif; }
  .pk-peek::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: color-mix(in srgb, var(--page-colour, var(--label)) 55%, var(--card)); }
  .pk-peek:hover { color: var(--text); }
  .pk-peek:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--text); }
  .pk-on .holding-card:focus { outline: none; }
  .pk-switching > .holding-card { z-index: 1; }
  .pk-switching > .pk-head { z-index: 0; }
  #bento-passage.pk-on #passage-read, #bento-author.pk-on .pk-shut { display: none; }
}


.gc-history-status-phone { display: none; }
@media (max-width: 600px) {
  
  body.honeycomb .topbar .gc-history-status-phone { display: inline-flex; align-items: center; gap: 4px; margin: 0 2px 0 0; padding: 3px 9px;
    max-width: 46vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: left;
    font: 500 11px/1.3 Inter, sans-serif; color: var(--muted); background: color-mix(in srgb, var(--card) 88%, transparent); clip-path: var(--shear-sm); }
}


@media (max-width: 600px) {
  body.pd-deck .pk-head { display: none; }
  
  body.pd-deck .ph-slot, body.pd-deck.phone-bench .tb-menu > .ph-place { display: none; }
  
  
  body.pd-deck #hc-shell [data-pd-card]:not([data-pd-front]) { position: absolute !important; top: 0; left: 0; z-index: -1;
    width: var(--pd-w, calc(100vw - 24px)) !important; height: 0 !important; overflow: hidden !important; margin: 0 !important;
    visibility: hidden; pointer-events: none; }

  
  body.pd-deck { --ph-door: 40px; }
  body.pd-deck .ph-bar { --ph-side: 0px; padding-inline: 0; }
  body.pd-deck .ph-ring { clip-path: inset(calc(-1 * var(--ph-door-rise) - 8px) max(0px, calc(50% - 88px)) 0); }

  
  body.pd-deck .ph-log { position: fixed; right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(var(--ph-bar) + 66px); z-index: 301;
    width: 56px; height: 48px; clip-path: none; background: none; overflow: visible; display: grid; place-items: center; }
  body.pd-deck .ph-log > .ph-tool-art { display: none; }
  body.pd-deck .ph-log .log-btn, body.pd-deck .ph-log .log-btn:is(.success, .error) { background: none; }
  body.pd-deck .ph-log .log-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
  body.pd-fanning .ph-log { visibility: hidden !important; }   /* !important: beats the Passage's .ph-log:has(...) visible art */
  .pd-obj { pointer-events: none; overflow: visible; filter: drop-shadow(1.5px 2.5px 2px rgba(80,60,40,.30)); }
  .ph-log > .pd-obj { position: relative; z-index: 1; width: 42px; height: 42px; }
  .ph-log:has(.log-btn:disabled) > .pd-obj { opacity: .55; }
  
  .pd-obj polygon { stroke-width: .8px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

  
  .ph-log > .pd-tag { position: absolute; right: calc(100% - 10px); top: 50%; margin-top: -13px; height: 26px; overflow: hidden; pointer-events: none; }
  .ph-log > .pd-tag > span { display: block; height: 26px; padding: 0 16px 0 10px; font: 600 11px/26px Inter, sans-serif; white-space: nowrap; color: var(--text);
    background: color-mix(in srgb, var(--pc) 10%, var(--card)); clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px);
    transform: translateX(101%); visibility: hidden; }
  .ph-log.pd-error > .pd-tag > span { background: color-mix(in srgb, var(--warn) 30%, var(--card)); }
  .ph-log:hover > .pd-tag > span, .ph-log:has(.log-btn:focus-visible) > .pd-tag > span, .ph-log:has(.log-btn:active) > .pd-tag > span,
  .ph-log:is(.pd-saved, .pd-error) > .pd-tag > span { transform: none; visibility: visible; }
  @media (hover: none) {
    .ph-log:not(.pd-saved):not(.pd-error):not(:has(.log-btn:active)):not(:has(.log-btn:focus-visible)):hover > .pd-tag > span { transform: translateX(101%); visibility: hidden; }
  }

  
  .pd-btn { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(var(--ph-bar) + 10px); z-index: 301;
    width: 48px; height: 48px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--text);
    touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  .pd-btn[hidden], html.phone-sheet-open .pd-btn { display: none; }
  .pd-btn > .pd-obj { width: 48px; height: 48px; }
  .pd-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

  
  @media (prefers-reduced-motion: no-preference) {
    .pd-obj { transition: transform .22s cubic-bezier(.65, 0, .35, 1), filter .22s; }
    .pd-obj :is(.shutter, .back, .front) { transition: transform .24s cubic-bezier(.65, 0, .35, 1); transform-box: view-box; }
    .pd-obj :is(.back, .front) { transform-origin: 24px 44px; }
    @media (hover: hover) {
      .ph-log:hover > .pd-obj, .pd-btn:hover > .pd-obj { transform: translateY(-2px); filter: drop-shadow(2px 5px 4px rgba(80,60,40,.28)); }
      .ph-log:hover .shutter { transform: translateX(2px); }
      .pd-btn:hover .back { transform: rotate(6deg); }
      .pd-btn:hover .front { transform: rotate(-4deg); }
    }
    .pd-btn[aria-expanded="true"] .back { transform: rotate(6deg); }
    .pd-btn[aria-expanded="true"] .front { transform: rotate(-4deg); }
    .ph-log:has(.log-btn:active) > .pd-obj, .pd-btn:active > .pd-obj { transform: translateY(1px) scale(.95); filter: drop-shadow(1px 1px 1px rgba(80,60,40,.32)); }
    .ph-log:has(.log-btn:active) .shutter { transform: translateX(4px); }
    .pd-btn:active .back { transform: rotate(-5deg); }
    .pd-btn:active .front { transform: rotate(2deg); }
    .ph-log.pd-saved > .pd-obj { animation: pd-into-drive .62s cubic-bezier(.65, 0, .35, 1); }
    .ph-log.pd-saved .shutter { animation: pd-shutter .62s cubic-bezier(.65, 0, .35, 1); }
    .ph-log > .pd-tag > span { transition: transform .3s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .3s; }
    .ph-log:hover > .pd-tag > span, .ph-log:has(.log-btn:focus-visible) > .pd-tag > span, .ph-log:has(.log-btn:active) > .pd-tag > span,
    .ph-log:is(.pd-saved, .pd-error) > .pd-tag > span { transition: transform .3s cubic-bezier(.65, 0, .35, 1), visibility 0s; }
  }
  @keyframes pd-into-drive { 0% { transform: none; } 45% { transform: translateY(6px) scale(.9); } 100% { transform: none; } }
  @keyframes pd-shutter { 0% { transform: none; } 30%, 60% { transform: translateX(4px); } 100% { transform: none; } }

  
  html.pd-fit, html.pd-fit body { overflow: hidden; overscroll-behavior: none; }
  
  html.pd-fit body.honeycomb { padding-bottom: 0; min-height: 0; }
  html.pd-fit #hc-shell .hc-layer.bento { height: var(--pd-h, auto); }
  
  html.pd-fit body.honeycomb #hc-shell #bento-passage.passage-views { height: var(--pd-h, auto); }
  html.pd-fit #hc-shell .hc-layer.bento > *, html.pd-fit #hc-shell [data-pd-chain] > * { flex: none; }
  /* !important: the phone flow rule (body.honeycomb #hc-shell .bento :is(.bt-tile, .holding-lift,
     .holding-card, …)) pins every card at flex none, height auto and overflow visible with
     !important ("cards never become scrollers"); while fitted, the front card and the boxes
     holding it may shrink, and the front card scrolls. */
  html.pd-fit body.honeycomb #hc-shell .bento :is([data-pd-chain], [data-pd-front]) {
    display: flex; flex-direction: column; flex: 0 1 auto !important; min-height: 0 !important; }
  html.pd-fit body.honeycomb #hc-shell .bento .pd-scroll { flex: 0 1 auto !important; min-height: 0 !important; overflow-y: auto !important;
    overscroll-behavior: contain; scrollbar-width: none; }
  html.pd-fit #hc-shell .pd-scroll::-webkit-scrollbar { display: none; }
  
  html.pd-fit #hc-shell .pd-scroll.pd-overflow { padding-bottom: 140px; }
  
  html.pd-fit body.honeycomb #hc-shell .bento .pd-scroll > * { flex-shrink: 0 !important; }
  
  body.pd-deck #hc-shell [data-pd-front] .holding-card[tabindex="-1"]:focus, body.pd-deck #hc-shell [data-pd-front][tabindex="-1"]:focus { outline: none; }
  
  html.pd-fit body.honeycomb #hc-shell .bento .holding-card.pd-scroll::before { inset: auto; position: sticky; top: calc(-1 * var(--pd-pt, 18px));
    display: block; flex: none; align-self: stretch; height: 4px; z-index: 3;   
    margin: calc(-1 * var(--pd-pt, 18px)) calc(-1 * var(--pd-pr, 14px)) calc(var(--pd-pt, 18px) - 4px) calc(-1 * var(--pd-pl, 14px)); }
  
  html.pd-fit body.honeycomb #hc-shell .bento .holding-card.pd-scroll { display: flex !important; flex-direction: column; }
  
  html.pd-fit #hc-shell .cal-month[data-pd-zoom] { width: fit-content; margin-inline: auto; }

  
  .pd-layer { position: fixed; inset: 0; z-index: 299; pointer-events: none; }
  .pd-scrim { position: absolute; inset: 0; pointer-events: auto; background: color-mix(in srgb,var(--bg) 60%,transparent); }
  .pd-fan { position: absolute; left: 0; right: 0; bottom: calc(var(--ph-bar) + 74px); height: 0; pointer-events: auto; }
  .pd-slip { position: absolute; bottom: 0; width: var(--pd-slip-w); height: var(--pd-slip-h); padding: 0; border: 0; background: none;
    color: var(--text); text-align: left; cursor: pointer; touch-action: none; transform-origin: 50% 100%;
    transform: translateY(var(--pd-rise)) rotate(var(--pd-angle)); filter: drop-shadow(0 4px 6px rgba(80,60,40,.22)); }
  .pd-paper { display: flex; flex-direction: column; gap: 8px; padding: 13px 12px; height: 100%; box-sizing: border-box;
    background: var(--card); clip-path: var(--shear-md); border-top: 3px solid var(--page-colour,var(--label)); }
  .pd-title { font: 600 14px/1.25 'Lora',Georgia,serif; }
  .pd-description { font: 400 11.5px/1.4 Inter,sans-serif; color: var(--muted); }
  .pd-slip.is-front .pd-paper { background: color-mix(in srgb,var(--page-colour,var(--label)) 12%,var(--card)); }
  .pd-slip.is-preview { width: var(--pd-peek-w); height: min(260px,calc(100svh - var(--ph-bar) - 74px - var(--pd-slip-h) - 96px)); z-index: 100 !important;
    transform: translate(var(--pd-peek-x),calc(-1 * var(--pd-slip-h) - 16px)); }
  .pd-slip.is-preview .pd-paper { padding: 16px; }
  .pd-slip.is-preview .pd-title { font-size: 17px; }
  .pd-slip.is-preview .pd-description { font-size: 13px; line-height: 1.5; }
  .pd-card-hint { display: none; font: 400 11px/1.4 Inter,sans-serif; color: var(--muted); margin-top: auto; }
  .pd-slip.is-preview .pd-card-hint { display: block; }
  .pd-slip:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
  @media (prefers-reduced-motion: no-preference) {
    .pd-slip { transition: transform .25s cubic-bezier(.65,0,.35,1), width .25s, height .25s; animation: pd-unfold .36s cubic-bezier(.65,0,.35,1) both; animation-delay: calc(var(--pd-i) * 35ms); }
  }
  @keyframes pd-unfold { from { transform: translate(var(--pd-from-x),var(--pd-from-y)) scale(.2) rotate(-8deg); opacity: 0; } }

  
  body.pd-deck #hc-shell .pd-scroll :is(.yg-reading-host,.yg-across-host,.yg-chart-host) { max-height: none; height: auto; overflow: visible; }
}


@media (max-width: 600px) {
  
  body.pd-deck { background: var(--bg); }
  body.pd-deck .ln-paper { position: fixed; inset: 0 0 calc(42px + env(safe-area-inset-bottom, 0px)); }
  
  body.pd-deck .ph-bar.ph-braided { bottom: calc(env(safe-area-inset-bottom, 0px) - 8px); }
  body.pd-deck .ph-bar.ph-braided::before { display: none; }
  body.pd-deck .ph-log { bottom: calc(var(--ph-bar) + 58px + env(safe-area-inset-bottom, 0px)); }   
  body.pd-deck .pd-btn { bottom: calc(var(--ph-bar) + 16px + env(safe-area-inset-bottom, 0px)); }
  body.pd-deck .ph-bar.ph-braided .ph-ring { z-index: auto; clip-path: none; }
  .ph-bar.ph-braided .ph-ring-strip { left: 50%; transform: none; }
  .ph-braid-shadows { position: absolute; left: 0; bottom: 0; width: 100%; height: 130px; overflow: hidden; pointer-events: none; z-index: 0; }
  .ph-bar.ph-braided .ph-door { top: 0; transform-origin: 50% 50%; pointer-events: none; }
  .ph-bar.ph-braided .ph-door-hex { width: 100%; height: 100%; }
  .ph-bar.ph-braided .ph-door img { width: calc(var(--ph-braid-r) * 1.12); height: calc(var(--ph-braid-r) * 1.12); pointer-events: none; }
  .ph-bar.ph-braided .ph-door.is-here .ph-hex-rim polygon { fill: color-mix(in srgb,var(--pc) 30%,var(--card)); }
  
  .ph-bar.ph-braided .ph-door::after { content: ''; position: absolute; inset: 0; pointer-events: auto;
    clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
  .ph-bar.ph-braided .ph-door[data-braid-layer=back]::after { pointer-events: none; }
  
  .ph-bar.ph-braided .ph-door-name { display: none; }
}


.pd-history, .pd-day-nav { display: none; }
@media (max-width: 600px) {
  body.pd-deck .pd-history { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); top: max(14px, env(safe-area-inset-top, 0px)); z-index: 301;
    display: flex; background: none; }
  body.pd-deck .pd-history[hidden], body.pd-deck .pd-day-nav[hidden] { display: none; }
  body.pd-fanning .pd-history { visibility: hidden; }
  body.pd-deck :is(.pd-history,.pd-day-nav) button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; touch-action: manipulation; }
  body.pd-deck :is(.pd-history,.pd-day-nav) button:disabled { opacity: .3; cursor: default; }
  body.pd-deck :is(.pd-history,.pd-day-nav) button:focus-visible { outline: 2px solid var(--text); outline-offset: -4px; }
  body.pd-deck :is(.pd-history,.pd-day-nav) svg { width: 18px; height: 18px; }
  
  body.pd-deck .bear-area-lead:has(.pd-day-nav:not([hidden])) { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 4px 14px; align-items: center; width: 100%; box-sizing: border-box; }
  body.pd-deck .bear-area-lead:has(.pd-day-nav:not([hidden])) .bear-area-lead-text { display: contents; }
  body.pd-deck .bear-area-lead:has(.pd-day-nav:not([hidden])) .bear-area-heading { grid-column: 2; grid-row: 1; white-space: nowrap; }
  body.pd-deck #sig-dropdown:has(.pd-day-nav:not([hidden])) { grid-column: 1; grid-row: 1; width: 78px; min-height: 52px; }
  body.pd-deck #sig-dropdown:has(.pd-day-nav:not([hidden])) .sig-day-hex { margin-inline: 16px; cursor: pointer; touch-action: manipulation; } 
  body.pd-deck .pd-day-nav { position: absolute; inset: 0; display: block; pointer-events: none; }

  
  body.pd-deck #sig-dropdown:has(.pd-day-nav:not([hidden])) { position: relative; }
  body.pd-deck #sig-dropdown .sig-day-hex.sig-hex-leaf { justify-content: space-between; padding: calc(46px * .19) 0 calc(46px * .17); gap: 0; box-sizing: border-box; }   
  body.pd-deck #sig-dropdown .sig-hex-leaf .sig-hex-num { font-size: calc(46px * .37); line-height: 1; }
  .sig-hex-mo, .sig-hex-wd { font: 600 8px/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-align: center; pointer-events: none; }
  .sig-hex-mo, .sig-hex-wd { color: var(--hex-ink, var(--muted)); }
  
  body.pd-deck #sig-dropdown .sig-day-hex[role="button"] { transition: transform .12s, filter .12s; }
  body.pd-deck #sig-dropdown .sig-day-hex[role="button"]:is(:active, .is-pressed) { filter: none; transform: translateY(1px) scale(.965); }
  body.pd-deck #sig-dropdown .sig-day-hex[role="button"]:is(:active, .is-pressed)::after { background: rgba(0, 0, 0, .16); }
  body.pd-deck #sig-dropdown .sig-day-hex[role="button"]:is(:active, .is-pressed)::before { background: rgba(255, 255, 255, .34); }
  body.pd-deck #sig-dropdown .sig-day-hex[role="button"]:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) { body.pd-deck #sig-dropdown .sig-day-hex[role="button"] { transition: none; }
    body.pd-deck #sig-dropdown .sig-day-hex[role="button"]:is(:active, .is-pressed) { transform: none; } }
  
  body.pd-deck .pd-day-nav button { position: absolute; top: 4px; pointer-events: auto; box-sizing: border-box; width: 40px; flex-basis: 40px; }
  body.pd-deck .pd-day-nav button:first-child { left: -20px; justify-items: end; padding-right: 10px; }
  body.pd-deck .pd-day-nav button:last-child { right: -20px; justify-items: start; padding-left: 10px; }
  body.pd-deck .bear-area-lead:has(.pd-day-nav:not([hidden])) :is(.bear-area-subhead,.sig-caption-lead,#day-date-notice) { grid-column: 2; grid-row: 2; }
  body.pd-deck .bear-area-lead:has(.pd-day-nav:not([hidden])) .day-date-label { display: none; }
  
  body.pd-deck .bear-area-lead:has(.pd-day-nav:not([hidden])) :is(.bear-area-subhead,.sig-caption-lead,#day-date-notice) { margin-top: -12px; }
  
  html.pd-fit #hc-shell #bt-calendar { align-self: center; max-width: 100%; }
}
