@charset "UTF-8";
/* Shared shell and responsive module styles. */
:root {
    font-family: Inter,"Segoe UI",Arial,sans-serif;
    color: #243745;
    background: #f5f7f9;
    font-size: 14px;
    font-synthesis: none;
    --navy: #102a38;
    --teal: #0b8074;
    --teal-dark: #08675e;
    --text: #213440;
    --muted: #7a8994;
    --line: #e7edf0;
    --surface: #fff;
    --radius: 12px
}
*,*::before,*::after {
    box-sizing: border-box
}
body {
    margin: 0
}
button,input,textarea,select {
    font: inherit
}
button,a,input,textarea,select {
    -webkit-tap-highlight-color: transparent
}
button,a {
    touch-action: manipulation
}
a {
    color: inherit;
    text-decoration: none
}
button {
    cursor: pointer
}
button:disabled {
    cursor: wait;
    opacity: .65
}
svg {
    flex: none;
    vertical-align: middle
}
h1,h2,h3,h4,p {
    margin: 0
}
h1,h2,h3,h4 {
    color: var(--text)
}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex="-1"]:focus-visible {
    outline: 3px solid #64cabb;
    outline-offset: 3px
}
h1:focus {
    outline: none
}
::selection {
    background: #bfe8df;
    color: #123d36
}
.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: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background: var(--teal);
    color: #fff;
    padding: 12px 20px;
    transform: translateY(-160%);
    border-radius: 8px
}
.skip-link:focus {
    transform: translateY(0)
}
.app-shell {
    min-height: 100vh;
    display: flex
}
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 246px;
    padding: 31px 18px 18px;
    background: var(--navy);
    color: #b8c8d1;
    display: flex;
    flex-direction: column;
    z-index: 40;
    overflow-y: auto
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 6px;
    color: #fff
}
.brand-mark {
    width: 37px;
    height: 43px;
    border-radius: 10px;
    background: #158d7f;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px #0002
}
.brand strong {
    display: block;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.45px
}
.brand small {
    display: block;
    font-size: 6.9px;
    letter-spacing: 1.55px;
    color: #91abae;
    margin-top: 5px
}
.sidebar-workspace {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff06;
    border: 1px solid #ffffff12;
    border-radius: 8px;
    padding: 12px 10px;
    margin: 30px 1px 27px
}
.workspace-mini {
    height: 32px;
    width: 32px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #284453;
    font-size: 11px;
    color: #d9e6eb;
    font-weight: 600
}
.sidebar-workspace strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #d9e4e9
}
.sidebar-workspace small {
    display: block;
    font-size: 12px;
    color: #829da9;
    margin-top: 4px
}
.sidebar-workspace>svg {
    margin-left: auto;
    color: #8199a5
}
.nav-section-label {
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 600;
    color: #6c8a99;
    margin: 0 14px 12px
}
.nav-list {
    display: flex;
    flex-direction: column;
    gap: 5px
}
.nav-list>a,.settings-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 43px;
    padding: 11px 14px;
    border-radius: 7px;
    font-size: 14px;
    transition: background .15s,color .15s
}
.nav-list>a>svg,.settings-link>svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.65;
    color: #8ca7b5
}
.nav-list>a:hover,.settings-link:hover {
    background: #ffffff08;
    color: #fff
}
.nav-list>a.active,.settings-link.active {
    background: #1b655f;
    color: #fff;
    font-weight: 550
}
.nav-list>a.active svg,.settings-link.active svg {
    color: #8ce1cd
}
.nav-live-dot {
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background: #7ed8be;
    margin-left: auto
}
.sidebar-bottom {
    margin-top: auto;
    padding-top: 32px
}
.sidebar-tip {
    padding: 16px 13px;
    background: linear-gradient(125deg,#183b46,#17323e);
    border: 1px solid #ffffff09;
    border-radius: 10px;
    margin: 0 4px 17px
}
.tip-symbol {
    display: block;
    color: #7ac4b7;
    margin-bottom: 10px
}
.sidebar-tip strong {
    display: block;
    font-size: 12px;
    color: #d4e2e5;
    font-weight: 600
}
.sidebar-tip p {
    font-size: 12px;
    line-height: 1.7;
    color: #8ca6af;
    margin-top: 7px
}
.version-pill {
    display: inline-block;
    color: #8fb4b8;
    letter-spacing: .8px;
    font-size: 8px;
    margin-top: 13px;
    background: #ffffff07;
    border: 1px solid #ffffff0c;
    border-radius: 4px;
    padding: 4px 7px
}
.settings-link {
    font-size: 14px
}
.sidebar-footer {
    border-top: 1px solid #ffffff0c;
    margin: 13px 7px 0;
    padding-top: 18px;
    font-size: 12px;
    color: #75929f;
    display: flex;
    align-items: center;
    gap: 7px
}
.sidebar-footer-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #59aa98
}
.workspace {
    min-width: 0;
    width: calc(100% - 246px);
    margin-left: 246px;
    min-height: 100vh;
    display: flex;
    flex-direction: column
}
.topbar {
    height: 73px;
    flex: none;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    gap: 16px
}
.topbar-left,.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px
}
.workspace-symbol {
    display: grid;
    place-items: center;
    color: #6e8b80
}
.topbar-title {
    font-size: 12px;
    color: #8a97a1
}
.topbar-title strong {
    font-weight: 500;
    color: #4e626f
}
.topbar-divider {
    color: #c3ced3;
    margin: 0 12px
}
.topbar-right {
    gap: 20px
}
.local-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #7d8d96
}
.local-indicator>span {
    width: 5px;
    height: 5px;
    background: #4aa18a;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #eef8f4
}
.avatar {
    height: 31px;
    width: 31px;
    border-radius: 50%;
    background: #eaf1ef;
    color: #547b70;
    font-size: 10px;
    display: grid;
    place-items: center;
    border: 3px solid #f5f8f7;
    font-weight: 600
}
.main-content {
    padding: 35px 36px 28px;
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    flex: 1
}
.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    margin: 0 36px;
    padding: 19px 0;
    color: #93a1aa;
    font-size: 11px
}
.app-footer>span:first-child {
    color: #718591;
    font-weight: 600;
    letter-spacing: .2px
}
.footer-dot {
    color: #b8c6cc;
    margin: 0 5px
}
.footer-version {
    display: inline-block;
    border: 1px solid #e1e8eb;
    border-radius: 4px;
    padding: 2px 5px;
    margin-left: 9px;
    font-size: 8px;
    color: #91a0a9
}
.mobile-menu-toggle,.sidebar-backdrop {
    display: none
}
.eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 650;
    color: #8a9aa4;
    line-height: 1.5
}
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px
}
.page-heading h1 {
    font-size: 27px;
    letter-spacing: -.9px;
    font-weight: 650;
    line-height: 1.35;
    margin-top: 7px
}
.page-heading p {
    font-size: 14px;
    color: #7e8e99;
    line-height: 1.7;
    margin-top: 9px
}
.page-heading>.button {
    margin-top: 8px
}
.heading-count {
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 7px;
    background: #e8efed;
    color: #577b71;
    border-radius: 6px;
    padding: 3px 7px;
    font-weight: 600;
    letter-spacing: 0
}
.today-date {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 8px;
    font-size: 12px;
    color: #8797a1;
    margin-top: 19px
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 41px;
    padding: 11px 17px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 7px;
    white-space: nowrap;
    line-height: 1.5;
    transition: background .15s,box-shadow .15s
}
.button-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 3px 7px #0b807415
}
.button-primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 4px 9px #0b807422
}
.button-secondary {
    border-color: #dfe7eb;
    background: #fff;
    color: #526c78;
    box-shadow: 0 1px 2px #173f4d04
}
.button-secondary:hover {
    background: #f4f8f7;
    border-color: #c5d6d1
}
.button-white {
    background: #fff;
    color: #257568;
    box-shadow: 0 2px 5px #0001
}
.button-white:hover {
    background: #e8f8f3
}
.button-small {
    min-height: 35px;
    padding: 8px 12px;
    font-size: 14px;
    gap: 6px
}
.icon-button {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0;
    background: transparent;
    color: #9aabb4
}
.icon-button:hover {
    background: #edf4f2;
    color: var(--teal)
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #3e8b7c;
    white-space: nowrap
}
.text-link:hover {
    color: var(--teal-dark)
}
.welcome-banner {
    border-radius: 12px;
    min-height: 226px;
    background: linear-gradient(110deg,#0d756b,#0c6d65 60%,#0b655f);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 18px #244a3b07;
    margin-bottom: 23px
}
.welcome-copy {
    position: relative;
    z-index: 2;
    padding: 27px 31px
}
.banner-label {
    font-size: 8px;
    color: #b6dfd4;
    letter-spacing: 1.7px;
    font-weight: 550;
    display: flex;
    align-items: center;
    gap: 6px
}
.banner-label>span {
    width: 4px;
    height: 4px;
    background: #98d8c5;
    border-radius: 50%
}
.welcome-copy h2 {
    font-size: 26px;
    letter-spacing: -.6px;
    color: #fff;
    font-weight: 600;
    margin-top: 12px
}
.welcome-copy p {
    font-size: 14px;
    color: #b2d7d0;
    line-height: 1.85;
    margin-top: 10px
}
.welcome-copy .button {
    margin-top: 20px;
    min-height: 37px;
    font-size: 14px;
    padding: 9px 13px;
    gap: 8px
}
.welcome-copy .button>svg:last-child {
    margin-left: 12px
}
.banner-art {
    position: relative;
    width: 360px;
    height: 226px;
    flex: none;
    overflow: visible
}
.art-orbit {
    position: absolute;
    border: 1px solid #ffffff12;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    left: 25px;
    top: -13px
}
.orbit-two {
    width: 340px;
    height: 340px;
    left: -20px;
    top: -58px
}
.art-lab {
    position: absolute;
    width: 119px;
    height: 119px;
    left: 91px;
    top: 50px;
    border-radius: 27px;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg,#ffffff16,#ffffff04);
    border: 1px solid #ffffff35;
    transform: rotate(-8deg);
    color: #9cdcc9;
    box-shadow: 0 8px 30px #002f2b12
}
.art-lab svg {
    transform: rotate(8deg)
}
.art-tag {
    position: absolute;
    background: #ffffffed;
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 7px;
    padding: 11px;
    font-size: 8px;
    box-shadow: 0 5px 25px #003b3122;
    color: #458578;
    z-index: 1;
    white-space: nowrap
}
.art-tag svg {
    color: #379d83
}
.art-tag-top {
    right: 29px;
    top: 33px;
    transform: rotate(4deg)
}
.art-tag-bottom {
    left: 9px;
    bottom: 31px;
    transform: rotate(-4deg)
}
.art-dot {
    width: 7px;
    height: 7px;
    border: 2px solid #6db4a3;
    border-radius: 50%;
    position: absolute
}
.dot-one {
    left: 38px;
    top: 38px
}
.dot-two {
    right: 41px;
    bottom: 44px;
    width: 5px;
    height: 5px;
    background: #79c5b0;
    border: 0
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px;
    margin-bottom: 25px
}
.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 20px 15px;
    min-height: 140px;
    box-shadow: 0 2px 4px #102a3802
}
.stat-card[href]:hover {
    border-color: #bdd8cf
}
.stat-label {
    font-size: 14px;
    color: #7a8d98;
    line-height: 1.5
}
.stat-card>strong {
    font-size: 29px;
    font-weight: 600;
    letter-spacing: -1px;
    color: #243f4a;
    line-height: 1.3;
    margin: 8px 0 12px
}
.stat-icon {
    position: absolute;
    right: 17px;
    top: 19px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center
}
.teal {
    background: #eef8f4;
    color: #4a9983
}
.amber {
    background: #fcf6e9;
    color: #bb9956
}
.blue {
    background: #edf5fa;
    color: #709bb5
}
.violet {
    background: #f2f0fa;
    color: #9381ba
}
.stat-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9ba8b0;
    border-top: 1px solid #f1f4f5;
    padding-top: 11px;
    gap: 8px
}
.stat-foot svg {
    color: #a4bbb5
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 2px 3px #132d3902;
    overflow: hidden
}
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 284px;
    gap: 22px
}
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 22px 18px
}
.panel-heading h2 {
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.2px
}
.panel-heading p {
    font-size: 13px;
    color: #92a1aa;
    margin-top: 7px
}
.workflow-panel .panel-heading {
    padding: 23px 20px 0;
    align-items: flex-start
}
.workflow-panel .panel-heading>svg {
    color: #8ea7a0;
    margin-top: 7px
}
.workflow-panel h2 {
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.6
}
.workflow-panel .eyebrow {
    font-size: 8px;
    letter-spacing: 1px
}
.workflow-steps {
    list-style: none;
    padding: 0 20px;
    margin: 26px 0 22px
}
.workflow-steps li {
    display: flex;
    gap: 12px;
    position: relative;
    padding-bottom: 24px
}
.workflow-steps li:last-child {
    padding-bottom: 0
}
.workflow-steps li:not(:last-child)::after {
    position: absolute;
    content: "";
    width: 1px;
    background: #e5efeb;
    left: 13px;
    top: 30px;
    bottom: 6px
}
.workflow-steps li>span {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #f0f7f4;
    color: #619887;
    font-size: 9px;
    font-weight: 650;
    flex: none;
    border: 1px solid #e6f0eb
}
.workflow-steps strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    padding-top: 2px
}
.workflow-steps p {
    font-size: 13px;
    line-height: 1.8;
    color: #96a3ab;
    margin-top: 5px
}
.workflow-note {
    padding: 13px 15px;
    border-radius: 7px;
    background: #f5f8f7;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 16px 18px;
    color: #9bada5
}
.workflow-note p {
    font-size: 8px;
    line-height: 1.7;
    color: #8c9e98
}
.workflow-note strong {
    font-weight: 550;
    color: #788e83
}
.prototype-note {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    color: #99a8b0;
    margin: 20px 1px 0;
    line-height: 1.8
}
.prototype-note>svg {
    color: #a2b5af
}
.prototype-note strong {
    font-weight: 550;
    color: #7e968d
}
.table-scroll {
    position: relative;
    overflow: auto
}
.jobs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 610px
}
.jobs-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .65px;
    color: #93a3ac;
    font-weight: 550;
    background: #fafcfc;
    padding: 11px 18px;
    border-top: 1px solid #eef2f4;
    border-bottom: 1px solid #eef2f4;
    white-space: nowrap
}
.jobs-table td {
    padding: 16px 18px;
    vertical-align: middle;
    border-bottom: 1px solid #edf2f4;
    font-size: 13px
}
.jobs-table tbody tr:last-child td {
    border-bottom: 0
}
.jobs-table tr:hover td {
    background: #fcfefd
}
.table-job-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: #35505d;
    display: block;
    max-width: 330px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}
