:root{font-family:FarmiliaSans,system-ui,sans-serif;color:#182e26;background:#f7f6ef;--ink:#182e26;--green:#285b42;--muted:#4e6558;--line:#d8dfd4;--cream:#f7f6ef;--clay:#94482f;--paper:#fffefa}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a,button,input,select,textarea{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #267553}button:disabled{opacity:.5;cursor:default}.sr{position:absolute;left:-999px}.sr:focus{left:14px;background:white;padding:10px;z-index:9}.shell{min-height:100vh;display:grid;grid-template-columns:245px minmax(0,1fr)}aside{background:var(--ink);color:#fffdf5;padding:32px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:28px}.brand{display:block;width:158px;margin:0 0 3px 3px}.aside-sub{color:#bed1c2;font-size:.875rem;margin-left:8px}.nav{display:grid;gap:4px}.nav button{min-height:45px;padding:9px 12px;text-align:left;background:none;border:0;color:#e1ebe2;border-radius:7px}.nav button[aria-current=page]{background:#304d40;color:white;font-weight:650}.nav button:hover{background:#2b453a}.sample{margin-top:auto;color:#c6d7c9;font-size:.875rem;line-height:1.5;border-top:1px solid #51665b;padding-top:17px}.workspace{min-width:0}.bar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:15px clamp(16px,4vw,52px);background:#fcfbf7}.bar small{font-size:.875rem;color:var(--muted)}.tools,.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.tools label{margin:0;font-size:.875rem}.tools select{width:auto}.btn{padding:10px 15px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-weight:650;min-height:42px}.btn:hover{border-color:var(--green)}.primary{background:var(--green);color:#fff;border-color:var(--green)}main{max-width:1290px;margin:auto;padding:clamp(20px,4vw,52px)}.eyebrow{color:var(--clay);font-weight:730;text-transform:uppercase;letter-spacing:.13em;font-size:.85rem}h1,h2,h3,p{margin-top:0}h1{font:600 clamp(2.15rem,4.3vw,4.3rem)/.98 FarmiliaSans,system-ui,sans-serif;letter-spacing:-.055em;margin:9px 0 15px}h2{font:600 1.75rem/1.1 FarmiliaSans,system-ui,sans-serif;letter-spacing:-.035em;margin:0 0 14px}.lede{color:var(--muted);line-height:1.55;max-width:60ch}.hero{padding:28px 30px;background:#e9eee2;border:1px solid #cdd9c8;border-radius:14px;margin-bottom:24px;position:relative;overflow:hidden}.hero .actions{margin-top:20px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}.metric,.panel{background:var(--paper);border:1px solid var(--line);padding:22px;border-radius:12px;min-width:0}.metric strong{font:600 2.1rem FarmiliaSans,system-ui,sans-serif;display:block}.note{margin:12px 0 18px;border-left:3px solid var(--clay);padding:10px 13px;background:#f5ede5;color:#57372a;line-height:1.5}.section{margin:22px 0}.row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row small{display:block;color:var(--muted);margin-top:4px;font-size:.875rem}.tag{font-size:.875rem;padding:5px 9px;background:#e9efe3;color:#234d37;border-radius:5px;display:inline-block}.tag.pending{background:#f6e9d8;color:#684520}.tag.returned{background:#f5e8e1;color:#78321d}.statusdetail{color:var(--muted);font-size:.875rem}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mapbox{background:#edf0e6;border:1px solid #ccd8c9;border-radius:8px;padding:12px;margin:12px 0}.mapbox svg{width:100%;height:120px;display:block}.mapbox small{font-size:.875rem;color:var(--muted)}.meter{height:7px;background:#e8eee3;border-radius:7px;overflow:hidden;margin:13px 0 20px}.meter i{height:100%;display:block;background:var(--green)}label{font-weight:650;display:block;margin:10px 0 14px}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;min-height:44px;padding:8px 11px;border:1px solid #acb9ae;border-radius:7px;background:white;color:var(--ink);margin-top:5px}textarea{min-height:90px}input[type=checkbox]{width:19px;height:19px;vertical-align:middle;margin-right:8px}.farm{margin:14px 0;border:1px solid var(--line);padding:14px;border-radius:8px}.farm legend{font-weight:720}.err{color:#8b301c;font-weight:650}.toolbar{margin:12px 0 20px}#live:not(:empty){position:fixed;bottom:15px;right:15px;background:var(--ink);color:#fff;padding:12px;max-width:calc(100% - 30px);border-radius:8px;z-index:9}
@media(max-width:700px){.shell{display:block}aside{position:static;height:auto;padding:13px 14px;gap:7px}.brand{width:119px}.aside-sub,.sample{display:none}.nav{display:flex;gap:4px;overflow:auto}.nav button{white-space:nowrap;font-size:.9rem;padding:8px}.bar{padding:11px 13px;flex-wrap:wrap}.bar small{display:none}.tools{width:100%;justify-content:space-between}.tools select{max-width:145px}.btn{padding:8px 11px}main{padding:18px 13px}.hero{padding:21px 17px}.panel{padding:15px}.metric{padding:11px}.metric strong{font-size:1.65rem}.metric span{font-size:.875rem;line-height:1.2;display:block}.two{grid-template-columns:1fr}.row .actions{gap:5px}}
.previewtag{background:#efece3;border:1px solid #e3ded0;border-radius:5px;padding:4px 7px;color:#584533;font-weight:600;font-size:.8125rem;white-space:nowrap}@media(max-width:450px){.tools{justify-content:flex-start}.tools label{font-size:0}.tools select{font-size:.875rem;min-height:39px}.tools .btn{font-size:.875rem}}
a.btn{text-decoration:none;display:inline-flex;align-items:center}.row p{margin:4px 0;overflow-wrap:anywhere}.row strong,.row span{overflow-wrap:anywhere}.row form{min-width:min(280px,100%);}

.farm-workspace,.entry{font-family:FarmiliaSans,system-ui,sans-serif;color:#192d24}.farm-workspace h1,.farm-workspace h2,.farm-workspace .metric strong,.entry h1{font-family:FarmiliaSans,system-ui,sans-serif;letter-spacing:-.055em}.farm-workspace h2{letter-spacing:-.034em}.farm-workspace .eyebrow{letter-spacing:.16em}.farm-workspace aside{gap:29px}.farm-workspace .nav button{display:flex;align-items:center;gap:11px;min-height:46px}.farm-workspace .nav button[aria-current=page]{box-shadow:inset 2px 0 #e5a981}.nav-icon{width:22px;height:22px;flex:none;color:#cad8b8}.farm-workspace aside .brand{width:164px}.farm-workspace .field-hero{background:#213c30;color:#fffff6;border-color:#213c30;min-height:260px;padding:32px 30px;border-radius:10px;isolation:isolate}.field-hero .eyebrow{color:#e5a981}.field-hero .lede{color:#e3e6d8;max-width:44ch}.field-hero .actions{position:relative}.field-hero .primary{background:#f2e9d7;color:#204334;border-color:#f2e9d7}.field-hero .btn:not(.primary){background:transparent;color:#fff;border-color:#8b9b88}.field-hero h1,.field-hero p,.field-hero .eyebrow{position:relative}.contour{position:absolute;right:-18px;top:18px;bottom:15px;width:min(47%,440px);height:90%;opacity:.9;z-index:-1}.farm-workspace .metric{border-radius:5px;border-left:3px solid #a75e45}.farm-workspace .panel{border-radius:7px}.farm-workspace .bar a.btn{font-size:.875rem}.farm-workspace .farm summary{cursor:pointer;font-weight:700;padding:10px 0}.entry{max-width:680px;padding-top:8vh}.entry-brand{background:#182e26;border-radius:5px;padding:18px;margin-bottom:25px}.entry-brand img{width:145px;display:block}
@media(max-width:700px){.farm-workspace aside{gap:8px}.farm-workspace aside .brand{width:133px}.farm-workspace .nav button{gap:4px;font-size:.875rem;min-height:44px}.nav-icon{width:18px;height:18px}.farm-workspace .field-hero{padding:23px 17px;min-height:215px}.contour{width:50%;right:-48px;opacity:.18}.farm-workspace .bar a.btn{min-height:37px}.farm-workspace .bar .tools{justify-content:flex-start}.farm-workspace .metric span{font-size:.875rem}}
@font-face{font-family:FieldCode;src:url('/field-code.ttf') format('truetype');font-weight:400 700;font-display:swap}
:root{font-size:100%}
:root[data-text-size=large]{font-size:125%}
body{line-height:1.55}
.reference,.reference-select,.ref-strip,.farm-workspace input[type=number],.farm-workspace .metric strong{font-variant-numeric:tabular-nums}
.reference,.reference-select,.farm-workspace input[type=number],.farm-workspace .metric strong{font-family:FieldCode,'DejaVu Sans Mono',monospace!important}
.reference{display:inline-block;font-size:1rem;font-weight:600;letter-spacing:.04em;color:#142d22;overflow-wrap:anywhere;max-width:100%;font-variant-ligatures:none}
.ref-strip{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;margin-bottom:16px;font-size:1rem}
.ref-strip .reference{background:#e0e9dd;padding:5px 10px;border-radius:5px}
.location{display:inline-block;margin-left:.45rem}.farm-workspace .metric strong{letter-spacing:-.06em}
.text-size[aria-pressed=true]{background:#e1eddf;border-color:#637862;color:#214330}
:focus-visible{outline:3px solid #9b4a2f;outline-offset:3px}
aside :focus-visible{outline-color:#faf0d3}
.farm-workspace label{line-height:1.45}
.farm-workspace input:not([type=checkbox]):not([type=radio]),.farm-workspace select,.farm-workspace textarea{font-size:1rem;min-height:48px;color:#152e24;border-color:#819588}
.farm-workspace input[type=checkbox]{width:23px;height:23px;margin-right:.5rem;accent-color:#285b42}
.farm-workspace label:has(>input[type=checkbox]){min-height:48px;display:flex;align-items:center;gap:.3rem;cursor:pointer}
.farm-workspace .btn,.farm-workspace .nav button{min-height:48px;line-height:1.3}
.farm-workspace .tag{font-weight:650;color:#20462f}.farm-workspace .tag.pending{color:#563617}.farm-workspace .tag.returned{color:#71301f}
.farm-workspace .row small{color:#3e5749;line-height:1.5}
@media(max-width:700px){
 .farm-workspace aside{padding:14px 14px 11px}
 .farm-workspace .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
 .farm-workspace .nav button{white-space:normal;align-items:center;padding:8px;font-size:.88rem}
 .farm-workspace .nav button span{overflow-wrap:anywhere}
 .farm-workspace .bar{padding:8px 13px}
 .farm-workspace .bar .tools{justify-content:flex-start;gap:6px}
 .farm-workspace .bar a.btn,.farm-workspace .bar .btn{min-height:48px;font-size:.875rem;padding:7px 10px}
 .farm-workspace .field-hero{min-height:0;padding:20px 16px}
 .farm-workspace h1{font-size:clamp(2rem,9vw,3.25rem);line-height:1.05;overflow-wrap:anywhere}
 .farm-workspace h2{font-family:FarmiliaSans,system-ui,sans-serif;font-size:1.27rem;letter-spacing:-.025em}
 .farm-workspace .metric span{font-size:.875rem;overflow-wrap:break-word;line-height:1.35}
 .farm-workspace .metrics{gap:7px}.farm-workspace .metric{padding:9px 7px}
 .farm-workspace .metric strong{font-size:1.5rem}
 .farm-workspace .actions>*{max-width:100%}
 .farm-workspace .form-actions>button.primary{flex:1 1 100%}
 .farm-workspace .form-actions>button:not(.primary){flex:1 1 auto}
}
@media(max-width:350px){.farm-workspace .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.farm-workspace .tools .previewtag{font-size:.76rem}}
@media(max-width:520px){:root[data-text-size=large] .farm-workspace .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Farmilia Stitch: warm paper, surveyed-land geometry and role-specific workspaces. */
:root{--cream:#f8f4eb;--green:#286747;--muted:#3e5749;--line:#cbd7cc;background:var(--cream)}
.stitch-workspace{display:block;min-height:100vh;background:var(--cream)}
.stitch-bar{background:var(--paper);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px max(16px,calc((100vw - 1210px)/2));}
.stitch-brand,.stitch-tools{display:flex;align-items:center;gap:12px;min-width:0}
.stitch-brand img{width:135px;height:auto;display:block;flex:none}
.stitch-brand span{font-size:.83rem;font-weight:700;color:var(--muted);overflow-wrap:anywhere}
.stitch-tools{flex-wrap:wrap;justify-content:flex-end}
.stitch-tools .btn{text-decoration:none;font-size:.8rem;padding:7px 11px;white-space:nowrap}
.stitch-nav{display:flex;justify-content:flex-start;gap:12px;padding:0 max(16px,calc((100vw - 1210px)/2));border-bottom:1px solid var(--line);background:var(--paper)}
.stitch-nav button{display:flex;align-items:center;gap:9px;border:0;border-bottom:3px solid transparent;color:var(--muted);background:transparent;min-height:52px;font-weight:650;padding:8px 12px;}
.stitch-nav button[aria-current=page]{border-color:var(--green);color:var(--ink);background:#e8f0e9}
.stitch-nav .nav-icon{color:inherit;width:21px;height:21px}
.stitch-workspace main{max-width:1248px;padding:28px 24px 32px;}
.stitch-workspace fieldset,.stitch-workspace .two>*{min-width:0}
.stitch-workspace h1{font-size:clamp(2rem,4.15vw,3.85rem);line-height:1.04}
.stitch-workspace .eyebrow{font-size:.8rem;letter-spacing:.105em}
.stitch-workspace .sample-note{border-top:1px solid var(--line);color:var(--muted);font-size:.82rem;padding-top:14px;margin-top:30px}
.connection-status{display:flex;align-items:flex-start;gap:.7rem;background:#e2eee5;padding:.65rem .85rem;border-radius:6px;color:#214b37;font-weight:650;margin-bottom:16px;}
.signal-dot{height:8px;width:8px;margin-top:.48em;border-radius:50%;background:var(--green);flex:none}
.survey-figure{display:grid;justify-items:center;margin:0 0 14px;padding:12px 16px 14px!important}
.parcel-drawing{width:min(100%,410px);height:auto}
.survey-figure figcaption{display:flex;width:100%;justify-content:space-between;flex-wrap:wrap;gap:4px;color:var(--muted);font-weight:700;font-size:.84rem}
.survey-figure figcaption span{font-family:FieldCode,monospace}
.desk-start{margin:12px 0}.desk-start button{width:100%;min-height:54px!important}
.saved-draft,.sync-note{margin-bottom:14px}.saved-draft h2,.sync-note h2{font-size:1.15rem}
.saved-draft p,.sync-note p{margin:0 0 8px;color:var(--muted)}.draft-line,.scope-line{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.sync-note{background:#e2eee5!important}.sync-copy{display:flex;gap:12px;align-items:flex-start}.sync-copy .nav-icon{color:var(--clay)}
.report-grid{margin-top:1rem}.report-line{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,.8fr));gap:5px;border-bottom:1px solid var(--line);padding:.55rem 0}.report-line>*{overflow-wrap:anywhere}
.scope-line{background:#e2eee5;padding:.6rem .8rem;border-radius:6px}
.crop-list{margin:8px 0 0;padding-left:1.25em}.crop-list li{padding:3px 0;overflow-wrap:anywhere}
.entry-brand{background:var(--paper);border:1px solid var(--line)}.entry-brand img{height:auto}
#live:not(:empty){z-index:15}
@media(max-width:700px){
 .stitch-bar{padding:8px 12px;background:var(--paper)}
 .stitch-brand{display:grid;gap:0}.stitch-brand img{width:102px}.stitch-brand span{line-height:1.2;font-size:.77rem}
 .stitch-tools{gap:4px;flex-wrap:nowrap}.stitch-tools .btn{padding:6px 7px;min-height:48px;font-size:.76rem}
 .stitch-nav{position:fixed;bottom:0;inset-inline:0;z-index:10;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;padding:0 3px env(safe-area-inset-bottom,0);border-bottom:0;border-top:1px solid var(--line)}
 .stitch-nav button{min-width:0;flex-direction:column;gap:2px;justify-content:center;text-align:center;min-height:60px;border-bottom:0;border-top:3px solid transparent;padding:4px 2px;line-height:1.08;font-size:.72rem;overflow-wrap:anywhere}
 .stitch-nav .nav-icon{width:19px;height:19px}
 .stitch-workspace main{padding:18px 14px calc(100px + env(safe-area-inset-bottom,0))}
 .stitch-workspace h1{font-size:clamp(1.86rem,8.4vw,2.5rem)}
 .stitch-workspace .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stitch-workspace .metrics .metric:only-child{grid-column:1/-1}
 #live:not(:empty){bottom:calc(79px + env(safe-area-inset-bottom,0))}
}
@media(max-width:360px){
 .stitch-tools .btn{padding-inline:5px}.stitch-brand img{width:87px}
 .stitch-workspace main{padding-inline:11px}.stitch-workspace h2{overflow-wrap:anywhere}
 .stitch-workspace .actions>*{min-width:0;white-space:normal}
}

.approved-wordmark{height:auto}

/* Role compositions from the approved Stitch board, not the retired shell. */
.stitch-workspace .stitch-bar{min-height:64px;position:sticky;top:0;z-index:7;background:#fffefa}
.role-stamp,.stitch-brand .role-stamp{font-size:.82rem;font-weight:700;color:#19543a;background:#e2eee5;padding:5px 8px;border-radius:5px;line-height:1.25;overflow-wrap:normal}
.stitch-workspace main{max-width:1140px}
.stitch-workspace[data-role=field] main,.stitch-workspace[data-role=farmer] main{max-width:760px}
.profile-menu{position:relative;flex:none}
.profile-menu summary{display:flex;align-items:center;justify-content:center;width:48px;min-height:48px;color:#fff;background:#182e26;border-radius:50%;cursor:pointer;list-style:none}
.profile-menu summary::-webkit-details-marker{display:none}
.profile-menu>div{position:absolute;right:0;top:calc(100% + 6px);display:grid;min-width:180px;padding:8px;gap:5px;border:1px solid var(--line);background:var(--paper);border-radius:7px}
.screen-kicker,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.screen-kicker{margin-bottom:12px}
.section-heading{margin:14px 0 10px}.section-heading h2{margin:0}
.stitch-sample,.count-chip{display:inline-flex;align-items:center;max-width:100%;padding:5px 9px;border-radius:5px;line-height:1.25;font-size:.81rem;font-weight:650}
.stitch-sample{background:#f4e2d9;color:#71321e;text-transform:uppercase;letter-spacing:.04em}
.count-chip{background:#e8eee5;color:#204b37;font-variant-numeric:tabular-nums;white-space:nowrap}
.stitch-workspace .panel{background:#fffefa;box-shadow:0 1px 2px #182e2610}
.role-scope{margin-bottom:14px}.role-scope h1{margin:0 0 7px;font-size:clamp(1.65rem,3vw,2.5rem);letter-spacing:-.045em}.role-scope p{margin:0 0 8px;color:var(--muted)}
.scope-ledger{background:#f2f0e6;padding:13px;border-radius:7px;margin-top:9px}.scope-ledger>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:4px 0}
.scope-ledger>div>span:first-child{color:var(--muted)}.scope-ledger .scope-permissions{display:block}.scope-permissions div{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.task-card{display:flex;align-items:stretch;flex-direction:column;gap:10px;margin-bottom:12px}.task-card h2,.task-card h3{font-size:1.1rem;margin:0;line-height:1.25;overflow-wrap:anywhere}.task-card p{margin:4px 0 0;color:var(--muted)}.task-card .btn.primary{align-self:stretch;margin-top:auto}
.task-card-head{display:flex;align-items:flex-start;gap:11px}.task-card-head>div{min-width:0;flex:1}.task-card-head .count-chip{padding:4px 8px}
.work-icon{display:inline-flex;color:#286747;background:#e2eee5;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border-radius:7px}
.work-icon .nav-icon{color:inherit}
.filter-strip{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.compact-scope p{margin:0}
.ministry-scope{margin:0 0 14px;padding:15px 16px;background:#182e26;color:#fffefa;border-radius:7px}
.ministry-scope .screen-kicker{margin:0 0 8px}.ministry-scope p{margin:0 0 5px}.ministry-scope small{color:#e2eee5}
.status-rows{display:grid;gap:7px;margin:12px 0}.status-rows>div{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap;background:#eef2e9;border-radius:6px;padding:12px}.status-rows>div:nth-child(2){background:#f5e8df}.status-rows>div:nth-child(3){background:#f1efe4}
.stitch-entry{max-width:570px}.stitch-entry>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px}
.stitch-entry img{width:135px;height:auto}.stitch-entry .panel{margin:0 0 14px}.stitch-entry .primary{width:100%;justify-content:center}
.preview-control{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:10px 12px;background:#f1efe4;border-radius:7px}.preview-control label{margin:0}
@media(max-width:700px){.task-grid{grid-template-columns:1fr;gap:0}.stitch-workspace .stitch-bar{min-height:64px}.stitch-brand{display:flex;gap:6px;align-items:center}.stitch-brand .role-stamp{font-size:.67rem;line-height:1.15;max-width:90px;padding:4px 6px}.profile-menu summary{width:42px;min-height:44px}.stitch-tools .btn{white-space:normal;min-width:44px}.stitch-brand img{width:87px}.stitch-workspace .panel{padding:13px;}.scope-ledger{padding:9px}.stitch-workspace .stitch-bar{padding:7px 10px}.stitch-tools .text-size{width:70px}.stitch-workspace main{padding-top:14px}.stitch-workspace .role-scope h1{font-size:clamp(1.55rem,7vw,2.25rem)}.task-card-head{gap:8px}.work-icon{width:35px;height:35px}}
@media(max-width:355px){.stitch-brand .role-stamp{max-width:74px}.stitch-brand img{width:74px}.stitch-tools .text-size{width:64px}.stitch-tools{gap:3px}.stitch-workspace .stitch-bar{gap:4px}.status-rows>div{padding:9px}}

@media(max-width:700px){.profile-menu summary{width:48px;min-height:48px}}

@font-face{font-family:FarmiliaSans;src:url('/farmilia-sans-regular.woff') format('woff');font-weight:400 500;font-display:swap}
@font-face{font-family:FarmiliaSans;src:url('/farmilia-sans-bold.woff') format('woff');font-weight:600 800;font-display:swap}
.stitch-workspace h1,.stitch-workspace h2,.stitch-entry h1{letter-spacing:-.025em;line-height:1.13}
.stitch-workspace h3{letter-spacing:-.01em}
.stitch-workspace .lede,.portal-entry .lede{line-height:1.58}
.portal-entry{width:min(100%,42rem)}
.portal-entry .panel{padding:clamp(1rem,4vw,1.75rem)}
.portal-list{display:grid;gap:.65rem;margin-top:1.25rem}
.portal-link{display:grid;grid-template-columns:2.8rem minmax(0,1fr);align-items:center;gap:.8rem;min-height:56px;color:var(--ink);text-decoration:none;border:1px solid var(--line);border-radius:.65rem;padding:.65rem .8rem;background:var(--paper)}
.portal-link:hover,.portal-link:focus-visible{background:#edf3e9;border-color:var(--green)}
.portal-link>span:first-child{display:grid;place-items:center;height:2.8rem;background:#e8efe4;border-radius:.45rem;color:var(--green)}
.portal-link strong,.portal-link small{display:block}
.portal-link small{color:var(--muted);line-height:1.5;margin-top:.15rem}
.portal-back{margin:1rem 0 0}
.portal-back a{display:inline-flex;align-items:center;min-height:48px;color:var(--green);text-underline-offset:.2em}
.portal-entry .actions a{max-width:100%;white-space:normal}

/* Standard app type scale. Rems preserve the larger text and browser settings. */
.stitch-workspace h1,.stitch-workspace .role-scope h1,.stitch-entry h1{
 font-size:clamp(1.5rem,calc(1.15rem + 1.4vw),1.875rem);
 line-height:1.2
}
.stitch-workspace h2{font-size:clamp(1.125rem,calc(1rem + .45vw),1.375rem);line-height:1.3}
.stitch-workspace h3,.stitch-workspace .task-card h2,.stitch-workspace .task-card h3{font-size:1.0625rem;line-height:1.35}
.stitch-workspace .metric strong{font-size:1.375rem;line-height:1.2}
.portal-link small{font-size:.875rem}
@media(max-width:700px){.stitch-nav button{font-size:.75rem}}

/* Stitch supervisor review: mobile evidence cards and desktop master/detail. */
.review-top,.review-status,.review-evidence,.review-parcels,.review-decision{margin-bottom:1rem}
.review-top p,.review-card p,.review-empty p,.review-decision p{color:var(--muted)}
.review-card{margin:.65rem 0;border-left:3px solid var(--green)}
.review-card[data-selected]{box-shadow:0 0 0 2px #346c4d}
.review-card h2{margin:.3rem 0 .5rem}
.review-flag{color:#753b25;font-weight:700}
.review-card p.review-flag{color:#753b25}
.review-reason{overflow-wrap:anywhere}
.review-desktop-detail{display:none}
.review-split,.review-list,.record-review{min-width:0}
.record-review .panel,.parcel-evidence{margin-top:1rem}
.parcel-evidence{padding:.75rem;border:1px solid var(--line);border-radius:.65rem}
.parcel-evidence summary{cursor:pointer;min-height:44px;line-height:2}
.parcel-evidence summary strong,.parcel-evidence summary .reference{margin-right:.5rem}
.parcel-evidence .crop-list{margin:.6rem 0}
.parcel-local{color:var(--green)}
.review-decision fieldset{border:1px solid var(--line);border-radius:.65rem;padding:.5rem .85rem;min-width:0}
.review-option{display:flex;align-items:center;gap:.65rem;min-height:48px;padding:.4rem .6rem;margin:.4rem 0;border-radius:.5rem;background:#edf2e9}
.review-option input{flex:none}
@media(min-width:960px){
 .review-split{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(0,1.9fr);gap:1.4rem;align-items:start}
 .review-desktop-detail{display:block;min-width:0;border-inline-start:1px solid var(--line);padding-inline-start:1.4rem}
 .review-split .review-card .btn{width:100%}
}

/* Original registry icon family, with a clay mark on each outlined symbol. */
.farm-symbol{fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex:none}
.farm-symbol .symbol-mark{stroke:#874631;stroke-width:1.7}
.stitch-nav button[aria-current=page] .farm-symbol .symbol-mark{stroke:#b27247}
.portal-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.ministry-band{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.ministry-band svg{width:4.8rem;max-width:25%;height:auto;filter:brightness(1.55)}
.ministry-grid,.coverage-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.ministry-totals .status-rows{margin:.75rem 0}
.ministry-totals h2{font-size:1rem;color:var(--muted)}
.coverage-card{border-top:3px solid #4f7858}
.coverage-card dl{margin:.5rem 0 1rem}
.coverage-card dl>div{display:flex;gap:.5rem;align-items:center;justify-content:space-between;padding:.35rem 0;border-bottom:1px solid var(--line)}
.coverage-card dd{margin:0;text-align:right}
.ministry-rows{scroll-margin-top:5.5rem}
@media(min-width:760px){.ministry-grid{grid-template-columns:minmax(0,1.7fr) minmax(15rem,1fr)}.coverage-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{
 .stitch-bar,.stitch-nav,.ministry-parameters,.ministry-rows form{display:none!important}
 .stitch-workspace main{padding:0;max-width:none}
 .ministry-scope,.ministry-totals,.ministry-rows{color:#172d23!important;background:white!important;box-shadow:none!important}
 .ministry-scope svg{display:none}
 .ministry-grid{display:block}
}

/* Signed-in screens share the public site's color and touch rhythm. */
.stitch-workspace {
  --cream: #f5f8f4;
  --paper: #fff;
  --ink: #142b23;
  --green: #1c543e;
  --line: #d6e1d9;
  --muted: #465d52;
  --desk: #123b2e;
  --desk-mark: #d9f396;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.stitch-workspace[data-role=review] { --desk: #234238; --desk-mark: #c9e8a0; }
.stitch-workspace[data-role=farmer] { --desk: #314729; --desk-mark: #e0f29a; }
.stitch-workspace[data-role=ministry] { --desk: #153d40; --desk-mark: #b9e8cb; }
.stitch-workspace[data-role=admin] { --desk: #333d32; --desk-mark: #e5eab4; }
.stitch-workspace .stitch-bar {
  background: #fff;
  min-height: 64px;
  padding-top: calc(.5rem + env(safe-area-inset-top));
}
.stitch-brand a { display: flex; align-items: center; min-height: 44px; flex: none; }
.stitch-brand .role-stamp { border-radius: 20px; padding: .36rem .7rem; background: #edf3eb; }
.stitch-workspace .profile-menu summary { border-radius: 14px; background: #e9f1e7; color: var(--green); }
.stitch-workspace .profile-menu .nav-icon { color: inherit; }
.stitch-workspace .profile-menu > div { border-radius: 16px; box-shadow: 0 8px 24px #123b2e20; }
.stitch-workspace .profile-menu .btn { width: 100%; justify-content: center; }
.stitch-workspace .profile-menu form { margin: 0; }
.stitch-workspace h3, .stitch-workspace .metric strong { font-family: inherit; }
.stitch-workspace h1 { font-size: clamp(1.85rem, 5vw, 3rem); letter-spacing: -.045em; }
.stitch-workspace .eyebrow { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.workspace-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--desk);
  color: #fff;
  border-radius: 22px;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.workspace-heading-copy { max-width: 32rem; }
.workspace-heading .workspace-context { color: var(--desk-mark); font-weight: 700; margin: 0 0 .4rem; font-size: .87rem; }
.workspace-heading h1 { margin: 0; max-width: 18ch; color: #fff; }
.workspace-heading .workspace-summary { color: #ebf3ed; margin: .45rem 0 0; max-width: 33ch; }
.workspace-actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1rem; }
.workspace-heading .workspace-mark { position: absolute; z-index: -1; right: 1.1rem; top: .7rem; color: var(--desk-mark); opacity: .19; }
.workspace-heading .workspace-mark .nav-icon { width: clamp(4.2rem, 20vw, 10rem); height: auto; color: inherit; }
.workspace-heading .btn.primary { background: var(--desk-mark); border-color: var(--desk-mark); color: #142b23; }
.workspace-heading .btn:not(.primary) { background: var(--desk); border-color: #a4bdae; color: #fff; }
.stitch-workspace .panel { background: #fff; border-radius: 16px; box-shadow: none; }
.stitch-workspace .btn { border-radius: 11px; }
.stitch-workspace .btn.primary { font-weight: 700; }
.stitch-workspace .row { gap: .55rem; }
.stitch-workspace .row > *, .stitch-workspace .metric { min-width: 0; overflow-wrap: anywhere; }
.stitch-workspace .metric { border: 1px solid var(--line); border-radius: 12px; background: #edf5ef; }
.stitch-workspace .metric strong { font-size: clamp(1.25rem,5vw,1.9rem); }
.stitch-workspace .status-rows > div { background: #edf4ed; border-radius: 10px; }
.stitch-workspace .status-rows > div:nth-child(2) { background: #f3f5ec; }
.stitch-workspace .status-rows > div:nth-child(3) { background: #f0f2ee; }
.stitch-workspace .review-card { border-inline-start: 4px solid var(--green); }
.stitch-workspace .review-filters .btn { min-width: 0; white-space: normal; }
.stitch-workspace .scope-line { align-items: center; background: #edf4ed; border-radius: 12px; }
.stitch-workspace .farmer-reference { margin-bottom: 1rem; }
.stitch-workspace .admin-toolbar { display: flex; justify-content: flex-end; }
.stitch-workspace .connection-status { border-radius: 12px; }
.stitch-workspace .survey-guide { margin-bottom: 1rem; }
.stitch-workspace .survey-guide summary { cursor: pointer; min-height: 44px; align-content: center; font-weight: 700; }
.stitch-workspace .survey-guide .survey-figure { margin: 0; }
.stitch-workspace .visit-progress { display: block; width: 100%; height: .65rem; accent-color: var(--green); margin: .8rem 0 1rem; }
.stitch-workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  min-width: 0;
  max-width: 100%;
  font-size: max(16px,1rem);
  border-radius: 10px;
}
.stitch-workspace :is(.parcel-evidence,.farm) summary { min-height: 44px; align-content: center; }
.stitch-workspace .farm-symbol .symbol-mark { stroke: currentColor; }
.stitch-workspace .stitch-nav button[aria-current=page] .symbol-mark { stroke: currentColor; }
@media (max-width:700px) {
  .stitch-workspace main { padding: .9rem max(.9rem,env(safe-area-inset-right)) calc(6rem + env(safe-area-inset-bottom)) max(.9rem,env(safe-area-inset-left)); }
  .stitch-workspace .stitch-bar { padding-inline: .9rem; gap: .55rem; }
  .stitch-workspace .stitch-brand { gap: .55rem; }
  .stitch-workspace .stitch-brand .role-stamp { max-width: none; font-size: .78rem; }
  .stitch-workspace .stitch-nav {
    padding: .25rem max(.3rem,env(safe-area-inset-right)) calc(.25rem + env(safe-area-inset-bottom)) max(.3rem,env(safe-area-inset-left));
    gap: .2rem;
    background: #fff;
    box-shadow: 0 -4px 18px #153b2c0d;
  }
  .stitch-workspace .stitch-nav button { min-height: 62px; gap: .23rem; border: 0; border-radius: 12px; padding: .25rem .12rem; font-size: .73rem; }
  .stitch-workspace .stitch-nav .nav-icon { width: 22px; height: 22px; }
  .stitch-workspace .stitch-nav button[aria-current=page] { background: #e2f0e0; color: #174c35; }
  .stitch-workspace .panel { padding: 1rem; }
  .workspace-actions { display: grid; }
  .stitch-workspace .review-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stitch-workspace .form-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stitch-workspace .form-actions .primary { grid-column: 1/-1; grid-row: 1; }
  .stitch-workspace .review-actions .actions,
  .stitch-workspace .review-decision .actions,
  .stitch-workspace .ministry-parameters .actions { display: grid; }
  .stitch-workspace .row form { width: 100%; }
  .stitch-workspace .ministry-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stitch-workspace .ministry-metrics > :last-child { grid-column: 1/-1; }
  .stitch-workspace .record-review > .btn { margin-bottom: .85rem; }
  .stitch-workspace #correction > .btn, .stitch-workspace #member > .btn { width: 100%; }
}

.workspace-heading a.btn { justify-content: center; }

/* Editorial workspace system, shared with the public masthead. */
.farm-symbol,
.farm-symbol .symbol-outline {
  stroke: none;
  fill: currentColor;
  fill-rule: evenodd;
}
.farm-symbol .symbol-mark,
.stitch-workspace .farm-symbol .symbol-mark,
.stitch-workspace .stitch-nav button[aria-current=page] .symbol-mark {
  stroke: none;
  fill: var(--symbol-accent,currentColor);
}
.stitch-workspace {
  --cream: #f7f8f2;
  --paper: #fcfdf8;
  --ink: #162e24;
  --muted: #45584d;
  --line: #cfd9ce;
  --green: #22543d;
  --desk: #142f24;
  --desk-mark: #dce7a9;
  --symbol-accent: #9b5737;
}
.stitch-workspace[data-role=field] { --desk: #142f24; --desk-mark: #dce7a9; }
.stitch-workspace[data-role=review] { --desk: #22382f; --desk-mark: #dbe5ad; }
.stitch-workspace[data-role=farmer] { --desk: #2d3925; --desk-mark: #e3e9ad; }
.stitch-workspace[data-role=ministry] { --desk: #183635; --desk-mark: #c9e6c6; }
.stitch-workspace[data-role=admin] { --desk: #31382c; --desk-mark: #e6e8b9; }
.stitch-workspace .stitch-bar { background: var(--paper); }
.stitch-brand .role-stamp {
  background: transparent;
  color: var(--muted);
  border-inline-start: 1px solid var(--line);
  border-radius: 0;
}
.stitch-workspace .profile-menu summary { border: 1px solid var(--line); background: var(--cream); border-radius: 50%; }
.stitch-workspace .profile-menu summary .nav-icon { width: 20px; height: 20px; }
.stitch-workspace h1,
.stitch-workspace :is(.panel,.section-heading) > h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
.stitch-workspace h1 { font-size: clamp(2.15rem,5.3vw,3.6rem); line-height: 1.03; }
.stitch-workspace :is(.panel,.section-heading) > h2 { font-size: clamp(1.45rem,3vw,1.9rem); line-height: 1.1; }
.workspace-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: .7rem;
  padding: clamp(1.2rem,4vw,2.8rem);
  border-radius: 14px;
  margin-bottom: 1.2rem;
}
.workspace-heading h1 { font-size: clamp(2.35rem,7vw,4.7rem); line-height: 1.01; }
.workspace-heading .workspace-context { margin-bottom: .62rem; }
.workspace-heading .workspace-summary { line-height: 1.45; max-width: 40ch; }
.workspace-heading .workspace-mark {
  position: relative;
  inset: auto;
  z-index: auto;
  display: grid;
  place-items: center;
  inline-size: clamp(2.75rem,12vw,5.5rem);
  aspect-ratio: 1;
  color: var(--desk-mark);
  background: #ffffff12;
  border: 1px solid #e3e9c24d;
  border-radius: 50%;
  opacity: 1;
  --symbol-accent: #eab998;
}
.workspace-heading .workspace-mark .nav-icon { width: 52%; height: auto; color: inherit; }
.workspace-contours { position: absolute; z-index: -1; width: min(55%,24rem); top: 0; right: 0; color: var(--desk-mark); opacity: .22; pointer-events: none; }
.workspace-contours path { fill: none; stroke: currentColor; stroke-width: .85; }
.workspace-heading .workspace-actions .btn { min-height: 50px; border-radius: 100px; }
.stitch-workspace .panel { background: var(--paper); border-radius: 12px; }
.stitch-workspace .panel > h2 { padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.stitch-workspace :is(.review-card,.task-card,.coverage-card) h2 { border-bottom: 0; padding-bottom: 0; }
.stitch-workspace .btn { border-radius: 100px; }
.stitch-workspace :is(.tag,.count-chip) { border-radius: 100px; }
.stitch-workspace .connection-status { background: #e6ecdb; border-radius: 8px; }
.stitch-workspace .survey-ticket { border-inline-start: 4px solid #7b8e55; }
.stitch-workspace .survey-ticket .screen-kicker { margin-bottom: 0; }
.stitch-workspace .reference-ledger { background: #e9efdf; border-radius: 8px; }
.stitch-workspace .farmer-status .status-rows > div {
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: .55rem 0 .8rem;
}
.stitch-workspace .farmer-status .status-rows > div:last-child { border-bottom: 0; }
.stitch-workspace .registry-ledger { gap: 0; margin: 0; background: #edf0e3; border-radius: 8px; }
.stitch-workspace .registry-ledger .metric { border: 0; border-radius: 0; padding: .85rem; background: transparent; }
.stitch-workspace .registry-ledger .metric strong {
  font: 400 clamp(1.55rem,5.5vw,2.4rem)/1.05 Georgia,serif !important;
  font-variant-numeric: lining-nums tabular-nums;
}
.stitch-workspace .registry-ledger + p { margin: .8rem 0 0; }
.stitch-workspace .work-icon { border-radius: 50%; background: #e8eeDF; }
.stitch-workspace .work-icon .nav-icon { width: 21px; height: 21px; }
.stitch-workspace .form-actions .primary, .stitch-workspace .review-decision .primary { min-height: 50px; }
.stitch-workspace .profile-menu > div { background: var(--paper); }
@media (max-width:700px) {
  .stitch-workspace main { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .stitch-workspace .workspace-heading { grid-template-columns: minmax(0,1fr); }
  .workspace-heading .workspace-mark { position: absolute; right: 1rem; top: .85rem; }
  .workspace-heading .workspace-context { padding-right: 3.4rem; }
  .workspace-heading h1 { padding-right: 2.65rem; }
  .workspace-heading .workspace-actions { grid-template-columns: minmax(0,1fr); }
  .stitch-workspace .stitch-nav { background: var(--paper); }
  .stitch-workspace .stitch-nav button { color: #43574b; border-radius: 9px; }
  .stitch-workspace .stitch-nav button[aria-current=page] { color: #153d2a; background: #dce7bd; }
  .stitch-workspace .stitch-nav button[aria-current=page] .nav-icon { --symbol-accent: #8a4529; }
  .stitch-workspace .stitch-nav .nav-icon { width: 23px; height: 23px; }
  .stitch-workspace .registry-ledger .metric:last-child { border-top: 1px solid var(--line); }
  .stitch-workspace .review-filters .btn { min-height: 46px; }
}

.stitch-workspace main h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.stitch-workspace .profile-menu > div {
  width: min(14rem,calc(100vw - 2rem));
  max-height: min(65vh,26rem);
  overflow: auto;
}

/* Task screens use the same paper, rules and survey marks as the role desks. */
.stitch-workspace .task-heading {
  margin-bottom: 1rem;
  padding: 1rem 0 1.1rem;
  border-bottom: 1px solid var(--line);
}
.stitch-workspace .task-heading .eyebrow { color: var(--green); }
.stitch-workspace .task-heading h1 { margin: .32rem 0 0; }
.stitch-workspace .task-heading .lede { margin: .55rem 0 0; }
.stitch-workspace .task-back .btn { background: transparent; }
.stitch-workspace .visit-heading {
  border: 0;
  background: var(--desk);
  color: #fcfdf8;
  padding: clamp(1rem,4vw,1.6rem);
  border-radius: 14px;
}
.stitch-workspace .visit-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem 1rem; font-size: .86rem; font-weight: 700; color: var(--desk-mark); }
.stitch-workspace .visit-meta > span:first-child { display: inline-flex; align-items: center; gap: .5rem; }
.stitch-workspace .visit-meta .nav-icon { width: 1.1rem; height: 1.1rem; color: inherit; --symbol-accent: #eab998; }
.stitch-workspace .visit-heading .visit-progress {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #ffffff38;
  color: var(--desk-mark);
  accent-color: var(--desk-mark);
  height: .32rem;
}
.stitch-workspace .visit-progress::-webkit-progress-bar { border-radius: 10px; background: #ffffff38; }
.stitch-workspace .visit-progress::-webkit-progress-value { border-radius: 10px; background: var(--desk-mark); }
.stitch-workspace .visit-progress::-moz-progress-bar { border-radius: 10px; background: var(--desk-mark); }
.stitch-workspace .task-surface > form > label:first-child, .stitch-workspace .visit-fields > label:first-child { margin-top: 0; }
.stitch-workspace .visit-fields .farm { background: #f1f4eb; padding: .85rem 1rem 1rem; border-radius: 12px; }
.stitch-workspace .visit-fields .farm legend { padding: 0 .4rem; color: var(--green); }
.stitch-workspace .consent-guide { background: #edf1e3; border-color: #82925d; color: var(--ink); }
.stitch-workspace :is(#assessment,#decision) label:has(> input[type=checkbox]) {
  background: #eff3e8;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: .6rem;
}
.stitch-workspace :is(#assessment,#decision) input[type=checkbox] { flex: none; }
.stitch-workspace .form-actions { border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: 0; }
.stitch-workspace .record-identity {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: .55rem .7rem;
  align-items: center;
  padding: .85rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eaf0e2;
}
.stitch-workspace .record-identity > div > :is(span,strong) { display: block; }
.stitch-workspace .record-identity > div > span:first-child { font-size: .84rem; color: var(--muted); }
.stitch-workspace .record-identity > .tag { justify-self: start; }
.stitch-workspace .evidence-ledger { margin: 0; }
.stitch-workspace .evidence-row { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.stitch-workspace .evidence-row:last-child { border: 0; }
.stitch-workspace .evidence-row dt { color: var(--muted); }
.stitch-workspace .evidence-row dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.stitch-workspace .parcel-evidence { background: #f1f4ea; border-radius: 10px; }
.stitch-workspace .decision-reference { background: #edf1e5; border-radius: 10px; padding: .65rem .8rem; }
.stitch-workspace .review-decision fieldset { border: 1px solid var(--line); border-radius: 10px; padding: .15rem .8rem .45rem; }
.stitch-workspace .review-decision legend { font-weight: 700; padding-inline: .3rem; }
.stitch-workspace .review-option { min-height: 44px; display: flex; align-items: center; gap: .6rem; border: 0; margin: 0; border-bottom: 1px solid var(--line); padding: .45rem 0; }
.stitch-workspace .review-option:last-child { border-bottom: 0; }
.stitch-workspace .review-option input { accent-color: var(--green); flex: none; }
.stitch-workspace .field-hint { color: var(--muted); font-size: .9rem; }
.stitch-workspace .request-copy { width: 100%; }
.stitch-workspace .request-title { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.stitch-workspace .report-controls { padding: .65rem .8rem .8rem; margin-bottom: .85rem; background: #edf1e5; border-radius: 10px; }
.stitch-workspace .report-controls label { margin-top: 0; }
.stitch-workspace .report-grid .report-line:first-child { background: #eaf0e2; padding: .65rem .4rem; border-radius: 8px 8px 0 0; }
.stitch-workspace .report-grid .report-line { padding-inline: .4rem; font-variant-numeric: tabular-nums; }
.stitch-workspace .report-grid .report-line > :not(:first-child) { text-align: end; }
.stitch-workspace .registry-ledger .metric strong { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
@media (max-width:700px) {
  .stitch-workspace .task-heading { padding-top: .5rem; }
  .stitch-workspace .visit-heading { padding-top: 1rem; }
  .stitch-workspace .task-back { margin-bottom: .45rem; }
  .stitch-workspace .record-identity { grid-template-columns: auto minmax(0,1fr); }
  .stitch-workspace .record-identity > .tag { grid-column: 2; }
  .stitch-workspace .report-controls .btn, .stitch-workspace .register-search .btn { width: 100%; }
  .stitch-workspace .review-actions .actions, .stitch-workspace .review-decision .actions { gap: .65rem; }
  .stitch-workspace #dataset .actions { display: grid; }
}
