@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&display=swap');
:root{--ink:#29231f;--muted:#8e8580;--line:#eee8e3;--paper:#fcfaf8;--rose:#c47d7c;--rose-light:#f8e8e5;--sage:#dce7dd;--sage-ink:#54705b;--sand:#f4ecde;--plum:#41323b;--white:#fff;--shadow:0 12px 35px #38221a0d}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);padding:0 8px 47px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--plum);color:#f5dfd5;font:italic 25px 'Playfair Display',serif}.brand b{display:block;letter-spacing:2.4px;font-size:13px}.brand small,.side-label,.version{font-size:9px;letter-spacing:1.6px;color:#a49a94}.brand small{display:block;margin-top:4px}.side-label{padding:0 12px 13px;font-weight:700}.sidebar nav{display:grid;gap:5px}.nav{border:0;background:transparent;text-align:left;color:#7e746e;padding:13px 12px;border-radius:9px;font-size:13px;display:flex;gap:13px;align-items:center}.nav span{font-size:17px;color:#a78e85;width:20px;text-align:center}.nav.active,.nav:hover{background:#f7efed;color:#47342e;font-weight:600}.side-bottom{margin-top:auto}.local-note{border:1px solid var(--line);border-radius:10px;padding:12px 10px;display:flex;align-items:center;gap:10px}.local-note b,.local-note small{display:block}.local-note b{font-size:11px}.local-note small{font-size:9px;color:var(--muted);margin-top:4px}.dot{width:7px;height:7px;border-radius:50%;background:#78a586;box-shadow:0 0 0 3px #e5f0e8}.version{display:block;margin:20px 7px 0;font-size:8px}main{margin-left:248px;padding:0 48px 60px;max-width:1720px}.topbar{height:102px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:31px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.65px;color:#a4978e}.topbar h1{font:500 25px 'Playfair Display',serif;margin:6px 0 0}.top-actions{display:flex;align-items:center;gap:20px}.month-picker{display:grid;gap:4px}.month-picker label{font-size:8px;letter-spacing:1.3px;color:var(--muted)}.month-picker input{border:0;background:transparent;color:var(--ink);font-weight:600;font-size:12px}.primary{border:0;background:var(--plum);color:white;border-radius:8px;padding:12px 18px;font-size:12px;font-weight:600;box-shadow:0 4px 10px #41323b20}.primary:hover{background:#59454e}.primary span{margin-left:13px}.view.hidden{display:none}.welcome{min-height:264px;background:#4d3b44;border-radius:13px;color:#fff;display:flex;justify-content:space-between;overflow:hidden;padding:35px 43px;position:relative}.welcome>div:first-child{position:relative;z-index:1}.eyebrow.light{color:#e5c9bd}.welcome h2{font:500 33px/1.14 'Playfair Display',serif;margin:14px 0 12px;letter-spacing:-.4px}.welcome h2 em{color:#e4b7aa}.welcome p{color:#e3d9d8;font-size:11px;max-width:370px;line-height:1.7;margin:0 0 17px}.light-button{border:0;border-radius:7px;background:#f6e7e0;padding:11px 14px;color:#4c3941;font-size:11px;font-weight:700}.light-button span{margin-left:18px}.welcome-art{width:36%;position:relative;min-width:240px}.orb{position:absolute;border:1px solid #ffffff30;border-radius:50%;width:230px;height:230px;right:30px;top:5px}.orb-two{width:180px;height:180px;right:55px;top:30px;border-color:#deb9aa70}.line-art{position:absolute;right:84px;top:37px;font:115px 'Playfair Display',serif;color:#edcfc0;transform:rotate(-15deg)}.art-caption{position:absolute;right:19px;bottom:3px;color:#e6ccc0;font-size:8px;letter-spacing:2px;line-height:1.8;text-align:right}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:34px 0 16px}.section-heading h2,.list-head h2,.form-intro h2{font:500 23px 'Playfair Display',serif;margin:6px 0 0}.live-tag{font-size:10px;color:#8d827d;display:flex;align-items:center;gap:8px}.live-tag .dot{width:6px;height:6px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px 17px 16px;min-height:125px}.metric.accent{background:#efe7e2}.metric-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1px;font-weight:700;color:#8d827c}.metric strong{display:block;font:500 24px 'Playfair Display',serif;margin:13px 0 5px;letter-spacing:-.5px}.metric small{color:#9d928c;font-size:9px}.metric-icon{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;font-size:12px}.blush{background:#f8e8e5;color:#b57170}.sand{background:#f3ebdc;color:#ae9061}.sage{background:#e6eee6;color:#65836c}.dark{background:#dcd0cd;color:#59464d}.lower-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;margin-top:17px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px}.panel-head{display:flex;align-items:center;justify-content:space-between}.panel h3{font:500 16px 'Playfair Display',serif;margin:6px 0}.muted-chip{font-size:9px;background:#f6f2ef;color:#8a7d76;padding:7px 9px;border-radius:20px}.empty{color:#a19690;font-size:11px;padding:27px 0 9px;line-height:1.7}.scope-note{font-size:9px;color:#9f958e;margin:13px 1px;line-height:1.7}.text-button{border:0;background:none;color:#9b7771;font-size:10px;font-weight:600}.form-intro,.list-head{display:flex;align-items:center;justify-content:space-between;margin:8px 0 23px}.form-intro p,.list-head p{color:#948983;font-size:11px;margin:8px 0 0}.step-badge{font-size:8px;letter-spacing:1.2px;color:#9b7972;border:1px solid #eaded8;padding:9px 11px;border-radius:30px}.step-badge i{font-style:normal;color:#c5b7ae;margin:0 5px}.form-grid{display:grid;gap:13px}.form-panel{padding:22px 23px}.form-section-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.number{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f6eae6;color:#ac716b;font:11px 'Playfair Display',serif}.form-section-title b{display:block;font:500 14px 'Playfair Display',serif}.form-section-title small{display:block;color:#a19690;font-size:9px;margin-top:4px}.field-row{display:flex;gap:13px;align-items:end}.field{display:grid;gap:7px;flex:1;min-width:0}.field label{font-size:8px;font-weight:700;color:#9c8f87;letter-spacing:1.1px}.field input,.field select,.field textarea,.list-toolbar input,.list-toolbar select{width:100%;border:1px solid #eae3de;border-radius:7px;background:#fff;padding:11px 12px;color:var(--ink);font-size:11px;outline:none}.field input:focus,.field select:focus,.field textarea:focus,.list-toolbar input:focus{border-color:#cda6a0;box-shadow:0 0 0 3px #f6eae6}.field input::placeholder,.list-toolbar input::placeholder{color:#c0b8b2}.grow{flex:1}.outline{background:#fff;border:1px solid #e8dcd6;color:#906b65;border-radius:7px;padding:10px 13px;font-size:10px;white-space:nowrap}.divider{height:1px;background:#f0ebe7;margin:22px 0}.timer-row{display:flex;gap:13px}.timer-button{border:0;background:none;color:#9b716b;padding:13px 0 0;font-size:10px;font-weight:600}.timer-button span{font-size:15px;vertical-align:-1px;margin-right:5px}.product-controls{display:flex;gap:13px;margin:0 0 10px}.product-controls .field:last-child{max-width:170px}.product-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:246px;overflow:auto;padding:1px}.product-option{display:flex;align-items:center;justify-content:space-between;gap:9px;text-align:left;border:1px solid #efe9e5;background:#fff;border-radius:8px;padding:9px 10px}.product-option:hover{border-color:#cca7a0;background:#fffaf8}.product-option b{display:block;font-size:10px;font-weight:600;line-height:1.4}.product-option small{display:block;color:#aa9d95;font-size:8px;margin-top:4px}.product-option .add{flex:0 0 21px;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#f6e9e6;color:#a96f69;font-size:13px}.selected-wrap{overflow:auto;margin-top:13px}.selected-table{width:100%;border-collapse:collapse;min-width:520px}.selected-table th{text-align:left;font-size:8px;color:#a2948c;letter-spacing:.8px;padding:9px;border-bottom:1px solid var(--line)}.selected-table td{padding:10px 9px;border-bottom:1px solid #f4f0ed;font-size:10px}.selected-table td:first-child{font-weight:600}.qty-input{width:78px;border:1px solid #ebe4df;border-radius:5px;padding:7px;font-size:10px}.remove-line{border:0;background:transparent;color:#bd918a;font-size:15px}.table-empty{text-align:center;color:#b3a8a1!important;padding:20px!important}.cost-total{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding:14px 15px;background:#f8f3f0;border-radius:7px;font-size:10px;color:#756a64}.cost-total strong{font:500 18px 'Playfair Display',serif;color:#483840}.form-footer{display:flex;align-items:center;justify-content:space-between;padding:7px 2px}.form-footer>span{font-size:9px;color:#9d928c}.list-head{margin-top:8px}.list-head .primary{white-space:nowrap}.list-toolbar{display:flex;align-items:center;gap:10px;padding-bottom:15px}.list-toolbar input{max-width:370px}.list-toolbar select{width:auto;min-width:135px}.list-toolbar .muted-chip{margin-left:auto}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;font-size:8px;letter-spacing:.8px;color:#9e928a;padding:11px 9px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:13px 9px;border-bottom:1px solid #f4f0ed;font-size:10px;vertical-align:top}.data-table tr:last-child td{border-bottom:0}.person-cell b,.person-cell small{display:block}.person-cell b{font-size:11px}.person-cell small{font-size:9px;color:#a49a93;margin-top:4px}.tag{background:#f4eeeb;color:#8e6f67;border-radius:20px;padding:5px 8px;font-size:8px;white-space:nowrap}.subtle{color:#a29790}.profit{color:#617f68;font-weight:600}.catalog-stats{display:flex;gap:10px;margin-bottom:15px}.catalog-stat{display:flex;align-items:baseline;gap:9px;background:#f4ede8;padding:11px 15px;border-radius:8px}.catalog-stat b{font:500 18px 'Playfair Display',serif}.catalog-stat span{font-size:9px;color:#968a82}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#40333a;color:#fff;padding:12px 18px;border-radius:8px;font-size:11px;box-shadow:var(--shadow);transition:.25s;z-index:5}.toast.show{opacity:1;transform:translate(-50%,0)}.modal{position:fixed;inset:0;background:#2b202777;z-index:4;display:grid;place-items:center;padding:20px}.modal.hidden{display:none}.modal-card{width:min(100%,420px);background:#fff;border-radius:13px;padding:30px;position:relative;box-shadow:0 18px 55px #20181530}.modal-card h2{font:500 23px 'Playfair Display',serif;margin:7px 0 21px}.modal-card form{display:grid;gap:15px}.modal-close{position:absolute;right:17px;top:14px;border:0;background:none;color:#9b8d85;font-size:23px}.full{width:100%;margin-top:4px}.no-data{text-align:center;padding:32px;color:#9f958f;font-size:11px}.toast.error{background:#903f44}
@media(max-width:1120px){main{padding:0 26px 45px}.sidebar{width:215px}.sidebar+main{margin-left:215px}.metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.sidebar{width:auto;height:67px;inset:auto 0 0;padding:7px 10px;border-right:0;border-top:1px solid var(--line);flex-direction:row}.brand,.side-label,.side-bottom{display:none}.sidebar nav{width:100%;display:flex;justify-content:space-around;gap:1px}.nav{flex:1;justify-content:center;flex-direction:column;gap:2px;padding:4px 2px;font-size:8px}.nav span{font-size:15px}main,.sidebar+main{margin:0;padding:0 15px 90px}.topbar{height:80px;margin-bottom:20px}.topbar h1{font-size:21px}.top-actions{gap:10px}.month-picker{display:none}.primary{padding:11px 13px}.primary span{margin-left:5px}.welcome{padding:26px 24px;min-height:235px}.welcome h2{font-size:28px}.welcome p{max-width:280px}.welcome-art{position:absolute;right:-85px;top:22px;opacity:.55}.section-heading{margin-top:25px}.lower-grid{grid-template-columns:1fr}.form-intro,.list-head{align-items:flex-start;gap:13px}.form-intro h2,.list-head h2{font-size:22px}.form-panel{padding:17px}.field-row,.timer-row{flex-direction:column;align-items:stretch}.field-row>.outline{align-self:flex-start}.product-controls{flex-direction:column}.product-controls .field:last-child{max-width:none}.product-options{grid-template-columns:1fr;max-height:205px}.form-footer{align-items:flex-start;gap:12px;flex-direction:column}.list-head .primary{font-size:9px;padding:10px}.panel{padding:15px}.data-table{min-width:700px}.panel:has(.data-table){overflow:auto}.list-toolbar{flex-wrap:wrap}.list-toolbar input{max-width:none;width:100%}.list-toolbar select{flex:1}.catalog-stats{overflow:auto}.catalog-stat{white-space:nowrap}.metrics{gap:8px}.metric{padding:13px;min-height:120px}.metric strong{font-size:20px}.metric-top{font-size:7px}.form-intro .step-badge{white-space:nowrap}.scope-note{margin-bottom:20px}}
.time-row,.recent-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1ece8;padding:13px 0}.time-row:first-child,.recent-row:first-child{margin-top:12px}.time-row span,.recent-row div{font-size:10px;font-weight:600}.time-row small,.recent-row small{display:block;font-size:8px;color:#a59a93;margin-top:5px;font-weight:400}.time-row b{font:500 15px 'Playfair Display',serif;color:#6c5056}.recent-row strong{font:500 14px 'Playfair Display',serif}.time-row+.empty{padding-top:21px}
/* Loolaby Style identity: use the approved warm palette without the green. */
:root{--ink:#642b3b;--muted:#a4767e;--line:#f1dfe1;--paper:#fffdf5;--rose:#f25781;--rose-light:#fde4ed;--sage:#fbe6ed;--sage-ink:#a82b4c;--sand:#fff5bf;--plum:#762a42;--white:#fffef8;--shadow:0 12px 35px #8f35420d}
body{background:var(--paper);color:var(--ink);font-family:'Goldplay','DM Sans',sans-serif}.sidebar{background:#fffef8;border-right-color:#f3dfe3}.brand{color:var(--ink);padding-bottom:42px}.brand-name{display:block;color:#f00027;line-height:.78}.brand-name b{display:block;font:600 37px/0.8 'Caveat','Fraunces',cursive;letter-spacing:-1.2px}.brand-name small{display:block;margin:7px 0 0 34px;color:#f25781;font-size:8px;letter-spacing:4px;font-weight:700}.side-label,.eyebrow{color:#bb7d88}.version{color:#bd8990}.nav{color:#986773}.nav span{color:#f25781}.nav.active,.nav:hover{background:#ffe6ed;color:#8b2d48}.local-note{background:#fffaf3;border-color:#f2e0df}.dot{background:#f25781;box-shadow:0 0 0 3px #fde6ed}.topbar{border-bottom-color:#f1dfe1}.topbar h1,.section-heading h2,.list-head h2,.form-intro h2,.panel h3,.modal-card h2{font-family:'Rodrego','Fraunces','DM Sans',serif;color:#762a42}.welcome{background:linear-gradient(113deg,#f00027 0%,#f25781 48%,#f28dbc 100%);box-shadow:inset 0 0 0 1px #ffffff20}.welcome h2{font-family:'Rodrego','Fraunces',serif}.welcome h2 em{font-family:'Fraunces',serif;color:#fff249}.welcome p{color:#fff5ef}.eyebrow.light{color:#fff5bf}.orb{border-color:#fff9d955}.orb-two{border-color:#fff9d988}.line-art{color:#fff5bf}.art-caption{color:#fff4dd}.light-button{background:#fff249;color:#762a42}.live-tag .dot{background:#f25c05;box-shadow:0 0 0 3px #fff0d3}.metric{background:#fffef9;border-color:#f0e1de}.metric.accent{background:#fff4b7}.metric-top{color:#ac727b}.metric strong{font-family:'Fraunces',serif;color:#762a42}.metric small{color:#a1797d}.blush{background:#fde4ed;color:#f00027}.sand{background:#fff5bf;color:#d5741d}.sage{background:#fde4ed;color:#f25781}.dark{background:#ffdce6;color:#c4002d}.orange{background:#ffead8;color:#c45713}.red{background:#fde4ed;color:#f00027}.yellow{background:#fff249;color:#a13a48}.panel{background:#fffef9;border-color:#f1e3de;box-shadow:0 5px 18px #772a4207}.muted-chip{background:#fff2eb;color:#a56e72}.text-button{color:#f00027}.step-badge{color:#aa4b62;border-color:#f0cfd6}.number{background:#ffe7ed;color:#d92f56}.field label{color:#a67079}.field input:focus,.field select:focus,.field textarea:focus,.list-toolbar input:focus{border-color:#f28dbc;box-shadow:0 0 0 3px #fde5ed}.field input,.field select,.field textarea,.list-toolbar input,.list-toolbar select{border-color:#f0e1dd;background:#fffefb;color:#642b3b}.field input::placeholder,.list-toolbar input::placeholder{color:#c29da1}.outline{border-color:#efcbd3;color:#bd3c5c;background:#fffaf6}.product-option{border-color:#f1e6e1;background:#fffefb}.product-option:hover{border-color:#f28dbc;background:#fff3f5}.product-option .add{background:#fde6eb;color:#ed315c}.selected-table th,.data-table th{color:#aa7b7d;border-color:#f1e4df}.selected-table td,.data-table td{border-color:#f6eeea;color:#6d3947}.selected-table td:first-child,.person-cell b{color:#642b3b}.qty-input{border-color:#f0e1dd;color:#642b3b}.cost-total{background:#fff5e5;color:#8d5b57}.cost-total strong{color:#762a42;font-family:'Fraunces',serif}.form-footer>span,.scope-note{color:#a57d80}.primary{background:#f00027;color:#fffdf5;box-shadow:0 4px 10px #f0002733}.primary:hover{background:#cb0025}.profit{color:#bb294d;font-weight:600}.tag{background:#ffe9ed;color:#b83251}.catalog-stat{background:#fff1e4}.catalog-stat b{font-family:'Fraunces',serif;color:#f00027}.catalog-stat span{color:#a47c7e}.toast{background:#762a42}.toast.error{background:#b32245}.modal-card{background:#fffef9}.modal-close{color:#b68087}.time-row,.recent-row{border-top-color:#f2e6e1}.time-row b{color:#f00027;font-family:'Fraunces',serif}.recent-row strong{font-family:'Fraunces',serif;color:#762a42}
h1,h2,h3{font-family:'Fraunces','DM Sans',serif}.photo-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px;padding-top:17px;border-top:1px solid #f2e6e1}.photo-fields input[type=file]{font-size:10px;padding:9px}.photo-fields small{font-size:8px;color:#a57d80}.photo-cell{white-space:nowrap}.photo-cell img{width:38px;height:38px;object-fit:cover;border-radius:7px;margin-right:4px;border:1px solid #f2d7dc}.expense-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:14px}.expense-form{display:grid;gap:14px}.expense-form .field-row{align-items:end}.expense-form .primary{justify-self:start;margin-top:4px}.expense-sum{font:500 18px 'Fraunces',serif;color:#f00027}.expense-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #f4e9e4}.expense-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#fff1e4;color:#f25c05}.expense-info{flex:1;min-width:90px}.expense-info b,.expense-info small{display:block}.expense-info b{font-size:10px;color:#642b3b}.expense-info small{font-size:8px;color:#ab8384;margin-top:4px}.expense-date{font-size:8px;color:#aa7e82}.expense-row strong{font:500 13px 'Fraunces',serif;color:#762a42}
@media(min-width:1121px){.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.sidebar nav{gap:0}.nav{font-size:7px}.brand-name b{font-size:32px}.photo-fields,.expense-layout{grid-template-columns:1fr}.expense-form .field-row{flex-direction:column}.expense-date{display:none}}
.description-row{margin-top:14px}.description-row textarea{resize:vertical;min-height:82px}.service-notes{font-size:9px;line-height:1.55;color:#94626c;margin-top:6px;max-width:320px;white-space:normal}.service-notes b{color:#762a42}.product-details{margin-top:6px;font-size:9px;max-width:220px;white-space:normal;color:#94626c}.product-details summary{cursor:pointer;color:#b23453}.product-details div{padding:5px 0;line-height:1.5}.client-thumb{width:35px;height:35px;border-radius:50%;object-fit:cover;float:left;margin:0 8px 3px 0;border:1px solid #f2cbd4}.person-cell small{max-width:260px;line-height:1.45;white-space:normal}
.review-flag{display:inline-block;padding:5px 8px;border-radius:999px;background:#fff1d6;color:#7a4b13;font-size:11px;font-weight:700;cursor:help}
.panel:has(.data-table){overflow-x:auto}.data-table{min-width:700px}.review-flag{display:inline-block;padding:5px 8px;border-radius:999px;background:#fff1d6;color:#7a4b13;font-size:11px;font-weight:700;cursor:help}
@media(max-width:1120px){.list-toolbar{flex-wrap:wrap}.list-toolbar input{flex:1;min-width:190px;max-width:none}.list-toolbar select{flex:0 0 165px}.list-toolbar .muted-chip{white-space:nowrap}}
.list-toolbar .muted-chip{flex:0 0 auto;min-width:max-content;white-space:nowrap}
.client-link{background:none;border:0;padding:0;color:var(--ink,#514143);font:inherit;text-align:left;cursor:pointer}.client-link:hover{color:var(--rose,#a86474);text-decoration:underline}.detail-back{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.text-button{background:none;border:0;color:var(--rose,#a86474);font:inherit;cursor:pointer}.detail-actions{display:flex;gap:10px;align-items:center}.client-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:16px 0 22px}.summary-item{background:#fffaf8;border:1px solid #eee2dc;border-radius:14px;padding:14px;white-space:pre-line}.summary-item small,.summary-item span{display:block}.summary-item small{color:#987d7a;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}.review-pair{border:1px solid #eee2dc;border-radius:14px;padding:16px;margin:12px 0;background:#fffdfb}.review-profiles{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}.review-profiles>div{min-width:0}.review-profiles b,.review-profiles small{display:block;overflow-wrap:anywhere}.review-profiles small,.review-reason{color:#987d7a;margin-top:5px}.review-vs{color:#ad7380;font-weight:700}.review-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.visit-card{border-top:1px solid #eee2dc;padding:18px 4px}.visit-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.visit-top small{display:block;color:#987d7a;margin-top:8px}.visit-card p{white-space:pre-line;line-height:1.55}.visit-cost{font-size:13px;color:#806c69}.photo-cell img{max-width:110px;max-height:110px;object-fit:cover;border-radius:10px;margin:8px 8px 0 0}.review-help{color:#806c69}@media(max-width:680px){.review-profiles{grid-template-columns:1fr}.review-vs{display:none}.review-actions,.detail-actions{flex-wrap:wrap}.detail-heading{align-items:flex-start;gap:14px}}
.profile-hero{display:flex;align-items:center;gap:18px}.profile-avatar{width:92px;height:92px;object-fit:cover;border-radius:50%;border:4px solid #fff;box-shadow:0 6px 24px #ac617b30}.profile-list-cell{display:flex;align-items:center;gap:12px}.profile-list-cell>span{display:flex;flex-direction:column}.photo-mini,.photo-thumb{padding:0;border:0;background:transparent;cursor:zoom-in}.client-thumb{width:54px;height:54px;object-fit:cover;border-radius:50%;border:2px solid white;box-shadow:0 3px 12px #ac617b2a}.agenda-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 24px}.agenda-card{min-height:160px;background:linear-gradient(145deg,#fffdf8,#fff0f4 70%,#fff9da)}.agenda-line{display:flex;flex-direction:column;padding:10px 0;border-top:1px solid #f4e1e5}.agenda-line small{color:#a17b83;margin-top:3px}.agenda-grid .empty{font-size:13px;padding:12px 0}.visit-open{border:0;background:transparent;padding:0;text-align:left;font:inherit;cursor:pointer;display:flex;align-items:center;gap:10px}.visit-open:hover .tag{background:#ffdae6}.visit-arrow{font-size:12px;color:#b54c6b}.photo-gallery{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px}.photo-thumb{position:relative;width:min(260px,45%);height:230px;border-radius:16px;overflow:hidden;box-shadow:0 8px 25px #74394b20}.photo-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.photo-thumb:hover img{transform:scale(1.04)}.photo-thumb span{position:absolute;z-index:1;top:10px;left:10px;background:#fffdf0e8;color:#98435c;border-radius:20px;padding:6px 10px;font-size:10px;letter-spacing:.1em;font-weight:700}.photo-viewer{position:relative;background:#fffdf9;border:1px solid #f5d9e2;border-radius:22px;padding:22px;max-width:min(92vw,1000px);max-height:92vh;box-shadow:0 25px 80px #552a3d30}.photo-viewer img{display:block;max-width:86vw;max-height:78vh;object-fit:contain;border-radius:12px}.photo-viewer #photo-caption{text-align:center;color:#8e5364;margin-top:12px}.record-card{max-height:90vh;overflow:auto}.compact-edit{padding:7px 12px}.modal{backdrop-filter:blur(5px);background:#6b415244}.modal-card{border:1px solid #f4dce3;box-shadow:0 25px 70px #6f40542c}.agenda-card:nth-child(2){background:linear-gradient(150deg,#fffdf9,#fdf0e8 65%,#fff6cc)}.agenda-card:nth-child(3){background:linear-gradient(150deg,#fffefa,#fdeef5 65%,#fff6cf)}.topbar{background:radial-gradient(ellipse at 100% 0,#ffeaf0aa,transparent 47%),transparent}.welcome{background-color:#c65f83;background-image:radial-gradient(ellipse at 12% 110%,#f8bbce 0 12%,transparent 48%),radial-gradient(ellipse at 92% -20%,#f8d96caa 0 10%,transparent 45%),linear-gradient(130deg,#b84b72,#d87c94 58%,#e7a9a0)}.metric:nth-child(odd){background:linear-gradient(145deg,#fffefb,#fff1f4)}.metric:nth-child(even){background:linear-gradient(145deg,#fffefc,#fff8df)}@media(max-width:900px){.agenda-grid{grid-template-columns:1fr 1fr}.agenda-card:last-child{grid-column:1/-1}}@media(max-width:620px){.agenda-grid{grid-template-columns:1fr}.agenda-card:last-child{grid-column:auto}.profile-avatar{width:66px;height:66px}.photo-thumb{width:100%;height:210px}.profile-list-cell{min-width:190px}}
.brand-waves{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 12px 16px #762a4235);animation:wave-drift 11s ease-in-out infinite alternate}.welcome-art{isolation:isolate;overflow:hidden}.welcome-art:after{content:"";position:absolute;width:52%;height:45%;right:4%;top:3%;background:#fff7dd30;border-radius:68% 32% 60% 40%/42% 50% 50% 58%;z-index:-1}.welcome-art .art-caption{position:absolute;right:8%;bottom:11%;font-size:12px;letter-spacing:.14em;line-height:1.8;color:#762a42;background:#fffdf0e8;border-radius:48% 52% 42% 58%/58% 38% 62% 42%;padding:18px 25px;transform:rotate(-5deg)}@keyframes wave-drift{from{transform:translate(-5px,3px) rotate(-2deg)}to{transform:translate(8px,-5px) rotate(2deg)}}
.nav[data-view="dashboard"].active,.nav[data-view="dashboard"]:hover{background:#fde5ed;color:#b3234c}.nav[data-view="new-service"].active,.nav[data-view="new-service"]:hover{background:#fff0df;color:#c45713}.nav[data-view="clients"].active,.nav[data-view="clients"]:hover{background:#fff5bf;color:#9b5a16}.nav[data-view="history"].active,.nav[data-view="history"]:hover{background:#e5f6fb;color:#167f9e}.nav[data-view="expenses"].active,.nav[data-view="expenses"]:hover{background:#ffe6eb;color:#c4002d}.nav[data-view="catalog"].active,.nav[data-view="catalog"]:hover{background:#f5e8fa;color:#8a3f96}.nav[data-view="dashboard"] span{color:#f25781}.nav[data-view="new-service"] span{color:#f25c05}.nav[data-view="clients"] span{color:#d99a00}.nav[data-view="history"] span{color:#3cb4e5}.nav[data-view="expenses"] span{color:#f00027}.nav[data-view="catalog"] span{color:#ad63a9}
#client-list tr[data-open-client]{cursor:pointer;transition:background .18s}#client-list tr[data-open-client]:hover{background:#fff4f5}#client-list tr[data-open-client]:hover .client-link{color:#f00027}.field #client-search-input{margin-bottom:7px}.visit-card{min-width:0;overflow:hidden;border-radius:14px}.visit-top>div{min-width:0;max-width:100%}.visit-open{max-width:100%;min-width:0;white-space:normal;flex-wrap:wrap;overflow-wrap:anywhere}.visit-open .tag{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.visit-card .subtle,.service-subtitle{overflow-wrap:anywhere;white-space:pre-line}.service-detail-panel{padding:clamp(20px,4vw,42px);overflow:hidden}.service-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid #f1dfe1;padding-bottom:20px}.service-detail-head h2{margin:9px 0;font:500 clamp(24px,4vw,36px) 'Rodrego','Fraunces',serif;color:#762a42;overflow-wrap:anywhere}.service-subtitle{color:#98556a}.service-detail-client{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;margin:18px 0;background:linear-gradient(110deg,#fff2f4,#fff9e7);border-radius:18px}.service-detail-client>div{display:flex;flex-direction:column;gap:5px}.service-detail-client small,.service-detail-descriptions small{color:#b16e7d;letter-spacing:.08em;font-size:10px}.service-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.service-detail-grid .summary-item{min-width:0;overflow-wrap:anywhere}.service-detail-descriptions{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:18px}.service-detail-descriptions article{background:#fffaf3;border:1px solid #f2e4da;border-radius:14px;padding:16px;min-width:0}.service-detail-descriptions p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#784356}.service-detail-products{margin-top:20px}.service-detail-products h3{color:#762a42}.product-used-line{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid #f2e6e1;overflow-wrap:anywhere}.product-used-line span{min-width:0}.service-detail-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 4px}.service-detail-footer span{color:#aa7b82;font-size:13px}.history-photo{padding:0;border:0;background:none;cursor:zoom-in}.history-photo img{max-width:130px;max-height:140px;object-fit:cover;border-radius:12px}.calendar-connect-card{max-width:520px}.calendar-connect-card p{line-height:1.6;color:#875c64}.calendar-status{display:block;min-height:24px;color:#9c6774;line-height:1.5}.disconnect-calendar{margin-top:16px}.agenda-client-link{text-align:left}.agenda-line .client-link{font-weight:700;color:#762a42}.agenda-card .panel-head{gap:8px}.agenda-card .panel-head>div{min-width:0}@media(max-width:900px){.service-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.service-detail-head,.service-detail-footer{flex-direction:column;align-items:stretch}.service-detail-grid{grid-template-columns:1fr 1fr}.service-detail-client{align-items:flex-start;flex-direction:column}.service-detail-panel{padding:16px}.welcome-art .art-caption{right:5%;bottom:5%;font-size:9px;padding:13px 17px}}
.calendar-note{background:#fff8e5;border-left:3px solid #fff249;border-radius:0 12px 12px 0;padding:12px 14px;font-size:13px;color:#79515b}

/* Secciones con fondos completos de la paleta y marcos gráficos de referencia. */
body{--page-bg:#fff5f8}
body[data-page="dashboard"]{--page-bg:#fff0f5}
body[data-page="new-service"]{--page-bg:#fff3e8}
body[data-page="clients"],body[data-page="client-detail"]{--page-bg:#fff8dc}
body[data-page="history"],body[data-page="service-detail"]{--page-bg:#eaf8fc}
body[data-page="expenses"]{--page-bg:#fff0ed}
body[data-page="catalog"]{--page-bg:#f7effa}
body{background:var(--page-bg)}main{min-height:100vh;background-color:var(--page-bg);transition:background-color .2s ease}
#dashboard .welcome{background-color:#fff8f1;background-image:radial-gradient(ellipse 70% 125% at 100% 20%,#f28dbc38 0 38%,transparent 39%),radial-gradient(ellipse 75% 120% at 96% 108%,#fff24940 0 35%,transparent 36%),linear-gradient(135deg,#fff9e9,#fdeef3 58%,#fff4e8);color:#6e3d53;box-shadow:0 12px 34px #91475d14;border:1px solid #f5dfe6}
#dashboard .welcome-art{position:absolute;inset:0;width:100%;height:100%;min-width:0;pointer-events:none;z-index:0;overflow:hidden}.brand-waves{position:absolute;inset:0;width:100%;height:100%;opacity:.86}.welcome>div:first-child{z-index:1}.eyebrow.light{color:#a75e79}.welcome h2{color:#713a53}.welcome h2 em{color:#bd6687}.welcome p{color:#795c6a}.light-button{background:#f5dce5;color:#713a53;border:1px solid #ecc8d5}.light-button:hover{background:#f1cedb}
#clients>.list-head{min-height:180px;padding:24px 30px;border-radius:24px;background-color:#fffaf0;background-image:radial-gradient(ellipse 55% 115% at 95% -20%,#f28dbc48 0 48%,transparent 49%),radial-gradient(ellipse 54% 95% at 88% 130%,#fff24954 0 42%,transparent 43%),linear-gradient(120deg,#fffaf1,#fff2f5);box-shadow:0 8px 25px #8a294311}
#history>.list-head{min-height:180px;padding:24px 30px;border-radius:24px;background-color:#f3fbfd;background-image:radial-gradient(ellipse 60% 125% at 100% -10%,#3cb4e536 0 46%,transparent 47%),radial-gradient(ellipse 65% 110% at 95% 130%,#f28dbc32 0 39%,transparent 40%),linear-gradient(130deg,#f8fcfc,#eef8fb);box-shadow:0 8px 25px #167f9e11}
#clients>.panel,#history>.panel,#client-detail>.panel{background:#fffefaed;backdrop-filter:blur(4px)}
.history-cards{display:grid;gap:14px;padding:16px}
.history-card{padding:18px 20px;background:#fffdfa;border:1px solid #dcedf1;border-radius:18px;box-shadow:0 6px 20px #167f9e10;cursor:pointer;transition:transform .16s,box-shadow .16s}
.history-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px #167f9e1d}
.history-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.history-card-head h3{margin:0 0 5px;color:#60354a;font:500 24px 'Fraunces',serif}
.history-card-head small,.history-subservice{color:#92717b}
.history-subservice{margin:7px 0 12px}
.history-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.history-info-grid>div{display:grid;gap:5px;padding:10px 12px;background:#f3fafb;border-radius:12px;min-width:0}
.history-info-grid small,.history-description small,.history-products>small{font-size:9px;letter-spacing:.12em;color:#3687a0;font-weight:700}
.history-info-grid b{color:#684052;overflow-wrap:anywhere}
.history-description{padding:10px 0;border-top:1px solid #e9f1f2}
.history-description p,.history-products p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;color:#674d59}
.history-products{display:grid;gap:6px;padding:12px 0;border-top:1px solid #e9f1f2}
.history-products span{color:#735464;font-size:12px}
.history-card-bottom{display:flex;align-items:center;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #e9f1f2}
.history-photo img{width:58px;height:58px;object-fit:cover;border-radius:10px}
.visit-detail-link{margin-left:auto;font-size:12px;color:#2788a1}
.visit-compact{padding:16px 18px;background:#fffefa;border:1px solid #f2e4db;cursor:pointer;transition:box-shadow .15s,transform .15s}
.visit-compact:hover{transform:translateY(-1px);box-shadow:0 8px 22px #713e4a16}
.visit-compact-head,.visit-compact-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
.visit-compact-head h4{margin:0 0 4px;color:#71374c;font-size:17px;font-weight:600}
.visit-compact-head small{display:block;color:#987987;margin-top:4px}
.visit-compact-head>b{color:#a63c60;white-space:nowrap}
.visit-compact-footer{margin-top:12px;padding-top:10px;border-top:1px solid #f3e8e8;color:#97727b;font-size:12px}
.visit-compact-footer .visit-detail-link{margin-left:0}
.visit-detail-modal-card{max-width:820px;max-height:90vh;overflow:auto;padding:28px;background:#fffdfb}
.visit-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:14px;border-top:1px solid #f1e4e5;color:#a17782;font-size:12px}
.visit-edit-button{padding:8px 14px;font-size:12px}
.calendar-actions{display:flex;gap:8px;flex-wrap:wrap}
.agenda-grid{grid-template-columns:minmax(0,1.7fr) minmax(250px,.8fr)}
.agenda-tomorrow{background:#fffdfa}
.agenda-birthdays{background:linear-gradient(145deg,#fffefa,#fff6d8)}
.agenda-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.calendar-month-modal-card{max-width:720px;max-height:90vh;overflow:auto;background:#fffdfa;padding:26px}
.calendar-month-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 18px}
.calendar-month-heading h2{margin:0;text-align:center;text-transform:capitalize;color:#74394e;font:500 25px 'Fraunces',serif}
.calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.month-weekday{text-align:center;color:#8d7580;font-weight:700;font-size:11px;padding:6px 2px}
.month-day{min-height:62px;border:1px solid #f0e2e5;border-radius:12px;background:#fff;padding:7px;color:#634252;text-align:left;display:flex;flex-direction:column;gap:5px}
.month-day:not(.empty-day):hover,.month-day.selected{background:#fff1f5;border-color:#f28dbc}
.month-day.has-events{border-color:#f25781;background:#fff7f4}
.month-day span{font-weight:700}
.month-day i{font-style:normal;font-size:9px;color:#b94767}
.empty-day{visibility:hidden;border:0}
.calendar-selected-day{margin-top:20px;padding-top:15px;border-top:1px solid #f0e2e5}
.calendar-selected-day h3{margin:0 0 8px;text-transform:capitalize;color:#71374c;font:500 20px 'Fraunces',serif}
@media(max-width:900px){.agenda-grid{grid-template-columns:1fr 1fr}.agenda-tomorrow{grid-column:1/-1}.history-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#dashboard .welcome-art{min-height:170px}.agenda-grid{grid-template-columns:1fr}.agenda-tomorrow{grid-column:auto}.agenda-actions{justify-content:flex-start}.history-card{padding:14px}.history-card-head{align-items:flex-start;flex-direction:column}.history-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-card-bottom{flex-wrap:wrap}.visit-detail-modal-card,.calendar-month-modal-card{padding:18px}.month-day{min-height:52px;padding:5px}.month-day i{font-size:8px}}
:root{--ink:#623a50;--muted:#927887;--plum:#743a55;--sage:#fff0f5;--sage-ink:#a34868}
.dot{background:#f25781;box-shadow:0 0 0 3px #ffe2ec}
.service-detail-procedure,.service-detail-subservice{margin:14px 0;padding:13px 16px;background:#fff8f7;border:1px solid #f2e2e8;border-radius:14px;min-width:0}
.service-detail-procedure small,.service-detail-subservice small,.history-procedure small,.history-subservice small{display:block;color:#ad6d83;font-size:9px;font-weight:700;letter-spacing:.12em}
.service-detail-procedure p,.service-detail-subservice p,.history-procedure p,.history-subservice p{margin:6px 0 0;color:#654458;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.service-detail-head{min-width:0}.service-detail-head>div{min-width:0}.service-detail-head h2{max-width:100%;overflow-wrap:anywhere}.visit-duration-chip{flex:none;white-space:nowrap;background:#f8eaf0;border-radius:999px;padding:8px 12px;color:#8a4a64;font-size:12px}
.history-procedure,.history-subservice{padding:10px 0;border-top:1px solid #edf2f2;min-width:0}.history-card-head h3{overflow-wrap:anywhere}.history-open-button{flex:none;background:#f8eaf0;border-color:#efd2dd;color:#82445e;padding:8px 12px}
.history-card-head{align-items:center}.visit-compact-head h4{overflow-wrap:anywhere;line-height:1.4}
.calendar-open-button{background:#f7dfe8!important;border-color:#efcbd8!important;color:#754159!important;font-weight:700;padding:9px 13px;white-space:nowrap}.calendar-open-button:hover{background:#f2cfdd!important}
.primary{background:#edb4c6!important;border:1px solid #e7a0b7!important;color:#68394e!important;box-shadow:none!important}.primary:hover{background:#e89fb7!important}
@media(max-width:620px){.service-detail-procedure,.service-detail-subservice{padding:11px 12px}.service-detail-head{align-items:flex-start}}

.client-search-row{display:flex;gap:8px;align-items:center}.client-search-row input{flex:1;min-width:0;margin-bottom:0!important}.client-search-row button{flex:0 0 auto}.field:has(.client-search-row){position:relative}.client-suggestions{position:absolute;z-index:30;top:100%;left:0;right:0;max-height:280px;overflow:auto;margin-top:5px;padding:5px;border:1px solid #f0d8df;border-radius:13px;background:#fffdfb;box-shadow:0 12px 30px #63243a20}.client-suggestions.hidden{display:none}.client-suggestion{display:flex;width:100%;flex-direction:column;gap:2px;padding:10px 12px;border:0;border-radius:9px;background:transparent;text-align:left;color:#70263f;cursor:pointer}.client-suggestion:hover{background:#fff0f4}.client-suggestion small,.suggestion-empty{color:#927d83;font-size:.82rem}.suggestion-empty{padding:12px}.appointment-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.appointment-line-main{min-width:0;flex:1}.appointment-link{display:flex;flex-direction:column;gap:4px;color:inherit;text-decoration:none}.appointment-link:hover b{color:#d84b78;text-decoration:underline}.appointment-link small{color:#927d83}.appointment-line>.client-link{flex:0 0 auto}

.profile-photo-block{width:118px;flex:0 0 118px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.profile-photo-frame{position:relative;width:92px;height:92px;flex:0 0 92px;display:grid;place-items:center;padding:0;overflow:hidden;border:1px dashed #dba7b6;border-radius:50%;background:linear-gradient(145deg,#fff7f9,#fffdf4);color:#bd7891}.profile-photo-frame.has-photo{border-style:solid;border-width:3px;border-color:#fff;box-shadow:0 5px 18px #ac617b30;cursor:zoom-in}.profile-photo-frame .profile-avatar{display:block;width:100%;height:100%;border:0;border-radius:50%;box-shadow:none;object-fit:cover}.profile-photo-frame .profile-avatar.hidden{display:none}.profile-photo-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:27px;font-weight:300}.profile-photo-upload{display:inline-block;padding:6px 9px;font-size:9px;cursor:pointer}.profile-photo-block>small{font-size:8px;color:#a18e94;line-height:1.4}.photo-placeholder{display:block;width:54px;height:54px;flex:0 0 54px;border:1px dashed #dba7b6;border-radius:50%;background:linear-gradient(145deg,#fff7f9,#fffdf4)}.calendar-month-heading h2{text-align:left;flex:1}.calendar-selected-day,.calendar-month-events,.calendar-month-modal-card .agenda-line{text-align:left}.calendar-month-modal-card .agenda-line{align-items:flex-start}.calendar-month-modal-card .appointment-line{align-items:center}.appointment-line-main{text-align:left}
@media(max-width:620px){.profile-photo-block{width:82px;flex-basis:82px}.profile-photo-frame{width:66px;height:66px;flex-basis:66px}.photo-placeholder{width:54px;height:54px}}

#dashboard .welcome-brand{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:center;min-height:230px;height:clamp(210px,24vw,290px);padding:25px;overflow:hidden;border:1px solid #f1d9e2;border-radius:24px;color:white;background:linear-gradient(130deg,#fbeaf0,#f5d9e2 52%,#faeff0);box-shadow:0 12px 34px #91475d12}
.welcome-curves{position:absolute;z-index:-1;inset:0;width:100%;height:100%;opacity:.29;filter:blur(1px)}
.welcome-logo{display:block;width:min(310px,52vw);max-height:150px;object-fit:contain;filter:drop-shadow(0 3px 10px #75283e72);opacity:.96}
.client-photo-edit{display:flex;align-items:center;gap:15px;padding:12px;background:#fff8f8;border:1px solid #f2e2e6;border-radius:12px}.client-photo-edit-preview{width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;overflow:hidden;border:1px dashed #dba7b6;border-radius:50%;background:#fff;color:#bd7891}.client-photo-edit-preview img{width:100%;height:100%;object-fit:cover;border-radius:50%}.client-photo-edit-preview img.hidden{display:none}.client-photo-edit-preview span{font-size:23px}.client-photo-edit .field small{font-size:9px;color:#a18e94;line-height:1.4}
@media(max-width:620px){#dashboard .welcome-brand{min-height:190px;height:190px}.welcome-logo{width:min(230px,64vw);max-height:115px}.client-photo-edit{align-items:flex-start}}
.photo-pick-button{display:inline-block;width:max-content;cursor:pointer}

#dashboard .welcome-brand{height:clamp(215px,25vw,300px);min-height:215px;display:grid;place-items:center;padding:18px;background:linear-gradient(135deg,#f8e2e9 0%,#f5d6e0 52%,#f8e8ed 100%);}
#dashboard .welcome-brand .welcome-curves{position:absolute;z-index:0;inset:0;width:100%;height:100%;display:block;fill:none;stroke:#e83c66;stroke-width:96;stroke-linecap:round;stroke-linejoin:round;opacity:.26;filter:none}
#dashboard .welcome-brand .welcome-curves path:nth-child(2){stroke:#f083a2;stroke-width:74;opacity:.72}
#dashboard .welcome-brand .welcome-curves path:nth-child(3){stroke:#df3158;stroke-width:52;opacity:.52}
#dashboard .welcome-brand .welcome-brand-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;height:100%;pointer-events:none}
#dashboard .welcome-brand .welcome-logo{display:block!important;position:relative;width:clamp(165px,21vw,255px)!important;height:auto!important;max-width:65%!important;max-height:58%!important;object-fit:contain;flex:0 1 auto;opacity:1;filter:drop-shadow(0 2px 8px #70283c78)}
#dashboard .welcome-brand .welcome-subtitle{margin-top:0;color:#fff;font-size:clamp(12px,1.45vw,17px);font-weight:600;letter-spacing:.12em;text-shadow:0 1px 7px #70283c80}
@media(max-width:620px){#dashboard .welcome-brand{height:190px;min-height:190px}#dashboard .welcome-brand .welcome-logo{width:190px!important;max-height:100px!important}.welcome-curves{stroke-width:70}}
#dashboard .welcome-brand .welcome-curves{stroke-width:112;opacity:.24}
#dashboard .welcome-brand .welcome-curves .curve-red{stroke:#ed174c;stroke-width:116;opacity:.30}
#dashboard .welcome-brand .welcome-curves .curve-mid{stroke:#e72f61;stroke-width:94;opacity:.30}
#dashboard .welcome-brand .welcome-curves .curve-bottom{stroke:#ed174c;stroke-width:108;opacity:.26}
#dashboard .welcome-brand .welcome-curves .curve-loop{stroke:#f39ab7;stroke-width:76;opacity:.48}
#dashboard .welcome-brand .welcome-logo{width:clamp(205px,24vw,300px)!important;max-height:60%!important}
#dashboard .welcome-brand .welcome-subtitle{font-size:clamp(15px,1.7vw,20px);letter-spacing:.1em}
@media(max-width:620px){#dashboard .welcome-brand .welcome-logo{width:215px!important;max-height:108px!important}#dashboard .welcome-brand .welcome-subtitle{font-size:15px}}

#dashboard .welcome-brand{height:auto;min-height:0;aspect-ratio:2.15/1;padding:24px;overflow:hidden;background:#f4dce5;}
#dashboard .welcome-brand::before{content:"";position:absolute;z-index:0;inset:0;background:url("cover-waves.jpeg") center/cover no-repeat;opacity:.34;filter:saturate(.72) brightness(1.08);}
#dashboard .welcome-brand .welcome-brand-content{z-index:1;gap:8px;}
#dashboard .welcome-brand .welcome-logo{width:clamp(290px,34vw,440px)!important;max-width:68%!important;max-height:68%!important;}
#dashboard .welcome-brand .welcome-subtitle{font-size:clamp(19px,2vw,25px);letter-spacing:.11em;text-shadow:0 2px 9px #64233e9c;}
@media(max-width:620px){#dashboard .welcome-brand{aspect-ratio:1.45/1;min-height:250px;padding:15px}#dashboard .welcome-brand .welcome-logo{width:min(285px,74vw)!important;max-height:150px!important}#dashboard .welcome-brand .welcome-subtitle{font-size:19px}}
#dashboard .welcome-brand .welcome-logo{width:clamp(340px,42vw,590px)!important;}
#dashboard .welcome-brand .welcome-subtitle{font-size:clamp(21px,2.15vw,27px);}
@media(max-width:620px){#dashboard .welcome-brand .welcome-logo{width:min(285px,74vw)!important}#dashboard .welcome-brand .welcome-subtitle{font-size:20px}}
#dashboard .welcome-brand .welcome-logo{width:clamp(320px,38vw,520px)!important;}
#dashboard .welcome-brand .welcome-subtitle{font-size:clamp(18px,1.85vw,22px);}
@media(max-width:620px){#dashboard .welcome-brand .welcome-logo{width:min(250px,70vw)!important}#dashboard .welcome-brand .welcome-subtitle{font-size:17px}}
.brand{padding-bottom:42px;justify-content:flex-start}.brand-logo{display:block;width:118px;max-width:100%;height:61px;object-fit:contain;object-position:left center}
@media(max-width:780px){.brand-logo{width:118px;height:61px}}
#dashboard .welcome-brand .welcome-brand-content{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;height:auto;max-width:100%;text-align:center}
#dashboard .welcome-brand .welcome-subtitle{text-align:center}
.visit-edit-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}.delete-visit-button{padding:9px 12px;border:1px solid #f1cbd4;border-radius:8px;background:#fff7f8;color:#b4435d;font-size:11px;font-weight:600}.delete-visit-button:hover{background:#fce8ed}
.auth-screen{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#fff8f4,#fbe9ee 58%,#fff6d7)}.auth-screen.hidden{display:none}.auth-card{width:min(100%,430px);padding:34px;border:1px solid #efd8dc;border-radius:24px;background:rgba(255,255,255,.9);box-shadow:0 24px 70px rgba(108,49,69,.12)}.auth-card>img{display:block;width:150px;height:auto;margin:0 auto 24px}.auth-card>.eyebrow,.auth-card h1,.auth-card>p{text-align:center}.auth-card h1{margin:8px 0;color:#73273f;font-family:Georgia,serif;font-size:32px}.auth-card>p{margin:0 0 24px;color:#7b6a70;line-height:1.55}.auth-card form{display:grid;gap:10px}.auth-card form label{margin-top:8px;color:#70414e;font-size:12px;font-weight:700}.auth-card form input{width:100%;padding:13px 14px;border:1px solid #e5cbd2;border-radius:10px;background:#fffdfb;color:#472b35;font:inherit}.auth-card form button{margin-top:10px}.auth-message{min-height:24px;margin:12px 0;color:#7a4454;font-size:13px;line-height:1.5}.auth-card #auth-switch{display:block;margin:0 auto}.auth-private-note{display:block;margin-top:22px;color:#927f83;text-align:center}.cloud-mode .shell{display:none}.cloud-mode .shell.cloud-ready{display:flex}.cloud-mode #sign-out{display:block!important}.auth-message.error{color:#ad2944}

/* Keep client portraits circular and centered in both list and profile views. */
.photo-mini{display:block;width:58px;height:58px;flex:0 0 58px;overflow:hidden;border-radius:50%;line-height:0}
.photo-mini .client-thumb{display:block;float:none;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;margin:0;border-radius:50%}
.profile-photo-frame{aspect-ratio:1/1}
.profile-photo-frame .profile-avatar{display:block;aspect-ratio:1/1;object-fit:cover;object-position:center;border-radius:50%}

.expense-form .field-row,.expense-form .field-row>.field{width:100%;min-width:0;max-width:100%}
.expense-form input[type="date"]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding-right:9px}

/* Fill the available desktop canvas and keep every section within phone width. */
@media(min-width:1121px){main,.sidebar+main{width:calc(100% - 248px);max-width:none;padding-left:clamp(28px,3vw,56px);padding-right:clamp(28px,3vw,56px)}}
@media(min-width:781px) and (max-width:1120px){main,.sidebar+main{width:calc(100% - 215px);max-width:none;min-width:0;padding-left:clamp(20px,3vw,34px);padding-right:clamp(20px,3vw,34px)}}
@media(max-width:780px){html,body{width:100%;max-width:100%;overflow-x:hidden}.shell{width:100%;min-width:0}.sidebar{height:calc(67px + env(safe-area-inset-bottom));padding-bottom:calc(7px + env(safe-area-inset-bottom))}main,.sidebar+main{width:100%;max-width:100%;min-width:0;margin:0;padding:0 15px calc(90px + env(safe-area-inset-bottom))}.view,.panel,.lower-grid,.expense-layout,.agenda-grid,.metrics{min-width:0;max-width:100%}.panel{padding:clamp(14px,4vw,20px)}.panel-head,.list-head,.form-intro{flex-wrap:wrap}.field-row,.photo-fields{width:100%;grid-template-columns:minmax(0,1fr)}.field-row>.field{width:100%;min-width:0}.form-footer,.detail-actions,.agenda-actions{flex-wrap:wrap}.list-toolbar{min-width:0}.list-toolbar input{min-width:0;max-width:100%}#client-list,#catalog-list{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.modal{padding:12px}.modal-card{max-width:100%;max-height:calc(100dvh - 24px);overflow-y:auto}.photo-viewer{max-width:calc(100vw - 24px);padding:14px}.photo-viewer img{max-width:calc(100vw - 56px);max-height:72dvh}}

.team-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.team-panel{padding:24px}.team-panel p{color:var(--muted,#83777b);line-height:1.6}.team-panel small{display:block;color:var(--muted,#83777b);margin-top:10px}.team-invite-form label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.team-invite-row{display:flex;gap:10px}.team-invite-row input{flex:1;min-width:0}.team-list{display:grid;gap:10px}.team-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line,#f0e1e3)}.team-row span{display:grid;gap:4px;min-width:0}.team-row b{overflow-wrap:anywhere}.team-row small{margin:0}.small-danger{border:0;background:#fff0f1;color:#9e4658;border-radius:10px;padding:9px 12px;cursor:pointer}@media(max-width:760px){.team-columns{grid-template-columns:1fr}.team-invite-row{flex-wrap:wrap}.team-invite-row button{width:100%}}

.cloud-mode:not([data-role="owner"]) [data-owner-finance],.cloud-mode:not([data-role="owner"]) [data-owner-only-nav]{display:none!important}
