:root {
    --bg: #0f3937;
    --bg-deep: #0a302f;
    --panel: #f7f7f5;
    --panel-border: #d9dfdd;
    --muted: #b8c5c4;
    --text: #ffffff;
    --ink: #050706;
    --body: #626a70;
    --gold: #bc8c35;
    --gold-soft: #d3b26e;
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.22);
    --teal-pill: #dcebea;
    --teal-text: #00797c;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: linear-gradient(120deg, var(--bg-deep) 0%, var(--bg) 52%, #143f3c 100%);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.hub-shell {
    position: relative;
    min-height: 100vh;
    padding: 23px 48px 16px;
    overflow: hidden;
}

.topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 82px;
}

.brand-mark {
    display: grid;
    width: 82px;
    height: 82px;
    align-items: start;
    justify-items: center;
    margin-left: 31px;
}

.brand-mark img {
    display: block;
    width: 64px;
    height: auto;
}

.user-menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    padding: 0;
    color: #dbe7e5;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.user-menu span:first-child {
    font-size: 14px;
    line-height: 1;
}

.user-menu strong {
    color: #ffffff;
    font-weight: 700;
}

.avatar {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.user-menu svg {
    width: 13px;
    height: 13px;
    color: #9cb7b4;
    stroke-width: 2.4;
}

.hub-content {
    width: min(1022px, calc(100vw - 48px));
    margin: 20px auto 0;
}

.notice-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(977px, 100%);
    height: 40px;
    margin: 0 auto;
    padding: 0 17px;
    color: #c3cecc;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    cursor: pointer;
}

.notice-copy {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.notice-copy svg {
    width: 14px;
    height: 14px;
    color: #9fb5b2;
}

.notice-copy strong {
    color: #aebcba;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.notice-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-bar > svg {
    width: 15px;
    height: 15px;
    color: #a8bbb8;
}

.headline {
    margin: 47px 0 35px;
    text-align: center;
}

.headline h1 {
    margin: 0 0 8px;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
}

.headline p {
    margin: 0;
    color: #c8d1d1;
    font-size: 19px;
    line-height: 1.35;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.app-card {
    position: relative;
    display: flex;
    min-height: 210px;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 24px;
    overflow: visible;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-card:hover,
.app-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(211, 178, 110, 0.55);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
    outline: none;
}

.app-icon {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 19px;
    place-items: center;
    color: #ffffff;
    background: var(--gold);
    border-radius: 11px;
}

.tasks-body {
    color: #111111;
    background: #ffffff;
}

.tasks-body svg {
    stroke-width: 2;
}

.tasks-app {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 319px minmax(0, 1fr);
    background: #ffffff;
    color: #0f1113;
    transition: grid-template-columns 220ms ease;
}

.tasks-app.sidebar-collapsed {
    grid-template-columns: 78px minmax(0, 1fr);
}

.tasks-app.sidebar-collapsed .taskflow-brand span:last-child,
.tasks-app.sidebar-collapsed .back-link,
.tasks-app.sidebar-collapsed .task-nav a span,
.tasks-app.sidebar-collapsed .sidebar-user span:last-child {
    display: none;
}

.tasks-app.sidebar-collapsed .tasks-sidebar {
    align-items: center;
}

.tasks-app.sidebar-collapsed .task-nav a {
    justify-content: center;
    width: 52px;
    padding: 0;
}

.tasks-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    padding: 19px 10px 22px;
    color: #ffffff;
    background: #0b3734;
}

.taskflow-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 10px;
}

.taskflow-brand .app-icon {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
}

.taskflow-brand strong,
.sidebar-user strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
}

.taskflow-brand small,
.sidebar-user small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 40px 12px 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.task-nav {
    margin-top: 41px;
}

.task-nav a {
    display: flex;
    height: 41px;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    color: #ffffff;
    border-radius: 9px;
    font-size: 18px;
    font-weight: 800;
}

.task-nav a.active {
    background: rgba(255, 255, 255, 0.12);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: auto 14px 0;
}

.sidebar-user .avatar {
    width: 41px;
    height: 41px;
    color: #d1962f;
    background: rgba(209, 150, 47, 0.18);
    border: 0;
    font-size: 15px;
}

.sidebar-user strong {
    font-size: 15px;
}

