:root{color-scheme:light;--ink:#201d30;--muted:#645f72;--brand:#514278;--active:#48326f;--lav:#efebf7;--line:#e2dfe8;--ground:#f7f6fa;--paper:#fff;--bad:#8e263c;--teal:#265f64;font:16px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--ground)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}a{color:var(--active);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a58dc7;outline-offset:3px}button{border:0;background:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3{line-height:1.23;letter-spacing:-.025em}h2{font-size:1.2rem}h3{font-size:1.04rem}p{overflow-wrap:anywhere}hr{border:none;border-top:1px solid var(--line);margin:16px 0}[hidden]{display:none!important}.ic{width:1.22em;height:1.22em;flex:none;vertical-align:-.21em}.skip{position:fixed;left:12px;top:-100px;z-index:12;background:white;padding:10px}.skip:focus{top:10px}
.app-frame{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh;max-width:1740px;margin:auto}.rail{height:100vh;position:sticky;top:0;border-right:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;padding:0 16px}.brand{display:flex;align-items:center;gap:3px;min-height:75px;color:#26233e;padding:0 8px}.brand:hover{text-decoration:none}.brand img{width:29px;height:35px;object-fit:contain;margin-right:6px}.brand strong{font-size:1.54rem;letter-spacing:-.075em}.brand strong span{color:#42578b}.brand b,.mobile-brand b{letter-spacing:.005em;color:var(--brand);font-weight:600;font-size:.77rem;margin-left:5px;background:var(--lav);border-radius:6px;padding:3px 7px}#navigation{display:grid;gap:3px;overflow:auto;padding:15px 0}.nav-link,.management{display:flex;align-items:center;gap:12px;padding:10px 13px;color:#4b465b;border-radius:9px;min-height:43px;font-size:.96rem;font-weight:530}.nav-link:hover,.management:hover{background:#f6f4f9;text-decoration:none}.nav-link.active{background:#eee9f6;color:var(--active);font-weight:690}.nav-link .ic{width:20px;height:20px}.nav-divider{height:1px;background:var(--line);margin:10px 10px}.rail-foot{margin-top:auto;border-top:1px solid var(--line);padding:11px 0}.management{font-size:.82rem;color:var(--muted)}.own-chip{display:flex;align-items:center;gap:10px;border-radius:8px;padding:8px;color:var(--ink)}.own-chip .own-name{font-size:.9rem;font-weight:650}.own-chip small{display:block;color:var(--muted);font-size:.77rem}.own-name,.who,.clip{overflow-wrap:anywhere}.workspace{min-width:0}.topbar{height:64px;padding:0 clamp(18px,3.5vw,56px);display:flex;align-items:center;gap:14px;background:#ffffffed;border-bottom:1px solid var(--line)}#crumb{color:var(--muted);font-size:.86rem;font-weight:580}.push{flex:1}.hamb,.mobile-brand,.scrim{display:none}.iconbtn,.soft-icon{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;border-radius:9px;color:var(--brand);padding:7px}.iconbtn:hover,.soft-icon:hover{background:var(--lav);text-decoration:none}.workspace main{max-width:1370px;padding:30px clamp(18px,3.5vw,56px) 70px;margin:auto}.page-title{margin:0 0 18px}.page-title h1{font-size:clamp(1.76rem,3.4vw,2.55rem);letter-spacing:-.05em;font-weight:700}.page-title p,.meta,.hint,.secondary,.empty p{color:var(--muted)}.page-title p{margin-top:6px}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,310px);gap:22px;align-items:start}.side{min-width:0;display:grid;gap:14px}.stack{min-width:0;display:grid;gap:14px}.card{border:1px solid var(--line);background:var(--paper);border-radius:15px;padding:20px;min-width:0}.side .card{padding:17px}.card p+p,.section p+p{margin-top:8px}.card-title,.row,.meta-row,.rail-foot .row,.toolbar,.post-foot,.banner-tools,.tabbar,.material-pills{display:flex;align-items:center;gap:9px}.card-title{justify-content:space-between;margin-bottom:12px}.card-title h2{font-size:1.08rem}.toolbar,.tabbar,.material-pills,.banner-tools{flex-wrap:wrap}.toolbar{gap:7px}.meta,.hint{font-size:.84rem}.hint{margin:6px 0}.avatar{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;flex:none;border-radius:50%;background:var(--lav);color:var(--brand);font-weight:720;font-size:.89rem;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.sm{width:32px;height:32px;font-size:.7rem}.avatar.lg{width:72px;height:72px;font-size:1.35rem}.avatar.editor{background:#433261;color:#fff;border-radius:12px}.avatar.editor .ic{width:53%;height:53%}.btn,.tab,.material,.chip-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;min-height:38px;border-radius:8px;font-size:.9rem;font-weight:600;line-height:1.25;max-width:100%;overflow-wrap:anywhere;color:var(--brand)}.btn{border:1px solid var(--line);background:#fff}.btn.primary{background:var(--active);color:white;border-color:var(--active)}.btn.primary:hover{background:#392755}.btn.ghost{border-color:transparent;background:transparent}.btn.danger{color:var(--bad)}.btn:hover,.tab:hover,.material:hover,.chip-button:hover{text-decoration:none;background:#f0edf5}.tabbar{gap:6px;margin:3px 0 14px}.tab{border:1px solid var(--line);border-radius:20px;color:var(--muted);background:#fff;padding:6px 13px}.tab[aria-pressed=true],.tab.active{color:var(--active);background:var(--lav);border-color:#c7b9d9}.tag{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:2px 8px;font-size:.76rem;font-weight:700;background:var(--lav);color:var(--brand);white-space:nowrap}.t-rvi{background:#e1f1ee;color:#235c58}.t-neuro{background:#ece6f5;color:#634585}.t-cardio{background:#fae8ea;color:#8c4653}.post-head{display:flex;align-items:flex-start;gap:10px}.post-head .meta{margin-top:1px}.post-head .who{font-size:.99rem;font-weight:680;color:var(--ink)}.post-body{white-space:pre-wrap;margin:12px 0 9px}.post-foot{border-top:1px solid var(--line);margin-top:14px;padding-top:7px;flex-wrap:wrap}.post-foot button{font-size:.82rem;min-height:35px;padding:4px 7px;display:inline-flex;align-items:center;gap:5px;color:var(--muted);border-radius:8px}.post-foot button:hover{background:var(--lav)}.post-foot [aria-pressed=true]{background:var(--lav);color:var(--active)}.post-foot [aria-pressed=true] .ic{fill:#dfd4ef}.post-ref{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--line);border-radius:10px;margin:9px 0;color:var(--ink)}.post-ref:hover{background:#f7f5fa;text-decoration:none}.reficon{background:var(--lav);color:var(--brand);padding:9px;display:inline-flex;border-radius:9px}.post-ref strong,.post-ref small{display:block;overflow-wrap:anywhere}.post-ref small,.soft-label{font-size:.8rem;color:var(--muted)}.list-link,.directory-row,.msg-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line);color:var(--ink);overflow-wrap:anywhere}.list-link:first-child,.directory-row:first-child,.msg-row:first-child{border-top:0}.list-link:hover,.msg-row:hover{color:var(--brand);text-decoration:none}.list-link .ic:last-child{margin-left:auto;width:16px}.list-link .subtitle{font-size:.78rem;color:var(--muted)}.list-link strong{font-weight:620;line-height:1.34;font-size:.95rem;display:block}.linkbtn{color:var(--brand);font-size:.87rem;font-weight:600;padding:4px 0}.empty{padding:18px 5px}.empty p{font-size:.9rem;margin:4px 0}.waiting{color:var(--muted);padding:18px}.composer{border-top:3px solid #756098}.composer textarea{border:0;resize:vertical;width:100%;min-height:77px;margin:0 0 5px;padding:6px;background:transparent}.composer .row{align-items:flex-start}.composer .toolbar{border-top:1px solid var(--line);padding-top:10px}.composer label{margin:4px 0 7px}.composer .avatar{margin-top:5px}.label,.field{display:block;color:var(--ink);font-size:.89rem;font-weight:600}.field input:not([type=checkbox]),.field textarea,.field select,.control,.search input,.link-entry{display:block;width:100%;border:1px solid #cfcbd8;background:#fff;border-radius:8px;padding:9px 10px;font:inherit;font-weight:400;min-height:41px}.field textarea{min-height:78px;resize:vertical}.field+ .field{margin-top:10px}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #cfcbd8;border-radius:9px;padding:0 11px}.search input{border:0;padding:9px 0;outline-offset:1px}.grid2,.proc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.proc-tile{padding:16px;display:grid;gap:7px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink)}.proc-tile:hover{border-color:#b6a6cb;background:#fcfbfe;text-decoration:none}.proc-tile .tag{justify-self:start}.proc-tile h3,.proc-tile strong{line-height:1.3}.procedure-intro{border-left:4px solid #756098}.procedure-intro p{margin:8px 0}.step{border-top:1px solid var(--line);padding:13px 0}.step:first-of-type{border-top:0}.step summary,.profile-group summary{cursor:pointer;font-weight:650;line-height:1.38}.step summary{display:flex;list-style:none;align-items:center;gap:10px}.step summary::-webkit-details-marker{display:none}.step summary:after{content:'+';margin-left:auto;color:var(--muted);font-size:1.2rem}.step[open] summary:after{content:'−'}.seq{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:8px;background:var(--lav);color:var(--brand);font-size:.8rem}.step-content{padding:8px 0 1px 37px}.step-content p{margin-bottom:8px}.soft-label{display:block;margin:8px 0 4px;font-weight:650}.material{background:#f1f2f6;color:#444557;padding:4px 8px;min-height:29px;font-weight:530;font-size:.82rem}.material .ic{width:14px}.source-button{font-size:.78rem;padding:3px 7px;color:var(--brand);text-decoration:underline}.source-link{overflow-wrap:anywhere}.source-link .ic{width:.9em}.rec-card{background:#f4f7f6;border-color:#d0dfda}.rec-card h2{color:#235a52}.rec-card ul{padding-left:1.1rem}.rec-card li+li{margin-top:8px}.reading{max-width:870px;display:grid;gap:13px}.reading ul,.reading ol{margin:8px 0}.page-tools{margin:0 0 13px}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.section-header .tag{margin-bottom:6px}.catalog-row{padding:12px 0;border-bottom:1px solid var(--line)}.catalog-row button{display:block;text-align:left;font-weight:650;color:var(--brand);padding:0}.catalog-row small{display:block;color:var(--muted);font-size:.84rem}.profile-group{padding:12px 0;border-top:1px solid var(--line)}.profile-group .grid2{margin-top:12px}.check{display:flex;gap:7px;align-items:center;min-height:31px;font-size:.83rem;color:var(--muted);overflow-wrap:anywhere}.check input{accent-color:var(--active)}.profile-field{min-width:0}.profile-header,.join-top{display:flex;align-items:center;gap:16px;margin-bottom:13px}.profile-header .button-row{flex:1}.profile-header h2{overflow-wrap:anywhere}.profile-data{display:grid;grid-template-columns:minmax(110px,.65fr) minmax(0,1.4fr);gap:7px 14px}.profile-data dt{color:var(--muted)}.profile-data dd{margin:0;overflow-wrap:anywhere}.join{max-width:700px;margin:auto}.join .card{padding:clamp(19px,4vw,32px)}.join .topmark{width:46px;height:46px;border-radius:12px;background:var(--lav);display:grid;place-items:center;color:var(--brand)}.join form{padding:12px 0}.join details{border-top:1px solid var(--line);padding:12px 0}.join summary{cursor:pointer;color:var(--brand);font-weight:620}.bubble{max-width:86%;padding:9px 12px;border-radius:12px;background:#f0edf5;margin:5px auto 5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.mine{margin-left:auto;margin-right:0;background:#e9e1f3}.bubble small{display:block;font-size:.72rem;color:var(--muted);margin-top:5px}.bubble .source-button{font-size:.7rem}.msg-scroll{max-height:56vh;overflow:auto;padding:7px 2px}.form-error{color:var(--bad);margin:8px 0;font-weight:550}.comments{padding-top:8px}.comment{margin:9px 0;padding:9px;background:#f7f6fa;border-radius:8px}.comment p{margin:4px 0}.notes-list{list-style:none;padding:0}.notes-list li{margin:7px 0}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}dialog{width:min(540px,93vw);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:19px;color:var(--ink);background:var(--paper);box-shadow:0 18px 60px #21133333}dialog::backdrop{background:#1d17375c}.dialog-head .iconbtn{font-size:1.4rem}.dialog-body-text{margin:9px 0}.mono{font-family:ui-monospace,monospace;word-break:break-all}.template-text{min-height:220px!important}.badge-count{background:var(--brand);color:white;border-radius:12px;padding:1px 7px;font-size:.75rem}.wide{width:100%}.pad-top{margin-top:12px}#toast{position:fixed;bottom:17px;left:50%;transform:translateX(-50%);background:#34294b;color:white;z-index:20;border-radius:10px;padding:10px 15px;max-width:90vw;opacity:0;pointer-events:none}#toast.on{opacity:1}
@media(min-width:1450px){.workspace main{padding-top:36px}.layout{grid-template-columns:minmax(0,1fr) 325px;gap:28px}}
@media(max-width:1170px){.app-frame{grid-template-columns:197px minmax(0,1fr)}.rail{padding:0 10px}.workspace main{padding:22px 20px 62px}.layout{grid-template-columns:minmax(0,1fr) 230px;gap:13px}.card{padding:16px}.topbar{padding:0 20px}}
@media(max-width:930px){.layout{grid-template-columns:1fr}.side{grid-template-columns:repeat(2,minmax(0,1fr))}.side .card{height:100%}}
@media(max-width:720px){.app-frame{display:block}.rail{width:min(287px,84vw);position:fixed;inset:0 auto 0 0;height:100dvh;z-index:9;transform:translateX(-105%);padding:0 14px}.rail.open{transform:translateX(0)}.rail .brand{min-height:60px}.scrim:not([hidden]){display:block;position:fixed;inset:0;background:#211b3957;z-index:8}.hamb,.mobile-brand{display:inline-flex}.mobile-brand{align-items:center;font-weight:680;letter-spacing:-.03em}#crumb{display:none}.topbar{height:55px;gap:8px;padding:0 12px}.workspace main{padding:16px 12px 48px}.page-title{margin-bottom:12px}.side{grid-template-columns:1fr}.grid2{grid-template-columns:1fr}.proc-grid{gap:8px}.proc-tile{padding:11px}.card{border-radius:12px}.post-foot{gap:2px}.composer .toolbar .btn{padding:6px 8px}.profile-data{grid-template-columns:minmax(68px,.65fr) minmax(0,1.4fr)}.tabbar{gap:3px}.tab{padding:5px 10px}.step-content{padding-left:0}.brand b{font-size:.8rem}.directory-row{flex-wrap:wrap}.directory-row .wide{width:auto}}
@media(max-width:400px){.proc-grid{grid-template-columns:1fr}.card{padding:13px}.toolbar{gap:3px}.post-foot button{font-size:.77rem}.mobile-brand{font-size:.95rem}.topbar{padding:0 7px}}
@media(pointer:coarse){.btn,.tab,.iconbtn,summary,.nav-link,.post-foot button,.check,.list-link,.material,.source-button{min-height:44px}.field input:not([type=checkbox]),.field textarea,.field select,.control{font-size:16px}}
@media print{.rail,.topbar,.toolbar,.post-foot,.page-tools,.source-button,.skip,.scrim,#toast,dialog{display:none!important}.app-frame,.layout,.workspace,.reading{display:block}.workspace main{padding:0}.card{break-inside:avoid}.step{break-inside:avoid}.step-content{display:block!important}.side{display:none}}
:root .choice{border:0;padding:0;margin:0}.choice legend{font-weight:600;font-size:.89rem}.choice .check{display:inline-flex;margin-right:8px}.field input[type=file]{max-width:100%}.card .search+.tabbar{margin-top:14px}.section-header p{margin:11px 0}.post-body{line-height:1.55}.source-button{line-height:1.45}

.team-case{display:flex;align-items:center;gap:12px;padding:17px 0;border-top:1px solid var(--line);color:var(--ink)}.team-case:hover{text-decoration:none;color:var(--brand)}.team-case>div{flex:1;min-width:0}.team-case strong,.case-material-result strong{display:block}.team-case>.ic{color:var(--brand)}.case-note{padding:15px 2px;border-top:1px solid var(--line)}.case-note .post-body{margin:6px 0;white-space:pre-wrap}.case-material,.case-material-result{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;text-align:left;padding:7px 9px;border-radius:6px}.case-material{width:fit-content;background:var(--lav);margin:5px 0}.case-material-result{width:100%;border-bottom:1px solid var(--line);color:var(--brand)}.case-material-result:hover{background:var(--lav)}#case-material-results{max-height:235px;overflow:auto}#case-material-selected .toolbar{padding:4px 0}.team-case .meta{margin-top:5px}.case-note:last-child{padding-bottom:0}

.photo-fieldset {border:0; padding:0; margin:1.2rem 0 .7rem; min-width:0}
.photo-fieldset legend {font-size:1rem; font-weight:650; margin-bottom:.5rem}
.photo-fieldset [hidden] {display:none!important}
.photo-actions {display:flex; align-items:center; flex-wrap:wrap; gap:.8rem 1.2rem}
.photo-actions>div {flex:1; min-width:min(100%,12rem)}
.photo-actions .toolbar {justify-content:flex-start}
.photo-editor {display:grid; grid-template-columns:minmax(0,12rem) minmax(0,1fr); align-items:center; gap:1.1rem;
  margin-top:.75rem; padding:1rem; background:#f6f3f9; border-radius:.8rem}
.crop-circle {display:block; box-sizing:content-box; width:min(100%,13rem); height:auto; aspect-ratio:1; margin-inline:auto;
  border-radius:50%; background:white; box-shadow:0 0 0 1px #9c8ba8; user-select:none; -webkit-user-select:none; touch-action:none; cursor:grab}
.crop-circle:active {cursor:grabbing}
.crop-circle:focus-visible {outline:3px solid #6c4584; outline-offset:3px}
.photo-controls {min-width:0; display:grid; gap:.65rem}
.photo-zoom {display:grid; grid-template-columns:1fr auto; align-items:center}
.photo-zoom label {font-weight:600}
.photo-zoom span {color:var(--muted); font-variant-numeric:tabular-nums; font-size:.9rem}
.photo-zoom input[type=range] {grid-column:1/-1; width:100%; min-height:2.25rem; margin:0; padding:0; accent-color:var(--brand)}
.photo-fit-actions {display:flex; flex-wrap:wrap; gap:0 1rem}
.photo-fit-actions button {min-height:2.5rem; text-align:start}
@media (max-width:560px) {
  .photo-editor {grid-template-columns:minmax(0,1fr); gap:.85rem}
}
.post-sources {display:grid; gap:.45rem; min-width:0}
.post-sources:not(:empty) {margin:.6rem 0}
.post-source {min-width:0; display:flex; gap:.75rem; align-items:center; padding:.65rem .8rem; color:var(--ink);
  border:1px solid #ded8e5; border-radius:.7rem; background:#fcfbfd; overflow-wrap:anywhere}
.post-source:hover, .post-source:focus-visible {text-decoration:none; background:#f6f2f9; border-color:#a995b6}
.post-source:hover strong {text-decoration:underline}
.post-source>.ic {margin-left:auto; flex:none; color:#71627f}
.source-mark {display:inline-flex; width:42px; height:42px; border:1px solid #e7e2ea; border-radius:10px; align-items:center; justify-content:center;
  flex:none; overflow:hidden; background:white; color:#4e3266; font-size:.79rem; font-weight:750; letter-spacing:-.03em}
.source-copy {display:grid; gap:.08rem; min-width:0}
.source-copy small, .source-domain {color:#63586b; font-size:.77rem; line-height:1.35}
.source-copy strong {font-size:.95rem; line-height:1.35}
.source-choice {display:flex; align-items:center; justify-content:space-between; gap:1rem;}
.source-choice > div {min-width:0; overflow-wrap:anywhere;}
.source-choice .source-follow {flex:none; min-height:40px;}
.source-follow[aria-pressed="true"] {background:#f1eaf5; color:#573869; border-color:#cab8d4;}
.news-title {font-size:1.05rem; line-height:1.45; overflow-wrap:anywhere;}
.news-title a {color:var(--ink); font-weight:650;}
.news-title svg {height:.9em; width:.9em; vertical-align:middle;}
.tabbar:has(a.linkbtn) {flex-wrap:wrap;}

.boot-retry{animation:show-boot-retry 8s step-end both;text-align:center}
@keyframes show-boot-retry{from{visibility:hidden}to{visibility:visible}}

#report-proc {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
pre.template-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.consent-downloads {display:grid; gap:12px; margin:8px 0;}
.consent-downloads p {font-weight:600; margin-bottom:6px;}

.social-attest{display:flex;align-items:flex-start;gap:.65rem;line-height:1.5;margin:1rem 0;font-weight:500}
.social-attest input[type="checkbox"]{flex:0 0 auto;width:1.15rem;height:1.15rem;margin:.18rem 0 0}

.case-review-dialog{width:min(50rem,96vw);max-width:96vw;max-height:92dvh;border:1px solid #b9c7d0;border-radius:14px;padding:0;color:inherit;background:var(--paper,#fff);overflow:auto;overscroll-behavior:contain}
.case-review-dialog::backdrop{background:rgba(13,26,38,.64)}
.case-review-inner{padding:clamp(12px,3vw,24px);display:grid;gap:10px}
.case-review-inner h2,.case-review-inner p{margin:0}.case-review-inner h2{margin-right:auto}
.case-review-stage{display:flex;align-items:flex-start;justify-content:center;background:#e0e5e8;border-radius:5px;padding:5px;min-height:70px}
.case-review-stage canvas{display:block;max-width:100%;width:auto;height:auto;max-height:52dvh;object-fit:contain}
.case-review-inner [data-coordinate]{width:4.1rem}.case-review-inner [data-status]{color:#80351c;font-weight:600}
.case-review-inner [hidden]{display:none}.case-review-inner [data-mask][aria-pressed="true"]{outline:2px solid currentColor}
.case-class .btn{white-space:normal;text-align:start}
.case-review-stage.case-zoomed{display:block;overflow:auto;max-height:60dvh}
.case-review-stage.case-zoomed canvas{width:160%;max-width:none;max-height:none}

.case-procedure-chooser,.private-material-entry{margin:1rem 0;padding:.85rem;border:1px solid var(--line);border-radius:12px;min-width:0}
.case-procedure-chooser>summary{cursor:pointer;color:var(--ink)}
.case-procedure-chooser>summary strong{display:block;font-size:.95rem;color:var(--brand);margin:.25rem 0 0 1rem}
.procedure-picker-body{padding-top:.6rem}.procedure-area-row,.case-entry-modes{display:flex;gap:.4rem;flex-wrap:wrap}
.procedure-area-row .tab,.case-entry-modes button{min-height:42px;line-height:1.2}
.procedure-area-row .tab[aria-pressed=true],.case-entry-modes button[aria-expanded=true]{background:var(--brand);color:white}
.case-zones{display:grid;grid-template-columns:minmax(86px,140px) minmax(0,1fr);gap:.9rem;align-items:center;margin:.55rem 0}
.case-zones .organ-drawing svg{display:block;width:100%;height:170px}
.case-zones .organ-pin .zone-hit{fill:transparent;stroke:none;pointer-events:all;cursor:pointer}
.case-zones .field{margin:0}.case-zones select{width:100%;min-width:0}
.case-procedure-result{display:block;padding:.6rem .2rem;min-height:42px;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--ink);cursor:pointer;width:100%;font:inherit}
.case-procedure-result:hover,.case-procedure-result[aria-pressed=true]{color:var(--brand)}
.procedure-pagination{justify-content:space-between;margin-top:.65rem}.case-entry-modes>button{flex:1 1 0;min-width:0;padding:.55rem .35rem}
.private-material-entry [id^="entry-"]{margin:.7rem 0}.private-material-entry [hidden]{display:none!important}
.private-material-entry [role=status]:empty{display:none}.private-material-entry{overflow-anchor:none}
.private-material-entry .case-material-result{min-height:46px}
@media(max-width:520px){.case-zones{grid-template-columns:clamp(112px,34vw,148px) minmax(0,1fr)}.case-zones .organ-drawing svg{height:clamp(155px,43vw,176px)}.case-entry-modes button{font-size:.88rem}.procedure-area-row .tab{padding:.4rem .65rem}}

.case-zone-shortcuts{display:flex;gap:.4rem;flex-wrap:wrap;margin:.25rem 0 .8rem}.case-zone-link{min-height:44px;border:1px solid var(--line);border-radius:1rem;background:transparent;color:var(--brand);padding:.4rem .65rem;cursor:pointer;font:inherit;font-size:.82rem}
.case-zone-link[aria-pressed=true]{background:var(--brand);color:white}

:root[data-social-text="large"]{font-size:112.5%}
:root[data-social-text="larger"]{font-size:125%}
.settings-search{max-width:45rem;margin-bottom:1rem}
.settings-index{display:grid;max-width:45rem;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--paper)}
.settings-index>a{display:flex;gap:1rem;align-items:center;padding:1rem 1.15rem;color:var(--ink)}
.settings-index>a+a{border-top:1px solid var(--line)}
.settings-index>a:hover,.settings-index>a:focus-visible{background:var(--lav);text-decoration:none}
.settings-index>a>.ic{width:1.35rem;height:1.35rem;color:var(--brand)}
.settings-index span,.settings-actions,.settings-checks{display:grid;gap:.25rem}
.settings-index small{color:var(--muted);font-size:.88rem}
.settings-index b{margin-inline-start:auto;color:var(--muted);font-weight:400}
.settings-actions{justify-items:start;gap:.65rem}
.settings-checks{padding:0;border:0;max-width:42rem;margin:.5rem 0 1rem}
.settings-checks legend{font-weight:600}
.settings-checks label{display:flex;gap:.8rem;align-items:center;min-height:44px;cursor:pointer}
.settings-checks input{width:1.13rem;height:1.13rem;accent-color:var(--active);flex:none}

#office-import [data-review]{display:grid;gap:.85rem;margin:1rem 0}#office-import [data-case-index]{max-width:100%}.office-device{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin:.5rem 0}.office-device input[type=number]{max-width:5rem}

.case-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;max-width:23rem;margin:.5rem auto 1rem}
.case-category{min-height:3.25rem;padding:.5rem .25rem;border:1px solid var(--line);border-radius:.65rem;background:var(--card,#fff);color:var(--ink);font:inherit;font-weight:600;line-height:1.2;cursor:pointer}
.case-category:hover{border-color:var(--brand)}
.case-category[aria-pressed=true],.family-navigation [aria-current=page]{border-color:var(--brand);background:var(--brand);color:white}
.case-category:focus-visible,.case-procedure-family summary:focus-visible,.family-navigation a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.case-procedure-family{border-bottom:1px solid var(--line)}
.case-procedure-family>summary{padding:.7rem .2rem;min-height:44px;cursor:pointer;color:var(--ink);font:inherit}
.case-procedure-family[open]>summary{color:var(--brand);font-weight:600}
.case-procedure-family>[role=group]{margin:0 0 .4rem .8rem;padding-left:.65rem;border-left:2px solid var(--line)}
.case-procedure-family .case-procedure-result{min-height:44px}
.family-navigation{display:flex;flex-wrap:wrap;gap:.45rem;margin:.5rem 0 1rem}
.family-navigation a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}

#case-procedure-picker [hidden], [data-case-details][hidden], #private-export [hidden]{display:none!important}
#case-procedure-picker{margin:.25rem 0 1rem}
#private-query{width:100%;min-height:46px;border:1px solid var(--line);border-radius:8px;padding:.65rem .8rem;background:var(--paper)}
#procedure-options{border:1px solid var(--line);border-radius:8px;margin-top:.3rem;max-height:19rem;overflow:auto}
#procedure-options [role=option]{display:grid;padding:.65rem .85rem;gap:.15rem;cursor:pointer}
#procedure-options [aria-selected=true],#procedure-options [role=option]:hover{background:var(--soft,#f3eff7)}
#procedure-options small{color:var(--muted)}
[data-case-selection]{display:flex;align-items:baseline;gap:1rem;justify-content:space-between}
[data-case-details]{border:0;padding:0;margin:0;min-width:0}
#private-export{margin:.8rem 0}

#private-case-reports{margin:1.25rem 0}
#private-case-reports [data-editor]:not(:empty){padding:1rem;border:1px solid var(--line,#ddd7e6);border-radius:.75rem}
.report-offer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin:.5rem 0}
.report-field{margin:.8rem 0}
.report-products{margin:.25rem 0;padding-inline-start:1.4rem;overflow-wrap:anywhere}
.report-assignments .grid2{margin-top:.65rem}
.report-assignments select,.report-field textarea{max-width:100%;min-width:0}
.report-shortcuts,.report-routine{display:flex;gap:.4rem;flex-wrap:wrap;align-items:baseline;margin:.2rem 0 .35rem}
.report-choice{min-height:2.2rem;padding:.35rem .65rem;line-height:1.35;text-align:start;white-space:normal}
.report-choice[aria-pressed=true]{background:var(--primary,#553391);color:#fff;border-color:transparent}
.report-routine{align-items:flex-start;flex-direction:column;margin:.9rem 0}
.report-group{margin-block:.6rem}.report-group summary{cursor:pointer}
.report-device-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.55rem;margin:.55rem 0}
.report-device-grid input{min-width:0;width:100%}.report-device-grid label{margin:0}
.report-device+.report-device{border-top:1px solid var(--line,#ddd7e6);padding-top:.5rem}

.case-material-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(15rem,2fr);gap:1rem;align-items:start}
.case-material-layout>div{min-width:0}
.case-cart{padding:.8rem;background:var(--lav);border-radius:.7rem;overflow-wrap:anywhere}
.case-cart h3{margin:0;display:flex;gap:.5rem;align-items:baseline;justify-content:space-between}
.case-cart h3 small{font-size:.8rem;font-weight:normal}
.case-cart .private-line{padding:.7rem 0;border-top:1px solid var(--line);margin-top:.6rem}
.case-cart .private-quantity{display:flex;align-items:center;gap:.5rem;margin-top:.35rem}
#private-results{max-height:19rem;overflow:auto}
#private-results .case-material-result{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:.7rem;text-align:start}
#private-results .case-material-result small{display:block;color:var(--muted)}
.pick-label{font-weight:600}
@media(max-width:780px){.case-material-layout{grid-template-columns:minmax(0,1fr)}#private-results{max-height:12rem}}
