@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #080d18;
    --surface: #101827;
    --surface2: #141f31;
    --line: #202d41;
    --text: #eef4ff;
    --muted: #8492a8;
    --blue: #4e8dff;
    --blue2: #2563eb;
    --green: #35c99a;
    --orange: #f4a64e;
    --purple: #a78bfa;
    --red: #f07882;
    --radius: 17px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

.app-shell {
    min-height: 100vh
}

.sidebar {
    width: 248px;
    position: fixed;
    inset: 0 auto 0 0;
    background: #0b1220;
    border-right: 1px solid var(--line);
    padding: 27px 17px 18px;
    display: flex;
    flex-direction: column;
    z-index: 20
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #f4f7ff;
    text-decoration: none;
    font: 800 25px Manrope, sans-serif;
    letter-spacing: -1.3px;
    padding: 0 12px 43px
}

.brand-dot {
    color: var(--blue)
}

.brand-mark {
    width: 27px;
    height: 27px;
    border: 2px solid var(--blue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transform: rotate(-8deg)
}

.brand-mark span {
    display: block;
    width: 3px;
    border-radius: 3px;
    background: #6ca4ff
}

.brand-mark span:nth-child(1) {
    height: 8px
}

.brand-mark span:nth-child(2) {
    height: 15px
}

.brand-mark span:nth-child(3) {
    height: 11px
}

.workspace-label,
.eyebrow {
    font-size: 10px;
    letter-spacing: 1.45px;
    color: #71829c;
    font-weight: 700
}

.workspace-label {
    padding: 0 13px 13px
}

.main-nav {
    display: grid;
    gap: 5px
}

.nav-item {
    border: 0;
    background: transparent;
    color: #9aa9bf;
    text-align: left;
    padding: 12px 13px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: .2s
}

.nav-item:hover {
    background: #141f31;
    color: #fff
}

.nav-item.active {
    background: linear-gradient(100deg, #18345e, #152b4b);
    color: #eaf2ff;
    box-shadow: inset 2px 0 var(--blue)
}

.nav-icon {
    width: 19px;
    text-align: center;
    font-size: 17px;
    color: #8ca6ce
}

.nav-count {
    margin-left: auto;
    background: #233957;
    color: #9fc2ff;
    padding: 2px 7px;
    border-radius: 20px;
    font-size: 10px
}

.sidebar-bottom {
    margin-top: auto
}

.focus-card {
    padding: 16px;
    background: linear-gradient(145deg, #132847, #101c30);
    border: 1px solid #233b5d;
    border-radius: 14px;
    margin: 0 3px 17px
}

.focus-icon {
    color: #76aaff;
    font-size: 18px;
    margin-bottom: 8px
}

.focus-card strong {
    font: 700 12px Manrope
}

.focus-card p {
    color: #8fa1bb;
    font-size: 11px;
    line-height: 1.5;
    margin: 6px 0 0
}

.profile {
    border-top: 1px solid var(--line);
    padding: 17px 5px 0;
    display: flex;
    align-items: center;
    gap: 10px
}

.avatar {
    width: 34px;
    height: 34px;
    background: #203d66;
    border: 1px solid #315b91;
    color: #c6ddff;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 11px
}

.profile strong,
.profile small {
    display: block
}

.profile strong {
    font-size: 12px
}

.profile small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px
}

.profile-dots {
    margin-left: auto;
    color: #7f8ea5;
    letter-spacing: 2px
}

.main-content {
    margin-left: 248px;
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.topbar {
    height: 72px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    background: rgba(8, 13, 24, .84);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(15px)
}

.breadcrumb {
    color: #75849a;
    font-size: 12px
}

.breadcrumb span {
    padding: 0 9px;
    color: #42516a
}

.breadcrumb strong {
    color: #dce7f8;
    font-weight: 600
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 15px
}

.today-chip {
    color: #aab8cc;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 8px
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px #35c99a88
}

.icon-button {
    border: 1px solid var(--line);
    background: #121d2d;
    color: #b8c8df;
    border-radius: 9px;
    width: 34px;
    height: 34px;
    font-size: 19px;
    display: grid;
    place-items: center;
    transition: .2s
}

.icon-button:hover {
    border-color: #4679bf;
    color: #fff
}

.page-wrap {
    width: min(1420px, 100%);
    padding: 38px 42px 55px;
    margin: 0 auto;
    flex: 1
}

.view {
    display: none;
    animation: fade .25s ease
}

.view.active {
    display: block
}

@keyframes fade {
    from {
        opacity: .5;
        transform: translateY(4px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.welcome-row,
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 27px
}

.welcome-row h1,
.page-heading h1 {
    font: 800 30px Manrope, sans-serif;
    letter-spacing: -1.2px;
    margin: 8px 0 7px
}

.welcome-row h1 span {
    color: #72a5ff;
    font-size: 22px
}

.muted {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
    font-size: 12px
}

.primary-button,
.secondary-button,
.today-button {
    border-radius: 9px;
    padding: 11px 15px;
    font-weight: 700;
    font-size: 12px;
    transition: .2s
}

.primary-button {
    background: linear-gradient(110deg, #3678ed, #4c91ff);
    border: 1px solid #5594ff;
    color: white;
    box-shadow: 0 5px 17px #2563eb25
}

.primary-button:hover {
    filter: brightness(1.12);
    transform: translateY(-1px)
}

.secondary-button,
.today-button {
    background: #172337;
    color: #c6d5e9;
    border: 1px solid #2b3a51
}

.secondary-button:hover,
.today-button:hover {
    border-color: #527db5
}

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

.stat-card,
.panel {
    background: linear-gradient(145deg, #111c2c, #0f1928);
    border: 1px solid var(--line);
    border-radius: var(--radius)
}

.stat-card {
    padding: 18px 19px;
    min-height: 126px
}

.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9eacc0;
    font-size: 11px
}

.stat-icon {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 15px
}

.stat-icon.blue {
    background: #1b3760;
    color: #78adff
}

.stat-icon.green {
    background: #123a35;
    color: #4ed7ac
}

.stat-icon.orange {
    background: #49321e;
    color: #f5b566
}

.stat-icon.purple {
    background: #32294f;
    color: #b9a2ff
}

.stat-card>strong {
    display: block;
    font: 800 27px Manrope;
    margin: 9px 0 2px;
    letter-spacing: -1px
}

.stat-card small {
    color: #77869c;
    font-size: 10px
}

.accent {
    color: #67a2ff
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.panel {
    padding: 20px;
    min-width: 0
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 19px
}

.panel h2 {
    font: 700 14px Manrope;
    margin: 0 0 5px
}

.panel-heading .muted {
    font-size: 10px
}

.subtle-pill {
    font-size: 9px;
    letter-spacing: 1px;
    color: #8cb9ff;
    background: #1a3152;
    border: 1px solid #284b79;
    border-radius: 20px;
    padding: 5px 8px
}

.progress-panel {
    min-height: 225px
}

.progress-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 2px 12px 0
}

.progress-ring {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--blue) 0deg, #243248 0deg);
    position: relative;
    flex: none
}

.progress-ring:before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: #111c2c
}

.progress-ring>div {
    position: relative;
    text-align: center
}

.progress-ring strong {
    font: 800 25px Manrope;
    display: block
}

.progress-ring small {
    color: #7f8ea5;
    font-size: 10px
}

.progress-details {
    flex: 1;
    min-width: 0
}

.legend-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #202c3e;
    color: #a9b6c8;
    font-size: 11px
}

.legend-row strong {
    color: #e6eefb
}

.legend-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 7px
}

.blue-dot {
    background: var(--blue)
}

.gray-dot {
    background: #52627a
}

.purple-dot {
    background: var(--purple)
}

.progress-note {
    font-size: 10px;
    color: #71839d;
    line-height: 1.5;
    margin-top: 12px
}

.text-button {
    border: 0;
    background: transparent;
    color: #78aaff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px
}

.text-button:hover {
    color: #b4d0ff
}

.compact-list {
    display: grid;
    gap: 11px
}

.upcoming-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1e2a3b
}

.upcoming-item:last-child {
    border: 0;
    padding-bottom: 0
}

.time-block {
    width: 47px;
    color: #8fb7f6;
    font: 700 11px Manrope
}

.upcoming-copy {
    min-width: 0;
    flex: 1
}

.upcoming-copy strong {
    display: block;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.upcoming-copy small {
    color: #75869e;
    font-size: 10px
}

.empty-state {
    padding: 20px 10px;
    text-align: center;
    color: #7889a1;
    font-size: 11px;
    border: 1px dashed #2a3b53;
    border-radius: 11px
}

.task-list {
    display: grid;
    gap: 10px
}

.mini-task {
    display: flex;
    align-items: center;
    gap: 10px
}

.check-button {
    width: 17px;
    height: 17px;
    border-radius: 6px;
    border: 1px solid #4b6382;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 10px;
    flex: none
}

.check-button.checked {
    background: #2874df;
    border-color: #2874df
}

.mini-task-copy {
    min-width: 0;
    flex: 1
}

.mini-task-copy strong {
    display: block;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.mini-task-copy small {
    color: #7e8da3;
    font-size: 9px
}

.priority-tag {
    font-size: 9px;
    padding: 4px 7px;
    border-radius: 6px
}

.priority-tag.alta {
    color: #ff9ca5;
    background: #482832
}

.priority-tag.média {
    color: #ffc77f;
    background: #45331f
}

.priority-tag.baixa {
    color: #7ddab9;
    background: #173a35
}

.week-chart {
    height: 130px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    padding: 5px 7px 0
}

.week-day {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 7px
}

.week-bar-track {
    height: 88px;
    width: 100%;
    max-width: 26px;
    background: #1a293d;
    border-radius: 7px;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.week-bar {
    width: 100%;
    background: linear-gradient(0deg, #2764c8, #69a6ff);
    border-radius: 7px 7px 2px 2px;
    min-height: 3px;
    transition: height .3s
}

.week-day small {
    font-size: 9px;
    color: #8191a8
}

.footer {
    border-top: 1px solid var(--line);
    padding: 17px 42px;
    display: flex;
    justify-content: space-between;
    color: #607089;
    font-size: 9px;
    letter-spacing: .5px
}

.footer b {
    color: #4b8dff;
    padding: 0 5px
}

.mobile-menu {
    display: none
}

.toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #111c2c;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 0 12px;
    min-width: 210px;
    flex: 1;
    color: #8196b4
}

.search-wrap input {
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--text);
    padding: 10px 0;
    width: 100%;
    font-size: 11px
}

.toolbar select,
.modal-fields select,
.modal-fields input,
.modal-fields textarea {
    background: #111c2c;
    border: 1px solid #29384e;
    border-radius: 9px;
    color: #c5d3e6;
    padding: 10px 12px;
    outline: none;
    font-size: 11px
}

.toolbar select:focus,
.modal-fields input:focus,
.modal-fields textarea:focus,
.modal-fields select:focus {
    border-color: #4c85d9
}

.task-summary {
    color: #8191a8;
    font-size: 10px;
    margin-bottom: 10px
}

.task-table-panel {
    padding: 0;
    overflow: hidden
}

.task-table-head,
.task-row {
    display: grid;
    grid-template-columns: minmax(180px, 2fr) 1fr .9fr .8fr 1fr 58px;
    align-items: center;
    gap: 10px;
    padding: 13px 18px
}

.task-table-head {
    background: #131f31;
    color: #6f819a;
    font-size: 9px;
    letter-spacing: .9px;
    font-weight: 700
}

.task-row {
    border-top: 1px solid #202d40;
    font-size: 10px;
    color: #b7c5d8
}

.task-row:hover {
    background: #142033
}

.task-name {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0
}

.task-name strong {
    display: block;
    color: #e4edfa;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.task-name small {
    display: block;
    color: #788ba4;
    font-size: 9px;
    margin-top: 3px
}

.category-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a7b5c8
}

.category-swatch {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block
}

.status-select {
    background: #172337;
    border: 1px solid #2c3c54;
    border-radius: 7px;
    color: #b7c8df;
    padding: 6px 7px;
    font-size: 9px;
    max-width: 115px
}

.row-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end
}

.small-action {
    background: transparent;
    border: 0;
    color: #7d91ad;
    padding: 5px
}

.small-action:hover {
    color: #fff
}

.planner-date {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 17px;
    margin-bottom: 15px
}

.planner-date>div {
    flex: 1
}

.planner-date strong,
.planner-date small {
    display: block
}

.planner-date strong {
    font: 700 13px Manrope
}

.planner-date small {
    color: #7f90a8;
    font-size: 10px;
    margin-top: 4px
}

.agenda-panel {
    padding: 7px 20px
}

.agenda-section {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 15px;
    padding: 19px 0;
    border-bottom: 1px solid #202d40
}

.agenda-section:last-child {
    border: 0
}

.agenda-label {
    color: #8da2c0;
    font: 700 11px Manrope;
    padding-top: 2px
}

.agenda-label small {
    display: block;
    color: #62738d;
    font: 400 9px 'DM Sans';
    margin-top: 5px
}

.agenda-items {
    display: grid;
    gap: 8px
}

.agenda-event {
    border-left: 2px solid var(--blue);
    background: #14243a;
    border-radius: 0 9px 9px 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px
}

.agenda-event.purple {
    border-color: var(--purple)
}

.agenda-event strong {
    font-size: 11px
}

.agenda-event small {
    display: block;
    color: #8294ad;
    font-size: 9px;
    margin-top: 3px
}

.agenda-event .event-time {
    margin-left: auto;
    color: #9bbef0;
    font-size: 10px
}

.calendar-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px
}

