/* The page's look, loaded after the base styles in index.html and overriding them. Adapted from the
   ChatGPT redesign of 2026-10-16, keeping the sticky toolbar and leaving out its dot texture, hover
   lift and heavy shadows. */
:root{--sans:"Source Sans 3","Segoe UI",Helvetica,Arial,sans-serif}
:root{--paper:#f8f3e9;--row:#f2ede3;--ink:#24241f;--muted:#69665e;--rule:#ded7c9;--orange:#e77500;--orange-soft:#fae9d3}
body{background-color:var(--paper);font-size:15px;line-height:1.5}
header{max-width:1360px;margin:auto;padding:30px 32px 24px;border-bottom:0;border-top:6px solid var(--orange);background:linear-gradient(115deg,#fbf8f0,#f4e5cf)}
h1{font-family:Georgia,'Times New Roman',serif;font-size:36px;font-weight:700;letter-spacing:-1.1px}
#app{max-width:1360px;margin:auto;min-width:0}
.tabs{max-width:100%;overflow-x:auto;overflow-y:hidden;background:#fffaf1;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);gap:12px}
.tab{flex:0 0 auto;min-height:48px;padding:12px 16px;font-size:15px}
.tools{padding:16px 32px;gap:12px;background:#fffaf1}
.tools>input[type=search]{order:-1;width:clamp(220px,30vw,420px);flex:1 1 240px}
input[type=search],select,#catBtn{min-height:42px;border-radius:7px;background:#fff;border-color:var(--rule)}
.viewswitch{display:flex;border-radius:7px;overflow:hidden}.viewswitch button{min-height:42px}
.arr-link{color:var(--muted)}
/* Back to top: the same orange as the Next button (owner, 2026-11-14). */
.to-top,.src-section .to-top{color:var(--ink);background:var(--orange);border-color:#b85c00;font-weight:700}
.to-top:hover,.src-section .to-top:hover{background:#f58a1f;border-color:#b85c00}
.rooms,.src-cards{padding:8px 32px 48px}
.room-section,.src-section{position:relative;flex-wrap:wrap;gap:8px 10px;margin:26px 0 14px;padding:10px 16px 10px 18px;background:linear-gradient(100deg,#f2dfc2 0%,#f7ecdc 64%,#faf5ec 100%);border:1px solid #e6d5bc;border-left:5px solid var(--orange);border-radius:0 10px 10px 0;font-family:Georgia,'Times New Roman',serif;font-size:21px;line-height:1.25;letter-spacing:-.3px;text-transform:none;color:var(--ink);box-shadow:0 2px 0 rgba(101,71,30,.025)}
.room-section>span:first-child,.src-section>span:first-child{min-width:0;overflow-wrap:anywhere}
.room-section .sec-count,.src-section .sec-count{margin-left:2px;display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;padding:2px 8px;border-radius:20px;background:#fff9ed;border:1px solid #e5d5bd;color:#77552d;font:600 12px/1.2 var(--sans);letter-spacing:0}
.secq{flex:0 1 210px;min-width:0;width:210px;min-height:36px;font:13px var(--sans);border-color:#dfd3c0}
.tier-head{font-size:13px;letter-spacing:.08em;margin-top:22px;color:#795222;padding-bottom:8px}
.src-grid{gap:20px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.src-card,.room{border-radius:10px;border-color:var(--rule);box-shadow:0 2px 6px rgba(52,42,24,.035);min-width:0}
.src-logo{min-height:68px;padding:12px 60px 10px 18px;border-bottom-color:#eee8dd}
.src-card .logowrap{height:40px;width:190px}
.src-body{padding:16px 18px 18px;gap:10px}
.src-name{font-size:18px;line-height:1.35;letter-spacing:-.2px}
.src-name a{border-bottom:0}.src-name a:hover{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:4px}
.src-facts{gap:5px 16px;font-size:13px}.src-facts>span:has(b){color:var(--muted)}
.src-home,.src-social,.src-rooms{font-size:13px;overflow-wrap:anywhere}
.src-card .subgroups{border-top:1px solid #eee8dd;padding-top:10px;margin-top:2px}
.subrow{padding-top:4px;padding-bottom:4px}
.star.off{opacity:.7}.src-logo>.star,.room-head>.locstar{width:44px;height:44px;top:0;right:0;display:grid;place-items:center}
.logo-zoom{right:10px;bottom:1px;min-width:32px;min-height:24px}
.logo-grid{gap:16px}.logo-tile{height:auto;min-height:148px;flex-direction:column;gap:14px;padding:20px 16px 16px;border-radius:10px;text-decoration:none;color:var(--ink)}
.logo-tile .logowrap{height:64px;flex:0 0 64px}.logo-caption{font-size:13px;line-height:1.35;text-align:center;font-weight:600}
.room-grid{gap:20px;align-items:start}.room-head{padding:16px 48px 14px 16px;min-height:56px}.room h3{font-size:18px;line-height:1.35}
.room-info{padding:14px 16px 0}.room .bldg{font-size:14px}.room .rnote{font-size:14px;line-height:1.5;margin-top:8px}.room-foot{padding:16px;font-size:13px;margin-top:0}.room-foot .credit{font-size:12px}
.room-photo img{aspect-ratio:4/3}.room-photo.none{background:#f1eee7;color:#777166}.room-photo span{font-size:11px;left:8px;bottom:8px;border-radius:4px}
.food-band{background:#fff;min-height:106px;display:flex;align-items:center;padding:16px;border-bottom:1px solid var(--rule)}
.food-lock{min-width:0;width:100%;gap:16px}.food-name{font:700 19px/1.2 Montserrat,var(--sans);overflow-wrap:anywhere}.food-band img.own{max-width:35%;max-height:52px;object-fit:contain}.food-band img.own.solo{max-width:85%;max-height:74px}
.food-place,.food-social{padding-left:16px;padding-right:16px}.food-foot{margin-top:16px}.food-foot>a:first-child{display:inline-block;background:#fff1df;color:#7c4000;border:1px solid #ebcca6;border-radius:6px;padding:7px 11px;font-weight:600;margin:0 4px 6px 0}
#roomPop .pop-box{position:relative;max-height:calc(100dvh - 32px);padding-top:0;border-radius:10px;background:#fff}
#roomPopClose{position:sticky;top:0;z-index:3;margin:0 0 0 auto;border:0;border-radius:0 0 0 8px;background:#24241f;color:#fff;min-width:76px;min-height:44px}
#roomPop .room{box-shadow:none;border:0}#roomPop .room-head{padding-top:12px}#roomPop .room-photo img{max-height:340px}#roomPop .room h3{font-family:Georgia,serif}
@media(min-width:1000px){.food-band{height:108px}.food-band a{width:100%}}
@media(max-width:640px){
 header{padding:20px 16px 16px;gap:12px}h1{font-size:30px}.userbar{gap:8px;flex-wrap:wrap;font-size:12px}.userbar .me{overflow-wrap:anywhere}
 .tabs{padding:0 12px;gap:0}.tab{padding:12px;min-height:48px}.tools{padding:14px 16px;gap:10px;align-items:center}
 .tools>input[type=search]{width:100%;flex:1 1 100%;min-width:0}.catpick{min-width:0;max-width:100%;flex:1 1 180px}#catBtn{min-width:0;max-width:100%;flex:1}.tools .status:empty,.tools .qcount:empty{display:none}
 .viewswitch{flex:0 0 auto}.arrpick{flex:1 1 auto}.arr-link{min-height:44px}.to-top{margin-left:auto;min-height:36px}
 .rooms,.src-cards{padding:4px 16px 32px}.room-section,.src-section{font-size:20px;margin-top:22px;padding:10px 12px 10px 14px;gap:8px}
 .secq{flex:1 1 100%;width:100%;margin-left:0;min-height:40px}.room-section .sec-link{margin-left:0;white-space:normal;font:13px var(--sans)}
 .src-grid,.room-grid{grid-template-columns:minmax(0,1fr);gap:16px}.src-name{font-size:18px}.src-body{padding:14px 16px 16px}
 .logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.logo-tile{padding:16px 12px;min-width:0}.logo-tile .logo{max-width:100%}
 .food-band{min-height:90px}.food-lock{flex-wrap:wrap;gap:10px}.food-band img.own{max-width:130px;max-height:44px}.food-band img.own.solo{max-width:85%;max-height:62px}.food-name{font-size:18px;flex:1 1 150px}
 #roomPop{padding:12px}#roomPop .pop-box{max-height:calc(100dvh - 24px)}#roomPop .room-photos{grid-template-columns:1fr 1fr}#roomPop .room-photo img{aspect-ratio:1;max-height:190px}#roomPop .room h3{font-size:23px}#roomPop .room-head{padding-left:16px}#roomPop .room-info,#roomPop .room-foot{padding-left:16px;padding-right:16px}#roomPop .room-foot{font-size:14px}
}

/* V2: shield identity and layered card surfaces. Supplied logos are unmodified. */
.site-brand{display:flex;align-items:center;gap:12px;min-width:0}
.site-shield{display:block;flex:0 0 auto;width:38px;height:46px;object-fit:contain}
.site-brand span{min-width:0}
.src-card,.room,.logo-tile{
 border:1px solid #d9d0c0;
 box-shadow:0 1px 3px rgba(57,43,24,.08);
}
.src-logo,.room-head,.food-band{background:linear-gradient(135deg,#fffdf8,#f4eee2);border-bottom:1px solid #e2d9c9}
.src-card.fav{border-top:3px solid var(--orange)}
.src-card.fav .src-logo{box-shadow:none}
.src-logo>.star,.room-head>.locstar{width:30px;height:30px;top:8px;right:8px;border-radius:50%;background:#f6f0e5;color:#877253;opacity:1}
.src-logo>.star[aria-pressed="true"],.room-head>.locstar[aria-pressed="true"]{background:#ffead0;color:#b65600;box-shadow:inset 0 0 0 1px #f0c38b}
/* The star in the circle is drawn, not typed: a ★ character sits wherever the font's ascent and descent
   put it, which differs by device, so it never looked centred. The glyph stays in the button for screen
   readers; the shape is a mask filled with the button's colour, outline when off, solid when on. */
/* The shape is pinned to the circle's centre rather than laid out beside the hidden glyph: some browsers
   keep a line of height for the glyph even at font-size 0, which pushed the star into the top half. */
.src-logo>.star,.room-head>.locstar,#roomPop .room-head>.locstar{font-size:0;line-height:0;text-indent:-999px;overflow:hidden}
.src-logo>.star::before,.room-head>.locstar::before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:18px;height:18px;background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(0 .45)' d='M12 3.6l2.5 5.3 5.8.7-4.3 4 1.1 5.8L12 16.5l-5.1 2.9 1.1-5.8-4.3-4 5.8-.7z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(0 .45)' d='M12 3.6l2.5 5.3 5.8.7-4.3 4 1.1 5.8L12 16.5l-5.1 2.9 1.1-5.8-4.3-4 5.8-.7z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.src-logo>.star[aria-pressed="true"]::before,.room-head>.locstar[aria-pressed="true"]::before{
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(0 .45)' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(0 .45)' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E")}
#roomPop .room-head>.locstar{width:36px;height:36px}#roomPop .room-head>.locstar::before{width:21px;height:21px}
.src-body{gap:10px}
.src-home{margin:4px -18px -18px;padding:12px 18px;background:#f8f5ee;border-top:1px solid #ebe3d6;border-radius:0 0 9px 9px}
.src-body:has(.src-home~*) .src-home{margin:0;padding:8px 10px;border:1px solid #ebe3d6;border-radius:5px}
.room-foot{background:#f8f5ee;border-top:1px solid #ebe3d6;margin-top:16px}
.room-photo{isolation:isolate}
.room-photo:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(36,28,17,.13);z-index:1}
.room-photo span{background:rgba(24,23,20,.8);box-shadow:0 1px 4px rgba(0,0,0,.2);z-index:2}
.logo-tile{background:linear-gradient(160deg,#fff,#fffaf2)}
.logo-tile.fav{border-top:3px solid var(--orange)}
.src-card:focus-within,.room:focus-within,.logo-tile:focus-visible{border-color:#bf7b32;box-shadow:0 0 0 2px #f1d3ad}
}
#roomPop .room{box-shadow:none}#roomPop .room-head{border-bottom:1px solid var(--rule)}
@media(max-width:640px){
 .site-brand{gap:10px;font-size:28px;letter-spacing:-.8px}.site-shield{width:32px;height:39px}
 .src-home{margin-left:-16px;margin-right:-16px;margin-bottom:-16px;padding:12px 16px}
 .src-logo>.star,.room-head>.locstar{width:36px;height:36px;top:6px;right:6px}
}
/* V3: editorial hierarchy for Locations only; Food cards keep their existing headings. */
.location-card .room-head{padding:20px 56px 18px 18px;min-height:78px}
.location-card h3,#roomPop .location-card h3{font:700 23px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.35px;color:#28291f}
.location-title{display:block}
.location-subtitle{display:block;margin-top:7px;font:500 14px/1.4 var(--sans);letter-spacing:.02em;color:#756345}
.location-card .room-info{padding:17px 18px 0}
.location-facts{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.location-fact{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid #e2d8c6;border-radius:5px;background:#f6f0e5;font:500 12px/1.3 var(--sans);color:#6d5737}
.location-card .location-description{font-size:14px;line-height:1.55;font-weight:400;color:#5f6055}
.location-card .rnote{padding-top:12px;margin-top:12px;border-top:1px solid #eee7db;font-size:14px;line-height:1.55;color:#5f6055}
#roomPop .location-card .room-head{padding-top:18px}
#roomPop .location-card h3{font-size:27px}
@media(max-width:640px){.location-card .room-head{padding:18px 54px 16px 16px}.location-card h3,#roomPop .location-card h3{font-size:22px}.location-card .room-info{padding:16px 16px 0}.location-subtitle{font-size:14px}.location-fact{font-size:12px}}
.room-section .secq,.src-section .secq{font:400 13px/1.4 var(--sans);letter-spacing:0;text-transform:none}

.location-card .bldg .location-facts{margin-top:0}
@media(max-width:640px){.userbar{width:100%}.userbar .me{flex:1 1 100%}}

/* Next section button (catalog.js): bottom right on desktop, bottom centre on phones, under the menus
   and dialogs. Long section names are cut short; the full name is in its title and label. */
.next-sec{position:fixed;z-index:15;right:max(24px,calc((100vw - 1360px)/2 + 32px));bottom:max(20px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:8px;max-width:min(420px,calc(100vw - 32px));min-height:46px;padding:11px 20px;border:1px solid #b85c00;border-radius:999px;background:var(--orange);color:var(--ink);font:700 15px/1.2 var(--sans);box-shadow:0 4px 16px rgba(57,43,24,.38);cursor:pointer}
.next-sec[hidden]{display:none}
.next-sec .next-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.next-sec .next-arrow{flex:0 0 auto;color:var(--ink);font-size:17px}
.next-sec:hover{background:#f58a1f;border-color:#b85c00}
.next-sec:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media(max-width:640px){.next-sec{right:auto;left:50%;transform:translateX(-50%)}}

/* Coverage tab */
#viewCoverage{padding:24px 32px 48px;display:grid;gap:22px}
#viewCoverage[hidden]{display:none}
#viewCoverage>*{min-width:0}
#viewCoverage h2{font:700 21px/1.25 Georgia,'Times New Roman',serif;margin:0 0 10px}
#viewCoverage h3{font-size:15px;font-weight:700;margin:0 0 2px}
#viewCoverage h3 span{font-weight:400;color:var(--muted);font-size:13px}
#viewCoverage p{margin:0;max-width:78ch}
#covTools label{margin-right:-6px}
.cov-add{background:#fffaf1;border:1px solid var(--rule);padding:16px 18px}
.cov-add ul{margin:0;padding:0;list-style:none;display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.cov-add li b{display:block}
.cov-add li span{color:var(--muted);font-size:14px}
.cov-table{overflow-x:auto;border:1px solid var(--rule);background:#fffaf1}
.cov-table table{width:100%;border-collapse:collapse}
.cov-table th{position:static;cursor:default;user-select:text;background:none;font-weight:600;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);text-align:left;padding:10px 14px;border-bottom:1px solid var(--rule);white-space:nowrap}
.cov-table th,.cov-table td{min-width:0}
.cov-table td{padding:11px 14px;border-bottom:1px solid var(--rule);vertical-align:top}
.cov-table tr:last-child td{border-bottom:0}
.cov-prog{width:27%}
.cov-note{width:32%;color:var(--muted);font-size:14px}
.cov-meta{display:block;color:var(--muted);font-size:13px;font-weight:400}
.cov-src+.cov-src{margin-top:6px}
.cov-none{color:var(--muted);font-style:italic}
.cov-pill{display:inline-block;font-size:12.5px;font-weight:600;padding:2px 8px;border-radius:3px;white-space:nowrap}
.cov-d{background:#e4f0e6;color:#245c38}
.cov-b{background:#f4ecd6;color:#6d5510}
.cov-m{background:#fae0cf;color:#8f3a09}
.cov-n{background:#e9e6df;color:#55524b}
.cov-empty{color:var(--muted)}
.cov-ogrid{display:grid;gap:16px;margin-top:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.cov-ogrid p{font-size:14px;color:var(--muted)}
@media(max-width:680px){
 #viewCoverage{padding:18px 16px 40px}
 .cov-table table,.cov-table tbody,.cov-table tr,.cov-table td{display:block;width:auto}
 .cov-table thead{display:none}
 .cov-table tr{padding:8px 0;border-bottom:1px solid var(--rule)}
 .cov-table tr:last-child{border-bottom:0}
 .cov-table td{border:0;padding:4px 14px}
 .cov-table td:empty{display:none}
 #covTools label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
 #covStatus,#covDiv{flex:1 1 90px;width:90px;min-width:0;max-width:100%}
 .cov-table th,.cov-table td{min-width:0}
}
.next-sec.next-none{background:#efebe4;border-color:#cfc8bc;color:#5f5a52;font-weight:600;box-shadow:0 2px 8px rgba(57,43,24,.18);cursor:default}
.next-sec.next-none:hover{background:#efebe4;border-color:#cfc8bc}
