:root {
    --ink: #17272a;
    --muted: #748185;
    --line: #e3e9e7;
    --surface: #ffffff;
    --canvas: #f6f8f7;
    --green: #7da987;
    --green-dark: #456b55;
    --sidebar: #16282b;
    --sidebar-soft: #22383a;
    --radius: 14px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 256px; background: var(--sidebar); color: #e9f0ec; padding: 27px 14px 18px; display: flex; flex-direction: column; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 9px; padding: 0 14px 32px; font-size: 22px; font-weight: 760; letter-spacing: -.8px; }
.brand-mark { color: #a2c9a5; font-size: 18px; }.brand-dot { color: #a2c9a5; }
.workspace-switcher { display: grid; grid-template-columns: 33px 1fr 14px; align-items: center; gap: 10px; background: var(--sidebar-soft); border: 1px solid rgba(255,255,255,.06); border-radius: 11px; padding: 10px; margin: 0 3px 27px; }
.workspace-avatar, .profile-avatar { display: grid; place-items: center; border-radius: 9px; background: #b1c6aa; color: #24402e; font-size: 11px; font-weight: 800; width: 33px; height: 33px; }
.workspace-switcher strong, .profile strong { display: block; color: #f1f5f1; font-size: 12px; font-weight: 700; white-space: nowrap; }.workspace-switcher small, .profile small { display: block; color: #9eb0aa; font-size: 10px; margin-top: 3px; }.switcher-chevron { color: #9eb0aa; font-size: 17px; align-self: start; }
.main-nav { display: grid; gap: 4px; }.nav-label { color: #6e8882; font-size: 9px; letter-spacing: 1.3px; font-weight: 800; padding: 29px 14px 10px; }
.nav-item { border: 0; background: transparent; color: #a9b9b4; display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; padding: 11px 13px; border-radius: 9px; font-size: 13px; transition: color .15s ease, background-color .15s ease, transform .15s ease; }.nav-item svg { width: 17px; height: 17px; }.nav-item:hover { color: #f3f7f4; background: rgba(255,255,255,.06); }.nav-item:active { transform: scale(.96); }.nav-item.is-active { color: #f6fbf6; background: #2e4945; box-shadow: inset 3px 0 #a2c9a5; }.nav-count { margin-left: auto; border-radius: 99px; background: rgba(255,255,255,.1); color: #bad0c5; font-size: 10px; padding: 2px 7px; }
.sidebar-bottom { margin-top: auto; }.tip-card { margin: 25px 3px 21px; border: 1px solid rgba(164,198,167,.2); border-radius: 11px; padding: 13px; background: linear-gradient(145deg, rgba(141,183,143,.13), rgba(141,183,143,.03)); }.tip-icon { display: grid; place-items: center; color: #a5caa7; width: 27px; height: 27px; border-radius: 8px; background: rgba(164,202,166,.12); margin-bottom: 11px; }.tip-icon svg { width: 15px; }.tip-card strong { font-size: 11px; }.tip-card p { color: #91a9a1; font-size: 10px; line-height: 1.5; margin: 5px 0 0; }.profile { border-top: 1px solid rgba(255,255,255,.08); padding: 15px 7px 0; display: grid; grid-template-columns: 33px 1fr 25px; align-items: center; gap: 10px; }.profile-avatar { background: #e4bfa9; color: #633f36; border-radius: 50%; }.profile-more { color: #7e9790; letter-spacing: 2px; font-size: 12px; }
.main-content { flex: 1; min-width: 0; }.topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.65); }.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 12px; color: #98a29e; }.breadcrumb b { font-weight: 400; color: #c2cbc7; }.breadcrumb strong { color: #4b5e5a; font-weight: 650; }.topbar-actions { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #81908c; }.status-dot { width: 7px; height: 7px; background: #82b38a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(130,179,138,.12); }.avatar-button { border: 0; width: 33px; height: 33px; border-radius: 50%; background: #e8d3c6; color: #724b3f; font-size: 10px; font-weight: 800; margin-left: 15px; }.mobile-menu { display: none; border: 0; color: var(--ink); background: transparent; font-size: 21px; }
.page { padding: 37px 38px 60px; max-width: 1540px; margin: 0 auto; }.page.is-hidden { display: none; }.page-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 31px; }.eyebrow { display: block; color: var(--green-dark); letter-spacing: 1.5px; font-size: 9px; font-weight: 800; margin-bottom: 9px; }.page-heading h1 { margin: 0; color: #162628; font-size: clamp(26px, 3vw, 34px); letter-spacing: -1.2px; line-height: 1.06; text-wrap: balance; }.page-heading p { margin: 9px 0 0; color: var(--muted); font-size: 12px; text-wrap: pretty; }.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; min-height: 40px; padding: 0 15px; border-radius: 9px; font-size: 12px; font-weight: 700; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }.button svg { width: 16px; height: 16px; }.button:active { transform: scale(.96); }.button-primary { color: #fff; background: #5e8b6a; box-shadow: 0 4px 12px rgba(70,110,80,.16); }.button-primary:hover { background: #4e795b; box-shadow: 0 6px 16px rgba(70,110,80,.23); }.button-ghost { color: #63736f; background: transparent; }.button-ghost:hover { background: #eef3f0; }.button-ghost.danger { color: #b15e5b; }.button-ghost.danger:hover { background: #fff1ef; }
.toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }.client-picker { display: flex; align-items: end; gap: 12px; }.picker-label { color: #9ba7a3; letter-spacing: 1.1px; font-size: 9px; font-weight: 800; padding-bottom: 11px; }.select-wrap { position: relative; display: flex; align-items: center; gap: 9px; min-width: 200px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 0 11px; height: 40px; box-shadow: 0 2px 4px rgba(26,48,44,.02); }.select-wrap select { appearance: none; width: 100%; border: 0; outline: 0; color: #3d504d; font-size: 12px; font-weight: 650; background: transparent; cursor: pointer; }.select-wrap:after { content: '⌄'; color: #7f908b; font-size: 16px; pointer-events: none; }.selected-client-avatar { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; background: #ddd1b9; color: #665743; font-size: 9px; font-weight: 800; }.calendar-controls { display: flex; align-items: center; gap: 5px; }.icon-button, .today-button, .view-toggle { height: 36px; border: 1px solid var(--line); background: #fff; color: #76847f; border-radius: 8px; display: inline-grid; place-items: center; }.icon-button { width: 36px; }.icon-button:hover, .today-button:hover, .view-toggle:hover:not(:disabled) { color: var(--green-dark); border-color: #bdd4c0; background: #f7fbf7; }.icon-button svg { width: 17px; }.today-button { padding: 0 13px; font-size: 11px; font-weight: 750; margin: 0 4px; }.divider { width: 1px; height: 24px; background: var(--line); margin: 0 10px; }.view-toggle { border: 0; padding: 0 12px; height: 31px; color: #9ba5a2; background: transparent; font-size: 11px; font-weight: 700; }.view-toggle.active { color: #3d514c; background: #e7efe9; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }.stat-card { display: flex; align-items: center; gap: 12px; min-height: 67px; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 12px 15px; }.stat-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #5d8968; background: #edf5ee; }.stat-icon svg { width: 17px; }.stat-card:nth-child(2) .stat-icon { color: #a88255; background: #f8f2e9; }.stat-card:nth-child(3) .stat-icon { color: #b17874; background: #fbefee; }.stat-card:nth-child(4) .stat-icon { color: #718d95; background: #edf4f5; }.stat-card small { color: #8a9692; display: block; font-size: 10px; margin-bottom: 4px; }.stat-card strong { font-size: 19px; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }.stat-trend { color: #67936e; font-size: 10px; margin-left: auto; align-self: end; padding-bottom: 2px; }
.calendar-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 18px rgba(30,52,48,.035); }.calendar-title-row { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 21px; border-bottom: 1px solid var(--line); }.calendar-title-row h2 { margin: 0; font-size: 17px; letter-spacing: -.4px; }.calendar-hint { color: #a3aeaa; font-size: 10px; }.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }.calendar-weekdays { background: #fafcfa; border-bottom: 1px solid var(--line); }.calendar-weekdays span { text-align: left; padding: 12px 13px; color: #84918d; font-size: 9px; font-weight: 800; letter-spacing: .7px; }.calendar-grid { min-height: 588px; }.day-cell { position: relative; min-height: 137px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px; background: #fff; transition: background-color .15s ease, box-shadow .15s ease; }.day-cell:nth-child(7n) { border-right: 0; }.day-cell:nth-last-child(-n+7) { border-bottom: 0; }.day-cell:hover { background: #fcfefc; box-shadow: inset 0 0 0 1px #c6ddc8; z-index: 1; }.day-cell.is-outside { background: #fafbfa; }.day-cell.is-outside .day-number { color: #b7c0bd; }.day-cell.is-today .day-number { color: #fff; background: #6d9b77; box-shadow: 0 2px 5px rgba(76,122,84,.2); }.day-number { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; color: #4d5d59; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; margin-left: auto; }.day-events { display: grid; gap: 5px; margin-top: 6px; }.event-card { min-width: 0; display: grid; grid-template-columns: 25px 1fr; gap: 7px; align-items: center; border: 1px solid #e7ece8; background: #fafcfa; border-radius: 7px; padding: 5px 6px; text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }.event-card:hover { border-color: #bbd5be; background: #f2f8f3; transform: translateY(-1px); }.event-image, .event-initial { width: 25px; height: 25px; border-radius: 6px; object-fit: cover; }.event-initial { display: grid; place-items: center; color: #5e745f; background: #dfeade; font-size: 8px; font-weight: 800; }.event-copy { min-width: 0; }.event-title { display: block; overflow: hidden; color: #41534e; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.event-format { display: block; overflow: hidden; color: #98a5a0; font-size: 8px; margin-top: 2px; text-overflow: ellipsis; white-space: nowrap; }.more-events { border: 0; color: #5f8969; background: transparent; padding: 2px 3px; font-size: 9px; font-weight: 750; text-align: left; }.more-events:hover { text-decoration: underline; }
.client-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 21px; }.search-field { display: flex; align-items: center; gap: 9px; width: min(340px, 100%); height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #9aa7a2; }.search-field svg { width: 16px; }.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 12px; background: transparent; }.client-summary { color: #8b9893; font-size: 11px; }.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 14px; }.client-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: 0 4px 13px rgba(30,52,48,.025); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }.client-card:hover { transform: translateY(-2px); border-color: #c9dbcd; box-shadow: 0 9px 20px rgba(30,52,48,.07); }.client-card-top { display: flex; justify-content: space-between; gap: 10px; }.client-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; font-size: 12px; font-weight: 800; }.client-actions { display: flex; gap: 2px; }.small-icon-button { border: 0; background: transparent; color: #9aa7a2; width: 29px; height: 29px; border-radius: 7px; display: grid; place-items: center; }.small-icon-button:hover { color: var(--green-dark); background: #eff6ef; }.small-icon-button.danger:hover { color: #b25d59; background: #fff1ef; }.small-icon-button svg { width: 15px; height: 15px; }.client-card h3 { margin: 17px 0 4px; font-size: 15px; letter-spacing: -.2px; }.client-card p { color: #8a9793; margin: 0; font-size: 11px; }.client-card-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #eef1ef; padding-top: 13px; margin-top: 17px; }.client-card-bottom small { color: #95a19d; font-size: 10px; }.client-card-bottom strong { color: #46664f; font-size: 12px; }.empty-state { display: grid; place-items: center; text-align: center; min-height: 260px; background: #fff; border: 1px dashed #d6e1da; border-radius: 12px; padding: 30px; }.empty-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #76a27e; background: #edf5ee; border-radius: 13px; margin-bottom: 13px; }.empty-state h2 { font-size: 17px; margin: 0 0 7px; }.empty-state p { color: var(--muted); font-size: 12px; margin: 0; }.settings-placeholder { margin-top: 30px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(17,35,35,.45); opacity: 0; pointer-events: none; transition: opacity .18s ease; }.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }.modal { width: min(100%, 540px); max-height: min(760px, 92vh); overflow: auto; background: #fff; border-radius: 15px; box-shadow: 0 22px 70px rgba(17,38,35,.22); transform: translateY(8px) scale(.985); transition: transform .18s ease; }.modal-large { width: min(100%, 680px); }.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }.modal-header { display: flex; justify-content: space-between; gap: 20px; padding: 24px 25px 20px; border-bottom: 1px solid var(--line); }.modal-header h2 { margin: 0; font-size: 21px; letter-spacing: -.6px; }.close-button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #f3f6f4; color: #7d8b86; }.close-button:hover { background: #eaf0ec; color: #3b5149; }.close-button svg { width: 17px; }.modal-body { padding: 22px 25px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 13px; }.field { display: grid; gap: 7px; color: #586c66; font-size: 11px; font-weight: 750; }.field em { color: #b57970; font-style: normal; }.field input, .field select, .field textarea { width: 100%; color: #30423e; border: 1px solid #dfe7e2; outline: 0; border-radius: 8px; background: #fbfdfb; padding: 10px 11px; font-size: 12px; font-weight: 500; resize: vertical; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }.field input, .field select { min-height: 39px; }.field input:focus, .field select:focus, .field textarea:focus { border-color: #89b390; background: #fff; box-shadow: 0 0 0 3px rgba(122,169,132,.12); }.field-full { grid-column: 1 / -1; }.upload-box { position: relative; display: grid; place-items: center; min-height: 125px; padding: 18px; border: 1px dashed #c9d9cd; border-radius: 10px; background: #fbfdfb; color: #6f8279; text-align: center; overflow: hidden; }.upload-box:hover, .upload-box.has-image { border-color: #83ad8b; background: #f4faf5; }.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }.upload-icon { display: grid; place-items: center; color: #78a27e; width: 31px; height: 31px; border-radius: 9px; background: #e9f2ea; margin-bottom: 7px; }.upload-icon svg { width: 16px; }.upload-box strong, .upload-box small { display: block; font-size: 11px; pointer-events: none; }.upload-box small { color: #a0aca6; font-size: 9px; margin-top: 4px; }.upload-box img { display: none; max-width: 100%; max-height: 130px; border-radius: 7px; outline: 1px solid rgba(0,0,0,.1); object-fit: cover; }.upload-box.has-image img { display: block; }.upload-box.has-image .upload-icon, .upload-box.has-image strong, .upload-box.has-image small { display: none; }.color-field { display: flex; align-items: center; gap: 9px; height: 39px; }.color-field input { width: 39px; height: 39px; padding: 3px; cursor: pointer; }.color-field span { color: #81908a; font-family: ui-monospace, monospace; font-size: 11px; font-weight: 500; }.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 25px 20px; border-top: 1px solid var(--line); }.footer-actions { display: flex; gap: 8px; margin-left: auto; }.is-hidden { display: none !important; }.day-modal-body { padding-top: 14px; }.day-post-list { display: grid; gap: 9px; }.day-post-item { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfb; cursor: pointer; text-align: left; }.day-post-item:hover { border-color: #bcd5c1; background: #f5faf5; }.day-post-item img, .day-post-item .event-initial { width: 42px; height: 42px; border-radius: 9px; }.day-post-item strong { display: block; color: #314641; font-size: 12px; }.day-post-item small { display: block; color: #98a49f; margin-top: 4px; font-size: 10px; }.day-post-item .arrow { color: #8caf92; }.toast { position: fixed; z-index: 30; right: 25px; bottom: 25px; max-width: min(370px, calc(100vw - 40px)); padding: 12px 15px; border: 1px solid #cfe1d1; border-radius: 9px; color: #42604b; background: #f3faf3; box-shadow: 0 8px 25px rgba(35,69,42,.12); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1050px) { .sidebar { width: 225px; }.page { padding-left: 24px; padding-right: 24px; }.topbar { padding: 0 24px; }.day-cell { min-height: 125px; }.event-card { grid-template-columns: 1fr; }.event-image, .event-initial { display: none; } }
@media (max-width: 760px) { .sidebar { position: fixed; z-index: 15; inset: 0 auto 0 0; transform: translateX(-102%); transition: transform .2s ease; box-shadow: 15px 0 35px rgba(16,36,34,.15); }.sidebar.is-open { transform: translateX(0); }.mobile-menu { display: block; }.topbar { height: 62px; padding: 0 16px; }.saved-label { display: none; }.avatar-button { margin-left: 4px; }.page { padding: 28px 14px 45px; }.page-heading { align-items: start; flex-direction: column; margin-bottom: 24px; }.page-heading .button { width: 100%; }.toolbar { align-items: stretch; flex-direction: column; }.client-picker { align-items: center; justify-content: space-between; }.picker-label { padding: 0; }.select-wrap { flex: 1; }.calendar-controls { justify-content: space-between; }.calendar-controls .divider, .view-toggle { display: none; }.stats-row { grid-template-columns: repeat(2, 1fr); }.stat-card { padding: 10px; }.stat-trend { display: none; }.calendar-card { margin: 0 -1px; }.calendar-title-row { padding: 0 12px; }.calendar-hint { display: none; }.calendar-weekdays span { padding: 10px 4px; font-size: 8px; text-align: center; }.day-cell { min-height: 95px; padding: 5px; }.day-number { width: 21px; height: 21px; font-size: 10px; }.event-card { padding: 4px; border: 0; background: transparent; }.event-card:hover { background: #eff7f0; }.event-title { font-size: 8px; line-height: 1.2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }.event-format { display: none; }.day-events { margin-top: 4px; gap: 2px; }.more-events { font-size: 8px; padding: 1px; }.client-toolbar { align-items: stretch; flex-direction: column; }.search-field { width: 100%; }.form-grid { grid-template-columns: 1fr; }.field-full { grid-column: auto; }.modal-backdrop { padding: 10px; }.modal { max-height: 95vh; }.modal-header, .modal-body, .modal-footer { padding-left: 17px; padding-right: 17px; }.modal-footer { align-items: stretch; flex-direction: column; }.footer-actions { width: 100%; }.footer-actions .button { flex: 1; }.day-post-item { grid-template-columns: 36px 1fr auto; }.day-post-item img, .day-post-item .event-initial { width: 36px; height: 36px; } }
