/* A quiet, blue studio: floating frame, compact navigation and a daily rail. */
body{background:#e5ecf1;font-family:'Microsoft YaHei',system-ui,sans-serif;letter-spacing:.1px}
svg{display:block;width:20px;height:20px;flex-shrink:0}
button svg,a svg{pointer-events:none}
#workspace{display:grid;grid-template-columns:190px minmax(0,1fr);width:calc(100% - 64px);max-width:1660px;min-height:calc(100svh - 64px);margin:32px auto;background:#fff;border:1px solid #ffffffbb;border-radius:28px;box-shadow:0 24px 80px #173e580e;overflow:clip}
.sidebar{position:sticky;inset:auto;top:32px;width:auto;height:calc(100svh - 64px);max-height:1000px;border:0;border-right:1px solid #edf1f5;background:#fff;padding:29px 20px 22px;z-index:3}
.sidebar .brand{font-size:17px;letter-spacing:1.4px;padding:0 5px}
.sidebar .brand-icon{width:27px;height:33px;font-size:35px}
.sidebar .brand-subtitle{font-size:7px;letter-spacing:2.1px;margin-top:5px}
.sidebar-profile{display:flex;flex-direction:column;align-items:center;gap:7px;margin:24px 0 20px;text-align:center}
.profile-avatar{display:grid;place-items:center;width:53px;height:53px;border-radius:18px;background:linear-gradient(135deg,#daeaf4,#adc9dd);border:4px solid #f3f8fb;color:#173e58;font-size:21px;font-weight:500;box-shadow:0 7px 20px #183e570d}
.sidebar-profile strong{font-size:13px;font-weight:600;overflow-wrap:anywhere;max-width:145px}
.profile-caption{display:flex;align-items:center;gap:5px;color:#8b9ca8;font-size:9px}
.profile-caption i{width:5px;height:5px;border-radius:50%;background:#50a7a1}
.nav-caption{margin:0 10px 13px;letter-spacing:1px;font-size:9px;color:#8395a3}
.sidebar nav{max-height:none;min-height:0;flex:1;overflow:auto;scrollbar-width:thin}
.nav-item{padding:9px 12px;margin-bottom:3px;border-radius:11px;font-size:12px;gap:8px;color:#73899a;min-height:38px}
.nav-label{display:flex;align-items:center;gap:11px;font-size:12px!important;letter-spacing:0!important;color:inherit!important}
.nav-label svg{width:17px;height:17px;opacity:.88}
.nav-label>span{white-space:nowrap}
.nav-item>.nav-label{display:flex}
.nav-item.active{background:#173e58;color:#fff;box-shadow:0 6px 15px #173e581c}
.nav-dot{width:4px;height:4px;background:currentColor;opacity:0;border-radius:50%}
.nav-item.active .nav-dot{opacity:.7}
.sidebar-bottom{padding:20px 9px 0;gap:14px;border-top:1px solid #eaf0f4}
.sidebar-bottom .local-mark{font-size:9px}
.sidebar-bottom .text-button{font-size:10px}
.content{min-width:0;margin-left:0;background:#fff}
.topbar{height:76px;background:#fff;border-bottom:1px solid #f1f4f7;padding:0 30px;color:#8697a5}
.topbar-context{font-size:12px;font-weight:600;color:#34566e!important;letter-spacing:1px}
.topbar-context>span{margin:0 10px;color:#b5c4d0;font-weight:400}
.topbar-tools{display:flex;align-items:center;gap:20px}
#today{font-size:10px;color:#8b9aa7;letter-spacing:0}
.topbar-account{padding:0;border:0;background:none;border-radius:10px}
.mini-avatar{display:grid;place-items:center;background:#e4edf5;width:32px;height:32px;border-radius:10px;color:#315d78;font-size:13px}
.page{padding:31px 30px 36px;max-width:none}
.page.is-home{padding-top:26px}
.page-heading{margin-bottom:25px}
.page-heading h1{font-size:27px;font-weight:600;letter-spacing:0;margin:5px 0 7px}
.page-heading p{font-size:11px}
.page-heading .eyebrow{font-size:8px;letter-spacing:1.8px}
.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.dashboard-welcome .eyebrow{font-size:8px;letter-spacing:1.8px;color:#8da0ae}
.dashboard-welcome h1{font-size:25px;line-height:1.5;font-weight:600;margin:6px 0 5px;letter-spacing:-.5px;overflow-wrap:anywhere}
.welcome-dot{color:#5e95b9}
.dashboard-welcome p{font-size:11px;color:#8b9eac;margin:0}
.dashboard-date{display:flex;gap:7px;align-items:center;background:#f5f8fb;border:1px solid #edf2f6;border-radius:9px;padding:9px 11px;color:#7991a2;font-size:10px;white-space:nowrap}
.dashboard-date svg{width:13px;height:13px}
.dashboard-feature-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:20px;margin-bottom:21px}
.home-hero{min-height:229px;padding:25px 25px 20px;border-radius:17px;margin:0;box-shadow:0 12px 25px #294c6610;justify-content:normal}
.ocean-background{inset:0;background:url('/ocean-loop-poster.jpg') center/cover no-repeat;animation:none;will-change:auto;transform:none}
.ocean-video{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.75)}
.home-hero:after{background:linear-gradient(90deg,#eaf3fad9,#e8f2fa65 70%,#c6dfed2e)}
.hero-content{position:relative;z-index:1}
.hero-tag{font-size:7px;font-weight:600;letter-spacing:1.8px;color:#4c728c}
.home-hero h2{font-size:28px;line-height:1.5;font-weight:600;letter-spacing:-.5px;margin:16px 0 22px;color:#173248}
.home-hero-actions .primary{display:flex;gap:11px;align-items:center;border-radius:9px;padding:9px 14px;min-height:35px;font-size:10px}
.home-hero-actions svg{width:13px;height:13px}
.home-hero>.motion-toggle{position:absolute;bottom:13px;right:13px;padding:5px 8px;font-size:8px;background:#fff9;color:#496e88;border:1px solid #ffffff80;z-index:2;border-radius:7px}
.focus-card{display:flex;flex-direction:column;min-width:0;min-height:229px;border-radius:17px;padding:24px 24px 18px;background:linear-gradient(135deg,#173e58,#2c5e7b);color:#fff;box-shadow:0 12px 24px #173e5820;overflow:hidden;position:relative}
.focus-card:after{content:'';position:absolute;width:210px;height:210px;border:1px solid #ffffff0c;border-radius:50%;right:-75px;bottom:-130px;pointer-events:none}
.focus-card-head{display:flex;align-items:center;gap:10px;font-size:11px;color:#d1e1ec}
.feature-icon{display:grid;place-items:center;width:31px;height:31px;background:#ffffff12;border:1px solid #ffffff15;border-radius:9px}
.feature-icon svg{width:16px;height:16px}
.focus-card-body{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:1;padding:12px 0}
.focus-card-body h2{font:42px/1.2 Georgia,serif;margin:0 0 7px;white-space:nowrap}
.focus-card-body h2>span{font-size:20px;color:#86abc3}
.focus-card-body p{font-size:10px;color:#c2d7e5;margin:0}
.maintenance-ring{position:relative;width:97px;height:97px;flex-shrink:0;display:grid;place-items:center}
.maintenance-ring>svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.maintenance-ring circle{fill:none;stroke-width:12}
.ring-track{stroke:#ffffff18}
.ring-progress{stroke:#b1d6ef;stroke-linecap:butt}
.maintenance-ring>span{font:26px Georgia,serif;position:relative;color:#f3f8fc}
.maintenance-ring small{font-size:12px;margin-left:2px}
.focus-card-foot{display:flex;align-items:center;justify-content:space-between;gap:7px;border-top:1px solid #ffffff17;padding-top:12px;font-size:9px;color:#a6c2d5}
.focus-card-foot button{background:none;color:#dcebf4;border:0;padding:0}
.focus-card-foot svg{width:17px;height:17px}
.home-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:29px}
.home-stats .stat{display:flex;align-items:flex-start;gap:10px;border:0;border-radius:12px;background:#f5f8fb;padding:16px 12px;box-shadow:none}
.home-stats .stat:after{display:none}
.stat-icon{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;background:#e7f0f7;color:#527b97;border-radius:8px}
.stat-icon svg{width:15px;height:15px}
.stat-copy{display:flex;flex-direction:column;min-width:0}
.home-stats .stat-label{font-size:9px;line-height:1.6;color:#6f8798}
.home-stats .stat-number{font:27px/1.25 Georgia,serif;color:#21475f;margin:4px 0;display:block}
.home-stats .stat-caption{font-size:8px;color:#91a3b0;line-height:1.6}
.dashboard-section{margin-bottom:28px}
.home-section-heading{margin:0 0 13px;align-items:flex-end}
.home-section-heading h2{font-size:14px;font-weight:600;margin:4px 0 0}
.section-kicker{font-size:7px;letter-spacing:1.6px;color:#97a7b5}
.home-section-heading .text-button{display:flex;align-items:center;gap:7px;font-size:9px;color:#6991ab}
.home-section-heading .text-button svg{width:12px;height:12px}
.home-maintenance,.recent-contact-list{border:1px solid #edf2f5;border-radius:13px;background:#fff;overflow:hidden}
.maintenance-row{gap:12px;padding:15px 16px;border-color:#f0f4f7}
.maintenance-row .avatar{width:35px;height:35px;border-radius:11px;font-family:var(--sans);font-size:14px}
.maintenance-person{flex:1;min-width:0}
.maintenance-person strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:11px;font-weight:600}
.maintenance-person p{font-size:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:3px 0 0;color:#8a9eac}
.maintenance-row .status-badge{font-size:8px;padding:4px 7px;margin:0}
.maintenance-row .status-badge:before{width:4px;height:4px}
.row-open{background:#f4f8fb;border:0;border-radius:7px;padding:6px;color:#698fa8;flex-shrink:0}
.row-open svg{width:13px;height:13px}
.maintenance-empty{padding:23px 18px;gap:13px;font-size:11px;color:#7992a4}
.empty-check{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:#edf5f9;color:#6893ac}
.empty-check svg{width:17px;height:17px}
.maintenance-empty strong{font-size:11px;font-weight:500;color:#4c7189}
.maintenance-empty p{font-size:10px;line-height:1.8;margin:4px 0 0;color:#8da0ae}
.home-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:6px}
.home-quick{border:1px solid #eaf0f5;border-radius:11px;background:#fff;padding:15px 12px;gap:10px;box-shadow:none}
.home-quick>span{width:28px;height:28px;border-radius:8px;background:#f0f5f9;color:#6991ac}
.home-quick>span svg{width:15px;height:15px}
.home-quick strong{font-size:10px;white-space:nowrap}
.home-quick small{font-size:8px;line-height:1.6;margin-top:4px;white-space:normal}
.home-quick>b{margin-left:auto}
.home-quick>b svg{width:12px;height:12px}
.workspace-rail{display:none;background:#f2f6f9;padding:28px 23px 24px;min-width:0;border-left:1px solid #eef2f5}
.rail-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.rail-heading .eyebrow{font-size:8px;letter-spacing:1.7px;color:#8399a9}
.rail-icon{display:grid;place-items:center;background:#fff;width:29px;height:29px;border-radius:8px;color:#7d9bb1;box-shadow:0 3px 10px #173e5805}
.rail-icon svg{width:15px;height:15px}
.workspace-rail h2{font-size:15px;font-weight:600;margin:0 0 6px;letter-spacing:-.2px}
.rail-subtitle{font-size:10px;color:#8b9fad;margin:0 0 24px}
.rail-focus{display:flex;align-items:center;gap:11px;padding:16px 14px;border:0;border-radius:12px;background:#173e58;color:#e3eff7;width:100%;text-align:left;box-shadow:0 8px 19px #173e581f}
.rail-focus-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#ffffff13;flex-shrink:0}
.rail-focus-icon svg{width:15px;height:15px}
.rail-focus small{font-size:9px;color:#a9c5d8}
.rail-focus strong{display:block;font:24px Georgia,serif;margin-top:2px;line-height:1.4}
.rail-focus em{font:9px var(--sans);font-style:normal;color:#a9c5d8}
.rail-focus-arrow{margin-left:auto}
.rail-focus-arrow svg{width:14px;height:14px}
.rail-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0 23px}
.rail-counts>div,.rail-counts>button{display:flex;flex-direction:column;align-items:flex-start;padding:16px 13px;border-radius:12px;border:1px solid #dfeaf1;background:#e4eef6;color:#355c76;min-height:89px;text-align:left}
.rail-counts>:nth-child(2),.rail-counts>:nth-child(3){background:#fff;border-color:#edf2f5}
.rail-counts strong{font:24px Georgia,serif;margin-bottom:7px}
.rail-counts span{font-size:9px;color:#7792a5}
.rail-calendar{background:#fff;border-radius:13px;padding:16px 14px 14px;border:1px solid #eef2f5}
.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px}
.calendar-heading h3{font-size:12px;font-weight:600;margin:0}
.calendar-heading svg{width:14px;height:14px;color:#90a8b9}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px 2px;text-align:center;align-items:center;font-size:9px}
.calendar-weekday{font-size:8px;color:#a5b4bf;margin-bottom:7px}
.calendar-day{position:relative;height:25px;display:grid;place-items:center;color:#536f81;border-radius:7px}
.calendar-day.is-today{background:#173e58;color:#fff;font-weight:600;box-shadow:0 4px 10px #173e5817}
.calendar-day.has-plan:after{content:'';position:absolute;bottom:1px;left:calc(50% - 1.5px);width:3px;height:3px;border-radius:50%;background:#6fa2c2}
.calendar-day.is-today.has-plan:after{background:#b7d4e7}
.calendar-legend{display:flex;align-items:center;gap:5px;font-size:8px;color:#94a9b7;line-height:1.7;margin:13px 0 0}
.calendar-legend i{width:4px;height:4px;border-radius:50%;background:#6fa2c2}
.rail-note{display:flex;gap:10px;padding:24px 2px 0;color:#668ca4}
.rail-note>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #d7e5ee;border-radius:8px;flex-shrink:0}
.rail-note svg{width:12px;height:12px}
.rail-note strong{font-size:10px;font-weight:500;color:#6c8b9f}
.rail-note p{font-size:9px;line-height:1.8;margin:4px 0;color:#9aafbc}
/* Existing business screens inherit the same proportions and surfaces. */
.record-card,.import-card,.settings-card{border-radius:17px;border-color:#e8eff4;box-shadow:0 5px 18px #173e5804}
.record-card{padding:23px}
.card-name{font-size:14px}
.avatar{font-family:var(--sans);font-size:17px;border-radius:12px}
.card-area,.card-contact{font-size:10px}
.card-detail{font-size:11px;color:#7991a2}
.card-footer{gap:10px 14px;border-color:#eef3f6}
.card-footer button{font-size:10px}
.status-badge{font-size:10px}
.stats:not(.home-stats) .stat{box-shadow:none;border-radius:14px;background:#f5f8fb;border-color:#edf3f7;padding:19px 22px}
.stats:not(.home-stats) .stat-number{font-size:33px}
.primary,.secondary{border-radius:9px;font-size:11px;min-height:40px;padding:10px 16px}
.import-card,.settings-card{padding:25px}
input,select,textarea{font-size:12px;min-height:42px;border-radius:9px}
.preview-table th,.preview-table td{padding:14px;font-size:11px}
.dy-tabs button,.contact-quick-filters button{font-size:11px;border-radius:9px}
.toast{border-radius:12px}
/* A real film behind the entrance, with a readable foreground at every frame. */
.auth-layout{background:#9dbacc}
.auth-layout:after{background:linear-gradient(90deg,#eaf4fae0 0%,#edf5fac2 28%,#dbeef778 60%,#23476028 100%),linear-gradient(0deg,#102f4590,transparent 35%)}
.brand-copy h1{font-family:var(--sans);font-size:clamp(54px,6vw,88px);font-weight:500;letter-spacing:-4px;line-height:1.2}
.brand-panel{margin-top:8vh}
.brand-copy p{font-size:14px;color:#43667f}
.brand-copy p,.brand-copy .brand-lines{color:#43667f;text-shadow:none}
.auth-bottom>.local-mark{color:#345970}
.auth-bottom .motion-toggle{background:#ffffffa0;color:#315973;border-color:#ffffff80}
.auth-card{border-radius:23px;background:#f9fcffed;border-color:#ffffffd9;box-shadow:0 22px 65px #173e582b;padding:35px}
.auth-card h2{font-weight:600;font-size:25px}
.auth-card label{font-size:11px}
.auth-card .primary{min-height:46px;font-size:12px}
.auth-card .pill{background:#e8f1f7;border:0;border-radius:7px;font-size:9px;padding:6px 9px}
.motion-toggle{display:inline-flex;align-items:center;justify-content:center}
@media(min-width:1280px){#workspace.home-view{grid-template-columns:190px minmax(0,1fr) 252px}.home-view .workspace-rail{display:block}}
@media(min-width:1550px){#workspace.home-view{grid-template-columns:200px minmax(0,1fr) 280px}.page{padding:34px 37px 42px}.workspace-rail{padding:29px 26px}.home-hero,.focus-card{min-height:251px}.dashboard-welcome h1{font-size:28px}.home-hero h2{font-size:31px}.home-stats .stat{padding:18px 16px}.home-stats .stat-label{font-size:10px}.home-stats .stat-caption{font-size:9px}.home-quick strong{font-size:11px}}
@media(max-width:1279px){#workspace{width:calc(100% - 40px);margin:20px auto;min-height:calc(100svh - 40px)}.sidebar{top:20px;height:calc(100svh - 40px)}.dashboard-feature-grid{grid-template-columns:1.2fr 1fr}.home-stats .stat{padding:17px 15px}.home-stats .stat-caption{font-size:9px}.dashboard-section{margin-bottom:29px}}
@media(max-width:1050px){#workspace{grid-template-columns:169px minmax(0,1fr);width:calc(100% - 32px);margin:16px auto}.sidebar{top:16px;padding:28px 14px 20px;height:calc(100svh - 32px)}.page{padding:25px 23px 32px}.topbar{padding:0 23px}.dashboard-feature-grid{gap:14px}.home-hero,.focus-card{padding:22px 20px;min-height:228px}.home-hero h2{font-size:25px}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.home-stats .stat{padding:17px}.home-stats .stat-copy{flex:1}.home-stats .stat-number{font-size:28px}.home-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-quick{padding:15px 11px;gap:8px}.home-quick>b{display:none}.focus-card-body h2{font-size:36px}.maintenance-ring{width:80px;height:80px}.maintenance-ring>span{font-size:23px}.focus-card-body{gap:10px}.focus-card-body p{font-size:9px}}
@media(max-width:800px){.dashboard-date{display:none}.dashboard-welcome h1{font-size:24px}.dashboard-feature-grid{grid-template-columns:1fr}.home-hero{min-height:227px;padding:26px}.home-hero h2{font-size:28px}.focus-card{min-height:178px;padding:20px 23px}.focus-card-body{padding:7px 0}.focus-card-body h2{font-size:34px}.maintenance-ring{width:73px;height:73px}.focus-card-foot{padding-top:9px}.home-quick-grid{grid-template-columns:1fr}.home-quick>b{display:block}.home-quick{padding:16px}.home-quick>span{width:30px;height:30px}.home-quick small{font-size:9px}.stats:not(.home-stats) .stat{padding:17px 15px}.stats:not(.home-stats) .stat-number{font-size:28px}}
@media(max-width:700px){body{background:#fff}#workspace{width:100%;margin:0;display:block;min-height:100svh;border:0;border-radius:0;box-shadow:none;overflow:visible}.sidebar{position:static;inset:auto;height:auto;max-height:none;width:100%;padding:18px 18px 9px;border-right:0;border-bottom:1px solid #eaf0f4;gap:17px}.sidebar .brand{font-size:17px;padding:0}.sidebar-profile,.nav-caption,.sidebar-bottom{display:none}.sidebar nav{max-height:none;min-height:0;padding-bottom:4px;display:flex;gap:4px}.nav-item{width:auto;flex-shrink:0;font-size:11px;padding:10px 12px;margin:0;border-radius:9px;min-height:38px}.nav-label{font-size:11px!important;gap:7px}.nav-label svg{width:14px;height:14px}.nav-dot{display:none}.topbar{height:56px;padding:0 19px;border-bottom:0}.topbar-context{font-size:10px}.topbar-tools{gap:11px}#today{font-size:8px}.mini-avatar{width:27px;height:27px;font-size:11px;border-radius:8px}.page,.page.is-home{padding:16px 19px 30px}.dashboard-welcome{margin-bottom:19px}.dashboard-welcome h1{font-size:25px;line-height:1.4}.dashboard-welcome .eyebrow{font-size:7px}.dashboard-welcome p{font-size:10px}.dashboard-feature-grid{gap:13px;margin-bottom:15px}.home-hero{min-height:230px;padding:27px 24px}.home-hero h2{font-size:29px;margin:18px 0 22px}.focus-card{min-height:174px;padding:19px 22px}.focus-card-body h2{font-size:35px}.home-stats{gap:10px;margin-bottom:25px}.home-stats .stat{padding:15px 12px;gap:10px}.home-stats .stat-label{font-size:9px}.home-stats .stat-caption{font-size:8px}.home-stats .stat-number{font-size:27px}.home-section-heading h2{font-size:14px}.home-section-heading .text-button{font-size:9px}.maintenance-row{padding:14px 12px;gap:10px}.maintenance-row .status-badge{font-size:8px}.maintenance-person strong{font-size:11px}.maintenance-empty{padding:22px 14px;align-items:flex-start}.maintenance-empty p{font-size:9px}.row-open{padding:5px}.home-quick-grid{gap:10px}.home-quick strong{font-size:11px}.page-heading h1{font-size:25px}.page-heading>button{font-size:10px;padding:9px 11px}.record-card{padding:21px}.card-name{font-size:14px}.stats:not(.home-stats){grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stats:not(.home-stats) .stat{padding:15px 12px}.stats:not(.home-stats) .stat-label{font-size:10px}.stats:not(.home-stats) .stat-number{font-size:26px}.stats:not(.home-stats) .stat-caption{font-size:9px}.stats:not(.home-stats) .stat:after{display:none}.workspace-rail{display:none!important}.auth-layout{padding:104px 24px 84px}.auth-nav{padding:21px 24px}.brand-panel{margin:0}.brand-copy h1{font-size:58px;letter-spacing:-3px}.auth-card{padding:28px}.auth-layout:after{background:linear-gradient(180deg,#eaf4fad6,#eaf4fa9c 48%,#173e5870 100%)}.brand-copy p{font-size:13px}.brand-lines{font-size:10px}.auth-bottom>.local-mark{color:#e5eff6}}
@media(prefers-reduced-motion:reduce){.ocean-background{animation:none!important}.motion-toggle{display:inline-flex}.home-quick:hover,.primary:hover{transform:none}}
