Fix manuscript setup theme contrast and document scoped setup recovery

This commit is contained in:
Nick Beckley 2026-11-21 20:47:24 +00:00
parent 0a1bfc0960
commit 7e632807bb
6 changed files with 441 additions and 102 deletions

View File

@ -0,0 +1,137 @@
{
"database": "PlotDirector_Development",
"comparison": "Before and after scoped cleanup; all protected table fingerprints identical",
"algorithm": "SQL SHA2_256 over ordered FOR JSON PATH, INCLUDE_NULL_VALUES (primary-key order)",
"tables": [
{
"TableName": "BookParagraphManuscripts",
"RowCount": 14,
"Fingerprint": "9EFAF278DCC2A86618A19162DE38A9D27D83C91121F06290D7A81EE7FDBA48FD"
},
{
"TableName": "BookParagraphPositions",
"RowCount": 118400,
"Fingerprint": "06446D388BC73598C3854E24868226B5619E3846F2DF59475D5F3FF6BAF265DF"
},
{
"TableName": "Books",
"RowCount": 18,
"Fingerprint": "AE7122BEED391CF58C742C1FBEEEE89B2080E5432C093BF96548B7B783961EAF"
},
{
"TableName": "Chapters",
"RowCount": 626,
"Fingerprint": "23E638E66D9FC77269B63D0031CEEA9A0086C851ED3528EF2B2E39B745CCB5D0"
},
{
"TableName": "CharacterEnrichmentRuns",
"RowCount": 1,
"Fingerprint": "81C769C46D391A269766459DAFF19DB22FA8B0D42BBE6EDE1F00D8988AA1CAAD"
},
{
"TableName": "Characters",
"RowCount": 70,
"Fingerprint": "62973C703CC50838536738B6CB3246B34A9E1FCE6D28CA847B7EBB7D1A8B5DD9"
},
{
"TableName": "CoreImportBasicLocationReviews",
"RowCount": 1,
"Fingerprint": "B1E611D0EF40B1FE4B63182672D6B83BE3DC68FB8B3B33188D8409A1FE7FA445"
},
{
"TableName": "Locations",
"RowCount": 68,
"Fingerprint": "C9CECC939861D128B029D19956960621EC83FCC877F143C32D503C91A457213E"
},
{
"TableName": "ManuscriptDocuments",
"RowCount": 1,
"Fingerprint": "93051C9C0F49658577979F68FABCBDD6660F98161874E91535AC8CD08C1FB505"
},
{
"TableName": "ManuscriptStructuralChapterSources",
"RowCount": 48,
"Fingerprint": "DF21E0B70BCE7DC639B62524C051D463F7EF5ADF4C17FF349BFCD5574619C456"
},
{
"TableName": "NativeChapterReviews",
"RowCount": 0,
"Fingerprint": null
},
{
"TableName": "NativeImportOperations",
"RowCount": 0,
"Fingerprint": null
},
{
"TableName": "NativeReviewImports",
"RowCount": 0,
"Fingerprint": null
},
{
"TableName": "OnboardingManuscriptBuildChapterMap",
"RowCount": 48,
"Fingerprint": "F0B1F9D08C34EC339D7B4B63298185C5410D06311260355AC0A1E662C1C2EA21"
},
{
"TableName": "OnboardingManuscriptBuildCharacterMap",
"RowCount": 0,
"Fingerprint": null
},
{
"TableName": "OnboardingManuscriptBuilds",
"RowCount": 1,
"Fingerprint": "4D2A9616D4C8D2EF4635BD02A5A29C1BA14A6BE58E950DDBCE8B08ABC15D5F62"
},
{
"TableName": "OnboardingManuscriptBuildSceneMap",
"RowCount": 290,
"Fingerprint": "F4EFA88F78BECFCA015E53CDC9F7546462838875AB21135CBD8C86A763971819"
},
{
"TableName": "OnboardingManuscriptCaptures",
"RowCount": 1,
"Fingerprint": "84C77D34479DB85E7D54BB1A90431998A266BB4650C34576EC22972ECBADC7AC"
},
{
"TableName": "Projects",
"RowCount": 15,
"Fingerprint": "F74EC161E16C7E5298D2343BFE8D326A1D646537B7E079B7FBDD4AA1C6E23FB3"
},
{
"TableName": "SceneManuscriptSources",
"RowCount": 868,
"Fingerprint": "193325F70AEA513DE532F4E00477919AA970329F8D7A947E907B27746F8EBAB1"
},
{
"TableName": "Scenes",
"RowCount": 868,
"Fingerprint": "0B4F9A297B05BD19753A3747B35E1ECE29F491ADD1093A861D2C80EEB808CC44"
},
{
"TableName": "StoryIntelligenceBookPipelines",
"RowCount": 1,
"Fingerprint": "F697EA47E6AA14A400F1858E1B822AADEE1F586D5DDB3E75277EE7CBC7E546B8"
},
{
"TableName": "StoryIntelligenceConsents",
"RowCount": 0,
"Fingerprint": null
},
{
"TableName": "StoryIntelligenceJobs",
"RowCount": 0,
"Fingerprint": null
},
{
"TableName": "StoryIntelligenceRuns",
"RowCount": 48,
"Fingerprint": "896ED2BDF1FD8FC774D4ACA9A3A99CF5C1FA686051CB2DBDEFE4A9BD6AC214B0"
},
{
"TableName": "WholeBookPlotSynthesisRuns",
"RowCount": 1,
"Fingerprint": "04651205BA3BDC21113904A8659FFB15E98F2F5A4D63688670C10DC23CF3F516"
}
]
}

View File