.table-job-title:hover {
    color: var(--teal)
}
.table-job-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px
}
.job-code {
    font-size: 12px;
    letter-spacing: .3px;
    color: #90a1aa;
    font-variant-numeric: tabular-nums
}
.demo-badge {
    font-size: 11px;
    border: 1px solid #dce9e7;
    color: #87a29a;
    background: #f3f8f5;
    border-radius: 3px;
    padding: 1px 4px;
    font-weight: 500;
    white-space: nowrap
}
.melbes-number {
    color: #8d9fa9;
    white-space: nowrap;
    font-size: 12px
}
.stack-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #7c939e;
    font-size: 13px
}
.stack-count svg {
    color: #a3b3ba
}
.due-date {
    font-size: 13px;
    color: #7b919e;
    white-space: nowrap;
    font-variant-numeric: tabular-nums
}
.due-caption {
    display: block;
    color: #a2b2bb;
    font-size: 11px;
    margin-top: 5px;
    white-space: nowrap
}
.overdue {
    color: #bf806f
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff8e9;
    color: #b1965c;
    border: 1px solid #f5eacb;
    font-size: 11px;
    border-radius: 5px;
    padding: 5px 7px;
    white-space: nowrap;
    font-weight: 500
}
.status-badge>span {
    width: 4px;
    height: 4px;
    flex: none;
    border-radius: 50%;
    background: #ccb16f
}
.jobs-table .table-action {
    width: 35px;
    padding-right: 11px;
    padding-left: 0
}
.recent-jobs .jobs-table th {
    padding-left: 17px;
    padding-right: 10px;
    font-size: 11px
}
.recent-jobs .jobs-table td {
    padding: 16px 10px 16px 17px
}
.recent-jobs .jobs-table .table-action {
    padding-left: 0;
    padding-right: 8px
}
.recent-jobs .table-job-title {
    max-width: 210px
}
.recent-jobs .jobs-table {
    min-width: 570px
}
.recent-jobs .panel-heading {
    padding: 22px 21px 20px
}
.recent-jobs .status-badge {
    font-size: 11px;
    padding: 4px 5px
}
.jobs-list-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 23px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
    min-height: 58px
}
.list-tab {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    align-self: stretch;
    position: relative;
    color: #317c6e
}
.list-tab::after {
    position: absolute;
    bottom: -1px;
    height: 2px;
    background: #438c7b;
    width: 100%;
    content: ""
}
.list-tab>span {
    display: inline-block;
    padding: 2px 6px;
    background: #edf5f0;
    border-radius: 4px;
    font-size: 14px;
    color: #6f9d8e;
    margin-left: 3px
}
.list-state-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #a2adb5
}
.list-state-note>span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d1b97a
}
.list-toolbar {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 19px 22px
}
.search-field {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #e0e8eb;
    border-radius: 7px;
    padding: 0 11px;
    height: 38px;
    max-width: 410px;
    flex: 1;
    color: #a0b0b9;
    background: #fff
}
.search-field:focus-within {
    border-color: #79b5a4;
    box-shadow: 0 0 0 3px #0b807408
}
.search-field input {
    border: 0;
    background: transparent;
    outline: 0!important;
    min-width: 0;
    width: 100%;
    font-size: 14px;
    color: #526c79;
    height: 100%
}
.search-field input::placeholder {
    color: #a7b4bc
}
.search-field input::-webkit-search-cancel-button {
    display: none
}
.search-field button {
    border: 0;
    background: none;
    color: #9daeb6;
    display: flex;
    align-items: center;
    padding: 3px
}
.filter-field {
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
    color: #95a6b0;
    border: 1px solid #e2e9ec;
    border-radius: 7px;
    padding: 0 10px;
    height: 38px
}
.filter-field select {
    font-size: 14px;
    color: #788f9c;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 8px 20px 8px 0;
    max-width: 200px
}
.list-footer {
    padding: 16px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: #93a3ac
}
.list-footer strong {
    font-weight: 550;
    color: #688878
}
.muted {
    color: #b2bec5
}
.table-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #abb7be
}
.list-footer .demo-badge {
    font-size: 12px
}
.empty-state {
    text-align: center;
    padding: 55px 25px
}
.empty-symbol {
    display: inline-grid;
    place-items: center;
    height: 64px;
    width: 64px;
    background: #f0f7f4;
    color: #76a798;
    border-radius: 17px;
    margin-bottom: 17px
}
.empty-state h2,.empty-state h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.3px
}
.empty-state p {
    font-size: 11px;
    color: #93a4ae;
    line-height: 1.8;
    margin: 10px auto 20px;
    max-width: 440px
}
.compact-empty {
    padding: 30px 20px
}
.compact-empty .empty-symbol {
    height: 48px;
    width: 48px;
    border-radius: 13px
}
.compact-empty h3 {
    font-size: 14px
}
.loading-state {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #7e9991;
    font-size: 12px
}
.spinner {
    height: 22px;
    width: 22px;
    border: 2px solid #dcece5;
    border-top-color: var(--teal);
    border-radius: 50%;
    display: inline-block;
    animation: spin .8s linear infinite;
    flex: none
}
@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}
.small-spinner {
    height: 16px;
    width: 16px;
    border-color: #ffffff50;
    border-top-color: #fff
}
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 19px;
    border-radius: 9px;
    border: 1px solid;
    margin: 0 0 22px;
    font-size: 13px
}
.alert>svg {
    margin-top: 1px;
    flex: none
}
.alert>div {
    flex: 1;
    min-width: 0
}
.alert strong {
    font-size: 13px;
    font-weight: 600
}
.alert p {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 5px
}
.alert .button-small {
    margin-top: 9px
}
.alert>.button {
    margin-top: 0;
    align-self: center
}
.alert-success {
    background: #eff9f3;
    border-color: #cbe6d6;
    color: #5b8d70
}
.alert-error {
    background: #fff5f2;
    border-color: #f1d8cf;
    color: #ad7163
}
.alert-warning {
    background: #fffaee;
    border-color: #eadeba;
    color: #a08a54
}
.alert ul {
    padding-left: 17px;
    font-size: 13px;
    line-height: 1.9;
    margin: 8px 0 0
}
.alert .icon-button {
    margin-top: -3px;
    color: inherit
}
.validation-alert:focus {
    outline: 2px solid #e1af9c;
    outline-offset: 3px
}
.form-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9aacb5;
    margin-bottom: 16px
}
.form-breadcrumb a {
    color: #6f9185
}
.form-breadcrumb a:hover {
    color: var(--teal)
}
.form-breadcrumb svg {
    color: #bdc9cf
}
.form-page-heading {
    margin-bottom: 25px
}
.form-page-heading h1 {
    margin-top: 0
}
.form-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0
}
.job-form-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 257px;
    gap: 24px;
    align-items: start
}
.form-main-column {
    min-width: 0
}
.section-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line)
}
.section-icon {
    width: 37px;
    height: 37px;
    background: #eff7f3;
    color: #719c8d;
    display: grid;
    place-items: center;
    border-radius: 9px
}
.section-heading h2 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.2px
}
.section-heading p {
    font-size: 13px;
    color: #99a7af;
    margin-top: 6px
}
.required-note {
    font-size: 11px;
    color: #a1aeb6;
    white-space: nowrap;
    margin-left: auto;
    align-self: flex-start;
    margin-top: 5px
}
.required-note>span {
    color: #bf867b
}
.section-body {
    padding: 25px 24px
}
.form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 21px
}
.full-width {
    grid-column: 1/-1
}
.field {
    display: flex;
    flex-direction: column;
    min-width: 0
}
.field label {
    font-size: 13px;
    font-weight: 550;
    color: #617b88;
    display: block;
    margin-bottom: 9px
}
.field label>span {
    font-size: 13px;
    color: #bd8d7e;
    margin-left: 3px
}
.field input,.field textarea {
    border: 1px solid #dfe8ec;
    border-radius: 6px;
    background: #fff;
    padding: 11px 12px;
    font-size: 14px;
    color: #4c6978;
    transition: border-color .15s,box-shadow .15s;
    outline: 0;
    min-width: 0;
    width: 100%
}
.field input {
    height: 40px
}
.field input::placeholder,.field textarea::placeholder {
    color: #b5c0c7;
    font-size: 14px
}
.field input:focus,.field textarea:focus {
    border-color: #75b19f;
    box-shadow: 0 0 0 3px #0b807409
}
.field input.invalid,.field textarea.invalid {
    border-color: #dfad9b
}
.field input[type=date] {
    color: #8298a3;
    font-size: 14px;
    min-height: 40px;
    appearance: auto
}
.field input::-webkit-calendar-picker-indicator {
    opacity: .45;
    cursor: pointer
}
.field textarea {
    resize: vertical;
    min-height: 86px;
    line-height: 1.8
}
.field-hint {
    font-size: 12px;
    color: #a6b3bb;
    margin-top: 7px;
    line-height: 1.6
}
.stacks-section {
    margin-top: 27px
}
.stacks-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px
}
.stacks-heading h2 {
    font-size: 17px;
    letter-spacing: -.2px;
    font-weight: 600
}
.stacks-heading p {
    font-size: 13px;
    color: #97a7af;
    margin-top: 7px;
    line-height: 1.8
}
.stacks-heading .heading-count {
    font-size: 9px;
    padding: 2px 6px;
    margin-left: 4px
}
.stack-card {
    margin-bottom: 17px
}
.stack-card-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px 21px;
    background: #fcfdfd;
    border-bottom: 1px solid #eaf0f2
}
.stack-number {
    font-size: 11px;
    font-weight: 600;
    color: #7b9c91;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #edf5f1;
    border: 1px solid #e0ece6;
    border-radius: 7px
}
.stack-card-heading h3 {
    font-size: 13px;
    font-weight: 600;
    color: #537166;
    line-height: 1.5;
    overflow-wrap: anywhere
}
.stack-card-heading>div {
    flex: 1
}
.stack-card-heading>div>span {
    font-size: 11px;
    color: #a5b2b8;
    display: block;
    margin-top: 3px
}
.danger-button {
    margin-left: auto;
    color: #adb9c0
}
.danger-button:hover {
    color: #c48170;
    background: #fff2ee
}
.stack-body {
    padding: 23px
}
.stack-details {
    gap: 15px
}
.parameter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 26px 0 11px
}
.parameter-header h4 {
    font-size: 13px;
    font-weight: 550;
    color: #6d8591
}
.parameter-header>span {
    font-size: 13px;
    color: #a9b5bc
}
.measurement-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px
}
.measurement-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    border: 1px solid #e7eeec;
    border-radius: 7px;
    padding: 12px 10px;
    background: #fcfefd
}
.measurement-symbol {
    width: 27px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #88ae9e;
    flex: none
}
.measurement-label {
    min-width: 0
}
.measurement-label label {
    font-size: 13px;
    font-weight: 550;
    color: #6b867a;
    line-height: 1.5;
    display: block
}
.measurement-label>span {
    font-size: 11px;
    color: #afbeb6;
    display: block;
    margin-top: 3px
}
.repeat-field {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px
}
.repeat-field input {
    width: 43px;
    min-width: 0;
    height: 30px;
    padding: 5px 3px 5px 7px;
    border: 1px solid #dce8e2;
    border-radius: 5px;
    font-size: 14px;
    color: #688777;
    background: #fff;
    outline: none
}
.repeat-field input:focus {
    border-color: #71ab95
}
.repeat-field input.invalid {
    border-color: #d4a18a
}
.repeat-field>span {
    font-size: 11px;
    color: #a8b9af
}
.optional-parameters {
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px dashed #e6eeeb
}
.optional-label {
    display: block;
    font-size: 12px;
    color: #8ea399;
    margin-bottom: 10px
}
.parameter-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}
.parameter-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e6edeb;
    background: #fff;
    border-radius: 5px;
    padding: 7px 9px;
    font-size: 12px;
    color: #93a69e;
    cursor: pointer;
    transition: background .15s
}
.parameter-option:hover {
    border-color: #b4d2c4;
    background: #f9fcfa
}
.parameter-option input {
    height: 12px;
    width: 12px;
    accent-color: #428b73;
    cursor: pointer;
    margin: 0
}
.parameter-option.selected {
    background: #eff7f2;
    border-color: #c8dfd1;
    color: #6b987e
}
.add-stack-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    background: transparent;
    border: 1px dashed #c7dad1;
    border-radius: 8px;
    font-size: 10px;
    color: #7a9d8e
}
.add-stack-button:hover {
    background: #edf6f0;
    border-color: #91b9a6
}
.form-summary {
    position: sticky;
    top: 24px
}
.summary-card {
    padding: 23px 21px
}
.summary-card .eyebrow {
    font-size: 8px;
    letter-spacing: 1px
}
.summary-card h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.4px;
    margin: 10px 0 14px;
    overflow-wrap: anywhere
}
.summary-card>.status-badge {
    font-size: 11px;
    padding: 5px 8px
}
.summary-counts {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
    margin: 23px 0 19px;
    display: flex;
    flex-direction: column;
    gap: 15px
}
.summary-counts>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #96a6af
}
.summary-counts>div>span {
    display: flex;
    align-items: center;
    gap: 7px
}
.summary-counts svg {
    color: #a6b7b3
}
.summary-counts strong {
    font-size: 12px;
    color: #637e70;
    font-weight: 600
}
.summary-info {
    display: flex;
    gap: 8px;
    background: #f5f9f6;
    padding: 12px 10px;
    border-radius: 6px;
    color: #8eab9b
}
.summary-info p {
    font-size: 12px;
    line-height: 1.8;
    color: #93aa9d
}
.example-code {
    font-size: 10px;
    display: block;
    letter-spacing: .6px;
    color: #739583;
    margin-top: 5px
}
.demo-notice {
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid var(--line)
}
.demo-notice p {
    font-size: 12px;
    color: #a6b5ac;
    line-height: 1.8;
    margin-top: 8px
}
.form-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 17px 8px;
    color: #a9bcb2
}
.form-help p {
    font-size: 12px;
    color: #a0b3a7;
    line-height: 1.9
}
.form-actions {
    border-top: 1px solid #e1e9e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding-top: 20px
}
.form-actions>span {
    font-size: 12px;
    display: flex;
    gap: 7px;
    align-items: center;
    color: #a1b1a8;
    line-height: 1.7
}
.form-actions>div {
    display: flex;
    gap: 10px
}
.form-actions .button {
    min-height: 40px;
    font-size: 14px
}
.form-actions .button-secondary {
    color: #8c9c95
}
.upcoming-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #dfe9e3;
    border-radius: 6px;
    background: #f2f7f3;
    color: #83a18d;
    padding: 8px 10px;
    font-size: 10px;
    white-space: nowrap
}
.module-placeholder {
    text-align: center;
    padding: 72px 30px 0;
    min-height: 510px
}
.module-symbol {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 23px;
    background: linear-gradient(140deg,#e8f5ed,#f4f9f6);
    color: #6c9d82;
    margin: 0 auto 25px;
    border: 1px solid #e0eee4;
    box-shadow: 0 0 0 9px #f9fcfa
}
.module-placeholder>.eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px
}
.module-placeholder>h2 {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -.7px;
    margin: 14px 0
}
.module-placeholder>p {
    font-size: 12px;
    color: #98aaa0;
    max-width: 490px;
    line-height: 2;
    margin: 0 auto 25px
}
.module-placeholder>.button {
    font-size: 14px
}
.module-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 45px auto 0;
    padding: 24px;
    border-top: 1px solid #edf3ef;
    max-width: 650px;
    font-size: 9px;
    color: #9eafa3
}
.module-progress-check,.module-progress-number {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #eff7f1;
    color: #74a383;
    font-size: 9px
}
.module-progress-number {
    background: #f6f8f6;
    color: #b4c0b6;
    border: 1px solid #e6ede7
}
.module-progress-line {
    width: 55px;
    height: 1px;
    background: #e4ece6;
    margin: 0 5px
}
.empty-page {
    text-align: center;
    padding: 80px 20px
}
.empty-illustration {
    display: grid;
    place-items: center;
    margin: 0 auto 23px;
    border-radius: 20px;
    background: #eaf5ee;
    width: 75px;
    height: 75px;
    color: #6d9f7b
}
.empty-page h1 {
    font-size: 28px;
    letter-spacing: -.7px;
    font-weight: 600;
    margin-top: 14px
}
.empty-page p {
    font-size: 12px;
    color: #90a398;
    margin: 13px auto 25px;
    max-width: 400px;
    line-height: 1.8
}
#blazor-error-ui {
    background: #fff4e9;
    border-top: 1px solid #efd8c3;
    color: #9b704b;
    bottom: 0;
    box-shadow: 0 -2px 10px #0001;
    display: none;
    left: 0;
    padding: 15px 25px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 12px;
    line-height: 1.8
}
#blazor-error-ui .reload {
    margin-left: 10px;
    text-decoration: underline;
    font-weight: 600
}
#blazor-error-ui .dismiss {
    position: absolute;
    right: 13px;
    top: 8px;
    font-size: 23px;
    background: none;
    border: 0;
    color: inherit
}
@media(min-width:1600px) {
    .main-content {
        padding: 39px 45px 30px
    }
    .topbar {
        padding: 0 45px
    }
    .app-footer {
        margin: 0 45px
    }
    .dashboard-bottom-grid {
        grid-template-columns: minmax(0,1fr) 310px
    }
    .welcome-banner {
        min-height: 244px
    }
    .welcome-copy {
        padding: 31px 36px
    }
    .banner-art {
        margin-right: 34px
    }
    .welcome-copy h2 {
        font-size: 29px
    }
    .welcome-copy p {
        font-size: 14px
    }
    .stat-card {
        padding: 23px 23px 17px;
        min-height: 148px
    }
    .stat-label {
        font-size: 14px
    }
    .jobs-table td {
        padding: 19px 23px
    }
    .jobs-table th {
        padding-left: 23px
    }
    .table-job-title {
        font-size: 14px
    }
    .job-form-grid {
        grid-template-columns: minmax(0,1fr) 287px
    }
}
@media(max-width:1250px) {
    .sidebar {
        width: 222px;
        padding-left: 13px;
        padding-right: 13px
    }
    .brand strong {
        font-size: 15px
    }
    .brand small {
        font-size: 6.3px;
        letter-spacing: 1.25px
    }
    .brand {
        gap: 8px
    }
    .brand-mark {
        width: 35px;
        height: 39px
    }
    .workspace {
        margin-left: 222px;
        width: calc(100% - 222px)
    }
    .main-content {
        padding: 28px
    }
    .topbar {
        padding: 0 28px
    }
    .app-footer {
        margin: 0 28px
    }
    .dashboard-bottom-grid {
        grid-template-columns: minmax(0,1fr)
    }
    .workflow-panel {
        display: none
    }
    .banner-art {
        width: 288px;
        margin-right: 5px
    }
    .art-tag-top {
        right: 2px
    }
    .art-tag-bottom {
        left: -13px
    }
    .welcome-copy {
        padding: 27px
    }
    .welcome-copy h2 {
        font-size: 24px
    }
    .page-heading h1 {
        font-size: 25px
    }
    .today-date {
        font-size: 12px
    }
    .stats-grid {
        gap: 12px
    }
    .stat-card {
        padding: 18px 15px 14px
    }
    .stat-icon {
        right: 13px;
        width: 29px;
        height: 29px;
        top: 16px
    }
    .stat-icon svg {
        width: 19px;
        height: 19px
    }
    .stat-label {
        font-size: 14px
    }
    .stat-foot {
        font-size: 12px
    }
    .job-form-grid {
        grid-template-columns: minmax(0,1fr) 225px;
        gap: 19px
    }
    .summary-card {
        padding: 20px 16px
    }
    .section-heading,.section-body {
        padding: 21px
    }
    .stack-body {
        padding: 20px
    }
    .measurement-grid {
        grid-template-columns: 1fr
    }
    .parameter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px
    }
    .stacks-heading {
        align-items: flex-start
    }
    .stacks-heading h2 {
        font-size: 17px
    }
    .stacks-heading p {
        font-size: 13px
    }
}
@media(max-width:1000px) {
    .sidebar {
        width: 202px;
        padding-left: 10px;
        padding-right: 10px
    }
    .brand strong {
        font-size: 14px;
        letter-spacing: -.5px
    }
    .brand small {
        font-size: 5.7px;
        letter-spacing: 1.05px
    }
    .brand-mark {
        width: 30px;
        height: 35px
    }
    .brand-mark svg {
        width: 22px;
        height: 22px
    }
    .brand {
        padding-left: 4px;
        padding-right: 4px
    }
    .workspace {
        width: calc(100% - 202px);
        margin-left: 202px
    }
    .sidebar-workspace {
        padding: 11px 7px;
        gap: 7px
    }
    .sidebar-workspace strong {
        font-size: 12px
    }
    .sidebar-workspace small {
        font-size: 12px
    }
    .workspace-mini {
        height: 28px;
        width: 28px
    }
    .nav-list>a,.settings-link {
        font-size: 14px;
        padding: 10px 12px;
        gap: 10px
    }
    .main-content {
        padding: 25px 23px
    }
    .topbar {
        padding: 0 23px
    }
    .topbar-title {
        font-size: 12px
    }
    .topbar-divider {
        margin: 0 6px
    }
    .topbar-right {
        gap: 12px
    }
    .app-footer {
        margin: 0 23px
    }
    .dashboard-heading {
        align-items: flex-start
    }
    .today-date {
        display: none
    }
    .welcome-banner {
        min-height: 218px
    }
    .banner-art {
        width: 235px;
        height: 218px
    }
    .art-lab {
        width: 95px;
        height: 95px;
        left: 66px;
        top: 62px;
        border-radius: 22px
    }
    .art-lab svg {
        width: 58px;
        height: 58px
    }
    .art-orbit {
        width: 215px;
        height: 215px;
        left: 5px;
        top: 2px
    }
    .orbit-two {
        width: 285px;
        height: 285px;
        left: -30px;
        top: -33px
    }
    .art-tag {
        font-size: 7px;
        padding: 8px;
        gap: 5px
    }
    .art-tag svg {
        width: 15px;
        height: 15px
    }
    .art-tag-top {
        right: 8px;
        top: 37px
    }
    .art-tag-bottom {
        left: -5px;
        bottom: 36px
    }
    .welcome-copy {
        padding: 24px
    }
    .welcome-copy h2 {
        font-size: 21px;
        max-width: 270px;
        line-height: 1.5
    }
    .welcome-copy p {
        font-size: 14px
    }
    .banner-label {
        font-size: 7px;
        letter-spacing: 1.15px
    }
    .welcome-copy .button {
        margin-top: 17px
    }
    .stats-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 13px
    }
    .stat-card {
        min-height: 133px;
        padding: 19px 20px 13px
    }
    .stat-label {
        font-size: 14px
    }
    .stat-card>strong {
        margin-top: 6px;
        margin-bottom: 9px
    }
    .stat-icon {
        right: 19px;
        top: 19px;
        width: 32px;
        height: 32px
    }
    .stat-foot {
        font-size: 12px
    }
    .job-form-grid {
        grid-template-columns: minmax(0,1fr)
    }
    .form-summary {
        position: static;
        grid-row: 1
    }
    .summary-card {
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 20px;
        padding: 17px 20px;
        align-items: center
    }
    .summary-card>.eyebrow {
        grid-column: 1;
        grid-row: 1
    }
    .summary-card h2 {
        font-size: 15px;
        grid-column: 1;
        grid-row: 2;
        margin: 6px 0 0
    }
    .summary-card>.status-badge {
        grid-column: 2;
        grid-row: 1/3;
        justify-self: end
    }
    .summary-counts {
        grid-column: 1/-1;
        flex-direction: row;
        gap: 20px;
        justify-content: space-between;
        border-bottom: 0;
        margin: 16px 0 0;
        padding: 14px 0 0
    }
    .summary-counts>div {
        gap: 10px;
        min-width: 0
    }
    .summary-counts>div>span {
        font-size: 12px;
        gap: 5px
    }
    .summary-counts svg {
        width: 15px;
        height: 15px
    }
    .summary-info,.form-help {
        display: none
    }
    .demo-notice {
        grid-column: 1/-1;
        margin-top: 14px;
        padding-top: 12px;
        display: flex;
        align-items: center;
        gap: 7px
    }
    .demo-notice p {
        font-size: 12px;
        margin: 0
    }
    .measurement-grid {
        grid-template-columns: 1fr 1fr
    }
    .parameter-header {
        flex-direction: row;
        align-items: center
    }
    .form-actions>span {
        max-width: 180px;
        font-size: 12px
    }
    .form-actions {
        gap: 10px
    }
    .form-actions>div {
        gap: 7px
    }
    .page-heading h1 {
        font-size: 24px
    }
    .page-heading p {
        font-size: 14px
    }
    .page-heading>.button {
        font-size: 14px;
        padding: 10px 12px
    }
    .form-fields {
        gap: 18px
    }
    .table-job-title {
        max-width: 210px
    }
    .module-placeholder {
        padding: 60px 20px 0
    }
    .module-placeholder>h2 {
        font-size: 22px
    }
    .module-placeholder>p {
        font-size: 11px
    }
}
@media(max-width:760px) {
    .sidebar {
        width: 246px;
        transform: translateX(-100%);
        transition: transform .2s ease;
        padding: 26px 18px 18px
    }
    .sidebar.is-open {
        transform: translateX(0)
    }
    .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        border: 0;
        background: #0a243570;
        z-index: 39;
        backdrop-filter: blur(2px)
    }
    .brand strong {
        font-size: 17px
    }
    .brand small {
        font-size: 6.9px;
        letter-spacing: 1.55px
    }
    .brand-mark {
        width: 37px;
        height: 43px
    }
    .brand-mark svg {
        width: 25px;
        height: 25px
    }
    .brand {
        gap: 10px;
        padding: 0 6px
    }
    .sidebar-workspace {
        padding: 12px 10px;
        gap: 10px
    }
    .sidebar-workspace strong {
        font-size: 12px
    }
    .sidebar-workspace small {
        font-size: 12px
    }
    .workspace-mini {
        width: 32px;
        height: 32px
    }
    .nav-list>a,.settings-link {
        font-size: 14px;
        gap: 12px;
        padding: 11px 14px
    }
    .workspace {
        width: 100%;
        margin-left: 0
    }
    .topbar {
        height: 63px;
        padding: 0 20px
    }
    .mobile-menu-toggle {
        display: inline-flex;
        color: #718b97
    }
    .topbar-left {
        gap: 9px
    }
    .workspace-symbol {
        display: none
    }
    .topbar-title {
        font-size: 12px
    }
    .topbar-title>strong,.topbar-divider {
        display: none
    }
    .topbar-right {
        gap: 13px
    }
    .local-indicator {
        font-size: 12px
    }
    .avatar {
        width: 28px;
        height: 28px;
        font-size: 9px
    }
    .main-content {
        padding: 26px 20px
    }
    .page-heading {
        gap: 15px;
        margin-bottom: 23px
    }
    .page-heading h1 {
        font-size: 24px;
        letter-spacing: -.6px
    }
    .page-heading p {
        font-size: 14px;
        line-height: 1.8;
        max-width: 410px;
        margin-top: 8px
    }
    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.15px
    }
    .dashboard-heading {
        margin-bottom: 22px
    }
    .dashboard-heading h1 {
        font-size: 25px
    }
    .welcome-banner {
        min-height: 227px
    }
    .welcome-copy {
        padding: 25px
    }
    .welcome-copy h2 {
        font-size: 24px;
        max-width: 350px
    }
    .welcome-copy p {
        font-size: 14px
    }
    .banner-art {
        width: 200px;
        opacity: .85;
        margin-right: 10px
    }
    .art-lab {
        left: 45px
    }
    .art-tag-top {
        right: 0;
        font-size: 6px
    }
    .art-tag-bottom {
        left: -35px;
        font-size: 7px
    }
    .art-orbit {
        left: -15px
    }
    .orbit-two {
        left: -50px
    }
    .dot-two {
        right: 8px
    }
    .app-footer {
        margin: 0 20px;
        padding: 17px 0;
        font-size: 11px
    }
    .app-footer>span:last-child {
        font-size: 11px
    }
    .footer-version {
        margin-left: 4px;
        padding: 2px 4px
    }
    .jobs-list-tabs {
        padding: 0 19px
    }
    .list-toolbar {
        padding: 16px;
        gap: 10px
    }
    .search-field {
        max-width: none
    }
    .search-field input {
        font-size: 14px
    }
    .filter-field {
        padding: 0 8px;
        gap: 5px
    }
    .filter-field select {
        max-width: 160px;
        font-size: 14px;
        padding-right: 0
    }
    .filter-field>svg {
        width: 16px;
        height: 16px
    }
    .list-footer {
        padding: 15px 18px;
        font-size: 12px
    }
    .table-legend {
        font-size: 12px
    }
    .prototype-note {
        align-items: flex-start;
        font-size: 11px;
        margin-top: 17px
    }
    .prototype-note svg {
        margin-top: 2px
    }
    .form-page-heading {
        align-items: flex-start
    }
    .form-page-heading h1 {
        font-size: 24px
    }
    .form-page-heading>.button {
        margin-top: 0;
        font-size: 14px;
        padding: 8px 10px;
        min-height: 35px
    }
    .form-page-heading>.button svg {
        width: 15px
    }
    .module-placeholder {
        min-height: 500px
    }
    .module-placeholder>h2 {
        font-size: 23px
    }
    .module-progress {
        gap: 7px;
        font-size: 8px
    }
    .module-progress-line {
        width: 30px;
        margin: 0 2px
    }
}
@media(max-width:540px) {
    .main-content {
        padding: 23px 16px
    }
    .topbar {
        padding: 0 13px
    }
    .topbar-title {
        font-size: 12px
    }
    .topbar-right {
        gap: 10px
    }
    .local-indicator {
        font-size: 12px
    }
    .app-footer {
        margin: 0 17px;
        gap: 12px;
        line-height: 1.8
    }
    .app-footer>span:last-child {
        text-align: right;
        max-width: 180px
    }
    .welcome-banner {
        min-height: 221px
    }
    .welcome-copy {
        padding: 24px;
        max-width: 100%
    }
    .welcome-copy h2 {
        font-size: 23px;
        max-width: 280px;
        line-height: 1.4;
        margin-top: 13px
    }
    .welcome-copy p {
        font-size: 14px;
        max-width: 245px;
        line-height: 1.9;
        margin-top: 9px
    }
    .banner-art {
        position: absolute;
        inset: 0 0 0 auto;
        width: 135px;
        opacity: .25;
        margin: 0;
        pointer-events: none
    }
    .art-lab {
        top: 91px;
        left: 55px;
        width: 105px;
        height: 105px
    }
    .art-tag {
        display: none
    }
    .art-orbit {
        left: 20px;
        top: 40px;
        width: 240px;
        height: 240px
    }
    .orbit-two {
        left: -16px;
        top: 4px;
        width: 312px;
        height: 312px
    }
    .art-dot {
        display: none
    }
    .welcome-copy .button {
        margin-top: 17px;
        font-size: 14px;
        min-height: 36px
    }
    .welcome-copy .button svg:last-child {
        margin-left: 7px
    }
    .dashboard-heading h1 {
        font-size: 24px;
        max-width: 330px;
        line-height: 1.45
    }
    .dashboard-heading p {
        font-size: 10px
    }
    .banner-label {
        font-size: 6.5px;
        letter-spacing: 1.2px
    }
    .stats-grid {
        gap: 11px
    }
    .stat-card {
        padding: 17px 14px 12px;
        min-height: 130px
    }
    .stat-label {
        font-size: 14px
    }
    .stat-card>strong {
        font-size: 27px;
        margin-top: 8px;
        margin-bottom: 11px
    }
    .stat-icon {
        width: 27px;
        height: 27px;
        right: 12px;
        top: 14px;
        border-radius: 8px
    }
    .stat-icon svg {
        height: 17px;
        width: 17px
    }
    .stat-foot {
        font-size: 12px;
        padding-top: 9px;
        gap: 4px
    }
    .stat-foot svg {
        width: 12px;
        height: 12px
    }
    .recent-jobs .panel-heading {
        padding: 19px 17px
    }
    .panel-heading h2 {
        font-size: 13px
    }
    .panel-heading p {
        font-size: 13px
    }
    .text-link {
        font-size: 9px
    }
    .recent-jobs .jobs-table td {
        padding-top: 17px;
        padding-bottom: 17px
    }
    .page-heading:not(.dashboard-heading):not(.form-page-heading) {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px
    }
    .page-heading:not(.dashboard-heading):not(.form-page-heading)>.button {
        margin-top: 0;
        min-height: 36px;
        font-size: 14px
    }
    .page-heading h1 {
        font-size: 24px
    }
    .page-heading p {
        font-size: 14px;
        max-width: 330px
    }
    .list-state-note {
        font-size: 12px
    }
    .list-tab {
        font-size: 14px;
        gap: 6px
    }
    .jobs-list-tabs {
        padding: 0 16px;
        min-height: 52px
    }
    .list-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 15px
    }
    .search-field {
        flex: none;
        height: 38px;
        width: 100%
    }
    .search-field input {
        font-size: 14px
    }
    .filter-field {
        align-self: flex-start;
        height: 34px;
        padding: 0 10px
    }
    .filter-field select {
        max-width: none;
        font-size: 14px;
        padding-right: 15px
    }
    .list-footer {
        flex-wrap: wrap;
        gap: 9px;
        padding: 14px 16px
    }
    .table-legend {
        font-size: 12px
    }
    .table-job-title {
        font-size: 14px
    }
    .alert {
        padding: 15px 14px;
        gap: 9px;
        flex-wrap: wrap
    }
    .alert>svg {
        width: 18px;
        height: 18px
    }
    .alert strong {
        font-size: 13px
    }
    .alert p {
        font-size: 13px
    }
    .alert ul {
        font-size: 13px;
        line-height: 1.9
    }
    .alert>.button {
        margin-left: 27px
    }
    .form-page-heading {
        margin-bottom: 19px;
        gap: 10px
    }
    .form-page-heading>div {
        min-width: 0;
        flex: 1
    }
    .form-page-heading p {
        font-size: 10px;
        max-width: 240px
    }
    .form-page-heading h1 {
        font-size: 23px
    }
    .form-page-heading>.button {
        font-size: 14px;
        gap: 5px;
        padding: 7px 9px;
        margin-top: 2px
    }
    .form-page-heading>.button svg {
        width: 13px;
        height: 13px
    }
    .form-breadcrumb {
        font-size: 12px;
        margin-bottom: 13px
    }
    .job-form-grid {
        gap: 17px
    }
    .summary-card {
        padding: 16px 18px;
        gap: 0 12px
    }
    .summary-card h2 {
        font-size: 14px
    }
    .summary-counts {
        gap: 9px;
        margin-top: 14px;
        padding-top: 13px
    }
    .summary-counts>div {
        gap: 8px
    }
    .summary-counts>div>span {
        font-size: 12px;
        gap: 5px
    }
    .summary-counts svg {
        width: 13px;
        height: 13px
    }
    .summary-counts strong {
        font-size: 12px
    }
    .summary-card>.status-badge {
        font-size: 11px
    }
    .demo-notice p {
        font-size: 12px
    }
    .section-heading {
        padding: 18px;
        gap: 10px
    }
    .section-heading h2 {
        font-size: 17px
    }
    .section-heading p {
        font-size: 13px
    }
    .section-icon {
        height: 32px;
        width: 32px;
        border-radius: 8px
    }
    .section-icon svg {
        width: 18px;
        height: 18px
    }
    .required-note {
        font-size: 11px;
        margin-top: 3px
    }
    .section-body {
        padding: 21px 18px
    }
    .form-fields {
        gap: 20px 12px
    }
    .field label {
        font-size: 13px;
        margin-bottom: 8px
    }
    .field input {
        font-size: 14px;
        height: 39px;
        padding: 10px
    }
    .field input::placeholder,.field textarea::placeholder {
        font-size: 14px
    }
    .field input[type=date] {
        font-size: 14px;
        padding: 8px;
        min-height: 39px
    }
    .field-hint {
        font-size: 12px
    }
    .field textarea {
        font-size: 14px;
        padding: 10px
    }
    .stacks-section {
        margin-top: 23px
    }
    .stacks-heading {
        gap: 10px;
        margin-bottom: 14px
    }
    .stacks-heading h2 {
        font-size: 17px;
        line-height: 1.7;
        max-width: 240px
    }
    .stacks-heading p {
        font-size: 13px;
        line-height: 1.9;
        max-width: 220px;
        margin-top: 4px
    }
    .stacks-heading .button {
        font-size: 14px;
        padding: 7px 9px;
        min-height: 33px;
        gap: 4px;
        margin-top: 2px
    }
    .stacks-heading .button svg {
        height: 14px;
        width: 14px
    }
    .stack-card-heading {
        padding: 15px 17px;
        gap: 10px
    }
    .stack-card-heading h3 {
        font-size: 13px
    }
    .stack-card-heading>div>span {
        font-size: 11px
    }
    .stack-number {
        height: 28px;
        width: 28px;
        font-size: 10px
    }
    .stack-body {
        padding: 20px 17px
    }
    .stack-details {
        grid-template-columns: 1fr;
        gap: 17px
    }
    .parameter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-top: 23px
    }
    .parameter-header h4 {
        font-size: 13px
    }
    .parameter-header>span {
        font-size: 13px
    }
    .measurement-grid {
        grid-template-columns: 1fr;
        gap: 8px
    }
    .measurement-item {
        padding: 11px 12px;
        gap: 9px
    }
    .measurement-label label {
        font-size: 13px
    }
    .measurement-label>span {
        font-size: 11px
    }
    .repeat-field {
        gap: 7px
    }
    .repeat-field input {
        width: 48px;
        height: 31px;
        font-size: 14px;
        padding-left: 9px
    }
    .repeat-field>span {
        font-size: 11px
    }
    .measurement-symbol {
        width: 28px
    }
    .parameter-option {
        padding: 7px 9px;
        font-size: 12px
    }
    .parameter-options {
        gap: 7px
    }
    .form-actions {
        margin-top: 25px;
        padding-top: 17px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px
    }
    .form-actions>span {
        max-width: none;
        font-size: 12px;
        justify-content: center;
        order: 2
    }
    .form-actions>div {
        width: 100%;
        gap: 9px
    }
    .form-actions>div>.button-primary {
        flex: 1
    }
    .form-actions>div>.button-secondary {
        padding-left: 19px;
        padding-right: 19px
    }
    .form-actions .button {
        font-size: 14px;
        min-height: 42px
    }
    .empty-state {
        padding: 40px 18px
    }
    .empty-state h2,.empty-state h3 {
        font-size: 15px
    }
    .empty-state p {
        font-size: 10px
    }
    .module-placeholder {
        padding: 50px 18px 0;
        min-height: 490px
    }
    .module-placeholder>h2 {
        font-size: 21px;
        line-height: 1.6;
        margin: 14px 0 10px
    }
    .module-placeholder>p {
        font-size: 10px;
        line-height: 2;
        max-width: 290px
    }
    .module-placeholder>.eyebrow {
        font-size: 6px;
        letter-spacing: 1.15px
    }
    .module-symbol {
        height: 74px;
        width: 74px;
        border-radius: 20px;
        margin-bottom: 27px
    }
    .module-symbol svg {
        width: 35px;
        height: 35px
    }
    .module-progress {
        padding: 22px 0;
        font-size: 7px;
        gap: 6px;
        margin-top: 34px
    }
    .module-progress-line {
        width: 15px;
        margin: 0
    }
    .module-progress-check,.module-progress-number {
        width: 20px;
        height: 20px
    }
    .module-progress-check svg {
        width: 13px;
        height: 13px
    }
    .upcoming-badge {
        font-size: 8px;
        padding: 7px 9px
    }
    .empty-page {
        padding: 60px 15px
    }
    .empty-page h1 {
        font-size: 24px;
        line-height: 1.6
    }
    .empty-page p {
        font-size: 11px
    }
    #blazor-error-ui {
        font-size: 10px;
        padding: 13px 35px 13px 15px
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        scroll-behavior: auto!important;
        animation-duration: .01ms!important;
        transition-duration: .01ms!important;
        animation-iteration-count: 1!important
    }
}
/* Touch layouts keep text readable and controls comfortable instead of shrinking the desktop. */
@media(max-width:760px) {
    .topbar {
        min-height: 67px
    }
    .topbar-title,.local-indicator {
        font-size: 12px
    }
    .avatar {
        font-size: 11px;
        width: 33px;
        height: 33px
    }
    .icon-button {
        width: 40px;
        height: 40px
    }
    .mobile-menu-toggle {
        width: 37px;
        height: 40px
    }
    .topbar-left {
        gap: 7px
    }
    .topbar-right {
        gap: 9px
    }
    .nav-section-label {
        font-size: 11px
    }
    .nav-list>a,.settings-link {
        font-size: 14px;
        min-height: 46px
    }
    .sidebar-workspace strong {
        font-size: 12px
    }
    .sidebar-workspace small,.sidebar-footer {
        font-size: 12px
    }
    .sidebar-workspace {
        margin-bottom: 23px
    }
    .sidebar-tip strong {
        font-size: 13px
    }
    .sidebar-tip p {
        font-size: 12px;
        line-height: 1.7
    }
    .version-pill {
        font-size: 10px
    }
    .brand small {
        font-size: 8px;
        letter-spacing: 1px
    }
    .sidebar-tip {
        padding: 16px
    }
    .sidebar-bottom {
        padding-top: 26px
    }
    .eyebrow,.banner-label {
        font-size: 10px;
        letter-spacing: 1px
    }
    .page-heading p,.dashboard-heading p {
        font-size: 14px;
        line-height: 1.75
    }
    .page-heading h1,.dashboard-heading h1 {
        font-size: 26px;
        line-height: 1.4
    }
    .page-heading:not(.dashboard-heading):not(.form-page-heading)>.button,.page-heading>.button,.button,.button-small,.welcome-copy .button {
        font-size: 14px;
        min-height: 44px;
        padding: 11px 14px;
        gap: 8px
    }
    .button svg {
        width: 18px;
        height: 18px
    }
    .welcome-copy p {
        font-size: 14px;
        line-height: 1.75;
        max-width: 310px
    }
    .welcome-copy h2 {
        font-size: 26px;
        max-width: 350px
    }
    .welcome-copy .button {
        margin-top: 20px
    }
    .welcome-copy {
        padding: 26px
    }
    .welcome-banner {
        min-height: 255px
    }
    .desktop-only {
        display: none
    }
    .stat-card {
        padding: 19px 15px 15px;
        min-height: 153px
    }
    .stat-label {
        font-size: 14px;
        max-width: calc(100% - 28px);
        line-height: 1.5
    }
    .stat-card>strong {
        font-size: 30px;
        margin: 9px 0 12px
    }
    .stat-icon {
        width: 27px;
        height: 27px;
        top: 18px;
        right: 12px
    }
    .stat-foot {
        font-size: 12px;
        line-height: 1.65;
        min-height: 47px;
        align-items: flex-start;
        gap: 5px
    }
    .stat-foot svg {
        margin-top: 3px;
        width: 14px;
        height: 14px
    }
    .panel-heading h2 {
        font-size: 16px
    }
    .panel-heading p {
        font-size: 13px;
        line-height: 1.6
    }
    .text-link {
        font-size: 12px;
        min-height: 40px
    }
    .recent-jobs .panel-heading {
        padding: 19px 17px
    }
    .prototype-note {
        font-size: 12px;
        line-height: 1.75;
        gap: 8px
    }
    .prototype-note svg {
        width: 18px;
        height: 18px;
        margin-top: 2px
    }
    .jobs-table,.recent-jobs .jobs-table {
        min-width: 800px
    }
    .jobs-table th,.recent-jobs .jobs-table th {
        font-size: 11px;
        letter-spacing: .3px;
        padding: 13px 17px
    }
    .jobs-table td,.recent-jobs .jobs-table td {
        font-size: 13px;
        padding: 17px
    }
    .table-job-title {
        font-size: 14px;
        max-width: 265px
    }
    .recent-jobs .table-job-title {
        max-width: 250px
    }
    .job-code {
        font-size: 12px
    }
    .table-job-meta {
        gap: 8px;
        margin-top: 7px
    }
    .demo-badge,.recent-jobs .demo-badge,.list-footer .demo-badge {
        font-size: 12px;
        padding: 2px 5px
    }
    .melbes-number {
        font-size: 12px
    }
    .stack-count {
        font-size: 13px;
        gap: 6px
    }
    .stack-count svg {
        height: 17px;
        width: 17px
    }
    .due-date {
        font-size: 13px
    }
    .due-caption {
        font-size: 11px;
        margin-top: 5px
    }
    .status-badge,.recent-jobs .status-badge {
        font-size: 11px;
        padding: 6px 8px;
        gap: 6px
    }
    .jobs-table .table-action,.recent-jobs .jobs-table .table-action {
        padding-right: 12px;
        min-width: 55px
    }
    .list-tab {
        font-size: 14px;
        gap: 8px
    }
    .list-tab>span {
        font-size: 14px;
        padding: 3px 6px
    }
    .list-state-note {
        font-size: 12px;
        line-height: 1.5
    }
    .jobs-list-tabs {
        min-height: 59px
    }
    .list-toolbar {
        padding: 16px;
        gap: 12px
    }
    .search-field {
        height: 45px;
        padding: 0 12px
    }
    .search-field input {
        font-size: 14px
    }
    .search-field input::placeholder {
        font-size: 14px
    }
    .search-field button {
        width: 30px;
        height: 36px;
        justify-content: center
    }
    .filter-field {
        height: 44px;
        padding: 0 12px
    }
    .filter-field select {
        font-size: 14px;
        padding: 10px 16px 10px 0;
        max-width: none
    }
    .filter-field>svg {
        width: 18px;
        height: 18px
    }
    .list-footer {
        font-size: 12px;
        gap: 12px;
        line-height: 1.7;
        flex-wrap: wrap
    }
    .table-legend {
        font-size: 12px;
        gap: 7px;
        line-height: 1.7;
        flex-wrap: wrap
    }
    .form-breadcrumb {
        font-size: 12px;
        gap: 8px;
        line-height: 1.6;
        margin-bottom: 17px
    }
    .form-breadcrumb a {
        display: inline-flex;
        min-height: 30px;
        align-items: center
    }
    .form-page-heading {
        gap: 12px;
        flex-wrap: wrap
    }
    .form-page-heading>div {
        flex-basis: 100%
    }
    .form-page-heading p {
        font-size: 14px;
        max-width: none;
        line-height: 1.75
    }
    .form-page-heading h1 {
        font-size: 26px
    }
    .form-page-heading>.button {
        font-size: 14px;
        min-height: 42px;
        padding: 10px 13px
    }
    .form-page-heading>.button svg {
        height: 17px;
        width: 17px
    }
    .summary-card {
        padding: 20px
    }
    .summary-card .eyebrow {
        font-size: 11px
    }
    .summary-card h2 {
        font-size: 17px;
        line-height: 1.5
    }
    .summary-card>.status-badge {
        font-size: 11px;
        padding: 6px 8px
    }
    .summary-counts {
        gap: 15px;
        flex-wrap: wrap;
        padding-top: 16px;
        margin-top: 18px
    }
    .summary-counts>div {
        gap: 11px
    }
    .summary-counts>div>span {
        font-size: 12px;
        gap: 6px
    }
    .summary-counts strong {
        font-size: 14px
    }
    .summary-counts svg {
        width: 16px;
        height: 16px
    }
    .demo-notice {
        align-items: flex-start;
        gap: 8px
    }
    .demo-notice p {
        font-size: 12px;
        line-height: 1.7
    }
    .demo-notice .demo-badge {
        font-size: 11px;
        flex: none
    }
    .section-heading {
        padding: 20px 18px;
        gap: 10px;
        flex-wrap: wrap
    }
    .section-heading h2 {
        font-size: 17px
    }
    .section-heading p {
        font-size: 13px;
        line-height: 1.6
    }
    .section-icon {
        width: 37px;
        height: 37px
    }
    .section-icon svg {
        height: 21px;
        width: 21px
    }
    .required-note {
        font-size: 11px;
        line-height: 1.6;
        margin-left: auto
    }
    .required-note>span {
        font-size: 12px
    }
    .section-body {
        padding: 24px 18px
    }
    .form-fields {
        gap: 23px 16px
    }
    .field label {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 9px
    }
    .field label>span {
        font-size: 13px
    }
    .field input,.field textarea {
        font-size: 16px;
        padding: 12px;
        min-height: 45px
    }
    .field input::placeholder,.field textarea::placeholder {
        font-size: 14px
    }
    .field input[type=date] {
        font-size: 14px;
        padding: 10px;
        min-height: 45px
    }
    .field-hint {
        font-size: 12px;
        line-height: 1.75;
        margin-top: 8px
    }
    .field textarea {
        min-height: 110px;
        line-height: 1.7
    }
    .stacks-heading {
        gap: 14px;
        flex-wrap: wrap;
        margin-top: 27px;
        margin-bottom: 18px
    }
    .stacks-heading h2 {
        font-size: 17px;
        line-height: 1.6;
        max-width: none
    }
    .stacks-heading .heading-count {
        font-size: 12px;
        padding: 2px 7px
    }
    .stacks-heading p {
        font-size: 13px;
        line-height: 1.8;
        max-width: none
    }
    .stacks-heading .button {
        font-size: 14px;
        min-height: 42px;
        padding: 9px 13px;
        gap: 6px
    }
    .stacks-heading .button svg {
        height: 17px;
        width: 17px
    }
    .stack-card-heading {
        padding: 17px;
        gap: 11px
    }
    .stack-card-heading h3 {
        font-size: 15px;
        line-height: 1.6
    }
    .stack-card-heading>div>span {
        font-size: 11px;
        line-height: 1.7
    }
    .stack-number {
        height: 34px;
        width: 34px;
        font-size: 13px
    }
    .stack-body {
        padding: 23px 17px
    }
    .stack-details {
        gap: 23px
    }
    .parameter-header {
        gap: 6px;
        margin: 27px 0 14px;
        flex-direction: column;
        align-items: flex-start
    }
    .parameter-header h4 {
        font-size: 13px;
        line-height: 1.6
    }
    .parameter-header>span {
        font-size: 13px;
        line-height: 1.75
    }
    .measurement-grid {
        grid-template-columns: 1fr;
        gap: 10px
    }
    .measurement-item {
        padding: 14px 12px;
        gap: 10px
    }
    .measurement-symbol {
        width: 28px
    }
    .measurement-symbol svg {
        height: 22px;
        width: 22px
    }
    .measurement-label label {
        font-size: 14px;
        line-height: 1.65
    }
    .measurement-label>span {
        font-size: 11px;
        line-height: 1.6;
        margin-top: 2px
    }
    .repeat-field {
        gap: 7px
    }
    .repeat-field input {
        font-size: 16px;
        min-height: 42px;
        width: 55px;
        padding: 8px
    }
    .repeat-field>span {
        font-size: 11px
    }
    .optional-label {
        font-size: 12px;
        margin-bottom: 13px
    }
    .optional-parameters {
        padding-top: 22px;
        margin-top: 22px
    }
    .parameter-options {
        gap: 9px
    }
    .parameter-option {
        font-size: 12px;
        gap: 7px;
        padding: 10px;
        min-height: 42px
    }
    .parameter-option input {
        width: 15px;
        height: 15px
    }
    .add-stack-button {
        font-size: 14px;
        min-height: 50px
    }
    .form-actions .button {
        font-size: 14px;
        min-height: 46px;
        padding: 12px 14px
    }
    .form-actions>span {
        font-size: 12px;
        line-height: 1.75;
        max-width: none
    }
    .form-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 16px
    }
    .form-actions>div {
        gap: 10px
    }
    .form-actions>div>.button-primary {
        flex: 1
    }
    .form-actions>span {
        order: 2;
        justify-content: center
    }
    .alert {
        padding: 18px 15px;
        gap: 10px
    }
    .alert>svg {
        height: 21px;
        width: 21px
    }
    .alert strong {
        font-size: 14px;
        line-height: 1.7
    }
    .alert p {
        font-size: 13px;
        line-height: 1.8
    }
    .alert ul {
        font-size: 13px;
        line-height: 1.9
    }
    .alert .button-small {
        font-size: 14px;
        min-height: 42px
    }
    .alert>.button {
        margin-left: 30px
    }
    .empty-state {
        padding: 45px 22px
    }
    .empty-state h2,.empty-state h3 {
        font-size: 19px;
        line-height: 1.6
    }
    .empty-state p {
        font-size: 14px;
        line-height: 1.8
    }
    .loading-state {
        font-size: 14px;
        line-height: 1.7
    }
    .upcoming-badge {
        font-size: 12px;
        padding: 9px 11px
    }
    .module-placeholder {
        padding: 52px 22px 0
    }
    .module-placeholder>.eyebrow {
        font-size: 10px;
        line-height: 1.8;
        letter-spacing: 1px
    }
    .module-placeholder>h2 {
        font-size: 25px;
        line-height: 1.5
    }
    .module-placeholder>p {
        font-size: 14px;
        line-height: 1.9;
        max-width: 440px
    }
    .module-placeholder>.button {
        font-size: 14px;
        min-height: 45px
    }
    .module-progress {
        font-size: 11px;
        gap: 8px;
        flex-wrap: wrap;
        line-height: 1.6;
        padding: 23px 0
    }
    .module-progress-check,.module-progress-number {
        width: 25px;
        height: 25px;
        font-size: 11px
    }
    .module-progress-line {
        width: 22px
    }
    .app-footer {
        font-size: 11px;
        line-height: 1.7
    }
    .app-footer>span:last-child {
        font-size: 11px;
        max-width: 230px
    }
    .footer-version {
        font-size: 9px
    }
    .empty-page p {
        font-size: 14px
    }
    #blazor-error-ui {
        font-size: 13px;
        line-height: 1.8;
        padding: 17px 37px 17px 17px
    }
}
@media(max-width:400px) {
    .local-indicator {
        font-size: 12px
    }
    .topbar-title {
        font-size: 12px
    }
    .topbar-right {
        gap: 6px
    }
    .topbar-left {
        gap: 4px
    }
    .avatar {
        height: 29px;
        width: 29px;
        font-size: 10px
    }
    .main-content {
        padding-left: 14px;
        padding-right: 14px
    }
    .welcome-copy {
        padding: 24px 21px
    }
    .welcome-copy h2 {
        font-size: 24px;
        max-width: 270px
    }
    .welcome-copy p {
        max-width: 265px;
        font-size: 14px
    }
    .stat-label {
        font-size: 14px
    }
    .stat-foot {
        font-size: 12px
    }
    .stat-icon {
        right: 10px;
        width: 25px;
        height: 25px
    }
    .stat-card {
        padding: 18px 12px 13px
    }
    .form-fields {
        grid-template-columns: 1fr
    }
    .field input[type=date] {
        font-size: 16px
    }
    .required-note {
        margin-left: 47px;
        margin-top: 2px
    }
    .form-actions .button {
        font-size: 14px;
        padding-left: 12px;
        padding-right: 12px
    }
    .summary-card>.status-badge {
        font-size: 11px
    }
    .summary-card h2 {
        font-size: 15px
    }
    .measurement-item {
        gap: 7px;
        padding-left: 9px;
        padding-right: 9px
    }
    .measurement-label label {
        font-size: 13px
    }
    .repeat-field {
        gap: 5px
    }
    .repeat-field input {
        width: 49px
    }
    .repeat-field>span {
        font-size: 11px
    }
    .module-progress-line {
        display: none
    }
    .module-progress {
        gap: 8px
    }
    .app-footer>span:last-child {
        max-width: 170px
    }
}

