:root { --paper: #f8f7f2; --white: #fdfcf8; --ink: #343e32; --muted: #7c8073; --line: #e5e5dc; --accent: #bd7053; --soft: #eceee6; }
* { box-sizing: border-box; }
body { margin: 0px; background: var(--paper); color: var(--ink); font: 13px / 1.5 Arial, Helvetica, sans-serif; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
button:disabled { opacity: 0.28; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentcolor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-defs { position: absolute; width: 0px; height: 0px; overflow: hidden; }
.header { height: 78px; display: flex; align-items: center; gap: 30px; padding: 0px 30px; border-bottom: 1px solid var(--line); background: var(--white); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 30px Georgia, serif; letter-spacing: -1.2px; }
.brand-mark { height: 36px; width: 36px; border: 1px solid rgb(177, 182, 164); border-radius: 50%; display: grid; place-items: center; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-dot { color: var(--accent); }
.header-note { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 27px; }
.header-actions { display: flex; gap: 25px; align-items: center; margin-left: auto; }
.text-button { border: 0px; background: none; display: flex; gap: 9px; align-items: center; font-size: 12px; }
.help-circle { width: 17px; height: 17px; border: 1px solid rgb(163, 169, 155); border-radius: 50%; font-size: 11px; display: grid; place-items: center; }
.button { border: 0px; border-radius: 6px; padding: 11px 16px; display: inline-flex; gap: 10px; align-items: center; justify-content: center; font-size: 12px; }
.primary { background: var(--ink); color: rgb(246, 244, 233); }
.primary:hover { background: rgb(72, 86, 64); }
.button svg { width: 17px; height: 17px; }
.workspace { display: grid; grid-template-columns: 232px minmax(400px, 1fr) 268px; min-height: calc(100dvh - 78px); height: calc(100dvh - 78px); }
.sidebar { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: 26px 16px 15px 22px; min-height: 0px; background: var(--white); }
.eyebrow { font-size: 11px; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; }
.side-heading { display: flex; align-items: center; justify-content: space-between; }
.count { border: 1px solid var(--line); border-radius: 20px; padding: 1px 7px; font-size: 12px; color: var(--muted); }
h1 { font: 27px / 1.18 Georgia, serif; letter-spacing: -0.7px; margin: 18px 0px 10px; }
em { font-weight: normal; color: rgb(117, 129, 107); }
.intro { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 0px 0px 20px; }
.style-list { display: flex; flex-direction: column; gap: 5px; overflow: auto; scrollbar-width: thin; scrollbar-color: rgb(213, 216, 202) transparent; min-height: 0px; padding: 0px 1px 8px; }
.style-card { width: 100%; border: 1px solid transparent; border-radius: 6px; padding: 9px 7px; display: flex; align-items: center; gap: 8px; text-align: left; background: none; transition: background 0.15s; }
.style-card:hover { background: rgb(243, 243, 236); }
.style-card.active { border-color: rgb(184, 193, 169); background: rgb(239, 241, 232); }
.style-card canvas { width: 50px; height: 26px; }
.style-card strong { display: block; font-size: 12px; font-weight: 500; }
.style-card small { font-size: 11px; color: var(--muted); }
.style-card .selected-dot { margin-left: auto; height: 5px; width: 5px; border-radius: 50%; background: var(--ink); opacity: 0; }
.style-card.active .selected-dot { opacity: 1; }
.side-foot { margin-top: auto; padding-top: 13px; color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; }
.small-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: rgb(149, 161, 125); flex-shrink: 0; }
.studio { display: flex; flex-direction: column; min-height: 0px; min-width: 0px; }
.studio-toolbar { height: 64px; display: flex; justify-content: space-between; align-items: center; padding: 0px 27px; border-bottom: 1px solid var(--line); background: var(--white); flex-shrink: 0; }
.mode-switch { padding: 4px; display: flex; background: rgb(240, 240, 233); border-radius: 6px; gap: 2px; }
.mode-switch button { padding: 7px 13px; border: 0px; border-radius: 4px; background: none; font-size: 11px; color: var(--muted); }
.mode-switch button.active { background: var(--white); color: var(--ink); box-shadow: rgba(39, 45, 35, 0.063) 0px 1px 4px; }
.history-tools { display: flex; gap: 7px; align-items: center; }
.icon-button { width: 30px; height: 32px; border: 0px; border-radius: 5px; background: none; display: grid; place-items: center; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover { background: var(--soft); }
.divider { height: 18px; width: 1px; background: var(--line); margin: 0px 4px; }
.canvas-area { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1 1 0%; min-height: 0px; padding: 15px 30px 12px; background-color: rgb(234, 236, 228); background-image: radial-gradient(rgba(187, 193, 173, 0.333) 0.6px, transparent 0.7px); background-size: 7px 7px; position: relative; overflow: hidden; }
.canvas-topline { display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: 12px; font-size: 10px; color: rgb(124, 131, 113); letter-spacing: 1px; margin-bottom: 14px; flex-shrink: 0; }
.canvas-topline #save-status { letter-spacing: 0px; font-size: 11px; white-space: nowrap; }
.easel { position: relative; aspect-ratio: 900 / 1336; height: calc(100% - 65px); max-width: 100%; flex-shrink: 1; background: rgb(239, 234, 217); box-shadow: rgba(60, 68, 37, 0.1) 0px 7px 24px, rgba(60, 68, 37, 0.165) 0px 1px 2px; overflow: hidden; isolation: isolate; }
.easel canvas { position: absolute; inset: 0px; width: 100%; height: 100%; display: block; }
#paint { z-index: 2; touch-action: none; cursor: none; }
#guide { z-index: 1; pointer-events: none; opacity: 0.28; }
#paper { z-index: 0; }
#brush-cursor { position: absolute; border: 1px solid rgb(255, 255, 255); outline: rgba(41, 50, 37, 0.46) solid 1px; border-radius: 50%; z-index: 4; pointer-events: none; display: none; transform: translate(-50%, -50%); }
.first-hint { position: absolute; top: 63%; left: 50%; transform: translate(-50%, -50%); background: rgba(255, 253, 244, 0.96); box-shadow: rgba(49, 56, 43, 0.07) 0px 4px 22px; border: 1px solid rgb(222, 223, 211); border-radius: 6px; display: flex; align-items: center; gap: 11px; padding: 13px 17px; z-index: 3; white-space: nowrap; pointer-events: none; font-family: Georgia, serif; font-size: 17px; }
.first-hint small { display: block; font: 12px Arial, sans-serif; color: var(--muted); margin-top: 4px; }
.first-hint svg { color: var(--accent); width: 24px; height: 24px; }
.canvas-caption { display: flex; gap: 7px; align-items: center; font-size: 11px; color: rgb(130, 135, 115); flex-shrink: 0; margin-top: 16px; text-align: center; }
.bottom-toolbar { min-height: 95px; display: flex; align-items: center; justify-content: center; gap: 25px; background: var(--white); padding: 14px 22px; border-top: 1px solid var(--line); flex-shrink: 0; }
.palette-section { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; position: relative; padding-top: 15px; max-width: 300px; }
.palette-section > .eyebrow { position: absolute; top: -3px; left: 0px; }
.palette { display: flex; gap: 6px; }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--white); box-shadow: transparent 0px 0px 0px 1px; padding: 0px; }
.swatch.active { box-shadow: 0 0 0 1px var(--ink); }
.custom-color { position: relative; width: 22px; height: 22px; border: 1px solid rgb(214, 218, 205); border-radius: 50%; display: grid; place-items: center; overflow: hidden; cursor: pointer; }
.custom-color svg { width: 12px; height: 12px; }
.custom-color input { position: absolute; inset: 0px; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tool-setting { width: 110px; min-width: 75px; }
.tool-setting label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.tool-setting label span { color: var(--ink); font-size: 12px; }
input[type="range"] { width: 100%; height: 3px; display: block; accent-color: rgb(104, 120, 91); cursor: pointer; margin: 7px 0px 10px; }
.inspector { padding: 25px 22px 20px; overflow: auto; border-left: 1px solid var(--line); background: var(--white); scrollbar-width: thin; }
.inspector-top > .eyebrow { font-size: 10px; letter-spacing: 1.25px; }
h2 { font: 30px / 1.1 Georgia, serif; letter-spacing: -0.6px; margin: 16px 0px 12px; }
.inspector-top p { color: var(--muted); font-size: 11px; margin: 0px 0px 20px; }
.reference { position: relative; display: block; width: 100%; height: 160px; border: 0px; padding: 0px; border-radius: 5px; overflow: hidden; background: rgb(52, 56, 40); }
.reference img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 27%; display: block; transition: transform 0.4s; }
.reference:hover img { transform: scale(1.04); }
.reference::after { content: ""; position: absolute; inset: 50% 0px 0px; background: linear-gradient(transparent, rgba(17, 27, 19, 0.66)); }
.reference > span { position: absolute; z-index: 1; bottom: 10px; left: 12px; color: rgb(251, 247, 233); display: flex; align-items: center; gap: 6px; font-size: 12px; }
.reference svg { width: 15px; height: 15px; }
.reference-credit { font-size: 10px; color: var(--muted); line-height: 1.7; margin: 8px 0px 18px; }
.reference-credit a { color: rgb(152, 157, 145); text-decoration: none; font-size: 9px; }
.brush-details, .assistance, .lesson { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 15px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.section-heading h3 { font-size: 11px; margin: 0px; font-weight: 500; }
.section-heading > span { font-size: 11px; color: var(--muted); }
.brush-details p, .assistance p, .lesson p { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 8px 0px 12px; }
.variants { display: flex; gap: 3px; }
.variants button { border: 1px solid var(--line); border-radius: 4px; background: none; font-size: 11px; padding: 6px 7px; flex: 1 1 0%; }
.variants button.active { background: var(--soft); border-color: rgb(201, 206, 190); }
.assistance input[type="range"] { margin-top: 16px; }
.toggle-row { display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; position: relative; }
.toggle-row input { position: absolute; right: 0px; width: 28px; height: 18px; opacity: 0; }
.toggle { margin-left: auto; background: rgb(201, 205, 190); width: 28px; height: 16px; border-radius: 20px; padding: 3px; }
.toggle::after { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: white; transition: transform 0.15s; }
.toggle-row input:checked + .toggle { background: rgb(120, 137, 105); }
.toggle-row input:checked + .toggle::after { transform: translateX(12px); }
.toggle-row input:focus-visible + .toggle { outline: 2px solid var(--accent); outline-offset: 3px; }
.ghost-setting { font-size: 11px; color: var(--muted); margin-top: 10px; display: block; }
.ghost-setting input[type="range"] { margin-top: 10px; }
.step-dots { display: flex; align-items: center; margin: 16px 0px 13px; }
.step-dots button { border: 1px solid rgb(214, 218, 205); border-radius: 50%; height: 24px; width: 24px; background: none; font-size: 11px; }
.step-dots button.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.step-dots span { height: 1px; background: var(--line); flex: 1 1 0%; }
.lesson h4 { font: 17px / 1.25 Georgia, serif; margin: 0px 0px 8px; }
.next-step { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0px; background: none; padding: 3px 0px; font-size: 12px; color: rgb(95, 112, 79); }
.next-step svg { width: 16px; height: 16px; }
.upload-reference { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); cursor: pointer; border: 1px dashed rgb(212, 216, 201); border-radius: 5px; padding: 10px; margin-top: 20px; }
.upload-reference svg { width: 13px; height: 13px; }
.upload-reference input { display: none; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); z-index: 50; border-radius: 6px; background: var(--ink); color: rgb(248, 245, 232); padding: 12px 20px; font-size: 12px; max-width: 90vw; box-shadow: rgba(0, 0, 0, 0.133) 0px 6px 24px; transition: transform 0.2s; pointer-events: none; }
.toast.visible { transform: translateX(-50%) translateY(0px); }
dialog { border: 1px solid var(--line); border-radius: 10px; padding: 36px; background: var(--white); color: var(--ink); max-width: 560px; width: calc(100% - 32px); max-height: 90dvh; box-shadow: rgba(32, 42, 37, 0.2) 0px 20px 100px; }
dialog::backdrop { background: rgba(34, 44, 35, 0.35); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 10px; top: 10px; }
dialog h2 { font-size: 36px; margin-top: 16px; }
dialog p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 25px 0px; }
.help-grid b { font-weight: 500; }
.help-grid p { font-size: 12px; }
.note, .shortcuts { font-size: 11px !important; }
.image-dialog { width: auto; max-width: 90vw; text-align: center; padding: 20px 20px 8px; }
.image-dialog img { max-height: 76dvh; max-width: 100%; display: block; }
.image-dialog p { font-size: 11px; }
.export-option { width: 100%; display: flex; text-align: left; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: none; padding: 18px; margin-top: 12px; }
.export-option:hover { background: var(--soft); }
.export-option b { font-weight: 500; font-size: 13px; }
.export-option small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.export-option svg{flex-shrink:0;margin-left:12px}
.export-option[aria-busy="true"]{cursor:progress}
.export-option[aria-disabled="true"]{opacity:.5;cursor:wait;pointer-events:none}
a.export-option{color:inherit;text-decoration:none;cursor:pointer}
a.export-option:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.save-title-label{display:block;font-size:11px;color:var(--muted);margin-top:18px}
.saved-gallery-link{display:inline-block;margin:4px 0 8px;color:var(--ink);font-size:12px}
.project-backup{border-top:1px solid var(--line);margin-top:22px;padding-top:14px}
.project-backup summary{font-size:11px;color:var(--muted);cursor:pointer}
#export-status:empty{display:none}
[hidden] { display: none !important; }
@media (min-height: 950px) {
  .style-card { padding-top: 12px; padding-bottom: 12px; }
  .reference { height: 190px; }
  .inspector { padding-top: 30px; }
  .brush-details, .assistance, .lesson { margin-top: 22px; padding-top: 20px; }
}
@media (max-width: 1150px) {
  .workspace { grid-template-columns: 205px minmax(350px, 1fr) 235px; }
  .sidebar { padding-left: 15px; padding-right: 11px; }
  .inspector { padding: 23px 15px; }
  .header-note { display: none; }
  .bottom-toolbar { gap: 16px; padding-left: 14px; padding-right: 14px; }
  .palette { gap: 4px; }
  .swatch { width: 19px; height: 19px; }
  .opacity-setting { width: 85px; }
  .tool-setting { width: 85px; }
  .studio-toolbar { padding: 0px 17px; }
  .mode-switch button { padding: 7px 9px; }
  .canvas-area { padding-left: 20px; padding-right: 20px; }
  .palette-section { max-width: 215px; }
}
@media (max-width: 900px) {
  .workspace { grid-template-columns: 175px minmax(300px, 1fr); height: auto; min-height: calc(100dvh - 70px); }
  .header { height: 70px; padding: 0px 18px; }
  .brand { font-size: 26px; }
  .header-actions { gap: 12px; }
  .header-actions .text-button { font-size: 0px; gap: 0px; }
  .header-actions .help-circle { font-size: 11px; }
  .sidebar { grid-row: 1 / 3; }
  .studio { height: calc(100dvh - 70px); min-height: 620px; }
  .inspector { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 24px; border-top: 1px solid var(--line); padding: 25px; }
  .inspector-top { grid-column: 1; }
  .reference { height: 200px; grid-area: 1 / 2 / 3; }
  .reference-credit { grid-column: 2; }
  .brush-details { grid-area: 2 / 1 / 4; }
  .assistance, .lesson { margin: 0px; }
  .upload-reference { grid-column: 1 / 3; margin-top: 0px; }
  .style-card { gap: 5px; }
  .style-card canvas { width: 38px; }
  .style-card strong { font-size: 11px; }
  .style-card small { font-size: 10px; }
  h1 { font-size: 24px; }
  .intro { font-size: 12px; }
  .side-foot { font-size: 10px; }
  .bottom-toolbar { flex-wrap: wrap; gap: 10px 25px; padding: 12px 16px; }
  .palette-section { max-width: 250px; }
  .palette { gap: 5px; }
  .swatch { width: 22px; height: 22px; }
  .opacity-setting { display: none; }
  .tool-setting { width: 110px; }
  .canvas-topline { font-size: 9px; }
  .canvas-topline #save-status { font-size: 10px; }
}
@media (max-width: 560px) {
  .workspace { display: flex; flex-direction: column; }
  .header { padding: 0px 13px; gap: 8px; height: 64px; }
  .brand { font-size: 24px; gap: 7px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 20px; }
  .header-actions { gap: 8px; }
  .header-actions .button { padding: 10px; font-size: 12px; gap: 6px; }
  .header-actions .button svg { width: 14px; }
  .sidebar { display: block; padding: 10px 12px; border-right: 0px; border-bottom: 1px solid var(--line); }
  .side-heading, h1, .intro, .side-foot { display: none; }
  .style-list { flex-direction: row; padding: 0px 0px 3px; gap: 5px; overflow: auto; }
  .style-card { flex-direction: column; min-width: 90px; width: 90px; padding: 6px 5px; gap: 2px; flex-shrink: 0; }
  .style-card canvas { width: 55px; height: 22px; }
  .style-card strong { font-size: 12px; }
  .style-card small { display: none; }
  .selected-dot { display: none; }
  .studio { height: calc(100dvh - 143px); min-height: 560px; }
  .studio-toolbar { height: 54px; padding: 0px 12px; }
  .mode-switch button { font-size: 12px; padding: 6px 9px; }
  .history-tools { gap: 2px; }
  .icon-button { width: 26px; }
  .canvas-area { padding: 12px 16px 10px; }
  .canvas-topline { margin-bottom: 10px; letter-spacing: 0.5px; }
  .canvas-caption { font-size: 10px; margin-top: 12px; line-height: 1.4; max-width: 90%; }
  .easel { height: calc(100% - 60px); }
  .bottom-toolbar { min-height: 78px; gap: 12px; padding: 12px; }
  .palette-section { gap: 6px; max-width: none; flex: 1 1 0%; }
  .palette { gap: 3px; }
  .swatch { width: 21px; height: 21px; }
  .custom-color { width: 20px; height: 20px; }
  .tool-setting { width: 82px; min-width: 60px; }
  .first-hint { font-size: 15px; padding: 10px 13px; }
  .first-hint small { font-size: 11px; }
  .inspector { display: grid; gap: 15px 20px; padding: 25px 20px; }
  .inspector-top h2 { font-size: 27px; }
  .inspector-top .eyebrow { font-size: 9px; }
  .reference { height: 155px; }
  .help-grid { grid-template-columns: 1fr; gap: 10px; }
  dialog { padding: 30px 24px; }
  dialog h2 { font-size: 30px; }
}
/* A bounded Retina crop presents magnified pixels without browser interpolation. */
.easel #paint-zoom-view{position:absolute;inset:auto;max-width:none;z-index:2;pointer-events:none;image-rendering:auto}
.canvas-navigator{--navigator-height:148px;position:absolute;right:38px;bottom:48px;z-index:8;width:188px;padding:11px;background:rgba(250,249,242,.97);border:1px solid #cbd0be;border-radius:9px;box-shadow:0 5px 22px #303b2924;color:var(--ink)}
.canvas-navigator[hidden]{display:none}
.navigator-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:12px}
.navigator-heading strong{font-weight:500}
.navigator-heading>span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.navigator-map{position:relative;display:block;margin:0 auto;padding:0;border:0;border-radius:3px;overflow:hidden;width:min(100%,calc(var(--navigator-height)*var(--navigator-ratio)));aspect-ratio:var(--navigator-ratio);background:#eee7d4;box-shadow:0 0 0 1px #414b2f30;cursor:crosshair;touch-action:none}
.navigator-map:focus-visible{outline:2px solid #637550;outline-offset:3px}
.navigator-map canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.navigator-frame{position:absolute;box-sizing:border-box;border:2px solid #718151;outline:1px solid #fffdf2;box-shadow:0 0 0 999px #242f251f;pointer-events:none}
.navigator-map.is-dragging{cursor:grabbing}
.canvas-navigator>small{display:block;margin-top:8px;font-size:10px;line-height:1.4;color:var(--muted);text-align:center}
@media(max-width:600px){.canvas-navigator{--navigator-height:96px;right:24px;bottom:44px;width:140px;padding:9px}.navigator-heading{font-size:11px;margin-bottom:7px}.canvas-navigator>small{font-size:9px;margin-top:6px}}

/* Artist and technique groups remain independent of the removed inspiration panel. */
.brush-group-heading{margin:15px 8px 7px;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);grid-column:1/-1}.brush-group-heading:first-child{margin-top:3px}

.brush-interpretation { margin: 0 0 18px; font-size: .875rem; line-height: 1.5; color: var(--ink); }

/* Reading help: enlarge the small instructions inside this dialog only. */
#help-dialog { max-width: 680px; padding: 36px; }
#help-dialog p, #help-dialog .help-grid p { font-size: 1rem; line-height: 1.7; color: #555f51; }
#help-dialog .note, #help-dialog .shortcuts { font-size: 1rem !important; }
#help-dialog .eyebrow { font-size: .875rem; letter-spacing: .08em; }
#help-dialog strong, #help-dialog .help-grid b { font-weight: 700; color: var(--ink); }
#help-dialog .help-lead { margin: 20px 0 24px; }
#help-dialog .help-grid { gap: 24px; margin: 24px 0; padding: 20px; background: var(--soft); border-radius: 8px; }
#help-dialog .help-grid b { display: block; font-size: 1.0625rem; }
#help-dialog .help-grid p { margin: 8px 0 0; }
#help-dialog .note { margin: 22px 0; padding-left: 16px; border-left: 3px solid #aebba0; }
#help-dialog .shortcuts { margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
#help-dialog > .button { font-size: 1rem; min-height: 44px; }
@media (max-width: 600px) {
 #help-dialog { width: calc(100% - 24px); padding: 30px 20px 24px; }
 #help-dialog .help-grid { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
}
