/* L1 shell floor lift (#8, 18 Nov 2026). Moves the default owner shell toward design/floor/03-workspace.png:
   a warm blush wash instead of the lavender cast, translucent porcelain cards with a white rim, softer depth,
   Settings folds as calm rows, and a phone top bar that gives the page title room.
   Default look only (no data-os-theme). html[data-readable="1"] keeps opaque surfaces. Loaded last by d.html. */

html:not([data-world="service"]) body.o2-on:not([data-os-theme]) {
  --o2-wash:
    radial-gradient(ellipse at 4% 90%, #f3d3c3 0, transparent 46%),
    radial-gradient(ellipse at 86% 4%, #ecd6de 0, transparent 50%),
    radial-gradient(ellipse at 42% 32%, #f5e4df 0, transparent 58%),
    linear-gradient(125deg, #efdcd6, #f7ede6 56%, #ecdfe2);
  --o2-r: 22px;
  --o2-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 6px rgba(39, 25, 57, .04), 0 18px 48px -28px rgba(70, 36, 60, .3);
}

html:not([data-readable="1"]) body.o2-on:not([data-os-theme]) :is(.o2-view .card, .o2-card) {
  background: rgba(255, 253, 251, .74);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 22px;
  box-shadow: var(--o2-shadow);
}
body.o2-on:not([data-os-theme]) .o2-view .card { padding: 20px 22px; }

/* Settings: each fold is a calm porcelain row, not a bare line on the wash. */
html:not([data-readable="1"]) body.o2-on:not([data-os-theme]) .o2-view .sec.gs-fold {
  background: rgba(255, 253, 251, .6);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 16px;
  padding: 2px 16px;
  margin: 8px 0;
  box-shadow: 0 1px 2px rgba(39, 25, 57, .04);
}

/* Phone top bar: the page title leads; the credits chip keeps its icon and number only. */
@media (max-width: 520px) {
  body.o2-on .o2-cred-l { display: none; }
  body.o2-on .o2-tools { gap: 4px; }
  body.o2-on .o2-crumb { min-width: 0; flex: 1 1 auto; }
}

/* Today: the empty inspector is a quiet porcelain card with a hint, not loose text on the wash (floor: "What will change"). */
html:not([data-readable="1"]) body.o2-on:not([data-os-theme]) [data-testid="home-task-queue"] > p.o2-mini,
html:not([data-readable="1"]) body.o2-on:not([data-os-theme]) #today-task-inspector {
  align-self: start;
  margin: 0;
  padding: 22px 24px;
  background: rgba(255, 253, 251, .66);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 22px;
  box-shadow: var(--o2-shadow);
}
body.o2-on:not([data-os-theme]) [data-testid="home-task-queue"] > p.o2-mini { font-size: 15px; line-height: 1.6; }

/* Quiet disclosures keep their intended transparent fill on a translucent card
   (console-accessibility paints every non-primary .b white, which only hid on an opaque card). */
body.o2-on .o2-view .rvquiet summary.rvq:not(:hover):not(:focus-visible) { background: transparent; box-shadow: none; border-color: transparent; }

/* ── Pass 2 (bolder, section by section against 03-workspace) ── */
/* Buttons: full pills; the primary carries a soft depth like the floor's "Review drafts". Venue accent kept. */
html:not([data-world="service"]) body.o2-on:not([data-os-theme]) { --os-radius-chip: 999px; }
body.o2-on:not([data-os-theme]) :is(.o2-btn:not(.ghost), .o2-view .b.prim) {
  background: linear-gradient(135deg, color-mix(in oklab, var(--amethyst) 86%, #fff), var(--amethyst));
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -14px color-mix(in oklab, var(--amethyst) 80%, transparent);
}
html:not([data-readable="1"]) body.o2-on:not([data-os-theme]) .o2-view .b:not(.prim):not(.on) {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 1px 2px rgba(39, 25, 57, .06);
}
/* Card titles: the floor leads each card with a large serif title. */
body.o2-on:not([data-os-theme]) :is(.o2-view .card > h2:first-child, .o2-view .card > .h2:first-child, .o2-task-list h2) {
  font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.15; letter-spacing: 0;
}
/* Rows inside a card are soft porcelain lines, not boxed white tiles. */
html:not([data-readable="1"]) body.o2-on:not([data-os-theme]) [data-testid="home-task-queue"] .o2-wait li { border: 0; margin: 8px 0; }
html:not([data-readable="1"]) body.o2-on:not([data-os-theme]) [data-testid="home-task-queue"] .o2-wait button:not([aria-current="true"]) {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: none;
}
/* A calmer grid: more air between stacked cards. */
body.o2-on:not([data-os-theme]) .o2-view .card + .card { margin-top: 16px; }