.calendar-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px
}

.calendar-toolbar h2 {
    flex: 1;
    text-align: center;
    font: 700 15px Manrope;
    margin: 0
}

.calendar-toolbar .today-button {
    padding: 8px 11px;
    font-size: 10px
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px
}

.calendar-weekday {
    text-align: center;
    color: #71839c;
    font-size: 9px;
    font-weight: 700;
    padding: 7px 0
}

.calendar-day {
    border: 1px solid transparent;
    background: #131f30;
    border-radius: 9px;
    min-height: 67px;
    padding: 8px;
    text-align: left;
    color: #c7d5e8;
    position: relative
}

.calendar-day:hover {
    border-color: #3a5d8d
}

.calendar-day.muted-day {
    opacity: .35
}

.calendar-day.today {
    border-color: #4c8df2;
    background: #172b48
}

.calendar-day.selected {
    box-shadow: inset 0 0 0 1px #80b1ff;
    background: #1b3456
}

.day-number {
    font-size: 10px
}

.day-dots {
    display: flex;
    gap: 3px;
    margin-top: 9px
}

.day-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue)
}

.day-dots i.event-dot {
    background: var(--purple)
}

.calendar-legend {
    display: flex;
    gap: 18px;
    margin-top: 17px;
    color: #8596ad;
    font-size: 10px
}

