@charset "UTF-8";
:root{--ink:#27332e;--muted:#788078;--line:#dce0d6;--paper:#fff;--ground:#f3f4ef;--olive:#687b48;--olive-light:#e8eddf;--dark:#252e29;--warning:#a26524;--error:#a24033;font-family:Arial,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--ground)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--olive)}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #d4dace;border-radius:6px;width:100%;padding:9px 10px;min-height:40px}input:focus,select:focus,textarea:focus{border-color:var(--olive);outline:2px solid #687b4820}textarea{resize:vertical;line-height:1.6;min-height:130px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px;line-height:1.25}h2{font-size:19px;letter-spacing:-.35px}h3{font-size:15px}small,.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);font-weight:700}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--dark);color:#e5e8df;display:flex;flex-direction:column;padding:26px 16px;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;letter-spacing:-.4px;padding:0 8px}.brand img{width:34px;height:34px}.brand small{font-size:10px;display:block;letter-spacing:1.2px;font-weight:400;color:#9eab9c}.project{padding:0 10px}.project strong{display:block;font-size:16px;margin-top:6px}.sidebar .eyebrow{color:#97a28f}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav-button{display:flex;align-items:center;gap:12px;border:0;color:#bfc8bc;background:none;padding:11px 12px;text-align:left;border-radius:6px;width:100%;transition:background .15s,color .15s}.nav-button:hover{background:#ffffff08;color:#fff}.nav-button.active{background:#e2e9d418;color:#e5edce;box-shadow:inset 3px 0 #acbf8a}.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none;flex-shrink:0}.sidebar-bottom{margin-top:auto;display:grid;gap:12px;padding:8px}.sidebar-bottom p{font-size:11px;color:#a4b09e;line-height:1.6}.sidebar-bottom .text-button{color:#e5e8df}.main{min-width:0}.topbar{height:62px;background:#fbfcf8;border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:12px}.crumb{font-size:12px;color:var(--muted)}.crumb strong{font-weight:500;color:var(--ink)}.top-status{display:flex;align-items:center;gap:18px;font-size:11px;color:var(--muted)}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#829763;margin-right:6px}.workspace{max-width:1580px;margin:auto;padding:28px 32px 50px}.record-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.record-heading{display:flex;align-items:center;gap:14px}.record-heading .eyebrow{margin-bottom:6px}.tag{font-size:10px;letter-spacing:.5px;border:1px solid var(--line);background:#f9faf6;padding:3px 8px;border-radius:4px;font-weight:500;color:#6f786a}.example-tag{color:#92774a;border-color:#e1d7bc;background:#faf7ee}.header-sub{color:var(--muted);font-size:12px;margin-top:7px}.actions{display:flex;align-items:center;gap:8px}.btn{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:6px;min-height:38px;padding:8px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;white-space:nowrap;transition:background .16s,transform .16s}.btn:hover{background:#f1f4eb}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--olive);border-color:var(--olive);color:#fff}.btn.primary:hover{background:#53653a}.btn.small{font-size:12px;padding:5px 10px;min-height:32px}.btn.icon-only{padding:9px}.btn.danger{color:var(--error)}.text-button{background:none;border:0;color:var(--olive);padding:0;text-align:left;display:inline-flex;align-items:center;gap:7px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-head p{color:var(--muted);font-size:12px;margin-top:4px}.section-num{font-size:11px;color:#929b88;margin-right:8px;font-weight:400}.mapping-layout{display:grid;grid-template-columns:minmax(0,1fr) 244px;gap:22px}.map-surface{background:#fbfcf9;border:1px solid var(--line);border-radius:8px;overflow:hidden;min-width:0}.map-toolbar{padding:11px 14px;background:white;display:flex;align-items:center;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.tool{border:1px solid transparent;background:transparent;border-radius:4px;padding:7px 8px;min-height:34px;display:inline-flex;gap:6px;align-items:center;color:#6b7567;font-size:12px}.tool:hover{background:var(--ground)}.tool.active{background:var(--olive-light);border-color:#cbd6ba;color:#4f6335}.tool-sep{height:20px;width:1px;background:var(--line);margin:0 5px}.map-body{position:relative;background-color:#f6f7f2;background-image:radial-gradient(#dce1d6 .75px,transparent .75px);background-size:16px 16px}.map-body svg{display:block;width:100%;height:auto;min-height:310px;max-height:520px;touch-action:none;user-select:none}.map-body.draw svg{cursor:crosshair}.map-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding:10px 14px;font-size:10px;color:var(--muted);background:white}.map-instruction{padding:10px 15px;background:#edf1e5;color:#52613d;display:flex;justify-content:space-between;align-items:center;font-size:12px}.inspector{padding:2px 0;display:flex;flex-direction:column;gap:22px}.inspector h3{font-size:12px;margin-bottom:12px}.info-list{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:12px}.info-list dt{color:var(--muted)}.info-list dd{margin:0;text-align:right}.legend{display:grid;gap:10px}.legend-row{display:grid;grid-template-columns:12px 1fr auto;gap:9px;align-items:center;font-size:11px}.swatch{width:12px;height:12px;display:inline-block;border:1px solid #00000012;border-radius:2px}.legend-row small{display:block;font-size:10px;line-height:1.4}.share-bar{height:5px;background:#e1e4db;display:flex;border-radius:3px;overflow:hidden;margin-top:13px}.share-caption{margin-top:6px;font-size:10px;color:var(--muted)}.share-caption.warning{color:var(--warning)}.photo-peek{width:100%;aspect-ratio:1.65;object-fit:cover;border-radius:5px;display:block}.photo-peek-label{font-size:10px;color:var(--muted);margin-top:5px}.note-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:25px}.field label{display:block;font-size:12px;margin-bottom:6px;color:#626d5d}.field textarea{font-size:13px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .full{grid-column:1/-1}.panel{animation:panel-in .16s ease-out}.table-wrap{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:7px}table{border-collapse:collapse;width:100%;font-size:12px}th{font-weight:500;text-align:left;color:#68745e;background:#eef1e8;white-space:nowrap;font-size:11px;padding:12px;border-bottom:1px solid var(--line)}td{padding:11px 12px;border-bottom:1px solid #e9ece4;vertical-align:middle}tr:last-child td{border-bottom:0}td input,td select{font-size:12px;padding:7px;min-height:34px}td input{min-width:90px}.wide-table{min-width:1300px}.wide-table th:nth-child(1){width:50px}.wide-table td:first-child input{min-width:35px;width:40px}.table-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:14px}.quiet-notice{font-size:12px;color:var(--muted);margin-top:16px;padding:12px 0;border-top:1px solid var(--line)}.warning-box{padding:12px 15px;background:#f9f0e2;color:#885b26;font-size:12px;border-left:3px solid #c7a369;margin-bottom:18px}.unit-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}.unit-tab{border:1px solid var(--line);background:transparent;border-radius:5px;padding:8px 12px;font-size:12px;display:flex;align-items:center;gap:8px}.unit-tab.active{background:white;border-color:#8b9b76;color:#4b6036}.rmr-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px}.rmr-global{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}.rating-row{background:#fff;border-bottom:1px solid var(--line);padding:14px;display:grid;grid-template-columns:1fr 60px;gap:10px;align-items:end}.rating-row label{display:block;font-size:12px;margin-bottom:6px}.rating-row select{font-size:11px}.rating-row input{text-align:center;font-weight:bold}.rating-note{grid-column:1/-1;font-size:11px!important;min-height:30px}.rmr-result{background:#e9eee0;padding:22px;border-radius:6px;margin-bottom:12px}.rmr-result .big{font-size:44px;letter-spacing:-2px;font-weight:500;line-height:1.1;margin:12px 0}.rmr-result .eyebrow{color:#7b8c65}.result-list{display:grid;gap:12px}.result-row{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.result-row strong{font-size:18px}.class-badge{display:inline-block;min-width:26px;text-align:center;font-weight:bold;padding:2px 6px;background:#e6ecde;color:#536642;border-radius:3px}.class-badge.low{background:#f4e3d8;color:#995e35}.set-heading{font-size:12px;display:flex;align-items:center;gap:8px;margin-bottom:7px}.set-heading input{min-width:80px}.set-table input{max-width:75px;text-align:center}.set-table select{min-width:125px;max-width:210px}.set-table th:first-child{min-width:150px}.score-value{font-size:20px;font-weight:600}.q-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:26px}.q-row{display:grid;grid-template-columns:64px 1fr 82px;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:15px 0}.q-symbol{font-size:22px;letter-spacing:-.5px}.q-row label{font-size:12px;display:block;margin-bottom:5px}.q-row select{font-size:12px}.q-row input{text-align:center;font-weight:bold}.q-notes{margin-top:20px}.q-explanation{margin-top:18px;padding:14px;background:#edf0e8;font-size:12px;color:#65735a;line-height:1.7}.unit-editor{background:white;border:1px solid var(--line);border-radius:7px;padding:22px;margin-bottom:18px}.unit-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.unit-title input[type=color]{width:40px;height:38px;padding:3px;flex-shrink:0}.unit-title input{font-weight:bold}.unit-title .btn{margin-left:auto}.unit-editor .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.photo-item{background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden}.photo-item img{width:100%;height:220px;object-fit:cover;display:block}.photo-item .photo-fields{padding:13px;display:grid;gap:10px}.photo-item select,.photo-item input{font-size:12px}.photo-item .photo-buttons{display:flex;gap:10px;justify-content:space-between}.empty{padding:50px 20px;text-align:center;color:var(--muted);background:#fff;border:1px dashed #cdd5c4;border-radius:7px}.report-preview{max-width:1000px;background:white;border:1px solid var(--line);margin:0 auto;padding:36px}.report-preview h2{margin-bottom:9px}.report-preview h3{margin-top:23px;margin-bottom:9px;border-bottom:1px solid var(--line);padding-bottom:6px}.report-preview p{font-size:12px;white-space:pre-wrap}.report-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px;margin:18px 0}.report-map{max-width:850px;margin:auto}.report-map svg{display:block;width:100%;height:auto}.report-photos{display:grid;grid-template-columns:1fr 1fr;gap:18px}.report-photos img{width:100%;height:250px;object-fit:contain;background:#f4f5f0}.report-photos figcaption{font-size:11px}.report-photos figure{margin:0;break-inside:avoid}.help-sections details{border-bottom:1px solid var(--line);padding:15px 0}.help-sections summary{font-weight:bold;cursor:pointer}.help-sections p{font-size:13px;margin:12px 0;line-height:1.7}.help-sections b{display:block;margin-bottom:3px}.export-menu{position:relative}.export-menu summary{list-style:none}.export-menu summary::-webkit-details-marker{display:none}.menu-list{position:absolute;right:0;top:44px;background:white;border:1px solid var(--line);box-shadow:0 12px 30px #25352712;border-radius:6px;min-width:215px;padding:6px;z-index:30}.menu-list button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:10px;width:100%;text-align:left;font-size:12px;color:var(--ink);border-radius:3px}.menu-list button:hover{background:var(--ground)}dialog{border:1px solid var(--line);border-radius:10px;box-shadow:0 30px 100px #13201730;max-width:900px;width:calc(100% - 32px);padding:26px;color:var(--ink);max-height:90vh;overflow-y:auto}dialog::backdrop{background:#1a241d66;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.record-list{display:grid;gap:8px;margin-top:16px}.record-list button{padding:15px;border:1px solid var(--line);border-radius:5px;background:white;text-align:left;display:flex;justify-content:space-between;gap:15px}.record-list button:hover{background:var(--ground)}.record-list strong{font-size:17px;display:block}.record-list small{display:block}.record-list .record-right{text-align:right}.loading{margin:12vh auto;max-width:360px;font-size:28px;font-weight:bold}.loading span{display:block;font-size:14px;font-weight:normal;color:var(--muted);margin-top:16px}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);background:var(--dark);color:white;padding:12px 20px;border-radius:6px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;z-index:200}#toast.visible{opacity:1;transform:translate(-50%,0)}#print-root{display:none}.mobile-brand{display:none}.status-error{color:var(--error)!important}.status-warning{color:var(--warning)!important}@keyframes panel-in{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:1700px){.workspace{padding-top:40px}}@media(max-width:1150px){.shell{grid-template-columns:188px minmax(0,1fr)}.sidebar{padding:22px 10px}.brand{font-size:16px}.workspace{padding:24px}.topbar{padding:0 24px}.mapping-layout{grid-template-columns:minmax(0,1fr) 200px;gap:18px}.unit-editor .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.actions .btn{font-size:12px}.rmr-layout{grid-template-columns:minmax(0,1fr) 200px}.q-layout{grid-template-columns:minmax(0,1fr) 220px}}@media(max-width:900px){.mapping-layout,.rmr-layout,.q-layout{grid-template-columns:1fr}.inspector{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.inspector .photo-context{display:none}.rmr-aside{display:flex;gap:20px}.rmr-result{min-width:180px}.rmr-aside .result-list{flex:1}.record-header{align-items:flex-start}.actions{flex-wrap:wrap;justify-content:flex-end}.note-grid{grid-template-columns:1fr}.record-header h1{font-size:25px}.q-result{display:grid;grid-template-columns:1fr 1fr;gap:15px}.q-result .q-explanation{margin:0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.shell{display:block}.sidebar{position:relative;height:auto;padding:15px 16px;gap:14px}.brand{font-size:18px}.brand small,.project,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;gap:4px;margin:0 -8px}.nav-button{width:auto;flex-shrink:0;padding:8px 10px;font-size:11px;gap:5px}.nav-button .icon{width:15px;height:15px}.nav-button.active{box-shadow:inset 0 -2px #acbf8a}.topbar{height:44px;padding:0 16px}.crumb{font-size:10px}.top-status{font-size:10px;gap:10px}.top-status #offline-status{display:none}.workspace{padding:20px 14px 40px}.record-header{display:block;margin-bottom:24px}.record-header .actions{margin-top:17px;justify-content:flex-start}.record-heading .eyebrow{font-size:9px}.header-sub{font-size:11px}.mapping-layout{gap:18px}.map-body svg{min-height:230px}.map-toolbar{padding:8px}.tool{font-size:11px;padding:7px 6px}.tool .icon{width:15px;height:15px}.map-footer{font-size:9px}.inspector{grid-template-columns:1fr 1fr}.inspector .profile-details{display:none}.note-grid{margin-top:18px;gap:18px}.section-head{align-items:flex-start}.section-head h2{font-size:18px}.section-head p{max-width:240px}.unit-editor{padding:16px}.unit-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-title{flex-wrap:wrap}.unit-title input:not([type=color]){width:calc(100% - 54px)}.unit-title .btn{margin-left:0}.form-grid,.form-grid.two{grid-template-columns:1fr}.photo-grid{grid-template-columns:1fr 1fr;gap:10px}.photo-item img{height:160px}.photo-item .photo-fields{padding:9px}.photo-buttons .text-button{font-size:10px}.rmr-global{grid-template-columns:1fr}.rmr-layout{gap:16px}.rmr-aside{display:block}.rmr-result{padding:18px}.q-row{grid-template-columns:42px 1fr 65px;gap:9px}.q-row select{font-size:11px}.q-symbol{font-size:19px}.q-result{display:block}.q-result .q-explanation{margin-top:15px}.report-preview{padding:18px}.report-meta{grid-template-columns:1fr}.report-photos{grid-template-columns:1fr}.section-head .btn span{display:none}dialog{padding:20px}.mobile-brand{display:block}.rating-row{padding:12px}.table-actions{align-items:flex-start}.table-actions small{max-width:190px}}@media print{@page{size:A4 portrait;margin:14mm}body{background:white}.shell,dialog,#toast,#app{display:none!important}#print-root{display:block}.report-preview{max-width:none;border:0;padding:0}.report-preview h2{font-size:19px}.report-preview h3{break-after:avoid}.report-meta{grid-template-columns:1fr 1fr}.report-map{max-width:600px;break-inside:avoid}.report-photos{display:grid;grid-template-columns:1fr 1fr}.report-photos img{height:210px}.report-preview table{font-size:9px}.report-preview th,.report-preview td{padding:6px}.report-preview p{font-size:11px}.report-preview .warning-box{border:1px solid #999;background:white;color:black}tr{break-inside:avoid}.report-preview section{break-inside:auto}}

/* The image and annotations share one uncropped SVG coordinate frame. */
.map-body.photo-map{background:#e6e9e1}.map-body.photo-map svg{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto}.photo-map-controls{display:flex;align-items:end;gap:20px;padding:12px 14px;background:#fff;border-bottom:1px solid var(--line)}.photo-map-controls>.field{flex:1;min-width:0}.photo-map-controls select{font-size:12px}.face-photo-empty{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:40px 25px;background:#f8f9f4}.face-photo-empty>.icon{width:36px;height:36px;color:#81906f;stroke-width:1}.face-photo-empty h3{font-size:19px;font-weight:500}.face-photo-empty p{max-width:350px;font-size:13px;color:var(--muted)}.face-photo-empty small{font-size:11px}.map-scale-note{padding:9px 14px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);background:#fbfcf9}.map-instruction{gap:10px;flex-wrap:wrap}.map-instruction>div{display:flex;align-items:center;gap:5px}.map-toolbar .tool:disabled{opacity:.3}.map-footer .text-button:disabled{opacity:.4}@media(max-width:650px){.photo-map-controls{flex-direction:column;align-items:stretch;gap:8px}.map-toolbar .tool{min-height:42px}.face-photo-empty{min-height:310px}.face-photo-empty h3{font-size:17px}}

.map-expand{margin-left:auto}.map-is-expanded{overflow:hidden}.map-surface.expanded{position:fixed;inset:12px;z-index:100;border-radius:8px;display:flex;flex-direction:column;box-shadow:0 0 0 24px #252e29bb}.map-surface.expanded .map-toolbar,.map-surface.expanded .photo-map-controls,.map-surface.expanded .map-instruction,.map-surface.expanded .map-footer,.map-surface.expanded .map-scale-note{flex-shrink:0}.map-surface.expanded .map-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.map-surface.expanded .map-body svg{width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain}.map-surface.expanded .photo-map-controls{padding-top:6px;padding-bottom:6px}.map-surface.expanded .photo-map-controls label{margin-bottom:2px}@media(max-width:650px){.map-surface.expanded{inset:0;border:0;border-radius:0}.map-surface.expanded .photo-map-controls{flex-direction:row;align-items:end;gap:10px}.map-surface.expanded .photo-map-controls select{max-width:100%}}

/* Report: A4 with a 25 mm binding margin, large images, clear final decision. */
.report-preview .report-title{font-size:18px;letter-spacing:-.3px;white-space:nowrap;margin:7px 0 15px}.report-adoption{display:grid;grid-template-columns:1fr 1fr;text-align:center;gap:20px;border:1px solid #98a587;background:#f2f5ed;padding:22px 16px;margin:20px 0;break-inside:avoid}.report-adoption span{display:block;font-size:11px;letter-spacing:.4px;text-transform:uppercase;color:#626e58;font-weight:600}.report-adoption strong{display:block;font-size:28px;line-height:1.3;margin-top:9px;overflow-wrap:anywhere}.report-photos{display:block}.report-photos .report-photo{margin:24px 0 36px;break-inside:avoid}.report-photos img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#fff}.report-photos figcaption{margin:0 0 10px;font-size:13px}.report-photos figcaption span{display:block;margin-top:4px;font-size:12px;color:#626e58}.report-photo-section{margin-top:26px}
@media(max-width:650px){.report-preview .report-title{white-space:normal;font-size:17px}.report-adoption{gap:12px;padding:18px 8px}.report-adoption strong{font-size:23px}.report-adoption span{font-size:10px}}
@media print{
 @page{size:A4 portrait;margin:15mm 15mm 15mm 25mm}
 .report-preview .report-title{font-size:12pt;white-space:nowrap;letter-spacing:-.2px;margin-bottom:5mm}
 .report-preview p{font-size:10pt}.report-preview table{font-size:9pt}.report-preview th,.report-preview td{padding:2mm}
 .report-adoption{padding:6mm 4mm;margin:5mm 0;gap:5mm}.report-adoption span{font-size:9pt}.report-adoption strong{font-size:22pt;margin-top:3mm}
 .report-photo-section{break-before:page}.report-photo-section>h3{margin-top:0}.report-photos{display:block;grid-template-columns:none}.report-photos .report-photo{break-before:page;break-inside:avoid;margin:0}.report-photos .report-photo:first-child{break-before:auto}.report-photos img{width:100%;height:auto;max-height:228mm;object-fit:contain;background:white}.report-photos figcaption{font-size:11pt;margin-bottom:3mm}.report-photos figcaption span{font-size:10pt}
}

.map-instruction>div{flex-wrap:wrap}

/* Landscape engineering form: output only; field-entry screens are unchanged. */
.report-preview.form-report{max-width:none;padding:0;border:0;background:none;color:#202020;display:grid;gap:24px}.form-report .report-sheet{background:#fff;border:1px solid #aaa;padding:50px 24px 24px;min-height:650px;display:flex;flex-direction:column;gap:0}.form-report .form-header{margin-bottom:12px}.form-title-row{display:grid;grid-template-columns:14% minmax(0,1fr) 14%;border:1px solid #444}.form-title-row>div{text-align:center;padding:5px 8px;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0}.form-title-row>div+div{border-left:1px solid #444}.form-title-row small{display:block;text-transform:uppercase;color:#555;font-size:8px;letter-spacing:.2px}.form-title-row strong{font-size:11px}.form-report .form-title-row h2{font-size:16px;letter-spacing:0;line-height:1.3;white-space:nowrap;margin:0}.form-title-row b{font-size:12px}.form-report table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10px;line-height:1.35}.form-report td,.form-report th{border:1px solid #555;padding:5px 6px;vertical-align:top;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;color:#222}.form-report th{font-weight:700;background:#fff;font-size:9px;white-space:normal}.form-report .form-label{background:#fff}.form-report .form-value,.form-report .form-values td{background:#dfdfdf}.form-header-meta table{font-size:8px}.form-header-meta td{padding:1px 4px}.form-header-meta .form-properties:first-child td{border-top:0}.form-properties+.form-properties tr:first-child td{border-top:0}.form-report .form-section-title{margin:0;padding:4px 6px;background:#fff;color:#202020;font-size:12px;border:1px solid #444;letter-spacing:0;break-after:avoid}.form-sheet-body>.form-section-title:not(:first-child){margin-top:12px}.form-report .form-properties{margin:0}.form-report .form-values{margin:0}.form-table-scroll{overflow-x:auto}.form-report .report-adoption{margin:0;background:#eee;border:1px solid #555;border-top:0;padding:12px 10px;gap:20px}.form-report .report-adoption span{color:#333;font-size:9px}.form-report .report-adoption strong{font-size:20px}.form-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:20px;min-height:420px;padding-top:12px}.form-map{min-width:0}.form-map svg{display:block;width:100%;height:auto;max-height:460px}.form-legend{align-self:start;padding:10px 0}.form-legend h4{font-size:11px;font-weight:600;margin:0 0 12px}.form-legend h4:not(:first-child){margin-top:18px}.form-legend-item{display:flex;gap:8px;align-items:start;font-size:10px;margin-bottom:12px}.form-legend-item i{display:block;width:11px;height:11px;flex:0 0 11px;margin-top:2px;border:1px solid #555}.form-legend-item span{display:block}.form-legend-item .legend-line{height:0;margin-top:7px;border:0;border-top:2px solid #344b2b}.form-legend-item .legend-line.fault{border-color:#9c3b28}.form-legend-item .legend-line.boundary{border-top-style:dashed}.form-draft-note{font-size:10px!important;padding:7px 0}.form-footer{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid #555;font-size:8px;margin-top:auto;text-align:center}.form-footer span{padding:2px 5px}.form-footer span+span{border-left:1px solid #555}.form-sheet-body{padding-bottom:18px}.form-photo-grid{display:grid;grid-template-columns:repeat(var(--photo-columns),minmax(0,1fr));gap:24px;padding-top:12px}.form-photo-grid figure{margin:0;min-width:0}.form-photo-grid img{display:block;width:100%;height:440px;object-fit:contain;object-position:top center;background:#fff}.form-photo-grid.context-photo-page img{height:360px}.form-photo-grid figcaption{font-size:12px;line-height:1.4;margin-bottom:8px}.form-photo-grid figcaption:empty{display:none}.form-photo-grid figcaption span{display:block;font-size:11px;margin-top:3px}.form-report .form-footer{font-family:Arial,sans-serif}.form-report .form-sheet-body>.form-properties:last-child{margin-bottom:10px}
@media(max-width:900px){.form-report .report-sheet{padding:20px 16px 15px;min-height:550px}.form-report .form-title-row h2{font-size:12px}.form-title-row b{font-size:10px}.form-map-layout{grid-template-columns:minmax(0,1fr) 120px;gap:12px;min-height:320px}.form-photo-grid img{height:360px}.form-photo-grid.context-photo-page img{height:280px}.form-report .report-adoption strong{font-size:20px}}
@media(max-width:650px){.form-title-row{grid-template-columns:15% minmax(0,1fr) 15%}.form-title-row>div{padding:4px}.form-title-row small{font-size:6px}.form-title-row strong{font-size:8px}.form-report .form-title-row h2{white-space:normal;font-size:11px}.form-header-meta table{font-size:7px}.form-header-meta td{padding:3px 2px}.form-map-layout{grid-template-columns:minmax(0,1fr) 80px;gap:8px;min-height:240px}.form-legend-item{font-size:8px;gap:4px}.form-legend h4{font-size:9px}.form-report table{font-size:8px}.form-report td,.form-report th{padding:4px 3px}.form-photo-grid{gap:12px}.form-photo-grid img{height:270px}.form-photo-grid.context-photo-page img{height:200px}.form-footer{font-size:7px}.form-report .report-adoption span{font-size:8px}.form-report .report-adoption strong{font-size:20px}}
@media print{@page{size:A4 landscape;margin:20mm 10mm 10mm 10mm}.report-preview.form-report{display:block;padding:0;border:0}.form-report .report-sheet{break-before:page;break-inside:auto;min-height:180mm;border:0;padding:0;display:flex}.form-report .report-sheet:first-child{break-before:auto}.form-report .form-title-row h2{font-size:12pt;white-space:nowrap}.form-report .form-title-row b{font-size:9pt}.form-report .form-header{margin-bottom:3mm}.form-report .form-properties,.form-report .form-values{font-size:8pt}.form-report td,.form-report th{padding:1.3mm}.form-report .form-section-title{font-size:10pt;margin-top:0}.form-map-layout{grid-template-columns:minmax(0,1fr) 45mm;min-height:120mm}.form-map svg{max-height:124mm}.form-photo-grid{gap:6mm;padding-top:2mm}.form-photo-grid img,.form-photo-grid.context-photo-page img{height:130mm;max-height:130mm}.form-report .report-adoption{padding:3mm}.form-report .report-adoption strong{font-size:15pt}.form-report .form-footer{font-size:6.8pt}.form-report .form-footer span{padding:.5mm}.form-report .form-header-meta table{font-size:7.2pt}.form-report .form-header-meta td{padding:.5mm 1mm}.form-report .report-adoption span{font-size:8pt}.form-sheet-body{padding-bottom:4mm}}

/* The main method belongs to the record; both input panels remain available. */
.classification-choice{display:flex;align-items:center;gap:24px;padding:15px 18px;margin-bottom:22px;background:#fff;border:1px solid var(--line);border-radius:6px}.classification-choice .field{flex:0 0 255px}.classification-choice p{font-size:12px;line-height:1.6;color:var(--muted);max-width:660px}.form-report .form-title-row>div{text-align:left;align-items:flex-start;justify-content:center}.form-report .form-header td{text-align:left;vertical-align:middle}
@media(max-width:680px){.classification-choice{display:block;padding:14px}.classification-choice p{margin-top:10px}}

.form-report .form-rmr-total td{font-weight:700;background:#e7e7e7}.form-report .form-rmr-note{font-size:10px;margin:8px 0 12px;line-height:1.45}.rmr-report-sheet .form-values th{white-space:normal}.form-report .compact-rmr-table{max-width:100%;min-width:min(100%,480px)}.form-report .compact-rmr-table+.compact-rmr-table{margin-top:10px}

/* The selected method applies to the whole record, including navigation. */
.nav-button:disabled{opacity:1;color:#929e94;cursor:not-allowed;background:none}.nav-button:disabled:hover{color:#929e94;background:none}.nav-button small{margin-left:auto;font-size:9px;color:inherit}.classification-choice p{color:#566253}.discontinuity-table select{min-width:155px;font-size:12px}.disc-own-value{margin-top:6px;font-size:12px}
@media(max-width:680px){.nav-button small{display:none}.classification-choice .field{min-width:0}.classification-choice select{font-size:13px}}

.shared-global-title{margin:0 0 12px}.discontinuity-table{margin-top:22px}.set-table small{display:block;margin-top:6px}.discontinuity-table .score-value{display:block;min-width:45px}.shared-global-title+.rmr-global{margin-bottom:24px}

/* Discontinuities are full-width forms; every field reflows within its section. */
.disc-list{display:grid;gap:24px;margin:22px 0;min-width:0}.disc-entry{min-width:0;padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:6px}.disc-entry-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}.disc-entry-header h3{font-size:17px;overflow-wrap:anywhere}.disc-entry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.disc-result{display:flex;align-items:baseline;gap:7px}.disc-result span{font-size:12px;color:#566253}.disc-result strong{font-size:22px;line-height:1;font-variant-numeric:tabular-nums}.disc-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px 20px;min-width:0}.disc-field{min-width:0;display:flex;flex-direction:column;gap:6px}.disc-field>label{font-size:12px;color:#566253}.disc-entry input,.disc-entry select,.disc-entry textarea{min-width:0;max-width:100%;width:100%}.disc-entry .disc-own-value{margin-top:0}.disc-field-full{grid-column:1/-1}.disc-field textarea{min-height:84px}.disc-group{min-inline-size:0;margin:24px 0 0;padding:0;border:0}.disc-group legend{padding:0;margin-bottom:12px;font-size:14px;font-weight:700}.disc-entry .btn{min-height:40px}
@media(max-width:680px){.disc-entry{padding:16px}.disc-entry-header{align-items:flex-start}.disc-entry input,.disc-entry select,.disc-entry textarea{font-size:16px;min-height:44px}.disc-entry .btn{min-height:44px}.disc-form-grid{gap:16px}.disc-entry-header h3{font-size:16px}}

/* Orientation belongs to one selected trace, independently of its photo angle. */
.line-trace-controls{padding:12px 15px;background:#edf1e5;display:flex;gap:18px;align-items:end;flex-wrap:wrap;color:#35432e}.line-trace-controls .field{flex:0 1 230px;min-width:0}.line-trace-controls p{flex:1 1 220px;font-size:12px;max-width:65ch;padding-bottom:4px}.line-trace-controls label{color:#425338}.muller-editor{margin:18px 0}.muller-toggle{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:600;min-height:44px}.muller-toggle input{width:19px;min-height:19px;flex:0 0 19px;accent-color:var(--olive)}.muller-editor fieldset{margin:10px 0 0;border:1px solid #d4dace;padding:14px;border-radius:6px;min-width:0}.muller-editor fieldset[hidden]{display:none}.muller-editor legend{font-size:12px;padding:0 5px;color:#425338}.muller-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.muller-axis{font-size:12px;margin:12px 0;color:#425338}.muller-preview{border:1px solid #d4dace;border-radius:4px;background:#fff;min-height:120px;display:flex;align-items:center;justify-content:center}.muller-preview svg{width:220px;height:165px;max-width:100%}.muller-preview p{font-size:12px;color:#425338;padding:15px;text-align:center}.muller-relation{font-size:12px;color:#35432e;margin:10px 0;min-height:18px}.line-symbol-note{font-size:11px;line-height:1.6;color:#425338;margin-top:12px;max-width:75ch}.line-symbol-error{color:#8d2922;font-size:12px;margin-top:10px}.line-symbol-error:empty{display:none}.muller-editor input[aria-invalid="true"]{border-color:#8d2922}.muller-editor .btn{min-height:40px;white-space:normal}.muller-editor .btn[aria-pressed="true"]{background:#d9e3cb;border-color:#9dab8b}
@media(max-width:650px){.line-trace-controls{gap:10px}.line-trace-controls .field{flex-basis:100%}.muller-fields-grid{grid-template-columns:minmax(0,1fr);gap:10px}.muller-editor .btn{min-height:44px}.muller-editor fieldset{padding:12px}}

.muller-pick select{flex:0 1 290px;min-width:0;font-size:12px;min-height:42px}.muller-pick span{flex:1 1 230px}

.muller-relation:empty{display:none}

.q-unit-heading{font-size:15px;margin:18px 0 14px}

.q-report-sheet .form-values{font-size:10px;line-height:1.25}.q-report-sheet .form-values th{font-size:10px;white-space:pre-line}.q-report-sheet .form-values td,.q-report-sheet .form-values th{padding:4px 6px}.q-report-sheet .form-rmr-note{margin:6px 0 9px}@media print{.q-report-sheet .form-values,.q-report-sheet .form-values th{font-size:8pt}.q-report-sheet .form-values td,.q-report-sheet .form-values th{padding:1.1mm}}
.q-conversion-choice{min-width:0;margin:16px 0 18px;padding:12px 16px 16px;border:1px solid var(--line);background:#fbfcf8;border-radius:6px}
.q-conversion-choice legend{padding:0 6px;font-weight:600;font-size:13px}.q-conversion-choice p{font-size:12px;color:var(--ink);margin:0 0 12px}
.q-conversion-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.q-conversion-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:4px;background:#fff;cursor:pointer;color:var(--ink)}
.q-conversion-option:hover{border-color:var(--olive)}.q-conversion-option:has(input:checked){border-color:var(--olive);background:var(--olive-light)}.q-conversion-option:has(input:focus-visible){outline:2px solid var(--olive);outline-offset:3px}
.q-conversion-option input{width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:var(--olive)}
.q-conversion-formula{display:grid;gap:4px;min-width:0}.q-conversion-formula strong{font-size:13px}.q-conversion-formula>span{font-size:12px}
.q-conversion-comparison{display:grid;gap:4px;text-align:right;font-variant-numeric:tabular-nums}.q-conversion-comparison output{font-size:19px;line-height:1.2;font-weight:600}.q-conversion-comparison small{font-size:11px;color:var(--ink);max-width:20ch}
.q-result [data-q-rmr-category]{display:block;font-size:12px}
.unit-editors-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.unit-editors-grid>.unit-editor{min-width:0;margin-bottom:0;padding:18px}
.unit-editors-grid>.unit-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.unit-editors-grid .unit-title{gap:10px;flex-wrap:wrap}
.unit-editors-grid .unit-title input:not([type=color]){flex:1;min-width:0;width:auto}
.unit-editors-grid .unit-title .btn{flex-shrink:0}
@media(max-width:1100px){.unit-editors-grid{grid-template-columns:1fr}}
@media(max-width:650px){.unit-editors-grid>.unit-editor{padding:16px}.unit-editors-grid>.unit-editor .form-grid{grid-template-columns:1fr}.unit-editors-grid .unit-title input:not([type=color]){flex:1 0 calc(100% - 60px)}}
.unit-conclusion{margin-top:32px;padding-top:24px;border-top:1px solid var(--line);scroll-margin-top:24px}
.unit-conclusion>h3{font-size:18px;margin:0 0 20px}
#unit-classification-reminder{margin:0 0 24px}
#unit-classification-reminder h4{font-size:13px;margin:0 0 10px;font-weight:600}
.unit-classification-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5;table-layout:fixed}
.unit-classification-table th,.unit-classification-table td{padding:12px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.unit-classification-table thead th{background:#eef1e7;font-size:12px;font-weight:600}.unit-classification-table thead th:first-child{width:40%}
.unit-classification-table tbody th{font-weight:600}.unit-classification-table small{display:block;font-size:11px;color:var(--ink);font-weight:400;margin-top:4px}
.unit-classification-table [data-unit-rmr],.unit-classification-table [data-unit-category]{font-weight:600;font-variant-numeric:tabular-nums}
.unit-summary-note{font-size:12px;color:var(--ink);margin:10px 0 0}
.report-panel-actions{flex-wrap:wrap;justify-content:flex-end}
.report-save-area{padding:16px 0 20px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.report-save-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.report-save-controls>.text-button{font-size:12px}.report-save-controls>.text-button:disabled{opacity:.5;cursor:default}
.report-save-area p{font-size:12px;line-height:1.6;margin:6px 0;overflow-wrap:anywhere}
.report-print-info{font-size:12px;color:var(--ink);margin:0 0 18px}
@media(max-width:650px){.section-head:has(.report-panel-actions){flex-wrap:wrap}.report-panel-actions{justify-content:flex-start;width:100%}}
@media(max-width:650px){.unit-classification-table thead{display:none}.unit-classification-table tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);padding:12px 0;gap:8px 16px}.unit-classification-table th,.unit-classification-table td{border:0;padding:0}.unit-classification-table tbody th{grid-column:1/-1}.unit-classification-table td::before{content:attr(data-label);display:block;font-size:11px;font-weight:400;color:var(--ink)}.unit-conclusion{margin-top:24px;padding-top:20px}}
@media(max-width:1100px){.q-conversion-options{grid-template-columns:1fr}}
@media(max-width:650px){.q-conversion-choice{padding:12px}.q-conversion-option{gap:8px;padding:12px 8px}.q-conversion-comparison output{font-size:17px}}

.map-body:not(.draw) [data-map-label]{cursor:grab}.map-body:not(.draw) [data-map-label]:active{cursor:grabbing}

.unit-methods{grid-column:1/-1;width:100%;border:1px solid var(--line);padding:14px;margin:8px 0 0}.unit-methods legend{font-size:12px;padding:0 6px}.unit-method-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,320px);align-items:center;gap:12px;margin:8px 0}.unit-method-row label{font-size:12px}.polyline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.polyline-actions span{font-size:11px;color:var(--muted)}@media(max-width:650px){.unit-method-row{grid-template-columns:1fr}}

.classification-choice.mixed-method-choice{flex-wrap:wrap}.mixed-method-choice .unit-methods{flex:1 0 100%;min-width:0}

.new-record-copy{margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.copy-toggle{display:flex;align-items:center;gap:10px;font-weight:600;margin-bottom:12px}.copy-toggle input{width:18px;min-height:18px;accent-color:var(--olive)}.new-record-copy p{font-size:12px;color:var(--ink);line-height:1.5;margin-top:10px}.unit-strength-note{font-size:11px;align-self:center;color:var(--muted)}input[readonly]{background:#f3f5ef;color:var(--ink)}
/* Portable project database dialogs follow the existing field-form layout. */
.database-dialog{max-width:980px;width:calc(100% - 32px)}
.sidebar{overflow-y:auto}
@media(max-height:900px) and (min-width:681px){.sidebar{gap:18px;padding-top:20px;padding-bottom:18px}.sidebar nav{gap:2px}.sidebar-bottom{gap:8px;margin-top:12px}.sidebar-bottom p{font-size:10px}}
.database-intro{line-height:1.6;margin:0 0 20px;color:var(--muted)}
.database-summary{margin:18px 0;padding:16px 18px;background:#eef1e7;border-left:3px solid var(--accent,#6b8049);line-height:1.7}
.database-summary>strong{font-size:24px;margin-right:4px;color:#26352c}
.database-summary small,.database-note{font-size:12px;line-height:1.6;color:var(--muted)}
.database-record-filters{display:grid;grid-template-columns:1.7fr 1.3fr 1fr;gap:12px;margin-bottom:16px}
.database-record-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.record-list .record-row{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:6px;margin:0 0 8px;overflow:hidden}
.record-list .record-open{flex:1;min-width:0;border:0;border-radius:0;margin:0;text-align:left}
.record-list .record-open>div:first-child{min-width:0;overflow-wrap:anywhere}
.record-list .record-delete{flex:0 0 42px;width:42px;min-height:42px;align-self:stretch;justify-content:center;padding:8px;margin:0;border:0;border-left:1px solid var(--line);border-radius:0;background:#fff;color:var(--error)}
.record-list .record-delete:hover{background:#faece8;color:#8e3025}
.record-list .record-delete:focus-visible{outline:2px solid var(--error);outline-offset:-3px}
/* Light fields and compact adoption table for the printed report. */
.form-header-meta .form-header-fields td{vertical-align:middle;overflow-wrap:normal;border-top:0}
@media print{.form-report .form-header-meta .form-header-fields{font-size:6.8pt}.form-report .form-header-meta .form-header-fields td{padding:.8mm .6mm}}
.form-report .form-title-row{grid-template-columns:14% minmax(0,1fr)}
.form-report .form-value,.form-report .form-values td{background:#f7f7f7}
.form-report .adoption-table{margin:8px 0 12px;break-inside:avoid}
.form-report .adoption-table .form-values th,.form-report .adoption-table .form-values td{text-align:center;font-size:11px;line-height:1.3;padding:6px;font-weight:600}
@media print{.form-report .adoption-table .form-values th,.form-report .adoption-table .form-values td{font-size:9pt;padding:1.4mm}}
.database-import-counts{display:flex;gap:24px;flex-wrap:wrap;padding:4px 0 18px;font-size:13px}
.database-import-counts b{font-size:20px;margin-right:4px}
.database-replace{display:flex;align-items:flex-start;gap:9px;line-height:1.5;font-size:13px;margin-bottom:16px;padding:12px;background:#faf2e5}
.database-replace input{width:17px;height:17px;min-height:0;flex-shrink:0;margin-top:2px}
.database-import-list{max-height:340px;overflow:auto;border-top:1px solid var(--line)}
.database-import-row{display:flex;gap:12px;align-items:center;padding:13px 2px;border-bottom:1px solid var(--line);font-size:13px}
.database-import-row>div{flex:1;min-width:0}.database-import-row strong{overflow-wrap:anywhere}.database-import-row small{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.database-conflict{background:#fbefda;border-color:#dbc593;color:#77551d}.database-import-row>.tag{white-space:nowrap}
.database-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:18px}.database-compare-grid section{min-width:0}
.database-compare{display:grid;grid-template-columns:1fr 1.2fr;gap:8px;font-size:12px;line-height:1.5}.database-compare dt{color:var(--muted)}.database-compare dd{margin:0;overflow-wrap:anywhere}
.database-text{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;max-height:260px;overflow:auto;background:#f4f5ef;padding:12px}
#db-progress{font-size:12px;line-height:1.6;min-height:20px;margin-top:14px}
@media(max-width:650px){.database-record-filters,.database-compare-grid{grid-template-columns:1fr}.database-import-row{flex-wrap:wrap}.database-import-row>div{flex-basis:100%}.database-dialog{width:calc(100% - 16px)}}

#f-observations::placeholder{color:#6f776b;opacity:1}

.sidebar-bottom .sidebar-copyright{display:block;margin-top:8px;font-size:10px;line-height:1.4;color:#a4b09e}
.rmr-reference-panel{margin-top:24px;min-width:0}
.rmr-reference-panel h3{font-size:14px;margin-bottom:6px}
.rmr-reference-panel>p{font-size:12px;color:var(--ink);margin:0 0 14px}
.rmr-reference-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;max-width:320px}
.rmr-reference-list figure{margin:0;min-width:0}
.rmr-reference-list figcaption{font-size:11px;font-weight:600;margin-bottom:4px}
.rmr-reference-button{display:block;width:100%;min-height:44px;padding:4px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);cursor:zoom-in;text-align:center}
.rmr-reference-button:hover{border-color:var(--olive)}
.rmr-reference-button img{display:block;width:100%;height:auto}
.rmr-reference-button span{display:block;margin-top:4px;font-size:10px;color:var(--ink)}
dialog.rmr-reference-dialog{max-width:1120px}
.rmr-reference-large{display:block;width:100%;height:auto;background:#fff}
.orientation-rosette{margin-top:24px;min-width:0}
.orientation-rosette h3{font-size:14px;margin:0 0 8px}
.rosette-azimuth{font-size:12px;margin:0 0 10px}
.rmr-rosette-open{display:block;width:100%;padding:0 0 8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);cursor:zoom-in}
.rmr-rosette-open:hover{border-color:var(--olive)}
.rmr-rosette-open>span{font-size:11px}
.orientation-rosette-svg{display:block;width:100%;height:auto;background:#fff}
.rosette-hint{font-size:11px;line-height:1.5;margin:8px 0 12px;color:var(--ink)}
.rosette-legend{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0;font-size:10px;line-height:1.4}
.rosette-legend li{display:flex;gap:6px;align-items:flex-start;min-width:0}
.rosette-legend i{display:block;width:12px;height:12px;flex:0 0 12px;border:1px solid #888;margin-top:1px}
.rosette-large{margin:0}.rosette-large .rosette-azimuth{font-size:14px}.rosette-large .rosette-legend{font-size:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.rosette-large .orientation-rosette-svg{max-height:66vh}.rosette-large .rosette-hint{font-size:12px}
@media(max-width:1100px){#rmr-rosette-preview{grid-column:1/-1}.orientation-rosette{margin-top:0}}
@media(max-width:650px){.orientation-rosette{margin-top:24px}.rosette-large{margin-top:0}.rosette-large .rosette-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.rmr-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.rmr-reference-panel{grid-column:1/-1;margin-top:0}.rmr-reference-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.rmr-aside{display:block}.rmr-reference-panel{margin-top:24px}}

@font-face{font-family:IGSummary;src:url('vendor/LiberationSans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:IGSummary;src:url('vendor/LiberationSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.report-layout-choice{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;border:0;padding:0;margin:0 0 20px}.report-layout-choice legend{font-size:12px;font-weight:700;margin-bottom:8px}.report-layout-choice label{display:flex;gap:8px;align-items:center;cursor:pointer}.report-layout-choice input,.summary-photo-option input{width:auto;min-height:0;accent-color:var(--olive)}
.summary-settings{margin:0 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.summary-settings>summary{font-weight:600;cursor:pointer}.summary-settings>p{max-width:75ch;margin:12px 0;color:#53604f;font-size:12px}.summary-text-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0 10px}.summary-text-fields .field:last-child{grid-column:1/-1}.summary-text-fields textarea{min-height:110px}.summary-photo-options{border:0;padding:0;margin:18px 0 6px}.summary-photo-options legend{font-size:13px;font-weight:600}.summary-photo-options>p{font-size:12px;color:#53604f;margin:5px 0 12px}.summary-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.summary-photo-option{display:flex;gap:10px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:6px;cursor:pointer;min-width:0}.summary-photo-option:has(input:checked){border-color:var(--olive);background:#f0f3e9}.summary-photo-option img{width:68px;height:50px;object-fit:contain;background:white}.summary-photo-option span{min-width:0}.summary-photo-option b{font-size:12px;font-weight:600}.summary-photo-option small{display:block;font-size:11px;color:#53604f;overflow-wrap:anywhere}.summary-preview-pages{display:grid;gap:22px;justify-items:center}.summary-page{background:#fff;border:1px solid #bfc3ba;width:100%;max-width:820px}.summary-page svg{display:block;width:100%;height:auto}.summary-capacity-error{padding:16px;border:1px solid #c9a58a;color:#7c382b;background:#fffaf5;max-width:75ch}
@media(max-width:850px){.summary-text-fields,.summary-photo-grid{grid-template-columns:1fr}.summary-text-fields .field:last-child{grid-column:auto}}
@media print{@page ig-summary{size:A4 portrait;margin:0}.summary-preview-pages{display:block;padding:0;margin:0}.summary-page{page:ig-summary!important;display:block!important;border:0;margin:0!important;padding:0!important;width:210mm!important;height:297mm!important;max-width:none;break-inside:avoid;break-after:page;overflow:hidden}.summary-page:last-child{break-after:auto}.summary-page svg{width:210mm!important;height:297mm!important;max-width:none}.summary-settings,.report-layout-choice{display:none!important}}

.new-mapping-dialog{width:min(820px,calc(100vw - 48px))}.new-mapping-context{margin-bottom:16px}.new-mapping-dialog [hidden]{display:none!important}.previous-faces-section{margin-bottom:16px}.previous-faces-section h3{font-size:13px;margin:0 0 8px}.previous-faces-scroll{max-height:168px;overflow:auto;border:1px solid var(--line)}.previous-faces{width:100%;border-collapse:collapse;font-size:11px;line-height:1.35;text-align:left}.previous-faces th,.previous-faces td{padding:5px 8px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.previous-faces thead th{position:sticky;top:0;background:var(--paper,#f3f4ef);font-weight:600}.previous-faces tbody th{font-weight:500}.previous-faces tr:last-child td,.previous-faces tr:last-child th{border-bottom:0}.previous-faces .copy-source-face{background:#eef1e8}.new-mapping-dialog .new-record-copy{margin:0 0 16px}.new-mapping-dialog .new-record-copy p{font-size:12px}.new-mapping-dialog #new-source-state:empty{display:none}
.excavation-quick-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.excavation-quick-heading h3{margin:0}.excavation-quick-heading .text-button{font-size:11px;padding:0}.excavation-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.excavation-quick-grid .field{min-width:0;margin:0}.excavation-quick-grid label{font-size:11px;display:block;margin-bottom:4px}.excavation-quick-grid input,.excavation-quick-grid select{min-height:34px;padding:6px 7px;font-size:12px;width:100%;min-width:0}.excavation-quick-grid .field:first-child,.excavation-quick-grid .field:last-child{grid-column:1/-1}
.units-with-references{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:22px;align-items:start}.units-main{min-width:0}.unit-field-references{position:sticky;top:18px;padding-top:4px}.unit-field-references h3{font-size:13px;font-weight:600;margin:0 0 10px}.unit-field-references .btn{display:flex;width:100%;justify-content:flex-start;text-align:left;white-space:normal;margin-bottom:8px;padding:10px;font-size:12px}.unit-field-references small{display:block;margin-top:4px;font-size:10px;color:#53604f;line-height:1.4}.field-reference-dialog{width:min(1000px,calc(100vw - 48px))}.field-reference-content{overflow:auto}.field-reference-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5;text-align:left}.field-reference-table th,.field-reference-table td{padding:10px 12px;border:1px solid var(--line);vertical-align:top}.field-reference-table thead th{background:#f0f2eb}.field-reference-table tbody th{width:60px;font-weight:600}.field-reference-table td:nth-child(2){min-width:115px}.field-reference-table:has(th:nth-child(4)) td:nth-child(3){min-width:80px;white-space:nowrap}
@media(max-width:1200px){.units-with-references{grid-template-columns:minmax(0,1fr)}.unit-field-references{position:static;display:flex;align-items:center;flex-wrap:wrap;gap:10px;grid-row:1}.unit-field-references h3{margin:0}.unit-field-references .btn{width:auto;margin:0;min-width:160px}.unit-field-references small{display:none}}
@media(max-width:760px){.excavation-quick-grid{grid-template-columns:minmax(0,1fr)}.field-reference-table{font-size:12px}.field-reference-table th,.field-reference-table td{padding:7px}.new-mapping-context{grid-template-columns:1fr}}
@media print{.unit-field-references,.excavation-quick{display:none!important}}

.litho-legend{margin-top:22px;width:100%;font-size:12px;line-height:1.5;color:var(--ink,#26352e)}.litho-legend-entry{padding:10px 0;border-top:1px solid var(--line)}.litho-legend-entry p{margin:0 0 5px;overflow-wrap:anywhere;user-select:text}.litho-legend-entry>.text-button{padding:2px 0;font-size:12px;text-decoration:underline;text-underline-offset:3px}.litho-legend-entry details{margin-top:6px}.litho-legend-entry summary{cursor:pointer;font-size:12px}.litho-legend-entry details p{margin-top:6px}.litho-copy-buffer{position:fixed;left:-9999px;top:0}#litho-manual-copy{width:100%;min-height:80px}.litho-legend button:focus-visible,.litho-legend summary:focus-visible{outline:2px solid var(--accent,#657b45);outline-offset:3px}
@media(min-width:761px) and (max-width:1200px){.litho-legend{flex-basis:100%;margin-top:4px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.litho-legend h3{grid-column:1/-1;margin-bottom:8px}}

.batch-list{max-height:280px;overflow:auto;border-top:1px solid var(--line)}.batch-row{display:flex;gap:10px;align-items:center;padding:8px 4px;border-bottom:1px solid var(--line);font-size:12px}.batch-row input{width:16px;min-height:16px}.batch-row small{display:block;font-size:11px;color:#53604f}.batch-select{display:flex;gap:18px;margin:12px 0}.batch-select button{font-size:12px}#batch-status{font-size:12px;overflow-wrap:anywhere}
