.precedent-side-title{justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px;display:flex}.precedent-side-title h3{margin:0}.precedent-side-title button{color:var(--green);cursor:pointer;background:0 0;border:0;font-size:9px;font-weight:800}.saved-case-backdrop{z-index:95;background:var(--color-backdrop-library);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.saved-case-modal{background:var(--color-modal-reading-surface);width:min(980px,100%);max-height:90vh;box-shadow:var(--shadow-dialog-compact);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.saved-case-modal>header{border-bottom:1px solid var(--color-modal-border);background:var(--color-modal-reading-surface);justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;display:flex}.saved-case-modal>header span{color:var(--green);letter-spacing:.08em;font-size:9px;font-weight:900}.saved-case-modal>header h2{margin:5px 0 0;font:24px/1.3 Georgia,Noto Serif KR,serif}.saved-case-modal>header p{color:var(--muted);margin:5px 0 0;font-size:9px}.saved-case-head-actions{align-items:center;gap:7px;display:flex}.saved-case-head-actions button{border:1px solid var(--color-modal-border);background:var(--color-surface-control);color:var(--ink);cursor:pointer;border-radius:7px;padding:8px 10px;font-size:9px}.saved-case-head-actions button.primary{border-color:var(--green);background:var(--green);color:#fff}.saved-case-head-actions button:last-child{border-radius:50%;width:32px;height:32px;padding:0;font-size:17px}.saved-case-list{padding:12px 18px 20px;overflow:auto}.saved-case-list article{border-bottom:1px solid var(--color-modal-border);background:var(--color-surface-card);align-items:center;min-height:52px;display:flex;position:relative}.saved-case-list article:first-child{border-radius:8px 8px 0 0}.saved-case-list article:last-child{border-bottom:0;border-radius:0 0 8px 8px}.saved-case-open{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:120px minmax(0,1fr) 190px;align-items:center;gap:14px;width:100%;padding:12px 48px 12px 15px;display:grid}.saved-case-open:hover{background:var(--color-interactive-hover-surface)}.saved-case-open b{font-size:12px;font-weight:500}.saved-case-open strong{text-overflow:ellipsis;white-space:nowrap;font:15px Georgia,Noto Serif KR,serif;overflow:hidden}.saved-case-open span{color:var(--muted);text-align:right;font-size:10px}.saved-case-remove{background:var(--color-surface-control);color:#a95349;cursor:pointer;border:1px solid #d8aaa5;border-radius:50%;width:25px;height:25px;font-size:17px;line-height:1;position:absolute;right:13px}.saved-case-remove:hover{background:var(--color-interactive-hover-danger-strong-surface)}.saved-case-detail{padding:22px;overflow:auto}.saved-case-detail-meta{color:var(--muted);align-items:center;gap:7px;margin-bottom:16px;font-size:11px;display:flex}.saved-case-detail-meta b{color:var(--ink);font-size:14px;font-weight:500}.saved-case-detail section{border:1px solid var(--color-modal-border);background:var(--color-surface-raised);border-radius:9px;padding:16px}.saved-case-detail section+section{margin-top:12px}.saved-case-detail section>span{color:var(--green);font-size:9px;font-weight:900}.saved-case-detail section p{white-space:pre-wrap;margin:7px 0 0;font-size:12px;line-height:1.85}.saved-case-detail details{margin-top:14px}.saved-case-detail summary{cursor:pointer;color:var(--green);font-size:10px;font-weight:700}.saved-case-detail pre{border:1px solid var(--color-modal-border);background:var(--color-surface-reading);white-space:pre-wrap;border-radius:8px;max-height:400px;padding:15px;font:11px/1.8 Arial,Noto Sans KR,sans-serif;overflow:auto}@media (max-width:720px){.saved-case-backdrop{padding:8px}.saved-case-modal{max-height:96vh}.saved-case-modal>header{align-items:flex-start;padding:14px}.saved-case-head-actions{flex-wrap:wrap;justify-content:flex-end}.saved-case-open{grid-template-columns:1fr;gap:4px;padding-right:48px}.saved-case-open span{text-align:left}.saved-case-detail{padding:14px}}.saved-case-open b{color:var(--green)}.saved-case-open strong{font-size:12px}.precedent-saved-groups{gap:7px;display:grid}.precedent-saved-law{border:1px solid var(--line);background:var(--color-surface-card);border-radius:9px;overflow:hidden}.precedent-saved-law-head>button{background:var(--green2);text-align:left;cursor:pointer;border:0;align-items:center;gap:9px;width:100%;padding:8px;display:flex}.precedent-saved-law-head .law-icon{flex:0 0 27px;width:27px;height:27px;font-size:10px}.precedent-saved-law-head>button>span:nth-child(2){flex:1;min-width:0}.precedent-saved-law-head strong,.precedent-saved-law-head small{display:block}.precedent-saved-law-head strong{text-overflow:ellipsis;color:var(--ink);white-space:nowrap;font-size:10px;overflow:hidden}.precedent-saved-law-head small{color:var(--muted);margin-top:2px;font-size:8px}.precedent-saved-law-head b{color:var(--green);white-space:nowrap;font-size:8px}.precedent-saved-law-cases{padding:4px 7px 7px 14px;display:grid}.precedent-saved-law-cases>button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-left:1px solid #cbd8d2;grid-template-columns:auto minmax(0,1fr);gap:6px;padding:7px 8px;display:grid}.precedent-saved-law-cases>button:hover{background:var(--color-interactive-hover-surface);color:var(--color-interactive-hover-text)}.precedent-saved-law-cases>button.active{background:var(--color-interactive-selected-soft-surface);color:var(--color-interactive-selected-soft-text)}.precedent-saved-law-cases strong{white-space:nowrap;font-size:9px;font-weight:700}.precedent-saved-law-cases span{text-overflow:ellipsis;color:var(--muted);white-space:nowrap;font-size:9px;overflow:hidden}.precedent-save-backdrop{z-index:98;background:var(--color-backdrop-dialog);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.precedent-save-modal{background:var(--color-modal-surface);width:min(520px,100%);max-height:min(720px,90vh);box-shadow:var(--shadow-dialog-strong);border-radius:18px;flex-direction:column;padding:24px;display:flex;overflow:hidden}.precedent-save-modal .modal-head{flex:none}.precedent-save-modal .modal-head h2{margin-bottom:7px}.precedent-save-modal .modal-head p{color:var(--ink);margin:0;font:14px/1.45 Georgia,Noto Serif KR,serif}.precedent-save-modal .modal-head p small{color:var(--muted);margin-top:3px;font:9px Arial,Noto Sans KR,sans-serif;display:block}.precedent-save-guide{background:var(--color-surface-support);border-radius:8px;margin:17px 0 10px;padding:11px 13px}.precedent-save-guide strong{color:var(--green);font-size:10px}.precedent-save-guide p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.55}.precedent-save-law-list{gap:7px;min-height:0;padding:2px;display:grid;overflow:auto}.precedent-save-law-list>button{border:1px solid var(--color-modal-border);background:var(--color-surface-raised);text-align:left;cursor:pointer;border-radius:9px;align-items:center;gap:11px;width:100%;padding:11px;display:flex}.precedent-save-law-list>button:hover{border-color:var(--color-interactive-hover-border);background:var(--color-interactive-hover-surface)}.precedent-save-law-list>button.active{border-color:var(--color-interactive-selected-soft-border);background:var(--color-interactive-selected-soft-surface)}.precedent-save-law-list>button>span:nth-child(2){flex:1;min-width:0}.precedent-save-law-list strong,.precedent-save-law-list small{display:block}.precedent-save-law-list strong{font-size:11px}.precedent-save-law-list small{color:var(--muted);margin-top:3px;font-size:8px}.precedent-save-law-list b{color:var(--green);font-size:9px}.precedent-save-status{color:var(--muted);margin:9px 2px 0;font-size:9px}.precedent-save-status.error{color:var(--color-status-case-save-error)}.precedent-save-modal>footer{border-top:1px solid var(--color-modal-border);justify-content:flex-end;gap:7px;margin-top:16px;padding-top:14px;display:flex}.precedent-save-modal>footer button{border:1px solid var(--color-modal-border);background:var(--color-surface-control);color:var(--ink);cursor:pointer;border-radius:7px;padding:9px 12px;font-size:9px;font-weight:700}.precedent-save-modal>footer button.primary{border-color:var(--green);background:var(--green);color:#fff}.precedent-save-modal>footer button.danger{color:#a95349;border-color:#d8aaa5;margin-right:auto}.precedent-save-modal>footer button:disabled{cursor:not-allowed;opacity:.45}@media (max-width:720px){.precedent-save-backdrop{padding:8px}.precedent-save-modal{max-height:94vh;padding:18px}.precedent-save-modal>footer{flex-wrap:wrap}.precedent-save-modal>footer button.primary{flex:1}.precedent-saved-law-cases>button{grid-template-columns:1fr;gap:2px}}.saved-case-library{min-height:0;padding:14px 18px 20px;overflow:auto}.saved-case-search{z-index:2;border:1px solid var(--color-modal-border);background:var(--color-surface-input);box-shadow:var(--shadow-sticky-control);border-radius:9px;align-items:center;gap:8px;margin-bottom:12px;padding:0 12px;display:flex;position:sticky;top:0}.saved-case-search:focus-within{outline:2px solid var(--color-interactive-focus-border);outline-offset:2px}.saved-case-search>span{color:var(--green)}.saved-case-search input{min-width:0;height:42px;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:11px}.saved-case-search>button{background:var(--color-surface-inset);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%}.saved-case-folder-list{gap:10px;display:grid}.saved-case-folder{border:1px solid var(--color-modal-border);background:var(--color-surface-card);border-radius:10px;overflow:hidden}.saved-case-folder-head{background:var(--color-surface-inset);text-align:left;cursor:pointer;border:0;align-items:center;gap:11px;width:100%;padding:11px 14px;display:flex}.saved-case-folder-head .law-icon{flex:none}.saved-case-folder-head>span:nth-child(2){flex:1;min-width:0}.saved-case-folder-head strong,.saved-case-folder-head small{display:block}.saved-case-folder-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.saved-case-folder-head small{color:var(--muted);margin-top:3px;font-size:9px}.saved-case-folder-head>b{color:var(--green);font-size:9px}.saved-case-folder .saved-case-list{padding:0;overflow:visible}.saved-case-folder .saved-case-list article{border-radius:0}.saved-case-search-empty{border:1px dashed var(--color-modal-border);background:var(--color-surface-muted);color:var(--muted);text-align:center;border-radius:9px;padding:50px 18px;font-size:10px}@media (max-width:720px){.saved-case-library{padding:10px 12px 15px}.saved-case-search{top:0}.saved-case-folder-head{padding:9px}.saved-case-folder-head .law-icon{width:27px;height:27px;font-size:10px}}.precedent-saved-law-cases{max-height:220px;overflow-y:auto}.precedent-saved-law-cases>button{align-items:center;min-height:44px}.saved-case-modal.library-mode{height:min(680px,90vh)}.saved-case-modal.library-mode .saved-case-library{flex:1}@media (max-width:720px){.saved-case-modal.library-mode{height:min(680px,96vh)}}.precedent-tool-tabs button{align-items:center;gap:4px;display:inline-flex}.precedent-tool-tabs button em{color:#234d3e;background:#e8ff74;border-radius:999px;padding:2px 4px;font-size:6px;font-style:normal;font-weight:900}.precedent-tool-tabs button.active em{background:#fff}.compare-case-list,.panel-case-list{gap:var(--space-panel-case-list);margin-top:12px;display:grid}.compare-case-list button,.panel-case-list button{gap:var(--space-panel-case-card);border:1px solid var(--line);background:var(--color-surface-card);width:100%;padding:var(--padding-panel-case-card-block) var(--padding-panel-case-card-inline);text-align:left;cursor:pointer;border-radius:7px;display:grid}.compare-case-list button.active{border-color:var(--color-interactive-selected-soft-border);background:var(--color-interactive-selected-soft-surface)}.compare-case-list b,.panel-case-list b{color:var(--green);font-size:var(--font-size-panel-case-number);font-weight:700;line-height:1.35}.compare-case-list small,.panel-case-list small{color:var(--ink);font-size:var(--font-size-panel-case-title);text-overflow:ellipsis;white-space:nowrap;line-height:1.4;overflow:hidden}.compare-case-list em,.panel-case-list em{color:var(--muted);font-size:var(--font-size-panel-case-reason);-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;font-style:normal;line-height:1.5;display:-webkit-box;overflow:hidden}.compare-case-view section{border-left:3px solid var(--line);background:var(--color-surface-panel);padding:9px}.compare-case-view section+section{border-left-color:var(--green)}.compare-case-view section>b{font-size:10px}.compare-case-view dl{gap:7px;margin:7px 0 0;display:grid}.compare-case-view dl div{grid-template-columns:32px 1fr;gap:5px;display:grid}.compare-case-view dt{color:var(--green);font-size:8px;font-weight:800}.compare-case-view dd{margin:0;font-size:9px;line-height:1.5}.compare-case-view>small{color:var(--muted);font-size:8px}.compare-case-open{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:6px;padding:8px;font-size:9px}.precedent-note-head{justify-content:space-between;align-items:center;display:flex}.precedent-note-head>span{color:var(--green);font-size:9px;font-weight:900}.precedent-note-head small{color:var(--muted);font-size:8px}.precedent-note-head small.saved{color:var(--color-status-save-success)}.precedent-note-head small.error{color:var(--color-status-note-save-error)}.precedent-note-card>p{color:var(--muted);font-size:8px!important}.precedent-note-card textarea:disabled{background:var(--color-interactive-disabled-surface)}.precedent-tool-tabs button.premium{border-color:var(--color-status-pro-locked-border);background:var(--color-status-pro-locked-control-soft);color:var(--color-status-pro-locked)}.precedent-tool-tabs button.premium.active{border-color:var(--color-interactive-selected-border);background:var(--color-interactive-selected-surface);color:var(--color-interactive-selected-text)}.precedent-tool-tabs button:disabled{opacity:.5;cursor:not-allowed}.ai-case-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.ai-case-card-head>span{color:var(--green);font-size:var(--font-size-panel-section-title);font-weight:900}.ai-case-card-head>small{color:var(--muted);white-space:nowrap;font-size:8px}.compare-case-view{gap:8px;margin-top:12px;display:grid}.compare-case-view>p{color:var(--muted);margin:0;font-size:9px;line-height:1.55}.compare-case-view section,.compare-case-view dl,.compare-case-view>small{display:none}.precedent-note-toolbar{justify-content:flex-end;align-items:center;gap:6px;margin:9px 0 5px;display:flex}.precedent-note-toolbar>div{gap:5px;display:flex}.precedent-note-toolbar button{border:1px solid var(--line);cursor:pointer;border-radius:50%;width:17px;height:17px;padding:0}.precedent-note-toolbar button.text-bold{background:var(--color-surface-control);color:var(--ink);border-radius:4px;font-size:10px;font-weight:900}.precedent-note-editor{border:1px solid var(--line);background:var(--color-surface-input);border-radius:7px;outline:none;min-height:165px;padding:10px;font-size:10px;line-height:1.7;overflow:auto}.precedent-note-editor:focus{border-color:var(--color-interactive-focus-border)}.precedent-note-editor.disabled{background:var(--color-interactive-disabled-surface);pointer-events:none}.precedent-note-editor:empty:before{content:attr(data-placeholder);color:var(--muted)}.precedent-image-actions{justify-content:flex-start}.precedent-image-actions button{cursor:pointer}.precedent-image-list{grid-template-columns:repeat(2,minmax(0,1fr))}.precedent-image-list .image-zoom{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0}.case-compare-backdrop{z-index:110;background:var(--color-backdrop-dialog);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.case-compare-modal{background:var(--color-modal-reading-surface);width:min(1180px,100%);max-height:92vh;box-shadow:var(--shadow-dialog-strong-compact);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.case-compare-modal>header{border-bottom:1px solid var(--color-modal-border);justify-content:space-between;align-items:center;padding:17px 20px;display:flex}.case-compare-modal>header span{color:var(--green);letter-spacing:.08em;font-size:9px;font-weight:900}.case-compare-modal>header h2{margin:4px 0 0;font:23px/1.25 Georgia,Noto Serif KR,serif}.case-compare-modal>header button{border:1px solid var(--color-modal-border);background:var(--color-surface-control);cursor:pointer;border-radius:50%;width:32px;height:32px;font-size:17px}.case-compare-grid{background:var(--color-modal-border);grid-template-columns:1fr 1fr;gap:1px;display:grid;overflow:auto}.case-compare-grid>article{background:var(--color-modal-reading-surface);min-width:0;padding:18px}.case-compare-title{border-bottom:1px solid var(--line);min-height:90px}.case-compare-title>span,.case-compare-grid section>b{color:var(--green);font-size:9px;font-weight:900}.case-compare-title h3{margin:7px 0;font:20px/1.35 Georgia,Noto Serif KR,serif}.case-compare-title p{color:var(--muted);margin:0;font-size:10px}.case-compare-grid section{border:1px solid var(--color-modal-border);background:var(--color-surface-raised);border-radius:9px;margin-top:14px;padding:14px}.case-compare-grid section p{white-space:pre-wrap;margin:8px 0 0;font-size:11px;line-height:1.85}.case-compare-grid section p.empty{color:var(--muted)}@media (max-width:760px){.case-compare-backdrop{padding:7px}.case-compare-modal{max-height:97vh}.case-compare-grid{grid-template-columns:1fr}.case-compare-title{min-height:0;padding-bottom:12px}}.memo-login-gate{z-index:3;background:var(--green2);text-align:left;border:1px solid #bfd1c8;border-radius:10px;gap:6px;margin:10px 0 14px;padding:15px;display:grid;position:relative}.memo-login-gate span{color:var(--green);letter-spacing:.08em;font-size:9px;font-weight:900}.memo-login-gate strong{color:var(--ink);font-size:13px}.memo-login-gate p{line-height:1.55;color:var(--muted)!important;margin:0!important;font-size:10px!important}.memo-login-gate a{background:var(--green);color:#fff;border-radius:7px;width:max-content;margin-top:3px;padding:8px 11px;font-size:10px;font-weight:800;text-decoration:none}.note-editor.auth-locked>:not(.memo-login-gate),.precedent-note-card.auth-locked>:not(.memo-login-gate){pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.42}.vault.auth-locked .vault-sort,.vault.auth-locked .vault-actions,.vault.auth-locked .note-tag-filters,.vault.auth-locked .vault-list{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.38}.precedent-note-head small.login-required{color:var(--color-status-auth-required)}
