/* Local styles only. Athena does not load fonts, scripts, or employee data from third parties. */
html {
    scroll-behavior:smooth
}
section[id] {
    scroll-margin-top:20px
}
.table-scroll {
    position:relative
}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }
}
:root {
    --ink:#292637;
    --muted:#797687;
    --purple:#7355b2;
    --purple-dark:#503780;
    --lavender:#f0eafa;
    --line:#eae8ee;
    --bg:#f8f9fb;
    --green:#258169;
    --radius:14px;
    font-family:Inter,'Segoe UI',Arial,sans-serif;
    color:var(--ink);
    font-size:14px;
    font-synthesis:none
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    background:var(--bg)
}
a {
    color:var(--purple);
    text-decoration:none
}
a:hover {
    color:var(--purple-dark)
}
button,input,select,textarea {
    font:inherit
}
button,a,input,select,textarea {
    outline-offset:4px
}
button:focus-visible,a:focus-visible {
    outline:3px solid #a88acf
}
button {
    cursor:pointer
}
h1,h2,h3,p {
    margin:0
}
h1 {
    font-size:36px;
    font-weight:650;
    letter-spacing:-1.3px;
    line-height:1.2
}
h2 {
    font-size:17px;
    font-weight:650;
    letter-spacing:-.3px
}
h3 {
    font-size:19px;
    font-weight:600
}
small {
    display:block
}
.icon {
    width:20px;
    height:20px;
    flex:none;
    vertical-align:middle
}
.muted {
    color:var(--muted)
}
.nowrap {
    white-space:nowrap
}
.divider {
    color:#c5c0cd;
    margin:0 10px
}
.eyebrow {
    font-size:10px;
    font-weight:700;
    letter-spacing:1.9px;
    color:var(--purple);
    display:block;
    margin-bottom:10px
}
.heading-dot {
    color:#a589d0
}
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}
.skip-link {
    position:absolute;
    top:-100px;
    z-index:20;
    background:#fff;
    padding:16px
}
.skip-link:focus {
    top:0
}
.brand {
    display:flex;
    gap:12px;
    align-items:center;
    color:#4c346e;
    font-size:31px;
    font-weight:650;
    letter-spacing:-1.5px
}
.brand small {
    font-size:8px;
    letter-spacing:2px;
    font-weight:600;
    margin-top:2px;
    color:#89808f
}
.brand-mark {
    height:43px;
    width:43px;
    border-radius:13px;
    background:var(--purple);
    color:#fff;
    display:grid;
    place-items:center;
    font-family:Georgia,serif;
    font-size:39px;
    font-style:italic;
    position:relative;
    padding-bottom:5px;
    line-height:1
}
.brand-mark span {
    position:absolute;
    font-size:14px;
    right:3px;
    top:5px;
    line-height:1
}
.sidebar {
    width:244px;
    position:fixed;
    inset:0 auto 0 0;
    background:#fff;
    border-right:1px solid var(--line);
    padding:32px 20px 0;
    display:flex;
    flex-direction:column;
    z-index:5
}
.sidebar>.brand {
    padding:0 12px
}
.workspace {
    display:flex;
    align-items:center;
    gap:10px;
    margin:32px 0 31px;
    background:#faf9fc;
    border:1px solid var(--line);
    border-radius:10px;
    padding:13px 10px
}
.workspace strong {
    font-size:11px;
    display:block
}
.workspace small {
    font-size:10px;
    color:var(--muted);
    margin-top:4px
}
.workspace-icon {
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:8px;
    background:#e5eff3;
    color:#3c7782;
    font-size:16px;
    font-weight:700
}
.nav-caption {
    font-size:9px;
    font-weight:700;
    letter-spacing:1.7px;
    color:#96929e;
    margin:0 13px 12px
}
.nav-link {
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px 15px;
    border-radius:9px;
    color:#757080;
    font-size:13px;
    margin-bottom:6px
}
.nav-link.selected {
    background:var(--lavender);
    color:var(--purple-dark);
    font-weight:650
}
.nav-link:hover {
    background:#f5f1fa
}
.nav-link .icon {
    width:18px;
    height:18px
}
.sidebar-bottom {
    margin-top:auto
}
.workspace-note {
    background:#f9f6fd;
    border:1px solid #eee6f8;
    border-radius:12px;
    padding:18px;
    margin:36px 2px 24px
}
.small-flower {
    display:block;
    font-size:27px;
    color:#9c7ac7;
    margin-bottom:10px
}
.workspace-note strong {
    font-size:12px
}
.workspace-note p {
    color:#93869f;
    font-size:11px;
    line-height:1.8;
    margin-top:6px
}
.signed-user {
    display:flex;
    align-items:center;
    gap:10px;
    border-top:1px solid var(--line);
    padding:20px 0;
    min-width:0
}
.signed-user>div {
    min-width:0;
    flex:1
}
.signed-user strong {
    font-size:11px;
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}
.signed-user small {
    font-size:10px;
    color:var(--muted);
    margin-top:4px
}
.icon-button {
    border:0;
    background:none;
    color:#8f8999;
    padding:4px
}
.app-main {
    margin-left:244px;
    min-height:100vh;
    display:flex;
    flex-direction:column
}
.topbar {
    height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
    background:#fff;
    border-bottom:1px solid var(--line);
    font-size:11px;
    color:var(--muted)
}
.topbar strong {
    color:#605968;
    font-weight:500
}
.topbar-date {
    display:flex;
    align-items:center
}
.live-dot {
    width:6px;
    height:6px;
    border-radius:50%;
    background:#83a792;
    margin-right:8px
}
.content {
    padding:36px 40px 24px;
    max-width:1640px;
    width:100%;
    margin:0 auto;
    flex:1
}
.page-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    margin-bottom:28px
}
.page-heading p {
    font-size:13px;
    color:var(--muted);
    margin-top:10px;
    line-height:1.7
}
.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:1px solid transparent;
    border-radius:8px;
    padding:11px 17px;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
    line-height:1.5;
    min-height:41px
}
.button .icon {
    width:17px;
    height:17px
}
.primary {
    background:var(--purple);
    color:#fff;
    box-shadow:0 3px 6px #67449716
}
.primary:hover {
    background:#62449e;
    color:#fff
}
.secondary {
    border-color:#e4dfe9;
    background:#fff;
    color:#6d627a
}
.secondary:hover {
    background:#faf8fc
}
.full {
    width:100%
}
.disabled {
    opacity:.45;
    cursor:default
}
.stats-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin-bottom:28px
}
.stat-card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:21px 22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px
}
.stat-card span {
    font-size:11px;
    color:var(--muted)
}
.stat-card strong {
    display:block;
    font-size:29px;
    font-weight:600;
    letter-spacing:-.6px;
    margin-top:9px
}
.stat-icon {
    border-radius:13px;
    padding:12px;
    background:#f3edf9;
    color:#8c6bb6!important
}
.stat-icon.active {
    background:#eaf5ef;
    color:#62917b!important
}
.stat-icon.departments {
    background:#edf2fb;
    color:#738db7!important
}
.stat-icon.new {
    background:#fff4e8;
    color:#c39a6b!important
}
.panel {
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden
}
.directory-heading {
    padding:23px 25px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px
}
.directory-heading p,.panel-heading p {
    font-size:11px;
    color:var(--muted);
    line-height:1.7;
    margin-top:6px
}
.count-chip {
    font-size:10px;
    padding:3px 7px;
    border-radius:5px;
    background:var(--lavender);
    color:var(--purple);
    vertical-align:middle;
    display:inline-block;
    margin-left:6px
}
.subtle-tag {
    display:flex;
    align-items:center;
    gap:5px;
    color:#958b9f;
    font-size:10px;
    white-space:nowrap
}
.subtle-tag .icon {
    width:13px;
    height:13px
}
.filters {
    padding:0 25px 22px;
    display:flex;
    gap:10px;
    align-items:center
}
.search-field {
    position:relative;
    flex:1;
    min-width:130px
}
.search-field .icon {
    position:absolute;
    left:12px;
    top:12px;
    width:17px;
    height:17px;
    color:#a7a1ad
}
.search-field input {
    padding-left:38px
}
.filters select {
    width:auto;
    min-width:135px;
    font-size:11px
}
.filters input {
    font-size:11px
}
input,select,textarea {
    border:1px solid #e5e1e9;
    border-radius:7px;
    background:#fff;
    color:var(--ink);
    padding:11px 12px;
    width:100%;
    min-height:41px;
    line-height:1.4
}
select {
    padding-right:26px
}
input::placeholder,textarea::placeholder {
    color:#a6a0af
}
input:focus,select:focus,textarea:focus {
    outline:2px solid #c6b5de;
    outline-offset:1px;
    border-color:#9877be
}
input[aria-invalid=true] {
    border-color:#c16d75
}
textarea {
    resize:vertical
}
.table-scroll {
    overflow-x:auto
}
table {
    border-collapse:collapse;
    width:100%;
    text-align:left;
    font-size:12px
}
thead {
    background:#fbfafc
}
th {
    font-size:9px;
    letter-spacing:.8px;
    text-transform:uppercase;
    font-weight:600;
    color:#96909e;
    padding:14px 16px;
    border-top:1px solid #f0edf3;
    border-bottom:1px solid var(--line);
    white-space:nowrap
}
td {
    padding:18px 16px;
    border-bottom:1px solid #f0edf3;
    line-height:1.5
}
th:first-child,td:first-child {
    padding-left:25px
}
th:last-child,td:last-child {
    padding-right:25px
}
td small {
    color:#948c9d;
    font-size:10px;
    margin-top:3px
}
.cell-title {
    font-size:11px;
    font-weight:550
}
tbody tr:hover {
    background:#fdfbff
}
.person-cell {
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--ink);
    min-width:160px
}
.person-cell strong {
    font-size:12px;
    font-weight:600
}
.avatar {
    display:grid;
    place-items:center;
    flex:none;
    width:39px;
    height:39px;
    border-radius:12px;
    font-weight:600;
    font-size:12px;
    color:#8f6599;
    background:#efe5f0
}
.avatar.tiny {
    width:32px;
    height:32px;
    border-radius:10px
}
.tone-0 {
    background:#eee7fa;
    color:#8767b3
}
.tone-1 {
    background:#e6eeeb;
    color:#6a8d7d
}
.tone-2 {
    background:#f7eee1;
    color:#b18d5c
}
.tone-3 {
    background:#e5edf7;
    color:#7391ad
}
.status-badge {
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:4px 9px;
    border-radius:5px;
    font-size:9px;
    font-weight:600;
    white-space:nowrap
}
.status-badge:before {
    content:'';
    width:4px;
    height:4px;
    background:currentColor;
    border-radius:50%
}
.status-badge.active {
    color:#44866a;
    background:#edf7f0
}
.status-badge.inactive {
    color:#968291;
    background:#f4eff3
}
.row-link {
    color:#b5aabc
}
.row-link .icon {
    width:16px;
    height:16px
}
.pagination-wrap {
    padding:17px 25px;
    font-size:10px
}
.pagination {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:var(--muted)
}
.pagination>div {
    display:flex;
    align-items:center;
    gap:12px
}
.pagination .button {
    padding:7px 12px;
    min-height:32px;
    font-size:10px
}
.below-note {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    font-size:10px;
    color:#aaa3b2;
    margin-top:20px
}
.below-note .icon {
    width:13px;
    height:13px
}
.app-footer {
    margin:22px 40px 0;
    padding:20px 0;
    display:flex;
    justify-content:space-between;
    border-top:1px solid var(--line);
    font-size:10px;
    color:#a29aa9
}
.empty-state {
    text-align:center;
    padding:62px 20px 70px;
    border-top:1px solid var(--line)
}
.empty-symbol {
    display:grid;
    place-items:center;
    width:62px;
    height:62px;
    border-radius:20px;
    background:var(--lavender);
    color:var(--purple);
    margin:0 auto 20px
}
.empty-symbol .icon {
    width:29px;
    height:29px
}
.empty-state p {
    font-size:13px;
    color:var(--muted);
    margin:11px 0 24px
}
.notice {
    padding:15px 18px;
    border:1px solid #e4d9f2;
    background:#f7f3fc;
    border-radius:9px;
    color:#775a98;
    font-size:12px;
    line-height:1.7;
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:23px
}
.notice .icon {
    width:17px;
    height:17px;
    margin-top:2px
}
.notice.success {
    background:#edf7f1;
    color:#347451;
    border-color:#d3e9dc
}
.notice.error {
    background:#fff3f3;
    color:#994650;
    border-color:#f1d6d9
}
.notice ul {
    padding-left:17px;
    margin:5px 0 0
}
.stack {
    display:flex;
    flex-direction:column;
    gap:20px
}
.field label {
    display:block;
    font-size:12px;
    font-weight:550;
    color:#64586f;
    margin-bottom:8px
}
.field small {
    font-size:10px;
    color:#92889b;
    margin-top:7px;
    line-height:1.7
}
.field .field-error {
    color:#b24a5c
}
.required {
    color:#9970bc
}
.back-link {
    display:inline-block;
    font-size:11px;
    color:#95829e;
    margin-bottom:22px
}
.form-layout {
    display:grid;
    grid-template-columns:170px minmax(0,1fr);
    gap:28px
}
.section-nav {
    position:sticky;
    top:24px;
    align-self:start
}
.section-nav a {
    display:flex;
    gap:12px;
    color:#b6a5c8;
    font-size:11px;
    padding:14px 4px;
    border-bottom:1px solid var(--line)
}
.section-nav a span {
    color:#6d627a;
    font-size:12px
}
.section-nav p {
    color:#a498ad;
    font-size:11px;
    line-height:1.8;
    margin-top:22px;
    max-width:150px
}
.section-stack {
    display:flex;
    flex-direction:column;
    gap:22px;
    min-width:0
}
.panel-heading {
    display:flex;
    align-items:center;
    gap:13px;
    padding:23px 26px;
    border-bottom:1px solid var(--line)
}
.panel-heading>div {
    flex:1
}
.panel-heading>.icon {
    color:#a28bb9;
    width:19px
}
.section-number {
    font-size:11px;
    color:#9e86b7;
    background:#f6f0fc;
    padding:10px;
    border-radius:9px
}
.panel-body {
    padding:25px 26px
}
.form-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:23px
}
.wide {
    grid-column:1/-1
}
.form-actions {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:0 0 10px
}
.form-actions>span {
    color:#a296ad;
    font-size:10px
}
.form-actions>span .icon {
    width:13px;
    height:13px
}
.form-actions>div {
    display:flex;
    gap:10px
}
.narrow {
    max-width:800px
}
.profile-hero {
    border:1px solid var(--line);
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    margin-bottom:28px
}
.profile-banner {
    height:100px;
    background:linear-gradient(100deg,#eae3f5,#f4f0f9 70%,#e1d8ee);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 32px;
    color:#9a81b0;
    font-size:11px;
    letter-spacing:.3px
}
.banner-flower {
    font-size:100px;
    color:#d7c6e9;
    transform:rotate(20deg)
}
.profile-summary {
    display:flex;
    align-items:center;
    gap:22px;
    padding:0 28px 23px;
    position:relative
}
.profile-avatar {
    width:84px;
    height:84px;
    border:5px solid #fff;
    border-radius:24px;
    font-size:24px;
    margin-top:-25px
}
.profile-name {
    flex:1;
    padding-top:20px
}
.profile-name h1 {
    font-size:26px;
    letter-spacing:-.8px
}
.profile-name .eyebrow {
    font-size:9px;
    margin-bottom:5px
}
.profile-name p {
    font-size:11px;
    color:var(--muted);
    margin-top:7px
}
.profile-nav {
    display:flex;
    gap:28px;
    border-top:1px solid var(--line);
    padding:0 30px
}
.profile-nav a {
    font-size:11px;
    color:#80728f;
    padding:16px 0;
    border-bottom:2px solid transparent
}
.profile-nav a:hover {
    border-color:var(--purple)
}
.profile-layout {
    display:grid;
    grid-template-columns:240px minmax(0,1fr);
    gap:24px
}
.at-a-glance {
    padding:24px;
    align-self:start
}
.at-a-glance h2 {
    font-size:14px;
    margin-bottom:25px
}
.at-a-glance>div {
    display:flex;
    gap:12px;
    margin-top:24px;
    color:#a08bb6
}
.at-a-glance span {
    font-size:10px;
    color:#99909f
}
.at-a-glance strong {
    display:block;
    color:#62566f;
    font-size:11px;
    font-weight:500;
    margin-top:6px
}
.at-a-glance .icon {
    width:17px;
    height:17px
}
.detail-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:25px;
    margin:0
}
.detail-grid dt {
    font-size:10px;
    color:#9b91a4;
    margin-bottom:7px
}
.detail-grid dd {
    margin:0;
    font-size:12px;
    color:#62536f;
    overflow-wrap:anywhere;
    white-space:pre-line;
    line-height:1.7
}
.detail-grid .pay-amount {
    font-size:17px;
    font-weight:550
}
.record-meta {
    font-size:10px;
    color:#a498ad;
    margin:0 0 10px
}
.role-guide {
    padding:18px;
    background:#faf8fc;
    border-radius:9px;
    font-size:11px;
    color:#8b7c97;
    line-height:1.9
}
.role-guide>strong {
    display:block;
    margin-bottom:8px;
    color:#6d597c
}
.role-guide p {
    margin:5px 0
}
.text-link {
    font-size:11px
}
.align-right {
    text-align:right;
    font-size:11px
}
.guest-body {
    background:#fff
}
.auth-layout {
    display:grid;
    grid-template-columns:46% 54%;
    min-height:100vh
}
.auth-story {
    background:#473064;
    color:#fff;
    padding:46px 52px 30px;
    display:flex;
    flex-direction:column;
    position:relative;
    overflow:hidden
}
.brand.inverse {
    color:#fff;
    position:relative;
    z-index:1
}
.brand.inverse small {
    color:#b8a6cf
}
.brand.inverse .brand-mark {
    background:#74549a
}
.story-copy {
    margin-top:100px;
    position:relative;
    z-index:1
}
.story-copy .eyebrow {
    color:#cbb7e0;
    font-size:9px;
    letter-spacing:2px;
    margin-bottom:25px
}
.story-copy h1 {
    font-size:clamp(38px,4.2vw,66px);
    line-height:1.13;
    letter-spacing:-2px;
    font-weight:450
}
.story-copy em {
    font-family:Georgia,serif;
    color:#d5bbee;
    font-weight:400
}
.story-copy p {
    font-size:12px;
    line-height:1.9;
    color:#bfaecd;
    margin-top:25px
}
.story-footer {
    position:relative;
    z-index:1;
    margin-top:auto;
    padding-top:170px;
    display:flex;
    justify-content:space-between;
    font-size:10px;
    color:#b49dc9
}
.auth-form-wrap {
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    padding:60px 40px
}
.auth-form {
    width:350px;
    max-width:100%
}
.pill {
    display:inline-block;
    background:#f2edf8;
    color:#9174b0;
    font-size:8px;
    font-weight:650;
    letter-spacing:1.8px;
    padding:7px 10px;
    border-radius:5px;
    margin-bottom:25px
}
.auth-form h2 {
    font-size:30px;
    letter-spacing:-1px;
    margin-bottom:12px
}
.auth-form>.muted {
    font-size:12px;
    line-height:1.8;
    margin-bottom:34px
}
.auth-form .field label {
    font-size:11px
}
.auth-form input {
    min-height:46px
}
.auth-form .button {
    padding:13px 18px;
    margin-top:3px
}
.auth-form .button .icon {
    margin-left:auto
}
.auth-help {
    border-top:1px solid var(--line);
    margin-top:30px;
    padding-top:22px;
    color:#a197aa;
    font-size:11px;
    line-height:1.8;
    text-align:center
}
.auth-footer {
    position:absolute;
    bottom:30px;
    color:#b2a9ba;
    font-size:10px
}
.petals {
    position:absolute;
    width:330px;
    height:330px;
    right:-60px;
    bottom:70px;
    transform:rotate(-25deg);
    opacity:.55
}
.petals i {
    position:absolute;
    width:135px;
    height:220px;
    border-radius:100% 0 100% 0;
    border:1px solid #b797d0;
    background:linear-gradient(35deg,#69447f22,#9f76b85c);
    transform-origin:bottom right;
    left:20px;
    top:20px
}
.petals i:nth-child(2) {
    transform:rotate(45deg)
}
.petals i:nth-child(3) {
    transform:rotate(90deg)
}
.petals i:nth-child(4) {
    transform:rotate(135deg)
}
.petals>span {
    position:absolute;
    color:#b197c6;
    font-size:45px;
    left:25px;
    bottom:10px
}
@media(min-width:1600px) {
    .content {
        padding-top:48px
    }
    .stat-card {
        padding:26px
    }
}
@media(max-width:1150px) {
    .sidebar {
        width:210px;
        padding-left:14px;
        padding-right:14px
    }
    .app-main {
        margin-left:210px
    }
    .topbar {
        padding:0 25px
    }
    .content {
        padding:28px 25px
    }
    .stat-card {
        padding:18px 15px
    }
    .stat-icon {
        padding:9px
    }
    .filters {
        flex-wrap:wrap
    }
    .search-field {
        min-width:100%;
        flex-basis:100%
    }
    .profile-layout {
        grid-template-columns:200px minmax(0,1fr)
    }
    .form-layout {
        grid-template-columns:130px minmax(0,1fr);
        gap:20px
    }
    .profile-summary {
        gap:12px
    }
    .profile-summary .button {
        padding:9px 12px
    }
    .auth-story {
        padding:38px 35px
    }
    .story-copy {
        margin-top:90px
    }
}
@media(max-width:850px) {
    .sidebar {
        position:static;
        width:100%;
        padding:16px 22px;
        border-right:0;
        border-bottom:1px solid var(--line);
        display:flex;
        flex-direction:row;
        align-items:center;
        gap:20px
    }
    .sidebar>.brand {
        padding:0;
        font-size:24px
    }
    .sidebar .brand-mark {
        width:33px;
        height:33px;
        font-size:30px;
        border-radius:10px
    }
    .sidebar .brand small {
        font-size:6px
    }
    .sidebar nav {
        display:flex;
        margin-left:auto;
        gap:4px
    }
    .sidebar .nav-link {
        padding:10px;
        font-size:11px;
        margin:0;
        gap:6px
    }
    .sidebar .workspace,.nav-caption,.workspace-note {
        display:none
    }
    .sidebar-bottom {
        margin:0
    }
    .signed-user {
        padding:0;
        border:0
    }
    .signed-user>.avatar,.signed-user>div {
        display:none
    }
    .app-main {
        margin:0
    }
    .topbar {
        height:54px
    }
    .stats-grid {
        gap:12px
    }
    .stat-card {
        padding:18px 14px
    }
    .stat-icon {
        display:none
    }
    .form-layout {
        grid-template-columns:1fr
    }
    .section-nav {
        position:static;
        display:flex;
        flex-wrap:wrap;
        gap:20px
    }
    .section-nav p {
        display:none
    }
    .section-nav a {
        border:0;
        padding:0 0 10px
    }
    .profile-layout {
        grid-template-columns:1fr
    }
    .at-a-glance {
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:20px
    }
    .at-a-glance h2 {
        grid-column:1/-1;
        margin:0
    }
    .at-a-glance>div {
        margin:0
    }
    .profile-summary {
        flex-wrap:wrap
    }
    .profile-summary>.status-badge {
        margin-left:auto
    }
    .auth-layout {
        grid-template-columns:42% 58%
    }
    .auth-story {
        padding:32px 25px
    }
    .story-copy h1 {
        font-size:38px
    }
    .story-copy p br {
        display:none
    }
    .petals {
        right:-130px
    }
    .auth-form-wrap {
        padding:45px 30px
    }
}
@media(max-width:600px) {
    .sidebar {
        padding:14px 16px;
        gap:8px;
        flex-wrap:wrap
    }
    .sidebar .brand {
        font-size:22px
    }
    .sidebar nav {
        order:3;
        width:100%;
        margin:5px 0 0
    }
    .sidebar .nav-link {
        flex:1;
        justify-content:center;
        font-size:10px
    }
    .sidebar-bottom {
        margin-left:auto
    }
    .topbar {
        padding:0 18px;
        font-size:10px
    }
    .topbar-date {
        display:none
    }
    .content {
        padding:26px 18px
    }
    .page-heading {
        align-items:flex-start;
        gap:15px;
        margin-bottom:24px
    }
    .page-heading h1 {
        font-size:30px
    }
    .page-heading p {
        font-size:11px
    }
    .page-heading>.button {
        font-size:10px;
        padding:10px;
        gap:5px;
        margin-top:24px
    }
    .eyebrow {
        font-size:8px;
        letter-spacing:1.3px
    }
    .stats-grid {
        grid-template-columns:repeat(2,1fr);
        gap:10px;
        margin-bottom:22px
    }
    .stat-card {
        padding:17px
    }
    .stat-card strong {
        font-size:26px
    }
    .directory-heading {
        padding:20px 18px
    }
    .directory-heading h2 {
        font-size:15px
    }
    .directory-heading>.subtle-tag {
        display:none
    }
    .filters {
        padding:0 18px 18px;
        gap:8px
    }
    .filters select {
        min-width:0;
        flex:1;
        font-size:10px
    }
    .filters .button {
        font-size:10px;
        padding:10px
    }
    .below-note {
        line-height:1.7;
        align-items:flex-start
    }
    .app-footer {
        margin:15px 18px 0;
        font-size:9px
    }
    .app-footer>span:last-child {
        display:none
    }
    .form-grid,.detail-grid {
        grid-template-columns:1fr;
        gap:20px
    }
    .panel-body {
        padding:21px 20px
    }
    .panel-heading {
        padding:20px;
        gap:10px
    }
    .panel-heading h2 {
        font-size:15px
    }
    .panel-heading p {
        font-size:10px
    }
    .form-actions {
        align-items:flex-end;
        flex-direction:column
    }
    .form-actions>span {
        align-self:flex-start
    }
    .section-nav {
        gap:15px
    }
    .section-nav a {
        font-size:9px;
        gap:6px
    }
    .section-nav a span {
        font-size:10px
    }
    .profile-banner {
        padding:0 20px;
        font-size:9px
    }
    .profile-summary {
        padding:0 20px 20px
    }
    .profile-avatar {
        width:62px;
        height:62px;
        border-radius:19px;
        font-size:19px
    }
    .profile-name {
        min-width:190px
    }
    .profile-name h1 {
        font-size:23px
    }
    .profile-summary>.status-badge {
        margin-left:0
    }
    .profile-summary>.button {
        margin-left:auto
    }
    .profile-nav {
        gap:23px;
        padding:0 20px
    }
    .profile-nav a {
        font-size:10px
    }
    .at-a-glance {
        padding:20px
    }
    .pagination {
        flex-direction:column;
        align-items:flex-start
    }
    .pagination-wrap {
        padding:16px 18px
    }
    .auth-layout {
        display:block;
        min-height:100vh
    }
    .auth-story {
        padding:25px 25px 28px
    }
    .auth-story .brand {
        font-size:25px
    }
    .auth-story .brand-mark {
        width:36px;
        height:36px;
        font-size:31px
    }
    .story-copy {
        margin-top:28px
    }
    .story-copy .eyebrow {
        font-size:8px;
        margin-bottom:12px
    }
    .story-copy h1 {
        font-size:34px
    }
    .story-copy h1 br {
        display:none
    }
    .story-copy h1 em {
        display:block
    }
    .story-copy p,.story-footer,.petals {
        display:none
    }
    .auth-form-wrap {
        padding:38px 25px 75px
    }
    .auth-form {
        width:100%
    }
    .auth-form h2 {
        font-size:26px
    }
    .auth-form>.pill {
        display:none
    }
    .auth-footer {
        bottom:24px
    }
}
@media(prefers-reduced-motion:no-preference) {
    a,button {
        transition:background-color .15s,color .15s
    }
}
/* Personal workspace and HR overview */
.my-info-hero { margin-bottom:24px }
.my-info-hero .profile-name h2 { font-size:30px; letter-spacing:-.8px; margin:6px 0 }
.my-info-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; align-items:start }
.my-info-contact { padding:24px }
.my-info-contact h2 { font-size:16px; margin-bottom:22px }
.my-info-contact dl { margin:0 }
.my-info-contact dl div { margin:0 0 20px }
.my-info-contact dl div:last-child { margin-bottom:0 }
.my-info-contact dt { font-size:11px; color:var(--muted); margin-bottom:6px }
.my-info-contact dd { margin:0; font-size:13px; line-height:1.6; overflow-wrap:anywhere }
.my-info-note { padding:22px; background:var(--lavender); border-radius:14px; color:var(--purple-dark) }
.my-info-note h3 { font-size:14px; margin:12px 0 8px }
.my-info-note p { font-size:12px; line-height:1.7; margin-bottom:16px }
.info-tabs { display:flex; gap:28px; border-bottom:1px solid var(--line); overflow-x:auto; background:white; padding:0 22px; border-radius:12px 12px 0 0 }
.info-tabs a { color:var(--muted); padding:19px 0 16px; font-size:13px; font-weight:600; border-bottom:3px solid transparent; white-space:nowrap }
.info-tabs a.selected { color:var(--purple-dark); border-color:var(--purple) }
.hr-welcome { display:flex; justify-content:space-between; align-items:center; padding:30px 34px; border:1px solid #e9e1f5; background:linear-gradient(110deg,#f1ebfa,#fcfaf6); border-radius:18px; margin-bottom:22px }
.hr-welcome h1 { margin:10px 0 }
.hr-welcome p { color:var(--muted); line-height:1.7 }
.hr-welcome-flower { font-size:90px; color:#c7b5df; margin-left:24px }
.dashboard-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:24px }
.dashboard-actions>.text-link { margin-left:auto }
.hr-dashboard-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start }
.department-breakdown { display:grid; gap:20px }
.department-count { display:flex; justify-content:space-between; gap:14px; font-size:13px; margin-bottom:7px }
.department-count span { overflow-wrap:anywhere }
.department-breakdown meter { width:100%; height:12px; border:0; background:#f0edf5; border-radius:8px }
.department-breakdown meter::-webkit-meter-bar { background:#f0edf5; border:0; border-radius:8px }
.department-breakdown meter::-webkit-meter-optimum-value { background:#967abf; border-radius:8px }
.department-breakdown meter::-moz-meter-bar { background:#967abf }
.dashboard-person { display:flex; align-items:center; gap:13px; padding:18px 24px; color:var(--ink); border-bottom:1px solid var(--line) }
.dashboard-person:last-child { border-bottom:0 }
.dashboard-person:hover { background:var(--lavender) }
.dashboard-person>span:nth-child(2) { min-width:0; flex:1 }
.dashboard-person strong,.dashboard-person small { display:block; overflow-wrap:anywhere }
.dashboard-person strong { font-size:13px; margin-bottom:5px }
.dashboard-person small,.dashboard-person time { color:var(--muted); font-size:11px }
.dashboard-person time { white-space:nowrap }
.dashboard-empty { text-align:center; padding:36px 26px }
.dashboard-empty>span { display:block; font-size:30px; color:var(--purple); margin-bottom:14px }
.dashboard-empty h3 { font-size:15px; margin-bottom:10px }
.dashboard-empty p { color:var(--muted); font-size:12px; line-height:1.8 }
.housekeeping-count { display:flex; align-items:center; gap:16px; margin-bottom:18px }
.housekeeping-count strong { font-size:38px; color:var(--purple) }
.housekeeping-count span { color:var(--muted); font-size:13px }
.housekeeping-count~.button { margin-top:24px }
@media(max-width:1050px) { .my-info-layout { grid-template-columns:220px minmax(0,1fr) } }
@media(max-width:760px) {
.my-info-layout,.hr-dashboard-grid { grid-template-columns:minmax(0,1fr) }
.my-info-contact dl { display:grid; grid-template-columns:1fr 1fr; gap:18px }
.my-info-contact dl div { margin:0 }
.my-info-note { display:none }
.hr-welcome { padding:24px }
.hr-welcome h1 { font-size:29px }
.hr-welcome-flower { display:none }
.dashboard-actions>.text-link { margin-left:0; padding:10px 0 }
.info-tabs { gap:22px; padding:0 16px }
.my-info-hero .profile-name h2 { font-size:24px }
}
@media(max-width:850px) {
    .sidebar { flex-wrap:wrap }
    .sidebar nav { order:3; width:100%; min-width:0; flex-wrap:wrap; margin-left:0 }
    .sidebar-bottom { margin-left:auto }
}
.avatar { overflow:hidden; flex-shrink:0 }
.avatar img { display:block; width:100%; height:100%; object-fit:cover; image-orientation:from-image }
.employee-name-inline { display:inline-flex; align-items:center; gap:10px; vertical-align:middle }
.text-button { background:transparent; border:0; color:var(--purple); padding:4px 0; text-decoration:underline }
.photo-trigger { position:relative; padding:0; cursor:pointer }
.photo-trigger.tiny { border:0 }
.photo-edit-cue { position:absolute; bottom:0; right:0; display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:var(--purple-dark); color:#fff; font-size:17px; line-height:1 }
.photo-trigger.tiny .photo-edit-cue { width:14px; height:14px; font-size:10px }
.photo-trigger:hover,.photo-trigger:focus-visible { box-shadow:0 0 0 3px #baa5d6 }
.photo-dialog { border:0; border-radius:20px; padding:26px; width:min(420px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; color:var(--ink); box-shadow:0 20px 80px #29263740 }
.photo-dialog::backdrop { background:#29263780 }
.photo-dialog [hidden] { display:none }
.photo-dialog-heading { display:flex; justify-content:space-between; align-items:start; gap:18px }
.photo-dialog-heading h2 { font-size:21px }
.photo-dialog-heading p,.photo-help { color:var(--muted); font-size:12px; line-height:1.7; margin-top:8px }
.photo-dialog-heading .icon-button { font-size:26px }
.photo-preview { display:grid; place-items:center; width:144px; height:144px; margin:24px auto; border-radius:50%; overflow:hidden; background:var(--lavender); color:var(--purple-dark); font-size:38px }
.photo-preview img { width:100%; height:100%; object-fit:cover }
.photo-dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:24px }
.photo-dialog [data-photo-remove] { margin-top:18px; text-align:center }
.photo-dialog button:disabled { opacity:.5; cursor:default }
.photo-error { color:#a12828; font-size:13px; margin-top:12px }
.my-info-details { min-width:0 }
.info-tabs a { display:inline-flex; align-items:center; gap:8px; flex-shrink:0 }
.info-tabs .icon { width:17px; height:17px; flex-shrink:0 }
/* Keep directory actions, filters and records in predictable groups. */
.people-heading { align-items:center; margin-bottom:22px }
.people-actions { display:flex; align-items:center; gap:10px; flex-shrink:0 }
.people-summary { gap:0; background:white; border:1px solid var(--line); border-radius:12px; margin-bottom:24px; overflow:hidden }
.people-summary .stat-card { border:0; border-right:1px solid var(--line); border-radius:0; padding:16px 22px }
.people-summary .stat-card:last-child { border-right:0 }
.people-summary .stat-card strong { font-size:23px; margin-top:5px }
.people-summary .stat-icon { display:none }
.people-directory .directory-heading { padding:22px 24px 18px }
.people-filters { display:grid; grid-template-columns:minmax(200px,1fr) minmax(145px,190px) minmax(125px,150px) auto; align-items:end; gap:12px; padding:0 24px 24px; border-bottom:1px solid var(--line) }
.people-filters label { display:block; font-size:11px; font-weight:600; color:var(--muted); margin-bottom:7px }
.people-filters input,.people-filters select { font-size:12px; min-height:42px }
.people-filters .search-field { min-width:0 }
.people-filter-actions { display:flex; align-items:center; gap:12px; min-height:42px }
.people-filter-actions .text-link { font-size:12px; white-space:nowrap }
.people-table .row-link { color:var(--purple-dark); display:inline-flex; gap:7px; width:auto; height:auto; padding:8px 10px; font-size:12px; border-radius:7px }
.people-table .row-link .icon { width:15px; height:15px }
.people-table .people-row-action { text-align:right }
.people-table td { padding-top:18px; padding-bottom:18px }
@media(max-width:1150px) {
.people-filters { grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto }
.people-filter-search { grid-column:1/-1 }
}
@media(max-width:640px) {
.people-heading { flex-direction:column; align-items:stretch; gap:16px }
.people-actions { width:100%; display:grid; grid-template-columns:1fr 1fr }
.people-actions .button { margin:0; font-size:12px; padding:11px 12px }
.people-summary { grid-template-columns:repeat(2,minmax(0,1fr)) }
.people-summary .stat-card { padding:14px 18px }
.people-summary .stat-card:nth-child(2) { border-right:0 }
.people-summary .stat-card:nth-child(-n+2) { border-bottom:1px solid var(--line) }
.people-directory .directory-heading { padding:20px 18px 16px }
.people-filters { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:0 18px 20px; gap:14px 10px }
.people-filter-actions { grid-column:1/-1; justify-content:flex-end }
.people-table { display:block; min-width:0; width:100% }
.people-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%) }
.people-table tbody { display:block }
.people-table tbody tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; padding:20px 18px; border-bottom:1px solid var(--line) }
.people-table tbody td { padding:0; border:0; min-width:0; white-space:normal; overflow-wrap:anywhere }
.people-table .people-person { grid-column:1/-1 }
.people-table td[data-label]::before { content:attr(data-label); display:block; color:var(--muted); font-size:10px; margin-bottom:6px }
.people-table .people-row-action { grid-column:1/-1; border-top:1px solid var(--line); padding-top:8px }
.people-table .person-cell { min-width:0 }
.people-table .person-cell strong { font-size:14px }
}

/* Holiday calendar and dated working weeks */
.calendar-actions, .calendar-filter, .calendar-toolbar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.calendar-toolbar { justify-content:space-between; }
.calendar-toolbar h2 { min-width:150px; text-align:center; margin:0; }
.calendar-filter { align-items:flex-end; }
.calendar-filter .field { margin:0; }
.calendar-scroll { overflow-x:auto; }
.holiday-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); min-width:640px; }
.calendar-weekday { padding:12px; text-align:center; font-weight:600; color:#6e6683; border-top:1px solid #eeeaf3; }
.calendar-day { min-height:124px; padding:10px; border-top:1px solid #eeeaf3; border-right:1px solid #eeeaf3; }
.calendar-day.non-working { background:#f5f2fb; }
.calendar-day.outside-month { opacity:.4; background:#fafafa; }
.calendar-day time { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; font-weight:600; }
.calendar-day .today { background:#7656bd; color:#fff; border-radius:50%; }
.calendar-event { display:block; background:#e8def9; color:#4b327f; border-radius:6px; padding:6px 8px; font-size:12px; margin-top:6px; overflow-wrap:anywhere; }
.calendar-event small { display:block; font-size:10px; margin-top:3px; }
.calendar-day-note { display:block; color:#81788e; font-size:11px; margin-top:12px; }
.calendar-list { margin-top:24px; }
.calendar-list-row { display:flex; align-items:center; gap:20px; padding:20px 26px; border-top:1px solid #eeeaf3; }
.holiday-date { background:#f5f2fb; border-radius:10px; min-width:52px; padding:8px; text-align:center; }
.holiday-date strong, .holiday-date span { display:block; }
.holiday-date span { font-size:11px; }
.holiday-description { flex:1; min-width:0; overflow-wrap:anywhere; }
.holiday-description p { margin:4px 0 0; }
.calendar-editor { max-width:900px; }
.calendar-departments { border:1px solid #e6e0ee; border-radius:10px; padding:20px; display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; }
.calendar-departments label { display:flex; align-items:center; gap:10px; }
.calendar-departments input { width:18px; height:18px; accent-color:#7656bd; }
.calendar-departments[hidden], [data-scope-section][hidden] { display:none; }
.calendar-remove { margin-top:24px; color:#75677e; }
.calendar-remove summary, .week-history summary { cursor:pointer; }
.week-inputs { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:12px; }
.week-history { padding:24px; border-top:1px solid #eeeaf3; }
.week-summary { display:flex; gap:8px; flex-wrap:wrap; margin:16px 0; }
.week-summary span { min-width:55px; padding:8px; border-radius:8px; text-align:center; background:#f1ecf9; font-size:12px; }
.week-summary strong { display:block; margin-bottom:4px; }
.week-summary .off { background:#f5f5f6; color:#85818a; }
@media(max-width:1000px) { .week-inputs { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:640px) { .week-inputs { grid-template-columns:repeat(2,minmax(0,1fr)); } .calendar-filter { width:100%; } .calendar-filter .field { flex:1; min-width:130px; } .calendar-list-row { gap:12px; padding:16px; } .calendar-actions { gap:8px; } }
@media(max-width:640px) {
    .page-heading:has(.calendar-actions) { flex-direction:column; align-items:flex-start; }
    .holiday-grid { min-width:0; }
    .calendar-weekday { padding:10px 2px; font-size:11px; }
    .calendar-day { min-height:65px; padding:5px; }
    .calendar-day time { width:24px; height:24px; font-size:12px; }
    .calendar-day-note { display:none; }
    .calendar-event { font-size:0; padding:0; width:7px; height:7px; border-radius:50%; background:#7656bd; margin:5px auto; }
    .calendar-event small { display:none; }
}

/* Break management */
.break-tabs { margin-bottom:24px; }
.break-columns { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
.break-countdown { font-size:32px; color:#7054ae; }
.break-stats { display:flex; gap:24px; flex-wrap:wrap; }
.break-stats strong { display:block; font-size:24px; }
.break-stats span { color:#80758e; font-size:12px; }
.break-widget { position:fixed; bottom:20px; right:20px; z-index:30; background:#fff; border:2px solid #8467b8; padding:12px 16px; border-radius:14px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; max-width:calc(100vw - 32px); }
.break-widget[hidden], [data-break-ended][hidden], [data-roster-employee][hidden] { display:none; }
.break-widget a { color:#513775; text-decoration:none; }
.break-widget strong, .break-widget span { display:block; }
.break-widget span, .break-widget small { font-size:12px; }
.break-widget.break-ending { border-color:#b7791f; background:#fffbeb; }
.break-template summary { cursor:pointer; padding:12px 0; }
.break-template form { padding:16px 0; }
.break-correction-form { min-width:240px; padding:12px 0; }
.break-live-list { display:flex; gap:24px; flex-wrap:wrap; }
.break-live-list > div { border-left:3px solid #8467b8; padding-left:16px; }
@media(max-width:1000px) { .break-columns { grid-template-columns:1fr; } }
@media(max-width:640px) { .break-widget { bottom:8px; right:8px; gap:8px; padding:10px; } .break-widget .button { padding:10px; } .break-stats { gap:16px; } }
@media(max-width:640px) {
 .break-table, .break-table tbody, .break-table tr, .break-table td { display:block; width:100%; min-width:0; }
 .break-table thead { display:none; }
 .break-table tr { padding:12px 16px; border-bottom:1px solid #eeeaf3; }
 .break-table td { border:0; padding:8px 0; white-space:normal; overflow-wrap:anywhere; }
 .break-table td[data-label]::before { content:attr(data-label); display:block; font-size:10px; font-weight:600; color:#857692; margin-bottom:4px; text-transform:uppercase; }
 .break-table td[colspan] { padding:10px 0; }
 .break-correction-form { min-width:0; }
}

/* Break experience: action-first layouts and progressive forms. */
.break-heading { align-items:center; }
.break-state { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border-radius:20px; background:#f0edf5; color:#665a79; font-size:12px; font-weight:600; white-space:nowrap; }
.break-state > span { width:7px; height:7px; border-radius:50%; background:currentColor; }
.break-state.is-on { background:#e8f5ef; color:#22694b; }
.break-state.is-pending { background:#fff3d9; color:#805b13; }
.break-tabs { border-radius:12px; padding:0 18px; }
.break-tabs a { min-height:54px; display:inline-flex; align-items:center; white-space:nowrap; }
.break-workspace { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr); gap:24px; align-items:start; }
.break-workspace > * { min-width:0; }
.break-launchpad { overflow:hidden; }
.break-launchpad > .panel-heading { background:#faf8fe; padding:28px; }
.break-launchpad .eyebrow { font-size:9px; display:block; margin-bottom:8px; }
.break-feature-icon { padding:13px; border-radius:16px; background:#eee7fb; color:#7051ac; }
.break-feature-icon .icon { width:26px; height:26px; }
.break-launchpad .panel-body { padding:28px; }
.break-type-choices { border:0; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.break-type-choices legend, .break-field-label { font-size:13px; font-weight:600; margin-bottom:12px; display:block; }
.break-type-choices label { position:relative; cursor:pointer; }
.break-type-choices input { position:absolute; opacity:0; width:1px; height:1px; }
.break-type-card { display:flex; flex-direction:column; border:1px solid #ded7e9; border-radius:14px; padding:20px; min-height:144px; transition:background .15s,border-color .15s; }
.break-type-card .icon { width:28px; height:28px; margin-bottom:14px; color:#79628f; }
.break-type-card strong { font-size:15px; }
.break-type-card small { color:#776b85; margin-top:5px; font-size:12px; }
.break-type-choices input:checked + .break-type-card { border:2px solid #7856b1; padding:19px; background:#f5f0fd; }
.break-type-choices input:focus-visible + .break-type-card { outline:3px solid #b29bd5; outline-offset:3px; }
.break-duration-options { display:flex; flex-wrap:wrap; gap:8px; }
.break-duration { border:1px solid #ddd5e8; color:#635272; background:white; padding:10px 14px; border-radius:9px; font:inherit; font-size:12px; cursor:pointer; min-height:42px; }
.break-duration[aria-pressed=true] { color:#67439c; background:#eee5fa; border-color:#9675c2; font-weight:600; }
.break-duration-detail { display:grid; grid-template-columns:minmax(0,1fr) minmax(140px,1fr); gap:20px; align-items:center; }
.break-end-preview { display:flex; align-items:center; gap:12px; background:#f7f6fa; padding:16px; border-radius:12px; }
.break-end-preview small, .break-end-preview strong { display:block; }
.break-end-preview small { color:#766a84; font-size:11px; margin-bottom:4px; }
.break-end-preview strong { font-size:22px; }
.break-helper { font-size:12px; line-height:1.65; color:#807189; }
.break-start-button { width:100%; justify-content:center; min-height:50px; font-size:14px; }
.break-timer-stage { display:flex; flex-direction:column; align-items:center; gap:20px; padding:8px 16px; text-align:center; }
.break-timer-stage .break-countdown { font-size:56px; letter-spacing:-2px; line-height:1.15; font-variant-numeric:tabular-nums; color:#60418e; }
.break-timer-stage form, .break-timer-stage form button { width:100%; }
.break-timer-stage progress, .break-allowance-bar { width:100%; height:8px; border:0; border-radius:12px; accent-color:#8160b8; overflow:hidden; background:#eee8f6; }
progress::-webkit-progress-bar { background:#eee8f6; border-radius:12px; }
progress::-webkit-progress-value { background:#8160b8; border-radius:12px; }
.break-time-pair { display:flex; width:100%; justify-content:space-between; font-size:12px; color:#82718f; }
.break-time-pair strong { display:block; color:#352a43; font-size:16px; margin-top:5px; }
.break-shift-title { display:flex; gap:12px; align-items:center; }
.break-shift-title .icon { color:#8768b0; }
.break-shift-title small { display:block; color:#80718d; margin-top:5px; }
.break-shift-hours { display:flex; gap:24px; align-items:center; padding:24px 0 10px; font-size:24px; }
.break-shift-hours > span { color:#ab9eb9; font-size:18px; }
.break-allowance { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:24px 0 12px; }
.break-allowance strong { font-size:32px; color:#6e4ca2; }
.break-allowance small { color:#887b93; }
.break-facts { margin:20px 0 0; }
.break-facts > div { display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-top:1px solid #eeeaf3; font-size:12px; }
.break-facts dt { color:#81718d; }
.break-facts dd { margin:0; font-weight:600; }
.break-upcoming { padding:8px 24px; max-height:330px; overflow:auto; }
.break-upcoming > div { display:flex; gap:14px; padding:16px 0; align-items:center; border-bottom:1px solid #eeeaf3; }
.break-upcoming time { padding:9px; min-width:46px; border-radius:9px; background:#f4f0f9; text-align:center; }
.break-upcoming strong { display:block; font-size:13px; }
.break-upcoming small { display:block; font-size:11px; color:#80718d; margin-top:4px; }
.break-empty { padding:24px 14px; text-align:center; max-width:440px; margin:auto; }
.break-empty > .icon { width:36px; height:36px; color:#9478b5; margin-bottom:12px; }
.break-empty h3 { margin:10px 0; }
.break-empty p { color:#81718d; line-height:1.7; margin-bottom:20px; }
.break-admin-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid #e7e0ef; border-radius:14px; background:#fff; margin-bottom:24px; }
.break-admin-summary > * { padding:24px; display:grid; grid-template-columns:32px 1fr; gap:4px 14px; align-items:center; text-decoration:none; color:inherit; border-right:1px solid #eeeaf3; }
.break-admin-summary > :last-child { border-right:0; }
.break-admin-summary .icon { grid-row:1/3; color:#8462af; width:25px; height:25px; }
.break-admin-summary strong { font-size:24px; }
.break-admin-summary a strong { font-size:18px; }
.break-admin-summary span { color:#81718d; font-size:12px; }
.break-setup-guide { display:flex; align-items:center; gap:20px; flex-wrap:wrap; font-size:12px; margin:0 0 24px; color:#80718d; }
.break-setup-guide strong { color:#463354; }
.break-create-actions { display:flex; justify-content:flex-end; gap:12px; }
.break-create-actions summary, .break-roster-intro summary { list-style:none; cursor:pointer; }
.break-create-actions summary::-webkit-details-marker, .break-roster-intro summary::-webkit-details-marker { display:none; }
.break-roster-intro { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.break-roster-intro p { margin:6px 0; font-size:12px; }
.break-dialog { border:1px solid #e6deee; border-radius:20px; padding:0; width:min(760px,calc(100vw - 32px)); max-height:88vh; color:#332441; background:#fff; }
.break-dialog::backdrop { background:rgba(32,22,47,.4); backdrop-filter:blur(3px); }
.break-dialog-header { padding:20px 24px; display:flex; justify-content:space-between; align-items:center; gap:20px; border-bottom:1px solid #eeeaf3; position:sticky; top:0; background:#fff; z-index:1; }
.break-dialog-header h2 { margin:0; font-size:19px; }
.break-dialog-body { padding:24px; }
.break-dialog-body > .panel { border:0; box-shadow:none; }
.break-dialog-body .panel-body { padding:0; }
.break-dialog-body .panel-heading[hidden] { display:none; }
.break-dialog-body label:not(.calendar-departments label) { display:block; font-size:12px; }
.break-dialog-body textarea { min-height:100px; }
.break-dialog-body .break-correction-form { padding:0; }
.break-dialog-body input, .break-dialog-body select { margin-top:5px; }
.break-dialog-body .form-grid { row-gap:20px; }
.break-week-shortcuts { grid-column:1/-1; display:flex; gap:8px; }
.break-week-shortcuts button, .break-selection-tools button { font:inherit; font-size:12px; border:1px solid #dfd5eb; background:#f8f5fc; color:#70508f; padding:7px 12px; border-radius:7px; cursor:pointer; }
.break-selection-tools { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:12px; font-size:12px; }
.break-selection-tools > span { margin-right:auto; color:#80718d; }
.break-employee-picker { max-height:280px; overflow:auto; }
.break-people-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.break-people-cards > div { border:1px solid #e8e1ef; padding:18px; border-radius:12px; background:#faf9fc; }
.break-table-toolbar { padding:0 24px 20px; max-width:430px; }
.break-table-toolbar label { display:block; font-size:12px; margin-bottom:8px; color:#766780; }
.break-table tr[hidden] { display:none; }
.break-comparison { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.break-comparison > div { padding:20px; background:#f7f4fa; border-radius:12px; }
.break-comparison .eyebrow { display:block; margin-bottom:8px; font-size:9px; }
.break-comparison p { margin:8px 0 0; }
.break-widget { border-width:1px; box-shadow:0 4px 20px rgba(43,26,62,.10); }
body:has([data-active-break]) .break-widget { display:none; }
body:has(.break-widget:not([hidden])) .app-main { padding-bottom:90px; }
@media(max-width:1100px) { .break-workspace { grid-template-columns:minmax(0,1fr) minmax(250px,.8fr); } .break-duration-detail { grid-template-columns:1fr; gap:12px; } .break-admin-summary > * { padding:18px; } }
@media(max-width:800px) { .break-workspace { grid-template-columns:1fr; } .break-workspace > aside { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start; } }
@media(max-width:640px) { .break-heading { align-items:flex-start; flex-direction:column; gap:14px; } .break-launchpad > .panel-heading, .break-launchpad .panel-body { padding:20px; } .break-type-card { padding:16px; min-height:135px; } .break-type-choices input:checked + .break-type-card { padding:15px; } .break-type-card small { font-size:11px; } .break-timer-stage { padding:8px 0; } .break-timer-stage .break-countdown { font-size:44px; } .break-workspace > aside { display:flex; flex-direction:column; } .break-workspace > aside > * { width:100%; } .break-admin-summary { grid-template-columns:1fr; } .break-admin-summary > * { border-right:0; border-bottom:1px solid #eeeaf3; padding:14px 18px; } .break-admin-summary > :last-child { border-bottom:0; } .break-admin-summary strong { font-size:20px; } .break-roster-intro { align-items:flex-start; flex-direction:column; } .break-dialog { width:calc(100vw - 16px); max-height:94dvh; border-radius:14px; } .break-dialog-header, .break-dialog-body { padding:16px; } .break-dialog .form-grid { grid-template-columns:1fr; } .break-comparison { grid-template-columns:1fr; } .break-create-actions { justify-content:flex-start; } .break-tabs { padding:0 12px; } }
.break-template-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.break-template { min-width:0; }
.break-template > summary { list-style:none; display:grid; grid-template-columns:40px 1fr; gap:12px; border:1px solid #e7e0ee; border-radius:14px; padding:20px; cursor:pointer; background:#fcfbfe; }
.break-template > summary::-webkit-details-marker { display:none; }
.break-shift-symbol { display:grid; place-items:center; width:40px; height:40px; border-radius:10px; color:#8060ab; background:#f0e9fa; }
.break-template-name small { display:block; color:#897791; font-size:12px; margin-top:5px; }
.break-template-hours { grid-column:1/-1; padding:6px 0; font-size:25px; font-weight:600; letter-spacing:-.5px; }
.break-template-hours > span { color:#ae9cbe; margin:0 12px; font-size:20px; }
.break-template-hours small { display:block; font-size:11px; font-weight:400; color:#8a7992; letter-spacing:0; margin-top:8px; }
.break-template-footer { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; padding-top:12px; border-top:1px solid #eae3f0; gap:12px; font-size:12px; }
.break-rule-line { display:block; font-size:12px; line-height:1.8; }
@media(max-width:640px) { .break-template-grid { grid-template-columns:1fr; } }

/* Destructive actions are deliberately distinct from routine form saves. */
.button.danger{background:#b42318;border-color:#b42318;color:#fff}
.button.danger:hover{background:#912018;border-color:#912018}
