:root{--ink:#182b26;--muted:#566962;--green:#245b47;--light:#e6efe6;--wash:#f5f6ef;--card:#fffef9;--rule:#d9dfd5;--red:#a34332;--redbg:#f7e8df;--brass:#caab62;--dark:#193e35;--serif:"Baskervville","Iowan Old Style",Georgia,serif;--sans:"DM Sans","Instrument Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{min-height:100%}body{margin:0;background:var(--wash);color:var(--ink);font:14px/1.5 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button,input,select,textarea{border-radius:7px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a07125;outline-offset:3px}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}.skip{position:absolute;left:-1000px}.skip:focus{left:10px;top:8px;z-index:8;background:white;padding:8px}
.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.rail{position:sticky;top:0;height:100vh;background:var(--dark);color:#edf1e7;display:flex;flex-direction:column;padding:30px 17px 22px}.brand{font:26px/1 var(--serif);display:flex;align-items:center;gap:11px;letter-spacing:-1.1px;padding:0 10px 41px;white-space:nowrap}.mark{display:grid;width:31px;height:31px;place-content:center;gap:3px;background:#d4bd7b;border-radius:7px;transform:rotate(-2deg)}.mark i{display:block;border-bottom:2px solid var(--dark);width:14px;transform:skewY(-16deg)}.rail nav{display:grid;gap:5px}.rail nav button{border:0;color:#d1e0d6;background:none;text-align:left;display:flex;align-items:center;gap:13px;padding:11px 13px;min-height:44px;font-weight:540}.rail nav button[aria-current=page]{background:#34594b;color:white;box-shadow:inset 3px 0 #d4bd7b}.rail nav button:hover{background:#2b5043}.navicon{font:21px Georgia,serif;display:grid;width:20px;text-align:center;line-height:1}.rail-foot{margin-top:auto;border-top:1px solid #496657;padding:20px 8px 0;display:flex;align-items:center;gap:9px;font-size:12px;color:#d5e1d6}.status-dot{width:7px;height:7px;border-radius:50%;background:#c6bc79}.workspace{min-width:0}.top{height:64px;padding:0 clamp(20px,4vw,65px);border-bottom:1px solid var(--rule);display:flex;align-items:center;justify-content:space-between}.wordmark{font-weight:670}.top-actions,.rowactions,.legend{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#mode{color:var(--muted);font-size:12px}.quiet{border:0;background:none;color:var(--green);font-weight:650;padding:5px 0}.top .quiet{font-size:12px}main{max-width:1460px;margin:0 auto;padding:34px clamp(20px,4vw,65px) 60px}.head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:0 0 24px}.head h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:normal}h1{font-size:clamp(38px,4.7vw,69px);line-height:1.07;letter-spacing:-2.6px}h2{font-size:clamp(23px,2.2vw,31px);line-height:1.16;letter-spacing:-.9px}h3{font-size:22px;letter-spacing:-.6px}.sub,.micro{color:var(--muted)}.sub{margin-top:8px}.micro{font-size:12px}.action,.secondary,.pill,.seg button,.select{border:1px solid var(--rule);background:var(--card);font-weight:600;padding:8px 13px}.action{background:var(--green);border-color:var(--green);color:white}.action:hover{background:#163f31}.secondary:hover,.seg button:hover,.select:hover{background:#eef2e9}.seg{display:flex;background:#e9ede5;padding:3px;border-radius:8px;gap:2px}.seg button{background:none;border:0;font-size:12px;padding:5px 10px}.seg button.on{background:var(--card);color:var(--green);box-shadow:0 1px 4px #0001}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 17px}.tile,.panel,.accountcard{background:var(--card);border:1px solid var(--rule);border-radius:13px}.tile{padding:19px 21px;min-height:125px}.tile.lead{color:#f8f6e9;background:var(--dark);border-color:var(--dark)}.tile .metric{font-family:var(--serif);font-variant-numeric:lining-nums tabular-nums;font-size:clamp(25px,3vw,43px);line-height:1.22;letter-spacing:-1.5px;display:block;margin:6px 0 4px}.tile.lead .micro,.tile.lead .label{color:#d4dfd1}.label{font-size:12px;font-weight:650;color:var(--muted)}.panel{padding:22px 24px;margin-bottom:16px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px}.chart-wrap{height:232px;position:relative}.chart-wrap canvas{width:100%;height:100%;display:block}.chart-wrap.small{height:150px}.legend{font-size:12px;color:var(--muted);margin-top:8px;gap:17px}.legend span{display:flex;gap:6px;align-items:center}.key{width:10px;height:10px;display:inline-block;border-radius:2px;background:#4c8166}.key.out{background:#b75f45}.key.line{height:3px;background:var(--green)}.key.project{height:2px;background:repeating-linear-gradient(90deg,#976a17 0 4px,transparent 4px 6px)}.split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr);gap:16px}.split .panel{margin-bottom:0}.recordrow{display:flex;align-items:center;gap:14px;justify-content:space-between;text-align:left;width:100%;padding:14px 0;border:0;background:none;border-top:1px solid var(--rule);border-radius:0}.recordrow:first-of-type{border-top:0}.recordrow strong,.recordrow small{display:block}.recordrow small{color:var(--muted);font-weight:400;font-size:12px;margin-top:2px}.recordrow:hover .title-text{text-decoration:underline}.recordrow .amount{margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}.moneyout{color:var(--red)}.moneyin{color:var(--green)}.badge{font:600 11px/1.2 var(--sans);color:#375345;background:#e7eee3;display:inline-block;border-radius:20px;padding:4px 8px;white-space:nowrap}.badge.warn{background:#f6ecd5;color:#775619}.badge.late{color:var(--red);background:var(--redbg)}.caldate{width:43px;flex:none;text-align:center;background:#f0f1e8;border-radius:7px;padding:4px 1px;color:var(--green)}.caldate b,.caldate small{display:block;font-family:var(--sans);margin:0}.caldate small{font-size:9px;font-weight:700;text-transform:uppercase}.caldate b{font-size:16px}.empty{color:var(--muted);padding:15px 0}
/* Account inventory */
.grouphead{display:flex;align-items:center;gap:12px;margin:25px 0 11px}
.grouphead::after{content:"";flex:1;min-width:12px;border-top:1px solid var(--rule)}
.grouphead h2{font-size:clamp(23px,2.1vw,30px)}
.grouphead .micro{white-space:nowrap}
.accountgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(290px,100%),1fr));gap:13px}
.accountcard{min-width:0;text-align:left;display:grid;align-content:space-between;padding:16px 18px 13px;gap:13px}
.accountcard:hover{border-color:#769b80;background:#fffffc}
.accountcard-head{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px}
.account-icon{width:22px;height:22px;flex:none;object-fit:contain;vertical-align:middle}
.accountcard-head>.account-icon{width:46px;height:46px}
.account-identity{display:grid;gap:2px;min-width:0}
.account-kind{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.035em}
.account-name{font:normal 22px/1.13 var(--serif);letter-spacing:-.5px;overflow-wrap:anywhere}
.account-arrow{align-self:start;width:7px;height:7px;margin:5px 2px 0 0;border-top:1.6px solid var(--green);border-right:1.6px solid var(--green);transform:rotate(45deg)}
.accountcard-foot{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 10px;border-top:1px solid var(--rule);padding-top:8px}
.acmoney{font:normal 26px/1.15 var(--serif);letter-spacing:-.7px;font-variant-numeric:tabular-nums}
.type-label,.type-filter,.detail-identity{display:inline-flex;align-items:center;gap:7px}
.type-filters{display:flex;gap:7px;flex-wrap:wrap}
.type-filter{border:1px solid var(--rule);border-radius:22px;background:transparent;color:var(--ink);padding:6px 10px;min-height:36px;line-height:1.2;font-size:12px;font-weight:600}
.type-filter:hover{border-color:#91a99b}
.type-filter[aria-pressed=true]{background:#e7efe5;border-color:#789487;box-shadow:inset 0 0 0 .5px #789487}
.filter-count{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.type-guide{list-style:none;margin:15px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:0 18px}
.type-guide li{border-top:1px solid var(--rule);padding:10px 0}
.type-guide .account-icon{width:32px;height:32px}
.type-guide .type-label{gap:10px}
.detail-identity{display:flex;flex-wrap:wrap;margin-top:8px;gap:5px 14px}
.detail-identity .account-icon{width:29px;height:29px}
.inventory-views button{min-height:34px;min-width:54px}
.account-map-panel{container-type:inline-size}
.map-tree{
  --map-wire:#9eafa0;
  --map-leg:clamp(14px,2cqw,27px);
  display:grid;
  grid-template-columns:clamp(120px,17%,175px) minmax(0,1fr);
  align-items:center;
  padding:clamp(10px,1.5cqw,20px);
  background-color:#f8f9f3;
  background-image:radial-gradient(#dce3d7 .8px,transparent .9px);
  background-size:16px 16px;
  border:1px solid var(--rule);
  border-radius:11px;
}
.map-root,.map-hub{position:relative;min-width:0;margin-right:var(--map-leg)}
.map-root{
  justify-self:stretch;display:grid;gap:2px;
  padding:12px 14px;border-radius:12px;background:var(--dark);color:var(--card);
}
.map-root strong{font:normal 21px/1.15 var(--serif)}
.map-root span{font-size:12px;color:#d7e4d7}
.map-root::after,.map-institution[aria-expanded=true]::after{
  content:"";position:absolute;left:100%;top:50%;width:var(--map-leg);border-top:1.5px solid var(--map-wire);
}
.map-branches,.map-leaves{list-style:none;margin:0;padding:0;min-width:0}
.map-branch,.map-leaves>li{position:relative;padding:6px 0 6px var(--map-leg);min-width:0}
.map-branch{display:grid;grid-template-columns:minmax(144px,.75fr) minmax(0,1.75fr);align-items:center}
.map-branch::before,.map-leaves>li::before{
  content:"";position:absolute;left:0;top:0;bottom:0;border-left:1.5px solid var(--map-wire);
}
.map-branch:first-child::before,.map-leaves>li:first-child::before{top:50%}
.map-branch:last-child::before,.map-leaves>li:last-child::before{bottom:50%}
.map-branch:only-child::before,.map-leaves>li:only-child::before{display:none}
.map-branch::after,.map-leaves>li::after{
  content:"";position:absolute;left:0;top:50%;width:var(--map-leg);border-top:1.5px solid var(--map-wire);pointer-events:none;
}
.map-institution{
  display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:46px;
  padding:10px 13px;border:1px solid #bdcebf;border-radius:12px;background:#e6eee3;color:var(--dark);text-align:left;
}
.map-institution:hover{background:#dbe8d9;border-color:#92aa96}
.map-institution-name{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.map-institution-name strong{font-size:14px;line-height:1.3}
.map-institution-name small{font-size:12px;color:var(--muted)}
.map-chevron{flex:none;width:8px;height:8px;margin-right:2px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(-45deg)}
.map-institution[aria-expanded=true] .map-chevron{transform:translateY(-2px) rotate(45deg)}
.map-leaves .accountcard{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;
  padding:9px 12px;border-radius:10px;
}
.map-leaves .accountcard-head{grid-template-columns:34px minmax(0,1fr);gap:9px}
.map-leaves .account-icon{width:34px;height:34px}
.map-leaves .account-name{font-size:18px}
.map-leaves .account-arrow{display:none}
.map-leaves .accountcard-foot{display:grid;gap:2px;padding:0;border:0;text-align:right;justify-content:end}
.map-leaves .acmoney{font-size:22px;overflow-wrap:anywhere}
.map-leaves .micro{font-size:12px}
@container(max-width:660px){
  .map-tree{display:block;--map-leg:18px}
  .map-root{width:max-content;max-width:100%;margin:0;padding:9px 14px}
  .map-root::after,.map-branch::after,.map-institution[aria-expanded=true]::after{display:none}
  .map-branches{margin-left:14px}
  .map-branch{display:block;padding-block:0}
  .map-branch:first-child::before{top:0}
  .map-branch:last-child::before{display:none}
  .map-hub{margin:0;padding:8px 0}
  .map-hub::before{content:"";position:absolute;right:100%;width:var(--map-leg);height:0;top:50%;border-top:1.5px solid var(--map-wire)}
  .map-branch:last-child>.map-hub::before{
    top:0;height:50%;box-sizing:border-box;border-top:0;border-left:1.5px solid var(--map-wire);border-bottom:1.5px solid var(--map-wire);
  }
  .map-institution{width:fit-content;max-width:100%;gap:16px}
  .map-leaves{margin-left:14px}
  .map-leaves>li:first-child::before{display:block;top:-8px}
}
@container(max-width:420px){
  .map-tree{padding:9px;--map-leg:12px}
  .map-branches,.map-leaves{margin-left:8px}
  .map-leaves .accountcard{grid-template-columns:minmax(0,1fr);gap:4px;padding:8px}
  .map-leaves .accountcard-head{grid-template-columns:29px minmax(0,1fr);gap:6px}
  .map-leaves .account-icon{width:29px;height:29px}
  .map-leaves .accountcard-foot{display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:2px 8px;padding-left:35px;text-align:left}
  .map-leaves .acmoney{font-size:19px}
}
@media(max-width:680px){.inventory-views button{min-height:42px}}
.intake-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.intake-actions button{min-height:44px;white-space:nowrap}
.review-fields{display:grid;gap:13px}
.upload-preview{display:block;max-width:100%;max-height:300px;object-fit:contain;border-radius:7px}
#dialog-content .form>.secondary{justify-self:start;min-height:44px}
#dialog-content details{margin:16px 0}
@media(max-width:680px){.head:has(.intake-actions){flex-wrap:wrap}}
@media(max-width:680px){.accountcard{padding:13px 15px}.accountgrid{gap:8px}.type-filter{min-height:42px}.head:has(+.panel .type-filters){flex-wrap:wrap}}
.tbl{overflow:auto}.tbl table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.tbl th,.tbl td{padding:11px 12px 11px 0;border-bottom:1px solid var(--rule);font-variant-numeric:tabular-nums}.tbl th{font-size:12px;color:var(--muted);font-weight:650}.tbl td:last-child,.tbl th:last-child{padding-right:0}.notes p{margin:4px 0 9px;white-space:pre-wrap;overflow-wrap:anywhere}.reviewitem{padding:13px 0;border-top:1px solid var(--rule)}.reviewitem:first-child{border:0}.reviewitem h3{font-family:var(--sans);font-size:15px;font-weight:650;letter-spacing:normal}.form{display:grid;gap:13px;margin-top:15px}.form label{display:grid;gap:4px;font-size:12px;font-weight:650;color:var(--muted)}.form input,.form textarea,.form select,.select{width:100%;border:1px solid #bac8bb;padding:9px 11px;background:white;color:var(--ink)}.select{width:auto;font-size:13px}.form textarea{min-height:78px;resize:vertical}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form .action{justify-self:start}.notice{padding:11px 14px;background:#f4ecd7;color:#69501e;border-radius:7px;margin:9px 0}.reviewline{font-size:13px;color:var(--muted);margin:4px 0 8px}.evidence{max-height:220px;white-space:pre-wrap;overflow:auto;background:#f0f2ea;padding:12px;border-radius:6px;font:12px/1.5 ui-monospace,monospace}.dialog-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;margin-bottom:13px}.close{font-size:23px;background:#ebeee5;line-height:1;border:0;padding:3px 9px}.toast{position:fixed;left:50%;bottom:22px;background:var(--dark);color:white;padding:12px 20px;border-radius:8px;transform:translateX(-50%);z-index:8;max-width:90vw}.opts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pagefoot{margin-top:21px}.rule{border:0;border-top:1px solid var(--rule);margin:20px 0}dialog{width:min(600px,calc(100vw - 24px));border:1px solid var(--rule);border-radius:15px;padding:24px;color:var(--ink);background:var(--card);max-height:88dvh}dialog::backdrop{background:#102e2580}.signcard{margin:9vh auto;max-width:560px}.signcard p{margin:14px 0 22px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.weekday{text-align:center;font-size:11px;color:var(--muted);padding-bottom:4px}.day{min-height:50px;border:0;border-radius:5px;background:#f0f2e9;text-align:left;padding:5px 7px}.day.has{background:#eed9c4;color:#6e3c25}.day.now{box-shadow:inset 0 0 0 1px var(--green)}.day small{display:block;font-size:10px}.day.blank{background:transparent}.inline-error{color:#8a3328}
@media(max-width:900px){.shell{grid-template-columns:170px minmax(0,1fr)}.brand{font-size:22px;padding-left:1px;gap:6px}.rail{padding:25px 10px 18px}.rail nav button{gap:8px}.panel{padding:18px}.split{grid-template-columns:1fr}.cards{gap:8px}.tile{padding:14px}main{padding:25px 18px}.top{padding:0 18px}}
@media(max-width:680px){.shell{display:block}.rail{position:static;height:auto;padding:14px 12px 8px}.brand{font-size:22px;padding:0 4px 12px}.mark{width:25px;height:25px}.rail nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.rail nav button{display:flex;justify-content:center;gap:4px;padding:7px 2px;font-size:12px;min-height:40px}.rail nav button[aria-current=page]{box-shadow:inset 0 -2px #d4bd7b}.navicon{display:none}.rail-foot{display:none}.top{height:40px;font-size:12px}.head{align-items:flex-start;margin-bottom:17px}.head h1{font-size:40px;letter-spacing:-1.5px}.head .sub{font-size:13px}.cards{grid-template-columns:1fr 1fr;gap:8px}.tile{min-height:83px}.tile.lead{grid-column:1/-1;display:flex;gap:7px 15px;align-items:center;justify-content:space-between;flex-wrap:wrap}.tile.lead .micro{flex-basis:100%}.tile.lead .metric{margin:0}.tile .metric{font-size:29px}.panel-head{gap:7px;flex-wrap:wrap}.chart-wrap{height:195px}.split{gap:12px}.panel{padding:16px}.twocol{grid-template-columns:1fr}.badge{font-size:10px}.opts{gap:4px}.top-actions{gap:6px}main{padding:20px 13px 32px}.action,.secondary{padding:8px 10px}.day{min-height:40px}.recordrow{gap:8px}.toast{min-width:220px}.wordmark{font-size:12px}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .12s,border-color .12s}}

dialog.account-dialog{width:min(960px,calc(100vw - 28px));max-width:100%;box-sizing:border-box}
#source-preview{width:min(1120px,calc(100vw - 28px));max-width:100%;max-height:93dvh;box-sizing:border-box}
#source-title{overflow-wrap:anywhere}.source-actions,.account-controls{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:1rem 0}
#source-content{overflow:auto}.source-media{display:block;width:100%;height:min(66dvh,780px);border:1px solid #c7cfc4;border-radius:8px;background:#edece6;object-fit:contain}
.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.8rem 1.3rem;margin:1rem 0}
.field-grid dt{font-size:.82rem;color:#52645c}.field-grid dd{margin:.2rem 0;overflow-wrap:anywhere;font-weight:600}
.account-inactive{background-color:#f0f0ec!important;color:#56625d}.account-inactive .account-name,.account-inactive .acmoney{color:#55605b}
.decision-box{background:#f4f4e9;padding:1rem;border-radius:10px;margin:1rem 0}.pay-confirm{margin:.8rem 0}.pay-confirm summary{cursor:pointer;font-weight:600}
@media(max-width:620px){dialog.account-dialog,#source-preview{width:calc(100vw - 12px);max-height:95dvh}.source-media{height:60dvh}}

.action-record{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:.4rem 0;border-bottom:1px solid #d9ddcf}
.action-record .recordrow{border-bottom:0;min-width:0;align-self:stretch}.action-record .recordrow strong,.action-record small,.field-grid dd{overflow-wrap:anywhere}
.inline-actions,.reading-tools{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.inline-actions button,.reading-tools button{white-space:nowrap}.inbox-entry .quick-form{margin:.5rem 0 1rem;padding:1rem;background:#f0f3ea;border-radius:10px;max-width:740px}
.quick-form .form{margin-top:0}.quick-form[hidden]{display:none}
.access-warning{background:#fff4db;border-left:4px solid #ad7838;padding:1rem;border-radius:6px;line-height:1.45}.danger-action{background:#873f31;color:white;border:0;border-radius:8px;padding:.7rem 1rem;font-weight:650;cursor:pointer}
#access-confirm{max-width:min(610px,calc(100vw - 22px))}#access-confirm .dialog-top h2{font-size:1.7rem;margin:.4rem 0}
#access-confirm ul{max-height:25dvh;overflow:auto;padding-left:1.3rem}
.reading-tools{justify-content:space-between;margin:.4rem 0 .7rem}.reading-page{font-variant-numeric:tabular-nums;white-space:nowrap}
.reading-stage{width:100%;height:min(69dvh,780px);overflow:auto;background:#e9eae3;border:1px solid #c8cdbf;border-radius:8px;text-align:center;box-sizing:border-box;overscroll-behavior:contain}
.reading-canvas{background:white;vertical-align:top;margin:4px 0}.reading-stage .source-media{height:100%;box-sizing:border-box}.reading-tools button:disabled{opacity:.45}
.printed-group{border-top:1px solid #d9ddcf;padding-top:.75rem;margin:1rem 0}
.printed-group h3{margin:.25rem 0 .5rem}.field-value,.sourced-amount,.bill-caption{display:inline-flex;align-items:center;gap:.22rem}
.field-value{max-width:100%}.field-value>a,.field-value>span{min-width:0;overflow-wrap:anywhere}
.field-value a{color:#26574a;text-decoration:underline;text-underline-offset:.15em}
.field-note{display:block;color:#536258;font-size:.81rem;font-weight:400;margin-top:.15rem}
.bill-caption{display:flex;flex-wrap:wrap;gap:.35rem}.sourced-amount{white-space:nowrap}
button.source-dot{flex:0 0 24px;display:inline-grid;place-items:center;width:24px;height:24px;min-height:24px;min-width:24px;padding:0;border:0;border-radius:50%;background:transparent;vertical-align:middle;cursor:pointer}
.source-dot::before{content:"";width:8px;height:8px;border-radius:50%;background:#326952;box-shadow:0 0 0 2px #fffdf7,0 0 0 3px #97aa9d}
button.source-dot:hover,button.source-dot:focus-visible{background:#e1ebdf}.source-dot:focus-visible,.row-link:focus-visible{outline:2px solid #246547;outline-offset:2px}
.sourced-row{position:relative}.sourced-row .row-link{flex:1;min-width:0;text-align:left;background:transparent;padding:0;border:0;color:inherit;font:inherit}
.row-link::after{content:"";position:absolute;inset:0}.sourced-row .source-dot{position:relative;z-index:1}.sourced-row:has(.row-link:hover){background:#f3f5ed}
#source-preview.excerpt-preview{width:min(670px,calc(100vw - 22px))}.excerpt-preview .source-actions{margin:.4rem 0 .7rem}
.source-fragment{margin:0}.excerpt-stage{min-height:60px;background:#eeeee7;border:1px solid #c8cdbf;border-radius:8px;display:grid;place-items:center;padding:8px}
.excerpt-canvas{max-width:100%;height:auto;display:block;background:white}.source-fragment figcaption{margin-top:.55rem;overflow-wrap:anywhere}
@media(max-width:740px){.action-record{grid-template-columns:minmax(0,1fr);gap:0;padding:.5rem 0}.action-record>.inline-actions,.action-record>button:not(.recordrow){justify-self:start;margin:0 0 .4rem}.reading-tools{justify-content:flex-start}}
