:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #10201d; background: #edf3f1; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.shell { min-height: 100vh; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1240px) / 2)); background: #092d27; color: #fff; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: inherit; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; background: #c3f560; color: #092d27; border-radius: 9px; font-size: 1rem; }
button { font: inherit; }
.profile { padding: .55rem .9rem; color: #fff; border: 1px solid #6d918a; background: transparent; border-radius: .5rem; cursor: pointer; }
.topbar-actions { display: flex; gap: .65rem; align-items: center; }.topbar-actions a { text-decoration: none; }
.workspace { max-width: 1240px; padding: 4.5rem 24px; margin: 0 auto; }
.workspace-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.eyebrow { margin: 0 0 .45rem; color: #426660; font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.045em; }
.primary { padding: .75rem 1rem; border: 0; border-radius: .5rem; background: #0a5548; color: #fff; font-weight: 700; }
.primary:disabled { opacity: .55; }
.workspace-actions { display: flex; gap: .65rem; }
.secondary { padding: .72rem .95rem; border: 1px solid #8ba7a1; border-radius: .5rem; background: transparent; color: #17463e; font-weight: 700; cursor: pointer; }
.page-link { display: inline-flex; align-items: center; text-decoration: none; }
.notice { margin-top: 2.5rem; padding: 1rem 1.1rem; border-left: 4px solid #c3f560; background: #fff; border-radius: 0 .6rem .6rem 0; }
.empty { display: grid; place-items: center; text-align: center; min-height: 360px; margin-top: 1.5rem; padding: 2rem; background: #fff; border: 1px solid #d5e2de; border-radius: 1rem; }
.empty-mark { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: .6rem; border-radius: 50%; background: #e5f4ca; color: #0a5548; font-size: 2rem; }
h2 { margin: .25rem 0; font-size: 1.35rem; }
.empty p { max-width: 460px; margin: .5rem 0; color: #53706a; line-height: 1.55; }
.dealership-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.dealership-card { display: flex; align-items: center; gap: 1rem; width: 100%; min-height: 120px; padding: 1.2rem; border: 1px solid #d5e2de; border-radius: 1rem; background: #fff; color: #10201d; text-align: left; cursor: pointer; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.dealership-card:hover, .dealership-card:focus-visible { transform: translateY(-2px); border-color: #0a5548; box-shadow: 0 12px 28px rgba(10,85,72,.11); outline: none; }
.dealership-icon { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border-radius: .75rem; background: #e5f4ca; color: #0a5548; font-size: 1.5rem; }
.dealership-card-copy { display: grid; gap: .35rem; flex: 1; }.dealership-card-copy strong { font-size: 1.05rem; }.dealership-card-copy small, .muted { color: #53706a; }.dealership-arrow { color: #0a5548; font-size: 1.4rem; }
.management { margin-top: 1.5rem; }.management-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; background: #fff; border: 1px solid #d5e2de; border-radius: 1rem 1rem 0 0; }.management-summary .eyebrow { margin-bottom: .35rem; }.role-badge { padding: .4rem .65rem; border-radius: 99px; background: #e5f4ca; color: #17463e; font-size: .82rem; font-weight: 700; }
.management-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1px; background: #d5e2de; border: 1px solid #d5e2de; border-top: 0; border-radius: 0 0 1rem 1rem; overflow: hidden; }.management-card { min-height: 255px; padding: 1.5rem; background: #fff; }.management-card strong { display: block; margin: .4rem 0; font-size: 2.2rem; letter-spacing: -.04em; }.management-card p { color: #53706a; line-height: 1.5; }.card-label { margin: 0; color: #426660 !important; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.vehicle-list { display: grid; gap: .1rem; margin-top: 1rem; }.vehicle-row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid #e2ece9; font-size: .92rem; }.vehicle-row span { color: #53706a; }
.role-dashboard { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid #d5e2de; border-radius: 1rem; background: #fff; }.role-dashboard h2 { margin-top: .2rem; }.role-dashboard > div > p:last-child { color: #53706a; }.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.25rem; }.role-card { display: grid; gap: .35rem; min-height: 110px; padding: 1rem; border: 1px solid #d5e2de; border-radius: .75rem; color: #10201d; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }.role-card:hover, .role-card:focus-visible { border-color: #0a5548; box-shadow: 0 8px 20px rgba(10,85,72,.1); outline: none; transform: translateY(-2px); }.role-card span { color: #53706a; font-size: .86rem; line-height: 1.4; }.role-workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1.5rem; overflow: hidden; border: 1px solid #d5e2de; border-radius: 1rem; background: #d5e2de; }.role-workspace article { min-height: 230px; padding: 1.5rem; background: #fff; }.role-workspace p { color: #53706a; line-height: 1.55; }
.access-panel { display: grid; gap: 1.5rem; margin-top: 1.5rem; padding: 1.5rem; background: #fff; border: 1px solid #d5e2de; border-radius: 1rem; }.access-panel h2 { margin: 0 0 .75rem; }.access-panel label { display: block; margin-bottom: .45rem; font-weight: 700; }.access-panel form > p { color: #53706a; }.inline-form { display: flex; gap: .6rem; }.inline-form input { flex: 1; min-width: 0; padding: .75rem; border: 1px solid #a8c0ba; border-radius: .5rem; font: inherit; }.access-list { display: grid; }.access-row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid #e2ece9; }.access-row strong { font-size: .9rem; color: #426660; }
@media (max-width: 600px) { .workspace { padding-top: 2.5rem; } .workspace-header { align-items: start; flex-direction: column; } .workspace-actions, .primary { width: 100%; }.workspace-actions button { flex: 1; }.management-summary { align-items: start; flex-direction: column; }.management-grid, .role-workspace { grid-template-columns: 1fr; }.role-grid { grid-template-columns: 1fr; }.vehicle-row { align-items: start; flex-direction: column; gap: .15rem; } }
