/* HazırYük map-first home v1.0
   Map -> intent -> plan -> load cards. Underlying pilot matching/commerce unchanged. */
.ry-home{max-width:1120px;margin:0 auto;display:flex;flex-direction:column;gap:20px;min-width:0;padding-bottom:16px}
.ry-home-map-section,.ry-home-plan,.ry-home-intent,.ry-home-list{min-width:0}
.ry-home-map-section{order:0}
.ry-home-section-header,.ry-home-plan-head,.ry-home-list-head{
 display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 14px;
}
.ry-home-kicker{color:#009d93;font-size:10px;font-weight:850;letter-spacing:.9px;text-transform:uppercase;display:flex;align-items:center;gap:5px}
.ry-home-kicker svg{width:15px;height:15px}
.ry-home h1{font:800 clamp(23px,2.5vw,34px)/1.2 Manrope,'DM Sans',sans-serif;color:#0b314b;letter-spacing:-.8px;margin:5px 0 6px}
.ry-home h2{font:800 clamp(19px,2vw,25px)/1.2 Manrope,'DM Sans',sans-serif;color:#0b314b;letter-spacing:-.6px;margin:5px 0}
.ry-home-section-header p,.ry-home-plan-head p{font-size:13px;color:#698091;line-height:1.45;margin:0}
.ry-home-locate{flex-shrink:0;border-radius:12px;background:#e5f8f6;border:1px solid #a6e3db;color:#007c76;min-height:45px;padding:10px 15px;font-weight:850;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.ry-home-locate:hover{background:#cff3ee}
.ry-home-locate svg{width:19px;height:19px}
.ry-home .ry-home-map{
 width:100%;height:clamp(310px,40vw,460px);min-height:310px;position:relative;top:auto!important;
 border:1px solid #d2e3eb;border-radius:18px;background:#e2f0f3;box-shadow:0 8px 30px #103d571b;overflow:hidden
}
.ry-home .ry-home-map #map{width:100%;height:100%;min-height:100%;position:relative}
.ry-home .ry-home-map .map-top{left:15px;right:15px;top:15px;display:flex;justify-content:space-between;pointer-events:none;z-index:500}
.ry-home .ry-home-map .map-top .map-chip{padding:9px 11px;max-width:min(70%,330px);white-space:normal;line-height:1.35;box-shadow:0 3px 10px #193c4b14;background:#fff}
.ry-home .ry-home-map .map-tools{pointer-events:auto}
.ry-home-map-foot{position:absolute;bottom:13px;left:15px;right:15px;z-index:520;display:flex;justify-content:space-between;align-items:center;gap:8px;pointer-events:none}
.ry-home-map-foot span{display:inline-flex;align-items:center;gap:5px;background:#ffffffee;border:1px solid #d8e8ea;border-radius:12px;padding:9px 12px;color:#3f5e70;font-size:11px;box-shadow:0 3px 12px #103d5724}
.ry-home-map-foot b{color:#006f6a;font-weight:900}
.ry-home .map-panel.map-fallback-active>.ry-home-map-foot{visibility:hidden}
.ry-home-hint{font-size:11px;color:#6e8492;line-height:1.55;margin:8px 3px 0;display:flex;align-items:flex-start;gap:6px}
.ry-home-hint svg{width:14px;height:14px;flex-shrink:0;margin-top:2px}
.ry-home-intent,.ry-home-plan,.ry-home-list{
 background:#fff;border:1px solid #dce9ef;border-radius:17px;box-shadow:0 3px 14px #0936530c;
}
.ry-home-intent{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px}
.ry-home-intent>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.ry-home-intent strong{font-size:16px;font-weight:850;color:#0b304a}
.ry-home-intent span{font-size:12px;color:#6b8290;line-height:1.4}
.ry-home-intent-actions{display:flex;flex-wrap:wrap;gap:7px;flex-shrink:0}
.ry-home-intent-actions button{min-height:43px;padding:9px 12px;border:1px solid #c8dde5;border-radius:10px;display:inline-flex;align-items:center;gap:6px;background:#f7fafc;color:#2a5262;font-size:12px;font-weight:800}
.ry-home-intent-actions button svg{width:17px;height:17px}
.ry-home-intent-actions button.active{border-color:#009e95;background:#def7f4;color:#007b74}
.ry-home-plan,.ry-home-list{padding:22px 24px}
.ry-home-plan-head{margin-bottom:15px}
.ry-home-minimal-action{display:inline-flex;align-items:center;gap:5px;color:#00867f;font-size:12px;font-weight:850;min-height:42px;padding:7px 8px;white-space:nowrap}
.ry-home-minimal-action svg{width:17px;height:17px}
.ry-home-route{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:end;gap:10px;margin-bottom:12px}
.ry-home-route-arrow{color:#00a99c;display:grid;place-items:center;height:46px}
.ry-home-route-arrow svg{height:20px;width:20px}
.ry-home-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:850;color:#405d70;min-width:0}
.ry-home-field input,.ry-home-field select{box-sizing:border-box;width:100%;min-width:0;min-height:49px;border:1px solid #d1e1e8;border-radius:10px;padding:10px 12px;background:#f7fafc;color:#12374d;font:600 14px/1.2 'DM Sans',sans-serif;outline-offset:2px}
.ry-home-field input:focus,.ry-home-field select:focus{border-color:#00ab9e;outline:2px solid #a2ece1}
.ry-home-time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 14px}
.ry-home-time-grid input{min-width:0;max-width:100%;font-variant-numeric:tabular-nums;font-size:13px}
.ry-home-plan-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ry-home-plan-actions button{min-height:46px}
.ry-home-plan-actions span{font-size:11px;color:#79919e}
.ry-home-capacity{display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#f1faf9;border:1px solid #dfefec;border-radius:10px;padding:10px 13px;margin-top:16px;font-size:12px;color:#476878}
.ry-home-capacity>svg{width:21px;height:21px;color:#008d86}
.ry-home-capacity strong{color:#12394a}
.ry-home-capacity button{margin-left:auto;color:#007e79;font-weight:850;font-size:12px;min-height:36px;padding:5px}
.ry-home-list-head{margin-bottom:15px}
.ry-home-search{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#f8fbfc;border:1px solid #e1ebef;box-shadow:none}
.ry-home-search .tabs{display:flex;flex-wrap:wrap}
.ry-home-search .searchbox{flex:1;min-width:200px}
.ry-home-results-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0 10px}
.ry-home-results-head>span{margin-right:auto}
.ry-home .ry-home-workspace{display:block!important;min-height:0;margin:0!important}
.ry-home .ry-home-workspace .results{width:100%;display:block!important;min-width:0}
.ry-home .ry-home-workspace .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:0}
.ry-home .ry-home-workspace .load-card{background:#fff;border:1px solid #dbe8ed;border-radius:13px;margin:0;padding:15px;min-width:0}
.ry-home .ry-home-workspace .card-route{font-size:16px}
.ry-home .ry-home-workspace .card-footer{gap:6px;flex-wrap:wrap}
.ry-home .ry-home-last-note{display:flex;align-items:center;gap:7px;font-size:11px;color:#758b9b;margin:0}
.ry-sr-only{position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);white-space:nowrap;overflow:hidden}
@media(max-width:900px){
 .ry-home-intent{flex-direction:column;align-items:stretch;gap:12px}
 .ry-home-intent-actions{flex:1;justify-content:stretch}
 .ry-home-intent-actions button{flex:1;justify-content:center}
}
@media(max-width:760px){
 .discover-content{display:block!important}
 .discover-content>.ry-home{order:0;width:100%;padding:0;gap:14px}
 .ry-home-section-header{gap:10px;margin-bottom:10px;align-items:flex-start}
 .ry-home h1{font-size:22px;margin:4px 0 4px}
 .ry-home h2{font-size:19px}
 .ry-home-section-header p{font-size:11px;line-height:1.5}
 .ry-home-locate{padding:8px 10px;min-height:40px;font-size:11px;border-radius:10px;max-width:120px;line-height:1.2}
 .ry-home-locate svg{width:16px;height:16px;flex-shrink:0}
 .ry-home .ry-home-map{height:clamp(310px,43dvh,460px);min-height:310px;position:relative;top:0}
 .ry-home .ry-home-map .map-top{top:10px;left:10px;right:10px}
 .ry-home .ry-home-map .map-chip{font-size:10px;max-width:58%}
 .ry-home-map-foot{bottom:9px;left:9px;right:9px}
 .ry-home-map-foot span{font-size:10px;padding:7px 9px}
 .ry-home-map-foot span:last-child{max-width:50%;line-height:1.25}
 .ry-home-intent{padding:14px;border-radius:13px}
 .ry-home-intent strong{font-size:14px}
 .ry-home-intent span{font-size:11px}
 .ry-home-intent-actions{gap:6px}
 .ry-home-intent-actions button{font-size:11px;min-width:0;padding:8px 6px}
 .ry-home-plan,.ry-home-list{padding:15px 13px;border-radius:13px}
 .ry-home-plan-head,.ry-home-list-head{align-items:flex-start;gap:4px;margin-bottom:12px}
 .ry-home-plan-head p{font-size:11px}
 .ry-home-minimal-action{font-size:10px;padding:5px;line-height:1.2;min-width:0}
 .ry-home-minimal-action svg{width:14px;height:14px}
 .ry-home-time-grid{grid-template-columns:1fr;gap:10px;margin-bottom:12px}
 .ry-home-route{gap:5px;grid-template-columns:minmax(0,1fr) 23px minmax(0,1fr)}
 .ry-home-route-arrow{height:43px}
 .ry-home-field{font-size:11px;gap:5px}
 .ry-home-field input,.ry-home-field select{font-size:16px;min-height:45px;padding:8px}
 .ry-home-plan-actions{gap:8px;flex-direction:column;align-items:stretch}
 .ry-home-plan-actions button{width:100%;min-height:48px}
 .ry-home-plan-actions span{font-size:10px;text-align:center}
 .ry-home-capacity{font-size:11px;gap:6px}
 .ry-home-capacity button{font-size:11px}
 .ry-home-search{gap:7px;flex-direction:column}
 .ry-home-search .tabs{width:100%;display:flex;gap:4px}
 .ry-home-search .tabs button{font-size:11px;flex:1;gap:4px;padding:8px 3px}
 .ry-home-search .searchbox{width:100%;min-width:0}
 .ry-home .ry-home-workspace .cards{grid-template-columns:1fr;gap:9px}
 .ry-home .ry-home-workspace .load-card{padding:12px}
 .ry-home-results-head{gap:8px}
 .ry-home-results-head .sort-select{min-height:39px}
 .ry-home .ry-home-last-note{line-height:1.6}
}
@media(max-width:340px){
 .ry-home-intent-actions{flex-direction:column}
 .ry-home-section-header{flex-direction:column}
 .ry-home-locate{max-width:none;width:100%}
 .ry-home .ry-home-map .map-chip{max-width:50%}
}
/* v1.1: decision first; the map is the immediate visual focus. */
.ry-home{gap:14px}
.ry-home>.ry-home-intent{margin-bottom:0}
.ry-home>.ry-home-map-section{margin-top:0}
.ry-home .ry-home-map{height:clamp(380px,47vw,530px);min-height:380px}
.ry-home .ry-home-locate{box-shadow:0 3px 12px #00b6ab18}
@media(max-width:760px){
 .ry-home{gap:10px}
 .ry-home>.ry-home-intent{margin-top:0}
 .ry-home>.ry-home-map-section{margin-top:2px}
 .ry-home .ry-home-map{height:clamp(355px,53dvh,520px);min-height:355px}
 .ry-home-intent-actions button{min-height:47px}
}


/* v1.2 — Independent suitable-loads Map/List view, following the shared filters. */
.ry-home .ry-results-switch{
 display:flex;align-items:center;gap:4px;background:#edf6f7;border:1px solid #d7e7eb;
 border-radius:12px;padding:4px;width:max-content;margin:0 0 13px;
}
.ry-home .ry-results-switch button{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 19px;
 min-height:43px;border-radius:9px;color:#426579;font-size:13px;font-weight:850;
}
.ry-home .ry-results-switch button svg{width:18px;height:18px}
.ry-home .ry-results-switch button.active{
 color:#fff;background:#008f88;box-shadow:0 2px 8px #004c4828;
}
.ry-home .ry-results-list[hidden],.ry-home .ry-results-map-wrap[hidden]{display:none!important}
.ry-home .ry-results-map-wrap{
 position:relative;display:block;isolation:isolate;height:clamp(340px,42vw,500px);min-height:340px;
 border:1px solid #c9dfe6;border-radius:15px;overflow:hidden;background:#e4f1f4;
 box-shadow:0 5px 20px #103c5413;
}
.ry-home .ry-results-map-wrap #load-results-map{
 width:100%;height:100%;min-height:340px;position:relative;background:#e4f1f4;
}
.ry-home .ry-results-map-wrap .leaflet-container{height:100%;width:100%;background:#e4f1f4}
.ry-home .ry-results-map-wrap .leaflet-tile-pane{filter:none!important}
.ry-home .ry-results-map-wrap .ry-map-schematic{z-index:650}
.ry-home .ry-results-map-wrap .ry-results-map-overlay{
 position:absolute;left:10px;bottom:10px;right:10px;z-index:550;
 display:flex;align-items:center;justify-content:space-between;gap:8px;
 pointer-events:none;
}
.ry-home .ry-results-map-overlay span{
 display:inline-flex;align-items:center;gap:6px;padding:8px 11px;
 background:#fffffff1;border:1px solid #d6e5eb;border-radius:9px;
 color:#275269;font-size:11px;font-weight:750;
 box-shadow:0 2px 9px #123a5414;
}
.ry-home .ry-results-map-overlay svg{width:16px;height:16px;color:#00877d}
.ry-home .ry-results-map-wrap.map-fallback-active .ry-results-map-overlay{display:none}
.ry-home .ry-results-map-wrap .leaflet-control-zoom{margin-top:15px;margin-left:15px;border-color:#d5e5e9}
.ry-home .ry-results-map-wrap .leaflet-control-zoom a{color:#0a3d4a}
@media(max-width:760px){
 .ry-home .ry-results-switch{width:100%;margin:0 0 10px}
 .ry-home .ry-results-switch button{flex:1;min-height:45px;font-size:12px}
 .ry-home .ry-results-map-wrap{height:clamp(340px,52dvh,500px);min-height:340px}
 .ry-home .ry-results-map-wrap #load-results-map{min-height:340px}
 .ry-home .ry-results-map-overlay span{font-size:10px;padding:7px}
 .ry-home .ry-results-map-overlay span:last-child{max-width:47%;line-height:1.2}
}