.sidebar-user small {
    color: #ffffff;
    font-size: 14px;
}

.tasks-main {
    min-width: 0;
    background: #ffffff;
}

.tasks-topbar {
    display: flex;
    height: 66px;
    align-items: center;
    padding: 0 31px;
    border-bottom: 1px solid #e6e6e6;
}

.icon-button,
.task-actions button,
.subtask-row > button {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #6f7377;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.icon-button:hover,
.task-actions button:hover,
.subtask-row > button:hover {
    color: #0b3734;
    background: #f2f4f4;
}

.tasks-workspace {
    padding: 30px 28px 42px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 15px;
}

.stat-card {
    display: grid;
    min-height: 98px;
    grid-template-columns: 54px 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 20, 22, 0.05);
    animation: floatIn 520ms ease both;
}

.stat-card:nth-child(2) {
    animation-delay: 70ms;
}

.stat-card:nth-child(3) {
    animation-delay: 140ms;
}

.stat-card:nth-child(4) {
    animation-delay: 210ms;
}

.stat-icon {
    display: grid;
    width: 45px;
    height: 45px;
    grid-row: span 2;
    place-items: center;
    border-radius: 12px;
}

.stat-icon.gold,
.stat-icon.cream {
    color: #d09931;
    background: #faf4ea;
}

.stat-icon.teal {
    color: #0a7678;
    background: #e7f0f0;
}

.stat-icon.gray {
    color: #202428;
    background: #ebebeb;
}

.stat-card strong {
    font-size: 26px;
    line-height: 1;
}

.stat-card span:last-child {
    color: #707070;
    font-size: 15px;
}

.tasks-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 27px;
}

.tasks-heading h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1;
}

.tasks-heading p {
    margin: 0;
    color: #6f7377;
    font-size: 20px;
}

.primary-action,
.submit-action {
    display: inline-flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 27px;
    color: #ffffff;
    background: #cf9637;
    border: 0;
    border-radius: 9px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-action:hover,
.submit-action:hover {
    transform: translateY(-2px);
    background: #bd8430;
    box-shadow: 0 14px 28px rgba(207, 150, 55, 0.28);
}

.attention-card {
    display: flex;
    gap: 12px;
    margin-top: 31px;
    padding: 21px;
    color: #111111;
    background: #fbfbfb;
    border: 1px solid #9c9c9c;
    border-radius: 12px;
}

.attention-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.attention-card p {
    margin: 0;
    font-size: 16px;
}

.date-card {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding: 0 20px 0 65px;
    border: 1px solid #ebebeb;
    border-radius: 13px;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
}

.date-pager,
.date-picker {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-pager button,
.date-picker button,
.filter-tabs button,
.duration-options button,
.time-slots button,
.field-button,
.ghost-action,
.task-meta button {
    border: 1px solid #dddddd;
    background: #ffffff;
    border-radius: 9px;
    cursor: pointer;
}

.date-pager button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #6f7377;
    border-color: transparent;
}

.date-pager button:first-child svg {
    transform: rotate(90deg);
}

.date-pager button:last-child svg {
    transform: rotate(-90deg);
}

.date-pager strong,
.filter-tabs button.active {
    color: #ffffff;
    background: #cf9637;
}

.date-pager strong {
    padding: 9px 18px;
    border-radius: 11px;
}

.date-picker span {
    font-size: 20px;
}

.date-picker button {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    font-size: 16px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.filter-tabs button {
    height: 35px;
    padding: 0 16px;
    color: #5f6468;
    background: #f4f4f4;
    border: 0;
    font-size: 15px;
}

.task-card {
    position: relative;
    display: grid;
    grid-template-columns: 68px 1fr;
    margin-top: 30px;
    overflow: hidden;
    background: #fbfbfb;
    border: 1px solid #eeeeee;
    border-radius: 13px;
    box-shadow: 0 16px 38px rgba(12, 24, 28, 0.07);
}

.task-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #0b7474;
    content: "";
}

.order-controls,
.subtask-move {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 26px;
    color: #c7cbce;
}

.order-controls svg,
.subtask-move svg {
    width: 16px;
    height: 16px;
}

.task-content {
    min-width: 0;
}

.task-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 25px 28px 8px 0;
}

