/* Gaegu Bold: Google Fonts / Gaegu Project Authors, SIL OFL 1.1 (fonts/OFL.txt). */
@font-face { font-family: "Winj Habit"; src: url("fonts/Gaegu-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
.wp-page { --pt-blue: #48675c; --pt-ink: #2f3c37; }
.wp-page .pt-hero { background: linear-gradient(115deg, #364b43, #64745b); }
.wp-toolbar { margin-bottom: 20px; }
.wp-page .wp-control-title { margin: 0 0 10px; font-size: 12px; letter-spacing: .02em; color: #65766a; }
.wp-control-group { min-width: 0; }
.wp-view-controls > label { flex: 1 1 145px; }
.wp-view-controls > button { flex: 0 1 auto; }
#wp-view-settings { padding-bottom: 18px; border-bottom: 1px solid #e3e9e1; }
.wp-control-panels { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 24px; padding-top: 18px; }
.wp-control-panels .wp-tools > button { flex: 1 1 auto; }
.wp-control-panels #wp-goodnotes { flex-basis: 100%; }
.wp-add-menu { margin-top: 12px; }
.wp-page .wp-add-menu > summary, .wp-page .wp-advanced > summary { color: #48675c; font-size: 12px; }
.wp-add-menu[open] > summary { margin-bottom: 10px; }
.wp-download-results { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.wp-page .wp-download-results .pt-button { font-size: 11px; min-height: 32px; padding: 5px 9px; }
.wp-advanced { border-top: 1px solid #e3e9e1; padding-top: 14px; margin-top: 18px; }
.wp-file-actions { margin-top: 12px; }
.wp-output-status { display: flex; align-items: center; gap: 12px; min-height: 40px; padding-top: 12px; }
.wp-autosave { margin-top: 12px; padding: 12px 14px; border: 1px solid #c9ded8; border-radius: 10px; background: #f4faf8; color: #325c50; }
.wp-autosave-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; font-size: 12px; }
.wp-autosave-heading strong { font-size: 12px; }
.wp-autosave-heading > span { flex: 1 1 190px; font-variant-numeric: tabular-nums; }
.wp-autosave-heading button { min-height: 30px; padding: 4px 8px; font-size: 11px; }
.wp-autosave-hint,.wp-autosave #wp-autosave-draft p { margin: 6px 0 0; font-size: 11px; line-height: 1.7; }
.wp-autosave[data-state="saving"] { color: #4d6474; background: #f3f7fb; border-color: #d0dee9; }
.wp-autosave[data-state="failed"],.wp-autosave[data-state="corrupt"],.wp-autosave[data-state="conflict"] { color: #8a452f; border-color: #e4b7a0; background: #fff7f0; }
#wp-autosave-draft .wp-tools { margin-top: 8px; }
#wp-autosave-draft button { min-height: 32px; padding: 5px 9px; font-size: 11px; }
.wp-dialog.wp-archive-dialog { width: min(960px, calc(100vw - 30px)); }
.wp-archive-content { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(220px,1fr); gap: 18px; align-items: start; }
.wp-archive-list { display: grid; gap: 10px; max-height: 36vh; overflow: auto; padding: 2px; overscroll-behavior: contain; }
.wp-archive-card { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid #d3dfe8; border-radius: 10px; background: #f7fafd; }
.wp-archive-card-body { flex: 1; min-width: 0; }
.wp-archive-card h3 { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; margin: 0; }
.wp-archive-card p { margin: 4px 0 0; }
.wp-archive-period { color: #385b79; font-size: 12px; }
.wp-archive-meta { color: #647585; font-size: 11px; }
.wp-archive-card button { flex: 0 0 auto; font-size: 12px; padding: 7px 11px; }
.wp-archive-current { display: inline-block; font-size: 11px; color: #315e4e; background: #e5f0e8; border-radius: 4px; padding: 3px 6px; margin-top: 6px; }
.wp-archive-count { margin: 0; color: #5c6d7b; font-size: 12px; }
.wp-archive-create { display: grid; grid-template-columns: 1fr; gap: 10px 16px; padding: 10px 12px; border: 1px solid #d3dfe8; border-radius: 10px; background: #f7fafd; }
.wp-archive-create h3 { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.wp-archive-dialog .wp-dialog-actions { position: sticky; bottom: -22px; background: #fff; border-top: 1px solid #e0e6ec; padding: 12px 0 6px; }
.wp-archive-transfer { padding: 10px 0; border-block: 1px solid #e3e9ef; }
.wp-archive-help { font-size: 12px; color: #4e6577; }
.wp-archive-help summary { cursor: pointer; }
.wp-backup-download { overflow-wrap: anywhere; max-width: 100%; }
.wp-import-summary { padding: 14px; border: 1px solid #cadce8; border-radius: 9px; background: #f3f8fc; color: #315b7a; line-height: 1.8; }
.wp-import-warning { padding: 12px 14px; border: 1px solid #e4cc96; border-radius: 9px; background: #fff9ec; color: #805d25; font-size: 12px; line-height: 1.8; }
.wp-readability { margin: 12px 0; padding: 14px 16px; border: 1px solid #e3c98d; border-radius: 10px; background: #fffaf0; color: #805c24; font-size: 12px; line-height: 1.7; }
.wp-readability[hidden] { display: none !important; }
.wp-readability p { margin: 5px 0; }
.wp-readability ul { margin: 6px 0; padding-left: 21px; }
@media (max-width: 720px) { .wp-archive-content { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .wp-archive-card { gap: 8px; padding: 10px; }
  .wp-archive-create { grid-template-columns: 1fr; }
}
.wp-page .wp-output-status .pt-status { margin: 0; flex: 1; font-size: 12px; font-variant-numeric: tabular-nums; }
.wp-page #wp-cancel-export { flex: 0 0 auto; min-height: 32px; padding: 5px 10px; }
.wp-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.wp-tools + .wp-tools { margin-top: 12px; }
.wp-tools label { margin: 0; min-width: 125px; }
.wp-tools select { display: block; min-width: 125px; }
.wp-scroll { overflow: auto; width: 100%; border-radius: 12px; border: 1px solid #d9ded5; padding: 14px; background: #eaece6; }
.wp-scroll:focus-visible { outline: 3px solid #839c8d; outline-offset: 3px; }
#wp-stage { position: relative; }
#wp-stage > .wp-sheet { transform-origin: top left; }
.wp-page #wp-fit[aria-pressed="true"] { background: #edf3ed; border-color: #8da693; }
.wp-sheet { width: 1420px; padding: 28px; background: #fffef7; color: #364039; font-family: Arial, "Malgun Gothic", "Yu Gothic", "Microsoft YaHei", sans-serif; box-shadow: 0 3px 14px #33453713; }
.wp-sheet * { box-sizing: border-box; }
.wp-sheet h2, .wp-sheet h3, .wp-sheet p { margin: 0; color: inherit; }
.wp-sheet h2 { font-size: 24px; line-height: 1.4; }
.wp-sheet h3 { font-size: 12px; line-height: 1.4; }
.wp-sheet button { appearance: none; display: block; min-height: 0; width: 100%; border: 0; border-radius: 0; padding: 4px 6px; background: transparent; color: inherit; text-align: left; font: inherit; font-weight: inherit; line-height: inherit; cursor: pointer; overflow-wrap: anywhere; }
.wp-sheet button:hover { background: #e7ece25e; }
.wp-sheet button:focus-visible { outline: 2px solid #537c69; outline-offset: -2px; }
.wp-sheet-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 2px solid #89978a; }
.wp-sheet-title { max-width: 68%; }
.wp-period { font-size: 14px; color: #536153; margin-top: 5px !important; }
.wp-summary { text-align: right; font-size: 11px; line-height: 1.8; color: #65715f; white-space: pre-line; }
.wp-legend { display: flex; flex-wrap: wrap; gap: 7px 14px; padding: 10px 0; font-size: 10px; }
.wp-legend span { display: inline-flex; align-items: center; gap: 5px; }
.wp-sheet .wp-legend { justify-content: flex-start; }
.wp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #0002; flex: 0 0 auto; }
.wp-routine-table { border-collapse: collapse; width: 100%; table-layout: fixed; margin: 0 0 12px; font-size: 10px; }
.wp-routine-table caption { text-align: left; padding: 6px 0; font-size: 12px; font-weight: 700; color: #364039; }
.wp-routine-table th, .wp-routine-table td { border: 1px solid #bac4b6; padding: 0; text-align: left; vertical-align: top; white-space: normal; }
.wp-routine-table th { background: #f0f2e8; font-weight: 600; }
.wp-routine-table tr:last-child td { border-bottom: 1px solid #bac4b6; }
.wp-routine-table .wp-routine-label { width: 180px; }
.wp-routine-table .wp-routine-head { min-height: 36px; font-size: 11px; }
.wp-routine-table .wp-routine-entry { min-height: 37px; white-space: pre-line; line-height: 1.45; }
.wp-routine-label small { display: block; color: #6c7469; font-size: 9px; margin-top: 2px; }
.wp-mark { font-size: 12px; margin-right: 4px; }
.wp-weekend { color: #8772a0 !important; }
.wp-sunday { color: #ac6b72 !important; }
.wp-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); border: 1px solid #bac4b6; }
.wp-priorities { padding: 10px; border-right: 1px solid #bac4b6; }
.wp-priority { margin-bottom: 14px; }
.wp-priority button { min-height: 66px; padding: 8px 0; font-size: 11px; white-space: pre-line; border-bottom: 1px solid #dce0d3; }
.wp-time-board { position: relative; min-width: 0; padding-left: 35px; padding-top: 30px; }
.wp-time-headings { position: absolute; top: 0; left: 35px; right: 0; height: 30px; display: grid; background: #edf0e6; }
.wp-time-headings strong { border-left: 1px solid #bac4b6; padding: 6px; font-size: 10px; }
.wp-time-labels { position: absolute; left: 0; top: 30px; width: 35px; font-size: 9px; color: #798173; }
.wp-time-label { position: absolute; left: 4px; transform: translateY(-1px); }
.wp-day-columns { display: grid; height: 100%; }
.wp-day-column { position: relative; border-left: 1px solid #bac4b6; min-width: 0; }
.wp-day-column .wp-slot { position: absolute; left: 0; height: 20px; padding: 0; z-index: 0; border-top: 1px solid #e1e5d7; }
.wp-day-column .wp-slot:hover { background: #e7eddc; }
.wp-slot:focus-visible { z-index: 3; }
.wp-event { position: absolute; border-left: 3px solid #5d7057; z-index: 1; padding: 2px; }
.wp-event button { height: 100%; border: 1px solid #0001; padding: 2px 4px; font-size: 10px; line-height: 1.25; white-space: pre-line; overflow: hidden; }
.wp-movable-event { touch-action: none; cursor: grab; }
.wp-event-dragging { opacity: .4; cursor: grabbing; }
.wp-event-drop-target { outline: 2px dashed var(--wp-accent, #397ca6); outline-offset: -2px; background-color: #dcedfa66; }
.wp-event-drag-ghost { position: fixed; z-index: 10000; width: 220px; box-sizing: border-box; padding: 10px; border: 2px solid #397ca6; border-radius: 8px; background: #f2f8ff; color: #1f435d; box-shadow: 0 4px 20px #182e4e33; font: 12px/1.4 Arial, "Malgun Gothic", sans-serif; white-space: pre-line; pointer-events: none; }
.wp-event-drag-ghost[data-valid="false"] { border-color: #9b5360; }
.wp-event-hint { font-size: 11px; color: var(--wp-muted); margin: 2px 0 8px; }
.wp-timetable-picker { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 11px; }
.wp-timetable-picker select { max-width: 180px; border: 1px solid var(--wp-line); border-radius: 5px; background: var(--wp-paper); color: var(--wp-ink); padding: 5px; font: inherit; }
.wp-horizontal-board { width: 100%; padding-top: 24px; position: relative; }
.wp-horizontal-axis { position: absolute; left: 105px; right: 0; top: 0; height: 24px; font-size: 8px; color: var(--wp-muted); }
.wp-horizontal-axis span { position: absolute; top: 5px; }
.wp-horizontal-row { display: grid; grid-template-columns: 105px minmax(0,1fr); border-top: 1px solid var(--wp-line); }
.wp-horizontal-date { padding: 8px 5px; font-size: 10px; background: var(--wp-header); overflow-wrap: anywhere; }
.wp-horizontal-track { position: relative; border-left: 1px solid var(--wp-line); min-width: 0; }
.wp-horizontal-track > .wp-slot { position: absolute; height: 100%; padding: 0; border-left: 1px solid var(--wp-line); }
.wp-horizontal-track .wp-event { padding: 1px; }
.wp-card-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; width: 100%; }
.wp-sheet[data-mode="daily"] .wp-card-board { grid-template-columns: 1fr; }
.wp-time-card { border: 1px solid var(--wp-line); min-width: 0; }
.wp-time-card h4 { margin: 0; padding: 8px; font-size: 11px; background: var(--wp-header); }
.wp-card-time-area { position: relative; padding-left: 35px; }
.wp-card-time-area > .wp-time-labels { top: 0; }
.wp-card-time-area .wp-event button { font-size: 9px; }
.wp-layout-mini { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 12px 16px 12px; gap: 3px; padding: 8px !important; box-sizing: border-box; }
.wp-layout-mini i { border: 1px solid #6b96b0; background: #d7e9f5; border-radius: 2px; }
.wp-layout-mini i:first-child { grid-column: 1 / -1; }
.wp-layout-mini i:nth-child(2) { grid-row: 2 / 4; }
.wp-event time { display: block; font-size: 8px; opacity: .85; margin-bottom: 1px; }
.wp-event[data-done="true"] button { text-decoration: line-through; }
.wp-reviews { display: grid; margin-top: 12px; border-top: 1px solid #bac4b6; border-left: 1px solid #bac4b6; }
.wp-agenda { margin-top: 12px; }
.wp-agenda-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin-top: 5px; }
.wp-sheet .wp-agenda-entry { padding: 5px; font-size: 10px; white-space: pre-line; }
.wp-sheet[data-mode="daily"] .wp-agenda-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.wp-sheet .wp-legend { display: flex; }
.wp-dialog-fields label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.wp-dialog-fields label:has(input[type="checkbox"]) { flex-direction: row-reverse; justify-content: start; align-items: start; }
.wp-dialog-fields label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; }
.wp-review { border-right: 1px solid #bac4b6; border-bottom: 1px solid #bac4b6; padding: 6px; min-width: 0; }
.wp-review button { min-height: 46px; padding: 0; font-size: 9px; white-space: pre-line; line-height: 1.35; }
.wp-review strong { display: block; font-size: 9px; margin-bottom: 3px; }
.wp-sheet[data-mode="daily"] { width: 1040px; }
.wp-sheet[data-mode="daily"] .wp-body { grid-template-columns: 245px minmax(0,1fr); }
.wp-sheet[data-mode="daily"] .wp-routine-table .wp-routine-label { width: 245px; }
.wp-sheet[data-mode="daily"] .wp-event button { font-size: 13px; }
.wp-sheet[data-mode="monthly"] .wp-routine-table { font-size: 9px; }
.wp-sheet[data-mode="monthly"] .wp-routine-table .wp-routine-label { width: 150px; }
.wp-sheet[data-mode="monthly"] .wp-routine-entry { text-align: center; min-height: 25px; padding: 3px 0; }
.wp-month-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: #edf0e6; border: 1px solid #bac4b6; }
.wp-month-weekdays strong { padding: 8px; font-size: 11px; }
.wp-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-left: 1px solid #bac4b6; }
.wp-month-day { border-right: 1px solid #bac4b6; border-bottom: 1px solid #bac4b6; padding: 5px; min-height: 112px; min-width: 0; }
.wp-month-day.is-empty { background: #f5f5ed; }
.wp-month-date { font-weight: 700 !important; font-size: 12px !important; min-height: 25px !important; }
.wp-month-day .wp-month-event { margin: 3px 0; padding: 4px; font-size: 10px; line-height: 1.4; white-space: pre-line; }
.wp-sheet .wp-month-review { margin-top: 6px; border-top: 1px dashed #d3d9c9; font-size: 10px; line-height: 1.4; white-space: pre-line; }
.wp-month-priorities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 12px; border: 1px solid #bac4b6; padding: 10px; }
.wp-dialog { width: min(94vw, 600px); max-height: 88vh; overflow: auto; border: 1px solid #d5dfd3; border-radius: 16px; padding: 22px; box-shadow: 0 12px 70px #152f3233; color: #2e443a; }
.wp-dialog::backdrop { background: #17262090; }
.wp-dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.wp-dialog-heading h2 { margin: 0; font-size: 21px; }
.wp-dialog-heading button { min-width: 36px; padding: 2px 9px; font-size: 24px; }
.wp-dialog-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.wp-dialog-fields label { margin: 0; }
.wp-dialog-fields .wp-full { grid-column: 1 / -1; }
.wp-dialog-fields textarea { min-height: 85px; }
.wp-dialog-fields input[type="color"] { padding: 4px; }
.wp-dialog-fields input[type="checkbox"] { flex: 0 0 18px; }
.wp-dialog-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; margin-top: 15px; }
.wp-dialog #wp-delete { margin-right: auto; color: #a33d32; }
.wp-dialog #wp-dialog-error { color: #a33d32; }
.wp-print-root { display: none; }
.wp-sheet { background: var(--wp-paper, #fffef7); color: var(--wp-ink, #364039); }
.wp-sheet-header { border-color: var(--wp-accent, #48675c); }
.wp-sheet .wp-period, .wp-sheet .wp-summary, .wp-routine-label small { color: var(--wp-muted, #65715f); }
.wp-sheet .wp-routine-table th, .wp-time-headings, .wp-month-weekdays { background: var(--wp-header, #f0f2e8); color: var(--wp-ink, #364039); }
.wp-sheet .wp-routine-table th, .wp-sheet .wp-routine-table td, .wp-body, .wp-day-column, .wp-time-headings strong,
.wp-reviews, .wp-review, .wp-month-weekdays, .wp-calendar, .wp-month-day, .wp-month-priorities { border-color: var(--wp-line, #bac4b6); }
.wp-sheet .wp-slot { border-top-color: var(--wp-line, #bac4b6); opacity: .55; }
.wp-sheet .wp-schedule { display: block; }
.wp-sheet .wp-month-priorities { margin-top: 0; }
.wp-planner-section { margin-top: 14px; }
.wp-section-heading { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 30px; margin-bottom: 7px; padding: 4px 8px; background: var(--wp-header, #f0f2e8); border-left: 3px solid var(--wp-accent, #48675c); }
.wp-sheet .wp-section-heading h3 { margin: 0; color: inherit; font-size: 13px; }
.wp-sort-controls { display: inline-flex; gap: 3px; align-items: center; padding: 2px 3px; }
.wp-sheet .wp-sort-controls button { display: inline-flex; align-items: center; justify-content: center; width: 26px; min-width: 26px; height: 26px; border: 1px solid var(--wp-line, #bac4b6); border-radius: 4px; padding: 0; background: var(--wp-paper, #fffef7); color: var(--wp-ink, #364039); font-size: 15px; }
.wp-sheet .wp-sort-controls button:disabled { opacity: .3; }
.wp-drag-handle { touch-action: none; cursor: grab !important; user-select: none; }
.wp-dragging, .wp-dragging * { cursor: grabbing !important; user-select: none !important; }
.wp-drop-target { outline: 3px dashed var(--wp-accent, #48675c); outline-offset: -3px; }
.wp-theme-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.wp-page .wp-theme-card { display: flex; flex-direction: column; align-items: stretch; gap: 9px; padding: 6px; border: 2px solid #d5dfd3; font-size: 12px; }
.wp-page .wp-theme-card[aria-pressed="true"] { border-color: #48675c; box-shadow: 0 0 0 2px #48675c25; }
.wp-palette-panel { border: 1px solid #d7e1d9; border-radius: 12px; padding: 12px; }
.wp-palette-panel[open] > summary { margin-bottom: 14px; }
.wp-palette-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.wp-palette-swatches { display: flex; flex-wrap: wrap; gap: 8px; padding: 3px; }
.wp-page .wp-palette-swatch { display: inline-block; width: 34px; min-width: 34px; min-height: 34px; padding: 0; border-radius: 50%; border: 3px solid white; outline: 1px solid #c7d0ca; }
.wp-page .wp-palette-swatch[aria-pressed="true"] { outline: 3px solid #48675c; }
.wp-palette-live { border: 1px solid; border-top: 5px solid; border-radius: 8px; padding: 10px; }
.wp-palette-live > strong { display: block; padding: 8px; font-size: 12px; }
.wp-palette-preview-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.wp-palette-preview-chips > span { border-radius: 5px; padding: 7px 10px; font-size: 11px; }
.wp-category-list { display: grid; gap: 12px; }
.wp-category-row { display: grid; grid-template-columns: minmax(0,1fr) 80px 34px; gap: 10px; align-items: end; padding: 12px; background: #f6f8f5; border: 1px solid #dce4db; border-radius: 10px; }
.wp-category-row label { margin: 0; }
.wp-page .wp-category-remove { width: 34px; min-width: 34px; padding: 0; color: #a33d32; font-size: 20px; }
.wp-page .wp-page-count { margin: 0; padding: 10px; border-radius: 8px; background: #edf3ed; color: #3d624d; font-size: 13px; font-weight: 700; }
.wp-sheet .wp-month-day.is-empty { background: var(--wp-header, #f0f2e8); }
.wp-sheet .wp-routine-table caption, .wp-sheet .wp-time-labels { color: var(--wp-muted, #65715f); }
.wp-sheet .wp-priority button { border-bottom-color: var(--wp-line, #bac4b6); }
.wp-sheet .wp-event { border-left-color: var(--wp-accent, #48675c); }
.wp-sheet button:hover { background-color: var(--wp-header, #f0f2e8); }
.wp-theme-preview { display: block; width: 100%; height: 80px; border: 1px solid; border-radius: 3px; padding: 8px; }
.wp-theme-preview > i { display: block; height: 5px; margin-bottom: 10px; }
.wp-theme-dots { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
.wp-theme-dots i { display: block; height: 16px; }
.wp-export-host { position: fixed; left: -20000px; top: 0; pointer-events: none; }
.wp-sheet[data-orientation="portrait"] { width: 1040px; min-height: 1471px; }
.wp-sheet[data-orientation="landscape"] { width: 1600px; min-height: 1132px; }
.wp-sheet .wp-check-control { display: inline-flex; justify-content: center; align-items: center; width: 28px; min-width: 24px; min-height: 28px; padding: 3px; flex: 0 0 auto; }
.wp-check-box { display: inline-flex; width: 17px; height: 17px; border: 1.5px solid currentColor; border-radius: 2px; justify-content: center; align-items: center; font: 700 13px/1 Arial, sans-serif; color: var(--wp-accent, #48675c); background: var(--wp-paper, #fffef7); font-style: normal; }
.wp-check-control[aria-checked="true"] .wp-check-box { background: var(--wp-header, #f0f2e8); }
.wp-check-entry { display: flex; justify-content: center; align-items: center; gap: 3px; padding-top: 3px; }
.wp-weekday-badge { font-size: 10px; font-weight: 700; }
.wp-routine-table .wp-routine-head small { display: block; margin-top: 2px; font-size: 9px; }
.wp-sheet[data-mode="monthly"] .wp-check-control { min-width: 20px; width: 20px; min-height: 24px; padding: 2px; }
.wp-sheet[data-mode="monthly"] .wp-check-box { width: 15px; height: 15px; font-size: 11px; }
.wp-sheet .wp-review-check { display: flex; gap: 2px; align-items: flex-start; }
.wp-sheet .wp-review-line { min-height: 23px; padding-top: 3px; font-size: 9px; flex: 1; min-width: 0; }
.wp-review-check .wp-check-control { width: 22px; min-width: 22px; min-height: 23px; padding: 2px; }
.wp-review-check .wp-check-box { width: 14px; height: 14px; font-size: 11px; }
.wp-sheet[data-mode="daily"] .wp-review-line { min-height: 26px; font-size: 10px; }
.wp-section-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.wp-routine-count { font-size: 11px; color: var(--wp-muted, #65715f); }
.wp-sheet .wp-add-row, .wp-sheet .wp-add-rows, .wp-sheet .wp-edit-review-labels { width: auto; min-height: 29px; padding: 4px 9px; border: 1px solid var(--wp-line, #bac4b6); border-radius: 5px; background: var(--wp-paper, #fffef7); font-size: 11px; }
.wp-sheet .wp-edit-review-labels { margin-left: auto; }
.wp-sheet .wp-add-row:disabled, .wp-sheet .wp-add-rows:disabled { opacity: .4; cursor: default; }
.wp-record-list { display: grid; gap: 10px; }
.wp-record-row { display: grid; grid-template-columns: 26px minmax(0,1fr) auto 28px; gap: 9px; align-items: end; padding: 12px; background: #f4f8fc; border: 1px solid #d6e2ed; border-radius: 9px; }
.wp-record-row > label { min-width: 0; }
.wp-record-row input[type="text"] { width: 100%; min-width: 0; }
.wp-record-row.wp-drop-target { outline-color: #3c658b; background: #eaf3fc; }
.wp-record-sort { flex-direction: column; align-self: center; padding: 0; gap: 3px; }
.wp-page .wp-record-sort button { width: 26px; min-width: 26px; height: 20px; min-height: 20px; padding: 0; border: 1px solid #b7cadc; border-radius: 4px; background: white; font-size: 12px; }
.wp-page .wp-record-sort .wp-drag-handle { height: 28px; min-height: 28px; font-size: 18px; }
.wp-record-sort button:disabled { opacity: .3; }
.wp-record-sort-status { margin: 0; color: #3c658b; font-size: 11px; }
.wp-record-row > label:has(input[type="checkbox"]) { padding-bottom: 10px; }
.wp-page .wp-record-remove { width: 28px; min-width: 28px; min-height: 36px; padding: 0; color: #a33d32; font-size: 20px; }
.wp-record-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wp-record-count { color: #60788d; font-size: 12px; }
.wp-sheet .wp-record-line { display: block; padding: 2px 0; }
.wp-sheet .wp-cell-count { display: block; font-size: 8px; color: var(--wp-muted, #65715f); }
.wp-month-record-details { display: grid; gap: 4px; margin-top: 10px; }
.wp-sheet .wp-month-record-entry { padding: 4px 6px; font-size: 11px; white-space: pre-line; }
.wp-sheet .wp-habit-day[aria-checked="mixed"] { color: var(--wp-accent, #48675c) !important; }
.wp-habit-day[aria-checked="mixed"] .wp-habit-day-name { border-color: var(--wp-accent, #48675c); border-style: dashed; font-weight: 700; }
.wp-design-subtitle { margin: 0; font-size: 14px; }
.wp-style-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.wp-page .wp-style-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 8px; border: 2px solid #d5dfd3; border-radius: 10px; background: #fbfcf8; text-align: left; }
.wp-page .wp-style-card[aria-pressed="true"] { border-color: #48675c; box-shadow: 0 0 0 2px #48675c20; }
.wp-style-card > strong { font-size: 13px; }
.wp-style-card > small { font-size: 11px; line-height: 1.5; color: #65766a; }
.wp-style-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 6px 2px; border-radius: 6px; background: #edf2e8; color: #48675c; }
.wp-style-preview > span:not(.wp-style-sample) { width: 100%; text-align: center; font-size: 12px; }
.wp-style-sample { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.wp-style-sample small { font-size: 8px; }
.wp-style-sample .wp-check-box { width: 13px; height: 13px; font-size: 10px; }
.wp-style-card[data-routine-style="weekday"] .wp-style-preview { gap: 2px; }
.wp-sheet .wp-habit-section-tools { background: transparent; border: 0; padding-left: 0; color: var(--wp-muted, #65715f); }
.wp-sheet .wp-habit-section-tools h3 { font-size: 11px; font-weight: 400; }
.wp-habit-panel { background: #fff; color: #4c5050; border: 1.5px solid #8f9291; padding: 28px 30px 10px; }
.wp-sheet .wp-habit-title { text-align: center; font-size: 34px; font-weight: 700; line-height: 1.4; letter-spacing: 4px; color: #373b3b; }
.wp-sheet .wp-habit-period { text-align: center; color: #949897; font-size: 11px; margin: 6px 0 22px; letter-spacing: .4px; }
.wp-habit-row { position: relative; display: grid; grid-template-columns: 36px 48px minmax(0,1fr) minmax(300px,42%); align-items: center; gap: 16px; min-height: 108px; padding: 22px 4px; border-bottom: 1.5px dashed #a4a8a6; }
.wp-habit-row:last-child { border-bottom: 0; }
.wp-sheet .wp-habit-master { width: 36px; min-width: 36px; min-height: 44px; padding: 0; }
.wp-habit-master .wp-check-box { width: 31px; height: 31px; border: 1.5px solid #898e8b; border-radius: 0; font-size: 24px; background: #fff; }
.wp-habit-master[aria-checked="true"] .wp-check-box, .wp-habit-master[aria-checked="mixed"] .wp-check-box { color: var(--wp-accent, #48675c); background: #fff; border-color: var(--wp-accent, #48675c); }
.wp-habit-icon { display: block; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; font-size: 39px; text-align: center; line-height: 1.25; }
.wp-sheet .wp-habit-definition { width: auto; min-width: 0; padding: 4px 2px; line-height: 1.5; }
.wp-sheet .wp-habit-definition:hover { background: transparent; }
.wp-habit-name { display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 3px 15px; border-radius: 24px; font-family: "Winj Habit", "Malgun Gothic", "Yu Gothic", "Microsoft YaHei", sans-serif; font-size: 34px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.wp-habit-goal { display: block; margin: 5px 0 0 14px; font-family: "Winj Habit", "Malgun Gothic", "Yu Gothic", "Microsoft YaHei", sans-serif; font-size: 22px; color: #8b918e; font-weight: 700; }
.wp-habit-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px 2px; align-items: center; }
.wp-habit-days[data-count="1"] { grid-template-columns: 1fr; justify-self: end; width: 70px; }
.wp-habit-day-cell { position: relative; min-width: 0; }
.wp-sheet .wp-habit-day { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 49px; padding: 3px 0; color: #a3a8a6; text-align: center; }
.wp-sheet .wp-habit-day:hover { background: #f4f7f3; border-radius: 28px; }
.wp-habit-day .wp-habit-day-name { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; border: 1.5px solid transparent; border-radius: 50%; font-size: 25px; font-weight: 400; line-height: 1; }
.wp-sheet .wp-habit-day.wp-weekend { color: #a9a7d0 !important; }
.wp-sheet .wp-habit-day.wp-sunday { color: #e7a4aa !important; }
.wp-sheet .wp-habit-day[aria-checked="true"] { color: var(--wp-accent, #48675c) !important; }
.wp-habit-day[aria-checked="true"] .wp-habit-day-name { border-color: var(--wp-accent, #48675c); background: #f3f7ef; font-weight: 700; }
.wp-habit-day-tick { position: absolute; top: 0; right: 0; font-size: 12px; line-height: 1; color: var(--wp-accent, #48675c); }
.wp-habit-day-number { font-size: 10px; margin-top: 2px; color: #a3a8a6; }
.wp-sheet .wp-habit-edit-day { position: absolute; right: -3px; bottom: -12px; width: 20px; padding: 1px; font-size: 13px; text-align: center; color: #7d8981; opacity: 0; }
.wp-habit-day-cell:hover .wp-habit-edit-day, .wp-habit-day-cell:focus-within .wp-habit-edit-day { opacity: 1; }
.wp-habit-sort { position: absolute; top: 0; right: 0; opacity: .15; }
.wp-habit-row:hover .wp-habit-sort, .wp-habit-row:focus-within .wp-habit-sort { opacity: 1; }
.wp-sheet .wp-habit-sort button { width: 20px; min-width: 20px; height: 20px; font-size: 12px; background: #fff; }
.wp-habit-records { grid-column: 3 / -1; display: grid; gap: 4px; }
.wp-sheet .wp-habit-record { padding: 2px 6px; font-size: 12px; color: #858e89; }
.wp-habit-panel[data-mode="daily"] .wp-habit-row { grid-template-columns: 36px 48px minmax(0,1fr) 80px; }
.wp-habit-panel[data-mode="monthly"] .wp-habit-row { padding: 26px 4px; }
.wp-habit-mini { display: block; background: white; border: 1px solid #aaa; border-radius: 0; padding: 5px !important; }
.wp-style-preview .wp-habit-mini-row { display: grid; grid-template-columns: 8px minmax(14px,1fr) repeat(7,8px); gap: 2px; align-items: center; min-height: 24px; border-bottom: 1px dashed #aaa; width: 100%; }
.wp-habit-mini-row:last-child { border-bottom: 0; }
.wp-habit-mini-row .wp-check-box { width: 8px; height: 8px; border-width: 1px; }
.wp-habit-mini-pill { display: block; height: 9px; background: #dfecdb; border-radius: 6px; }
.wp-habit-mini-row:nth-child(2) .wp-habit-mini-pill { background: #e6ded6; }
.wp-habit-mini-row small { font-size: 6px; font-weight: 400; color: #a1a7a2; }
@media (max-width: 520px) {
  .wp-toolbar { padding: 16px 12px; }
  .wp-tools { align-items: stretch; }
  .wp-tools button, .wp-tools .pt-button { flex: 1 1 auto; }
  .wp-scroll { padding: 6px; }
  .wp-dialog-fields { grid-template-columns: 1fr; }
  .wp-dialog { padding: 18px; }
  .wp-theme-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wp-control-panels { grid-template-columns: 1fr; gap: 18px; }
  #wp-export-tools { border-top: 1px solid #e3e9e1; padding-top: 18px; }
  .wp-category-row { grid-template-columns: minmax(0,1fr) 64px 30px; padding: 8px; gap: 7px; }
  .wp-palette-fields { grid-template-columns: 1fr; }
  .wp-style-gallery { grid-template-columns: 1fr; }
  .wp-page .wp-style-card { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; }
  .wp-style-card .wp-style-preview { grid-row: span 2; }
  .wp-record-row { grid-template-columns: 26px minmax(0,1fr) 24px; gap: 7px; }
  .wp-record-sort { grid-column: 1; grid-row: 1 / span 2; }
  .wp-record-row > label:has(input[type="checkbox"]) { grid-column: 2; grid-row: 2; padding-bottom: 0; }
  .wp-record-row .wp-record-remove { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 24px; min-width: 24px; }
}
@media print {
  .wp-no-export { display: none !important; }
  @page { size: A4 landscape; margin: 10mm; }
  @page wp-portrait { size: A4 portrait; margin: 10mm; }
  @page wp-landscape { size: A4 landscape; margin: 10mm; }
  body.wp-printing > :not(.wp-print-root) { display: none !important; }
  body.wp-printing { background: white !important; padding: 0 !important; margin: 0 !important; }
  body.wp-printing .wp-print-root { display: block; width: 277mm; height: auto; overflow: visible; }
  .wp-print-page { position: relative; display: flex; align-items: flex-start; justify-content: center; width: 277mm; height: 190mm; break-inside: avoid; break-after: page; overflow: hidden; }
  .wp-print-page:last-child { break-after: auto; }
  .wp-print-root img { display: block; max-width: 277mm; max-height: 185mm; width: auto; height: auto; object-fit: contain; }
  .wp-print-page-number { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; font: 9px Arial, sans-serif; color: #667; }
  body.wp-printing .wp-print-root[data-orientation="landscape"] { page: wp-landscape; }
  body.wp-printing .wp-print-root[data-orientation="portrait"] { page: wp-portrait; width: 190mm; }
  .wp-print-root[data-orientation="portrait"] .wp-print-page { width: 190mm; height: 277mm; }
  .wp-print-root[data-orientation="portrait"] img { max-width: 190mm; max-height: 272mm; }
}
