/* =====================================================================
   PPS BASE 1.0.0 (15 Nov 2026): the shared look for Ali's apps
   Loads AFTER soft-glass.css. Two looks, chosen on <html>:
     data-pp="pebble"  Soft Pebble: SEO Desk, Studio Desk, Product Desk (SUNDAY DESIGN THEME)
     data-pp="paper"   Paper Planner: Life OS (home + life calendar)
   Plus data-pp-app="seodesk|studiodesk|productdesk|lifeos" for the app's one accent.
   Rules (SUNDAY DECISIONS v2): more colour but soft pastels; never dark fills on calendars, "today",
   active menu items or chips; one dark main button per screen; Doto for numbers, dates, day numbers and
   page titles; Figtree for reading text. Plain CSS only: no images, no animation on load, blur only on
   pop-ups and the Ctrl+K box ("Lite glass" turns that off too).
   ===================================================================== */

@font-face { font-family: "Doto"; src: url("fonts/doto-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

/* ---------- 1. Soft Pebble tokens (re-point the soft-glass variables) ---------- */
[data-pp="pebble"] {
  --sg-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pp-dots: "Doto", ui-monospace, monospace;
  --sg-bg: #e7e8ea; --sg-bg-a: #e7e8ea; --sg-bg-b: #eceaf0;
  --sg-surface: #f9f9f8; --sg-surface-solid: #ffffff; --sg-surface-2: #f1f2f3;
  --sg-border: transparent;
  --sg-ink: #1f2226; --sg-ink-2: #545a62;
  --sg-shadow: 0 12px 40px rgba(30, 40, 55, .07); --sg-shadow-lift: 0 16px 48px rgba(30, 40, 55, .11);
  --sg-glass: rgba(249, 249, 248, .78);
  --sg-r-card: 28px; --sg-r-sheet: 28px; --sg-r-input: 999px;
  --pp-ink-dark: #1f2226;
  /* the one accent per app: only tags, active pill and highlights */
  --pp-acc-bg: #e3e5e8; --pp-acc-ink: #1f2226;
}
[data-pp="pebble"][data-pp-app="seodesk"]     { --pp-acc-bg: #cdebe3; --pp-acc-ink: #0b4a43; --sg-accent: #1a6f60; --sg-accent-soft: #cdebe3; }
[data-pp="pebble"][data-pp-app="studiodesk"]  { --pp-acc-bg: #dedff6; --pp-acc-ink: #33378f; --sg-accent: #3f44a8; --sg-accent-soft: #dedff6; }
[data-pp="pebble"][data-pp-app="productdesk"] { --pp-acc-bg: #f3e1ae; --pp-acc-ink: #5a4000; --sg-accent: #8a6400; --sg-accent-soft: #f3e1ae;
  --sg-bg: #e9e4e1; --sg-surface: #fbf8f6; --sg-ink: #24201d; --sg-ink-2: #5d554f; --sg-shadow: 0 12px 40px rgba(70, 45, 35, .07); }
[data-pp="pebble"][data-sg-theme="night"] {
  --sg-bg: #1b1d21; --sg-surface: #24272c; --sg-surface-solid: #2b2e34; --sg-surface-2: #2b2e34;
  --sg-ink: #eceef1; --sg-ink-2: #b4bac2; --sg-shadow: 0 12px 40px rgba(0, 0, 0, .35); --sg-glass: rgba(36, 39, 44, .85);
  --pp-acc-bg: #34383f; --pp-acc-ink: #eceef1; --pp-ink-dark: #eceef1;
}

/* ---------- 2. Paper Planner tokens (Life OS) ---------- */
[data-pp="paper"] {
  --sg-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pp-dots: "Doto", ui-monospace, monospace;
  --sg-bg: #f7f1e6; --sg-bg-a: #f7f1e6; --sg-bg-b: #f3ece0;
  --sg-surface: #fffbf3; --sg-surface-solid: #fffdf8; --sg-surface-2: #f6efe2;
  --sg-border: #e8dcc8;
  --sg-ink: #2e2620; --sg-ink-2: #5e5246;
  --sg-shadow: 0 6px 20px rgba(110, 80, 40, .08); --sg-shadow-lift: 0 12px 32px rgba(110, 80, 40, .12);
  --sg-glass: rgba(255, 251, 243, .86);
  --sg-accent: #6a4fb8; --sg-accent-soft: #ece4fa;
  --pp-acc-bg: #ece4fa; --pp-acc-ink: #4a3384; --pp-ink-dark: #2e2620;
  --pp-line: #eadfcb;
  /* the four calendar washes (Life OS key): important dates, family/events, tasks/notes, Islamic dates */
  --pp-rose: #f9e1e4; --pp-rose-ink: #7a2e3b;
  --pp-sage: #e3eedf; --pp-sage-ink: #2f5a2c;
  --pp-sand: #f6ead2; --pp-sand-ink: #6b4f14;
  --pp-sky:  #e3eef8; --pp-sky-ink: #24507e;
  /* one colour per life area (SUNDAY DECISIONS v2) */
  --pp-personal: #dcefdc; --pp-personal-ink: #2a5e2c;
  --pp-work: #e7e1f6;     --pp-work-ink: #4a3384;
  --pp-business: #fbe0d8; --pp-business-ink: #8a3a22;
  --pp-growth: #fde5cc;   --pp-growth-ink: #84400f;
  --pp-money: #f6e7b4;    --pp-money-ink: #5e4500;
  --pp-food: #dcebf8;     --pp-food-ink: #1f4a80;
}
[data-pp="paper"][data-sg-theme="night"] {
  --sg-bg: #1d1a17; --sg-surface: #262220; --sg-surface-solid: #2d2926; --sg-surface-2: #2d2926;
  --sg-border: #3a342e; --sg-ink: #f1ebe2; --sg-ink-2: #c3b8aa; --pp-line: #3a342e; --pp-ink-dark: #f1ebe2;
  --pp-rose: #44262b; --pp-rose-ink: #f3c1c9; --pp-sage: #26352a; --pp-sage-ink: #bfe0bd;
  --pp-sand: #3d3220; --pp-sand-ink: #ecd29a; --pp-sky: #22303f; --pp-sky-ink: #b8d4f2;
}
/* the paper: a faint ruled texture in CSS only */
[data-pp="paper"] body { background: var(--sg-bg) repeating-linear-gradient(180deg, transparent 0 31px, rgba(150, 120, 80, .05) 31px 32px); }
[data-pp="pebble"] body { background: var(--sg-bg); }

/* ---------- 3. Type: dotted numbers and titles ---------- */
.pp-title { font-family: var(--pp-dots); font-weight: 700; font-size: 2.5rem; line-height: 1.1; margin: 0; letter-spacing: 0; }
.pp-num, .pp-big { font-family: var(--pp-dots); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-num { font-size: 3.25rem; }
.pp-big { font-size: 4.5rem; }
@media (max-width: 720px) { .pp-title { font-size: 1.75rem; } .pp-num { font-size: 2.25rem; } .pp-big { font-size: 2.75rem; } }

/* ---------- 4. Tiles, stat row, glow cards, strip ---------- */
.pp-tile { background: var(--sg-surface); border-radius: var(--sg-r-card); box-shadow: var(--sg-shadow); padding: 24px; }
[data-pp="paper"] .pp-tile { border: 1px solid var(--sg-border); border-radius: 20px; }
.pp-stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.pp-stats--3 { --n: 3; } .pp-stats--5 { --n: 5; }
@media (max-width: 720px) { .pp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pp-stat { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pp-stat .pp-lbl { font-size: .875rem; color: var(--sg-ink-2); }
/* rainbow-pastel stat chips (soft fills, dark ink) */
.pp-stat:nth-child(5n+1) .pp-chip { background: #f8d3d9; } .pp-stat:nth-child(5n+1) .pp-num { color: #8e2b3b; }
.pp-stat:nth-child(5n+2) .pp-chip { background: #ffddbe; } .pp-stat:nth-child(5n+2) .pp-num { color: #8a4300; }
.pp-stat:nth-child(5n+3) .pp-chip { background: #f5e6a3; } .pp-stat:nth-child(5n+3) .pp-num { color: #6b5300; }
.pp-stat:nth-child(5n+4) .pp-chip { background: #cdebdc; } .pp-stat:nth-child(5n+4) .pp-num { color: #1e5a3b; }
.pp-stat:nth-child(5n+5) .pp-chip { background: #d2e2f6; } .pp-stat:nth-child(5n+5) .pp-num { color: #1f4a80; }
[data-sg-theme="night"] .pp-stat .pp-num { color: var(--sg-ink) !important; }

.pp-glows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pp-glow { border-radius: 32px; padding: 24px; min-height: 176px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sg-shadow); color: #2a2320; }
@media (max-width: 720px) { .pp-glows { gap: 12px; } .pp-glow { border-radius: 22px; padding: 16px; min-height: 128px; } }
.pp-glow--pink  { background: radial-gradient(120% 100% at 15% 0%, #f6c7cd 0%, #f9e0dc 55%, #fcf1ee 100%); }
.pp-glow--peach { background: radial-gradient(120% 100% at 85% 0%, #ffcfa8 0%, #ffe5d1 55%, #fff4eb 100%); }
.pp-glow--mint  { background: radial-gradient(120% 100% at 15% 0%, #bfe6cf 0%, #dcf1e5 55%, #f0f9f4 100%); }
.pp-glow--sky   { background: radial-gradient(120% 100% at 85% 0%, #c4dbf4 0%, #dde9f8 55%, #f0f5fc 100%); }
.pp-glow--lav   { background: radial-gradient(120% 100% at 15% 0%, #d9ccf3 0%, #e9e2f8 55%, #f6f2fc 100%); }
.pp-glow--butter{ background: radial-gradient(120% 100% at 85% 0%, #f4e08f 0%, #f9edbf 55%, #fdf8e6 100%); }
[data-sg-theme="night"] .pp-glow { filter: brightness(.55) saturate(.8); color: #fff; }
.pp-glow .pp-lbl { color: inherit; opacity: .85; font-size: .875rem; }
.pp-ticks { height: 14px; margin-top: auto; background: repeating-linear-gradient(90deg, rgba(31, 34, 38, .36) 0 1px, transparent 1px 9px); border-radius: 2px; }
.pp-ticks > i { display: block; height: 100%; background: rgba(31, 34, 38, .14); border-radius: 2px; }

.pp-strip { position: relative; height: 40px; border-radius: 999px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
  background: linear-gradient(90deg, #fce4e8, #ffebda, #fbf2cf, #e1f3e8, #e2eefb, #ede6fa, #fbe3ee); }
.pp-strip__float { position: absolute; left: 50%; transform: translateX(-50%); top: -14px; background: var(--sg-surface-solid); border-radius: 999px; padding: 4px 12px; font-size: .75rem; font-weight: 600; box-shadow: var(--sg-shadow); white-space: nowrap; }
.pp-dot { width: 14px; height: 14px; border-radius: 50%; background: #b7bcc3; border: 2px solid #fff; }
.pp-dot--done { background: #3f7a4f; } .pp-dot--missed { background: #fff; box-shadow: inset 0 0 0 2px #b4540a; }
.pp-dot--plan { background: #c9a43a; } .pp-dot--due { background: #b35a00; }
.pp-strip__days { display: flex; justify-content: space-between; padding: 6px 14px 0; font-size: .75rem; color: var(--sg-ink-2); }

/* ---------- 5. Pills, rows, chips, accordions, quick actions ---------- */
.pp-chip { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sg-surface-2); color: var(--sg-ink); white-space: nowrap; }
.pp-chip--acc { background: var(--pp-acc-bg); color: var(--pp-acc-ink); }
.pp-chip--warn { background: #fbe3cc; color: #6b3300; } .pp-chip--ok { background: #dceedf; color: #1f5130; } .pp-chip--urgent { background: #fbe1e5; color: #8e1f33; }
/* app chips: the same colours in every app's bell */
.pp-app { flex: none; font-size: .6875rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pp-app--seodesk { background: #cdebe3; color: #0b4a43; } .pp-app--studiodesk { background: #dedff6; color: #33378f; }
.pp-app--productdesk { background: #f3e1ae; color: #5a4000; } .pp-app--lifeos { background: #e7e1f4; color: #3e3270; }
.pp-app--claude { background: #f6e3d6; color: #6b3300; } .pp-app--takhti { background: #dcefdc; color: #2a5e2c; }

.pp-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pp-li { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 14px 8px 16px; border-radius: 999px; background: #fff; color: var(--sg-ink); }
@media (max-width: 720px) { .pp-li { border-radius: 18px; min-height: 52px; } }
.pp-list > .pp-li:nth-child(6n+1) { background: #fff1f3; } .pp-list > .pp-li:nth-child(6n+2) { background: #fff4ea; }
.pp-list > .pp-li:nth-child(6n+3) { background: #fff8e0; } .pp-list > .pp-li:nth-child(6n+4) { background: #eef8f2; }
.pp-list > .pp-li:nth-child(6n+5) { background: #eef4fc; } .pp-list > .pp-li:nth-child(6n+6) { background: #f4f0fc; }
[data-sg-theme="night"] .pp-list > .pp-li { background: var(--sg-surface-2) !important; }
.pp-li__grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-li__grow b { font-weight: 600; } .pp-li__grow span { font-size: .8125rem; color: var(--sg-ink-2); }
.pp-count { margin-left: auto; font-size: .75rem; padding: 2px 9px; border-radius: 999px; background: var(--sg-bg); color: var(--sg-ink); }

details.pp-acc { background: var(--sg-surface); border-radius: 22px; box-shadow: var(--sg-shadow); }
details.pp-acc > summary { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 20px; cursor: pointer; list-style: none; }
details.pp-acc > summary::-webkit-details-marker { display: none; }
details.pp-acc > summary b { font-weight: 600; } details.pp-acc > summary span { color: var(--sg-ink-2); font-size: .875rem; }
details.pp-acc > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--sg-ink-2); border-bottom: 2px solid var(--sg-ink-2); transform: rotate(45deg); }
details.pp-acc[open] > summary::after { transform: rotate(-135deg); }
details.pp-acc > .pp-acc__body { padding: 0 20px 20px; }
.pp-qa { display: flex; flex-wrap: wrap; gap: 8px; }

/* text tabs (Month / This week) */
.pp-tabs { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
.pp-tab { font: inherit; font-size: 1.625rem; font-weight: 500; color: #6f757d; background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; }
.pp-tab[aria-selected="true"], .pp-tab.is-on { color: var(--sg-ink); }
@media (max-width: 720px) { .pp-tab { font-size: 1.125rem; } }

/* sidebar: grouped pills, active = pastel accent, never dark */
.pp-side { display: flex; flex-direction: column; gap: 4px; }
.pp-side__grp { font-size: .75rem; font-weight: 600; color: var(--sg-ink-2); margin: 14px 14px 4px; letter-spacing: .03em; text-transform: uppercase; }
.pp-side a, .pp-side button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--sg-ink); text-decoration: none; font: inherit; font-size: .9375rem; background: none; border: 0; cursor: pointer; text-align: left; }
.pp-side a[aria-current="page"], .pp-side .is-on { background: var(--pp-acc-bg); color: var(--pp-acc-ink); font-weight: 600; }
.pp-side__spacer { flex: 1; min-height: 32px; }

/* ---------- 6. Buttons: soft white pills, round icon buttons, ONE dark delight button ---------- */
.pp-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--sg-surface-solid); font: inherit; font-size: .875rem; font-weight: 500; color: var(--sg-ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: 0 2px 8px rgba(30, 40, 55, .06); text-decoration: none; }
.pp-btn--icon { width: 44px; padding: 0; }
.pp-kbd { font-size: .6875rem; padding: 2px 6px; border-radius: 6px; background: var(--sg-bg); color: var(--sg-ink-2); font-family: var(--sg-font); }
/* Delight: on hover/focus the label changes to the win and the icon moves. CSS only, never on load. */
.pp-delight { background: var(--pp-ink-dark); color: #fff; }
[data-sg-theme="night"] .pp-delight { color: #1b1d21; }
.pp-delight .pp-alt { display: none; }
.pp-delight:hover .pp-def, .pp-delight:focus-visible .pp-def { display: none; }
.pp-delight:hover .pp-alt, .pp-delight:focus-visible .pp-alt { display: inline; }
.pp-delight svg { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.pp-delight:hover svg, .pp-delight:focus-visible svg { transform: translate(3px, -3px); }
@media (prefers-reduced-motion: reduce) { .pp-delight svg { transition: none; } .pp-delight:hover svg, .pp-delight:focus-visible svg { transform: none; } }
:where([data-pp]) :focus-visible { outline: 2px solid var(--sg-accent); outline-offset: 2px; }

/* ---------- 7. Ctrl+K quick-actions box and the shared bell (the only frosted layers) ---------- */
.pp-cmd { border: 0; padding: 0; border-radius: 24px; width: min(600px, calc(100vw - 32px)); max-height: min(70vh, 560px); background: var(--sg-glass); color: var(--sg-ink); box-shadow: var(--sg-shadow-lift); overflow: hidden; }
.pp-cmd::backdrop { background: rgba(30, 30, 40, .18); }
.pp-blur .pp-cmd, .pp-blur .pp-bellpop { -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
@media (prefers-reduced-transparency: reduce) { .pp-cmd, .pp-bellpop { background: var(--sg-surface-solid) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } }
.pp-lite .pp-cmd, .pp-lite .pp-bellpop { background: var(--sg-surface-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pp-cmd__in { width: 100%; min-height: 56px; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .06); background: transparent; padding: 0 20px; font: inherit; font-size: 1.0625rem; color: var(--sg-ink); }
.pp-cmd__in:focus { outline: none; }
.pp-cmd__list { list-style: none; margin: 0; padding: 8px; max-height: calc(min(70vh, 560px) - 100px); overflow: auto; }
.pp-cmd__grp { font-size: .75rem; font-weight: 600; color: var(--sg-ink-2); padding: 8px 12px 4px; }
.pp-cmd__item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 14px; background: none; font: inherit; color: var(--sg-ink); text-align: left; cursor: pointer; }
.pp-cmd__item[aria-selected="true"], .pp-cmd__item:hover { background: var(--pp-acc-bg); color: var(--pp-acc-ink); }
.pp-cmd__item small { margin-left: auto; color: var(--sg-ink-2); font-size: .75rem; }
.pp-cmd__foot { font-size: .75rem; color: var(--sg-ink-2); padding: 8px 20px 12px; border-top: 1px solid rgba(0, 0, 0, .06); }
@media (max-width: 720px) { .pp-cmd { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 24px 24px 0 0; } }

.pp-bellpop { position: absolute; right: 16px; top: 64px; z-index: 50; width: min(440px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; background: var(--sg-glass); border-radius: 24px; box-shadow: var(--sg-shadow-lift); padding: 16px 20px; }
.pp-n { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; border-top: 1px solid rgba(0, 0, 0, .06); }
.pp-n:first-child { border-top: 0; }
.pp-n__body { flex: 1; min-width: 0; }
.pp-n b { font-weight: 600; font-size: .875rem; display: block; }
.pp-n span.pp-n__why { font-size: .8125rem; color: var(--sg-ink-2); }
.pp-hours { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--sg-ink-2); }
.pp-hours b { font-family: var(--pp-dots); font-weight: 700; font-size: 1rem; color: var(--sg-ink); }

/* ---------- 8. Calendar (pps-cal.js) ---------- */
.pp-cal { padding: 0; overflow: hidden; }
.pp-cal__wk, .pp-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pp-cal__wk span { padding: 10px 12px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
/* a soft pastel band per weekday (Mon..Sun): pink, peach, butter, mint, sky, lavender, rose */
.pp-cal__wk span:nth-child(1) { background: #fce4e8; color: #7a2e3b; } .pp-cal__wk span:nth-child(2) { background: #ffebda; color: #7a4210; }
.pp-cal__wk span:nth-child(3) { background: #fbf2cf; color: #6b5300; } .pp-cal__wk span:nth-child(4) { background: #e1f3e8; color: #24583a; }
.pp-cal__wk span:nth-child(5) { background: #e2eefb; color: #24507e; } .pp-cal__wk span:nth-child(6) { background: #ede6fa; color: #4a3384; }
.pp-cal__wk span:nth-child(7) { background: #fbe3ee; color: #7a2e58; }
.pp-cal__cell { min-height: 104px; padding: 8px; border-top: 1px solid var(--pp-line, #ecedef); border-right: 1px solid var(--pp-line, #ecedef); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pp-cal__cell:nth-child(7n) { border-right: 0; }
.pp-cal__cell.is-out { background: rgba(0, 0, 0, .025); }
.pp-cal__cell.is-out .pp-cal__n { opacity: .45; }
.pp-cal__top { display: flex; align-items: baseline; gap: 6px; }
.pp-cal__n { font-family: var(--pp-dots); font-weight: 700; font-size: 1.25rem; }
[data-pp="paper"] .pp-cal__n::after { content: "."; }
.pp-cal__h { margin-left: auto; font-size: .6875rem; color: var(--sg-ink-2); }
.pp-cal__cell.is-today { box-shadow: inset 0 0 0 2px #c9b8f0; background: rgba(255, 255, 255, .85); }
.pp-cal__cell.is-today .pp-cal__n { color: #4a3384; }
[data-sg-theme="night"] .pp-cal__cell.is-today { background: rgba(255, 255, 255, .06); }
[data-sg-theme="night"] .pp-cal__cell.is-today .pp-cal__n { color: #d4c6f7; }
/* whole-cell washes (Paper Planner key) */
.pp-cal__cell.w-rose { background: var(--pp-rose); } .pp-cal__cell.w-sage { background: var(--pp-sage); }
.pp-cal__cell.w-sand { background: var(--pp-sand); } .pp-cal__cell.w-sky { background: var(--pp-sky); }
/* event chips and the five marks: planned = pale tint, done = tick, missed = orange outline,
   moved = dashed outline, seasonal = solid with a moon, bold = her own task */
.pp-ev { display: flex; align-items: center; gap: 4px; font-size: .75rem; line-height: 1.25; padding: 4px 7px; border-radius: 8px; background: #f1f2f6; color: var(--sg-ink); border: 1px solid rgba(255, 255, 255, .9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.pp-ev--seodesk { background: #cfefe8; color: #0b5a52; } .pp-ev--studiodesk { background: #e0e1fb; color: #33378f; }
.pp-ev--productdesk { background: #f9ebc0; color: #5a4000; } .pp-ev--lifeos { background: #ece4fa; color: #4a3384; }
.pp-ev.is-done { background: #fff; } .pp-ev.is-done::before { content: "\2713"; font-weight: 700; }
.pp-ev.is-missed { background: #fff; box-shadow: inset 0 0 0 2px #b4540a; color: #6b3300; }
.pp-ev.is-moved { background: #fff; border: 1.5px dashed #6f757d; }
.pp-ev.is-seasonal { background: #e9e2f8; color: #3e2470; font-weight: 700; } .pp-ev.is-seasonal::before { content: "\263D"; }
.pp-ev.is-mine { font-weight: 700; }
.pp-cal__more { font-size: .6875rem; color: var(--sg-ink-2); }
.pp-cal__key { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) {
  .pp-cal__cell { min-height: 64px; padding: 4px; }
  .pp-cal__h { display: none; }
  .pp-cal__cell .pp-ev { font-size: 0; padding: 0; height: 6px; border-radius: 3px; }
  .pp-cal__cell .pp-ev::before { content: none !important; }
}

/* ---------- 9. Clock (every app's top bar): 24-hour time, day, date, dotted font ---------- */
.pp-clock { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--pp-dots); font-weight: 700; color: var(--sg-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-clock__day, .pp-clock__date { font-size: .9375rem; color: var(--sg-ink-2); }
.pp-clock__time { font-size: 1.375rem; letter-spacing: .02em; }
@media (max-width: 720px) { .pp-clock__day { display: none; } .pp-clock__date { font-size: .8125rem; } .pp-clock__time { font-size: 1.125rem; } }

/* ---------- 10. Small helpers ---------- */
.pp-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pp-sub { font-size: .8125rem; color: var(--sg-ink-2); }
.pp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pp-importlog td, .pp-importlog th { padding: 8px 10px; text-align: left; font-size: .8125rem; border-bottom: 1px solid rgba(0, 0, 0, .06); vertical-align: top; }
.pp-importlog { border-collapse: collapse; width: 100%; }
