header nav{gap:22px}
header nav a{white-space:nowrap}
.plot-intro{padding:70px 0 30px}
.plot-intro h1{max-width:850px;margin:8px 0 14px}
.plot-intro p{max-width:780px;font-size:1.08rem}
.plot-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px;align-items:start;padding-bottom:20px}
.plot-sidebar,.plot-main{background:#fff;border:1px solid var(--line);box-shadow:0 4px 22px rgba(27,50,35,.04)}
.plot-sidebar{padding:19px;min-width:0}
.plot-source-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#edf3ec;margin-bottom:18px}
.plot-source-tabs button{border:0;background:transparent;color:#426052;font-weight:750;padding:11px 7px;font-size:.88rem}
.plot-source-tabs button.active{background:#fff;color:var(--deep);box-shadow:0 1px 5px rgba(0,0,0,.08)}
.plot-source-panel[hidden]{display:none!important}
.plot-source-panel label{display:block;margin-bottom:7px;color:#263e31;font-weight:750;font-size:.87rem}
.plot-search-row{display:flex;border:1px solid #bdcdbd;min-height:46px}
.plot-search-row input{flex:1;min-width:0;padding:0 10px;border:0;font-size:.9rem}
.plot-search-row button{border:0;background:var(--deep);color:#fff;padding:0 15px;font-weight:750}
.plot-search-row button:disabled{opacity:.65;cursor:wait}
.plot-helper{font-size:.78rem;line-height:1.4;margin:8px 0 13px;color:#66786b}
.plot-candidates{display:grid;gap:6px;line-height:1.4;color:#5c6d60;font-size:.84rem}
.plot-candidates strong{color:var(--ink);margin:3px 0}
.plot-candidates button{border:1px solid #d7e2d5;background:#f7faf6;color:#254638;text-align:left;padding:9px;font-size:.82rem;line-height:1.35}
.plot-candidates button:hover{border-color:#487358;background:#edf5ed}
#plotFile{width:100%;font-size:.82rem;color:#4d6453}
#plotFile::file-selector-button{border:1px solid #bdcfbd;background:#eff5ee;color:var(--deep);padding:9px 12px;margin-right:8px;font-weight:700}
.plot-width-row{display:grid;grid-template-columns:1fr 115px;gap:9px;align-items:center;margin-top:16px}
.plot-width-row label{margin:0}
.plot-width-row input{width:100%;height:43px;border:1px solid #bdcdbd;padding:0 10px}
.plot-trace-actions{display:flex;gap:7px;margin-bottom:6px}
.plot-trace-actions button{border:1px solid #bad0ba;background:#edf4ec;color:var(--deep);font-size:.8rem;font-weight:750;padding:9px 11px}
.plot-trace-actions button:first-child{background:var(--deep);color:#fff}
.plot-trace-actions button:disabled{opacity:.45;cursor:default}
.plot-parcel-info{display:flex;flex-direction:column;gap:4px;padding:13px;background:#e9f2e8;border-left:3px solid #6e9b72;color:#2a513a;font-size:.82rem;line-height:1.35;margin:18px 0 21px}
.plot-parcel-info strong{font-size:.86rem}
.plot-project-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
.plot-project-head h2{font-size:1.17rem;margin:0;letter-spacing:-.02em}
.plot-project-head span{font-size:.76rem;color:#697b6c}
.plot-projects{max-height:375px;overflow:auto;scrollbar-width:thin;display:grid;gap:7px;padding-right:2px}
.plot-project{width:100%;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dce5da;text-align:left;padding:6px;color:var(--ink)}
.plot-project.active,.plot-project:hover{border-color:#548363;background:#eef5eb}
.plot-project img{width:73px;height:56px;object-fit:cover;flex:none}
.plot-project span{display:grid;gap:2px;min-width:0}
.plot-project strong{font-size:.87rem}
.plot-project small{color:#647365;font-size:.72rem;line-height:1.25}
.plot-main{min-width:0;padding:19px}
.plot-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}
.plot-topline>div{display:grid;gap:2px;min-width:0}
.plot-topline strong{font-size:1.02rem}
.plot-topline span:not(.plot-compass){color:#637466;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.plot-compass{border:1px solid #d3ded2;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;flex:none;font-size:.8rem;color:#4c6956;font-weight:800}
.plot-stage{position:relative;background:#edf2e9;overflow:hidden}
#plotCanvas{display:block;width:100%;height:auto;aspect-ratio:4/3;touch-action:none}
#plotCanvas .house-overlay{cursor:grab}
#plotCanvas .house-overlay:active{cursor:grabbing}
.plot-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;pointer-events:none;color:#58705b;text-align:center;padding:18px}
.plot-empty[hidden]{display:none}
.plot-empty-icon{width:80px;height:80px;border:1px solid #c7d9c6;border-radius:50%;display:grid;place-items:center;font-size:3.5rem;line-height:1;color:#8fae91;margin-bottom:6px}
.plot-empty strong{font-size:1.18rem;color:#365641}
.plot-empty span:last-child{font-size:.86rem}
.plot-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.plot-controls>div{display:flex;gap:6px}
.plot-controls button{height:39px;min-width:40px;border:1px solid #c6d7c5;background:#f4f8f2;color:#2f5940;font-weight:750;padding:0 10px}
.plot-controls button:nth-child(-n+2){font-size:1.35rem}
.plot-controls button:disabled{opacity:.45;cursor:default}
.plot-controls>span{font-size:.79rem;color:#607363;text-align:right}
.plot-fit{display:grid;gap:4px;padding:13px 15px;margin-top:15px;background:#eef2eb;border-left:4px solid #96ad94;color:#365143;font-size:.86rem}
.plot-fit strong{font-size:.91rem}
.plot-fit.fits{background:#e6f4e7;border-color:#489963;color:#24563b}
.plot-fit.outside{background:#fff0e9;border-color:#c67b5d;color:#7e4233}
.plot-source-note{font-size:.71rem;line-height:1.45;color:#788a7b;margin-top:17px}
.plot-source-note a{text-decoration:underline}
.plot-disclaimer{border-top:1px solid var(--line);padding:18px 0 70px;color:#607163;font-size:.82rem;line-height:1.5}
.plot-detail-link{width:100%;margin-top:12px;min-height:44px;border:1px solid #bad2bc;background:#edf5eb;color:var(--deep);font-weight:750}
.plot-detail-link:hover{background:#dfeee0}
@media(max-width:1200px){header nav{gap:13px}header nav a{font-size:.82rem}.plot-layout{grid-template-columns:305px minmax(0,1fr)}}
@media(max-width:900px){.plot-layout{grid-template-columns:1fr}.plot-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.plot-source-tabs,.plot-source-panel,.plot-parcel-info{grid-column:1}.plot-project-head,.plot-projects{grid-column:2}.plot-project-head{align-self:end}.plot-projects{max-height:260px}}
@media(max-width:700px){.plot-intro{padding:46px 0 23px}.plot-intro h1{font-size:2.55rem}.plot-layout{gap:14px}.plot-sidebar{display:block;padding:15px}.plot-projects{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;padding-bottom:7px}.plot-project{flex:0 0 200px}.plot-project img{width:58px;height:54px}.plot-main{padding:12px}.plot-controls{align-items:flex-start}.plot-controls>span{max-width:125px}.plot-disclaimer{padding-bottom:45px}}
