.saju-theme{--sj-border:#be123c;--sj-border-light:#d4849a;--sj-grid:#6b7280;--sj-cell-bg:#fff;--sj-label-bg:#fdf2f4;--sj-label-color:#596273;--sj-head-bg:#f3f4f6;--sj-head-color:#374151;--sj-sub-color:#596273;--sj-topbar-bg:#1e40af;--sj-panel-border:#d4849a;--sj-pie-border:#d1d5db;--oh-목-bg:#dcfce7;--oh-목-text:#15803d;--oh-화-bg:#ffe4e6;--oh-화-text:#be123c;--oh-토-bg:#fef9c3;--oh-토-text:#a16207;--oh-금-bg:#f1f5f9;--oh-금-text:#475569;--oh-수-bg:#dbeafe;--oh-수-text:#1d4ed8;--ey-yang-bg:#fffbeb;--ey-yang-text:#92400e;--ey-eum-bg:#1e293b;--ey-eum-text:#e2e8f0;--hch-hap-bg:#dbeafe;--hch-hap-text:#1d4ed8;--hch-chung-bg:#fee2e2;--hch-chung-text:#b91c1c;--hch-hyung-bg:#ffedd5;--hch-hyung-text:#c2410c;--hch-pa-bg:#f3f4f6;--hch-pa-text:#4b5563;--hch-hae-bg:#fef3c7;--hch-hae-text:#92400e}html[data-theme=dark] .saju-theme{--sj-border:#f43f5e;--sj-border-light:#6b2d42;--sj-grid:#ab4b08;--sj-cell-bg:#1e1b2e;--sj-label-bg:#2a1525;--sj-label-color:#a1a1aa;--sj-head-bg:#27233a;--sj-head-color:#d4d4d8;--sj-sub-color:#a1a1aa;--sj-topbar-bg:#1e3a5f;--sj-panel-border:#6b2d42;--sj-pie-border:#4b5563;--oh-목-bg:#14532d;--oh-목-text:#86efac;--oh-화-bg:#4c0519;--oh-화-text:#fda4af;--oh-토-bg:#422006;--oh-토-text:#fde047;--oh-금-bg:#1e293b;--oh-금-text:#cbd5e1;--oh-수-bg:#172554;--oh-수-text:#93c5fd;--ey-yang-bg:#422006;--ey-yang-text:#fde68a;--ey-eum-bg:#0f172a;--ey-eum-text:#94a3b8;--hch-hap-bg:#1e3a5f;--hch-hap-text:#93c5fd;--hch-chung-bg:#4c0519;--hch-chung-text:#fda4af;--hch-hyung-bg:#431407;--hch-hyung-text:#fdba74;--hch-pa-bg:#27233a;--hch-pa-text:#a1a1aa;--hch-hae-bg:#422006;--hch-hae-text:#fde047}.saju-theme .sj-badge,.saju-theme .hch-badge{white-space:nowrap;vertical-align:middle;border-radius:4px;align-items:center;gap:2px;min-height:1.25rem;padding:.125rem .375rem;font-size:.75rem;font-weight:600;line-height:1rem;display:inline-flex}.saju-theme .sj-badge--oh-목{background:var(--oh-목-bg);color:var(--oh-목-text)}.saju-theme .sj-badge--oh-화{background:var(--oh-화-bg);color:var(--oh-화-text)}.saju-theme .sj-badge--oh-토{background:var(--oh-토-bg);color:var(--oh-토-text)}.saju-theme .sj-badge--oh-금{background:var(--oh-금-bg);color:var(--oh-금-text)}.saju-theme .sj-badge--oh-수{background:var(--oh-수-bg);color:var(--oh-수-text)}.saju-theme .sj-badge--ey-yang{background:var(--ey-yang-bg);color:var(--ey-yang-text)}.saju-theme .sj-badge--ey-eum{background:var(--ey-eum-bg);color:var(--ey-eum-text)}.saju-theme .hch-hap{background:var(--hch-hap-bg);color:var(--hch-hap-text)}.saju-theme .hch-chung{background:var(--hch-chung-bg);color:var(--hch-chung-text)}.saju-theme .hch-hyung{background:var(--hch-hyung-bg);color:var(--hch-hyung-text)}.saju-theme .hch-pa{background:var(--hch-pa-bg);color:var(--hch-pa-text)}.saju-theme .hch-hae{background:var(--hch-hae-bg);color:var(--hch-hae-text)}.saju-theme .sj-badge--state-high{background:var(--hch-chung-bg);color:var(--hch-chung-text)}.saju-theme .sj-badge--state-low{background:var(--hch-hap-bg);color:var(--hch-hap-text)}.saju-theme .sj-badge--state-ok{background:var(--oh-목-bg);color:var(--oh-목-text)}.saju-theme .sj-badge--state-warn{background:var(--hch-hae-bg);color:var(--hch-hae-text)}.saju-theme .sj-badge--state-none{background:var(--hch-pa-bg);color:var(--hch-pa-text)}.saju-theme .sj-note{color:var(--sj-sub-color);font-size:.75rem;line-height:1.125rem}.saju-theme .sj-note-strong{color:var(--foreground);font-size:.8125rem;line-height:1.25rem}.saju-theme .sj-note-pos{color:var(--oh-목-text)}.saju-theme .sj-note-neg{color:var(--hch-chung-text)}.saju-theme .sj-note-info{color:var(--hch-hap-text)}.saju-theme .sj-inactive{color:var(--sj-sub-color);border-style:dashed}.saju-theme .sj-legend{color:var(--sj-sub-color);flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.5rem;font-size:.75rem;line-height:1rem;display:flex}.saju-theme .sj-legend>span:first-child{font-weight:600}.saju-theme :is(.sj-hint-trigger,.sj-term-trigger){font:inherit;color:inherit;text-align:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:0;text-decoration:underline dashed}.saju-theme :is(.sj-hint-trigger,.sj-term-trigger):hover{text-decoration-style:solid}.saju-theme .sj-history{container-type:inline-size}.saju-theme .sj-history-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.saju-theme .sj-history-heading h3{font-size:1rem;font-weight:600}.saju-theme #saju-history-count{color:var(--muted-foreground);font-size:.875rem;font-weight:400}.saju-theme .sj-history-list{gap:12px;margin:0 0 12px;padding:0;list-style:none;display:grid}.saju-theme .sj-history-item{border:1px solid var(--border);background:var(--background);border-radius:12px;flex-direction:column;gap:12px;padding:12px;display:flex}.saju-theme .sj-history-info{overflow-wrap:anywhere;flex:1;min-width:0}.saju-theme .sj-history-primary{font-size:1rem;font-weight:600;line-height:1.5}.saju-theme .sj-history-secondary,.saju-theme .sj-history-issue,.saju-theme .sj-history-empty{color:var(--muted-foreground);margin-top:4px;font-size:.875rem;line-height:1.45}.saju-theme .sj-history-current{border:1px solid var(--border);background:var(--muted);border-radius:6px;margin-top:8px;padding:4px 8px;font-size:.875rem;font-weight:600;display:inline-block}.saju-theme .sj-history-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@container (width>=520px){.saju-theme .sj-history-item{flex-direction:row;align-items:center;padding:16px}}.saju-theme .sj-board-group-heading th{background:var(--muted);border-bottom:1px solid var(--sj-border-light);padding:0}.saju-theme .sj-board-disclosure{text-align:left;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px 12px;font-size:.875rem;font-weight:600;display:flex}.saju-theme .sj-board-eumyang{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.saju-theme .sj-board-eumyang>span{padding:4px}.saju-theme .sj-ohaeng-comparison{border-collapse:collapse;width:100%;font-size:.875rem}.saju-theme .sj-ohaeng-comparison th,.saju-theme .sj-ohaeng-comparison td{border-bottom:1px solid var(--border);text-align:left;padding:10px 8px}.saju-theme .sj-hint-origin{border:1px solid var(--border);border-radius:12px;margin-top:16px;padding:12px}.saju-theme .sj-hint-origin h4{font-weight:600}.saju-theme .sj-hint-board-wrap{margin-top:8px;overflow-x:auto}.saju-theme .sj-hint-board{border-collapse:separate;border-spacing:3px;text-align:center;width:100%;font-size:.875rem}.saju-theme .sj-hint-board th{font-weight:500}.saju-theme .sj-hint-board td{vertical-align:top}.saju-theme .sj-hint-board td>span{border:2px solid #0000;border-radius:4px;padding:4px;display:inline-block}.saju-theme [data-saju-highlight~=base]{font-weight:700;border-style:solid!important;border-color:var(--foreground)!important}.saju-theme [data-saju-highlight~=target]{outline:2px dashed var(--accent);outline-offset:1px}@media print{.saju-theme #saju-tbody tr[hidden]{display:table-row!important}}.saju-theme .sj-calc-button{display:grid}.saju-theme .sj-calc-button>span{grid-area:1/1}.saju-theme [data-saju-calc-progress]:not([hidden]){justify-content:center;align-items:center;gap:8px;display:inline-flex}.saju-theme .sj-tongbyeon-scroll-note{margin:8px 0}.saju-theme .sj-tongbyeon-scroll{max-width:100%;margin-bottom:10px;overflow-x:auto}.saju-theme .sj-tongbyeon-diagram{max-width:none;margin:0 auto;display:block}.saju-theme .sj-tongbyeon-label{text-align:center;white-space:nowrap;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;font-size:12px;line-height:1.2;display:flex}.saju-theme .sj-tongbyeon-label>.sj-term-trigger{text-underline-offset:2px;white-space:nowrap;justify-content:center;align-items:center;width:100%;height:100%;padding:0;display:flex}.saju-theme .sj-tongbyeon-status .sj-tongbyeon-label{background:var(--sj-cell-bg)}
