/* Bright, high contrast management screens. Layout follows visualViewport. */
#pc .panel.wide,#pause>.panel{background:#f4f8ff;border:3px solid #075bea;box-shadow:0 20px 70px #001c5080;color:#132440;border-radius:20px}
#pc .pcHead{background:#075bea;border-bottom:5px solid #ffcf00;padding:14px 18px}#pc .pcHead b{font-weight:900;letter-spacing:.02em}#pc .pcHead .money{background:#ffde19;color:#172c50;border:2px solid white;font-weight:900}#pc .pcHead .x{background:#fff;color:#075bea;box-shadow:none}
#pcTabs{background:#e2edff;border-right:2px solid #b0cbff}#pcTabs [data-menu-section]{color:#123f90;font-size:.85em;border-radius:9px;font-weight:900}#pcTabs [data-menu-group="products"]>[data-menu-section]{border-left:5px solid #075bea}#pcTabs [data-menu-group="build"]>[data-menu-section]{border-left:5px solid #ed2842}#pcTabs [data-menu-group="staff"]>[data-menu-section]{border-left:5px solid #00a34b}#pcTabs [data-menu-group="manage"]>[data-menu-section]{border-left:5px solid #edb900}
#pcTabs [data-pc]{background:#fff;color:#15356b;border:1px solid #b7cff8;font-weight:800;margin-bottom:3px;min-height:43px}#pcTabs [data-pc].on{background:#075bea;color:#fff;border-color:#075bea;border-left:4px solid #ffcf00;box-shadow:0 3px 0 #003a9e}.pcPageHeading{color:#123f90;border-bottom:2px solid #c7dafb;margin-bottom:12px;background:white;font-weight:900}
#pcBody h3,#pause h2{color:#123f90;font-weight:900}#pcBody .card,#pcBody .orderCard,#pcBody .productCard,#pcBody .investmentCard{border:2px solid #b7cff8;box-shadow:0 3px 0 #d4e3fa;background:white;border-radius:16px}#pcBody button,#pause button{border:2px solid #b2cdfa;font-weight:800;min-height:44px}#pcBody button.on,#pcBody button.big,#pcBody button.primary{background:#075bea;color:white;border-color:#075bea}#pcBody button:disabled{background:#e4e9f2;color:#63728a;border-color:#cad3e1;opacity:1}
#pcBody input,#pcBody select{background:white;border:2px solid #7ca8f0;color:#132440;min-height:44px}#pcBody button:focus-visible,#pc button:focus-visible,#pause button:focus-visible{outline:3px solid #ffba00;outline-offset:3px}#pcBody .mini{color:#445a78}#pcCart{background:#fff3b1;border-top:3px solid #ffc400}.cartSummary .sum{color:#103e9c}.orderToolbar{background:#e7efff;border:1px solid #adcaff}.orderChips button.on{background:#075bea!important;color:white!important}.productMetrics>div{background:#e5efff}.productMetrics dt{color:#365780}.productMetrics dd{color:#073c9d}
#pause .menuHeading{padding:14px;background:#075bea;border-radius:12px;border-bottom:4px solid #ffcf00}#pause .menuHeading h2,#pause .menuHeading>span{color:white}#pause .menuResume{background:#075bea;color:#fff;border-color:#075bea;box-shadow:0 4px 0 #003797}#pause .menuSection h3,#pause .menuSection summary{color:#123f90;font-size:1em}#pause .menuGrid button{background:white;border-left:6px solid #075bea;color:#15356b}#pause #pSales,#pause #pRank{border-left-color:#ed2842}#pause #pSaves,#pause #pLogin{border-left-color:#00a34b}.quickActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.quickActions button{padding:10px 6px;background:#ffe344!important;color:#18325b!important;font-size:.85em}#placeBar{border:3px solid #075bea;background:#f4f8fff5;color:#15356b}#placeApply{background:#075bea;color:#fff}#groupOptions{max-height:100px;overflow:auto;display:flex;flex-wrap:wrap;gap:6px;padding:8px 0}#groupOptions button{padding:6px 9px;border:2px solid #7ea9f1;background:white;color:#16345f;font-size:12px}#groupOptions button.on{background:#075bea;color:white;border-color:#075bea}
@media(max-width:700px){#pc .pcHead{padding:9px 10px;gap:6px}#pcTabs{border-right:0;border-bottom:2px solid #aac8ff;padding-bottom:0}#pcTabs [data-menu-section]{font-size:.78em;border-left:0!important;border-top:4px solid #075bea;border-radius:8px 8px 0 0}#pcTabs [data-menu-group="build"]>[data-menu-section]{border-top-color:#ed2842}#pcTabs [data-menu-group="staff"]>[data-menu-section]{border-top-color:#00a34b}#pcTabs [data-menu-group="manage"]>[data-menu-section]{border-top-color:#edb900}#pcTabs .active>[data-menu-section]{background:#075bea;color:white}.pcSubtabs{background:#e2edff!important}#pcTabs [data-pc]{font-size:.77em;min-height:44px}#pcTabs [data-pc].on{border-left:0;border-bottom-color:#ffcf00}.quickActions{grid-template-columns:1fr 1fr}#pause>.panel{padding:14px}#groupOptions{max-height:78px}}
@media(max-height:480px){#groupOptions{max-height:55px}#pause .menuHeading{padding:8px}#pc .pcHead{padding-top:6px;padding-bottom:6px}}

#groupOptions[hidden]{display:none}

/* Detailed town map */
#townMap .mapPanel{width:min(1120px,96%);max-height:92%;padding:16px;display:flex;flex-direction:column;gap:12px;background:#fff;color:#153650;border:3px solid #1969df;border-radius:20px;overflow:auto}
.mapPanel header,.mapToolbar{display:flex;align-items:center;gap:8px;justify-content:space-between}.mapPanel h2{margin:0;color:#125ac3}.mapPanel button{min-height:44px;border:2px solid #b6d0f1;background:#eaf3ff;color:#16477e;border-radius:10px;padding:8px 12px;font-weight:bold}.mapToolbar input{min-width:0;flex:1;width:100%;padding:10px;border:2px solid #b6d0f1;border-radius:10px}.mapToolbar button{white-space:nowrap}.mapLayout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;min-height:0}.mapView{position:relative;min-width:0}.mapView canvas{display:block;width:100%;height:clamp(260px,58dvh,620px);touch-action:none;border:2px solid #87a9c9;border-radius:12px}.mapCompass{position:absolute;top:12px;left:12px;background:white;padding:4px 10px;border-radius:8px;font-weight:bold}.mapZoom{position:absolute;top:12px;right:12px;display:grid;gap:6px}.mapZoom button{background:white;font-size:22px}#mapScale{position:absolute;bottom:12px;left:14px;border:solid #153650;border-width:0 2px 3px;text-align:center;font:bold 12px system-ui;white-space:nowrap;background:#ffffffb8}#mapLocation{font-size:15px;font-weight:bold;margin:0 0 10px}#mapPlaces{display:grid;gap:6px;max-height:50dvh;overflow:auto}#mapPlaces button{text-align:left;overflow-wrap:anywhere}#mapPlaces button.selected{background:#125ad6;color:white;border-color:#125ad6}.mapLegend{display:flex;flex-wrap:wrap;gap:12px;font-size:13px}#pMap{background:#1768db;color:white}
@media(max-width:650px){.mapLayout{grid-template-columns:1fr}.mapLayout aside{min-height:0}#mapPlaces{display:flex;max-height:110px;overflow:auto;flex-wrap:wrap}#mapPlaces button{font-size:13px;padding:6px 9px}.mapPanel .mapToolbar{flex-wrap:wrap}.mapToolbar input{flex-basis:100%}.mapView canvas{height:42dvh;min-height:230px}}

.furnitureTools{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.furnitureTools label{display:grid;gap:5px;flex:1}.furnitureTools select{width:100%;min-height:44px}.furniturePlan{background:#f6f9ff;border:2px solid #93b8ed;border-radius:14px;padding:8px;margin-bottom:14px}.furniturePlan svg{display:block;width:100%;height:clamp(180px,30dvh,340px)}.furniturePlan g[role=button]{cursor:pointer}.furniturePlan g:focus{outline:none}.furniturePlan g:focus rect{stroke:#10182a;stroke-width:.18}.furnitureMoveList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.furnitureMoveCard{display:flex;gap:8px;align-items:center;border:2px solid #c9dcf5;border-radius:14px;padding:10px;background:#fff;min-width:0}.furnitureMoveCard.selected{border-color:#1266df;background:#eaf3ff}.furnitureChoose{flex:1;text-align:left;min-width:0!important;background:transparent!important;box-shadow:none!important;border:0!important;padding:4px!important}.furnitureChoose small{display:block}.furnitureMoveCard>button:last-child{white-space:nowrap;font-size:14px;padding:10px}.furnitureManager{max-width:100%}@media(max-width:650px){.furnitureMoveList{grid-template-columns:1fr}.furnitureMoveCard{padding:8px}.furnitureChoose b{font-size:15px}}
