:root {
  --chrome-0: #1f2936;
  --chrome-1: #2f3b4c;
  --chrome-2: #39495d;
  --chrome-3: #e5e9ef;
  --chrome-4: #f4f6f9;
  --line: #c7ced8;
  --line-soft: #dce1e8;
  --ink: #172235;
  --muted: #657083;
  --canvas: #d9dde4;
  --paper: #fffefb;
  --blue: #2d6fb7;
  --blue-soft: #e7f0fa;
  --orange: #e7793e;
  --green: #3f9a6a;
  --shadow: 0 12px 30px rgba(26, 36, 50, .18), 0 2px 6px rgba(26, 36, 50, .14);
  font-family: "Liberation Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); color: var(--ink); }
body { overflow: hidden; font-size: 13px; }
button, input, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, input:focus-visible, select:focus-visible, [contenteditable]:focus-visible {
  outline: 2px solid #63a6e6; outline-offset: 1px;
}
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.app-body { background: var(--canvas); }
.app-shell { display: grid; grid-template-rows: 34px 31px 41px 38px minmax(0, 1fr) 27px; height: 100vh; min-width: 310px; isolation: isolate; }

/* Window chrome */
.titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 7px 0 12px; color: #f7fafc; background: linear-gradient(#334155, #263241); border-bottom: 1px solid #15202d; user-select: none; }
.window-brand, .titlebar-actions, .toolbar-group, .status-left, .status-right { display: flex; align-items: center; }
.window-brand { min-width: 0; gap: 8px; }
.window-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; letter-spacing: .01em; }
.lo-mark { position: relative; display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #c9def1; border-radius: 3px; background: #eef6fd; box-shadow: inset 0 0 0 2px #7da7ca; }
.lo-mark::before, .lo-mark::after { content: ""; position: absolute; width: 8px; height: 2px; border-radius: 2px; background: #2d6fb7; transform: rotate(-42deg); }
.lo-mark::before { top: 4px; left: 2px; }.lo-mark::after { right: 2px; bottom: 4px; transform: rotate(138deg); }.lo-mark span { width: 4px; height: 4px; border-radius: 50%; background: #e7793e; }
.unsaved-dot { width: 7px; height: 7px; border-radius: 50%; background: #f3bd62; box-shadow: 0 0 0 2px rgba(243,189,98,.2); }
.titlebar-actions { gap: 2px; }
.window-button { width: 29px; height: 25px; background: transparent; color: #d9e3ef; font-size: 17px; line-height: 1; border-radius: 2px; }
.window-button:hover { background: rgba(255,255,255,.12); }.window-button.close:hover { background: #c84848; color: #fff; }
.menubar { display: flex; align-items: center; gap: 2px; padding: 0 8px; background: #f3f5f8; border-bottom: 1px solid #bac3ce; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; }
.menu-trigger { padding: 5px 9px; background: transparent; border-radius: 3px; color: #283447; font-size: 12px; }
.menu-trigger:hover, .menu-trigger[aria-expanded="true"] { background: #dfe7f0; color: #153d69; }
.menubar-spacer, .toolbar-spacer { flex: 1; min-width: 0; }
.quick-find { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #657083; background: #fff; border: 1px solid #c8d0db; border-radius: 4px; font-size: 11px; }
.quick-find:hover { border-color: #8da9c4; color: #234d78; }.quick-find kbd { padding: 1px 3px; background: #eef1f5; border-radius: 3px; font-size: 9px; }
.toolbar { display: flex; align-items: center; gap: 5px; padding: 3px 8px; background: #e8ecf1; border-bottom: 1px solid #c0c8d2; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; overflow: hidden; }
.format-toolbar { background: #edf0f4; }
.toolbar-group { gap: 2px; min-width: 0; }.toolbar-separator { width: 1px; height: 24px; margin: 0 3px; background: #c4ccd6; box-shadow: 1px 0 #fff; }
.tool-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 3px; min-width: 27px; height: 29px; padding: 2px 6px; color: #344256; background: transparent; border: 1px solid transparent; border-radius: 3px; font-size: 11px; }
.tool-button:hover { background: #dce6f2; border-color: #afc4d8; }.tool-button:active, .tool-button.is-active { background: #c4d9ed; border-color: #83a8cb; box-shadow: inset 0 1px 2px rgba(30,72,111,.2); }
.tool-icon { display: inline-grid; place-items: center; min-width: 16px; color: #2d4f70; font-size: 17px; line-height: 1; }.tool-label { font-size: 10px; }.pdf-icon { padding: 1px 2px; color: #b64035; border: 1px solid currentColor; border-radius: 2px; font-size: 8px; font-weight: 700; }.format-glyph { font-family: Georgia, serif; font-size: 15px; line-height: 1; }.format-glyph.bold { font-weight: 700; }.format-glyph.italic { font-style: italic; }.format-glyph.underline { text-decoration: underline; }.strike { text-decoration: line-through; }
.toolbar-select, .toolbar-input { height: 27px; padding: 3px 7px; background: #fff; border: 1px solid #bfc8d3; border-radius: 3px; color: #344256; font-size: 11px; }
.toolbar-select:hover, .toolbar-input:hover { border-color: #87a8c6; }.style-select { width: 148px; }.font-select { width: 145px; }.size-input { width: 49px; text-align: right; }
.color-button { position: relative; font-family: Georgia, serif; font-size: 16px; font-weight: 700; }.color-button i { position: absolute; bottom: 4px; width: 13px; height: 2px; background: #2563a4; }.highlight-button { color: #93680a; }
.track-mark { color: #3f9a6a; font-weight: 700; }

/* Workspace and document */
.workspace { display: flex; min-height: 0; background: var(--canvas); overflow: hidden; }
.left-ruler-rail { width: 29px; flex: 0 0 29px; padding-top: 28px; background: #e7ebf0; border-right: 1px solid #bfc7d2; color: #778292; font-size: 9px; text-align: right; user-select: none; }
.vertical-ruler-label { display: block; height: 40px; padding-right: 6px; border-bottom: 1px solid #c9d0d9; }
.editor-region { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
.mobile-document-bar { display: none; }
.horizontal-ruler { display: flex; flex: 0 0 28px; align-items: stretch; background: #e7ebf0; border-bottom: 1px solid #bcc5d0; color: #747e8b; user-select: none; }
.ruler-corner { width: 18px; border-right: 1px solid #c2cad4; }.ruler-scale { display: flex; flex: 1; justify-content: space-around; align-items: flex-end; padding: 0 10px 3px; font-size: 9px; background: repeating-linear-gradient(90deg, transparent 0 19px, rgba(117,128,142,.26) 19px 20px); }
.ruler-indent { position: absolute; top: 1px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid #507da3; }.first-line { left: 126px; }.left-indent { top: 11px; left: 126px; border-top: 7px solid #7692aa; }.right-indent { right: 80px; top: 10px; border-top: 7px solid #7692aa; }
.editor-scroll { flex: 1; min-height: 0; overflow: auto; scroll-behavior: smooth; }
.document-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; min-width: 785px; padding: 26px 42px 42px; }
.writer-document { display: flex; flex-direction: column; gap: 22px; width: 680px; transform-origin: top center; transition: transform 140ms ease; }
.page { position: relative; width: 680px; min-height: 880px; padding: 54px 67px 52px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); color: #1d3045; }
.page-header, .page-footer { position: absolute; left: 67px; right: 67px; display: flex; justify-content: space-between; color: #7b8795; font-size: 8px; letter-spacing: .13em; }.page-header { top: 24px; }.page-footer { bottom: 22px; letter-spacing: .08em; }.page-footer span:last-child { font-weight: 700; color: #3f5268; }
.page-content { min-height: 100%; outline: none; font-family: "Liberation Serif", Georgia, serif; }.page-content p, .page-content h1, .page-content h2, .page-content h3 { margin: 0; }.document-kicker, .small-label { color: #2d6fb7; font-family: "Liberation Sans", Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .18em; }.document-kicker { margin-bottom: 20px !important; }.field-placeholder { color: #9a6c40; }.page h1, .page h2 { color: #183551; font-family: "Liberation Sans", Arial, sans-serif; font-weight: 600; letter-spacing: -.045em; line-height: .95; }.page h1 { margin-bottom: 18px; font-size: 47px; }.page h2 { margin-bottom: 18px; font-size: 40px; }.page h3 { margin-bottom: 9px; color: #244966; font-family: "Liberation Sans", Arial, sans-serif; font-size: 16px; font-weight: 600; }.page h1 em, .page h2 em { color: #e47f48; font-family: "Liberation Serif", Georgia, serif; font-weight: 400; }
.lead { max-width: 420px; color: #536b7e; font-size: 16px; line-height: 1.35; }.hero-rule { width: 100%; height: 1px; margin: 32px 0 24px; background: #d4dfe6; }.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 31px; align-items: center; }.small-label { margin-bottom: 10px !important; color: #e47f48; }.intro-copy { margin-bottom: 12px !important; color: #374f63; font-size: 15px; line-height: 1.43; }.signature { margin-top: 24px !important; color: #244966; font-family: "Liberation Sans", Arial, sans-serif; font-size: 15px; line-height: 1.35; }.signature span { color: #8291a0; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.hero-illustration { position: relative; height: 270px; overflow: hidden; border-radius: 3px; background: linear-gradient(145deg, #e5f2f3, #c4e3df 48%, #f2d49d); }.hero-illustration::before { content: ""; position: absolute; inset: 20px 15px 24px; border: 1px solid rgba(45,111,183,.3); border-radius: 56% 44% 51% 49%; transform: rotate(-28deg); }.hero-illustration::after { content: ""; position: absolute; inset: 63px -34px -24px 39px; border: 1px solid rgba(230,122,69,.56); border-radius: 48%; transform: rotate(14deg); }.orb { position: absolute; z-index: 2; border-radius: 50%; box-shadow: 0 6px 14px rgba(40,75,93,.18); }.orb-a { top: 36px; left: 56px; width: 64px; height: 64px; background: #2d6fb7; }.orb-b { top: 111px; right: 39px; width: 35px; height: 35px; background: #e47f48; }.orb-c { bottom: 36px; left: 49px; width: 25px; height: 25px; background: #3f9a6a; }.path { position: absolute; z-index: 1; display: block; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; transform: rotate(-16deg); }.path-a { top: 68px; left: 80px; width: 160px; height: 90px; }.path-b { top: 120px; left: 13px; width: 234px; height: 110px; transform: rotate(37deg); }.path-c { top: 23px; right: -10px; width: 176px; height: 222px; transform: rotate(70deg); }.hero-caption { position: absolute; right: 17px; bottom: 16px; z-index: 3; color: #fff; font-family: "Liberation Sans", Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .14em; line-height: 1.35; text-align: right; }
.page-callout { display: flex; gap: 14px; align-items: center; margin-top: 38px; padding: 14px 16px; border-top: 1px solid #cfdce4; border-bottom: 1px solid #cfdce4; color: #38546a; font-family: "Liberation Sans", Arial, sans-serif; font-size: 11px; line-height: 1.35; }.callout-number { color: #e47f48; font-size: 19px; font-weight: 600; }
.body-copy { max-width: 500px; margin-bottom: 28px !important; color: #43596b; font-size: 15px; line-height: 1.5; }.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 31px; padding: 15px 0; border-top: 1px solid #d7e0e5; border-bottom: 1px solid #d7e0e5; }.metric { display: flex; flex-direction: column; gap: 2px; }.metric strong { color: #2d6fb7; font-family: "Liberation Sans", Arial, sans-serif; font-size: 28px; font-weight: 600; letter-spacing: -.04em; }.metric span { color: #456275; font-family: "Liberation Sans", Arial, sans-serif; font-size: 10px; font-weight: 600; }.metric small { color: #78909b; font-family: "Liberation Sans", Arial, sans-serif; font-size: 9px; }.report-table { width: 100%; margin: 0 0 15px; border-collapse: collapse; font-family: "Liberation Sans", Arial, sans-serif; font-size: 10px; }.report-table caption { margin-bottom: 8px; color: #80919e; font-size: 9px; text-align: left; text-transform: uppercase; letter-spacing: .12em; }.report-table th { padding: 7px 6px; border-bottom: 2px solid #456a86; color: #3d5970; font-size: 9px; font-weight: 700; text-align: left; }.report-table td { padding: 8px 6px; border-bottom: 1px solid #d9e1e6; color: #465c6e; }.report-table td:not(:first-child), .report-table th:not(:first-child) { text-align: right; }.report-table .total-row td { border-top: 1px solid #456a86; color: #1d425f; font-weight: 700; }.table-note { color: #738391; font-family: "Liberation Sans", Arial, sans-serif; font-size: 9px; line-height: 1.4; }.comment-marker { display: inline-grid; place-items: center; width: 13px; height: 13px; margin-right: 3px; color: #fff; background: #e47f48; border-radius: 50%; font-size: 8px; font-weight: 700; cursor: pointer; }.tracked-addition { border-bottom: 2px solid rgba(63,154,106,.45); background: rgba(63,154,106,.08); }.footnote { margin-top: 22px; padding-top: 8px; border-top: 1px solid #d8e1e6; color: #748490; font-family: "Liberation Sans", Arial, sans-serif; font-size: 9px; line-height: 1.4; }.footnote sup { color: #e47f48; font-weight: 700; }
.toc-list { display: flex; flex-direction: column; gap: 12px; margin: 31px 0 40px; padding: 0; list-style: none; color: #3b566b; font-family: "Liberation Sans", Arial, sans-serif; font-size: 11px; }.toc-list li { display: flex; justify-content: space-between; padding-bottom: 7px; border-bottom: 1px dotted #c8d4dd; }.two-column-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }.two-column-copy p { margin-bottom: 12px !important; color: #526777; font-size: 13px; line-height: 1.45; }.quote-block { padding-left: 13px; border-left: 2px solid #e47f48; color: #38556c !important; font-style: italic; }.quote-block span { display: block; margin-top: 8px; color: #82909a; font-family: "Liberation Sans", Arial, sans-serif; font-size: 9px; font-style: normal; }.comment-card { display: flex; gap: 10px; margin-top: 31px; padding: 11px 12px; border: 1px solid #e0d1bc; border-left: 3px solid #e47f48; background: #fff8ed; font-family: "Liberation Sans", Arial, sans-serif; }.comment-avatar { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; color: #fff; background: #2d6fb7; border-radius: 50%; font-size: 9px; font-weight: 700; }.comment-card strong { display: block; color: #38536b; font-size: 10px; }.comment-time { display: block; margin-top: 2px; color: #9b8b7a; font-size: 8px; }.comment-card p { margin: 6px 0 4px !important; color: #6c6258; font-size: 10px; line-height: 1.35; }.comment-link { padding: 0; color: #2d6fb7; background: transparent; font-size: 9px; font-weight: 600; }.comment-link:hover { text-decoration: underline; }
.scroll-caret { display: none; }

/* Sidebar */
.sidebar { display: flex; flex: 0 0 292px; min-width: 235px; background: #f4f6f8; border-left: 1px solid #b8c1cc; box-shadow: -2px 0 5px rgba(25,36,52,.08); }.sidebar-tab-strip { display: flex; flex: 0 0 50px; flex-direction: column; align-items: center; padding-top: 7px; border-right: 1px solid #d2d8df; background: #e7ebf0; }.sidebar-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 49px; padding: 8px 3px; color: #647285; background: transparent; font-size: 14px; }.sidebar-tab span { font-size: 8px; }.sidebar-tab:hover { color: #244e77; background: #dbe6f1; }.sidebar-tab.active { color: #205a8d; background: #f4f6f8; }.sidebar-tab.active::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 3px; background: #2d6fb7; }.sidebar-close { margin-top: auto; width: 49px; padding: 12px 0; color: #687586; background: transparent; font-size: 18px; }.sidebar-close:hover { background: #dbe1e8; }.sidebar-panel { min-width: 0; flex: 1; overflow: auto; }.deck-panel { min-height: 100%; padding: 18px 15px; }.deck-panel.is-hidden { display: none; }.sidebar-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }.eyebrow { display: block; margin-bottom: 2px; color: #7e8a98; font-size: 8px; letter-spacing: .15em; }.sidebar-heading h2 { margin: 0; color: #2c4055; font-size: 20px; font-weight: 500; }.ghost-icon { width: 26px; height: 26px; color: #647286; background: transparent; border-radius: 3px; font-size: 18px; }.ghost-icon:hover { background: #e1e8f0; }.sidebar-section { margin: 0 -15px; padding: 14px 15px; border-top: 1px solid #dce2e8; }.sidebar-section:last-child { border-bottom: 1px solid #dce2e8; }.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; color: #46586d; font-size: 11px; font-weight: 700; }.collapse-button { padding: 0 2px; color: #8c97a4; background: transparent; font-size: 14px; }.property-row { display: flex; justify-content: space-between; gap: 10px; margin: 7px 0; color: #788493; font-size: 10px; }.property-row strong { overflow: hidden; color: #334b63; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.inline-format-actions, .alignment-grid { display: flex; gap: 4px; margin-top: 12px; }.mini-format, .alignment-grid button { display: grid; place-items: center; width: 27px; height: 26px; color: #4e5f72; background: #fff; border: 1px solid #cdd5df; border-radius: 3px; font-family: Georgia, serif; }.mini-format:hover, .alignment-grid button:hover, .mini-format.is-active, .alignment-grid button.is-active { color: #205a8d; background: #e2edf8; border-color: #9ab8d2; }.mini-format.italic { font-style: italic; }.mini-format.underline { text-decoration: underline; }.color-swatch { display: grid; place-items: center; width: 27px; height: 26px; background: #fff; border: 1px solid #cdd5df; border-radius: 3px; }.color-swatch i { display: block; width: 13px; height: 12px; border-bottom: 3px solid #2d6fb7; color: #2d6fb7; font-family: Georgia, serif; font-size: 13px; font-weight: 700; }.line-spacing { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; color: #788493; font-size: 10px; }.line-spacing select { width: 83px; padding: 3px; background: #fff; border: 1px solid #ccd4de; border-radius: 3px; font-size: 10px; }.side-action { display: flex; gap: 9px; align-items: center; width: 100%; padding: 7px 0; color: #52667b; background: transparent; text-align: left; }.side-action:hover { color: #205a8d; }.side-action-icon { display: grid; place-items: center; width: 25px; height: 25px; color: #2d6fb7; background: #e7f0fa; border-radius: 3px; }.side-action strong, .side-action small { display: block; }.side-action strong { font-size: 10px; font-weight: 600; }.side-action small { margin-top: 2px; color: #8a95a1; font-size: 9px; }.side-action > span:last-child { margin-left: auto; color: #93a0ad; font-size: 17px; }.accessibility-note { display: flex; gap: 7px; align-items: center; color: #617486; font-size: 9px; line-height: 1.35; }.accessibility-note button { margin-left: auto; padding: 3px 7px; color: #2d6fb7; background: #e7f0fa; border-radius: 3px; font-size: 9px; }.status-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; }.status-dot.good { background: #45a170; box-shadow: 0 0 0 2px rgba(69,161,112,.15); }
.sidebar-search { display: flex; gap: 6px; align-items: center; margin-bottom: 13px; padding: 6px 7px; color: #8893a1; background: #fff; border: 1px solid #ccd4de; border-radius: 3px; }.sidebar-search input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; color: #44576c; background: transparent; font-size: 10px; }.style-list { display: flex; flex-direction: column; gap: 2px; }.style-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 8px; color: #4c6075; background: transparent; border-radius: 3px; text-align: left; }.style-row:hover, .style-row.selected { background: #e2edf8; color: #205a8d; }.style-row span { font-size: 12px; }.style-row.title-style span { font-family: Georgia, serif; font-size: 18px; }.style-row.heading-style span { font-size: 15px; font-weight: 600; }.style-row.heading2-style span { font-size: 13px; font-weight: 600; }.style-row.quote-style span { color: #8d6148; font-style: italic; }.style-row.caption-style span { color: #8995a2; font-size: 10px; }.style-row kbd { color: #96a0aa; font-size: 9px; }.sidebar-footnote, .gallery-empty { margin-top: 16px; color: #8995a1; font-size: 9px; line-height: 1.45; }.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.gallery-tile { display: flex; flex-direction: column; gap: 6px; padding: 7px; color: #52677a; background: #fff; border: 1px solid #d3dbe3; border-radius: 4px; text-align: left; }.gallery-tile:hover { border-color: #9eb9d0; box-shadow: 0 2px 5px rgba(34,64,91,.09); }.gallery-shape { position: relative; display: block; height: 66px; overflow: hidden; border-radius: 2px; }.gallery-shape::before, .gallery-shape::after { content: ""; position: absolute; border-radius: 50%; }.gallery-shape::before { width: 44px; height: 44px; top: 10px; left: 13px; background: rgba(255,255,255,.55); }.gallery-shape::after { width: 19px; height: 19px; right: 12px; bottom: 8px; background: rgba(255,255,255,.7); }.gallery-tile-blue .gallery-shape { background: linear-gradient(130deg, #9ac6e5, #3475a9); }.gallery-tile-green .gallery-shape { background: linear-gradient(130deg, #bbd9b7, #4c946d); }.gallery-tile-orange .gallery-shape { background: linear-gradient(130deg, #f2cd9f, #d77a45); }.gallery-tile-purple .gallery-shape { background: linear-gradient(130deg, #cfc2e5, #8871ad); }.gallery-tile small { font-size: 9px; }.navigator-tools { display: flex; gap: 3px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #dde3e8; }.navigator-tools button { padding: 4px 6px; color: #778697; background: transparent; border-radius: 3px; font-size: 9px; }.navigator-tools button:hover, .navigator-tools button.active { color: #205a8d; background: #e2edf8; }.navigator-list { display: flex; flex-direction: column; gap: 2px; }.navigator-list button { display: grid; grid-template-columns: 22px 1fr auto; gap: 4px; align-items: center; padding: 7px 4px; color: #54697c; background: transparent; text-align: left; font-size: 9px; }.navigator-list button:hover { color: #205a8d; background: #e2edf8; }.navigator-list button strong { font-size: 10px; }.navigator-list button em { color: #9aa5b0; font-size: 9px; font-style: normal; }.navigator-summary { display: flex; gap: 8px; margin-top: 20px; padding-top: 10px; border-top: 1px solid #dde3e8; color: #909ba6; font-size: 9px; }.page-preview { display: flex; gap: 10px; align-items: center; margin-bottom: 17px; padding-bottom: 16px; border-bottom: 1px solid #dce2e8; }.mini-page { display: flex; flex-direction: column; gap: 3px; width: 45px; height: 59px; padding: 11px 6px; background: #fff; border: 1px solid #ccd4dc; box-shadow: 0 2px 4px rgba(39,51,67,.12); }.mini-page span { height: 2px; background: #aac4d7; }.mini-page span:nth-child(2) { width: 80%; }.mini-page span:nth-child(3) { width: 57%; }.page-preview strong, .page-preview small { display: block; }.page-preview strong { color: #4d6275; font-size: 10px; }.page-preview small { margin-top: 3px; color: #8b97a4; font-size: 9px; }.margin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.margin-grid label { display: flex; flex-direction: column; gap: 3px; color: #8a96a3; font-size: 9px; }.margin-grid input { width: 100%; padding: 4px 5px; background: #fff; border: 1px solid #cbd4de; border-radius: 3px; font-size: 10px; }

/* Status, overlays and dialogs */
.statusbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; padding: 0 9px; color: #657284; background: #e8ecf1; border-top: 1px solid #bfc8d3; font-size: 10px; user-select: none; }.status-left, .status-right { gap: 8px; min-width: 0; }.status-item { padding: 2px 0; color: inherit; background: transparent; white-space: nowrap; }.status-item:hover { color: #205a8d; }.status-divider { width: 1px; height: 13px; background: #c7ced7; }.status-icon, .zoom-button, .zoom-value { padding: 1px 4px; color: #627083; background: transparent; border-radius: 3px; font-size: 13px; }.status-icon:hover, .zoom-button:hover, .zoom-value:hover { color: #205a8d; background: #dbe5ef; }.zoom-value { min-width: 40px; font-size: 10px; text-align: right; }.status-right input[type="range"] { width: 110px; accent-color: #3e76a9; }
.menu-popover, .context-menu { position: fixed; z-index: 40; min-width: 220px; padding: 5px; background: #fbfcfe; border: 1px solid #9caab9; border-radius: 3px; box-shadow: 0 8px 18px rgba(24,39,58,.22); }.menu-popover[hidden], .context-menu[hidden], .modal-layer[hidden] { display: none; }.menu-popover button, .context-menu button { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; padding: 6px 9px; color: #36475b; background: transparent; border-radius: 2px; text-align: left; font-size: 11px; }.menu-popover button:hover, .context-menu button:hover { color: #153f68; background: #dfebf7; }.menu-popover button[disabled] { color: #99a4b0; }.menu-popover kbd, .context-menu kbd { color: #8a96a3; font-size: 9px; }.menu-popover span, .context-menu span { display: block; height: 1px; margin: 4px 2px; background: #dde3e9; }
.context-menu { min-width: 196px; }.modal-layer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }.modal-backdrop { position: absolute; inset: 0; background: rgba(20,32,46,.45); backdrop-filter: blur(1px); }.modal-dialog { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(540px, calc(100vw - 30px)); max-height: min(650px, calc(100vh - 40px)); overflow: hidden; background: #f8fafc; border: 1px solid #99a8b8; border-radius: 5px; box-shadow: 0 18px 42px rgba(11,25,41,.35); }.modal-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 19px 13px; background: #edf2f7; border-bottom: 1px solid #c9d2dc; }.modal-context { display: block; margin-bottom: 4px; color: #2d6fb7; font-size: 8px; font-weight: 700; letter-spacing: .17em; }.modal-header h2 { margin: 0; color: #2b4056; font-size: 20px; font-weight: 500; }.modal-close { width: 26px; height: 26px; color: #6d7b8c; background: transparent; border-radius: 3px; font-size: 21px; }.modal-close:hover { color: #b83f3f; background: #e3e8ed; }.modal-body { overflow: auto; padding: 18px 20px; color: #526477; font-size: 11px; line-height: 1.45; }.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 11px 20px; background: #edf2f7; border-top: 1px solid #cbd3dc; }.primary-button, .secondary-button { min-width: 74px; padding: 7px 14px; border-radius: 3px; font-size: 11px; }.primary-button { color: #fff; background: #2d6fb7; box-shadow: inset 0 1px 0 rgba(255,255,255,.23); }.primary-button:hover { background: #245d99; }.secondary-button { color: #42566a; background: #fff; border: 1px solid #c5cfd9; }.secondary-button:hover { background: #e9eef3; }.dialog-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 17px; }.dialog-form .field-wide { grid-column: 1 / -1; }.dialog-field { display: flex; flex-direction: column; gap: 5px; color: #607083; font-size: 10px; }.dialog-field input, .dialog-field select, .dialog-field textarea { min-height: 29px; padding: 5px 7px; background: #fff; border: 1px solid #c3cdd8; border-radius: 3px; font-size: 11px; }.dialog-field textarea { min-height: 73px; resize: vertical; }.dialog-field input:focus, .dialog-field select:focus, .dialog-field textarea:focus { border-color: #6a9ac3; outline: 2px solid rgba(106,154,195,.25); outline-offset: 0; }.dialog-tabs { display: flex; gap: 1px; margin: -18px -20px 17px; padding: 6px 20px 0; background: #e6ecf2; border-bottom: 1px solid #c7d0da; }.dialog-tabs button { padding: 8px 11px; color: #67788b; background: transparent; font-size: 10px; }.dialog-tabs button:hover, .dialog-tabs button.active { color: #205a8d; background: #f8fafc; border: 1px solid #c7d0da; border-bottom-color: #f8fafc; border-radius: 3px 3px 0 0; }.dialog-message { margin-bottom: 13px; padding: 10px 11px; color: #506575; background: #eaf3fb; border-left: 3px solid #4b8cc0; font-size: 10px; }.dialog-message.warning { background: #fff5e7; border-left-color: #e1a14d; }.dialog-message.error { background: #fff0ee; border-left-color: #c55a4e; }.field-row { display: flex; align-items: center; gap: 8px; margin: 10px 0; }.field-row input[type="checkbox"], .field-row input[type="radio"] { accent-color: #2d6fb7; }.dialog-preview { display: grid; place-items: center; min-height: 126px; margin-top: 12px; background: #dce2e8; border: 1px solid #cad3dc; }.dialog-preview-page { width: 94px; height: 108px; padding: 17px 12px; background: #fff; box-shadow: 0 3px 8px rgba(27,42,57,.18); }.dialog-preview-page span { display: block; height: 2px; margin-bottom: 5px; background: #a5bfd5; }.dialog-preview-page span:nth-child(2) { width: 73%; }.dialog-preview-page span:nth-child(3) { width: 88%; }
.toast-region { position: fixed; right: 18px; bottom: 42px; z-index: 70; display: flex; flex-direction: column; gap: 8px; max-width: 300px; }.toast { padding: 10px 12px; color: #fff; background: #2f465d; border-left: 3px solid #63a6e6; border-radius: 3px; box-shadow: 0 8px 20px rgba(21,35,51,.25); font-size: 11px; animation: toast-in 180ms ease-out; }.toast.success { border-left-color: #66bd8c; }.toast.warning { border-left-color: #f0bd64; }.toast.error { border-left-color: #ed7f71; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.dialog-field.spaced { margin-top: 13px; }
.dialog-image-preview { width: 190px; height: 95px; }

@media (max-width: 1080px) {
  .sidebar { flex-basis: 255px; }.document-stage { min-width: 700px; padding-inline: 22px; }.writer-document, .page { width: 630px; }.page { padding-inline: 57px; }.page-header, .page-footer { left: 57px; right: 57px; }.style-select { width: 125px; }.font-select { width: 120px; }.tool-label { display: none; }
}
@media (max-width: 860px) {
  .app-shell { grid-template-rows: 34px 31px 41px 38px minmax(0, 1fr) 27px; }.sidebar { display: none; }.left-ruler-rail { width: 25px; flex-basis: 25px; }.document-stage { min-width: 0; padding: 25px 17px 38px; }.writer-document, .page { width: min(680px, calc(100vw - 65px)); }.page { min-height: 860px; padding-inline: 8vw; }.page-header, .page-footer { left: 8vw; right: 8vw; }.quick-find { display: none; }.format-toolbar .formatting-controls { overflow: hidden; }.format-toolbar .formatting-controls > .toolbar-separator:nth-of-type(n+2), .format-toolbar .formatting-controls > .format-button:nth-of-type(n+13) { display: none; }.status-left .language-status, .status-left .accessibility-status, .status-left .status-divider:nth-of-type(n+3) { display: none; }
}
@media (max-width: 600px) {
  body { overflow: auto; }.app-shell { min-height: 100vh; height: auto; grid-template-rows: 35px 31px 43px 43px minmax(0, 1fr) 29px; }.menubar { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }.menubar::-webkit-scrollbar { display: none; }.menu-trigger { padding-inline: 8px; }.toolbar { overflow-x: auto; scrollbar-width: none; }.toolbar::-webkit-scrollbar { display: none; }.standard-toolbar .compact-actions, .format-toolbar .compact-actions { display: none; }.mobile-document-bar { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; background: #dce2e9; border-bottom: 1px solid #c1c9d3; }.mobile-doc-name { overflow: hidden; color: #4c6174; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.mobile-menu-button { width: 27px; height: 27px; color: #45657f; background: #edf1f5; border: 1px solid #c3ced8; border-radius: 3px; }.horizontal-ruler { display: none; }.left-ruler-rail { display: none; }.editor-scroll { overflow-x: hidden; }.document-stage { width: 100%; min-width: 0; padding: 17px 9px 24px; }.writer-document, .page { width: calc(100vw - 18px); }.page { min-height: 770px; padding: 42px 10vw 44px; }.page-header, .page-footer { left: 10vw; right: 10vw; }.page h1 { font-size: clamp(34px, 11vw, 47px); }.page h2 { font-size: clamp(30px, 9vw, 40px); }.hero-grid, .two-column-copy { grid-template-columns: 1fr; }.hero-illustration { height: 190px; }.hero-grid > div:last-child { order: -1; }.metric-grid { gap: 7px; }.metric strong { font-size: 23px; }.metric span { font-size: 9px; }.statusbar { gap: 3px; padding-inline: 5px; }.status-left { gap: 4px; }.status-left .word-status, .status-left .status-divider { display: none; }.status-right input[type="range"] { width: 66px; }.zoom-button { padding-inline: 2px; }.status-icon { display: none; }.modal-dialog { width: calc(100vw - 18px); }.dialog-form { grid-template-columns: 1fr; }.dialog-form .field-wide { grid-column: auto; }.toast-region { right: 9px; bottom: 39px; left: 9px; max-width: none; }
}

/* State-specific presentation */
.app-shell.web-view .page { width: 100%; min-height: 620px; box-shadow: none; }.app-shell.web-view .document-stage { min-width: 0; padding-inline: 8%; }.app-shell.web-view .writer-document { width: min(900px, 100%); }.app-shell.fullscreen .titlebar, .app-shell.fullscreen .menubar, .app-shell.fullscreen .standard-toolbar { display: none; }.app-shell.fullscreen { grid-template-rows: 38px minmax(0,1fr) 27px; }.app-shell.fullscreen .format-toolbar { grid-row: 1; }.app-shell.unsaved .window-title { color: #fff5d4; }
.page-content.show-marks p::after, .page-content.show-marks h1::after, .page-content.show-marks h2::after, .page-content.show-marks h3::after { content: "¶"; margin-left: 3px; color: #b5c3cf; font-family: "Liberation Sans", sans-serif; font-size: 9px; }.page-content.show-marks .hero-rule::after { content: "↵"; color: #b5c3cf; }.page-content.track-changes .tracked-addition { background: rgba(63,154,106,.15); border-bottom-color: #3f9a6a; }.page-content .selection-highlight { background: #b9dcfa; }
.page-content[data-empty="true"]::before { content: "Start typing here"; color: #9eabb8; }.page-content[data-empty="true"] { min-height: 480px; }.page-content[data-empty="true"]:focus::before { color: transparent; }