.task-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.complete-dot {
    display: inline-grid;
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    place-items: center;
    color: #0b7474;
    border: 2px solid #0b7474;
    border-radius: 50%;
}

.complete-dot svg {
    width: 14px;
    height: 14px;
}

.task-title-row h2,
.subtask-row p {
    margin: 0;
    color: #777777;
    font-size: 18px;
    text-decoration: line-through;
}

.task-actions {
    display: flex;
    gap: 6px;
}

.task-meta {
    display: flex;
    max-width: 900px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 19px;
    color: #707070;
    font-size: 14px;
}

.task-meta span,
.task-meta button,
.attachment-strip span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.shared-chip {
    padding: 4px 8px;
    color: #111111;
    background: #f1f1f1;
    border-radius: 4px;
    font-weight: 800;
}

.task-meta .shared-chip {
    border: 0;
}

.just-copied {
    box-shadow: 0 0 0 3px rgba(11, 116, 116, 0.16);
}

.participant {
    color: #d18f24;
}

.department-chip {
    padding: 5px 8px;
    color: #ffffff;
    background: #174d4b;
    border-radius: 4px;
    font-size: 13px;
}

.timeline {
    flex-wrap: wrap;
}

.timeline em {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0d7779;
    font-style: normal;
}

.timeline b {
    margin-left: 10px;
    padding: 4px 10px;
    color: #c99830;
    background: #fbf6e8;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.task-meta button {
    padding: 0;
    color: #707070;
    border: 0;
    background: transparent;
}

.task-meta button.shared-chip {
    padding: 4px 8px;
    color: #111111;
    background: #f1f1f1;
}

.inline-note {
    display: inline-flex;
    margin-top: 4px;
    padding: 6px 8px;
    color: #0b3734;
    background: #edf7f5;
    border-radius: 7px;
}

.task-card.is-collapsed .task-meta,
.task-card.is-collapsed .attachment-strip,
.task-card.is-collapsed .subtasks {
    display: none;
}

.attachment-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 28px 18px 0;
}

.attachment-strip span,
.upload-preview span {
    padding: 8px 10px;
    color: #0d7779;
    background: #eef7f6;
    border: 1px solid #d6e8e7;
    border-radius: 8px;
    font-size: 13px;
}

.subtasks {
    margin-left: -68px;
    padding: 17px 22px 10px 86px;
    border-top: 1px solid #e2e2e2;
}

.subtasks h3 {
    margin: 0 0 14px;
    color: #6e6e6e;
    font-size: 16px;
}

.subtask-row {
    display: grid;
    grid-template-columns: 28px 23px minmax(260px, 1fr) auto 34px 34px;
    gap: 11px;
    align-items: flex-start;
    padding: 13px 0;
    color: #747474;
}

.subtask-row p {
    font-size: 15px;
}

.subtask-row small,
.subtask-row button,
.subtask-status {
    color: #777777;
    font-size: 13px;
}

.subtask-row div button {
    display: flex;
    margin-top: 7px;
    padding: 0;
    color: #777777;
    background: transparent;
    border: 0;
}

.subtask-status {
    color: #0d7779;
    white-space: nowrap;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.task-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 21;
    width: min(640px, 100vw);
    height: 100vh;
    overflow-y: auto;
    padding: 28px 24px;
    color: #0f1113;
    background: #ffffff;
    box-shadow: -28px 0 60px rgba(10, 20, 22, 0.24);
    transform: translateX(102%);
    transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
}

.task-drawer.is-open {
    transform: translateX(0);
}

.drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.task-drawer header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.task-drawer h2 {
    margin: 0;
    font-size: 24px;
}

.task-form {
    display: grid;
    gap: 22px;
    margin-top: 18px;
}

.task-form label,
.task-form fieldset {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 19px;
    font-weight: 500;
}

.task-form input,
.task-form textarea,
.task-form select,
.field-button {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    color: #151515;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 9px;
    font-size: 18px;
}

.task-form input:focus,
.task-form textarea:focus,
.task-form select:focus {
    border-color: #cf9637;
    box-shadow: 0 0 0 3px rgba(207, 150, 55, 0.24);
    outline: none;
}

