.account-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:17px;padding:10px 0;border-bottom:1px solid #dfe5d8;color:#62725a;font-size:11px;flex-wrap:wrap}.account-bar a{color:#28674a}.account-actions{display:flex;gap:10px;align-items:center}.account-actions button,.tools-body button{border:1px solid #d8e0d1;border-radius:6px;background:white;color:#48633f;padding:8px 10px;font-size:11px}.manage-buttons{flex-wrap:wrap}.tools-body{padding:24px}.tools-body h3{font-size:14px;margin-top:25px}.history-list{max-height:300px;overflow:auto}.history-list>div,.trash-list>div{border-bottom:1px solid #e3e8db;padding:12px 0;font-size:12px}.history-list small,.trash-list small{display:block;color:#87927d;font-size:10px;margin-top:5px;line-height:1.8}.trash-list>div{display:flex;gap:15px;justify-content:space-between}.member-list{padding-left:20px;font-size:12px;line-height:2}.delete-site{margin-top:20px;color:#97594a!important;background:#fff9f3!important}.editor button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}.preview-tag{white-space:nowrap}.account-bar>span{overflow-wrap:anywhere}

/* Matrix and detail scroll independently, including unfolded phones. */
.table-scroll{overscroll-behavior:contain;scrollbar-gutter:stable}
.table-scroll thead th{position:sticky;top:0;z-index:2}
.details{min-height:0;display:flex;flex-direction:column;height:calc(100dvh - 40px);max-height:780px;overflow:hidden}
.detail-head,.detail-foot{flex:0 0 auto}
.detail-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.empty-state{overflow-y:auto}
@container(min-width:761px){
 .directory{display:flex;flex-direction:column;max-height:min(780px,calc(100dvh - 40px))}
 .table-scroll{min-height:0;flex:1 1 auto;max-height:calc(100dvh - 120px)}
 .table-scroll>table{min-width:520px}
 .legend,.table-tip{flex:0 0 auto}
 .details{align-self:start}
}
@container(max-width:760px){
 .details{display:none}
 .app.has-selection .details{display:flex;height:83dvh;max-height:83dvh;overflow:hidden}
 .details:before{flex:0 0 4px}
 .detail-head{padding:12px 18px}
 .detail-head h2{font-size:19px;margin-bottom:8px}
 .detail-foot{position:static}
}

.batch-bar{border:1px solid #c3d6bc;border-radius:10px;background:#edf4e7;padding:14px;margin:16px 0}.batch-bar p{font-size:12px;line-height:1.8;margin:0 0 12px}.batch-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.batch-actions strong{font-size:11px}.batch-actions label{display:flex;gap:8px;align-items:center;font-size:12px}.batch-actions button,.batch-actions select{padding:9px;border:1px solid #c7d5bf;border-radius:6px;background:#fff;color:#28573d;font:inherit;font-size:12px}.batch-mode .cell{padding-top:24px}.batch-mode .cell:before{content:'□';position:absolute;top:3px;right:5px;color:#395e43;font-size:19px;line-height:1}.batch-mode .cell.batch-selected:before{content:'☑'}.batch-mode .cell.batch-selected{outline:3px solid #28674a;outline-offset:-2px;box-shadow:inset 0 0 0 3px #ffffffa0}.batch-mode .edit-site-link{display:none}.batch-review{max-height:40dvh;overflow:auto;padding:0 0 0 22px;line-height:1.7}.batch-review li{padding:8px 0;border-bottom:1px solid #e3e8db}.batch-review small{display:block;color:#697960;font-size:11px}.batch-actions button:disabled{opacity:.5;cursor:default}

.directory-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.directory-tabs button{display:flex;align-items:center;gap:8px;border:1px solid #cfdbc6;border-radius:8px;background:#fff;color:#43603d;padding:10px 12px;font:inherit;font-size:12px}.directory-tabs button[aria-pressed=true]{background:#28674a;border-color:#28674a;color:#fff}.directory-tabs small{background:#e8efdf;color:#36552e;padding:2px 6px;border-radius:10px;font-size:10px}.station-note{padding:13px 15px;border-left:3px solid #648f9e;background:#edf4f5;color:#506874;font-size:12px;line-height:1.8;margin:0 0 18px}.station-lines{border:1px solid #dce5d4;border-radius:8px;display:flex;flex-wrap:wrap;gap:10px;padding:13px}.station-lines legend{font-size:12px;color:#5e7054}.station-lines label{display:flex;align-items:center;gap:5px;font-size:12px}.station-lines input{width:auto!important;min-height:0}