@ -0,0 +1,56 @@
# Saved manuscript setup cleanup and wizard theme correction
Development only, 21 November 2026. Production was not accessed.
## Root cause and discovered state
User 1 (Nick Beckley), onboarding state 2, project 8174 (The Alpha Flame), book 10152 (The Alpha Flame: Discovery) had `CurrentStep=WritingSoftware`, `WritingJourney=ManuscriptMostlyComplete`, no software preference and no completion timestamp. Its last update before cleanup was 19:01:01.4374149 UTC.
The global progress service deliberately returns **Continue manuscript setup** for an incomplete manuscript journey with a selected book and no current scan preview. `GetWizardAsync` restores that persisted state. A banner is not evidence of an active import. Starting a new import clears completion through `UserOnboarding_SaveWritingJourney`, clears software and deactivates current capture state while retaining the previously selected project/book. This explains the saved shape; there is no audit event proving which UI action reopened it.
The existing capture `2fde9b12-42fe-4c65-ae45-d91f5ce5f477` was already non-current. Build 7081 was Complete: 48 chapters, 290 scenes, Word document association 7078. Location review completed on 8 November; the book pipeline and character review completed on 9 November. There were no consent records or Story Intelligence jobs. All 48 analysis runs were terminal (12 Completed, 36 CompletedWithWarnings); synthesis and enrichment were Completed. Live authenticated Companion status showed no capture request or paragraph transfer, including the affected open Word document. No worker needed cancellation.
The preview store keeps scan/build sessions in memory and restores accepted source through `OnboardingManuscriptCaptures`; it does not run a resumable import merely because setup is incomplete. Native pending captures require an explicit capture request. No temporary files were deleted: the retained capture, build maps and Word association are genuine existing manuscript provenance.
## Checkpoint and exact cleanup
Created COPY_ONLY backup with CHECKSUM at `/var/opt/mssql/backup/PlotDirector_Development_onboarding_20261121.bak` (876,773,376 bytes). Verified its existence and successfully ran `RESTORE VERIFYONLY WITH CHECKSUM` using the container administrator after the application principal lacked verification permission. No restore was performed; verification is not a restore test.
Used existing `dbo.UserOnboarding_CompleteCoreImport` with UserID 1, OnboardingID 2, BookID 10152 and the original preview above. An outer transaction checked the exact saved state/timestamp, account/project/book, absence of a current capture and active analysis, and completed pipeline/character review. The existing procedure additionally checks ownership, a completed/built import, scene mappings and completed location review. This closes a reopened setup for an already completed import; it does not assert that unfinished manuscript processing succeeded.
Only onboarding state 2 changed:
- `CurrentStep`: WritingSoftware -> Complete.
- `OnboardingCompletedUtc`: null -> 2026-11-21 20:41:47.3643272 UTC.
- `UpdatedUtc`: updated to the same timestamp.
Repeating the guarded operation was a no-op. No records, capture source, jobs, book content, preferences, Word association or synchronisation state were removed. No schema migration or new cancellation architecture was required.
## Preservation evidence
The adjacent JSON evidence records identical before/after counts and SHA-256 fingerprints for 26 complete tables, including every book/account in those tables. These cover canonical manuscript payloads, 118,400 paragraph-position rows, chapters, scenes, scene manuscript sources, structural sources, Word documents, import maps, accepted capture, native reviews/imports, characters, locations and pipeline history.
The affected canonical payload contains 8,459 paragraphs. Its unchanged whole-payload fingerprint covers paragraph text, GUIDs, paragraph/chapter/scene mappings, manuscript identity, revision and retained history. All 626 chapters and 868 scenes across Development remained identical, including the imported 48 chapter and 290 scene map rows. The Word document row, including document GUID and sync metadata, remained identical. The sole onboarding record retained its account/project/book and software fields.
## Theme correction
Shared `onboarding.css` mixed translucent white surfaces with theme-dependent light text, hardcoded dark text and dark-only border colours. Replaced those surface and border literals with existing theme/body tokens across shared wizard/review components. Corrected badge/status/summary text, analysis select surfaces, progress tracks and the current-step label. Scoped primary-button foreground/background variables to the onboarding panel so dark-theme navigation remains readable. Layout, routes, workflow and SignalR/Companion code are unchanged.
Selection cards now style their direct surface child, retain selected borders, have a visible keyboard-focus outline and a dashed disabled state. Disabled cards do not animate on hover.
## Validation
- Solution build: passed, zero warnings/errors.
- Full executable regression harness: passed, 683 PASS checks.
- Existing focused core-import completion checks: passed (review gates, interrupted mapping, scoped completion, retry timestamp and durable recovery).
- Added isolated compiled-Razor fixtures for all 11 wizard steps. No real import is advanced.
- Browser and actual Chromium installed-PWA fixtures cover all 11 steps in warm light/dark and modern light/dark themes; software headings, descriptions, badges and the primary button meet 4.5:1 contrast. Selection, hover, keyboard focus and disabled states are checked. Fixture requests cannot submit onboarding/manuscript changes.
- Live authenticated onboarding, book and Writer GETs returned 200 after cleanup; banner and Writing Software prompt were absent.
## Development deployment scope
Runtime change is one stylesheet. Deploy the tested `wwwroot/css/onboarding.css` atomically with a commit-named release copy and recoverable previous-file backup. Preserve the current Development application assembly and the separately deployed toast project. A full application replacement would unnecessarily roll back or bundle that unrelated work. No service restart is needed for this asset change; Razor uses a content-versioned stylesheet URL and the PWA worker has no fetch/cache handler.
Confirm public/local GETs, new stylesheet hash/version, unchanged `PlotLine.dll` hash, active service, and authenticated browser/PWA refresh/relaunch. Deployment outcome and commit reference are reported in the task completion message.
Word Companion .44 physical acceptance remains a separate outstanding task; it was not repeated or claimed complete. This fix does not provide a general cancellation UI for genuinely unfinished imports.

