/* Visual identity v3: an architectural field journal for Ciudad Universitaria. */
:root{--paper:#ffffff;--ink:#101010;--muted:#626262;--line:#d9d9d9;--green:#2444ed;--accent:#2444ed;--sensorial:#f0f0f0;--espacial:#e0e0e0;--experiencial:#e9ecff}
body{font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
.header-bar{min-height:82px;padding-top:14px;padding-bottom:14px}
.brand-symbol{letter-spacing:-.09em;font-size:38px}
.brand-symbol span{transform:none;padding-left:0}
.brand{font-size:13px;line-height:1.08;gap:14px}
.primary-nav{gap:28px}.primary-nav a{font-size:13px}.primary-nav a[aria-current]{font-weight:700}
.header-actions{gap:24px}.header-actions .button{padding:11px 16px;font-size:12px}
.menu-toggle{font-size:12px}.button{font-weight:600}.button,.text-link{transition:background .18s ease,color .18s ease}
.button:hover{background:var(--green)}.text-link:hover{background:transparent;color:var(--green)}
.site-menu{background:var(--ink);color:var(--paper);max-width:none;padding:44px max(40px,calc((100vw - 1440px)/2));gap:50px}
.menu-intro .eyebrow,.menu-number{color:var(--accent)}.menu-intro p{font-size:36px;margin-top:24px;max-width:260px}
.site-menu nav{gap:35px}.site-menu nav a{font-size:19px}.site-menu nav div>a:first-of-type{font-size:25px;letter-spacing:-.035em;margin-bottom:10px}
.site-menu nav a:hover,.site-menu nav a[aria-current]{color:var(--accent)}
.eyebrow,.tile-meta{font-size:10px;letter-spacing:.11em;line-height:1.6}.section-top{margin-bottom:38px}.section-top .eyebrow{display:flex;gap:14px;align-items:center}.section-top .eyebrow:before{content:"";width:7px;height:7px;background:var(--ink)}
.edition-line{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:18px 0 12px;color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.campus-masthead{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);align-items:end;gap:40px;padding:34px 0 38px}
.campus-masthead h1{font-size:clamp(60px,8.6vw,132px);font-weight:500;line-height:.91;letter-spacing:-.075em;margin:0}
.masthead-copy{padding-bottom:3px}.masthead-copy .eyebrow{margin-bottom:14px}.masthead-copy p:not(.eyebrow){font-size:17px;line-height:1.45;max-width:360px;margin-bottom:22px}
.masthead-copy .actions{gap:15px;margin:0}.masthead-copy .text-link{font-size:12px}
.campus-panorama{margin:0;position:relative}.campus-panorama>img{width:100%;height:auto;aspect-ratio:3.1;object-fit:cover;display:block}
.photo-label{position:absolute;left:20px;bottom:20px;background:var(--paper);padding:12px 16px;display:flex;align-items:center;gap:24px;font-size:10px;letter-spacing:.07em;text-transform:uppercase}.photo-label strong{font-size:15px;font-weight:500;text-transform:none;letter-spacing:-.02em}
.image-notes{display:flex;gap:30px;justify-content:space-between;font-size:10px;line-height:1.6;color:var(--muted);padding:10px 0}.image-notes p{margin:0}.image-notes details{text-align:right;max-width:520px}.image-notes summary{cursor:pointer}.image-notes details p{margin:8px 0}
.reading-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);margin-top:22px}
.reading-shortcuts a{display:flex;gap:14px;align-items:center;text-decoration:none;font-size:14px;padding:18px 20px;border-left:1px solid var(--line)}.reading-shortcuts a:first-child{padding-left:0;border-left:0}.reading-shortcuts a>span:first-child{font-size:10px;color:var(--muted)}.reading-shortcuts a:after{content:"";margin-left:auto;font-size:20px}.reading-shortcuts a:hover{background:#eaf0df}
.editorial-section{padding:25px 0 65px;margin-top:70px}.home-page .editorial-section:first-of-type{border:0}
.section-heading{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;align-items:end;margin-bottom:35px}.section-heading h2{margin:0;font-size:clamp(38px,4.4vw,66px);line-height:1.02;letter-spacing:-.055em}.section-heading>p{font-size:16px;max-width:380px;margin:0 0 4px;color:var(--muted)}
.layer-grid{gap:20px;margin:32px 0 0}.layer-tile{padding:0;background:none!important;min-height:0;position:relative;transition:none}.layer-tile:hover{transform:none}.layer-tile .tile-meta{padding:15px 0 10px;order:1}.layer-tile .layer-symbol{display:none}.layer-tile h3{font-size:35px;margin:0 0 10px;order:2;letter-spacing:-.045em}.layer-tile p{font-size:14px;max-width:290px;margin:0 0 20px;order:3}.tile-link{order:4;border-color:var(--ink);font-size:11px;padding-top:12px}
.layer-art{height:230px;width:100%;display:block;background:var(--sensorial);overflow:hidden;transition:background .2s ease}.espacial .layer-art{background:var(--espacial)}.experiencial .layer-art{background:var(--experiencial)}.layer-art svg{width:100%;height:100%;display:block;color:var(--ink);transition:transform .35s ease}.layer-tile:hover .layer-art svg{transform:scale(1.04)}.layer-tile:hover .tile-link{color:var(--green)}
.territory-feature{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;padding:50px 0 70px;border-top:1px solid var(--ink);margin-top:25px}
.territory-feature figure{margin:0;max-width:520px}.territory-feature img{display:block;width:100%;height:570px;object-fit:cover;object-position:50% 65%}.territory-feature figcaption{font-size:10px;line-height:1.6;color:var(--muted);padding-top:10px}.territory-feature h2{font-size:clamp(40px,4.5vw,68px);margin:24px 0}.territory-feature .territory-intro{font-size:18px;line-height:1.5;max-width:430px}.territory-detail{display:grid;grid-template-columns:70px 1fr;border-top:1px solid var(--line);padding:17px 0;gap:20px;max-width:440px}.territory-detail>span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;padding-top:3px}.territory-detail p{font-size:14px;margin:0;color:var(--muted)}.territory-feature .text-link{margin-top:20px}
.home-records .empty-editorial{padding:35px;background:#edf0e6;display:grid;grid-template-columns:120px 1fr;gap:35px;min-height:235px;align-items:center}.empty-editorial .empty-number{font-size:92px;line-height:1;font-weight:400}.empty-editorial h3{font-size:29px;max-width:560px}.empty-editorial p{max-width:520px;font-size:15px}.home-record{border-top:0}.home-record img{aspect-ratio:4/3;object-fit:cover}.home-record h3{font-size:27px}
.process-band{padding:50px;gap:90px;margin-top:25px}.process-band h2{font-size:clamp(44px,5.3vw,78px);letter-spacing:-.055em}.process-band .eyebrow{color:var(--accent)}.process-list li{gap:30px;padding:25px 0}.process-list li>span{color:var(--accent)}.process-list h3{font-size:23px}.process-list p{color:#d0d9d3;line-height:1.5}
.closing-section{padding:85px 0 65px}.closing-section .eyebrow{color:var(--green)}.closing-section h2{font-size:clamp(38px,4.8vw,70px)}
.page-intro{padding:55px 0 35px}.page-intro h1{font-size:clamp(48px,7vw,102px);font-weight:500}.page-intro .eyebrow{color:var(--green)}.page-intro .lead{max-width:660px;font-size:20px}.reading-grid{gap:80px}.prose{font-size:17px;line-height:1.65}.material-feature{background:#e5eaca}.document-cover{box-shadow:12px 12px 0 #15392b1a}.layer-descriptions article{padding:40px 0}.layer-descriptions article p{font-size:15px;line-height:1.6}
.site-footer{padding-top:50px;background:#142d29}.footer-title{font-size:clamp(55px,9.5vw,138px);line-height:.92;font-weight:500}.footer-grid{padding:35px 0;line-height:1.6}.site-footer .muted{color:#bdc9c0}.footer-bottom{font-size:10px;line-height:1.6}.footer-title>span{font-size:90px;right:20px}
@media(min-width:1700px){.campus-masthead h1{font-size:136px}}
@media(max-width:1000px){.header-bar{gap:20px}.primary-nav{gap:18px}.header-actions{gap:16px}.campus-masthead{grid-template-columns:1.5fr 1fr;gap:25px}.campus-masthead h1{font-size:9vw}.masthead-copy p:not(.eyebrow){font-size:15px}.masthead-copy .actions{gap:10px}.masthead-copy .button{padding:12px;font-size:12px}.territory-feature{gap:40px}.territory-feature img{height:510px}.layer-art{height:200px}.section-heading{gap:40px}.process-band{gap:45px;padding:35px}.layer-tile h3{font-size:30px}.site-menu{padding:30px}.site-menu nav div>a:first-of-type{font-size:22px}}
@media(max-width:760px){.header-bar{min-height:74px}.site-menu{grid-template-columns:1fr;gap:10px;padding:25px 22px}.site-menu nav{grid-template-columns:1fr;gap:28px}.site-menu nav div{gap:9px}.menu-intro{display:none}.site-menu nav div>a:first-of-type{font-size:24px;margin-bottom:0}.menu-number{margin-bottom:2px}.campus-masthead{grid-template-columns:1fr;gap:26px;padding:28px 0}.campus-masthead h1{font-size:clamp(60px,12vw,91px)}.masthead-copy{max-width:520px}.masthead-copy .eyebrow{margin-bottom:7px}.masthead-copy p:not(.eyebrow){font-size:16px;max-width:480px;margin-bottom:18px}.masthead-copy .actions{gap:20px}.masthead-copy .button{padding:12px 16px;font-size:13px}.campus-panorama>img{aspect-ratio:1.8;object-position:39% 50%}.photo-label{left:12px;bottom:12px;gap:16px;padding:9px 12px;font-size:9px}.photo-label strong{font-size:13px}.edition-line{font-size:9px;gap:15px}.edition-line span:last-child{max-width:140px;text-align:right}.image-notes{gap:10px;flex-direction:column}.image-notes details{text-align:left;max-width:none}.reading-shortcuts{margin-top:18px}.reading-shortcuts a{padding:14px 10px;gap:7px;font-size:12px}.reading-shortcuts a:after{font-size:15px}.reading-shortcuts a>span:first-child{display:none}.editorial-section{margin-top:45px;padding-bottom:40px}.section-top{gap:18px;margin-bottom:28px}.section-top .text-link{font-size:11px}.section-heading{grid-template-columns:1fr;gap:22px}.section-heading h2{font-size:42px}.section-heading>p{font-size:15px;max-width:480px}.layer-grid{grid-template-columns:1fr;gap:35px}.layer-tile{display:flex;padding:0;min-height:0;gap:0}.layer-art{height:auto;aspect-ratio:1.75}.layer-tile .tile-meta{padding-top:15px}.layer-tile h3{font-size:35px}.layer-tile p{max-width:100%;font-size:15px;margin-bottom:20px}.tile-link{font-size:12px}.territory-feature{grid-template-columns:1fr;gap:30px;padding-top:30px;margin-top:0}.territory-feature figure{max-width:none}.territory-feature img{height:420px;object-position:center 62%}.territory-feature h2{font-size:44px;margin:20px 0}.territory-feature .territory-intro{font-size:17px;max-width:100%}.territory-detail{max-width:100%}.home-records .empty-editorial{padding:24px;grid-template-columns:1fr;gap:18px}.empty-editorial .empty-number{font-size:55px}.empty-editorial h3{font-size:27px}.process-band{grid-template-columns:1fr;gap:30px;padding:30px 24px}.process-band h2{font-size:52px}.process-list{margin:0}.process-list li{padding:22px 0;gap:20px}.closing-section{padding:55px 0 30px}.closing-section h2{font-size:40px}.closing-section>p:not(.eyebrow):not(.small){font-size:17px}.footer-title>span{font-size:55px;right:0}.site-footer{padding-top:35px}.footer-grid{gap:25px}.page-intro{padding:35px 0 20px}.page-intro .lead{font-size:18px}.reading-grid{gap:25px}}
@media(max-width:400px){.brand{font-size:10px;gap:8px}.brand-symbol{font-size:29px;padding-right:10px}.header-actions{gap:12px}.header-actions .button{font-size:10px;padding:9px}.campus-masthead h1{font-size:15.3vw}.masthead-copy .actions{gap:15px}.masthead-copy .text-link{font-size:11px}.reading-shortcuts a{font-size:11px;padding-left:8px;padding-right:8px}.photo-label{max-width:calc(100% - 24px)}.section-heading h2{font-size:38px}.section-top{align-items:start}.section-top .text-link{max-width:130px;text-align:right}.territory-feature h2{font-size:40px}}
@media(prefers-reduced-motion:reduce){.layer-art svg,.button,.text-link{transition:none}.layer-tile:hover .layer-art svg{transform:none}}
/* Restrained black/white identity; blue is reserved for actions and one reading. */
.header-actions .button,.masthead-copy .button{background:#2444ed;border-color:#2444ed;color:#fff}
.header-actions .button:hover,.masthead-copy .button:hover{background:#102ab5;border-color:#102ab5}
.site-menu{background:#101010;color:#fff}.menu-intro .eyebrow,.menu-number{color:#b6bfff}.site-menu nav a:hover,.site-menu nav a[aria-current]{color:#b6bfff}
.button.inverse{color:#fff;background:#2444ed;border-color:#2444ed}.button.inverse:hover{background:#102ab5}
.reading-shortcuts a:hover{background:#f2f2f2}.reading-shortcuts a:after{color:#2444ed}
.layer-art{background:#f1f1f1;border:1px solid #e0e0e0}.layer-art svg{color:#101010}
.espacial .layer-art{background:#171717;border-color:#171717}.espacial .layer-art svg{color:#fff}
.experiencial .layer-art{background:#2444ed;border-color:#2444ed}.experiencial .layer-art svg{color:#fff}
.home-records .empty-editorial{background:#f3f3f3}.empty-editorial .empty-number{color:#2444ed}
.process-band{background:#101010}.process-band .eyebrow,.process-list li>span{color:#b6bfff}.process-list p{color:#d0d0d0}.process-list li{border-color:#555}
.material-feature{background:#f1f1f1}.document-cover{background:#fff;box-shadow:12px 12px 0 #d5d5d5}.document-cover strong{color:#2444ed}
.site-footer{background:#101010;color:#fff}.site-footer .muted{color:#aaa}.footer-title>span{color:#b6bfff}.footer-title{border-color:#555}
.selection-panel{background:#edf0ff}.skip{background:#2444ed;color:#fff}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#2444ed}
.site-menu a:focus-visible,.site-footer a:focus-visible{outline-color:#b6bfff}
/* Interaction polish: restrained motion and fewer jumps during fieldwork. */
.site-header{border-bottom-color:#dedede;box-shadow:0 2px 14px #00000004}
.site-menu{position:absolute;top:100%;left:0;right:0;box-shadow:0 18px 28px #0002;border-top:0;max-height:calc(100dvh - 85px)}
.site-menu:not([hidden]){animation:cu-menu-in .18s ease-out}
@keyframes cu-menu-in{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
.button,button:not(.text-button):not(.menu-toggle):not(.record):not(.display-button){border-radius:6px;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.button:active,button:not(.text-button):not(.menu-toggle):not(.record):active{box-shadow:inset 0 2px 4px #0002}
input,select,textarea{border-radius:6px;border-color:#c9c9c9;transition:border-color .18s,box-shadow .18s}
input:hover,select:hover,textarea:hover{border-color:#909090}
input:focus,select:focus,textarea:focus{border-color:#2444ed;box-shadow:0 0 0 3px #2444ed12}
input[type=checkbox]{accent-color:#2444ed;border-radius:3px}
.text-button,.text-link{min-height:40px;display:inline-flex;align-items:center}
.primary-nav a{padding:10px 0}.menu-toggle{padding:10px 4px}.menu-icon{transition:transform .18s ease}
.reading-shortcuts a{transition:background-color .18s}.campus-panorama>img,.territory-feature img{border-radius:4px}
.layer-art{border-radius:8px}.layer-tile:hover .tile-link{color:#2444ed}.tile-link>span{transition:transform .18s}.layer-tile:hover .tile-link>span{transform:translate(2px,-2px)}
.editorial-section,.territory-feature{border-top-color:#c9c9c9}.process-band{border-radius:10px}.home-records .empty-editorial{border-radius:10px}
.display-toggle{border-color:#c9c9c9;border-radius:6px;overflow:hidden}.advanced-filters>summary{border-radius:6px}.advanced-filters>div{border:1px solid #dedede;border-radius:10px;box-shadow:0 12px 32px #00000014}
#cu-map{border-radius:10px;border-color:#dedede}.records-empty{border-radius:10px;background:#f6f6f6}.selection-panel{border:1px solid #dce1fa;border-radius:10px;background:#f5f6fc;scroll-margin-top:100px}
.is-selecting #cu-map{outline:2px solid #2444ed;outline-offset:3px;cursor:crosshair}
.explorer-tabs{display:flex;align-items:center;gap:5px;padding:0 0 14px}
.explorer-tabs button{background:transparent!important;color:#626262!important;border:0!important;min-height:44px!important;padding:10px 15px!important;font-size:13px!important}
.explorer-tabs button[aria-pressed=true]{background:#f0f0f0!important;color:#101010!important;font-weight:600}
.explorer-tabs button:disabled{opacity:.6}.tools .text-button{min-height:34px}.explorer-meta{min-height:44px}
.draft-notice{display:flex;justify-content:space-between;align-items:center;gap:22px;border:1px solid #d9d9d9;border-radius:10px;padding:17px 20px;margin:0 0 20px;background:#fafafa}
.draft-notice strong{font-size:15px}.draft-notice p{font-size:12px;color:#626262;margin:4px 0 0}.draft-notice button{flex-shrink:0}
.draft-actions{display:flex;gap:14px;align-items:center}.draft-actions .text-button{font-size:12px}
.explorer-status{padding:16px 0;margin-top:18px}.explorer-status>p{font-size:13px;line-height:1.5}
.records[aria-busy=true]{opacity:.65;transition:opacity .15s}.records-empty .text-button{align-self:start;margin-top:15px}
dialog{border:1px solid #ddd;border-radius:14px;box-shadow:0 20px 90px #0003;padding:28px;scroll-padding:120px 0;overscroll-behavior:contain}
dialog::backdrop{background:#15151570;backdrop-filter:blur(3px)}
dialog[open]{animation:cu-dialog-in .18s ease-out}
@keyframes cu-dialog-in{from{opacity:.6;transform:translateY(10px)}to{opacity:1;transform:none}}
.dialog-heading{position:sticky;top:-28px;z-index:2;background:#fff;margin:-28px -28px 22px;padding:22px 28px 18px;border-bottom:1px solid #e8e8e8}
.dialog-heading h2{font-size:30px;margin:12px 0 0}.dialog-heading .eyebrow{margin:0;padding-top:4px;color:#626262}.dialog-heading .close{margin-left:20px}
.form-section-heading{border-top:0;border-bottom:1px solid #dedede;padding:0 0 15px}.field{margin:16px 0}.field>span{font-size:13px;margin-bottom:8px}
.form-disclosure,.coordinate-details{border:1px solid #dedede;border-radius:8px;padding:0 16px;margin:18px 0;background:#fafafa}
.form-disclosure summary,.coordinate-details summary{padding:15px 0;min-height:48px;font-size:14px;list-style:none;display:flex;gap:8px;align-items:center}
.form-disclosure summary::-webkit-details-marker,.coordinate-details summary::-webkit-details-marker{display:none}
.form-disclosure summary:before,.coordinate-details summary:before{content:"+";font-size:19px;font-weight:400;width:18px;flex-shrink:0;color:#626262}
.form-disclosure[open]>summary:before,.coordinate-details[open]>summary:before{content:"−"}
.form-disclosure summary span{margin-left:auto;text-align:right;font-size:10px}.form-disclosure>p{font-size:12px;line-height:1.5}
.form-disclosure[open],.coordinate-details[open]{padding-bottom:10px;background:#fff}.form-disclosure[open]>summary{border-bottom:1px solid #eee;margin-bottom:12px}
.form-actions{position:sticky;bottom:-28px;background:#fff;border-top:1px solid #e6e6e6;box-shadow:0 -8px 20px #00000003;margin:24px -28px -28px;padding:16px 28px 20px;z-index:2}
.form-actions>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.form-actions>div>span{font-size:12px;color:#626262}.form-actions #save{background:#2444ed;border-color:#2444ed;color:#fff;min-width:180px}
.form-actions #form-status{margin:0 0 12px;font-size:13px;line-height:1.4}.form-actions #form-status:empty{display:none}.form-actions #form-status[data-error=true]{color:#a32222}
#record-dialog .check{line-height:1.5;padding:4px 0}#record-dialog legend{font-size:14px}.form-note{font-size:12px!important;line-height:1.5}
.selection-panel .text-button{min-height:40px}.page-intro .lead{line-height:1.5}
@media(max-width:800px){.site-menu{max-height:calc(100dvh - 74px)}.selection-panel{scroll-margin-top:90px}.explorer-tabs{padding:2px 0 12px}.tools{gap:12px}.tools .text-button{min-height:36px}.draft-notice{align-items:start;flex-direction:column;gap:10px}.draft-actions{width:100%;justify-content:space-between}}
@media(max-width:520px){dialog{padding:20px;border-radius:12px;width:calc(100% - 16px);max-height:94dvh}.dialog-heading{top:-20px;margin:-20px -20px 18px;padding:16px 20px}.dialog-heading h2{font-size:25px;clear:both;padding-top:4px}.dialog-heading .eyebrow{font-size:9px;padding-top:6px;max-width:70%}.dialog-heading .close{float:right;margin:0 0 5px 8px}.form-actions{bottom:-20px;margin:22px -20px -20px;padding:13px 20px 18px}.form-actions>div{gap:12px}.form-actions>div>span{font-size:11px;max-width:95px}.form-actions #save{min-width:0;padding:12px 15px;font-size:12px}.form-disclosure,.coordinate-details{padding-left:13px;padding-right:13px}.form-disclosure summary,.coordinate-details summary{font-size:12px;gap:6px}.form-disclosure summary span{font-size:9px;max-width:65px}.explorer-tabs button{font-size:12px!important}.selection-panel{padding:18px}.selection-panel h2{font-size:24px}.process-band{border-radius:8px}.draft-notice{padding:16px}}
@media(prefers-reduced-motion:reduce){.site-menu:not([hidden]),dialog[open]{animation:none}*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* Compact capture for phones: three fields, optional attachments and one disclosure. */
.quick-record{max-width:560px;padding:20px}
.quick-record .dialog-heading{top:-20px;margin:-20px -20px 12px;padding:16px 20px;min-height:62px}
.quick-record .dialog-heading h2{font-size:24px;margin:0;padding:3px 0;clear:none}
.quick-record .dialog-heading .close{min-height:36px;padding:8px 12px}
.quick-location{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#666;margin-bottom:8px}
.quick-location .text-button{min-height:36px;font-size:12px}
.quick-basics{display:grid;grid-template-columns:1fr 1.25fr;gap:12px}
.quick-record .field{margin:8px 0}.quick-record .field>span{font-size:12px;margin-bottom:5px}
.quick-record input:not([type=checkbox]):not([type=file]),.quick-record select,.quick-record textarea{font-size:16px;padding:10px;min-height:44px}
.quick-record textarea{min-height:76px}.quick-record .quick-observation{margin:8px 0 12px}
.quick-attachments{display:flex;gap:10px;align-items:center;margin:8px 0 12px}
.attach-button{position:relative;display:inline-flex;align-items:center;justify-content:center;border:1px solid #ccc;border-radius:6px;min-height:44px;min-width:92px;background:#fff;cursor:pointer;font-size:14px;overflow:hidden}
.attach-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0}
.attach-button:focus-within{outline:2px solid #2444ed;outline-offset:3px}.attach-button:hover{background:#f5f5f5}
.optional-label{font-size:11px;color:#777;margin-left:auto}
.attachment-fields{background:#f6f6f6;border-radius:8px;padding:8px 12px;margin-bottom:12px}.attachment-fields p{font-size:11px;margin:4px 0}
.attachment-name{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:12px}.attachment-name>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-name button{font-size:11px;white-space:nowrap}
.quick-record .quick-extras{margin:10px 0;padding:0 12px}.quick-record .quick-extras>summary{min-height:44px;padding:10px 0;font-size:12px}.quick-record .quick-extras>summary span{font-size:10px}
.quick-record .quick-consent{font-size:12px;line-height:1.4;gap:10px;margin:12px 0 6px;align-items:start}.quick-consent input{min-width:20px;width:20px;height:20px;margin-top:2px}
.quick-record .form-actions{bottom:-20px;margin:14px -20px -20px;padding:12px 20px;box-shadow:none}.quick-record .form-actions>div{gap:12px}.quick-record .form-actions>div>span{font-size:11px;max-width:120px}.quick-record .form-actions #save{min-width:150px;min-height:46px;font-size:14px}
@media(max-width:520px){.quick-record{width:calc(100% - 16px);max-height:94dvh}.quick-record .grid{grid-template-columns:1fr}.quick-record .dialog-heading .close{margin:0 0 0 12px}.quick-record .dialog-heading h2{font-size:22px}.quick-record .form-actions #save{min-width:145px;padding:12px}.quick-basics{grid-template-columns:1fr 1.2fr;gap:10px}.quick-record .coordinate-details{margin:8px 0}.quick-record .coordinate-details .grid{grid-template-columns:1fr 1fr}}
.quick-attachments{display:grid;grid-template-columns:1.25fr 1fr .8fr;gap:8px}
.quick-attachments .attach-button{min-width:0;font-size:13px}
.quick-attachments .camera-button{background:#f0f2ff;border-color:#cdd4ff;color:#1732c8;font-weight:600}
.photo-preview{display:block;width:100%;max-height:180px;object-fit:contain;border-radius:6px;background:#eee;margin:4px 0 8px}
.quick-location #location-help{line-height:1.4}
.selected-location-pin{background:transparent;border:0;filter:drop-shadow(0 3px 3px #0006)}
.selected-location-pin svg{display:block;width:40px;height:48px;overflow:visible}
.leaflet-tooltip.selected-location-label{background:#2444ed;color:white;border:2px solid white;border-radius:5px;padding:4px 9px;font:600 12px/1.4 Arial,sans-serif;box-shadow:0 2px 5px #0003}
.leaflet-tooltip-top.selected-location-label:before{border-top-color:#2444ed}
@media(max-width:800px){.selection-panel{padding:14px 16px;gap:10px}.selection-panel .eyebrow{display:none}.selection-panel h2{font-size:22px;margin:0 0 6px}.selection-panel p{font-size:12px;line-height:1.4;margin:0}.selection-panel .actions{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;margin:8px 0 0}.selection-panel .actions>button{min-height:36px;font-size:12px;padding:8px}.selection-panel .actions>.text-button{min-height:30px;justify-content:center;padding:4px}.selection-panel #confirm-point{background:#2444ed;border-color:#2444ed;color:#fff}}
/* Icons are drawn consistently; mobile navigation uses plain action labels. */
.ui-arrow,.action-icon{display:inline-block;width:1.05em;height:1.05em;vertical-align:-.15em;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.action-icon{width:16px;height:16px;margin-left:5px}.empty-icon:empty{display:none}
.reading-shortcuts a:after{display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M6 6h12v12' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.download-evidence:after{content:"";display:inline-block;width:16px;height:16px;flex-shrink:0;margin-left:5px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M5 17v4h14v-4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:800px){.ui-arrow,.reading-shortcuts a:after,.footer-title>span,.empty-icon{display:none}.button>span:has(>.ui-arrow){display:none}.tile-link{justify-content:flex-start}}
@media(max-width:800px){.explorer-meta{margin-top:0;max-width:100%;height:auto;min-height:0;padding:0 0 12px;display:flex;flex-wrap:wrap;gap:4px}.explorer-meta .tools{width:100%;display:flex;flex-wrap:wrap;gap:8px 16px}.explorer-meta .tools .text-button{font-size:11px;min-height:36px;white-space:nowrap}.selection-panel{scroll-margin-top:12px}}
select:not([multiple]){appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23555555' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:15px;padding-right:30px!important}
.recovery-note{font-size:12px;line-height:1.4;background:#f0f2ff;border-radius:6px;padding:9px 12px;margin:8px 0}
.quick-observation small{font-size:11px;line-height:1.35;margin-top:5px;color:#666}.quick-record .form-note{margin:8px 0 0;font-size:11px!important}.quick-record .form-actions{margin-top:10px}
.coordinator-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:60px}.coordinator-layout #review-login{max-width:350px}.unified-proposal{max-width:940px}.unified-proposal h2{font-size:28px;margin:32px 0 18px}.unified-proposal p,.unified-proposal li{font-size:16px;line-height:1.65}.table-scroll{overflow-x:auto}.unified-proposal table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.5}.unified-proposal td,.unified-proposal th{padding:12px;border:1px solid #d6d6d6;text-align:left;vertical-align:top}.unified-proposal th{background:#f2f2f2}.coordinator-layout p{font-size:14px}
@media(max-width:760px){.coordinator-layout{grid-template-columns:1fr;gap:30px}.unified-proposal table{min-width:660px}.unified-proposal h2{font-size:25px}.quick-record .quick-observation textarea{min-height:66px}.quick-record .field{margin:6px 0}.quick-record .form-actions>div>span{max-width:100px}}
@media print{.site-header,.site-footer,.unified-proposal>p:first-child{display:none}.unified-proposal{margin:0;max-width:none}.unified-proposal p,.unified-proposal li{font-size:11pt}.unified-proposal h2{font-size:16pt;break-after:avoid}.table-scroll{overflow:visible}}

.field-context{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;padding:0 0 1rem;color:var(--muted,#555);font-size:.85rem}.field-context button{min-height:44px}#review-history{padding-left:1.4rem;font-size:.85rem}#review-history li{margin-bottom:1rem}

/* Mobile capture-to-publication flow. */
.flow-result{border:1px solid #cdd4ff;border-left:4px solid #2444ed;background:#f5f6ff;border-radius:8px;padding:16px 18px;margin:0 0 18px;scroll-margin-top:90px}.flow-result strong{font-size:18px}.flow-result p{font-size:14px;line-height:1.5;margin:6px 0}.flow-result .actions{margin:10px 0 0;gap:10px}.review-access{font-size:13px;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center;margin-left:auto}.record-review-note{color:#a32222;display:block;line-height:1.4;margin-top:7px;white-space:normal;overflow-wrap:anywhere}
#detail-dialog .detail-heading{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:14px;padding-top:14px;padding-bottom:14px;margin-bottom:18px}#detail-dialog .detail-heading .close{float:none;flex-shrink:0;margin:0;min-height:44px}#detail-dialog .detail-heading .eyebrow{padding:0;margin:0;max-width:none;font-size:10px;line-height:1.5}#detail-dialog h2{font-size:30px;overflow-wrap:anywhere}#detail-meta{line-height:1.5}#detail-dialog dl dd{white-space:pre-wrap;overflow-wrap:anywhere}#owner-more{margin:0}#owner-more summary{font-size:13px;padding:12px 0;cursor:pointer}#owner-more p{font-size:12px;margin-top:12px}
#review-panel{margin-top:22px;padding-top:18px}#review-panel h3{margin-bottom:12px}.review-readiness{background:#f4f4f4;border-radius:6px;padding:10px 12px;line-height:1.5!important}#review-panel .field{margin:12px 0 5px}#review-panel .field>span{font-size:13px}#review-panel .field>span>small{display:block;font-size:11px;margin-top:4px}#review-panel input,#review-panel textarea{font-size:16px;min-height:44px}#review-panel textarea{min-height:70px}#review-name-help{font-size:11px;line-height:1.4;display:block}#review-panel details{margin:10px 0;border-top:1px solid #e6e6e6}#review-panel summary{font-size:13px;min-height:44px;padding:12px 0;cursor:pointer}#review-panel details p{font-size:12px;line-height:1.5}#review-panel #review-history{font-size:12px}.review-actions{position:sticky;bottom:-28px;margin:14px -28px -28px;padding:12px 28px 18px;background:#fff;border-top:1px solid #ddd;z-index:3}.review-actions .actions{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.review-actions button{min-height:46px;padding:10px!important;font-size:13px!important}.review-actions #approve{background:#2444ed;border-color:#2444ed}.review-actions #reload-detail,.review-actions #renew-review{grid-column:1/-1}.review-actions #review-status{font-size:13px;line-height:1.4;color:#171717;margin:0 0 10px;scroll-margin:80px}.review-actions #review-status:empty{display:none}.password-control{display:flex;gap:8px;align-items:stretch}.password-control input{min-width:0;flex:1}.password-control button{flex-shrink:0;padding:10px!important;font-size:12px!important}
@media(max-width:800px){.explorer-tabs{flex-wrap:wrap;gap:8px}.explorer-tabs .review-access{margin-left:auto;font-size:12px}.flow-result{scroll-margin-top:82px}.explorer-page:has(.is-selecting) .explorer-heading,.explorer-page:has(.is-selecting) .field-context,.explorer-page:has(.is-selecting) .explorer-tabs,.explorer-page:has(.is-selecting) .explorer-controls,.explorer-page:has(.is-selecting) .flow-result,.explorer-page:has(.is-selecting) .explorer-status,.explorer-page:has(.is-selecting) .site-footer{display:none}.explorer-page:has(.is-selecting) .selection-panel{margin-top:12px;scroll-margin-top:80px}.selection-panel .actions>button{min-height:44px}.is-selecting #cu-map{height:calc(100dvh - 320px);min-height:250px}.is-selecting .map-caption{margin-bottom:0}input:not([type=checkbox]):not([type=file]),textarea,select{font-size:16px}.review-actions{bottom:-20px;margin-left:-20px;margin-right:-20px;margin-bottom:-20px;padding:12px 20px max(16px,env(safe-area-inset-bottom))}#detail-dialog h2{font-size:26px}.flow-result .actions>button,.flow-result .actions>a{min-height:44px}}

.review-actions #review-status[data-error=true]{color:#a32222}.evidence-description{font-size:12px;line-height:1.5;color:#555;margin:8px 0 20px}

#owner-more summary,#review-panel summary,.technical-details summary{list-style:none;display:flex;align-items:center;gap:9px}#owner-more summary::-webkit-details-marker,#review-panel summary::-webkit-details-marker,.technical-details summary::-webkit-details-marker{display:none}#owner-more summary:before,#review-panel summary:before,.technical-details summary:before{content:"+";font-size:18px;line-height:1;width:14px;flex-shrink:0;color:#666}#owner-more[open]>summary:before,#review-panel details[open]>summary:before,.technical-details[open]>summary:before{content:"−"}

/* Shared touch controls. Secondary actions stay quiet; focus remains visible. */
body .button,body button:not(.text-button):not(.menu-toggle):not(.record):not(.display-button){border-radius:999px;min-height:48px;font-weight:600;gap:9px;touch-action:manipulation;transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s}
body .button.secondary,body button.secondary{background:#f3f4f7!important;border:1px solid #e7e9ef!important;color:#394152!important;box-shadow:none}
body .button:active,body button:not(.record):not(.menu-toggle):active{transform:translateY(1px);box-shadow:none}
body button:disabled{cursor:default}
body .header-actions .menu-toggle{min-height:44px;padding:10px 14px;gap:10px;border-radius:999px;background:#f3f4f7;font-size:12px;font-weight:500}
body .menu-icon{position:relative;width:17px;height:12px;border:0;transform:none}
body .menu-icon:before,body .menu-icon:after{content:"";position:absolute;left:0;right:0;height:1.5px;background:currentColor;border-radius:2px;transition:transform .16s,top .16s}
body .menu-icon:before{top:2px}body .menu-icon:after{top:9px}
body .menu-toggle[aria-expanded=true] .menu-icon{height:12px;transform:none}
body .menu-toggle[aria-expanded=true] .menu-icon:before{top:5px;transform:rotate(45deg)}
body .menu-toggle[aria-expanded=true] .menu-icon:after{top:5px;transform:rotate(-45deg)}
.control-icon{width:18px;height:18px;display:block;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body dialog button.icon-close{width:44px;height:44px;min-height:44px;padding:0!important;border:0!important;border-radius:50%;background:#f3f4f7!important;flex-shrink:0}
body dialog button.icon-close .control-icon{width:20px;height:20px}
body .text-button{border-radius:8px;touch-action:manipulation}
body :is(button,a,summary,input):focus-visible{outline:2px solid #2444ed;outline-offset:3px}
@media(hover:hover){body button.secondary:hover,body .button.secondary:hover{background:#e9ecf3!important;border-color:#d9dfea!important}body .menu-toggle:hover{background:#e9ecf3}}
@media(max-width:800px){body .header-actions{gap:10px}body .header-actions .button{min-height:44px}body .header-actions .menu-toggle{padding:10px 13px}body .button{line-height:1.35}}
@media(prefers-reduced-motion:reduce){body .button,body button,body .menu-icon:before,body .menu-icon:after{transition:none!important}body .button:active,body button:active{transform:none!important}}
