@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --sidebar-width: 232px;
  color-scheme: light;
  --page: #f7f8f5;
  --surface: #fff;
  --surface-soft: #f2f5ef;
  --text: #202923;
  --muted: #7a837c;
  --line: #e8ece6;
  --green: #2f6b55;
  --green-dark: #24553f;
  --green-light: #e8f1e9;
  --yellow: #f4d878;
  --shadow: 0 12px 35px rgba(36, 56, 42, .045);
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-size: 14px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; }

.sidebar {
  background: var(--surface); border-right: 1px solid var(--line); bottom: 0; display: flex; flex-direction: column;
  left: 0; padding: 33px 21px 24px; position: fixed; top: 0; transition: width .22s ease, padding .22s ease; width: var(--sidebar-width); z-index: 4;
}
.sidebar-header { align-items: center; display: flex; justify-content: space-between; min-height: 35px; }
.brand { align-items: center; display: flex; font-family: Manrope, sans-serif; font-size: 23px; font-weight: 800; gap: 10px; letter-spacing: -1.1px; }
.brand-mark { align-items: center; background: var(--green); border-radius: 12px 12px 12px 4px; color: white; display: flex; font-size: 19px; height: 35px; justify-content: center; letter-spacing: -2px; width: 35px; }
.brand-mark span, .brand-period { color: var(--yellow); }
.sidebar-toggle { align-items: center; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 7px; color: var(--muted); cursor: pointer; display: flex; font-size: 21px; height: 30px; justify-content: center; line-height: 1; padding: 0; transition: background .18s, color .18s; width: 30px; }
.sidebar-toggle:hover { background: var(--green-light); color: var(--green); }
.sidebar-label, .eyebrow { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.15px; }
.sidebar-label { margin: 52px 0 13px 9px; }
.main-nav { display: grid; gap: 5px; }
.nav-link { align-items: center; border-radius: 9px; color: #68736b; display: flex; font-size: 13px; font-weight: 500; gap: 12px; padding: 11px 12px; transition: background .18s, color .18s; }
.nav-link:hover, .nav-link.is-active { background: var(--green-light); color: var(--green-dark); }
.nav-link.is-active { font-weight: 700; }
.nav-icon { font-size: 19px; line-height: 16px; text-align: center; width: 17px; }
.sidebar-bottom { margin-top: auto; }
.privacy-note { background: var(--surface-soft); border-radius: 10px; color: var(--muted); display: flex; gap: 9px; margin-bottom: 20px; padding: 12px 11px; }
.privacy-icon { color: var(--green); font-size: 18px; }
.privacy-note p { font-size: 10px; line-height: 1.55; margin: 0; }
.sidebar-help { color: var(--muted); display: flex; font-size: 10px; justify-content: space-between; padding: 0 3px; }
.sidebar-help:hover, .external-link:hover { color: var(--green); }
.main-content { margin-left: var(--sidebar-width); max-width: 1430px; padding: 0 55px 24px; transition: margin-left .22s ease; }
.topbar { align-items: center; border-bottom: 1px solid var(--line); display: flex; height: 70px; justify-content: space-between; }
.breadcrumb { color: var(--muted); font-size: 11px; }
.breadcrumb span { color: #b9c0b8; margin: 0 9px; }
.breadcrumb strong { color: var(--text); font-weight: 600; }
.topbar-actions { align-items: center; display: flex; gap: 9px; }
.theme-toggle { background: var(--surface); border: 1px solid var(--line); border-radius: 50%; color: #67716a; cursor: pointer; font-size: 16px; height: 34px; transition: transform .2s; width: 34px; }
.theme-toggle:hover { transform: rotate(-18deg); }
.install-button { background: var(--green); border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-size: 10px; font-weight: 600; padding: 9px 12px; }
.install-button:hover { background: var(--green-dark); }
.install-button:disabled { cursor: wait; opacity: .7; }
.install-button[hidden] { display: none; }
.main-content > section + section, .main-content > .footer { margin-top: 20px; }

.welcome { align-items: center; display: flex; justify-content: space-between; min-height: 205px; overflow: hidden; position: relative; }
.eyebrow { margin: 0 0 11px; }
.welcome .eyebrow { align-items: center; display: flex; gap: 7px; }
.eyebrow-dot { background: #7fae77; border-radius: 50%; height: 7px; width: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, sans-serif; }
h1 { font-size: clamp(30px, 3.1vw, 42px); letter-spacing: -1.8px; line-height: 1.12; margin-bottom: 11px; }
.heading-period { color: var(--green); }
.welcome-copy { color: var(--muted); font-size: 13px; margin: 0; }
.mobile-break { display: none; }
.welcome-art { height: 190px; margin-right: 52px; position: relative; width: 230px; }
.art-sun { background: var(--yellow); border-radius: 50%; height: 72px; position: absolute; right: 31px; top: 27px; width: 72px; }
.art-cloud { background: #e7efe2; border-radius: 24px; height: 20px; position: absolute; width: 75px; }
.art-cloud::before, .art-cloud::after { background: inherit; border-radius: 50%; content: ""; position: absolute; }
.art-cloud::before { height: 26px; left: 14px; top: -11px; width: 26px; }
.art-cloud::after { height: 19px; right: 12px; top: -7px; width: 19px; }
.cloud-one { right: 85px; top: 58px; }
.cloud-two { right: 1px; top: 87px; transform: scale(.72); }
.art-box { background: var(--green); border-radius: 5px 5px 9px 9px; bottom: 27px; box-shadow: 0 13px 18px rgba(44, 88, 60, .16); height: 61px; position: absolute; right: 49px; transform: rotate(-5deg); width: 72px; }
.art-box::before { background: #497d64; border-radius: 4px; content: ""; height: 12px; left: -4px; position: absolute; right: -4px; top: -5px; }
.art-box span { background: #f3d57b; height: 100%; left: 32px; position: absolute; width: 10px; }
.art-box span::before { border: 3px solid #f3d57b; border-radius: 50% 50% 0 50%; content: ""; height: 9px; left: -10px; position: absolute; top: -14px; transform: rotate(25deg); width: 12px; }
.art-spark { color: #94ae7e; position: absolute; }
.spark-one { font-size: 20px; left: 26px; top: 68px; }
.spark-two { color: #dfb94f; font-size: 13px; right: 10px; top: 42px; }

.world-clock { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); display: grid; gap: 20px; grid-template-columns: minmax(170px, .7fr) 2fr; padding: 16px 19px; }
.world-clock-heading { align-items: center; display: flex; gap: 11px; }
.clock-icon { align-items: center; background: var(--green-light); border-radius: 10px; color: var(--green); display: flex; font-size: 22px; height: 40px; justify-content: center; width: 40px; }
.world-clock-heading .eyebrow { font-size: 8px; margin: 0 0 4px; }
.world-clock-heading h2 { font-size: 13px; letter-spacing: -.3px; margin: 0; }
.clock-list { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.clock-item { border-left: 1px solid var(--line); display: grid; gap: 3px; min-width: 0; padding-left: 13px; }
.clock-item > span { color: var(--muted); font-size: 9px; }
.clock-item time { font-family: Manrope, sans-serif; font-size: 19px; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.7px; }
.clock-item small { color: var(--muted); font-size: 8px; }
.live-news { border-top: 1px solid var(--line); display: grid; gap: 9px 15px; grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); padding-top: 12px; }
.live-news-title { align-items: center; display: flex; font-size: 9px; gap: 6px; letter-spacing: .7px; margin: 0; }
.live-news-dot { background: #d4765d; border-radius: 50%; height: 7px; width: 7px; }
.live-news-items { display: grid; gap: 5px 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.live-news-item, .live-news-message { color: var(--text); font-size: 9px; line-height: 1.5; margin: 0; }
.live-news-item:hover { color: var(--green); text-decoration: underline; }
.live-news-source { color: var(--muted); font-size: 8px; grid-column: 2; margin: -3px 0 0; }

.add-card { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); display: grid; gap: 13px; grid-template-columns: 40px minmax(170px, .9fr) minmax(270px, 1.4fr); padding: 17px 19px; position: relative; }
.add-icon { align-items: center; background: var(--green-light); border-radius: 11px; color: var(--green); display: flex; font-size: 23px; height: 40px; justify-content: center; width: 40px; }
.add-copy h2 { font-size: 13px; letter-spacing: -.2px; margin-bottom: 4px; }
.add-copy p { color: var(--muted); font-size: 10px; margin: 0; }
.add-form { display: flex; gap: 8px; }
.add-form input { background: var(--page); border: 1px solid var(--line); border-radius: 9px; color: var(--text); font-size: 14px; min-height: 50px; min-width: 0; outline: none; padding: 0 15px; transition: border .15s, box-shadow .15s; width: 100%; }
.add-form input:focus { border-color: #8fb19d; box-shadow: 0 0 0 3px rgba(47, 107, 85, .09); }
.add-form input::placeholder { color: #a3aaa4; font-size: 12px; }
.add-form button, .weather-button { background: var(--green); border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-size: 13px; font-weight: 700; min-height: 50px; padding: 0 17px; white-space: nowrap; transition: background .18s, transform .18s; }
.add-form button:hover, .weather-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.add-form button span { font-size: 14px; margin-left: 5px; }
.form-message { color: var(--green-dark); display: block; font-size: 10px; grid-column: 1 / -1; margin: 0; }
.form-message.is-error { color: #b14b3c; }
.shipment-icon[data-carrier="ups"] { background: #f5e7d6; color: #4b2c20; }
.shipment-icon[data-carrier="fedex"] { background: #eee8f7; color: #4d2483; }
.shipment-icon[data-carrier="dhl"] { background: #fff3c4; color: #c4121a; }
.shipment-icon[data-carrier="usps"] { background: #e3edf9; color: #174a8b; }
.shipment-icon[data-carrier="laposte"] { background: #fff0cf; color: #845000; }
.shipment-icon[data-carrier="royal-mail"] { background: #f9e5e5; color: #b10e1e; }
.shipment-icon[data-carrier="postnl"] { background: #fff0db; color: #8a3d00; }
.shipment-icon[data-carrier="generic"] { background: #f3f5f0; color: var(--green); font-size: 15px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; min-width: 0; padding: 20px; }
.panel-heading { align-items: flex-start; display: flex; justify-content: space-between; }
.panel-heading .eyebrow { font-size: 8px; margin-bottom: 6px; }
.panel-heading h2 { align-items: center; display: flex; font-size: 18px; gap: 9px; letter-spacing: -.6px; margin: 0; }
.count-badge { align-items: center; background: var(--green-light); border-radius: 20px; color: var(--green); display: inline-flex; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; height: 20px; justify-content: center; min-width: 20px; padding: 0 6px; }
.heading-decoration { color: #c5d4be; font-size: 20px; }
.shipment-list { display: grid; gap: 8px; margin-top: 17px; }
.shipment-item { align-items: center; border: 1px solid var(--line); border-radius: 9px; display: grid; gap: 9px; grid-template-columns: 34px minmax(0, 1fr) auto; padding: 10px 9px; }
.shipment-icon { align-items: center; background: #f3f5f0; border-radius: 8px; color: var(--green); display: flex; font-size: 9px; font-weight: 800; height: 34px; justify-content: center; letter-spacing: -.4px; }
.shipment-info { min-width: 0; }
.shipment-name { display: block; font-size: 10px; font-weight: 700; overflow-wrap: anywhere; }
.shipment-number { display: block; font-size: 10px; font-weight: 700; overflow-wrap: anywhere; }
.shipment-name + .shipment-number { color: var(--muted); font-size: 9px; font-weight: 500; margin-top: 3px; }
.shipment-date { color: var(--muted); display: block; font-size: 9px; margin-top: 4px; }
.shipment-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 3px; justify-content: flex-end; }
.shipment-select, .shipment-remove, .shipment-rename { background: transparent; border: 0; border-radius: 6px; color: var(--muted); cursor: pointer; font-size: 10px; padding: 6px; }
.shipment-select:hover { background: var(--green-light); color: var(--green); }
.shipment-rename:hover { background: var(--green-light); color: var(--green); }
.shipment-remove:hover { background: #fbefed; color: #b14b3c; }
.shipment-rename-form { display: flex; flex-wrap: wrap; gap: 5px; }
.shipment-rename-input { background: var(--page); border: 1px solid var(--line); border-radius: 6px; color: var(--text); min-width: 120px; outline: none; padding: 6px; width: 100%; }
.shipment-rename-input:focus { border-color: #8fb19d; box-shadow: 0 0 0 3px rgba(47, 107, 85, .09); }
.shipment-save-name, .shipment-cancel-rename { background: transparent; border: 0; border-radius: 6px; color: var(--green); cursor: pointer; font-size: 9px; padding: 5px; }
.shipment-cancel-rename { color: var(--muted); }
.shipment-item.is-selected { border-color: #a8c5b0; background: #fbfdfb; }
.empty-state { align-items: center; display: flex; flex-direction: column; padding: 29px 12px 30px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-illustration { align-items: center; background: var(--surface-soft); border-radius: 50%; color: #799881; display: flex; font-size: 23px; height: 53px; justify-content: center; margin-bottom: 13px; transform: rotate(-9deg); width: 53px; }
.empty-state h3 { font-size: 12px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 0; max-width: 250px; }
.panel-footnote { border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; margin: 0; padding-top: 12px; }
.panel-footnote span { color: var(--green); margin-right: 4px; }
.tracking-heading { align-items: center; }
.live-badge { align-items: center; background: #edf6ee; border-radius: 20px; color: #4b8155; display: flex; font-size: 8px; font-weight: 700; gap: 5px; letter-spacing: .4px; padding: 6px 8px; }
.live-badge span { background: #70b479; border-radius: 50%; height: 6px; width: 6px; }
.tracking-panel .panel-heading h2 { font-size: 21px; font-weight: 800; letter-spacing: -.8px; }
.tracking-layout { display: grid; gap: 18px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin-top: 17px; }
.tracking-info { min-width: 0; }
.widget-frame { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-top: 17px; max-height: 62vh; min-height: 320px; overflow: auto; overscroll-behavior: contain; }
.tracking-info .widget-frame { margin-top: 0; }
.widget-frame iframe { border: 0; display: block; height: min(62vh, 620px); margin: 0 auto; max-width: 100%; min-height: 320px; min-width: 0; width: 100%; }
.destination-weather, .parcel-route { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; margin-top: 13px; padding: 13px; }
.destination-weather { margin: 0 0 18px; }
.parcel-route-form { display: grid; gap: 7px; grid-template-columns: 1fr 1fr auto; }
.parcel-route-form input { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: var(--text); font-size: 11px; min-height: 38px; min-width: 0; outline: none; padding: 0 10px; width: 100%; }
.parcel-route-form button { background: var(--green); border: 0; border-radius: 7px; color: #fff; cursor: pointer; font-size: 10px; font-weight: 700; min-height: 38px; padding: 0 11px; white-space: nowrap; }
.map-frame { border-radius: 9px; height: 260px; margin-top: 10px; overflow: hidden; width: 100%; z-index: 0; }
@media (max-width: 700px) { .parcel-route-form { grid-template-columns: 1fr; } .parcel-route-form button { justify-self: start; } }
.parcel-route-heading { align-items: center; display: flex; gap: 10px; margin-bottom: 11px; }
.parcel-route-icon { align-items: center; background: #f4e9c8; border-radius: 9px; color: #5b4612; display: flex; flex: 0 0 34px; font-size: 20px; height: 34px; justify-content: center; }
.parcel-route-heading h3 { font-size: 12px; margin: 0 0 3px; }
.parcel-route-heading p { color: var(--muted); font-size: 9px; line-height: 1.45; margin: 0; }
.parcel-route-result { color: var(--green-dark); display: block; font-size: 10px; line-height: 1.6; margin: 9px 0 0; }
.parcel-route-result.is-error { color: #b14b3c; }
.widget-caption { color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 11px; line-height: 1.7; margin: 12px 0 10px; }
.external-link { color: var(--green); font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; }
.external-link span { margin-left: 3px; }

.weather-card { align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); display: grid; gap: 20px; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); padding: 18px; }
.weather-details { display: flex; flex-direction: column; min-width: 0; padding: 4px 2px; }
.weather-heading { align-items: center; display: flex; gap: 11px; }
.weather-icon { align-items: center; background: #f4e9c8; border-radius: 10px; color: #8b6b19; display: flex; flex: 0 0 42px; font-size: 24px; height: 42px; justify-content: center; }
.weather-heading .eyebrow { font-size: 8px; margin: 0 0 5px; }
.weather-heading h2 { font-size: 18px; letter-spacing: -.6px; margin: 0; }
.weather-description { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 17px 0 6px; }
.weather-result { color: var(--text); display: block; font-size: 14px; font-weight: 700; line-height: 1.6; min-height: 44px; }
.weather-result.is-error { color: #b14b3c; }
.destination-weather-form { display: flex; gap: 7px; margin-top: 12px; }
.destination-weather-form input { background: var(--page); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: 11px; min-height: 40px; min-width: 0; outline: none; padding: 0 11px; width: 100%; }
.destination-weather-form input:focus { border-color: #8fb19d; box-shadow: 0 0 0 3px rgba(47, 107, 85, .09); }
.destination-weather-form button, .weather-button { background: var(--green); border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-size: 10px; font-weight: 700; min-height: 40px; padding: 0 12px; white-space: nowrap; }
.destination-weather-form button:hover, .weather-button:hover { background: var(--green-dark); }
.weather-button { align-self: flex-start; margin-top: 8px; }
.weather-button span { margin-left: 6px; }
.weather-button:disabled, .destination-weather-form button:disabled { cursor: wait; opacity: .7; }
.weather-map-frame { background: #e7edf1; border: 1px solid rgba(32, 41, 35, .08); border-radius: 9px; grid-column: 2; grid-row: 1 / span 2; min-height: 340px; width: 100%; }
.weather-map-caption { color: var(--muted); font-size: 9px; grid-column: 2; grid-row: 3; margin: 7px 0 0; text-align: right; }
.weather-map-caption a { color: var(--green-dark); text-decoration: underline; }
.footer { align-items: center; color: #929991; display: flex; font-size: 9px; justify-content: space-between; padding: 20px 2px 0; }
.footer a { color: var(--green); font-weight: 600; }
.footer-heart { color: #d7886a; }
.visually-hidden { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

body.dark-theme {
  color-scheme: dark; --page: #24362a; --surface: #304637; --surface-soft: #3b5440; --text: #f0f5eb;
  --muted: #c0cfbd; --line: #4a624c; --green: #a5ca8b; --green-dark: #c1dfa7; --green-light: #415c43; --shadow: 0 12px 35px rgba(0, 0, 0, .16);
}
body.dark-theme .art-cloud, body.dark-theme .weather-cloud, body.dark-theme .weather-cloud::before, body.dark-theme .weather-cloud::after { background: #dce9da; }
body.dark-theme .widget-frame, body.dark-theme .widget-frame iframe { background: #fff; }
body.dark-theme .clock-icon { color: var(--green-dark); }
body.dark-theme .weather-icon { background: #5d5837; color: #f5dc8c; }
body.dark-theme .weather-map-frame { border-color: var(--line); }
body.dark-theme .shipment-item.is-selected { background: #3b5340; }

@media (min-width: 1500px) {
  .main-content { margin-left: auto; margin-right: auto; padding-left: 65px; padding-right: 65px; transform: translateX(calc(var(--sidebar-width) / 2)); }
}
@media (max-width: 1100px) {
  :root { --sidebar-width: 205px; }
  .main-content { padding-left: 32px; padding-right: 32px; }
  .panel { padding: 16px; }
  .welcome-art { margin-right: 12px; }
  .add-card { grid-template-columns: 40px minmax(140px, .8fr) minmax(250px, 1.35fr); }
  .world-clock { grid-template-columns: 1fr; gap: 14px; }
  .clock-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sidebar { border-bottom: 1px solid var(--line); border-right: 0; bottom: auto; flex-direction: row; height: 60px; justify-content: space-between; padding: 0 17px; top: 0; transition: height .22s ease; width: 100%; }
  .sidebar-header { flex: 0 0 auto; gap: 12px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-mark { border-radius: 10px 10px 10px 3px; font-size: 17px; height: 30px; width: 30px; }
  .sidebar-toggle { height: 28px; width: 28px; }
  .sidebar-label, .sidebar-bottom { display: none; }
  .main-nav { align-items: center; display: flex; gap: 1px; }
  .nav-link { font-size: 0; gap: 0; height: 38px; justify-content: center; padding: 0; width: 38px; }
  .nav-icon { font-size: 17px; }
  .main-content { margin: 60px 0 0; padding: 0 18px 20px; }
  .topbar { height: 51px; }
  .welcome { min-height: 187px; }
  .welcome-art { margin-right: -68px; opacity: .7; transform: scale(.78); transform-origin: right center; }
  .welcome > div:first-child { max-width: 280px; position: relative; z-index: 1; }
  .welcome .eyebrow { font-size: 8px; }
  h1 { font-size: 34px; }
  .welcome-copy { font-size: 11px; max-width: 245px; }
  .mobile-break { display: initial; }
  .add-card { gap: 11px; grid-template-columns: 40px minmax(0, 1fr); padding: 15px; }
  .add-form { grid-column: 1 / -1; }
  .add-form input { min-height: 50px; }
  .add-form button { min-height: 50px; padding: 0 14px; }
  .form-message { grid-column: 1 / -1; }
  .panel { padding: 17px; }
  .widget-frame { min-height: 320px; }
  .widget-frame iframe { height: 320px; }
  .world-clock { padding: 14px; }
  .clock-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock-item { padding: 7px 0 7px 11px; }
  .clock-item time { font-size: 17px; }
  .live-news-items { grid-template-columns: 1fr; }
  .weather-card { gap: 12px; grid-template-columns: 1fr; padding: 15px; }
  .weather-map-frame { grid-column: 1; grid-row: auto; min-height: 290px; }
  .weather-map-caption { grid-column: 1; grid-row: auto; }
  .tracking-layout { grid-template-columns: 1fr; }
  .parcel-route { margin-top: 0; }
  .footer { align-items: flex-start; flex-direction: column; gap: 7px; padding-top: 16px; }
}
@media (min-width: 761px) {
  body.sidebar-collapsed { --sidebar-width: 76px; }
  body.sidebar-collapsed .sidebar { padding-left: 13px; padding-right: 13px; width: 76px; }
  body.sidebar-collapsed .main-content { margin-left: 76px; }
  body.sidebar-collapsed .sidebar-header { flex-direction: column; gap: 17px; }
  body.sidebar-collapsed .brand-name, body.sidebar-collapsed .sidebar-label,
  body.sidebar-collapsed .privacy-note, body.sidebar-collapsed .sidebar-help { display: none; }
  body.sidebar-collapsed .brand { justify-content: center; }
  body.sidebar-collapsed .sidebar-toggle { transform: rotate(180deg); }
  body.sidebar-collapsed .main-nav { margin-top: 25px; }
  body.sidebar-collapsed .nav-link { font-size: 0; gap: 0; justify-content: center; padding-left: 0; padding-right: 0; }
}
@media (min-width: 1500px) {
  body.sidebar-collapsed .main-content { margin-left: auto; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .tracking-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .weather-card { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .main-content { padding-left: 13px; padding-right: 13px; }
  .welcome-art { margin-right: -90px; }
  h1 { font-size: 31px; }
  .add-form { flex-direction: column; }
  .add-form button { align-self: stretch; }
  .destination-weather-form { align-items: stretch; flex-direction: column; }
  .destination-weather-form button { align-self: flex-start; }
}
@media (max-width: 760px) {
  .sidebar { align-content: flex-start; flex-wrap: wrap; height: 60px; overflow: hidden; }
  .sidebar-header { justify-content: space-between; width: 100%; }
  .sidebar-toggle { font-size: 0; position: relative; }
  .sidebar-toggle span { font-size: 0; }
  .sidebar-toggle span::before { content: "☰"; font-size: 16px; }
  .main-nav { display: none; }
  body.mobile-menu-open .sidebar { box-shadow: 0 12px 24px rgba(24, 42, 29, .14); height: auto; }
  body.mobile-menu-open .sidebar-toggle span::before { content: "×"; font-size: 22px; }
  body.mobile-menu-open .main-nav { align-items: stretch; display: grid; gap: 4px; padding: 10px 0 12px; width: 100%; }
  body.mobile-menu-open .nav-link { font-size: 13px; gap: 12px; justify-content: flex-start; padding: 11px 12px; width: 100%; }
  body.mobile-menu-open .nav-icon { font-size: 19px; }
  body.mobile-menu-open .main-content { margin-top: 202px; }
  body.sidebar-collapsed .brand-name { display: inline; }
  body.sidebar-collapsed .sidebar-header { flex-direction: row; gap: 12px; }
  body.sidebar-collapsed .sidebar-toggle { transform: none; }
  body.sidebar-collapsed .main-nav { margin-top: 0; }
  body.sidebar-collapsed .nav-link { font-size: 0; gap: 0; justify-content: center; padding: 0; }
}
