/* Shared GLCORE design system. Existing page structure and application behavior stay intact. */
:root {
    color-scheme: dark;
    --bg: #0e0e0f; --bg-soft: #111112; --panel: #131314; --panel-2: #181819;
    --border: #272729; --border-strong: #363638; --text: #f3f3f4;
    --muted: #969698; --muted-2: #737376; --red: #ff3970; --red-dark: #e72a5e;
    --green: #63c99b; --blue: #b6b6bd; --shadow: none; --radius: 18px;
}
body { background: #0e0e0f; color: var(--text); font-family: Inter, Arial, sans-serif; font-size: 13px; letter-spacing: -.025em; }
body::before { display: none; }
[hidden] { display: none !important; }
a { color: #c5c5c8; }
button, input, select, textarea { font: inherit; }
button, .btn { background: #ff3970; border: 1px solid transparent; border-radius: 9px; color: #fff; font-size: 13px; font-weight: 600; padding: 10px 16px; box-shadow: none; letter-spacing: -.02em; transition: background .15s, border-color .15s; }
button:hover, .btn:hover { background: #ed2c63; box-shadow: none; transform: none; }
button:disabled { opacity: .4; cursor: not-allowed; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #ff5a88; outline-offset: 4px; }
input, select, textarea { background: #101011; border: 1px solid #303033; color: #eeeeef; border-radius: 9px; padding: 11px 13px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #ff3970; box-shadow: 0 0 0 3px #ff397010; }
input::placeholder, textarea::placeholder { color: #626267; }
label { color: #aaaab0; font-size: 12px; font-weight: 500; }
.icon { width: 15px; height: 15px; flex-shrink: 0; vertical-align: middle; }
.site-header { height: 64px; background: #09090a; border-bottom: 1px solid #242425; position: relative; z-index: 30; }
.header-inner { max-width: 1120px; height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; position: relative; }
.wordmark { color: #ff5299; text-decoration: none; font-size: 22px; font-weight: 900; letter-spacing: -1.8px; font-style: italic; line-height: 1; }
.wordmark span { font-size: 9px; font-style: normal; vertical-align: top; margin-left: 3px; letter-spacing: 0; }
.main-navigation { display: flex; align-items: center; gap: 17px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-divider { height: 15px; width: 1px; background: #262628; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 4px; color: rgb(255 255 255 / .7); font-size: 13px; font-weight: 500; line-height: 1.5; list-style: none; cursor: pointer; padding: 8px 10px; transition: color .15s; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover { color: white; }
.nav-dropdown summary > .icon { width: 14px; height: 14px; transform: rotate(0deg); transform-origin: 50% 50%; transform-box: view-box; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.nav-dropdown[open]:not(.nav-closing) summary { color: #fff; }
.nav-dropdown[open]:not(.nav-closing) summary > .icon { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: calc(100% + 8px); left: -6px; min-width: 210px; padding: 6px; border: 1px solid rgb(255 255 255 / .09); border-radius: 14px; background: #141414; box-shadow: none; z-index: 40; }
.dropdown-panel::before { content: ''; position: absolute; left: 0; right: 0; height: 10px; bottom: 100%; }
.nav-dropdown[open] > .dropdown-panel { animation: nav-reveal .2s cubic-bezier(.22,1,.36,1) both; }
.nav-dropdown.nav-closing > .dropdown-panel { animation: nav-dismiss .2s cubic-bezier(.4,0,1,1) both; pointer-events: none; }
.dropdown-panel a { display: block; padding: 8px 12px; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / .65); text-decoration: none; border-radius: 10px; white-space: nowrap; transition: background .15s, color .15s, padding .15s; }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible { background: rgb(255 255 255 / .06); color: #fff; padding-left: 14px; }
.menu-caption { display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px; margin-bottom: 6px; border-bottom: 1px solid rgb(255 255 255 / .06); color: rgb(255 255 255 / .25); font-size: 10px; line-height: 15px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.menu-caption .icon { width: 12px; height: 12px; }
@keyframes nav-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nav-dismiss { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .dropdown-panel a { transition: none; } .nav-dropdown[open] > .dropdown-panel { animation: none; } }
.account-menu .dropdown-panel { left: auto; right: 0; }
.account-menu summary { gap: 7px; }
.avatar { height: 29px; width: 29px; display: grid; place-items: center; border-radius: 50%; background: #ff346b; color: white; font-size: 10px; }
main, main.profile-page, main.calculator-page, main.earnings-page { width: calc(100% - 48px); max-width: 1120px; margin: 0 auto; padding: 24px 0 64px; }
.page-heading { max-width: 1120px; width: calc(100% - 48px); margin: 46px auto 0; }
.page-heading h1 { font-size: 29px; font-weight: 650; margin: 15px 0 0; letter-spacing: -.035em; }
.breadcrumbs { display: flex; gap: 12px; align-items: center; color: #c1c1c4; font-size: 12px; line-height: 16px; }
.breadcrumbs a { color: #78787d; text-decoration: none; }
.breadcrumbs > span:first-of-type { color: #636369; }
.card, .table-card, .edit-card, .detail-card, .feature-card, .profile-hero-card, .earnings-panel, .login-card { background: #131314; border-color: #28282b; border-radius: 16px; box-shadow: none; backdrop-filter: none; }
.card::after, .feature-card::after, .login-card::before { display: none; }
.card:hover { transform: none; box-shadow: none; border-color: #3c3c40; }
.card span, .info-item span, .pay-breakdown span, .mini-stat span, .stat-card span, .earnings-stat-card span { color: #8b8b91; }
.card strong { font-size: 28px; }
.table-card h3, .detail-card h3, .edit-card h3 { font-size: 17px; font-weight: 600; }
.section-head h3 { font-size: 20px; font-weight: 600; letter-spacing: -.035em; margin-bottom: 6px; }
.section-head p { font-size: 12px; font-weight: 400; line-height: 1.6; }
.section-head { margin-bottom: 18px; }
.model-section-title, .calculator-model-toolbar h4 { font-size: 14px; font-weight: 600; }
.calculator-model-toolbar p { font-size: 12px; line-height: 1.5; }
.model-section { background: #141416; border-radius: 12px; }
.model-total-card strong { font-size: 23px; font-weight: 600; }
.model-total-card span, .model-total-card small { font-size: 10px; }
.template-output { background: #101012; border-radius: 10px; padding: 16px; font: 400 11px/1.85 Consolas, monospace; color: #c6bfcc; }
.segment-btn { background: #18181b; border-color: #303034; padding: 9px 13px; font-size: 12px; border-radius: 9px; min-width: 100px; font-weight: 550; }
.segment-btn:hover, .segment-btn.active { background: #32202a; border-color: #643247; color: #ff9fbc; box-shadow: none; }
.profile-hero-main h1, .earnings-hero h1 { font-size: 29px; font-weight: 650; letter-spacing: -.035em; }
.stat-card strong, .stat-card.compact strong { font-size: 27px; font-weight: 600; }
.stat-card small { font-weight: 400; font-size: 11px; }
th { color: #85858b; font-size: 10px; letter-spacing: .035em; font-weight: 500; border-color: #2b2b2e; }
td { color: #d2d2d7; font-size: 12px; border-color: #242427; padding-top: 17px; padding-bottom: 17px; }
tbody tr:hover { background: #ffffff03; }
.money { color: #dedee1; }
.pill, .pill-muted, .payment-label-chip, .hero-period-chip { background: #242426; color: #bdbdc5; border: 1px solid #343439; border-radius: 6px; font-size: 11px; }
.filters, .model-box, .model-edit, .info-item, .pay-breakdown div, .admin-user-card, .mini-stat, .mini-stat.accent, .earnings-period-form, .conversion-form, .earnings-entry-form, .earnings-insights > div, .status-chip { background: #101011; border-color: #29292d; box-shadow: none; border-radius: 11px; }
.profile-hero-card { background: #141415; }
.eyebrow { color: #e0a3b6; letter-spacing: .08em; }
.secondary, .btn.secondary, .btn-secondary { background: #202022; color: #c3c3c8; border: 1px solid #333338; box-shadow: none; }
.secondary:hover, .btn.secondary:hover, .btn-secondary:hover { background: #2a2a2e; box-shadow: none; }
.danger, .danger-button, .btn-danger { color: #ff8ba8; background: #391722; border-color: #582333; box-shadow: none; }
.cost-form button { background: #552936; }
.earnings-entry-form label { display: block; margin: 14px 0 7px; }
.earnings-entry-form button, .conversion-form button { margin-top: 12px; }
.earnings-period-form select[name="month"] { min-width: 116px; }
.earnings-period-form select[name="year"] { min-width: 86px; }
.login-logo { background: #ff3970; box-shadow: none; border-radius: 13px; }
.login-card { padding: 35px; }
.login-card h1 { font-size: 29px; }
.login-card p { color: #85858d; font-size: 13px; }
.login-card button { background: #ff3970; }
.login-card input[name="password"] { margin-bottom: 12px; }
.remember-login { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 15px; padding: 8px 0; min-height: 44px; cursor: pointer; color: #d4d4d8; text-transform: none; letter-spacing: normal; font-size: 13px; font-weight: 500; line-height: 20px; }
.remember-login input { appearance: none; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; border: 1px solid #48484f; border-radius: 5px; background: #19191c; cursor: pointer; flex-shrink: 0; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.remember-login:hover input { border-color: #85818c; }
.remember-login input:checked { border-color: #ff3970; background: #ff3970 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4.5 9 3 3 6-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat; }
.remember-login input:focus { box-shadow: none; }
.remember-login input:focus-visible { outline: 2px solid #ff7198; outline-offset: 3px; }
.remember-copy { display: flex; flex-direction: column; gap: 3px; }
.login-card .remember-help { font-size: 11px; line-height: 16px; color: #85858d; font-weight: 400; }
@media(forced-colors: active) { .remember-login input { appearance: auto; } .remember-login input:checked { background: none; } }
.status-dot { box-shadow: none; }
.success { border-color: #285a43; background: #15261e; color: #98d5b4; }
.error { border-color: #65303d; background: #301820; color: #f0a9bc; }
/* Dashboard: proportions, spacing and tonal hierarchy follow the supplied reference. */
.dashboard-body { position: relative; isolation: isolate; background: #0e0e0e; }
/* The calendar cells draw the grid, so every line follows a day or shift. */
.dashboard-body::before { display: none; }
.dashboard-body::after {
    content: ''; position: fixed; z-index: -1; pointer-events: none;
    left: 50%; top: 50%; width: min(700px, 100%); height: 500px;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: rgb(211 47 113 / 4%); filter: blur(180px);
}
main.dashboard-main { padding-top: 48px; padding-bottom: 55px; }
.dashboard-main h1 { margin: 14px 0 5px; font-size: 30px; line-height: 1.22; letter-spacing: -.04em; font-weight: 700; }
.welcome-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 25px; }
.welcome-row p { margin: 0; font-size: 13px; line-height: 20px; color: #85858b; }
.welcome-actions { display: flex; gap: 8px; align-items: center; margin-top: 15px; }
.outline-button, .icon-button, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; background: transparent; color: #a2a2a8; border: 1px solid #2e2e32; border-radius: 999px; padding: 10px 15px; text-decoration: none; font-size: 12px; font-weight: 550; line-height: 16px; cursor: pointer; box-shadow: none; }
.outline-button:hover, .icon-button:hover, .text-button:hover { background: #222225; border-color: #434349; color: #efeff1; box-shadow: none; }
.icon-button { padding: 0; width: 33px; height: 33px; flex-shrink: 0; }
.dashboard-panel { background: rgb(255 255 255 / 2%); border: 1px solid #242427; border-radius: 19px; padding: 20px; position: relative; }
.performance-panel { margin-bottom: 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.panel-heading h2 { font-size: 17px; font-weight: 600; margin: 3px 0 3px; line-height: 24px; letter-spacing: -.035em; }
.panel-heading p { font-size: 11px; color: #7e7e84; margin: 0; line-height: 16px; }
.month-controls { display: flex; padding: 2px; border: 1px solid #303034; border-radius: 999px; margin-top: 0; }
.month-controls .icon-button { border: 0; height: 31px; width: 31px; }
.performance-metrics { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border: 1px solid #303034; border-radius: 14px; overflow: hidden; background: #0e0e0f; }
.metric { padding: 15px 16px; border-right: 1px solid #252529; }
.metric:last-child { border: 0; }
.metric span { display: block; font-size: 10px; color: #818187; line-height: 16px; margin-bottom: 7px; white-space: nowrap; }
.metric strong { font-size: 19px; line-height: 23px; letter-spacing: -.035em; font-weight: 600; font-variant-numeric: tabular-nums; }
.calendar-panel { padding-bottom: 20px; }
.calendar-heading { align-items: center; margin-bottom: 14px; }
.calendar-controls { display: flex; align-items: center; gap: 7px; }
.calendar-controls .outline-button { font-size: 10px; padding: 7px 12px; line-height: 15px; }
.calendar-controls .assign-button { margin-right: 9px; border-style: dashed; }
.week-label { font-size: 12px; font-weight: 600; margin-left: 10px; }
.calendar-scroll { position: relative; overflow-x: auto; }
.week-grid { --calendar-line: rgb(255 255 255 / 5%); display: grid; grid-template-columns: 52px repeat(7,minmax(0,1fr)); grid-template-rows: 40px repeat(3,minmax(92px,auto)); min-width: 750px; border: 1px solid var(--calendar-line); border-radius: 10px; overflow: hidden; }
.day-heading { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; color: #dedee1; font-weight: 600; border-left: 1px solid var(--calendar-line); border-bottom: 1px solid var(--calendar-line); background: rgb(255 255 255 / 1%); }
.day-heading.is-today { color: #ff5887; background: rgb(255 57 112 / 5%); box-shadow: inset 0 2px #ff397066; }
.time-label,.time-column { position: sticky; left: 0; z-index: 1; background: #141314; border-bottom: 1px solid var(--calendar-line); }
.time-label { font-size: 10px; color: #828088; display: flex; align-items: center; justify-content: center; }
.calendar-cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 5px; border-left: 1px solid var(--calendar-line); border-bottom: 1px solid var(--calendar-line); }
.week-grid > :nth-last-child(-n+8) { border-bottom: 0; }
.today-column { background: rgb(255 57 112 / 2.5%); }
.shift-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 5px; width: 100%; height: auto; min-height: 81px; padding: 10px; text-align: left; background: #1e1c1e; border: 1px solid #333034; color: #bcbac0; border-radius: 11px; white-space: normal; box-shadow: none; }
.shift-card:hover { background: #292629; border-color: #51494f; }
.shift-card strong { font-size: 12px; line-height: 15px; font-weight: 600; overflow-wrap: anywhere; }
.shift-card span { font-size: 9px; color: #99959e; font-weight: 450; line-height: 12px; }
.shift-card small { font-size: 9px; color: #8d8790; font-weight: 500; line-height: 13px; }
.shift-card.completed { background: #12231e; border-color: #0b5b3d; color: #c1e2d4; }
.shift-card.completed span, .shift-card.completed small { color: #9fc2b3; }
.shift-card.active { background: #34290f; border-color: #b78800; color: #f5e7b6; box-shadow: 0 0 0 1px #8a650066; }
.shift-card.active span, .shift-card.active small { color: #c9bc90; }
.shift-card.ready { background: #112e3a; border-color: #008db5; color: #d0e4ee; box-shadow: 0 0 0 1px #008db533; }
.shift-card.ready:hover { background: #153845; border-color: #10acd4; }
.shift-card.ready span, .shift-card.ready small { color: #91adbb; }
.shift-card.finished { background: #20232b; border-color: #404958; }
.shift-submission-form { margin-top:22px; padding-top:20px; border-top:1px solid #302a32; }
.submission-intro h3 { font-size:17px; margin:0 0 7px; font-weight:600; }
.submission-intro p,.submission-help { color:#968b9b; font-size:11px; line-height:1.6; }
.submission-hours { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border:1px solid #332b37; border-radius:9px; margin-top:17px; font-size:12px; }
.submission-hours span { color:#a297a7; }
.shift-submission-form>.form-two-columns { margin:20px 0; grid-template-columns:1fr 1fr; }
.shift-submission-form>label { display:block; font-size:11px; margin-bottom:8px; }
.shift-submission-form>label span { color:#746b7b; }
.shift-submission-form textarea { width:100%; resize:vertical; min-height:75px; }
.submitted-notes { font-size:12px; color:#a39aa9; white-space:pre-wrap; overflow-wrap:anywhere; }
.shift-card.missed { opacity: .6; }
.calendar-empty { position: absolute; inset: 41px 0 0 53px; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.calendar-empty > * { pointer-events: auto; }
.empty-calendar-icon { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #2e2a30; border-radius: 12px; color: #a495a1; background: #1a171b; }
.empty-calendar-icon .icon { height: 19px; width: 19px; }
.calendar-empty h3 { font-size: 14px; margin: 13px 0 5px; font-weight: 500; }
.calendar-empty p { font-size: 11px; color: #77727d; margin: 0 0 15px; }
.calendar-empty .outline-button { font-size: 11px; padding: 8px 13px; }
.dashboard-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 3px; font-size: 10px; color: #636369; }
.tiny-dot { display: inline-block; width: 5px; height: 5px; background: #7b727c; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.employee-switcher { display: flex; gap: 9px; align-items: center; margin: 0; }
.employee-switcher label { font-size: 10px; color: #77777e; }
.employee-switcher select { max-width: 170px; width: auto; padding: 6px 9px; font-size: 10px; background: transparent; border: 1px solid #26262b; border-radius: 6px; margin: 0; }
.employee-switcher .text-button { font-size: 10px; padding: 4px; border: 0; }
.viewing-notice { padding: 12px 15px; border: 1px solid #35303a; border-radius: 10px; margin-bottom: 20px; color: #a8a2ad; font-size: 12px; }
.viewing-notice a { margin-left: 10px; color: #f38dad; }
.notice { font-size: 12px; padding: 12px 16px; margin-bottom: 20px; border-radius: 10px; }
/* Accessible native dialogs retain the calculator and its original parsing behavior. */
.modal-open { overflow: hidden; }
.app-dialog { width: min(520px,calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #363137; border-radius: 18px; color: #eeeef1; background: #141315; box-shadow: 0 30px 100px #0008; }
.app-dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px; border-bottom: 1px solid #29262c; }
.dialog-heading h2 { font-size: 21px; line-height: 28px; margin: 0 0 4px; font-weight: 600; letter-spacing: -.035em; }
.dialog-heading p { color: #8b8590; font-size: 12px; margin: 0; line-height: 19px; }
.dialog-heading .icon-button { width: 28px; height: 28px; }
.dialog-eyebrow { display: block; color: #de8da7; font-size: 9px; letter-spacing: .09em; margin-bottom: 8px; }
.dialog-form { padding: 24px; }
.app-dialog.clock-in-dialog { width: min(405px,calc(100vw - 32px)); background: #121212; border-color: #222; border-radius: 15px; }
.clock-in-dialog .dialog-heading { padding: 14px 14px 0; border: 0; gap: 8px; }
.clock-in-dialog .dialog-heading h2 { font-size: 14px; line-height: 20px; letter-spacing: 0; margin-bottom: 3px; }
.clock-in-dialog .dialog-heading p { color: #939393; font-size: 12px; line-height: 18px; }
.clock-in-dialog .dialog-heading .icon-button { width: 20px; height: 20px; border: 0; background: transparent; color: #d5d5d5; flex-shrink: 0; }
.clock-in-dialog .dialog-heading .icon-button:hover { background: #262626; }
.clock-in-dialog .dialog-form { padding: 13px 14px 14px; }
.clock-in-status { display: inline-block; border-radius: 20px; background: #292929; color: #aaa; padding: 3px 11px; font-size: 11px; font-weight: 600; line-height: 16px; }
.clock-in-dialog form { margin: 14px 0 0; }
.clock-in-dialog .clock-in-button { display: block; width: 100%; min-height: 37px; padding: 9px 14px; border: 1px solid transparent; border-radius: 24px; background: #e59000; color: #090909; box-shadow: none; font-size: 12px; font-weight: 500; transition: background .18s ease; }
.clock-in-dialog .clock-in-button:hover:not(:disabled) { background: #f3a00b; transform: none; }
.clock-in-dialog .clock-in-button:disabled { background: #342b1b; color: #98866b; cursor: not-allowed; }
.clock-in-dialog .clock-in-button:focus-visible { outline: 2px solid #f8c66f; outline-offset: 3px; }
.clock-in-dialog [data-clock-notice][hidden] { display: none; }
.clock-active-status { display: flex; align-items: center; gap: 8px; }
.clock-in-status.is-clocked-in { background: #40300c; color: #edc769; font-size: 10px; }
.clock-in-time { font-size: 10px; color: #818181; }
.clock-completion-notice { background: #171717; border: 1px solid #242424; border-radius: 13px; color: #999; font-size: 12px; line-height: 18px; margin: 15px 0 0; padding: 15px; }
.clock-in-dialog [data-clock-wait][hidden], .clock-in-dialog [data-clock-complete][hidden] { display: none; }
.clock-in-dialog [data-clock-complete] { margin-top: 15px; }
.dialog-form > label, .form-two-columns label { display: block; font-size: 11px; margin-bottom: 7px; }
.dialog-form > input:not([type=hidden]), .dialog-form > select { width: 100%; margin: 0 0 18px; }
.form-two-columns { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.form-two-columns input, .form-two-columns select { width: 100%; margin: 0; font-size: 12px; }
.dialog-note { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: #948b99; line-height: 18px; margin: 18px 0; }
.dialog-note .icon { margin-top: 1px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 7px; }
.primary-button { background: #ff3970; color: white; border-radius: 9px; font-size: 12px; }
.shift-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0 0 22px; }
.shift-totals span { display: block; color: #8c838f; font-size: 11px; margin-bottom: 7px; }
.shift-totals strong { font-size: 25px; font-weight: 550; }
.clock-detail { color: #99909e; font-size: 12px; line-height: 20px; }
.active-shift-notice { padding: 13px; margin: 0 0 17px; background: #30280f; color: #d5bd72; border-radius: 8px; font-size: 12px; }
.active-shift-notice .tiny-dot { background: #d5ab2d; }
.report-next-step { margin-top: 24px; border-top: 1px solid #2a262d; padding-top: 13px; }
.report-next-step p { font-size: 12px; color: #8d8493; line-height: 20px; }
.calculator-dialog { width: min(800px,calc(100vw - 36px)); height: min(850px,calc(100dvh - 60px)); overflow: hidden; background: #121212; }
.calculator-dialog .dialog-heading { padding: 20px 20px 14px; }
.calculator-dialog .dialog-heading h2 { font-size: 19px; }
.calculator-dialog .dialog-heading p { font-size: 11px; line-height: 17px; }
.calculator-dialog[open] { display: flex; flex-direction: column; }
.calculator-dialog iframe { width: 100%; flex: 1; min-height: 0; border: 0; background: #141315; }
.embedded-page { background: #141315; }
.embedded-page main.calculator-page { width: 100%; padding: 22px; }
.embedded-page .calculator-layout { grid-template-columns: 1fr .8fr; gap: 18px; }
.embedded-page .feature-card { background: #161518; padding: 18px; }
.embedded-page .calculator-meta-grid { grid-template-columns: 1fr 1fr 1fr; }
.embedded-page .calculator-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.embedded-page .calculator-card > .section-head { display: none; }
.embedded-page .calculator-stat-grid .stat-card small { display: none; }
.embedded-page .calculator-stat-grid .stat-card span { font-size: 9px; }
.embedded-page .stat-card.compact { padding: 13px; }
.embedded-page .stat-card.compact strong { font-size: 22px; }
.embedded-page .section-head p { color: #8f8695; }
.embedded-page textarea { min-height: 90px; }
.embedded-page textarea.raw-log { min-height: 170px; }
.embedded-page .calculator-preview { margin-top: 15px; }
@media(min-width: 1600px) { .calendar-cell { min-height: 88px; } }
@media(max-width: 767px) {
    .dashboard-body::before { display: none; }
    .dashboard-body::after { inset: 0; width: auto; height: auto; transform: none; border-radius: 0; filter: none; background: radial-gradient(ellipse 60% 40% at 50% 45%, rgb(211 47 113 / 5%), transparent 70%); }
}
/* Leave room for browser chrome on 1080p desktops without clipping content. */
@media(min-width: 921px) and (max-height: 1000px) {
    main.dashboard-main { padding-top: 24px; padding-bottom: 20px; }
}
@media(max-width: 1190px) { .header-inner { width: calc(100% - 48px); } .welcome-row { align-items: flex-start; } .welcome-actions { flex-wrap: wrap; justify-content: flex-end; } .metric { padding: 14px 10px; } .metric strong { font-size: 17px; } .calendar-controls .assign-button { margin-right: 0; } }
@media(max-width: 920px) { .welcome-row { flex-direction: column; gap: 16px; } .welcome-actions { margin-top: 0; justify-content: flex-start; } .calendar-heading { align-items: flex-start; flex-direction: column; } .calendar-controls { width: 100%; flex-wrap: wrap; } .week-label { margin-left: auto; } .performance-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); } .metric { border-bottom: 1px solid #252529; } .metric:nth-child(4) { border-right: 0; } .metric:nth-child(n+5) { border-bottom: 0; } .embedded-page .calculator-layout { grid-template-columns: 1fr; } }
@media(max-width: 600px) {
    .site-header { height: 62px; } .header-inner { width: calc(100% - 32px); } .wordmark { font-size: 19px; } .main-navigation { position: static; transform: none; gap: 9px; } .nav-dropdown summary { font-size: 10px; } .main-navigation .nav-divider { display: none; } .avatar { width: 26px; height: 26px; } .account-menu summary > .icon { display: none; }
    main, main.profile-page, main.calculator-page, main.earnings-page, .page-heading { width: calc(100% - 32px); }
    main.dashboard-main { padding-top: 30px; } .dashboard-main h1 { font-size: 25px; } .welcome-row p { font-size: 11px; } .welcome-actions { gap: 6px; } .welcome-actions .outline-button { padding: 8px 11px; font-size: 10px; } .welcome-actions .icon { width: 12px; }
    .dashboard-panel { padding: 16px; border-radius: 15px; } .panel-heading h2 { font-size: 15px; } .panel-heading p { font-size: 10px; } .performance-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .metric { padding: 12px; } .metric:nth-child(even) { border-right: 0; } .metric:nth-child(n+5) { border-bottom: 1px solid #252529; } .metric:last-child { border-bottom: 0; grid-column: span 2; } .metric strong { font-size: 18px; }
    .calendar-controls .assign-button { margin-right: auto; } .week-label { width: 100%; margin: 7px 0 0; } .calendar-empty { left: 0; } .calendar-empty h3 { font-size: 13px; } .calendar-empty p { text-align: center; max-width: 210px; } .calendar-empty .outline-button { font-size: 10px; }
    .dashboard-footer { flex-direction: column; align-items: flex-start; gap: 12px; } .dialog-heading,.dialog-form { padding: 19px; } .form-two-columns { grid-template-columns: 1fr; } .calculator-dialog { width: calc(100vw - 20px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); } .embedded-page main.calculator-page { padding: 12px; } .embedded-page .calculator-meta-grid { grid-template-columns: 1fr; }
    .page-heading { margin-top: 30px; } .page-heading h1 { font-size: 25px; } .dropdown-panel { min-width: 180px; } .main-navigation .nav-dropdown:last-child .dropdown-panel { left: auto; right: -30px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .01ms !important; } }
/* Keep the explicitly requested navigation-arrow motion on reduced-motion devices. */
@media(prefers-reduced-motion: reduce) { .nav-dropdown summary > .icon { transition-duration: .3s !important; } }

/* Native select menus need explicit colors as Windows may use a light popup. */
.employee-switcher select { min-width: 190px; max-width: 280px; background: #171719; color: #f3f3f4; border-color: #38383d; font-size: 12px; padding: 9px 12px; color-scheme: dark; }
.employee-switcher select option, .app-dialog select option { background: #171719; color: #f3f3f4; }
.employee-switcher label { color: #a6a6ad; font-size: 11px; }
.shift-time-editor { border: 1px solid #303034; border-radius: 12px; padding: 14px; margin: 18px 0; min-width: 0; }
.shift-time-editor legend { padding: 0 6px; color: #d3d3d8; font-size: 12px; }
.shift-time-editor input { width: 100%; min-width: 0; box-sizing: border-box; }
.extra-hours-row { display: flex; gap: 12px; align-items: end; margin-top: 14px; }
.extra-hours-row > div { flex: 1; }
.extra-hours-row button { white-space: nowrap; margin-bottom: 0; }
.shift-edit-details { margin-top: 22px; padding-top: 16px; border-top: 1px solid #303034; }
.shift-edit-details > summary { color: #d3d3d8; cursor: pointer; font-weight: 600; }
.shift-remove-form { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #303034; }
.shift-remove-button { background: #25171d; border: 1px solid #4a2834; color: #e9a0b5; font-size: 12px; font-weight: 500; padding: 9px 13px; border-radius: 8px; box-shadow: none; }
.shift-remove-button:hover { background: #36202a; border-color: #734153; color: #ffd2df; }
.shift-remove-button:focus-visible { outline: 2px solid #ff759e; outline-offset: 3px; }
.shift-remove-button:disabled { opacity: .5; cursor: wait; }
.shift-remove-form [hidden] { display: none; }
.schedule-change-notice { padding: 12px 20px; background: #34290f; color: #f5e7b6; margin: 0; font-size: 12px; }
@media(max-width:520px){.shift-time-editor .form-two-columns {grid-template-columns:1fr;} .employee-switcher select {min-width:160px;max-width:220px;}}
