#konrad-preview .case-note-menu{margin:28px 0 0;border-top:1px solid var(--rule)}
#konrad-preview .case-note-category{border-bottom:1px solid var(--rule);scroll-margin-top:24px}
#konrad-preview .case-note-category summary{display:flex;align-items:center;justify-content:space-between;gap:1em;padding:18px 16px;color:var(--quiet);font-size:16.4px;line-height:1.3;list-style:none;cursor:pointer;font-variant-caps:all-small-caps;font-feature-settings:"smcp" 1,"c2sc" 1;letter-spacing:.025em}
#konrad-preview .case-note-category summary::-webkit-details-marker{display:none}
#konrad-preview .case-note-category summary:hover,#konrad-preview .case-note-category[open] summary{color:var(--ink)}
#konrad-preview .case-note-category summary:focus-visible{outline:1px solid var(--ink);outline-offset:-3px}
#konrad-preview .case-note-toggle{font-variant-caps:normal;font-feature-settings:normal;transition:transform .2s}
#konrad-preview .case-note-category[open] .case-note-toggle{transform:rotate(180deg)}
#konrad-preview .case-note-list{list-style:none;margin:0;padding:0 32px 18px}
#konrad-preview .case-note-list li{margin:0;padding:10px 0}
#konrad-preview .case-note-list a{color:var(--link);text-decoration:none}
#konrad-preview .case-note-list a:hover{color:var(--ink)}
#konrad-preview .case-note .cn-title .cn-case-name{display:block;font-size:inherit}
#konrad-preview .case-note .cn-title .cn-citation{display:block;text-align:right;font-size:inherit;font-style:normal}
@media print{#konrad-preview .case-note-category summary{color:#000}#konrad-preview .case-note-list{display:block!important}}

/* Case-note contents use the shared .toc typography, numbering and spacing. */
#konrad-preview .case-note .cn-toc a{font-size:inherit}
#konrad-preview .case-note .cn-toc a:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
#konrad-preview .case-note .cn-sec :is(h2,h3,h4)[id]{scroll-margin-top:24px}
@media print{
 #konrad-preview .case-note .cn-toc{margin:12pt 0;break-inside:avoid}
 #konrad-preview .case-note .cn-toc h2,#konrad-preview .case-note .cn-toc li{font-size:10pt;line-height:1.35}
 #konrad-preview .case-note .cn-toc li{margin-bottom:3pt}
}

/* The note has a 960px reading width: 50% wider than the standard 640px. */
#konrad-preview .case-note{max-width:960px;margin-inline:auto}
#konrad-preview .cn-reader-pane[hidden],#konrad-preview .cn-reader-backdrop[hidden]{display:none}
/* Under the subtitle, Show/Hide source, outlined like the contact form's button (filled in reverse colours while the
   source is showing). */
#konrad-preview .case-note .cn-actions{display:flex;flex-wrap:wrap;gap:10px;margin:-14px 0 28px}
#konrad-preview .case-note .cn-actions button{appearance:none;display:inline-flex;align-items:center;gap:.45em;margin:0;padding:1px 12px;border:1px solid var(--quiet);border-radius:0;background:transparent;color:var(--ink);font:inherit;font-size:16.4px;line-height:1.5;cursor:pointer}
#konrad-preview .case-note .cn-actions button:hover{border-color:var(--ink)}
#konrad-preview .case-note .cn-actions button svg{flex:none;width:1em;height:1em}
/* While the judgment is showing, Hide judgment is filled in reverse colours. */
#konrad-preview .case-note .cn-actions .cn-judgment-toggle[aria-expanded="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
#konrad-preview .case-note .cn-actions button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* The header's print icon opens a small menu: Case note or Source. */
#konrad-preview .subpage-header .site-print{position:relative}
#konrad-preview .cn-print-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:20;display:flex;flex-direction:column;min-width:9em;padding:4px 0;background:var(--paper);border:1px solid var(--rule);box-shadow:0 6px 18px #0000001f}
#konrad-preview .cn-print-menu[hidden]{display:none}
#konrad-preview .cn-print-menu button{appearance:none;border:0;border-radius:0;background:none;margin:0;padding:6px 16px;text-align:left;white-space:nowrap;font:inherit;font-size:16.4px;line-height:1.5;color:var(--ink);cursor:pointer}
#konrad-preview .cn-print-menu button:hover,#konrad-preview .cn-print-menu button:focus-visible{background:color-mix(in srgb,var(--ink) 9%,transparent);outline:none}
/* The judgment is printed from an invisible frame holding the PDF. */
.cn-print-frame{position:fixed;right:0;bottom:0;width:0;height:0;border:0;visibility:hidden}
/* The subtitle's neutral citation links to the judgment on courts.ie, with an arrow outside the underline like the Disclaimer link. */
#konrad-preview .case-note .cn-courts-link{white-space:nowrap;color:var(--link);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
#konrad-preview .case-note .cn-courts-link::after{content:"→";display:inline-block;margin-left:.3em;font-size:.85em;text-decoration:none}
#konrad-preview .case-note .cn-courts-link:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
/* Judgment pages are drawn by PDF.js as plain sheets on the page background, with a transparent text layer for selection. */
#konrad-preview .cn-reader-pane{display:flex;flex-direction:column;background:var(--paper)}
#konrad-preview .cn-reader-bar{display:none}
#konrad-preview .cn-judgment-frame{position:relative;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;display:flex;flex-direction:column;gap:16px}
#konrad-preview .cn-judgment-frame::-webkit-scrollbar{display:none}
#konrad-preview .cn-judgment-frame:focus-visible{outline:1px solid var(--ink);outline-offset:-1px}
#konrad-preview .cn-reader-status{margin:0;color:var(--quiet);font-size:16.4px}
#konrad-preview .cn-page{position:relative;flex-shrink:0;width:100%;background:#fff;box-shadow:0 0 0 1px var(--rule),0 2px 8px #0000001a}
#konrad-preview .cn-page canvas{display:block;width:100%;height:100%}
#konrad-preview .cn-page .textLayer{position:absolute;inset:0;overflow:clip;line-height:1;text-align:initial;text-size-adjust:none;-webkit-text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;caret-color:CanvasText}
#konrad-preview .cn-page .textLayer :is(span,br){position:absolute;color:transparent;white-space:pre;cursor:text;transform-origin:0 0}
#konrad-preview .cn-page .textLayer span.markedContent{top:0;height:0}
#konrad-preview .cn-page .textLayer ::selection{background:color-mix(in srgb,AccentColor,transparent 75%)}
#konrad-preview .cn-page .textLayer br::selection{background:transparent}
#konrad-preview .cn-page .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;cursor:default;user-select:none}
#konrad-preview .cn-page .textLayer.selecting .endOfContent{top:0}
#konrad-preview .cn-reader-backdrop{display:none}
/* A neutral citation found on judgments.courts.ie: a blue box blended over the page turns the black text blue and
   leaves the white page white, with a blue rule beneath; it links to the cited judgment. */
/* The same citations in the note's own text link to courts.ie in the website's usual link style (plain when printed). */
#konrad-preview .case-note a.cn-cite-text{font-size:inherit}
#konrad-preview .cn-page .cn-cite-ink{position:absolute;z-index:2;background:#1d5fcf;mix-blend-mode:lighten;pointer-events:none}
#konrad-preview .cn-page .cn-cite{position:absolute;z-index:3;box-sizing:border-box;border-bottom:1px solid #1d5fcf;cursor:pointer}
#konrad-preview .cn-page .cn-cite:hover{border-bottom-width:2px}
#konrad-preview .cn-page .cn-cite:hover + .cn-cite-ink{background:#0b3a8f}
#konrad-preview .cn-page .cn-cite:focus-visible{outline:2px solid #1d5fcf;outline-offset:2px}
/* Paragraph references in the note ("[83]") link to the paragraph in the judgment, which is briefly highlighted. */
#konrad-preview .case-note a.cn-para-ref{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
#konrad-preview .case-note a.cn-para-ref:hover{text-decoration-color:currentColor}
#konrad-preview .case-note a.cn-para-ref:focus-visible{outline:1px solid var(--ink);outline-offset:2px}
#konrad-preview .cn-para-mark{position:absolute;pointer-events:none;background:#f2c94c66;mix-blend-mode:multiply;opacity:0}
#konrad-preview .cn-para-mark.cn-para-mark-on{animation:cn-para-flash 2.6s ease-out}
@keyframes cn-para-flash{0%,45%{opacity:1}100%{opacity:0}}
html.cn-reader-modal{overflow:hidden}
/* Wide screens with the judgment shown: the window splits exactly in half. The note column scrolls on its own, so its
   scrollbar sits between note and judgment; the note keeps its 960px maximum (1.5 times the standard 640px), centred
   in its half. The judgment fills the right half from the top of the window to the bottom and to the right edge. */
@media(min-width:1200px){
 html:has(#konrad-preview.cn-reader-open){overflow:hidden}
 #konrad-preview.cn-reader-open{--cn-column:50vw;width:var(--cn-column);height:100dvh;overflow-y:auto;overscroll-behavior:contain}
 #konrad-preview .cn-reader-pane{position:fixed;inset:0 0 0 var(--cn-column);z-index:1}
 #konrad-preview .cn-judgment-frame{padding:0 0 16px 8px}
}
/* Narrower screens: the judgment slides over the note from the right, with a Close button. */
@media(max-width:1199px){
 #konrad-preview .cn-reader-pane{position:fixed;inset:0 0 0 auto;z-index:101;width:min(92vw,680px);height:100dvh;border-left:1px solid var(--rule);box-shadow:-8px 0 24px #0002}
 #konrad-preview .cn-reader-bar{display:flex;justify-content:flex-end;flex-shrink:0;padding:12px 16px}
 #konrad-preview .cn-reader-bar button{appearance:none;border:0;background:none;color:var(--link);padding:0;font:inherit;font-size:16.4px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
 #konrad-preview .cn-reader-bar button:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
 #konrad-preview .cn-judgment-frame{padding:0 8px 16px}
 #konrad-preview .cn-reader-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:100;appearance:none;border:0;border-radius:0;padding:0;background:#0003;cursor:pointer}
}
@media print{
 html.cn-reader-modal{overflow:visible}
 #konrad-preview .case-note{max-width:none}
 #konrad-preview .case-note :is(a.cn-para-ref,.cn-courts-link,a.cn-cite-text){color:inherit;text-decoration:none}
 #konrad-preview .case-note .cn-courts-link::after{content:none}
 #konrad-preview .cn-reader-pane,#konrad-preview .cn-reader-backdrop,#konrad-preview .case-note .cn-actions{display:none!important}
}
