/* App navigation, compact lists and a three-step report form. */
:root { color-scheme: light; --accent: #934c32; --ink: #292620; --muted: #827a70; --line: #e9e5df; --bg: #f7f7f4; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; padding: 80px 0 72px; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.page { width: 100%; max-width: 640px; padding: 18px 16px 16px; margin: 0 auto; }
.hero, .shortcut-row, .floating-chip-nav, #members-toolbar { display: none !important; }
.mobile-source { display: none !important; }
.mobile-subview .mobile-source { display: block !important; }
.moim-app-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: 80px; padding: 5px 12px 6px; background: #fff; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.moim-app-header > div { flex: 1; padding-left: 6px; }
.moim-app-header strong { display: block; font-size: 19px; letter-spacing: -.6px; color: var(--ink); }
.moim-app-header span { font-size: 10px; }
.moim-app-header button { width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px; background: transparent; color: #726758; display: grid; place-items: center; }
#moim-sync-status { flex-basis: 100%; margin: 0 6px; font-size: 11px; line-height: 18px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#moim-sync-status::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 6px 2px 0; border-radius: 50%; background: #8c9b78; }
.top-nav, .member-inline-nav { position: fixed; inset: auto 0 0; z-index: 900; height: 72px; display: flex; gap: 0; align-items: stretch; justify-content: center; margin: 0; padding: 5px 12px 7px; border-radius: 0; border: 0; border-top: 1px solid var(--line); background: #fff; box-shadow: none; }
.top-nav a, .member-inline-nav a { flex: 1; max-width: 158px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10px; line-height: 15px; padding: 5px 2px; border: 0; background: transparent; box-shadow: none; border-radius: 12px; color: #92877c; text-decoration: none; }
.top-nav a.is-active, .member-inline-nav a.is-active { color: var(--accent); background: #f9f0e9; font-weight: 700; }
.mobile-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; }
.mobile-heading h1 { font-size: 25px; line-height: 32px; letter-spacing: -.9px; margin: 0; }
.mobile-count { background: #eaece5; color: #788367; font-size: 12px; border-radius: 7px; padding: 3px 7px; }
.mobile-heading > button { margin-left: auto; }
.mobile-text-button { min-height: 44px; border: 0; padding: 8px; background: transparent; color: var(--accent); font-size: 13px; font-weight: 600; white-space: nowrap; }
.mobile-meeting-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 10px 12px; margin-bottom: 12px; scroll-margin-top: 96px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.mobile-meeting-settings .field { gap: 3px; }
.mobile-meeting-settings .field > span { font-size: 11px; font-weight: 500; }
.mobile-meeting-settings .field input { width: 100%; min-height: 36px; padding: 4px 0; border: 0; border-radius: 0; font-size: 14px; background: white; color: var(--ink); }
.mobile-meeting-holiday { grid-column: 1/-1; min-height: 30px; display: flex; align-items: center; border-top: 1px solid var(--line); padding-top: 6px; }
.mobile-meeting-holiday .checkbox-inline { display: flex; min-height: 24px; gap: 7px; align-items: center; font-size: 12px; color: var(--muted); }
.mobile-meeting-holiday input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.mobile-handoff-actions { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.mobile-handoff-actions > button { width: 100%; min-height: 50px; border-radius: 12px; background: var(--accent); color: white; font-size: 15px; }
.mobile-handoff-actions .status-text:empty { display: none; }
.mobile-search { display: flex; align-items: center; gap: 9px; background: #eceee8; border-radius: 12px; height: 44px; padding: 0 13px; color: #8d9585; }
.mobile-search svg { width: 19px; height: 19px; }
.mobile-search input { width: 100%; min-width: 0; border: 0; background: transparent; border-radius: 0; padding: 8px 0; font-size: 14px; outline: none; }
.mobile-filters { display: flex; align-items: center; gap: 7px; margin: 11px 0; }
.mobile-filter { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: #797268; font-size: 12px; }
.mobile-filter[aria-pressed=true] { color: #fff; background: #72644f; border-color: #72644f; }
.mobile-muted { font-size: 12px; color: var(--muted); }
.mobile-filters .mobile-muted { margin-left: auto; }
.mobile-member-list { background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mobile-member-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 78px; padding: 13px 11px; border: 0; border-bottom: 1px solid #f0ede9; background: white; color: var(--ink); text-align: left; }
.mobile-member-row:last-child { border-bottom: 0; }
.mobile-member-row:active { background: #f7f1e9; }
.mobile-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; background: #eeefe7; color: #8b8d71; border-radius: 13px; font-size: 16px; }
.mobile-row-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; }
.mobile-row-text strong { font-size: 15px; letter-spacing: -.4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-row-text small { font-size: 10px; color: #9a9186; }
.mobile-row-balance { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; white-space: nowrap; }
.mobile-row-balance small { font-size: 10px; color: #9a9186; }
.mobile-row-balance strong { font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; color: #6c6357; }
.mobile-member-row > svg { width: 13px; color: #c7c0b6; }
.mobile-source-note { font-size: 11px; line-height: 1.6; color: #9b9288; margin: 12px 4px 0; }
.mobile-empty { padding: 24px 12px; font-size: 14px; text-align: center; color: var(--muted); }
.mobile-view-open { overflow: hidden; }
.mobile-subview { position: fixed; z-index: 910; inset: 80px 0 72px; overflow: auto; overscroll-behavior: contain; background: var(--bg); }
.mobile-view-content { max-width: 640px; margin: 0 auto; padding: 18px 16px 24px; }
.mobile-view-open .page > :not(.mobile-subview):not(.top-nav):not(.member-inline-nav) { visibility: hidden; }
.mobile-subview .panel { margin: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
.mobile-subview .backup-panel-top, .mobile-subview .member-form-panel-top, .mobile-subview .dues-panel-top { display: none; }
.mobile-subview .backup-panel-body { display: block; }
.mobile-subview .section-head { display: block; }
.mobile-subview .section-head h2 { font-size: 18px; }
.mobile-subview .section-head p { font-size: 12px; }
.mobile-menu-item { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px; min-height: 62px; width: 100%; background: white; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; color: var(--ink); font-size: 15px; }
.mobile-menu-item svg { width: 16px; color: #aca08e; }
.mobile-app-version { text-align: center; margin: 28px 0; color: #a69e93; font-size: 11px; }
.memories-page .page { padding-top: 16px; }
.memories-page .memory-hero { padding: 26px 20px; border-radius: 22px; box-shadow: none; }
.memories-page .memory-hero h1 { font-size: 34px; letter-spacing: -1.4px; }
.memories-page .memory-hero > p:not(.eyebrow):not(.status-text) { font-size: 14px; }
.memories-page .memory-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; }
.memories-page .memory-actions button { width: 100%; min-width: 0; padding: 10px 8px; border-radius: 12px; font-size: 13px; }
.memories-page #memory-status { min-height: 38px; margin: 14px 0 0; }
.memories-page .memory-preview-note { display: block; margin-top: 14px; padding: 12px 14px; border-radius: 13px; }
.memories-page .memory-preview-note strong, .memories-page .memory-preview-note span { display: block; }
.memories-page .memory-preview-note strong { font-size: 13px; }
.memories-page .memory-preview-note span { margin-top: 4px; font-size: 11px; line-height: 1.55; }
.memories-page .memory-filter-shell { margin: 14px 0 18px; padding: 10px; border-radius: 14px; }
.memories-page .memory-year { min-height: 38px; padding: 7px 13px; font-size: 11px; }
.memories-page .memory-kind { min-height: 38px; padding: 7px 13px; font-size: 11px; }
.memories-page .memory-section { margin-top: 20px; }
.memories-page .memory-section-head { margin-bottom: 10px; }
.memories-page .memory-section-head h2 { font-size: 21px; }
.memories-page .memory-section-head small { font-size: 10px; }
.memories-page .memory-count { font-size: 12px; }
.memories-page .memory-notice-list { grid-template-columns: 1fr; }
.memories-page .memory-grid { grid-template-columns: 1fr; gap: 14px; }
.memories-page .memory-story-card, .memories-page .memory-notice-card, .memories-page .memory-empty { padding: 14px; border-radius: 17px; box-shadow: none; }
.memories-page .memory-story-meta time { width: 100%; margin: 2px 0 0; }
.memories-page .memory-story-body { font-size: 14px; line-height: 1.7; -webkit-line-clamp: 4; }
.memories-page .memory-gallery { height: 270px; border-radius: 13px; }
.memories-page .memory-story-footer { align-items: flex-start; }
.memories-page .memory-story-footer span { white-space: nowrap; }
.memories-page .memory-comment-form { grid-template-columns: 1fr auto; }
.memories-page .memory-comment-form input { grid-column: 1 / -1; }
.memories-page .memory-comment-form textarea { min-height: 72px; }
.memories-page .memory-comment-list { max-height: 320px; }
.memories-page .memory-comment.is-reply { margin-left: 12px; }
.memories-page .memory-viewer { width: 100%; height: 100%; border-radius: 0; }
.memories-page .memory-viewer figure { padding: 52px 38px; }
.memories-page .memory-viewer button { width: 42px; height: 42px; }
.memories-page .memory-compose { width: calc(100% - 20px); max-height: calc(100% - 20px); border-radius: 18px; }
.memories-page .memory-compose form { gap: 14px; padding: 18px 16px; }
.memories-page .memory-compose-head h2 { font-size: 22px; }
.memories-page .memory-compose-field textarea { min-height: 150px; }
.mobile-subview .member-card { display: flex; flex-direction: column; gap: 18px; padding: 20px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: none; margin: 0; }
.mobile-subview .member-title-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mobile-subview .member-title-row .item-title { font-size: 23px; }
.mobile-subview .member-title-chips { justify-content: flex-start; gap: 5px; }
.mobile-subview .member-chip { font-size: 11px; padding: 5px 8px; }
.mobile-subview .attendance-toggle { display: flex; gap: 6px; margin: 0; }
.mobile-subview .attendance-toggle button { flex: 1; min-height: 48px; border-radius: 10px; padding: 10px 3px; font-size: 13px; }
.mobile-subview .dues-money-field { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.mobile-subview .member-balance-line { margin: 0; padding: 15px 12px; border-radius: 10px; background: #f2f3ec; color: #707452; font-size: 15px; }
.mobile-subview .member-meta-line { margin: -6px 0; font-size: 13px; }
.mobile-subview .member-card-actions { display: flex; flex-direction: row; align-items: stretch; gap: 7px; flex-wrap: wrap; margin: 0; padding: 0; }
.mobile-subview .member-card-actions > button { min-height: 46px; font-size: 13px; padding: 10px; border-radius: 10px; }
.mobile-subview .member-card-actions > button:first-child { flex: 1; }
.mobile-subview .member-card-actions > button:last-child { flex: 1; background: var(--accent); color: white; border-color: var(--accent); }
.mobile-subview .member-finance-summary-link { flex-basis: 100%; order: -1; width: 100%; text-align: left; }
.mobile-finance-link-label { display: block; color: var(--accent); }
.mobile-finance-link-summary { display: block; margin-top: 8px; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.6; }
.mobile-finance-link-label, .mobile-text-button, .mobile-history-toggle,
.mobile-form-details > summary, .mobile-report-section > summary,
.report-import-trigger, .special-fee-trigger {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.mobile-history-toggle { color: #897a68; font-size: 12px; border: 0; background: transparent; padding: 10px; min-height: 44px; }
.mobile-subview .attendance-history { order: 9; padding: 0; margin: 0; }
.member-save-status:empty { display: none; }
.mobile-row-name { display: flex; align-items: center; gap: 5px; min-width: 0; }
.mobile-row-name strong { min-width: 0; }
.mobile-row-name .mobile-input-state { color: #7c8969; flex-shrink: 0; white-space: nowrap; }
.mobile-absence-badge { display: inline-block; width: fit-content; padding: 2px 7px; border-radius: 6px; background: #f1f0eb; color: #777062; font-size: 11px; line-height: 16px; }
.member-absence-flagged { background: #fff0cc !important; color: #855600 !important; font-weight: 700; }
.member-absence-guide { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff7e4; color: #855600; font-size: 13px; line-height: 1.6; }
.mobile-absence-rules { padding-top: 16px; border-top: 1px solid var(--line); }
.mobile-absence-rules h3 { margin: 0; font-size: 16px; }
.mobile-absence-rules p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.mobile-absence-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-finance-detail .member-finance-dialog { width: 100%; max-height: none; margin: 0; border: 0; padding: 18px; border-radius: 16px; box-shadow: none; }
.mobile-finance-detail .member-finance-dialog-head { display: none; }
.mobile-finance-detail .member-finance-money-grid { grid-template-columns: 1fr; }
.mobile-finance-detail .dues-status-toggle-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mobile-finance-detail .dues-status-toggle-row > div { display: flex; width: 100%; }
.mobile-finance-detail .dues-status-toggle-row button { flex: 1; min-height: 44px; border-radius: 10px; }
.report-import-modal { z-index: 1100; }
.report-import-dialog { max-height: calc(100vh - 32px); }
.mobile-subview .form-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
input:not([type=checkbox]):not([type=radio]), textarea, select { min-width: 0; max-width: 100%; font-size: 16px; }
.field input, .field textarea, .money-field input { width: 100%; border: 1px solid #e3dfd7; border-radius: 10px; padding: 11px 12px; background: #fff; color: var(--ink); box-shadow: none; }
.field input { min-height: 46px; }
.field span, .money-label { font-size: 13px; color: #7e7365; }
.field { min-width: 0; gap: 7px; }
.status-text { font-size: 12px; line-height: 1.6; }
.report-page .mobile-form-panel { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.mobile-form-panel > .section-head, .mobile-form-panel > .report-import-launch { display: none; }
.mobile-steps { display: flex; gap: 3px; padding: 4px; background: #ebece5; border-radius: 12px; margin-bottom: 17px; }
.mobile-step { flex: 1; min-height: 43px; font-size: 12px; padding: 8px 2px; border: 0; border-radius: 9px; background: transparent; color: #949284; white-space: nowrap; }
.mobile-step[aria-current=true] { color: var(--accent); background: white; font-weight: 700; box-shadow: 0 2px 5px #40301008; }
.report-page .report-form-shell { display: flex; flex-direction: column; gap: 12px; padding-bottom: 70px; }
.report-page .report-section { padding: 18px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: none; }
.report-page .report-section::before { display: none; }
.report-page .report-section-head { margin: 0 0 16px; gap: 7px; }
.report-page .report-section-head h3 { font-size: 17px; }
.report-page .report-section-head p { display: none; }
.report-page .report-grid-basic, .report-page .report-grid-money, .report-page .report-text-grid { grid-template-columns: 1fr; gap: 15px; margin: 0; }
.report-page .report-grid-money { grid-template-columns: 1fr 1fr; }
.report-page .report-grid-basic { grid-template-columns: 1fr 1fr; }
.report-page .report-grid-basic > label { grid-column: 1/-1; }
.report-page .report-grid-basic > .mobile-date-field { grid-column: auto; }
.report-page .report-section .field input { padding: 11px 12px; min-height: 46px; font-size: 16px; }
.report-page .report-section .field textarea { min-height: 84px; height: 84px; padding: 10px 12px; font-size: 15px; line-height: 1.5; }
.report-page .report-section .field span { font-size: 12px; }
.report-page .report-section .field input[readonly] { background: #f7f7f3; color: #6e7258; }
.report-page .checkbox-field { display: flex; gap: 8px; align-items: center; }
.report-page .checkbox-field input { width: 20px; height: 20px; min-height: 20px; accent-color: var(--accent); }
.report-page .report-section-items .report-section-head, .report-page .report-section-special-fee .report-section-head { margin: 0; display: flex; align-items: center; justify-content: space-between; }
.report-page .report-section-toggle { width: auto; flex-shrink: 0; margin: 0; padding: 9px 12px; min-height: 44px; font-size: 12px; }
.report-page .report-section-items .report-section-head { margin-bottom: 14px; }
.report-page .mobile-entry-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 10px; padding: 12px; border-radius: 12px; background: #f8f9f5; scroll-margin-block: 110px 190px; }
.report-page .mobile-entry-row > .field { grid-column: 1/-1; }
.report-page .mobile-entry-row .field input { width: 100%; min-width: 0; padding: 10px; }
.report-page .mobile-entry-row > button { grid-column: 2; justify-self: end; align-self: start; min-height: 44px; margin: 0; padding: 10px 8px; font-size: 12px; }
.mobile-entry-note { grid-column: 1; min-width: 0; }
.mobile-entry-note summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: #756b5e; font-size: 12px; text-decoration: underline; }
.mobile-entry-note[open] { grid-column: 1/-1; }
.mobile-entry-note > .field { margin-bottom: 4px; }
.mobile-item-actions { display: flex; gap: 10px; margin-bottom: 14px; }
.report-page .mobile-item-actions button { flex: 1; min-height: 48px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-weight: 700; }
.report-page .mobile-item-actions #open-income-items { background: #edf3eb; color: #3c6343; }
.report-page .mobile-item-actions #open-expense-items { background: #faf0e9; color: #955030; }
.mobile-items-summary { margin: 2px 0; font-size: 13px; line-height: 1.6; color: #88775e; }
.mobile-items-view .mobile-view-content { padding-bottom: 110px; }
.mobile-items-panel { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.mobile-items-panel > span { margin-bottom: 8px; font-weight: 700; }
.mobile-items-panel .field input { font-size: 16px; }
.mobile-items-controls { position: fixed; z-index: 920; bottom: 72px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 640px; display: flex; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-items-controls > button { flex: 1; width: auto; min-height: 48px; padding: 12px; margin: 0; border-radius: 12px; font-size: 14px; }
.mobile-items-controls > .secondary-button { border: 1px dashed var(--accent); background: white; color: var(--accent); }
.mobile-form-details { grid-column: 1/-1; width: 100%; border-top: 1px solid var(--line); margin-top: 3px; }
.mobile-form-details summary { padding: 14px 0 5px; font-size: 13px; color: #88775e; cursor: pointer; }
.mobile-form-details[open] > .form-grid { margin: 14px 0 0; grid-template-columns: 1fr; gap: 12px; }
.mobile-form-details > .field { margin-top: 12px; }
.mobile-wizard-controls { position: fixed; z-index: 905; bottom: 72px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 640px; display: flex; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-wizard-controls #submit-report-button { flex: 2; width: auto; }
.mobile-primary, .mobile-secondary { flex: 1; min-height: 48px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: white; color: #72624f; font-size: 14px; font-weight: 600; }
.mobile-primary { background: var(--accent); border-color: var(--accent); color: white; }
.report-page .report-section-actions { padding: 0; border: 0; background: transparent; }
.report-page .report-section-actions .action-row { margin: 0; }
#submit-report-button { width: 100%; min-height: 50px; background: var(--accent); border-radius: 12px; }
.reports-page .page > .two-column { display: none; }
.mobile-report-list-panel { margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
.mobile-report-list-panel > .section-head { display: none; }
#report-list { display: flex; flex-direction: column; gap: 10px; margin: 0; }
#report-list .mobile-report-row { position: relative; padding: 18px 36px 18px 17px; min-height: 82px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: none; color: var(--ink); }
#report-list .mobile-report-row .item-title { font-size: 17px; }
#report-list .mobile-report-row p { margin: 7px 0 0; font-size: 12px; color: #958a7c; line-height: 1.5; }
#report-list .mobile-report-row > svg { position: absolute; right: 12px; top: 32px; width: 16px; color: #b0a48f; }
.mobile-report-overview { display: flex; flex-direction: column; padding: 24px 20px 18px; border-radius: 18px; background: #6e765b; color: #fff; }
.mobile-report-overview > small { font-size: 13px; color: #e4e7d8; margin-bottom: 24px; }
.mobile-report-overview > span { font-size: 12px; color: #dbe0d0; }
.mobile-report-overview > strong { font-size: 30px; letter-spacing: -1px; margin: 7px 0 20px; }
.mobile-report-sums { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding-top: 17px; border-top: 1px solid #ffffff30; }
.mobile-report-sums > div { display: flex; flex-direction: column; gap: 7px; }
.mobile-report-sums small { font-size: 10px; color: #dbe0d0; }
.mobile-report-sums b { font-size: 12px; font-weight: 500; }
.mobile-report-actions { display: flex; gap: 8px; margin: 16px 0; }
.mobile-report-full-trigger { display: block; width: 100%; min-height: 50px; margin: 16px 0 0; }
.mobile-report-full .mobile-view-content { padding-bottom: 160px; }
.mobile-report-paper { padding: 20px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.mobile-report-document { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 15px; line-height: 1.85; color: var(--ink); user-select: text; }
.mobile-report-full-actions { position: fixed; z-index: 920; bottom: 72px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 640px; display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-report-full-actions > button { flex: 1; width: auto; min-height: 48px; margin: 0; padding: 12px 8px; font-size: 14px; }
.mobile-report-copy-status { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.mobile-report-copy-status:empty { display: none; }
.mobile-report-section { margin-top: 9px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mobile-report-section > summary { padding: 17px; font-size: 14px; cursor: pointer; }
.mobile-report-section .panel { padding: 0 17px 17px; border: 0; border-radius: 0; }
.mobile-report-section .section-head { display: block; }
.mobile-report-section .section-head h2 { display: none; }
.mobile-report-section .section-head p { font-size: 13px; line-height: 1.6; }
.mobile-report-section .item-card { padding: 12px; box-shadow: none; }
.mobile-report-section .stat-value { font-size: 22px; }
.moim-app-gate { position: fixed; z-index: 950; inset: 80px 0 0; display: grid; place-items: center; padding: 28px; background: var(--bg); }
.moim-app-gate > div { max-width: 420px; text-align: center; }
.moim-app-gate h2 { font-size: 23px; }
.moim-app-gate p { line-height: 1.8; color: #756858; }
.moim-app-gate button { background: var(--accent); border: 0; color: white; border-radius: 12px; padding: 14px 20px; font-size: 16px; }
.moim-data-locked .page { visibility: hidden; }
.moim-loader { display: block; margin: 0 auto 24px; width: 32px; height: 32px; border: 3px solid #e8d4c3; border-top-color: var(--accent); border-radius: 50%; animation: moim-spin 1s linear infinite; }
.moim-recovery { padding: 14px; border: 1px solid #cfa88a; background: #fff5e7; border-radius: 14px; margin: 12px 0; }
.moim-recovery button { margin-right: 8px; }
@keyframes moim-spin { to { transform: rotate(360deg); } }
.members-page .mobile-subview .member-card::before { display: none; }
.members-page .mobile-subview .member-card .item-title { font-size: 23px; }
.members-page .mobile-subview .member-title-row { border: 0; }
.members-page .mobile-subview .member-card-actions .inline-button { min-height: 46px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.members-page .mobile-subview .money-input { min-height: 46px; font-size: 18px; }
@media (max-width: 350px) { .page, .mobile-view-content { padding-left: 12px; padding-right: 12px; } .mobile-avatar { display: none; } .mobile-row-balance strong { font-size: 12px; } .mobile-report-sums { grid-template-columns: 1fr; } }
@media print { .moim-app-header, .top-nav, .member-inline-nav { display: none !important; } body { padding-top: 0; } }
