:root {
    color-scheme: light;
    --green-950: #063f30;
    --green-900: #07513d;
    --green-800: #0c664d;
    --green-100: #e7f2ed;
    --orange: #c94f0c;
    --orange-dark: #a63f08;
    --ink: #17211d;
    --muted: #66736c;
    --line: #dce3df;
    --surface: #ffffff;
    --background: #f5f7f5;
    --danger: #b42318;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); font-family: "Noto Sans KR", "Malgun Gothic", sans-serif; }
a { color: inherit; }
button, input, select { font: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }

.login-body { min-height: 100vh; background: #f1f5f2; }
.login-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(360px, 44%) 1fr; }
.login-visual { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 64px clamp(40px, 7vw, 112px); color: white; background: linear-gradient(145deg, var(--green-950), var(--green-800)); }
.login-visual::after { position: absolute; right: -120px; bottom: -180px; width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; content: ""; box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.025); }
.service-number { display: grid; width: 50px; height: 50px; margin-bottom: 70px; border-radius: 14px; background: var(--orange); font-size: 18px; font-weight: 800; place-items: center; }
.eyebrow { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.login-visual .eyebrow { color: #abd6c3; }
.login-visual h1 { position: relative; z-index: 1; margin: 12px 0 22px; font-size: clamp(34px, 4vw, 58px); line-height: 1.24; letter-spacing: -.045em; }
.login-visual p:last-child { position: relative; z-index: 1; max-width: 520px; color: #c7ded5; line-height: 1.8; }
.login-panel { display: grid; padding: 36px; background: #fbfcfb; place-items: center; }
.login-card { width: min(430px, 100%); padding: 48px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 24px 70px rgba(24, 53, 42, .08); }
.login-card h2 { margin: 8px 0; font-size: 32px; }
.login-card p { margin: 0 0 28px; color: var(--muted); }
.mobile-brand { display: none; color: var(--green-900); font-size: 13px; font-weight: 800; }
.back-link { display: block; margin-top: 22px; color: var(--muted); font-size: 13px; text-align: center; text-decoration: none; }

.app-shell { display: grid; min-height: 100vh; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 26px 18px; color: white; background: var(--green-950); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 28px; text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 13px; font-family: Georgia, serif; font-size: 23px; place-items: center; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: #a9cabe; font-size: 12px; }
.side-nav { display: grid; gap: 8px; }
.side-nav__item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; color: #d4e4de; font-size: 14px; font-weight: 700; text-decoration: none; }
.side-nav__item:hover, .side-nav__item.is-active { color: white; background: rgba(255,255,255,.12); }
.sidebar-user { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 20px 8px 10px; border-top: 1px solid rgba(255,255,255,.18); }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user small { margin-top: 2px; color: #a9cabe; font-size: 11px; }
.avatar { display: grid; width: 38px; height: 38px; border-radius: 50%; color: var(--green-950); background: #dcebe4; font-weight: 800; place-items: center; }
.account-link { margin: 4px 8px; color: #bed6cc; font-size: 12px; text-decoration: none; }
.logout-form button { width: 100%; margin-top: 10px; padding: 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: white; background: transparent; cursor: pointer; }
.main-area { min-width: 0; }
.topbar { display: flex; height: 72px; align-items: center; gap: 18px; padding: 0 34px; border-bottom: 1px solid var(--line); background: white; }
.topbar span { margin-left: auto; color: var(--muted); font-size: 13px; }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 24px; }
.page-content { padding: 34px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-heading h1 { margin: 7px 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; }
.page-heading p, .panel-heading p { margin: 0; color: var(--muted); line-height: 1.6; }
.summary-grid { display: grid; gap: 18px; margin-bottom: 22px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.summary-card { padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.summary-card span { color: var(--muted); }
.summary-card strong { display: block; margin-top: 8px; color: var(--green-900); font-size: 32px; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 30px rgba(27, 57, 45, .035); }
.empty-state { padding: 70px 30px; text-align: center; }
.empty-state h2 { margin: 18px 0 8px; }
.empty-state p { color: var(--muted); }
.empty-icon { display: grid; width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; color: var(--green-900); background: var(--green-100); font-size: 24px; place-items: center; }
.management-grid { display: grid; align-items: start; gap: 22px; grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); }
.form-panel { padding: 26px; }
.narrow-panel { width: min(690px, 100%); }
.panel-heading { margin-bottom: 22px; }
.panel-heading h2 { margin: 0 0 6px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; color: #33433c; font-size: 13px; font-weight: 700; }
.field input, .field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd8d3; border-radius: 9px; color: var(--ink); background: white; outline: none; }
.field input:focus, .field select:focus { border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(12, 102, 77, .12); }
.field small { color: var(--muted); font-weight: 400; line-height: 1.5; }
.field-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.checkbox-field { display: flex; align-items: center; gap: 9px; }
.checkbox-field input { width: 18px; min-height: 18px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 17px; border: 1px solid transparent; border-radius: 9px; font-weight: 800; text-decoration: none; cursor: pointer; }
.button--primary { color: white; background: var(--orange); }
.button--primary:hover:not(:disabled) { background: var(--orange-dark); }
.button--secondary { border-color: #cbd6d0; color: #34463e; background: white; }
.button--wide { width: 100%; }
.button--small { min-height: 34px; padding: 6px 11px; font-size: 12px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.alert { margin-bottom: 18px; padding: 13px 15px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
.alert--error { border: 1px solid #f2c7c2; color: #9f251b; background: #fff2f0; }
.alert--success { border: 1px solid #b9ddcc; color: #116246; background: #ecf8f2; }
.account-list-panel { min-width: 0; padding: 24px; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { padding: 12px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; white-space: nowrap; }
.data-table td { padding: 14px 12px; border-bottom: 1px solid #edf0ee; vertical-align: middle; }
.data-table td strong, .data-table td small { display: block; }
.data-table td small { margin-top: 3px; color: var(--muted); }
.status { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status--active { color: #176247; background: #e8f5ef; }
.status--inactive { color: #735c50; background: #f0ece9; }
.table-empty { padding: 40px !important; color: var(--muted); text-align: center; }
.simple-body { display: grid; min-height: 100vh; padding: 24px; background: var(--background); place-items: center; }
.simple-card { width: min(480px, 100%); padding: 48px; border: 1px solid var(--line); border-radius: 20px; background: white; text-align: center; }
.simple-card > strong { color: var(--orange); font-size: 52px; }
.simple-card p { margin-bottom: 26px; color: var(--muted); }

@media (max-width: 1000px) {
    .management-grid { grid-template-columns: 1fr; }
    .summary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-visual { display: none; }
    .login-panel { padding: 20px; }
    .login-card { padding: 32px 24px; }
    .mobile-brand { display: block; }
    .app-shell { grid-template-columns: 1fr; }
    .sidebar { position: fixed; z-index: 10; left: -270px; width: 250px; transition: left .2s ease; }
    .sidebar.is-open { left: 0; box-shadow: 20px 0 50px rgba(0,0,0,.2); }
    .mobile-menu { display: block; }
    .topbar { padding: 0 18px; }
    .page-content { padding: 22px 16px; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .summary-grid, .field-row { grid-template-columns: 1fr; }
}
.approval-management-grid { display: grid; align-items: start; gap: 22px; grid-template-columns: minmax(330px, 400px) minmax(0, 1fr); }
.approval-form-panel { position: sticky; top: 94px; }
.route-author-form { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.selected-author-card { margin-bottom: 22px; padding: 16px; border: 1px solid #b9d6c9; border-radius: 12px; background: var(--green-100); }
.selected-author-card span, .selected-author-card strong, .selected-author-card small { display: block; }
.selected-author-card span { color: var(--green-800); font-size: 11px; font-weight: 800; }
.selected-author-card strong { margin-top: 5px; font-size: 18px; }
.selected-author-card small { margin-top: 3px; color: var(--muted); }
.required-mark, .optional-mark { margin-left: 5px; padding: 3px 6px; border-radius: 999px; font-size: 10px; }
.required-mark { color: #9f251b; background: #fff0ee; }
.optional-mark { color: #53665e; background: #edf1ef; }
.account-actions { display: flex; gap: 6px; }
.approval-table td strong, .approval-table td small { display: block; }
.approval-table td small { margin-top: 3px; color: var(--muted); }

@media (max-width: 1100px) {
    .approval-management-grid { grid-template-columns: 1fr; }
    .approval-form-panel { position: static; }
}
.signature-grid { display: grid; align-items: start; gap: 22px; margin-bottom: 22px; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); }
.signature-preview-panel, .signature-history-panel { padding: 26px; }
.signature-preview { display: grid; min-height: 260px; padding: 28px; border: 1px dashed #b8c8c0; border-radius: 14px; background: #fbfcfb; place-items: center; }
.signature-preview img { display: block; max-width: 100%; max-height: 240px; object-fit: contain; }
.signature-meta { display: grid; gap: 8px; margin: 20px 0 0; }
.signature-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #edf0ee; }
.signature-meta dt { color: var(--muted); }
.signature-meta dd { margin: 0; font-weight: 700; text-align: right; }
.signature-empty { display: grid; min-height: 260px; color: var(--muted); text-align: center; place-items: center; align-content: center; }
.signature-empty span { color: var(--green-800); font-size: 48px; }
.signature-empty strong { margin-top: 10px; color: var(--ink); }
.signature-empty p { margin: 6px 0 0; }
.upload-field input[type="file"] { padding: 12px; }
.signature-history { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.signature-history article { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; grid-template-columns: 86px 1fr; }
.signature-history img { width: 86px; height: 58px; object-fit: contain; border-radius: 6px; background: #f8faf9; }
.signature-history strong, .signature-history small { display: block; }
.signature-history small { margin-top: 4px; color: var(--muted); }
.signature-status-link { color: var(--green-800); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.signature-status-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .signature-grid { grid-template-columns: 1fr; }
}
.field textarea { width: 100%; padding: 13px; border: 1px solid #cfd8d3; border-radius: 9px; color: var(--ink); background: white; font: inherit; line-height: 1.75; outline: none; resize: vertical; }
.field textarea:focus { border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(12, 102, 77, .12); }
.status--pending { color: #8a4b08; background: #fff3df; }
.status--rejected { color: #9f251b; background: #fff0ee; }
.button--danger { border-color: #e4b9b4; color: var(--danger); }
.heading-actions, .decision-actions { display: flex; gap: 10px; }
.note-list-panel { padding: 24px; }
.note-editor-grid { display: grid; align-items: start; gap: 22px; grid-template-columns: minmax(0, 1fr) 320px; }
.note-editor-panel, .note-route-panel, .note-document, .decision-panel, .approval-history-panel { padding: 26px; }
.note-route-panel { position: sticky; top: 94px; }
.note-editor-actions { position: sticky; bottom: 0; margin: 0 -26px -26px; padding: 18px 26px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }
.route-preview { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.route-preview li { display: grid; padding: 14px; border: 1px solid var(--line); border-radius: 10px; grid-template-columns: 42px 1fr; }
.route-preview li > span { grid-row: 1 / span 2; color: var(--orange); font-weight: 800; }
.route-preview strong, .route-preview small { display: block; }
.route-preview small { margin-top: 3px; color: var(--muted); }
.note-detail-grid { display: grid; align-items: start; gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(330px, 420px); }
.note-document-header { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
.note-document-header div > span, .note-document-header strong, .note-document-header small { display: block; }
.note-document-header div > span { margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.note-document-header small { margin-top: 4px; color: var(--muted); }
.note-content { min-height: 520px; padding: 34px 6px; }
.note-content > h2 { margin: 0 0 28px; font-size: 27px; }
.note-content > div { line-height: 1.9; overflow-wrap: anywhere; }
.note-side-column { display: grid; gap: 22px; }
.decision-actions { justify-content: flex-end; }
.approval-round + .approval-round { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.approval-round > strong { display: block; margin-bottom: 10px; color: var(--green-800); }
.approval-round ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.approval-round li { display: grid; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; grid-template-columns: minmax(0, 1fr) 120px; }
.approval-round li span, .approval-round li strong, .approval-round li small { display: block; }
.approval-round li small { margin-top: 3px; color: var(--muted); }
.approval-result { text-align: right; }
.approval-result img { display: block; width: 110px; height: 44px; margin: 8px 0 0 auto; object-fit: contain; }
.muted-copy { color: var(--muted); line-height: 1.6; }

@media (max-width: 1100px) {
    .note-editor-grid, .note-detail-grid { grid-template-columns: 1fr; }
    .note-route-panel { position: static; }
}
@media (max-width: 760px) {
    .note-document-header { grid-template-columns: 1fr; }
    .approval-round li { grid-template-columns: 1fr; }
    .approval-result { text-align: left; }
    .approval-result img { margin-left: 0; }
}
.print-body { min-height: 100vh; padding: 28px; background: #e9ecea; }
.print-toolbar { display: flex; width: min(210mm, 100%); justify-content: flex-end; gap: 10px; margin: 0 auto 18px; }
.print-sheet { width: min(210mm, 100%); min-height: 297mm; margin: 0 auto; padding: 18mm 16mm; background: white; box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.print-header { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 15px; border-bottom: 3px solid var(--green-950); }
.print-header span, .print-header strong { display: block; }
.print-header span { color: var(--muted); font-size: 12px; }
.print-header strong { margin-top: 4px; color: var(--green-950); font-size: 25px; }
.print-header p { margin: 0; color: var(--muted); font-size: 12px; }
.print-sheet > h1 { margin: 30px 0 22px; font-size: 25px; text-align: center; }
.print-meta, .print-approval table { width: 100%; border-collapse: collapse; }
.print-meta th, .print-meta td, .print-approval th, .print-approval td { padding: 10px; border: 1px solid #9ba7a1; font-size: 12px; }
.print-meta th { width: 15%; background: #f0f4f2; }
.print-meta td { width: 35%; }
.print-content { min-height: 135mm; margin: 24px 0; padding: 18px; border: 1px solid #9ba7a1; }
.print-content > div { font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.print-approval { break-inside: avoid; }
.print-approval h2 { margin: 0 0 10px; font-size: 16px; }
.print-approval th { background: #f0f4f2; }
.print-approval td { text-align: center; }
.print-approval img { display: block; width: 120px; height: 48px; margin: 0 auto; object-fit: contain; }
.print-footer { margin-top: 20px; color: var(--muted); font-size: 10px; text-align: center; }

@page { size: A4; margin: 12mm; }
@media print {
    body.print-body { padding: 0; background: white; }
    .print-toolbar { display: none; }
    .print-sheet { width: auto; min-height: auto; margin: 0; padding: 0; box-shadow: none; }
}
@media (max-width: 760px) {
    .print-body { padding: 10px; }
    .print-sheet { min-height: auto; padding: 22px 16px; }
    .print-meta th, .print-meta td, .print-approval th, .print-approval td { padding: 7px 5px; font-size: 10px; }
    .print-approval img { width: 80px; height: 38px; }
}
.rich-editor-field { display: block; }
.rich-editor-field > span { display: block; margin-bottom: 8px; }
.rich-editor { overflow: hidden; border: 1px solid #cfd8d3; border-radius: 10px; background: white; }
.rich-editor:focus-within { border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(12, 102, 77, .12); }
.rich-editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); background: #f7f9f8; }
.rich-editor-toolbar button { min-height: 34px; padding: 6px 10px; border: 1px solid #cbd6d0; border-radius: 7px; color: #34463e; background: white; font-size: 12px; font-weight: 700; cursor: pointer; }
.rich-editor-toolbar button:hover { border-color: var(--green-800); color: var(--green-800); }
.rich-editor-toolbar button:disabled { border-color: #d9dfdc; color: #8b9690; background: #f4f6f5; }
.rich-editor-toolbar__divider { width: 1px; margin: 3px 2px; background: #d5ddd9; }
.rich-editor-toolbar .table-delete-button:not(:disabled) { border-color: #dfb5b0; color: var(--danger); }
.rich-editor-surface { min-height: 620px; padding: 20px; color: var(--ink); background: white; font-size: 14px; font-weight: 400; line-height: 1.8; outline: none; overflow-wrap: anywhere; }
.rich-editor-surface:empty::before { color: #8b9690; content: "연구 내용을 입력해 주세요."; }
.rich-note-content { color: #111; line-height: 1.85; overflow-wrap: anywhere; }
.rich-note-content h2 { margin: 30px 0 12px; color: #111; font-size: 21px; }
.rich-note-content h3 { margin: 24px 0 10px; color: #111; font-size: 17px; }
.rich-note-content p { margin: 0; }
.rich-note-content blockquote { margin: 0 0 14px; }
.rich-note-content ul, .rich-note-content ol { margin: 0 0 16px; padding-left: 26px; }
.rich-note-content blockquote { padding: 10px 14px; border-left: 4px solid #b9d6c9; color: #111; background: #f5f9f7; }
.rich-note-content a { color: #111; text-decoration: underline; overflow-wrap: anywhere; }
.rich-note-content table { margin: 18px 0; border-collapse: collapse; table-layout: fixed; }
.rich-note-content .note-table--small { width: 50%; }
.rich-note-content .note-table--medium { width: 75%; }
.rich-note-content .note-table--full, .rich-note-content table:not(.note-table) { width: 100%; }
.rich-note-content th, .rich-note-content td { min-width: 70px; padding: 9px 10px; border: 1px solid #9faea7; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.rich-note-content th { color: #111; background: #edf4f1; font-weight: 800; }
.rich-editor-surface .is-selected-table-cell { background: #fff8e8; outline: 2px solid var(--orange); outline-offset: -2px; }
.note-image { margin: 22px 0; }
.note-image--small { width: min(240px, 100%); }
.note-image--medium { width: min(480px, 100%); }
.note-image--full { width: 100%; }
.note-image--left { margin-right: auto; margin-left: 0; }
.note-image--center { margin-right: auto; margin-left: auto; }
.note-image--right { margin-right: 0; margin-left: auto; }
.note-image img { display: block; width: auto; max-width: 100%; height: auto; max-height: 720px; border: 1px solid #d9e1dd; border-radius: 8px; object-fit: contain; background: #f8faf9; }
.note-image figcaption { margin-top: 8px; color: #111; font-size: 12px; line-height: 1.6; }
.image-load-error { margin: 0 0 8px; padding: 14px; border: 1px dashed #d5a39d; border-radius: 8px; color: var(--danger); background: #fff5f4; font-size: 12px; }
.editor-dialog { width: min(520px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.24); }
.editor-dialog::backdrop { background: rgba(6, 35, 27, .58); }
.editor-dialog form { padding: 26px; }
.editor-dialog-heading { margin-bottom: 20px; }
.editor-dialog-heading h2 { margin: 0 0 7px; }
.editor-dialog-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.editor-dialog .checkbox-field { margin: 4px 0 20px; color: #33433c; font-size: 13px; }
.image-url-preview { display: grid; min-height: 190px; margin-bottom: 16px; padding: 16px; border: 1px dashed #b8c8c0; border-radius: 10px; background: #f8faf9; place-items: center; }
.image-url-preview p { margin: 0; color: var(--muted); font-size: 12px; }
.image-url-preview img { display: block; max-width: 100%; max-height: 280px; object-fit: contain; }
.editor-dialog-message { margin-bottom: 0; }

@media (max-width: 760px) {
    .rich-editor-toolbar { gap: 5px; }
    .rich-editor-toolbar button { flex: 1 0 auto; }
    .rich-editor-surface { min-height: 520px; padding: 15px; }
    .rich-note-content .note-table--small, .rich-note-content .note-table--medium, .note-image--small, .note-image--medium { width: 100%; }
    .editor-dialog form { padding: 22px 18px; }
}

@media print {
    .rich-note-content h2 { margin: 18px 0 8px; font-size: 15px; }
    .rich-note-content h3 { margin: 15px 0 7px; font-size: 13px; }
    .rich-note-content p, .rich-note-content ul, .rich-note-content ol, .rich-note-content blockquote { margin-bottom: 8px; }
    .rich-note-content table { margin: 12px 0; break-inside: auto; }
    .rich-note-content tr { break-inside: avoid; }
    .rich-note-content th, .rich-note-content td { padding: 6px; font-size: 10px; }
    .note-image { break-inside: avoid; margin: 14px 0; }
    .note-image img { max-height: 115mm; }
    .note-image figcaption { font-size: 9px; }
}