View File

@ -77,3 +77,7 @@ Responsive Chapters, Timeline and Plot Lines: start the isolated Razor host from
## Alternative Scenario theme acceptance
Start the isolated Razor host from the repository root with `dotnet run --project PlotLine.Tests -- --toolbar-browser-host`, then run `xvfb-run -a node PlotLine.Tests/Browser/scenario-themes.cjs` in another terminal. This renders the actual Scenario list, creation, board and Compare views without database access. The test enumerates the configured themes, switches them with the account theme picker, checks populated and empty states at 1440/650 widths, measures representative text contrast, and installs and launches a real standalone Chromium PWA. Screenshots go to `/tmp/pd-scenario-visual` (override with `PD_SCENARIO_SCREENSHOTS`). Movement form identities and chapter selection are checked; database-backed scene movement and applying a scenario are deliberately outside this fixture.
## Manuscript setup themes
Start the isolated Razor host with `dotnet run --project PlotLine.Tests/PlotLine.Tests.csproj -- --toolbar-browser-host`, then run `node onboarding-theme.cjs` here. Run `xvfb-run -a node onboarding-theme.cjs --installed` for actual Chromium installed-PWA coverage. `PD_BROWSER_FIXTURE_URL` selects the host (default port 5238); `PD_THEME_SCREENSHOTS` optionally selects an existing screenshot directory. All 11 steps use synthetic view models and no import actions are submitted. Four light/dark theme variants cover software-card/button contrast and card selection, hover, focus and disabled states.

View File

