:root{color-scheme:light dark;--ld-surface: #ffffff;--ld-text: #1f2933;--ld-muted: #52606d;--ld-border: #d7dbe0;--ld-hover: #eef2f7;--ld-accent: #3182ce;--ld-accent-text: #2b6cb0}html,body{margin:0;height:100%;background:var(--ld-surface);color:var(--ld-text)}canvas:focus-visible{outline:3px solid var(--ld-accent);outline-offset:-3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--ld-accent);outline-offset:2px}header button,nav button{min-height:24px;min-width:24px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(prefers-color-scheme:dark){:root{--ld-surface: #171b23;--ld-text: #e2e8f0;--ld-muted: #a0aec0;--ld-border: #2d3542;--ld-hover: #222834;--ld-accent: #63b3ed;--ld-accent-text: #90cdf4}}.review-panel{position:absolute;top:56px;right:12px;width:300px;max-height:calc(100vh - 96px);display:flex;flex-direction:column;background:var(--ld-surface);color:var(--ld-text);border:1px solid var(--ld-border);border-radius:8px;box-shadow:0 8px 28px #0000002e;font:13px system-ui,sans-serif;z-index:6}.review-panel__head{padding:10px 12px;border-bottom:1px solid var(--ld-border)}.review-panel__head h2{margin:0;font-size:13px;font-weight:600}.review-panel__head p{margin:2px 0 0;color:var(--ld-muted);font-size:12px}.review-panel__list{margin:0;padding:4px;list-style:none;overflow-y:auto;flex:1}.review-hunk{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;border-radius:5px;cursor:pointer}.review-hunk:hover{background:var(--ld-hover)}.review-hunk--rejected .review-hunk__text{opacity:.45;text-decoration:line-through}.review-hunk__dot{width:8px;height:8px;border-radius:50%;margin-top:4px;flex:none}.review-hunk__text{display:flex;flex-direction:column}.review-hunk__status{color:var(--ld-muted);font-size:11px}.review-panel__unfixable{border-top:1px solid var(--ld-border);padding:8px 12px;color:var(--ld-muted);font-size:12px}.review-panel__unfixable ul{margin:6px 0 0;padding-left:16px}.review-panel__unfixable li{margin-bottom:4px}.review-panel__actions{display:flex;justify-content:flex-end;gap:8px;padding:8px 12px;border-top:1px solid var(--ld-border)}.review-panel__actions button{font:inherit;padding:5px 12px;border-radius:5px;border:1px solid var(--ld-border);background:var(--ld-surface);color:var(--ld-text);cursor:pointer}.review-panel__actions button.primary{background:var(--ld-accent);border-color:var(--ld-accent);color:#fff}.review-panel__actions button:disabled{opacity:.5;cursor:default}.history-panel__save{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid var(--ld-border)}.history-panel__save input{flex:1;min-width:0;font:inherit;padding:4px 8px;border-radius:5px;border:1px solid var(--ld-border);background:var(--ld-surface);color:var(--ld-text)}.history-panel__save button{font:inherit;padding:4px 10px;border-radius:5px;border:1px solid var(--ld-border);background:var(--ld-surface);color:var(--ld-text);cursor:pointer}.history-panel__save button:disabled{opacity:.5;cursor:default}.history-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:5px}.history-item:hover{background:var(--ld-hover)}.history-item__text{display:flex;flex-direction:column;min-width:0}.history-item__name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item__meta{color:var(--ld-muted);font-size:11px}.history-item__actions{display:flex;gap:4px;flex:none}.history-item__actions button{font:inherit;font-size:11px;padding:3px 6px;border-radius:4px;border:1px solid var(--ld-border);background:var(--ld-surface);color:var(--ld-text);cursor:pointer}
