:root {
    --tesla-ink:#162e25;
    --tesla-green:#17634c;
    --tesla-muted:#68776f;
    --tesla-line:#dce5df
}


body {
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--tesla-ink);
    font-size:16px
}


.tesla-signin {
    margin:0;
    background:#f8faf8
}


.tesla-auth-layout {
    min-height:100svh;
    display:grid;
    grid-template-columns:1fr 1fr
}


.tesla-auth-identity {
    background:#142f25;
    color:#f3f6ed;
    padding:48px 10%;
    display:flex;
    flex-direction:column;
    position:relative;
    overflow:hidden
}


.tesla-auth-identity:after {
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border:1px solid #ffffff12;
    border-radius:50%;
    bottom:-230px;
    right:-100px;
    pointer-events:none
}


.tesla-wordmark {
    display:inline-flex;
    align-items:center;
    gap:12px;
    font-size:23px;
    font-weight:650;
    letter-spacing:-.6px;
    color:inherit
}


.tesla-wordmark:hover {
    color:inherit
}


.tesla-wordmark img {
    object-fit:contain
}


.tesla-auth-message {
    margin:auto 0;
    max-width:470px;
    padding:70px 0
}


.tesla-eyebrow {
    color:#b9cfbc;
    font-size:12px;
    letter-spacing:2.4px;
    font-weight:650
}


.tesla-auth-message h1 {
    font-size:clamp(36px,4.2vw,60px);
    line-height:1.1;
    letter-spacing:-2px;
    font-weight:600;
    margin:22px 0
}


.tesla-auth-message p {
    font-size:17px;
    line-height:1.65;
    color:#bdcfc3;
    max-width:310px
}


.tesla-company {
    color:#b9cfbc;
    font-size:14px;
    width:max-content
}


.tesla-company:hover {
    color:white
}


.tesla-auth-panel {
    display:flex;
    align-items:center;
    justify-content:center;
    padding:56px 32px
}


.tesla-auth-card {
    width:100%;
    max-width:390px
}


.tesla-auth-card h2 {
    font-size:32px;
    letter-spacing:-1px;
    font-weight:650;
    margin-bottom:12px
}


.tesla-auth-description {
    color:var(--tesla-muted);
    line-height:1.6;
    margin-bottom:30px
}


.tesla-login-tabs {
    display:flex;
    border-bottom:1px solid var(--tesla-line);
    gap:25px;
    margin-bottom:28px
}


.tesla-login-tabs a {
    padding:0 0 13px;
    color:#738078;
    font-size:14px
}


.tesla-login-tabs a[aria-current] {
    color:var(--tesla-green);
    border-bottom:2px solid var(--tesla-green);
    font-weight:650
}


.tesla-login-form .form-group {
    margin-bottom:22px
}


.tesla-login-form label {
    font-size:14px;
    font-weight:600;
    margin-bottom:9px
}


.tesla-login-form .form-control {
    height:50px;
    border-radius:8px;
    border-color:#cfd9d2;
    background:white;
    font-size:16px;
    padding:12px 14px
}


.tesla-login-form .form-control:focus {
    border-color:var(--tesla-green);
    box-shadow:0 0 0 3px #17634c18
}


.tesla-login-form input[type=submit],.tesla-login-form button {
    width:100%;
    height:50px;
    border-radius:8px;
    background:var(--tesla-green);
    border-color:var(--tesla-green);
    font-weight:600;
    font-size:16px;
    margin-top:8px
}


.tesla-login-form input[type=submit]:hover {
    background:#104d3b
}


.tesla-mobile-logo {
    display:none
}


.tesla-auth-card .card {
    box-shadow:none;
    border:0;
    background:transparent
}


.tesla-auth-card .card-body {
    padding:0
}


.tesla-app-header {
    display:flex;
    gap:22px;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    padding:18px 32px;
    background:white;
    border-bottom:1px solid var(--tesla-line)
}


.tesla-app-links {
    display:flex;
    align-items:center;
    gap:24px;
    flex-wrap:wrap;
    font-size:14px
}


.tesla-app-links a {
    color:var(--tesla-ink)
}


.tesla-account-menu {
    position:relative
}


.tesla-account-menu summary {
    cursor:pointer;
    font-weight:600
}


.tesla-account-menu>div {
    position:absolute;
    right:0;
    top:30px;
    width:210px;
    background:white;
    box-shadow:0 10px 35px #12332420;
    border:1px solid var(--tesla-line);
    padding:8px;
    border-radius:10px;
    z-index:1100
}


.tesla-account-menu a {
    display:block;
    padding:10px;
    border-radius:5px
}


.tesla-account-menu a:hover {
    background:#edf4ef
}


.tesla-account .content-wrapper {
    margin-left:0!important;
    min-height:calc(100vh - 85px)!important;
    background:#f4f7f5;
    padding:24px max(20px,calc((100vw - 1250px)/2))
}


.tesla-account .content-header h1 {
    font-size:26px
}


.tesla-account .card {
    border-radius:10px;
    box-shadow:0 3px 12px #162e2509
}


.tesla-account .btn-primary {
    background:var(--tesla-green);
    border-color:var(--tesla-green)
}


@media(max-width:800px) {
    .tesla-auth-layout {
    grid-template-columns:1fr
}

.tesla-auth-identity {
    padding:22px 26px;
    background:#142f25
}

.tesla-auth-message,.tesla-company {
    display:none
}

.tesla-auth-panel {
    padding:48px 25px;
    align-items:flex-start
}

.tesla-auth-card h2 {
    font-size:29px
}

.tesla-wordmark {
    font-size:21px
}

.tesla-app-header {
    padding:18px
}

.tesla-app-links {
    gap:16px
}

.tesla-account .content-wrapper {
    padding:18px 8px
}


}


.tesla-auth-panel,
.tesla-auth-card {
    min-width: 0;
}

.tesla-auth-card .form-control {
    max-width: 100%;
}

@media (max-width: 800px) {
    .tesla-auth-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }

    .tesla-auth-identity {
        flex-shrink: 0;
    }
}

.tesla-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 15px 0 34px;
}
.tesla-metrics > div {
    padding: 25px;
    border: 1px solid #dce7df;
    border-radius: 14px;
    background: white;
}
.tesla-metrics span {
    display: block;
    font-size: 14px;
    color: #65796d;
}
.tesla-metrics strong {
    display: block;
    font-size: 38px;
    line-height: 1.4;
    font-weight: 600;
    color: #184c35;
}
.tesla-domains h2 {
    font-size: 22px;
    margin-bottom: 20px;
}
.tesla-domain-card {
    padding: 26px;
    border: 1px solid #dce7df;
    border-radius: 14px;
    background: white;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.tesla-domain-card h3 {
    font-size: 20px;
    margin: 0 0 10px;
}
.tesla-domain-card p {
    font-size: 14px;
    color: #65796d;
    margin: 0;
}
.tesla-domain-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.tesla-domain-actions a {
    font-size: 14px;
}
.tesla-forward-state {
    color: #17634c;
    font-weight: 600;
}
.tesla-forward-link {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}
@media (max-width: 700px) {
    .tesla-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
