:root {
  --navy: #102b3f;
  --blue: #176b87;
  --muted: #718096;
  --line: #e4eaf0;
  --paper: #ffffff;
  --background: #f3f6f8;
  --gold: #d99a32;
  --orange: #d97945;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); }
.site-header { background: var(--navy); color: #fff; }
.header-inner { max-width: 1240px; margin: auto; padding: 17px 24px; display:flex; align-items:center; justify-content:space-between; }
.brand { color:#fff; text-decoration:none; display:flex; align-items:center; gap:10px; font-size:19px; font-weight:750; letter-spacing:-.3px; }
.brand-icon { color:#f3bd55; font-size:27px; line-height:1; }
.header-note { color:#c6d3dc; font-size:13px; }
.page { max-width:1240px; margin:0 auto; padding:38px 24px 24px; }
.intro { margin-bottom:25px; }
.eyebrow { color:var(--blue); font-size:10px; font-weight:800; letter-spacing:1.55px; margin:0 0 8px; }
h1 { margin:0; color:var(--navy); font-size:clamp(27px,4vw,39px); letter-spacing:-1.3px; line-height:1.15; }
.intro-text { color:#607184; margin:11px 0 0; font-size:15px; }
.workspace { display:grid; grid-template-columns:minmax(0, 1.55fr) minmax(330px, .85fr); background:var(--paper); border:1px solid var(--line); border-radius:17px; overflow:hidden; box-shadow:0 8px 28px rgba(24,49,69,.055); }
.map-panel { min-width:0; display:flex; flex-direction:column; border-right:1px solid var(--line); }
.map-toolbar { min-height:67px; padding:14px 19px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); }
.map-toolbar strong { display:block; font-size:14px; }
.subtle { display:block; margin-top:3px; font-size:12px; color:var(--muted); }
.text-button { border:0; background:#edf5f8; color:var(--blue); border-radius:8px; padding:9px 12px; font-size:12px; font-weight:700; cursor:pointer; }
.text-button:hover { background:#e1eff4; }
#map { height:610px; width:100%; background:#e8eef0; z-index:1; }
.map-hint { padding:11px 18px; font-size:11px; color:#728294; border-top:1px solid var(--line); }
.pin-dot { display:inline-block; width:7px; height:7px; background:#e38d3f; border-radius:50%; margin-right:6px; }
.results-panel { padding:23px 23px 18px; min-width:0; }
.panel-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.panel-heading .eyebrow { margin-bottom:5px; }
h2 { font-size:21px; margin:0; letter-spacing:-.5px; }
.sun-symbol { width:43px; height:43px; border-radius:13px; display:grid; place-items:center; background:#fff5e3; color:#d99427; font-size:29px; }
.coordinates { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:13px 14px; background:#f6f8fa; border:1px solid #edf0f3; border-radius:10px; margin-bottom:17px; }
.coordinates > div, .tomorrow-times > div { min-width:0; }
.field-label { display:block; color:#7c8b99; font-size:10px; letter-spacing:.35px; margin-bottom:5px; }
.coordinates strong { font-size:13px; font-variant-numeric:tabular-nums; }
.date-label { display:block; font-size:12px; font-weight:700; margin-bottom:7px; }
input[type=date] { width:100%; height:41px; border:1px solid #dce4ea; border-radius:8px; padding:0 11px; background:#fff; color:var(--navy); font:inherit; font-size:13px; }
input[type=date]:focus { outline:2px solid #b7d9e5; border-color:var(--blue); }
.timezone-line { color:#7c8b99; font-size:11px; margin:8px 0 16px; }
.sun-times { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.time-card { border-radius:11px; padding:13px 13px 12px; min-width:0; }
.sunrise-card { background:#fff7e9; }
.sunset-card { background:#fff1e9; }
.time-card-top { display:flex; align-items:center; gap:7px; color:#6f7780; font-size:11px; font-weight:650; }
.sun-icon { width:24px; height:24px; border-radius:7px; display:grid; place-items:center; font-size:17px; font-weight:800; }
.sunrise-icon { background:#fbe7c1; color:#c8831f; }
.sunset-icon { background:#f8dfd1; color:#c76b3d; }
.time-value { display:block; font-size:30px; letter-spacing:-1px; line-height:1.2; margin-top:10px; font-variant-numeric:tabular-nums; color:#26394a; }
.time-caption { display:block; margin-top:3px; color:#8a9299; font-size:10px; }
.details-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:11px; }
.detail { padding:12px 13px; border:1px solid var(--line); border-radius:10px; }
.detail strong { font-size:16px; font-variant-numeric:tabular-nums; }
.tomorrow-box { margin-top:11px; border:1px solid var(--line); border-radius:10px; padding:12px 13px 10px; }
.tomorrow-heading { display:flex; align-items:center; gap:7px; font-size:12px; margin-bottom:10px; }
.tomorrow-heading span { color:#d69a35; font-size:17px; }
.tomorrow-times { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tomorrow-times strong { font-size:15px; font-variant-numeric:tabular-nums; }
.tomorrow-date { margin:7px 0 0; color:#87939d; font-size:10px; }
.status { min-height:31px; padding:10px 0 2px; color:#718096; font-size:11px; line-height:1.4; }
.status.error { color:#a53e32; }
.status.success { color:#34775b; }
.location-button { width:100%; border:1px solid #d7e5eb; border-radius:9px; background:#f5fafc; color:#176b87; padding:11px 12px; font-size:12px; font-weight:750; cursor:pointer; }
.location-button:hover { background:#eaf4f7; }
.privacy-note { color:#98a3ad; font-size:10px; line-height:1.45; text-align:center; margin:9px 4px 0; }
.info-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; padding:23px 5px 17px; }
.info-strip > div { display:flex; gap:11px; align-items:flex-start; }
.info-icon { width:35px; height:35px; flex:0 0 35px; border-radius:10px; display:grid; place-items:center; background:#e7eef2; font-size:17px; }
.info-strip strong { font-size:12px; }
.info-strip p { color:#7a8997; font-size:11px; line-height:1.45; margin:4px 0 0; }
.site-footer { border-top:1px solid #e0e7ec; padding:14px 0 5px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 20px; color:#8995a0; font-size:10px; }
.site-footer p { margin:0; }
.site-footer a { color:#627e8c; }
.leaflet-container { font-family:inherit; }
@media (max-width:900px) {
  .workspace { grid-template-columns:1fr; }
  .map-panel { border-right:0; border-bottom:1px solid var(--line); }
  #map { height:480px; }
  .results-panel { padding:22px; }
}
@media (max-width:560px) {
  .header-inner { padding:15px 17px; }
  .header-note { display:none; }
  .page { padding:27px 13px 18px; }
  .intro { padding:0 4px; }
  .intro-text { font-size:13px; line-height:1.5; }
  #map { height:390px; }
  .map-toolbar { padding:12px 13px; }
  .results-panel { padding:19px 15px 16px; }
  .info-strip { grid-template-columns:1fr; gap:14px; padding:19px 5px; }
  .site-footer { line-height:1.6; }
}
