/* Apple feel layer (2026-11-17). Added on top of the app; removing this file puts the app back exactly as it was.
   From Apple's Human Interface Guidelines: 44pt touch targets, safe areas, system type on Apple devices,
   spring motion, sheets that rise from the bottom, translucent bars, and respect for Reduce Motion. */
html{-webkit-text-size-adjust:100%}
*{-webkit-tap-highlight-color:transparent}
button,a,label,[role=button],summary{touch-action:manipulation}
button,[role=button],summary{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,select,textarea{font-size:max(16px,1em)}
@media (prefers-reduced-motion:no-preference){
  button,[role=button],.feel-press{transition:transform .28s cubic-bezier(.2,.9,.25,1.25),opacity .2s ease}
  button:active:not(:disabled),[role=button]:active,.feel-press:active{transform:scale(.965);opacity:.86}
  .feel-fade{animation:feel-fade .3s ease both}
  @keyframes feel-fade{from{opacity:0}to{opacity:1}}
  @keyframes feel-sheet{from{transform:translateY(100%)}to{transform:none}}
  @keyframes feel-banner{from{transform:translate(-50%,-140%);opacity:0}to{transform:translate(-50%,0);opacity:1}}
  @keyframes feel-pop{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}
}
.feel-haptic{position:fixed;left:-200px;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
/* Settled on a phone: the 8 scrolling top links become an iPhone tab bar with 5 tabs, and the rest sit in a More sheet. */
@supports (-webkit-touch-callout:none){body{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text',system-ui,sans-serif}}
.feel-tabbar,.feel-shade,.feel-sheet{display:none}
@media (max-width:900px){
  html{scroll-padding-top:calc(64px + env(safe-area-inset-top,0px));scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
  .sidebar{position:sticky;top:0;z-index:30;padding:calc(10px + env(safe-area-inset-top,0px)) 20px 10px;background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:.5px solid rgba(23,61,48,.16)}
  .sidebar nav{display:none}
  .workspace{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
  .toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .feel-tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:35;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-top:.5px solid rgba(23,61,48,.18)}
  .feel-tabbar button{border:0;background:none;min-height:50px;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#7c8b80;font-size:10.5px;font-weight:600;letter-spacing:.01em;position:relative;border-radius:12px}
  .feel-tabbar svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .feel-tabbar button[aria-current=page]{color:#173d30}
  .feel-tabbar button[aria-current=page] svg{stroke-width:2.1}
  .feel-badge{position:absolute;top:2px;left:calc(50% + 6px);min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:#c2501c;color:#fff;font-size:10.5px;font-weight:700;line-height:17px;text-align:center}
  .feel-badge:empty{display:none}
  .feel-shade{display:block;position:fixed;inset:0;z-index:44;background:rgba(10,20,15,.36);opacity:0;pointer-events:none;transition:opacity .25s ease}
  .feel-shade.on{opacity:1;pointer-events:auto}
  .feel-sheet{display:block;position:fixed;left:0;right:0;bottom:0;z-index:45;background:#f7f9f7;border-radius:16px 16px 0 0;padding:8px 16px calc(16px + env(safe-area-inset-bottom,0px));transform:translateY(105%);transition:transform .45s cubic-bezier(.32,.72,0,1);box-shadow:0 -8px 30px rgba(0,0,0,.14);touch-action:none}
  .feel-sheet.on{transform:none}
  .feel-grab{width:36px;height:5px;border-radius:3px;background:#c9d3cc;margin:0 auto 12px}
  .feel-sheet h2{font-size:13px;font-weight:600;color:#7c8b80;margin:0 4px 8px;letter-spacing:0;text-transform:none}
  .feel-list{background:#fff;border-radius:12px;overflow:hidden}
  .feel-row{width:100%;border:0;background:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:0 14px;font-size:17px;color:#173d30;text-align:left;border-bottom:.5px solid #e2e9e3;border-radius:0}
  .feel-row:last-child{border-bottom:0}
  .feel-row span{color:#7c8b80;font-size:15px}
  .feel-row[aria-current=page]{font-weight:700}
  .feel-cancel{width:100%;margin-top:10px;min-height:50px;border:0;border-radius:12px;background:#fff;font-size:17px;font-weight:600;color:#173d30}
  .btn,button.primary,.nav button{min-height:44px}
}
@media (max-width:900px) and (prefers-reduced-motion:reduce){.feel-sheet,.feel-shade{transition:none}}

/* 2026-11-18, her word: the "settled." name at the top twice as big; the shelf loses its green block and tall folders. */
.sidebar .brand{font-size:40px}
@media (max-width:900px){.sidebar .brand{font-size:36px}}
/* Shelf, her reference 2026-11-18: each card is a pocket with real paper sticking out of it, blurred where the paper
   goes into the pocket and fading to white at the bottom. White frosted cards, green words, no green block behind. */
.glass-shelf{background:none;padding:0;gap:10px;border-radius:0}
.glass-card{min-height:184px;padding:13px 12px 0;border-radius:18px;color:#173d30;border:1px solid rgba(23,61,48,.10);background:linear-gradient(165deg,#f4f8f5 0%,#e9f1eb 100%);box-shadow:inset 0 1px 0 #fff,0 0 0 4px rgba(255,255,255,.6),0 10px 24px rgba(62,127,116,.16);-webkit-backdrop-filter:none;backdrop-filter:none}
.glass-card .glass-title{color:#173d30!important;font-size:17px;letter-spacing:-.045em}
.glass-card .glass-title small{color:#5f6f67!important;font-size:11px;margin-top:3px}
.glass-card .glass-count{background:#fff;color:#173d30!important;border-radius:6px;box-shadow:0 2px 6px rgba(23,61,48,.14);min-width:28px;padding:6px 5px;font-size:12.5px!important}
.glass-card .paper-stack{min-height:96px;margin-top:10px}
.glass-card .paper-back{background:#dfe8e1;box-shadow:0 3px 8px rgba(23,61,48,.10);height:155px}
.glass-card .paper-front{background:#fff;color:#51665a;box-shadow:0 4px 12px rgba(23,61,48,.14);height:170px;font-size:10.5px;line-height:1.45;padding:11px 11px}
.glass-card .glass-pocket{height:30%;border-top:1px solid rgba(255,255,255,.95);background:linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.55) 45%,#fff 100%);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 -1px 0 rgba(23,61,48,.07)}
.glass-card .glass-pocket:after{left:6%;right:6%;top:48%;height:70%;background:#fff;filter:blur(12px);opacity:1}
@media (max-width:480px){.glass-card{min-height:176px}.glass-card .paper-stack{min-height:92px}.glass-card .paper-front{height:165px;font-size:10px;padding:10px}.glass-card .paper-back{height:150px}}
@container (max-width:400px){.glass-card{min-height:150px}.glass-card .paper-stack{min-height:76px}.glass-card .paper-front{height:140px}.glass-card .paper-back{height:125px}}
@media (max-width:900px){@container (max-width:400px){.glass-shelf{grid-template-columns:1fr 1fr}.glass-card{min-height:176px}.glass-card .glass-title{font-size:16px}.glass-card .paper-stack{min-height:92px}.glass-card .paper-front{height:165px;width:82%;left:7%}.glass-card .paper-back{height:150px}}}

/* 2026-11-18, her iPad screenshots: huge blank bands on Today and Events. Cause: on one-column layouts the page grid
   stretched the top bar and centred the content when a view was short. Rows now hug their content on every device. */
.section-view #work{min-height:0}
.workspace{margin-top:0;margin-bottom:0}
@media (max-width:900px){
  .shell{grid-template-rows:auto 1fr;align-content:start}
  .sidebar{align-self:start}
  .workspace{align-self:start;padding-top:14px}
  .top{padding-bottom:10px}
  .head{margin:14px 0 14px}
  h1{font-size:clamp(34px,7vw,52px)}
  .section-view .head h1{font-size:clamp(30px,6vw,44px)}
  .dashboard{gap:12px}
  .tile{padding:18px}
  .welcome{min-height:180px}
  .overview{min-height:0;gap:10px}
  .preview-foot{margin-top:14px}
}
/* Tablet upright (601 to 900 wide): the name line and its small line sit on one row, cards keep two columns */
@media (min-width:601px) and (max-width:900px){
  .sidebar .brand{display:flex;align-items:baseline;gap:12px}
  .sidebar .brand small{margin-top:0}
  .workspace{padding-left:28px;padding-right:28px}
}
@media (max-width:480px){.head .pill{margin-top:8px}}
@media (max-width:900px){.care-card{--care-bottom:84px}}
/* Accessibility pass 2026-11-18: small grey-green text was too faint to read (under 4.5 to 1). Same hue, darker. */
.preview-foot,.foot,.steps,details,summary,.nav-count,.day .empty,.sample-label{color:#56675e}
.steps span{color:#4f6057}
@media (max-width:900px){.feel-tabbar button{color:#5a6b62}.feel-sheet h2,.feel-row span{color:#56675e}}
/* Care layer (2026-11-18): one small card for "new version", "save a backup" and "is it helping?", plus the help links in the footer. */
.care-card{position:fixed;left:12px;right:12px;bottom:calc(var(--care-bottom,14px) + env(safe-area-inset-bottom,0px));z-index:48;max-width:460px;margin:0 auto;background:#fff;color:#16181d;border:1px solid rgba(0,0,0,.10);border-radius:16px;padding:13px 14px;box-shadow:0 12px 34px rgba(0,0,0,.18);font:400 14.5px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif}
.care-card b{display:block;font-weight:700;font-size:15px;margin-bottom:2px}
.care-card .care-row{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.care-card button{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #d9dde0;background:#fff;color:#16181d;font:600 14.5px/1 inherit;cursor:pointer}
.care-card button.care-go{background:var(--care-accent,#173d30);border-color:var(--care-accent,#173d30);color:#fff}
@media (prefers-reduced-motion:no-preference){.care-card{animation:care-in .4s cubic-bezier(.22,1,.36,1) both}}
@keyframes care-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.care-links{display:flex;gap:6px 16px;flex-wrap:wrap;margin-top:10px;font-size:12.5px}
.care-links a,.care-links button{color:inherit;background:none;border:0;padding:0;min-height:44px;display:inline-flex;align-items:center;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@media print{.care-card,.care-links{display:none!important}}
/* First-time set-up screens (2026-11-18). One role scale: hello 64, title 27, body 15.5, small 13. Each app sets its own colours on .ob-<app>. */
.ob{--ob-accent:#173d30;--ob-accent-fg:#fff;--ob-soft:#E9F1E9;--ob-ic:#173d30;--ob-ink:#16181d;--ob-muted:#5b6168;--ob-line:#dfe3e6;--ob-bg:#fff;--ob-hello:var(--ob-accent);
  position:fixed;inset:0;z-index:2147483000;background:var(--ob-bg);color:var(--ob-ink);display:flex;flex-direction:column;align-items:center;
  padding:calc(14px + env(safe-area-inset-top)) 24px calc(16px + env(safe-area-inset-bottom));
  font:400 15.5px/1.42 -apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;-webkit-text-size-adjust:100%;animation:ob-fade .22s ease both}
.ob *{box-sizing:border-box}
.ob-out{opacity:0;transition:opacity .2s ease}
html.ob-open,html.ob-open body{overflow:hidden}
.ob-back{align-self:flex-start;min-height:44px;padding:0 6px 0 0;border:0;background:none;color:var(--ob-accent);font-family:inherit;font-weight:500;font-size:17px;line-height:1;cursor:pointer}
.ob-back[hidden]{display:block;visibility:hidden}
.ob-count{position:absolute;top:calc(14px + env(safe-area-inset-top));right:24px;height:44px;display:flex;align-items:center;font-size:13px;color:var(--ob-muted)}
.ob-view{flex:1 1 auto;width:100%;max-width:440px;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:4px 2px 18px;display:flex;flex-direction:column}
.ob-view>*{flex:none}
.ob-in-next{animation:ob-next .26s cubic-bezier(.2,.8,.2,1) both}.ob-in-back{animation:ob-back .26s cubic-bezier(.2,.8,.2,1) both}
.ob-hello{font-weight:800;font-size:64px;line-height:1;letter-spacing:-.05em;color:var(--ob-hello);text-align:center;margin:min(18vh,150px) 0 14px}
.ob-ic{width:68px;height:68px;border-radius:18px;background:var(--ob-soft);display:flex;align-items:center;justify-content:center;margin:8px auto 16px}
.ob-ic svg{width:38px;height:38px;stroke:var(--ob-ic);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ob-title{font-weight:800;font-size:27px;line-height:1.12;letter-spacing:-.03em;text-align:center;margin:0;outline:none;text-wrap:balance}
.ob-text{text-align:center;color:var(--ob-muted);margin:10px 0 0;text-wrap:pretty}
.ob-body{margin-top:20px;display:flex;flex-direction:column;gap:10px}
.ob-field{display:flex;align-items:center;gap:10px;border:1.5px solid var(--ob-line);border-radius:13px;padding:0 14px;min-height:52px;background:#fff}
.ob-field:focus-within{border-color:var(--ob-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--ob-accent) 18%,transparent)}
.ob-field input,.ob-field select{flex:1 1 auto;min-width:0;border:0;background:none;outline:none;font-family:inherit;font-weight:500;font-size:16px;line-height:1.2;color:var(--ob-ink);min-height:48px;padding:0;-webkit-appearance:none;appearance:none}
.ob-field span{flex:none;font-size:13px;color:var(--ob-muted)}
.ob-sw{display:flex;gap:10px;justify-content:center;padding:2px 0 4px}
.ob-sw button{width:36px;height:36px;border-radius:50%;border:0;padding:0;cursor:pointer;position:relative}
.ob-sw button:after{content:'';position:absolute;inset:-5px}
.ob-sw button[aria-pressed=true]{outline:3px solid var(--ob-ink);outline-offset:2px}
.ob-add,.ob-quiet{min-height:48px;border:1.5px solid var(--ob-line);border-radius:13px;background:#fff;color:var(--ob-accent);font-family:inherit;font-weight:600;font-size:15.5px;line-height:1;cursor:pointer}
.ob-kid{display:flex;flex-direction:column;gap:10px}
.ob-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px;counter-reset:ob}
.ob-steps li{counter-increment:ob;display:grid;grid-template-columns:26px 1fr;gap:12px;align-items:start;color:#33383e}
.ob-steps li:before{content:counter(ob);width:26px;height:26px;border-radius:50%;background:var(--ob-accent);color:var(--ob-accent-fg);font-weight:700;font-size:13px;line-height:26px;text-align:center}
.ob-card{background:var(--ob-soft);border-radius:14px;padding:13px 14px;font-size:14.5px;color:#33383e}.ob-card b{color:var(--ob-ink)}
.ob-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.ob-tabs span{background:var(--ob-soft);border-radius:10px;padding:9px 2px;font-weight:600;font-size:11.5px;line-height:1;text-align:center}
.ob-bar{flex:none;width:100%;max-width:440px;display:flex;flex-direction:column;gap:4px;padding-top:8px}
.ob-go{min-height:54px;border:0;border-radius:15px;background:var(--ob-accent);color:var(--ob-accent-fg);font-family:inherit;font-weight:700;font-size:17px;line-height:1;cursor:pointer;transition:transform .15s ease,opacity .15s}
.ob-go:active{transform:scale(.98)}.ob-go:disabled{opacity:.6}
.ob-later{min-height:44px;border:0;background:none;color:var(--ob-accent);font-family:inherit;font-weight:500;font-size:16px;line-height:1;cursor:pointer}
.ob-later[hidden]{display:block;visibility:hidden}
.ob button:focus-visible{outline:3px solid var(--ob-accent);outline-offset:3px}
@keyframes ob-fade{from{opacity:0}to{opacity:1}}
@keyframes ob-next{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:none}}
@keyframes ob-back{from{opacity:0;transform:translateX(-22px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ob,.ob-in-next,.ob-in-back{animation:none}.ob-go{transition:none}}
@media (max-height:640px){.ob-hello{margin-top:8vh;font-size:54px}.ob-ic{width:56px;height:56px;margin:0 auto 12px}.ob-ic svg{width:32px;height:32px}.ob-title{font-size:24px}}
@media print{.ob{display:none!important}}
/* Shine: its own colours. The sunrise red-to-gold of the Shine name, the blue of a To do card, the green of Done. */
.ob-shine{--ob-accent:#3F6B52;--ob-soft:#DCEBF7;--ob-ic:#1F4F7A;--ob-ink:#141414;--ob-muted:#555555;--ob-line:#DADADA}
.ob-shine .ob-hello,.ob-shine .ob-title em{background:linear-gradient(135deg,#C0392B,#E9A126);-webkit-background-clip:text;background-clip:text;color:transparent;font-style:normal;padding-bottom:.08em}
.ob-shine .ob-steps li:before{background:linear-gradient(135deg,#C0392B,#E9A126)}
.ob-shine .ob-card{background:#FFF4E2}
.ob-shine .ob-back,.ob-shine .ob-later,.ob-shine .ob-add{color:#1F4F7A}
/* Settled: forest green on white, as in the app. */
.ob-settled{--ob-accent:#173d30;--ob-soft:#E9F1E9;--ob-ic:#173d30;--ob-ink:#173d30;--ob-muted:#56675e}
