.activityEditor .sectionFields.routeAdminFields{display:block;min-width:0}
#activityRoute{scroll-margin-top:80px}
.routePublic{margin:24px 0;padding:20px;min-width:0}
.routePublicHead,.routeGrade,.routeActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.routePublicHead{justify-content:space-between;margin-bottom:12px}
.routePublicHead h2{margin:0}
.routeActions{margin:12px 0}
.routeGrade{margin-bottom:12px}
.routeGradeLevel{padding:5px 10px;border:1px solid currentColor;border-radius:6px;font-weight:600}
.routeGrade0{color:#087347}.routeGrade1{color:#066b8b}.routeGrade2{color:#a74305}.routeGrade3{color:#a71931}.routeGrade4{color:#272727}
.routeButton{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #b58d0a;border-radius:6px;color:#684a13;text-decoration:none;background:white;cursor:pointer}
.routeButton:hover{text-decoration:underline}
.routePrimary{color:#231805;background:#e4b757}
.routeButton input[type=file]{width:min(260px,100%);max-width:100%}
.routeMap{height:clamp(240px,36vw,440px);border-radius:8px;z-index:0;background:#e7eadf}
.routeTabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px;gap:2px}
.routeTabs button{display:flex;align-items:center;flex-direction:column;gap:4px;padding:10px 5px;border:1px solid #dce1e6;border-bottom:3px solid transparent;border-radius:5px;background:white}
.routeTabs button[aria-selected=true]{background:#fff4d9;border-bottom-color:#cda10c}
.routeTabs button strong{font-size:1.05rem}
.routeTabPanel{min-height:35px;padding:8px 0}
.routeTabPanel p{margin:0}
.routeProfile{color:#80560a;background:#fffbf1;padding:8px;border-radius:5px}
.routeProfile svg{width:100%;height:120px;background:repeating-linear-gradient(to bottom,transparent 0 29px,#e5d9bf 29px 30px)}
.routeProfile>div{display:flex;justify-content:space-between}
.routeEditorFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.routeEditorFields label{display:grid;gap:4px}
.routeEditorFields .routeFull{grid-column:1/-1}
.routeEditorFields .routeToggle{display:flex;align-items:center;gap:8px}
.routeEditorFields select,.routeEditorFields textarea,.routeEditorFields input:not([type=checkbox]){width:100%;max-width:100%;box-sizing:border-box}
#routeStatus:empty{display:none}
@media(max-width:550px){
    .routeEditorFields{grid-template-columns:1fr}
    .routePublic{padding:12px}
    .routeTabs button{font-size:.8rem}
    .routeTabs button strong{font-size:.85rem}
}
/* Fitxa pública: que els estils generals de public.css no trepitgin el recorregut */
body.pb .routePublic{max-width:1100px;margin:24px auto;box-sizing:border-box}
body.pb .routePublic .routePublicHead,body.pb .routeSchedule .routePublicHead{background:none;color:#212529;padding:0;min-height:0;height:auto;position:static;border:0;box-shadow:none}
body.pb .routePublic .routePublicHead h2,body.pb .routeSchedule .routePublicHead h2{font-size:22px;font-weight:600;color:#212529}
body.pb .routeTabs button{background:#fff;color:#4a4a4a;border:1px solid #dce1e6;border-bottom:3px solid transparent;border-radius:5px;padding:10px 5px;min-height:0;flex-direction:column;gap:4px;font-weight:400}
body.pb .routeTabs button strong{color:#13181f}
body.pb .routeTabs button[aria-selected=true]{background:#fff4d9;border-bottom-color:#cda10c;color:#6e5405}
body.pb a.routeButton{color:#684a13;background:#fff;border:1px solid #b58d0a;min-height:0}
body.pb a.routeButton.routePrimary{color:#231805;background:#e4b757}
body.pb .routeGrade a{color:#684a13}
body.pb .routeMap .leaflet-control a{color:#13181f}
.routeSheet{margin:16px 0}
.routeSummary{margin:0 0 14px;line-height:1.55;color:#344054}
.routeSheetTitle{margin:18px 0 6px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#6e5405}
.routeFacts{width:100%;border-collapse:collapse;margin:0}
.routeFacts th,.routeFacts td{padding:9px 0;border-top:1px solid #eceef1;text-align:left;vertical-align:top}
.routeFacts th{width:46%;font-weight:400;color:#667085}
.routeFacts td{font-weight:600;color:#1d2939;overflow-wrap:anywhere}
.routeEditorFields small{display:block;color:#667085;font-weight:400;margin-top:4px}

.routeTop{margin:0 0 14px}
.routePlace{display:flex;gap:12px;align-items:center;background:#fff4d6;border-radius:12px;padding:12px 14px;color:#6e5405}
.routePlace svg{flex:none;width:26px;height:26px}
.routePlace small{display:block;font-size:12px;color:#6e5405}
.routePlace strong{font-size:15px;color:#1d2939}
.routeTiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.routeTile{display:flex;gap:10px;align-items:center;border:1px solid #e4e6e9;border-radius:12px;padding:12px;background:#fff}
.routeTile i{width:36px;height:36px;border-radius:9px;background:#fff4d6;color:#6e5405;display:grid;place-items:center;flex:none}
.routeTile small{display:block;color:#667085;font-size:12px}
.routeTile strong{font-size:15px;color:#1d2939}
.routeProfileBox{margin:0 0 14px}
@media(min-width:900px){.routeTiles{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Material */
.matSeg{display:inline-flex;border:1px solid #e4e6e9;border-radius:10px;overflow:hidden}
.matSeg button{border:0!important;border-radius:0!important;background:#fff!important;color:#475467!important;padding:9px 16px;font-weight:600;cursor:pointer;box-shadow:none!important}
.matSeg button.on{background:#cda10c!important;color:#fff!important}
.matSnow{display:inline-flex;border:1px solid #e4e6e9;border-radius:10px;overflow:hidden;margin:0 0 12px}
.matSnow span{padding:7px 14px;font-weight:600;font-size:14px;color:#667085}
.matSnow span.on{background:#cda10c;color:#fff}
.matCount{font-style:normal;font-size:11px;letter-spacing:0;border-radius:6px;padding:1px 8px;margin-left:6px;background:#e4e6e9;color:#475467}
.matCount.required{background:#cda10c;color:#fff}
.matGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 6px}
.matTile.required{border-color:#e9d89a;background:#fffdf5}
.matTile.recommended i{background:#f2f4f7;color:#475467}
.matTile strong{display:block;font-size:14px}
.matLst{border:1px solid #e4e6e9;border-radius:12px;overflow:hidden;margin:0 0 6px;background:#fff}
.matLi{display:grid;grid-template-columns:30px minmax(0,1fr) minmax(0,1.5fr);gap:12px;align-items:center;padding:9px 14px;border-top:1px solid #eef0f3}
.matLi:first-child{border-top:0}
.matLi i{width:28px;height:28px;border-radius:50%;background:#fdf3d2;color:#6e5405;display:grid;place-items:center}
.matLi i svg{width:16px;height:16px}
.matLi.recommended i{background:#eef0f3;color:#475467}
.matLi strong{font-size:14px;color:#1d2939}
.matLi small{font-size:13px;color:#667085}
@media(max-width:600px){.matLi{grid-template-columns:30px minmax(0,1fr);row-gap:0}.matLi small{grid-column:2}.matLi small:empty{display:none}}
@media print{.matLi{break-inside:avoid}.matLi i{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.materialBlock .routePlace{margin:0 0 6px}
.matRow{display:grid;grid-template-columns:28px minmax(0,1.4fr) minmax(0,1.6fr) 130px 36px;gap:8px;align-items:center;margin:0 0 8px}
.matRowIcon{color:#6e5405;display:grid;place-items:center}
.matRow input,.matRow select{min-width:0;width:100%}
.matHint{color:#667085;font-size:13px;margin:0}
@media(max-width:700px){.matGrid{grid-template-columns:1fr}.matRow{grid-template-columns:28px minmax(0,1fr) 36px}.matRow [data-mat-field=note],.matRow [data-mat-field=level]{grid-column:1/-1}}
#activityMaterial .sectionFields>.routeFull{grid-column:1/-1}
#activityMaterial .sectionFields select{max-width:100%}
#activityMaterial .routePlace{margin:0}

.routeSchedule{margin-top:16px}
.tlA{position:relative;height:96px;margin:4px 10px 8px}
.tlBar,.tlWalk,.tlNight{position:absolute;top:44px;height:10px;border-radius:6px}
.tlBar{left:0;right:0;background:#fff4d6}.tlWalk{background:#cda10c}.tlNight{background:#252018;border-radius:0 6px 6px 0}
.tlDawn{position:absolute;top:44px;height:10px;left:0;background:#252018;border-radius:6px 0 0 6px}
.tlRise i{background:#252018}
.tlPin{position:absolute;top:0;transform:translateX(-50%);text-align:center;font-size:12px;line-height:1.25;white-space:nowrap;color:#212529}
.tlPin b{display:block;font-size:15px}.tlPin i{display:block;width:2px;height:20px;background:#cda10c;margin:2px auto 0}
.tlPin.tlLow{top:52px}.tlPin.tlLow i{display:none}
.tlTiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:8px}
.tlTiles>div{display:flex;gap:10px;align-items:center;border:1px solid #e4e6e9;border-radius:12px;padding:10px 12px}
.tlTiles i{display:grid;place-items:center;flex:none;width:30px;height:30px;color:#cda10c}
.tlTiles svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tlTiles.tl4{grid-template-columns:repeat(2,minmax(0,1fr))}
.tlTiles small{display:block;font-size:11px;color:#6e5405}.tlTiles strong{font-size:15px}
.tlWarn{margin:14px 0 0;background:#fff4d6;border-radius:12px;padding:10px 14px;font-size:14px;color:#4b3900}
.tlLabel{margin:18px 0 8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6e5405}
.tlWx{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tlWx .routeButton{text-align:center}
.tlNote{margin:12px 0 0;font-size:12px;color:#777}
@media(max-width:560px){.tlTiles,.tlTiles.tl4{grid-template-columns:1fr}.tlWx{grid-template-columns:1fr}}
@media print{.tlWx{display:none}}
.tlp0{left:0%}.tlw0{width:0%}.tlp1{left:1%}.tlw1{width:1%}.tlp2{left:2%}.tlw2{width:2%}.tlp3{left:3%}.tlw3{width:3%}.tlp4{left:4%}.tlw4{width:4%}.tlp5{left:5%}.tlw5{width:5%}.tlp6{left:6%}.tlw6{width:6%}.tlp7{left:7%}.tlw7{width:7%}.tlp8{left:8%}.tlw8{width:8%}.tlp9{left:9%}.tlw9{width:9%}.tlp10{left:10%}.tlw10{width:10%}.tlp11{left:11%}.tlw11{width:11%}.tlp12{left:12%}.tlw12{width:12%}.tlp13{left:13%}.tlw13{width:13%}.tlp14{left:14%}.tlw14{width:14%}.tlp15{left:15%}.tlw15{width:15%}.tlp16{left:16%}.tlw16{width:16%}.tlp17{left:17%}.tlw17{width:17%}.tlp18{left:18%}.tlw18{width:18%}.tlp19{left:19%}.tlw19{width:19%}.tlp20{left:20%}.tlw20{width:20%}.tlp21{left:21%}.tlw21{width:21%}.tlp22{left:22%}.tlw22{width:22%}.tlp23{left:23%}.tlw23{width:23%}.tlp24{left:24%}.tlw24{width:24%}.tlp25{left:25%}.tlw25{width:25%}.tlp26{left:26%}.tlw26{width:26%}.tlp27{left:27%}.tlw27{width:27%}.tlp28{left:28%}.tlw28{width:28%}.tlp29{left:29%}.tlw29{width:29%}.tlp30{left:30%}.tlw30{width:30%}.tlp31{left:31%}.tlw31{width:31%}.tlp32{left:32%}.tlw32{width:32%}.tlp33{left:33%}.tlw33{width:33%}.tlp34{left:34%}.tlw34{width:34%}.tlp35{left:35%}.tlw35{width:35%}.tlp36{left:36%}.tlw36{width:36%}.tlp37{left:37%}.tlw37{width:37%}.tlp38{left:38%}.tlw38{width:38%}.tlp39{left:39%}.tlw39{width:39%}.tlp40{left:40%}.tlw40{width:40%}.tlp41{left:41%}.tlw41{width:41%}.tlp42{left:42%}.tlw42{width:42%}.tlp43{left:43%}.tlw43{width:43%}.tlp44{left:44%}.tlw44{width:44%}.tlp45{left:45%}.tlw45{width:45%}.tlp46{left:46%}.tlw46{width:46%}.tlp47{left:47%}.tlw47{width:47%}.tlp48{left:48%}.tlw48{width:48%}.tlp49{left:49%}.tlw49{width:49%}.tlp50{left:50%}.tlw50{width:50%}.tlp51{left:51%}.tlw51{width:51%}.tlp52{left:52%}.tlw52{width:52%}.tlp53{left:53%}.tlw53{width:53%}.tlp54{left:54%}.tlw54{width:54%}.tlp55{left:55%}.tlw55{width:55%}.tlp56{left:56%}.tlw56{width:56%}.tlp57{left:57%}.tlw57{width:57%}.tlp58{left:58%}.tlw58{width:58%}.tlp59{left:59%}.tlw59{width:59%}.tlp60{left:60%}.tlw60{width:60%}.tlp61{left:61%}.tlw61{width:61%}.tlp62{left:62%}.tlw62{width:62%}.tlp63{left:63%}.tlw63{width:63%}.tlp64{left:64%}.tlw64{width:64%}.tlp65{left:65%}.tlw65{width:65%}.tlp66{left:66%}.tlw66{width:66%}.tlp67{left:67%}.tlw67{width:67%}.tlp68{left:68%}.tlw68{width:68%}.tlp69{left:69%}.tlw69{width:69%}.tlp70{left:70%}.tlw70{width:70%}.tlp71{left:71%}.tlw71{width:71%}.tlp72{left:72%}.tlw72{width:72%}.tlp73{left:73%}.tlw73{width:73%}.tlp74{left:74%}.tlw74{width:74%}.tlp75{left:75%}.tlw75{width:75%}.tlp76{left:76%}.tlw76{width:76%}.tlp77{left:77%}.tlw77{width:77%}.tlp78{left:78%}.tlw78{width:78%}.tlp79{left:79%}.tlw79{width:79%}.tlp80{left:80%}.tlw80{width:80%}.tlp81{left:81%}.tlw81{width:81%}.tlp82{left:82%}.tlw82{width:82%}.tlp83{left:83%}.tlw83{width:83%}.tlp84{left:84%}.tlw84{width:84%}.tlp85{left:85%}.tlw85{width:85%}.tlp86{left:86%}.tlw86{width:86%}.tlp87{left:87%}.tlw87{width:87%}.tlp88{left:88%}.tlw88{width:88%}.tlp89{left:89%}.tlw89{width:89%}.tlp90{left:90%}.tlw90{width:90%}.tlp91{left:91%}.tlw91{width:91%}.tlp92{left:92%}.tlw92{width:92%}.tlp93{left:93%}.tlw93{width:93%}.tlp94{left:94%}.tlw94{width:94%}.tlp95{left:95%}.tlw95{width:95%}.tlp96{left:96%}.tlw96{width:96%}.tlp97{left:97%}.tlw97{width:97%}.tlp98{left:98%}.tlw98{width:98%}.tlp99{left:99%}.tlw99{width:99%}.tlp100{left:100%}.tlw100{width:100%}
.routeWeather{margin-top:16px}
.wxBody{display:grid;gap:14px}
.wxRow{border:1px solid #e4e6e9;border-radius:12px;padding:12px 14px 4px}
.wxHead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wxHead b{display:block;font-size:15px}.wxHead small{display:block;font-size:12px;color:#6e5405}
.wxMM{display:flex;gap:10px}
.wxMM>span{display:grid;text-align:center;border-radius:10px;padding:4px 12px;font-size:17px;font-weight:700;min-width:64px}
.wxMM small{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:inherit;opacity:.8}
.wxMin{background:#e8f1fb;color:#1d4d84}.wxMax{background:#fdf0d6;color:#8a5a00}
.wxA{margin-top:6px;height:68px}
.wxVer{display:flex;gap:12px;align-items:center;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.35}.wxVer b{display:block;font-size:16px}
.wxLb{background:#e7f6ec;color:#1d6b3f}.wxLm{background:#fff4d6;color:#8a6200}.wxLa{background:#fde8e6;color:#b42318}
.wxG3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wxRt{border:1px solid #e4e6e9;border-radius:12px;padding:10px 6px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.wxCi{width:32px;height:32px;border-radius:50%;display:grid;place-items:center}
.wxRt strong{font-size:12px;color:#475467}.wxV{font-size:17px;font-weight:700;line-height:1.15;white-space:nowrap}
.wxPl{font-size:10px;font-weight:700;border-radius:999px;padding:2px 8px}
.wxTm{border:1px solid #e4e6e9;border-radius:12px;padding:14px 16px}
.wxT{display:flex;justify-content:space-between;align-items:flex-end}
.wxX{font-size:26px;font-weight:700;line-height:1}.wxX small{display:block;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#667085;font-weight:700;margin-bottom:4px}.wxXr{text-align:right}
.wxTtl{font-size:13px;font-weight:700;color:#475467;padding-bottom:3px}
.routeWeather .tlWx{margin-top:14px}
.wxBar{height:12px;border-radius:8px;margin-top:10px;background:linear-gradient(90deg,#9ec5ee,#dcebf9 40%,#fbe6b6 70%,#f2b84b)}
@media(max-width:420px){.wxV{font-size:14px}.wxRt strong{font-size:11px}}
@media print{.routeWeather{break-inside:avoid}}

.tlHero{margin-top:8px;border:2px solid #cda10c;background:#fff8e1;border-radius:14px;padding:12px 16px}.tlHero small{display:block;font-size:12px;font-weight:600;color:#6e5405}.tlHero strong{display:block;font-size:30px;line-height:1.15}.tlHero em{font-style:normal;font-size:13px;color:#6e5405}
.tlHero strong span{font-size:14px;font-weight:500;color:#6e5405}

.routeData{margin:10px 0;border:1px solid #e4e6e9;border-radius:12px;padding:12px;background:#fff}
.routeDataGrade{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:13px;color:#555}
.routeGradePending{color:#555;border-color:#999}
.routeDataGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.routeDataGrid>div{border:1px solid #e4e6e9;border-radius:10px;padding:7px 10px}
.routeDataGrid small{display:block;font-size:11px;color:#6e5405}
.routeSrc{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:6px;background:#eef3ec;color:#2b6a2b;font-size:11px;font-weight:500}
.routeSrc.manual{background:#fff0d0;color:#8a5a00}
.routeDataNote{margin:10px 0 0;font-size:13px;color:#555}
.routeAsk{margin-top:10px;background:#fff3cd;border:1px solid #e6c65a;border-radius:10px;padding:10px 12px;font-size:13px}
.routeAsk button{margin:8px 6px 0 0;border:1px solid #cda10c;background:#fff;border-radius:8px;padding:6px 10px;font:inherit;font-size:13px;cursor:pointer}
.routeAsk .routeAskYes{background:#cda10c;color:#fff}

.routeStart .startGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.routeStart .startBox{border:1px solid #e4e6e9;border-radius:14px;padding:12px;text-align:center}
.routeStart .startBox i{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 8px;border-radius:14px;background:#fff8e1;color:#cda10c}
.routeStart .startBox svg{width:26px;height:26px}
.routeStart .startBox small{display:block;font-size:11px;color:#6e5405;text-transform:uppercase;letter-spacing:.04em}
.routeStart .startBox strong{display:block;font-size:19px;line-height:1.25;overflow-wrap:anywhere}
body.pb a.routeButton.startMap{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;min-height:46px;background:#cda10c;color:#221b05;border-color:#cda10c;font-weight:600}
.routeStart .startMap svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:340px){.routeStart .startGrid{grid-template-columns:1fr}}
.practicalRows{display:grid;gap:0}.practicalRow{display:flex;gap:12px;padding:12px 0;border-top:1px solid #eee}.practicalRow:first-child{border-top:0;padding-top:0}
.practicalRow i{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff8e1;color:#cda10c}
.practicalRow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.practicalRow small{display:block;font-size:11px;color:#6e5405;text-transform:uppercase;letter-spacing:.04em}
.practicalRow strong{display:block;font-size:15px}.practicalRow p{margin:4px 0 0;font-size:14px;line-height:1.45;color:#333}
.pbDisclaimer{margin:4px 4px 16px;font-size:12px;line-height:1.5;color:#777}
.pxFields{display:grid;gap:12px}.pxBlock{grid-column:1/-1;background:#fff;border:1px solid #e4e6e9;border-radius:14px;padding:14px 16px;margin-bottom:12px}
.pxHead{display:flex;gap:10px;align-items:center;margin-bottom:10px}.pxHead i{width:30px;height:30px;border-radius:9px;background:#fff8e1;display:grid;place-items:center;font-style:normal}
.pxHead b{display:block;font-size:15px}.pxHead small{display:block;color:#777;font-size:12px}
.pxSeg{display:flex;border:1px solid #cda10c;border-radius:10px;overflow:hidden;margin-bottom:10px}.pxSeg label{flex:1;margin:0;cursor:pointer}.pxSeg input{position:absolute;opacity:0;pointer-events:none}
.pxSeg span{display:block;text-align:center;padding:8px;color:#6e5405}.pxSeg input:checked+span{background:#cda10c;color:#fff;font-weight:600}
.pxNote{background:#f6f7f8;border-radius:10px;padding:9px 12px;color:#555;font-size:13px}.pxNote button{margin-left:6px;text-decoration:underline;color:#6e5405;background:none;border:0;cursor:pointer}
.pxFoot{grid-column:1/-1;font-size:12px}
.noticeTxt{font-size:14px;line-height:1.55;color:#333}.noticeTxt p{margin:0 0 10px}.noticeTxt p:last-child{margin:0}

.startTransport{display:flex;gap:12px;align-items:flex-start;margin-top:14px;padding-top:14px;border-top:1px solid #eee}.startTransport i{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fdf3d2;color:#6e5405}.startTransport svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.startTransport small{display:block;font-size:11px;color:#6e5405;text-transform:uppercase;letter-spacing:.04em}.startTransport strong{font-size:14px;line-height:1.45;color:#1d2939}
#publicNotice .matLi small{line-height:1.45}

.transportTxt{margin:0;font-size:15px;line-height:1.5;font-weight:600;color:#1d2939}

/* Text de cos unificat a tota la fitxa pública: mateix tipus, mida i color, justificat */
body.pb .rich,body.pb .rich p,body.pb .routeSummary,body.pb .routePublic>p,body.pb .transportTxt,body.pb .matLi small,body.pb .practicalRow p,body.pb .noticeTxt,body.pb .routeDataNote,body.pb .pbPanel>dl dd,body.pb .pbPanel>p:not(.activityAttachment){font-family:inherit;font-size:15px;font-weight:400;line-height:1.55;color:#344054;text-align:justify;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
body.pb .matLi strong,body.pb .routePublic>p strong{font-size:15px;font-weight:600;color:#1d2939}

.routeStart .startWide{grid-column:1/-1}
.routeStart .startBtns{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.routeStart .startBtns a.startMap{margin-top:0}
.routeStart .startBtns:not(:has(.startRemind)){grid-template-columns:1fr}
.routeStart .startRemind{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;margin:0;padding:8px 12px;background:#fff!important;color:#6e5405!important;border:1.5px solid #cda10c!important;border-radius:10px;font:inherit;font-weight:600;cursor:pointer}
.routeStart .startRemind svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.routeStart .startMenu{grid-column:1/-1;border:1px solid #e4e6e9;border-radius:12px;overflow:hidden;background:#fff}
.routeStart .startMenu[hidden]{display:none}
.routeStart .startMenu button{display:block;width:100%;text-align:left;background:#fff!important;color:#1d2939!important;border:0;border-top:1px solid #eef0f3;border-radius:0;padding:11px 14px;font:inherit;cursor:pointer;min-height:0}
.routeStart .startMenu button:first-child{border-top:0}
.routeStart .startMenu button:hover{background:#fffaec!important}
.routeStart .startMenu b{display:block;font-size:15px}.routeStart .startMenu small{display:block;font-size:13px;color:#667085}
@media(max-width:420px){.routeStart .startBtns{grid-template-columns:1fr}}

/* Botons de la targeta de sortida: mateixa alçada */
body.pb .routeStart .startBtns>a.startMap,body.pb .routeStart .startBtns>button.startRemind{margin:0!important;min-height:48px!important;height:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px!important;border:1.5px solid #cda10c!important;border-radius:10px!important;font:inherit;font-size:15px!important;font-weight:600;line-height:1.2;text-decoration:none}

/* Horari de la sortida: hores en fila + temps previst / en marxa / aturades */
.tlHours{display:flex;gap:10px;align-items:stretch;margin-top:8px}
.tlHour{flex:1;min-width:0;display:flex;gap:12px;align-items:center;border:1px solid #e4e6e9;border-radius:14px;padding:14px 16px}
.tlHour i{display:grid;place-items:center;flex:none;width:34px;height:34px;color:#cda10c}
.tlHour svg,.tlT svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tlHour small,.tlT small{display:block;font-size:11px;color:#6e5405;text-transform:uppercase;letter-spacing:.05em}
.tlHour strong{display:block;font-size:26px;line-height:1.15;color:#1d2939}
.tlArrow{align-self:center;flex:none;color:#cda10c;display:grid;place-items:center}.tlArrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tlTimes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:16px;border:1px solid #e4e6e9;border-radius:14px;overflow:hidden;background:#e4e6e9}
.tlT{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:18px 8px;background:#f8f9fb}
.tlT i{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fdf3d2;color:#6e5405}
.tlT strong{display:block;font-size:30px;line-height:1.1;color:#1d2939}
.tlT.tlTot{background:#fffaec}.tlT.tlMar{background:#fffdf5}.tlT.tlAtu small{color:#475467}
.tlSplit{display:flex;height:14px;border-radius:8px;overflow:hidden;margin-top:14px;background:#9aa3b0}
.tlSm{display:block;background:#cda10c}.tlSa{display:block}
@media(max-width:700px){
 .tlHours{flex-direction:column;gap:8px}.tlArrow{display:none}.tlHour{padding:12px 14px}.tlHour strong{font-size:24px}
 .tlTimes{grid-template-columns:1fr;gap:8px;border:0;border-radius:0;background:none;overflow:visible}
 .tlT{flex-direction:row;text-align:left;gap:12px;padding:14px 16px;border:1px solid #e4e6e9;border-radius:14px}
 .tlT.tlTot{border-color:#f0e2b0}.tlT.tlMar{border-color:#e9d89a}
 .tlT i{width:34px;height:34px;background:#fdf3d2}.tlT strong{font-size:26px}
 .tlSplit{display:none}}

.tlA{margin-top:18px}
.tlTimes+.tlSplit+.tlA{margin-top:22px}

/* Mòbil: marxa/aturades i arribada/posta en una línia */
@media(max-width:700px){
.tlTimes{grid-template-columns:1fr 1fr!important}
.tlT.tlTot{grid-column:1/-1}
.tlT{flex-direction:column!important;text-align:center!important;gap:6px!important;padding:14px 8px!important}
.tlT.tlTot{flex-direction:row!important;text-align:left!important;gap:12px!important;padding:14px 16px!important}
.tlT i{width:36px!important;height:36px!important}.tlT strong{font-size:22px!important}
.tlHours{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
.tlHours.tl3 .tlHour:first-of-type{grid-column:1/-1}
.tlHour{flex-direction:column;text-align:center;gap:6px;padding:12px 8px!important}
.tlHours.tl3 .tlHour:first-of-type{flex-direction:row;text-align:left;gap:12px;padding:12px 14px!important}
.tlHour strong{font-size:22px!important}
}

/* Lloc i hora de sortida: mig per lloc, mig per data i hora */
.routeStart .startGrid2{display:grid;grid-template-columns:1fr 1fr;align-items:start}
.routeStart .startGrid2.one{grid-template-columns:1fr}
.routeStart .startHalf{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:22px 18px;min-width:0}
.routeStart .startHalf+.startHalf{border-left:2px dashed #eadfbe}
.routeStart .startHalf>i{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#fff4d6;color:#a8820a;margin-bottom:2px}
.routeStart .startHalf>i svg{width:26px;height:26px}
.routeStart .startHalf>small{font-size:11px;font-weight:700;color:#6e5405;letter-spacing:.06em;text-transform:uppercase}
.routeStart .startHalf>strong{font-size:21px;line-height:1.25;overflow-wrap:anywhere}
.routeStart .startHalf .startBtns{display:block;width:100%;max-width:300px;margin-top:12px;position:relative}
body.pb .routeStart .startHalf a.startMap{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;max-width:300px;min-height:48px;margin:12px 0 0!important;padding:10px 20px;box-sizing:border-box;background:#fffaec!important;color:#6e5405!important;border:2px solid #cda10c!important;border-radius:10px;font-weight:700;text-decoration:none}
body.pb .routeStart .startHalf .startBtns>button.startRemind{width:100%;height:auto;min-height:48px!important;border:2px solid #cda10c!important;border-radius:10px;font-weight:700}
.routeStart .startHalf .startMenu{margin-top:8px;text-align:left}
@media(max-width:700px){
  .routeStart .startGrid2{grid-template-columns:1fr}
  .routeStart .startHalf{padding:18px 16px}
  .routeStart .startHalf+.startHalf{border-left:0;border-top:2px dashed #eadfbe}
  .routeStart .startHalf>strong{font-size:19px}
  body.pb .routeStart .startHalf a.startMap,.routeStart .startHalf .startBtns{max-width:none}
}

/* Horari: sortida → arribada, barra de dia i nit i tram de l'activitat */
.tlDay{position:relative;margin:18px 10px 0;padding-top:58px}
.tlSun{position:absolute;top:0;width:44px;margin-left:-22px;text-align:center}
.tlSun svg{width:44px;height:44px;display:block;stroke-width:1.7}
.tlSun i{display:block;width:2px;height:12px;background:currentColor;margin:2px auto 0}
.tlSunUp{color:#8a6a00}.tlSunDn{color:#8c8678}.tlSun.warn{color:#b42318}
.tlTrack{position:relative;height:36px;border-radius:12px;margin:14px 0 28px}
.tlBg{position:absolute;inset:0;border-radius:12px;filter:saturate(.75);opacity:.9;box-shadow:inset 0 0 0 1px #0000001a;background:#fff2c2}
.tlAct{position:absolute;top:-9px;bottom:-9px;border-radius:14px;border:4px solid #fff;background:linear-gradient(#f0c534,#b88a00);box-shadow:0 6px 16px #0005,0 0 0 1px #b88a0066;box-sizing:border-box}
.tlWarn.tlDanger{background:#fef3f2;color:#b42318;font-weight:600;margin:0 0 14px}
.tlTimes{margin-top:0}
.tlHours.tl2{margin-top:0}
@media(max-width:700px){
.tlHours.tl2{display:flex!important;flex-direction:row!important;align-items:stretch;gap:6px;grid-template-columns:none}
.tlHours.tl2 .tlArrow{display:grid!important}.tlHours.tl2 .tlArrow svg{width:18px;height:18px}
.tlHours.tl2 .tlHour{flex-direction:row!important;text-align:left!important;gap:8px!important;padding:10px 12px!important;flex:1;min-width:0}
.tlHours.tl2 .tlHour i{width:26px;height:26px}.tlHours.tl2 .tlHour svg{width:20px;height:20px}
.tlHours.tl2 .tlHour strong{font-size:22px!important}.tlHours.tl2 .tlHour small{letter-spacing:.02em}
.tlDay{padding-top:46px;margin:14px 6px 0}.tlSun{width:36px;margin-left:-18px}.tlSun svg{width:36px;height:36px}
}
@media print{.tlAct{box-shadow:none}}
/* Material i Avisos: comptadors, valors i llista plegable */
.routeSheetTitle .n{display:inline-block;margin-left:8px;min-width:22px;text-align:center;font-size:12px;line-height:1.5;font-weight:700;letter-spacing:0;background:#cda10c;color:#fff;border-radius:999px;padding:1px 8px;vertical-align:1px}
.matMore>summary{list-style:none;cursor:default;pointer-events:none}.matMore>summary::-webkit-details-marker{display:none}
.matMore>summary.routeSheetTitle .n{background:#e4e6e9;color:#475467}
.matLi .matVal{display:none}
@media(max-width:700px){
body.pb .matSnow{display:flex;width:100%;margin:0 0 16px;border-radius:12px}
body.pb .matSnow span{flex:1;text-align:center;padding:11px 8px;font-size:15px}
body.pb #publicMaterial .matLst{display:block;margin:0}
body.pb #publicMaterial .matLi{display:flex;align-items:center;gap:12px;padding:9px 14px;min-width:0}
body.pb #publicMaterial .matLi i{flex:none;width:34px;height:34px}body.pb #publicMaterial .matLi i svg{width:18px;height:18px}
body.pb #publicMaterial .matLi strong{font-size:16px;line-height:1.2;color:#111;font-weight:700}

body.pb #publicMaterial .matLi .matVal{display:inline-flex;margin-left:auto;flex:none;font-weight:700;font-size:14.5px;color:#6e5405;background:#fbf3d6;border:1px solid #ecd68a;border-radius:999px;padding:4px 11px;white-space:nowrap}
body.pb .matMore{border:1px solid #e4e6e9;border-radius:14px;background:#fff;overflow:hidden;margin-top:18px}
body.pb .matMore>summary{pointer-events:auto;cursor:pointer;display:flex;align-items:center;margin:0;padding:14px;font-size:15px;font-weight:700;color:#6e5405;text-transform:none;letter-spacing:0;white-space:nowrap}
body.pb .matMore>summary:after{content:"";margin-left:auto;flex:none;width:10px;height:10px;border-right:2px solid #6e5405;border-bottom:2px solid #6e5405;transform:rotate(45deg);transition:transform .15s}
body.pb .matMore[open]>summary:after{transform:rotate(-135deg)}
body.pb .matMore .matLst{border:0;border-top:1px solid #eef0f3;border-radius:0}
body.pb #publicNotice .matLi{display:block;padding:14px 16px}
body.pb #publicNotice .matLi i{float:left;width:34px;height:34px;margin:0 12px 0 0}
body.pb #publicNotice .matLi i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.pb #publicNotice .matLi strong{display:flex;align-items:center;min-height:34px;font-size:16.5px;font-weight:700;color:#111}
body.pb #publicNotice .matLi small{display:block;clear:both;margin-top:10px;font-size:15px;line-height:1.55;color:#344054;text-align:justify!important;hyphens:auto;-webkit-hyphens:auto}
}
/* Horari: barra de la mateixa alçada que la de temperatura i símbols de sol més petits */
.tlTrack{height:12px!important;border-radius:8px!important;margin:10px 0 22px!important}
.tlBg{border-radius:8px!important;filter:saturate(.8)!important;opacity:1!important}
.tlAct{top:0!important;bottom:0!important;border:0!important;border-radius:8px!important;box-shadow:0 0 0 2px #fff,0 0 0 3px #b88a00,0 3px 8px #0003!important;background:linear-gradient(#f0c534,#b88a00)!important}
.tlDay{padding-top:34px!important;margin:10px 8px 0!important}
.tlSun{width:24px!important;margin-left:-12px!important}
.tlSun svg{width:24px!important;height:24px!important;stroke-width:1.9!important}
.tlSun i{height:8px!important;width:2px!important;margin:1px auto 0!important}
/* Material complementari: mateixa alçada que una fila de material */
body.pb .matMore>summary{min-height:50px;box-sizing:border-box;padding-top:9px;padding-bottom:9px}
body.pb .matMore{padding:0}
/* Lloc i hora de sortida: mateix espai superior i inferior que la resta de targetes */
.routeStart .startHalf{padding-top:0;padding-bottom:0}
@media(max-width:700px){.routeStart .startHalf:not(:last-child){padding-bottom:18px}.routeStart .startHalf+.startHalf{padding-top:18px}}
/* Material complementari a pantalla gran: sense el requadre genèric de <details> */
.matMore{border:0;border-radius:0;margin:0;padding:0;background:none}
/* Material complementari desplegable també a pantalla gran */
body.pb .matMore{border:1px solid #e4e6e9;border-radius:14px;background:#fff;overflow:hidden;margin-top:18px}
body.pb .matMore>summary{pointer-events:auto;cursor:pointer;display:flex;align-items:center;margin:0;padding:9px 14px;min-height:50px;box-sizing:border-box;font-size:15px;font-weight:700;color:#6e5405;text-transform:none;letter-spacing:0;white-space:nowrap}
body.pb .matMore>summary:hover{background:#fffaf0}
body.pb .matMore>summary:after{content:"";margin-left:auto;flex:none;width:10px;height:10px;border-right:2px solid #6e5405;border-bottom:2px solid #6e5405;transform:rotate(45deg);transition:transform .15s}
body.pb .matMore[open]>summary:after{transform:rotate(-135deg)}
body.pb .matMore .matLst{border:0;border-top:1px solid #eef0f3;border-radius:0;margin:0}

/* Previsió del temps — tema nocturn (fitxa pública) */
body.pb.pbNight .routeWeather .wxRt,body.pb.pbNight .routeWeather .wxTm{background:#2a2820;border:1px solid #3a382f}
body.pb.pbNight .routeWeather .wxCi,body.pb.pbNight .routeWeather .wxCi.wxLb,body.pb.pbNight .routeWeather .wxCi.wxLm,body.pb.pbNight .routeWeather .wxCi.wxLa{background:transparent;color:#e2b92a;width:26px;height:26px}
body.pb.pbNight .routeWeather .wxCi.wxLm{color:#f2c230}
body.pb.pbNight .routeWeather .wxCi.wxLa{color:#ff8478}
body.pb.pbNight .routeWeather .wxRt strong{color:#fff}
body.pb.pbNight .routeWeather .wxV{color:#fff;font-weight:800}
body.pb.pbNight .routeWeather .wxPl,body.pb.pbNight .routeWeather .wxPl.wxLb{background:#3a382f;color:#d8d4c6}
body.pb.pbNight .routeWeather .wxPl.wxLm{background:#3b2f12;color:#ffd75a;box-shadow:inset 0 0 0 1px #6e5d14}
body.pb.pbNight .routeWeather .wxPl.wxLa{background:#3d1f1c;color:#ff9a8f;box-shadow:inset 0 0 0 1px #7a2a22}
body.pb.pbNight .routeWeather .wxVer{background:#1f2a21;border:1px solid #2f5a37;color:#d8d4c6}
body.pb.pbNight .routeWeather .wxVer.wxLm{background:#2a2820;border-color:#6e5d14}
body.pb.pbNight .routeWeather .wxVer.wxLa{background:#2e1b19;border-color:#7a2a22}
body.pb.pbNight .routeWeather .wxVer>span{color:#d8d4c6}
body.pb.pbNight .routeWeather .wxVer>span:first-child{color:#6fd58a;flex:none}
body.pb.pbNight .routeWeather .wxVer.wxLm>span:first-child{color:#f2c230}
body.pb.pbNight .routeWeather .wxVer.wxLa>span:first-child{color:#ff8478}
body.pb.pbNight .routeWeather .wxVer b{color:#fff}
body.pb.pbNight .routeWeather .wxX{color:#fff}
body.pb.pbNight .routeWeather .wxX small{color:#b9b4a4}
body.pb.pbNight .routeWeather .wxTtl{color:#d8d4c6}
body.pb.pbNight .routeWeather .wxBar{height:8px;border-radius:99px;background:linear-gradient(90deg,#4aa3ff,#6fd58a,#f2c230,#f08a24)}
body.pb.pbNight .routeWeather .tlNote{color:#b9b4a4}
body.pb.pbNight .routeWeather p.tlWarn{background:#2a2820!important;color:#ffd75a!important;border:1px solid #6e5d14}
/* Els dos botons (Meteocat / Windy) sempre un al costat de l'altre dins la targeta del temps */
@media(max-width:560px){.routeWeather .tlWx{grid-template-columns:1fr 1fr}.routeWeather .tlWx .routeButton{padding-left:8px;padding-right:8px}}

/* Avisos oficials de Meteocat dins la targeta del temps */
.avHead{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#667085}
.avHead b{color:#6e5405}.avHead span{font-weight:600;text-transform:none;letter-spacing:0}
.av{position:relative;border:1px solid #e4e6e9;border-radius:12px;padding:11px 12px 11px 16px;background:#fff}
.av:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;border-radius:12px 0 0 12px;background:#f2c230}
.av.o:before{background:#f08a24}.av.r:before{background:#e5484d}
.av h4{margin:0;font-size:16px;display:flex;justify-content:space-between;gap:8px;align-items:center}
.av h4 em{font-style:normal;font-size:12px;font-weight:800;padding:3px 8px;border-radius:99px;background:#f2c230;color:#1b1a17;white-space:nowrap}
.av.o h4 em{background:#f08a24}.av.r h4 em{background:#e5484d;color:#fff}
.av p{margin:4px 0 0;font-size:13.5px;line-height:1.4;color:#475467}.av p.avD{font-size:12.5px;color:#667085}
.avHit{display:inline-block;margin-top:7px;font-size:12px;font-weight:700;color:#6e5405;border:1px solid #cda10c;border-radius:99px;padding:3px 9px}
.avOk{display:flex;gap:12px;align-items:flex-start;border:1px solid #bfe3c9;background:#e7f6ec;border-radius:12px;padding:12px;color:#1d6b3f}
.avOk svg{flex:none}.avOk b{display:block;font-size:15px}.avOk span{font-size:13px;line-height:1.4}
.avFb{margin:0;border:1px solid #e4e6e9;border-radius:12px;padding:11px 12px;font-size:13px;line-height:1.4;color:#475467}
.avSrc{margin:10px 2px 0;font-size:11.5px;color:#667085}
.wxBody>.avHead+.av,.wxBody>.av+.av{margin-top:-6px}
.wxCi:not([class*=wxL]){background:#f3efe2;color:#6e5405}
body.pb.pbNight .routeWeather .avHead{color:#b9b4a4}
body.pb.pbNight .routeWeather .avHead b{color:#e2b92a}
body.pb.pbNight .routeWeather .av{background:#2a2820;border-color:#6e5d14}
body.pb.pbNight .routeWeather .av.o{border-color:#7a4a14}
body.pb.pbNight .routeWeather .av.r{border-color:#7a2a22}
body.pb.pbNight .routeWeather .av h4,body.pb.pbNight .routeWeather .av h4 span{color:#fff}
body.pb.pbNight .routeWeather .av h4 em{color:#1b1a17}
body.pb.pbNight .routeWeather .av.r h4 em{color:#fff}
body.pb.pbNight .routeWeather .av p{color:#d8d4c6}
body.pb.pbNight .routeWeather .av p.avD{color:#b9b4a4}
body.pb.pbNight .routeWeather .avHit{color:#ffd75a;border-color:#6b5614;background:transparent}
body.pb.pbNight .routeWeather .avOk{background:#1f2a21;border-color:#2f5a37}
body.pb.pbNight .routeWeather .avOk svg{color:#6fd58a}
body.pb.pbNight .routeWeather .avOk b{color:#fff}
body.pb.pbNight .routeWeather .avOk span{color:#c7d6c9}
body.pb.pbNight .routeWeather .avFb{background:#2a2820;border-color:#3a382f;color:#d8d4c6}
body.pb.pbNight .routeWeather .avSrc{color:#8f8a7a}
body.pb.pbNight .routeWeather .wxCi:not([class*=wxL]){background:transparent;color:#e2b92a}

/* Horari de la sortida · part inferior compacta: una franja de 3 cel·les amb la icona dins un cercle */
body.pb .routeSchedule .tlTimes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin-top:12px!important;border:1px solid #e4e6e9!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important}
body.pb .routeSchedule .tlT,body.pb .routeSchedule .tlT.tlTot,body.pb .routeSchedule .tlT.tlMar,body.pb .routeSchedule .tlT.tlAtu{grid-column:auto!important;display:grid!important;grid-template-columns:auto auto!important;grid-template-areas:"i l" "i v"!important;justify-content:center!important;align-items:center!important;column-gap:10px!important;row-gap:0!important;text-align:left!important;padding:8px 8px!important;border:0!important;border-radius:0!important;background:#f8f9fb!important}
body.pb .routeSchedule .tlT.tlTot{background:#fffaec!important}
body.pb .routeSchedule .tlT+.tlT{border-left:1px solid #e4e6e9!important}
body.pb .routeSchedule .tlT i{grid-area:i!important;display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border-radius:50%!important;background:#fdf3d2!important;border:1px solid transparent!important;color:#6e5405!important}
body.pb .routeSchedule .tlT i svg{width:17px!important;height:17px!important}
body.pb .routeSchedule .tlT>span{display:contents!important}
body.pb .routeSchedule .tlT small{grid-area:l!important;font-size:10px!important;line-height:1.2!important;letter-spacing:.05em!important;margin:0!important}
body.pb .routeSchedule .tlT strong{grid-area:v!important;font-size:20px!important;line-height:1.15!important;margin:0!important}
@media(max-width:560px){
body.pb .routeSchedule .tlT,body.pb .routeSchedule .tlT.tlTot,body.pb .routeSchedule .tlT.tlMar,body.pb .routeSchedule .tlT.tlAtu{grid-template-columns:auto!important;grid-template-areas:"i" "v" "l"!important;justify-items:center!important;row-gap:1px!important;padding:8px 3px!important;text-align:center!important}
body.pb .routeSchedule .tlT i{width:28px!important;height:28px!important}
body.pb .routeSchedule .tlT i svg{width:15px!important;height:15px!important}
body.pb .routeSchedule .tlT strong{font-size:19px!important}
body.pb .routeSchedule .tlT small{font-size:9.5px!important;letter-spacing:.03em!important;white-space:nowrap}}
body.pb.pbNight .routeSchedule .tlTimes{background:#1d1d1a!important;border:1px solid #3a382f!important}
body.pb.pbNight .routeSchedule .tlT,body.pb.pbNight .routeSchedule .tlT.tlMar,body.pb.pbNight .routeSchedule .tlT.tlAtu{background:transparent!important}
body.pb.pbNight .routeSchedule .tlT.tlTot{background:#2a2412!important}
body.pb.pbNight .routeSchedule .tlT+.tlT{border-left:1px solid #3a382f!important}
body.pb.pbNight .routeSchedule .tlT i{background:transparent!important;border:1px solid #6b5614!important;color:#e2b92a!important}

/* Lloc i hora: les dues meitats s'alineen encara que el lloc ocupi dues línies (v44) */
.routeStart .startGrid2{align-items:stretch}
.routeStart .startHalf>strong{flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-height:56px;font-size:19px;line-height:1.25}
@media(max-width:700px){.routeStart .startHalf>strong{flex:none;min-height:0;font-size:18px}}

/* v23 material: blocs temàtics, notes visibles i resum no clicable */
.matGroup{margin:16px 0 6px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#6e5405;font-weight:700}
.matCtx{margin:0 0 14px;padding:10px 14px;border:1px solid #e4e6e9;border-radius:12px;background:#fff;color:#475467;font-size:14px}.matCtx b{color:#6e5405}
body.pb #publicMaterial .matLi{display:grid;grid-template-columns:34px minmax(0,1fr) auto;column-gap:12px;row-gap:2px;align-items:center}
body.pb #publicMaterial .matLi i{grid-row:1/3;grid-column:1;align-self:start}
body.pb #publicMaterial .matLi strong{grid-column:2;grid-row:1}
body.pb #publicMaterial .matLi small{display:block;grid-column:2;grid-row:2;font-size:13.5px;line-height:1.35;color:#475467}
body.pb #publicMaterial .matLi small:empty{display:none}
body.pb #publicMaterial .matLi .matVal{grid-column:3;grid-row:1/3;margin-left:0;align-self:center}
body.pb #publicMaterial .matLi:not(:has(small:not(:empty))) i{grid-row:1;align-self:center}
body.pb #publicMaterial .matGroup{margin:18px 0 8px}
body.pb #publicMaterial .matCtx{display:block}
@media print{.matGroup{break-after:avoid}}
body.pb #publicMaterial .matLi small{text-align:left!important;hyphens:manual!important;-webkit-hyphens:manual!important}

/* v24 checklist «ja ho tinc» (fitxa pública) */
.matCnt{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:10px 14px;border:1px solid #e4e6e9;border-radius:12px;background:#fff;color:#475467;font-size:14px}
.matCnt b{color:#6e5405}.matCntBar{flex:1;height:6px;border-radius:3px;background:#e4e6e9;overflow:hidden}.matCntBar i{display:block;height:100%;background:#cda10c;width:0}
.matCntReset{background:none;border:0;color:#6e5405;text-decoration:underline;font:inherit;cursor:pointer;padding:0;min-height:36px}
.matW0{width:0}.matW10{width:10%}.matW20{width:20%}.matW30{width:30%}.matW40{width:40%}.matW50{width:50%}.matW60{width:60%}.matW70{width:70%}.matW80{width:80%}.matW90{width:90%}.matW100{width:100%}
.matChk{flex:none;width:26px;height:26px;border-radius:50%;border:2px solid #b8962e;display:grid;place-items:center;align-self:center;grid-column:4;grid-row:1/3}
.matChk.on{background:#cda10c;border-color:#cda10c}.matChk.on:after{content:"";width:6px;height:11px;border:solid #1c1600;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}
#publicMaterial .matLi[role=checkbox]{cursor:pointer;-webkit-tap-highlight-color:transparent}
#publicMaterial .matLi[role=checkbox]:focus-visible{outline:2px solid #cda10c;outline-offset:-2px}
#publicMaterial .matLi.matDone strong{text-decoration:line-through;opacity:.6}#publicMaterial .matLi.matDone small{opacity:.55}
body.pb #publicMaterial .matLi{grid-template-columns:34px minmax(0,1fr) auto auto}
body.pb #publicMaterial .matLi .matChk{margin-left:8px}
@media print{.matCnt,.matChk{display:none!important}.matDone strong{text-decoration:none!important;opacity:1!important}}

/* v25 resum del material: càpsula de temperatura dins del quadre */
.matCtx{display:flex;align-items:center;justify-content:space-between;gap:12px;line-height:1.35}
.matCtxT{min-width:0}
.matT{flex:none;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid #cda10c;background:#fdf3d2;color:#1d2939;font-weight:700;font-size:16px;white-space:nowrap}
.matT svg{width:17px;height:17px;stroke:#6e5405;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Allaus (fitxa pública) */
.alWrap{margin:0 0 14px}.alH{margin:0 0 8px;font-size:15px;color:#6e5405}
.alBox{margin:0 0 10px;padding:12px 14px;border:1px solid #e4e6e9;border-radius:12px;background:#fff;color:#475467;font-size:14px}
.alTop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.alT1{color:#253346}
.alCap{font-size:12px;padding:2px 9px;border-radius:99px;background:#eef0f3;color:#475467}
.alScale{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:6px}
.alL{font-style:normal;text-align:center;padding:5px 0;border-radius:6px;font-size:13px;font-weight:700;color:#475467;opacity:.45;border:2px solid transparent}
.alL1{background:#c5e8a0}.alL2{background:#fff176}.alL3{background:#ffb74d}.alL4{background:#ef5350;color:#fff}.alL5{background:#212121;color:#fff}
.alL.on{opacity:1;border-color:#253346}
.alLvl{font-weight:700;font-size:16px;margin:2px 0 6px;color:#253346}
.alSm{font-size:12.5px;line-height:1.4;color:#667085;margin:4px 0}
.alZ{margin:4px 0;padding-left:18px;font-size:13px}
.alLnk{display:inline-block;margin-top:6px;font-size:13px;font-weight:700;color:#8a6a06}
.alBar{display:flex;height:14px;border-radius:7px;overflow:hidden;background:#e4e6e9;margin:2px 0 8px}
.alBar b{display:block;height:100%}
.alN{background:#cfd4da}.alA{background:#ffb74d}.alB{background:#ef5350}.alC{background:#6a1b9a}
.alLg{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;margin-bottom:4px}
.alLg span{display:inline-flex;align-items:center;gap:5px;background:none}.alLg span:before{content:"";width:10px;height:10px;border-radius:3px;background:inherit;display:inline-block}
.alLg .alN:before{background:#cfd4da}.alLg .alA:before{background:#ffb74d}.alLg .alB:before{background:#ef5350}.alLg .alC:before{background:#6a1b9a}
.alLg span{background:none!important}
.alWarn{margin:0 0 10px;padding:10px 12px;border-radius:10px;background:#fff4d6;border:1px solid #e8c24a;color:#6a4a00;font-size:13.5px;line-height:1.4}
body.pb.pbNight .alBox{background:#201e18;border-color:#5a5440;color:#d8d4c6}
body.pb.pbNight .alH{color:#f4bc29}body.pb.pbNight .alT1,body.pb.pbNight .alLvl{color:#f3efe2}
body.pb.pbNight .alCap{background:#35311f;color:#d8d4c6}body.pb.pbNight .alSm{color:#b9b49f}
body.pb.pbNight .alLnk{color:#f4bc29}body.pb.pbNight .alL.on{border-color:#f3efe2}
body.pb.pbNight .alBar{background:#35311f}
body.pb.pbNight .alWarn{background:#3a2f0c;border-color:#8a6a06;color:#ffe08a}
body.pb.pbNight .alL5{background:#4a4a4a;color:#fff}
@media(max-width:700px){body.pb #publicNotice .matLi small{text-align:left!important;hyphens:manual!important;-webkit-hyphens:manual!important}}

/* Símbols del resum del material */
.matSymD{flex:1;min-width:0}.matSyRow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;cursor:pointer;list-style:none}.matSyRow::-webkit-details-marker{display:none}
.matSy{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;border:1px solid #d0d5dd;background:#fff;color:#475467;flex:none}
.matSy.g{color:#8a6700;border-color:#cda10c}.matSy.w{color:#b42318;border-color:#e0968d}
.matLeg{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #e4e6e9;font-size:13.5px}
.matLgR{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center}.matLgR small{color:#667085}
.matRk{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 11px;border-radius:12px;border:1px solid #e0a040;background:#fff4d6;color:#8a5a00;font-weight:700;font-size:14px}
.matRk.matRk1{background:#e3f4e5;border-color:#9ad0a2;color:#1f6b2c}.matRk.matRk2{background:#fff9c4;border-color:#d9c84a;color:#6a5b00}.matRk.matRk4,.matRk.matRk5{background:#fde2de;border-color:#e0968d;color:#8f1d12}
body.pb.pbNight .matSy{background:#201e18;border-color:#5a5440;color:#d8d4c6}
body.pb.pbNight .matSy.g{color:#f4bc29;border-color:#8f7633}body.pb.pbNight .matSy.w{color:#ff8478;border-color:#a8483f}
body.pb.pbNight .matLeg{border-top-color:#5a5440;color:#d8d4c6}body.pb.pbNight .matLgR small{color:#b9b49f}
body.pb.pbNight .matRk{background:#3a2a10;border-color:#a8610f;color:#ffb74d}
body.pb.pbNight .matRk.matRk1{background:#16301b;border-color:#3f7a49;color:#9fe0a8}body.pb.pbNight .matRk.matRk2{background:#3a3610;border-color:#8a8020;color:#f0e27a}
body.pb.pbNight .matRk.matRk4,body.pb.pbNight .matRk.matRk5{background:#3d1612;border-color:#a8483f;color:#ff8478}
body.pb #publicMaterial .matCtx{align-items:flex-start}

/* v45: icones obertes + píndoles de temperatura i risc a la mateixa fila */
.matSy{width:40px;height:40px}
.matPill{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 12px;border-radius:12px;border:1px solid;font-weight:700;font-size:14px;white-space:nowrap}
.matPill svg{flex:none}
.matTp_cold{background:#e6f1fb;border-color:#7fb0d9;color:#1d5f94}.matTp_mild{background:#f4f4f1;border-color:#c9c5b3;color:#4a4636}.matTp_hot{background:#fff0dc;border-color:#e0a040;color:#8a5a00}
.matRk{height:40px;padding:0 12px}
body.pb.pbNight .matTp_cold{background:#10263a;border-color:#3f7aa8;color:#8fcaf5}body.pb.pbNight .matTp_mild{background:#242018;border-color:#6d6648;color:#e6e0c8}body.pb.pbNight .matTp_hot{background:#3a2410;border-color:#a8610f;color:#ffb74d}
body.pb #publicMaterial .matCtx .matT{display:none}
body.pb.pbNight #publicMaterial .matCtx .matRk{color:#ffb74d}
body.pb.pbNight #publicMaterial .matCtx .matRk1{color:#9fe0a8}body.pb.pbNight #publicMaterial .matCtx .matRk2{color:#f0e27a}body.pb.pbNight #publicMaterial .matCtx .matRk4,body.pb.pbNight #publicMaterial .matCtx .matRk5{color:#ff8478}
body.pb.pbNight #publicMaterial .matCtx .matTp_cold{color:#8fcaf5}body.pb.pbNight #publicMaterial .matCtx .matTp_mild{color:#e6e0c8}body.pb.pbNight #publicMaterial .matCtx .matTp_hot{color:#ffb74d}
body.pb.pbNight #publicMaterial .matCtx .matSy.g{color:#f4bc29}body.pb.pbNight #publicMaterial .matCtx .matSy.w{color:#ff8478}
.matSyRow{outline:none}.matSyRow:focus-visible{outline:2px solid #cda10c;outline-offset:3px;border-radius:12px}body.pb #publicMaterial .matSymD,body.pb #publicMaterial .matSymD[open]{border:0;padding:0;margin:0;background:none}
@media(max-width:700px){body.pb #publicMaterial .matLi .matVal{display:none!important}}
