/* v1.1.128 — Location deep-tools chooser owner + Phase 71 interaction states.
 * Purpose: make the location-page tool block answer “which tool should I open?”
 * without repeating the activity panel immediately above it. */
.ttv-location-tools{border-color:var(--ttv-location-border);background:var(--ttv-location-surface);box-shadow:none}
.ttv-location-tools__head{align-items:flex-end}
.ttv-location-tools__head>div{min-width:0}
.ttv-location-tools__head>div>p{max-width:72ch}
.ttv-location-tools__all{min-height:var(--ttv-control);display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:var(--ttv-blue-700);font-size:var(--ttv-text-sm);font-weight:700;white-space:nowrap}
.ttv-location-tools__all .ttv-icon{width:14px;height:14px}
.ttv-location-tools__all:hover,.ttv-location-tools__all:focus-visible{color:var(--ttv-blue-800);text-decoration:underline;text-underline-offset:3px}
.ttv-location-tools__all:active{color:var(--ttv-blue-700)}
.ttv-location-tools__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;align-items:stretch;border:1px solid var(--ttv-location-border);border-radius:var(--ttv-radius-sm);overflow:hidden}
.ttv-location-tool{min-width:0;min-height:120px;padding:14px;border:0;border-left:1px solid var(--ttv-line-soft);border-radius:0;background:var(--ttv-location-surface);display:grid;grid-template-columns:40px minmax(0,1fr) 16px;align-items:start;gap:10px;color:var(--ttv-ink);box-shadow:none;transition:background-color .15s ease,color .15s ease}
.ttv-location-tool:first-child{border-left:0}
.ttv-location-tool:hover,.ttv-location-tool:focus-visible{background:var(--ttv-location-hover);box-shadow:none}
.ttv-location-tool:active{background:var(--ttv-blue-soft)}
.ttv-location-tool:hover .ttv-location-tool__arrow,.ttv-location-tool:focus-visible .ttv-location-tool__arrow{color:var(--ttv-blue-700)}
.ttv-location-tool__icon{width:40px;height:40px;border-radius:var(--ttv-radius-xs);background:var(--ttv-blue-50);display:grid;place-items:center;color:var(--ttv-blue-700)}
.ttv-location-tool__icon .ttv-icon{width:20px;height:20px}
.ttv-location-tool__body{min-width:0;display:block}
.ttv-location-tool__when{display:block;margin-bottom:var(--ttv-space);color:var(--ttv-location-text-muted);font-size:var(--ttv-text-xs);line-height:1.35;font-weight:700}
.ttv-location-tool__body>strong{display:block;font-size:var(--ttv-text-md);line-height:1.35;letter-spacing:-.05px;overflow-wrap:anywhere}
.ttv-location-tool__body>span{display:block;margin-top:var(--ttv-space);color:var(--ttv-location-text-muted);font-size:var(--ttv-text-compact);line-height:1.55;text-wrap:pretty}
.ttv-location-tool__arrow{align-self:center;color:var(--ttv-icon-subtle)}
.ttv-location-tool__arrow .ttv-icon{width:14px;height:14px}
.ttv-location-tool--rain .ttv-location-tool__icon{background:#edf7fe}
.ttv-location-tool--map .ttv-location-tool__icon{background:#f1f8f4}
.ttv-location-tool--air .ttv-location-tool__icon{background:#f6f3fa}

@media (max-width:980px){
  .ttv-location-tools__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  .ttv-location-tool{min-height:108px;padding:11px;grid-template-columns:34px minmax(0,1fr) 14px;gap:var(--ttv-space-2)}
  .ttv-location-tool__icon{width:34px;height:34px}
  .ttv-location-tool__icon .ttv-icon{width:20px;height:20px}
}

@media (max-width:768px){
  .ttv-location-tools__head{align-items:flex-start}
  .ttv-location-tools__all{width:100%;justify-content:flex-start}
  .ttv-location-tools__grid{grid-template-columns:1fr}
  .ttv-location-tool{min-height:78px;grid-template-columns:36px minmax(0,1fr) 15px;align-items:center;border-left:0;border-top:1px solid var(--ttv-line-soft)}
  .ttv-location-tool:first-child{border-top:0}
  .ttv-location-tool__icon{width:36px;height:36px}
  .ttv-location-tool__when{margin-bottom:2px}
  .ttv-location-tool__body>span{margin-top:2px}
}

@media (max-width:390px){
  .ttv-location-tool{padding:10px;grid-template-columns:34px minmax(0,1fr) 14px;gap:var(--ttv-space-2)}
  .ttv-location-tool__icon{width:34px;height:34px}
  .ttv-location-tool__body>strong{font-size:var(--ttv-text-md)}
  .ttv-location-tool__body>span{font-size:var(--ttv-text-xs);line-height:1.4}
}