.selected-day-panel {
    min-height: 300px
}

.selected-day-panel .compact-list {
    margin-top: 17px
}

.category-grid,
.goal-grid,
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.category-card,
.goal-card,
.note-card {
    background: linear-gradient(145deg, #111d2e, #101827);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 19px;
    min-height: 150px
}

.category-card-top,
.goal-card-top,
.note-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.category-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 17px
}

.category-card h3,
.goal-card h3,
.note-card h3 {
    font: 700 13px Manrope;
    margin: 14px 0 5px
}

.category-card p,
.goal-card p,
.note-card p {
    color: #8090a7;
    font-size: 10px;
    line-height: 1.5;
    margin: 0
}

.category-card small {
    display: block;
    color: #a0b0c5;
    font-size: 10px;
    margin-top: 13px
}

.goal-card {
    min-height: 180px
}

.goal-card p {
    min-height: 32px
}

.goal-meta {
    display: flex;
    justify-content: space-between;
    color: #8193ad;
    font-size: 9px;
    margin: 17px 0 7px
}

.goal-meta strong {
    color: #a9caff
}

.goal-track {
    height: 6px;
    background: #24334a;
    border-radius: 9px;
    overflow: hidden
}

.goal-fill {
    height: 100%;
    background: linear-gradient(90deg, #3475db, #6aa7ff);
    border-radius: 9px
}

.note-card {
    min-height: 155px;
    position: relative
}

.note-card p {
    white-space: pre-wrap;
    max-height: 65px;
    overflow: hidden
}

.note-date {
    color: #63748e;
    font-size: 9px;
    margin-top: 16px
}

.reports-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px
}