/* Job management: detail view, list controls and readable secondary text. */
:root { --muted: #637783; }
.field-hint,.section-heading p,.panel-heading p,.stacks-heading p,
.required-note,.list-state-note,.list-footer,.table-legend,.melbes-number,
.measurement-label>span,.repeat-field>span,.summary-info p,.form-help p {
    color: var(--muted);
}
.job-code { color: #496d60; }
.list-toolbar { flex-wrap: wrap; gap: 12px; }
.search-field { flex: 1 1 280px; max-width: none; min-width: 0; height: 44px; min-height: 44px; }
.list-toolbar-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.filter-field { height: 44px; max-width: 100%; }
.filter-field select { max-width: 100%; min-width: 0; font-size: 14px; color: #405866; }
.list-refresh { min-width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.stack-card-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.stack-card-actions .button-small { min-height: 38px; white-space: nowrap; }
.job-detail-heading>div:first-child { min-width: 0; }
.job-detail-heading h1 { overflow-wrap: anywhere; }
.job-detail-heading-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.job-detail-section { margin-bottom: 28px; }
.job-detail-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 0; }
.job-detail-field { min-width: 0; }
.job-detail-field dt,.job-detail-stack-note>span { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.job-detail-field dd { margin: 0; font-size: 15px; line-height: 1.7; color: #354d42; overflow-wrap: anywhere; }
.job-detail-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.job-detail-stack-note { padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.job-detail-stack-note>span { display: block; }
.job-detail-stack-note p { font-size: 14px; line-height: 1.75; color: #53695f; }
.detail-parameter-table { width: 100%; border-collapse: collapse; text-align: left; }
.detail-parameter-table thead th { font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-parameter-table tbody th,.detail-parameter-table td { padding: 14px 0; border-bottom: 1px solid #edf1ef; font-size: 14px; }
.detail-parameter-table tbody tr:last-child th,.detail-parameter-table tbody tr:last-child td { border-bottom: 0; }
.detail-parameter-table tbody th { font-weight: 500; }
.detail-parameter-table th:last-child,.detail-parameter-table td { text-align: right; white-space: nowrap; padding-left: 12px; }
.detail-parameter-table td strong { color: #426453; }
.detail-parameter-table td>span { font-size: 12px; color: var(--muted); }
.detail-parameter-name { display: block; color: #3d5b4b; }
.required-parameter-badge,.optional-parameter-label { display: inline-block; font-size: 11px; margin-top: 6px; }
.required-parameter-badge { color: #37684e; background: #eef6f0; border-radius: 4px; padding: 3px 6px; }
.optional-parameter-label { color: var(--muted); }

@media (max-width: 1100px) {
    .list-toolbar .search-field { flex-basis: 100%; width: 100%; }
    .list-toolbar-controls { width: 100%; }
    .list-toolbar-controls .filter-field { flex: 1; }
    .list-toolbar-controls select { width: 100%; }
}
@media (max-width: 640px) {
    .list-toolbar .search-field { flex: 0 0 auto; }
    .job-detail-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
    .job-detail-heading-actions { width: 100%; }
    .job-detail-fields { grid-template-columns: minmax(0,1fr); }
    .job-detail-heading-actions .button { flex: 1; }
    .job-detail-heading .eyebrow { margin-bottom: 8px; }
    .list-toolbar-controls .filter-field { flex: 1 1 calc(100% - 56px); }
    .list-toolbar-controls .sort-field { flex: 1 1 calc(100% - 56px); }
    .stack-card-heading { flex-wrap: wrap; }
    .stack-card-actions { margin-left: 0; width: 100%; justify-content: flex-end; }
}
/* Planning, fieldwork, accounts and management. */
.operations-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:22px;align-items:start}.operations-main,.operations-side{min-width:0;display:grid;gap:20px}.operations-side>.panel{overflow:hidden}.operations-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px}.operations-stats .stat-card{gap:14px;min-height:125px}.operations-stats .stat-card>span{color:#536773;font-weight:500}.operations-stats .stat-card>strong{font-size:27px}.operation-selected-row{background:#eaf7f4}.operation-selected-row td:first-child{box-shadow:inset 3px 0 var(--teal)}.role-tags,.inline-actions,.receipt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.role-tag{background:#e9f4f3;color:#12665f;border:1px solid #d2e7e4;border-radius:6px;padding:5px 8px;font-size:12px;line-height:1.4}.role-list{display:grid;gap:8px}.role-list .parameter-option{width:100%;margin:0}.role-help{margin-top:20px;padding:16px;background:#f3f7f9;border-radius:8px;line-height:1.6}.role-help p+p{margin-top:8px}.account-password-panel,.progress-history-panel{margin-top:0}.operation-details{display:grid;gap:13px;margin:0}.operation-details>div{display:flex;justify-content:space-between;gap:15px;align-items:start}.operation-details dt{color:#6b7c86;font-size:13px}.operation-details dd{margin:0;text-align:right;overflow-wrap:anywhere;font-weight:500;line-height:1.5}.operation-details dd .role-tags{justify-content:flex-end}.job-progress{display:flex;gap:7px;align-items:center;margin-top:8px}.job-progress progress{width:95px;height:6px;border:0;border-radius:5px;overflow:hidden;accent-color:var(--teal)}.job-progress progress::-webkit-progress-bar{background:#e4ecee}.job-progress progress::-webkit-progress-value{background:var(--teal);border-radius:5px}.job-progress small{font-size:11px;color:#72858e}.operation-stages{list-style:none;margin:18px 0;padding:0;display:grid;gap:0}.operation-stages li{position:relative;padding:10px 12px 10px 36px;color:#81909a;border-left:2px solid #e5ecef;margin-left:10px;line-height:1.5}.operation-stages li:before{content:'';position:absolute;left:-6px;top:17px;width:10px;height:10px;border-radius:50%;background:#e1e8eb;border:2px solid white}.operation-stages li.done{color:#47746e;border-color:#a8d8ce}.operation-stages li.done:before{background:#75baab}.operation-stages li.current{color:#076d61;background:#edf8f5;font-weight:650;border-color:#118575;border-radius:0 8px 8px 0}.operation-stages li.current:before{background:#0c8775}.operation-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.progress-timeline{list-style:none;margin:0;padding:0}.timeline-entry{border-left:2px solid #e0eeeb;padding:0 0 22px 17px;margin-left:5px;line-height:1.55}.timeline-entry:last-child{padding-bottom:0}.timeline-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:5px}.timeline-heading strong{font-size:14px}.timeline-heading time,.timeline-entry>small{font-size:12px;color:#6b7f8a}.timeline-entry p{margin-top:7px;color:#526773;font-size:13px}.field select{width:100%;padding:12px;border:1px solid #dce5e9;border-radius:7px;background:white;color:var(--text)}.field input[type=file]{padding:9px;font-size:13px;line-height:1.5}.field input[type=file]::file-selector-button{border:0;border-radius:4px;padding:7px 10px;background:#e5f2ef;color:#176c62;margin-right:10px;cursor:pointer}.field-form-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding:16px 22px}.field-form-tabs .active{background:var(--teal);color:white;border-color:var(--teal)}.field-forms-panel{overflow:hidden}.survey-stack-fields{padding:20px;border:1px solid var(--line);border-radius:9px;display:grid;gap:18px}.survey-stack-fields+.survey-stack-fields{margin-top:20px}.survey-stack-fields h3{font-size:16px}.measurement-value-table{width:100%;border-collapse:collapse;min-width:650px}.measurement-value-table th,.measurement-value-table td{padding:10px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.measurement-value-table input{width:100%;min-width:85px;padding:10px;border:1px solid #dbe5e8;border-radius:5px}.measurement-value-table caption{text-align:left;padding:16px 0;font-weight:650}.receipt-actions{margin-top:12px}.receipt-upload-form{padding:15px;margin-top:20px;background:#f2f7f7;border-radius:8px}.signed-in-user{display:flex;flex-direction:column;gap:3px;text-align:right;max-width:290px}.signed-in-user strong{font-size:13px}.signed-in-user small{font-size:11px;color:#738590}.status-bars{display:grid;gap:15px}.status-bar-row{display:grid;grid-template-columns:150px minmax(0,1fr) 30px;gap:12px;align-items:center;font-size:13px}.status-bar-row progress{width:100%;height:8px;accent-color:var(--teal)}.field-hint a{text-decoration:underline;color:var(--teal)}.survey-photo{max-width:100%;max-height:240px;object-fit:contain;border-radius:8px}.form-fieldset{min-width:0}.operation-details .field-hint{font-size:11px}
/* Standalone account forms share the application palette. */
.account-body{min-height:100vh;background:#f4f7f8}.account-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,0.9fr) minmax(400px,1.1fr)}.account-intro{background:#102f3c;color:#b5cbd2;padding:70px 12%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.account-intro:after{content:'';width:400px;height:400px;position:absolute;bottom:-220px;right:-150px;border:70px solid #1a4550;border-radius:50%}.account-brand{font-size:25px;letter-spacing:-.7px;color:white;font-weight:650;margin-bottom:65px}.account-intro h1{font-size:42px;line-height:1.2;color:white;letter-spacing:-1.5px;margin:20px 0}.account-intro p{line-height:1.8;max-width:420px}.account-card{align-self:center;margin:50px auto;width:min(460px,calc(100% - 64px));padding:15px 0}.account-card h1{font-size:30px;letter-spacing:-1px;margin:13px 0}.account-subtitle{color:#6a7d89;line-height:1.7;margin-bottom:28px}.account-form{display:grid;gap:19px}.account-form label{display:block;font-weight:550;font-size:13px;margin-bottom:8px}.account-form input{width:100%;border:1px solid #d5e0e5;border-radius:7px;padding:14px;background:white;color:var(--text)}.account-form .button{justify-content:center;width:100%;margin-top:5px}.account-help{font-size:12px;color:#748994;line-height:1.7;margin-top:20px}.account-errors{background:#fff0ee;border:1px solid #f0c8c1;color:#9a3b30;padding:14px 16px;border-radius:8px;line-height:1.6;margin:18px 0}.account-errors ul{margin:0;padding-left:20px}.account-errors.validation-summary-valid{display:none}.account-form .field-validation-error{display:block;color:#a34839;font-size:12px;margin-top:7px}.account-intro .eyebrow{color:#8ed4c4}.account-submit{width:100%;justify-content:center}
@media(min-width:1550px){.operations-grid{grid-template-columns:minmax(0,1fr) 430px}}
@media(max-width:1200px){.operations-grid{grid-template-columns:minmax(0,1fr)}.operations-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.operations-side>.panel:first-child{grid-row:span 2}.signed-in-user{max-width:220px}.topbar-title{display:none}}
@media(max-width:760px){.operations-side{grid-template-columns:minmax(0,1fr)}.operations-stats{grid-template-columns:minmax(0,1fr)}.operations-stats .stat-card{min-height:105px}.signed-in-user{max-width:180px}.signed-in-user small{display:none}.account-shell{grid-template-columns:minmax(0,1fr)}.account-intro{padding:30px 28px;min-height:235px}.account-brand{margin-bottom:15px;font-size:21px}.account-intro h1{font-size:29px;margin:10px 0}.account-intro p{font-size:13px}.account-card{width:calc(100% - 48px);margin:30px auto}.account-card h1{font-size:26px}.field-form-tabs{padding:14px}.survey-stack-fields{padding:15px}.status-bar-row{grid-template-columns:120px minmax(0,1fr) 24px;gap:8px}}
.account-brand{display:flex;gap:13px;align-items:center;letter-spacing:-.7px}.account-brand strong{display:flex;gap:8px;align-items:baseline}.account-brand strong span{font-size:16px;font-weight:400;color:#8acbbe}.account-intro-note{margin-top:38px;font-size:12px;line-height:1.8;color:#8eb7be}.dashboard-finance{margin-top:24px}.survey-photo-section{padding:18px;background:#f3f7f8;border-radius:8px}.survey-photo-section>h4{margin-bottom:12px}.survey-photo-section .field-hint{display:block;margin:10px 0}.list-toolbar-controls{flex-wrap:wrap}.jobs-panel{min-width:0}.jobs-table .table-job-title{overflow-wrap:anywhere}
/* Give module tables full width on laptop and side-panel viewports. */
@media(min-width:761px) and (max-width:1669px){.operations-grid{grid-template-columns:minmax(0,1fr)}.operations-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.operations-side>.panel:first-child{grid-row:span 2}}
@media(min-width:1670px){.operations-grid{grid-template-columns:minmax(0,1fr) 410px}}

/* Bulk entry, transparent tariff breakdown and personnel scheduling. */
.geolocation-panel{grid-column:1/-1;padding:15px;background:#eef7f4;border:1px solid #d3e8df;border-radius:8px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.geolocation-status{font-size:12px;line-height:1.65;color:#436d61;flex:1 1 220px}.geolocation-status.error{color:#9c4939}
.bulk-stack-editor,.personnel-roster,.planning-selected,.planning-job-list{margin-bottom:22px;min-width:0}
.bulk-stack-controls{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:24px;margin-bottom:22px}
.bulk-parameter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bulk-parameter-row{display:grid;grid-template-columns:minmax(100px,1fr) 100px 100px;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fbfdfd}
.bulk-parameter-row>strong{font-size:13px;overflow-wrap:anywhere}.bulk-parameter-row label{font-size:11px}.bulk-parameter-row .field{gap:7px}
.bulk-stack-preview{max-height:430px;overflow:auto;border:1px solid var(--line);border-radius:8px;margin-top:20px}
.bulk-stack-preview table{border-collapse:collapse;width:100%;min-width:650px;font-size:12px}.bulk-stack-preview th,.bulk-stack-preview td{padding:11px;border-bottom:1px solid var(--line);text-align:center}
.bulk-stack-preview thead{position:sticky;top:0;background:#edf5f4;z-index:1}.bulk-stack-preview tbody th{text-align:left;white-space:nowrap}
.bulk-stack-preview input[type=checkbox],.calendar-person input[type=checkbox]{width:17px;height:17px;accent-color:var(--teal)}
.bulk-selection-count{display:block;color:var(--muted);font-size:11px;margin-top:5px}.bulk-stack-actions{display:flex;justify-content:flex-end;gap:10px;margin:20px 0 12px}
.pricing-panel{margin-top:24px}.pricing-lines{display:grid;gap:0}.pricing-line{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #edf1f2;padding:10px 0;font-size:13px;line-height:1.6}.pricing-line strong{white-space:nowrap}.pricing-total{display:flex;justify-content:space-between;gap:20px;padding:18px 0;color:#0e7565;font-size:17px;font-weight:650}.pricing-warnings{padding:14px 18px;background:#fff8e9;border:1px solid #eddeb9;border-radius:7px;color:#785d25;font-size:13px;line-height:1.7}.pricing-override{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:18px}.pricing-panel .field-hint{display:block;line-height:1.7}.pricing-panel .field-hint a{overflow-wrap:anywhere}
.job-row-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.job-row-actions .button{white-space:nowrap;min-height:34px}.jobs-table{min-width:820px}.list-tab{border:0;background:transparent;cursor:pointer;font:inherit}.list-tab:focus-visible{outline:2px solid var(--teal);outline-offset:-4px}
.personnel-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #d5e7e2;border-radius:22px;padding:9px 14px;color:#23665b;background:#f2f9f7;font-size:13px}.table-job-link{display:block;text-align:left;padding:0;border:0;background:transparent;font:inherit;cursor:pointer;color:inherit}.table-job-link:hover .table-job-title{color:var(--teal);text-decoration:underline}.planning-selected>.section-heading{align-items:center}.planning-selected>.section-heading>.icon-button{margin-left:auto;flex-shrink:0}.planning-workspace{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-workspace h3{font-size:16px}.duration-summary{display:block;padding:12px 14px;background:#f0f7f5;border:1px solid #dcebe5;border-radius:7px;font-size:16px;line-height:1.55}.duration-manual{border-left:3px solid #67afa2;padding-left:14px}.planning-conflicts ul{padding-left:18px;margin:8px 0}.planning-job-list .jobs-table{min-width:1000px}
.personnel-calendar{padding:22px;border-bottom:1px solid var(--line);min-width:0}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:15px}.calendar-toolbar h3{font-size:17px;margin-bottom:6px}.calendar-period{font-size:13px;font-weight:600;white-space:nowrap}.calendar-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;margin-bottom:16px}.calendar-legend>span{padding:6px 10px;border-radius:5px}.resource-calendar-scroll{overflow:auto;border:1px solid #dce6e8;border-radius:8px;max-height:620px}.resource-calendar-table{width:100%;min-width:1070px;border-collapse:separate;border-spacing:0;table-layout:fixed}.resource-calendar-table th,.resource-calendar-table td{border-right:1px solid #e2eaec;border-bottom:1px solid #e2eaec;padding:10px;text-align:left;vertical-align:top}.resource-calendar-table thead th{background:#f1f6f7;position:sticky;top:0;z-index:2;font-size:12px;line-height:1.6}.resource-calendar-table thead strong{display:block;font-size:14px}.resource-calendar-table thead small{display:block;font-weight:400;font-size:10px}.resource-calendar-table .calendar-person{position:sticky;left:0;width:190px;min-width:190px;background:#fff;z-index:1}.resource-calendar-table thead .calendar-person{background:#eaf2f3;z-index:3}.calendar-person .parameter-option{padding:5px 0;align-items:flex-start;font-size:13px;line-height:1.7;white-space:normal}.calendar-person input{flex-shrink:0;margin-top:3px}.calendar-person .field-hint{display:block;font-size:10px;font-weight:400}.calendar-day{height:120px}.calendar-day-items{min-height:110px;display:flex;flex-direction:column;gap:8px}.calendar-day-heading{text-transform:capitalize;font-weight:400}.resource-calendar-table .calendar-today{background:#f2faf7}.calendar-booking{background:#e9f0f8;color:#355b81;border:1px solid #d4e2f2;border-radius:5px}.calendar-draft{background:#e4f6ef;color:#16664d;border:1px solid #b9e1cf;border-radius:5px}.calendar-day-items>.calendar-booking,.calendar-day-items>.calendar-draft{padding:8px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.calendar-day-items strong,.calendar-day-items span,.calendar-day-items small{display:block}.calendar-day-items strong{font-size:10px}.calendar-day-items small{margin-top:4px}.calendar-conflict{background:#fff0ec;color:#9c4939;border:1px solid #efcabf;border-radius:5px}.calendar-add-slot{border:1px dashed #c8d9d5;background:transparent;color:#568077;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;padding:7px;cursor:pointer;margin-top:auto;width:100%}.calendar-add-slot:hover{background:#e6f5ef}.calendar-time-ruler{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;margin:4px 0}.calendar-time-track{position:relative;height:4px;background:#d9e4e8;width:100%;border-radius:4px;margin-top:7px;overflow:hidden}.calendar-time-bar{position:absolute;height:100%;background:currentColor;border-radius:4px}
@media(max-width:1150px){.bulk-parameter-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.bulk-stack-controls{grid-template-columns:minmax(0,1fr);gap:12px}.bulk-parameter-row{grid-template-columns:minmax(70px,1fr) 74px 74px;gap:8px;padding:10px}.bulk-stack-actions{flex-wrap:wrap}.bulk-stack-actions .button{flex:1}.planning-workspace{grid-template-columns:minmax(0,1fr)}.personnel-calendar{padding:15px}.calendar-toolbar .inline-actions{width:100%}.calendar-period{font-size:12px}.pricing-line{gap:10px}.pricing-total{font-size:15px}.job-row-actions{justify-content:flex-start}}
[data-planning-draggable="true"] { user-select: none; } .planning-pointer-source { opacity: .55; cursor: grabbing !important; }

.gravimetry-alert { color: #b42318 !important; font-weight: 700; }
.gravimetry-alert .due-caption { color: #b42318; }
.management-section { margin-top:24px; }
.management-table { max-height:560px; overflow:auto; }
.management-table thead { position:sticky; top:0; background:#f8fafb; z-index:1; }
.management-table input { min-width:150px; max-width:210px; }
.management-stats { grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); margin-top:20px; }
.management-stats strong { font-size:clamp(20px,2vw,29px); }
.management-breakdown { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; }
.management-breakdown>div { display:flex; flex-direction:column; gap:8px; padding:16px; border:1px solid #e1e8ec; border-radius:10px; }
.company-logo{display:block;width:100%;height:auto;max-height:65px;object-fit:contain;background:#fff;border-radius:6px;padding:8px}.brand{padding:12px!important}.brand .company-logo{max-width:208px}.account-brand .company-logo{width:359px;max-width:100%;max-height:100px}.preview-role-switch{position:relative}.preview-role-switch>summary{cursor:pointer;font-size:12px}.preview-role-switch>div{position:absolute;right:0;top:25px;z-index:200;background:white;border:1px solid #d7e3e7;padding:12px;border-radius:8px;width:330px;max-width:85vw;box-shadow:0 8px 25px #1233}.preview-role-switch .inline-actions{flex-wrap:wrap}@media print{.preview-role-switch{display:none!important}}
.measurement-breadcrumb{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-bottom:1.4rem;color:var(--text-muted,#607689)}
.measurement-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:1rem;margin:1rem 0 1.75rem}
.measurement-card{display:flex;flex-direction:column;align-items:flex-start;gap:.7rem;text-align:left;padding:1.4rem;border:1px solid #dce7ec;border-radius:14px;background:white;color:#274451;font:inherit;cursor:pointer;min-height:175px;box-shadow:0 3px 12px #12344005;transition:border-color .15s,box-shadow .15s}
.measurement-card:hover,.measurement-card:focus-visible{border-color:#168e82;box-shadow:0 4px 18px #168e8218;outline:2px solid #168e8240;outline-offset:2px}
.measurement-card strong{font-size:1.13rem;line-height:1.45}.measurement-card .card-action{margin-top:auto;color:#11776e;font-weight:600;font-size:.86rem}
.method-choice{min-height:110px;padding:1rem}.method-choice.selected{border:2px solid var(--teal);background:#edf8f5}.method-choice:disabled{cursor:default}.method-choice.selected strong{color:var(--teal)}
.selected-stack-heading{margin:1.4rem 0}.selected-stack-heading h2{margin:.4rem 0}.selected-stack-heading p{color:#607689}
.sample-set-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:1rem 0}
.sample-slot{padding:1rem;border-radius:10px;border:1px solid #dce7ec;background:#f8fafb;display:flex;flex-direction:column;gap:.5rem;overflow-wrap:anywhere;min-width:0}
.sample-slot span{font-size:.82rem;color:#607689}.sample-recorded{border-color:#9fd4c2;background:#f2faf7}.sample-pending{border-style:dashed}.sample-slot input{width:100%;min-width:0}
@media(max-width:750px){.sample-set-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.measurement-card-grid{grid-template-columns:1fr}.measurement-breadcrumb .button{padding:.5rem .7rem;font-size:.8rem}}
.calendar-time-note{margin:.35rem .15rem;padding:.4rem;border:1px dashed #d2ae54;background:#fff9e9;border-radius:6px;display:flex;flex-direction:column;gap:.2rem;font-size:.68rem;white-space:normal;overflow-wrap:anywhere}.calendar-time-note.approved{border:1px solid #6da395;background:#eef8f3}.staff-time-request+.staff-time-request{border-top:1px solid #dce7ec}.preserve-lines{white-space:pre-wrap}

/* Focused measurement wizard; hidden editors retain unsaved drafts. */
[hidden]{display:none!important}
.measurement-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.measurement-step{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;text-align:left;padding:15px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--text);font:inherit;cursor:pointer;min-width:0}
.measurement-step>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf2f4;font-weight:700}.measurement-step strong{font-size:13px;line-height:1.5}.measurement-step small{grid-column:2;color:#71848d;font-size:11px}.measurement-step.active{border:2px solid var(--teal);background:#edf8f5}.measurement-step.active>span{background:var(--teal);color:white}.measurement-step:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.measurement-step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 20px}.measurement-step-actions .field-hint{flex:1;min-width:160px}
.traverse-location-fields{display:grid;gap:12px;margin:16px 0}.traverse-explanation{margin:16px 0}.traverse-method-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.traverse-method-card{min-width:0;min-height:200px;padding:16px}.traverse-method-card strong{font-size:14px}.traverse-method-card.selected{border:2px solid var(--teal);background:#edf8f5}.traverse-count{font-size:22px;font-weight:700;color:var(--teal)}.traverse-pending{font-weight:600;color:#94622a}.traverse-method-card .field-hint{font-size:12px;line-height:1.6}.inherited-survey{display:flex;flex-direction:column;gap:8px;padding:16px;background:#f1f8f6;border:1px solid #d8e9e3;border-radius:10px}.filter-set-editor input{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:7px;background:white}.filter-set-editor .sample-slot{gap:10px}
@media(max-width:1200px){.traverse-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.measurement-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.traverse-method-grid{grid-template-columns:1fr}.traverse-method-card{min-height:160px}.measurement-step{padding:10px;grid-template-columns:24px minmax(0,1fr)}.measurement-step>span{width:24px;height:24px}.measurement-step small{grid-column:1/-1}.measurement-step-actions .field-hint{order:3;flex-basis:100%}.filter-set-editor .sample-set-grid{grid-template-columns:1fr}}
:root { --validation-red: #b42318; }
.field-validation-message { display: block; width: 100%; margin: .4rem 0; color: var(--validation-red); font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; }
input.field-validation-error, select.field-validation-error, textarea.field-validation-error,
.field-validation-error { border-color: var(--validation-red) !important; outline: 1px solid var(--validation-red); outline-offset: 1px; }
.field-validation-error input[type="checkbox"] { outline: 2px solid var(--validation-red); }
.validation-link { border: 0; padding: .35rem 0; background: transparent; color: #8f1c13; text-align: left; text-decoration: underline; cursor: pointer; font: inherit; }
.validation-link:focus-visible { outline: 2px solid var(--validation-red); outline-offset: 3px; }
.validation-summary { scroll-margin-top: 6rem; }
.filter-set-editor select, .filter-set-editor input { width: 100%; min-width: 0; }

.device-select-row{cursor:pointer}.device-select-row:hover>td,.device-select-row:focus-visible>td{background:#edf7f6}.device-select-row:focus-visible{outline:2px solid var(--primary,#087e79);outline-offset:-2px}.device-editor-row>td{white-space:normal!important;padding:0!important}.device-editor-row .panel{margin:0}@media(max-width:760px){.mobile-cards .device-editor-row>td{display:block;grid-column:1 / -1}.mobile-cards .device-editor-row>td::before{display:none}}
.device-editor-row>td{padding:0!important}
.device-editor-reveal{display:grid;grid-template-rows:1fr;animation:device-editor-open 380ms cubic-bezier(.22,.61,.36,1)}
.device-editor-content{min-height:0;overflow:hidden}
.device-editor-content>.panel{margin:16px}
@keyframes device-editor-open{from{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}
@media(prefers-reduced-motion:reduce){.device-editor-reveal{animation:none}}

/* Device inventory: status cards, group filters and accessible status colors. */
.device-toolbar{padding:22px;margin-bottom:20px}
.device-status-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.device-status-card,.device-select-row{--device-tone:#526472;--device-tint:#f1f5f7;--device-line:#d9e2e7}
.device-toolbar .tone-green,.device-select-row.tone-green{--device-tone:#17633e;--device-tint:#eaf7ef;--device-line:#a3d8b8}
.device-toolbar .tone-purple,.device-select-row.tone-purple{--device-tone:#7437a0;--device-tint:#f4ecfb;--device-line:#d4b7e9}
.device-toolbar .tone-yellow,.device-select-row.tone-yellow{--device-tone:#805a00;--device-tint:#fff8dc;--device-line:#eed477}
.device-toolbar .tone-red,.device-select-row.tone-red{--device-tone:#ae2929;--device-tint:#fff0ef;--device-line:#e9a6a1}
.device-status-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;min-height:100px;padding:15px;border:1px solid var(--device-line);border-radius:12px;background:var(--device-tint);color:var(--device-tone);text-align:left;cursor:pointer;transition:box-shadow .18s,border-color .18s}
.device-status-card span{font-size:12px;font-weight:600;line-height:1.4}.device-status-card strong{font-size:26px;line-height:1;font-variant-numeric:tabular-nums}
.device-status-card.is-selected{box-shadow:inset 0 0 0 2px var(--device-tone)}
.device-status-card:focus-visible,.device-group-button:focus-visible{outline:3px solid #087e79;outline-offset:3px}
.device-filter-bar{display:flex;gap:24px;align-items:flex-end;justify-content:space-between;margin-top:22px;padding-top:20px;border-top:1px solid #e5ecef;flex-wrap:wrap}
.device-search{flex:1 1 260px;max-width:420px}.device-search label,.device-group-filter>span{display:block;margin-bottom:8px;font-size:12px;font-weight:600;color:#526472}.device-search input{width:100%;min-height:42px}.device-group-filter{flex:1 1 480px}.device-group-buttons{display:flex;flex-wrap:wrap;gap:7px}
.device-group-button{border:1px solid #dbe5e9;background:#fff;color:#526472;padding:10px 14px;border-radius:8px;cursor:pointer;font-size:12px;min-height:42px}.device-group-button.is-selected{background:#087e79;border-color:#087e79;color:#fff}
.device-sort-note{font-size:11px;color:#657b86;margin:16px 0 0}
.device-select-row>td:first-child{border-left:4px solid var(--device-tone)}
.device-state-badge{background:var(--device-tint);color:var(--device-tone);border:1px solid var(--device-line);font-weight:600}
@media(max-width:1100px){.device-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.device-toolbar{padding:14px}.device-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.device-status-card{min-height:86px;padding:12px}.device-status-card strong{font-size:23px}.device-filter-bar{gap:16px}.device-search{max-width:none}.device-group-filter{flex-basis:100%}.device-group-button{flex:1 1 auto}}
