/* Small edit controls trigger WebKit's focus zoom. Respect the user's page zoom and text size. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  html:root body :is(input:not([type]),input:is([type=text],[type=email],[type=password],[type=search],[type=tel],[type=url],[type=number],[type=date],[type=time],[type=datetime-local]),select,textarea,[contenteditable=true]) {
    font-size: max(16px, 1rem) !important;
    min-inline-size: 0;
    max-inline-size: 100%;
    box-sizing: border-box;
  }
}
/* The generator is below a single fixed desktop header. */
@media (min-width: 1024px) {
  html body .n96-desktop-shell:has(#n96-officer-workspace [class*="CaptureFit_page"]) > .n96-desktop-spacer {
    height: 64px !important;
    min-height: 64px !important;
  }
  html body #n96-officer-workspace [class*="CaptureFit_page"] {
    padding-block-start: clamp(20px, 2vw, 32px) !important;
  }
}
[data-officer-home] #oh-title {
  overflow-wrap: anywhere;
}

html body .ws-home{max-width:1160px;margin:0 auto;padding:clamp(20px,4vw,52px) clamp(16px,4vw,40px) 48px;color:#f6f3ed;text-align:left}
.ws-home *{box-sizing:border-box}
html body .ws-home .ws-intro{position:static;inset:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;width:auto;height:auto;min-height:0;margin:0 0 22px;padding:0;background:none;border:0}
.ws-home #oh-title{font-size:clamp(2rem,4.5vw,3.35rem);line-height:1.06;letter-spacing:-.045em;font-weight:750;margin:0;overflow-wrap:anywhere;min-width:0}
.ws-home .ws-primary{background:#bbdef9;color:#11202d!important;padding:12px 18px;border-radius:10px;display:inline-flex;align-items:center;min-height:46px;font-weight:700;text-decoration:none}
.ws-home .ws-core,.ws-home .ws-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
.ws-home .ws-groups{margin-top:16px}
.ws-home .ws-card{min-width:0;padding:clamp(16px,2.5vw,26px);background:#242526;color:#f6f3ed;border:1px solid #4b4c4e;border-radius:16px}
.ws-home h2{font-size:clamp(1.1rem,2vw,1.4rem);font-weight:700;line-height:1.3;margin:0}
.ws-home .ws-section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 14px;margin:0 0 10px}
.ws-home .ws-section-head>a{display:inline-flex;align-items:center;min-height:44px;font-size:.95rem;color:#bedfff;text-decoration:underline;text-underline-offset:3px}
.ws-home input{background:#18191a;color:#faf8f4;border:1px solid #787b7e;border-radius:9px;width:100%;padding:12px;min-height:46px;font-size:1rem}
.ws-home input::placeholder{color:#b9babe}
.ws-home time{display:block;font-weight:650}
.ws-home p,.ws-home .ws-results li span,.ws-home .ws-court li span{color:#d0cfcc;line-height:1.5}
.ws-home p{margin:6px 0}
.ws-home ul{list-style:none;margin:8px 0 0;padding:0}
.ws-home li{border-top:1px solid #444648;margin:0}
.ws-home li a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:8px 0;color:#f6f3ed;text-decoration:none;overflow-wrap:anywhere}
.ws-home .ws-search li a,.ws-home .ws-court li a{flex-wrap:wrap}
.ws-home .ws-groups li span{color:#b9cbd9}
.ws-home .ws-pages,.ws-home .ws-counts{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.ws-home button{min-height:44px;padding:7px 12px;color:#e7eff7;background:#303438;border:1px solid #707579;border-radius:8px;font:inherit;cursor:pointer}
.ws-home button[aria-expanded=true]{background:#c0def6;color:#13202b}
.ws-home button:disabled{color:#c5c4c2;background:transparent;border-color:#505153;cursor:default}
.ws-home #ws-court-results ul,.ws-home .ws-results ul{max-height:19rem;overflow-y:auto;overscroll-behavior:contain}
.ws-home :is(a,button,input):focus-visible{outline:3px solid #a7d6ff;outline-offset:2px}
.ws-home li a:hover{text-decoration:underline}
@media(max-width:720px){.ws-home .ws-core,.ws-home .ws-groups{grid-template-columns:minmax(0,1fr);gap:12px}.ws-home .ws-groups{margin-top:12px}}
@media(max-width:1023px){html body .ws-home{padding-top:52px}}

/* Signed-in workspace. The case and draft controls retain their native reading order. */
html body .ws-home{max-width:1176px}
html body .ws-home .ws-intro{position:relative;isolation:isolate;overflow:hidden;display:flex;gap:22px;align-items:center;justify-content:space-between;padding:clamp(22px,3vw,36px);margin:0 0 18px;border:1px solid #505254;border-radius:18px;background:linear-gradient(115deg,#292a29 0%,#242627 58%,#333739 100%)}
.ws-intro::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 0 0 50%;background:repeating-linear-gradient(120deg,transparent 0 23px,rgba(220,226,224,.07) 23px 24px,transparent 24px 46px);mask-image:linear-gradient(90deg,transparent,#000)}
.ws-home .ws-heading{flex:1 1 280px;min-width:0}
.ws-home .ws-today{display:block;margin:0 0 9px;color:#d5cbb9;font-size:.9rem;font-weight:550;letter-spacing:.025em}
.ws-home .ws-primary{gap:14px;border:1px solid #d0e2ef;background:#d2e6f5;color:#142431!important;white-space:nowrap;border-radius:10px}
.ws-home .ws-primary span{font-size:1.15em}
.ws-home .ws-core{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch}
.ws-home .ws-core .ws-card{background:#232526}
.ws-home .ws-core .ws-court{background:linear-gradient(118deg,#2b2c2a,#242626);border-color:#575952}
.ws-home .ws-court time{margin:6px 0;color:#f3e7cf;font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.16;letter-spacing:-.035em;font-weight:650}
.ws-home .ws-groups{gap:0;background:#202223;border:1px solid #454749;border-radius:16px;padding:clamp(16px,2.3vw,26px) 0}
.ws-home .ws-groups .ws-card{border:0;border-radius:0;background:transparent;padding:0 clamp(16px,2.3vw,26px)}
.ws-home .ws-groups .ws-card+.ws-card{border-left:1px solid #454749}
.ws-home .ws-groups h2{color:#decec0;font-size:1.04rem}
.ws-home .ws-groups li a{padding:10px 4px;min-height:48px}
.ws-home .ws-counts button[aria-expanded=true]{background:#d6e7f4;color:#16202a}
@media(hover:hover){.ws-home .ws-groups li a:hover{background:#2a2d2e;text-decoration:underline}.ws-home .ws-primary:hover{background:#e6f2fb}}
@media(max-width:720px){
  .ws-home .ws-core{grid-template-columns:minmax(0,1fr)}
  html body .ws-home .ws-intro{gap:16px;margin-bottom:12px;padding:20px}
  .ws-home .ws-heading{flex-basis:100%}
  .ws-home .ws-primary{min-height:44px}
  .ws-home .ws-groups{gap:18px}
  .ws-home .ws-groups .ws-card+.ws-card{border-left:0;border-top:1px solid #454749;padding-top:18px}
}
@media(forced-colors:active){.ws-intro::before{display:none}.ws-home .ws-primary{border:1px solid ButtonText}}

html body .ws-home .ws-intro{background:linear-gradient(112deg,#242627 12%,#232a31 70%,#24394b)}
.ws-home .ws-today{color:#a6c9e9}
html body .ws-home .ws-primary{background:#52adff;border:1px solid #85c5ff;color:#0b1d2c!important;box-shadow:0 2px 10px #07172755}
.ws-home .ws-section-head>a{color:#a8d4ff}
.ws-home .ws-core .ws-court:has(time){background:linear-gradient(114deg,#202b35,#252728 88%);border-color:#57738a}
.ws-home .ws-court time{color:#e0efff}
.ws-home .ws-counts button[aria-expanded=true]{color:#e8f5ff;background:#234663;border-color:#7bbffa}
.ws-home .ws-groups h2{color:#d4e2ed}
.ws-home .ws-groups li span[aria-hidden]{color:#89bff0}
@media(hover:hover){html body .ws-home .ws-primary:hover{background:#78beff}.ws-home .ws-section-head>a:hover{color:#d5ebff}}