.report-bars {
    height: 190px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 15px;
    padding: 10px
}

.report-bar-col {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px
}

.report-bar-col strong {
    font-size: 10px;
    color: #b9c9df
}

.report-bar-track {
    height: 125px;
    width: 100%;
    max-width: 35px;
    background: #1c2b40;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.report-bar-fill {
    width: 100%;
    background: linear-gradient(0deg, #2764c8, #70adff);
    border-radius: 8px 8px 2px 2px
}

.report-bar-col small {
    font-size: 9px;
    color: #8192aa
}

.category-report {
    display: grid;
    gap: 14px
}

.cat-report-row {
    display: grid;
    grid-template-columns: 95px 1fr 25px;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    color: #a7b7ca
}

.cat-report-track {
    height: 6px;
    background: #26364c;
    border-radius: 9px;
    overflow: hidden
}

.cat-report-fill {
    height: 100%;
    border-radius: 9px
}

.cat-report-row strong {
    text-align: right;
    color: #c7d6e9
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: #030711c9;
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 50
}

.modal-backdrop.open {
    display: flex
}

.modal {
    width: min(510px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #101a2a;
    border: 1px solid #2c3d56;
    border-radius: 18px;
    padding: 23px;
    box-shadow: 0 25px 80px #0009;
    animation: fade .2s
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 21px
}

.modal-header h2 {
    font: 800 20px Manrope;
    margin: 7px 0 0
}

.modal-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: 10px;
    color: #98a9c0;
    font-weight: 600
}

.field input,
.field select,
.field textarea {
    width: 100%
}

.field textarea {
    min-height: 75px;
    resize: vertical
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 22px
}

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #1a2b42;
    border: 1px solid #35557e;
    color: #d9e8ff;
    border-radius: 10px;
    padding: 12px 17px;
    font-size: 11px;
    box-shadow: 0 10px 30px #0006;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: .25s;
    z-index: 80
}

