

:root {
  --t-micro:    9px;
  --t-meta:    10px;
  --t-ui:      11px;
  --t-body:    12px;
  --t-head:    16px;
  --t-display: 21px;
  --t-hero:    25px; 

  
  --type-title: 400 var(--t-display)/1.3 'Lora', Georgia, serif;
  --type-head: 600 var(--t-head)/1.45 'Lora', Georgia, serif;
  --type-focal: 400 var(--t-head)/1.5 'Lora', Georgia, serif;
  --type-words: 400 var(--t-body)/1.55 'Lora', Georgia, serif;
  --type-said: italic 400 var(--t-body)/1.55 'Lora', Georgia, serif;
  --type-app: 400 var(--t-body)/1.6 'Inter', system-ui, sans-serif;
  --type-small: 400 var(--t-meta)/1.5 'Inter', system-ui, sans-serif;
  --type-control: 500 var(--t-ui)/1.3 'Inter', system-ui, sans-serif;
  --type-label: 600 var(--t-micro)/1.4 'Inter', system-ui, sans-serif;
}

button, select, input:is([type="button"], [type="submit"], [type="reset"]) { font: var(--type-control); }
.type-head { font: var(--type-head); }
.type-words { font: var(--type-words); }
.type-said { font: var(--type-said); color: var(--muted); }
.type-app { font: var(--type-app); }
.type-small { font: var(--type-small); }
.type-label { font: var(--type-label); letter-spacing: .1em; text-transform: uppercase; }






:root  {
  
  --bg: #EDE4D4;             
  --card: #FBF8F2;           
  --sunken: #E2D6C2;         
  --text: #2A211C;           
  --muted: #6E6055;          
  --label: #9E9184;          
  --wish-colour: #D9AF6F;     

  
  --dash-card-h: 600px;

  
  
  --bears-lip: calc(83.4px * var(--bears-k));          
  --bears-pane-top: calc(91.8px * var(--bears-k));     
  --bears-pane-bot: calc(31.2px * var(--bears-k));       

  
  --ground-deep: color-mix(in srgb, var(--action) 62%, var(--text));

  
  
  
  --bears-zoom: 1.728;          
  --bears-step: 1;              
  
  --bears-fit: 1;
  --bears-k: calc(var(--bears-step) * var(--bears-zoom) * var(--bears-fit));

  
  
  
  --bear-shape: polygon(
    var(--chamfer) var(--bears-lip),
    calc(100% - var(--chamfer)) var(--bears-lip),
    100% calc(var(--bears-lip) + var(--chamfer)),
    100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%,
    var(--chamfer) 100%,
    0 calc(100% - var(--chamfer)),
    0 calc(var(--bears-lip) + var(--chamfer)));

  
  --bear-shape-carved: polygon(
    calc(411.36px * var(--bears-k)) calc(0.0px * var(--bears-k)),
    calc(418.68px * var(--bears-k)) calc(4.2px * var(--bears-k)),
    calc(454.2px * var(--bears-k)) calc(65.88px * var(--bears-k)),
    calc(454.2px * var(--bears-k)) calc(73.8px * var(--bears-k)),
    calc(455.04px * var(--bears-k)) calc(73.32px * var(--bears-k)),
    calc(457.8px * var(--bears-k)) calc(71.76px * var(--bears-k)),
    calc(516.24px * var(--bears-k)) calc(71.76px * var(--bears-k)),
    calc(523.56px * var(--bears-k)) calc(75.96px * var(--bears-k)),
    calc(527.52px * var(--bears-k)) calc(82.8px * var(--bears-k)),
    calc(527.64px * var(--bears-k)) calc(83.04px * var(--bears-k)),
    calc(571.08px * var(--bears-k)) calc(83.04px * var(--bears-k)),
    calc(579.48px * var(--bears-k)) calc(91.44px * var(--bears-k)),
    calc(579.48px * var(--bears-k)) calc(100% - calc(8.4px * var(--bears-k))),
    calc(571.08px * var(--bears-k)) calc(100% - calc(0.0px * var(--bears-k))),
    calc(8.4px * var(--bears-k)) calc(100% - calc(0.0px * var(--bears-k))),
    calc(0.0px * var(--bears-k)) calc(100% - calc(8.4px * var(--bears-k))),
    calc(0.0px * var(--bears-k)) calc(91.56px * var(--bears-k)),
    calc(8.4px * var(--bears-k)) calc(83.04px * var(--bears-k)),
    calc(33.84px * var(--bears-k)) calc(83.04px * var(--bears-k)),
    calc(33.24px * var(--bears-k)) calc(82.2px * var(--bears-k)),
    calc(28.68px * var(--bears-k)) calc(74.28px * var(--bears-k)),
    calc(28.68px * var(--bears-k)) calc(65.88px * var(--bears-k)),
    calc(64.32px * var(--bears-k)) calc(4.2px * var(--bears-k)),
    calc(71.52px * var(--bears-k)) calc(0.0px * var(--bears-k)),
    calc(142.68px * var(--bears-k)) calc(0.0px * var(--bears-k)),
    calc(150.0px * var(--bears-k)) calc(4.2px * var(--bears-k)),
    calc(185.04px * var(--bears-k)) calc(64.8px * var(--bears-k)),
    calc(185.52px * var(--bears-k)) calc(65.64px * var(--bears-k)),
    calc(186.0px * var(--bears-k)) calc(64.8px * var(--bears-k)),
    calc(198.0px * var(--bears-k)) calc(44.04px * var(--bears-k)),
    calc(205.32px * var(--bears-k)) calc(39.84px * var(--bears-k)),
    calc(276.48px * var(--bears-k)) calc(39.84px * var(--bears-k)),
    calc(283.8px * var(--bears-k)) calc(44.04px * var(--bears-k)),
    calc(296.28px * var(--bears-k)) calc(65.76px * var(--bears-k)),
    calc(296.76px * var(--bears-k)) calc(66.6px * var(--bears-k)),
    calc(297.36px * var(--bears-k)) calc(65.76px * var(--bears-k)),
    calc(332.88px * var(--bears-k)) calc(4.2px * var(--bears-k)),
    calc(340.2px * var(--bears-k)) calc(0.0px * var(--bears-k)),
    calc(411.36px * var(--bears-k)) calc(0.0px * var(--bears-k))
  );

  --chamfer: 8px;
  --shear-all: polygon(
    var(--chamfer) 0, calc(100% - var(--chamfer)) 0,
    100% var(--chamfer), 100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%, var(--chamfer) 100%,
    0 calc(100% - var(--chamfer)), 0 var(--chamfer));

  --gold: #D5B468;
  --gold-edge: color-mix(in srgb, var(--gold) 62%, transparent);
  
  --card-veil: color-mix(in srgb, var(--card) 90%, var(--bg));
  --card-lift: drop-shadow(0 2px 7px rgba(80,60,40,.13));
  --holding-lift: drop-shadow(3px 4px 4px rgba(80,60,40,.08));

  
  --action: #5A2F2C;
  --action-hover: #6B3A33;
  --on-action: #FBF3E8;
  
  --button: var(--action);
  --button-hover: var(--action-hover);
  --on-button: var(--on-action);

  
  --ok: #6D8F66;             
  --warn: #C0913F;           
  --danger: #B0604F;         

  
  --bear-papa: #C4824A;
  --bear-mama: #A0B4C8;
  --bear-baby: #E89880;
  
  --bear-floor: #B8A88E;

  
  --bear-ring: 55%;

  --bear-papa-tint: #DDB796;
  --bear-papa-tint: color-mix(in srgb, var(--bear-papa) var(--bear-ring), var(--card));
  --bear-mama-tint: #C9D3DB;
  --bear-mama-tint: color-mix(in srgb, var(--bear-mama) var(--bear-ring), var(--card));
  --bear-baby-tint: #F1C3B3;
  --bear-baby-tint: color-mix(in srgb, var(--bear-baby) var(--bear-ring), var(--card));
  
  --bear-sky-tint:  color-mix(in srgb, var(--gold) var(--bear-ring), var(--card));
  
  --bear-floor-tint: color-mix(in srgb, var(--label) var(--bear-ring), var(--card));
  --bear-trail-tint: color-mix(in srgb, var(--bear-papa) var(--bear-ring), var(--card));

  
  --band-strength: .13;
  
  --strip-rest: 15%;
  --strip-hover: 30%;
  --strip-open: 40%;
  
  --selected-fill: 70%;
  --selected-shade: 12%;
  --strip-band: .14;
  --strip-band-w: 264px;
  --strip-band-ratio: .85;
  --strip-band-drop: 45px;
  --strip-band-right: 30px;
  
  --band-run: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 90'%3E%3Cpolygon points='589.36 61.54 574.56 35.9 589.36 10.26 618.97 10.26 633.78 35.9 618.97 61.54 589.36 61.54' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.25'/%3E%3Cpolygon points='633.95 35.9 619.14 10.26 633.95 -15.38 663.55 -15.38 678.36 10.26 663.55 35.9 633.95 35.9' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.25'/%3E%3Cpolygon points='633.95 87.18 619.14 61.54 633.95 35.9 663.55 35.9 678.36 61.54 663.55 87.18 633.95 87.18' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.25'/%3E%3Cpolygon points='519.88 30.71 505.08 5.07 519.88 -20.57 549.49 -20.57 564.29 5.07 549.49 30.71 519.88 30.71' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.25'/%3E%3Cpolygon points='745.2 83.44 760 109.08 745.2 134.72 715.59 134.72 700.78 109.08 715.59 83.44 745.2 83.44' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.25'/%3E%3Cpolygon points='700.87 57.79 715.68 83.44 700.87 109.08 671.26 109.08 656.46 83.44 671.26 57.79 700.87 57.79' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.25'/%3E%3Cpolygon points='481.05 121.1 466.25 95.46 481.05 69.82 510.66 69.82 525.47 95.46 510.66 121.1 481.05 121.1' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.25'/%3E%3Cpolygon points='446.04 103.4 431.24 77.76 446.04 52.12 475.65 52.12 490.46 77.76 475.65 103.4 446.04 103.4' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.25'/%3E%3Cpolygon points='354.99 26.48 340.18 .84 354.99 -24.8 384.6 -24.8 399.4 .84 384.6 26.48 354.99 26.48' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.5'/%3E%3Cpolygon points='525.51 95.46 510.7 69.82 525.51 44.18 555.11 44.18 569.92 69.82 555.11 95.46 525.51 95.46' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.5'/%3E%3Cpolygon points='569.92 121.1 555.11 95.46 569.92 69.82 599.52 69.82 614.33 95.46 599.52 121.1 569.92 121.1' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.5'/%3E%3Cpolygon points='443.36 26.48 428.56 .84 443.36 -24.8 472.97 -24.8 487.78 .84 472.97 26.48 443.36 26.48' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.5'/%3E%3Cpolygon points='398.91 52.12 384.11 26.48 398.91 .84 428.52 .84 443.32 26.48 428.52 52.12 398.91 52.12' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.5'/%3E%3Cpolygon points='745.2 49.45 760 75.09 745.2 100.73 715.59 100.73 700.78 75.09 715.59 49.45 745.2 49.45' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.5'/%3E%3Ccircle cx='428.56' cy='-.01' r='3.82' stroke='%23000' stroke-miterlimit='10'/%3E%3Ccircle cx='664.36' cy='35.9' r='3.82' stroke='%23000' stroke-miterlimit='10'/%3E%3C/svg%3E");

  --band-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -122 320 272' width='320' height='272'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.15'%3E%3Cpolygon points='73.86 69.23 65.26 54.33 73.86 39.44 91.06 39.44 99.66 54.33 91.06 69.23 73.86 69.23'/%3E%3Cpolygon points='172.92 109.3 164.32 94.41 172.92 79.51 190.12 79.51 198.72 94.41 190.12 109.3 172.92 109.3'/%3E%3Cpolygon points='198.72 124.2 190.12 109.3 198.72 94.41 215.92 94.41 224.52 109.3 215.92 124.2 198.72 124.2'/%3E%3Cpolygon points='172.92 139.09 164.32 124.2 172.92 109.3 190.12 109.3 198.72 124.2 190.12 139.09 172.92 139.09'/%3E%3Cpolygon points='125.2 69.23 116.6 54.33 125.2 39.44 142.4 39.44 151 54.33 142.4 69.23 125.2 69.23'/%3E%3Cpolygon points='99.38 84.12 90.78 69.23 99.38 54.33 116.58 54.33 125.18 69.23 116.58 84.12 99.38 84.12'/%3E%3Cpolygon points='300.54 82.57 309.14 97.46 300.54 112.36 283.34 112.36 274.74 97.46 283.34 82.57 300.54 82.57'/%3E%3Cpolygon points='244.65 -16.5 253.24 -1.61 244.65 13.29 227.45 13.29 218.85 -1.61 227.45 -16.5 244.65 -16.5'/%3E%3Cpolygon points='295.98 -16.51 304.58 -1.61 295.98 13.29 278.78 13.29 270.18 -1.61 278.78 -16.51 295.98 -16.51'/%3E%3C/g%3E%3Cg fill='none' stroke='%23000' stroke-width='0.58'%3E%3Cpolygon points='210.02 89.6 201.42 74.7 210.02 59.81 227.22 59.81 235.82 74.7 227.22 89.6 210.02 89.6'/%3E%3Cpolygon points='235.92 74.7 227.32 59.81 235.92 44.91 253.11 44.91 261.71 59.81 253.11 74.7 235.92 74.7'/%3E%3Cpolygon points='235.92 104.49 227.32 89.6 235.92 74.7 253.11 74.7 261.71 89.6 253.11 104.49 235.92 104.49'/%3E%3Cpolygon points='169.65 71.68 161.05 56.79 169.65 41.89 186.85 41.89 195.45 56.79 186.85 71.68 169.65 71.68'/%3E%3Cpolygon points='210.08 2.07 218.68 16.97 210.08 31.86 192.88 31.86 184.28 16.97 192.88 2.07 210.08 2.07'/%3E%3Cpolygon points='300.54 102.31 309.14 117.21 300.54 132.11 283.34 132.11 274.74 117.21 283.34 102.31 300.54 102.31'/%3E%3Cpolygon points='274.79 87.42 283.39 102.31 274.79 117.21 257.59 117.21 248.99 102.31 257.59 87.42 274.79 87.42'/%3E%3Cpolygon points='147.1 124.2 138.5 109.3 147.1 94.41 164.3 94.41 172.9 109.3 164.3 124.2 147.1 124.2'/%3E%3Cpolygon points='195.72 26.85 187.12 41.74 169.92 41.74 161.32 26.85 169.92 11.95 187.12 11.95 195.72 26.85'/%3E%3Cpolygon points='296.27 37.37 287.67 52.26 270.47 52.26 261.87 37.37 270.47 22.47 287.67 22.47 296.27 37.37'/%3E%3Cpolygon points='126.76 113.91 118.16 99.02 126.76 84.12 143.96 84.12 152.56 99.02 143.96 113.91 126.76 113.91'/%3E%3C/g%3E%3Cg fill='%23000'%3E%3Ccircle cx='186.8' cy='41.19' r='2.72'/%3E%3Ccircle cx='116.6' cy='53.84' r='2.72'/%3E%3Ccircle cx='253.58' cy='74.7' r='2.72'/%3E%3Ccircle cx='253.24' cy='-1.61' r='2.72'/%3E%3C/g%3E%3Cg fill='%23000' stroke='%23000' stroke-width='0.5' stroke-linejoin='round' opacity='1.0'%3E%3Cpath d='M248.14-81.54c-3.11-.45-6.14-1.75-8.23-3.89-2.09-2.13-3.22-4.86-3.57-7.33-.22-1.33-.18-2.78-.04-4.18.05-.48.17-1.07.25-1.6.13-.53.24-1,.3-1.26.48-1.92,1.32-3.98,2.61-5.92,1.26-1.94,3.07-3.69,5.19-4.92,2.13-1.23,4.54-1.93,6.89-2.22,2.35-.3,4.64-.19,6.7.03,1.67.19,3.46.56,5.57,1.17,5.26,1.66,9.74,4.75,13.55,8.88,2.67,2.9,4.93,6.16,6.78,9.62.44.88.89,1.74,1.31,2.62.35.91.7,1.81,1.05,2.71.38.89.64,1.82.89,2.74.25.92.55,1.83.76,2.75,1.03,4.45,1.33,8.9,1.17,13.41-.12,1.37-.17,2.83-.3,3.99-.32,3.88-1.51,8.73-3.34,13.12-.37.84-.73,1.66-1.08,2.45-.35.79-.8,1.5-1.18,2.21-.4.71-.75,1.41-1.14,2.05-.42.62-.82,1.22-1.21,1.81-.38.54-.75,1.21-1.31,1.87-.57.66-1.22,1.4-1.97,2.26-2.05,2.09-4.17,4.02-6.57,5.65-3.91,2.76-8.58,4.85-13.29,5.82-2.27.42-3.2.46-3.59.45-.39,0-.26-.03-.46-.04-.26,0-.98.03-1.82-.03-.42-.01-.86-.03-1.29-.04-.43-.04-.84-.08-1.2-.12-4.19-.4-7.39-1.69-10.43-3.55,0,0,0,0,0,0-.11-.07-.22-.14-.33-.21-1.06-.75-3.24-2.34-4.99-4.59-.25-.3-.42-.53-.62-.81.2.32.39.61.64.9,1.4,1.77,3.07,3.3,4.96,4.5.04.03.08.06.12.08.07.05.14.09.21.14,0,0-.04,0,0,.02.43.37-.1.21-1.61-.85-.75-.54-1.72-1.32-2.82-2.49-1.09-1.17-2.33-2.73-3.27-4.94-.62-1.58-.81-2.71-.82-3.43-.05-.72-.01-1.05.04-1.17.06-.14.02-1.06.56-2.7.34-1,.72-1.59.96-2.04.23-.45.45-.69.57-.92.31-.41.34-.53.8-1.03.6-.61,1.49-1.56,3.68-2.54.81-.33.82-.28,1.31-.42.72-.22,2.16-.55,3.11-.7,1.02-.17,2-.26,2.98-.25.99-.03,2,.04,3.15.15,1.36.16,3.74.66,5.26,1.22,1.39.52,1.85.67,4.87,1.97.99.43,2.16,1.01,3.36,1.67,3.18,1.75,4.95,3.08,6.23,4.09.89.72.91.71,3.08,2.35,1.01.77,1.97,1.52,2.87,2.31,1.56,1.37,2.59,2.44,2.91,2.81.23.27-.2-.12-1.38-1.22-2.49-2.31-5.41-4.64-8.07-6.46-1.16-.78-2.32-1.57-3.18-2.15-1.7-1.11-3.47-2.13-5.49-3.05-2.68-1.18-5.45-2.3-8.92-3.05-1.8-.41-3.99-.5-5.28-.48-.53.03-.76.05-.9.08-.04,0,.76-.02,1.19,0,4.14.03,8.2,1.1,11.92,2.69,4.6,1.95,8.89,4.67,12.66,7.59,3.66,2.81,7.38,6.02,10.7,9.85,1.76,2.1.72.69,1.83,2.02.4.47,1.12,1.42,1.58,2.05.21.3.45.66.66.96.2.29.34.52.34.52,0,.03-.37-.42-.53-.61-.04-.04.09.16.19.31.51.75,1.14,1.7,1.5,2.3.41.64.58.87.9,1.41,1.01,1.61,1.83,3.22,2.83,5.13.44.83,1.41,3.03,1.63,3.66,1.41,3.75,2.29,6.88,3.13,10.81.6,3.03,1.03,6.97,1.15,10.54.16,5.09-.34,10.47-1.23,15.09-.72,3.56-1.2,5.05-2.03,7.65-.96,2.98-2.95,7.41-2.74,6.67.02-.03-.31.63-.49.96-.13.28-.33.7-.38.8-.09.27-.16.49-.24.74-.06.16-.26.61-.58,1.26-.33.64-.83,1.46-1.38,2.4-.62,1.11-1.34,2.16-2.08,3.21l-1.09,1.58-1.2,1.5c-1.66,2.14-2.67,3.17-3.26,3.74-.6.58-.8.75-1.14,1-.32.22-.6.47-2.2,1.87-.46.39-1.5,1.33-1.79,1.55-1.1.94-1.91,1.67-3.02,2.53-2.67,2.06-4.61,3.68-10.26,6.6-3.2,1.59-8.07,3.67-12.39,4.66-1.07.31-2.18.43-3.27.64l-1.63.28c-.55.06-1.1.08-1.64.12-1.09.06-2.17.15-3.24.18-1.06-.06-2.11-.12-3.15-.17-1.07,0-3.17-.28-3.1-.31.05-.02.85.05,1.35.08.09.01.17.02.25.03-.03,0-.07-.01-.11-.02,2.15.1,3.78.14,4.81.16,1.03-.08,1.46-.16,1.23-.19.09,0,.17,0,.25-.01h-.04c1.29-.13,2.62-.14,3.9-.37,1.27-.23,2.53-.46,3.72-.68,1.27-.36,1.23-.39.2-.13-1.31.21-2.91.47-4.6.74-3.84.32-7.92.38-11.77-.27-1.43-.22-2.53-.47-3.33-.61-.85-.16.69.3,2.67.65,1.44.23,2.95.48,4.46.5,4.01.24,4.55.11,4.77.18l-.2.02s-.01,0,0,0c-.37.02-.74.04-1.13.06-1.34-.07-2.8-.14-4-.2-1.87-.09-4.23-.48-5.1-.63-1.7-.26,1.88.45,2.87.59.42.07.87.14,1.31.21-.03,0-.05,0-.09,0-.01,0-.04,0-.06,0-1.97-.21-3.82-.56-5.5-.89-1.4-.28-2.58-.62-3.4-.87-.6-.22-.9-.3-2.93-.98-.41-.14-.76-.26-1.16-.4-1.75-.67-2.5-1.02-3.01-1.29-.51-.25-.8-.4-1.54-.88-.65-.41-.63-.45-.93-.67-.15-.12-.37-.3-.79-.6-.22-.16-.48-.34-.8-.57-.31-.26-.67-.57-1.11-.93-.51-.41-.68-.69-.66-.67.04,0,.26.28.82.69.29.23.64.5.98.77.35.25.72.48,1.02.67.62.4.3.17-.82-.6-2.43-1.71-4.04-4.1-4.1-4.3-.09-.13-.43-.57-.72-1.22-.24-.66-.59-1.47-.69-2.24-.08-.5-.16-1.38-.06-2.35.1-.97.38-2.05.82-2.89.31-.62.71-1.21,1.21-1.71.24-.26.53-.47.83-.67.28-.23.59-.39.92-.53,1.29-.59,2.7-.74,4.06-.7,2.73.14,5.33.95,7.77,2,1.71.75,2.41,1.13,2.95,1.39.53.28.88.44,1.78,1.01,3.77,2.47,6.94,5.89,9.28,9.83,2.42,4.16,3.62,8.21,4.09,11.86.24,1.72.36,3.66.28,5.76-.06,2.09-.3,4.35-.83,6.68-.58,2.6-1.42,4.61-1.96,5.7-.2.47-.62,1.23-.96,1.97-.32.6-.52,1.12-1.43,2.39-.94,1.36-2.42,3.11-4.28,4.75-1.86,1.64-4.14,3.1-6.39,4.08-1.72.65-1.17.77-5.01,1.7-5.52,1.17-11.41.39-17.12-1.67-4.43-1.64-8.97-4.2-12.92-7.28-3.22-2.48-6.36-5.66-8.54-8.48-1.3-1.68-2.52-3.45-3.63-5.29-1.07-1.85-2.07-3.75-2.85-5.68-1.08-2.54-1.92-5.51-2.17-6.91-.06-.4-.21-1.16-.39-2.07-.11-.93-.36-2.01-.39-3.08-.07-1.04-.13-2.08-.2-3.12-.03-1.04.07-2.08.1-3.12l.08-1.56.23-1.55c.18-1.03.25-2.09.52-3.13.88-4.18,2.44-8.04,4.53-12.14.54-.95,1.03-1.81,1.49-2.64.52-.79,1.06-1.52,1.57-2.25.98-1.51,2.22-2.78,3.52-4.43,1.1-1.16,2.13-2.2,3.08-3.13,1.02-.85,1.96-1.64,2.83-2.37,1.45-1.06,2.81-2.08,4.09-2.96.94-.58,1.86-1.15,2.91-1.8,1.1-.59,2.4-1.19,4-1.96,6.43-2.66,13.63-3.94,21.14-3.26,3.54.31,6.77,1.16,9.72,2.18,7.08,2.35,14.83,7.56,20.24,13.03,4.86,4.77,8.81,10.4,11.79,16.49,2.87,5.82,4.6,12.2,5,18.68.31,4.87-.1,9.8-1.24,14.57-1.1,4.84-2.88,9.66-4.97,13.79-.51,1.08-1.33,2.57-2.02,3.82-6.28,11.44-15.83,20.02-27.22,25.46-4.53,2.18-9.18,3.79-13.75,4.95-3.69.97-8.24,1.71-11.53,1.89-4.83.29-9.62-.03-14.49-.89-3.51-.63-5.22-1.16-6.75-1.63-.98-.3-4.05-1.24-4.47-1.37-.53-.08-2.82-.75-7.39-2.76-3.39-1.41-6.99-3.14-10.54-5.01-3.09-1.62-6.29-3.38-9.15-5.01-3.32-1.87-6.36-3.58-9.98-5.62-4.22-2.43-9.39-5.35-14.24-7.85-.8-.41-2.13-1.09-2.39-1.23-3.24-1.74-7.04-3.58-11.08-5.05-3.67-1.36-7.97-2.34-11.45-2.26-6.06-.23-13.01,2.36-17,6.49-1.54,1.57-2.77,3.56-3.25,5.72-.51,2.17-.28,4.36.23,6.3.15.56.36,1.01.62,1.66.27.62.63,1.35,1.08,2.12,1.01,1.69,2.32,3.32,3.91,4.73,1.61,1.37,3.48,2.56,5.55,3.18,1.35.43,3.53.91,5.94.75,2.41-.13,4.95-.91,6.98-1.91,1.85-.89,3.75-2.19,5.07-3.31,2.23-1.91,4.1-4.37,5.35-7.15,1.25-2.79,1.92-5.83,2.11-8.86.16-2.53.07-5.06-.35-7.56-.12-1.27-.45-2.49-.77-3.71-.26-1.24-.76-2.4-1.19-3.59-1.85-4.7-4.68-8.95-8.01-12.68-2.96-3.34-6.9-6.92-10.89-9.72-4-2.94-8.14-5.24-12.53-7.26-3.18-1.5-5.96-2.33-9.55-3.4-2.52-.73-5.34-1.35-8.27-1.87-3.55-.65-7.66-1.04-11.41-1.03-3.31-.01-7.19.26-10.8.92-3.14.56-6.2,1.38-9.33,2.58-3.45,1.32-6.95,3.03-10.16,5.33-.38.25-1.8,1.26-2.05,1.45-1.14.77-2.81,2.1-4,3.25-.78.74-1.6,1.56-2.64,2.62-1.02,1.08-2.26,2.41-3.76,4.3-3.16,4.11-5.22,8.36-5.71,12.34-.25,1.47-.36,4.97.21,6.99.43,2.15,1.22,4.15,2.33,5.94,1.08,1.8,2.38,3.47,3.97,4.95.76.8,1.67,1.46,2.52,2.18.92.63,1.81,1.32,2.8,1.86,1.91,1.19,3.99,2.09,6.09,2.87-.06,0-.27-.03-.11.05.13.05.88.31,1.35.48.3.09.83.27.87.26.15.01.15-.02.2-.04l2.16.56c.73.16,1.46.28,2.19.42,3.39.49,3.91.48,3.17.5-.31.04,6.65.36.35.13-6.27-.48-12.6-2.19-18.38-6.21-.89-.59-1.49-1.11-2-1.52-.52-.4-.93-.74-1.3-1.12-.78-.71-1.58-1.45-2.9-3.19-1.21-1.57-2.16-3.41-2.94-5.31-.31-.98-.69-1.95-.82-2.97-.19-1.01-.41-2.01-.38-3.03-.15-3.47.64-6.81,2.06-9.93,2.09-4.48,5.45-8.59,8.73-11.76,4.9-4.74,10.65-8.95,17.32-11.54,2.38-.97,5.14-1.73,6.83-2.16,1.86-.49,4.09-.9,6.48-1.19,2.4-.26,4.97-.39,7.5-.37,5.58.06,10.91.74,16.26,1.94,2.7.61,5.45,1.34,8.22,2.28,1.38.46,2.79.99,4.15,1.63,1.38.59,2.73,1.28,4.09,1.98,5.11,2.59,10.18,5.97,14.78,9.93,4.17,3.63,7.88,7.8,10.66,12.48.96,1.5,1.81,3.34,2.65,5.13.35.93.7,1.84,1.03,2.72.34.87.5,1.75.74,2.52.13.53.34,1.1.44,1.73.09.64.19,1.31.29,2.01.24,1.41.32,2.93.33,4.55-.01,3.04-.37,6.18-1.38,9.13-.95,2.96-2.6,5.7-4.69,7.86-.46.56-1.74,1.64-2,1.85-1.67,1.42-4.07,3.01-6.92,4.03-2.82,1.08-6.12,1.35-8.93.82-2.69-.49-5.42-1.8-7.59-3.65-2.19-1.82-3.9-4.1-4.98-6.32-.75-1.53-1.28-3.28-1.45-5.09-.15-1.8,0-3.71.66-5.37.66-2.09,2.65-4.52,4.66-6.07,1.5-1.24,4.04-2.57,5.2-3.03,2.69-1.2,5.49-1.83,8.2-2.01,2.71-.17,5.33.11,7.79.62,3.48.8,5.15,1.38,7.73,2.37,5.12,2.05,10.61,4.92,15.34,7.49,4.05,2.26,7.62,4.26,11.31,6.31,3.34,1.88,6.86,3.87,10.34,5.83,3.8,2.12,7.78,4.29,11.46,6.08,4.12,2.02,7.72,3.64,11.96,5.27,7.64,2.91,15.92,4.84,24.15,4.78,3.65,0,7.78-.46,11.64-1.18,4.42-.84,8.37-1.96,12.02-3.45.94-.35,2.54-1.05,4.22-1.78,1.64-.8,3.38-1.59,4.51-2.25,3.59-1.89,7.45-4.42,11.21-7.84.91-.76,1.67-1.61,2.47-2.36.39-.38.78-.76,1.16-1.13.35-.4.7-.79,1.05-1.19.69-.79,1.4-1.56,2.08-2.37.66-.82,1.31-1.68,1.95-2.59,2.02-2.9,3.51-5.25,5.24-8.57,1.46-2.91,2.81-6.04,3.83-9.09.59-1.58.96-3.2,1.45-4.76.34-1.6.72-3.17.99-4.74.23-2.03.56-3.7.54-5.63.04-1.35.13-3.27,0-4.32-.05-.94-.1-1.88-.15-2.83-.05-.95-.27-1.89-.4-2.84-.17-.95-.26-1.92-.5-2.86-.26-.94-.52-1.88-.78-2.83-.44-1.92-1.27-3.72-1.95-5.57-.4-.9-.85-1.78-1.27-2.68l-.64-1.33c-.23-.44-.49-.85-.73-1.28-2.62-4.73-6.13-9.4-9.57-12.9-1.99-2.08-4.66-4.32-5.94-5.32-1.85-1.69-3.94-2.81-5.9-4.1-.88-.47-1.77-.95-2.65-1.42-.44-.23-.88-.47-1.32-.7-.45-.19-.9-.38-1.35-.57-1.56-.66-3.08-1.36-4.69-1.8l-2.38-.74c-.8-.22-1.63-.33-2.45-.5l-2.39-.46c-.81-.06-1.62-.12-2.44-.18-.82-.05-1.64-.14-2.48-.16-.84.04-1.68.07-2.54.11-2.28,0-3.6.33-5.13.53-.77.12-2.17.29-2.46.43-5.82,1.52-10.73,3.74-15.37,6.91-4.43,3.05-8.41,6.97-11.61,11.21-.46.67-1.08,1.57-1.77,2.58-.65,1.03-1.27,2.22-1.93,3.32-1.17,2.18-1.39,2.97-1.82,3.93-.29.64-.61,1.73-.78,2.07-.18.46-.62,1.47-.97,2.69-.31,1.23-.7,2.64-.96,3.85-.19,1.3-.65,4.39-.52,4.2.06-.25.16-1.33-.02,2.72-.29,7.58,1.85,15.07,5.78,21.68,1.88,3.11,3.41,5.31,5.78,7.97,3.95,4.32,7.45,7.04,11.7,9.7,3.62,2.14,8.31,4.48,14.27,5.36,1.22.21,3.78.47,5.55.37,5.33-.24,10.19-1.8,14.63-5.38,3.58-2.88,6.69-7.38,8.27-12.12.84-2.35,1.39-5.29,1.59-7.21.78-6.62-.43-13.73-4.58-20.45-1.87-2.99-4.13-5.51-6.78-7.59-2.66-2.05-5.73-3.64-9.17-4.76-1.36-.44-3.07-.8-4.28-.89-1.86-.17-3.84.05-5.31,1.2-1.5,1.11-2.21,3.02-2.35,4.88-.08.79-.06,1.62.07,2.43.06.41.2.8.33,1.19.13.39.23.8.46,1.16.69,1.54,1.89,2.77,3.09,3.87,1.51,1.36,3.06,2.16,4.43,2.9,1.69.82,3.68,1.61,5.79,2.39,3.86,1.34,9.28,2.77,15.77,2.69,4.89-.1,9.96-1.16,14.42-2.66.85-.32,2.02-.65,3.19-1.2,1.17-.55,2.45-1.06,3.55-1.64,4.26-2.13,8.27-4.77,11.98-7.74,1.84-1.5,3.66-3.03,5.35-4.69.85-.82,1.68-1.66,2.48-2.52.79-.88,1.5-1.81,2.25-2.71.28-.35.57-.71.87-1.08.27-.39.55-.79.83-1.19.55-.81,1.17-1.63,1.71-2.51.53-.89,1.06-1.79,1.59-2.68.54-.89.95-1.84,1.42-2.73,1.91-3.84,3.18-7.27,4.09-10.31.37-1.17.76-2.48,1.04-3.9.15-.71.31-1.43.47-2.16.12-.74.23-1.5.35-2.25.45-2.82.64-5.82.72-8.57-.02-1.96,0-3.87-.12-5.57-.03-.96-.08-2.05-.23-3.19-.12-1.14-.24-2.35-.47-3.54-.1-.6-.2-1.19-.29-1.78-.13-.58-.25-1.16-.37-1.72-.23-1.12-.47-2.18-.72-3.1-.45-1.74-1.03-3.48-1.74-5.29-1.64-4.15-4.04-8.71-5.92-11.71-2.7-4.24-5.38-7.52-9.68-11.53-3.15-2.85-5.35-4.46-7.6-6.1-2.28-1.61-4.65-3.26-8.73-5.34-4.49-2.18-8.71-3.59-13.86-3.64-2.14,0-4.4.35-6.51,1.2-2.11.84-4.1,2.27-5.31,4.26-.91,1.4-1.47,3.12-1.46,4.89,0,1.77.53,3.53,1.36,5.12,1.69,3.18,4.43,5.81,7.62,7.58,3.18,1.78,6.76,2.84,10.3,3.13,3.56.31,7.05-.22,10.21-1.12,2.09-.58,3.69-1.28,5.4-2.03,2.53-1.22,4.07-2.2,5.36-3.17.55-.36,2.27-1.71,2.86-2.23.76-.69,1.5-1.36,2.24-2.04.38-.32.73-.69,1.04-1.07l.98-1.13c1.37-1.44,2.38-3.13,3.51-4.73.51-.83.95-1.71,1.42-2.56l.7-1.29.58-1.35c.38-.9.77-1.81,1.16-2.72.31-.94.62-1.88.94-2.84.32-.85.53-1.82.74-2.84.19-1.02.51-2.06.63-3.16.25-1.85.57-3.69.63-5.56.04-.93.17-1.86.15-2.8,0-.93,0-1.87-.01-2.81.03-1.06-.08-1.85-.13-2.49-.06-.65-.11-1.14-.15-1.59-.07-.91-.21-1.63-.52-3.01-.22-.9-.34-1.88-.67-2.91-.36-1.16-.73-2.66-1.11-3.84-.11-.31.12.22.18.34.06.15.2.55.15.32-.02-.23-.35-1.09-.6-1.76-.3-.76-.85-2.19-.92-2.37-.34-.62-.47-.74-.8-1.3-.11-.19-.39-.71-.75-1.41-.19-.35-.37-.76-.62-1.18-.26-.41-.54-.84-.83-1.29-1.1-1.82-2.49-3.72-3.32-4.78-.14-.18.08.07.03,0-.62-.9-.54-.96-2.95-3.46-.69-.68-1.54-1.44-2.08-1.9-3.37-2.91-7.08-4.85-10.72-5.82-3.62-.99-7.09-1.34-10.24-1.09-.71.06-1.91.18-3.11.45-.61.13-1.22.28-1.77.47-.56.16-1.06.35-1.45.52-4.06,1.69-6.49,4.52-8.1,7.76-1.3,2.57-1.95,5.36-2.03,8.13-.02,2.77.58,5.58,2.14,7.94,1.15,1.73,2.37,2.75,3.57,3.5,1.21.75,2.42,1.26,3.94,1.68,1,.3,2.98.6,3.97.64.95.05,1.58.08,1.93.1.37.02.29.07-.33.12-.62.04-1.78.09-3.55-.16ZM235.07,57.89c.17.26.37.51.52.78.22.32.5.7.65.92.04.06-.36-.61-.47-.78-.65-.97-.9-1.22-.69-.91ZM282.3,45.4c-.14.17-.4.5-.61.75-.11.16-.28.4-.29.44,0,0,.08-.09.19-.22.11-.14.25-.3.36-.44.71-.85.93-1.37.35-.54ZM291.6,26.61c-.1.35-.22.7-.38,1.12-.57,1.56-1.1,3.21-1.82,4.77-.35.79-.66,1.59-1.03,2.34-.39.75-.77,1.49-1.14,2.21-.41.84-.93,1.74-1.38,2.51-.44.78-.8,1.43-.96,1.76-.15.31.63-.93,1.25-1.99,2.02-3.62,3.86-7.59,5.19-11.8.12-.33.19-.61.27-.92ZM294.09,14.87c-.06.79-.32,2.08-.48,3.07-.15,1.18-.52,3.09-.48,2.9.24-.64.59-3,.87-4.8.15-1.3.17-1.74.08-1.17ZM291.33-13.3c.07.24.39,1.33.6,2.02.46,1.55.8,2.93,1.03,3.93.24,1,.41,1.61.45,1.65,0,0-.02-.18-.07-.46-.06-.28-.13-.64-.2-.96-.59-3.15-2.04-7.05-1.81-6.18Z' fill-rule='evenodd'/%3E%3Cpath d='M248.13-81.43c-3.13-.49-6.16-1.82-8.22-3.99-2.07-2.15-3.16-4.9-3.46-7.35-.19-1.32-.18-2.76-.04-4.15.05-.48.17-1.06.25-1.6.11-.53.24-1,.3-1.26.51-1.9,1.36-3.94,2.65-5.85,1.26-1.92,3.05-3.63,5.16-4.83,2.11-1.21,4.49-1.89,6.81-2.17,2.33-.28,4.6-.17,6.64.08,1.65.2,3.44.57,5.53,1.16,5.22,1.61,9.66,4.68,13.43,8.79,2.65,2.88,4.89,6.14,6.72,9.57.43.87.88,1.73,1.29,2.61.35.9.69,1.8,1.04,2.7.38.88.63,1.81.88,2.72.25.92.54,1.82.74,2.74,1,4.42,1.32,8.84,1.18,13.32-.11,1.37-.15,2.81-.3,3.97-.38,3.84-1.53,8.66-3.32,13.04-.36.84-.72,1.65-1.06,2.43-.34.79-.8,1.49-1.17,2.2-.39.7-.74,1.39-1.13,2.03-.42.61-.82,1.21-1.21,1.79-.38.54-.75,1.19-1.31,1.85-.56.65-1.2,1.39-1.94,2.25-2.01,2.08-4.12,4-6.51,5.61-3.89,2.72-8.53,4.78-13.18,5.71-2.25.41-3.16.45-3.55.45-.39.01-.26,0-.46,0-.26,0-.97.05-1.79,0-.41-.01-.85-.02-1.28-.03-.42-.04-.83-.08-1.18-.12-4.13-.42-7.3-1.66-10.32-3.49,0,0,0,0,0,0-.11-.07-.22-.14-.33-.21-1.06-.71-3.22-2.29-4.94-4.51-.25-.29-.41-.53-.6-.81.2.31.39.59.64.88,1.38,1.74,3.04,3.25,4.91,4.43.04.02.08.05.12.08.07.05.14.09.21.14,0,0-.03-.01,0,.01.44.32-.06.14-1.54-.9-.73-.53-1.69-1.3-2.76-2.45-1.07-1.15-2.29-2.68-3.21-4.82-.61-1.53-.79-2.63-.82-3.32-.05-.7-.03-1.01,0-1.13.05-.14,0-1.02.52-2.62.32-.97.7-1.55.93-1.98.23-.44.44-.67.57-.89.3-.39.34-.5.8-.98.59-.58,1.45-1.5,3.58-2.45.79-.32.79-.3,1.27-.44.7-.23,2.11-.56,3.05-.7,1.01-.16,1.96-.23,2.94-.22.97-.02,1.97.06,3.11.17,1.34.17,3.69.66,5.2,1.2,1.38.51,1.85.63,4.84,1.93.98.43,2.14,1.01,3.34,1.67,3.16,1.75,4.93,3.05,6.23,4.04,1.01.77.97.73,3.08,2.33,1.01.77,1.95,1.53,2.85,2.31,1.55,1.36,2.59,2.42,2.91,2.77.23.26-.19-.13-1.36-1.23-2.48-2.3-5.39-4.62-8.04-6.44-1.14-.79-2.32-1.58-3.17-2.13-1.7-1.09-3.47-2.1-5.47-3.03-2.65-1.19-5.41-2.3-8.86-3.02-1.78-.4-3.94-.49-5.23-.48-.52.03-.75.04-.89.07-.04,0,.75-.03,1.17-.02,4.09.02,8.13,1.08,11.83,2.65,4.58,1.94,8.86,4.65,12.63,7.54,3.66,2.79,7.37,6,10.67,9.82,1.76,2.1.7.7,1.8,2.04.4.47,1.11,1.42,1.58,2.05.21.3.46.66.66.95.2.29.34.52.34.52,0,.03-.35-.43-.51-.62-.04-.05.09.16.19.31.51.75,1.14,1.7,1.5,2.29.4.64.58.88.89,1.41,1,1.61,1.81,3.22,2.79,5.13.43.82,1.4,3.02,1.63,3.65,1.42,3.72,2.3,6.85,3.13,10.77.6,3.02,1.04,6.95,1.16,10.51.17,5.07-.33,10.44-1.21,15.05-.72,3.55-1.19,5.04-2.01,7.63-.95,2.98-2.93,7.39-2.7,6.66.02-.03-.31.63-.48.96-.13.28-.33.7-.38.79-.09.26-.17.48-.26.73-.06.16-.27.6-.58,1.25-.33.64-.83,1.45-1.38,2.39-.62,1.11-1.34,2.16-2.07,3.2l-1.09,1.57-1.19,1.5c-1.65,2.13-2.65,3.16-3.25,3.73-.6.58-.79.76-1.13,1.01-.32.22-.59.49-2.18,1.88-.46.39-1.5,1.33-1.79,1.55-1.1.94-1.91,1.67-3.03,2.52-2.67,2.05-4.61,3.66-10.24,6.59-3.19,1.59-8.05,3.68-12.36,4.66-1.07.31-2.18.42-3.26.64l-1.63.28c-.55.06-1.09.08-1.64.12-1.09.06-2.17.15-3.23.19-1.06-.06-2.11-.11-3.14-.17-1.07,0-3.17-.27-3.1-.3.05-.02.85.05,1.35.09.09.01.17.02.25.03-.03,0-.07-.01-.11-.02,2.14.1,3.77.14,4.8.16,1.03-.08,1.46-.15,1.22-.17.09,0,.17,0,.25-.01h-.04c1.29-.13,2.62-.14,3.89-.37,1.27-.23,2.53-.46,3.71-.68,1.27-.36,1.23-.38.2-.13-1.31.21-2.9.47-4.59.74-3.84.32-7.91.38-11.76-.26-1.43-.22-2.53-.47-3.33-.61-.85-.16.69.29,2.67.64,1.44.23,2.95.48,4.46.5,4.01.24,4.55.11,4.76.16l-.2.02s-.01,0,0,0c-.37.02-.74.04-1.12.07-1.33-.07-2.8-.14-3.99-.2-1.86-.09-4.23-.48-5.09-.64-1.7-.27,1.88.44,2.87.58.42.06.87.13,1.31.2-.03,0-.05,0-.09,0-.01,0-.04,0-.06,0-1.97-.21-3.81-.56-5.49-.89-1.4-.28-2.58-.62-3.4-.87-.63-.21-.93-.31-2.93-.98-.41-.14-.76-.26-1.16-.4-1.74-.67-2.49-1.02-3-1.28-.51-.25-.8-.4-1.54-.88-.66-.41-.63-.44-.94-.66-.15-.12-.37-.29-.79-.6-.22-.15-.48-.34-.8-.57-.31-.26-.67-.56-1.11-.93-.51-.41-.68-.68-.67-.66.04,0,.26.28.82.69.29.23.64.5.98.77.35.25.72.48,1.02.67.62.4.3.17-.82-.59-2.43-1.71-4.04-4.1-4.09-4.29-.09-.13-.43-.57-.71-1.22-.24-.66-.58-1.47-.68-2.23-.08-.5-.16-1.37-.06-2.34.1-.97.38-2.04.81-2.88.31-.62.71-1.2,1.2-1.7.24-.26.53-.46.82-.67.28-.22.59-.38.91-.52,1.28-.59,2.69-.74,4.04-.7,2.72.14,5.32.95,7.76,2,1.71.75,2.41,1.13,2.94,1.39.53.28.88.44,1.77,1.01,3.76,2.47,6.94,5.88,9.28,9.82,2.42,4.16,3.62,8.2,4.1,11.85.24,1.72.36,3.66.28,5.75-.06,2.09-.3,4.35-.83,6.68-.58,2.6-1.42,4.61-1.96,5.7-.2.47-.62,1.23-.95,1.97-.32.6-.52,1.12-1.43,2.39-.94,1.36-2.42,3.11-4.28,4.75-1.86,1.64-4.13,3.1-6.39,4.08-1.72.65-1.17.77-5.01,1.69-5.52,1.18-11.41.39-17.11-1.67-4.43-1.64-8.97-4.2-12.92-7.28-3.22-2.47-6.36-5.66-8.54-8.48-1.3-1.68-2.52-3.45-3.63-5.29-1.07-1.85-2.07-3.75-2.85-5.68-1.08-2.54-1.92-5.51-2.17-6.91-.06-.4-.21-1.16-.39-2.07-.11-.93-.36-2.01-.39-3.08-.07-1.04-.13-2.08-.2-3.12-.03-1.04.07-2.08.1-3.12l.08-1.56.23-1.55c.18-1.03.25-2.09.52-3.13.88-4.18,2.44-8.04,4.53-12.14.54-.95,1.03-1.81,1.49-2.64.52-.79,1.06-1.52,1.57-2.25.98-1.51,2.22-2.78,3.52-4.43,1.1-1.16,2.13-2.2,3.08-3.13,1.02-.85,1.96-1.64,2.83-2.37,1.45-1.06,2.81-2.08,4.09-2.96.94-.58,1.86-1.15,2.91-1.8,1.1-.59,2.4-1.19,4-1.96,6.43-2.66,13.63-3.94,21.14-3.27,3.54.31,6.77,1.16,9.72,2.18,7.08,2.35,14.83,7.56,20.25,13.03,4.86,4.77,8.81,10.4,11.8,16.49,2.87,5.82,4.6,12.2,5.01,18.68.31,4.87-.1,9.81-1.24,14.57-1.1,4.84-2.88,9.67-4.96,13.79-.51,1.08-1.33,2.57-2.02,3.82-6.28,11.45-15.82,20.04-27.23,25.49-4.54,2.19-9.18,3.8-13.76,4.96-3.7.97-8.25,1.71-11.54,1.9-4.83.3-9.63-.02-14.51-.88-3.51-.63-5.23-1.16-6.76-1.62-.98-.3-4.06-1.24-4.47-1.37-.53-.09-2.82-.77-7.39-2.77-3.39-1.42-6.99-3.14-10.55-5.02-3.1-1.62-6.3-3.38-9.16-5-3.32-1.87-6.36-3.57-9.99-5.61-4.23-2.42-9.4-5.34-14.25-7.84-.8-.41-2.13-1.09-2.39-1.23-3.25-1.71-7.04-3.56-11.07-5.03-3.66-1.36-7.94-2.32-11.41-2.25-6.02-.22-12.95,2.36-16.89,6.47-1.52,1.56-2.73,3.52-3.2,5.65-.5,2.13-.28,4.3.24,6.21.15.56.35,1,.6,1.65.27.62.62,1.34,1.06,2.1,1,1.68,2.31,3.29,3.88,4.68,1.6,1.35,3.45,2.53,5.49,3.16,1.33.44,3.49.91,5.88.75,2.39-.13,4.91-.91,6.92-1.9,1.83-.88,3.73-2.19,5.04-3.29,2.22-1.89,4.08-4.33,5.32-7.1,1.24-2.77,1.9-5.79,2.1-8.81.16-2.52.06-5.05-.36-7.53-.12-1.26-.45-2.47-.77-3.69-.25-1.24-.76-2.39-1.19-3.58-1.84-4.68-4.66-8.91-7.97-12.65-2.95-3.34-6.89-6.89-10.87-9.7-4.01-2.9-8.13-5.23-12.51-7.24-3.17-1.49-5.93-2.36-9.52-3.4-2.52-.71-5.33-1.35-8.26-1.84-3.55-.63-7.64-1.02-11.39-1.04-3.3-.04-7.18.21-10.78.85-3.14.55-6.2,1.34-9.34,2.52-3.46,1.3-6.93,3.06-10.15,5.33-.38.24-1.79,1.26-2.04,1.46-1.11.81-2.76,2.15-3.98,3.26-.8.72-1.63,1.52-2.69,2.57-1.03,1.07-2.28,2.4-3.77,4.29-3.16,4.12-5.23,8.35-5.8,12.34-.28,1.47-.4,5,.18,7.03.44,2.16,1.24,4.17,2.35,5.97,1.09,1.81,2.39,3.5,3.98,4.99.76.81,1.67,1.47,2.52,2.2.93.63,1.81,1.33,2.81,1.88,1.92,1.2,4.01,2.11,6.12,2.9-.05-.02-.25-.08-.09-.02.13.04.89.3,1.36.45.3.1.83.28.87.28.07.02.12.03.18.04l2.17.56c.73.16,1.47.28,2.2.42,3.41.49,3.93.46,3.19.41-.3.01,6.65.32.35.03-6.26-.54-12.54-2.3-18.29-6.3-.88-.59-1.48-1.11-1.98-1.52-.52-.41-.91-.75-1.28-1.13-.76-.72-1.54-1.47-2.85-3.19-1.2-1.55-2.14-3.37-2.92-5.25-.31-.97-.68-1.93-.81-2.94-.19-1-.41-1.99-.37-2.99-.15-3.43.66-6.72,2.07-9.81,2.08-4.43,5.41-8.52,8.69-11.65,4.9-4.69,10.61-8.89,17.22-11.46,2.36-.97,5.1-1.73,6.79-2.13,1.85-.46,4.07-.85,6.45-1.14,2.38-.26,4.93-.39,7.45-.37,5.55.05,10.86.74,16.19,1.93,2.68.61,5.42,1.35,8.18,2.28,1.37.47,2.77.98,4.12,1.61,1.38.58,2.72,1.26,4.08,1.95,5.08,2.59,10.13,5.95,14.71,9.88,4.16,3.6,7.84,7.75,10.63,12.38.96,1.48,1.81,3.31,2.65,5.08.35.92.69,1.83,1.01,2.7.34.86.49,1.74.72,2.5.13.53.33,1.1.42,1.72.09.63.19,1.29.29,1.99.24,1.39.32,2.91.33,4.51,0,3.02-.36,6.12-1.35,9.03-.94,2.93-2.55,5.62-4.61,7.77-.45.55-1.71,1.62-1.97,1.82-1.67,1.39-4.04,2.97-6.84,3.97-2.78,1.07-6.02,1.35-8.78.82-2.64-.48-5.32-1.76-7.46-3.59-2.16-1.8-3.84-4.04-4.9-6.23-.73-1.51-1.25-3.22-1.43-4.99-.15-1.77,0-3.62.64-5.24.65-2.04,2.58-4.43,4.57-5.96,1.47-1.22,3.99-2.55,5.13-3,2.66-1.19,5.44-1.81,8.12-1.99,2.69-.17,5.28.1,7.73.59,3.46.78,5.13,1.37,7.69,2.36,5.1,2.04,10.59,4.9,15.32,7.46,4.08,2.23,7.64,4.23,11.31,6.3,3.35,1.88,6.87,3.86,10.35,5.81,3.81,2.12,7.79,4.28,11.47,6.08,4.12,2.02,7.73,3.64,11.98,5.26,7.66,2.9,15.95,4.82,24.2,4.77,3.66,0,7.8-.47,11.66-1.19,4.43-.85,8.38-1.97,12.03-3.46.94-.35,2.54-1.06,4.22-1.79,1.64-.8,3.38-1.6,4.51-2.26,3.59-1.9,7.45-4.44,11.21-7.87.91-.77,1.67-1.61,2.47-2.36.39-.38.78-.76,1.16-1.13.35-.4.7-.8,1.05-1.19.69-.79,1.4-1.56,2.08-2.37.66-.82,1.31-1.68,1.95-2.6,2.02-2.9,3.51-5.26,5.24-8.58,1.46-2.91,2.81-6.05,3.83-9.1.59-1.58.96-3.2,1.44-4.77.34-1.6.72-3.17.99-4.74.23-2.03.56-3.7.54-5.63.04-1.35.12-3.27,0-4.33-.05-.94-.1-1.88-.15-2.83-.05-.95-.27-1.89-.4-2.85-.17-.95-.27-1.92-.5-2.86-.26-.94-.52-1.88-.78-2.83-.44-1.92-1.27-3.72-1.95-5.57-.4-.9-.85-1.78-1.27-2.68l-.64-1.33c-.23-.44-.49-.85-.73-1.28-2.62-4.73-6.14-9.4-9.57-12.9-1.99-2.08-4.66-4.32-5.94-5.32-1.85-1.69-3.94-2.81-5.9-4.1-.88-.47-1.77-.95-2.65-1.42-.44-.23-.88-.47-1.32-.7-.45-.19-.9-.38-1.35-.57-1.56-.66-3.08-1.36-4.69-1.79l-2.38-.74c-.8-.22-1.63-.33-2.45-.5l-2.39-.46c-.81-.06-1.62-.12-2.44-.18-.82-.05-1.64-.14-2.48-.16-.84.04-1.68.07-2.54.11-2.28,0-3.6.34-5.13.54-.77.12-2.17.29-2.46.43-5.82,1.52-10.73,3.74-15.37,6.91-4.43,3.05-8.41,6.98-11.61,11.21-.46.67-1.08,1.57-1.77,2.58-.65,1.03-1.27,2.22-1.93,3.32-1.17,2.18-1.39,2.97-1.82,3.93-.29.64-.61,1.73-.78,2.07-.18.46-.62,1.47-.97,2.69-.31,1.23-.7,2.64-.96,3.85-.19,1.3-.65,4.39-.52,4.2.06-.25.16-1.33-.02,2.72-.29,7.58,1.85,15.07,5.78,21.69,1.88,3.12,3.41,5.32,5.78,7.97,3.94,4.32,7.45,7.04,11.7,9.7,3.62,2.14,8.31,4.48,14.27,5.36,1.22.21,3.78.48,5.56.37,5.33-.24,10.19-1.8,14.64-5.38,3.58-2.88,6.7-7.38,8.28-12.12.84-2.35,1.39-5.29,1.59-7.22.78-6.62-.43-13.74-4.58-20.45-1.87-2.99-4.13-5.51-6.78-7.59-2.66-2.05-5.73-3.64-9.17-4.76-1.37-.44-3.07-.8-4.28-.89-1.86-.17-3.84.05-5.32,1.21-1.5,1.11-2.21,3.02-2.36,4.88-.08.79-.06,1.62.07,2.43.06.41.2.8.33,1.2.13.39.23.8.46,1.16.69,1.54,1.89,2.78,3.09,3.88,1.51,1.36,3.06,2.16,4.43,2.9,1.69.82,3.68,1.62,5.79,2.39,3.86,1.33,9.28,2.76,15.78,2.68,4.89-.1,9.96-1.16,14.42-2.66.85-.32,2.02-.66,3.19-1.2,1.17-.55,2.45-1.06,3.54-1.64,4.26-2.13,8.27-4.77,11.98-7.74,1.84-1.5,3.66-3.04,5.35-4.69.85-.82,1.68-1.66,2.48-2.52.79-.88,1.49-1.82,2.24-2.72.28-.35.57-.71.87-1.08.27-.39.55-.79.83-1.19.55-.81,1.16-1.63,1.71-2.51.53-.89,1.06-1.79,1.59-2.68.54-.89.95-1.84,1.42-2.73,1.91-3.84,3.17-7.27,4.08-10.31.36-1.17.75-2.48,1.03-3.9.15-.7.31-1.43.47-2.16.12-.74.23-1.49.35-2.25.45-2.82.64-5.81.73-8.56-.01-1.96,0-3.87-.12-5.56-.04-.96-.09-2.05-.24-3.19-.12-1.14-.25-2.34-.47-3.53-.1-.6-.2-1.19-.29-1.78-.13-.58-.25-1.16-.37-1.71-.24-1.12-.47-2.17-.73-3.09-.46-1.74-1.03-3.47-1.74-5.29-1.63-4.15-4.03-8.7-5.93-11.7-2.72-4.22-5.4-7.49-9.68-11.51-3.14-2.85-5.33-4.46-7.59-6.1-2.28-1.6-4.65-3.25-8.73-5.31-4.49-2.16-8.69-3.55-13.81-3.61-2.13,0-4.37.34-6.47,1.19-2.09.83-4.06,2.25-5.25,4.22-.9,1.39-1.44,3.08-1.43,4.83,0,1.74.52,3.48,1.35,5.06,1.68,3.14,4.4,5.75,7.57,7.51,3.16,1.77,6.72,2.82,10.24,3.11,3.53.31,7.01-.21,10.16-1.11,2.08-.57,3.67-1.27,5.38-2.02,2.51-1.23,4.05-2.2,5.35-3.15.55-.36,2.28-1.69,2.86-2.21.75-.69,1.49-1.37,2.23-2.04.38-.32.72-.68,1.04-1.07l.97-1.12c1.36-1.44,2.37-3.12,3.5-4.71.51-.83.95-1.7,1.43-2.55l.7-1.28.58-1.34c.38-.9.79-1.8,1.16-2.71.31-.94.62-1.88.93-2.83.32-.85.53-1.81.76-2.83.2-1.01.53-2.05.66-3.15.26-1.85.59-3.68.65-5.55.04-.93.17-1.86.14-2.79-.01-.93-.02-1.86-.03-2.81.02-1.05-.1-1.84-.15-2.49-.06-.65-.11-1.14-.15-1.59-.07-.91-.2-1.63-.48-3.01-.2-.91-.31-1.88-.62-2.91-.35-1.16-.71-2.67-1.11-3.84-.12-.31.1.23.15.35.05.15.17.56.11.33-.03-.23-.37-1.08-.62-1.75-.29-.76-.84-2.19-.91-2.37-.31-.63-.41-.77-.71-1.34-.12-.24-.38-.74-.72-1.43-.19-.35-.36-.77-.61-1.18-.26-.41-.54-.84-.82-1.29-1.1-1.82-2.49-3.72-3.33-4.77-.14-.17.07.07.01,0-.68-.85-.6-.91-3-3.4-.69-.68-1.53-1.45-2.07-1.9-3.38-2.88-7.08-4.8-10.7-5.78-3.61-1-7.06-1.38-10.21-1.2-.71.05-1.91.15-3.12.41-.61.12-1.22.27-1.77.46-.56.16-1.06.35-1.46.53-4.06,1.71-6.52,4.52-8.16,7.77-1.32,2.57-1.99,5.37-2.09,8.17-.04,2.79.54,5.64,2.11,8.05,1.16,1.77,2.38,2.83,3.6,3.62,1.22.79,2.45,1.34,3.99,1.79,1.02.33,3.04.64,4.04.67,1.05.06,1.69.03,1.96.02.37-.02.29,0-.34.01-.62.01-1.8.03-3.57-.24ZM235.07,57.9c.17.26.37.51.52.78.22.32.49.7.64.92.04.06-.36-.61-.47-.78-.65-.97-.9-1.22-.69-.91ZM282.21,45.33c-.14.17-.4.5-.6.75-.11.16-.29.4-.3.44,0,0,.08-.09.19-.22.11-.14.25-.3.36-.44.71-.85.93-1.36.35-.53ZM291.51,26.58c-.1.35-.21.7-.37,1.12-.57,1.56-1.09,3.21-1.81,4.77-.35.79-.65,1.59-1.03,2.34-.39.75-.76,1.49-1.14,2.21-.41.84-.93,1.74-1.38,2.51-.44.77-.81,1.43-.97,1.75-.15.31.62-.93,1.24-1.99,2.02-3.61,3.85-7.58,5.18-11.78.12-.33.19-.61.27-.92ZM293.98,14.86c-.06.79-.31,2.08-.46,3.07-.15,1.17-.53,3.08-.49,2.89.23-.64.58-3,.86-4.79.15-1.3.17-1.73.09-1.17ZM291.2-13.26c.07.23.4,1.32.61,2.01.46,1.54.8,2.92,1.03,3.92.24,1,.4,1.61.43,1.65,0,0-.03-.18-.08-.46-.06-.28-.13-.64-.2-.96-.6-3.14-2.03-7.03-1.78-6.17Z' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");

  
  --border: rgba(100, 80, 60, 0.12);
  --border-focus: rgba(100, 80, 60, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 4px rgba(80, 60, 40, 0.08);
}

*  {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html { -webkit-tap-highlight-color: transparent; }
:is(button, summary, a, [role="button"], [role="tab"], [role="option"]) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

:is(input, textarea, select, [contenteditable]:not([contenteditable="false"])) { -webkit-user-select: text; user-select: text; }
:focus:not(:focus-visible), [tabindex="-1"]:focus { outline: none; }

body  {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--t-body);
  min-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  gap: 12px;
}


.topbar  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  padding-bottom: 11px;
}

.brand  {
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
button.brand  {
  display: block;
  flex: none;
  border: 0;
  padding: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}
button.brand img { display: block; width: auto; height: 56px; }
button.brand:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }



.week-strip-h  {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-shrink: 0;
  border-bottom: 1.5px solid var(--border);
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}


#week-strip-el  {
  display: none !important;
}

.week-arrow  {
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  color: var(--muted);
  font-size: var(--t-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.week-arrow:hover:not(:disabled)  {
  border-color: var(--border-focus);
  color: var(--text);
}
.week-arrow:disabled  {
  opacity: 0.3;
  cursor: default;
}

.week-tiles  {
  display: flex;
  gap: 6px;
  flex: 1;
}

.h-tile  {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s;
  min-width: 0;
  margin-bottom: 4px;
}

.h-tile:hover:not(.future):not(.selected)  {
  background: rgba(255,255,255,0.55);
}
.h-tile.future  {
  opacity: 0.35;
  cursor: default;
}

.h-tile.selected  {
  background: var(--bg) !important;
  border: 1.5px solid var(--border) !important;
  border-bottom: 1.5px solid var(--bg) !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-bottom: -1.5px;
  padding-bottom: 12px;
  z-index: 3;
  position: relative;
}

.h-tile-text  {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.h-tile-day  {
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.h-tile.today .h-tile-day  {
  font-weight: 700;
}

.h-tile-num  {
  font-size: var(--t-meta);
  color: var(--muted);
  font-weight: 400;
  line-height: 1;
}



.left-panel  {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 10px 10px;
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1), padding 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
}




#today-nav,
#left-dock {
  flex: 0 0 300px;
  min-width: 300px;
  max-width: 300px;
  align-self: stretch;
  display: flex;

  
  min-height: 0;
  max-height: 770px;   
}
#left-dock { align-items: stretch; order: 2; }   

#left-tabs  {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 100px;
  flex-shrink: 0;
}

#left-tabs > button  {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--sunken);
  border: none;
  border-radius: 0;
  clip-path: polygon(var(--cut-md) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-md));
  padding: 14px 7px;
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  margin-right: -1px;
  position: relative;
  z-index: 1;
}
#left-tabs > button:hover  {
  color: var(--text);
  background: color-mix(in srgb, var(--sunken) 60%, var(--card));
}

#left-tabs > button.active  {
  color: var(--text);
  background: var(--card);
  z-index: 52;
}


#dock-box  {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  width: 100%;                  
  min-width: 0;
  min-height: 0;
}
.left-panel  {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--gold-edge);   
  border: none;
  border-radius: 0;
  clip-path: var(--shear-all);  
  filter: var(--card-lift);
  position: relative;
}
.left-panel::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 0;
  background: var(--card-veil);
  clip-path: var(--shear-all);
  pointer-events: none;
}
.left-panel > * { position: relative; z-index: 1; }
.left-panel::-webkit-scrollbar  {
  width: 3px;
}
.left-panel::-webkit-scrollbar-thumb  {
  background: var(--border);
  border-radius: 2px;
}


.week-overview  {
  flex-shrink: 0;
  margin-bottom: 14px;
}
.wko-title  {
  margin-bottom: 8px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wko-label  {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}
.wko-range  {
  font-size: var(--t-micro);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
}
.wko-nav  {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: var(--t-head);
  line-height: 1;
  color: var(--muted);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.wko-nav:hover:not(:disabled)  {
  background: rgba(0,0,0,0.05);
  color: var(--text);
}
.wko-nav:disabled  {
  opacity: 0.25;
  cursor: default;
}
.wko-day  {
  display: flex;
  gap: 7px;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s;
}
.wko-day + .wko-day  {
  margin-top: 2px;
}
.wko-day:hover:not(.future)  {
  background: rgba(255,255,255,0.6);
}
.wko-day.today  {
  background: rgba(255,255,255,0.5);
}
.wko-day.selected  {
  background: var(--bg);
  border-color: var(--border);
}
.wko-day.future  {
  opacity: 0.4;
  cursor: default;
}
.wko-daylabel  {
  flex-shrink: 0;
  width: 16px;
  padding-top: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1.1;
}
.wko-dow  {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: var(--t-meta);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1;
}
.wko-day.today .wko-dow  {
  font-weight: 700;
}
.wko-date  {
  color: var(--muted);
  font-weight: 400;
}
.wko-bears  {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}
.wko-bear  {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: var(--t-meta);
  line-height: 1.3;
  min-width: 0;
}
.wko-dot  {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(1px);
}
.wko-text  {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.wko-lens  {
  font-weight: 600;
}
.wko-focus  {
  color: var(--muted);
}
.wko-empty  {
  font-size: var(--t-meta);
  color: var(--muted);
  opacity: 0.5;
  padding-top: 1px;
}

.cal-month  {
  margin-bottom: 16px;
  flex-shrink: 0;
  align-self: center;
}
.cal-month:last-child  {
  margin-bottom: 0;
}

.cal-month-header  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cal-month-label  {
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}
.cal-nav  {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: var(--t-body);
  padding: 0;
  flex: 0 0 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: color 0.15s;
}
.cal-nav:hover  {
  color: var(--text);
}

.cal-dow-row  {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}
.cal-dow  {
  width: 24px;
  flex-shrink: 0;
  font-size: var(--t-micro);
  font-weight: 600;
  color: var(--label);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 2px 0;
}

.cal-style-toggle  {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  cursor: pointer;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
}
.cal-style-toggle:hover  {
  border-color: var(--border-focus);
  color: var(--text);
}

.cal-grid  {
  display: flex;
  flex-direction: column;
  gap: 0;
}


.cal-row  {
  display: flex;
  gap: 2px;
  margin-top: -5px;
}
.cal-row:first-child  {
  margin-top: 0;
}
.cal-row.offset  {
  margin-left: 13px;
}

.cal-cell  {
  width: 24px;
  height: 27px;
  flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-micro);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  background: rgba(100,80,60,0.06);
  position: relative;
}
.cal-cell:hover:not(.empty):not(.future)  {
  opacity: 0.8;
  transform: scale(1.12);
}
.cal-cell.empty  {
  background: transparent;
  cursor: default;
  pointer-events: none;
}
.cal-cell.future  {
  opacity: 0.25;
  cursor: default;
}
.cal-cell.logged  {
  color: rgba(0,0,0,0.65);
  font-weight: 600;
}
.cal-cell.is-today  {
  font-weight: 700;
  background: rgba(100,80,60,0.18) !important;
}
.cal-cell.is-selected  {
  filter: drop-shadow(0 0 2.5px var(--text));
}


.cal-grid.standard  {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-grid.standard .cal-row  {
  display: contents;
}
.cal-grid.standard .cal-row.offset  {
  margin-left: 0;
}
.cal-grid.standard .cal-cell  {
  width: auto;
  height: auto;
  aspect-ratio: 1;
  clip-path: none;
  border-radius: 4px;
  font-size: var(--t-micro);
}
.cal-grid.standard .cal-cell.is-today::after  {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text);
}
.cal-grid.standard .cal-cell.is-today  {
  background: rgba(100,80,60,0.05) !important;
  font-weight: 500;
}
.cal-grid.standard .cal-cell.is-selected  {
  filter: none;
  outline: 1.5px solid var(--text);
  outline-offset: 1px;
}

.card  {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.label  {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--label);
  text-transform: uppercase;
  margin-bottom: 8px;
}


.bear-area  {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: visible;
}

.bear-area-top  {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex-shrink: 0;
  padding: 2px 0 6px 2px;
}
.bear-area-subhead  {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: var(--t-body);
  color: var(--muted);
  line-height: 1.4;
}

.bear-area-heading  {
  font-family: 'Lora', Georgia, serif;
  font-size: var(--t-hero);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--text);
  flex-shrink: 0;
}

.bear-area-heading small  {
  font-family: 'Inter', sans-serif;
  font-size: var(--t-meta);
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}

.sig-wrap  {
  flex: 1;
  min-width: 0;
}


.bears-grid  {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-self: flex-start;
  padding-left: 2px;
  position: relative;
  
  transform-origin: top left;
  
  perspective: 1600px;
  
}

.bear-area-lead  {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bear-area-lead-text  {
  min-width: 0;
}
#sig-dropdown  {
  position: relative;
  flex-shrink: 0;
  z-index: 4;
}

.bear-col  {
  display: flex;
  align-items: flex-start;
  position: relative;
  transition: none;
  perspective: 1600px;
  
}



.bear-col  {
  position: relative;
}
#bear-col-papa  {
  z-index: 1;
}

#bear-col-mama  {
  z-index: 2;
  margin-left: 279px;
  margin-top: -150px;
}
#bear-col-baby  {
  z-index: 3;
  margin-left: 0;
  margin-top: -144px;
}


.bear-hex-outer  {
  flex-shrink: 0;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background 0.2s;
  width: 387px;
  height: 334px;
}

.bear-hex-inner  {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 370px;
  height: 319px;
}


#bear-col-papa .bear-hex-outer  {
  width: 358px;
  height: 310px;
  z-index: 2;
  background: var(--bear-papa-tint);
}
#bear-col-papa .bear-hex-inner  {
  width: 341px;
  height: 294px;
}
#bear-col-papa .bear-col-img  {
  max-height: 306px;
  max-width: 364px;
}
#bear-col-papa .bear-panel  {
  height: 179px;
  margin-left: -305px;
  margin-top: 9px;
  width: 832px;
  padding-left: 315px;
  border-radius: var(--radius);
  position: relative;
  z-index: 0;
}
#trail-papa .trail-lens-grid, #trail-mama .trail-lens-grid, #trail-baby .trail-lens-grid  {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 8px;
}
#cal-panel .trail-lens-grid  {
  grid-template-columns: 1fr;
}


#bear-col-baby .bear-hex-outer  {
  width: 358px;
  height: 310px;
  z-index: 2;
  background: var(--bear-baby-tint);
}
#bear-col-baby .bear-hex-inner  {
  width: 341px;
  height: 294px;
}
#bear-col-baby .bear-col-img  {
  max-height: 278px;
  max-width: 331px;
}
#bear-col-baby .bear-panel  {
  height: 147px;
  margin-left: -244px;
  margin-top: 125px;
  width: 666px;
  padding-left: 251px;
  border-radius: var(--radius);
  position: relative;
  z-index: 0;
}


#bear-col-mama .bear-hex-outer  {
  width: 358px;
  height: 310px;
  z-index: 2;
  background: var(--bear-mama-tint);
}
#bear-col-mama .bear-hex-inner  {
  width: 341px;
  height: 294px;
}
#bear-col-mama .bear-col-img  {
  max-height: 306px;
  max-width: 364px;
}
#bear-col-mama .bear-panel  {
  height: 147px;
  margin-left: -244px;
  margin-top: 125px;
  width: 666px;
  padding-left: 251px;
  border-radius: var(--radius);
  position: relative;
  z-index: 0;
}

.bear-col-img  {
  max-height: 264px;
  max-width: 319px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.2s;
}
.bear-col:not(.active) .bear-col-img  {
  opacity: 0.5;
}


.bear-panel  {
  width: 286px;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 10px 14px 10px 20px;
  margin-left: -10px;
  display: flex;
  flex-direction: column;
  height: 334px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.bear-col.active .bear-panel  {
  border-color: rgba(100,80,60,0.3);
}

.bear-col-check-row  {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0 5px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.bear-col-check-row:hover .bear-col-box  {
  border-color: var(--border-focus);
}

.bear-col-box  {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  font-size: var(--t-micro);
  color: white;
  font-weight: 700;
}

.bear-col-info  {
  flex: 1;
}
.bear-col-name  {
  font-weight: 500;
  font-size: var(--t-body);
  display: block;
}
.bear-col-sub  {
  font-size: var(--t-meta);
  color: var(--muted);
}

.bear-col-expand  {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0;
}
.bear-col-expand.open  {
  max-height: 264px;
  padding-bottom: 4px;
}
.bear-focus-note { width: 100%; box-sizing: border-box; margin: 5px 0 2px; }

.bear-col-trail  {
  border-top: 1px solid var(--border);
  padding: 6px 0 0;
  margin-top: auto;
  overflow-y: auto;
  flex: 1;
}
.bear-col-trail::-webkit-scrollbar  {
  width: 3px;
}
.bear-col-trail::-webkit-scrollbar-thumb  {
  background: var(--border);
  border-radius: 2px;
}

.bear-trail-label  {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--label);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.bear-trail-empty  {
  font-size: var(--t-meta);
  color: var(--label);
  font-style: italic;
}



.dropdown  {
  position: relative;
  user-select: none;
}

.dropdown-trigger  {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s;
}

.dropdown-trigger:hover, .dropdown-trigger.open  {
  border-color: var(--border-focus);
}
.dropdown-trigger.open  {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.dropdown-dot  {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.2s;
}
.dropdown-text  {
  flex: 1;
  color: var(--muted);
  font-size: var(--t-body);
}
.dropdown-text.selected  {
  color: var(--text);
  font-weight: 500;
}
.dropdown-text .sig-sub  {
  font-size: var(--t-meta);
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}
.dropdown-arrow  {
  color: var(--label);
  font-size: var(--t-meta);
  transition: transform 0.2s;
}
.dropdown-trigger.open .dropdown-arrow  {
  transform: rotate(180deg);
}

.dropdown-panel  {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--border-focus);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 200;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(80,60,40,0.1);
}

.dropdown-panel.open  {
  display: block;
}


.dropdown.up .dropdown-panel  {
  top: auto;
  bottom: 100%;
  border-top: 1px solid var(--border-focus);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  box-shadow: 0 -4px 12px rgba(80,60,40,0.1);
}
.dropdown.up .dropdown-trigger.open  {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}


.bear-area-sig  {
  margin-top: 4px;
}


.sig-day-hex  {
  
  width: 83.2px;
  height: 93.6px;
  flex-shrink: 0;
  
  cursor: default;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(100,80,60,0.08);
  
  position: relative;
  filter: drop-shadow(0 1.5px 2px rgba(80, 60, 40, .22));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: background .3s, transform .15s;
}

.sig-day-hex::after {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 50% 50%, 0% 25%);
  background: rgba(255, 255, 255, .34);
  pointer-events: none;
}

.sig-day-hex::before {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(0% 75%, 50% 50%, 100% 75%, 50% 100%);
  background: rgba(0, 0, 0, .16);
  pointer-events: none;
}

.sig-day-hex > * { position: relative; z-index: 1; }

.sig-day-hex.open  {
  transform: scale(1.04);
}

@keyframes sigNudge  {
  0%,100%  {
    transform: scale(1);
  }
  25%  {
    transform: scale(1.14);
  }
  55%  {
    transform: scale(1.02);
  }
  80%  {
    transform: scale(1.1);
  }
}
.sig-day-hex.sig-nudge  {
  animation: sigNudge 0.8s ease-in-out 2;
}
.sig-hex-num  {
  font-family: 'Lora', Georgia, serif;
  font-size: var(--t-hero);
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}
.sig-hex-hint  {
  font-size: var(--t-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--label);
  font-weight: 600;
  max-width: 72px;
  text-align: center;
  line-height: 1.35;
}

.sig-caption-lead  {
  margin-top: 2px;
}
.sig-caption-lead-name  {
  font-family: 'Lora', Georgia, serif;
  font-size: var(--t-head);
  font-weight: 600;
  color: var(--text);
}
.sig-caption-lead-sub  {
  font-size: var(--t-ui);
  color: var(--muted);
  line-height: 1.5;
  max-width: 560px;
}


#sig-dropdown .dropdown-panel  {
  min-width: 380px;
  right: auto;
  max-height: 62vh;
}

.dropdown-group-label  {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
  padding: 8px 12px 3px;
  border-top: 1px solid var(--border);
}

.dropdown-group-label:first-child  {
  border-top: none;
}

.dropdown-option  {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.1s;
}

.dropdown-option:hover  {
  background: var(--bg);
}
.dropdown-option.active  {
  background: #F0EAE0;
}


.sig-filter-row  {
  display: flex;
  gap: 3px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.sig-filter-chip  {
  font-size: var(--t-micro);
  font-weight: 600;
  padding: 2px 9px;
  letter-spacing: 0.04em;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  transition: all 0.12s;
  user-select: none;
  white-space: nowrap;
}
.sig-filter-chip:hover  {
  border-color: var(--border-focus);
  color: var(--text);
}
.sig-filter-chip.active  {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.dropdown-group-label.hidden, .dropdown-option.hidden  {
  display: none !important;
}

.option-dot  {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}
.option-name  {
  font-weight: 500;
  font-size: var(--t-body);
  display: block;
}

.option-keys  {
  font-size: var(--t-micro);
  color: var(--muted);
  opacity: .82;
  display: block;
  margin-top: 2px;
  line-height: 1.45;
  letter-spacing: .012em;
}

.option-sub  {
  font-size: var(--t-meta);
  color: var(--muted);
  display: none;
  margin-top: 3px;
  line-height: 1.4;
}
.dropdown-option:hover .option-sub, .dropdown-option.active .option-sub, #sig-panel.sig-searching .option-sub  {
  display: block;
}


.sig-search-wrap  {
  position: sticky;
  top: 0;
  z-index: 3;
  background: white;
  padding: 8px 12px 7px;
  border-bottom: 1px solid var(--border);
}
.sig-search { width: 100%; box-sizing: border-box; }
.sig-search::placeholder { opacity: .7; }

.sig-search-hint  {
  font-size: var(--t-micro);
  color: var(--muted);
  opacity: .7;
  line-height: 1.5;
  padding: 5px 4px 0;
  letter-spacing: .012em;
}
.sig-search-hint b  {
  font-weight: 500;
}
#sig-panel.sig-searching .sig-search-hint  {
  display: none;
}
.sig-no-match  {
  padding: 14px 14px 16px;
  font-size: var(--t-meta);
  color: var(--muted);
  line-height: 1.6;
}
.dropdown-option.sq-hidden, .dropdown-group-label.sq-hidden, .sig-sep.sq-hidden  {
  display: none !important;
}


.bears  {
  display: flex;
  flex-direction: column;
  gap: 6px;
}



.bear-check-input  {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bear-box  {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  font-size: var(--t-meta);
  color: white;
  font-weight: 700;
}

.bear-check-input:checked ~ .bear-box  {
  border-color: var(--bear-clr);
  background: var(--bear-clr);
}


.bear-focus-wrap  {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.2s;
}
.bear-focus-wrap.open  {
  max-height: 185px;
  padding-top: 5px;
}


.bear-hours-wrap  {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
}
.bear-hours-labels  {
  display: flex;
  gap: 1px;
}
.bear-hour-lbl  {
  width: 17px;
  flex-shrink: 0;
  font-size: var(--t-micro);
  color: var(--label);
  text-align: center;
  line-height: 1;
  user-select: none;
  font-variant-numeric: tabular-nums;
}
.bear-hours-row  {
  display: flex;
  gap: 1px;
}
.tl-cell  {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  position: relative;
  background: var(--sunken);
  cursor: pointer;
  transition: background 0.12s ease;
}
.tl-cell:hover  {
  background: color-mix(in srgb, var(--sunken) 80%, var(--text));
}



.tl-cell.intent-glow  {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bear, var(--muted)) 72%, transparent);
}
.tl-cell.predicted::after  {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: color-mix(in srgb, var(--bear, var(--bear-papa)) 62%, transparent);
}

.ci-chip.intent-glow  {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 65%, transparent);
}
.ci-chip.intent-glow:not(.sel) {
  background: color-mix(in srgb, var(--gold) 7%, var(--card));
}

[data-rw-kind~="root"], .bear-hex-flip:has(> [data-rw-kind~="root"]) { --rw-mark: url('Assets/Roots.svg') center / 14px 14px no-repeat; --rw-mark-w: 14px; }
[data-rw-kind~="wing"], .bear-hex-flip:has(> [data-rw-kind~="wing"]) { --rw-mark: url('Assets/Wings v2.svg') center / 14px 14px no-repeat; --rw-mark-w: 14px; }
[data-rw-kind~="both"], .bear-hex-flip:has(> [data-rw-kind~="both"]) {
  --rw-mark: url('Assets/Roots.svg') left center / 14px 14px no-repeat, url('Assets/Wings v2.svg') right center / 14px 14px no-repeat; --rw-mark-w: 30px; }
[data-rw-kind~="wish"], .bear-hex-flip:has(> [data-rw-kind~="wish"]) { --rw-mark: url('Assets/Wishes.svg') center / 14px 14px no-repeat; --rw-mark-w: 14px; }
[data-rw-kind~="root"][data-rw-kind~="wish"], .bear-hex-flip:has(> [data-rw-kind~="root"][data-rw-kind~="wish"]) { --rw-mark: url('Assets/Roots.svg') left center / 14px 14px no-repeat, url('Assets/Wishes.svg') right center / 14px 14px no-repeat; --rw-mark-w: 30px; }
[data-rw-kind~="wing"][data-rw-kind~="wish"], .bear-hex-flip:has(> [data-rw-kind~="wing"][data-rw-kind~="wish"]) { --rw-mark: url('Assets/Wings v2.svg') left center / 14px 14px no-repeat, url('Assets/Wishes.svg') right center / 14px 14px no-repeat; --rw-mark-w: 30px; }
[data-rw-kind~="both"][data-rw-kind~="wish"], .bear-hex-flip:has(> [data-rw-kind~="both"][data-rw-kind~="wish"]) { --rw-mark: url('Assets/Roots.svg') left center / 14px 14px no-repeat, url('Assets/Wings v2.svg') center / 14px 14px no-repeat, url('Assets/Wishes.svg') right center / 14px 14px no-repeat; --rw-mark-w: 46px; }
.rw-linked-cue[data-rw-kind]:not(.tc-line):not(.bear-hex-outer)::after, .tc-line.rw-linked-cue[data-rw-kind] .tc-say::after,
.bear-hex-flip:has(> .bear-hex-outer.rw-linked-cue[data-rw-kind])::after {
  content: ''; display: inline-block; flex: none; width: var(--rw-mark-w); height: 14px; margin-left: 4px; vertical-align: -2px; background: var(--rw-mark); }
.tc-chip.rw-linked-cue .tc-x { order: 1; }
.bear-hex-flip:has(> .bear-hex-outer.rw-linked-cue[data-rw-kind])::after { position: absolute; left: 50%; bottom: 12px; margin: 0; translate: -50% 0; }
.rw-cue { position: fixed; z-index: 10050; max-width: min(290px, calc(100vw - 16px));
  box-sizing: border-box; padding: 8px 11px; background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: var(--type-words); white-space: pre-line; overflow-wrap: anywhere;
  max-height: calc(100vh - 16px); overflow-y: auto; }
.rw-editor, .rw-mirror { color: var(--text); font: var(--type-app); }
.rw-heading { font: var(--type-head); margin: 0 0 12px; }
.rw-intro, .rw-hint, .rw-evidence, .rw-links { font-size: var(--t-meta); color: var(--muted); margin: 6px 0 12px; }
.rw-label { display: flex; flex-direction: column; gap: 5px; font-size: var(--t-meta); color: var(--label); }
.rw-select { box-sizing: border-box; width: 100%; min-width: 0; color: var(--text);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 10px; font: var(--type-control); font-weight: 400; }
.rw-input { box-sizing: border-box; width: 100%; min-width: 0; }
.rw-linked, .rw-add-link { margin: 0 0 8px; }
.rw-add-link summary { cursor: pointer; color: var(--muted); font-size: var(--t-meta); }
.rw-add-link[open] { display: flex; flex-direction: column; gap: 9px; }
.rw-link, .rw-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rw-link { justify-content: space-between; font-size: var(--t-meta); }
.rw-status { margin: 8px 0 15px; font-size: var(--t-meta); color: var(--muted); }
.rw-status[role=alert] { color: var(--action); }
.rw-mirror .rw-statement { padding: 12px 0; }
.rw-words { margin: 0 0 5px; font: var(--type-words); overflow-wrap: anywhere; }
.rw-meta { font: var(--type-label); color: var(--label); letter-spacing: .08em; text-transform: uppercase; }
.rw-editor :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }


.settings-overlay  {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 500;
  display: none;
  flex-direction: column;
  padding: 20px 24px;
  gap: 14px;
}
.settings-overlay.open  {
  display: flex;
}
.settings-hd  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.settings-title  {
  font-family: 'Lora',Georgia,serif;
  font-size: var(--t-display);
  font-weight: 400;
  color: var(--text);
}

.settings-close  {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  cursor: pointer;
  color: var(--muted);
  font-size: var(--t-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.settings-close:hover  {
  color: var(--text);
}
.settings-body  {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}
.settings-section  {
  flex: 1;
  min-width: 0;
}


.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 28px 44px;
  align-items: start;
}
@media (max-width: 760px) {
  .settings-grid { grid-template-columns: minmax(0, 1fr); }
}
.settings-day .settings-section + .settings-section { margin-top: 24px; }
.settings-help { font-size: var(--t-meta); color: var(--label); line-height: 1.5; margin-top: 6px; }
.settings-small { font-size: var(--t-meta); color: var(--label); }
.settings-select {
  font: var(--type-control); font-weight: 400;
  color: var(--text);
  background: var(--sunken);
  border: 0;
  outline: none;
  clip-path: var(--shear-md);
  padding: 7px 10px;
  width: 100%;
  min-width: 0;
}
.settings-field { width: 100%; min-width: 0; }
.settings-select:focus { background: color-mix(in srgb, var(--sunken) 70%, var(--card)); }
.settings-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0h8L4 5z' fill='%236E6055'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.settings-pair { display: flex; gap: 8px; }
.settings-pair label { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.settings-anchors { display: flex; flex-direction: column; gap: 4px; }
.settings-anchor { display: flex; align-items: center; gap: 8px; }
.settings-anchor span { width: 28px; flex-shrink: 0; font-size: var(--t-meta); color: var(--muted); }

.settings-btn {
  font: var(--type-control);
  cursor: pointer;
  border: 0;
  padding: 8px 14px;
  clip-path: var(--shear-md);
  white-space: nowrap;
  background: var(--button);
  color: var(--on-button);
}
.settings-btn:hover { background: var(--button-hover); }
.settings-link {
  font: var(--type-control);
  cursor: pointer;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 8px 4px;
  text-decoration: underline;
  text-decoration-color: var(--border-focus);
  text-underline-offset: 3px;
}
.settings-link:hover { color: var(--text); }
.gc-cs-panel.gc-pwa-notice { position: fixed; top: auto; bottom: max(16px, env(safe-area-inset-bottom)); right: 12px; z-index: 660; }
.gc-pwa-notice[hidden] { display: none; }
#gc-pwa-settings { margin-top: 24px; }
.gc-pwa-copy { font: var(--type-app); color: var(--muted); margin: 6px 0; }
.settings-btn:disabled, .settings-link:disabled { cursor: default; opacity: .55; }
.settings-fold { margin-top: 10px; }
.settings-fold summary { font-size: var(--t-ui); color: var(--muted); cursor: pointer; }
.settings-fold summary:hover { color: var(--text); }
.settings-fold p { font-size: var(--t-meta); color: var(--label); line-height: 1.55; margin: 6px 0 0 14px; }
.settings-report {
  display: block;
  width: calc(100% - 14px);
  margin: 6px 0 4px 14px;
  resize: vertical;
  font: 10px/1.5 ui-monospace, monospace;
  color: var(--muted);
  background: var(--sunken);
  border: 0;
  clip-path: var(--shear-md);
  padding: 8px 10px;
}
.gc-report .settings-link { margin-left: 10px; }


.gc-places { display: flex; gap: 2px; height: 40px; align-items: flex-end; clip-path: var(--shear-sm); }
.gc-place {
  flex: 1 1 0;
  min-width: 0;
  height: 32px;
  border: 0;
  padding: 0 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: var(--type-control);
  color: var(--muted);
  background: color-mix(in srgb, var(--text) 8%, var(--bg));
  transition: height .18s cubic-bezier(.4, 0, .2, 1), background .12s, color .12s;
}
.gc-place:hover { height: 35px; color: var(--text); }
.gc-place.is-open { height: 40px; background: var(--card); color: var(--text); font-weight: 600; }
.gc-place:disabled { cursor: default; }

:root { --sem: 34%; }
.gc-marks { display: flex; gap: 2px; height: 18px; margin-top: 3px; }
.gc-mark {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font: var(--type-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
}
.gc-mark.ok { background: color-mix(in srgb, var(--ok) var(--sem), var(--bg)); clip-path: var(--shear-sm); }
.gc-mark.warn { background: color-mix(in srgb, var(--warn) var(--sem), var(--bg)); clip-path: var(--shear-sm); }

.gc-open { margin-top: 8px; padding: 16px 18px; clip-path: var(--shear-lg); background: var(--card); }
.gc-kicker { font-size: var(--t-micro); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.gc-place-name { font-family: 'Lora', Georgia, serif; font-size: var(--t-head); margin: 4px 0 2px; color: var(--text); }
.gc-line { font-size: var(--t-ui); color: var(--muted); line-height: 1.5; }
.gc-note {
  margin-top: 12px;
  padding: 8px 12px;
  font-size: var(--t-ui);
  line-height: 1.45;
  color: var(--text);
  clip-path: var(--shear-sm);
  background: color-mix(in srgb, var(--warn) calc(var(--sem) * .7), var(--card));
}
.gc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; }
.gc-row { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; margin-top: 12px; }
.gc-row label { flex: 1 1 180px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }


#settings-overlay.settings-sorted { padding:0; gap:0; --button:var(--action); --on-button:var(--on-action); }
.settings-sorted .sm-screen { flex:1; min-height:0; width:min(1100px,100%); align-self:center; display:grid; grid-template-columns:300px minmax(0,1fr); overflow:hidden; }
.settings-sorted .sm-pane { min-width:0; min-height:0; overflow:hidden; }
.settings-sorted .sm-list { background:color-mix(in srgb,var(--text) 4%,var(--bg)); }
.settings-sorted .sm-page { height:100%; box-sizing:border-box; min-width:0; overflow-y:auto; overscroll-behavior:contain; padding:0 20px max(28px,env(safe-area-inset-bottom)); background:var(--bg); font:400 13px/1.6 Inter,sans-serif; scrollbar-width:thin; }
.settings-sorted .sm-list .sm-page { background:transparent; }
.settings-sorted [hidden] { display:none !important; }
.settings-sorted .sm-head { position:sticky; top:0; z-index:3; display:flex; align-items:center; gap:4px; min-height:60px; margin:0 -20px 4px; padding:max(8px,env(safe-area-inset-top)) 8px 4px; background:var(--bg); }
.settings-sorted .sm-list .sm-head { background:color-mix(in srgb,var(--text) 4%,var(--bg)); }
.settings-sorted .sm-head h2 { flex:1; margin:0 0 0 8px; font:600 19px/1.25 'Lora',Georgia,serif; text-wrap:balance; }
.settings-sorted .sm-head h2:focus { outline:none; }
.settings-sorted .sm-back + h2 { margin-left:0; }
.settings-sorted .sm-icon { width:44px; height:44px; padding:0; display:grid; place-items:center; flex:none; border:0; background:none; cursor:pointer; color:var(--text); }
.settings-sorted .sm-icon .gi { width:22px; height:22px; }
.settings-sorted .sm-detail > .sm-page > .sm-head > .sm-close { display:none; }
@media (min-width:761px) { .settings-sorted .sm-detail > .sm-page:not([data-settings-page=recovery],[data-settings-page=markdown],[data-settings-page=diag]) > .sm-head > .sm-back { display:none; } }
.settings-sorted .sm-lead { margin:0 0 18px; color:var(--muted); font-size:13.5px; line-height:1.55; max-width:52ch; }
.settings-sorted .sm-label { margin:22px 0 8px; font:600 10px/1.4 Inter,sans-serif; letter-spacing:.09em; text-transform:uppercase; color:var(--label); }
.settings-sorted .sm-group { display:grid; gap:2px; }
.settings-sorted .sm-group > * { background:var(--card); }
.settings-sorted .sm-group > :first-child { clip-path:polygon(var(--cut-md) 0,100% 0,100% 100%,0 100%,0 var(--cut-md)); }
.settings-sorted .sm-group > :last-child { clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cut-md)),calc(100% - var(--cut-md)) 100%,0 100%); }
.settings-sorted .sm-group > :only-child { clip-path:var(--shear-md); }
.settings-sorted .sm-row { width:100%; min-height:62px; display:grid; grid-template-columns:22px minmax(0,1fr) auto 18px; align-items:center; gap:12px; padding:10px 10px 10px 14px; border:0; text-align:left; cursor:pointer; background:var(--card); color:var(--text); }
.settings-sorted .sm-row > .gi { width:22px; height:22px; }
.settings-sorted .sm-row:hover { background:color-mix(in srgb,var(--text) 3%,var(--card)); }
.settings-sorted .sm-row[aria-current=true] { background:color-mix(in srgb,var(--text) 7%,var(--card)); }
.settings-sorted .sm-row b { display:block; font:500 15px/1.3 Inter,sans-serif; }
.settings-sorted .sm-row small { display:block; font-size:12.5px; line-height:1.4; color:var(--muted); }
.settings-sorted .sm-row-state { font-size:12px; color:var(--muted); max-width:110px; }
.settings-sorted .sm-chevron { color:var(--label); }
.settings-sorted .sm-chevron .gi { width:18px; height:18px; }
.settings-sorted .sm-mark { display:inline-block; padding:2px 8px; font:600 11px/1.5 Inter,sans-serif; color:var(--text); clip-path:var(--shear-sm); background:color-mix(in srgb,var(--ok) var(--sem),var(--bg)); }
.settings-sorted .sm-mark.warn { background:color-mix(in srgb,var(--warn) var(--sem),var(--bg)); }
.settings-sorted .sm-notice { padding:14px 16px 16px; margin:4px 0 14px; clip-path:var(--shear-md); background:color-mix(in srgb,var(--warn) 18%,var(--card)); }
.settings-sorted .sm-notice.calm { background:var(--card); }
.settings-sorted .sm-notice b { display:block; font:600 14px/1.35 Inter,sans-serif; margin-bottom:4px; }
.settings-sorted .sm-notice p { margin:0 0 12px; font-size:13px; line-height:1.5; }
.settings-sorted .sm-actions { display:flex; flex-wrap:wrap; gap:8px; }
.settings-sorted :is(.settings-btn,.settings-link) { min-height:44px; padding:10px 16px; margin:4px 6px 4px 0; border:0; cursor:pointer; clip-path:var(--shear-md); font:600 13px/1.35 Inter,sans-serif; background:var(--sunken); color:var(--text); text-decoration:none; white-space:normal; }
.settings-sorted :is(.settings-btn,.settings-link):hover { background:color-mix(in srgb,var(--text) 8%,var(--sunken)); }
.settings-sorted .settings-btn.sm-primary { background:var(--action); color:var(--on-action); }
.settings-sorted .settings-btn.sm-primary:hover { background:var(--action-hover,var(--action)); }
.settings-sorted :is(button,select,input,textarea,summary):focus-visible { outline:2px solid var(--text); outline-offset:-3px; }
.settings-sorted .sm-field { padding:14px; min-width:0; }
.settings-sorted .sm-field > span:first-child { display:block; font:500 14px/1.3 Inter,sans-serif; margin-bottom:10px; }
.settings-sorted :is(.settings-select,.settings-field) { min-height:44px; width:100%; box-sizing:border-box; padding:10px 12px; border:0; border-radius:0; background-color:var(--sunken); clip-path:var(--shear-md); font:500 14px Inter,sans-serif; color:var(--text); }
.settings-sorted .sm-split { display:flex; gap:2px; clip-path:var(--shear-md); }
.settings-sorted .sm-split button { flex:1; min-height:44px; padding:8px; border:0; background:var(--sunken); cursor:pointer; font:500 13.5px Inter,sans-serif; color:var(--muted); }
.settings-sorted .sm-split button[aria-pressed=true] { background:var(--text); color:var(--card); }
.settings-sorted .sm-saved { display:block; min-height:18px; margin-top:6px; font-size:12px; color:var(--muted); }
.settings-sorted :is(.sm-note,.settings-note,.settings-help,.checkin-draft-status) { margin:8px 2px 0; font-size:12px; line-height:1.5; color:var(--muted); max-width:54ch; overflow-wrap:anywhere; }
.settings-sorted .sm-card { background:var(--card); clip-path:var(--shear-lg); padding:16px; margin-bottom:12px; min-width:0; }
.settings-sorted .sm-card > p:first-child { margin-top:0; }
.settings-sorted details { margin:0; background:var(--card); }
.settings-sorted details > summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; padding:0 14px; font:500 14px/1.4 Inter,sans-serif; color:var(--text); }
.settings-sorted details > summary::-webkit-details-marker { display:none; }
.settings-sorted details > summary > .gi { width:18px; height:18px; flex:none; color:var(--label); transition:transform .2s cubic-bezier(.65,0,.35,1); }
.settings-sorted details[open] > summary > .gi { transform:rotate(90deg); }
.settings-sorted details > :not(summary) { margin:0 14px 12px; }
.settings-sorted .settings-report { box-sizing:border-box; width:100%; min-height:140px; margin:10px 0; font-size:11px; padding:10px; }
.settings-sorted .gc-places { height:auto; align-items:stretch; clip-path:var(--shear-md); }
.settings-sorted .gc-place, .settings-sorted .gc-place.is-open { height:auto; min-height:52px; padding:6px 2px; font:500 11.5px/1.25 Inter,sans-serif; }
.settings-sorted .gc-marks { height:auto; min-height:22px; margin:6px 0 10px; }
.settings-sorted .gc-mark { font:600 10px/1.5 Inter,sans-serif; text-transform:none; letter-spacing:0; white-space:normal; }
.settings-sorted .gc-open { padding:16px; margin-bottom:12px; }
.settings-sorted .gc-kicker { display:none; }
.settings-sorted .gc-place-name { font:600 16px/1.3 'Lora',Georgia,serif; margin:0 0 4px; }
.settings-sorted .gc-line { font-size:13px; }
.settings-sorted .gc-note { padding:0; background:none; clip-path:none; font-size:13px; }
.settings-sorted .gc-review-item { padding:16px; background:var(--card); clip-path:var(--shear-md); margin-bottom:12px; }
.settings-sorted .gc-review-item h4 { font:600 16px/1.3 'Lora',Georgia,serif; margin:0 0 4px; }
.settings-sorted .gc-open > details { margin-top:12px; background:color-mix(in srgb,var(--text) 3%,var(--card)); }
.settings-sorted .gc-diagnostics, .settings-sorted .gc-recovery-markdown { background:transparent; }
.settings-sorted .gc-diagnostics-copy-status { margin:8px 0 0; font-size:12px; color:var(--muted); }
.settings-sorted #gc-pwa-settings { margin-top:0; }
.settings-sorted #gc-pwa-settings .settings-bear-hd { display:none; }
.settings-sorted .sm-about { display:grid; justify-items:center; text-align:center; padding:18px 0 16px; gap:4px; }
.settings-sorted .sm-about img { width:72px; height:72px; }
.settings-sorted .sm-version { overflow-wrap:anywhere; color:var(--muted); font-size:12px; }
.settings-sorted .sm-build { overflow-wrap:anywhere; color:var(--muted); font-size:10.5px; opacity:.8; }
.settings-sorted #settings-whats-new[hidden] { display:none; }
.settings-sorted .sm-notes-head { font:600 16px/1.3 'Lora',Georgia,serif; margin:0 0 8px; }
.settings-sorted .sm-notes { display:grid; gap:6px; margin:0; padding-left:18px; font-size:13px; line-height:1.5; max-width:60ch; }
.settings-sorted .sm-notes-earlier { margin:12px -16px -16px; }
.settings-sorted .sm-notes-version { display:block; margin:4px 0 6px; font:600 13px/1.4 Inter,sans-serif; }
.settings-sorted .sm-notes-earlier .sm-notes + .sm-notes-version { margin-top:14px; }
body:has(#settings-overlay.open) #gc-pwa-notice { display:none; }
@media (max-width:760px) {
 .settings-sorted .sm-screen { display:block; }
 .settings-sorted .sm-list, .settings-sorted .sm-list .sm-head { background:var(--bg); }
 .settings-sorted .sm-pane { height:100%; }
 .settings-sorted .sm-page { padding-inline:max(16px,env(safe-area-inset-left)); }
 .settings-sorted .sm-head { margin-inline:-16px; }
 .settings-sorted .sm-detail > .sm-page > .sm-head > :is(.sm-close,.sm-back) { display:grid; }
 .settings-sorted .sm-row-state { max-width:100px; }
}
@media (prefers-reduced-motion:reduce) { .settings-sorted *, .settings-sorted *::before { transition:none !important; animation:none !important; } }


.gc-veil {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  transition: opacity .25s ease;
}
.gc-veil.is-done { opacity: 0; pointer-events: none; }
.gc-veil-mark { width: 72px; height: auto; animation: gc-veil-breathe 2.4s ease-in-out infinite; }
.gc-veil-words { font: var(--type-said); color: var(--muted); }
.gc-veil-slow { font-size: var(--t-ui); color: var(--label); max-width: 280px; line-height: 1.5; }
@keyframes gc-veil-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: .82; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-veil-mark { animation: none; }
  .gc-veil { transition: none; }
}


.gc-cloud-status { position: relative; display: inline-flex; }

body > .topbar .gc-cs-btn { padding: 0 !important; }
body > .topbar .gc-cs-btn.worded { padding: 0 7px 0 9px !important; }

@media (max-width: 439px) {
  body > .topbar .gc-cs-btn.worded { padding: 0 !important; }
  .gc-cloud-status .gc-cs-btn.worded > .gc-cs-label { display: none; }
}
.gc-cs-btn {
  height: 24px;
  min-width: 24px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  font: var(--type-control);
  white-space: nowrap;
}
.gc-cs-btn:hover { color: var(--text); border-color: var(--border-focus); }
.gc-cs-btn.worded { padding: 0 7px 0 9px; }
.gc-cs-btn.needs { background: color-mix(in srgb, var(--warn) 30%, var(--bg)); border-color: transparent; color: var(--text); }
.gc-cs-btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gc-cs-btn .gc-cs-ok { stroke: var(--ok); }
.gc-cs-btn .gc-cs-breathe { animation: gc-cs-breathe 1.6s ease-in-out infinite; }
.gc-cs-badge {
  position: absolute; top: -5px; right: -5px; min-width: 15px; height: 15px; padding: 0 3px; box-sizing: border-box;
  font: var(--type-label); text-align: center; color: var(--text); background: var(--warn); clip-path: var(--hexclip);
}
@keyframes gc-cs-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.gc-cs-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 650;
  width: min(330px, calc(100vw - 24px)); box-sizing: border-box;
  background: var(--card); clip-path: var(--shear-lg); padding: 16px 18px; filter: var(--card-lift);
  text-align: left; white-space: normal;
}
.gc-cs-head { font: var(--type-label); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.gc-cs-lead { font: var(--type-app); color: var(--text); margin-top: 2px; }
.gc-cs-panel p { font-size: var(--t-ui); color: var(--muted); line-height: 1.5; margin: 6px 0 0; }
.gc-cs-acts { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; align-items: center; }
@media (prefers-reduced-motion: reduce) {
  .gc-cs-btn .gc-cs-breathe { animation: none; }
}
.settings-bear-hd  {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--label);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.settings-bear-dot  {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.settings-add  {
  width: 100%;
  padding: 6px;
  font-size: var(--t-ui);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  background: none;
  border: 1px dashed rgba(100,80,60,0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 4px;
}
.settings-add:hover  {
  border-color: var(--border-focus);
  color: var(--text);
}
.settings-ft  {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  padding-top: 12px;
}

.settings-save  {
  padding: 9px 22px;
  background: var(--button);
  
  color: var(--on-button);
  border: none;
  border-radius: 0;
  clip-path: var(--shear-md); 
  font-family: 'Inter',sans-serif;
  font-size: var(--t-body);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s;
}
.settings-save:hover  {
  background: var(--button-hover);
}


.lens-chips  {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 5px;
}
.lens-chip  {
  font-size: var(--t-meta);
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
  user-select: none;
  white-space: nowrap;
}
.lens-chip:hover  {
  border-color: var(--border-focus);
  color: var(--text);
}
.lens-chip.active  {
  color: white;
  border-color: transparent;
}
.lens-chip.archived  {
  opacity: 0.7;
  font-style: italic;
}


.ft-row  {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.ft-row:last-child  {
  margin-bottom: 0;
}
.ft-dot  {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ft-name  {
  font-size: var(--t-micro);
  color: var(--label);
  width: 60px;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ft-track  {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(100,80,60,0.08);
  overflow: hidden;
}
.ft-fill  {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
  display: flex;
}

.ft-count  {
  font-size: var(--t-micro);
  color: var(--label);
  width: 14px;
  text-align: right;
  flex-shrink: 0;
}


.dv-wrap  {
  margin-bottom: 14px;
}
.dv-title  {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.dv-wrap + .dv-wrap .dv-title  {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--label) 26%, transparent);
}
.dv-head  {
  font-size: var(--t-micro);
  color: var(--label);
  text-align: center;
  margin-bottom: 5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dv-row  {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  cursor: default;
}

.dv-gem  {
  width: 7px;
  height: 7.41px;             
  flex-shrink: 0;
  border-radius: 0;
  clip-path: var(--hexclip);
  position: relative;
  filter: drop-shadow(0 1px 1px rgba(80,60,40,.22));
}

.dv-gem::after  {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.34);
  clip-path: polygon(50% 0%, 93% 25%, 50% 50%, 7% 25%);
}
.dv-gem::before  {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.16);
  clip-path: polygon(7% 75%, 50% 50%, 93% 75%, 50% 100%);
}

.dv-name  {
  
  font-size: var(--t-ui);
  color: var(--text);
  width: 92px;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  line-height: 1.3;
}

.dv-name.dv-name--rw { display: flex; align-items: center; gap: 3px; text-overflow: clip; }
.dv-name--rw > .dv-name-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dv-name--rw > .xc-kind-mark { flex: none; }
.dv-name--rw > .xc-kind-mark img { width: 14px; height: 14px; }
#ft-tooltip .tt-rw { display: inline-block; margin-top: 4px; color: inherit; font-style: italic; }

.dv-track  {
  flex: 1;
  position: relative;
  height: 7px;                  
  background: color-mix(in srgb, var(--label) 14%, transparent);
  clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}

.dv-bar  {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}
.dv-when  {
  font-size: var(--t-meta);
  color: var(--muted);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

.dv-when.drift  {
  color: var(--muted);
  font-weight: 600;
}


.ft-tooltip  {
  position: fixed;
  z-index: 900;
  pointer-events: none;
  display: none;
  background: var(--text);
  color: var(--bg);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: var(--t-meta);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(40,20,0,0.18);
}
.ft-tooltip.show  {
  display: block;
}
.ft-tooltip strong  {
  font-weight: 600;
}
.ft-tooltip .tt-ago  {
  opacity: 0.65;
}


.note-textarea { width: 100%; }


.note-toggle  {
  display: flex;
  gap: 2px;
  background: rgba(100,80,60,0.07);
  border-radius: 6px;
  padding: 2px;
}
.note-tab  {
  padding: 3px 9px;
  font-size: var(--t-meta);
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  background: transparent;
  transition: all 0.15s;
}
.note-tab.active  {
  background: white;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(80,60,40,0.1);
}


.log-row  {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}


#today-nav .log-row { padding-top: 12px; flex-shrink: 0; }
#today-nav .log-btn { flex: 1; text-align: center; }




.reflection-overlay  {
  position: absolute;
  inset: 0;
  background: var(--gold-edge);
  border: none;
  border-radius: 0;
  
  clip-path: var(--shear-all);
  z-index: 50;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.reflection-overlay.open  {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reflection-overlay-inner  {
  position: relative;
  margin: 1px;
  background: var(--card-veil);
  clip-path: var(--shear-all);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
#note-manual-panel, #note-daylog-panel  {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#note-daylog-body  {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.reflection-btn  {
  padding: 9px 16px;
  background: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.reflection-btn:hover  {
  border-color: var(--border-focus);
  background: rgba(100,80,60,0.04);
}
.reflection-btn.active  {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.log-btn  {
  padding: 9px 18px;
  
  background: var(--button);
  color: var(--on-button);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body);
  font-weight: 500;
  cursor: pointer;
  
  transition: background-color 0.15s, opacity 0.15s, transform 0.1s;
}

.log-btn:hover  {
  
  background: var(--button-hover);
}
.log-btn:active  {
  transform: scale(0.98);
}
.log-btn:disabled  {
  opacity: 0.4;
  cursor: not-allowed;
}

.log-btn.success  {
  background: var(--ok);
}
.log-btn.error  {
  background: var(--warn);
}

.weekly-empty  {
  font-size: var(--t-ui);
  color: var(--label);
  font-style: italic;
}




.hm-months  {
  display: flex;
  margin-left: 16px;
  margin-bottom: 4px;
}
.hm-month-label  {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--label);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
}
.hm-body  {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}
.hm-day-labels  {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hm-day-label  {
  font-size: var(--t-micro);
  color: var(--label);
  height: 12px;
  line-height: 12px;
  text-align: right;
  width: 10px;
  flex-shrink: 0;
}
.hm-weeks  {
  display: flex;
  gap: 2px;
  flex-wrap: nowrap;
  padding-right: 4px;
}
.hm-week-col  {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hm-cell  {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: rgba(100,80,60,0.08);
  cursor: default;
  transition: transform 0.1s;
  flex-shrink: 0;
}
.hm-cell.logged  {
  cursor: pointer;
}
.hm-cell.logged:hover  {
  transform: scale(1.25);
}
.hm-cell.future  {
  opacity: 0.18;
}
.hm-cell.is-active  {
  outline: 1.5px solid var(--text);
  outline-offset: 1px;
}


.trail-row  {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}
.trail-row > div:first-child  {
  flex: 0 0 130px;
}
.trail-row > .trail-divider + div  {
  flex: 1;
  min-width: 0;
}
.trail-divider  {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}
.bg-header  {
  display: flex;
  gap: 2px;
  margin-left: 18px;
  margin-bottom: 3px;
}
.bg-hcell  {
  width: 12px;
  font-size: var(--t-micro);
  color: var(--label);
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}
.bg-hcell.today  {
  color: var(--text);
  font-weight: 700;
}
.bg-row  {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 2px;
}
.bg-lbl  {
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
.bg-dot  {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}
.bg-cell  {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: rgba(100,80,60,0.08);
  flex-shrink: 0;
}
.bg-cell.future  {
  opacity: 0.18;
}






.mov-nav-btn  {
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  color: var(--muted);
  font-size: var(--t-head);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
}
.mov-nav-btn:hover  {
  border-color: var(--border-focus);
  color: var(--text);
}
.mov-nav-btn:disabled  {
  opacity: 0.3;
  cursor: default;
}

.mov-cell-flag  {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.mov-flag-tension  {
  background: rgba(255,255,255,0.9);
}
.mov-flag-crosswind  {
  background: rgba(255,255,255,0.55);
}

.mov-card  {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.mov-bar-wrap  {
  flex: 1;
  height: 4px;
  background: rgba(100,80,60,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.mov-bar-fill  {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.mov-focus-row  {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.mov-focus-row:last-child  {
  margin-bottom: 0;
}
.mov-focus-dot  {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mov-focus-name  {
  font-size: var(--t-meta);
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mov-focus-count  {
  font-size: var(--t-meta);
  color: var(--label);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}


.arc-mode-btn  {
  padding:3px 9px;
  font-size: var(--t-micro);
  font-weight:600;
  font-family:'Inter',sans-serif;
  letter-spacing:0.06em;
  border-radius:5px;
  cursor:pointer;
  border:1px solid var(--border);
  background:none;
  color:var(--muted);
  transition:all 0.15s;
}
.arc-mode-btn:hover  {
  border-color:var(--border-focus);
  color:var(--text);
}
.arc-mode-btn.active  {
  background:var(--text);
  color:var(--bg);
  border-color:var(--text);
}
.cal-cell.in-selection  {
  filter:drop-shadow(0 0 3px var(--bear-papa)) brightness(1.15) !important;
}
#radar-day-tooltip  {
  position:fixed;
  z-index:999;
  pointer-events:none;
  display:none;
  background:var(--card);
  border:1px solid rgba(100,80,60,0.25);
  border-radius:9px;
  padding:9px 12px;
  font-size: var(--t-meta);
  font-family:'Inter',sans-serif;
  line-height:1.65;
  box-shadow:0 4px 18px rgba(80,60,40,0.14);
  max-width:268px;
  min-width:210px;
}


.syn-ribbon  {
  display: flex;
  gap: 1px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  user-select: none;
}
.syn-ribbon-cell.in-selection  {
  outline: 2px solid var(--bear-papa);
  outline-offset: -2px;
  z-index: 2;
}

.syn-ribbon.has-sel .syn-ribbon-cell:not(.in-selection)  {
  opacity: 0.22;
}
.syn-ribbon.has-sel .syn-ribbon-cell.in-selection  {
  box-shadow: 0 0 0 1px rgba(196,130,74,0.35);
}
.syn-sel-pill  {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 3px 6px 3px 11px;
  background: rgba(196,130,74,0.12);
  border: 1px solid rgba(196,130,74,0.45);
  border-radius: 20px;
  font-size: var(--t-meta);
  font-weight: 600;
  color: var(--text);
}
.syn-sel-pill button  {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: var(--t-meta);
  padding: 1px 4px;
  line-height: 1;
  font-family: inherit;
}
.syn-sel-pill button:hover  {
  color: var(--text);
}
.syn-hint  {
  font-size: var(--t-micro);
  color: var(--label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.syn-phase-seg.selectable  {
  cursor: pointer;
  transition: filter 0.12s;
}
.syn-phase-seg.selectable:hover  {
  filter: brightness(1.08);
}
.syn-phase-seg.selected  {
  outline: 2px solid var(--bear-papa);
  outline-offset: -2px;
  z-index: 2;
}
.syn-ribbon-cell  {
  flex: 1;
  min-width: 0;
  position: relative;
  background: rgba(100,80,60,0.045);
  cursor: pointer;
  transition: filter 0.12s, transform 0.1s;
}
.syn-ribbon-cell:hover:not(.future)  {
  filter: brightness(1.1);
  transform: scaleY(1.06);
  z-index: 2;
}
.syn-ribbon-cell.future  {
  cursor: default;
  opacity: 0.35;
}
.syn-ribbon-num  {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: var(--t-micro);
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
  pointer-events: none;
}
.syn-revised-mark  {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-bottom: 5px solid rgba(255,255,255,0.9);
}
.syn-phase-row  {
  display: flex;
  gap: 1px;
  height: 19px;
  margin-top: 2px;
  border-radius: 4px;
  overflow: hidden;
}
.syn-phase-seg  {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.syn-body-caption  {
  font-size: var(--t-micro);
  color: var(--label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 7px 0 2px;
}
.syn-body-row  {
  display: flex;
  gap: 1px;
  height: 12px;
}
.syn-body-cell  {
  flex: 1;
  min-width: 0;
  border-radius: 2px;
  cursor: pointer;
  background: rgba(100,80,60,0.04);
  position: relative;
  transition: background 0.12s;
}
.syn-body-cell:hover:not(.future)  {
  background: rgba(198,102,102,0.15);
}
.syn-body-cell.future  {
  cursor: default;
  opacity: 0.3;
}
.syn-body-cell.marked::after  {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C66866;
}


.syn-sr-pop  {
  position: fixed;
  z-index: 600;
  width: 250px;
  max-height: 340px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(80,60,40,0.18);
  padding: 10px 12px;
}
.syn-sr-pop::-webkit-scrollbar  {
  width: 3px;
}
.syn-sr-pop::-webkit-scrollbar-thumb  {
  background: var(--border);
  border-radius: 2px;
}
.syn-sr-hd  {
  font-family: 'Lora', Georgia, serif;
  font-size: var(--t-body);
  color: var(--text);
  margin-bottom: 3px;
}
.syn-sr-sub  {
  font-size: var(--t-meta);
  color: var(--muted);
  margin-bottom: 7px;
  line-height: 1.5;
}
.syn-sr-family  {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--label);
  text-transform: uppercase;
  padding: 6px 0 3px;
  border-top: 1px solid var(--border);
}
.syn-sr-opt  {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--t-ui);
  color: var(--text);
  padding: 4px 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.1s;
}
.syn-sr-opt:hover  {
  background: var(--bg);
}
.syn-sr-opt.current  {
  background: #F0EAE0;
  font-weight: 600;
}


#mobile-app  {
  display: none;
}




.checkin-split  {
  display:flex;
  gap:14px;
  flex:1;
  min-height:0;
  position:relative;
  padding-left:48px;
}
.bears-col-wrap  {
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  overflow:hidden;
}

.checkin-split .bear-panel  {
  display:none !important;
}
.checkin-split .bear-col-img  {
  opacity:1 !important;
}
.checkin-split .bear-col:not(.active) .bear-col-img  {
  opacity:0.42 !important;
}

.checkin-split .bear-col.has-logged .bear-col-img  {
  opacity:1 !important;
}

.checkin-split .bear-col.active .bear-hex-outer  {
  box-shadow:0 0 0 3px rgba(255,255,255,0.5), 0 6px 22px rgba(120,90,50,0.22);
}



.checkin-split .bears-col-wrap  {
  transition: opacity .3s, filter .3s;
}
.checkin-split .bears-col-wrap.dimmed  {
  opacity:.6;
  pointer-events:none;
}


.bear-hex-flip  {
  position:relative;
  width:358px;
  height:310px;
  transition: transform .2s ease-in;
}
.bear-hex-flip.half  {
  transform: scaleX(0);
}


.checkin-split .bear-col, .bear-hex-flip  {
  pointer-events:none;
}
.checkin-split .bear-hex-outer  {
  pointer-events:auto;
  cursor:pointer;
}



.bear-prompt  {
  position:absolute;
  left:50%;
  top:34px;
  transform:translateX(-50%) translateY(-14px);
  font-family:'Caveat', cursive;
  font-weight:600;
  font-size: var(--t-hero);
  line-height:1.1;
  color:rgba(30,28,26,0.68);
  text-align:center;
  white-space:nowrap;
  text-shadow:0 1px 8px rgba(255,255,255,0.95), 0 0 2px rgba(255,255,255,0.9);
  opacity:0;
  pointer-events:none;
  z-index:9;
  transition:opacity .22s ease, transform .22s ease;
}
.bear-hex-outer:hover ~ .bear-prompt  {
  opacity:1;
  transform:translateX(-50%) translateY(0);
}


.hb-list  {
  display:flex;
  flex-direction:column;
  gap:4px;
  max-width:100%;
  align-items:flex-start;
}

.hb-chip  {
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  cursor:pointer;
  line-height:1.25;
  padding:4px 8px 4px 7px;
  border-radius:8px;
  transition:.12s;
}
.hb-chip:hover  {
  background: color-mix(in srgb, var(--c) 14%, transparent);
}
.hb-dot  {
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--c);
  flex-shrink:0;
}
.hb-text  {
  text-align:left;
  min-width:0;
}
.hb-main  {
  font: var(--type-words);
  color:var(--text);
}
.hb-main i  {
  font-style:italic;
  color:var(--muted);
  font-weight:400;
}
.hb-main .q  {
  color:var(--muted);
}
.hb-meta  {
  font: var(--type-small);
  color:var(--muted);
  margin-top:0;
}
.hb-x  {
  border:none;
  background:none;
  color:var(--muted);
  cursor:pointer;
  font-size: var(--t-body);
  line-height:1;
  flex-shrink:0;
  opacity:0;
  transition:opacity .15s;
  margin-left:1px;
}
.hb-chip:hover .hb-x  {
  opacity:.7;
}



.bear-front-log  {
  position:absolute;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  z-index:6;
  pointer-events:auto;
  display:flex;
  gap:5px;
  justify-content:center;
  align-items:center;
}
.bear-front-log:empty  {
  display:none;
}

.bear-front-log .fl-dot, .hc-dots .fl-dot  {
  width:var(--fl-dot, 9px);
  height:var(--fl-dot, 9px);
  border-radius:50%;
  background:var(--c);
  box-shadow:0 1px 3px rgba(80,60,40,0.25);
}


#bear-col-floor  {
  z-index:4;
  margin-left:279px;
  margin-top:-150px;
  padding:46px 0 0 53px;
}
#bear-col-floor .bear-hex-flip  {
  width:252px;
  height:218px;
}
#bear-col-floor .bear-hex-outer  {
  width:252px;
  height:218px;
  z-index:2;
  background:#E7DFD1;
}
#bear-col-floor .bear-hex-inner  {
  width:238px;
  height:206px;
  flex-direction:column;
  gap:5px;
  padding:0 22px;
}
#bear-col-floor .bear-prompt  {
  font-size: var(--t-display);
  top:22px;
}
#bear-col-floor .bear-front-log  {
  bottom:16px;
}
.ci-pill.sel-floor  {
  background:#B8A88E;
  border-color:#B8A88E;
  color:white;
}


.ci-logged  {
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:1px solid var(--border);
}
.ci-logged .hb-chip.editing  {
  background:color-mix(in srgb, var(--c) 18%, transparent);
  outline:1px solid var(--c);
}



.ci-scrim  {
  position:absolute;
  inset:0;
  background:transparent;
  pointer-events:none;
  z-index:40;
}
.ci-scrim.show  {
  pointer-events:auto;
}
.ci-pane  {
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width:340px;
  max-width:90%;
  background:var(--card);
  border-left:none;
  box-shadow:none;
  transform:translateX(110%);
  transition:transform .34s cubic-bezier(.4,0,.2,1);
  z-index:45;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:var(--radius) 0 0 var(--radius);
}
.ci-pane.open  {
  transform:translateX(0);
  border-left:1px solid var(--border);
  box-shadow:-10px 0 34px rgba(80,60,40,0.16);
}
.ci-pane-head  {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  flex-shrink:0;
}
.ci-pane-title  {
  font-size: var(--t-body);
  font-weight:600;
  color:var(--text);
}
.ci-pane-x  {
  border:none;
  background:none;
  font-size: var(--t-display);
  line-height:1;
  color:var(--muted);
  cursor:pointer;
}
.ci-pane .ci-draft  {
  flex:1;
  overflow-y:auto;
  padding:14px 16px 18px;
  margin:0;
}
.ci-pane .ci-draft.has  {
  border:none;
  border-radius:0;
  background:transparent;
  padding:14px 16px 18px;
}

.ci-chips  {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.ci-chip  {
  border:1px solid var(--border);
  background:white;
  color:var(--text);
  font-size: var(--t-ui);
  padding:5px 10px;
  border-radius:8px;
  cursor:pointer;
  transition:.13s;
  font-family:'Inter',sans-serif;
}
.ci-chip:hover  {
  border-color:var(--border-focus);
}
.ci-chip.sel  {
  background:var(--text);
  border-color:var(--text);
  color:white;
}
.ci-chip.add  {
  color:var(--muted);
  border-style:dashed;
}

.ci-draft  {
  margin-top:12px;
}
.ci-draft.has  {
  border:1px solid var(--border-focus);
  border-radius:10px;
  padding:12px;
  background:#FDFBF7;
}
.ci-lbl  {
  font-size: var(--t-meta);
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--muted);
  margin:11px 0 6px;
}
.ci-doors  {
  display:flex;
  gap:7px;
}
.ci-door  {
  flex:1;
  border:1.5px solid var(--border);
  background:white;
  border-radius:10px;
  padding:9px 6px;
  cursor:pointer;
  text-align:center;
  transition:.13s;
}
.ci-door:hover  {
  border-color:var(--border-focus);
}
.ci-door .em  {
  font-size: var(--t-head);
  display:block;
}
.ci-door .dn  {
  font-size: var(--t-ui);
  font-weight:600;
  margin-top:2px;
}
.ci-door .dh  {
  display:block;
  font-size: var(--t-micro);
  color:var(--muted);
  margin-top:3px;
  line-height:1.3;
}
.ci-door.sel-papa  {
  border-color:var(--bear-papa);
  background:#F7EFE6;
}
.ci-door.sel-mama  {
  border-color:var(--bear-mama);
  background:#EEF2F6;
}
.ci-door.sel-baby  {
  border-color:var(--bear-baby);
  background:#FaEEE9;
}
.ci-pills  {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
}
.ci-pill  {
  border:1px solid var(--border);
  background:white;
  font-size: var(--t-ui);
  padding:6px 11px;
  border-radius:8px;
  cursor:pointer;
  transition:.13s;
}
.ci-pill:hover  {
  border-color:var(--border-focus);
}
.ci-pill.sel-papa  {
  background:var(--bear-papa);
  border-color:var(--bear-papa);
  color:white;
}
.ci-pill.sel-mama  {
  background:var(--bear-mama);
  border-color:var(--bear-mama);
  color:white;
}
.ci-pill.sel-baby  {
  background:var(--bear-baby);
  border-color:var(--bear-baby);
  color:white;
}
.ci-pill.sel-buzz  {
  background:#FBF1E6;
  border-color:#C8893E;
}
.ci-pill.sel-flat  {
  background:#ECEFF4;
  border-color:#7C8BA6;
}
.ci-pill.sel-good  {
  background:#6E8B6A;
  border-color:#6E8B6A;
  color:white;
}
.ci-pill.sel-bad  {
  background:#B98A6E;
  border-color:#B98A6E;
  color:white;
}
.ci-hint  {
  font-size: var(--t-meta);
  color:var(--muted);
  font-style:italic;
  margin-top:6px;
}

.ci-nudge  {
  margin-top:9px;
  padding:8px 10px;
  border:1px solid var(--border-focus);
  border-radius:8px;
  background:rgba(127,127,127,0.035);
}
.ci-nudge-q  {
  font-size: var(--t-ui);
  color:var(--text);
  line-height:1.55;
  margin-bottom:7px;
}
.ci-nudge .ci-add-frames  {
  margin-top:0;
}
.ci-add-form  {
  margin-top:8px;
  padding:9px 10px;
  border:1px dashed var(--border-focus);
  border-radius:8px;
  background:#fff;
}
.ci-add-input { width:100%; }
.ci-add-lbl  {
  font-size: var(--t-micro);
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--muted);
  margin:9px 0 5px;
}
.ci-add-frames  {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.ci-add-sp  {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-family:'Inter',sans-serif;
  font-size: var(--t-meta);
  font-weight:500;
  border:1px solid var(--border);
  background:var(--bg);
  border-radius:7px;
  padding:4px 9px;
  cursor:pointer;
  color:var(--text);
  transition:.13s;
}
.ci-add-sp:hover  {
  border-color:var(--border-focus);
}
.ci-add-sp .d  {
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--c,var(--bear-papa));
}
.ci-add-sp.unsorted  {
  border-style:dashed;
  color:var(--muted);
}
.ci-note { width:100%; margin-top:7px; }
.ci-go  {
  margin-top:11px;
  display:flex;
  gap:7px;
}
.ci-btn  {
  border:1.5px solid var(--text);
  background:var(--text);
  color:white;
  font-size: var(--t-ui);
  padding:7px 13px;
  border-radius:9px;
  cursor:pointer;
  font-family:'Inter',sans-serif;
}
.ci-btn.ghost  {
  background:transparent;
  color:var(--muted);
  border-color:var(--border);
}


.bes-empty  {
  font-size: var(--t-meta);
  color:var(--muted);
  font-style:italic;
}

.ci-frame  {
  margin-bottom:4px;
}
.ci-frame-hd  {
  width:100%;
  font-size: var(--t-micro);
  font-weight:700;
  letter-spacing:.05em;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:5px;
  padding:5px 2px;
  text-transform:uppercase;
  background:none;
  border:none;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  text-align:left;
}
.ci-frame-hd:hover  {
  color:var(--text);
}
.ci-frame-hd .d  {
  width:8px;
  height:8px;
  border-radius:50%;
  flex-shrink:0;
}
.ci-frame-hd .arw  {
  font-size: var(--t-micro);
  color:var(--muted);
  transition:transform .15s;
  flex-shrink:0;
}
.ci-frame.open .arw  {
  transform:rotate(90deg);
}
.ci-frame-hd .frame-sel  {
  margin-left:auto;
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
  color:var(--text);
  background:var(--bg);
  border-radius:6px;
  padding:1px 7px;
}
.ci-frame-chips  {
  display:none;
  flex-wrap:wrap;
  gap:5px;
  padding:2px 2px 6px;
}
.ci-frame.open .ci-frame-chips  {
  display:flex;
}

.settings-frame-row  {
  border:1px solid var(--border);
  border-radius:9px;
  padding:9px;
  margin-bottom:8px;
  background:var(--bg);
}
.sph-top  {
  display:flex;
  align-items:center;
  gap:7px;
}
.sph-name { flex:1; min-width:0; }
.sph-del  {
  border:none;
  background:none;
  color:var(--muted);
  cursor:pointer;
  font-size: var(--t-body);
  flex-shrink:0;
}
.sph-acts  {
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin:8px 0;
}
.sph-chip  {
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size: var(--t-ui);
  padding:3px 4px 3px 9px;
  border-radius:7px;
  background:white;
  border:1px solid var(--border);
}
.sph-chip button  {
  border:none;
  background:none;
  color:var(--muted);
  cursor:pointer;
  font-size: var(--t-body);
  padding:0 2px;
  line-height:1;
}
.sph-add-inp { width:100%; }

.bear-tabs  {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:14px;
  flex-shrink:0;
  align-self:flex-start;
}
.bear-tabs > button  {
  writing-mode:vertical-rl;
  text-orientation:mixed;
  background:#FFFFFF;
  border:1px solid var(--border);
  border-right:none;
  border-radius:var(--radius-sm) 0 0 var(--radius-sm);
  padding:14px 7px;
  font-size: var(--t-meta);
  font-weight:600;
  letter-spacing:0.08em;
  color:var(--muted);
  font-family:'Inter',sans-serif;
  cursor:pointer;
  transition:all 0.15s;
  user-select:none;
  margin-right:-1px;
  position:relative;
  z-index:1;
}
.bear-tabs > button:hover  {
  border-color:var(--border-focus);
  color:var(--text);
}
.bear-tabs > button.active  {
  color:var(--text);
  z-index:52;
}

.mama-teach  {
  font-size: var(--t-meta);
  color:var(--label);
  line-height:1.5;
  margin:-2px 0 9px;
}

.wot-map  {
  max-width:450px;
  margin:10px auto 14px;
}
.wot-axis-label  {
  font-size: var(--t-micro);
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--label);
  text-align:center;
  padding:3px 0;
}
.wot-spine  {
  flex:2.1;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.wot-zone  {
  position:relative;
  border:1.5px solid;
  border-radius:12px;
  padding:9px 11px;
  cursor:pointer;
  transition:.14s;
  text-align:center;
  min-height:62px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.wot-zone:hover, .wot-blend:hover  {
  transform:translateY(-1px);
  box-shadow:var(--shadow);
}
.wot-zone.sel, .wot-blend.sel  {
  box-shadow:var(--shadow);
  border-width:2.5px;
}
.wot-above  {
  background:linear-gradient(180deg,rgba(198,138,106,0.20),rgba(198,138,106,0.05));
  border-color:rgba(198,138,106,0.5);
}
.wot-window  {
  background:rgba(140,168,130,0.17);
  border-color:rgba(140,168,130,0.65);
  min-height:84px;
}
.wot-below  {
  background:linear-gradient(180deg,rgba(143,168,192,0.05),rgba(143,168,192,0.22));
  border-color:rgba(143,168,192,0.55);
}
.wot-blend  {
  flex:1;
  border:1.5px dashed rgba(185,138,152,0.65);
  border-radius:12px;
  background:linear-gradient(155deg,rgba(198,138,106,0.15),rgba(143,168,192,0.17));
  padding:10px 8px;
  cursor:pointer;
  transition:.14s;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.wot-ic  {
  font-size: var(--t-display);
  line-height:1;
}
.wot-nm  {
  font-size: var(--t-ui);
  font-weight:700;
  color:var(--text);
  margin-top:3px;
  line-height:1.2;
}
.wot-sub  {
  font-size: var(--t-micro);
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
  margin-top:2px;
  line-height:1.3;
}
.wot-home  {
  position:absolute;
  top:6px;
  left:0;
  right:0;
  font-size: var(--t-micro);
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#6f8a63;
}
.wot-winrow  {
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:center;
  margin-top:6px;
}
.wot-bear  {
  width:34px;
  height:34px;
  object-fit:contain;
}
.atlas-detail  {
  max-width:520px;
  margin:0 auto;
}
.atlas-node  {
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 12px;
  background:#fff;
}
.atlas-foot  {
  margin-top:12px;
}
.atlas-state  {
  font-size: var(--t-ui);
  font-weight:700;
  color:var(--text);
}
.atlas-state .sub  {
  font-weight:500;
  color:var(--muted);
  font-size: var(--t-meta);
  margin-left:7px;
}
.atlas-arrow  {
  font-size: var(--t-meta);
  color:var(--muted);
  margin:4px 0 1px;
}
.atlas-arrow strong  {
  color:var(--text);
}
.atlas-tag  {
  font-size: var(--t-micro);
  font-weight:600;
  letter-spacing:.04em;
  color:var(--muted);
  text-transform:uppercase;
  margin:1px 0 5px;
}

.drawer-lbl  {
  font-size: var(--t-meta);
  font-weight:600;
  color:var(--label);
  margin:8px 0 6px;
  line-height:1.4;
}
.drawer-act  {
  border:1px solid var(--border);
  border-radius:8px;
  padding:6px 8px;
  margin-bottom:6px;
  background:var(--bg);
}
.drawer-act-hd  {
  display:flex;
  align-items:center;
  gap:6px;
}
.drawer-act-name  {
  flex:1;
  font-size: var(--t-ui);
  font-weight:600;
  color:var(--text);
}
.drawer-act-del  {
  border:none;
  background:none;
  color:var(--muted);
  cursor:pointer;
  font-size: var(--t-body);
  line-height:1;
}
.drawer-act-note { width:100%; margin-top:5px; }
.drawer-pick  {
  width:100%;
  padding:5px 8px;
  font-size: var(--t-meta);
  font-family:'Inter',sans-serif;
  border:1px dashed var(--border-focus);
  border-radius:6px;
  background:transparent;
  color:var(--text);
  cursor:pointer;
  outline:none;
}

.mama-refl-row  {
  padding:6px 0;
  border-bottom:1px solid var(--border);
}
.mama-refl-act  {
  font-size: var(--t-ui);
  font-weight:600;
  color:var(--text);
  margin-right:8px;
}
.mama-refl-where  {
  font-size: var(--t-micro);
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.mama-refl-flag  {
  font-size: var(--t-meta);
  color:var(--label);
  font-style:italic;
  line-height:1.5;
  margin-top:3px;
}
.atlas-signs  {
  font-size: var(--t-meta);
  color:var(--text);
  line-height:1.55;
  margin:3px 0 4px;
}
.atlas-eg  {
  font-size: var(--t-meta);
  color:var(--muted);
  font-style:italic;
  line-height:1.5;
  margin:0 0 5px;
}
.atlas-examples  {
  font-size: var(--t-meta);
  color:var(--label);
  line-height:1.5;
  margin:4px 0 6px;
}
.atlas-examples b  {
  color:var(--muted);
  font-weight:600;
}
.sph-drag  {
  cursor:grab;
  color:var(--muted);
  font-size: var(--t-body);
  line-height:1;
  flex-shrink:0;
  user-select:none;
  opacity:.55;
}
.sph-drag:hover  {
  opacity:1;
}

.papa-hero {
  display:flex;
  gap:18px;
  align-items:center;
  margin-bottom:6px;
}
.papa-name {
  font-family:'Lora',Georgia,serif;
  font-size: var(--t-hero);
  font-weight:500;
}
.papa-tag {
  font-size: var(--t-ui);
  text-transform:uppercase;
  letter-spacing:0.13em;
  color:var(--bear-papa);
  font-weight:600;
  margin-top:2px;
}
.papa-essence {
  font-family:'Lora',Georgia,serif;
  font-style:italic;
  font-size: var(--t-body);
  color:var(--muted);
  margin-top:8px;
  line-height:1.55;
}
.papa-aside {
  font-size: var(--t-body);
  color:var(--muted);
  font-style:italic;
  line-height:1.6;
  border-left:2px solid #DDB997;
  padding:2px 0 2px 13px;
  margin:18px 0 22px;
}
.papa-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px 20px;
  margin-bottom:16px;
  box-shadow:var(--shadow);
}
.papa-kick {
  font-size: var(--t-meta);
  text-transform:uppercase;
  letter-spacing:0.13em;
  color:var(--label);
  font-weight:700;
  margin-bottom:4px;
}
.papa-h {
  font-family:'Lora',Georgia,serif;
  font-size: var(--t-display);
  font-weight:500;
  margin-bottom:8px;
}
.papa-card p {
  font-size: var(--t-body);
  line-height:1.62;
  color:var(--text);
}
.papa-card p b {
  font-weight:600;
}
.papa-intro {
  color:var(--muted)!important;
  margin-bottom:13px;
}
.papa-intro b {
  color:var(--text);
}
.papa-legend {
  font-size: var(--t-ui);
  color:var(--muted);
  margin-top:10px;
  line-height:1.5;
}
.papa-legend .sw {
  display:inline-block;
  width:11px;
  height:11px;
  border-radius:3px;
  vertical-align:-1px;
}
.papa-empty {
  font-size: var(--t-body);
  color:var(--label);
  font-style:italic;
  line-height:1.55;
}
.pchip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size: var(--t-body);
  font-weight:500;
  padding:5px 11px;
  border-radius:999px;
  background:var(--bg);
  border:1px solid var(--border);
  cursor:grab;
  user-select:none;
}
.pchip:active {
  cursor:grabbing;
}
.pchip-d {
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--c,var(--bear-papa));
  flex-shrink:0;
}
.loose-row {
  display:flex;
  align-items:center;
  gap:7px;
  padding:6px 0;
  border-bottom:1px solid var(--border);
}
.loose-name {
  flex:1;
  min-width:0;
  font-size: var(--t-ui);
  font-weight:500;
  color:var(--text);
}
.loose-pick {
  font-family:'Inter',sans-serif;
  font-size: var(--t-meta);
  border:1px solid var(--border);
  border-radius:6px;
  padding:3px 6px;
  background:#fff;
  color:var(--text);
  outline:none;
  cursor:pointer;
}
.loose-pick:focus {
  border-color:var(--border-focus);
}
.loose-x {
  border:none;
  background:none;
  color:var(--muted);
  cursor:pointer;
  font-size: var(--t-head);
  line-height:1;
  flex-shrink:0;
}
.loose-x:hover {
  color:var(--bear-papa);
}



:root {
  
  
  --fill-strength: 58%;

  --cut-lg: 18px;   
  --cut-md: 11px;   
  --cut-sm:  7px;   
  --cut-tag: 10px;  

  

  
  --shear-lg: polygon(var(--cut-lg) 0, 100% 0,
                      100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%,
                      0 100%, 0 var(--cut-lg));
  --shear-md: polygon(var(--cut-md) 0, 100% 0,
                      100% calc(100% - var(--cut-md)), calc(100% - var(--cut-md)) 100%,
                      0 100%, 0 var(--cut-md));
  --shear-sm: polygon(var(--cut-sm) 0, 100% 0,
                      100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%,
                      0 100%, 0 var(--cut-sm));

  

  
  --tagcut-para: polygon(var(--cut-tag) 0, 100% 0,
                         calc(100% - var(--cut-tag)) 100%, 0 100%);

  --tag-tint: var(--muted);

  --hexclip: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}


.facets .facet-lg { border-radius: 0; clip-path: var(--shear-lg); }



.facets .ci-drawer, .facets .ci-door, .facets .ci-add-form, .facets .mov-cell, .facets .papa-col, .facets .papa-pool, .facets .papa-mirror, .facets .papa-charhabit, .facets .atlas-node, .facets .wot-zone, .facets .drawer-act {
  border-radius: 0;
  border-color: transparent;
  clip-path: var(--shear-lg);
  filter: drop-shadow(0 1px 2px rgba(80, 60, 40, .09));
}

.facets .ci-door { background: rgba(100, 80, 60, .05); }
.facets .ci-door:hover { background: rgba(100, 80, 60, .10); }


.facets .settings-frame-row {
  --strip-c: var(--frame-color, var(--muted));
  border: none;
  border-radius: 0;
  padding: 15px 16px 13px;
  margin-bottom: 11px;
}



.facets .lens-chip,
.facets .ci-chip,
.facets .ci-pill,
.facets .sig-filter-chip,
.facets .mov-arc-pill,
.facets .syn-sel-pill,
.facets .arc-ctx-chip,
.facets .sph-chip {
  border: none;
  border-radius: 0;
  
  clip-path: var(--tagcut-para);
  padding: 4px 15px;
  gap: 0;
  font-weight: 500;
  
  background: color-mix(in srgb, var(--tag-tint) 18%, var(--card));
  color: color-mix(in srgb, var(--tag-tint) 72%, var(--text));
  transition: background .12s, color .12s;
}
.facets .lens-chip:hover,
.facets .ci-chip:hover,
.facets .ci-pill:hover,
.facets .sig-filter-chip:hover,
.facets .mov-arc-pill:hover,
.facets .syn-sel-pill:hover,
.facets .arc-ctx-chip:hover,
.facets .sph-chip:hover { background: color-mix(in srgb, var(--tag-tint) 32%, var(--card)); }


.facets .lens-chip.active,
.facets .ci-chip.on,
.facets .ci-pill.on,
.facets .sig-filter-chip.on,

.facets .ci-chip.sel,
.facets .ci-pill.sel-papa,
.facets .ci-pill.sel-mama,
.facets .ci-pill.sel-baby,
.facets .ci-pill.sel-good,
.facets .ci-pill.sel-bad,
.facets .ci-pill.sel-floor,
.facets .ci-pill.sel-buzz,
.facets .ci-pill.sel-flat {
  background: color-mix(in srgb, var(--tag-tint) 82%, var(--text));
  color: var(--card);
}


.facets .ci-pill.sel-papa,
.facets .ci-pill.sel-mama,
.facets .ci-pill.sel-baby   { --tag-tint: var(--bear-c, var(--text)); }
.facets .ci-pill.sel-good   { --tag-tint: #6E8B6A; }
.facets .ci-pill.sel-bad    { --tag-tint: #B98A6E; }
.facets .ci-pill.sel-floor  { --tag-tint: #B8A88E; }
.facets .ci-frame           { --tag-tint: var(--fc, var(--muted)); }


.facets .settings-frame-row { --tag-tint: var(--frame-color, var(--muted)); }

.facets .sph-chip button { width: 0; overflow: hidden; opacity: 0; padding: 0; transition: width .12s, opacity .12s; }
.facets .sph-chip:hover button,
.facets .sph-chip.is-open button,
.facets .sph-chip:focus-within button { width: 24px; min-height: 24px; opacity: 1; }
.facets .sph-chip.is-open button { color: inherit; }
.facets .sph-chip.is-zoomable { -webkit-user-select: none; user-select: none; }
.sph-add-row { display: flex; align-items: center; gap: 6px; margin: 0; }
.sph-add-row > .sph-add-inp { flex: 1; min-width: 0; }
.sph-add-row > .sph-add-button { flex: none; min-width: 44px; min-height: 44px; }
.facets .sph-chip:hover { padding-right: 8px; }


.facets .sph-chip.is-zoomable { cursor: pointer; }
.facets .sph-chip.is-open {
  background: color-mix(in srgb, var(--tag-tint) 82%, var(--text));
  color: var(--card);
}
.sph-chip-n {
  font-size: var(--t-micro);
  opacity: .55;
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
.sph-zoom {
  margin: 2px 0 8px 3px;
  padding: 7px 0 2px 11px;
  border-left: 2px solid color-mix(in srgb, var(--tag-tint, var(--muted)) 45%, transparent);
}
.sph-zoom[hidden] { display: none; }
.sph-zoom-hd {
  font-size: var(--t-micro);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--label);
  margin-bottom: 6px;
}
.sph-zoom-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }

.sph-move { margin: 8px 0 6px; }
.sph-move-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sph-zoom .sph-add-inp { margin-top: 2px; }


.sph-zoom-name { width: 100%; }


.sph-zoom.is-ask { border-left-color: color-mix(in srgb, var(--tag-tint, var(--muted)) 70%, transparent); }
.sph-ask-opts { display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; }
.sph-ask-opt {
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-ui);
  font-weight: 500;
  color: var(--text);
  padding: 5px 7px;
  border-radius: 0;
  clip-path: var(--shear-md);
  transition: background .12s;
}
.sph-ask-opt:hover:not(:disabled) { background: color-mix(in srgb, var(--tag-tint, var(--muted)) 14%, transparent); }
.sph-ask-opt:disabled { opacity: .4; cursor: default; }
.sph-ask-opt span {
  display: block;
  font-size: var(--t-micro);
  font-weight: 400;
  color: var(--label);
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: none;
}
.sph-ask-merge { margin: 2px 0 6px; }
.sph-ask-cancel {
  border: none; background: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: var(--t-micro);
  color: var(--label); text-decoration: underline; padding: 2px 0;
}





.facets .circles-loose {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--label) 22%, transparent);
}

.facets .circles-loose .sph-acts.ds-over {
  background: color-mix(in srgb, var(--tag-tint, var(--muted)) 10%, transparent);
}


.sph-ask-inline {
  flex-basis: 100%; min-width: 0; overflow-wrap: anywhere;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-ui);
  color: var(--text);
  padding: 4px 7px;
  clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--tag-tint, var(--muted)) 10%, transparent);
}
.sph-ask-yes {
  border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: var(--t-micro); font-weight: 500;
  color: var(--text); padding: 3px 8px;
  border-radius: 0;
  clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--tag-tint, var(--muted)) 22%, transparent);
}
.sph-ask-yes:hover { background: color-mix(in srgb, var(--tag-tint, var(--muted)) 34%, transparent); }


[data-passage-close-confirm] { flex: 0 0 auto; align-items: center; gap: 8px; margin-block: 12px; padding: 12px; }
[data-passage-close-confirm] > span { flex-basis: 100%; line-height: 1.5; }
[data-passage-close-confirm] > button { min-height: 44px; padding: 8px 12px; font-size: 12px; }


.facets .ci-btn,
.facets .settings-save,
.facets .settings-add,
.facets .log-btn,
.facets .reflection-btn {
  border-radius: 0;
  border-color: transparent;
  clip-path: var(--shear-md);   
}
.facets .settings-add { border: none; background: rgba(139, 123, 107, .11); }
.facets .settings-add:hover { background: rgba(139, 123, 107, .20); color: var(--text); }


.facets .sph-top .settings-bear-dot {
  position: relative;
  width: 17px; height: 18px;
  border-radius: 0;
  clip-path: var(--hexclip);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(80, 60, 40, .22));
}
.facets .sph-top .settings-bear-dot::after {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(50% 0%, 93% 25%, 50% 50%, 7% 25%);
  background: rgba(255, 255, 255, .34);
}
.facets .sph-top .settings-bear-dot::before {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(7% 75%, 50% 50%, 93% 75%, 50% 100%);
  background: rgba(0, 0, 0, .16);
}








.facets .settings-frame-row .sph-chip {
  clip-path: var(--tagcut-para);
  padding: 4px 15px;
  
  margin-left: calc(1.5px - var(--cut-tag));
}
.facets .settings-frame-row .sph-chip:first-child { margin-left: 0; }
.facets .settings-frame-row .sph-chip:hover { padding-right: 15px; }


.facets .settings-frame-row .sph-acts { gap: 5px 0; }





.facets .sph-top { gap: 9px; align-items: center; }


.sph-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.65, 0, .35, 1); }
.sph-foldable.is-open > .sph-fold { grid-template-rows: 1fr; }
.sph-fold-in { overflow: hidden; min-height: 0; }
.sph-foldable > .sph-top { cursor: pointer; }
.sph-fold-toggle { position: relative; display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; min-height: 44px; padding: 0 24px 0 0; border: 0; background: none; color: var(--muted); text-align: left; cursor: pointer; }
.sph-fold-toggle:focus-visible { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 3px; }
.sph-fold-toggle > .gi { position: absolute; right: 0; top: calc(50% - 8px); width: 16px; height: 16px; transform: rotate(90deg); }
.sph-foldable.is-open .sph-fold-toggle > .gi { transform: rotate(-90deg); }
.sph-title { flex: 1; min-width: 0; font: var(--type-words); color: var(--text); overflow-wrap: anywhere; }
.sph-edit-row { display: flex; align-items: center; margin: 8px 0; }
.sph-edit-row[hidden] { display: none; }
.sph-foldable.is-open .sph-fold-toggle { padding-right: 68px; }
.sph-rename { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 32px; min-height: 32px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.sph-rename .gi { width: 16px; height: 16px; }
.sph-foldable:not(.is-open) .sph-rename { display: none; }
.sph-manage { display: flex; justify-content: flex-end; margin-top: 4px; }
.facets .sph-manage .sph-del { padding: 4px 8px; font: var(--type-control); opacity: .65; }
.sph-count { font: var(--type-small); color: var(--muted); flex-shrink: 0; }
.sph-foldable.is-open .sph-count { visibility: hidden; }

.au-room .frames-editor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; align-items: start; }

.au-room .settings-frame-row.sph-foldable { padding: 9px 14px 8px; margin-bottom: 7px; }
.au-room .sph-foldable .sph-top .settings-bear-dot { width: 13px; height: 14px; }

.au-pair-title { font: var(--type-head); color: var(--text); margin: 0 0 8px; }

.fold-head { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; width: 100%; margin: 0; padding: 0 0 12px; border: 0; background: none; text-align: left; color: var(--text); cursor: pointer; }
.fold-head .au-pair-title { display: block; }

.fold-head:not(:has(.fold-sub)) .au-pair-title { margin-bottom: 0; }
.fold-head > :not(.fold-mark) { grid-column: 1; }
.fold-sub { font-size: var(--t-ui); line-height: 1.6; color: var(--text); }
.fold-mark { grid-column: 2; grid-row: 1 / span 3; align-self: center; font: var(--type-head); color: var(--muted); }
.fold-head:focus-visible { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 3px; }

.holding-card.is-folded > :not(.fold-head) { display: none !important; }

[data-holding=mirror] > .holding-card > .fold-head { padding: 14px 16px 10px; }
.yg-crossings > .fold-head { padding-bottom: 0; }
.holding-card.is-folded > .fold-head { padding-bottom: 0; }

.holding-grid-lift:has(> .holding-card.is-folded) { align-self: start; }
.holding-grid-lift > .holding-card.is-folded { height: auto; }

.fold-note { font-size: var(--t-meta); line-height: 1.45; color: var(--label); margin-top: 4px; }
.holding-card.is-folded > .fold-head .fold-note { display: none; }

.au-head-sub { font: var(--type-app); color: var(--muted); margin: 2px 0 0; }
.au-radar-empty { font: var(--type-small); color: var(--label); padding: 8px 0; }

[data-section="author"] .bt-tile:is([data-tile="radar"], [data-author-piece="radar"]) { padding-bottom: 0; }
[data-section="author"] .bt-tile:is([data-tile="radar"], [data-author-piece="radar"]) > .au-room { display: flex; flex-direction: column; justify-content: flex-end; padding: 0; overflow: hidden; }

[data-section="author"] .bt-tile:is([data-tile="radar"], [data-author-piece="radar"]) > .au-room { height: 100%; box-sizing: border-box; }
[data-section="author"] .bt-tile:is([data-tile="radar"], [data-author-piece="radar"]) .au-people-radar { flex: 1 1 0; min-height: 0; display: flex; justify-content: center; align-items: flex-end; }

[data-section="author"] .bt-tile:is([data-tile="radar"], [data-author-piece="radar"]) .au-people-radar svg { width: 100%; height: 100%; max-height: none; }

.hg-hours { display: flex; flex-wrap: wrap; gap: 3px; margin: 2px 0 6px; }

.au-meet-piece { --tc-icon: 40px; }
.au-meet .tc-line, .au-deck-sec .tc-line { flex-wrap: wrap; row-gap: 0; }

.au-meet.tc-sky { --sky: #EBCEAE; }

.au-deck { display: flex; flex-direction: column; gap: 6px; }
.au-page-drawing { color: var(--muted); }

.au-page-piece .tc-inner { padding-left: 0; }
.au-deck-h { margin: 8px 0 0; }
.au-deck-piece .tc-sec { padding: 7px 12px; }
.tc-piece.au-deck-piece { --tc-icon: 8px; }   
.au-deck-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--g); flex: none; margin: 0 4px; }
.au-deck-sec .tc-say { font-size: var(--t-body); }

[data-section="author"] .bt-tile[data-tile="headSkies"], [data-section="author"] .bt-tile[data-tile="headBears"], [data-section="author"] .bt-tile[data-tile="headRW"], [data-section="author"] .bt-tile[data-tile="headPages"] { overflow: visible; display: flex; flex-direction: column; justify-content: flex-end; }
.au-sec-title { margin: 0; line-height: 1.2; }

[data-section="author"] > .bt-stack > .bt-tile[data-tile="skyCompass"] { flex: 1 1 0; min-height: 160px; }
[data-section="author"] .bt-tile[data-tile="skyCompass"] > .au-room.sky-wheel-fit,
[data-section="author"] .bt-tile[data-tile="skyCompass"] > .sky-wheel-fit { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; padding-bottom: 0; }
.sky-wheel-fit > div { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; margin: 0 !important; }
.sky-wheel-fit > div > div:first-child { flex: 1 1 0; min-height: 0; margin: 0 !important; }

.sky-wheel-fit > div > div:last-child { display: none !important; }   

[data-section="author"] .bt-tile:has(> .au-room > .au-meet-piece) { padding-top: 2px; padding-bottom: 2px; }
[data-section="author"] .bt-tile > .au-room:has(> .au-meet-piece) { padding-bottom: 2px; }

[data-section="author"] > .bt-tile[data-one-row] .au-meet-piece .tc-panel.is-open .tc-inner { max-height: 34vh; overflow-y: auto; scrollbar-width: thin; }

[data-section="author"] > .bt-tile:not([data-one-row]):has(> .au-room > .au-meet-piece) { overflow-y: auto; scrollbar-width: none; }
[data-section="author"] > .bt-tile:not([data-one-row]) > .au-room:has(> .au-meet-piece) { flex: none; }

.au-meet.au-rw-roots { --b: var(--cell-edge-1, #C9B79A); }
.au-meet.au-rw-wings { --b: var(--cell-edge-3, #E3C08A); }
.au-sec-title + .au-head-sub { margin: 0 0 2px; line-height: 1.35; }
.au-deck-sec .au-meet-tag { font-size: var(--t-meta); }
.au-deck-kw { font: var(--type-small); color: var(--muted); margin: 8px 0 0; }
.au-deck-range { font: var(--type-small); color: var(--muted); margin: 0 0 8px; }
.au-deck-lbl { font-size: var(--t-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 2px; }
.au-deck-txt { font: var(--type-app); color: var(--text); margin: 0; }
.au-deck-txt b, .au-deck-foot b { font-weight: 600; }
.au-deck-foot { margin: 10px 0 8px; padding: 6px 10px 8px; background: color-mix(in srgb, var(--g) 12%, transparent); font: var(--type-app); color: var(--text); }
.au-deck-foot .au-deck-lbl { margin-top: 2px; }
.au-meet-tag { font: var(--type-said); color: var(--muted); }
.au-meet-what { font: var(--type-app); color: var(--text); margin: 8px 0 10px; }
.au-meet-q { font: var(--type-said); color: var(--text); margin: 0 0 6px; }
.au-meet-words textarea { width: 100%; box-sizing: border-box; }
.au-meet-hint { font: var(--type-small); color: var(--muted); margin: 6px 0 4px; }

.au-room .settings-section + .settings-section { margin-top: 16px; }
.hg-hour { min-width: 30px; border: 1px solid var(--border); background: transparent; color: var(--muted); border-radius: 999px;
  padding: 3px 0; font: var(--type-control); cursor: pointer; }
.hg-hour:hover { background: color-mix(in srgb, var(--bear-papa) 12%, transparent); }
.hg-hour.is-on { background: color-mix(in srgb, var(--bear-papa) 70%, var(--card)); border-color: transparent; color: var(--text); }

.sph-ring-hd { font: var(--type-label); letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin: 10px 0 4px; }
.sph-ring-opts { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.sph-ring { border: 1px solid color-mix(in srgb, var(--tag-tint, var(--muted)) 55%, transparent); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 3px 10px; font: var(--type-control); cursor: pointer; white-space: nowrap; }
.sph-ring:hover { background: color-mix(in srgb, var(--tag-tint, var(--muted)) 14%, transparent); }
.sph-ring.is-on { background: color-mix(in srgb, var(--tag-tint, var(--muted)) 75%, var(--card)); border-color: transparent; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .sph-fold { transition: none; } }


.facets .sph-drag { opacity: 0; transition: opacity .15s; font-size: var(--t-ui); }
.facets .settings-frame-row:hover .sph-drag { opacity: .45; }
.facets .sph-drag:hover { opacity: .9; }

.facets .sph-del { opacity: 0; font-size: var(--t-body); transition: opacity .15s, color .15s; }
.facets .settings-frame-row:hover .sph-del { opacity: .5; }
.facets .sph-del:hover { opacity: 1; color: #B4553F; }




.facets .settings-frame-row .drawer-pick {
  width: auto !important;
  max-width: 210px !important;
  font-size: var(--t-meta);
  border: none;
  padding: 3px 4px;
  margin-left: -4px;
  color: var(--label);
  border-radius: 5px;
  background: transparent;
}
.facets .settings-frame-row .drawer-pick:hover {
  background: rgba(100, 80, 60, .05);
  color: var(--muted);
}

.facets .bes-empty { font-size: var(--t-meta); color: var(--label); font-style: italic; }
.facets .sph-chip button:hover { opacity: 1; color: #7A2E1E; }




.ds-ghost {
  position: fixed !important;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  margin: 0 !important;
  opacity: .92;
  filter: drop-shadow(0 6px 14px rgba(60, 44, 30, .28));
  transform-origin: top left;
}
.ds-source { opacity: .28; }


.sph-drag { touch-action: none; }
body.ds-dragging, body.ds-dragging * { cursor: grabbing !important; user-select: none; }


body.ds-dragging .sph-acts { min-height: 24px; }


.facets .settings-frame-row:has(.sph-acts.ds-over) {
  
  background: color-mix(in srgb, var(--strip-c) var(--strip-hover), var(--card));
}

.facets .frames-editor-list.ds-over,
.facets .circles-editor-list.ds-over { background: transparent; }





.skp-ov {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(38, 30, 22, .44);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: skpFade .16s ease-out;
}
@keyframes skpFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes skpRise { from { transform: translateY(9px); opacity: .4 } to { transform: none; opacity: 1 } }


.skp-ov-card {
  position: relative;
  background: white;
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  clip-path: var(--shear-lg);
  box-shadow: 0 26px 64px rgba(40, 30, 20, .34);
  padding: 16px 16px 18px;
  animation: skpRise .2s cubic-bezier(.2, .7, .3, 1);
}
.skp-ov-x {
  position: absolute;
  top: 11px;
  right: 13px;
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(0, 0, 0, .05);
  color: #3B342E;
  font: var(--type-control);
  cursor: pointer;
  z-index: 3;
  clip-path: var(--shear-sm);
}


.skp-top {
  position: relative;   
  z-index: 2;
  margin: 0 0 4px;
}


.skp-find { display: block; width: 100%; margin: 0; }
.skp-find::placeholder { opacity: .8; }


.skp-hits {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: white;
  box-shadow: 0 10px 26px rgba(40, 30, 20, .18);
  max-height: 250px;
  overflow-y: auto;
}
.skp-hits:empty { display: none; box-shadow: none; }
.skp-hits button {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 5px 8px;
  font: var(--type-words);
  color: var(--text);
}
.skp-hits button:hover { background: rgba(127, 127, 127, .07); }
.skp-hits i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.skp-hits em { font-style: normal; font-size: var(--t-meta); color: var(--muted); }





.facets {
  
  --opt-w: 110px;
  --ans-h: 22px;
  
  --sb-w: 4px;
  --sb-inset: 14px;
  
  --gem-w: 12px;
  --gem-h: 12.7px;      
  
  --pane-w: 420px;
  
  --pane-head-h: 64px;
}


.facets .ci-pane {
  top: 22px; bottom: 22px; right: auto;
  left: 50%; width: var(--pane-w); margin-left: calc(var(--pane-w) / -2);
  height: auto; max-width: calc(100% - 44px);
  border-radius: 0;
  border-left: none;
  box-shadow: none;                       
  background: var(--gold-edge);   
  clip-path: var(--shear-all);
  transform-origin: var(--ci-origin, 50% 50%);
  transform: scale(.28);
  opacity: 0;
  transition: transform .38s cubic-bezier(.4,0,.2,1), opacity .26s ease;
}

.facets .ci-pane.is-idle {
  bottom: auto;
  max-height: calc(100% - 44px);
  overflow-y: auto;
}
.ci-idle-empty {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: var(--t-body);
  color: var(--label);
  padding: 6px 2px 10px;
  line-height: 1.6;
}
.ci-idle-lbl {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label);
  margin: 2px 0 10px;
}
.ci-idle-sec { margin-bottom: 4px; }
.ci-idle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  cursor: pointer;
}
.ci-idle-row:hover .ci-idle-main { color: var(--action); }
.ci-idle-main {
  font-size: var(--t-body);
  color: var(--text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ci-idle-meta {
  font-size: var(--t-meta);
  color: var(--label);
  margin-left: auto;
  flex-shrink: 0;
}

.facets .ci-pane.open {
  transform: scale(1); opacity: 1;
  border-left: none; box-shadow: none;    
}

.facets .ci-pane::before {
  content: ''; position: absolute; inset: 1px; z-index: 0;
  background: var(--card-veil); clip-path: var(--shear-all);
}
.facets .ci-pane > * { position: relative; z-index: 1; }


.facets .ci-pane-head {
  border-bottom: none;
  
  padding: 0 15px 0 16px;
  min-height: var(--pane-head-h);
  overflow: hidden;
  background: var(--card);
  
  justify-content: flex-start;
  gap: 0;
}

.facets .ci-pane-title {
  font: var(--type-head);
  position: relative; z-index: 2;
  text-align: left;
}


.facets .ci-pane-x { position: relative; z-index: 2; margin-left: auto; }


.facets .ci-pane-band {
  position: absolute; inset: 0 0 auto auto; height: var(--pane-head-h); width: 100%;
  background: var(--text); opacity: var(--band-strength, .13);
  pointer-events: none; z-index: 1;
  -webkit-mask-image: var(--band-art);        mask-image: var(--band-art);
  -webkit-mask-size: contain;                 mask-size: contain;
  -webkit-mask-position: right center;        mask-position: right center;
  -webkit-mask-repeat: no-repeat;             mask-repeat: no-repeat;
}


.facets .ci-gem {
  position: relative; width: var(--gem-w); height: var(--gem-h); flex-shrink: 0;
  background: var(--fc, var(--label)); clip-path: var(--hexclip);
  filter: drop-shadow(0 1px 1px rgba(80, 60, 40, .22));
  border-radius: 0;
}
.facets .ci-gem::after {
  content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .34);
  clip-path: polygon(50% 0%, 93% 25%, 50% 50%, 7% 25%);
}
.facets .ci-gem::before {
  content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .16);
  clip-path: polygon(7% 75%, 50% 50%, 93% 75%, 50% 100%);
}


.facets .ci-frame { --tag-tint: var(--fc, var(--muted)); }
.facets .ci-frame.open { flex: 0 0 100%; }
.facets .ci-frame-hd { gap: 6px; }
.facets .ci-frame-hd .arw { font-size: 7px; }

.facets .ci-frame-hd .frame-sel {
  background: none; border-radius: 0; padding: 0 0 0 4px; color: var(--muted);
}

.facets .ci-frame-chips { gap: 5px 0; }
.facets .ci-frame-chips .ci-chip { margin-left: calc(1.5px - var(--cut-tag)); }
.facets .ci-frame-chips .ci-chip:first-child { margin-left: 0; }


.facets .ci-ans {
  display: inline-flex; height: var(--ans-h);
  background: color-mix(in srgb, var(--text) 7%, var(--card));
  clip-path: var(--shear-sm);
}
.facets .ci-opt {
  flex: 0 0 var(--opt-w); border: 0; background: none; cursor: pointer;
  padding: 0 8px; text-align: center;
  display: flex; align-items: center; justify-content: center;
  font: var(--type-control); color: var(--muted);
  transition: color .12s, background .12s;
}
.facets .ci-opt:hover { color: var(--text); }

.facets .ci-opt.on {
  color: var(--card); font-weight: 600;
  background: color-mix(in srgb, var(--bear-c, var(--text)) 82%, var(--text));
  clip-path: var(--tagcut-para);
}
.facets .ci-opt.on:first-child {
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut-tag)) 100%, 0 100%);
}
.facets .ci-opt.on:last-child {
  clip-path: polygon(var(--cut-tag) 0, 100% 0, 100% 100%, 0 100%);
}


.facets .ci-ans-bare .ci-opt { flex: 0 0 auto; padding: 0 14px; }


.facets .ci-btn {
  border: 0; border-radius: 0; clip-path: var(--shear-md);
  background: var(--button); color: var(--on-button);
  padding: 10px 16px; font-weight: 600;
}
.facets .ci-btn:hover { background: var(--button-hover); }
.facets .ci-btn.ghost {
  background: color-mix(in srgb, var(--text) 8%, var(--card)); color: var(--muted);
}



.facets .ci-draft { scrollbar-width: none; }
.facets .ci-draft::-webkit-scrollbar { width: 0; height: 0; }
.facets .ci-track {
  position: absolute; right: 5px; z-index: 3; width: var(--sb-w);
  top: calc(var(--pane-head-h) + var(--sb-inset));
  bottom: var(--sb-inset);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.facets .ci-track.live { opacity: 1; }
.facets .ci-track.idle { opacity: .28; }
.facets .ci-thumb {
  position: absolute; left: 0; width: 100%;
  background: color-mix(in srgb, var(--bear-c, var(--text)) 72%, var(--text));
}

#trail-overlay .reflection-overlay-inner { scrollbar-width: none; }
#trail-overlay .reflection-overlay-inner::-webkit-scrollbar { width: 0; height: 0; }
.facets #trail-track {
  top: var(--sb-inset);
  bottom: var(--sb-inset);
  right: 6px;
}

.facets #trail-track .ci-thumb {
  background: color-mix(in srgb, var(--text) 55%, transparent);
}


.facets .ci-draft.fade-b {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent); }
.facets .ci-draft.fade-t {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26px);
          mask-image: linear-gradient(to bottom, transparent, #000 26px); }
.facets .ci-draft.fade-t.fade-b {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26px, #000 calc(100% - 34px), transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 26px, #000 calc(100% - 34px), transparent); }


.gc-sb-scroll { scrollbar-width: none; overscroll-behavior: contain; }
.gc-sb-scroll::-webkit-scrollbar { width: 0; height: 0; }
.gc-sb {
  position: absolute; z-index: 3; width: var(--sb-w, 4px); --sb-inset: 14px;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.gc-sb.live { opacity: 1; }
.gc-sb.idle { opacity: .28; }
.gc-sb-thumb {
  position: absolute; left: 0; top: 0; width: 100%;
  background: color-mix(in srgb, var(--sb-c, var(--text)) 72%, var(--text));
}
.gc-sb-scroll.fade-b {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent); }
.gc-sb-scroll.fade-t {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26px);
          mask-image: linear-gradient(to bottom, transparent, #000 26px); }
.gc-sb-scroll.fade-t.fade-b {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26px, #000 calc(100% - 34px), transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 26px, #000 calc(100% - 34px), transparent); }


.facets .ci-logged .hb-dot {
  width: var(--gem-w); height: var(--gem-h);
  border-radius: 0; clip-path: var(--hexclip); position: relative;
  filter: drop-shadow(0 1px 1px rgba(80, 60, 40, .22));
}
.facets .ci-logged .hb-dot::after {
  content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .34);
  clip-path: polygon(50% 0%, 93% 25%, 50% 50%, 7% 25%);
}
.facets .ci-logged .hb-dot::before {
  content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .16);
  clip-path: polygon(7% 75%, 50% 50%, 93% 75%, 50% 100%);
}


.bear-hours-row, .bear-hours-labels { gap: 0; }
.tl-cell, .bear-hour-lbl {
  box-sizing: content-box;            
  border-right: 1px solid transparent;
  background-clip: padding-box;       
}
.tl-cell:last-child, .bear-hour-lbl:last-child { border-right: 0; }









#bear-area-wrap { overflow-x: hidden !important; overflow-y: auto !important; }



#today-compass-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}



.today-mid {
  display: flex;
  align-items: stretch;
  gap: 22px;
  flex: 0 0 auto;
  margin-bottom: 10px;
}



.today-col-day {
  
  
  flex: 0 0 380px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#today-compass-host,
#today-compass-host > svg { max-width: 100%; }




.today-mid > .today-work { flex: 1 1 auto; min-width: 0; }



.today-stage {
  position: relative;
  
  margin-inline: var(--stage-ml, auto) auto;
  flex: 0 0 auto;
  
  width:  calc(var(--stage-w) * var(--bears-k));
  height: calc(var(--stage-h) * var(--bears-k));

  
  --stage-w: 741.59px;   --stage-h: 719.34px;
  --head-x:   20.00px;   --head-y:   20.00px;
  --head-w:  440.00px;   --head-h:   80.00px;
  --doors-x: 109.66px;   --doors-y: 253.35px;
  --note-x:  311.05px;   --note-y:  539.34px;
  --note-w:  350.00px;   --note-h:  160.00px;

  --head-dx: 0px;   --head-dy: 0px;
  --doors-dx: 10px; --doors-dy: 0px;
  --note-dx: 22px;  --note-dy: 0px;

  
  
  --doors-scale: 1.28;
}

#today-stage > .checkin-split,
#today-stage > .today-col-day,
#today-stage > .day-so-far {
  position: absolute;
  margin: 0;
}
#today-stage > .checkin-split {
  
  transform: scale(var(--doors-scale)); transform-origin: top left;
  left: calc((var(--doors-x) + var(--doors-dx)) * var(--bears-k));
  top:  calc((var(--doors-y) + var(--doors-dy)) * var(--bears-k));
}

#today-stage > .today-col-day {
  left: calc((var(--head-x) + var(--head-dx)) * var(--bears-k));
  top:  calc((var(--head-y) + var(--head-dy)) * var(--bears-k));
  width:     calc(var(--head-w) * var(--bears-k));
  max-width: calc(var(--head-w) * var(--bears-k));
  min-height: calc(var(--head-h) * var(--bears-k));
  flex: none; height: auto;
}
#today-stage > .day-so-far {
  left: calc((var(--note-x) + var(--note-dx)) * var(--bears-k));
  top:  calc((var(--note-y) + var(--note-dy)) * var(--bears-k));
  width:  calc(var(--note-w) * var(--bears-k));
  height: calc(var(--note-h) * var(--bears-k));
}
#today-stage > .day-so-far > .dsf-col { height: 100%; }




.tn-tabs {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
  margin-bottom: 10px;
}
.tn-tab {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--label);
  padding: 3px 8px;
  clip-path: var(--shear-sm, none);
}
.tn-tab:hover { color: var(--text); }
.tn-tab.active { color: var(--text); background: var(--bg); }


.tn-panels {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#dsf-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  background: none; filter: none; clip-path: none; padding: 0; margin-bottom: 0;
}
#dsf-panel::-webkit-scrollbar { width: 0; }
#dsf-panel::before { content: none; }


.dsf-sofar-head {
  font: var(--type-head);
  color: var(--text);
  margin-bottom: 10px;
}
.dsf-sky { }
.dsf-unnamed { color: var(--label); font-weight: 500; font-style: italic; }
.dsf-sofar-empty {
  font: var(--type-small);
  color: var(--label);
}


.dsf-hours { margin-bottom: 14px; }
.dsf-hours-labels, .dsf-hours-row { display: flex; gap: 1px; }
.dsf-hour-lbl {
  flex: 1;
  min-width: 0;
  font: var(--type-small);
  color: var(--label);
  text-align: center;
  line-height: 1;
  padding-bottom: 3px;
}

.dsf-hour {
  flex: 1;
  min-width: 0;
  height: 14px;
  background: var(--sunken);
}


.dsf-bears { display: flex; flex-direction: column; gap: 11px; }
.dsf-brow { display: flex; gap: 8px; }
.dsf-bdot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.dsf-bbody { min-width: 0; }
.dsf-bname { font: var(--type-words); margin-bottom: 1px; }
.dsf-bacts {
  font: var(--type-words);
  color: var(--text);
}
.dsf-bwho {
  font: var(--type-words);
  color: var(--muted);
}

.dsf-bnote {
  font: var(--type-said);
  color: var(--muted);
  margin-top: 4px;
}
.dsf-nact {
  font: var(--type-words);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--label);
  font-style: normal;
}


.wko-detail {
  position: fixed;
  z-index: 400;
  width: 300px;
  max-height: 62vh;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 1px;
  background: var(--gold-edge);
  clip-path: var(--shear-all);
  filter: var(--card-lift);
  opacity: 0;
  pointer-events: none;          
  transform: translateX(6px);
  transition: opacity .12s ease, transform .12s ease;
}
.wko-detail::-webkit-scrollbar { width: 0; }
.wko-detail.on {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .18s ease .06s, transform .22s cubic-bezier(.2,.7,.3,1) .06s;
}

.wko-detail::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--card-veil);
  clip-path: var(--shear-all);
  z-index: 0;
}
.wko-detail > * { position: relative; z-index: 1; }
.wkod-head {
  font: var(--type-small);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--label);
  padding: 13px 16px 8px;
}
.wkod-row { display: flex; gap: 8px; padding: 0 16px 11px; }
.wkod-row:last-child { padding-bottom: 15px; }
.wkod-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.wkod-body { min-width: 0; }
.wkod-lens { font: var(--type-words); margin-bottom: 2px; }
.wkod-note {
  font: var(--type-said);
  color: var(--muted);
}

.wko-day.has-detail { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .wko-detail, .wko-detail.on { transition-duration: .01ms; transform: none; }
}


#today-stage > .today-wings {
  position: absolute;
  margin: 0;
  left: calc((var(--note-x) + var(--note-dx)) * var(--bears-k));
  top:  calc((var(--note-y) + var(--note-dy)) * var(--bears-k));
  width: calc(var(--note-w) * var(--bears-k));
  
}


.today-wings .today-idle-wings { max-width: none; padding: 0; }


#today-stage > .day-so-far { display: none; }
#today-stage.notes-on > .day-so-far { display: block; }
#today-stage.notes-on > .today-wings { display: none; }


.callout-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;                    
  overflow: visible;
}

.callout-layer .co-item {
  opacity: 0;
  transition: opacity .12s ease;
}
.callout-layer .co-item.on { opacity: 1; transition: opacity .18s ease; }


.callout-layer .co-maskline {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .1s ease;
}
.callout-layer .co-item.on .co-maskline {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .42s cubic-bezier(.33, 0, .18, 1);
}


.callout-layer .co-name,
.callout-layer .co-body {
  opacity: 0;
  transform: translateX(var(--co-slide, 0));
  transition: opacity .1s ease, transform .1s ease;
}
.callout-layer .co-item.on .co-name,
.callout-layer .co-item.on .co-body {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .3s ease .2s, transform .34s cubic-bezier(.2, .7, .3, 1) .2s;
}


.callout-layer.co-all .co-item.on,
.callout-layer.co-all .co-item.on .co-maskline {
  transition-delay: calc(var(--i, 0) * 65ms);
}
.callout-layer.co-all .co-item.on .co-name,
.callout-layer.co-all .co-item.on .co-body {
  transition-delay: calc(var(--i, 0) * 65ms + 200ms);
}

@media (prefers-reduced-motion: reduce) {
  .callout-layer .co-item,
  .callout-layer .co-item * {
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .callout-layer .co-item.on .co-maskline { stroke-dashoffset: 0; }
}


.callout-layer .co-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  fill: var(--text);
}
.callout-layer .co-body {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  fill: var(--muted);
}

.callout-layer .co-leader {
  fill: none;
  stroke: color-mix(in srgb, var(--action) 62%, transparent);
  stroke-width: 1;
  stroke-dasharray: 4 3;
  vector-effect: non-scaling-stroke;   
}


.callout-toggle {
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--action) 40%, transparent);
  border-radius: 50%;
  background: var(--card);
  color: var(--action);
  font: var(--type-control);
  line-height: 1;
  cursor: pointer;
  opacity: .5;
  transition: opacity .16s ease, background .16s ease;
  z-index: 7;
}
.callout-toggle:hover { opacity: 1; }
.callout-toggle.on {
  opacity: 1;
  background: var(--action);
  color: var(--card);
}

.note-toggle-btn { top: 28px; }





.today-mid > .checkin-split { flex: 1 1 auto; min-width: 0; }



@media (max-width: 1100px) {
  .today-mid { flex-wrap: wrap; }
  
  .today-col-day { flex: 1 1 100%; }
  
  .today-work > .today-col-day { flex: 0 0 auto; }
}


.bear-area .checkin-split { flex: 1 0 auto; min-height: 430px; }


#today-nav {
  
  
  background: var(--gold-edge);
  clip-path: var(--shear-all);
  filter: var(--card-lift);
}

.tn-face {
  position: relative;
  margin: 1px;
  flex: 1;
  min-width: 0;
  min-height: 0;
  background: var(--card-veil);
  clip-path: var(--shear-all);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


#cal-panel {
  flex-shrink: 0;
  margin-bottom: 14px;
}

:root { --cal-w: calc(7 * 24px + 6 * 2px + 13px); }


#cal-panel:not(:has(.cal-grid.standard)) .cal-dow-row,
#cal-panel .cal-grid:not(.standard) {
  width: var(--cal-w);
  margin-inline: auto;
}


#week-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  
  background: none;
  filter: none;
  clip-path: none;
  padding: 0;
  margin-bottom: 0;
}
#week-panel::before { content: none; }
#today-nav .week-overview { margin-bottom: 0; }













.checkin-split.bears-tabbed {
  display: block;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 auto;
  
  align-self: flex-end;
  
  height: auto;
  padding: 0;
  background: transparent;
  overflow: visible;
}




.bears-tabbed .bears-col-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  display: block;
}
.bears-tabbed .bears-grid {
  display: block;
  padding: 0;
  transform: none !important;
  height: auto !important;
}

.bears-tabbed #bear-col-papa,
.bears-tabbed #bear-col-mama,
.bears-tabbed #bear-col-baby,
.bears-tabbed #bear-col-floor {
  filter: drop-shadow(0 calc(2.0px * var(--bears-k)) calc(5.0px * var(--bears-k)) rgba(80,60,40,.20));
  transition: transform .16s cubic-bezier(.4,0,.2,1), filter .16s ease;
}



.bears-tabbed #bear-col-papa:hover,
.bears-tabbed #bear-col-mama:hover,
.bears-tabbed #bear-col-baby:hover,
.bears-tabbed #bear-col-floor:hover {
  cursor: pointer;
  transform: translateY(calc(-3px * var(--bears-k)));
  filter: drop-shadow(0 calc(5.0px * var(--bears-k)) calc(9.0px * var(--bears-k)) rgba(80,60,40,.26));
}
.bears-tabbed #bear-col-papa.tab-on,
.bears-tabbed #bear-col-mama.tab-on,
.bears-tabbed #bear-col-baby.tab-on {
  transform: translateY(calc(-5px * var(--bears-k)));
  filter: drop-shadow(0 calc(8.0px * var(--bears-k)) calc(16.0px * var(--bears-k)) rgba(80,60,40,.30));
}

.bears-tabbed #bear-col-papa.tab-on .bear-hex-outer {
  box-shadow: inset 0 0 0 calc(2px * var(--bears-k)) var(--bear-papa);
}
.bears-tabbed #bear-col-mama.tab-on .bear-hex-outer {
  box-shadow: inset 0 0 0 calc(2px * var(--bears-k)) var(--bear-mama);
}
.bears-tabbed #bear-col-baby.tab-on .bear-hex-outer {
  box-shadow: inset 0 0 0 calc(2px * var(--bears-k)) var(--bear-baby);
}

.bears-tabbed #bear-col-papa.tab-on:hover,
.bears-tabbed #bear-col-mama.tab-on:hover,
.bears-tabbed #bear-col-baby.tab-on:hover {
  transform: translateY(calc(-5px * var(--bears-k)));
}
.bears-tabbed #bear-col-papa,
.bears-tabbed #bear-col-mama,
.bears-tabbed #bear-col-baby,
.bears-tabbed #bear-col-floor {
  position: absolute;
  margin: 0;
  padding: 0;
  transform: none;
  z-index: auto;
}

.bears-tabbed #bear-col-papa  { left: calc(0.00px * var(--bears-k));   top: calc(8.76px * var(--bears-k)); }
.bears-tabbed #bear-col-mama  { left: calc(122.79px * var(--bears-k)); top: calc(72.07px * var(--bears-k)); }
.bears-tabbed #bear-col-baby  { left: calc(245.73px * var(--bears-k)); top: calc(8.88px * var(--bears-k)); }
.bears-tabbed #bear-col-floor { left: calc(25.26px * var(--bears-k)); top: calc(146.74px * var(--bears-k)); }

.bears-tabbed #bear-col-trail {
  left: calc((273.76px + var(--trail-dx)) * var(--bears-k));
  top:  calc((-107.48px - var(--trail-dy)) * var(--bears-k));
}


.bears-tabbed {
  --sky-w: calc(170.48px * var(--bears-k));
  --sky-h: calc(147.64px * var(--bears-k));
  
  --paw-opacity: .82;           
  --trail-dx: 0px;              
  --trail-dy: 0px;              
  
  
  --sky-rise: calc((107.48px + var(--trail-dy)) * var(--bears-k));
  
  --sky-top: calc(91.40px * var(--bears-k));
}
.bears-tabbed #bear-col-sky {
  position: absolute;
  margin: 0;
  padding: 0;
  transform: none;
  z-index: 3;                    
  left: calc(108.35px * var(--bears-k));         
  top: calc(0px - var(--sky-top));               
  
  filter: drop-shadow(0 calc(2.0px * var(--bears-k)) calc(5.0px * var(--bears-k)) rgba(80,60,40,.20));
  transition: transform .16s cubic-bezier(.4,0,.2,1), filter .16s ease;
}
.bears-tabbed #bear-col-sky:hover {
  cursor: pointer;
  transform: translateY(calc(-3px * var(--bears-k)));
  filter: drop-shadow(0 calc(5.0px * var(--bears-k)) calc(9.0px * var(--bears-k)) rgba(80,60,40,.26));
}
.bears-tabbed #bear-col-sky.tab-on {
  transform: translateY(calc(-5px * var(--bears-k)));
  filter: drop-shadow(0 calc(8.0px * var(--bears-k)) calc(16.0px * var(--bears-k)) rgba(80,60,40,.30));
}


.bears-tabbed #bear-col-sky .bear-hex-flip,
.bears-tabbed #bear-col-sky .bear-hex-outer {
  width: var(--sky-w);
  height: var(--sky-h);
}
.bears-tabbed #bear-col-sky .bear-hex-flip { background: none; }
.bears-tabbed #bear-col-sky .bear-hex-outer { background: var(--bear-sky-tint); }

.bears-tabbed #bear-col-sky .bear-hex-inner {
  width: calc(var(--sky-w) - calc(7.2px * var(--bears-k)));
  height: calc(var(--sky-h) - calc(6.0px * var(--bears-k)));
  background: var(--card-veil);
}

.sky-cell-img {
  max-width: calc(124.2px * var(--bears-k));    
  max-height: calc(124.2px * var(--bears-k));
  object-fit: contain;
  display: block;
}










.day-so-far {
  
  z-index: 0;                    

  
  overflow: hidden;
  background: var(--gold-edge);
  clip-path: var(--shear-all);
  filter: var(--card-lift);
  display: grid;
  grid-template-columns: 1fr;   
  --dsf-h: 250px;               
  gap: 1px;                      
}
.day-so-far::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--gold-edge);  
  clip-path: var(--shear-all);
  z-index: 0;
}
.dsf-col {
  position: relative;
  z-index: 1;
  background: var(--card-veil);
  padding: 13px 15px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  
  overflow: hidden;
  box-sizing: border-box;
  
  height: var(--dsf-h);
}

.dsf-col { clip-path: var(--shear-all); }
.dsf-head {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.day-so-far .ci-idle-lbl { display: none; }   
.day-so-far .ci-idle-empty { padding: 0; font-size: var(--t-meta); }


.dsf-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.dsf-head-row .dsf-head { margin-bottom: 0; }
.dsf-col #note-manual-panel,
.dsf-col #note-daylog-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.dsf-col #note-daylog-panel[style*="none"] { display: none; }
.dsf-daylog {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  font-size: var(--t-meta);
  line-height: 1.6;
  color: var(--text);
  scrollbar-width: none;
}
.dsf-daylog::-webkit-scrollbar { width: 0; }
.dsf-col .note-toggle, .fn-say .note-toggle, .pg-door .note-toggle { display: flex; gap: 2px; flex-shrink: 0; background: none; padding: 0; }
.dsf-col .note-tab, .fn-say .note-tab, .pg-door .note-tab {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--label);
  padding: 3px 7px;
  clip-path: var(--shear-sm, none);
}
.dsf-col .note-tab:hover, .fn-say .note-tab:hover, .pg-door .note-tab:hover { color: var(--text); }
.dsf-col .note-tab.active, .fn-say .note-tab.active, .pg-door .note-tab.active { color: var(--text); background: var(--bg); box-shadow: none; }


.bears-card {
  
  position: fixed;
  z-index: 200;

  
  left: var(--stage-cx, 50%);
  top: var(--stage-cy, 50%);
  width: var(--card-w);
  height: var(--card-h);
  margin: 0;

  --card-w: 460px;
  --card-h: min(620px, calc(100vh - 80px));

  
  translate: -50% -50%;
  transform-origin: center center;
  transform: scale(.28);

  
  
  background: var(--card-veil);
  clip-path: var(--shear-lg);
  filter: var(--card-lift);

  display: flex;
  flex-direction: column;
  overflow: hidden;

  opacity: 0;
  pointer-events: none;
  transition: transform .34s cubic-bezier(.4,0,.2,1), opacity .22s ease;
}

.bears-card {
  --band-x: calc(24.0px * var(--bears-k));
  --band-y: calc(0.0px * var(--bears-k));
  --band-art-h: calc(261.6px * var(--bears-k));
}


.bears-card, .sky-card, .trail-card { --card-w: 420px; }
.sky-card { --card-h: auto; max-height: calc(100vh - 80px); }

.trail-card { --card-h: min(640px, calc(100vh - 80px)); }
.trail-card .reflection-overlay-inner {
  position: relative; inset: auto; margin: 0; background: none; clip-path: none;
  padding: 4px 18px 16px; flex: 1; min-height: 0; overflow-y: auto;
  scrollbar-width: none; display: flex; flex-direction: column; width: 100%;
  box-sizing: border-box;
}
.trail-card .reflection-overlay-inner::-webkit-scrollbar { width: 0; }
.trail-card .ci-pane-head { flex-shrink: 0; }
.sky-card #today-compass-card { padding: 4px 16px 18px; overflow-y: auto; min-height: 0; }
.sky-card .ci-pane-head { flex-shrink: 0; }

#sky-card .ci-go {
  flex-shrink: 0;
  margin: 0;
  padding: 0 18px 18px;
  justify-content: flex-end;
}


.bears-card > * { position: relative; z-index: 1; }


.bears-card {
  --accent: var(--muted);
  
  --accent-soft: var(--accent);
}
#sky-card   { --accent: var(--gold); }
#trail-card { --accent: var(--muted); }


.bears-card .ci-pane-head {
  background: none;
  box-shadow: none;
  border-bottom: none;
}
.bears-card .ci-pane-title {
  color: color-mix(in srgb, var(--accent) 72%, var(--text));
}


.bears-card::after {
  content: '';
  position: absolute; left: var(--cut-lg); right: 0; top: 0;
  height: 3px;
  background: var(--accent-soft);
  z-index: 2;
  pointer-events: none;
}


.bears-card .ci-pane-band {
  position: absolute; left: 0; right: 0; top: 0; bottom: auto;
  height: 115px; width: auto;
  
  background: var(--accent);
  opacity: .40;
  pointer-events: none; z-index: 0;
  -webkit-mask-image: var(--band-run);      mask-image: var(--band-run);
  -webkit-mask-size: 100% 100%;             mask-size: 100% 100%;
  -webkit-mask-position: center bottom;     mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;           mask-repeat: no-repeat;
}


.bears-card.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}



#bears-card .ci-pane::before { display: none; }

#bears-card .ci-pane {
  position: static;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  clip-path: none;
  transform: none;
  transition: none;
  opacity: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#bears-card .ci-pane::before { display: none; }

#bears-card .ci-pane-x { display: block; }

#bears-card .ci-draft {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
#bears-card .ci-draft::-webkit-scrollbar { width: 0; height: 0; }


.ci-scrim {
  
  position: fixed;
  inset: 0;
  z-index: 199;
  background: transparent;
  pointer-events: none;
}
.ci-scrim.show { pointer-events: auto; }



.checkin-split.bears-tabbed,
.bear-area .checkin-split.bears-tabbed {
  z-index: 2;                    
  width: calc(390.10px * var(--bears-k));
  min-height: calc(247.49px * var(--bears-k));
  height: calc(247.49px * var(--bears-k));
}




.bears-tabbed #bear-col-papa .bear-hex-flip,
.bears-tabbed #bear-col-mama .bear-hex-flip,
.bears-tabbed #bear-col-baby .bear-hex-flip,
.bears-tabbed #bear-col-papa .bear-hex-outer,
.bears-tabbed #bear-col-mama .bear-hex-outer,
.bears-tabbed #bear-col-baby .bear-hex-outer { width: calc(141.6px * var(--bears-k)); height: calc(122.64px * var(--bears-k)); }
.bears-tabbed #bear-col-papa .bear-hex-inner,
.bears-tabbed #bear-col-mama .bear-hex-inner,
.bears-tabbed #bear-col-baby .bear-hex-inner { width: calc(134.4px * var(--bears-k)); height: calc(116.64px * var(--bears-k)); }
.bears-tabbed #bear-col-floor .bear-hex-flip,
.bears-tabbed #bear-col-floor .bear-hex-outer { width: calc(116.34px * var(--bears-k)); height: calc(100.75px * var(--bears-k)); }
.bears-tabbed #bear-col-floor .bear-hex-inner {
  
  width: calc(109.14px * var(--bears-k)); height: calc(94.75px * var(--bears-k));
  padding: 0; gap: 0;
}

.bears-tabbed #bear-col-floor .floor-img {
  max-width: calc(88px * var(--bears-k));
  max-height: calc(76px * var(--bears-k));
  object-fit: contain;
}
.bears-tabbed #bear-col-papa .bear-col-img,
.bears-tabbed #bear-col-mama .bear-col-img,
.bears-tabbed #bear-col-baby .bear-col-img { max-width: calc(126.96px * var(--bears-k)); max-height: calc(107.23px * var(--bears-k)); }   


.bears-tabbed #bear-col-floor .bear-hex-outer { background: var(--bear-floor-tint) !important; }
.bears-tabbed #bear-col-floor .bear-hex-inner { background: var(--card-veil) !important; }


.bears-tabbed #bear-col-trail {
  position: absolute;
  margin: 0; padding: 0; transform: none;
  z-index: 3;
  filter: drop-shadow(0 calc(2.0px * var(--bears-k)) calc(5.0px * var(--bears-k)) rgba(80,60,40,.20));
  transition: transform .16s cubic-bezier(.4,0,.2,1), filter .16s ease;
}
.bears-tabbed #bear-col-trail:hover {
  cursor: pointer;
  transform: translateY(calc(-3px * var(--bears-k)));
  filter: drop-shadow(0 calc(5.0px * var(--bears-k)) calc(9.0px * var(--bears-k)) rgba(80,60,40,.26));
}
.bears-tabbed #bear-col-trail.tab-on {
  transform: translateY(calc(-5px * var(--bears-k)));
  filter: drop-shadow(0 calc(8.0px * var(--bears-k)) calc(16.0px * var(--bears-k)) rgba(80,60,40,.30));
}
.bears-tabbed #bear-col-trail .bear-hex-flip,
.bears-tabbed #bear-col-trail .bear-hex-outer { width: calc(116.34px * var(--bears-k)); height: calc(100.75px * var(--bears-k)); }
.bears-tabbed #bear-col-trail .bear-hex-flip  { background: none; }
.bears-tabbed #bear-col-trail .bear-hex-outer { background: var(--bear-trail-tint); }
.bears-tabbed #bear-col-trail .bear-hex-inner {
  width: calc(109.14px * var(--bears-k)); height: calc(94.75px * var(--bears-k));
  background: var(--card-veil); padding: 0; gap: 0;
}

.bears-tabbed #bear-col-trail .trail-img {
  max-width: calc(80px * var(--bears-k));
  max-height: calc(80px * var(--bears-k));
  object-fit: contain;
  
  opacity: var(--paw-opacity);
}
.bears-tabbed .bear-front-log { bottom: calc(7.2px * var(--bears-k)); gap: calc(3.6px * var(--bears-k)); }
.bears-tabbed .bear-prompt { display: none; }

.bears-tabbed .bear-col .bear-col-img,
.bears-tabbed .bear-col.tab-on .bear-col-img,
.bears-tabbed .bear-col:not(.active) .bear-col-img,
.bears-tabbed .bear-col:not(.has-logged) .bear-col-img { opacity: 1 !important; }


.bears-tabbed .bears-col-wrap.dimmed {
  opacity: 1;
  pointer-events: auto;
}


.bears-tabbed .ci-scrim,






.checkin-split.bears-tabbed {
  
  

  
  

  
}




.bears-tabbed .bears-col-wrap { z-index: 3; }




.today-idle-wings {
  padding: 2px 2px 14px;
  max-width: 30em;              
  flex-shrink: 0;
}
.tiw-lbl {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 9px;
}
.tiw-line {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: var(--t-head);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 10px;
}


#trail-overlay .reflection-overlay-inner {
  overflow-y: auto;
  min-height: 0;
}
#trail-host {
  flex: 1;
  min-height: 0;
}

:root { --rule: color-mix(in srgb, var(--label) 26%, transparent); }
.tiw-rule {
  height: 1px;
  background: var(--rule);
  margin: 0 2px 12px;
  flex-shrink: 0;
}
.trail-dock-lbl {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 10px;
}






#bears-card .ci-pane-head {
  position: relative;
}



@media (max-width: 1620px) { :root { --bears-step: .94; } }
@media (max-width: 1520px) { :root { --bears-step: .88; } }
@media (max-width: 1440px) { :root { --bears-step: .82; } }
@media (max-width: 1360px) { :root { --bears-step: .76; } }
@media (max-width: 1280px) { :root { --bears-step: .70; } }
@media (max-width: 1200px) { :root { --bears-step: .64; } }



#m-page { display: none; }


@media (min-width: 601px) {
  .m-bar { display: none; }
}


.pg-flat {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.pg-sec {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.pg-sec--first {
  padding: 0 0 18px;
  border-top: none;
}


.pg-edge-tab {
  position: fixed;
  right: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--card);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 14px 7px;
  font: var(--type-control);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  cursor: pointer;
  z-index: 60;
}


:root {
  --hc-view: 1150;     
  --hc-dur: 1000;      
  --hc-dim: 0;         
  --hc-shrink: 0.94;   
  --hc-art: 0.8;       
}

.hc-shell { display: none; }
body.honeycomb .bear-area { display: none; }

body.honeycomb .hc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "stage";
  flex: 1; min-height: 0;
}



.ln-page > .hc-layer {
  grid-area: 1 / 1;              
  min-height: 0;
  opacity: 0; visibility: hidden;
  transition: opacity calc(var(--hc-dur) * 1ms) ease, visibility 0s linear calc(var(--hc-dur) * 1ms);
}
.hc-shell[data-stop="today"]   .hc-layer[data-for="today"],
.hc-shell[data-stop="passage"] .hc-layer[data-for="passage"],
.hc-shell[data-stop="yours"]   .hc-layer[data-for="yours"],
.hc-shell[data-stop="author"]  .hc-layer[data-for="author"],
.hc-shell[data-stop="entry"]   .hc-layer[data-for="entry"] {
  opacity: 1; visibility: visible; transition-delay: 0s;
}

.hc-head-title { font: italic 500 var(--t-display)/1.2 'Lora', Georgia, serif; letter-spacing: 0.01em; color: var(--text); }

.yg-ph { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 10px 12px; text-align: center;
  outline: 1px dashed color-mix(in srgb, var(--label) 45%, transparent); outline-offset: -1px; }
.yg-icon { width: min(64px, 45%); aspect-ratio: 1; object-fit: contain; opacity: .8; }
.yg-name { font: var(--type-head); color: var(--text); }
.yg-line { font: var(--type-small); color: var(--label); max-width: 32ch; }

.yg-bear-picks { display: flex; gap: 6px; justify-content: center; margin: 2px 0 10px; }
.yg-bear-pick { width: 58px; height: 50px; border: 0; padding: 0; cursor: pointer; }
.yg-bear-pick .bear-hex-inner { width: 54px; height: 46px; }
.yg-bear-pick img { max-width: 50px; max-height: 42px; }


.hagstone-btn { background: none; border: 1px solid var(--border); border-radius: 5px; width: 24px; height: 24px;
  padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hagstone-btn img { width: 18px; height: 18px; object-fit: contain; }
.hagstone-btn:hover { border-color: var(--border-focus); }
.mob-icon-btn.hagstone-btn img { width: 20px; height: 20px; }
.hg-doors { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; flex-shrink: 0; }
.hg-door { width: 112px; height: 97px; padding: 0; border: 0; cursor: pointer; background: var(--border);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  display: flex; align-items: center; justify-content: center; }
.hg-door > span { width: 106px; height: 91px; background: var(--card); display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 0 16px; box-sizing: border-box;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  font: var(--type-control); color: var(--text); }
.hg-door:hover { background: var(--border-focus); }
.hg-door.is-open { background: var(--text); }
.hg-room { padding: 8px 0 40px; }

.yg-link { align-self: flex-start; background: none; border: 0; padding: 0; margin: 4px 0 0; cursor: pointer;
  font: var(--type-control); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.yg-link:hover { color: var(--text); }
.hg-bear-picks { margin: 0 0 14px; }


.hc-cell {
  transition: opacity calc(var(--hc-dur) * 1ms) ease, transform calc(var(--hc-dur) * 1ms) ease;
  transform-box: fill-box; transform-origin: center;
}
.hc-cell.dim { opacity: var(--hc-dim); transform: scale(var(--hc-shrink)); pointer-events: none; }
.hc-cell polygon { fill: var(--card); stroke: var(--label); stroke-width: 3; }
.hc-cell text { fill: var(--label); font: 600 56px Lora, Georgia, serif; text-anchor: middle; dominant-baseline: central; }
.hc-cell .hc-art { transform-box: fill-box; transform-origin: center; transform: scale(var(--hc-art)); }
.hc-door { cursor: pointer; outline: none; }
.hc-door:focus-visible polygon { stroke: var(--text); stroke-width: 6; }
.hc-dots { --fl-dot: 18px; display: flex; gap: 10px; justify-content: center; align-items: center; height: 100%; }


:root {
  --ln-straddle: 50;     
  --ln-page-gap: 6px;    
  --ln-bleed: 60px;      
  --ln-scale: 0.855;     
  --ln-edge: 10;         
  --ln-ghost: 0.45;      
  --ln-band-w: 0.5;      
  --ln-band-op: 0.4;     
  --ln-band-dot-op: 1;   
  --ln-band-reach: 320px;

  
  --cell-edge-1:  #8B7F55;   
  --cell-edge-2:  #D2A389;   
  --cell-edge-3:  #C9C0AD;   
  --cell-edge-4:  #5A2F24;   
  --cell-edge-5:  #DED3CD;   
  --cell-edge-6:  #B1BFD5;   
  --cell-edge-7:  #9C450E;   
  --cell-edge-8:  #DB8856;   
  --cell-edge-9:  #F9D085;   
  --cell-edge-10: #635958;   
  --cell-edge-11: #715442;   
}
.ln-stage { grid-area: stage; position: relative; min-height: 0; }


.ln-paper { position: absolute; left: var(--ln-page-l, 0px); top: var(--ln-page-top, 14px); bottom: var(--ln-page-foot, 26px); right: var(--ln-page-r, 380px);
  background: color-mix(in srgb, var(--bg) 35%, var(--card)); clip-path: var(--shear-lg); z-index: 5; }

.ln-page { position: absolute; left: var(--ln-page-l, 0px); top: var(--ln-page-top, 14px); bottom: var(--ln-page-foot, 26px); right: var(--ln-page-r, 380px); z-index: 7;
  box-sizing: border-box; padding: 22px var(--ln-page-pad, 30px) 22px 30px;
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }


.ln-stops { position: absolute; z-index: 4; left: 30px; bottom: 4px; display: flex; gap: 3px; align-items: flex-start; }
.ln-stops button { width: 40px; height: 30px; padding: 0 0 2px; border: 0; cursor: pointer;
  display: flex; align-items: flex-end; justify-content: center; clip-path: var(--shear-sm);
  background: color-mix(in srgb, var(--pc, var(--label)) 35%, var(--sunken));
  transition: transform .2s cubic-bezier(.65, 0, .35, 1), background .2s; }
.ln-stops img { width: 18px; height: 18px; object-fit: contain; display: block; }
.ln-stops button:hover { transform: translateY(2px); background: color-mix(in srgb, var(--pc, var(--label)) 25%, var(--sunken)); }
.ln-stops button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--text); }
#hc-shell[data-stop="today"] .ln-stops [data-stop="today"],
#hc-shell[data-stop="passage"] .ln-stops [data-stop="passage"],
#hc-shell[data-stop="yours"] .ln-stops [data-stop="yours"] {
  background: color-mix(in srgb, var(--bg) 35%, var(--card)); transform: translateY(4px); }

.ln-doors { position: absolute; z-index: 4; left: calc(var(--ln-page-l, 0px) + 30px); top: calc(var(--ln-page-top, 14px) - 26px);
  display: flex; gap: 4px; align-items: flex-end; }
.ln-doors button { width: 46px; height: 34px; padding: 2px 0 0; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: center; clip-path: var(--shear-sm);
  background: color-mix(in srgb, var(--pc, var(--label)) 35%, var(--sunken));
  transition: transform .2s cubic-bezier(.65, 0, .35, 1), background .2s; }
.ln-doors img { width: 22px; height: 22px; object-fit: contain; display: block; }

.ln-doors [data-author-page="author-4"] img { transform: none; }
.ln-doors button:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--pc, var(--label)) 25%, var(--sunken)); }
.ln-doors button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--text); }
.ln-doors button:is([aria-current="page"], .on) { background: color-mix(in srgb, var(--bg) 35%, var(--card)); transform: translateY(-4px); }

@media (min-width: 601px) {
  body.honeycomb { --ln-page-l: 30px; }
  .ln-stops { left: calc(var(--ln-page-l, 0px) - 26px); top: calc(var(--ln-page-top, 14px) + 30px); bottom: auto;
    flex-direction: column; gap: 4px; }
  .ln-stops button { width: 34px; height: 46px; padding: 0 0 0 2px; align-items: center; justify-content: flex-start; }
  .ln-stops img { width: 22px; height: 22px; }
  .ln-stops button:hover { transform: translateX(-2px); }
  #hc-shell[data-stop="today"] .ln-stops [data-stop="today"],
  #hc-shell[data-stop="passage"] .ln-stops [data-stop="passage"],
  #hc-shell[data-stop="yours"] .ln-stops [data-stop="yours"] { transform: translateX(-4px); }
}


[data-section][data-page], .fv-layer { --button: color-mix(in srgb, var(--page-colour) 90%, var(--card));
  --button-hover: color-mix(in srgb, var(--page-colour) 72%, var(--card)); --on-button: var(--text); }


:root {
  --bt-pad-x: 14px;    
  
  --bt-fixed-air: 24px; 
  --bt-fixed-open: calc(var(--cal-w) + 2 * var(--bt-pad-x) + var(--bt-fixed-air));
  --bt-fixed: var(--bt-fixed-open);
}

@property --bt-fixed { syntax: '<length>'; inherits: true; initial-value: 0px; }
body { transition: --bt-fixed 340ms cubic-bezier(.4, 0, .2, 1); }
body.bt-closed { --bt-fixed: 0px; }

[data-section="author"] { --bt-fixed: var(--bt-fixed-open); }

.bt-tile[data-fixed] > *, .bt-stack[data-fixed] > .bt-tile > * {
  width: calc(var(--bt-fixed-open) - 2 * var(--bt-pad-x));
}

.bt-stack[data-fixed] { overflow: hidden; }
body.bt-closed .bt-tile[data-fixed],
body.bt-closed .bt-stack[data-fixed] {
  visibility: hidden; transition: visibility 0s linear 340ms;
}
.bt-tile[data-fixed], .bt-stack[data-fixed] { transition: visibility 0s linear 0s; }
.bento { display: grid; gap: var(--bt-gap, 4px); min-height: 0; position: relative; }

.bt-spine { position: absolute; top: 0; bottom: 0; width: 0; z-index: 3;
  left: calc(var(--bt-fixed) + var(--bt-gap, 4px) / 2);
  border-left: 1px solid var(--rule); pointer-events: none; }

.bt-spine button { pointer-events: auto; position: absolute; top: 50%; left: 50%;
  translate: -50% -50%; width: 15px; height: 26px; padding: 0; border: 0; cursor: pointer;
  background: var(--card); color: var(--muted); font: var(--type-control);
  display: grid; place-items: center; transition: color 160ms ease; }
.bt-spine button:hover { color: var(--text); }
.bt-spine button svg.gi { width: 15px; height: 15px; }
.bt-spine button .gi-next, body.bt-closed .bt-spine button .gi-back { display: none; }
body.bt-closed .bt-spine button .gi-next { display: block; }
.bt-tile { position: relative; min-width: 0; min-height: 0; overflow: hidden; box-sizing: border-box;
  padding: 12px var(--bt-pad-x); display: flex; flex-direction: column; }

.bt-tile[data-tile="calendar"] { align-self: start; }

:root { --dayhex-compact: 55px; }
.bt-tile[data-tile="head"] .bear-area-heading { font-size: var(--t-display); }
.bt-tile[data-tile="head"] .sig-day-hex { width: var(--dayhex-compact); height: calc(var(--dayhex-compact) * 93.6 / 83.2); }
.bt-tile[data-tile="head"] .sig-hex-num { font-size: calc(var(--dayhex-compact) * .36); }

.bt-stack { display: flex; flex-direction: column; gap: var(--bt-gap, 4px); min-width: 0; min-height: 0; }
.bt-stack > .bt-tile, .bt-stack > .bt-row { align-self: stretch; flex: none; }

.bt-stack > :last-child { flex: 1 1 auto; }

.bt-row { display: flex; gap: var(--bt-gap, 4px); min-width: 0; min-height: 0; }
.bt-row > .bt-tile { flex: 1 1 0; min-width: 0; }


.bt-tile[hidden], .bt-stack[hidden] { display: none; }


.bt-tile[data-tile="log"] { justify-content: center; }
.bt-tile .log-row { padding-top: 0; }
.bt-tile .log-btn { flex: 1; text-align: center; }
.bt-tile[data-tile="sofar"] .tn-panels { flex: 1; min-height: 0; overflow-y: auto; }
.bt-tile[data-tile="note"] > #day-so-far { flex: 1; min-height: 0; }

.bt-tile[data-tile="note"] > #day-so-far { --dsf-h: auto; }

.bt-tile[data-tile="note"] .dsf-head-row { flex-wrap: wrap; row-gap: 6px; }
.bt-tile[data-tile="calendar"] > #cal-panel { margin-bottom: 0; }

body.honeycomb #today-nav { display: none; }


body.honeycomb .bt-tile[data-tile="door"] { overflow: visible; }   
body.honeycomb .bt-tile[data-tile="door"] > .bears-card {
  
  position: absolute; inset: 12px var(--bt-pad-x); z-index: 2;
  width: auto; height: auto; max-height: none;
  translate: none; transform: scale(.985);
}
body.honeycomb .bt-tile[data-tile="door"] > .bears-card.is-open { transform: scale(1); }

body.honeycomb .bt-tile[data-tile="compass"] > #today-compass-card {
  flex: 1 1 auto; min-height: 0; max-width: none; justify-content: flex-start;
  overflow-y: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
}
body.honeycomb .bt-tile[data-tile="compass"] > #today-compass-card::-webkit-scrollbar { display: none; }


#bento-passage .bt-tile > .pg-flat,
[data-section="yours"] .bt-tile > .pg-flat,
[data-section="author"] .bt-tile > .pg-flat {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none;
}
#bento-passage .bt-tile > .pg-flat::-webkit-scrollbar,
[data-section="yours"] .bt-tile > .pg-flat::-webkit-scrollbar,
[data-section="author"] .bt-tile > .pg-flat::-webkit-scrollbar { display: none; }

.hc-layer[data-for="author"] { position: relative; }

.au-room { padding: 2px 2px 14px; }

[data-section="author"] > .bt-stack { overflow-y: auto; scrollbar-width: none; }
[data-section="author"] > .bt-stack::-webkit-scrollbar { display: none; }
[data-section="author"] > .bt-stack > .bt-tile { flex: none; }



.sky-ov-card.au-exercise-card { max-width: 620px; max-height: min(88vh, 860px); overflow: hidden;
  display: flex; flex-direction: column; }
.au-exercise-head { padding: 22px 24px 4px 28px; flex-shrink: 0; }
.au-exercise-tabs { padding: 0 28px 4px; flex-shrink: 0; }
.au-exercise-tabs[hidden] { display: none; }

.au-exercise-body { min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 14px 28px 10px; }
.au-exercise-footer { flex-shrink: 0; padding: 12px 28px 24px; }
.au-exercise-footer[hidden] { display: none; }
.au-exercise-overlay :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.dyr { container-type: inline-size; font: var(--type-app); color: var(--text); }
.dyr button { cursor: pointer; }
.dyr textarea, .dyr input { box-sizing: border-box; }
.dyr-steps { margin: 0 0 18px; }   
.dyr-muted { color: var(--muted); }
.dyr-card { background: var(--card); border-radius: var(--radius); padding: 18px; margin: 0 0 14px; filter: var(--card-lift); }
.dyr-label { font: var(--type-label); letter-spacing: .14em; text-transform: uppercase; color: var(--label); margin: 0 0 8px; }
.dyr-page { width: 100%; }
.dyr-line { width: 100%; }
.dyr-field { width: 100%; }
.dyr-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.dyr-chip { border: 1px solid var(--border); background: var(--card); color: var(--text); padding: 6px 12px; border-radius: 999px; }
.dyr-chip:hover { background: var(--sunken); }
.dyr-chip.on { background: var(--button); border-color: var(--button); color: var(--on-button); }
.dyr-chip.quiet { color: var(--muted); }

.dyr-go { border: 0; background: var(--button); color: var(--on-button); padding: 9px 26px; clip-path: var(--shear-md); font-weight: 600; font-size: var(--t-ui); }
.dyr-go:hover:not(:disabled) { background: color-mix(in srgb, var(--button) 86%, var(--card)); }
.dyr-go:disabled { background: color-mix(in srgb, var(--sunken) 70%, var(--card)); color: var(--label); cursor: default; }

.dyr-link { border: 0; background: none; color: var(--muted); padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
.dyr-link:hover { color: var(--text); }
.dyr-nav { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 18px 0 0; }
.dyr-stuck { margin: 10px 0 0; }
.dyr-stuck summary { cursor: pointer; color: var(--muted); }
.dyr-stuck ul { margin: 8px 0 0 18px; font: var(--type-said); color: var(--muted); }
.dyr-w { cursor: pointer; border-radius: 3px; }
.dyr-w:hover { background: color-mix(in srgb, var(--gold) 30%, transparent); }
.dyr-quote { font: var(--type-said); margin: 0 0 6px; }

[data-section="yours"] .bt-tile > .pg-flat.yg-more {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent);
}



[data-section="passage"] .bt-tile[data-tile="compass"] { --radar-max: 170px; }

[data-section="yours"]   .bt-tile[data-tile="compass"] { --radar-max: 250px; }
.pg-door { display: flex; flex-direction: column; min-height: 0; gap: 8px; flex: 1 1 auto; }
.pg-door-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.pg-door-body::-webkit-scrollbar { display: none; }

:root { --door-tint: 7%; }
body.honeycomb .bt-tile[data-tile="door"] > .bears-card {
  background: color-mix(in srgb, var(--accent) var(--door-tint), var(--card-veil));
}

.door-rest { position: absolute; inset: 12px var(--bt-pad-x); z-index: 1; display: grid; place-items: center;
  padding: 24px; box-sizing: border-box; pointer-events: none;
  transition: opacity .22s ease, visibility 0s linear 0s; }
.door-rest::before { content: ''; position: absolute; inset: 0; clip-path: var(--shear-lg);
  background: color-mix(in srgb, var(--sunken) 40%, transparent); }
.door-rest p { position: relative; margin: 0; max-width: 28ch; text-align: center;
  font: var(--type-app); color: var(--label); }
#bt-door:has(> .bears-card.is-open) > .door-rest { opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility 0s linear .22s; }


body.honeycomb .ci-scrim { display: none; }



.ln-line { position: fixed; top: 0; bottom: 0; right: var(--ln-viewport-right, calc(-1 * var(--ln-bleed, 0px))); width: calc(var(--ln-w, 360px) + 30px); z-index: 9; overflow: hidden; clip-path: inset(0 var(--ln-crop-right, 0px) 0 var(--ln-crop-left, 0px)); pointer-events: none; }
.ln-cell { pointer-events: auto; }
.ln-line svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }


.ln-cell polygon { fill: var(--card); stroke: var(--edge); stroke-width: calc(var(--ln-edge) * 2);
  paint-order: stroke fill; stroke-linejoin: miter; }
.ln-door { cursor: pointer; outline: none; }
.ln-door:focus-visible polygon { stroke: var(--text); }

.ln-shadows polygon { fill: color-mix(in srgb, var(--edge) var(--fill-strength), var(--bg)); }

.ln-cell.dim { opacity: 0; pointer-events: none; }
.ln-shadows polygon.dim { fill: color-mix(in srgb, var(--edge) calc(var(--fill-strength) * var(--ln-ghost)), var(--bg)); }

.ln-cell { transition: opacity calc(var(--hc-dur) * 1ms) cubic-bezier(.65, 0, .35, 1); }
.ln-shadows polygon { transition: fill calc(var(--hc-dur) * 1ms) cubic-bezier(.65, 0, .35, 1); }

.ln-line svg.ln-snap .ln-cell, .ln-line svg.ln-snap .ln-shadows polygon { transition: none; }


.ln-band { position: absolute; top: 0; bottom: 0; right: calc(-1 * var(--ln-bleed, 0px)); height: 100%; z-index: 6; pointer-events: none;
  width: calc(var(--ln-w, 360px) + var(--ln-band-reach));
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
          mask-image: linear-gradient(to left, #000 55%, transparent 100%); }
.ln-band polygon, .ln-band circle { fill: none; stroke: var(--gold); stroke-width: var(--ln-band-w);
  opacity: var(--ln-band-op); vector-effect: non-scaling-stroke; }
.ln-band .bh { stroke-width: calc(var(--ln-band-w) * 2); }   

.ln-band circle { fill: var(--gold); opacity: var(--ln-band-dot-op); }


.fn { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
.fn-sec { display: flex; flex-direction: column; gap: 6px; }
.fn-lbl { font: var(--type-label); letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.fn-line { font: var(--type-app); color: var(--text); }
.fn-line--quiet { color: var(--muted); }
.fn-meta { font: var(--type-small); color: var(--muted); }
.fn-head { font: var(--type-head); color: var(--text); }
.fn-card { font: var(--type-app); color: var(--muted); }
.fn-q { font: var(--type-said); color: var(--text); }

.fn-pick { align-self: flex-start; text-align: left; background: none; border: 0; padding: 2px 0; cursor: pointer;
  font: var(--type-app); color: var(--text); }
.fn-pick::after { content: '  \2192'; color: var(--label); }
.fn-pick:hover, .fn-pick:hover::after { color: var(--action); }
.fn-pick.is-answered { color: var(--muted); }
.fn-back { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer;
  font: var(--type-control); color: var(--muted); }
.fn-back:hover { color: var(--text); }

.fn-box { width: 100%; box-sizing: border-box; margin-top: 4px; }


.fn-days { gap: 10px; }
.fn-day { display: flex; flex-direction: column; gap: 2px; }
.fn-day-head { display: flex; align-items: center; gap: 7px; font: var(--type-small); color: var(--text); }
.fn-sky { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sky, var(--label)); }
.fn-day.is-between .fn-day-head { font-weight: 400; color: var(--label); }

.fn-say { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }

.fn-say-name { margin-top: 22px; }

.bt-tile .fn-say-name { margin-top: 10px; }
.fn-say-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fn-say-field { display: flex; align-items: flex-start; gap: 6px; }
.fn-say-field .fn-box { margin-top: 0; }
.fn-say-field.is-keyword .fn-say-text { font: var(--type-focal); }
.fn-say-text { flex: 1; white-space: pre-wrap; font: var(--type-words); color: var(--text); }
.fn-say-pen { flex-shrink: 0; background: none; border: 0; padding: 0 2px; cursor: pointer; font-size: var(--t-ui); color: var(--label); line-height: 1.6; }
.fn-say-pen:hover { color: var(--text); }

.fn-say-prompt { flex: 1; text-align: left; background: none; border: 0; padding: 0; cursor: text; font: var(--type-said); color: var(--label); }
.fn-say-prompt:hover { color: var(--muted); }
.fn-say-field.is-keyword .fn-say-prompt { font: var(--type-said); }

.fn-say-thread:has(.fn-say-prompt) .fn-say-q { display: none; }
.fn-say-threads-page { gap: 10px; }
.fn-say-familiar { display: flex; flex-direction: column; gap: 6px; }
.fn-say-thread { display: flex; flex-direction: column; gap: 4px; }
.fn-say-q { font: var(--type-small); color: var(--muted); }
.fn-say-thread:has(.fn-say-text) .fn-say-q { font: var(--type-small); color: var(--muted); }

.fn-arcs { display: flex; flex-direction: column; gap: 10px; }

.fn-cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 32px; }
.fn-col { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.fn-col--say .fn-say { margin-top: 0; }

.mov-card > .fn-say:first-child { margin-top: 0; }

.fn-day.is-lead .fn-entry, .fn-day.is-lead .fn-entry b { color: var(--muted); }
.fn-entry { padding-left: 16px; font: var(--type-app); color: var(--muted); }
.fn-entry b { font: var(--type-words); color: var(--text); }
.fn-days.has-focus .fn-entry:not(.is-focus), .fn-days.has-focus .fn-entry:not(.is-focus) b { color: var(--muted); }


.fn-run { gap: 9px; }
.fn-run-day { display: flex; flex-direction: column; gap: 2px; }
.fn-run-day.is-open { gap: 4px; padding-bottom: 4px; }
.fn-run-day .fn-day-head { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.fn-run-day .fn-day-head:hover { color: var(--action); }
.fn-run-day.is-unlogged .fn-day-head { font-weight: 400; color: var(--label); }
.fn-run-words { padding-left: 16px; font: var(--type-said); color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fn-run-what { padding-left: 16px; font: var(--type-app); color: var(--muted); }
.fn-run-lens { color: var(--text); box-shadow: inset 0 -2px 0 var(--bear, var(--label)); }
.fn-run-quote { font-style: italic; color: var(--text); }


.fn-landmark { flex: none; display: inline-block; width: 8px; height: 8.47px; margin-left: 6px;
  background: var(--muted); clip-path: var(--hexclip); vertical-align: middle; }



.fn-dd, .fn-dd-body { display: flex; flex-direction: column; }
.fn-dd .fn-entry { padding-left: 0; }

:root { --fn-day-sky: .2; }
.fn-dd-head { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 9px; margin-bottom: 10px; }
.fn-dd-note { margin-top: 12px; font: var(--type-said); color: var(--text); }

.fn-dd-pen { margin-left: auto; align-self: center; border: 0; background: none; padding: 0 2px; cursor: pointer; font-size: var(--t-head); line-height: 1; color: var(--muted); }
.fn-dd-pen:hover, .fn-dd-pen[aria-expanded="true"] { color: var(--text); }
.fn-dd-pen:focus-visible { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 2px; }

.fn-dd-x { margin-left: auto; align-self: center; border: 0; background: none; padding: 2px 2px 2px 6px; cursor: pointer;
  font: 400 var(--t-body)/1 'Inter', system-ui, sans-serif; color: var(--muted); }
.fn-dd-pen + .fn-dd-x { margin-left: 0; }
.fn-dd-x:hover { color: var(--text); }
.fn-dd-x:focus-visible { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 2px; }
.fn-dd-notes { margin-top: 10px; }
.fn-dd-notes[hidden] { display: none; }
.fn-dd-notes > .fn-dd-note:first-child { margin-top: 0; }
.fn-dd-log-head { margin: 12px 0 2px; font: var(--type-app); font-weight: 600; color: var(--text); }
.fn-dd-log, .fn-dd-log-item { margin: 0 0 6px; font: var(--type-app); line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.fn-dd-log-item { padding-left: 10px; border-left: 2px solid color-mix(in srgb, var(--sky, var(--label)) 45%, transparent); }
.pn-past-actions { margin-top: 10px; }
.fn-dd-date { font: var(--type-label); letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.fn-dd-sky { font: var(--type-head); color: var(--text); }
.fn-dd--lifted { position: relative; overflow: hidden; margin-top: 10px; clip-path: var(--shear-lg);
  background: color-mix(in srgb, var(--sky) calc(var(--fn-day-sky) * 100%), var(--card)); }
.fn-dd--lifted .fn-dd-body { position: relative; z-index: 1; padding: 16px 18px; }
.fn-dd-band .cmb { position: absolute; bottom: -26px; right: -30px; width: 250px; height: 200px; z-index: 0; pointer-events: none; }


.fn-strip { display: flex; gap: 2px; height: 26px; align-items: flex-end; clip-path: var(--shear-sm); }
.fn-strip-cell { flex: 1 1 0; min-width: 6px; height: 20px; border: 0; padding: 0; cursor: pointer; background: var(--sky); }
.fn-strip-cell:hover { height: 23px; }
.fn-strip-cell.is-open { height: 26px; }

.fn-strip-cell.is-echo { height: 24px; }


.fn-micro { display: inline-flex; gap: 1px; flex: none; width: 64px; height: 10px; }
.fn-micro-cell { flex: 1 1 0; min-width: 2px; background: var(--sunken); }


.fn-plate { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 13px; border: 0; text-align: left; cursor: pointer;
  clip-path: var(--shear-md); background: var(--bg); }
.fn-plate:hover, .fn-plate:focus-visible { background: color-mix(in srgb, var(--bg) 40%, var(--card)); outline: none; }
.fn-plate-words { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fn-plate-lbl { font: var(--type-words); color: var(--text); }

.fn-plate-sub { font: var(--type-words); color: var(--muted); }
.fn-plate-go { flex: none; font: var(--type-control); color: var(--label); }
.fn-plate.is-answered .fn-plate-lbl { color: var(--muted); }

.fn-lit { display: flex; flex-direction: column; gap: 3px; }
.fn-lit:has(> .fn-lit-door) { gap: 0; }
.fn-lit > div.fn-line { padding: 5px 13px; }
.fn-lit-word { box-shadow: inset 0 -2px 0 var(--bear, var(--gold)); }
.fn-lit-door { display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px 13px; border: 0; background: none;
  text-align: left; cursor: pointer; font: var(--type-app); color: var(--text); }
.fn-lit-door:hover, .fn-lit-door:focus-visible { outline: none; clip-path: var(--shear-sm); background: color-mix(in srgb, var(--gold) 34%, var(--card)); }
.fn-lit-door .fn-plate-go { margin-left: 4px; }

.fn-carry { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 2px; }
.fn-carry-mark { display: inline-flex; padding: 3px; margin: -3px 0; opacity: .2; filter: grayscale(1); }
.fn-carry-mark img { width: 14px; height: 14px; object-fit: contain; }
.fn-carry-mark.is-held { opacity: 1; filter: none; }
.fn-carry-mark.is-picked { opacity: 1; filter: none; clip-path: var(--shear-sm); background: color-mix(in srgb, var(--gold) 45%, var(--card)); }

.fn-fold > .fn-fold-h { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; width: max-content; }
.fn-fold > .fn-fold-h::-webkit-details-marker { display: none; }
.fn-fold > .fn-fold-h > svg.gi { transition: transform .15s; }
.fn-fold[open] > .fn-fold-h > svg.gi { transform: rotate(90deg); }
.fn-fold > .fn-fold-h:hover, .fn-fold > .fn-fold-h:focus-visible { color: var(--text); outline: none; }
@media (prefers-reduced-motion: reduce) { .fn-fold > .fn-fold-h > svg.gi { transition: none; } }

.fn-strip:has(> .is-echo) > .fn-strip-cell:not(.is-echo),
.fn-bars:has(.fn-bar-cell.is-echo) .fn-bar-cell:not(.is-echo) { opacity: .28; }
.fn-strip-cell, .fn-bar-cell { transition: opacity .15s, height .15s; }
@media (prefers-reduced-motion: reduce) { .fn-strip-cell, .fn-bar-cell { transition: none; } }
.fn-days--linked { gap: 2px; }
.fn-day-link { width: calc(100% + 16px); padding: 6px 8px; margin: 0 -8px; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.fn-day-link:hover, .fn-day-link:focus-visible { outline: none; clip-path: var(--shear-sm); background: var(--sunken); }
.fn-day-link .fn-entry { padding-left: 16px; }

.fn-back--arrow { padding: 4px 12px 4px 0; font: 400 var(--t-head)/1 'Inter', system-ui, sans-serif; color: var(--label); }
.fn-back--arrow:hover, .fn-back--arrow:focus-visible { color: var(--text); }

.fn-flag { flex: none; display: inline-block; width: 9px; height: 9px; background: var(--gold, #c6a05a); }
.fn-flag--lit { clip-path: polygon(50% 0,65% 35%,100% 50%,65% 65%,50% 100%,35% 65%,0 50%,35% 35%); }
.fn-flag--past { background: #746b60; clip-path: polygon(15% 0,55% 0,100% 50%,55% 100%,15% 100%,60% 50%); }
.fn-run--strip > .fn-strip-ends { margin-bottom: -6px; }   

.fn-run.has-bears { --fn-gutter: 22px; }
.fn-run.has-bears > :is(.fn-strip-ends, .fn-strip, .fn-flag-key) { margin-left: var(--fn-gutter); }
.fn-bars { display: flex; flex-direction: column; gap: 1px; margin-top: -5px; }

.fn-flag-key { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: -4px; font-size: var(--t-micro); line-height: 1.6; color: var(--label); }
.fn-flag-key > span { display: inline-flex; align-items: center; gap: 5px; }
.fn-flag-key .fn-flag { width: 7px; height: 7px; }
.fn-bar-row { display: flex; align-items: center; gap: 6px; }

.fn-bar-bear { flex: none; width: 14px; height: 14px; margin: -1px 2px -1px 0; object-fit: contain; }
.fn-bar { flex: 1 1 auto; display: flex; gap: 2px; height: 10px; clip-path: var(--shear-sm); }
#bento-passage .fn-run--strip .fn-bar { min-width: max-content; }
.fn-bar-cell { flex: 1 1 0; min-width: 6px; height: 100%; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 1px;
  background: color-mix(in srgb, var(--label) 12%, var(--card)); }
.fn-bar-cell--present { background: var(--bear-c); }
.fn-bar-cell--deeper { background: color-mix(in srgb, var(--bear-c) 78%, var(--text)); }
.fn-bar-cell:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }

.fn-cell-flag { display: inline-flex; }
.fn-cell-flag .fn-flag { width: 7px; height: 7px; }

.fn-bear-flag { margin-left: 8px; vertical-align: 1px; }

.pn-close { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 11px 14px;
  clip-path: var(--shear-md); background: color-mix(in srgb, var(--page-colour, var(--sunken)) 16%, var(--card)); }
.pn-close-line { font: var(--type-app); color: var(--text); }
.pn-close-quiet { margin-top: 10px; font: var(--type-app); font-style: italic; color: var(--muted); }

#bento-passage.pv-one-card [data-tile="notice"] { margin-top: 18px; }
#bento-passage.pv-one-card [data-tile="notice"] .pn-card-title { display: none; }

.fn-seenrow { display: flex; align-items: center; gap: 11px; padding: 3px 13px; border: 0; background: none; cursor: pointer; text-align: left; }
.fn-seen-nm { font: var(--type-words); color: var(--text); }
.fn-seenrow:hover .fn-seen-nm { text-decoration: underline; text-decoration-color: var(--label); text-underline-offset: 3px; }


.fn-trays { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; align-items: start; }
.fn-tray { display: flex; flex-direction: column; gap: 7px; padding: 13px 13px 14px; clip-path: var(--shear-lg); background: var(--bg); }
.fn-tray .fn-line { font-size: var(--t-ui); }
.fn-tray-line { font: var(--type-app); color: var(--text); }
.fn-tray-door { display: flex; flex-direction: column; gap: 5px; padding: 9px 10px; border: 0; text-align: left; cursor: pointer;
  clip-path: var(--shear-sm); background: var(--card-veil); font: var(--type-app); color: var(--text); }
.fn-tray-door:hover, .fn-tray-door:focus-visible { background: var(--card); outline: none; }
.fn-tray-door.is-answered { color: var(--muted); }
.fn-tray-seen { display: flex; flex-direction: column; gap: 4px; font: var(--type-app); color: var(--muted); }


.fn-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fn-ncard { display: flex; flex-direction: column; gap: 7px; min-height: 104px; padding: 13px 13px 12px; border: 0; text-align: left; cursor: pointer;
  clip-path: var(--shear-lg); background: var(--bg); }
.fn-ncard:hover, .fn-ncard:focus-visible { background: color-mix(in srgb, var(--bg) 40%, var(--card)); outline: none; }
.fn-ncard .fn-micro { width: 100%; height: 12px; }
.fn-ncard-nm { font: var(--type-words); color: var(--text); }
.fn-ncard-sub { font: var(--type-small); color: var(--muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.fn-ncard.is-answered .fn-ncard-nm { color: var(--muted); }
.fn-cards--seen { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.fn-ncard--seen { min-height: 0; cursor: default; padding: 10px 11px; }
.fn-ncard--seen:hover { background: var(--bg); }
.fn-ncard--seen .fn-ncard-nm { font-weight: 400; color: var(--muted); }
.fn-strip-marks { display: flex; gap: 2px; height: 11px; }
.fn-strip-mark { flex: 1 1 0; min-width: 6px; display: flex; justify-content: center; align-items: center; }
.fn-strip-mark .fn-landmark { margin: 0; }
.fn-strip-ends { display: flex; justify-content: space-between; font: var(--type-label); letter-spacing: .1em; text-transform: uppercase; color: var(--label); }


.fn-sheet { display: grid; gap: 6px; }
.fn-tile { display: flex; flex-direction: column; gap: 4px; min-height: 62px; padding: 11px 9px 9px; border: 0; text-align: left; cursor: pointer;
  clip-path: var(--shear-sm); background: linear-gradient(var(--sky) 0 4px, transparent 4px), var(--bg); }
.fn-tile:hover { background: linear-gradient(var(--sky) 0 4px, transparent 4px), color-mix(in srgb, var(--bg) 50%, var(--card)); }
.fn-tile.is-open { background: linear-gradient(var(--sky) 0 4px, transparent 4px), color-mix(in srgb, var(--sky) var(--door-tint), var(--card-veil)); }
.fn-tile-date { display: flex; align-items: center; font: var(--type-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fn-tile.is-unlogged .fn-tile-date { color: var(--label); }
.fn-tile-cue { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.fn-tile-cue--words { font: var(--type-said); color: var(--text); -webkit-line-clamp: 3; }
.fn-tile-cue--who, .fn-tile-cue--what { font: var(--type-words); color: var(--muted); -webkit-line-clamp: 2; }


.fn-thread { overflow: hidden; }
.fn-th-track { display: flex; gap: 6px; align-items: stretch; will-change: transform;
  transition: transform calc(var(--hc-dur) * .6ms) cubic-bezier(.65, 0, .35, 1); }
.fn-th-day { flex: 0 0 44px; min-height: 190px; display: flex; flex-direction: column; overflow: hidden; clip-path: var(--shear-sm);
  background: linear-gradient(var(--sky) 0 5px, transparent 5px), var(--bg);
  transition: flex-basis calc(var(--hc-dur) * .6ms) cubic-bezier(.65, 0, .35, 1); }
.fn-th-track.is-placing, .fn-th-track.is-placing .fn-th-day { transition: none; }
.fn-th-day.is-focus { flex-basis: var(--th-w, 380px); clip-path: var(--shear-lg);
  background: linear-gradient(var(--sky) 0 5px, transparent 5px), color-mix(in srgb, var(--sky) var(--door-tint), var(--card-veil)); }
.fn-th-spine { flex: 1; border: 0; background: none; padding: 14px 0 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fn-th-spine .fn-landmark { margin: 0; }
.fn-th-spine-date { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
  font: var(--type-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fn-th-day.is-unlogged .fn-th-spine-date { color: var(--label); }
.fn-th-day.is-focus .fn-th-spine, .fn-th-day:not(.is-focus) .fn-dd { display: none; }
.fn-th-day.is-focus .fn-dd { min-width: var(--th-w, 380px); box-sizing: border-box; }
.fn-th-day.is-focus .fn-dd-body { padding: 14px 18px 16px; }
.fn-th-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; }
.fn-th-step { background: none; border: 0; padding: 0 6px; cursor: pointer; font: var(--type-control); color: var(--muted); }
.fn-th-step:hover { color: var(--text); }
.fn-th-step:disabled { color: var(--sunken); cursor: default; }
.fn-th-here { min-width: 72px; text-align: center; font: var(--type-label); letter-spacing: .1em; text-transform: uppercase; color: var(--label); }


.fn-split { align-self: flex-start; margin-top: 4px; }

.facets .fn-split { flex-wrap: wrap; height: auto; max-width: 100%; }
.facets .fn-split .ci-opt { height: var(--ans-h); }
.fn-trail { gap: 3px; }
.fn-trail b { font-weight: 600; color: var(--text); }
.fn-link { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer;
  font: var(--type-control); color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.fn-link:hover { color: var(--text); }


.gc-cloud-folder-picker {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
  box-sizing: border-box; padding: 24px; border: 0; margin: auto;
  background: var(--card); color: var(--text); font: inherit; clip-path: var(--shear-lg);
}
.gc-cloud-folder-picker::backdrop { background: color-mix(in srgb, var(--text) 35%, transparent); }
.gc-cloud-folder-picker h3 { margin: 0 0 12px; font: var(--type-head); }
.gc-cloud-folder-hint { color: var(--label); font: var(--type-app); line-height: 1.5; }
.gc-cloud-folder-path { overflow-wrap: anywhere; font: var(--type-control); }
.gc-cloud-folder-list { display: flex; flex-direction: column; gap: 6px; max-height: 40dvh; overflow-y: auto; }
.gc-cloud-folder-list button { text-align: left; white-space: normal; overflow-wrap: anywhere; }
.gc-cloud-folder-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }


#bt-door > .door-rest.has-card { pointer-events: auto; place-items: stretch; padding: 0; filter: var(--card-lift); }
#bt-door > .door-rest.has-card::before { display: none; }
.today-card { --sky: #EBCEAE; --tc-icon: 46px; position: relative; display: flex; flex-direction: column; min-height: 0; height: 100%;
  background: color-mix(in srgb, var(--sky) var(--door-tint), var(--card-veil)); clip-path: var(--shear-lg); overflow: hidden; transition: background .4s; }
.today-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--sky); transition: background .4s; }

.tc-daystrip { position: relative; z-index: 1; flex: none; padding: 20px 18px 4px 20px; }
.tc-daystrip .dsf-hours { margin: 0; }
.tc-body { position: relative; z-index: 1; flex: 1; min-height: 0; overflow-y: auto; padding: 10px 18px 18px 20px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 22px), transparent 100%); }
.tc-body::-webkit-scrollbar { display: none; }
.tc-stack { display: flex; flex-direction: column; gap: 6px; }
.tc-sec { --b: var(--bear-papa); --strip-c: var(--b); padding: 10px 12px; }
.tc-sec[data-tc-bear="mama"] { --b: var(--bear-mama); }
.tc-sec[data-tc-bear="baby"] { --b: var(--bear-baby); }
.tc-foundation { --b: var(--cell-edge-5, #DED3CD); }   

.tc-sky { --b: var(--sky); }
.tc-slot .tc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--g); flex: none; }
.tc-slot.tc-sky-blank { min-width: 64px; justify-content: center; }
.tc-sky-cols { display: grid; grid-template-columns: 2fr 1fr; column-gap: 10px; margin: 12px 0 10px; }
.tc-sky-two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.tc-sky-h { margin: 0 0 2px; padding: 0 3px; font-size: var(--t-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); opacity: .75; }
.tc-sky-grp + .tc-sky-grp { margin-top: 8px; }
.tc-sky-item { display: flex; align-items: center; gap: 6px; width: 100%; padding: 1px 3px; border: 0; background: none; cursor: pointer; text-align: left; white-space: nowrap;
  clip-path: var(--shear-sm); font: var(--type-words); color: var(--text); }
.tc-sky-item:hover { background: color-mix(in srgb, var(--g) 16%, transparent); }
.tc-sky-item.on { background: color-mix(in srgb, var(--g) var(--strip-open), var(--card)); font-weight: 600; }
.tc-sky-item i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); flex: none; }

.today-card { container: tc / inline-size; }
@container tc (max-width: 379px) {
  .tc-sky .tc-inner { padding-left: 0; }
}
@container tc (max-width: 319px) {
  .tc-sky-cols { grid-template-columns: 1fr; row-gap: 10px; }
  .tc-sky-cols > div:last-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; row-gap: 8px; }
  .tc-sky-cols > div:last-child > .tc-sky-grp { margin-top: 0; }
}

.tc-piece { --tc-icon: 46px; container: tc / inline-size; min-width: 0; }
.tc-piece .dsf-hours { margin: 0; }
.bento.tc-has-open .tc-sec:not(.on) { padding-top: 6px; padding-bottom: 6px; }
.bento.tc-has-open .tc-sec:not(.on) .tc-bear { width: calc(var(--tc-icon) * .8); height: calc(var(--tc-icon) * .8); }

.holding-stack { overflow-y: auto; scrollbar-width: none; gap: 12px; padding: 4px 4px 8px; }
.holding-stack::-webkit-scrollbar { display: none; }
.holding-stack > .bt-tile[data-tile="log"] { flex: 1 0 auto; }
.holding-lift { min-width: 0; min-height: 0; filter: var(--holding-lift); }
.holding-stack > .holding-lift { flex: none; }
.holding-card { position: relative; background: var(--card); clip-path: var(--shear-lg);
  padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.holding-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; z-index: 2;
  background: var(--holding-edge, var(--page-colour, #EBCEAE)); transition: background .4s; }
.holding-card > .bt-tile { padding: 0; overflow: visible; flex: none; }
.holding-card .tc-daystrip { padding: 8px 6px 4px; }

.holding-grid-lift { padding: 4px; box-sizing: border-box; }
.holding-grid-lift > .holding-card { height: 100%; box-sizing: border-box; min-height: 0; }
.holding-grid { display: grid; }
.holding-grid > .bt-tile { overflow: hidden; }
[data-section="author"] .holding-card .au-room { padding: 0; }
[data-section="author"] .holding-stack > .holding-lift > .holding-card { overflow: hidden; }
[data-section="author"] .holding-card > .bt-tile[data-tile="headSkies"],
[data-section="author"] .holding-card > .bt-tile[data-tile="headBears"],
[data-section="author"] .holding-card > .bt-tile[data-tile="headRW"] { padding-bottom: 6px; }

[data-section] > .holding-stack { overflow: hidden; }
.holding-stack > .holding-lift { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
.holding-stack > .holding-lift > .holding-card { flex: 0 1 auto; min-height: 0; overflow: hidden; }
.holding-stack > .holding-lift > .holding-card > .bt-tile { flex: 0 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.holding-stack > .holding-lift > .holding-card > .fold-head { flex: none; }
[data-section]:not([data-section="passage"]) > .holding-stack:has(> .holding-lift :is(.tc-sec.on, .tc-panel.is-open, .settings-frame-row.is-open, [aria-expanded="true"], details[open])) > .holding-lift:not(:has(:is(.tc-sec.on, .tc-panel.is-open, .settings-frame-row.is-open, [aria-expanded="true"], details[open]))) { flex-shrink: 0; }
[data-section]:not([data-section="passage"]) > .holding-stack > .holding-lift > .holding-card:has(> .bt-tile :is(.tc-sec.on, .tc-panel.is-open, .settings-frame-row.is-open, [aria-expanded="true"], details[open])) > .bt-tile:not(:has(:is(.tc-sec.on, .tc-panel.is-open, .settings-frame-row.is-open, [aria-expanded="true"], details[open]))) { flex-shrink: 0; overflow: visible; }

.tc-sec, .facets .settings-frame-row, .dyr-lens { overflow: clip; }

#bento-today [data-holding="bears"] > .holding-card > .bt-tile:not(:has(.tc-sec.on)) { flex: none; min-height: auto; overflow: visible; }
#bento-today [data-holding="bears"] > .holding-card > .bt-tile:has(.tc-sec.on) { flex: 0 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
#bento-today [data-holding="bears"] > .holding-card > .bt-tile:has(.tc-sec.on)::-webkit-scrollbar { display: none; }

[data-section] > .bt-stack:not(.holding-stack) { overflow: hidden; }
[data-section] > .bt-stack:not(.holding-stack) > .bt-tile:last-child { flex: 1 1 0; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }

[data-section="passage"] .holding-card .mov-card > .label:first-child { font: var(--type-head); letter-spacing: normal; text-transform: none; color: var(--text); margin: 0 0 8px; }
[data-section="passage"] .pn-card-title { margin: 0 0 8px; }


body.honeycomb > .topbar { justify-content: flex-start; gap: 20px; z-index: 10; }

@media(min-width:601px) {
  
  body.honeycomb { padding-top: 8px; gap: 6px; --ln-page-top: 30px; --ln-page-foot: 16px; }
  body.honeycomb > .topbar { padding-bottom: 0; }
}
.topbar-actions { margin-left: auto; }

.tb-page { display: none; background: none; border: 0; padding: 0 6px; min-height: 44px; font: var(--type-app); color: var(--muted); cursor: pointer; }
body.honeycomb .tb-page { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tb-page:hover { background: none; color: var(--action); clip-path: none; }
.tb-page.on { background: none; color: var(--on-action); clip-path: none; }
@media(min-width:601px) { body.honeycomb .tb-world-group .tb-page { padding: 0 14px 0 6px; } }
body.honeycomb .topbar :is(.tb-page,.tb-menu-btn) { position: relative; isolation: isolate; }
body.honeycomb .topbar :is(.tb-page,.tb-menu-btn)::before { content: ''; position: absolute; inset: 6px 0; z-index: -1; border-radius: 6px; background: transparent; }
body.honeycomb .topbar :is(.tb-page,.tb-menu-btn):hover::before { background: color-mix(in srgb,var(--action) 10%,transparent); }
body.honeycomb .topbar .tb-page.on::before { background: var(--action); }
.tb-world-group { display: none; align-items: center; flex-wrap: wrap; gap: 12px; }
body.honeycomb .tb-world-group { display: inline-flex; }

@media (min-width: 601px) { body.honeycomb .tb-world-group { display: none; } }

:root { --icon-gold: color-mix(in srgb, var(--gold) 70%, var(--text)); }
svg.gi { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; vertical-align: -.2em; }
svg.gi .gi-gold { stroke: var(--icon-gold); }
svg.gi text { fill: currentColor; stroke: none; }
.tb-icon-surface > svg.gi { width: 24px; height: 24px; }
.tb-menu, .topbar .tb-page.on, .topbar:has(.tb-meet.on) .tb-menu-btn { --icon-gold: var(--gold); }
.tb-icon-surface { position: relative; isolation: isolate; display: inline-grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; width: 32px; height: 32px; flex: none; }
.tb-icon-surface::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 6px; background: transparent; }
.topbar-actions :is(#settings-btn,.gc-cs-btn):hover { color: var(--action); }
.topbar-actions .gc-cs-btn:hover .tb-icon-surface::before { background: color-mix(in srgb,var(--action) 10%,transparent); }
.tb-meet { width: 44px; padding: 0; }
body.honeycomb .topbar-actions :is(#settings-btn,.gc-cs-btn) { box-sizing: border-box; height: 44px; min-width: 44px; margin: 0; border: 0; border-radius: 0; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--muted); cursor: pointer; }
body.honeycomb .topbar-actions .gc-cs-btn.needs { background: none; }
body.honeycomb .topbar-actions .gc-cs-btn.needs { color: var(--text); }
body.honeycomb .topbar-actions .gc-cs-btn.needs .tb-icon-surface::before { background: color-mix(in srgb,var(--warn) 45%,transparent); }
body.honeycomb .topbar-actions .gc-cs-btn[aria-expanded=true] { color: var(--action); }
body.honeycomb .topbar-actions :is(#settings-btn,.gc-cs-btn) svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.honeycomb .topbar :is(.tb-page,#settings-btn,.gc-cs-btn):focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
body.honeycomb #daily-btn, body.honeycomb #passage-btn, body.honeycomb #phase-btn, body.honeycomb #hagstone-btn { display: none !important; }

body.honeycomb .tb-line { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.honeycomb .topbar-actions :is(#settings-btn,.tb-meet) { display: none !important; }
@media(min-width:601px) {
  body.honeycomb > .topbar { display: grid; grid-template-columns: minmax(max-content,1fr) auto minmax(max-content,1fr); column-gap: 20px; }
  body.honeycomb > .topbar > .tb-world-group { grid-column: 1; grid-row: 1; justify-self: start; flex-wrap: nowrap; }
  body.honeycomb > .topbar > .brand { grid-column: 2; grid-row: 1; }
  body.honeycomb > .topbar > .topbar-actions { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
}
.tb-menu-wrap { display: none; }
body.honeycomb .tb-menu-wrap { display: inline-flex; position: relative; }
body.honeycomb .tb-menu-btn { box-sizing: border-box; height: 44px; min-width: 44px; margin: 0; border: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--muted); cursor: pointer; }
body.honeycomb .tb-menu-btn:hover { color: var(--action); }

body.honeycomb .topbar:has(.tb-meet.on) .tb-menu-btn { color: var(--on-action); }
body.honeycomb .topbar:has(.tb-meet.on) .tb-menu-btn::before { background: var(--action); }

body.honeycomb .tb-menu-btn[aria-expanded=true] { color: var(--on-action); }
body.honeycomb .topbar .tb-menu-btn[aria-expanded=true]::before { inset: 6px 0 0; border-radius: 6px 6px 0 0; background: var(--action); }
body.honeycomb .tb-menu-btn:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.tb-menu { position: absolute; top: 100%; right: 0; z-index: 650; width: min(300px, calc(100vw - 24px)); box-sizing: border-box;
  padding: 8px; background: var(--action); color: var(--on-action); border-radius: 8px 0 8px 8px;
  box-shadow: 0 10px 24px rgba(60,35,30,.22); text-align: left; white-space: normal; }
.tb-menu[hidden], .tb-help[hidden] { display: none; }
.tb-menu > button { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: start; width: 100%; padding: 10px; border: 0; border-radius: 6px; background: none; color: var(--on-action); text-align: left; cursor: pointer; font: inherit; }
.tb-menu > button:hover, .tb-menu > button[aria-expanded=true] { background: color-mix(in srgb,var(--on-action) 12%,transparent); }
.tb-menu > button:focus-visible { outline: 2px solid var(--on-action); outline-offset: -2px; }
.tb-menu .tb-icon-surface { color: var(--on-action); }
.tb-menu strong { display: block; font: var(--type-control); color: var(--on-action); padding-top: 4px; }
.tb-menu small { display: block; font: var(--type-small); color: color-mix(in srgb,var(--on-action) 72%,var(--action)); }
.tb-help { display: flex; flex-direction: column; padding: 2px 10px 8px 54px; }
.tb-help a { font: var(--type-app); color: var(--on-action); padding: 6px 0; text-decoration: none; }
.tb-help a:hover, .tb-help a:focus-visible { text-decoration: underline; outline: none; }

#bento-today [data-holding="calendar"] .tn-tabs, #bento-today [data-holding="calendar"] #dsf-panel { display: none !important; }

#bento-today > .bt-stack > .holding-lift[data-holding="sky"],
#bento-today > .bt-stack > .holding-lift[data-holding="sky"] > .holding-card { flex-grow: 1; min-height: 0; display: flex; flex-direction: column; }

#bento-today > .bt-stack > .holding-lift[data-holding="sky"] > .holding-card > #bt-sky { flex: 0 1 auto; min-height: 0; }
#bento-today > .bt-stack > .holding-lift[data-holding="sky"] > .holding-card > #bt-compass { flex: 1 1 0; min-height: 160px; display: flex; flex-direction: column; }

#bento-today [data-holding="sky"] #today-compass-host > div > div:has(> svg) { transition: flex-basis .34s cubic-bezier(.65, 0, .35, 1), min-height .34s cubic-bezier(.65, 0, .35, 1), opacity .2s, visibility 0s; }
#bento-today [data-holding="sky"]:has(#bt-sky .tc-sec.on) #today-compass-host > div > div:has(> svg) { flex-basis: 0; min-height: 0; opacity: 0; visibility: hidden; transition: flex-basis .34s cubic-bezier(.65, 0, .35, 1), min-height .34s cubic-bezier(.65, 0, .35, 1), opacity .2s, visibility 0s .34s; }
#bento-today > .bt-stack > .holding-lift[data-holding="sky"]:has(#bt-sky .tc-sec.on) > .holding-card > #bt-compass { flex: 0 1 auto; min-height: 60px; }
@media (prefers-reduced-motion: reduce) { #bento-today [data-holding="sky"] #today-compass-host > div > div:has(> svg) { transition: none !important; } }
#bento-today > .holding-grid-lift[data-holding="sky"] > .holding-grid { grid-template-rows: minmax(0, max-content) minmax(160px, 1fr) !important; }
#bento-today > .holding-grid-lift[data-holding="sky"] > .holding-grid > .bt-tile { grid-area: auto / 1 / auto / -1 !important; }
#bento-today [data-holding="sky"] #bt-sky { overflow-y: auto; scrollbar-width: thin; }
#bento-today [data-holding="sky"] #bt-sky .tc-sky { overflow: clip; }
#bento-today [data-holding="sky"] #today-compass-card { flex-direction: column; width: 100%; align-self: stretch; }
#bento-today [data-holding="sky"] #today-compass-host,
#bento-today [data-holding="sky"] #today-compass-host > div { width: 100%; box-sizing: border-box; align-self: stretch; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#bento-today [data-holding="sky"] #today-compass-host > div > div:has(> svg) { flex: 0 1 202px; min-height: 90px; align-self: center; margin-inline: auto; }
#bento-today [data-holding="sky"] #today-compass-host > div > div:has(> svg) + div { flex: 0 1 auto; min-height: 60px; }
#bento-today [data-holding="sky"] #today-compass-host > div > div:has(> svg) > svg { flex: 1 1 auto !important; width: 100%; height: 100%; min-width: 0 !important; max-width: none !important; }

#bento-passage .pn-head-line { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 14px; }
#bento-passage .pn-head-line .au-head-sub { margin: 2px 0 0; }

[data-section="passage"] > .bt-stack > .holding-lift[data-holding="shelves"] { flex-shrink: 10; }
[data-section="passage"] > .bt-stack > .holding-lift[data-holding="shelves"]:has(> .holding-card:not(.is-folded)) { min-height: 110px; }

[data-section="passage"] [data-holding="shelves"] .mov-card > .label:first-child { display: none; }
#bento-passage [data-tile="logPassage"] { display: flex; align-items: flex-end; padding: 0 4px; }
#bento-passage .pn-log-row { width: 100%; padding: 8px 0 0; }
.pn-log-help { display: none; }
#bento-passage .pn-log-row .log-btn { width: 100%; text-align: center; }
[data-section="passage"] .holding-card .mov-card > .label:empty { display: none; }
[data-section="passage"] [data-holding="reading"] .fn-say-head > .fn-lbl { display: none; }
[data-section="passage"] > .bt-stack > .holding-lift { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }

#bento-passage [data-holding] > .holding-card > [data-tile="compass"] { flex: none; }
#bento-passage [data-holding] [data-tile="compass"] > .pg-flat > div:has(> svg) { height: var(--pn-wheel, 170px); position: relative; overflow: hidden; }
#bento-passage [data-holding] [data-tile="compass"] > .pg-flat > div:has(> svg) > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pn-rw { display: flex; flex-direction: column; gap: 6px; }

#bento-passage .fn-run--strip { overflow-x: auto; scrollbar-width: thin; }
#bento-passage .fn-run--strip > :is(.fn-strip, .fn-strip-marks) { min-width: max-content; }
[data-section="passage"] > .bt-stack > .holding-lift > .holding-card { flex: 0 1 auto; min-height: 0; }
[data-section="passage"] .holding-card > .bt-tile { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
[data-section="passage"] .holding-card > .bt-tile > .pg-flat { scrollbar-width: thin; }
.pn-strip .pn-summary { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; text-align: left; }
.pn-strip .pn-line { display: block; font: var(--type-app); color: var(--text); }
.pn-strip div.tc-line { cursor: default; }
.pn-strip .tc-inner { padding-left: 0; }
@media (prefers-reduced-motion: reduce) { .holding-card::before { transition: none; } }

.bt-stack > .bt-tile[data-tile="log"] { justify-content: flex-end; }

.bt-stack > .bt-tile[data-tile="log"] .log-btn { flex: none; padding: 9px 26px; }

[data-section] > [data-under-float] { margin-bottom: 44px; }
[data-section] > .bt-tile[data-float] { position: absolute; right: 4px; bottom: 4px; z-index: 3; display: flex; width: auto; height: auto; padding: 0; overflow: visible; background: none; }
[data-section] > .bt-tile[data-float] .log-row { margin: 0; justify-content: flex-end; }
[data-section] > .bt-tile[data-float] .log-btn { flex: none; width: auto; padding: 9px 26px; }
#bento-passage > .bt-tile[data-float] { padding: 0; }
#bento-passage > .bt-tile[data-float] .pn-log-row { width: auto; padding: 0; }
#bento-passage > .bt-tile[data-float] .pn-log-row .log-btn { width: auto; padding: 9px 26px; }

#bt-door.over-pieces { z-index: 3; pointer-events: none; }
#bt-door.over-pieces > .door-rest { display: none; }
#bt-door.over-pieces:not(:has(> .bears-card.is-open)) { visibility: hidden; }
#bt-door.over-pieces > .bears-card { pointer-events: auto; }

.tc-note-sec { --b: #BECED1; }
.tc-note-sec .day-so-far { background: none; filter: none; clip-path: none; margin: 0; overflow: visible; --dsf-h: auto; }
.tc-note-sec .day-so-far::before { display: none; }
.tc-note-sec .dsf-col { background: none; clip-path: none; padding: 8px 0 4px; height: auto; overflow: visible; }
.tc-note-sec .dsf-head { display: none; }
.tc-note-sec .dsf-head-row { justify-content: flex-start; flex-wrap: wrap; row-gap: 6px; }

.tc-stack.has-open .tc-sec:not(.on) { padding-top: 6px; padding-bottom: 6px; }
.tc-stack.has-open .tc-sec:not(.on) .tc-bear { width: calc(var(--tc-icon) * .8); height: calc(var(--tc-icon) * .8); }
.tc-line { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.tc-foundation .tc-line { cursor: default; }
.tc-bear { width: var(--tc-icon); height: var(--tc-icon); object-fit: contain; flex: none; transition: width .3s, height .3s; }
.tc-say { font: var(--type-head); color: color-mix(in srgb, var(--b) 62%, var(--text)); }
.tc-foundation .tc-say { color: color-mix(in srgb, var(--b) 40%, var(--text)); }
.tc-ph { margin-left: auto; font-size: var(--t-micro); letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.tc-slot { display: inline-flex; align-items: center; gap: 7px; vertical-align: baseline; margin: 2px 0; padding: 0 14px;
  clip-path: var(--tagcut-para); font: var(--type-focal); font-style: italic; color: var(--label);
  background: color-mix(in srgb, var(--sunken) 60%, var(--card)); }
.tc-line:hover .tc-slot { background: color-mix(in srgb, var(--b) 22%, var(--card)); }
.tc-slot.full { font-style: normal; font-weight: 400; color: var(--text); background: color-mix(in srgb, var(--g, var(--b)) 24%, var(--card)); }
.tc-slot.open { background: color-mix(in srgb, var(--b) 40%, var(--card)); color: var(--text); }
.tc-subj { margin-left: 4px; font-weight: 400; color: var(--muted); }
.tc-gem { flex: none; display: inline-block; width: 12px; height: calc(12px * 18 / 17); clip-path: var(--hexclip);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--g) 66%, white) 0 50%, color-mix(in srgb, var(--g) 84%, black) 50% 100%); }
.tc-slot .tc-gem { width: 11px; height: calc(11px * 18 / 17); }
.tc-logged { display: flex; flex-direction: column; gap: 1px; margin: 4px 0 0; }
.tc-row { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; cursor: pointer; text-align: left;
  padding: 3px 6px; margin-left: -6px; clip-path: var(--shear-sm); font: var(--type-small); color: var(--text); }
.tc-row:hover { background: color-mix(in srgb, var(--b) 12%, transparent); }
.tc-row.editing { background: color-mix(in srgb, var(--b) 30%, var(--card)); }
.tc-row .t { width: 86px; flex: none; font: var(--type-small); color: var(--muted); }
.tc-row .m i { color: var(--muted); }
.tc-row .meta { font: var(--type-words); color: var(--muted); }
.tc-fold { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .34s cubic-bezier(.65, 0, .35, 1), opacity .22s; }
.tc-fold.shown { grid-template-rows: 1fr; opacity: 1; }
.tc-fold > div { overflow: hidden; min-height: 0; }
.tc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.65, 0, .35, 1); }
.tc-panel.is-open, .tc-panel.closing { grid-template-rows: 1fr; }
.tc-inner { overflow: hidden; min-height: 0; padding-left: calc(var(--tc-icon) + 12px); }
.tc-lbl { margin: 14px 0 6px; font: var(--type-small); color: var(--label); }
.tc-val { margin-left: 6px; color: var(--muted); }
.tc-hours { display: grid; grid-template-columns: repeat(var(--n), 1fr); column-gap: 2px; }
.tc-hours .hl { height: 14px; font-size: var(--t-meta); color: var(--label); white-space: nowrap; }
.tc-hours .hc { height: 22px; padding: 0; border: 0; cursor: pointer; background: color-mix(in srgb, var(--sunken) 70%, var(--card)); }
.tc-hours .hc:hover { background: color-mix(in srgb, var(--b) 30%, var(--card)); }
.tc-hours .hc.on { background: var(--b); }
.tc-hours .hc.mine { background: color-mix(in srgb, var(--b) 55%, var(--card)); }
.tc-tabs, .tc-usual { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.tc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border: 0; cursor: pointer; clip-path: var(--tagcut-para);
  background: transparent; font-size: var(--t-ui); font-weight: 500; color: var(--muted); }
.tc-tab:hover { color: var(--text); background: color-mix(in srgb, var(--g) 12%, transparent); }
.tc-tab.on { color: var(--text); background: color-mix(in srgb, var(--g) var(--strip-open), var(--card)); }
.tc-tab .n { color: var(--label); font-weight: 400; }
.tc-tray { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; padding: 10px 12px; clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--sunken) 50%, var(--card)); }
.tc-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 16px; border: 0; cursor: pointer; clip-path: var(--tagcut-para);
  font-size: var(--t-ui); font-weight: 500; color: var(--text); background: color-mix(in srgb, var(--g) 16%, var(--card)); }
.tc-chip:hover { background: color-mix(in srgb, var(--g) 30%, var(--card)); }
.tc-chip.on { background: color-mix(in srgb, color-mix(in srgb, var(--g) calc(100% - var(--selected-shade)), var(--text)) var(--selected-fill), var(--card)); }
.tc-chip.add { color: var(--muted); background: color-mix(in srgb, var(--label) 14%, transparent); }

.tc-chip .tc-x { margin: 0 -6px 0 2px; padding: 0 2px; font-size: var(--t-meta); color: var(--label); visibility: hidden; }
.tc-chip:hover .tc-x, .tc-chip:focus-visible .tc-x { visibility: visible; }
.tc-chip .tc-x:hover { color: var(--text); }
.tc-removed { margin: 6px 0 0; font-size: var(--t-meta); color: var(--muted); }
.tc-removed .tc-ghost { margin-left: 4px; font-size: var(--t-meta); }
.tc-usual .tc-chip { padding: 7px 18px; }

.tc-strip { gap: 4px 0; }
.tc-strip > .tc-chip + .tc-chip { margin-left: calc(2px - var(--cut-tag)); }
.tc-strip > .tc-ghost { margin-left: 10px; }
.tc-strip > .tc-input, .tc-strip > .tc-add-row { margin-left: 10px; }
.tc-input { width: 160px; }
.tc-ans { display: inline-flex; clip-path: var(--shear-sm); background: color-mix(in srgb, var(--sunken) 70%, var(--card)); }
.tc-ans button { min-width: var(--opt-w); height: calc(var(--ans-h) + 6px); padding: 0 14px; border: 0; cursor: pointer;
  background: transparent; font-size: var(--t-ui); color: var(--muted); }
.tc-ans button.on { background: color-mix(in srgb, color-mix(in srgb, var(--b) calc(100% - var(--selected-shade)), var(--text)) var(--selected-fill), var(--card)); color: var(--text); }
.tc-note { display: block; box-sizing: border-box; width: 100%; margin-top: 14px; }

.tc-sky-noterow .m { font-style: italic; color: var(--muted); }
.tc-extras { margin-top: 14px; }
.tc-ghost { padding: 4px 0; border: 0; background: none; cursor: pointer; font-size: var(--t-ui); font-weight: 500; color: var(--muted); }
.tc-ghost:hover { color: var(--text); }
.tc-back { display: block; margin: 0 0 6px; }
.tc-go { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 16px 0 4px; }
.tc-add { padding: 9px 18px; border: 0; cursor: pointer; clip-path: var(--shear-md); font-size: var(--t-ui); font-weight: 600;
  color: var(--text); background: color-mix(in srgb, var(--b) 34%, var(--card)); }
.tc-add:hover { background: color-mix(in srgb, var(--b) 48%, var(--card)); }
.tc-done { padding: 9px 26px; border: 0; cursor: pointer; clip-path: var(--shear-md); font-size: var(--t-ui); font-weight: 600;
  color: var(--on-button); background: var(--button); }
.tc-done:hover { background: color-mix(in srgb, var(--button) 86%, var(--card)); }
.tc-remove { margin-right: auto; color: var(--danger); }
@media (prefers-reduced-motion: reduce) { .tc-fold, .tc-panel, .tc-bear { transition: none; } }


.tc-sec, .facets .settings-frame-row, .dyr-lens {
  position: relative;
  clip-path: var(--shear-md);
  filter: none;
  background: color-mix(in srgb, var(--strip-c) var(--strip-rest), var(--card));
  transition: background .32s cubic-bezier(.65, 0, .35, 1);
}
.tc-sec:hover, .facets .settings-frame-row:hover, .dyr-lens:hover { background: color-mix(in srgb, var(--strip-c) var(--strip-hover), var(--card)); }
.tc-sec.on, .facets .settings-frame-row.is-open, .dyr-lens.on { background: color-mix(in srgb, var(--strip-c) var(--strip-open), var(--card)); }

.tc-sec[style*="--cell-edge-3"] { --strip-rest: 25%; --strip-hover: 38%; --strip-open: 50%; }
.tc-sec::after, .facets .settings-frame-row::after, .dyr-lens::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: 0; top: 0; right: calc(-1 * var(--strip-band-right)); bottom: calc(-1 * var(--strip-band-drop));
  opacity: var(--strip-band); background: var(--strip-c);
  -webkit-mask-image: var(--band-art); mask-image: var(--band-art);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: var(--strip-band-w) calc(var(--strip-band-w) * var(--strip-band-ratio));
          mask-size: var(--strip-band-w) calc(var(--strip-band-w) * var(--strip-band-ratio));
  -webkit-mask-position: right bottom; mask-position: right bottom;
  transition: opacity .2s;
}
.tc-sec:hover::after, .facets .settings-frame-row:hover::after, .dyr-lens:hover::after { opacity: calc(var(--strip-band) * 1.5); }
.tc-sec > *, .facets .settings-frame-row > *, .dyr-lens > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) { .tc-sec, .facets .settings-frame-row, .dyr-lens { transition: none; } }


  .rw-journey { --b: var(--label); --g: var(--label); }   
.rl-lift { filter: var(--card-lift); }                     
.rl-card { background: var(--card); clip-path: var(--shear-lg); padding: 22px 24px 20px; }
.rl-title { margin: 0 0 10px; font: var(--type-head); }
.rl-lead { margin: 0 0 12px; font: var(--type-said); color: var(--muted); }
.rl-piece { margin: 0 0 10px; font: var(--type-focal); }
.rl-asked { margin: 0 0 4px; font: var(--type-said); color: var(--muted); }
.rl-said { margin: 0 0 4px; font: var(--type-said); color: var(--muted); }
.rl-said.rl-stmt { font: var(--type-words); color: var(--text); }
.rl-kind, .rl-said.rl-kind { display: block; margin: 10px 0 4px; font: var(--type-label); letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.rl-chain-q { font-style: italic; }
.rl-q { margin: 16px 0 6px; font: var(--type-head); }
.rl-card > .rl-q:first-child, .rl-lead + .rl-q { margin-top: 0; }
.rl-hint { margin: 0 0 10px; font-size: var(--t-meta); line-height: 1.5; color: var(--muted); }
.rl-hint.rl-after { margin: 8px 0 0; }
.rl-text { margin: 0 0 10px; font: var(--type-app); }
.rl-said.rl-small { margin: 0 0 2px; font: var(--type-said); color: var(--muted); }
.rl-label { margin: 10px 0 0; }
.rl-card-nos { margin: 4px 0 6px; }
.rl-arrive { margin: 16px 0 0; font: var(--type-app); white-space: pre-line; }
.rl-box { margin-top: 4px; }
.rl-ans { flex-wrap: wrap; margin: 4px 0 6px; }
.rl-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.rl-nos { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; margin-right: auto; }
.rl-go { padding: 9px 18px; border: 0; cursor: pointer; clip-path: var(--shear-md); background: var(--button); color: var(--on-button);
  font: var(--type-control); }
.rl-go:hover { background: var(--button-hover); }
.rl-go:disabled { opacity: .4; cursor: default; }
.rl .tc-ghost.on { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.rl .dyr-row { gap: 4px 14px; }
.rl-ways { margin: 0 0 12px; }
.rl-days { margin: 4px 0 12px; }
.rl-days .tc-chip { cursor: default; }
.rl-frames { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 6px; }
.rl-fname { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: var(--t-meta); color: var(--muted); }
.rl-piece-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 12px; margin: 0 0 6px; padding: 8px 12px; clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--sunken) 60%, var(--card)); }
.rl-piece-row.set .rl-piece-words { color: var(--muted); }
.rl-piece-words { flex: 1; font: var(--type-words); }
.rl-bears { flex-basis: 100%; display: flex; gap: 12px; }
.rl-w { cursor: pointer; }
.rl-w:hover { background: color-mix(in srgb, var(--gold) 30%, transparent); }
.rl-mark { border: 0; background: none; padding: 0 3px; cursor: pointer; color: var(--label); font: var(--type-control); }
.rl-mark:hover { color: var(--action); }
.rl-list { display: flex; flex-direction: column; gap: 6px; margin: 6px 0; }
.rl-pick { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; padding: 8px 12px; clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--sunken) 60%, var(--card)); font: var(--type-words); color: var(--text); }
.rl-pick:hover { background: var(--sunken); }
.rl-pick .rl-kind { margin: 0 0 2px; }
.rl-readback { margin: 0 0 12px; }


.rw-body-wings { max-height: 100%; overflow-y: auto; color: var(--muted); }
.rw-body-row { margin: 6px 0 10px; }
.rw-body-words { margin: 0 0 2px; font: var(--type-words); }
.rw-body-wings .tc-ghost { font: var(--type-control); padding: 1px 0; color: var(--muted); }


:root { --well-rest: 45%; --well-hover: 55%; --well-rim: 70%; }
:is(.well, textarea, input:where(:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"], [type="hidden"], [type="button"], [type="submit"], [type="reset"], [type="image"]))) {
  display: block; box-sizing: border-box; width: 100%; min-width: 0; margin: 0;
  border: 0; border-radius: 0; outline: none; filter: none; box-shadow: none;
  clip-path: var(--shear-md); padding: 7px 12px;
  background: color-mix(in srgb, var(--well-c, var(--sunken)) var(--well-rest), var(--card));
  color: var(--text); font: var(--type-words);
  letter-spacing: normal; transition: background .2s cubic-bezier(.65, 0, .35, 1);
}
:is(textarea, .well.multi) { min-height: 64px; height: 64px; padding: 10px 12px; resize: vertical; overflow: auto; }
:is(.well, textarea, input:where(:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"], [type="hidden"], [type="button"], [type="submit"], [type="reset"], [type="image"]))):hover {
  background: color-mix(in srgb, var(--well-c, var(--sunken)) var(--well-hover), var(--card));
}
:is(.well, textarea, input:where(:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"], [type="hidden"], [type="button"], [type="submit"], [type="reset"], [type="image"]))):focus {
  background: var(--card); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--well-c, var(--sunken)) var(--well-rim), var(--card));
}
:is(.well, textarea, input)::placeholder { color: var(--label); font: var(--type-said); opacity: 1; }
:where(.tc-sec, .settings-frame-row) :is(.well, textarea, input) { --well-c: var(--strip-c, var(--sunken)); }
input[type="date"] { width: auto; font: var(--type-control); font-weight: 400; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .45; cursor: pointer; }
.ui-field-label { font: var(--type-label); letter-spacing: .08em; text-transform: uppercase; color: var(--label); margin: 0 0 5px; }
.well-q, .fn-say-q, .fn-q, .au-meet-q, .rw-label:has(textarea, input), .ui-field-label:has(+ textarea, + input) {
  font: var(--type-said); color: var(--muted); text-transform: none; letter-spacing: normal;
}
.well-q { display: block; margin: 14px 0 6px; }
.well-q:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  :is(.well, textarea, input) { transition: none; }
}



.xc-invite-lift { box-sizing: border-box; padding: 0 6px 8px 0; }
.xc-invite { padding: 22px 22px 20px; gap: 0; box-sizing: border-box; }
.xc-invite h3 { margin: 0; font: var(--type-head); color: color-mix(in srgb, var(--xc-c) 62%, var(--text)); }
.xc-invite.xc-pale h3 { color: color-mix(in srgb, var(--xc-c) 40%, var(--text)); }
.xc-invite > p { margin: 0 0 10px; font-size: var(--t-body); line-height: 1.6; color: var(--text); }
.xc-invite > .xc-parts { margin: 0 0 16px; font-size: var(--t-meta); color: var(--label); }
.xc-invite .gc-exercise-summary b { font-weight: 600; }
.xc-invite > .tc-done { align-self: flex-start; margin-top: auto; }
.xc-ihead { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.xc-icon { width: 46px; height: 46px; object-fit: contain; flex: none; }
.xc-icon.lg { width: 54px; height: 54px; }


.xc-paper-lift { width: 100%; max-width: 620px; }
.xc-paper-lift > .sky-ov-card { filter: none; }
.sky-ov-card.xc-paper { padding: 0; gap: 0; border-radius: 0; clip-path: var(--shear-lg); }
.xc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.xc-head .xc-ihead { margin: 0; }
.xc-head h2 { margin: 0; font: var(--type-title); color: var(--text); }
.xc-x, .xc-paper .xc-head .sky-ov-x { position: static; flex: none; border: 0; background: none; padding: 4px; opacity: 1;
  font: var(--type-control); color: var(--muted); cursor: pointer; }
.xc-x:hover, .xc-paper .xc-head .sky-ov-x:hover { color: var(--text); }
.xc-foot { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.xc-foot > .tc-ghost:first-child { margin-right: auto; }


.gc-save-foot { flex-wrap: wrap; gap: 8px 14px; padding: 12px 14px 14px; grid-column: 1 / -1; }
.gc-save-foot > .gc-save-download { order: 2; }
.gc-save-foot .gc-save-object { transition: opacity .25s; }
.gc-save-foot:not(.is-dirty):not(.is-just):not(.is-warn) .gc-save-object { opacity: .45; }
.gc-save-foot:not(.is-dirty):not(.is-just):not(.is-warn) .gc-save-word { visibility: hidden; }
.gc-save-foot.is-warn .gc-save-word { color: var(--danger, #A2401C); }

@media (max-width: 600px) { body.pd-deck .gc-save-foot { margin-bottom: 54px; } }


.gc-leave { position: fixed; inset: 0; z-index: 9100; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(38, 30, 22, .44); }
.gc-leave-card { position: relative; width: 100%; max-width: 340px; background: var(--card); padding: 20px 20px 14px;
  clip-path: var(--shear-lg); filter: drop-shadow(0 18px 40px rgba(40, 30, 20, .32)); }
.gc-leave-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--pc); }
.gc-leave-card h2 { font: var(--type-head); margin: 4px 30px 6px 0; }
.gc-leave-card p { font: var(--type-words); color: var(--muted); margin: 0 0 12px; }
.gc-leave-x { position: absolute; top: 12px; right: 10px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.gc-leave-go { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; }
.gc-leave-discard { padding: 9px 18px; border: 0; cursor: pointer; clip-path: var(--shear-md); font-size: var(--t-ui); font-weight: 600;
  color: var(--text); background: color-mix(in srgb, var(--pc) 16%, var(--card)); }
.gc-leave-discard:hover { background: color-mix(in srgb, var(--pc) 26%, var(--card)); }
@media (prefers-reduced-motion: no-preference) {
  .gc-leave { animation: gcLeaveFade .16s ease-out; }
  .gc-leave-card { animation: gcLeaveRise .2s cubic-bezier(.2, .7, .3, 1); }
}
@keyframes gcLeaveFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes gcLeaveRise { from { opacity: 0; transform: translateY(10px) scale(.985) } to { opacity: 1; transform: none } }


.gc-close-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gc-close-row .pn-close-later { margin: 0; }
.gc-close-quiet { margin-top: 10px; padding: 0 14px 12px; font: var(--type-app); font-style: italic; color: var(--muted);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gc-close-quiet .gc-close-this { font-style: normal; }
.gc-save-foot > .gc-close-when { font: var(--type-app); font-size: var(--t-ui); color: var(--muted); flex-basis: 100%; }
.gc-save-foot > .gc-close-keep { margin-right: auto; }


body.honeycomb #bt-log, body.honeycomb .ph-log, body.honeycomb #bento-passage [data-tile="logPassage"] { display: none !important; }


.xc-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; clip-path: var(--shear-md); }
.xc-step, .dyr .xc-step { margin: 0; border: 0; border-radius: 0; padding: 8px 10px 7px; text-align: left; cursor: pointer;
  background: color-mix(in srgb, var(--sunken) 70%, var(--card)); font: var(--type-control); color: var(--muted); }
.xc-step::before { content: attr(data-n); display: block; margin-bottom: 1px; font-size: var(--t-micro); letter-spacing: .08em; color: var(--label); }
.xc-step:hover { color: var(--text); }
.xc-step.on, .xc-step[aria-pressed="true"] { background: color-mix(in srgb, var(--xc-c, var(--label)) var(--strip-open), var(--card)); color: var(--text); font-weight: 600; }


.xc-h { margin: 4px 0 8px; font: var(--type-head); color: var(--text); }
.xc-lead { margin: 0 0 10px; max-width: 64ch; font: var(--type-app); line-height: 1.65; color: var(--text); }

.xc-well { margin: 12px 0 16px; padding: 12px 14px; clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--sunken) 45%, var(--card)); font: var(--type-app); line-height: 1.6; color: var(--muted); }
.xc-well b, .xc-well strong { color: var(--text); font-weight: 600; }
.xc-stack { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 10px; }
.xc-paper .tc-inner, .rw-editor .tc-inner { padding-left: 0; }

.xc-paper .tc-sec, .rw-editor .tc-sec { overflow: clip; }
.xc-sline { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.xc-sright { display: flex; align-items: center; gap: 8px; }
.xc-q { margin: 1px 0 0; font: var(--type-said); color: var(--muted); }
.xc-hint { margin: 4px 0 0; font: var(--type-small); line-height: 1.55; color: var(--label); }
.xc-quiet { margin: 6px 0 0; font: var(--type-small); line-height: 1.55; color: var(--muted); }
.xc-quiet b { color: var(--text); font-weight: 600; }
.xc-lbl { margin: 12px 0 6px; font: var(--type-label); color: var(--label); }
.xc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 2px; }
.xc-go { display: block; margin-top: 8px; }
.xc-add { align-self: flex-start; margin-top: 4px; }
.xc-kind { font: var(--type-label); letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.xc-kind-mark { display: inline-flex; align-items: center; gap: 2px; }
.xc-kind-mark img { width: 16px; height: 16px; object-fit: contain; }
.xc-pale .tc-say, .tc-sec.xc-pale .tc-say { color: color-mix(in srgb, var(--b) 40%, var(--text)); }

.rw-editor .tc-ans { display: flex; width: 100%; }
.rw-editor .tc-ans button { flex: 1 1 0; min-width: 0; padding: 0 6px; }


.rw-editor { container: rw / inline-size; }
.xc-pagehead { margin: 0 0 6px; font: var(--type-title); color: var(--text); }
.xc-pagesub { margin: 0 0 14px; max-width: 64ch; font: var(--type-app); line-height: 1.6; color: var(--muted); }
.rw-editor .rw-status:empty { margin: 0; }
.xc-rw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; padding: 0 6px 8px 0; }
.xc-rw > .xc-full { grid-column: 1 / -1; }
@container rw (max-width: 560px) { .xc-rw { grid-template-columns: minmax(0, 1fr); } }
.xc-ctitle { margin: 0; font: var(--type-head); color: color-mix(in srgb, var(--xc-c) 62%, var(--text)); }
.xc-csub { margin: 0 0 6px; font: var(--type-small); color: var(--muted); }
.xc-rwcard .xc-stack { margin: 0; }
.xc-words { flex: 1; min-width: 0; font: var(--type-words); color: var(--text); overflow-wrap: anywhere; }
.xc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 5px 0 0; font: var(--type-small); color: var(--muted); }
.xc-meta .rw-evidence { margin: 0; font: var(--type-small); color: var(--muted); }
.xc-link { display: inline-flex; align-items: center; gap: 5px; }
.xc-link .tc-gem { width: 10px; height: calc(10px * 18 / 17); }
.xc-carry .tc-line { flex-wrap: wrap; gap: 4px 12px; }
.xc-carry .tc-slot { font-size: var(--t-head); }
.rw-editor .tc-sec .rw-input { margin: 0; }
.rw-editor .tc-go { flex-wrap: wrap; }
.rw-editor .rw-parts { margin: 6px 0 0; }

@media (min-width: 601px) {
  [data-page="author-4"] > .bt-tile:is([data-tile="day"], [data-tile="rw"]) > .au-room { display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
  [data-page="author-4"] > .bt-tile[data-tile="day"] > .au-room > .holding-lift:has(> .dyr-page-card) { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .dyr-page-card { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .dyr-page-card > .dyr-page-body { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  [data-page="author-4"] > .bt-tile[data-tile="rw"] .rw-editor { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  [data-page="author-4"] > .bt-tile[data-tile="rw"] .xc-rw { flex: 1 1 0; min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); align-items: stretch; padding-bottom: 0; }
  [data-page="author-4"] > .bt-tile[data-tile="rw"] .xc-rw > .xc-rw-kind { min-height: 0; display: flex; flex-direction: column; }
  [data-page="author-4"] > .bt-tile[data-tile="rw"] .xc-rw-kind > .holding-card { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  [data-page="author-4"] > .bt-tile[data-tile="rw"] .xc-rw-kind .xc-stack { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  [data-page="author-4"] > .bt-tile[data-tile="rw"] .dyr-page-notice { flex: none; margin-right: 6px; }  
}
.dyr-page-foot { margin-top: 10px; }
.dyr-page-notice .dyr-sp { margin-top: 0; }
.xc-retire { margin-right: auto; }
.tc-chip.rw-link { cursor: default; }
.rw-linked .tc-x { visibility: visible; border: 0; background: none; cursor: pointer; font: inherit; font-size: var(--t-meta); }
.xc-linkpick { margin-top: 10px; }
.xc-linkpick .tc-ans { margin: 0 0 6px; flex-wrap: wrap; max-width: 100%; }
.xc-retired-toggle { margin-top: 14px; }


.tc-row .m { font: var(--type-words); }


[data-section="yours"] [data-holding="sky-passage"] > .holding-card {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  column-gap: 16px;
}
[data-section="yours"] [data-holding="sky-passage"] [data-tile="compass"] { grid-area: 1 / 1 / 3 / 2 !important; }
[data-section="yours"] [data-holding="sky-passage"] [data-tile="rhythm"] { grid-area: 1 / 2 / 2 / 3 !important; }
[data-section="yours"] [data-holding="sky-passage"] [data-tile="shelves"] { grid-area: 2 / 2 / 3 / 3 !important; }
[data-section="yours"] [data-holding="sky-passage"] > .holding-card:not(:has([data-tile="compass"]:not([hidden]))) { grid-template-columns: 0 minmax(0, 1fr) !important; column-gap: 0; }
[data-section="yours"] .rw-mirror-strips .rw-heading { margin-bottom: 10px; }
[data-section="yours"] .rw-mirror-strips .rw-statement { padding: 10px 12px; border: 0; margin: 0 0 6px; overflow: clip; }
[data-section="yours"] .rw-mirror-strips .tc-line { cursor: default; }
[data-section="yours"] .rw-mirror-strips .rw-parts { margin-top: 6px; }

body.bt-closed .holding-grid-lift[data-fixed] { visibility: hidden; transition: visibility 0s linear 340ms; }
.holding-grid-lift[data-fixed] { transition: visibility 0s linear 0s; }
:is([data-section="today"],[data-section="yours"]) .holding-card .bt-tile[data-fixed] > * { width: 100%; box-sizing: border-box; }


#bento-yours.yf-page { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
#bento-yours.yf-page::-webkit-scrollbar { display: none; }
#bento-yours.yf-page .holding-grid-lift { align-self: start; }
#bento-yours.yf-page .holding-card.yf-card { display: flex !important; height: auto; gap: 0; }
.yf-head { margin: 0; font: inherit; }
.yf-toggle { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; padding: 0 20px 0 0;
  border: 0; background: none; text-align: left; color: var(--text); cursor: pointer; }
.yf-title { font: var(--type-head); }
.yf-read { display: block; font: var(--type-app); color: var(--muted); }
.yf-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 6px 0 2px; }
.yf-figure b { font: 400 var(--t-hero)/1.1 'Lora', Georgia, serif; }
.yf-caption { font: var(--type-small); color: var(--muted); }
.yf-mark { position: absolute; top: 2px; right: 0; font: var(--type-control); color: var(--label); }
.yf-toggle:hover .yf-mark { color: var(--text); }
.yf-toggle:focus-visible, .yf-strip-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.yf-shape { display: block; margin: 10px 0 0; }
.yf-shape-title { display: block; font: var(--type-small); color: var(--muted); }
.yf-shape .usual-passage-strip { height: 12px !important; }
.yf-card.is-open .yf-figure, .yf-card.is-open .yf-shape { display: none; }
.yf-body { margin-top: 14px; max-height: var(--yf-chart-max); min-height: 0; overflow-y: auto; scrollbar-width: none; }
.yf-body::-webkit-scrollbar { display: none; }
.yf-body[hidden], .yf-strip-body[hidden] { display: none !important; }
.yf-body.yf-sky { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto minmax(0, 1fr); gap: 6px 16px; }
#bento-yours .yf-body > .bt-tile { padding: 0; overflow: visible; min-width: 0; }
#bento-yours .yf-body .pg-flat { overflow: visible; mask-image: none; -webkit-mask-image: none; }
#bento-yours .yf-body [data-tile="compass"] > .pg-flat > .label,
#bento-yours .yf-body [data-tile="trail"] > .pg-flat > .label,
#bento-yours .yf-body [data-tile="anchors"] .bear-trail-label,
#bento-yours .yf-body [data-tile="skyHours"] > .pg-flat > div:first-child { display: none; }
#bento-yours [data-fold-kind="strips"] .rw-mirror { max-height: var(--yf-chart-max); overflow-y: auto; scrollbar-width: none; }
#bento-yours .rw-mirror-strips .yf-strip-toggle { cursor: pointer; }
.yf-strip-kind { margin-top: 5px; }
.yf-strip-body { padding-top: 2px; }



.mr-part { border: 0; padding: 9px 12px 8px; text-align: left; cursor: pointer; background: color-mix(in srgb, var(--sunken) 70%, var(--card));
  font: 500 var(--t-ui)/1.3 'Inter', sans-serif; color: var(--muted); }
.mr-part i { display: block; font-style: normal; font-size: var(--t-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--label); margin-bottom: 2px; }
.mr-part span { display: block; font-size: var(--t-meta); color: var(--label); margin-top: 1px; }
.mr-part:hover { color: var(--text); }
.mr-part.on { background: color-mix(in srgb, #EBCEAE 55%, var(--card)); color: var(--text); font-weight: 600; }
.mr-part.on span { color: var(--muted); font-weight: 400; }


.mr-card { gap: 4px; }
.mr-ctitle { display: block; margin: 0; font: 600 var(--t-head)/1.4 'Lora', Georgia, serif; color: var(--text); }
.mr-line { margin: 2px 0 0; font-size: var(--t-body); line-height: 1.55; color: var(--muted); }


.mr-stack { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 4px; }
.mr-words { flex: 1; min-width: 0; font: 400 var(--t-body)/1.5 'Lora', Georgia, serif; color: var(--text); text-align: left; }
.mr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; margin: 4px 0 0; font-size: var(--t-meta); color: var(--muted); }
.mr-stop .tc-sec .tc-inner { padding-left: 0; }
.mr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.mr-actions .tc-done { margin-left: auto; }



.mr-tdetail { padding: 6px 6px 12px; }
.mr-tdetail .mr-evline { margin: 6px 0 0; }
.mr-tdetail .tc-ghost { margin-top: 6px; }



.mr-passes { display: grid; gap: 3px; height: 14px; }
.mr-passes.ruler { height: 22px; }
.mr-pass { display: flex; gap: 1px; clip-path: var(--shear-sm); min-width: 0; }
.mr-c { flex: 1 1 0; min-width: 1px; background: var(--sunken); }
.mr-c.lit { background: var(--sky); }
.mr-c.unlogged { background: color-mix(in srgb, var(--sunken) 45%, var(--card)); }
.mr-c.pre { background: color-mix(in srgb, var(--label) 14%, transparent); }
.mr-labels { display: grid; gap: 3px; margin-top: 4px; font-size: var(--t-micro); color: var(--label); }
.mr-labels span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mr-split { display: grid; gap: 3px; margin-top: 6px; }
.mr-split span { padding: 3px 8px; clip-path: var(--shear-sm); background: color-mix(in srgb, var(--sunken) 40%, var(--card));
  font: 600 var(--t-micro)/1.3 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.mr-split .since { background: color-mix(in srgb, #EBCEAE 55%, var(--card)); color: var(--muted); }


.mr-pcard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(200px, 1fr); gap: 18px; align-items: start; margin-top: 8px; }
.mr-phone .mr-pcard-grid { grid-template-columns: minmax(0, 1fr); }
.mr-rows { display: flex; flex-direction: column; gap: 2px; }
.mr-twords { min-width: 0; font-size: var(--t-meta); color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mr-rblock { margin: 4px 0 6px; padding: 8px 10px 10px; clip-path: var(--shear-md); background: color-mix(in srgb, var(--card) 72%, transparent); }
.mr-rblock.on { background: var(--card); }
.mr-rblock .mr-say { display: block; margin: 3px 0 0; }
.mr-rblock .mr-rtitle { margin: 2px 0 0; }
.mr-rblock .mr-evline { margin: 4px 0 0; }


.mr-rhead { display: block; width: 100%; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.mr-kicker { display: block; margin: 0 0 2px; font-size: var(--t-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.mr-krow { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.mr-kbears { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: var(--t-meta); color: var(--muted); }
.mr-rtitle { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 var(--t-head)/1.4 'Lora', Georgia, serif; }
.mr-rtitle .tc-gem { width: 12px; height: calc(12px * 18 / 17); flex: none; }
.mr-say { margin: 4px 0 10px; font-size: var(--t-body); line-height: 1.6; color: var(--text); }
.mr-evline { margin: 8px 0 0; font-size: var(--t-meta); color: var(--label); }
.mr-standing { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 12px 0 0; padding: 9px 12px; clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--strip-c, #EBCEAE) 22%, var(--card)); font-size: var(--t-body); color: var(--text); }
.mr-standing .mr-words { flex: 0 1 auto; }
.mr-standing .tc-ghost { margin-left: auto; }
.mr-open { margin-top: 14px; }
.mr-sub { margin: 14px 0 6px; font-size: var(--t-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.mr-hint { margin: 6px 0 0; font-size: var(--t-meta); line-height: 1.55; color: var(--label); }


.mr-day { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 12px; padding: 8px 10px; clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--sunken) 32%, var(--card)); }
.mr-phone .mr-day { grid-template-columns: minmax(0, 1fr); }


.mr-scrim { position: fixed; inset: 0; z-index: 400; display: flex; justify-content: center; align-items: flex-start; padding: 104px 16px 24px; box-sizing: border-box;
  background: color-mix(in srgb, var(--text) 30%, transparent); overflow-y: auto; scrollbar-width: thin; }
.mr-paper-wrap { width: 640px; max-width: 100%; }
.mr-phone-paper .mr-paper-wrap { width: 390px; }
.mr-paper { display: block; padding: 20px 26px 22px; }
.mr-phone-paper .mr-paper { padding: 18px 14px 20px; }
.mr-phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.mr-ptitle { margin: 0; font: 400 var(--t-display)/1.3 'Lora', Georgia, serif; }
.mr-x { border: 0; background: none; padding: 4px; font-size: 15px; line-height: 1; color: var(--muted); cursor: pointer; }
.mr-x:hover { color: var(--text); }
.mr-pinned { margin: 0 0 14px; padding: 10px 12px 12px; clip-path: var(--shear-md); background: color-mix(in srgb, var(--sunken) 40%, var(--card)); }
.mr-pinned .mr-say { margin: 0 0 8px; }
.mr-q { margin: 0 0 8px; font: italic 400 var(--t-body)/1.5 'Lora', Georgia, serif; color: var(--muted); }
.mr-qhead { margin: 0 0 4px; font: 600 var(--t-head)/1.4 'Lora', Georgia, serif; color: var(--text); }
.mr-explain { margin: 0 0 12px; max-width: 60ch; font-size: var(--t-body); line-height: 1.6; color: var(--muted); }
.mr-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; margin-top: 18px; }
.mr-foot > .tc-ghost:first-child { margin-right: auto; }
.mr-lbl { margin: 12px 0 6px; font-size: var(--t-meta); color: var(--label); }
.mr-pickrow { display: block; width: 100%; border: 0; text-align: left; cursor: pointer; padding: 8px 12px; clip-path: var(--shear-md);
  background: color-mix(in srgb, var(--b) 15%, var(--card)); }
.mr-pickrow:hover { background: color-mix(in srgb, var(--b) 30%, var(--card)); }
.mr-pickrow .mr-meta { margin-top: 2px; }



#bento-yours [data-tile="head"] { overflow:visible; }
#bento-yours .mr-radar-host svg { width:100%; max-height:350px; }
.mr-day-strip { overflow-x:auto; }
.mr-day-strip .fn-strip,.mr-day-strip .fn-strip-marks { min-width:max-content; }
.mr-day-strip .fn-strip-cell,.mr-day-strip .fn-strip-mark { min-width:8px; }
.mr-scrim { z-index:14000; padding-top:50px; }
.mr-shared-editor .rw-editor { padding:0; }
.mr-shared-editor .rw-editor > h2 { display:none; }
.mr-kbears > span { display:inline-flex;align-items:center;gap:4px; }
.mr-kbears .tc-gem { width:9px;height:calc(9px * 18 / 17); }
.mirror-change { margin:8px 0 0; }
@media(max-width:640px){.mr-scrim{padding:16px 8px}.mr-paper{padding:18px 14px}.mr-labels{font-size:8px}.mr-actions .tc-done{margin-left:0}.mr-phead{gap:6px}}

.mr-standalone { position:fixed;inset:72px 0 0;z-index:500;background:color-mix(in srgb,var(--bg) 35%,var(--card));overflow-y:auto;padding:16px 12px 60px;box-sizing:border-box; }
.mr-standalone #bento-yours { display:block !important;position:relative;opacity:1;visibility:visible;height:auto;overflow:visible; }
.mr-standalone #bento-yours > [data-tile=head] { margin:0 0 18px; }
.mr-standalone #bento-yours > .holding-lift { display:block;margin:0 0 16px;transform:none !important; }
.mr-standalone #bento-yours > .bt-tile[hidden],.mr-standalone #bento-yours > .holding-lift[hidden] { display:none !important; }
.mr-standalone #bento-yours > .bt-tile:not([data-tile=head]):not([hidden]) { margin-bottom:12px; }
.mr-standalone #bento-yours .yf-body .bt-tile {position:static;}


.mr-moment-context {font:400 var(--t-body)/1.55 'Inter',sans-serif;color:var(--muted);margin:10px 0 0;}
@media(max-width:640px){.mr-pcard-grid .mr-radar-host svg text{font-size:14px !important;}}


.mr-card { display:block; }
.mr-card > .mr-ctitle { margin:0 0 8px; }
.mr-rblock { min-width:0; }
.mr-pcard-grid > * { min-width:0; }
.mr-passages-wrap { min-width:0; }
.mr-row .mr-tdetail { min-width:0; }
.mr-pcard-grid .mr-radar-host { position:sticky;top:0; }
.mr-pcard-grid .mr-radar-host svg { height:auto; }
.mr-passes .mr-pass { margin:0; }


.mr-kindgroup { display:flex;flex-direction:column;gap:6px;min-width:0; }
.mr-kindhead { margin:10px 0 2px; }
.mr-kindhead:first-child { margin-top:0; }


#bento-yours.mr-one-page { overflow-y:auto;overflow-x:hidden;scrollbar-width:none;align-content:start;
  }
#bento-yours.mr-one-page .holding-grid-lift { align-self:start; }
#bento-yours.mr-one-page .holding-card { display:block;height:auto; }
#bento-yours.mr-one-page .holding-card > .bt-tile { display:block;overflow:visible; }
#bento-yours.mr-one-page .bt-stack { align-self:start;overflow:visible; }
#bento-yours.mr-one-page .bt-stack > .holding-lift { flex:none; }
#bento-yours.mr-one-page .pg-flat { overflow:visible;max-height:none;mask-image:none;-webkit-mask-image:none; }
.mr-skies > .pg-flat { margin-bottom:16px; }
.mr-shelf { display:flex;flex-direction:column;gap:4px; }
.mr-shelfrow { display:block;width:100%;border:0;background:none;text-align:left;padding:6px 4px;color:var(--text);cursor:pointer; }
.mr-shelfrow:hover,.mr-shelfrow.on { background:color-mix(in srgb,var(--sunken) 50%,var(--card)); }
.mr-shelfname { display:block;font:var(--type-words);margin-bottom:2px; }
.mr-shelfhead { display:block;font:var(--type-small);color:var(--muted);margin-bottom:4px; }
.mr-shelfdate { margin:12px 0 2px;font:var(--type-small);color:var(--label); }
.mr-shelfdate.since { margin-top:0; }
.mr-shelfstrip .mr-c { transition:transform 160ms ease,opacity 160ms ease; }
.mr-shelfstrip .mr-c.mr-echo { transform:translateY(-4px);box-shadow:0 2px 0 var(--text); }
.mr-shelfstrip .mr-c.mr-quiet { opacity:.25; }
.mr-pdetail { padding:8px 0; }
.mr-shape > .mr-rblock { margin-top:14px; }
.mr-shape .yf-title { padding-right:16px; }
.mr-shape-chart { margin-top:14px; }
.mr-life-trail { margin-top:18px; }
.mr-retired { margin-top:14px; }
.mr-retired summary { cursor:pointer;font:var(--type-control);color:var(--muted); }
#bento-yours.mr-one-page .mr-pcard-grid { grid-template-columns:minmax(0,1.5fr) minmax(100px,1fr);gap:12px; }
#bento-yours.mr-one-page.mr-phone .mr-pcard-grid { grid-template-columns:minmax(0,1fr); }
#bento-yours.mr-one-page .mr-radar-host svg { max-height:220px; }
#bento-yours.mr-one-page .mr-row .mr-twords { grid-column:1 / -1; }
.mr-standalone #bento-yours.mr-one-page > .bt-stack { display:flex;margin:0 0 16px;padding:0;gap:16px; }
.mr-standalone #bento-yours.mr-one-page > .bt-stack[hidden] { display:none; }
@media(prefers-reduced-motion:reduce){.mr-shelfstrip .mr-c{transition:none}}

#bento-yours.mr-one-page .bt-stack, #bento-yours.mr-one-page .holding-grid-lift { min-height:max-content; }

.mr-standalone .bt-spine { display:none; }


#bento-yours.mr-two-lenses { display:block !important; box-sizing:border-box; padding:22px 24px 40px; background:color-mix(in srgb,var(--bg) 35%,var(--card)); overflow-y:auto; overflow-x:hidden; }
#bento-yours.mr-two-lenses > [data-tile=head] { display:block; margin:0 0 24px; padding:0; }
#bento-yours.mr-two-lenses .mr-tools, #bento-yours.mr-two-lenses .mr-meeting { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:22px; align-items:start; }
#bento-yours.mr-two-lenses .mr-meeting { grid-template-columns:repeat(2,minmax(0,1fr)); }
#bento-yours.mr-two-lenses .mr-lens { display:flex; flex-direction:column; gap:18px; min-width:0; }
#bento-yours.mr-two-lenses .mr-pair { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:14px; align-items:start; min-width:0; }
#bento-yours.mr-two-lenses .holding-lift { display:block; width:100%; box-sizing:border-box; min-width:0; align-self:start; padding:0; transform:none !important; }
#bento-yours.mr-two-lenses .holding-card { display:block; height:auto; min-height:0; padding:18px 16px 16px; }
#bento-yours.mr-two-lenses .holding-card > .bt-tile { display:block; padding:0; overflow:visible; min-width:0; width:auto; height:auto; }
#bento-yours.mr-two-lenses .mr-unused[hidden], #bento-yours.mr-two-lenses .holding-lift[hidden], #bento-yours.mr-two-lenses .bt-tile[hidden] { display:none !important; }
.mr-lens-head h3, .mr-meeting-title { margin:0; font:var(--type-head); color:var(--text); }
.mr-lens-head p { margin:3px 0 0; font:var(--type-small); color:var(--muted); }
.mr-meeting-title { margin:28px 0 14px; }
.mr-carry { margin:6px 0 0; font:var(--type-words); font-style:italic; color:var(--muted); white-space:pre-wrap; }
.mr-selection { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:0 0 18px; min-height:20px; }
.mr-selection p { margin:0; font:var(--type-small); color:var(--muted); }
.mr-selection button { flex-shrink:0; }
.mr-loop-line { margin:14px 0 6px; font:var(--type-body); color:var(--muted); }
.mr-shelf-carry { display:block; font:var(--type-words); color:var(--text); margin:5px 0 3px; white-space:pre-wrap; }
.mr-thread-keep, .mr-source, .mr-trail-span { margin:4px 0 8px; font:var(--type-small); color:var(--muted); }
.mr-shelfstrip .mr-c.mr-picked { transform:translateY(-4px); box-shadow:0 2px 0 var(--text); }
.mr-shelfrow.mr-passage-lit { background:color-mix(in srgb,var(--page-colour) 32%,var(--card)); }
.mr-life-trail .dv-row.mr-trail-lit { background:color-mix(in srgb,var(--page-colour) 38%,transparent); }
.mr-life-trail .dv-row:focus-visible { outline:2px solid var(--label); outline-offset:3px; }
.mr-own-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.mr-own-quote { margin:9px 0 14px; padding-left:10px; border-left:2px solid color-mix(in srgb,var(--label) 25%,transparent); }
.mr-own-say { margin:4px 0; font:var(--type-words); color:var(--text); white-space:pre-wrap; overflow-wrap:anywhere; }
.mr-own-source { display:block; padding:0; text-align:left; font:var(--type-small); color:var(--label); }
.mr-picture-placeholder { display:grid; place-content:center; text-align:center; min-height:230px; box-sizing:border-box; gap:12px; background:color-mix(in srgb,var(--sunken) 35%,var(--card)); clip-path:var(--shear-md); padding:16px; margin-top:12px; }
.mr-picture-placeholder strong { font:var(--type-body); font-weight:600; }
.mr-picture-placeholder p { font:var(--type-small); color:var(--muted); margin:0; }
#bento-yours.mr-two-lenses .mr-skies .pg-flat { max-height:none; }
#bento-yours.mr-two-lenses .mr-pcard-grid { grid-template-columns:minmax(0,1fr) 180px; gap:14px; }
#bento-yours.mr-two-lenses .mr-shape-chart { max-height:none; overflow:visible; }
#bento-yours.mr-two-lenses .mr-shape-chart > .label { display:none; }
#bento-yours.mr-two-lenses .yf-strip-kind.mr-source { padding-left:10px; }
.mr-standalone #bento-yours.mr-two-lenses { padding:8px 2px 40px; }
@media(max-width:1100px) {
 #bento-yours.mr-two-lenses .mr-pair { grid-template-columns:minmax(0,1fr); }
 #bento-yours.mr-two-lenses .mr-pcard-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:760px) {
 #bento-yours.mr-two-lenses { padding:18px 12px 32px; }
 #bento-yours.mr-two-lenses .mr-tools, #bento-yours.mr-two-lenses .mr-meeting, #bento-yours.mr-two-lenses .mr-pair, #bento-yours.mr-two-lenses .mr-own-grid { grid-template-columns:minmax(0,1fr); }
 #bento-yours.mr-two-lenses .mr-radar-host { max-width:230px; margin:auto; }
}

#bento-yours.mr-two-lenses [data-tile=mSkies] { --radar-max:270px; }



#bento-yours.yg-chart-page { overflow:hidden; }
#bento-yours.yg-chart-page > .bt-stack { overflow-y:auto;overflow-x:hidden;scrollbar-width:thin; }
#bento-yours.yg-chart-page > .bt-stack > .bt-tile { flex:none;min-height:max-content; }
#bento-yours.yg-chart-page [data-tile=mMirror] { min-width:0;min-height:0;padding:0;overflow:hidden; }
#bento-yours.yg-chart-page [data-holding=mirror] { align-self:stretch;min-height:0; }
#bento-yours.yg-chart-page [data-holding=mirror] > .holding-card { padding:0;min-height:0;overflow:hidden; }
#bento-yours.yg-chart-page .yg-chart-host { height:100%;min-height:0;overflow:auto;scrollbar-width:thin; }
#bento-yours.yg-chart-page .whole-field { padding:20px; }
#bento-yours.yg-chart-page .whole-moment p { white-space:pre-wrap; }
#bento-yours.yg-chart-page .yg-chart-context .mr-own-say { white-space:pre-wrap; }
#bento-yours.yg-chart-page .whole-phone-overview { top:0; }
@media(max-width:600px) {
 #bento-yours.yg-chart-page { display:flex !important;flex-direction:column;gap:16px;height:auto;overflow:visible;padding:4px 0 30px; }
 #bento-yours.yg-chart-page > .bt-tile,#bento-yours.yg-chart-page > .holding-lift,#bento-yours.yg-chart-page > .bt-stack { flex:none;position:relative;width:100%;min-width:0;box-sizing:border-box;transform:none !important; }
 #bento-yours.yg-chart-page > [hidden] { display:none !important; }
 #bento-yours.yg-chart-page .holding-card { height:auto; }
 #bento-yours.yg-chart-page .yg-chart-host { height:auto;overflow:visible; }
 #bento-yours.yg-chart-page [data-holding=mirror] > .holding-card { display:block;overflow:visible; }
 #bento-yours.yg-chart-page [data-tile=mMirror] { display:block;overflow:visible; }
 #bento-yours.yg-chart-page .whole-field { padding:15px 10px;clip-path:none; }
 #bento-yours.yg-chart-page .bt-stack { display:flex;flex-direction:column;gap:14px; }
 #bento-yours.yg-chart-page .bt-spine { display:none; }
}


#bento-yours.yg-chart-page :is([data-tile=mReading],[data-tile=mAcross]) { min-width:0;min-height:0;padding:0;overflow:hidden; }
#bento-yours.yg-chart-page :is([data-holding=mirror-reading],[data-holding=mirror-across]) { align-self:stretch;min-height:0; }
#bento-yours.yg-chart-page :is([data-holding=mirror-reading],[data-holding=mirror-across]) > .holding-card { padding:0;min-height:0;overflow:hidden; }
#bento-yours.yg-chart-page :is(.yg-reading-host,.yg-across-host) { height:100%;min-height:0;overflow:auto;scrollbar-width:thin; }
@media(max-width:600px) {
 #bento-yours.yg-chart-page :is(.yg-reading-host,.yg-across-host) { max-height:45svh;height:auto;overflow:auto; }
 #bento-yours.yg-chart-page :is([data-holding=mirror-reading],[data-holding=mirror-across]) > .holding-card { display:block; }
}


#bento-yours.yg-chart-page [data-holding=compass] { align-self:stretch;min-height:0; }
#bento-yours.yg-chart-page [data-holding=compass] > .holding-card { min-height:0;padding:8px 10px;overflow:hidden; }
#bento-yours.yg-chart-page [data-tile=compass] { min-height:0;overflow:hidden;padding:0; }
#bento-yours.yg-chart-page .yg-compass-card { display:grid;grid-template-rows:auto auto minmax(0,1fr);height:100%;min-height:0; }
#bento-yours.yg-chart-page .yg-compass-card > .label { margin-bottom:2px;text-align:center; }
#bento-yours.yg-chart-page .yg-compass-wheel { width:100% !important;max-width:none !important;min-height:0;margin:0 !important;display:flex;align-items:center;justify-content:center; }
#bento-yours.yg-chart-page .yg-compass-wheel svg { width:100%;height:100%;min-height:0; }
@media(max-width:600px) {
 #bento-yours.yg-chart-page [data-tile=compass] { height:280px; }
}


#bento-yours.yg-chart-page [data-holding=usual-passage] { min-height:0;align-self:stretch; }
#bento-yours.yg-chart-page [data-holding=usual-passage] > .holding-card { padding:8px 12px;min-height:0;overflow:hidden; }
#bento-yours.yg-chart-page [data-tile=rhythm] { min-height:0;padding:0;display:flex;align-items:center; }
#bento-yours.yg-chart-page [data-tile=rhythm] > .pg-flat { width:100%;min-width:0; }
#bento-yours.yg-chart-page [data-tile=rhythm] .label { margin-bottom:3px; }


.yg-crossings-lift { margin:0; padding:4px; box-sizing:border-box; align-self:start; }
.yg-crossings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; }
.yg-crossings .yc-column { display:flex; flex-direction:column; gap:6px; min-width:0; }

.yg-crossings-apart .yg-crossings { grid-template-columns:minmax(0,1fr); }
.yg-crossings .yc-summary { display:flex; flex:1; min-width:0; flex-direction:column; gap:4px; }
.yg-crossings .yc-line, .yg-crossings .yc-chart, .yg-crossings .yc-legacy { font:var(--type-app); color:var(--text); }
.yg-crossings .yc-line { display:block; }
.yg-crossings .tc-inner { padding-left:0; }
.yg-crossings .yc-chart, .yg-crossings .yc-legacy { padding-top:12px; overflow-wrap:anywhere; }
.yg-crossings .yc-chart { display:grid; gap:12px; }
.yg-crossings .yc-row { min-width:0; }
.yg-crossings .yc-row p { margin:3px 0; }
.yg-crossings .yc-label { font:var(--type-app); font-weight:600; color:color-mix(in srgb,var(--yc-ink,var(--text)) 85%,var(--text)); }
.yg-crossings .yc-meta, .yg-crossings .yc-groups { font:var(--type-small); color:var(--muted); }
.yg-crossings .yc-groups { display:block; }
.yg-crossings .yc-bear { display:grid; grid-template-columns:minmax(90px,1fr) minmax(30px,1fr) 2ch; align-items:center; gap:8px; margin:4px 0; }
.yg-crossings .yc-bar { height:7px; background:linear-gradient(to right,var(--yc-ink) var(--yc-share),var(--sunken) var(--yc-share)); clip-path:var(--shear-sm); }
.yg-crossings .yc-legacy > div { font:var(--type-app) !important; overflow-wrap:anywhere; }
.yg-crossings [data-crossing=who] .yc-legacy > div { display:grid !important; grid-template-columns:minmax(110px,1fr) minmax(0,2fr) auto; gap:8px !important; }
.yg-crossings [data-crossing=who] .yc-legacy > div > div { width:auto !important; min-width:0 !important; font:inherit !important; }
@media(max-width:600px) {
 .yg-crossings-lift { margin:0; }
 .yg-crossings { grid-template-columns:minmax(0,1fr); gap:6px; }
 .yg-crossings [data-crossing=who] .yc-legacy > div { grid-template-columns:1fr; }
 .yg-crossings [data-crossing=who] .yc-legacy > div > div:last-child { text-align:left !important; }
}

.yg-crossings .yc-strip { overflow:clip; }


#bento-yours.yg-chart-page > .yg-mirror-column { display:flex; flex-direction:column; gap:8px; min-width:0; min-height:0; align-self:stretch; }
#bento-yours.yg-chart-page .yg-mirror-column > [data-holding=mirror] { flex:0 1 auto; min-height:0; width:100%; align-self:start; display:flex; flex-direction:column; }
#bento-yours.yg-chart-page .yg-mirror-column [data-holding=mirror] > .holding-card { display:flex; flex-direction:column; gap:0; flex:0 1 auto; min-height:0; height:auto; overflow:hidden; }
#bento-yours.yg-chart-page .yg-mirror-column [data-tile=mMirror] { display:block; flex:0 1 auto; min-height:0; overflow-x:hidden; overflow-y:auto; scrollbar-width:thin; }

#bento-yours.yg-chart-page .yg-mirror-column > .yg-crossings-lift { display:flex; flex-direction:column; flex:0 1 auto; min-height:0; width:100%; align-self:stretch; }
#bento-yours.yg-chart-page .yg-mirror-column .yg-crossings { flex:0 1 auto; min-height:0; grid-template-rows:auto minmax(0,1fr); overflow:hidden; }
#bento-yours.yg-chart-page .yg-mirror-column .yg-crossings > .yc-column { min-height:0; max-height:100%; overflow-x:hidden; overflow-y:auto; scrollbar-width:thin; }
#bento-yours.yg-chart-page .yg-mirror-column .yg-chart-host { height:auto; overflow:visible; }

#bento-yours.yg-chart-page .yg-mirror-column > :has(> .holding-card.is-folded) { flex-shrink:0; }
.yg-crossings .yc-legend { display:flex; flex-wrap:wrap; gap:4px 12px; font:var(--type-small); color:var(--muted); }
.yg-crossings .yc-legend > span { display:inline-flex; align-items:center; gap:4px; }
.yg-crossings .yc-legend > span::before { content:''; width:10px; height:7px; background:var(--yc-ink); }
.yg-crossings .yc-week-table,.yg-crossings .yc-after-table { width:100%; border-collapse:collapse; table-layout:fixed; font:var(--type-app); }
.yg-crossings :is(.yc-week-table,.yc-after-table) :is(th,td) { padding:4px 6px 4px 0; border:0; text-align:left; vertical-align:middle; font-weight:400; overflow-wrap:anywhere; }
.yg-crossings :is(.yc-week-table,.yc-after-table) thead th { font:var(--type-small); color:var(--muted); padding-bottom:6px; }
.yg-crossings .yc-week-table th:first-child { width:38px; white-space:nowrap; }
.yg-crossings .yc-week-table th:last-child { width:78px; }
.yg-crossings .yc-week-table tbody th { font-weight:600; white-space:nowrap; }
.yg-crossings .yc-sky-name { display:block; color:color-mix(in srgb,var(--yc-ink) 85%,var(--text)); }
.yg-crossings .yc-sky-name::before { content:''; display:inline-block; width:6px; height:6px; margin-right:5px; background:var(--yc-ink); border-radius:50%; }
.yg-crossings .yc-week-anchor { display:block; font:var(--type-words); }
.yg-crossings .yc-bear-strip { display:flex; height:8px; overflow:hidden; background:var(--sunken); clip-path:var(--shear-sm); }
.yg-crossings .yc-hours-rows > div { min-height:24px; }
.yg-crossings .yc-hours-rows > div > div:first-child { font:var(--type-app) !important; }
.yg-crossings .yc-after-table th:first-child { width:25%; }
.yg-crossings .yc-after-table th:nth-child(2) { width:37%; }
.yg-crossings .yc-after-table tbody td { vertical-align:top; padding-top:7px; padding-bottom:7px; }
.yg-crossings .yc-event-date { display:block; font:var(--type-small); color:var(--muted); }
.yg-crossings .yc-run { display:flex; gap:1px; height:7px; margin-top:5px; clip-path:var(--shear-sm); }
.yg-crossings .yc-run > span { flex:1; min-width:0; }
@media(max-width:600px) { #bento-yours.yg-chart-page > .yg-mirror-column { flex:none; width:100%; } }

#bento-yours.yg-chart-page .yg-mirror-column .whole-field { padding-top:4px; }
#bento-yours.yg-chart-page .yg-mirror-column .whole-field-head { justify-content:flex-end; margin-bottom:8px; }
@media (min-width:601px) { #bento-yours.yg-chart-page .yg-mirror-column .whole-field-head > div:first-child { display:none; } }


#day-date-notice:not([hidden]) { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 12px; font-size:11px; line-height:1.4; color:var(--muted); }
#day-go-today { min-height:44px; padding:4px 0; font-size:11px; }
#day-transition-message:not(:empty) { flex-basis:100%; color:var(--text); }
.bear-area-lead-text.day-date-visible > .bear-area-subhead,
.bear-area-lead-text.day-date-visible > .sig-caption-lead { display:none !important; }


.checkin-draft-actions{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:10px;align-items:center;}
.checkin-draft-actions .settings-link{min-height:44px;}
.checkin-draft-status{flex-basis:100%;margin:0;font:var(--type-small);color:var(--muted);overflow-wrap:anywhere;}



#gc-welcome-back, #gc-cloud-writer {
  box-sizing: border-box; width: min(100% - 32px, 460px);
  max-height: calc(100dvh - 32px); overflow-y: auto;
  margin: auto; padding: clamp(20px, 5vw, 32px);
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--card); color: var(--text);
  box-shadow: 0 20px 60px rgba(40,30,20,.2);
  font-family: 'Inter', sans-serif;
}
#gc-welcome-back::backdrop, #gc-cloud-writer::backdrop { background: var(--bg); }
.gc-welcome-mark { display: block; width: 52px; margin: 0 auto 20px; }
#gc-welcome-title, #gc-cloud-writer-title { font-family: 'Lora', Georgia, serif; font-size: 24px; font-weight: 400; margin: 0 0 16px; }
#gc-welcome-back p, #gc-cloud-writer p { font-size: 13px; line-height: 1.65; margin: 0 0 12px; overflow-wrap: anywhere; }
#gc-cloud-writer-status:empty { display: none; }
#gc-welcome-pending, #gc-welcome-offline { color: var(--muted); }
#gc-welcome-message:empty { display: none; }
.gc-welcome-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 20px; }
.gc-welcome-actions button { min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
.gc-welcome-actions [hidden] { display: none; }

#gc-welcome-back [hidden] { display: none; }
#gc-welcome-options { margin-top: 20px; }
#gc-welcome-options > p:first-of-type { margin-top: 12px; }
#gc-welcome-options > button { min-height: 44px; }


#gc-welcome-back.is-loading #gc-welcome-message { display: flex; align-items: center; gap: 10px; }
#gc-welcome-back.is-loading #gc-welcome-message::before {
  content: ''; flex: 0 0 14px; width: 14px; height: 14px;
  border: 2px solid var(--border); border-top-color: var(--text);
  border-radius: 50%; animation: gc-welcome-turn 1s linear infinite;
}
@keyframes gc-welcome-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #gc-welcome-back.is-loading #gc-welcome-message::before { animation: none; } }
.gc-review-item h4 { margin: 0 0 8px; font: inherit; font-weight: 600; }
.gc-review-item p { margin: 0 0 8px; line-height: 1.6; }
.gc-review-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.gc-review-actions button, .gc-earlier-copies button, .gc-older-drafts button { min-height: 44px; white-space: normal; }
.gc-preference-values { color: var(--text); }


#bento-author [data-holding="skies"], #bento-author [data-holding="skies"] > .holding-card { flex: 1; min-height: 0; }
#bento-author [data-tile="skyList"] { flex: 1; min-height: 0; overflow: hidden; }
#bento-author [data-tile="skyList"] > .au-room { height: 100%; min-height: 0; overflow: hidden; }
.au-skies-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; height: 100%; min-height: 0; }
.au-skies-reading { min-width: 0; min-height: 0; overflow: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.au-skies-reading > .au-deck { margin-top: 18px; }
.au-skies-deck > .au-deck { margin-top: 0; }   


#bento-author [data-holding="bears"] > .holding-card,
#bento-author [data-holding="roots-wings"] > .holding-card { overflow-y: auto; scrollbar-width: thin; }
#bento-author :is([data-holding="bears"], [data-holding="roots-wings"]) > .holding-card > .bt-tile { flex: none; min-height: min-content; overflow: visible; }

#bento-author [data-holding="skies"] > .holding-card > [data-tile="headSkies"] { flex: none; min-height: min-content; overflow: visible; }


@media(min-width:601px) {
  #bento-yours.yg-chart-page > .yg-crossings-lift { align-self:stretch;display:flex;flex-direction:column;min-height:0;overflow:hidden; }
  #bento-yours.yg-chart-page > .yg-crossings-lift > .yg-crossings { flex:1 1 0;height:100%;max-height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin; }
}


#bento-passage.passage-views { position:relative;min-height:0;overflow:hidden; }
.pv-modebar { position:absolute;right:4px;bottom:4px;z-index:3; }
.pv-action { border:0;padding:9px 26px;cursor:pointer;font:var(--type-control);clip-path:var(--shear-md);background:var(--button);color:var(--on-button); }
.pv-action:hover { background:var(--button-hover); }
.pv-action:focus-visible { outline:2px solid var(--text);outline-offset:-3px; }
.pv-quiet { background:var(--sunken);color:var(--text);padding:4px 12px; }
#bento-passage.passage-views [hidden] { display:none !important; }
.pv-summary { padding:12px 0 0; }
.pv-summary h3 { font:var(--type-head);margin:0 0 10px; }
.pv-summary p { font:var(--type-app);line-height:1.65;white-space:pre-wrap;margin:0 0 10px;overflow-wrap:anywhere; }
.pv-summary .pv-meta { font:var(--type-small);color:var(--muted); }
.pv-summary .pv-name { font:var(--type-head); }

#bento-passage .pn-rw .rw-mirror-strips { display:flex;flex-direction:column;gap:6px; }
#bento-passage .pn-rw .rw-mirror-strips > .rw-statement { padding:10px 12px; }

[data-tile="rwReview"] .xc-rw { grid-template-columns:minmax(0,1fr); }
[data-tile="rwReview"] .xc-rw-lift { filter:none; }
[data-tile="rwReview"] .xc-rwcard { background:transparent;clip-path:none;padding:0; }
[data-tile="rwReview"] .xc-rwcard::before { display:none; }
@media(min-width:601px) {
  #bento-passage.passage-views > .bt-stack { min-height:0;overflow:hidden; }
  #bento-passage.passage-views > .holding-grid-lift { min-height:0;height:auto;overflow:hidden;align-self:stretch; }
  #bento-passage.passage-views > .bt-stack > .holding-lift { min-height:0;overflow:hidden;flex:0 1 auto; }
  #bento-passage.passage-views > .bt-stack > .holding-lift:last-child { flex:1 1 0; }
  #bento-passage.passage-views .holding-lift[data-holding] > .holding-card { min-height:0;max-height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;display:flex;flex-direction:column;gap:8px; }
  #bento-passage.passage-views > .holding-grid-lift > .holding-card { height:100%; }
  #bento-passage.passage-views .holding-lift[data-holding] > .holding-card > .bt-tile { flex:none;min-height:0;height:auto;overflow:visible; }
  #bento-passage.passage-views .holding-lift[data-holding] .pg-flat { flex:none;height:auto;max-height:none;overflow:visible; }
}


#bento-passage [data-holding="days"] [data-tile="compass"] .pg-flat > div:has(> svg) {
  transition:height .34s cubic-bezier(.65,0,.35,1),opacity .2s,visibility 0s;
}
#bento-passage .pn-compass-tools { max-height:80px;margin-bottom:4px;overflow:hidden;transition:max-height .34s cubic-bezier(.65,0,.35,1),margin-bottom .34s cubic-bezier(.65,0,.35,1),opacity .2s,visibility 0s; }
#bento-passage [data-holding="days"]:has([data-tile="remember"] .fn-dd--lifted) [data-tile="compass"] .pg-flat > div:has(> svg) {
  height:0;opacity:0;visibility:hidden;transition:height .34s cubic-bezier(.65,0,.35,1),opacity .2s,visibility 0s .34s;
}
#bento-passage [data-holding="days"]:has([data-tile="remember"] .fn-dd--lifted) .pn-compass-tools { max-height:0;margin-bottom:0;opacity:0;visibility:hidden;transition:max-height .34s cubic-bezier(.65,0,.35,1),margin-bottom .34s cubic-bezier(.65,0,.35,1),opacity .2s,visibility 0s .34s; }
@media(prefers-reduced-motion:reduce) {
  #bento-passage [data-holding="days"] [data-tile="compass"] .pg-flat > div:has(> svg),#bento-passage .pn-compass-tools { transition:none !important; }
}
