@font-face {
  font-family: Nunito;
  src: url('./assets/nunito.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('./assets/open-sans.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color: #183b49;
  background: #f3f7f8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-synthesis: none;
  --ocean: #00a3cb;
  --pine: #006784;
  --pine-dark: #004e65;
  --ink: #183b49;
  --muted: #647b84;
  --line: #deeaed;
  --soft: #eaf7fa;
  --paper: #ffffff;
  --shadow: 0 14px 38px rgba(25, 68, 83, .065);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
a { color: inherit; }
h1, h2, h3, strong { font-family: Nunito, Arial, sans-serif; }
h1, h2, h3, p { margin-top: 0; }

.tool-body { background: #f3f7f8; }
.tool-header { align-items: center; background: white; border-bottom: 1px solid var(--line); display: flex; gap: 20px; min-height: 72px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); }
.tool-portal-link { color: var(--pine); font-family: Nunito, Arial, sans-serif; font-size: 1rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.tool-portal-link:hover { text-decoration: underline; }
.tool-breadcrumb { color: var(--muted); font-size: .82rem; }
.tool-breadcrumb span { color: #a4b8bf; padding: 0 7px; }
.tool-account { color: var(--muted); font-size: .78rem; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-main { margin: 0 auto; max-width: 1120px; padding: 40px 24px 80px; }
.tool-main h1 { color: var(--pine-dark); font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 6px; }
.tool-intro { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-bottom: 26px; }
.tool-form { background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); max-width: 640px; padding: 28px; }
.tool-form label { color: var(--ink); display: block; font-size: .85rem; font-weight: 700; margin: 0 0 8px; }
.tool-form input[type="file"], .tool-form input[type="text"] { background: white; border: 1px solid #bdcfd5; border-radius: 8px; color: var(--ink); display: block; font-size: .88rem; min-height: 44px; padding: 9px 11px; width: 100%; }
.tool-form input[type="file"]::file-selector-button { background: #eaf7fa; border: 0; border-radius: 5px; color: var(--pine); font-weight: 700; margin-right: 12px; padding: 7px 10px; }
.tool-hint { color: var(--muted); font-size: .76rem; line-height: 1.4; margin: 7px 0 22px; }
.tool-required { color: #b42318; }
.tool-submit { background: var(--pine); border: 0; border-radius: 8px; color: white; font-size: .87rem; font-weight: 800; min-height: 46px; padding: 0 18px; }
.tool-submit:hover { background: var(--pine-dark); }
.tool-submit:disabled { opacity: .65; }
.tool-status { font-size: .82rem; margin: 16px 0 0; min-height: 1.2em; }
.tool-status[data-state="error"], .tool-unavailable { color: #b42318; }
.tool-status[data-state="success"] { color: #137547; }
.tool-unavailable { background: white; border: 1px solid #f0c3c0; border-radius: 8px; max-width: 640px; padding: 18px; }
@media (max-width: 620px) {
  .tool-header { gap: 10px; padding: 0 18px; }
  .tool-account { display: none; }
  .tool-main { padding: 28px 18px 60px; }
  .tool-form { padding: 20px; }
}
.icon-library, .visually-hidden { border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
.icon { display: block; fill: none; flex: none; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 20px; }
.skip-link { background: var(--pine); color: white; left: 1rem; padding: .7rem 1rem; position: fixed; top: -5rem; z-index: 100; }
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }

.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { align-self: start; background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; height: 100vh; overflow-y: auto; padding: 30px 16px 20px; position: sticky; top: 0; z-index: 30; }
.sidebar-top { padding: 0 14px 35px; }
.brand { align-items: center; display: flex; height: 72px; width: 100%; }
.brand img { display: block; height: auto; max-height: 72px; object-fit: contain; object-position: left center; width: 177px; }
.brand-caption { color: #527481; display: block; font-family: Nunito, Arial, sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .01em; margin-top: 10px; }
.sidebar-nav { display: grid; gap: 5px; }
.nav-label { color: #8298a1; font-family: Nunito, Arial, sans-serif; font-size: .7rem; font-weight: 900; letter-spacing: .14em; margin: 0 0 8px; padding: 0 14px; text-transform: uppercase; }
.nav-label-spaced { margin-top: 29px; }
.nav-item { align-items: center; background: transparent; border: 0; border-radius: 10px; color: #536e78; display: flex; gap: 12px; min-height: 44px; padding: 0 12px; position: relative; text-align: left; transition: background .2s ease, color .2s ease; width: 100%; }
.nav-item span:nth-child(2) { flex: 1; font-family: Nunito, Arial, sans-serif; font-size: .91rem; font-weight: 800; }
.nav-item .icon { height: 18px; width: 18px; }
.nav-item:hover { background: #f1f8fa; color: var(--pine); }
.nav-item.is-active { background: #e5f6fa; color: var(--pine); }
.nav-item.is-active::before { background: var(--ocean); border-radius: 0 4px 4px 0; content: ''; height: 24px; left: -16px; position: absolute; width: 4px; }
.nav-count { align-items: center; background: #edf3f5; border-radius: 7px; color: #5b7780; display: inline-flex; font-size: .72rem; font-weight: 800; height: 22px; justify-content: center; min-width: 22px; }
.nav-item.is-active .nav-count { background: white; color: var(--pine); }
.sidebar-bottom { margin-top: auto; padding: 10px 8px 0; }
.sidebar-identity { border-bottom: 1px solid var(--line); margin: 0 5px 15px; padding: 0 0 12px; }
.sidebar-identity span { color: #8197a0; display: block; font-size: .63rem; font-weight: 800; }
.sidebar-identity strong { color: var(--pine-dark); display: block; font-size: .8rem; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-help { align-items: flex-start; background: #f1f7f8; border: 1px solid #e3edef; border-radius: 12px; display: flex; gap: 10px; padding: 14px 11px; }
.sidebar-help-mark { align-items: center; background: white; border: 1px solid #d7e6eb; border-radius: 50%; color: var(--pine); display: inline-flex; flex: none; font-family: Nunito, Arial, sans-serif; font-size: .8rem; font-weight: 900; height: 22px; justify-content: center; width: 22px; }
.sidebar-help strong { color: var(--pine-dark); display: block; font-size: .8rem; line-height: 1.2; }
.sidebar-help span:last-child { color: #6f858d; display: block; font-size: .67rem; line-height: 1.4; margin-top: 4px; }
.account-link { align-items: center; color: var(--pine); display: flex; font-size: .73rem; font-weight: 800; gap: 5px; margin: 12px 0 0 8px; text-decoration: none; }
.account-link:hover { text-decoration: underline; }
.account-link .icon { height: 13px; width: 13px; }
.logout-button { background: transparent; border: 0; color: #647e88; font-size: .73rem; font-weight: 800; margin: 12px 0 0 8px; padding: 0; text-align: left; }
.logout-button:hover { color: var(--pine); text-decoration: underline; }
.sidebar-backdrop { display: none; }

.workspace { display: flex; flex-direction: column; min-width: 0; }
.topbar { align-items: center; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); display: flex; height: 76px; justify-content: space-between; padding: 0 40px; }
.topbar-left, .topbar-right { align-items: center; display: flex; gap: 15px; }
.breadcrumb { align-items: center; color: #8197a0; display: flex; font-size: .82rem; gap: 11px; }
.breadcrumb strong { color: var(--pine-dark); font-family: 'Open Sans', Arial, sans-serif; font-weight: 700; }
.breadcrumb-separator { color: #b7c8ce; font-size: 1rem; }
.preview-pill { align-items: center; background: #eff7f9; border: 1px solid #d9edf2; border-radius: 999px; color: #487381; display: inline-flex; font-size: .7rem; font-weight: 800; gap: 8px; padding: 7px 11px; }
.preview-dot { background: var(--ocean); border-radius: 50%; height: 7px; width: 7px; }
.account-name { color: #486d79; font-family: Nunito, Arial, sans-serif; font-size: .78rem; font-weight: 900; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { align-items: center; background: white; border: 1px solid #dce9ed; border-radius: 10px; color: var(--pine); display: inline-flex; height: 37px; justify-content: center; width: 37px; }
.avatar .icon { height: 18px; width: 18px; }
.menu-toggle { align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; color: var(--pine); display: none; height: 38px; justify-content: center; width: 38px; }

.main-content { margin: 0 auto; max-width: 1570px; padding: 26px 40px 65px; width: 100%; }

.hero { background: linear-gradient(112deg, #006784 0%, #007f9f 48%, #00a3cb 100%); border-radius: 19px; box-shadow: 0 20px 45px rgba(0, 103, 132, .16); color: white; display: flex; min-height: 265px; overflow: hidden; position: relative; }
.hero::before { background: linear-gradient(90deg, #d25a64 0 22%, #00a3cb 22% 100%); content: ''; height: 5px; left: 0; position: absolute; top: 0; width: 100%; z-index: 3; }
.hero-copy { padding: 34px 0 35px 44px; position: relative; width: 60%; z-index: 2; }
.hero-eyebrow { color: #c2f2fb; font-family: Nunito, Arial, sans-serif; font-size: .72rem; font-weight: 900; letter-spacing: .11em; margin-bottom: 15px; text-transform: uppercase; }
.hero-eyebrow span { color: #fff; opacity: .55; padding: 0 5px; }
.hero h1 { color: white; font-size: clamp(2rem, 3vw, 2.85rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.04; margin: 0 0 12px; }
.hero h1 em { color: #b9f0fa; font-style: normal; }
.hero-copy > p:not(.hero-eyebrow) { color: #e4f7fa; font-size: .89rem; line-height: 1.55; margin-bottom: 22px; max-width: 490px; }
.hero-action { align-items: center; background: white; border: 0; border-radius: 8px; color: var(--pine); display: inline-flex; font-family: Nunito, Arial, sans-serif; font-size: .8rem; font-weight: 900; gap: 13px; min-height: 40px; padding: 0 14px; transition: transform .2s ease, box-shadow .2s ease; }
.hero-action:hover { box-shadow: 0 8px 23px rgba(0, 45, 62, .16); transform: translateY(-2px); }
.hero-action .icon { height: 16px; width: 16px; }
.hero-art { bottom: 0; overflow: hidden; position: absolute; right: 0; top: 0; width: 49%; }
.hero-art::before { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; content: ''; height: 480px; position: absolute; right: -145px; top: -125px; width: 480px; }
.hero-orbit { border: 1px solid rgba(255, 255, 255, .23); border-radius: 50%; position: absolute; }
.orbit-one { height: 330px; right: -75px; top: -45px; width: 330px; }
.orbit-two { height: 215px; right: 25px; top: 15px; width: 215px; }
.hero-route { border: 2px dashed rgba(255, 255, 255, .37); position: absolute; transform: rotate(-31deg); }
.route-one { border-bottom: 0; border-left: 0; border-radius: 0 60% 0 0; height: 165px; right: 91px; top: 45px; width: 235px; }
.route-two { border-left: 0; border-right: 0; border-top: 0; bottom: 17px; right: 210px; width: 240px; }
.hero-node { background: white; border: 5px solid #67d5e8; border-radius: 50%; box-shadow: 0 0 0 8px rgba(255, 255, 255, .15); height: 22px; position: absolute; width: 22px; }
.node-one { right: 294px; top: 58px; }
.node-two { right: 89px; top: 83px; }
.node-three { bottom: 42px; right: 229px; }
.hero-stat { align-items: flex-start; background: rgba(255, 255, 255, .93); border: 1px solid rgba(255, 255, 255, .8); border-radius: 13px; box-shadow: 0 17px 35px rgba(0, 51, 66, .15); color: var(--pine-dark); display: flex; flex-direction: column; padding: 17px 20px 13px; position: absolute; right: 108px; top: 87px; transform: rotate(6deg); width: 135px; }
.hero-stat span { color: #61838e; font-size: .56rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hero-stat strong { font-size: 3.25rem; font-weight: 900; letter-spacing: -.07em; line-height: 1; margin-top: 4px; }
.hero-stat small { color: #61838e; font-size: .71rem; font-weight: 700; }

.employee-access { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 25px; padding: 14px 2px; }
.employee-access-heading { align-items: center; display: flex; gap: 12px; }
.employee-access-heading > .icon { color: var(--pine); height: 25px; width: 25px; }
.employee-access-heading .section-kicker { margin-bottom: 0; }
.employee-access-heading h2 { color: var(--pine-dark); font-size: 1.05rem; line-height: 1.2; margin: 0; }
.employee-access-action { align-items: center; display: flex; gap: 18px; }
.employee-access-action > span { color: var(--muted); font-size: .7rem; font-weight: 700; }
.employee-access-action a { align-items: center; color: var(--pine); display: inline-flex; font-family: Nunito, Arial, sans-serif; font-size: .8rem; font-weight: 900; gap: 7px; text-decoration: none; }
.employee-access-action a:hover { text-decoration: underline; }
.employee-access-action a .icon { height: 15px; width: 15px; }

.areas-section { margin-top: 31px; }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 16px; }
.section-kicker { color: var(--ocean); display: block; font-family: Nunito, Arial, sans-serif; font-size: .64rem; font-weight: 900; letter-spacing: .12em; margin-bottom: 3px; text-transform: uppercase; }
.section-heading h2, .favorites-heading h2 { color: var(--pine-dark); font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.section-heading > p { color: var(--muted); font-size: .76rem; margin: 0 0 2px; }
.areas-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.area-card { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); color: var(--ink); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; min-height: 123px; overflow: hidden; padding: 18px 18px 16px; position: relative; text-align: left; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.area-card:hover { border-color: #a4dce9; box-shadow: 0 16px 32px rgba(0, 103, 132, .12); transform: translateY(-2px); }
.area-card-active { border-color: #b3dfeb; background: linear-gradient(135deg, white 45%, #f0fbfd 100%); }
.area-icon { align-items: center; background: #ecf8fa; border-radius: 8px; color: var(--pine); display: inline-flex; grid-column: 1; grid-row: 1 / 3; height: 38px; justify-content: center; margin-right: 12px; width: 38px; }
.area-icon .icon { height: 20px; width: 20px; }
.area-card-active .area-icon { background: var(--pine); color: white; }
.area-name { align-self: end; color: var(--pine-dark); font-family: Nunito, Arial, sans-serif; font-size: .91rem; font-weight: 900; grid-column: 2; grid-row: 1; margin-top: 2px; }
.area-meta { align-self: start; color: #7b9199; font-size: .66rem; font-weight: 700; grid-column: 2; grid-row: 2; margin-top: 3px; }
.area-card-active .area-meta { color: var(--pine); }
.area-arrow { color: #aac1c8; font-size: 1rem; position: absolute; right: 15px; top: 13px; }

.content-grid { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) 298px; margin-top: 31px; }
.section-heading-apps { margin-bottom: 16px; }
.results-count { color: #7b9199; font-size: .73rem; font-weight: 700; margin-bottom: 3px; }
.app-controls { align-items: center; display: flex; gap: 15px; justify-content: space-between; margin-bottom: 15px; }
.filter-list { align-items: center; display: flex; gap: 7px; }
.filter-chip { background: transparent; border: 1px solid transparent; border-radius: 7px; color: #6d838c; font-family: Nunito, Arial, sans-serif; font-size: .74rem; font-weight: 900; min-height: 33px; padding: 0 11px; }
.filter-chip:hover { background: white; border-color: var(--line); color: var(--pine); }
.filter-chip.is-active { background: var(--pine); color: white; }
.search-field { align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; color: #8ca2a9; display: flex; gap: 8px; height: 37px; padding: 0 12px; width: min(100%, 225px); }
.search-field:focus-within { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0, 163, 203, .14); }
.search-field .icon { height: 16px; width: 16px; }
.search-field input { background: transparent; border: 0; color: var(--ink); font-size: .72rem; min-width: 0; outline: none; width: 100%; }
.search-field input::placeholder { color: #91a5ac; }

.app-list { display: grid; gap: 14px; }
.app-list[hidden], .app-card[hidden], .favorites-list[hidden] { display: none; }
.app-card { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(185px, 39%) minmax(0, 1fr); min-height: 238px; overflow: hidden; }
.app-visual { background: linear-gradient(145deg, #006784 0%, #007f9e 55%, #009dc2 100%); color: white; min-height: 238px; overflow: hidden; padding: 20px; position: relative; }
.app-visual-transport { background: linear-gradient(145deg, #074f65 0%, #08758d 58%, #2d9fb0 100%); }
.app-visual-abfertigung { background: linear-gradient(145deg, #236079 0%, #367f99 58%, #55a9b3 100%); }
.visual-app-icon.icon { color: rgba(224, 250, 253, .82); height: 118px; left: 50%; position: absolute; stroke-width: 1.35; top: 50%; transform: translate(-50%, -50%); width: 118px; z-index: 1; }
.app-visual::before { background: rgba(255, 255, 255, .09); border-radius: 50%; content: ''; height: 250px; left: -78px; position: absolute; top: 70px; width: 250px; }
.app-visual::after { background: rgba(255, 255, 255, .07); border-radius: 50%; content: ''; height: 177px; position: absolute; right: -85px; top: -55px; width: 177px; }
.visual-tag { border: 1px solid rgba(255, 255, 255, .35); border-radius: 5px; color: #dcf7fb; display: inline-block; font-family: Nunito, Arial, sans-serif; font-size: .56rem; font-weight: 900; letter-spacing: .13em; padding: 5px 7px; position: relative; z-index: 1; }
.visual-word { bottom: 22px; color: rgba(255, 255, 255, .75); font-family: Nunito, Arial, sans-serif; font-size: .72rem; font-weight: 900; letter-spacing: .16em; position: absolute; right: 17px; }
.app-info { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 18px 20px 18px 23px; }
.app-info-top, .app-info-bottom { align-items: center; display: flex; justify-content: space-between; }
.client-badge { align-items: center; background: #f1f6f7; border-radius: 5px; color: #799098; display: inline-flex; font-size: .61rem; gap: 5px; padding: 6px 8px; }
.client-badge strong { color: var(--pine); font-family: 'Open Sans', Arial, sans-serif; font-weight: 800; }
.favorite-button { align-items: center; background: white; border: 1px solid var(--line); border-radius: 7px; color: #96aab1; display: inline-flex; height: 32px; justify-content: center; transition: background .2s ease, border-color .2s ease, color .2s ease; width: 32px; }
.favorite-button:hover { background: #eef8fa; border-color: #a9dce7; color: var(--pine); }
.favorite-button:disabled { opacity: .5; }
.favorite-button[aria-pressed="true"] { background: #fff9e8; border-color: #eadca9; color: #bc8d24; }
.favorite-button[aria-pressed="true"] .icon { fill: currentColor; }
.favorite-button .icon { height: 17px; width: 17px; }
.app-category { color: var(--ocean); font-family: Nunito, Arial, sans-serif; font-size: .63rem; font-weight: 900; letter-spacing: .08em; margin: 7px 0 3px; text-transform: uppercase; }
.app-info h3 { color: var(--pine-dark); font-size: 1.42rem; font-weight: 900; line-height: 1.1; margin: 0 0 7px; }
.app-description { color: #6c838b; font-size: .72rem; line-height: 1.5; margin: 0 0 8px; max-width: 390px; }
.app-info-bottom { gap: 8px; margin-top: 11px; }
.live-status { align-items: center; color: #56866e; display: inline-flex; font-size: .63rem; font-weight: 800; gap: 5px; white-space: nowrap; }
.live-status span { background: #52b98a; border-radius: 50%; height: 6px; width: 6px; }
.external-status { color: #667f88; font-size: .63rem; font-weight: 800; }
.open-app { align-items: center; background: var(--pine); border-radius: 7px; color: white; display: inline-flex; font-family: Nunito, Arial, sans-serif; font-size: .72rem; font-weight: 900; gap: 8px; justify-content: center; min-height: 34px; padding: 0 11px; text-decoration: none; white-space: nowrap; }
.open-app:hover { background: var(--pine-dark); }
.open-app .icon { height: 14px; width: 14px; }

.favorites-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); margin-top: 0; overflow: hidden; }
.favorites-heading { background: linear-gradient(150deg, #fff 40%, #effafd 100%); border-bottom: 1px solid var(--line); padding: 20px 20px 18px; }
.favorites-icon { align-items: center; background: #e6f7fa; border-radius: 9px; color: var(--pine); display: flex; height: 34px; justify-content: center; margin-bottom: 14px; width: 34px; }
.favorites-icon .icon { height: 19px; width: 19px; }
.favorites-heading h2 { font-size: 1.18rem; }
.favorites-heading p { color: #768e96; font-size: .71rem; line-height: 1.5; margin: 6px 0 0; }
.favorites-body { align-items: flex-start; display: flex; flex-direction: column; min-height: 166px; padding: 19px 20px; }
.favorites-empty-art { align-items: center; background: #f4f9fa; border: 1px dashed #cfdee3; border-radius: 50%; color: #b0c4cc; display: flex; height: 42px; justify-content: center; margin-bottom: 12px; width: 42px; }
.favorites-empty-art .icon { height: 21px; width: 21px; }
.favorites-body strong { color: var(--pine-dark); font-size: .8rem; }
.favorites-body p { color: #8297a0; font-size: .7rem; line-height: 1.5; margin: 5px 0 0; }
.favorites-list .favorite-entry + .favorite-entry { border-top: 1px solid var(--line); }
.favorite-entry { align-items: center; flex-direction: row; gap: 10px; min-height: 92px; }
.favorite-entry-icon { align-items: center; background: #e9f7fa; border-radius: 8px; color: var(--pine); display: flex; flex: none; height: 37px; justify-content: center; width: 37px; }
.favorite-entry-icon .icon { height: 19px; width: 19px; }
.favorite-entry > div:nth-child(2) { flex: 1; min-width: 0; }
.favorite-entry span { color: #8599a0; display: block; font-size: .58rem; font-weight: 800; }
.favorite-entry strong { display: block; font-size: .85rem; }
.favorite-entry > a { align-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--pine); display: flex; flex: none; height: 30px; justify-content: center; width: 30px; }
.favorite-entry > a:hover { background: var(--soft); }
.favorite-entry > a .icon { height: 15px; width: 15px; }
.favorites-footer { align-items: center; border-top: 1px solid var(--line); color: #8297a0; display: flex; font-size: .62rem; font-weight: 800; justify-content: space-between; padding: 12px 20px; }
.favorites-footer span:last-child { color: var(--pine); }

.empty-state { align-items: center; background: white; border: 1px dashed #cbdfe5; border-radius: 14px; color: var(--muted); display: flex; flex-direction: column; min-height: 238px; padding: 28px 20px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-icon { align-items: center; background: #eef8fa; border-radius: 10px; color: var(--pine); display: flex; height: 44px; justify-content: center; margin-bottom: 14px; width: 44px; }
.empty-state h3 { color: var(--pine-dark); font-size: 1rem; margin-bottom: 5px; }
.empty-state p { font-size: .72rem; line-height: 1.5; max-width: 320px; }
.empty-state button { align-items: center; background: transparent; border: 0; color: var(--pine); display: inline-flex; font-size: .72rem; font-weight: 800; gap: 6px; }
.empty-state button:hover { text-decoration: underline; }
.empty-state button .icon { height: 14px; width: 14px; }

.footer { align-items: center; color: #94a8ae; display: flex; font-size: .65rem; justify-content: space-between; margin: auto 40px 0; padding: 15px 0 21px; }

@media (max-width: 1250px) {
  .app-shell { grid-template-columns: 215px minmax(0, 1fr); }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .nav-item.is-active::before { left: -12px; }
  .main-content { padding-left: 28px; padding-right: 28px; }
  .topbar { padding-left: 28px; padding-right: 28px; }
  .footer { margin-left: 28px; margin-right: 28px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 250px; }
  .area-card { padding-left: 12px; padding-right: 10px; }
  .area-icon { height: 33px; margin-right: 8px; width: 33px; }
}

@media (max-width: 1040px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .favorites-panel { display: grid; grid-template-columns: 260px 1fr; }
  .favorites-heading { border-bottom: 0; border-right: 1px solid var(--line); }
  .favorites-body { min-height: 120px; }
  .favorites-footer { display: none; }
  .hero-art { opacity: .8; }
}

@media (max-width: 900px) {
  .app-shell { display: block; }
  .sidebar { bottom: 0; box-shadow: 15px 0 40px rgba(0, 43, 59, .14); left: 0; max-width: calc(100vw - 40px); padding-left: 16px; padding-right: 16px; position: fixed; top: 0; transform: translateX(-110%); transition: transform .25s ease; width: 270px; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-backdrop:not([hidden]) { background: rgba(13, 42, 53, .38); display: block; inset: 0; position: fixed; z-index: 20; }
  .menu-toggle { display: inline-flex; }
  .nav-item.is-active::before { left: -16px; }
  .topbar { height: 66px; }
  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .main-content { padding: 18px 16px 50px; }
  .topbar { padding: 0 16px; }
  .breadcrumb { font-size: .72rem; }
  .topbar-right { gap: 8px; }
  .preview-pill { font-size: 0; height: 31px; padding: 0 10px; }
  .preview-dot { height: 8px; width: 8px; }
  .account-name { display: none; }
  .avatar { height: 32px; width: 32px; }
  .hero { min-height: 295px; }
  .hero-copy { padding: 32px 25px; width: 100%; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-copy > p:not(.hero-eyebrow) { font-size: .78rem; max-width: 260px; }
  .hero-art { opacity: .27; width: 72%; }
  .hero-stat { display: none; }
  .employee-access { align-items: flex-start; gap: 13px; }
  .employee-access-action { align-items: flex-end; flex-direction: column; gap: 4px; text-align: right; }
  .employee-access-action > span { font-size: .63rem; }
  .employee-access-action a { font-size: .72rem; }
  .areas-section, .content-grid { margin-top: 27px; }
  .section-heading { align-items: flex-start; gap: 5px; }
  .section-heading > p { display: none; }
  .areas-grid { gap: 9px; }
  .area-card { min-height: 102px; padding: 14px 9px; }
  .area-icon { height: 31px; margin-right: 7px; width: 31px; }
  .area-icon .icon { height: 17px; width: 17px; }
  .area-name { font-size: .79rem; }
  .area-meta { font-size: .58rem; }
  .area-arrow { display: none; }
  .app-controls { align-items: stretch; flex-direction: column-reverse; gap: 8px; }
  .search-field { width: 100%; }
  .filter-list { overflow-x: auto; }
  .app-card { grid-template-columns: 1fr; }
  .app-visual { min-height: 145px; }
  .app-info { gap: 17px; padding: 18px; }
  .app-description { font-size: .72rem; }
  .favorites-panel { display: block; }
  .favorites-heading { border-bottom: 1px solid var(--line); border-right: 0; }
  .favorites-body { min-height: 115px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 5px; margin: auto 16px 0; }
}

@media (max-width: 900px) and (max-height: 720px) {
  .sidebar { padding-bottom: 12px; padding-top: 15px; }
  .sidebar-top { padding-bottom: 18px; }
  .brand { height: 56px; }
  .brand img { max-height: 56px; }
  .brand-caption { margin-top: 5px; }
  .nav-label-spaced { margin-top: 16px; }
  .nav-item { min-height: 39px; }
  .sidebar-identity { margin-bottom: 9px; padding-bottom: 8px; }
  .sidebar-help { padding: 9px; }
  .account-link, .logout-button { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