.toast.show {
    opacity: 1;
    transform: none
}

@media(max-width:1100px) {
    .sidebar {
        width: 220px
    }

    .main-content {
        margin-left: 220px
    }

    .page-wrap {
        padding: 30px 25px
    }

    .topbar {
        padding: 0 25px
    }

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

    .category-grid,
    .goal-grid,
    .notes-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    .sidebar {
        transform: translateX(-100%);
        transition: .25s;
        width: 255px;
        box-shadow: 20px 0 50px #0008
    }

    .sidebar.open {
        transform: translateX(0)
    }

    .main-content {
        margin-left: 0
    }

    .mobile-menu {
        display: grid
    }

    .topbar {
        height: 62px;
        padding: 0 16px;
        gap: 12px
    }

    .breadcrumb {
        flex: 1
    }

    .today-chip {
        display: none
    }

    .page-wrap {
        padding: 27px 16px 40px
    }

    .welcome-row,
    .page-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .welcome-row h1,
    .page-heading h1 {
        font-size: 26px
    }

    .welcome-row .primary-button,
    .page-heading .primary-button {
        align-self: flex-start
    }

    .dashboard-grid,
    .calendar-layout,
    .reports-grid {
        grid-template-columns: 1fr
    }

    .progress-content {
        gap: 18px;
        padding: 0
    }

    .progress-ring {
        width: 112px;
        height: 112px
    }

    .task-table-head {
        display: none
    }

    .task-row {
        grid-template-columns: 1fr auto;
        gap: 8px;
        padding: 13px
    }

    .task-row>*:nth-child(2),
    .task-row>*:nth-child(3),
    .task-row>*:nth-child(4) {
        display: none
    }

    .task-row .row-actions {
        grid-column: 2;
        grid-row: 1
    }

    .task-row .task-name {
        grid-column: 1;
        grid-row: 1
    }

    .task-row .status-select {
        grid-column: 1;
        grid-row: 2
    }

    .toolbar>* {
        flex: 1;
        min-width: 0
    }

    .toolbar .search-wrap {
        flex-basis: 100%
    }

    .category-grid,
    .goal-grid,
    .notes-grid {
        grid-template-columns: 1fr 1fr
    }

    .agenda-section {
        grid-template-columns: 75px 1fr
    }

    .footer {
        padding: 15px 17px;
        gap: 10px;
        flex-direction: column
    }

    .calendar-day {
        min-height: 51px;
        padding: 5px
    }

    .day-dots {
        margin-top: 6px
    }

    .calendar-panel,
    .selected-day-panel {
        padding: 14px
    }

    .calendar-toolbar {
        gap: 5px
    }

    .calendar-toolbar h2 {
        font-size: 12px
    }

    .calendar-toolbar .today-button {
        padding: 7px
    }

    .modal-fields {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }
}

@media(max-width:420px) {
    .stats-grid {
        gap: 9px
    }

    .stat-card {
        padding: 14px;
        min-height: 116px
    }

    .stat-card>strong {
        font-size: 23px
    }

    .category-grid,
    .goal-grid,
    .notes-grid {
        grid-template-columns: 1fr
    }

    .progress-content {
        gap: 12px
    }

    .progress-ring {
        width: 98px;
        height: 98px
    }

    .progress-ring strong {
        font-size: 21px
    }

    .calendar-day {
        min-height: 43px
    }

    .calendar-weekday {
        font-size: 8px
    }
}