@font-face{font-family:Poppins;src:url('./fonts/Poppins-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('./fonts/Poppins-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Poppins;src:url('./fonts/Poppins-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Poppins;src:url('./fonts/Poppins-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#17324d;--muted:#5d7085;--green:#2f6fb3;--mint:#eaf2fb;--line:#cbd6e2;--bg:#f7f9fc;--paper:#fff;--orange:#805719;font-family:Poppins,Arial,sans-serif;font-size:13px;line-height:1.6;color-scheme:light}
body{background:var(--bg)}button,input,select,textarea{font-family:inherit}button,.button{border-radius:2px;font-weight:500;box-shadow:none}button:hover:not(:disabled),.button:hover{background:var(--mint)}.primary:hover:not(:disabled){background:#265e98;color:white}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2f6fb3;outline-offset:3px}
input,select,textarea{border-radius:2px;border-color:var(--line)}h1{font-size:29px;font-weight:400;letter-spacing:-.6px;line-height:1.3}h2{font-weight:400;line-height:1.4}h3{font-weight:500}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:.09em}.tag{border-radius:2px;font-weight:500;font-size:11px}.tag.orange{background:#fff7e8;color:#805719}.tag.grey{background:#f2f4f7;color:var(--muted)}
.app{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:25px 15px 20px;border-color:#e5ebf2;gap:20px}.brand{display:flex;justify-content:center;padding:0;min-height:108px}.brand-image{width:106px;height:106px;object-fit:contain}.nav{gap:4px}.nav button{min-height:40px;padding:9px 11px;border-radius:2px;font-weight:400;color:#537399}.nav button.active{box-shadow:inset 3px 0 #2f6fb3;color:#2f6fb3;font-weight:600}.navlabel{font-size:10px;letter-spacing:.08em}.sidebottom{border-color:#e5ebf2;font-size:11px;padding:15px 8px 0}.main{background:white}.topbar{min-height:73px;height:auto;padding:16px 30px;border-color:#e5ebf2}.topbar strong{font-weight:500}.content{padding:27px 30px;max-width:1800px}.heading{margin-bottom:20px}.heading p{font-size:12px}.heading-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.view-switch{display:flex;gap:2px;border:1px solid var(--line);padding:2px;border-radius:2px}.view-switch button{border:0;padding:8px 14px;background:white;font-size:12px}.view-switch button[aria-pressed=true]{background:var(--green);color:white}
.stats{gap:10px;margin-bottom:20px}.stat{border-color:#e5ebf2;border-radius:2px;box-shadow:none;padding:12px 15px}.stat strong{font-size:24px;font-weight:500;margin-top:3px;letter-spacing:-.5px}.stat div{font-size:11px}.stat small{font-size:10px}.toolbar{gap:12px}.filters{gap:9px}.search{border-radius:2px;border-color:var(--line);flex:1}.search input{width:230px;font-size:12px}.more-filters{position:relative}.more-filters summary{cursor:pointer;list-style:none;border:1px solid var(--line);padding:9px 13px;font-size:12px;font-weight:500;background:white}.more-filters summary::-webkit-details-marker{display:none}.more-filters summary:after{content:' ▾'}.more-filters[open] summary:after{content:' ▴'}.extra-filters{position:absolute;right:0;top:calc(100% + 5px);z-index:20;display:grid;gap:12px;background:white;border:1px solid var(--line);padding:15px;width:250px;box-shadow:0 8px 24px #17324d16}.extra-filters label{font-size:11px;font-weight:500}.extra-filters select{width:100%}
.board{grid-template-columns:repeat(5,minmax(180px,1fr));gap:14px;min-height:350px;max-height:calc(100dvh - 360px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 0 12px}.lanehead{font-weight:500;color:var(--muted);font-size:11px}.lanehead .count{background:#f2f5fa;color:var(--muted);border-radius:2px}.card{border:1px solid #d9e2ed;border-radius:2px;padding:14px;box-shadow:none;gap:8px}.card.selected{border-color:#97b6d7;box-shadow:inset 3px 0 #2f6fb3;background:#f8fbff}.card .subject{font-size:12px;font-weight:600;line-height:1.55}.card .snippet{font-size:12px;line-height:1.65}.cardfoot{border-color:#e5ebf2;font-size:10px}.caseid{font-size:10px;color:var(--muted)}.empty{border-radius:2px;font-size:12px}.inbox-layout[data-layout=board] #detail-slot{display:none}.inbox-layout[data-layout=list]{display:grid;grid-template-columns:minmax(260px,36%) minmax(0,1fr);border:1px solid var(--line);min-height:520px;max-height:75dvh;overflow:hidden}.inbox-layout[data-layout=list] .board{display:flex;flex-direction:column;gap:0;min-height:0;max-height:none;overflow:auto;padding:0;background:white;border-right:1px solid var(--line)}.inbox-layout[data-layout=list] .card{border:0;border-bottom:1px solid #e5ebf2;flex-shrink:0;gap:4px;padding:15px 16px}.inbox-layout[data-layout=list] #detail-slot{overflow:auto;min-height:0}.inbox-layout[data-layout=list] .detail{margin:0;border:0;border-radius:0}.inbox-layout[data-layout=list] .detailgrid{grid-template-columns:1fr}.inbox-layout[data-layout=list] .original{border:0;border-bottom:1px solid #e5ebf2}.inbox-layout[data-layout=list] .detailhead{flex-wrap:wrap}
.detail{border-radius:2px;border-color:var(--line)}.detailhead{padding:18px 24px;border-color:#e5ebf2}.detailhead h2{font-size:21px}.detailhead .actions{gap:9px}.original,.reply{padding:20px 24px}.original{border-color:#e5ebf2}.letter{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.panel,.skill{border-radius:2px;border-color:#e5ebf2;box-shadow:none}.panel{padding:18px}.notice,.next,.meta{border-radius:2px;background:#f7f9fc}.notice{font-size:11px;color:var(--muted)}.meta{grid-template-columns:100px minmax(0,1fr);overflow-wrap:anywhere}.skills{gap:15px}.skill h3{font-size:15px}.skill p{font-size:12px}.plannerframe{border-radius:2px}
.case-focus{padding:0;margin:auto;border:1px solid var(--line);border-radius:12px;width:min(860px,calc(100vw - 48px));max-width:none;height:min(84dvh,850px);max-height:calc(100dvh - 40px);background:white;box-shadow:0 28px 90px #11233747;overflow:hidden;color:var(--ink)}.case-focus[open]{display:flex;flex-direction:column}.case-focus::backdrop{background:rgba(249,251,255,.69);backdrop-filter:blur(30px) saturate(.6)}.case-focus-toolbar{display:flex;gap:18px;align-items:center;padding:18px 24px 0;flex-shrink:0}.case-focus-toolbar img{width:94px;height:94px;object-fit:contain}.case-focus-toolbar>div{flex:1;color:var(--muted);font-size:11px}.case-focus-toolbar button{width:36px;height:36px;font-size:24px;font-weight:400;border:0;align-self:flex-start;padding:0}.case-focus-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1}.case-focus .detail{border:0;margin:0}.case-focus .detailhead{border:0;padding-top:8px;align-items:flex-start}.case-focus .detailgrid{grid-template-columns:1fr}.case-focus .original{border-right:0;border-bottom:1px solid #e5ebf2}.case-focus .reply{background:#f9fbfe}.case-focus .original>.panel{border:0;border-bottom:1px solid #e5ebf2;padding:15px 0;margin:0!important}.case-focus .letter{margin-top:10px}.case-focus .detailhead h2{margin-top:8px!important}
dialog.overlay{margin:0;inset:0;border:0;max-width:none;max-height:none;width:100vw;height:100dvh;color:var(--ink)}dialog.overlay::backdrop{background:transparent}.dialog{border-color:var(--line);border-radius:10px}.toast{background:#17324d;border-radius:3px;z-index:2000}.loading-empty{padding:28px;color:var(--muted);font-size:12px}.loaded-scope{font-size:11px;color:var(--muted);margin:0 0 15px}
@media(max-width:1100px){.app{grid-template-columns:170px minmax(0,1fr)}.content{padding:22px}.topbar{padding:15px 22px}.board{grid-template-columns:repeat(5,190px)}.inbox-layout[data-layout=list]{grid-template-columns:310px minmax(0,1fr)}}
@media(max-width:800px){.app{grid-template-columns:80px minmax(0,1fr)}.sidebar{padding:18px 7px}.brand{min-height:58px}.brand-image{width:58px;height:58px}.navlabel,.sidebottom{display:none}.nav button{padding:10px 5px;font-size:10px;line-height:1.4;white-space:normal}.content{padding:20px 16px}.topbar{padding:12px 16px}.heading{align-items:flex-start;flex-wrap:wrap}.inbox-layout[data-layout=list]{grid-template-columns:1fr;max-height:none}.inbox-layout[data-layout=list] .board{max-height:350px;border-right:0;border-bottom:1px solid var(--line)}.inbox-layout[data-layout=list] #detail-slot{max-height:70dvh}}
@media(max-width:700px){.app{display:block}.sidebar{height:auto;position:static;flex-direction:row;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #e5ebf2;border-right:0}.brand{min-height:0;flex:0 0 48px}.brand-image{width:48px;height:48px}.nav{display:flex;flex-direction:row;overflow:auto;min-width:0;gap:3px}.nav button{white-space:nowrap;flex-shrink:0;padding:10px 9px;font-size:11px}.nav .count{display:none}.heading-actions{gap:7px}.heading-actions #bulk{font-size:11px}.stats{gap:7px}.stat{padding:10px}.stat strong{font-size:22px}.stat small{display:none}.search input{width:min(220px,44vw)}.board{min-height:320px;max-height:65dvh}.extra-filters{right:0}.case-focus{width:calc(100vw - 24px);height:calc(100dvh - 28px);max-height:calc(100dvh - 28px);border-radius:10px}.case-focus-toolbar{padding:14px 16px 0;gap:10px}.case-focus-toolbar img{width:59px;height:59px}.case-focus .detailhead{padding:8px 16px 14px}.case-focus .detailhead h2{font-size:18px}.original,.reply{padding:18px 16px}.metaform{grid-template-columns:1fr}.case-focus::backdrop{backdrop-filter:blur(12px) saturate(.6)}}
@media(pointer:coarse){button,.button,input,select,summary{min-height:44px}input,select,textarea{font-size:16px}.case-focus-toolbar button{width:44px;height:44px}}
@media(prefers-reduced-motion:no-preference){.case-focus[open]{animation:focus-appear .16s ease-out}@keyframes focus-appear{from{opacity:.7;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}}
@supports not (backdrop-filter:blur(1px)){.case-focus::backdrop{background:rgba(238,244,251,.95)}}
