:root {
  color-scheme: dark;
  --guide-bg: #061321;
  --guide-ink: #f4f8fd;
  --guide-muted: #9eb6d2;
  --guide-blue: #2f80ed;
  --drawer-width: clamp(370px, 23vw, 440px);
}

* { box-sizing: border-box; }
html { min-width: 1120px; background: var(--guide-bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--guide-ink);
  background:
    radial-gradient(circle at 14% 8%, #163f65 0, transparent 29%),
    linear-gradient(145deg, #0a2037 0%, #061321 42%, #050f1b 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid #84c4ff; outline-offset: 2px; }

.guide-page { min-height: 100vh; padding: 34px calc(var(--drawer-width) + 28px) 48px 28px; }
.guide-header { width: min(1660px, 100%); min-height: 92px; display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 0 auto 18px; }
.guide-title { min-width: 430px; }
.eyebrow { margin: 0 0 5px; color: #4e9ffc; font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.guide-title h1 { margin: 0; font-size: clamp(2.3rem, 3.2vw, 3.7rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.guide-title > p:last-child { max-width: 820px; margin: 10px 0 0; color: var(--guide-muted); font-size: .9rem; line-height: 1.45; }
.guide-actions { display: flex; align-items: center; gap: 10px; padding-bottom: 2px; }
.header-button { min-height: 42px; padding: 0 15px; border: 1px solid #3b5575; border-radius: 8px; background: #102039; color: #eff6ff; cursor: pointer; font-size: .73rem; font-weight: 750; white-space: nowrap; }
.header-button:hover { border-color: var(--guide-blue); background: #172d4a; }
.guide-search { position: relative; width: min(360px, 28vw); height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #344d6d; border-radius: 8px; background: #0c1727; box-shadow: 0 10px 24px #0002; }
.guide-search > span { color: #7e94b0; font-size: 21px; }
.guide-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: .78rem; }
.guide-search input::placeholder { color: #7588a2; }
.search-results { position: absolute; z-index: 500; top: 49px; right: 0; left: 0; max-height: 390px; overflow: auto; padding: 6px; border: 1px solid #405775; border-radius: 8px; background: #101d2f; box-shadow: 0 22px 55px #000d; }
.search-results button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: center; padding: 9px 10px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; text-align: left; }
.search-results button:hover, .search-results button:focus-visible { background: #203958; }
.search-results strong { display: block; color: #eff6ff; font-size: 11px; }
.search-results em { display: block; margin-top: 2px; overflow: hidden; color: #93a7bf; font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.search-results small { color: #7fb3ed; font-size: 8px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.search-empty { margin: 0; padding: 14px 10px; color: #93a7bf; font-size: 11px; text-align: center; }

.app-viewport { width: min(1660px, 100%); margin: 0 auto; overflow: auto; border-radius: 4px; box-shadow: 0 25px 85px #000a; }
.app-shell {
  --app-bg: #111827; --app-surface: #1f2937; --app-surface-alt: #273244; --app-input: #111827;
  --app-text: #e5e7eb; --app-muted: #aab4c0; --app-border: #3b4656; --app-hover: #27364a;
  --app-selection: #244a7a; --app-handle: #374151; --app-primary: #4f8cff; --app-disabled: #6b7280;
  width: 100%; min-width: 1180px; height: 820px; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid #2b3b51; border-radius: 4px; background: var(--app-bg); color: var(--app-text);
  font-family: "Segoe UI", Arial, sans-serif; font-size: clamp(8px, .58vw, 10.5px);
}
.app-shell.light-theme { --app-bg: #d7dce3; --app-surface: #e3e7ec; --app-surface-alt: #cfd6df; --app-input: #eef1f5; --app-text: #2f3745; --app-muted: #5d6674; --app-border: #9ba7b6; --app-hover: #c6d0dc; --app-selection: #8fb9ef; --app-handle: #aab4c1; --app-primary: #2f80ed; --app-disabled: #7a8492; }
.app-shell.sharp-corners, .app-shell.sharp-corners * { border-radius: 0 !important; }
.app-titlebar { height: 30px; flex: 0 0 30px; display: flex; align-items: center; gap: 7px; padding: 0 8px; background: #242424; color: #f5f5f5; font-size: 10px; }
.app-titlebar strong { font-weight: 500; }
.overview-trigger { cursor: pointer; }
.overview-trigger:focus-visible { outline: 1px solid #4ba4ff; outline-offset: -2px; }
.app-mark { width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid #8ea6bf; border-radius: 2px; background: #edf5ff; color: #14345d; font-size: 6px; font-weight: 900; }
.window-controls { height: 100%; display: flex; align-items: center; margin-left: auto; }
.window-controls span { width: 40px; height: 100%; display: grid; place-items: center; font-size: 13px; }
.app-menubar { position: relative; z-index: 80; height: 33px; flex: 0 0 33px; display: flex; align-items: center; gap: 2px; padding: 0 9px; border-bottom: 1px solid var(--app-border); background: var(--app-surface); }
.menu-wrap { position: relative; height: 25px; }
.menu-target { height: 25px; padding: 0 10px; border: 0; background: transparent; color: var(--app-text); cursor: pointer; }
.menu-target:hover, .menu-target.open { background: var(--app-hover); }
.app-dropdown { position: absolute; z-index: 400; top: 25px; left: 0; width: 220px; padding: 4px 0; border: 1px solid var(--app-border); border-radius: 0 7px 7px 7px; background: var(--app-surface); box-shadow: 0 12px 28px #000a; }
.app-dropdown[hidden] { display: none; }
.app-dropdown button { width: 100%; height: 29px; display: grid; grid-template-columns: 17px 1fr auto; align-items: center; gap: 4px; padding: 0 9px 0 4px; border: 0; background: transparent; color: var(--app-text); cursor: pointer; font-size: 10px; text-align: left; }
.app-dropdown button:hover, .app-dropdown button:focus-visible, .app-dropdown button.is-active { background: var(--app-hover); }
.app-dropdown button.divider-before { height: 34px; margin-top: 3px; padding-top: 5px; border-top: 1px solid var(--app-border); }
.app-dropdown small { color: var(--app-muted); font-size: 8px; }
.appearance-dropdown { width: 148px; }
.menu-check { opacity: 0; font-weight: 850; }
.appearance-option[data-checked="true"] .menu-check { opacity: 1; }

.app-body { min-height: 0; flex: 1; display: grid; grid-template-columns: 350px minmax(450px, 1fr) 350px; background: var(--app-bg); }
.left-rail { min-height: 0; display: flex; flex-direction: column; gap: 5px; padding: 9px 8px 8px; overflow: hidden; border-right: 7px solid var(--app-handle); }
.app-heading { padding: 0 1px 3px; }
.app-heading h2 { margin: 0 0 6px; font-size: 17px; line-height: 1; }
.app-heading p { margin: 0; color: var(--app-text); font-size: 9px; }
.qt-panel { min-width: 0; margin: 0; padding: 9px 8px 8px; border: 1px solid var(--app-border); border-radius: 7px; background: var(--app-surface); }
.qt-panel legend { margin-left: 7px; padding: 0 5px; background: var(--app-surface); color: var(--app-text); font-weight: 650; }
.import-panel { flex: 0 0 auto; }
.form-row { display: grid; grid-template-columns: 55px minmax(0, 1fr) minmax(0, 1fr); gap: 5px; align-items: center; margin-bottom: 5px; }
.form-row:last-child { margin-bottom: 0; }
.source-row { grid-template-columns: 55px minmax(0, 1fr) auto auto; }
.form-row > label, .field-row > label:first-child { color: var(--app-text); white-space: nowrap; }
.sim-input, .field-row input, .field-row textarea, .field-row select, .stacked-field input, .stacked-field select, .select-row select { min-width: 0; height: 26px; border: 1px solid var(--app-border); border-radius: 4px; background: var(--app-input); color: var(--app-text); padding: 3px 7px; }
.field-row textarea { height: 65px; resize: none; padding-top: 7px; }
.sim-input[readonly] { color: var(--app-muted); }
.sim-button { min-width: 0; min-height: 26px; padding: 3px 9px; border: 1px solid var(--app-border); border-radius: 4px; background: var(--app-surface); color: var(--app-text); cursor: pointer; }
.sim-button:hover { border-color: var(--app-primary); background: var(--app-hover); }
.sim-button.primary { border-color: var(--app-primary); background: var(--app-primary); color: white; font-weight: 700; }
.sim-button.primary:hover { filter: brightness(1.08); }
.sim-button.wide { width: 100%; }
.sim-button.square { width: 28px; padding-inline: 0; }
.project-path-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; margin-bottom: 6px; }
.select-row { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 5px; }
.select-row select:disabled { color: var(--app-muted); background: var(--app-surface-alt); }
.exhibits-panel { min-height: 0; flex: 1; display: flex; flex-direction: column; padding-bottom: 7px; }
.exhibit-list { position: relative; min-height: 0; flex: 1; overflow: auto; padding: 7px; border: 1px solid var(--app-border); border-radius: 3px; background: var(--app-input); scrollbar-color: var(--app-handle) var(--app-input); }
.collection-row, .exhibit-row { width: 100%; min-width: 0; height: 25px; display: grid; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--app-text); cursor: pointer; text-align: left; }
.collection-row { grid-template-columns: 15px minmax(0, 1fr); font-size: 11px; }
.collection-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exhibit-row { grid-template-columns: 23px minmax(0, 1fr); margin: 1px 0; padding: 0 7px 0 17px; border: 1px solid var(--app-border); border-radius: 3px; font-size: 9px; }
.exhibit-row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exhibit-row:hover { background: var(--app-hover); }
.exhibit-row.selected { border-color: var(--app-primary); background: var(--app-selection); }
.drag-hint { margin: 5px 0 0; color: var(--app-muted); font-size: 8px; text-align: center; }

.center-stage { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-right: 7px solid var(--app-handle); background: var(--app-bg); }
.preview-toolbar { min-height: 38px; display: flex; align-items: center; gap: 5px; padding: 7px 9px 4px; }
.page-readout { margin-left: 1px; }
.zoom-readout { margin-left: auto; color: var(--app-muted); font-size: 8px; }
.preview-canvas { position: relative; min-width: 0; min-height: 0; flex: 1; display: grid; place-items: center; overflow: auto; margin: 0 8px 8px; border: 1px solid var(--app-border); border-radius: 4px; background: var(--app-input); }
.empty-preview[hidden], .preview-page[hidden], .thumbnail-grid[hidden] { display: none !important; }
.empty-preview { color: #6d7a8c; font-size: 12px; }
.preview-page { position: absolute; top: 9px; bottom: 9px; left: 50%; width: auto; height: auto; max-width: calc(100% - 18px); aspect-ratio: 8.5 / 11; padding: 7.5% 8%; background: white; color: #182235; box-shadow: 0 8px 30px #0009; transform: translateX(-50%) scale(var(--page-scale, 1)); transform-origin: center; }
.sample-kicker { margin: 0 0 8px; color: #64748b; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.sample-document-copy h3 { margin: 0; font-size: 24px; }
.sample-document-copy > p:last-of-type { max-width: 310px; margin-top: 20px; color: #536275; font-size: 12px; line-height: 1.5; }
.sample-rule { height: 2px; margin-top: 14px; background: #1e293b; }
.sample-lines { display: grid; gap: 13px; margin-top: 34px; }
.sample-lines span { display: block; height: 1px; background: #cbd5e1; }
.sticker-preview { --sticker-fill: #fff277; --sticker-border: 4px; position: absolute; right: 26px; bottom: 25px; width: 112px; min-width: 72px; min-height: 82px; display: grid; place-items: stretch; padding: 7px 10px; border: var(--sticker-border) solid #111827; border-radius: 10px; background: var(--sticker-fill); color: #111827; text-align: center; touch-action: none; user-select: none; }
.sticker-drag-surface { position: relative; z-index: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 5px; }
.sticker-drag-surface > span { font-size: 9px; font-weight: 750; line-height: 1.15; }
.sticker-drag-surface > strong { width: 100%; padding-top: 3px; border-top: 1px solid #111827; font-size: 22px; line-height: 1; }
.sticker-resize-handle { position: absolute; right: 2px; bottom: 2px; width: 12px; height: 12px; border: 1px solid #111827; border-radius: 1px; background: #fff; cursor: nwse-resize; }
.sticker-resize-handle::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 6px; height: 6px; border-right: 1px solid #111827; border-bottom: 1px solid #111827; }
.sticker-preview.is-dragging { cursor: grabbing !important; }
.sticker-preview.is-resizing { cursor: nwse-resize !important; }
.sticker-preview.corner-tab { --tab-size: 18px; --tab-inner: calc(var(--tab-size) - var(--sticker-border)); padding: var(--sticker-border); border: 0; border-radius: 0; background: #111827; clip-path: polygon(0 0, calc(100% - var(--tab-size)) 0, 100% var(--tab-size), 100% 100%, 0 100%); }
.sticker-preview.corner-tab .sticker-drag-surface { padding: 3px 6px; border-radius: 0; background: var(--sticker-fill); clip-path: polygon(0 0, calc(100% - var(--tab-inner)) 0, 100% var(--tab-inner), 100% 100%, 0 100%); }
.sticker-preview.corner-tab .sticker-drag-surface::after { content: ""; position: absolute; top: 0; right: 0; width: var(--tab-inner); height: var(--tab-inner); background: color-mix(in srgb, var(--sticker-fill) 58%, white); clip-path: polygon(0 0, 0 100%, 100% 100%); box-shadow: -1px 1px 0 #111827; }
.sticker-preview.corner-tab .sticker-resize-handle { z-index: 3; }
.sticker-context-menu { position: absolute; z-index: 40; width: 178px; padding: 4px; border: 1px solid var(--app-border); border-radius: 5px; background: var(--app-surface); box-shadow: 0 12px 28px #000b; }
.sticker-context-menu[hidden] { display: none; }
.sticker-context-menu button { width: 100%; min-height: 27px; padding: 6px 9px; border: 0; border-radius: 3px; background: transparent; color: var(--app-text); cursor: pointer; font-size: 9px; text-align: left; }
.sticker-context-menu button:hover, .sticker-context-menu button:focus-visible { background: var(--app-hover); }
.context-separator { display: block; height: 1px; margin: 4px 2px; background: var(--app-border); }
.thumbnail-grid { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); align-content: start; gap: 14px; padding: 18px; overflow: auto; }
.thumbnail-card { min-width: 0; min-height: 255px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 9px; padding: 13px; border: 2px solid transparent; border-radius: 6px; background: var(--app-surface); color: var(--app-text); cursor: pointer; }
.thumbnail-card:hover { border-color: var(--app-border); background: var(--app-hover); }
.thumbnail-card.selected { border-color: var(--app-primary); background: var(--app-selection); }
.thumbnail-paper { position: relative; width: 150px; height: 198px; display: flex; flex-direction: column; padding: 20px 17px; background: white; color: #263244; box-shadow: 0 6px 18px #0007; font-size: 8px; text-align: left; }
.thumbnail-paper::after { content: attr(data-number); position: absolute; right: 9px; bottom: 8px; padding: 4px 7px; border: 2px solid #111; border-radius: 4px; background: #fff277; font-weight: 800; }
.thumbnail-kicker { margin-bottom: 9px; color: #65768d; font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.thumbnail-paper strong { overflow: hidden; color: #182235; font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.thumbnail-rule { height: 2px; margin-top: 9px; background: #27364b; }
.thumbnail-lines { display: grid; gap: 7px; margin-top: 18px; }
.thumbnail-lines i { display: block; height: 1px; background: #cbd5e1; }
.thumbnail-paper.native { align-items: center; justify-content: center; gap: 10px; border: 1px solid #52647a; background: #17253a; color: #e5edf7; text-align: center; }
.thumbnail-paper.native::after { display: none; }
.thumbnail-paper.native strong { width: 100%; color: #f1f5f9; white-space: normal; }
.thumbnail-paper.native small { color: #9fb0c5; font-size: 8px; line-height: 1.45; }
.thumbnail-native-type { min-width: 48px; padding: 7px 9px; border: 1px solid #75adf4; border-radius: 5px; background: #203a59; color: #9fcbff; font-size: 11px; font-weight: 800; }
.thumbnail-caption { width: 100%; overflow: hidden; color: inherit; font-size: 9px; line-height: 1.25; text-align: left; text-overflow: ellipsis; white-space: nowrap; }

.right-rail { min-width: 0; min-height: 0; background: var(--app-bg); }
.right-scroll { height: 100%; overflow-y: auto; padding: 9px 8px 10px; scrollbar-color: var(--app-handle) var(--app-bg); }
.right-scroll .qt-panel { margin-bottom: 9px; }
.right-scroll .qt-panel:last-child { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 7px; min-height: 28px; }
.text-area-row { align-items: start; margin-bottom: 3px; }
.text-area-row > label { padding-top: 7px; }
.override-row { grid-template-columns: 104px minmax(0, 1fr) auto; }
.inline-check, .check-line { display: flex; align-items: center; gap: 7px; color: var(--app-text); }
.inline-check input, .check-line input { width: 14px; height: 14px; margin: 0; accent-color: var(--app-primary); }
.stacked-field { display: grid; gap: 4px; margin: 5px 0; }
.stacked-field select, .stacked-field input { width: 100%; }
.output-path { min-height: 18px; margin: 6px 0 3px; overflow: hidden; color: var(--app-text); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.check-line { min-height: 24px; }
.output-panel > .sim-button { margin-top: 4px; }

.guide-target, .guide-subtarget { position: relative; }
.guide-target { cursor: help; outline: 1px solid transparent; outline-offset: -3px; transition: outline-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.guide-subtarget { cursor: help; border-radius: 4px; transition: box-shadow .16s ease, background-color .16s ease; }
.guide-target:hover, .guide-target:focus-visible, .guide-target.is-active { z-index: 8; outline-color: #55a8ff; box-shadow: inset 0 0 24px #3b9cff20; }
.guide-subtarget:hover, .guide-subtarget:focus-within, .guide-subtarget.is-active { z-index: 9; box-shadow: 0 0 0 1px #68b5ff, inset 0 0 14px #3b9cff22; }
.guide-target.is-active, .guide-subtarget.is-active { animation: guide-pulse .75s ease-out 1; }
@keyframes guide-pulse { 0% { box-shadow: 0 0 0 0 #55a8ff99, inset 0 0 28px #3b9cff35; } 100% { box-shadow: 0 0 0 8px #55a8ff00, inset 0 0 18px #3b9cff1c; } }
.sticker-preview.guide-target { position: absolute; cursor: grab; outline-offset: 3px; }

.guide-drawer { position: fixed; z-index: 300; top: 0; right: 0; bottom: 0; width: var(--drawer-width); overflow-y: auto; padding: 32px 28px 44px; border-left: 1px solid #cbd7e3; background: #f4f7fb; color: #173250; box-shadow: -18px 0 48px #0003; scrollbar-color: #8ea8c1 #edf2f7; }
.drawer-home { position: absolute; top: 18px; right: 19px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #b9cada; border-radius: 50%; background: #fff; color: #255b8f; cursor: pointer; font-size: 17px; font-weight: 850; }
.drawer-home:hover { border-color: #6a9fd3; background: #e8f1fb; }
.drawer-kicker { margin: 0; color: #2f80ed; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.drawer-content { min-height: 0; padding: 0 0 34px; }
.drawer-content h2 { margin: 9px 48px 12px 0; color: #102a4a; font-size: 31px; line-height: 1.05; letter-spacing: -.035em; }
.drawer-content h2.overview-title { margin-top: 14px; font-size: 42px; }
.drawer-content h3 { margin: 25px 0 10px; padding-top: 18px; border-top: 1px solid #ccd9e7; color: #2268ac; font-size: 17px; }
.drawer-content h4 { margin: 17px 0 5px; color: #15385d; font-size: 12px; }
.drawer-content p { margin: 0 0 13px; color: #566e8b; font-size: 12.5px; line-height: 1.58; }
.drawer-content ul, .drawer-content ol { margin: 0 0 16px; padding-left: 20px; color: #536b87; font-size: 12px; line-height: 1.52; }
.drawer-content li { margin-bottom: 7px; }
.drawer-content strong { color: #173b61; }
.drawer-overview-copy { margin-top: 22px; }
.drawer-overview-copy p { color: #536a82; font-size: 15px; line-height: 1.65; }
.drawer-overview-prompt { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 11px; margin-top: 28px; padding: 15px 14px; border-left: 3px solid #397fc8; background: #e8f1fb; }
.drawer-overview-prompt span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #3b8dea; color: white; font-weight: 850; }
.drawer-overview-prompt p { margin: 0; color: #294d72; font-size: 13px; font-weight: 700; line-height: 1.45; }
.drawer-summary { color: #3f5771 !important; font-size: 15px !important; line-height: 1.5 !important; }
.drawer-section { margin: 28px 0; padding-top: 20px; border-top: 1px solid #ccd7e3; }
.drawer-section.focus-section { padding: 16px 12px 12px; border-left: 3px solid #397fc8; border-radius: 0 5px 5px 0; background: #e8f1fb; }
.drawer-section h3 { margin: 0 0 12px; padding: 0; border: 0; color: #2e6eaa; font-size: 18px; }
.drawer-controls-list { display: grid; gap: 12px; }
.drawer-control-row { min-width: 0; display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: start; gap: 12px; scroll-margin-top: 22px; }
.drawer-control-row.focus { padding: 10px 12px; border-left: 3px solid #397fc8; border-radius: 0 5px 5px 0; background: #e8f1fb; }
.drawer-control-row strong { display: block; margin: 1px 0 3px; color: #213f61; font-size: 12px; }
.drawer-control-row p { margin: 0; color: #53677f; font-size: 12px; line-height: 1.5; }
.drawer-control-sample { min-width: 0; min-height: 30px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 5px 8px; border: 1px solid #445975; border-radius: 5px; background: #17243a; color: #f7fbff; font-size: 9px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.drawer-control-sample.primary { border-color: #2f80ed; background: #2f80ed; }
.drawer-control-sample.text { justify-content: flex-start; padding-inline: 2px; border-color: transparent; background: transparent; color: #405773; font-weight: 700; }
.drawer-control-sample.field, .drawer-control-sample.select { justify-content: flex-start; background: #0d1829; color: #a6b5c7; font-weight: 550; text-align: left; }
.drawer-control-sample.select { position: relative; padding-right: 22px; }
.drawer-control-sample.select::after { content: "⌄"; position: absolute; right: 8px; color: #9fc5ef; }
.drawer-control-sample.checkbox { justify-content: flex-start; gap: 7px; padding-inline: 2px; border-color: transparent; background: transparent; color: #405773; text-align: left; white-space: normal; }
.drawer-control-sample.checkbox::before { content: ""; width: 15px; height: 15px; flex: 0 0 15px; border: 1px solid #647b95; border-radius: 3px; background: #fff; }
.drawer-control-sample.icon { min-height: 38px; border-color: #315473; border-radius: 9px; background: #10253d; color: #79baff; font-size: 18px; font-weight: 850; }
.sticker-action-list { display: grid; gap: 14px; }
.sticker-action-row { width: 100%; display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 12px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.sticker-action-row strong { display: block; margin-bottom: 4px; color: #213f61; font-size: 12px; }
.sticker-action-row p { margin: 0; color: #53677f; font-size: 12px; line-height: 1.5; }
.sticker-action-sample { min-height: 82px; display: grid; place-items: center; border: 1px solid #315473; border-radius: 9px; background: #10253d; }
.mini-sticker { position: relative; width: 76px; height: 55px; display: block; border: 3px solid #162238; border-radius: 7px; background: #ffe975; box-shadow: 0 5px 12px #07111f45; }
.mini-sticker::before { content: ""; position: absolute; top: 19px; right: 9px; left: 9px; height: 1px; background: #162238; }
.sticker-action-sample svg { position: absolute; overflow: visible; }
.windows-hand { top: 50%; left: 50%; width: 42px; height: 42px; transform: translate(-50%, -50%); }
.windows-hand .cursor-black { fill: #000001; }
.windows-hand .cursor-white { fill: #fffffe; }
.hand-open { animation: windows-hand-open 1.55s steps(1, end) infinite; }
.hand-closed { animation: windows-hand-closed 1.55s steps(1, end) infinite; }
@keyframes windows-hand-open { 0%, 43%, 72%, 100% { opacity: 1; } 44%, 71% { opacity: 0; } }
@keyframes windows-hand-closed { 0%, 43%, 72%, 100% { opacity: 0; } 44%, 71% { opacity: 1; } }
.windows-resize { right: -14px; bottom: -14px; width: 28px; height: 28px; filter: drop-shadow(1px 1px 0 #ffffff90); }
.windows-resize polygon { fill: #fffffe; stroke: #000001; stroke-width: 1; stroke-linejoin: miter; }
.sticker-menu-guide.focus-section { padding: 16px 12px 12px; border-left: 3px solid #397fc8; border-radius: 0 5px 5px 0; background: #e8f1fb; }
.sticker-menu-guide-list { display: grid; gap: 5px; }
.sticker-menu-guide-row { width: 100%; display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: start; gap: 12px; padding: 8px 9px; border: 0; border-radius: 5px; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.sticker-menu-guide-row:hover, .sticker-menu-guide-row:focus-visible { background: #e8f1fb; }
.sticker-menu-guide-row.focus { border-left: 3px solid #397fc8; background: #dfeefa; }
.sticker-menu-guide-row strong { color: #213f61; font-size: 11px; line-height: 1.4; }
.sticker-menu-guide-row p { margin: 0; color: #53677f; font-size: 11.5px; line-height: 1.45; }
.drawer-callout { margin-top: 18px; padding: 12px 13px; border-left: 3px solid #397fc8; background: #e8f1fb; color: #315577; font-size: 12px; line-height: 1.55; }
.callout { margin: 17px 0; padding: 13px 14px; border-left: 3px solid #2f80ed; border-radius: 0 6px 6px 0; background: #e3eefb; }
.callout p { margin: 0; color: #3e5a78; }
.reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 19px; }
.reference-card { min-height: 88px; padding: 12px; border: 1px solid #c4d3e4; border-radius: 8px; background: #fff; color: #214b76; cursor: pointer; text-align: left; }
.reference-card:hover { border-color: #4d97e5; background: #edf6ff; }
.reference-card strong { display: block; font-size: 11px; }
.reference-card small { display: block; margin-top: 4px; color: #71849b; font-size: 9px; line-height: 1.35; }
.reference-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; color: #48617e; font-size: 10px; line-height: 1.4; }
.reference-table th { padding: 7px; background: #15385d; color: #fff; font-size: 9px; text-align: left; }
.reference-table td { padding: 7px; border: 1px solid #c6d4e3; vertical-align: top; }
.reference-table tr:nth-child(even) td { background: #e8f1fa; }
.reference-step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; margin: 0 0 15px; }
.reference-step span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #2f80ed; color: #fff; font-weight: 800; }
.reference-step p { margin: 0; }
.reference-step strong { display: block; margin-bottom: 3px; }
@media (max-width: 1580px) {
  :root { --drawer-width: 370px; }
  .guide-page { padding-left: 16px; padding-right: calc(var(--drawer-width) + 16px); }
  .guide-header { align-items: start; }
  .guide-actions { max-width: 470px; flex-wrap: wrap; justify-content: flex-end; }
  .guide-search { width: 100%; }
  .app-shell { font-size: 8px; }
  .app-body { grid-template-columns: 300px minmax(420px, 1fr) 315px; }
  .field-row { grid-template-columns: 100px minmax(0, 1fr); }
  .override-row { grid-template-columns: 92px minmax(0, 1fr) auto; }
}
@media (max-height: 850px) {
  .guide-page { padding-top: 16px; }
  .guide-header { min-height: 76px; margin-bottom: 12px; }
  .guide-title h1 { font-size: 2.5rem; }
  .app-shell { height: 760px; }
}