@ -0,0 +1,80 @@
// Render the real wizard views with isolated models; never submit import forms.
const { chromium } = require('playwright');
const assert = require('node:assert/strict');
const fs = require('node:fs');
const base = process.env.PD_BROWSER_FIXTURE_URL || 'http://127.0.0.1:5238';
(async () => {
const installed = process.argv.includes('--installed');
const context = await chromium.launchPersistentContext(fs.mkdtempSync('/tmp/pd-onboarding-theme-'), {
headless: !installed, viewport: { width: 1440, height: 1100 }
});
try {
let page = context.pages()[0];
let writes = 0;
await context.route('**/hubs/**', r => r.abort());
await context.route('**/native-companion/status*', r => r.fulfill({ json: [] }));
await context.route('https://cdn.jsdelivr.net/**', r => r.abort());
await context.route('**/*', r => {
if (r.request().method() !== 'GET') {
if (/\/(onboarding|native-companion\/import|manuscript)\//.test(new URL(r.request().url()).pathname)) writes++;
return r.abort();
}
return r.fallback();
});
if (installed) {
await page.goto(base + '/onboarding-fixture/3');
const session = await context.browser().newBrowserCDPSession();
await session.send('PWA.install', { manifestId: base + '/Projects', installUrlOrBundleUrl: base + '/onboarding-fixture/3' });
await session.send('PWA.changeAppUserSettings', { manifestId: base + '/Projects', displayMode: 'standalone' });
const opened = context.waitForEvent('page');
await session.send('PWA.launch', { manifestId: base + '/Projects', url: base + '/onboarding-fixture/3' });
page = await opened;
await page.waitForLoadState();
assert(await page.evaluate(() => matchMedia('(display-mode: standalone)').matches));
}
for (const theme of ['warm-light', 'warm-dark', 'modern-light', 'modern-dark']) {
for (let step = 1; step <= 11; step++) {
const response = await page.goto(`${base}/onboarding-fixture/${step}`);
assert.equal(response.status(), 200, `step ${step}`);
await page.evaluate(theme => {
document.documentElement.dataset.appTheme = theme;
document.documentElement.dataset.theme = theme.endsWith('dark') ? 'dark' : 'light';
document.documentElement.dataset.bsTheme = theme.endsWith('dark') ? 'dark' : 'light';
}, theme);
assert(await page.locator('.onboarding-panel').isVisible());
assert((await page.locator('.onboarding-progress').innerText()).includes(`Step ${step} of 11`));
if (step === 3) {
const contrast = await page.locator('.onboarding-option-card strong, .onboarding-option-card small, .onboarding-option-card em, .onboarding-panel .btn-primary').evaluateAll(nodes => {
const canvas = document.createElement('canvas'), ctx = canvas.getContext('2d');
const rgba = value => { ctx.clearRect(0, 0, 1, 1); ctx.fillStyle = value; ctx.fillRect(0, 0, 1, 1); return [...ctx.getImageData(0, 0, 1, 1).data].map((v, i) => i === 3 ? v / 255 : v); };
const blend = (fg, bg) => fg.slice(0, 3).map((v, i) => v * fg[3] + bg[i] * (1 - fg[3]));
const background = el => !el ? [255, 255, 255] : blend(rgba(getComputedStyle(el).backgroundColor), background(el.parentElement));
const lum = rgb => rgb.map(v => { v /= 255; return v <= .04045 ? v / 12.92 : ((v + .055) / 1.055) ** 2.4; }).reduce((s, v, i) => s + v * [.2126, .7152, .0722][i], 0);
return nodes.map(el => { const a = lum(background(el)), b = lum(blend(rgba(getComputedStyle(el).color), background(el))); return { text: el.textContent.trim(), ratio: (Math.max(a, b) + .05) / (Math.min(a, b) + .05) }; });
});
for (const item of contrast) assert(item.ratio >= 4.5, `${theme}: ${item.text}: ${item.ratio}`);
const first = page.locator('.onboarding-option-card input').first();
const second = page.locator('.onboarding-option-card input').nth(1);
await page.keyboard.press('Tab');
await second.focus();
assert(await second.evaluate(el => el.matches(':focus-visible')));
assert.equal(await second.evaluate(el => getComputedStyle(el.nextElementSibling).outlineStyle), 'solid');
await second.press('Space');
assert(await second.isChecked());
assert(!(await first.isChecked()));
assert.notEqual(await first.evaluate(el => getComputedStyle(el.nextElementSibling).borderColor),
await second.evaluate(el => getComputedStyle(el.nextElementSibling).borderColor));
await page.locator('.onboarding-option-card').first().hover();
await page.waitForTimeout(180);
assert.notEqual(await first.evaluate(el => getComputedStyle(el.nextElementSibling).transform), 'none');
await first.evaluate(el => el.disabled = true);
assert.equal(await first.evaluate(el => getComputedStyle(el.nextElementSibling).borderTopStyle), 'dashed');
if (process.env.PD_THEME_SCREENSHOTS) await page.screenshot({ path: `${process.env.PD_THEME_SCREENSHOTS}/${theme}-${installed ? 'pwa' : 'browser'}.png` });
console.log(`PASS ${theme}: software text >=4.5:1; selection, keyboard focus, hover and disabled states`);
}
}
console.log(`PASS ${theme}: all 11 compiled wizard steps (${installed ? 'installed PWA' : 'browser'})`);
}
assert.equal(writes, 0, 'fixtures never post manuscript or onboarding changes');
} finally { await context.close(); }
})().catch(error => { console.error(error); process.exitCode = 1; });

View File

@ -112,7 +112,7 @@ internal static class ToolbarBrowserHost
return model;
}
private static async Task RenderFullAsync(HttpContext context, string controller, string actionName, object model)
private static async Task RenderFullAsync(HttpContext context, string controller, string actionName, object model, string? scanReviewStep = null)
{
context.Request.RouteValues["controller"] = controller;
context.Request.RouteValues["action"] = actionName;
@ -121,7 +121,7 @@ internal static class ToolbarBrowserHost
if (!view.Success) throw new Exception(string.Join(",", view.SearchedLocations));
using var writer = new StringWriter();
await view.View.RenderAsync(new ViewContext(action, view.View,
new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()) { Model = model, ["WritingEmbedded"] = context.Request.Query["embedded"] == "true" },
new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()) { Model = model, ["WritingEmbedded"] = context.Request.Query["embedded"] == "true", ["ScanReviewStep"] = scanReviewStep },
new TempDataDictionary(context, context.RequestServices.GetRequiredService<ITempDataProvider>()), writer, new HtmlHelperOptions()));
context.Response.ContentType = "text/html; charset=utf-8";
await context.Response.WriteAsync(writer.ToString());
@ -217,6 +217,44 @@ internal static class ToolbarBrowserHost
builder.Services.AddSingleton<IStoryCalendarService>(new StoryCalendarService(new FakeTimelineRepository(CalendarNavigationTests.Data())));
var app = builder.Build();
app.UseWritingSolverReviewBoundary();
// Compiled Razor fixtures only; no onboarding actions or manuscript services run.
app.MapGet("/onboarding-fixture/{step:int}", async (HttpContext context, int step) =>
{
var preview = Guid.Parse("00000000-0000-0000-0000-000000000123");
if (step is 7 or 10)
{
await RenderFullAsync(context, "Onboarding", "ScanReview", new ManuscriptScanReviewViewModel {
PreviewID = preview, SelectedBookTitle = "Fixture book", ChapterCount = 1,
Chapters = [new() { TemporaryChapterKey = "chapter", ChapterNumber = 1, Title = "Arrival", ReviewTitle = "Arrival", Include = true, WordCount = 120 }],
CharacterCandidates = [new() { TemporaryCharacterKey = "person", Name = "Mara", ReviewName = "Mara", Include = true, Category = "ProbableCharacter", MentionCount = 3 }]
}, step == 10 ? "characters" : null);
return;
}
if (step == 9)
{
await RenderFullAsync(context, "Onboarding", "ScanLocations", new CoreImportBasicLocationReviewViewModel {
PreviewID = preview, Candidates = [new() { StableKey = "place", PreferredName = "Harbour", ObservationCount = 2 }]
});
return;
}
if (step is 8 or 11)
{
await RenderFullAsync(context, "Onboarding", "BuildComplete", new OnboardingManuscriptBuildResult {
PreviewID = preview, ProjectID = 7, BookID = 12, ChaptersCreated = 1, ScenesCreated = 2,
Status = step == 11 ? "CoreImportComplete" : "Complete"
});
return;
}
var steps = new[] { OnboardingSteps.Welcome, OnboardingSteps.WritingJourney, OnboardingSteps.WritingSoftware,
OnboardingSteps.Project, OnboardingSteps.Book, OnboardingSteps.NextPathPreview };
if (step < 1 || step > 6) { context.Response.StatusCode = 404; return; }
await RenderFullAsync(context, "Onboarding", "Index", new OnboardingWizardViewModel {
CurrentStep = steps[step - 1], StepNumber = step, TotalSteps = 11, ProjectID = 7, BookID = 12,
WritingJourney = WritingJourneyValues.ManuscriptMostlyComplete, WritingSoftware = WritingSoftwareValues.MicrosoftWord,
Options = [new() { Value = "MicrosoftWord", Title = "Microsoft Word", Description = "Connect your manuscript with Word Companion.", Badge = "Recommended" },
new() { Value = "Other", Title = "Other software", Description = "Choose the software you use to write." }]
});
});
app.MapGet("/writer2-fixture",async (HttpContext context)=>{
var model=WriterFixture();
model.Book = new(){BookID=12,ProjectID=7,BookTitle="A Distant Shore",ChapterCount=3,SceneCount=7,CurrentWordCount=12400};

View File

@ -8,9 +8,9 @@
.onboarding-panel {
width: min(920px, 100%);
background: var(--bs-body-bg);
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
box-shadow: 0 18px 50px rgba(31, 42, 68, .08);
box-shadow: 0 18px 50px color-mix(in srgb, var(--bs-body-color) 8%, transparent);
padding: clamp(1.25rem, 3vw, 2.5rem);
}
@ -26,7 +26,7 @@
height: .55rem;
overflow: hidden;
border-radius: 999px;
background: rgba(31, 42, 68, .12);
background: color-mix(in srgb, var(--bs-body-color) 12%, transparent);
}
.onboarding-progress-track span {
@ -60,7 +60,7 @@
left: calc(-50% + .7rem);
width: calc(100% - .45rem);
height: 2px;
background: rgba(31, 42, 68, .14);
background: color-mix(in srgb, var(--bs-body-color) 14%, transparent);
}
.onboarding-stepper li:first-child::before {
@ -74,7 +74,7 @@
place-items: center;
width: 1.45rem;
aspect-ratio: 1;
border: 1px solid rgba(31, 42, 68, .18);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 18%, transparent);
border-radius: 50%;
background: var(--bs-body-bg);
color: var(--bs-secondary-color);
@ -99,7 +99,7 @@
}
.onboarding-stepper .is-complete span {
border-color: #2f6f63;
border-color: var(--plotline-accent-dark);
background: #2f6f63;
color: #fff;
}
@ -120,7 +120,7 @@
.onboarding-stepper .is-current span {
border-color: #b68a46;
box-shadow: 0 0 0 .22rem rgba(182, 138, 70, .18);
color: #755624;
color: var(--plotline-accent-dark);
}
.onboarding-stepper--complete .is-complete:last-child span {
@ -170,14 +170,14 @@
opacity: 0;
}
.onboarding-option-card span {
.onboarding-option-card > span {
display: grid;
gap: .35rem;
min-height: 100%;
padding: 1rem 1.1rem;
border: 1px solid rgba(31, 42, 68, .16);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 16%, transparent);
border-radius: 8px;
background: rgba(255, 255, 255, .72);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 72%, var(--bs-body-bg));
transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
@ -198,21 +198,44 @@
flex: 0 0 auto;
border-radius: 999px;
background: rgba(47, 111, 99, .12);
color: #2f6f63;
color: var(--plotline-accent-dark);
font-size: .72rem;
font-style: normal;
padding: .2rem .55rem;
}
.onboarding-option-card input:checked + span {
border-color: var(--bs-primary);
box-shadow: 0 0 0 3px rgba(47, 111, 99, .16);
border-color: var(--plotline-accent-dark);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--plotline-accent-dark) 20%, transparent);
}
.onboarding-option-card:hover span {
.onboarding-option-card:hover input:not(:disabled) + span {
transform: translateY(-1px);
}
.onboarding-option-card input:focus-visible + span {
outline: 3px solid var(--plotline-accent-dark);
outline-offset: 3px;
}
.onboarding-option-card input:disabled + span {
cursor: not-allowed;
border-style: dashed;
background: var(--bs-secondary-bg);
}
.onboarding-panel .btn-primary {
--bs-btn-color: var(--plotline-bg);
--bs-btn-bg: var(--plotline-accent-dark);
--bs-btn-border-color: var(--plotline-accent-dark);
--bs-btn-hover-color: var(--plotline-bg);
--bs-btn-hover-bg: var(--plotline-accent);
--bs-btn-hover-border-color: var(--plotline-accent);
--bs-btn-active-color: var(--plotline-bg);
--bs-btn-active-bg: var(--plotline-accent-dark);
--bs-btn-active-border-color: var(--plotline-accent-dark);
}
.onboarding-actions {
display: flex;
align-items: center;
@ -236,13 +259,13 @@
gap: .75rem;
margin-top: 1rem;
padding: 1rem;
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
background: rgba(255, 255, 255, .45);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 45%, var(--bs-body-bg));
}
.onboarding-form-section--quiet {
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
}
.onboarding-form-section h2 {
@ -263,7 +286,7 @@
align-items: center;
margin: 1rem 0 1.25rem;
padding: 1.1rem;
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
background: linear-gradient(135deg, rgba(47, 111, 99, .1), rgba(182, 138, 70, .12));
}
@ -335,10 +358,10 @@
.onboarding-companion-details div {
min-width: 0;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .75rem;
background: rgba(255, 255, 255, .56);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 56%, var(--bs-body-bg));
}
.onboarding-companion-details dt {
@ -357,7 +380,7 @@
display: grid;
gap: .85rem;
margin-top: 1rem;
border-top: 1px solid rgba(31, 42, 68, .1);
border-top: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
padding-top: 1rem;
}
@ -373,7 +396,7 @@
height: .5rem;
overflow: hidden;
border-radius: 999px;
background: rgba(31, 42, 68, .12);
background: color-mix(in srgb, var(--bs-body-color) 12%, transparent);
}
.onboarding-scan-progress span {
@ -393,10 +416,10 @@
.onboarding-scan-counts div {
min-width: 0;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .75rem;
background: rgba(255, 255, 255, .62);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 62%, var(--bs-body-bg));
}
.onboarding-scan-counts span {
@ -461,7 +484,7 @@
}
.onboarding-build-panel > strong {
color: #2f6f63;
color: var(--plotline-accent-dark);
font-size: 1.1rem;
}
@ -509,9 +532,9 @@
gap: .7rem;
margin: 0 0 1rem;
padding: .8rem .9rem;
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
}
.onboarding-inline-choice input {
@ -557,10 +580,10 @@
display: grid;
align-content: start;
gap: .8rem;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: 1rem;
background: rgba(255, 255, 255, .42);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 42%, var(--bs-body-bg));
}
.onboarding-review-section h2 {
@ -614,15 +637,15 @@
.onboarding-empty-state {
margin: 0;
padding: .8rem;
border: 1px dashed rgba(31, 42, 68, .2);
border: 1px dashed color-mix(in srgb, var(--bs-body-color) 20%, transparent);
border-radius: 8px;
color: var(--bs-secondary-color);
background: rgba(255, 255, 255, .55);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 55%, var(--bs-body-bg));
}
.onboarding-empty-state--error {
border-color: rgba(176, 54, 54, .38);
color: #8f2f2f;
color: var(--plotline-danger);
background: rgba(176, 54, 54, .08);
}
@ -638,10 +661,10 @@
gap: .65rem;
min-height: 2.55rem;
margin: 0;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .45rem .65rem;
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
cursor: pointer;
}
@ -693,10 +716,10 @@
}
.onboarding-review-chapter {
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
padding: 1rem;
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
}
.onboarding-review-chapter summary {
@ -725,10 +748,10 @@
.onboarding-review-chapter li,
.onboarding-character-candidates li {
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .75rem;
background: rgba(255, 255, 255, .64);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 64%, var(--bs-body-bg));
}
.onboarding-character-candidates li.is-invalid {
@ -762,9 +785,9 @@
display: grid;
gap: .15rem;
padding: .85rem 1rem;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
}
.onboarding-location-review-panel .metric-label {
@ -789,10 +812,10 @@
grid-template-columns: minmax(18rem, .95fr) minmax(28rem, 1.35fr);
gap: 1rem;
align-items: start;
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
padding: 1rem;
background: rgba(255, 255, 255, .62);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 62%, var(--bs-body-bg));
}
.location-review-title-row {
@ -867,7 +890,7 @@
.location-review-controls select {
width: 100%;
min-height: 2.35rem;
border: 1px solid rgba(31, 42, 68, .18);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 18%, transparent);
border-radius: 6px;
padding: .45rem .6rem;
background-color: var(--bs-body-bg);
@ -888,9 +911,9 @@
bottom: 0;
z-index: 2;
margin: 1rem calc(clamp(1.25rem, 3vw, 2.5rem) * -1) calc(clamp(1.25rem, 3vw, 2.5rem) * -1);
border-top: 1px solid rgba(31, 42, 68, .1);
border-top: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
padding: 1rem clamp(1.25rem, 3vw, 2.5rem);
background: rgba(255, 255, 255, .92);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 92%, var(--bs-body-bg));
backdrop-filter: blur(10px);
}
@ -942,7 +965,7 @@
border-left: 4px solid #2f6f63;
border-radius: 8px;
background: rgba(47, 111, 99, .08);
color: #1f2a44;
color: var(--bs-body-color);
}
.story-live-progress {
@ -984,9 +1007,9 @@
.story-live-feed-grid,
.story-review-summary,
.story-review-chapter-card {
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
background: rgba(255, 255, 255, .62);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 62%, var(--bs-body-bg));
}
.story-live-progress-card {
@ -1026,7 +1049,7 @@ summary.story-review-chapter-heading {
border-radius: 999px;
padding: .25rem .7rem;
background: rgba(47, 111, 99, .12);
color: #2f6f63;
color: var(--plotline-accent-dark);
font-weight: 800;
white-space: nowrap;
}
@ -1047,10 +1070,10 @@ summary.story-review-chapter-heading {
.story-review-summary div,
.story-review-scene-panel div {
min-width: 0;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .65rem .75rem;
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
}
.story-live-stats span,
@ -1133,7 +1156,7 @@ summary.story-review-chapter-heading {
.story-latest-scene-title {
margin: 0 0 .45rem;
color: #2f6f63;
color: var(--plotline-accent-dark);
font-size: 1rem;
font-weight: 800;
}
@ -1208,10 +1231,10 @@ summary.story-review-chapter-heading {
align-content: start;
gap: .45rem;
min-width: 0;
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
padding: .85rem;
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
}
.story-pipeline-phase-list > li.is-current {
@ -1226,7 +1249,7 @@ summary.story-review-chapter-heading {
.story-pipeline-phase-list > li.is-complete > strong::before {
content: "✓ ";
color: #2f6f63;
color: var(--plotline-accent-dark);
}
.story-pipeline-phase-list > li > strong {
@ -1266,7 +1289,7 @@ summary.story-review-chapter-heading {
}
.story-pipeline-review-list li.is-complete span {
color: #2f6f63;
color: var(--plotline-accent-dark);
}
.story-pipeline-review-list li.is-current {
@ -1337,7 +1360,7 @@ summary.story-review-chapter-heading {
}
.story-database-build li span {
color: #2f6f63;
color: var(--plotline-accent-dark);
font-weight: 900;
}
@ -1382,18 +1405,18 @@ summary.story-review-chapter-heading {
.story-review-status--active {
background: rgba(182, 138, 70, .14);
color: #755624;
color: var(--plotline-accent-dark);
}
.story-review-status--warning {
background: rgba(176, 58, 46, .12);
color: #8a2f25;
color: var(--plotline-danger);
}
.story-review-note {
margin: 0;
border: 1px solid color-mix(in srgb, var(--plotline-line, rgba(31, 42, 68, .12)) 72%, transparent);
border-left: 3px solid color-mix(in srgb, var(--plotline-accent, #2f6f63) 38%, var(--plotline-line, rgba(31, 42, 68, .12)));
border: 1px solid color-mix(in srgb, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)) 72%, transparent);
border-left: 3px solid color-mix(in srgb, var(--plotline-accent, #2f6f63) 38%, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)));
border-radius: 6px;
padding: .65rem .8rem;
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 92%, var(--plotline-accent, #2f6f63));
@ -1417,7 +1440,7 @@ summary.story-review-chapter-heading {
}
.story-review-note--warning {
border-left-color: color-mix(in srgb, var(--plotline-danger, #b03a2e) 58%, var(--plotline-line, rgba(31, 42, 68, .12)));
border-left-color: color-mix(in srgb, var(--plotline-danger, #b03a2e) 58%, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)));
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 92%, var(--plotline-danger, #b03a2e));
}
@ -1478,17 +1501,17 @@ summary.story-review-chapter-heading {
}
.story-character-card {
border: 1px solid color-mix(in srgb, var(--plotline-line, rgba(31, 42, 68, .12)) 82%, var(--plotline-accent, #2f6f63));
border: 1px solid color-mix(in srgb, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)) 82%, var(--plotline-accent, #2f6f63));
border-radius: 8px;
background: var(--plotline-panel, var(--bs-body-bg));
box-shadow: var(--plotline-shadow-subtle, 0 8px 20px rgba(31, 42, 68, .06));
box-shadow: var(--plotline-shadow-subtle, 0 8px 20px color-mix(in srgb, var(--bs-body-color) 6%, transparent));
overflow: hidden;
}
.story-review-card-header {
align-items: center;
background: linear-gradient(180deg, color-mix(in srgb, var(--plotline-accent, #2f6f63) 18%, var(--plotline-panel, var(--bs-body-bg))), color-mix(in srgb, var(--plotline-accent, #2f6f63) 10%, var(--plotline-panel, var(--bs-body-bg))));
border-bottom: 1px solid color-mix(in srgb, var(--plotline-accent, #2f6f63) 34%, var(--plotline-line, rgba(31, 42, 68, .12)));
border-bottom: 1px solid color-mix(in srgb, var(--plotline-accent, #2f6f63) 34%, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)));
cursor: pointer;
display: flex;
flex-wrap: wrap;
@ -1554,11 +1577,11 @@ summary.story-review-chapter-heading {
display: flex;
flex-wrap: wrap;
gap: .75rem;
border: 1px solid color-mix(in srgb, var(--plotline-line, rgba(31, 42, 68, .12)) 75%, transparent);
border: 1px solid color-mix(in srgb, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)) 75%, transparent);
border-radius: 6px;
padding: .7rem .8rem;
margin: .1rem 0 0;
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 96%, var(--plotline-line, rgba(31, 42, 68, .12)));
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 96%, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)));
}
.story-character-actions legend {
@ -1579,7 +1602,7 @@ summary.story-review-chapter-heading {
.story-character-card__body .form-control,
.story-character-card__body .form-select {
background-color: var(--app-input-bg, var(--bs-body-bg));
border-color: color-mix(in srgb, var(--plotline-line, rgba(31, 42, 68, .12)) 86%, var(--plotline-ink, var(--bs-body-color)));
border-color: color-mix(in srgb, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)) 86%, var(--plotline-ink, var(--bs-body-color)));
color: var(--app-input-text, var(--bs-body-color));
}
@ -1595,10 +1618,10 @@ summary.story-review-chapter-heading {
}
.story-future-stage {
border: 1px dashed rgba(31, 42, 68, .22);
border: 1px dashed color-mix(in srgb, var(--bs-body-color) 22%, transparent);
border-radius: 8px;
padding: .85rem;
background: rgba(255, 255, 255, .45);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 45%, var(--bs-body-bg));
}
.story-future-stage strong,
@ -1651,20 +1674,20 @@ summary.story-review-chapter-heading {
flex-direction: column;
justify-content: space-between;
gap: .85rem;
border: 1px solid color-mix(in srgb, var(--plotline-line, rgba(31, 42, 68, .12)) 82%, var(--plotline-accent, #2f6f63));
border: 1px solid color-mix(in srgb, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)) 82%, var(--plotline-accent, #2f6f63));
border-radius: 8px;
padding: 1rem;
background: var(--plotline-panel, var(--bs-body-bg));
box-shadow: var(--plotline-shadow-subtle, 0 8px 20px rgba(31, 42, 68, .06));
box-shadow: var(--plotline-shadow-subtle, 0 8px 20px color-mix(in srgb, var(--bs-body-color) 6%, transparent));
}
.story-review-centre-tile--primary {
border-color: color-mix(in srgb, var(--plotline-accent, #7a4a27) 46%, var(--plotline-line, rgba(31, 42, 68, .12)));
border-color: color-mix(in srgb, var(--plotline-accent, #7a4a27) 46%, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)));
box-shadow: 0 10px 24px color-mix(in srgb, var(--plotline-accent, #7a4a27) 16%, transparent);
}
.story-review-centre-tile--locked {
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 88%, var(--plotline-line, rgba(31, 42, 68, .12)));
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 88%, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)));
}
.story-review-centre-tile h2 {
@ -1706,8 +1729,8 @@ summary.story-review-chapter-heading {
.story-review-centre-tile .btn.disabled {
pointer-events: none;
color: var(--bs-secondary-color);
border-color: color-mix(in srgb, var(--plotline-line, rgba(31, 42, 68, .12)) 80%, transparent);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 94%, var(--plotline-line, rgba(31, 42, 68, .12)));
border-color: color-mix(in srgb, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)) 80%, transparent);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 94%, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)));
}
.story-review-centre-progress {
@ -1717,7 +1740,7 @@ summary.story-review-chapter-heading {
.story-review-centre-progress__bar {
height: .5rem;
overflow: hidden;
background: rgba(31, 42, 68, .12);
background: color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 999px;
}
@ -1790,10 +1813,10 @@ summary.story-review-chapter-heading {
.story-scene-preview {
display: grid;
gap: .45rem;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .75rem;
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
}
.story-scene-preview > div:first-child {
@ -1826,7 +1849,7 @@ summary.story-review-chapter-heading {
}
.story-review-admin {
border-top: 1px solid rgba(31, 42, 68, .1);
border-top: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
padding-top: .75rem;
}
@ -1845,7 +1868,7 @@ summary.story-review-chapter-heading {
.story-review-admin div {
min-width: 0;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .65rem;
}
@ -1912,7 +1935,7 @@ summary.story-review-chapter-heading {
}
.onboarding-character-evidence {
border-top: 1px solid rgba(31, 42, 68, .08);
border-top: 1px solid color-mix(in srgb, var(--bs-body-color) 8%, transparent);
padding-top: .45rem;
}
@ -1971,10 +1994,10 @@ summary.story-review-chapter-heading {
.onboarding-character-step-summary div {
min-width: 0;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .7rem;
background: rgba(255, 255, 255, .62);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 62%, var(--bs-body-bg));
}
.onboarding-character-step-summary span {
@ -1996,7 +2019,7 @@ summary.story-review-chapter-heading {
justify-content: space-between;
gap: 1rem;
padding: .9rem 1rem;
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
}
@ -2036,9 +2059,9 @@ summary.story-review-chapter-heading {
.onboarding-complete-next {
margin-top: 1.25rem;
padding: 1rem;
border: 1px solid rgba(31, 42, 68, .12);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 12%, transparent);
border-radius: 8px;
background: rgba(255, 255, 255, .58);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 58%, var(--bs-body-bg));
}
.onboarding-complete-next h2 {
@ -2061,10 +2084,10 @@ summary.story-review-chapter-heading {
.onboarding-story-facts div,
.onboarding-story-card,
.story-intelligence-dashboard-card {
border: 1px solid color-mix(in srgb, var(--plotline-line, rgba(31, 42, 68, .12)) 82%, var(--plotline-accent, #2f6f63));
border: 1px solid color-mix(in srgb, var(--plotline-line, color-mix(in srgb, var(--bs-body-color) 12%, transparent)) 82%, var(--plotline-accent, #2f6f63));
border-radius: 8px;
background: var(--plotline-panel, var(--bs-body-bg));
box-shadow: var(--plotline-shadow-subtle, 0 8px 20px rgba(31, 42, 68, .06));
box-shadow: var(--plotline-shadow-subtle, 0 8px 20px color-mix(in srgb, var(--bs-body-color) 6%, transparent));
}
.onboarding-story-facts div {
@ -2074,7 +2097,7 @@ summary.story-review-chapter-heading {
}
.onboarding-story-facts span {
color: #2f6f63;
color: var(--plotline-accent-dark);
font-size: .78rem;
font-weight: 800;
text-transform: uppercase;
@ -2121,8 +2144,8 @@ summary.story-review-chapter-heading {
border: 1px solid rgba(47, 111, 99, .28);
border-radius: 8px;
padding: clamp(1rem, 2vw, 1.35rem);
background: linear-gradient(135deg, rgba(47, 111, 99, .1), rgba(255, 255, 255, .72) 52%, rgba(182, 138, 70, .12));
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .54);
background: linear-gradient(135deg, rgba(47, 111, 99, .1), color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 72%, var(--bs-body-bg)) 52%, rgba(182, 138, 70, .12));
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 54%, var(--bs-body-bg));
}
.onboarding-analysis-setup__header {
@ -2147,8 +2170,8 @@ summary.story-review-chapter-heading {
border: 1px solid rgba(47, 111, 99, .22);
border-radius: 999px;
padding: .35rem .7rem;
background: rgba(255, 255, 255, .72);
color: #2f6f63;
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 72%, var(--bs-body-bg));
color: var(--plotline-accent-dark);
font-size: .82rem;
white-space: nowrap;
}
@ -2169,8 +2192,9 @@ summary.story-review-chapter-heading {
.onboarding-analysis-controls select {
min-height: 3rem;
border-color: rgba(31, 42, 68, .22);
background-color: #fff;
border-color: color-mix(in srgb, var(--bs-body-color) 22%, transparent);
background-color: var(--app-input-bg, var(--bs-body-bg));
color: var(--app-input-text, var(--bs-body-color));
font-weight: 700;
}
@ -2186,10 +2210,10 @@ summary.story-review-chapter-heading {
align-items: center;
gap: .55rem;
min-width: 0;
border: 1px solid rgba(31, 42, 68, .1);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 10%, transparent);
border-radius: 8px;
padding: .7rem;
background: rgba(255, 255, 255, .64);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 64%, var(--bs-body-bg));
}
.onboarding-analysis-flow span {
@ -2319,10 +2343,10 @@ summary.story-review-chapter-heading {
align-items: center;
gap: .45rem;
min-height: 31px;
border: 1px solid rgba(31, 42, 68, .16);
border: 1px solid color-mix(in srgb, var(--bs-body-color) 16%, transparent);
border-radius: 999px;
padding: .25rem .7rem;
background: rgba(255, 255, 255, .72);
background: color-mix(in srgb, var(--plotline-panel, var(--bs-body-bg)) 72%, var(--bs-body-bg));
color: var(--bs-body-color);
font-size: .875rem;
font-weight: 700;