/* XJTLU research workspace. Shared by dashboard and data tables. */
:root{--brand:#010544;--accent:#ce57c1;--accent-ink:#77346e;--bg:#f5f5fa;--panel:#fff;--line:#e4e5ef;--text:#191c35;--muted:#72768e;--green:var(--brand);--green-soft:#eeeef8;--red:#b33c46;--amber:#94641a;--shadow:0 6px 24px rgba(1,5,68,.045)}
html{background:var(--bg)!important}body{display:grid;grid-template-columns:232px minmax(0,1fr);background:var(--bg);color:var(--text);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.sidebar{position:sticky;top:0;height:100dvh;min-height:0;padding:30px 18px;background:var(--brand);border:0;display:flex;flex-direction:column;overflow:auto;color:white}.brand{gap:12px;margin-bottom:36px}.brand-mark{width:32px;height:38px;flex-shrink:0;border-radius:0;background:transparent;border-left:4px solid var(--accent);border-top:4px solid white;border-bottom:4px solid white;transform:skewY(-12deg)}.brand strong{color:white;font-size:16px;letter-spacing:.5px}.brand small{color:#bcbfdf;font-size:11px;line-height:1.7;margin-top:8px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar .nav-item{position:relative;min-height:48px;padding:12px 16px;line-height:1.4;color:#c4c7e2;border:1px solid transparent;border-radius:12px;font-size:14px;width:100%}.sidebar .nav-item:hover{background:#ffffff10;color:white}.sidebar .nav-item.active,.sidebar .nav-item.is-active{background:#ffffff17;color:white;border-color:#ffffff22;font-weight:600}.sidebar .nav-item.active:before{content:"";position:absolute;left:-1px;top:13px;bottom:13px;width:3px;border-radius:3px;background:var(--accent)}.sidebar-foot{display:flex;align-items:center;gap:9px;font-size:11px;color:#bcbfdf;margin-top:auto;padding:30px 8px 4px;line-height:1.6}.privacy-dot{width:6px;height:6px;flex-shrink:0;background:#ce57c1;border-radius:50%}
main,.workspace{padding:32px 36px;min-width:0}.topbar,.workspace .topbar{position:static;display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:0;margin:0 0 26px;background:transparent;border:0}.topbar h1,.workspace .topbar h1{font-size:26px;letter-spacing:-.5px;line-height:1.4;font-weight:650;color:var(--text)}.topbar p{color:var(--muted);font-size:13px;margin-top:7px}.section-eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);margin-bottom:7px}.topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.badge{font-size:12px;line-height:1.5;padding:8px 12px;border-radius:30px;background:white;border-color:var(--line);white-space:normal}.badge.ok{color:#3d625b;background:#eff7f3}.badge.bad{color:var(--red);background:#fff2f2}.panel,.workspace .panel{padding:24px;border:1px solid var(--line);border-radius:18px;background:white;box-shadow:var(--shadow);margin-bottom:22px}.panel-head{gap:14px;align-items:center;margin-bottom:20px}.panel-head h2{font-size:17px;line-height:1.5;font-weight:650}.panel-head span{font-size:12px;line-height:1.6}.panel-head .filter-toggle{margin-left:auto;font-size:12px;display:flex;align-items:center;gap:7px}.identity-panel{padding:14px 20px!important}.identity-panel summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer;font-size:13px;list-style:none}.identity-panel summary::after{content:"+";color:var(--accent-ink);font-size:18px;line-height:1}.identity-panel[open] summary::after{content:"−"}#identitySummary{margin-left:auto;color:var(--muted)}.identity-panel .hint{margin-top:14px}.admin-token{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.admin-token input{flex:1;min-width:180px}.admin-token-state{font-size:12px;color:var(--muted)}.load-summary:empty{display:none}.load-summary{padding:12px 16px;background:#fff8ed;color:#835a1c;border:1px solid #f0dec1;border-radius:12px;margin-bottom:20px;font-size:13px;line-height:1.6}
.research-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--brand);border-radius:20px;padding:30px 32px;color:white;margin-bottom:24px}.intro-label{color:#e4a8e0;font-size:11px;letter-spacing:1.2px}.research-intro h2{font-size:27px;font-weight:600;line-height:1.5;letter-spacing:-.5px;margin:10px 0}.research-intro p{font-size:13px;color:#bfc3e0;line-height:1.8}.scope-label{display:inline-block;margin-top:18px;font-size:11px;color:#d5d7ec;border:1px solid #ffffff25;padding:5px 10px;border-radius:6px}.intro-actions{display:flex;flex-direction:column;gap:12px;min-width:166px}.intro-actions .primary{background:white;color:var(--brand);text-align:center}.intro-secondary{color:#e5d3ee;text-align:center;font-size:13px;text-decoration:none;padding:7px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.metric{border-radius:16px;background:white;border:1px solid var(--line);padding:22px;box-shadow:var(--shadow);position:relative}.metric span{font-size:12px;color:var(--muted)}.metric strong{font-size:34px;font-weight:600;line-height:1.2;margin-top:14px;color:var(--brand);font-variant-numeric:tabular-nums}.metric:after{content:"";position:absolute;right:20px;top:25px;width:6px;height:6px;border-radius:50%;background:#d0c4e5}.metric:nth-child(2):after{background:var(--accent)}
button,.primary,.ghost{min-height:40px;border-radius:10px;padding:10px 15px;font-size:13px;font-weight:500;line-height:1.45;cursor:pointer;text-decoration:none}button{background:#f4f4fa;color:var(--brand);border:1px solid var(--line)}button:hover{background:#ececf6}.primary{background:var(--brand);color:white;border:1px solid var(--brand);display:inline-block}.primary:hover{background:#171b59;color:white}.ghost{background:white;color:var(--brand);border:1px solid var(--line)}.danger{background:#fff0f0;border-color:#edcdd0;color:#a72d39}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ce57c180;outline-offset:3px}input,select,textarea{border:1px solid #dfe0ec;border-radius:10px;background:#fcfcff;color:var(--text);padding:11px 12px;min-height:42px;font:inherit;max-width:100%}input[type=checkbox]{accent-color:var(--brand);min-height:16px}label{font-size:13px;line-height:1.6}.hint{color:var(--muted);font-size:12px;line-height:1.7}.empty-state,.route-empty{color:var(--muted);padding:30px;background:#f9f9fd;border:1px dashed #ddddec;border-radius:12px;font-size:13px;line-height:1.8}.record{border-radius:14px;border:1px solid var(--line);box-shadow:none;background:white;padding:18px}.record-title{font-size:16px}.record-meta,.record-number,.record-notes{font-size:12px;line-height:1.8}.record-tag{background:#f1f1f8;color:#676b88}.record-status{font-size:11px}.record-head{align-items:flex-start}.record+.record{margin-top:14px}.record .actions button{min-width:76px}.record[data-user-content]{overflow-wrap:anywhere}.chart-grid{gap:24px}.map-shell{border-color:var(--line);border-radius:12px;background:#f9f9fd}
.form-grid{gap:20px}.form-grid .wide{grid-column:1/-1}.form-grid label{display:flex;flex-direction:column;gap:8px}.web-photo-fields{border:1px solid var(--line);border-radius:14px;padding:20px;margin:0}.web-photo-fields legend{font-size:14px;font-weight:600;padding:0 8px}.web-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.web-photo-field{border:1px dashed #d5d0e3;border-radius:12px;padding:14px;background:#faf9fd;min-width:0}.web-photo-field input{font-size:11px;padding:8px;min-width:0;width:100%;background:white}.file-note{font-size:11px;color:var(--muted)}.form-feedback{background:#fff4ec;color:#9a4b1e;border:1px solid #edd8c8;padding:14px;border-radius:12px;line-height:1.8}.form-grid .invalid{outline:2px solid #bd4455;outline-offset:2px}.model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.model-card{display:flex;flex-direction:column;gap:14px;background:#f7f7fc;border:1px solid var(--line);border-radius:14px;padding:22px}.model-card strong{font-size:18px}.model-card span{color:var(--muted);font-size:12px}.model-card a{margin-top:auto;text-align:center}.route-workspace{gap:20px}.route-session-list{max-height:700px}.route-session{border-radius:12px;box-shadow:none}.route-session.is-selected{background:#f5edf8;border-color:#d4acd2;box-shadow:inset 3px 0 var(--accent)}.route-map-panel{border-radius:14px}.route-coordinate-map{border-radius:10px}.step-note{font-size:12px;color:var(--muted)}.route-catalog summary{font-size:13px}
.workspace .toolbar{border-radius:16px;padding:18px;gap:16px}.workspace .tabs{gap:6px;padding:5px;background:#ededf6;border-radius:12px;width:fit-content;max-width:100%;flex-wrap:wrap}.workspace .tabs button{background:transparent;border:1px solid transparent;color:var(--muted);padding:8px 14px;min-height:38px}.workspace .tabs button.is-active{background:white;color:var(--brand);border-color:#e2e2ee;box-shadow:0 2px 6px #0105440a}.workspace .table-wrap{border-radius:12px;max-height:68vh}.workspace th{background:#f3f3fa;color:#565b79;font-size:12px;font-weight:600;padding:13px 16px}.workspace td{padding:13px 16px;font-size:12px;border-color:#efeff6}.workspace tbody tr:hover{background:#f7f5fc}.workspace .stat-controls{background:white;border-color:var(--line);border-radius:14px}.workspace .stat-chart{border-color:var(--line);border-radius:14px;box-shadow:none}.workspace .stat-row i{background:var(--brand)}.workspace .stat-chart:nth-child(2n) .stat-row i{background:#9166a5}.workspace .stat-source{color:var(--brand)}.workspace .tag,.workspace .pill{border-radius:6px}#detail[open]{inset:20px 24px 20px 256px;border-radius:18px;border-color:var(--line);box-shadow:0 16px 48px #01054418}#detail::backdrop{background:#01054430}.dialog-head{border-color:var(--line)}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:36px;padding:0;border-radius:50%}.toast{background:var(--brand);color:white;border-radius:12px;box-shadow:0 8px 28px #01054425}.lightbox{background:#010544bd}
#web-language-switch button{border-color:var(--line)!important;color:var(--brand)!important;border-radius:8px!important}#web-language-switch button[aria-pressed=true]{background:var(--brand)!important;color:white!important;border-color:var(--brand)!important}
@media(min-width:1600px){main,.workspace{padding:36px 48px}.research-intro{padding:38px 40px}}
@media(max-width:1100px){main,.workspace{padding:24px}.research-intro{padding:26px}.stats-grid{gap:12px}.metric{padding:18px}.model-grid{grid-template-columns:1fr}.web-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){body{grid-template-columns:170px minmax(0,1fr)}.sidebar{padding:24px 12px}.brand{flex-wrap:wrap}.brand strong{font-size:14px}.sidebar .nav-item{padding:12px;font-size:13px}.topbar h1{font-size:23px}.research-intro{display:block}.intro-actions{flex-direction:row;align-items:center;flex-wrap:wrap;margin-top:20px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:20px}.sidebar-foot{font-size:10px}#detail[open]{left:182px;right:12px}.topbar-actions{margin-left:0}.workspace .toolbar{align-items:stretch}}
@media(max-width:600px){body{grid-template-columns:112px minmax(0,1fr)}.sidebar{padding:18px 8px}.brand-mark{display:none}.brand strong{font-size:12px}.brand small{font-size:9px}.sidebar .nav-item{font-size:12px;padding:10px 8px;min-height:44px}.sidebar-foot{padding:20px 4px 0;flex-wrap:wrap}main,.workspace{padding:16px 12px}.topbar h1{font-size:22px}.topbar p{font-size:12px}.panel,.workspace .panel{padding:16px;border-radius:14px}.research-intro{padding:20px;border-radius:14px}.research-intro h2{font-size:23px}.stats-grid{gap:8px}.metric{padding:14px}.metric strong{font-size:28px}.web-photo-grid,.form-grid{grid-template-columns:1fr}.web-photo-fields{padding:12px}.identity-panel{padding:12px!important}.admin-token input{min-width:0;width:100%;flex-basis:100%}.panel-head{flex-wrap:wrap}.panel-head .filter-toggle{margin-left:0}#detail[open]{left:120px;top:10px;right:8px;bottom:10px;padding:14px}.workspace .tabs button{font-size:11px;padding:8px}.intro-actions{display:block}.intro-actions a{display:block}.research-intro p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.web-photo-preview{display:flex;gap:6px;flex-wrap:wrap}.web-photo-preview img{width:62px;height:62px;object-fit:cover;border-radius:8px}.evidence-warning{color:#94641a;background:#fff8ec;border-radius:8px;padding:10px 12px}

.section-link{font-size:12px;color:var(--accent-ink);text-decoration:none}.topbar-side{display:flex;gap:10px;align-items:center}

.route-directory-card summary{cursor:pointer;font-weight:600;color:var(--brand);list-style:disclosure-closed}.route-directory-card[open] summary{list-style:disclosure-open}.route-directory-card p{padding-top:12px;margin-top:12px;border-top:1px solid var(--line);font-size:13px;line-height:1.9}.route-directory-card{display:block}.route-directory-card+.route-directory-card{margin-top:12px}

/* Keep the outer workspace stable while entering data and switching languages. */
#web-language-switch{display:flex;gap:4px;min-width:148px;min-height:38px;align-items:center;flex-shrink:0}.topbar{min-height:90px}.data-workspace{height:100dvh;overflow:hidden}.data-workspace>main{display:flex;flex-direction:column;height:100dvh;overflow:hidden}.data-workspace>.sidebar{height:100dvh}.data-workspace #identityPanel{flex-shrink:0}.data-workspace #data.active{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}.data-view iframe{width:100%;height:100%;flex:1;min-height:0;border:0;background:#f5f5fa}.data-frame-loading{display:flex;min-height:220px;align-items:center;justify-content:center;background:white;border:1px solid var(--line);border-radius:16px;color:var(--muted)}html[data-embed="true"] body{display:block;min-height:0;background:#f5f5fa}html[data-embed="true"] .sidebar,html[data-embed="true"] .workspace>.topbar{display:none!important}html[data-embed="true"] main.workspace{padding:0;margin:0}html[data-embed="true"] .workspace-content{padding:0}.stat-grid[aria-busy=true]{opacity:.55}.load-summary{overflow-anchor:none}.view{overflow-anchor:none}

/* Data entry: one persistent shell, one content scroller, no chart stack above the table. */
html{scrollbar-gutter:stable;overflow-y:auto}.topbar,.workspace .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;row-gap:8px;min-height:106px;align-content:center}.topbar>div:first-child{grid-column:1;grid-row:1/3;min-width:0}.topbar .topbar-actions,.topbar .topbar-side{grid-column:2;grid-row:1;margin:0;align-self:end;justify-content:flex-end}.topbar #web-language-switch{grid-column:2;grid-row:2;margin:0;justify-content:flex-end;align-self:start;min-width:140px}.topbar>div:first-child p{max-width:42ch}.data-workspace #loadSummary:empty{display:none}.data-workspace #data.active{overflow:hidden}.data-view iframe{display:block;border-radius:16px}.data-view iframe[hidden]{display:none!important}html[data-embed=true]{overflow-y:auto;scrollbar-gutter:stable}html[data-embed=true] .toolbar{padding:16px;margin-bottom:14px}html[data-embed=true] .workspace .tool-group{gap:8px;min-width:0}html[data-embed=true] .workspace .search{min-width:180px;flex:1}html[data-embed=true] .workspace .search input{min-height:40px}html[data-embed=true] .workspace .tabs{margin:14px 0;width:auto}html[data-embed=true] .workspace .statistics-panel{margin-top:12px}html[data-embed=true] .workspace #records .table-wrap{max-height:calc(100dvh - 230px)}#analysis[hidden]{display:none!important}
@media(max-width:600px){.topbar,.workspace .topbar{column-gap:10px;min-height:108px}.topbar h1{font-size:21px}.topbar p{display:none}.topbar-actions{flex-wrap:wrap;gap:6px}.topbar .badge{padding:6px 9px;font-size:10px}.topbar-actions button{font-size:11px;padding:8px}.topbar #web-language-switch{min-width:124px}#web-language-switch button{font-size:11px!important;padding:6px 8px!important}}

html[data-embed=true] body{height:100dvh;overflow:hidden}html[data-embed=true] main.workspace{height:100dvh;display:flex;flex-direction:column;overflow:hidden}html[data-embed=true] .workspace-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}html[data-embed=true] .toolbar,html[data-embed=true] .tabs,html[data-embed=true] #message{flex-shrink:0}html[data-embed=true] #records,html[data-embed=true] #routes,html[data-embed=true] #reference,html[data-embed=true] #analysis{flex:1;min-height:0;overflow:auto;margin-bottom:0}html[data-embed=true] #records,html[data-embed=true] #reference{display:flex;flex-direction:column;overflow:hidden}html[data-embed=true] .table-wrap,html[data-embed=true] .workspace #records .table-wrap{flex:1;min-height:0;max-height:none;overflow:auto}html[data-embed=true] #reference>p{flex-shrink:0}html[data-embed=true] #message{font-size:12px;line-height:1.6;margin:0 0 10px}html[data-embed=true] .toolbar .tool-group{display:flex;flex-wrap:wrap;align-items:center}html[data-embed=true] .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}html[data-embed=true] .toolbar .search{min-width:180px}

html[data-embed=true] .workspace .tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-height:48px;align-items:center;scrollbar-width:thin}html[data-embed=true] .workspace .tabs button{flex-shrink:0;white-space:nowrap}html[data-embed=true] .workspace .empty-cell{text-align:left!important;padding:24px;font-size:13px;vertical-align:top}.sidebar .brand strong{min-height:44px;line-height:1.4;display:flex;align-items:center}.sidebar .brand small{min-height:32px;line-height:1.5}.sidebar .brand{align-items:center;min-height:80px}

.sidebar .brand{height:96px;min-height:96px;flex-shrink:0}.sidebar .brand>div{min-width:0;flex:1}html[data-embed=true] .workspace .tabs{height:60px;min-height:60px;max-height:60px;box-sizing:border-box}

/* Survey navigation: one stable workspace for routes and their records. */
.survey-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px;background:#f1f1f8;border:1px solid #e6e6f0;border-radius:13px;width:fit-content;max-width:100%;margin:6px 0 24px}
.survey-tabs button{min-height:42px;min-width:132px;padding:10px 20px;border:1px solid transparent;border-radius:9px;background:transparent;color:#666a82;font-weight:600;cursor:pointer;transition:background-color .15s,color .15s,box-shadow .15s,transform .15s}
.survey-tabs button:hover{background:#fff;color:var(--brand)}
.survey-tabs button[aria-selected="true"]{background:white;color:var(--brand);border-color:#e4e4ee;box-shadow:0 2px 5px rgba(1,5,68,.08),0 6px 16px rgba(1,5,68,.05)}
.survey-tabs button:active{transform:scale(.98)}
.survey-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.survey-tab-panel.route-catalog{margin-top:0}.survey-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.survey-section-heading h3{margin:0;font-size:16px;color:var(--text)}.survey-section-heading p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.65}.survey-section-mark{font-variant-numeric:tabular-nums;color:#c7bed5;font-size:12px;letter-spacing:.12em}
.route-catalog .survey-group{display:block;margin:0 0 10px;padding:0;background:#fff;border:1px solid #e8e8f0;border-radius:12px;box-shadow:0 2px 8px rgba(1,5,68,.035);overflow:hidden}.route-catalog .survey-group summary{padding:16px 18px;color:var(--brand);font-size:14px;font-weight:600;cursor:pointer}.route-catalog .survey-group summary:hover{background:#f7f6fb}.route-catalog .survey-group p{padding:0 18px;color:#555a72;font-size:13px;line-height:1.7}.route-catalog .survey-group p:last-child{padding-bottom:12px}
@media(max-width:560px){.survey-tabs{width:100%;flex-wrap:nowrap}.survey-tabs button{flex:1;min-width:0;padding:10px 8px}.survey-section-heading{gap:8px}}
@media(prefers-reduced-motion:reduce){.survey-tabs button{transition:none}.survey-tabs button:active{transform:none}}

/* Route survey: a compact fieldwork index with generous, readable route cards. */
#survey .survey-panel{padding:0;overflow:hidden;box-shadow:0 12px 38px rgba(1,5,68,.075);border:1px solid #e6e6f0}
#survey .survey-panel-head{margin:0;padding:26px 32px 20px;align-items:flex-end;gap:14px;border-bottom:1px solid #efeff5}
#survey .survey-panel-head h2{font-size:20px;letter-spacing:.01em}#survey .survey-panel-head span{font-size:12px}
#survey .survey-tabs{margin:0;padding:12px 32px;gap:28px;width:100%;border:0;border-radius:0;border-bottom:1px solid #eaeaf2;background:white;flex-wrap:nowrap}
#survey .survey-tabs button{position:relative;min-width:0;min-height:40px;border:0;border-radius:6px;padding:9px 4px;background:transparent;box-shadow:none;color:#787c92;font-size:14px}
#survey .survey-tabs button[aria-selected=true]{color:var(--brand);box-shadow:none}
#survey .survey-tabs button[aria-selected=true]::after{content:"";position:absolute;left:4px;right:4px;bottom:-13px;height:3px;border-radius:3px;background:var(--accent)}
#survey .survey-tabs button:hover{color:var(--brand)}
#survey .survey-tab-panel{padding:27px 32px 34px;background:#fafafd;min-height:340px}
#survey .survey-section-heading{margin:0 0 20px;align-items:start}
#survey .survey-section-heading h3{font-size:18px;letter-spacing:.01em}
#survey .survey-section-heading p{font-size:13px;margin-top:6px}
#survey #liveRouteList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
#survey .route-catalog .survey-group{margin:0;border:1px solid #e7e7f1;border-radius:14px;box-shadow:0 2px 4px rgba(1,5,68,.025),0 8px 20px rgba(1,5,68,.04);background:white}
#survey .route-catalog .survey-group summary{display:flex;align-items:center;gap:16px;min-height:94px;padding:18px 20px;list-style:none;transition:background-color .18s ease}
#survey .route-catalog .survey-group summary::-webkit-details-marker{display:none}
#survey .route-catalog .survey-group summary:hover{background:#f9f8fd}
#survey .route-directory-number{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:13px;background:#f1eff8;color:#514773;font-size:14px;letter-spacing:.04em;font-weight:700;font-variant-numeric:tabular-nums}
#survey .route-directory-name{flex:1;min-width:0;color:#20234b;font-size:14px;line-height:1.6;font-weight:650}
#survey .route-directory-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border:1px solid #e6e4ed;border-radius:50%;font-size:19px;font-weight:400;color:#6b6181;line-height:1}
#survey details[open] .route-directory-icon{font-size:0}#survey details[open] .route-directory-icon::after{content:'−';font-size:19px}
#survey .route-catalog .survey-group p{margin:0;padding:9px 20px 9px 82px;border-top:1px solid #f0eff5;font-size:13px;line-height:1.7;color:#555a72}
#survey .route-catalog .survey-group p:last-child{padding-bottom:16px}
@media(max-width:800px){#survey #liveRouteList{grid-template-columns:1fr}#survey .survey-panel-head{align-items:start;flex-direction:column}}
@media(max-width:560px){#survey .survey-panel-head{padding:22px 20px 18px}#survey .survey-tabs{padding:10px 20px;gap:24px}#survey .survey-tabs button{flex:initial}#survey .survey-tab-panel{padding:24px 20px}#survey .route-catalog .survey-group p{padding-left:20px}}

.member-panel{padding:18px 20px!important}.member-panel summary{cursor:pointer;font-weight:600}.member-panel .hint{margin:12px 0}.member-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.member-row code{font-size:12px;word-break:break-all;color:var(--muted)}.member-row button{flex-shrink:0}

/* Tactile response without changing button layout. */
button:not(:disabled),a.primary{transition:background-color .14s ease,box-shadow .14s ease,transform .14s ease}button:not(:disabled):active,a.primary:active{transform:translateY(1px) scale(.985);box-shadow:inset 0 2px 5px rgba(1,5,68,.16);filter:brightness(.94)}button:disabled{cursor:not-allowed}button[aria-busy="true"]{cursor:wait;opacity:.8}@media(prefers-reduced-motion:reduce){button:not(:disabled),a.primary{transition:none}button:not(:disabled):active,a.primary:active{transform:none}}
