/** GENERATED from public/styles.css — do not hand-edit. * Source of truth is pkg/public/styles.css. Regenerate after any theme edit. * The shell inlines this so Scribe (no external stylesheets) renders correctly. */ export const SHELL_CSS: string = "/* kody-os shell theme \u2014 classic Mac-style desktop, e-ink safe.\n Monochrome only: no colour, no gradients, no animation, no transitions.\n Stripes are a tiny inline SVG tile (a 1px rule every 4px), not a gradient. */\n\n:root {\n\tcolor-scheme: light;\n\tfont-family: Geneva, Verdana, 'DejaVu Sans', sans-serif;\n\tfont-size: 16px;\n\tline-height: 1.4;\n\t--paper: #fff;\n\t--desk: #e8e8e8;\n\t--shade: #f2f2f2;\n\t--rule: 2px solid #000;\n\t--lift: 3px 3px 0 #000;\n\t--lift-lg: 5px 5px 0 #000;\n\t--os-ink: #000;\n\t--os-paper: var(--paper);\n\t--os-grey: #888;\n\t--os-border: 1px solid #000;\n\t--os-shadow: 2px 2px 0 #000;\n\t--os-radius: 4px;\n\t--os-font: \"Chicago\", \"Geneva\", Helvetica, Arial, sans-serif;\n\t--os-font-mono: \"Courier New\", Courier, monospace;\n\t--os-text-sm: 14px;\n\t--os-text: 16px;\n\t--os-text-lg: 20px;\n\t--os-display: 28px;\n\t--os-tap: 48px;\n\t--os-gap: 6px;\n\t--os-pad: 16px;\n\t--os-dots: radial-gradient(#000 1px, transparent 1.4px);\n\t--stripes: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect y='2' width='4' height='1' fill='%23000'/%3E%3C/svg%3E\");\n\t--checker: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='2' height='2' fill='%23888'/%3E%3Crect x='2' y='2' width='2' height='2' fill='%23888'/%3E%3C/svg%3E\");\n\tbackground: var(--desk);\n\tcolor: #000;\n}\n\n* {\n\tbox-sizing: border-box;\n}\n\n/* E-ink discipline: never animate, never transition. */\n*,\n*::before,\n*::after {\n\tanimation: none !important;\n\ttransition: none !important;\n}\n\n:focus-visible {\n\toutline: 3px solid #000;\n\toutline-offset: 2px;\n}\n\nbody {\n\tmin-height: 100vh;\n\tmargin: 0;\n\tpadding: 0 0 2rem;\n\tbackground: var(--desk);\n\tcolor: #000;\n}\n\n/* ---- System menu bar ---- */\n\n.os-menubar {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: stretch;\n\tpadding: 0 0.5rem;\n\tbackground: var(--paper);\n\tborder-bottom: var(--rule);\n}\n\n.os-brand {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tpadding: 0 0.9rem 0 0.35rem;\n\tborder-right: 1px solid #000;\n\tfont-size: 1rem;\n\tfont-weight: bold;\n\tletter-spacing: 0.02em;\n\twhite-space: nowrap;\n}\n\n/* Checkerboard mark drawn in CSS: no font glyph, nothing to go missing. */\n.os-mark {\n\tposition: relative;\n\tdisplay: inline-block;\n\twidth: 0.85rem;\n\theight: 0.85rem;\n\tmargin-right: 0.45rem;\n\tborder: 2px solid #000;\n\tbackground: #fff;\n}\n\n.os-mark::before,\n.os-mark::after {\n\tcontent: \"\";\n\tposition: absolute;\n\twidth: 50%;\n\theight: 50%;\n\tbackground: #000;\n}\n\n.os-mark::before {\n\ttop: 0;\n\tleft: 0;\n}\n\n.os-mark::after {\n\tright: 0;\n\tbottom: 0;\n}\n\n/* Fork glyph mark from settings.json: replaces the default Kody mark when set. */\n.os-mark-glyph {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 0.45rem;\n\tpadding: 0 0.15rem;\n\tborder: 2px solid #000;\n\tbackground: #fff;\n\tfont-size: 0.85rem;\n\tfont-weight: bold;\n\tline-height: 1;\n}\n\n/* Inline-SVG mark from settings.json: sanitized at resolve time, monochrome.\n Fixed box like tile icons; strokes follow the text color, fills come from\n the markup so line art stays line art. */\n.os-mark-glyph svg {\n\tdisplay: block;\n\twidth: 1.1rem;\n\theight: 1.1rem;\n\tstroke: currentColor;\n}\n\n/* Default header mark: the official Kody mark in public/favicon.png.\n A theme icon from settings.json still replaces it (see .os-mark-glyph). */\n.os-mark-img {\n\tdisplay: block;\n\twidth: auto;\n\theight: 1.5rem;\n\tmargin-right: 0.45rem;\n}\n\n.os-menubar nav {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tmargin-left: 0;\n}\n\n.os-menubar nav a {\n\tmin-height: 3rem;\n\tpadding: 0 0.75rem;\n\tfont-size: 0.9375rem;\n\tfont-weight: bold;\n\ttext-decoration: none;\n}\n\n.os-menubar nav a:hover {\n\tbackground: var(--shade);\n}\n\n.os-menubar nav a:active {\n\tbackground: #000;\n\tcolor: #fff;\n}\n\n/* Server-rendered clock slot, far right of the bar. */\n.os-clock {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tmargin-left: auto;\n\tmin-height: 3rem;\n\tpadding: 0 0.75rem 0 0.25rem;\n\tfont-size: 0.8125rem;\n\tfont-weight: bold;\n\tletter-spacing: 0.04em;\n\twhite-space: nowrap;\n}\n\n/* ---- Desktop window ---- */\n\n.os-window {\n\twidth: calc(100% - 2rem);\n\tmax-width: 48rem;\n\tmargin: 1.5rem auto 0;\n\tbackground: var(--paper);\n\tborder: var(--rule);\n\tbox-shadow: var(--lift-lg);\n}\n\n/* Title bar: a white 2.75rem bar carrying a full-width 33px racing-striped band\n (8 x 4px tile rows + 1, so the band shows eight rules with paper at its top\n and bottom edges). The band is the\n ::before layer, centered; white bar padding shows above and below it. The\n title is borderless white ground running the full bar height at its own\n width (align-self: stretch), so no stripe ever passes above or below the\n text. Slots are UNMOVED: absolute 3rem full-height hit targets exactly as\n before \u2014 only the drawn squares grow, never the slots. */\n.os-titlebar {\n\tposition: relative;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmin-height: 2.75rem;\n\tpadding: 0 3.5rem;\n\tborder-bottom: var(--rule);\n\tbackground-color: var(--paper);\n}\n\n/* 33px stripe band, full-width, centered. Same 4px --stripes tile, unchanged\n density; band heights stay 4n+1px so the tile phase stays aligned top to\n bottom. 33px = 8 tile rows + 1, giving 8 rules with paper at the band's\n top and bottom edges. */\n.os-titlebar::before {\n\tcontent: \"\";\n\tposition: absolute;\n\tleft: 0;\n\tright: 0;\n\ttop: 50%;\n\ttransform: translateY(-50%);\n\theight: 33px;\n\tbackground-color: var(--paper);\n\tbackground-image: var(--stripes);\n\tbackground-repeat: repeat;\n\tpointer-events: none;\n}\n\n.os-title {\n\talign-self: stretch;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tposition: relative;\n\tz-index: 1;\n\tmax-width: 100%;\n\tmargin: 0;\n\tpadding: 0 0.85rem;\n\tborder: 0;\n\tbackground: var(--paper);\n\tfont-family: var(--os-font);\n\tfont-size: 1.1rem;\n\tfont-weight: bold;\n\tletter-spacing: 0.04em;\n\tline-height: 1.5;\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n/* Close box doubles as back-to-home, so the chrome is honest. Slots stay at\n top: 0 for full-height 48px hit targets; the drawn squares shift up 2.5px\n via the shared header-box square rule to align with the 33px band. */\n.os-box {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 3rem;\n\theight: 100%;\n\tmin-height: 3rem;\n\tpadding: 0;\n\ttext-decoration: none;\n}\n\n/* Shared header-box square: the close, expand/collapse, help, widget-expand,\n and modal-expand boxes draw one identical 1.7rem outlined square with a 3px\n white halo punched over the stripes (stripes run up to the halo, no white\n end columns). One rule for every box, so a new box cannot drift from the\n rest. Hover/active inverts the square; the X, `?`, and bracket glyphs\n invert with their own rules below. Slots stay absolute 3rem full-height.\n Squares shift up 2.5px here so slots stay at top: 0; glyphs shift with\n matching offsets in their own rules below. */\n.os-box::before,\n.os-expand::before,\n.os-collapse::before,\n.os-help::before,\n.widget-expand::before,\n.modal-expand::before {\n\tcontent: \"\";\n\tdisplay: block;\n\twidth: 1.7rem;\n\theight: 1.7rem;\n\tborder: 2px solid #000;\n\tbackground: #fff;\n\tbox-shadow: 0 0 0 3px #fff;\n\ttransform: translateY(-2.5px);\n}\n\n.os-box:hover::before,\n.os-box:active::before,\n.os-expand:hover::before,\n.os-expand:active::before,\n.os-collapse:hover::before,\n.os-collapse:active::before,\n.os-help:hover::before,\n.os-help:active::before,\n.widget-expand:hover::before,\n.widget-expand:active::before,\n.modal-expand:hover::before,\n.modal-expand:active::before {\n\tbackground: #000;\n}\n\n/* ---- App page full-window view ---- */\n\n/* Page-mode expand/collapse controls share the widget/modal box look and sit\n in the titlebar slot opposite the close box. */\n.os-expand,\n.os-collapse {\n\tposition: absolute;\n\ttop: 0;\n\tright: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 3rem;\n\theight: 100%;\n\tmin-height: 3rem;\n\tpadding: 0;\n\ttext-decoration: none;\n}\n\n.os-collapse {\n\tdisplay: none;\n}\n\n/* Close: visible X at rest, black on white, inverting with the box. Text glyph\n (not a drawing) so it inverts with color exactly like the help `?`; sized\n to 17px arms to match the 1.7rem square. Kept blank-square fallback: if the\n X ever reads as a smudge at 1-bit e-ink, remove this rule and the box\n returns to the inverting blank square. */\n.os-box::after {\n\tcontent: \"\u00d7\";\n\tposition: absolute;\n\ttop: 50%;\n\tleft: 50%;\n\ttransform: translate(-50%, calc(-50% - 2.5px));\n\tfont-family: var(--os-font);\n\tfont-size: 1.1rem;\n\tfont-weight: bold;\n\tline-height: 1;\n\tcolor: #000;\n}\n\n.os-box:hover::after,\n.os-box:active::after {\n\tcolor: #fff;\n}\n\n/* Expand: upward-outward corner bracket, matching widget/modal expand.\n 10px bracket centered in the upper-right quadrant of the 1.7rem square. */\n.os-expand::after {\n\tcontent: \"\";\n\tposition: absolute;\n\ttop: calc(50% - 0.55rem - 2.5px);\n\tleft: calc(50% - 0.05rem);\n\twidth: 0.625rem;\n\theight: 0.625rem;\n\tborder-top: 2px solid #000;\n\tborder-right: 2px solid #000;\n}\n\n/* Collapse: the same bracket mirrored to the lower-left corner. */\n.os-collapse::after {\n\tcontent: \"\";\n\tposition: absolute;\n\ttop: calc(50% - 0.075rem - 2.5px);\n\tleft: calc(50% - 0.575rem);\n\twidth: 0.625rem;\n\theight: 0.625rem;\n\tborder-bottom: 2px solid #000;\n\tborder-left: 2px solid #000;\n}\n\n.os-expand:hover::after,\n.os-expand:active::after,\n.os-collapse:hover::after,\n.os-collapse:active::after {\n\tborder-color: #fff;\n}\n\n/* ---- Per-app help: `[?]` box + JS-opened dialog ---- */\n\n/* 3rem hit slot in the titlebar slot immediately left of expand (expand\n stays at right: 0). The drawn square is the shared header-box square\n above; this rule only positions the slot and resets the