.kr-shell{--kr-bg:#101010;--kr-panel:#191919;--kr-line:#343434;--kr-muted:#aaa;--kr-accent:#64adba;color:#eee;font:13px/1.55 var(--font-sans,Arial,sans-serif);text-align:left;color-scheme:dark}.kr-shell *{box-sizing:border-box}.kr-shell [hidden]{display:none!important}.kr-shell button,.kr-shell input,.kr-shell select,.kr-shell textarea{font:inherit}.kr-shell button{min-height:36px;padding:8px 13px;border:1px solid var(--kr-line);border-radius:5px;background:#222;color:#eee;cursor:pointer}.kr-shell button:hover{border-color:#66858c}.kr-shell button:disabled{opacity:.45;cursor:not-allowed}.kr-shell button.kr-primary{background:#68a9b6;border-color:#68a9b6;color:#0b1517;font-weight:600}.kr-shell button.kr-quiet{background:transparent}.kr-shell input:not([type=checkbox]),.kr-shell select,.kr-shell textarea{width:100%;border:1px solid #3a3a3a;border-radius:4px;background:#111;color:#eee;padding:10px;outline-offset:3px}.kr-shell textarea{resize:vertical;min-height:94px}.kr-shell label{display:block;margin:15px 0}.kr-shell label>span{display:block;font-weight:500;margin-bottom:7px}.kr-shell h2,.kr-shell h3,.kr-shell p{margin:0}.kr-shell h2{font-size:23px;line-height:1.3;font-weight:500}.kr-shell h3{font-size:15px;font-weight:500}.kr-shell p+p{margin-top:10px}.kr-eyebrow{color:#64adba;font-size:10px;letter-spacing:1.3px;text-transform:uppercase}.kr-muted{color:#aaa;font-size:12px}.kr-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.kr-between{justify-content:space-between}.kr-badge{display:inline-block;border:1px solid #415057;background:#1e2d30;color:#b5d4db;border-radius:4px;padding:4px 8px;font-size:11px}.kr-badge.kr-warn{background:#30291b;border-color:#5b4a29;color:#deca97}.kr-panel{background:var(--kr-panel);border:1px solid var(--kr-line);border-radius:7px;padding:22px;min-width:0}.kr-panel+.kr-panel{margin-top:16px}.kr-shell blockquote,.kr-shell pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;padding:14px 16px;background:#111;border-left:2px solid #518a98;font:inherit;color:#d6d6d6}.kr-shell .kr-check{display:flex;gap:10px;align-items:flex-start;line-height:1.6;font-size:12px}.kr-check input{margin-top:4px;flex:0 0 auto}.kr-check span{font-weight:400!important}.kr-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:17px;border-top:1px solid var(--kr-line);margin-top:19px}.kr-alert{border:1px solid #715f36;background:#292317;border-radius:5px;padding:12px 15px;color:#e0cfaa;margin:14px 0}.kr-error{color:#ffc3b3;white-space:pre-wrap;overflow-wrap:anywhere;min-height:18px}.kr-inline{margin:16px 8px;border:1px solid #41616a;border-radius:8px;padding:22px;background:#181b1c;box-shadow:0 9px 30px #0003}.kr-inline h2{font-size:19px}.kr-inline form{margin-top:15px}.kr-inline .kr-grid{gap:12px}.kr-receipts{margin:12px 10px}.kr-receipt{border:1px solid #364b50;padding:13px;border-radius:6px;background:#162125;margin:8px 0}.kr-composer-tip{color:#a0a0a0;font-size:10px;padding:5px 12px}.kr-composer-tip button{background:none!important;border:0!important;padding:0!important;min-height:0!important;text-decoration:underline;color:#86bac8!important;font-size:10px!important}.kr-dialog{width:min(1180px,calc(100vw - 40px));max-height:92vh;background:#101010;border:1px solid #343434;border-radius:9px;padding:0;overflow:auto}.kr-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}.kr-dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 28px;border-bottom:1px solid #333;background:#171717;position:sticky;top:0;z-index:2}.kr-dialog-body{padding:28px}.kr-tabs{display:flex;gap:5px;margin:20px 0;border-bottom:1px solid #333;padding-bottom:10px;flex-wrap:wrap}.kr-tabs .active{border-color:#6596a2;background:#1e2d31}.kr-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.kr-grid>.kr-panel{margin:0}.kr-record{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:18px;align-items:center;padding:22px 0;border-bottom:1px solid #333}.kr-record h3{font-size:17px;margin:8px 0}.kr-date{font-size:23px;font-weight:300;color:#ddd}.kr-date small{display:block;font-size:10px;text-transform:uppercase;color:#999}.kr-record p{overflow-wrap:anywhere}.kr-empty{border:1px dashed #393939;padding:40px 20px;text-align:center;margin:18px 0;color:#aaa}.kr-shell details{margin:14px 0}.kr-shell summary{cursor:pointer;color:#b9c5cb}.kr-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.kr-diff>div{background:#131313;padding:13px;border:1px solid #333;overflow-wrap:anywhere;white-space:pre-wrap}.kr-diff>div:last-child{border-color:#42635b;background:#18231f}.kr-status-steps{display:flex;gap:9px;flex-wrap:wrap;color:#999;font-size:11px;margin:17px 0}.kr-status-steps b{color:#b3d6db;font-weight:500}.kr-shell input:focus-visible,.kr-shell button:focus-visible,.kr-shell textarea:focus-visible,.kr-shell select:focus-visible{outline:2px solid #88bdc8;outline-offset:3px}.kr-memory-card{margin-bottom:14px}.kr-shell ul{padding-left:21px}.kr-hub-entry{margin:0 8px 8px 0!important}.kr-title-copy{max-width:730px}.kr-title-copy>p{margin-top:8px}.kr-source-fields{border-top:1px solid #333;margin-top:18px;padding-top:4px}.kr-progress{height:3px;background:linear-gradient(90deg,#35515a,#82bac7,#35515a);background-size:200%;animation:kr-loading 2s linear infinite;margin-top:12px;border-radius:2px}@keyframes kr-loading{to{background-position:-200%}}@media(prefers-reduced-motion:reduce){.kr-progress{animation:none}}@media(max-width:750px){.kr-grid,.kr-diff{grid-template-columns:1fr}.kr-dialog{width:calc(100vw - 14px);max-height:96vh}.kr-dialog-head,.kr-dialog-body{padding:17px}.kr-panel,.kr-inline{padding:16px}.kr-record{grid-template-columns:42px minmax(0,1fr);gap:12px}.kr-record>button{grid-column:2;justify-self:start}.kr-shell h2{font-size:20px}.kr-dialog-head{align-items:flex-start}.kr-record h3{font-size:15px}.kr-date{font-size:19px}}

.agent-answer-feedback{margin-top:12px}.agent-answer-feedback button{font-size:11px;opacity:.8}.agent-answer-feedback button:hover,.agent-answer-feedback button:focus-visible{opacity:1}

.agent-composer>.kr-composer-tip{display:block;padding:6px 11px;font-size:10px}.agent-composer>.kr-composer-tip button{display:inline;width:auto;height:auto}.kr-inline .kr-grid{grid-template-columns:1fr}

/* Inline feedback: selected answer, one comment field, one primary action. */
.kr-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#sog-agent-panel .kr-inline{margin:16px 0 24px;padding:18px;background:#242628;border:1px solid #42494d;border-radius:8px;box-shadow:none;font-size:12px;line-height:1.5;color:#e8edef;max-width:100%;min-width:0}
#sog-agent-panel .kr-inline h2{font-size:22px;font-weight:650;letter-spacing:-.4px;line-height:1.25}
#sog-agent-panel .kr-inline .kr-row{gap:8px}
#sog-agent-panel .kr-inline .kr-row>[data-cancel]{padding:0;width:24px;min-height:24px;height:24px;background:none;border:0;color:#8d969c;font-size:20px}
#sog-agent-panel .kr-inline form{margin-top:13px}
#sog-agent-panel .kr-inline blockquote{padding:4px 0 4px 10px;margin:0 0 16px;border-left:2px solid #58636b;background:none;color:#a5afb5;border-radius:0;font-size:11px;line-height:1.65}
#sog-agent-panel .kr-inline .kr-answer-reference{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#sog-agent-panel .kr-inline label{margin:14px 0}
#sog-agent-panel .kr-inline .kr-comment-field{margin:0 0 14px}
#sog-agent-panel .kr-inline label>span{font-size:11px;color:#c4cdd2;margin-bottom:7px}
#sog-agent-panel .kr-inline textarea,#sog-agent-panel .kr-inline input:not([type=checkbox]),#sog-agent-panel .kr-inline select{background:#1b1d1f;border-color:#3e4449;color:#e5e9eb;font-size:12px;line-height:1.7;padding:11px 12px;border-radius:5px}
#sog-agent-panel .kr-inline textarea{min-height:92px}
#sog-agent-panel .kr-inline #kr-comment{min-height:108px;font-size:13px}
#sog-agent-panel .kr-inline textarea::placeholder{color:#919ca3;font-size:12px}
#sog-agent-panel .kr-inline textarea:focus-visible{outline:1px solid #7599a5;outline-offset:0}
#sog-agent-panel .kr-inline details{margin:12px 0;font-size:11px}
#sog-agent-panel .kr-inline summary{color:#a8b1b7;line-height:1.6}
#sog-agent-panel .kr-inline .kr-muted{font-size:11px;line-height:1.7;color:#939fa7}
#sog-agent-panel .kr-inline .kr-error:empty{display:none}
#sog-agent-panel .kr-inline .kr-inline-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
#sog-agent-panel .kr-inline .kr-inline-options{margin:6px 0 0;min-width:0;flex:1}
#sog-agent-panel .kr-inline .kr-inline-options>summary{font-size:11px;color:#929da5}
#sog-agent-panel .kr-inline .kr-inline-options>summary::marker{font-size:9px}
#sog-agent-panel .kr-inline .kr-inline-footer>.kr-primary{min-height:32px;padding:7px 18px;font-size:11px;border-radius:5px;background:#8bb3c0;border-color:#8bb3c0;color:#122129}
#sog-agent-panel .kr-inline .kr-inline-footer:has(>.kr-inline-options[open]){display:block}
#sog-agent-panel .kr-inline .kr-inline-options[open]{margin:0}
#sog-agent-panel .kr-inline .kr-option-body{border-top:1px solid #3a4044;margin-top:12px;padding-top:3px}
#sog-agent-panel .kr-inline .kr-inline-options[open]+button{display:block;margin:16px 0 0 auto}
#sog-agent-panel .kr-inline .kr-privacy{border-top:1px solid #3a4044;padding-top:12px}
#sog-agent-panel .kr-inline .kr-privacy p{margin-top:10px}
#sog-agent-panel .kr-inline .kr-source-fields{border-color:#3a4044}
#sog-agent-panel .kr-receipts{margin:12px 0}
#sog-agent-panel .kr-receipt{padding:13px 0;border:0;border-top:1px solid #32373b;border-radius:0;background:none;font-size:11px}
#sog-agent-panel .kr-receipt strong{font-weight:400;color:#a6b3bb}
#sog-agent-panel .kr-receipt .kr-muted{font-size:10px;color:#7f909a;margin-top:3px}
#sog-agent-panel .kr-receipt button{border:0;background:none;font-size:10px;color:#9daab2;padding:0;min-height:24px}
.agent-composer>.kr-composer-tip button{text-decoration:none!important;color:#9da9b0!important}
.kr-shell h2{font-weight:600;letter-spacing:-.35px}.kr-shell h3{font-weight:600}.kr-record h3{font-size:18px;font-weight:600}
#sog-agent-panel:has(.kr-inline) .agent-composer>.kr-composer-tip{display:none}

/* A slow travelling highlight identifies the currently selected answer review. */
@property --kr-edge-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes kr-selected-edge{to{--kr-edge-angle:360deg}}
#sog-agent-panel .kr-inline{position:relative;isolation:isolate;border-color:#4e6e7a;box-shadow:0 0 18px #68bad414}
#sog-agent-panel .kr-inline::before{content:'';position:absolute;inset:-1.5px;border-radius:9px;padding:1.5px;pointer-events:none;background:conic-gradient(from var(--kr-edge-angle),#7ab9ce1a 0deg,#7ab9ce1a 195deg,#509fb74d 240deg,#6bc4df 290deg,#e0faff 318deg,#89d8ed 333deg,#7ab9ce1a 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:kr-selected-edge 6s linear infinite}
@media(prefers-reduced-motion:reduce){#sog-agent-panel .kr-inline::before{animation:none;--kr-edge-angle:35deg}}

.kr-pinned-example{margin-bottom:8px}.kr-pinned-example>summary strong{font-size:14px;font-weight:600}
.kr-example-language{display:flex;align-items:center;gap:6px;margin:5px 0 15px;color:#8c9aa3;font-size:10px}.kr-example-language>span{margin-right:auto}.kr-example-language button{min-height:24px;padding:2px 5px;border:0;background:none;font-size:10px;color:#889ba6}.kr-example-language button[aria-pressed=true]{color:#d4e0e7;background:#2a343a}
.kr-example-steps{padding-left:18px;margin:8px 0 17px;line-height:1.8;font-size:12px}.kr-example-steps li{padding-left:3px;margin:7px 0}
.kr-example-step{font-size:10px;color:#8fabb9;margin:12px 0!important}.kr-example-question{margin:14px 0 20px 28px;padding:10px 12px;border-radius:8px;background:#2a3034;font-size:12px}.kr-example-answer small{font-size:10px;color:#8199a7}.kr-example-answer>p{font-size:13px;margin:10px 0}.kr-example-answer>button{min-height:26px;padding:0;border:0;background:none;font-size:10px;color:#98bccb}
.kr-example-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.kr-example-actions button{font-size:11px}.kr-pinned-example .kr-inline [data-kr-demo=cancel]{padding:0;width:24px;min-height:24px;background:none;border:0;color:#8d969c;font-size:20px}.kr-pinned-example .kr-inline textarea{min-height:110px!important}.kr-pinned-example .kr-inline-footer small{font-size:9px!important;align-self:center}

#sog-agent-panel[data-review-motion="on"] .kr-inline::before{animation:kr-selected-edge 6s linear infinite;animation-duration:6s!important}
#sog-agent-panel[data-review-motion="off"] .kr-inline::before{animation:none;--kr-edge-angle:35deg}

/* A single icon opens comments for the selected answer. */
html:root #sog-agent-panel .kr-comment-action {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  min-height: 36px; padding: 0; border: 1px solid #53636b;
  border-radius: 8px; background: #ffffff0b; color: #aebfc7;
}
html:root #sog-agent-panel .kr-comment-action:hover {
  background: #ffffff12; border-color: #8bb3c0; color: #e3f6ff;
}
html:root #sog-agent-panel .kr-comment-action .kr-comment-icon {
  display: block; width: 20px; height: 20px; fill: none;
  stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
html:root #sog-agent-panel .kr-comment-action:focus-visible {
  outline: 2px solid #8bb3c0; outline-offset: 2px;
}

/* Project records: current review first, compact source-linked history second. */
.kr-record-section{margin:28px 0 36px}.kr-record-section>h2{font-size:24px;font-weight:700;margin-bottom:17px}.kr-record-section h2 small{font-size:14px;color:#9da8ac;margin-left:8px;font-weight:400}.kr-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.kr-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:17px}.kr-project-card{display:flex;flex-direction:column;border:1px solid #363a3d;border-radius:9px;padding:22px;background:#191b1c;min-width:0}.kr-project-card-review{border-top:2px solid #70adba}.kr-shell .kr-project-card h3{font-size:23px;font-weight:700;line-height:1.3;margin:20px 0 13px}.kr-card-summary{font-size:15px;line-height:1.65;color:#cbd0d2;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.kr-source-date{margin-top:18px!important;line-height:1.6}.kr-project-card footer{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.kr-source-links{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}.kr-source-links a{color:#9ec8d2;text-underline-offset:4px;font-size:13px}.kr-project-card footer button{font-size:14px;font-weight:600}.kr-other-records{border-top:1px solid #343434;padding-top:18px}.kr-sidebar-project span{display:flex;flex-direction:column;gap:5px}.kr-sidebar-project small{font-size:10px;color:#64adba;letter-spacing:1px}.kr-sidebar-project strong{font-size:13px;font-weight:600}.kr-shell .kr-project-card .kr-badge{font-size:11px}.kr-dialog-head h2{font-size:26px;font-weight:700}
@media(max-width:960px){.kr-review-grid{grid-template-columns:1fr}.kr-record-grid{grid-template-columns:1fr}.kr-project-card h3{font-size:21px}.kr-project-entry .pd-project-state{display:none}}

/* Review reading: separate people, source excerpts and the Agent's draft. */
.kr-review-state{margin:18px 0}.kr-review-layout{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);align-items:start}
.kr-review-layout .kr-panel{padding:26px}.kr-evidence-panel{background:#141515}.kr-draft-panel{background:#1a1d1e;border-top:2px solid #79aab5}
.kr-review-layout .kr-section-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:26px}
.kr-review-layout h3{font-size:23px;font-weight:700;line-height:1.3}.kr-review-layout h4{font-size:14px;font-weight:650;margin:20px 0 10px;color:#c4d0d4}
.kr-source-jump{font-size:12px}.kr-source-jump a{color:#9fc4d0;text-underline-offset:4px}.kr-source-jump{overflow-wrap:anywhere}
.kr-message{padding:0 0 25px;margin:0 0 25px;border-bottom:1px solid #323637}.kr-message:last-of-type{margin-bottom:0}
.kr-message header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.kr-message header strong{font-size:16px;color:#edf0f1;font-weight:650}.kr-message time{font-size:12px;color:#939fa5;font-variant-numeric:tabular-nums}
.kr-message-label{display:block;color:#93a7ae;font-size:11px;letter-spacing:.2px}.kr-review-layout .kr-message blockquote{background:transparent;border-left:2px solid #628993;padding:3px 0 3px 15px;margin:14px 0 0;font-size:16px;line-height:1.75;color:#e2e7e9}
.kr-message>p,.kr-conversation-reading p{font-size:16px;line-height:1.75;color:#ced4d7;margin-top:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.kr-review-layout details{font-size:13px;line-height:1.7;margin:18px 0}.kr-review-layout summary{padding:3px 0;color:#a7b8bf;min-height:28px}.kr-review-layout summary::marker{color:#72848c;font-size:10px}
.kr-message-context p,.kr-file-reading p{font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}
.kr-review-layout .kr-message-context{margin:12px 0 0}.kr-review-layout .kr-source-details{padding-top:16px;border-top:1px solid #34393b}.kr-source-details blockquote{font-size:13px;line-height:1.7}
.kr-agent-reading{font-size:16px;line-height:1.8;color:#d0d7da;overflow-wrap:anywhere}.kr-agent-reading p{white-space:pre-wrap}.kr-agent-reading p+p{margin-top:20px}.kr-agent-reading .kr-summary-lead{font-size:18px;line-height:1.7;color:#eff2f3}.kr-summary-focus{margin-top:22px;padding-top:3px}
.kr-review-layout .kr-full-draft{margin:24px 0 14px;padding-bottom:16px;border-bottom:1px solid #3a4144}.kr-review-layout textarea{font-size:15px;line-height:1.75;padding:14px}.kr-review-layout .kr-full-draft textarea{min-height:330px}
.kr-review-layout .kr-review-checks{padding:10px 14px;border:1px solid #68593b;background:#28251d;border-radius:5px}.kr-review-checks>summary{color:#e0c896;font-weight:600}.kr-review-checks li{margin:12px 0;color:#d4cbb6;line-height:1.8}
.kr-review-layout .kr-review-comments{margin:25px 0 16px}.kr-review-comments>span{font-size:20px!important;font-weight:700!important;margin-bottom:13px!important}.kr-review-comments textarea{min-height:118px}
.kr-review-layout .kr-check{font-size:13px;margin-top:22px}.kr-review-layout .kr-actions{gap:10px}.kr-review-layout .kr-actions button{font-size:14px;padding:10px 14px;min-height:43px}.kr-review-layout .kr-error:empty{display:none}.kr-review-layout .kr-edit-sources .kr-grid{grid-template-columns:1fr;gap:0}
.kr-review-layout .kr-record-scope{margin-bottom:0}.kr-review-layout .kr-record-scope summary{font-size:12px}.kr-review-layout details[open]>summary{margin-bottom:12px}
@media(max-width:850px){.kr-review-layout{grid-template-columns:1fr}.kr-review-layout .kr-panel{padding:20px}.kr-review-layout .kr-section-heading{margin-bottom:20px}.kr-dialog-head h2{font-size:23px}.kr-agent-reading .kr-summary-lead{font-size:17px}}

.kr-review-layout{margin-top:22px}.kr-review-layout .kr-more-options{border-top:1px solid #3a4144;padding-top:15px;margin-top:22px}.kr-review-layout .kr-more-options>details{padding-left:12px}.kr-review-layout .kr-full-draft{margin:18px 0 12px;padding-bottom:8px}.kr-review-layout .kr-review-checks{margin:12px 0 20px}.kr-review-layout .kr-review-comments{margin-top:20px}
