/* ════════════════════════════════════════════════════════════════════
   MY DAY — app/(tabs)/planner.tsx: Sticky (ToolsTab → StickyBoard / Watch),
   Notes+ (QuickTab) and Plans (SchedulesTab). Numbers are the app's
   StyleSheets, point for pixel. See proto-myday.js.
   ════════════════════════════════════════════════════════════════════ */
#scr-planner, #md-layer { line-height: normal; text-align: left; }
:where(#scr-planner, #md-layer) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:where(#scr-planner, #md-layer) button:disabled { cursor: default; }
:where(#scr-planner, #md-layer) textarea, :where(#scr-planner, #md-layer) input {
  font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; outline: none; resize: none;
}
#scr-planner .mg, #md-layer .mg { flex: none; display: block; }
#scr-planner .sc, #md-layer .sc { overflow: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#scr-planner .sc::-webkit-scrollbar, #md-layer .sc::-webkit-scrollbar { display: none; }

.md { position: absolute; inset: 0; display: flex; flex-direction: column; background: #06060A; padding-top: 10px; }
.md__body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* MyDayTabBar.tsx */
.mdt { flex: none; display: flex; border-bottom: 1px solid #1E1E2E; background: #06060A; }
.mdt__tab { position: relative; flex: 1; display: flex; justify-content: center; padding: 12px 0; }
.mdt__tab span { font-size: 13px; font-weight: 600; color: #4B5563; letter-spacing: 0.2px; }
.mdt__tab--on span { color: #E8A33C; }
.mdt__line { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 1px; background: #E8A33C; }

/* ── ToolsTab.tsx — the two full-page cards and their curved arrows ── */
.tt { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: pan-y; }
.tt--drag { cursor: grabbing; }
.tt__page { position: absolute; inset: 0; will-change: transform; }
/* touch-action stops at the nearest scroll container, so the pages' own
   scrollers say pan-y too — or a sideways swipe begun on them is the
   browser's, not the pager's. The Watch tool strip scrolls sideways itself. */
.tt .sc { touch-action: pan-y; }
.tt .wp__tools { touch-action: pan-x; }
.tt__fill { position: absolute; inset: 0; display: flex; flex-direction: column; }
.tt__arrow { position: absolute; top: 50%; margin-top: -18px !important; width: 24px; height: 36px; z-index: 5;
  display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,0.6)); }
.tt__arrow--left { left: 1px; }
.tt__arrow--right { right: 1px; }
.tt__live { position: absolute; top: 4px; right: 3px; width: 6px; height: 6px; border-radius: 3px; background: #22C55E; }

/* ── StickyBoard.tsx ─────────────────────────────────────────────── */
.sb { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.sb__frame { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 7px; box-sizing: border-box;
  background: #5A3A1F; border-top: 1px solid #3E2713; border-bottom: 1px solid #3E2713; }
.sb__cork { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 9px; background: #C08B57; border: 2px solid #7A4E2A; }
.sb__grain { position: absolute; inset: 0; pointer-events: none; }
.sb__grain i { position: absolute; border-radius: 50%; }
.sb__grain .sb__fall { inset: 0; border-radius: 0; background: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0) 50%, rgba(0,0,0,0.22)); }
.sb__bar { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 4px; }
.sb__filters { display: flex; padding: 3px; gap: 2px; border-radius: 11px;
  background: rgba(74,47,23,0.82); border: 1px solid rgba(255,226,180,0.22); box-shadow: 0 2px 3px rgba(0,0,0,0.3); }
/* 9 not 12: the replica screen is 368 wide against the app's 390, and 12 runs the row into the pin. */
.sbp { display: flex; align-items: center; gap: 6px; padding: 6px 9px !important; border-radius: 8px; white-space: nowrap; flex: none; }
.sbp--on { background: #FBF6EA !important; box-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.sbp__t { color: #F3DDBB; font-size: 13px; font-weight: 800; }
.sbp--on .sbp__t { color: #3B2A1A; }
.sbp__n { color: #F3DDBB; font-size: 11px; font-weight: 800; min-width: 18px; text-align: center; padding: 1px 5px; box-sizing: border-box;
  border-radius: 6px; background: rgba(255,226,180,0.14); }
.sbp--on .sbp__n { color: #FBF6EA; background: #4A2F17; }
.sbp__n--alert { color: #fff; background: #C62828; }
.sb__pinBtn { position: relative; width: 38px; height: 38px; border-radius: 19px; display: flex; align-items: center; justify-content: center;
  background: #E53935 !important; border: 1px solid #B71C1C !important; box-shadow: 1px 4px 4px rgba(0,0,0,0.45); }
.sb__pinBtn:active { transform: scale(0.94); }
.sb__pinShine { position: absolute; top: 5px; left: 8px; width: 12px; height: 8px; border-radius: 6px; background: rgba(255,255,255,0.35); transform: rotate(-25deg); }
.sb__scroll { position: relative; flex: 1; min-height: 0; }
.sb__grid { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 26px; padding: 20px 22px 24px; }
.sb__note { width: 46%; }
.sb__empty { width: 100%; display: flex; justify-content: center; padding-top: 36px; }
.sb__emptyCard { position: relative; width: 78%; padding: 22px 18px 18px; box-sizing: border-box; border-radius: 3px; background: #FBF6EA;
  transform: rotate(-1.5deg); box-shadow: 2px 5px 5px rgba(0,0,0,0.35); }
.sb__emptyT { color: #3B2A1A; font-size: 15px; font-weight: 800; text-align: center; }
.sb__emptyX { color: #6B5540; font-size: 12px; line-height: 17px; text-align: center; margin-top: 6px; }
.sb__alerts { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  background: rgba(74,47,23,0.82); border: 1px solid rgba(255,226,180,0.22); }
.sb__alerts span { flex: 1; color: #FBF6EA; font-size: 12px; font-weight: 700; }
.sb__due { margin-top: 8px; color: #FBF6EA; font-size: 11px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb__late { display: flex; justify-content: center; gap: 6px; margin-top: 5px; }
.sb__lateBtn { display: flex; align-items: center; gap: 3px; padding: 5px 9px !important; border-radius: 8px; background: #FBF6EA !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.sb__lateBtn b { font-size: 12px; font-weight: 800; }
.sb__remChip { display: flex !important; align-items: center; gap: 4px; margin: 5px auto 0 !important; max-width: 100%;
  padding: 3px 8px !important; border-radius: 8px; background: #FCD34D !important; }
.sb__remChip b { color: #3B2A1A; font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb__toast { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px; background: rgba(20,14,8,0.94); z-index: 3; }
.sb__toast span { flex: 1; min-width: 0; color: #F5F5F5; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb__toast button { color: #FCD34D; font-size: 13px; font-weight: 800; }
/* A React Native Switch, iOS: 51×31, the thumb a white disc. */
.rnsw { position: relative; flex: none; width: 51px; height: 31px; border-radius: 16px; background: rgba(255,226,180,0.25) !important; transition: background 0.2s; }
.rnsw i { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 14px; background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.16); transition: transform 0.2s; }
.rnsw--on { background: #C62828 !important; }
.rnsw--on i { transform: translateX(20px); }

/* StickyNoteCard.tsx */
.stk { position: relative; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; }
.stk__paper { position: relative; aspect-ratio: 1; border-radius: 2px; padding: 16px 11px 10px; box-sizing: border-box; overflow: hidden;
  box-shadow: 2px 5px 5px rgba(0,0,0,0.35); }
.stk__paper--done { opacity: 0.82; }
.stk__txt { font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 14px; line-height: 19px; white-space: pre-line;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.stk__txt--done { text-decoration: line-through; opacity: 0.6; }
.stk__foot { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 4px; pointer-events: none; }
.stk__foot--stamp { right: 60px; }
.stk__timer { width: 20px; height: 20px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.08); }
.stk__rem { min-width: 0; height: 20px; display: flex; align-items: center; gap: 3px; padding: 0 6px; border-radius: 10px; background: rgba(0,0,0,0.10); }
.stk__rem b { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stk__from { position: absolute; right: 6px; top: 6px; padding: 3px; border-radius: 6px; background: rgba(0,0,0,0.08); }
.stk__mark { position: absolute; right: 8px; bottom: 32px; border: 2px solid; border-radius: 4px; padding: 1px 5px;
  background: rgba(255,255,255,0.35); transform: rotate(10deg); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1.2px; }
.stk__done { position: absolute; right: 8px; bottom: 10px; border: 2px solid #15803D; border-radius: 4px; padding: 1px 5px; transform: rotate(-12deg);
  color: #15803D; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; }
.stk__curl { position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; background: rgba(0,0,0,0.07); border-top-left-radius: 26px; }
.pin16 { position: absolute; top: -7px; left: 50%; z-index: 2; pointer-events: none; }
.pin16__shadow { position: absolute; background: rgba(0,0,0,0.32); }
.pin16__head { position: absolute; left: 0; top: 0; box-sizing: border-box; border: 1px solid rgba(0,0,0,0.25); box-shadow: 0 2px 2px rgba(0,0,0,0.4); }
.pin16__shine { position: absolute; top: 2.5px; left: 3px; border-radius: 16px; background: rgba(255,255,255,0.75); }

/* ── WatchPanel.tsx + SlotGrid.tsx + TimerSlot.tsx ──────────────────── */
.wp { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px 26px 12px; }
.wp__tools { flex: none; display: flex; gap: 8px; margin: 0 -26px; padding: 0 26px; }
.wp__tool { width: 86px; flex: none; display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 !important;
  border-radius: 14px; background: #0A0F1F !important; border: 1px solid #1E1E2E !important; }
.wp__tool:active { opacity: 0.75; }
.wp__icon { position: relative; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.wp__plus { position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 8px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; border: 2px solid #0A0F1F; }
.wp__lbl { color: #9CA3AF; font-size: 11px; font-weight: 700; }
.wp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 0 10px; }
.wp__title { color: #F5F5F5; font-size: 15px; font-weight: 700; }
.wp__hint { min-width: 0; color: #4B5563; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 184px; gap: 12px; }
.ws { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; border-radius: 18px;
  background: #0A0F1F; border: 1px solid rgba(59,130,246,0.20); cursor: pointer; box-sizing: border-box; min-width: 0; }
.ws:active { opacity: 0.85; }
.ws--empty { align-items: center; justify-content: center; gap: 4px; background: none; border: 1px dashed rgba(255,255,255,0.12); cursor: default; }
.ws--empty span { color: #4B5563; font-size: 12px; font-weight: 600; }
.ws__top { display: flex; align-items: center; gap: 7px; }
.ws__kind { width: 24px; height: 24px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; }
.ws__title { flex: 1; min-width: 0; color: #F5F5F5; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws__play { width: 26px; height: 26px; border-radius: 13px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); }
.ws__reading { color: #F5F5F5; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 28px; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.ws__status { color: #9CA3AF; font-size: 11px; font-weight: 600; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws__track { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.06); overflow: hidden; }
.ws__track i { display: block; height: 100%; border-radius: 2px; }
.ws__attach { display: flex; align-items: center; gap: 7px; min-height: 18px; }
.ws__mini { width: 16px; height: 16px; border-radius: 2px; flex: none; display: flex; justify-content: center; transform: rotate(-4deg); }
.ws__mini i { width: 5px; height: 5px; border-radius: 3px; margin-top: -2px; }
.ws__note { flex: 1; min-width: 0; color: #9CA3AF; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws__none { color: #4B5563; font-size: 11px; }
/* NumberBadge.tsx — in the slot's corner (SlotGrid's badge style) */
.nb { position: absolute; top: 6px; left: 6px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px;
  border: 1px solid; background: #06060A; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; pointer-events: none; }
.nb--task { top: -6px; left: -6px; }

/* ── The layer over the tabs: the open note, sheets, alerts ─────────── */
.mdl { position: absolute; inset: 0; z-index: 64; pointer-events: none; }
.mdl > * { pointer-events: auto; }

/* NoteEditorSheet.tsx */
.ne { position: absolute; inset: 0; }
.ne__back { position: absolute; inset: 0; background: rgba(3,5,12,0.5); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.ne__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; pointer-events: none; }
.ne__paper { position: relative; pointer-events: auto; border-radius: 22px; overflow: hidden; box-sizing: border-box;
  padding: 12px 16px; display: flex; flex-direction: column; }
.ne__paper--rise { animation: neRise 380ms cubic-bezier(0.34, 1.5, 0.64, 1) both; }
@keyframes neRise { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.ne__sheen { position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: rgba(255,255,255,0.55); pointer-events: none; }
.ne__head { display: flex; align-items: center; gap: 10px; }
.ne__swatches { flex: 1; display: flex; align-items: center; gap: 9px; }
.ne__sw { width: 24px; height: 24px; border-radius: 12px; box-sizing: border-box; border-width: 1.5px !important; border-style: solid !important;
  display: flex !important; align-items: center; justify-content: center; }
.ne__sw--on { border-width: 2px !important; transform: scale(1.12); }
.ne__close { width: 32px; height: 32px; border-radius: 16px; display: flex !important; align-items: center; justify-content: center; }
.ne__close:active, .ne__pill:active, .ne__open:active { opacity: 0.6; }
.ne__in { flex: 1; min-height: 0; margin-top: 12px !important; font-family: "Space Grotesk", sans-serif !important; font-weight: 500 !important;
  font-size: 18px !important; line-height: 25px !important; }
.ne__in::placeholder { color: var(--ph); }
.ne__info { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding: 7px 10px; border-radius: 12px; border: 0.5px solid; }
.ne__info span { flex: 1; font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 12px; line-height: 16px; }
.ne__open { display: flex !important; align-items: center; gap: 4px; padding: 6px 10px !important; border-radius: 10px;
  font-family: "Space Grotesk", sans-serif !important; font-weight: 600 !important; font-size: 12px !important; white-space: nowrap; }
.ne__foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ne__pill { min-width: 0; display: flex !important; align-items: center; gap: 6px; height: 34px; padding: 0 12px !important; box-sizing: border-box;
  border-radius: 17px; border-width: 0.5px !important; border-style: solid !important; }
.ne__pill b { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ne__pill--icon { width: 34px; padding: 0 !important; justify-content: center; }
.ne__count { margin-left: auto; font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 11px; font-variant-numeric: tabular-nums; }
.ne__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; background: rgba(3,5,12,0.55); }
.ne__overBack { position: absolute; inset: 0; }
.ne__remCard { position: relative; width: 100%; max-height: 92%; overflow: auto; scrollbar-width: none;
  border-radius: 22px 22px 0 0; background: #14161F; border: 1px solid rgba(255,255,255,0.10); border-bottom: 0; }
.ne__remCard::-webkit-scrollbar { display: none; }

/* ReminderSheet.tsx — ReminderForm */
.rf { padding: 16px; }
.rf__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.rf__head span { color: #F5F5F5; font-size: 15px; font-weight: 700; letter-spacing: 0.2px; }
.rf__quote { color: #9CA3AF; font-size: 14px; line-height: 20px; border-left: 2px solid rgba(255,255,255,0.14); padding-left: 10px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; white-space: pre-line; }
.rf__label { color: #9CA3AF; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; margin-top: 14px; }
.rf__chips { display: flex; align-items: center; gap: 7px; padding: 8px 8px 8px 0; overflow-x: auto; scrollbar-width: none; }
.rf__chips::-webkit-scrollbar { display: none; }
.rf__chip { flex: none; max-width: 160px; display: flex !important; align-items: center; gap: 5px; padding: 7px 11px !important; border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.14) !important; color: #9CA3AF !important; font-size: 12px !important; font-weight: 600 !important; white-space: nowrap; }
.rf__chip--on { border-color: #38BDF8 !important; background: rgba(56,189,248,0.15) !important; color: #F5F5F5 !important; }
.rf__hint { color: #4B5563; font-size: 11px; }
.rf__every { color: #4B5563; font-size: 12px; font-weight: 700; padding: 0 2px; flex: none; }
.rf__wheels { position: relative; display: flex; align-items: center; justify-content: center; gap: 2px; height: 102px; margin-top: 4px; }
.rf__colon { color: #F5F5F5; font-size: 17px; font-weight: 700; margin: 0 1px; }
.rf__past { color: #FFC107; font-size: 12px; font-weight: 600; text-align: center; padding-top: 2px; }
.rf__actions { display: flex; gap: 10px; margin-top: 16px; }
.rf__cancel { flex: 1; padding: 12px 0 !important; border-radius: 14px; background: rgba(255,255,255,0.06) !important;
  color: #9CA3AF !important; font-size: 14px !important; font-weight: 600 !important; text-align: center; }
.rf__set { flex: 1.4; padding: 12px 0 !important; border-radius: 14px; background: #38BDF8 !important;
  color: #0B0F1C !important; font-size: 14px !important; font-weight: 800 !important; text-align: center; }
.rf__set:disabled { opacity: 0.4; }
.rf__off { color: #4B5563; font-size: 11px; text-align: center; padding-top: 8px; }
/* WheelPicker.tsx, compact: 34pt rows, one either side of the band */
.wh__band { position: absolute; top: 34px; height: 34px; left: 6px; right: 6px; border-radius: 12px; pointer-events: none;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); box-sizing: border-box; }
.wh { position: relative; height: 102px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; flex: none; overscroll-behavior: contain; }
.wh::-webkit-scrollbar { display: none; }
.wh__pad { height: 34px; }
.wh__it { height: 34px; display: flex; align-items: center; justify-content: center; scroll-snap-align: center;
  color: #F5F5F5; font-weight: 600; letter-spacing: 0.3px; font-size: var(--wf); white-space: nowrap; cursor: pointer; }

/* GlassSheet.tsx */
.gs { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 22px; }
.gs__back { position: absolute; inset: 0; background: rgba(3,5,12,0.62); }
.gs__sheet { position: relative; width: 100%; max-width: 380px; max-height: 92%; overflow: auto; scrollbar-width: none;
  border-radius: 28px; border: 1px solid rgba(255,255,255,0.16); box-sizing: border-box;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 18px 34px rgba(0,0,0,0.5);
  animation: gsIn 200ms ease-out both; }
.gs__sheet::-webkit-scrollbar { display: none; }
@keyframes gsIn { from { opacity: 0; } to { opacity: 1; } }
.gs__tint { position: absolute; inset: 0; background: rgba(16,22,42,0.55); pointer-events: none; }
.gs__rim { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.22); pointer-events: none; }
.gs__in { position: relative; }
.gs__sheet--pad .gs__in { padding: 18px; display: flex; flex-direction: column; gap: 10px; }

/* The iOS alert Alert.alert raises */
.mda { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); z-index: 5; }
.mda__card { width: 270px; border-radius: 14px; overflow: hidden; text-align: center;
  background: rgba(37,37,39,0.94); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); animation: mdaIn 180ms ease-out both; }
@keyframes mdaIn { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
.mda__t { padding: 19px 16px 0; color: #fff; font-size: 17px; font-weight: 600; line-height: 22px; }
.mda__m { padding: 2px 16px 0; color: #fff; font-size: 13px; line-height: 17px; }
.mda__btns { display: flex; margin-top: 19px; border-top: 0.5px solid rgba(84,84,88,0.65); }
.mda__b { flex: 1; height: 44px; color: #0A84FF !important; font-size: 17px !important; }
.mda__b + .mda__b { border-left: 0.5px solid rgba(84,84,88,0.65) !important; }
.mda__b--cancel { font-weight: 600 !important; }
.mda__b--red { color: #FF453A !important; }

/* ── QuickTab.tsx (Notes+) ────────────────────────────────────────── */
.qt { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.qt__body { flex: 1; min-height: 0; display: flex; }
.qt__main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qt__flash { position: absolute; left: 14px; right: 14px; bottom: 70px; display: flex; justify-content: center; pointer-events: none; z-index: 4; }
.qt__flash span { padding: 7px 12px; border-radius: 10px; font-size: 12px; font-weight: 600; background: rgba(14,14,24,0.95); text-align: center; }

/* NotesStrip.tsx */
.qs { flex: none; display: flex; gap: 8px; padding: 10px 14px 4px; }
.qs__chip { flex: none; max-width: 176px; display: flex !important; align-items: center; gap: 8px; padding: 6px 12px !important; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07) !important; background: rgba(255,255,255,0.03) !important;
  color: #9CA3AF !important; font-size: 12px !important; font-weight: 600 !important; font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block !important; user-select: none; -webkit-user-select: none; touch-action: pan-x; }
.qs__chip--on { border-color: rgba(59,130,246,0.20) !important; background: rgba(59,130,246,0.12) !important; color: #F5F5F5 !important; }
.qs__new { display: flex !important; padding: 5px 9px !important; border-color: rgba(200,255,0,0.28) !important; background: rgba(200,255,0,0.12) !important; }
.qs__chip:active { opacity: 0.65; }

/* QuickToolRail.tsx — everything 7% shorter */
.qr { align-self: flex-start; flex: none; display: flex; flex-direction: column; align-items: center; gap: 7.44px; padding: 5.58px 6px;
  margin: 8px 10px 0 0; border-radius: 14px; background: rgba(6,6,10,0.7); border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
.qr__term { width: 47px; height: 53px; border-radius: 12px; display: flex !important; align-items: center; justify-content: center; box-sizing: border-box;
  background: rgba(6,6,10,0.97) !important; border: 1.5px solid rgba(59,130,246,0.20) !important; }
.qr__term--on { background: #3B82F6 !important; border-color: #3B82F6 !important; box-shadow: 0 0 12px rgba(59,130,246,0.6); }
.qr__div { width: 24px; height: 1px; background: rgba(255,255,255,0.08); }
.qr__btn { width: 40px; height: 44.64px; border-radius: 10px; display: flex !important; align-items: center; justify-content: center; box-sizing: border-box;
  background: rgba(6,6,10,0.97); border: 1.5px solid rgba(255,255,255,0.08); }
.qr__btn:disabled { opacity: 0.5; }
.qr__btn:active:not(:disabled), .qr__term:active { opacity: 0.65; }

/* AskAiCell.tsx */
.qa { flex: none; margin: 8px 0 0 14px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; border-radius: 10px;
  border: 1px solid rgba(196,181,253,0.45); background: #110C1F; }
.qa__head { display: flex; align-items: center; gap: 5px; }
.qa__t { color: #C4B5FD; font-size: 10px; font-weight: 800; letter-spacing: 0.6px; }
.qa__scope { flex: 1; color: #9CA3AF; font-size: 11px; font-weight: 600; }
.qa__clear { color: #C4B5FD !important; font-size: 11px !important; font-weight: 700 !important; }
.qa__row { display: flex; align-items: flex-end; gap: 8px; }
.qa__in { flex: 1; color: #F5F5F5 !important; font-size: 15px !important; line-height: 21px !important; min-height: 21px; max-height: 105px; }
.qa__in::placeholder, .qc__in::placeholder, .qc__tin::placeholder, .qx__in::placeholder, .st__in::placeholder { color: #4B5563; }
.qa__send { width: 28px; height: 28px; border-radius: 14px; flex: none; display: flex !important; align-items: center; justify-content: center; background: #C4B5FD !important; }
.qa__send:active { opacity: 0.7; }
.qa__hint { color: #4B5563; font-size: 11px; }

/* NoteCellList.tsx on DraggableCells.tsx */
.qc { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 8px 0 24px 10px; box-sizing: border-box; }
.qc--drag { overflow: hidden !important; }
.qc__head { flex: none; margin-bottom: 8px; position: relative; z-index: 1; }
.qc__title { padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.025); background: #0B0B0F;
  box-shadow: 0 3px 6px rgba(0,0,0,0.55); transform-origin: right center; transition: transform 260ms cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 200ms; }
.qc__title--on { background: #17140F; border-color: rgba(232,163,60,0.3); border-top-color: rgba(232,163,60,0.45);
  transform: scale(1.025); box-shadow: 0 12px 20px rgba(0,0,0,0.9); }
.qc__tin { display: block; width: 100%; color: #F5F5F5 !important; font-size: 21px !important; line-height: 27px !important; font-weight: 800 !important;
  letter-spacing: 0.1px; overflow: hidden; }
.qc__tcount { text-align: right; color: #4B5563; font-size: 10px; font-weight: 600; margin-top: 2px; }
.qc__tcount--full { color: #FFC107; }
.qc__cells { position: relative; flex: none; }
.qc__row { position: relative; display: flex; align-items: flex-start; gap: 4px; margin-bottom: 8px; padding: 8px 8px 8px 10px; box-sizing: border-box;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.025); background: #0B0B0F; box-shadow: 0 3px 6px rgba(0,0,0,0.55);
  transform-origin: right center; transition: transform 260ms cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 200ms; }
.qc__row--sel { z-index: 2; background: #17140F; border-color: rgba(255,255,255,0.04); border-top-color: rgba(255,255,255,0.09);
  transform: scale(1.025); box-shadow: 0 12px 20px rgba(0,0,0,0.9); }
.qc__row--edit { border-color: rgba(232,163,60,0.3); border-top-color: rgba(232,163,60,0.45); }
.qc__row--picked { border-color: #C4B5FD; background: #140F24; }
.qc__row--off { opacity: 0.45; }
.qc__row--hole { background: rgba(232,163,60,0.12) !important; border: 1.5px dashed #E8A33C !important; box-shadow: none !important; transform: none !important; }
.qc__row--hole > * { visibility: hidden; }
.qc__check { width: 18px; flex: none; display: flex; justify-content: center; padding-top: 3px; }
.qc__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.qc__tag { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.3px; }
.qc__wrap { position: relative; }
.qc__in { display: block; width: 100%; color: #F5F5F5 !important; font-size: 15px !important; line-height: 21px !important; min-height: 84px; overflow: hidden; }
.qc__in--done { color: #4B5563 !important; text-decoration: line-through; }
.qc__tap { position: absolute; inset: 0; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.qc__tap[hidden] { display: none; }
.qc__count { color: #4B5563; font-size: 10px; font-weight: 600; }
.qc__count--full { color: #FFC107; }
.qc__acts { flex: none; display: flex; align-items: center; gap: 8px; padding-top: 3px; }
.qc__acts button:disabled { opacity: 1; }
.qc__pick { position: absolute; inset: 0; cursor: pointer; }
.qc__tail { flex: 1 0 120px; cursor: default; }
.qc__tailNote { color: #4B5563; font-size: 11px; font-weight: 600; text-align: center; padding-top: 4px; }
.qc__lift { position: absolute; left: 0; right: 0; z-index: 10; pointer-events: none; }
.qc__liftRow { margin: 0; padding: 8px 8px 8px 10px; border-radius: 10px; background: #17140F; border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 8px 14px rgba(0,0,0,0.55); transform: scale(1.02); color: #F5F5F5; font-size: 15px; line-height: 21px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; white-space: pre-line; }

/* The command page: CommandLine + CommandRenderer + CommandRecordList */
.qx { flex: none; max-height: 58%; padding: 8px 0 0 14px; }
.qx__bar { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 12px;
  border: 1px solid rgba(59,130,246,0.20); background: #0A0F1F; }
.qx__in { flex: 1; min-width: 0; color: #F5F5F5 !important; font-size: 14px !important; line-height: 20px !important; max-height: 64px; padding-top: 1px !important; }
.qx__panel { margin-top: 6px; padding: 10px; display: flex; flex-direction: column; gap: 8px; border-radius: 12px;
  border: 1px solid rgba(59,130,246,0.20); background: rgba(59,130,246,0.06); }
.qx__status { display: flex; align-items: flex-start; gap: 6px; }
.qx__status span { flex: 1; color: #9CA3AF; font-size: 12px; line-height: 16px; font-weight: 600; }
.qx__chips { display: flex; gap: 7px; padding-right: 4px; }
.qx__chip { flex: none; padding: 5px 10px !important; border-radius: 8px; border: 1px solid rgba(255,255,255,0.07) !important;
  background: rgba(255,255,255,0.03) !important; color: #9CA3AF !important; font-size: 11px !important; white-space: nowrap; }
.qx__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 32px 14px; }
.qx__emptyT { color: #9CA3AF; font-size: 14px; font-weight: 700; }
.qx__emptyX { color: #4B5563; font-size: 12px; text-align: center; line-height: 17px; max-width: 280px; }

/* ReadAloudSheet.tsx */
.ra__head { display: flex; align-items: center; gap: 8px; padding: 16px 18px 6px; }
.ra__head span { color: #F5F5F5; font-size: 15px; font-weight: 700; letter-spacing: 0.2px; }
.ra__close { margin-left: auto !important; }
.ra__sec { color: #4B5563; font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 10px 18px 6px; }
.ra__voices { display: flex; gap: 8px; padding: 0 14px; }
.ra__col { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ra__voice { display: flex !important; align-items: center; gap: 8px; padding: 9px 10px !important; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1) !important; background: rgba(255,255,255,0.04) !important; text-align: left; }
.ra__voice--on { border-color: rgba(232,163,60,0.22) !important; background: rgba(232,163,60,0.12) !important; }
.ra__vt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ra__vt b { color: #9CA3AF; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ra__voice--on .ra__vt b { color: #F5F5F5; }
.ra__vt i { color: #4B5563; font-size: 11px; font-style: normal; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ra__acts { display: flex; gap: 10px; padding: 0 14px; }
.ra__btn { flex: 1; height: 44px; border-radius: 14px; display: flex !important; align-items: center; justify-content: center; gap: 7px; font-size: 14px !important; }
.ra__btn--pri { background: #E8A33C !important; color: #1A1206 !important; font-weight: 800 !important; }
.ra__btn--ghost { border: 1px solid rgba(232,163,60,0.22) !important; background: rgba(255,255,255,0.05) !important; color: #F3C98B !important; font-weight: 700 !important; }
.ra__btn:disabled { opacity: 0.4; }
.ra__hint { color: #4B5563; font-size: 11px; font-style: italic; padding: 8px 18px 16px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* SaveToTaskSheet.tsx */
.st__head { display: flex; align-items: center; gap: 12px; }
.st__badge { width: 38px; height: 38px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.20); }
.st__ht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st__ht b { color: #F5F5F5; font-size: 17px; font-weight: 800; }
.st__ht span { color: #9CA3AF; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st__close { width: 30px; height: 30px; border-radius: 15px; flex: none; display: flex !important; align-items: center; justify-content: center; background: rgba(255,255,255,0.06) !important; }
.st__preview { padding: 10px 12px; border-radius: 12px; border-left: 2px solid rgba(59,130,246,0.20); background: rgba(255,255,255,0.04);
  color: #9CA3AF; font-size: 13px; line-height: 18px; white-space: pre-line; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.st__labelRow { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.st__label { color: #9CA3AF; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.st__sync { display: flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 9px; background: rgba(34,197,94,0.10);
  color: #22C55E; font-size: 10px; font-weight: 700; }
.st__card { border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.st__plan { display: flex; align-items: center; gap: 7px; padding: 9px 12px; }
.st__plan span { color: #4B5563; font-size: 12px; font-weight: 600; }
.st__plan b { flex: 1; min-width: 0; color: #F5F5F5; font-size: 13px; font-weight: 700; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st__hair { display: block; height: 0.5px; background: rgba(255,255,255,0.12); margin: 0 12px; }
.st__in { display: block; width: 100%; box-sizing: border-box; color: #F5F5F5 !important; font-size: 15px !important; font-weight: 600 !important; padding: 11px 12px !important; }
.st__create { display: flex !important; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 12px;
  background: #3B82F6 !important; color: #fff !important; font-size: 15px !important; font-weight: 800 !important; }
.st__create:active, .st__row:active { opacity: 0.7; }
.st__hint { color: #4B5563; font-size: 11px; line-height: 15px; text-align: center; margin-top: -2px; }
.st__or { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.st__or i { flex: 1; height: 0.5px; background: rgba(255,255,255,0.14); }
.st__or span { color: #4B5563; font-size: 11px; font-weight: 600; }
.st__list { max-height: 200px; display: flex; flex-direction: column; gap: 6px; }
.st__row { display: flex !important; align-items: center; gap: 10px; padding: 9px 10px !important; border-radius: 10px; flex: none;
  border: 1px solid rgba(255,255,255,0.08) !important; background: rgba(255,255,255,0.04) !important; text-align: left; }
.st__icon { font-size: 14px; }
.st__rb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.st__rb b { color: #F5F5F5; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st__rb i { color: #4B5563; font-size: 11px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── SchedulesTab.tsx (Plans) ─────────────────────────────────────── */
.pl { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 120px; box-sizing: border-box; }
.pl__top { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.pl__count { min-width: 32px; height: 32px; padding: 0 8px; box-sizing: border-box; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(59,130,246,0.20); background: rgba(59,130,246,0.12); color: #93C5FD; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pl__tally { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; color: #4B5563; font-size: 12px; font-weight: 600; letter-spacing: 0.4px; }
.pl__tally b { color: #9CA3AF; font-weight: 700; font-variant-numeric: tabular-nums; }
.pl__new { position: relative; width: 32px; height: 32px; border-radius: 16px; display: flex !important; align-items: center; justify-content: center;
  background: #3B82F6 !important; box-shadow: 0 0 8px rgba(59,130,246,0.55); }
.pl__new:active { opacity: 0.75; }
.pl__empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 40px; }
.pl__emptyI { font-size: 40px; }
.pl__emptyT { color: #9CA3AF; font-size: 15px; font-weight: 600; }
.pl__emptyX { color: #4B5563; font-size: 12px; text-align: center; }
.pc { flex: none; border-radius: 16px; overflow: hidden; background: #0A0F1F; border: 1px solid rgba(59,130,246,0.20);
  box-shadow: 0 4px 12px rgba(59,130,246,0.18); cursor: pointer; }
.pc__head { display: flex; align-items: center; gap: 8px; padding: 13px 12px; }
.pc__head > .mg:first-child { margin-right: -2px; }
.pc__left { flex: 1; min-width: 0; }
.pc__title { display: block; color: #F5F5F5; font-size: 15px; font-weight: 700; letter-spacing: 0.1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__in { display: block; width: 100%; color: #F5F5F5 !important; font-size: 15px !important; font-weight: 700 !important; margin: -1px 0 !important;
  border-bottom: 1px solid #3B82F6 !important; }
.pc__right { display: flex; align-items: center; gap: 10px; }
.pc__move { display: flex; flex-direction: column; gap: 2px; margin-left: -2px; }
.pc__preview { display: flex; flex-direction: column; gap: 3px; padding: 0 10px 10px; margin-top: -3px; pointer-events: none; }
.pc__tasks { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-top: 1px solid rgba(59,130,246,0.20); cursor: default; }
.pc__none { color: #4B5563; font-size: 12px; padding: 6px 4px; }
.pc__foot { display: flex; align-items: center; }
.pc__add { display: flex !important; align-items: center; gap: 6px; padding: 8px 4px !important; color: #3B82F6 !important; font-size: 13px !important; font-weight: 600 !important; }
.pp { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 7px; background: rgba(255,255,255,0.03); }
.pp__lead { width: 12px; flex: none; display: flex; justify-content: center; }
.pp__lead b { color: #93C5FD; font-size: 10px; font-weight: 800; }
.pp__lead i { width: 5px; height: 5px; border-radius: 2.5px; }
.pp__t { flex: 1; min-width: 0; color: #9CA3AF; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp__t--done { color: #4B5563; text-decoration: line-through; }
.pp__w { color: #93C5FD; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2px; white-space: nowrap; }
.pp__w--done { color: #4B5563 !important; }
.pt { position: relative; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px;
  border: 1px solid rgba(59,130,246,0.20); background: rgba(255,255,255,0.03); }
.pt__check { width: 18px; height: 18px; border-radius: 5px; flex: none; box-sizing: border-box; border: 1.5px solid #3B82F6 !important;
  display: flex !important; align-items: center; justify-content: center; }
.pt__check--done { background: #3B82F6 !important; }
.pt__body { flex: 1; min-width: 0; }
.pt__t { color: #F5F5F5; font-size: 13px; font-weight: 600; line-height: 17px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pt__t--done { color: #4B5563; text-decoration: line-through; }
.pt__w { color: #93C5FD; font-size: 11px; font-weight: 600; margin-top: 2px; letter-spacing: 0.2px; }
.pt__w--done { color: #4B5563 !important; }
.pds { flex: none; border: 1.5px solid #EF4444; border-radius: 3px; padding: 1px 4px; transform: rotate(-6deg);
  color: #EF4444; font-size: 8.5px; font-weight: 900; letter-spacing: 0.8px; }
.pds--sm { border-width: 1px; padding: 0 3px; font-size: 7px; letter-spacing: 0.6px; }

/* The tab-bar mic on Notes+ — QuickMicButton.tsx: 58 in a 68 ring, lifted 12 */
.micslot--quick { width: 82px; }
.mic--quick { --mic-c: #94A3B8; top: -41px; width: 68px; height: 68px; border-radius: 34px; box-shadow: none; }
.mic--quick.mic--command { --mic-c: #3B82F6; }
.mic--quick .mic__ring { border-radius: 34px; opacity: 0.35; }
.mic--quick .mic__disc { width: 58px; height: 58px; border-radius: 29px; border-width: 2px; background: rgba(10,12,20,0.97); }
.mic--quick .mic__disc svg { width: 26px; height: 26px; }
.tabbar__platform--quick { top: -12px; width: 80px; height: 39px; border-top-left-radius: 40px; border-top-right-radius: 40px; }
