:root{--canvas:#f7f5f3;--paper:#fff;--ink:#292c30;--muted:#6a6d71;--line:#e5e3e1;--rose:#5b5e62;--rose-dark:#46494d;--rose-light:#efedeb;--sage:#63666a;--sage-light:#f3f1ef;--danger:#ad3844;--radius:18px;--body:'PingFang SC','Microsoft YaHei','Segoe UI',sans-serif;--utility:'Segoe UI',var(--body)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font:16px/1.6 var(--body);-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:wait;opacity:.65}svg{width:22px;height:22px;flex-shrink:0}button:focus-visible,a:focus-visible{outline:3px solid #8f9296;outline-offset:4px}input:focus,textarea:focus{outline:none;border-color:var(--rose);box-shadow:0 0 0 3px var(--rose-light)}button,a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.8px;line-height:1.35}h2{font-size:19px;line-height:1.4}h3{font-size:17px}.muted{color:var(--muted)}.small{font-size:14px}.caption{font-size:13px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.shell{max-width:1480px;margin:auto;display:grid;grid-template-columns:218px 1fr;min-height:100dvh}.sidebar{padding:34px 22px;position:sticky;top:0;height:100dvh;background:#faf8f6;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:36px}.brand{display:flex;align-items:center;gap:10px}.brand-icon{height:40px;width:40px;color:var(--rose);background:var(--rose-light);border-radius:13px;display:grid;place-items:center}.brand-icon svg{height:27px;width:27px}.brand-name{font-size:17px;font-weight:750;letter-spacing:.3px}.brand-sub{font-size:11px;color:var(--muted);letter-spacing:1px}.side-nav{display:grid;gap:8px}.nav-item{display:flex;gap:12px;align-items:center;min-height:50px;padding:11px 13px;border-radius:12px;font-size:15px;color:var(--muted)}.nav-item.active{color:var(--rose-dark);background:var(--rose-light);font-weight:700}.nav-item:hover{background:#f0eeec}.side-foot{margin-top:auto;color:var(--muted);font-size:12px;line-height:1.7}.side-foot span{display:block}.status-dot{display:inline-block!important;width:6px;height:6px;border-radius:50%;background:var(--sage);vertical-align:middle;margin-right:5px}.content{padding:34px 40px 60px;min-width:0}.page-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.page-header .eyebrow{font-size:13px;color:var(--muted);margin-bottom:5px;font-family:var(--utility)}.page-header .sub{margin-top:7px;font-size:14px;color:var(--muted)}.header-actions{display:flex;gap:10px;align-items:center}.button{min-height:48px;padding:11px 18px;border:1px solid var(--line);border-radius:12px;background:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:650;line-height:1.5}.button.primary{color:white;background:var(--rose);border-color:var(--rose)}.button.primary:hover{background:var(--rose-dark)}.button.soft{color:var(--rose-dark);background:var(--rose-light);border-color:transparent}.button.ghost{background:transparent;border-color:transparent;font-weight:500}.button.danger{color:var(--danger);background:#fff5f5;border-color:#efccd0}.button.wide{width:100%}.button svg{height:19px;width:19px}.icon-button{min-width:44px;min-height:44px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.back-link{display:flex;align-items:center;gap:6px;color:var(--muted);min-height:44px;font-size:14px;margin-bottom:12px}.back-link svg{width:17px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:22px 24px 16px;gap:10px}.panel-title p{color:var(--muted);font-size:13px;margin-top:5px}.panel-body{padding:0 24px 24px}.home-grid{display:grid;grid-template-columns:minmax(310px,.9fr) minmax(340px,1.1fr);gap:24px;align-items:start}.customer-panel{min-width:0}.search-wrap{position:relative;margin:0 24px 8px}.search-wrap svg{position:absolute;left:15px;top:16px;color:var(--muted);width:20px;height:20px}.search-wrap input{width:100%;height:54px;background:#f9f7f5;border:1px solid var(--line);border-radius:12px;padding:12px 43px;font-size:16px;min-width:0}.search-clear{position:absolute;right:7px;top:6px;width:40px;height:40px;border:0;background:transparent;color:var(--muted);font-size:24px}.result-info{padding:7px 24px 10px;font-size:13px;color:var(--muted)}.customer-row{display:flex;align-items:stretch;border-top:1px solid #f1efed;padding:0 12px;gap:2px}.customer-open{display:flex;gap:12px;align-items:center;flex:1;min-width:0;padding:17px 12px;border-radius:12px}.customer-open:hover{background:#fbf9f7}.avatar{background:#f0eeec;color:#707377;border-radius:14px;min-width:44px;width:44px;height:44px;display:grid;place-items:center;font-size:18px;font-weight:600}.avatar.rose{background:var(--rose-light);color:var(--rose)}.customer-copy{min-width:0;flex:1}.customer-name{font-weight:700;line-height:1.45;overflow-wrap:anywhere}.customer-phone{font-size:13px;color:var(--muted);font-family:var(--utility);margin-top:2px}.customer-last{color:var(--muted);font-size:13px;margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.customer-last.today{color:var(--sage)}.quick-record{align-self:center;white-space:nowrap;padding:10px;font-size:13px;border-radius:10px;color:var(--rose);min-height:44px}.quick-record:hover{background:var(--rose-light)}.load-more{padding:12px 24px 20px}.today-date{font:13px var(--utility);color:var(--muted)}.today-list{padding:0 24px 22px}.today-row{display:grid;grid-template-columns:48px 1fr;gap:14px;padding:20px 0;border-bottom:1px solid #ebe9e7}.today-row:last-child{border-bottom:0}.time-label{font:12px/1.7 var(--utility);color:var(--muted);padding-top:2px}.today-person{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:650}.today-person svg{color:#a0a3a7;width:15px;height:15px}.today-project{font-size:15px;line-height:1.65;margin-top:6px;overflow-wrap:anywhere}.today-note{margin-top:7px;font-size:13px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.today-row .edit-link{font-size:12px;color:var(--rose);margin-top:7px;min-height:32px;display:inline-flex;align-items:center}.empty{padding:40px 24px;text-align:center}.empty-symbol{width:58px;height:58px;background:#f4f2f0;color:#8b8e92;border-radius:18px;margin:0 auto 17px;display:grid;place-items:center}.empty-symbol svg{width:28px;height:28px}.empty h3{font-size:16px;margin-bottom:7px}.empty p{font-size:14px;color:var(--muted);max-width:270px;margin:0 auto 18px}.empty.compact{padding:28px 20px}.loading{padding:34px;text-align:center;color:var(--muted);font-size:14px}.error-state{padding:24px;color:var(--danger);font-size:14px}.hint-strip{margin-top:18px;display:flex;gap:10px;font-size:13px;line-height:1.7;color:var(--muted);padding:0 5px}.hint-strip svg{width:17px;height:17px;margin-top:3px}.mobile-nav{display:none}
.detail-grid{display:grid;grid-template-columns:285px minmax(0,1fr);gap:24px;align-items:start}.profile{padding:26px 24px}.profile .avatar{width:58px;height:58px;font-size:24px;border-radius:18px;margin-bottom:17px}.profile h2{font-size:25px;overflow-wrap:anywhere}.profile-phone{display:block;font:17px var(--utility);color:var(--rose);margin-top:9px;min-height:36px}.profile-meta{padding:18px 0;border-top:1px solid var(--line);margin-top:18px;font-size:14px}.profile-meta p{margin:7px 0;overflow-wrap:anywhere;white-space:pre-wrap}.profile-label{font-size:12px;color:var(--muted);margin-bottom:4px}.profile .button{margin-top:9px}.record-stats{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin-bottom:22px}.tag{display:inline-flex;align-items:center;padding:4px 9px;border-radius:7px;color:var(--muted);background:#f2f0ee;font-size:12px}.tag.today{color:var(--sage);background:var(--sage-light)}.record-day{margin-bottom:22px}.day-heading{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:15px;font-weight:700}.day-heading .day-line{height:1px;flex:1;background:var(--line)}.record-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;margin-bottom:10px;padding:20px 22px;display:flex;gap:12px;justify-content:space-between;align-items:start}.record-text{min-width:0;flex:1}.record-projects{font-size:17px;font-weight:600;overflow-wrap:anywhere;line-height:1.6}.record-note{font-size:14px;color:var(--muted);white-space:pre-wrap;margin-top:9px;overflow-wrap:anywhere}.record-card .icon-button{border:0;background:#f8f6f4;color:var(--muted)}.record-meta{font-size:12px;color:var(--muted);margin-top:11px}.detail-top-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.form-layout{display:grid;grid-template-columns:minmax(0,640px) minmax(180px,1fr);gap:30px;align-items:start}.form-panel{padding:26px 28px}.field{margin-bottom:24px}.field:last-child{margin-bottom:0}.field-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:15px;font-weight:650}.optional{font-size:12px;color:var(--muted);font-weight:400}.required-dot{color:var(--rose);font-size:13px;margin-left:4px}.input{width:100%;min-height:50px;border:1px solid #dcdad8;background:white;border-radius:10px;padding:12px 14px;font-size:16px;color:var(--ink)}.input::placeholder{color:#888b8f}.textarea{resize:vertical;min-height:96px;line-height:1.6}.input[aria-invalid=true]{border-color:var(--danger);background:#fffafa}.field-help{margin-top:7px;color:var(--muted);font-size:13px}.field-error{color:var(--danger);font-size:13px;margin-top:7px;display:none}.field-error:not(:empty){display:block}.selected-customer{display:flex;align-items:center;gap:12px;border:1px solid #cbc9c7;background:#fbf9f7;border-radius:12px;padding:14px}.selected-customer .customer-copy{flex:1}.selected-customer .change{min-height:40px;font-size:13px;border:0;background:transparent;color:var(--rose)}.customer-candidates{border:1px solid var(--line);border-radius:12px;margin-top:10px;overflow:hidden;background:white}.candidate{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:62px;border:0;border-bottom:1px solid #eeecea;padding:12px 15px;background:white}.candidate:hover{background:#f8f6f4}.candidate:last-child{border-bottom:0}.candidate .customer-name{font-size:15px}.candidate.new{color:var(--rose);font-size:14px;background:#fbf9f7}.candidate.new svg{width:18px}.new-customer-fields{background:#fbf9f7;border:1px solid #dedcda;border-radius:12px;padding:18px;margin-top:10px}.new-customer-fields .field{margin-bottom:17px}.new-customer-fields .field:last-child{margin-bottom:0}.new-customer-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:13px;color:var(--rose);font-weight:600}.more-details{border-top:1px solid var(--line);margin-top:15px;padding-top:13px}.more-details summary{min-height:36px;font-size:13px;color:var(--muted);cursor:pointer}.more-details[open] summary{margin-bottom:14px}.chips{display:flex;flex-wrap:wrap;gap:8px}.project-option{border:1px solid var(--line);border-radius:10px;padding:9px 13px;min-height:44px;background:white;font-size:14px;text-align:left;max-width:100%;overflow-wrap:anywhere}.project-option.selected{color:var(--rose-dark);background:var(--rose-light);border-color:#a1a4a8}.project-option.selected::before{content:'✓ ';font-weight:700}.project-selected{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.project-chip{display:flex;align-items:center;gap:7px;max-width:100%;overflow-wrap:anywhere;min-height:38px;background:var(--rose-light);color:var(--rose-dark);padding:5px 10px;border-radius:9px;font-size:14px}.project-chip button{border:0;background:transparent;min-height:32px;min-width:28px;font-size:18px;color:var(--rose)}.project-input-row{display:flex;gap:8px;margin-top:12px}.project-input-row .input{min-width:0;flex:1}.project-input-row .button{padding:10px 14px}.date-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.date-line strong{font-size:15px;font-weight:500}.date-change{font-size:13px;color:var(--rose);border:0;background:transparent;min-height:40px}.date-input{margin-top:9px}input[type=date].input{display:block;min-width:0;max-width:100%;-webkit-appearance:none;appearance:none}input[type=date].input::-webkit-date-and-time-value{text-align:left}.form-footer{margin-top:20px}.form-footer .button{min-height:54px;font-size:16px;width:100%}.save-status{font-size:13px;color:var(--muted);text-align:center;margin-top:11px;min-height:21px}.save-status.error{color:var(--danger);text-align:left;border:1px solid #d2d0ce;border-radius:10px;padding:12px;background:#fff5f6}.form-aside{padding:18px 0;color:var(--muted);font-size:14px}.form-aside h3{font-size:16px;color:var(--ink);margin-bottom:12px}.form-aside p{margin-bottom:14px;line-height:1.8}.form-aside .aside-step{display:flex;gap:10px;margin-top:19px}.aside-step svg{color:var(--rose);margin-top:3px;width:18px;height:18px}.draft-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dddbd9;background:#f3f1ef;border-radius:12px;padding:12px 16px;margin-bottom:16px;font-size:13px}.draft-banner button{border:0;color:#66696d;background:transparent;min-height:40px}.section-separator{height:1px;background:var(--line);margin:26px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.settings-group h2{padding:21px 24px 10px;font-size:17px}.settings-row{display:flex;align-items:center;padding:17px 24px;gap:13px;border:0;background:white;text-align:left;width:100%;min-height:76px}.settings-row+.settings-row{border-top:1px solid #eeecea}.settings-row:hover{background:#fbf9f7}.settings-row>svg:first-child{color:var(--rose);width:21px}.settings-row>svg:last-child{color:#9b9ea2;width:17px}.settings-row .row-text{flex:1;min-width:0}.row-title{font-size:15px;font-weight:600}.row-description{font-size:13px;color:var(--muted);margin-top:3px}.settings-note{padding:16px 24px 23px;color:var(--muted);font-size:13px;line-height:1.8}.settings-note.error{color:var(--danger)}.plain-list{list-style:none;padding:0;margin:0}.plain-row{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid var(--line)}.plain-row:last-child{border-bottom:0}.plain-row strong{font-size:15px;overflow-wrap:anywhere}.inline-form{display:flex;gap:10px;padding:20px 22px}.inline-form .input{min-width:0}.narrow{max-width:650px}.success-message{display:flex;gap:10px;align-items:start;border:1px solid #dbd9d7;border-radius:12px;background:var(--sage-light);padding:14px 16px;font-size:14px;color:var(--sage);margin-bottom:20px}.success-message svg{width:20px;margin-top:2px}.restore-preview{background:#f6f4f2;padding:16px;border-radius:12px;margin:15px 0;font-size:14px}.restore-preview p{margin:4px 0}.danger-text{color:var(--danger)}
.lock-screen{min-height:100dvh;display:grid;place-items:center;padding:28px 20px;background:radial-gradient(ellipse at 50% 20%,#eae8e6 0,transparent 60%),var(--canvas)}.lock-card{background:white;border:1px solid var(--line);border-radius:24px;padding:36px;width:100%;max-width:400px;box-shadow:0 15px 60px #34373b08}.lock-card .brand-icon{width:56px;height:56px;margin-bottom:23px;border-radius:17px}.lock-card h1{font-size:25px}.lock-card>p{font-size:14px;color:var(--muted);margin:10px 0 25px}.lock-card .field{margin-bottom:17px}.lock-card .button{margin-top:3px}.lock-note{font-size:12px;color:var(--muted);margin-top:20px;text-align:center}.password-input{position:relative}.password-input .input{padding-right:56px}.password-toggle{position:absolute;right:6px;top:4px;min-height:42px;min-width:44px;border:0;background:transparent;color:var(--muted);font-size:12px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 19px;border-radius:12px;font-size:14px;max-width:min(90vw,460px);z-index:30;box-shadow:0 6px 22px #25282c22;transition:opacity .15s;opacity:0;pointer-events:none}.toast.visible{opacity:1}.toast a{color:#cbc9c7;text-decoration:underline}.dialog{border:1px solid var(--line);border-radius:20px;padding:0;max-width:440px;width:calc(100% - 32px);background:white;color:var(--ink);box-shadow:0 24px 90px #181b1f30}.dialog::backdrop{background:#21242866;backdrop-filter:blur(2px)}.dialog-body{padding:26px}.dialog h2{font-size:20px;margin-bottom:12px}.dialog p{font-size:14px;color:var(--muted);line-height:1.8}.dialog-actions{padding:0 26px 26px;display:flex;gap:10px;flex-wrap:wrap}.dialog-actions .button{flex:1}.dialog .candidate{border:1px solid var(--line);border-radius:10px;margin-top:10px}.dialog-close{float:right;min-width:36px;min-height:36px;border:0;background:transparent;font-size:24px;color:var(--muted)}.connection-banner{position:fixed;top:0;left:0;right:0;z-index:40;background:#a03e48;color:white;text-align:center;font-size:13px;padding:9px 16px}.connection-banner[hidden]{display:none}[hidden]{display:none!important}
.brand-name,.brand-sub{display:block}
.money-input{position:relative}.money-input>span{position:absolute;left:15px;top:12px;color:var(--muted);font:18px/26px var(--utility)}.money-input .input{padding-left:35px;font-variant-numeric:tabular-nums}.service-price{margin-top:7px;color:var(--rose-dark);font:600 15px/1.6 var(--utility)}.service-price.unknown{font:12px/1.6 var(--body);color:var(--muted)}
@media(min-width:1450px){.content{padding:42px 48px}.home-grid{grid-template-columns:450px 1fr}}
@media(max-width:1100px){.shell{grid-template-columns:182px 1fr}.sidebar{padding:28px 15px}.brand-name{font-size:15px}.brand-icon{width:34px;height:34px}.brand-sub{font-size:10px}.content{padding:28px 24px 45px}.home-grid{grid-template-columns:1fr}.today-panel{order:2}.form-layout{grid-template-columns:1fr}.form-aside{display:none}.detail-grid{grid-template-columns:245px 1fr}.settings-grid{grid-template-columns:1fr}}
@media(max-width:720px){.shell{display:block}.sidebar{display:none}.content{padding:23px 16px calc(105px + env(safe-area-inset-bottom));min-height:100dvh}.page-header{margin-bottom:21px;gap:12px;align-items:flex-start}.page-header .eyebrow{font-size:12px;margin-bottom:4px}h1{font-size:25px}.page-header .sub{font-size:13px;margin-top:6px}.header-actions .button{padding:9px 12px;min-height:44px;font-size:13px;margin-top:3px}.header-actions .button svg{width:16px;height:16px}.home-grid{gap:18px}.panel-title{padding:19px 18px 15px}.panel-title h2{font-size:17px}.panel-body{padding:0 18px 20px}.search-wrap{margin:0 17px 8px}.result-info{padding:6px 18px 10px}.customer-row{padding:0 5px}.customer-open{padding:15px 12px;gap:10px}.customer-last{font-size:13px}.quick-record{padding:10px 9px;font-size:12px}.avatar{width:40px;height:40px;min-width:40px}.today-list{padding:0 18px 12px}.today-row{grid-template-columns:40px 1fr;gap:12px;padding:18px 0}.hint-strip{font-size:12px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:#ffffffef;border-top:1px solid var(--line);padding:8px 10px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;z-index:15;backdrop-filter:blur(12px)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;border-radius:12px;gap:3px;color:var(--muted);font-size:11px}.mobile-nav a.active{background:var(--rose-light);color:var(--rose-dark);font-weight:700}.mobile-nav svg{width:21px;height:21px}.mobile-nav a.record-nav{flex-direction:row;gap:7px;background:var(--rose);color:white;font-size:14px}.mobile-nav a.record-nav svg{width:19px}.toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:13px}.detail-grid{display:block}.profile{padding:20px;margin-bottom:22px}.profile-top{display:flex;gap:14px;align-items:center}.profile .avatar{width:50px;height:50px;min-width:50px;margin:0;border-radius:15px;font-size:22px}.profile h2{font-size:22px}.profile-phone{margin-top:6px;font-size:16px;min-height:24px}.profile .profile-meta{margin-top:17px;padding:13px 0 0}.profile-actions{display:flex;gap:10px;margin-top:14px}.profile .button{margin-top:0;flex:1}.profile-meta:empty{display:none}.record-stats{margin:0 0 18px}.record-card{padding:17px 18px}.record-projects{font-size:16px}.form-layout{display:block}.form-panel{padding:20px 18px}.field{margin-bottom:23px}.form-footer{margin-top:17px}.form-footer .button{min-height:54px}.new-customer-fields{padding:16px 13px}.project-option{font-size:14px;padding:8px 11px}.project-input-row .button{font-size:14px;padding:10px 12px}.date-change{font-size:13px}.settings-grid{gap:18px}.settings-group h2{padding:19px 18px 9px}.settings-row{padding:16px 18px;gap:11px}.settings-note{padding:14px 18px 20px}.inline-form{padding:17px 18px}.plain-row{padding:15px 18px}.lock-card{padding:30px 25px}.dialog-body{padding:23px}.dialog-actions{padding:0 23px 23px}.draft-banner{padding:10px 13px}.back-link{margin-bottom:6px}.button{font-size:14px}.narrow{max-width:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:720px){.form-shell .mobile-nav{display:none}.form-shell .content{padding-bottom:calc(150px + env(safe-area-inset-bottom))}.form-shell .form-footer{position:fixed;bottom:var(--keyboard-offset,0px);left:0;right:0;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fffefa;border-top:1px solid var(--line);z-index:15}.keyboard-open .form-shell .form-footer{display:none}.form-shell .save-status{margin-top:7px;font-size:12px}.form-shell .save-status.error{max-height:90px;overflow:auto}.form-shell .form-footer .danger-text{min-height:40px;font-size:12px;padding:6px}.brand-name,.brand-sub{display:block}}
/* Reading and touch sizes for the primary, middle-aged and older audience. */
:root{--muted:#595c60;--line:#d6d4d2}body{font-size:18px}.small,.caption,.muted,.page-header .eyebrow,.page-header .sub,.result-info,.customer-phone,.customer-last,.today-date,.today-note,.time-label,.row-description,.settings-note,.field-help,.optional,.required-dot,.field-error,.record-meta,.record-stats,.profile-label,.save-status,.tag{font-size:16px}.input{font-size:20px;min-height:58px}.input::placeholder{color:#6b6e72}.button{min-height:56px;font-size:18px}.icon-button{min-width:52px;min-height:52px}.customer-name,.record-projects,.today-project{font-size:20px}.customer-phone{line-height:1.6}.quick-record{font-size:17px;min-height:56px;display:flex;align-items:center}.field-label{font-size:18px}.field-help{line-height:1.7}.back-link{font-size:18px;min-height:52px}.project-option{font-size:18px;min-height:54px;padding:12px 15px;border-color:#c3c6ca}.project-option.selected{background:#5b5e62;border-color:#5b5e62;color:white}.project-chip{font-size:18px;min-height:48px}.project-chip button{min-width:40px;min-height:40px}.more-details summary{font-size:16px;min-height:48px}.date-change{font-size:17px;min-height:52px}.date-line strong{font-size:18px}.service-price{font-size:20px}.service-price.unknown{font-size:16px}.customer-type{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:17px}.type-choice{min-height:58px;border:1px solid #c0c3c7;background:white;border-radius:12px;font-size:19px;font-weight:650}.type-choice.selected{background:var(--rose-light);border:2px solid var(--rose);color:var(--rose-dark)}.type-choice.selected::before{content:'✓ ';font-weight:700}.candidate{min-height:76px;padding:15px}.candidate .customer-name{font-size:20px}.candidate-help{padding:15px}.selected-customer .change{font-size:16px;min-height:52px}.new-customer-title{font-size:17px}.dialog p{font-size:17px}.dialog-actions .button{min-height:58px}.toast{font-size:17px}.password-toggle{font-size:16px;min-height:50px}.lock-card>p,.lock-note{font-size:16px}.settings-row{min-height:90px}.row-title{font-size:19px}.nav-item{font-size:18px;min-height:56px}.customer-open{padding-top:20px;padding-bottom:20px}.record-note{font-size:18px}.record-card{padding:22px}.side-foot{font-size:14px}.plain-row strong{font-size:18px}
.required-dot,.optional{flex-shrink:0;white-space:nowrap}.customer-phone,.profile-phone{overflow-wrap:anywhere}.selected-customer{display:grid;grid-template-columns:44px minmax(0,1fr)}.selected-customer .change{grid-column:1/-1;width:100%;background:white;border:1px solid var(--line);border-radius:10px;margin-top:5px}
.selected-customer{grid-template-columns:minmax(0,1fr) auto}.selected-customer .avatar{display:none}.selected-customer .change{grid-column:auto;width:auto;padding:8px 12px;margin-top:0}.selected-customer .customer-phone{font-size:18px}
.header-actions .button{white-space:nowrap;flex-shrink:0}.customer-panel>.panel-title{display:none}.customer-panel>.search-wrap{margin-top:20px}
.query-workspace{max-width:760px}.task-entries{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:28px}.task-entry{display:flex;align-items:center;gap:16px;padding:26px;border:1px solid var(--line);background:white;border-radius:18px;min-height:130px}.task-entry>div{flex:1}.task-entry strong{font-size:24px}.task-entry p{font-size:16px;color:var(--muted);margin-top:8px}.task-entry>svg:first-child{width:34px;height:34px;color:var(--rose)}.task-entry>svg:last-child{width:20px;color:var(--muted)}.primary-task{background:var(--rose);color:white;border-color:var(--rose)}.primary-task p,.primary-task>svg{color:white!important}.recent-saves{max-width:760px}.recent-save{display:block;padding:18px 0;border-bottom:1px solid var(--line)}.recent-save:last-child{border:0}.recent-save strong{font-size:20px}.recent-save p{font-size:18px;margin-top:6px}.stage-title{font-size:22px;margin-bottom:20px}.service-person{display:flex;align-items:center;gap:12px;padding:15px 16px;border:1px solid #c3c6ca;background:var(--rose-light);border-radius:12px;margin-bottom:24px}.service-person>div{flex:1;min-width:0}.service-person strong{font-size:21px;overflow-wrap:anywhere}.service-person p{font-size:18px;margin:4px 0 0}.service-person .button{padding:10px 14px}.saved-card{max-width:640px;margin:20px auto;text-align:center}.saved-check{display:grid;place-items:center;background:var(--sage-light);color:var(--sage);width:76px;height:76px;border-radius:50%;margin:0 auto 20px}.saved-check svg{width:40px;height:40px}.saved-card h1{font-size:32px}.saved-explain{font-size:18px;color:var(--muted);margin:12px 0 26px}.saved-summary{margin:0;background:white;border:1px solid var(--line);border-radius:18px;padding:8px 22px;text-align:left}.saved-summary>div{display:grid;grid-template-columns:65px 1fr;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}.saved-summary>div:last-child{border:0}.saved-summary dt{color:var(--muted);font-size:18px}.saved-summary dd{margin:0;font-size:20px;overflow-wrap:anywhere;white-space:pre-wrap}.saved-summary dd span{display:block;margin-top:5px;font-size:18px;color:var(--muted)}.saved-actions{display:grid;gap:12px;margin-top:24px}.saved-actions .button{min-height:60px}.form-shell:has(.saved-card) .mobile-nav{display:none}
@media(max-width:720px){.task-entries{grid-template-columns:1fr;gap:14px;margin-bottom:24px}.task-entry{padding:22px 20px;min-height:122px}.task-entry strong{font-size:25px}.task-entry p{font-size:17px}.recent-saves .panel-title{padding-bottom:6px}.service-person{padding:14px 12px}.service-person strong{font-size:20px}.service-person p{font-size:17px}.stage-title{font-size:23px}.saved-card{margin:10px 0}.saved-summary{padding:5px 18px}.saved-summary>div{grid-template-columns:48px 1fr;gap:12px}.saved-summary dd{font-size:20px}.saved-actions{margin-top:20px}.saved-card .saved-explain{font-size:17px}.record-aside{display:none}}
@media(max-width:720px){.content{padding-bottom:calc(130px + env(safe-area-inset-bottom))}.page-header{align-items:center}.page-header .eyebrow,.page-header .sub{font-size:16px}.page-header .sub{line-height:1.6}.header-actions .button{font-size:17px;min-height:54px;padding:11px 14px}h1{font-size:28px}.panel-title h2{font-size:22px}.search-wrap input{height:64px;font-size:20px;padding-left:44px}.search-wrap svg{top:21px}.search-clear{top:11px;width:44px;height:44px}.customer-name{font-size:20px}.customer-phone,.customer-last,.result-info{font-size:16px}.customer-open{gap:10px}.quick-record{font-size:17px}.today-person{font-size:20px}.today-project{font-size:19px}.today-note{font-size:16px}.today-row .edit-link{font-size:16px;min-height:44px}.hint-strip{display:none}.mobile-nav{padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.mobile-nav a{font-size:17px;min-height:64px;gap:5px}.mobile-nav a.record-nav{font-size:20px}.mobile-nav svg{width:25px;height:25px}.mobile-nav a.record-nav svg{width:23px}.profile h2{font-size:27px}.profile-phone{font-size:20px}.profile-meta{font-size:18px}.profile .button{font-size:18px}.record-stats,.record-meta{font-size:16px}.record-projects{font-size:21px}.record-note{font-size:18px}.day-heading{font-size:20px}.form-panel{padding:22px 18px}.project-option{font-size:18px;min-height:56px;padding:12px 13px}.project-input-row .button{font-size:17px;padding:12px}.form-footer .button{font-size:21px;min-height:64px}.form-shell .content{padding-bottom:calc(165px + env(safe-area-inset-bottom))}.form-shell .save-status{font-size:16px}.form-shell .form-footer .danger-text{font-size:16px;min-height:48px}.date-line{flex-wrap:wrap}.date-change{font-size:17px}.settings-group h2{font-size:22px}.settings-row{padding:20px 18px}.settings-note{font-size:16px}.lock-card h1{font-size:28px}.button{font-size:18px}.draft-banner{font-size:16px;align-items:flex-start}.draft-banner button{min-width:90px;min-height:52px;font-size:17px}.dialog h2{font-size:23px}.dialog p{font-size:18px}.dialog-actions{flex-direction:column}.tag{font-size:15px}.toast{bottom:calc(108px + env(safe-area-inset-bottom))}.customer-type{gap:9px}.type-choice{font-size:19px}}