.task-form textarea {
    min-height: 100px;
    padding-top: 12px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field-button {
    display: flex;
    align-items: center;
    gap: 14px;
}

.duration-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.duration-options button {
    min-height: 43px;
    font-size: 15px;
}

.duration-options button.active,
.time-slots button.active,
.time-slots button:hover {
    color: #ffffff;
    background: #cf9637;
    border-color: #cf9637;
}

.slots-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111111;
}

.slots-head span {
    color: #777777;
    font-size: 13px;
}

.time-slots {
    display: grid;
    max-height: 280px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #e1e1e1;
    border-radius: 11px;
}

.time-slots button {
    min-height: 38px;
    font-size: 15px;
}

.assignee-box label {
    display: flex;
    min-height: 60px;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid #dddddd;
    border-radius: 10px;
}

.assignee-box input {
    width: 20px;
    min-height: 20px;
}

.assignee-box span {
    color: #cf9637;
    font-size: 16px;
}

.file-input {
    padding-top: 13px;
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ghost-action {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    font-size: 18px;
    font-weight: 800;
}

.submit-action {
    width: 100%;
    background: #e8cf9d;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}

.app-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.2;
}

.notification {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 25px;
    height: 20px;
    place-items: center;
    padding: 0 6px;
    color: #ffffff;
    background: #1c2527;
    border: 2px solid var(--panel);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.app-title {
    display: block;
    margin-bottom: 7px;
    color: #000000;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.app-description {
    display: block;
    max-width: 275px;
    color: var(--body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.admin-section {
    margin-top: 48px;
}

.admin-section h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
}

.admin-section h2 svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.admin-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-link {
    display: inline-flex;
    min-width: 178px;
    height: 47px;
    align-items: center;
    gap: 11px;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.73);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    transition: background 160ms ease, border-color 160ms ease;
}

.admin-link:hover,
.admin-link:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.32);
    outline: none;
}

.admin-link svg {
    width: 18px;
    height: 18px;
    color: #d7e0df;
}

.admin-link strong {
    display: grid;
    min-width: 29px;
    height: 20px;
    margin-left: auto;
    place-items: center;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.66);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 980px) {
    .hub-shell {
        padding: 22px 24px 28px;
    }

    .hub-content {
        width: 100%;
    }

    .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tasks-app {
        grid-template-columns: 1fr;
    }

    .tasks-sidebar {
        position: relative;
        height: auto;
        min-height: 0;
    }

    .task-nav,
    .back-link {
        margin-top: 20px;
    }

    .sidebar-user {
        margin-top: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subtask-row {
        grid-template-columns: 23px minmax(0, 1fr) 34px 34px;
    }

    .subtask-move,
    .subtask-status {
        display: none;
    }
}

@media (max-width: 680px) {
    .hub-shell {
        padding: 18px 16px 28px;
    }

    .topbar {
        min-height: 66px;
    }

    .brand-mark {
        width: 58px;
        height: 58px;
        margin-left: 0;
    }

    .brand-mark img {
        width: 44px;
    }

    .user-menu span:first-child {
        display: none;
    }

    .notice-bar {
        height: auto;
        min-height: 44px;
        align-items: flex-start;
        padding: 11px 13px;
    }

    .notice-copy {
        align-items: flex-start;
        white-space: normal;
    }

    .notice-copy span {
        display: none;
    }

    .headline {
        margin: 38px 0 28px;
    }

    .headline h1 {
        font-size: 34px;
    }

    .headline p {
        font-size: 17px;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        min-height: 190px;
    }

    .admin-section {
        margin-top: 36px;
    }

    .admin-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-link {
        width: 100%;
    }

    .tasks-workspace {
        padding: 22px 16px 34px;
    }

    .stats-grid,
    .form-grid,
    .time-slots {
        grid-template-columns: 1fr;
    }

    .tasks-heading,
    .date-card {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .date-card {
        padding: 18px;
    }

    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .task-card {
        grid-template-columns: 1fr;
        padding-left: 8px;
    }

    .order-controls {
        display: none;
    }

    .task-card-head {
        flex-direction: column;
        gap: 14px;
        padding-right: 16px;
    }

    .subtasks {
        margin-left: -8px;
        padding-left: 18px;
    }

    .subtask-row {
        grid-template-columns: 23px minmax(0, 1fr);
    }

    .subtask-row > button {
        display: none;
    }

    .task-drawer {
        padding: 24px 18px;
    }

    .duration-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
