@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap');

.dr-header, .dr-header * { box-sizing: border-box; }
.dr-header {
    position: relative;
    z-index: 1000;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 51, 102, 0.12);
}
.dr-header a { text-decoration: none; }
.dr-header button { font-family: inherit; }

.dr-bar {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px clamp(14px, 3vw, 32px);
    min-height: 116px;
}
.dr-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.dr-logo img { display: block; height: 100px; width: auto; }

.dr-primary { display: flex; align-items: center; gap: 4px; }
.dr-primary a {
    padding: 10px 14px;
    border-radius: 6px;
    color: #003366;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}
.dr-primary a:hover { background: #eef3f8; }
.dr-primary a[aria-current="page"] { box-shadow: inset 0 -3px 0 #FDCB58; border-radius: 6px 6px 0 0; }
.dr-primary .dr-mobile-only { display: none; }
.dr-primary .dr-auth-only { display: none; }
.dr-primary .dr-auth-only.dr-visible { display: inline-flex; align-items: center; }
.dr-coming-soon {
    margin-left: 6px;
    padding: 3px 6px;
    border-radius: 4px;
    background: #fff1bd;
    color: #624800;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dr-account { margin-left: auto; display: flex; align-items: center; gap: 10px; position: relative; z-index: 3; }
.dr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}
.dr-btn-ghost { color: #003366; border: 1px solid #c6d3df; background: #ffffff; }
.dr-btn-ghost:hover { border-color: #003366; }
.dr-btn-gold { color: #003366; background: #FDCB58; border: 1px solid #FDCB58; }
.dr-btn-gold:hover { background: #f4bd3c; }

.dr-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 5px;
    border: 1px solid #d5dee7;
    border-radius: 999px;
    background: #ffffff;
    color: #003366;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.dr-account-btn:hover, .dr-account-btn[aria-expanded="true"] { border-color: #003366; }
.dr-account-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-caret { font-size: 10px; }

.dr-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: #003366;
    color: #FDCB58;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.02em;
}
.dr-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dr-menu {
    position: absolute;
    z-index: 1;
    top: calc(100% + 8px);
    right: 0;
    width: 250px;
    padding: 8px;
    border: 1px solid #d5dee7;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 32, 64, 0.18);
}
.dr-menu-head { padding: 10px 10px 12px; border-bottom: 1px solid #e3e9ef; margin-bottom: 6px; }
.dr-menu-email { color: #5f6b76; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.dr-menu-plan { margin-top: 6px; display: inline-block; padding: 3px 8px; border-radius: 4px; background: #eef3f8; color: #003366; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.dr-menu a, .dr-menu button {
    display: block;
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: #003366;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.dr-menu a:hover, .dr-menu button:hover { background: #eef3f8; }
.dr-menu .dr-signout { color: #b42318; }

.dr-menu-toggle {
    display: none;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid #c6d3df;
    border-radius: 6px;
    background: #ffffff;
    color: #003366;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.dr-toolbar { background: #003366; border-top: 3px solid #FDCB58; }
.dr-toolbar-inner {
    display: flex;
    gap: 4px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(8px, 3vw, 28px);
    overflow-x: auto;
    scrollbar-width: none;
}
.dr-toolbar-inner::-webkit-scrollbar { display: none; }
.dr-feature-cta {
    position: sticky;
    right: 0;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 14px 0 auto;
    padding: 13px 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.dr-feature-cta:hover { color: #FDCB58; background: rgba(255, 255, 255, 0.07); }
.dr-tool {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 13px 14px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.dr-tool:hover { color: #ffffff; background: rgba(255, 255, 255, 0.07); }
.dr-tool[aria-current="page"] { color: #FDCB58; border-bottom-color: #FDCB58; background: rgba(255, 255, 255, 0.06); }
.dr-tier {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.dr-tier[hidden] { display: none; }
.dr-tool.dr-locked .dr-tier { background: #FDCB58; color: #003366; }

.dr-site-footer {
    width: 100%;
    margin-top: 40px;
    padding: 18px clamp(14px, 3vw, 30px);
    border-top: 3px solid #FDCB58;
    background: #003366;
    color: #FDCB58;
    font: 400 13px/1.7 'Open Sans', 'Segoe UI', sans-serif;
    text-align: center;
}
.dr-site-footer a { color: #FDCB58; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.dr-site-footer a:hover { color: #ffffff; }

@media (max-width: 1040px) {
    .dr-bar { flex-wrap: wrap; gap: 10px; min-height: 96px; }
    .dr-logo img { height: 80px; }
    .dr-toolbar-inner {
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .dr-toolbar-inner::-webkit-scrollbar { display: block; height: 4px; }
    .dr-toolbar-inner::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.45); border-radius: 4px; }
    .dr-feature-cta { position: static; right: auto; z-index: auto; margin: 0 14px; }
    .dr-menu-toggle { display: inline-flex; }
    .dr-account { margin-left: 0; }
    .dr-primary {
        display: none;
        order: 5;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 6px 0 4px;
        border-top: 1px solid #e3e9ef;
    }
    .dr-primary.dr-open { display: flex; }
    .dr-primary .dr-mobile-only { display: block; }
    .dr-primary .dr-auth-only.dr-visible { display: block; }
    .dr-account-name { display: none; }
    .dr-btn-ghost { display: none; }
}
@media (max-width: 560px) { .dr-site-footer { padding: 16px 14px; font-size: 12px; } }
@media print { .dr-header, .dr-site-footer { display: none; } }
