*{box-sizing:border-box}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#fff;background:#050505}html,body,#root{margin:0;min-height:100%}body{background:radial-gradient(circle at top left,rgba(255,193,7,.08),transparent 30%),#050505;color:#fff}button,input,textarea,select{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{border-right:1px solid rgba(255,255,255,.08);padding:24px 16px;display:flex;flex-direction:column;justify-content:space-between;background:#000000bf;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.brand{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding:6px 8px}.brand-badge{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-weight:800;background:#f4bf24;color:#111}.brand-title{font-size:1.25rem;font-weight:700}.brand-subtitle{color:#7f7f86;font-size:.9rem}.nav{display:grid;gap:8px}.nav-item{display:flex;gap:12px;align-items:center;text-decoration:none;color:#a6a6ad;padding:14px 16px;border-radius:16px;transition:.18s ease}.nav-item:hover{background:#ffffff0d;color:#fff}.nav-item.active{background:#f4bf2424;color:#f4bf24;box-shadow:inset 0 0 0 1px #f4bf242e}.version-card{border:1px solid rgba(255,255,255,.08);background:#ffffff08;padding:18px;border-radius:18px;color:#b1b1b8}.version-card small{color:#6d6d75}.main-content{padding:28px}.page-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:24px}.page-header h1{margin:0;font-size:2.4rem;line-height:1}.page-header p{margin:8px 0 0;color:#8a8a93}.grid{display:grid;gap:16px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.grid.two{grid-template-columns:1.2fr 1fr}.grid.two-equal{grid-template-columns:1fr 1fr}.calendar-layout{grid-template-columns:1.4fr .6fr}.card{background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:22px}.stat-card{min-height:130px}.stat-card.accent{background:#f4bf241a;border-color:#f4bf2438}.stat-value{margin-top:14px;font-size:2.2rem;font-weight:800}.muted{color:#8a8a93}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-header.simple{margin-bottom:8px}.section-header h2,.section-header h3{margin:0;font-size:1.3rem}.section-header p{margin:6px 0 0;color:#8a8a93}.sub-card{margin-top:16px;border-radius:18px;padding:16px;background:#00000047;border:1px solid rgba(255,255,255,.06)}.sub-card.green .money{color:#34d399;margin-top:8px;font-size:1.7rem;font-weight:700}.list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-radius:18px;background:#ffffff08;border:1px solid rgba(255,255,255,.06)}.row-wrap{flex-wrap:wrap}.stack{display:grid;gap:12px;margin-top:16px}.pill,.day-pill,.section-label{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:.8rem;font-weight:600}.pill,.day-pill,.section-label{background:#f4bf2429;color:#f4bf24}.section-label{margin-bottom:14px}.input{width:100%;padding:14px 16px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:#090909;color:#fff;outline:none}.input:focus{border-color:#f4bf2473}.textarea{resize:vertical;min-height:110px}.actions{display:flex;gap:8px;flex-wrap:wrap}.primary-btn,.ghost-btn,.danger-btn,.ghost-icon{border:0;border-radius:16px;padding:12px 16px;cursor:pointer;transition:transform .12s ease,opacity .12s ease,background .12s ease}.primary-btn{display:inline-flex;align-items:center;gap:8px;background:#f4bf24;color:#111;font-weight:700}.ghost-btn,.ghost-icon{background:#ffffff0a;color:#fff;border:1px solid rgba(255,255,255,.08)}.danger-btn{background:#ef44441a;color:#f87171;border:1px solid rgba(239,68,68,.22)}.primary-btn:hover,.ghost-btn:hover,.danger-btn:hover,.ghost-icon:hover{opacity:.95;transform:translateY(-1px)}.appointment-card{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.appointment-time{font-size:1.8rem;font-weight:800}.appointment-time span{font-size:1rem;font-weight:500;color:#8a8a93}.appointment-name{margin-top:14px;font-size:1.2rem;font-weight:700}.appointment-note{margin:8px 0}.calendar-top{display:flex;align-items:center;justify-content:space-between}.calendar-top h2{margin:0}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin:16px 0 10px;color:#8a8a93;text-align:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.day{min-height:88px;border-radius:18px;padding:10px;background:#ffffff05;border:1px solid rgba(255,255,255,.06)}.day.selected{background:#f4bf241a;border-color:#f4bf243d}.day-number{width:32px;height:32px;display:grid;place-items:center;border-radius:999px;font-weight:700}.day.selected .day-number{background:#f4bf24;color:#111}.day-pill{margin-top:12px}.center-card{display:grid;place-items:center;min-height:300px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:grid;place-items:center;padding:20px;z-index:1000}.modal-card{width:min(760px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#050505;border:1px solid rgba(255,255,255,.1);border-radius:28px;padding:24px;box-shadow:0 20px 60px #00000073}.modal-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.modal-header h2{margin:0;font-size:2rem}.modal-header p{margin:8px 0 0;color:#8a8a93}.modal-form{display:grid;gap:16px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.checkbox-row{display:inline-flex;align-items:center;gap:10px;color:#fff}.field-label{display:block;margin-bottom:8px;font-size:.95rem;color:#fff}.field-error{margin-top:8px;color:#f87171;font-size:.9rem}@media (max-width: 1024px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid rgba(255,255,255,.08);gap:20px}.grid.three,.grid.two,.grid.two-equal,.calendar-layout{grid-template-columns:1fr}}@media (max-width: 720px){.page-header{flex-direction:column}.appointment-card,.list-item{flex-direction:column;align-items:flex-start}.calendar-grid,.calendar-weekdays{gap:6px}.day{min-height:70px}.modal-card{padding:18px}.modal-header h2{font-size:1.6rem}}.capitalize{text-transform:capitalize}.full-width{width:100%;justify-content:center;margin-bottom:16px}.detail-panel{align-self:start}.day.interactive{cursor:pointer;text-align:left}.day.empty{background:transparent;border:0;min-height:88px}.day-events{margin-top:10px;display:grid;gap:6px}.more-events{color:#8a8a93;font-size:.78rem}.empty-state{display:grid;place-items:center;min-height:180px;border-radius:18px;border:1px dashed rgba(255,255,255,.1);background:#ffffff05}@media (max-width: 720px){.day.empty{min-height:70px}}.card-kind-appointment{border-color:#f4bf242e}.card-kind-meeting{border-color:#60a5fa38}.kind-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:700;margin-bottom:10px}.kind-badge.appointment{background:#f4bf2429;color:#f4bf24}.kind-badge.meeting{background:#60a5fa29;color:#93c5fd}.entry-kind-row{display:flex;align-items:center}.day-pill.appointment{background:#f4bf2429;color:#f4bf24}.day-pill.meeting{background:#60a5fa29;color:#93c5fd}.time-range-detail{margin:10px 0 6px;font-size:1rem;font-weight:700;color:#fff}.top-name{margin-top:2px;margin-bottom:8px}.detail-customer-name{margin-top:2px;margin-bottom:8px;font-size:1rem;font-weight:700;color:#fff}.dashboard-top{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.mini-stat-card .stat-value.small{font-size:2rem}.dashboard-next-name{font-size:1.05rem;font-weight:700;color:#fff}.dashboard-next-time{margin-top:4px;color:#a1a1aa}.empty-state.compact{min-height:120px}@media (max-width: 1024px){.dashboard-top{grid-template-columns:1fr}}.customer-name{font-size:1.05rem;font-weight:700;color:#fff}.customer-notes{margin-top:8px;max-width:420px}.customer-stats{min-width:180px}.dashboard-next-deposit{margin-top:6px;color:#34d399;font-size:.95rem;font-weight:600}.customer-search-stack{display:grid;gap:10px}.quick-time-row{display:grid;gap:10px;margin-top:-4px}.quick-time-label{color:#8a8a93;font-size:.92rem}.quick-time-buttons{display:flex;gap:8px;flex-wrap:wrap}.quick-time-btn{border:1px solid rgba(255,255,255,.08);background:#ffffff0a;color:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;transition:.12s ease}.quick-time-btn:hover{transform:translateY(-1px);border-color:#f4bf243d;color:#f4bf24}.customer-dropdown{position:relative}.customer-dropdown-menu{position:absolute;left:0;right:0;top:calc(100% + 8px);max-height:240px;overflow:auto;border:1px solid rgba(255,255,255,.08);background:#0a0a0a;border-radius:16px;padding:8px;z-index:20;box-shadow:0 18px 40px #00000059}.customer-dropdown-item{width:100%;text-align:left;border:0;background:transparent;color:#fff;padding:10px 12px;border-radius:12px;cursor:pointer}.customer-dropdown-item:hover,.customer-dropdown-item.active{background:#ffffff0f}.customer-dropdown-name{font-weight:700}.customer-dropdown-meta{margin-top:4px;color:#8a8a93;font-size:.9rem}.customer-dropdown-empty{padding:12px;color:#8a8a93}@media (max-width: 720px){.customer-dropdown-menu{max-height:200px}}.conflict-box{border:1px solid rgba(239,68,68,.25);background:#ef444414;border-radius:18px;padding:14px 16px}.conflict-title{color:#fca5a5;font-weight:700;margin-bottom:6px}.conflict-text{color:#d4d4d8;font-size:.95rem;margin-bottom:10px}.conflict-list{display:grid;gap:8px}.conflict-item{display:grid;gap:2px;padding:10px 12px;border-radius:12px;background:#0003;color:#fff}.conflict-item span{color:#a1a1aa;font-size:.92rem}.monthly-header{gap:16px;align-items:flex-start}.month-nav{display:flex;align-items:center;gap:8px}.month-today-btn.is-disabled{opacity:.45;cursor:default}.month-today-btn.is-disabled:hover{transform:none}@media (max-width: 720px){.monthly-header{flex-direction:column;align-items:stretch}.month-nav{justify-content:flex-start}}.neutral-money{color:#fff}.sub-card.small .money{font-size:1.2rem}.sub-card.small .money,.sub-card.small.green .money,.sub-card.small .neutral-money{font-size:1.2rem!important;line-height:1.2}.sub-card.small{padding:12px 14px}.sub-card.small .muted{font-size:.95rem}.deposit-regular .money{font-weight:400!important}.customer-create-hint{margin-top:8px;color:#8a8a93;font-size:.9rem}.image-upload-block{display:grid;gap:12px}.image-upload-label{display:inline-flex;align-items:center;justify-content:center;width:fit-content;border:1px solid rgba(255,255,255,.08);background:#ffffff0a;color:#fff;border-radius:16px;padding:12px 16px;cursor:pointer}.image-upload-input{display:none}.image-upload-hint{color:#8a8a93;font-size:.92rem}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.image-card{display:grid;gap:8px;border:1px solid rgba(255,255,255,.08);background:#ffffff08;border-radius:16px;padding:10px}.image-preview{width:100%;height:120px;object-fit:cover;border-radius:12px}.image-remove-btn{border:1px solid rgba(239,68,68,.22);background:#ef44441a;color:#f87171;border-radius:12px;padding:8px 10px;cursor:pointer}.image-empty-state{color:#8a8a93;font-size:.95rem}.appointment-image-count{margin-top:8px;color:#93c5fd;font-size:.92rem;font-weight:600}.dashboard-next-item{align-items:flex-start}.dashboard-next-main,.day-detail-main{display:grid;gap:6px}.image-preview-strip{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}.tiny-preview{width:56px;height:56px;object-fit:cover;border-radius:10px;border:1px solid rgba(255,255,255,.08)}.tiny-preview-more{min-width:56px;height:56px;display:grid;place-items:center;border-radius:10px;background:#ffffff0d;border:1px solid rgba(255,255,255,.08);color:#d4d4d8;font-size:.9rem;padding:0 10px}.clickable-preview{cursor:zoom-in}.lightbox-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000c7;display:grid;place-items:center;padding:24px;z-index:1200}.lightbox-card{width:min(980px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#060606;border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:18px;box-shadow:0 24px 60px #00000073}.lightbox-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.lightbox-title{font-size:1rem;font-weight:700;color:#fff}.lightbox-image-wrap{display:grid;place-items:center}.lightbox-image{width:100%;max-height:calc(100vh - 160px);object-fit:contain;border-radius:16px}@media (max-width: 720px){.lightbox-card{padding:12px}}.lightbox-body{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.lightbox-nav{border:1px solid rgba(255,255,255,.08);background:#ffffff0a;color:#fff;width:44px;height:44px;border-radius:999px;cursor:pointer;font-size:1.4rem}.lightbox-thumb-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.lightbox-thumb{width:64px;height:64px;border-radius:12px;overflow:hidden;border:2px solid transparent;opacity:.75}.lightbox-thumb.active{border-color:#f4bf24b3;opacity:1}.lightbox-thumb-image{width:100%;height:100%;object-fit:cover}@media (max-width: 720px){.lightbox-body{grid-template-columns:1fr}.lightbox-nav.left,.lightbox-nav.right{justify-self:center}}.customer-detail-modal{width:min(980px,100%)}.customer-detail-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.customer-detail-contact{display:grid;gap:6px;margin-bottom:18px}.customer-history-section h3{margin:0 0 14px;font-size:1.1rem}.customer-history-date{font-weight:700;color:#fff}.customer-history-note{margin-top:6px;max-width:520px}.customer-history-finance{min-width:180px}@media (max-width: 720px){.customer-detail-stats{grid-template-columns:1fr}.customer-history-finance{min-width:100%}}.customer-history-item{align-items:flex-start}.customer-history-main{display:grid;gap:6px}.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.stat-subtitle{margin-top:10px;color:#8a8a93;font-size:.92rem}.month-overview-banner{margin-bottom:16px}.month-overview-title{color:#8a8a93;font-size:.95rem}.month-overview-value{margin-top:8px;font-size:1.8rem;font-weight:700;color:#fff}.analytics-kpi{margin-top:0}@media (max-width: 1024px){.analytics-grid{grid-template-columns:1fr}}.stats-kpi-grid{margin-bottom:16px;align-items:stretch}.stat-card-large{min-height:142px}.large-kpi-value{font-size:3rem;line-height:1.05}.revenue-chart-card{margin-top:0}.revenue-chart-scroll{overflow-x:auto;padding-bottom:4px}.revenue-chart{min-width:760px;display:flex;align-items:end;gap:10px;min-height:300px;padding-top:18px}.revenue-bar-column{width:28px;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;flex:0 0 auto}.revenue-bar{width:100%;border-radius:10px 10px 4px 4px;background:#ffffff14;border:1px solid rgba(255,255,255,.05);transition:.12s ease}.revenue-bar.has-value{background:linear-gradient(180deg,#f4bf24f2,#b47812f2);border-color:#f4bf2440}.revenue-bar:hover{transform:translateY(-2px)}.revenue-bar-label{color:#8a8a93;font-size:.82rem}.revenue-bar-value{min-height:18px;color:#d4d4d8;font-size:.72rem;text-align:center;white-space:nowrap}@media (max-width: 1024px){.large-kpi-value{font-size:2.4rem}}.mobile-topbar,.mobile-close-btn,.mobile-backdrop{display:none}@media (max-width: 980px){.app-shell{display:block}.sidebar{position:fixed;top:0;left:0;width:min(320px,85vw);height:100vh;z-index:1200;transform:translate(-100%);transition:transform .18s ease}.sidebar.mobile-open{transform:translate(0)}.mobile-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;z-index:1100}.mobile-topbar{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06);position:sticky;top:0;z-index:1000;background:#050505eb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-topbar-title{font-weight:700;color:#fff}.mobile-close-btn{display:inline-flex}.content{padding:16px}.page-header{gap:12px;align-items:flex-start}.page-header,.section-header{flex-direction:column}.actions{width:100%;flex-wrap:wrap}.actions>*{flex:1 1 auto}.grid.two,.grid.two-equal,.dashboard-top,.analytics-grid,.stats-kpi-grid,.calendar-layout,.customer-detail-stats{grid-template-columns:1fr!important}.calendar-layout .detail-panel{order:2}.calendar-layout>.card:first-child{order:1}.appointment-card,.list-item,.row-wrap{gap:12px}.list-item,.row-wrap,.appointment-card,.day-detail-item{flex-direction:column}.customer-stats,.customer-history-finance{min-width:100%}.month-nav{flex-wrap:wrap}.modal-card,.customer-detail-modal,.lightbox-card{width:min(100%,100%);max-width:100%}.modal-overlay,.lightbox-overlay{padding:10px}.modal-card{max-height:calc(100vh - 20px);overflow:auto;border-radius:18px}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-chart{min-width:640px}}@media (max-width: 640px){.content{padding:12px}h1{font-size:2rem}.card,.sub-card,.stat-card,.mini-stat-card{border-radius:18px}.stat-value{font-size:2.2rem}.large-kpi-value{font-size:2.2rem!important}.month-overview-value{font-size:1.5rem}.input,.ghost-btn,.primary-btn,.danger-btn{min-height:44px}.image-grid{grid-template-columns:1fr 1fr}.tiny-preview{width:52px;height:52px}.calendar-grid{gap:8px}.day{min-height:82px;padding:8px}.day-number{font-size:.95rem}.day-pill{font-size:.72rem}.revenue-chart{min-width:560px;gap:8px}.revenue-bar-column{width:24px}.lightbox-thumb-row{gap:8px}.lightbox-thumb{width:52px;height:52px}}.app-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;justify-content:flex-start}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:28px 18px 18px}.nav-list{display:grid;gap:8px;padding:10px 10px 18px;align-content:start}.main-shell{min-width:0}.content{padding:28px 28px 32px}.page-header{margin-bottom:18px}.page-header h1,.page-header p{margin-left:0}@media (max-width: 980px){.app-shell{display:block}.sidebar-top{padding:22px 16px 14px}.nav-list{padding:8px 10px 18px}.content{padding:16px}}@media (max-width: 640px){.content{padding:12px}}.image-preview-strip{display:flex;flex-wrap:wrap;gap:8px}.tiny-preview{flex:0 0 auto}.muted:has(+.muted){display:inline}.day-detail-item .muted{display:inline-block}.stats-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stat-card-large,.sub-card.small{width:100%}.stats-kpi-grid>*{height:100%}.stats-kpi-grid .stat-card-large .stat-value{font-size:2.4rem}.app-shell{grid-template-columns:272px minmax(0,1fr)}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-title{font-size:1.05rem;line-height:1.1;white-space:nowrap}.stats-kpi-grid>*{min-width:0}.stat-card-large .stat-value{font-size:2.6rem}.single-line-previews{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.day-detail-main{min-width:0}.day-detail-item .actions{flex:0 0 auto}@media (max-width: 1200px){.brand-title{font-size:.98rem}}.app-shell{grid-template-columns:290px minmax(0,1fr)}.sidebar{justify-content:flex-start}.sidebar-top{display:flex;align-items:center;justify-content:space-between}.brand{min-width:0;width:100%}.brand-text{min-width:0}.brand-title{font-size:1rem;line-height:1.15;white-space:nowrap}.brand-subtitle{white-space:nowrap}.nav-list{display:grid;gap:8px;align-content:start}.stats-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.stats-kpi-grid>*{width:100%;min-width:0;margin:0}.stat-card-large,.stat-card-green{min-height:154px}.stat-card-large .stat-value{font-size:2.55rem}.stat-card-green .stat-value{color:#34d399;font-size:2rem}.day-detail-item{align-items:flex-start}.day-detail-main{min-width:0;display:grid;gap:8px}.single-line-previews{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:2px}.single-line-previews .tiny-preview,.single-line-previews .tiny-preview-more{flex:0 0 auto}@media (max-width: 1200px){.brand-title{font-size:.95rem}}@media (max-width: 980px){.app-shell{grid-template-columns:none}.brand-title,.brand-subtitle{white-space:normal}.stats-kpi-grid{grid-template-columns:1fr}.single-line-previews{flex-wrap:wrap;overflow-x:visible}.payment-line{white-space:normal}}.calendar-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.calendar-switch-group{display:flex;gap:8px;flex-wrap:wrap}.ghost-btn.active-filter{border-color:#f4bf2452;color:#f4bf24;background:#f4bf2414}.calendar-nav-group{display:flex;align-items:center;gap:12px}.week-view-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin-top:16px}.week-day-card{border:1px solid rgba(255,255,255,.08);background:#ffffff08;border-radius:18px;padding:12px;text-align:left;color:#fff;cursor:pointer;min-height:220px}.week-day-card.selected{border-color:#f4bf2473;background:#f4bf2414}.week-day-top{display:grid;gap:4px;margin-bottom:12px}.week-day-name{color:#8a8a93;font-size:.9rem;text-transform:capitalize}.week-day-number{font-weight:700}.week-day-events{display:grid;gap:8px}.week-pill{display:grid;gap:4px;padding:10px;border-radius:12px;font-size:.85rem;border:1px solid rgba(255,255,255,.08)}.week-pill.appointment{background:#f4bf2414}.week-pill.meeting{background:#3b82f61a}.small-muted{font-size:.88rem}@media (max-width: 1200px){.week-view-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.week-view-grid{grid-template-columns:1fr}}.day-detail-item{align-items:flex-start;gap:16px}.day-detail-main{flex:1 1 auto;min-width:0}.day-detail-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;justify-content:flex-start;flex:0 0 auto;max-width:320px}.day-detail-actions .ghost-btn,.day-detail-actions .danger-btn,.single-line-text{white-space:nowrap}.payment-summary{display:grid;gap:4px}.payment-line{white-space:nowrap;display:inline-block}@media (max-width: 1200px){.day-detail-actions{max-width:100%}}@media (max-width: 980px){.day-detail-item{flex-direction:column}.day-detail-actions{width:100%}}.day-detail-item{display:block}.day-detail-header-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.day-detail-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center;max-width:none;width:auto}.day-detail-actions .ghost-btn,.day-detail-actions .danger-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px}.detail-customer-name,.time-range-detail,.payment-summary{margin-top:0}.time-range-detail.single-line-text{display:inline-block}@media (max-width: 1100px){.day-detail-header-row{flex-direction:column;align-items:flex-start}.day-detail-actions{width:100%;justify-content:flex-start}}.day-detail-header-row{display:flex;justify-content:space-between;align-items:center}.day-detail-actions-main{display:flex;gap:10px}.day-detail-actions-secondary{margin-top:12px}.day-detail-actions-main .ghost-btn,.day-detail-actions-secondary .danger-btn{white-space:nowrap}.payment-line.strong{font-weight:600;color:#fff}.customer-row{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr) auto;align-items:center;gap:20px}.customer-name-block{min-width:0}.customer-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25;max-height:2.5em;word-break:break-word}.customer-stats{align-self:center;line-height:1.2;white-space:nowrap}.customer-row .actions{justify-content:flex-end;flex-wrap:nowrap}@media (max-width: 980px){.customer-row{grid-template-columns:1fr;align-items:start;gap:12px}.customer-stats{white-space:normal}.customer-row .actions{justify-content:flex-start;flex-wrap:wrap}}.appointment-card-better{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(200px,.8fr) auto;gap:18px;align-items:center;padding:22px}.appointment-secondary .muted,.appointment-image-count{line-height:1.25}.appointments-past-section{margin-top:6px;display:grid;gap:14px}.appointments-past-title{color:#8a8a93;font-size:.95rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.appointment-past-card{opacity:.72;border-color:#ffffff0d}.past-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#ffffff0f;color:#b4b4bc;font-size:.78rem;font-weight:600}.entry-kind-row{display:flex;align-items:center;gap:8px}.past-pill{margin-left:4px}.appointment-past-card{transform:scale(.97);transform-origin:left;padding:14px!important}.appointment-past-card .appointment-card-better{padding:14px!important;gap:12px}.appointment-past-card .appointment-time{font-size:1.1rem}.appointment-past-card .appointment-name{font-size:.95rem}.appointment-past-card .actions{transform:scale(.95)}.past-date-group .compact-stack{gap:8px}.entry-kind-row{display:inline-flex;align-items:center;gap:8px;min-height:32px}.entry-kind-row .kind-badge,.entry-kind-row .past-pill{display:inline-flex;align-items:center;justify-content:center;height:28px;line-height:1;margin:0;vertical-align:middle}.past-pill{padding:0 10px;border-radius:999px;background:#ffffff0f;color:#b4b4bc;font-size:.78rem;font-weight:600;position:relative;top:0}.appointment-past-card .entry-kind-row{margin-bottom:8px}.revenue-chart-card .section-header,.revenue-chart-card .section-header>div{align-items:flex-start;text-align:left}.revenue-chart-card .section-header h2,.revenue-chart-card .section-header p{text-align:left;width:100%}@media (max-width: 720px){.revenue-chart-card .section-header{align-items:flex-start!important;justify-content:flex-start;text-align:left}.revenue-chart-card .section-header>div{width:100%;text-align:left}.revenue-chart-card .section-header h2,.revenue-chart-card .section-header p{margin-left:0;text-align:left}}.appointment-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.appointments-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.appointments-group-stack{gap:18px}.appointments-date-group{display:grid;gap:12px}.appointments-date-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.appointments-date-header h3{margin:0;font-size:1.08rem}.compact-stack{gap:12px}.appointment-row-card{padding:0}.appointment-card-better{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(220px,.8fr) auto;gap:18px;align-items:center;padding:22px}.appointment-primary,.appointment-secondary{min-width:0;display:grid;gap:8px}.appointment-secondary .muted,.appointment-image-count,.appointment-finance-line{line-height:1.25}.appointment-actions{justify-content:flex-end;flex-wrap:nowrap}.appointments-past-title{color:#8a8a93;font-size:.95rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;list-style:none}.appointments-past-title::-webkit-details-marker{display:none}.past-groups-wrap{margin-top:4px}.past-date-group .appointments-date-header h3,.past-date-group .appointments-date-header .muted{color:#8a8a93}.appointment-past-card{opacity:.72;border-color:#ffffff0d;transform:scale(.985);transform-origin:left center}.appointment-past-card .appointment-card-better{padding:18px}.appointment-past-card .appointment-time,.appointment-past-card .appointment-name{color:#d4d4d8}.entry-kind-row{display:inline-flex;align-items:center;gap:8px;min-height:32px;flex-wrap:wrap}.entry-kind-row .kind-badge,.entry-kind-row .past-pill,.entry-kind-row .today-pill{display:inline-flex;align-items:center;justify-content:center;height:28px;line-height:1;margin:0;vertical-align:middle}.entry-kind-row .kind-badge{padding:0 12px}.past-pill,.today-pill{padding:0 10px;border-radius:999px;font-size:.78rem;font-weight:600}.past-pill{background:#ffffff0f;color:#b4b4bc}.today-pill{background:#f4bf241f;color:#f4bf24}@media (max-width: 1100px){.appointment-summary-grid{grid-template-columns:1fr}.appointment-card-better{grid-template-columns:1fr;align-items:start}.appointment-actions{justify-content:flex-start;flex-wrap:wrap}}.app-ui-modal{width:min(520px,100%);max-width:520px}.app-ui-modal-body{padding:6px 0 2px}.app-ui-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.appointments-past-section{margin-top:6px;display:grid;gap:14px;border:1px solid rgba(255,255,255,.06);border-radius:18px;background:#ffffff05;padding:16px}.appointments-past-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:transparent;border:0;color:#b4b4bc;font-size:.95rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;padding:0}.appointments-past-toggle span:last-child{font-size:.82rem;color:#8a8a93}@media (max-width: 720px){.app-ui-modal{max-width:100%}.app-ui-modal-actions{justify-content:stretch;flex-direction:column-reverse}.app-ui-modal-actions .ghost-btn,.app-ui-modal-actions .primary-btn,.app-ui-modal-actions .danger-btn{width:100%}}:root{--ui-radius-card: 24px;--ui-radius-control: 16px;--ui-radius-pill: 999px;--ui-gap-section: 20px;--ui-gap-card: 16px;--ui-control-height: 46px;--ui-badge-height: 30px;--ui-border: rgba(255,255,255,.08);--ui-border-soft: rgba(255,255,255,.06)}.page-header{margin-bottom:20px}.grid,.stack{gap:var(--ui-gap-card)}.section-header{margin-bottom:14px}.section-label{margin-bottom:0}.card{border-radius:var(--ui-radius-card)}.sub-card{border-radius:18px}.stat-card,.mini-stat-card{min-height:138px}.month-overview-banner,.revenue-chart-card,.appointments-past-section,.customer-detail-modal .card,.detail-panel{border-radius:var(--ui-radius-card)}.primary-btn,.ghost-btn,.danger-btn,.ghost-icon{min-height:var(--ui-control-height);border-radius:var(--ui-radius-control);font-weight:600}.ghost-icon{min-width:var(--ui-control-height);padding:0 14px}.primary-btn{box-shadow:inset 0 -1px #0000001f}.ghost-btn{background:#ffffff0a}.danger-btn{background:#ef44441f}.actions{align-items:center}.kind-badge,.pill,.day-pill,.section-label,.past-pill,.today-pill{min-height:var(--ui-badge-height);border-radius:var(--ui-radius-pill);padding:0 12px;font-size:.8rem;font-weight:700;line-height:1}.kind-badge{display:inline-flex;align-items:center;justify-content:center}.entry-kind-row{min-height:var(--ui-badge-height)}.appointment-row-card,.customer-row,.day-detail-item,.list-item{border-radius:20px}.appointment-card-better{min-height:124px}.appointment-actions .ghost-btn,.appointment-actions .danger-btn,.day-detail-actions-main .ghost-btn,.day-detail-actions-secondary .danger-btn{min-width:126px;justify-content:center}.customer-row .actions .ghost-btn,.customer-row .actions .danger-btn{min-width:116px;justify-content:center}.appointment-name,.detail-customer-name,.customer-name{font-weight:700}.muted{line-height:1.3}.input,select.input,textarea.input{min-height:var(--ui-control-height);border-radius:var(--ui-radius-control)}.customer-dropdown-menu,.modal-card{border-radius:22px}.appointment-summary-grid .stat-card,.analytics-grid .stat-card,.stats-kpi-grid>*{height:100%}.stats-kpi-grid>* .stat-value,.analytics-grid .stat-value{line-height:1.05}.revenue-chart-card .section-header,.month-overview-banner,.appointments-date-group,.appointments-past-section{scroll-margin-top:20px}@media (max-width: 980px){.stat-card,.mini-stat-card{min-height:126px}.appointment-actions .ghost-btn,.appointment-actions .danger-btn,.customer-row .actions .ghost-btn,.customer-row .actions .danger-btn,.day-detail-actions-main .ghost-btn,.day-detail-actions-secondary .danger-btn{min-width:0}}@media (max-width: 640px){:root{--ui-gap-card: 14px;--ui-control-height: 44px;--ui-badge-height: 28px}.card,.month-overview-banner,.revenue-chart-card,.appointments-past-section{border-radius:20px}.page-header{margin-bottom:16px}}.top-customers-card{margin-top:0}.top-customer-row{align-items:center}.top-customer-rank{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#f4bf241a;color:#f4bf24;font-weight:800;flex:0 0 auto}.top-customer-info{min-width:0;flex:1 1 auto}.top-customer-name{font-weight:700;color:#fff}.top-customer-value{font-weight:700;color:#fff;white-space:nowrap}.no-top-margin{margin-top:0}.system-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.system-value{margin-top:8px;font-size:1.45rem;font-weight:800;color:#fff}.system-check{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#f4bf241f;color:#f4bf24;font-weight:800;flex:0 0 auto}.system-note-card{margin-top:16px}@media (max-width: 900px){.system-status-grid{grid-template-columns:1fr}}.login-shell,.app-loading-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top left,rgba(244,191,36,.08),transparent 30%),#050505}.login-card,.app-loading-card{width:min(460px,100%);border-radius:28px;border:1px solid rgba(255,255,255,.08);background:#ffffff08;padding:26px;box-shadow:0 24px 60px #00000059}.login-brand{margin-bottom:18px}.login-headline h1{margin:0;font-size:2rem}.login-headline p{margin:8px 0 0;color:#8a8a93}.login-form{display:grid;gap:12px;margin-top:20px}.login-submit{width:100%;justify-content:center}.sidebar-logout-wrap{margin-top:auto;padding-top:18px}.full-width{width:100%}.system-small-value{margin-top:8px;color:#fff;word-break:break-word;line-height:1.35}@media (max-width: 720px){.login-card,.app-loading-card{padding:20px;border-radius:22px}}
