@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root{--gold:#c9963e;--gold-soft:#f3e7d0;--ink:#171719;--muted:#77746f;--line:#e3dfd7;--canvas:#f5f3ef;--surface:#fff;--green:#237a57;--red:#b34141;--shadow:0 24px 70px rgba(28,25,20,.1)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:"DM Sans",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}img{display:block;max-width:100%}
.eyebrow{display:inline-flex;align-items:center;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:#8c867d}.eyebrow.light{color:#d0b174}
.primary-button,.gold-button,.dark-button{border:0;background:var(--gold);color:#17130d;border-radius:12px;min-height:44px;padding:0 18px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:14px;transition:.2s ease}
.primary-button:hover,.gold-button:hover{background:#b98632;transform:translateY(-1px)}.primary-button.large{min-height:54px;width:100%;font-size:15px}.dark-button{background:#171719;color:#fff}

/* Accès et inscription */
.auth-body{background:#ece9e3;min-height:100vh}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(390px,.86fr) minmax(560px,1.14fr);background:#fff}.auth-story{position:relative;min-height:100vh;padding:48px 56px;color:#fff;background:radial-gradient(circle at 80% 5%,rgba(201,150,62,.26),transparent 34%),linear-gradient(145deg,#080809,#1b1918 70%,#0d0d0e);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-story:after{content:"";position:absolute;width:620px;height:620px;border:1px solid rgba(201,150,62,.16);border-radius:50%;right:-380px;bottom:-170px;box-shadow:0 0 0 70px rgba(201,150,62,.03),0 0 0 140px rgba(201,150,62,.025)}
.logo-link{position:relative;z-index:2;width:132px;height:132px;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 14px 40px rgba(0,0,0,.25)}.logo-link img{width:100%;height:100%;object-fit:cover}.auth-story>div{position:relative;z-index:2;max-width:540px}.auth-story h1{font:800 clamp(46px,5vw,74px)/.98 "Manrope";letter-spacing:-.06em;margin:20px 0 24px}.auth-story>div>p{font-size:17px;line-height:1.7;color:#aaa6a1;max-width:500px}.auth-story>small{position:relative;z-index:2;color:#77736f;font-size:10px;letter-spacing:.25em;text-transform:uppercase}.quote-card{margin-top:44px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.055);backdrop-filter:blur(10px);padding:22px}.quote-card span,.quote-card small{display:block;color:#8f8b87;font-size:11px}.quote-card strong{display:block;margin:9px 0;font:700 17px "Manrope"}.story-points{display:grid;gap:12px;margin-top:35px}.story-points span{display:flex;align-items:center;gap:12px;color:#c8c4bf;font-size:13px}.story-points b{display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(201,150,62,.45);border-radius:9px;color:#d5ab63;font-size:9px}
.auth-panel{padding:60px;display:flex;justify-content:center;align-items:center;background:#faf9f7}.register-panel{align-items:flex-start;overflow:auto}.auth-form-wrap{width:min(100%,500px)}.auth-form-wrap.wide{width:min(100%,720px)}.auth-heading h2{font:800 clamp(38px,4vw,54px)/1.05 "Manrope";letter-spacing:-.055em;margin:16px 0 10px}.auth-heading p{color:#817d77;margin:0 0 34px}.auth-heading a,.form-between a,.check-field a{color:#8a601e;font-weight:700}.auth-form{display:grid;gap:20px}.auth-form fieldset{border:0;padding:0;margin:0 0 6px;display:grid;gap:16px}.auth-form legend{width:100%;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:17px;font:700 14px "Manrope"}.auth-form legend span{display:inline-grid;place-items:center;width:26px;height:26px;background:#171719;color:#d5aa61;border-radius:8px;font-size:9px;margin-right:9px}.field-grid{display:grid;gap:14px}.field-grid.two{grid-template-columns:1fr 1fr}.field{display:grid;gap:7px}.field>span{font-size:12px;font-weight:700;color:#4a4742}.field input,.field select,.field textarea{width:100%;height:49px;border:1px solid #d9d4cb;border-radius:11px;background:#fff;padding:0 14px;outline:none;transition:.2s}.field textarea{height:auto;padding-block:12px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(201,150,62,.11)}.field small{color:#a19c94;font-size:10px}.check-field{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:#69655f;line-height:1.5}.check-field input{accent-color:var(--gold);width:16px;height:16px;flex:0 0 auto}.check-field.compact{align-items:center}.form-between{display:flex;justify-content:space-between;align-items:center;font-size:11px}.form-alert{border:1px solid #efd0c7;background:#fff2ee;color:#8e3829;border-radius:12px;padding:13px 15px;margin-bottom:20px;font-size:12px;line-height:1.55}.form-alert strong{display:block}.form-alert ul{margin:5px 0 0;padding-left:18px}.form-note,.secure-note{text-align:center;color:#9c9790;font-size:10px;margin:0}.secure-note{margin-top:28px}.honeypot{position:absolute;left:-10000px}.mobile-auth-logo{display:none}.error-card{width:min(540px,calc(100% - 30px));margin:10vh auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:42px;text-align:center;box-shadow:var(--shadow)}.error-card img{width:110px;height:110px;object-fit:cover;margin:0 auto 25px;border-radius:18px}.error-card h1{font:800 36px/1.05 "Manrope";letter-spacing:-.05em}.error-card p{color:var(--muted);line-height:1.6}.error-card .primary-button{margin-top:15px}

/* Dashboard commun */
.dashboard-body{background:var(--canvas);min-height:100vh}.dashboard-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#111113;color:#fff;padding:24px 16px 18px;display:flex;flex-direction:column;z-index:60;border-right:1px solid #29282a}.sidebar-brand{width:80px;height:80px;margin:0 10px 18px;background:#fff;border-radius:16px;overflow:hidden}.sidebar-brand img{width:100%;height:100%;object-fit:cover}.sidebar-nav{display:flex;flex-direction:column;gap:3px;overflow:auto;padding-right:3px}.nav-caption{font-size:8px;text-transform:uppercase;letter-spacing:.18em;color:#625f62;font-weight:800;margin:17px 12px 8px}.sidebar-nav a{min-height:42px;display:flex;align-items:center;gap:11px;border-radius:10px;color:#aaa6aa;padding:0 11px;font-size:12px;font-weight:600;transition:.18s}.sidebar-nav a:hover{background:#1b1b1e;color:#fff}.sidebar-nav a.active{background:#252320;color:#fff;box-shadow:inset 3px 0 var(--gold)}.sidebar-nav i{font-style:normal;width:22px;height:22px;border:1px solid #3a383a;border-radius:7px;display:grid;place-items:center;font-size:10px}.sidebar-nav a.active i{color:#d7aa60;border-color:#6d5732}.sidebar-nav b{margin-left:auto;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:7px;background:#2d2c2f;color:#c3bfc4;font-size:8px}.sidebar-nav b.warn{background:#542a29;color:#f2b0a8}.sidebar-plan{margin-top:auto;background:linear-gradient(145deg,#2a241b,#1d1b18);border:1px solid #393128;border-radius:13px;padding:14px}.sidebar-plan span{font-size:8px;text-transform:uppercase;letter-spacing:.13em;color:#ac8a51}.sidebar-plan strong{display:block;font-size:11px;margin:7px 0}.sidebar-plan a{font-size:9px;color:#cba15b}.sidebar-profile{display:flex;align-items:center;gap:9px;border-top:1px solid #29282b;margin-top:14px;padding:14px 5px 0}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#dbc28f;color:#191713;font-size:10px;font-weight:800}.sidebar-profile>div{min-width:0;flex:1}.sidebar-profile strong,.sidebar-profile small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile strong{font-size:10px}.sidebar-profile small{font-size:8px;color:#77747a;margin-top:3px}.sidebar-profile form,.sidebar-profile button{border:0;background:transparent;color:#77747a;padding:3px}.dashboard-main{grid-column:2;min-width:0}.dashboard-topbar{height:72px;position:sticky;top:0;z-index:40;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;gap:20px}.sidebar-toggle{display:none;border:0;background:transparent;font-size:20px}.quick-search{display:flex;align-items:center;gap:9px;width:min(380px,38vw);color:#9a968f}.quick-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;font-size:11px}.quick-search kbd{font:500 8px "DM Sans";background:#f0ede8;border:1px solid #dfdbd4;border-radius:5px;padding:4px 6px}.top-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.public-link{font-size:10px;font-weight:700;margin-right:6px}.icon-button{width:39px;height:39px;border:1px solid var(--line);background:#fff;border-radius:11px;position:relative}.icon-button i{position:absolute;width:5px;height:5px;background:#bd4a3e;border:1px solid #fff;border-radius:50%;right:8px;top:7px}.gold-button,.dark-button{font-size:11px}.dashboard-content{padding:38px 34px 60px;max-width:1600px;margin:0 auto}.success-banner{background:#ecf7f0;border:1px solid #cce7d6;border-radius:15px;padding:13px 16px;display:flex;align-items:center;gap:11px;margin-bottom:24px}.success-banner>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#267655;color:white;font-weight:800}.success-banner strong,.success-banner p{display:block;margin:0}.success-banner strong{font-size:11px}.success-banner p{font-size:10px;color:#5b7567;margin-top:3px}.success-banner button{margin-left:auto;border:0;background:transparent}.welcome-row{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;margin-bottom:31px}.welcome-row h1{font:800 clamp(30px,3vw,44px)/1.05 "Manrope";letter-spacing:-.055em;margin:10px 0 7px}.welcome-row p{margin:0;color:#817d76;font-size:13px}.location-pill,.period-select{border:1px solid var(--line);border-radius:12px;background:#fff;min-width:210px;height:56px;padding:0 14px;display:flex;align-items:center;gap:10px}.location-pill>span{color:#3a9266;font-size:9px}.location-pill>div{flex:1}.location-pill small,.location-pill strong,.period-select small,.period-select strong{display:block}.location-pill small,.period-select small{font-size:8px;color:#9b968f}.location-pill strong,.period-select strong{font-size:10px;margin-top:3px}.location-pill>b{font-size:9px}.onboarding-card{border-radius:19px;background:linear-gradient(120deg,#141415,#29241d);color:#fff;margin-bottom:18px;padding:26px;display:grid;grid-template-columns:.75fr 1.25fr;gap:40px;box-shadow:0 14px 36px rgba(18,16,13,.13)}.onboarding-card h2{font:800 27px/1.1 "Manrope";letter-spacing:-.04em;margin:12px 0 10px}.onboarding-card p{font-size:11px;line-height:1.55;color:#9f9a94;margin:0}.onboarding-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.onboarding-steps a{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:13px;padding:13px;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center}.onboarding-steps b{font-size:8px;color:#d2a657}.onboarding-steps strong,.onboarding-steps small{display:block}.onboarding-steps strong{font-size:9px}.onboarding-steps small{font-size:7px;color:#76726f;margin-top:3px}.onboarding-steps i{font-style:normal;color:#b98b41}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.metric-card{position:relative;min-height:142px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:19px}.metric-card>span{display:block;font-size:10px;color:#858078;margin-bottom:11px}.metric-card>strong{display:block;font:800 27px "Manrope";letter-spacing:-.04em}.metric-card>small{display:block;font-size:8px;color:#aaa59e;margin-top:10px}.metric-card>small i{font-style:normal;color:#377d5f;font-weight:800}.metric-icon{position:absolute;right:17px;top:17px;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:10px;font-weight:800}.metric-icon.gold{background:#f4e6cd;color:#8d5f19}.metric-icon.dark{background:#202022;color:#d3ac68}.metric-icon.pale{background:#eeece8}.metric-icon.green{background:#e1f1e7;color:#2b7656}.metric-icon.red{background:#fae7e4;color:#a94438}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:14px}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden}.panel>header{min-height:76px;padding:18px 20px;border-bottom:1px solid #ece8e2;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel h2{font:700 18px "Manrope";letter-spacing:-.035em;margin:7px 0 0}.panel header>a,.team-panel header>a{font-size:9px;color:#865d1e;font-weight:800}.panel-actions{display:flex;align-items:center;gap:6px}.panel-actions button,.period-button{min-height:30px;border:1px solid #e1ddd7;background:#fff;border-radius:8px;padding:0 9px;font-size:8px}.panel-actions a{margin-left:7px;font-size:9px;font-weight:800}.empty-state{text-align:center;display:grid;place-items:center;min-height:390px;padding:40px}.empty-state>span{width:52px;height:52px;border-radius:15px;background:#f4efe6;color:#986d2d;display:grid;place-items:center}.empty-state h3{font:700 18px "Manrope";margin:16px 0 5px}.empty-state p{font-size:10px;color:#96918a;margin:0 0 15px}.appointment-list{padding:0 20px}.appointment-row{min-height:70px;display:grid;grid-template-columns:55px 4px minmax(120px,.8fr) minmax(170px,1fr) auto 24px;align-items:center;gap:13px;border-bottom:1px solid #eeeae5}.appointment-row:last-child{border-bottom:0}.appointment-row time strong,.appointment-row time small{display:block}.appointment-row time strong{font:700 12px "Manrope"}.appointment-row time small{font-size:8px;color:#aaa69f;margin-top:3px}.appointment-row>i{height:35px;border-radius:4px;background:var(--staff-color)}.appointment-client strong,.appointment-client small,.appointment-service strong,.appointment-service small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appointment-client strong,.appointment-service strong{font-size:10px}.appointment-client small,.appointment-service small{font-size:8px;color:#99948e;margin-top:4px}.status{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;background:#edf5e8;color:#437146;font-size:7px;font-weight:800}.status.trial,.status.pending{background:#fff1dc;color:#8a5e20}.status.past_due,.status.suspended,.status.cancelled{background:#f9e5e2;color:#994a40}.row-menu{border:0;background:transparent;color:#aaa;font-size:8px}.right-stack{display:grid;gap:14px}.team-panel header{min-height:70px}.team-list{padding:7px 17px}.team-list>div{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eeeae5}.team-list>div:last-child{border:0}.team-avatar{width:32px;height:32px;display:grid;place-items:center;background:color-mix(in srgb,var(--team-color) 25%,#fff);border:1px solid color-mix(in srgb,var(--team-color) 40%,#fff);border-radius:10px;font-size:9px;font-weight:800}.team-list p{flex:1;margin:0}.team-list strong,.team-list small{display:block}.team-list strong{font-size:9px}.team-list small{font-size:7px;color:#aaa69f;margin-top:3px}.team-list b{font-size:7px;color:#37785b}.public-profile-card{background:linear-gradient(145deg,#171719,#2b251d);color:#fff;padding:20px;position:relative}.profile-card-top{display:flex;justify-content:space-between}.live-dot{font-size:7px;color:#4a936e}.live-dot.is-pending{color:#e0ab4a}.public-profile-card h2{font-size:20px;margin-top:26px}.public-profile-card p{font-size:8px;color:#8d8881;overflow:hidden;text-overflow:ellipsis}.public-profile-card>div:last-child{display:flex;align-items:center;gap:8px;margin-top:20px}.public-profile-card a,.public-profile-card button{border:1px solid rgba(255,255,255,.13);border-radius:8px;background:rgba(255,255,255,.05);color:#fff;padding:8px 10px;font-size:8px}

/* Plateforme */
.admin-badge{margin:0 8px 12px;border:1px solid #443a2c;background:#29241d;color:#c39b5b;border-radius:9px;padding:8px 10px;font-size:7px;text-transform:uppercase;letter-spacing:.1em;text-align:center}.system-ok{font-size:8px;color:#3a7b5d;background:#e7f3eb;padding:8px 10px;border-radius:999px}.period-select{display:block;height:auto;padding:11px 14px}.admin-grid{display:grid;grid-template-columns:1.5fr .65fr;gap:14px;margin-bottom:14px}.growth-panel{padding-bottom:17px}.growth-value{padding:20px 20px 2px;display:flex;align-items:baseline;gap:10px}.growth-value strong{font:800 30px "Manrope"}.growth-value span{font-size:8px;color:#999}.chart-placeholder{height:180px;margin:8px 20px 0;border-bottom:1px solid #ddd9d3;display:flex;align-items:flex-end;gap:10px;background:repeating-linear-gradient(to bottom,#fff 0,#fff 44px,#f0ede7 45px)}.chart-placeholder div{height:var(--bar);flex:1;background:linear-gradient(#d8b778,#b98432);border-radius:6px 6px 0 0}.chart-placeholder div:nth-last-child(2){background:#171719}.chart-labels{display:flex;justify-content:space-around;padding:8px 20px 0;color:#aaa59f;font-size:7px}.health-panel{padding-bottom:5px}.health-item{display:flex;align-items:center;gap:11px;padding:15px 18px;border-bottom:1px solid #eeeae5}.health-item>i{width:8px;height:8px;border-radius:50%;background:#3d976d;box-shadow:0 0 0 5px #e5f2ea}.health-item p{margin:0;flex:1}.health-item strong,.health-item small{display:block}.health-item strong{font-size:9px}.health-item small{font-size:7px;color:#aaa;margin-top:3px}.health-item>b{font-size:8px;color:#777}.table-panel>header{border-bottom:0}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px}th{text-align:left;background:#f8f6f2;color:#98938c;font-size:7px;text-transform:uppercase;letter-spacing:.1em;padding:11px 17px}td{padding:13px 17px;border-top:1px solid #eeeae5;font-size:9px}.salon-cell{display:flex;align-items:center;gap:10px}.salon-cell>span{width:32px;height:32px;display:grid;place-items:center;background:#eee7da;border-radius:9px;color:#855e23;font-weight:800}.salon-cell p{margin:0}.salon-cell strong,.salon-cell small{display:block}.salon-cell small{font-size:7px;color:#aaa;margin-top:3px}

@media(max-width:1100px){.metric-grid{grid-template-columns:1fr 1fr}.dashboard-grid,.admin-grid{grid-template-columns:1fr}.right-stack{grid-template-columns:1fr 1fr}.onboarding-card{grid-template-columns:1fr}.auth-shell{grid-template-columns:42% 58%}.auth-story{padding:38px}.auth-panel{padding:40px}}
@media(max-width:800px){.auth-shell{display:block}.auth-story{display:none}.auth-panel{min-height:100vh;padding:35px 20px}.mobile-auth-logo{display:block;width:82px;height:82px;border-radius:15px;overflow:hidden;margin-bottom:35px}.register-panel{padding-top:25px}.field-grid.two{grid-template-columns:1fr}.dashboard-shell{display:block}.sidebar{transform:translateX(-102%);transition:.25s;box-shadow:20px 0 60px rgba(0,0,0,.25)}.sidebar.open{transform:none}.dashboard-main{grid-column:auto}.dashboard-topbar{padding:0 15px}.sidebar-toggle{display:block}.quick-search{display:none}.public-link,.system-ok{display:none}.dashboard-content{padding:26px 15px 50px}.welcome-row{display:block}.location-pill,.period-select{margin-top:17px}.metric-grid{grid-template-columns:1fr 1fr}.right-stack{grid-template-columns:1fr}.appointment-row{grid-template-columns:50px 4px 1fr auto}.appointment-service{display:none}.onboarding-steps{grid-template-columns:1fr}}
@media(max-width:520px){.metric-grid{grid-template-columns:1fr}.top-actions .icon-button{display:none}.welcome-row h1{font-size:34px}.appointment-list{padding:0 12px}.appointment-row{gap:8px}.status{display:none}.auth-heading h2{font-size:37px}.error-card{padding:28px}}

/* Inscription : code postal assiste et prefixe telephonique fixe */
.field small a{color:#8a601e;text-decoration:underline;text-underline-offset:2px}.phone-control{display:grid;grid-template-columns:58px minmax(0,1fr);height:49px;border:1px solid #d9d4cb;border-radius:11px;background:#fff;overflow:hidden;transition:.2s}.phone-control:focus-within{border-color:var(--gold);box-shadow:0 0 0 4px rgba(201,150,62,.11)}.phone-control>b{display:flex;align-items:center;justify-content:center;border-right:1px solid #e2ddd5;background:#f3f0ea;color:#3e3931;font-size:13px;letter-spacing:.02em}.field .phone-control input{height:47px;border:0;border-radius:0;box-shadow:none}.field .phone-control input:focus{border:0;box-shadow:none}
.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field select:disabled{background:#f2f0ec;color:#aaa59d;cursor:not-allowed}@media(max-width:800px){.field-grid.three{grid-template-columns:1fr}}

/* Double vérification email + SMS */
.verification-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px;background:rgba(10,10,11,.72);backdrop-filter:blur(12px)}
.verification-card{width:min(540px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:24px;padding:38px;box-shadow:0 30px 90px rgba(0,0,0,.35);text-align:center}
.verification-card h2{font:800 32px/1.08 "Manrope";letter-spacing:-.045em;margin:12px 0}.verification-card>p{font-size:14px;line-height:1.6;color:#6f6a63}.verification-card>small{display:block;color:#928c84;font-size:12px;margin-top:16px}
.verification-icon{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 18px;border-radius:17px;background:#f4e7d0;color:#8a601e;font-size:26px}
.verification-form{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:24px;text-align:left}.verification-form label{display:grid;gap:7px}.verification-form label span{font-size:13px;font-weight:800}.verification-form input{width:100%;height:58px;border:1px solid #d9d4cb;border-radius:12px;text-align:center;font:800 23px "Manrope";letter-spacing:.2em}.verification-form button,.verification-form .debug-codes{grid-column:1/-1}.debug-codes,.verification-warning{border-radius:10px;padding:10px 12px;background:#fff4df;color:#7c581e;font-size:12px;line-height:1.5}.verification-warning{margin:15px 0;text-align:left}
.verification-form.single{grid-template-columns:1fr}.verification-warning.success{background:#e4f2e8;color:#2e6e4f}.verification-card .verification-form.single label{grid-column:1;max-width:330px;width:100%;margin-inline:auto}.verification-card .verification-form.single input{height:64px;font-size:26px}
@media(max-width:600px){.verification-card{padding:28px 20px}.verification-form{grid-template-columns:1fr}.verification-form label,.verification-form button,.verification-form .debug-codes{grid-column:1}.verification-card h2{font-size:27px}}

/* Portail 2.0 : lisibilité, navigation et modules opérationnels */
.portal-name{font:800 15px "Manrope";padding:0 11px 14px;color:#fff}.portal-name small{display:block;font:500 10px "DM Sans";color:#7e7a80;margin-top:4px}.sidebar{width:266px}.dashboard-shell{grid-template-columns:266px minmax(0,1fr)}
.sidebar-nav a{min-height:46px;font-size:14px}.sidebar-nav i{font-size:16px;border:0}.nav-caption{font-size:10px}.sidebar-plan span{font-size:10px}.sidebar-plan strong{font-size:14px}.sidebar-plan a,.sidebar-plan small{font-size:12px;color:#d5ab63}
.dashboard-topbar{height:78px}.quick-search input{font-size:14px}.public-link{font-size:13px}.gold-button.compact{min-height:42px;padding:0 16px;display:inline-flex;align-items:center;gap:8px;border-radius:10px}.pwa-install-button{min-height:40px;border:1px solid #ded8cf;background:#fff;border-radius:10px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800}.pwa-install-button svg{width:15px}.pwa-install-button[hidden]{display:none}
.user-menu{position:relative}.header-avatar{height:44px;min-width:54px;border:1px solid #ddcba8;background:#f2e5cd;color:#6f4d18;border-radius:12px;padding:0 9px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:900}.header-avatar i{font-size:10px}.user-menu-popover{display:none;position:absolute;right:0;top:calc(100% + 10px);width:240px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:0 22px 60px rgba(25,20,15,.18);z-index:80}.user-menu.open .user-menu-popover{display:grid}.user-menu-popover strong{font-size:14px}.user-menu-popover small{font-size:11px;color:#8f8981;margin:4px 0 12px;overflow:hidden;text-overflow:ellipsis}.user-menu-popover a,.user-menu-popover button{width:100%;border:0;background:transparent;border-top:1px solid #eee9e2;padding:11px 4px;text-align:left;font-size:13px;display:flex;align-items:center;gap:9px}.user-menu-popover button{color:#9d3e35}
.error-banner{background:#fff0ed;border-color:#f0d1cb}.error-banner>span{background:#a74339}.success-banner strong{font-size:13px}.success-banner p{font-size:12px}.dashboard-content{min-height:calc(100vh - 170px)}
.module-heading{margin-bottom:28px}.module-heading>div{display:flex;align-items:center;gap:16px}.module-heading-icon{width:54px;height:54px;border-radius:15px;background:#171719;color:#d5aa61;display:grid;place-items:center;font-size:23px}.module-heading h1{font:800 clamp(30px,3vw,44px)/1 "Manrope";letter-spacing:-.045em;margin:5px 0}.module-heading p{font-size:14px;color:#7d7770;margin:0}.eyebrow{font-size:10px}.module-help-button{width:21px;height:21px;border-radius:50%;border:1px solid #e6e1d8;background:#fbf9f5;color:#a87525;display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:1;vertical-align:middle;margin-left:8px;margin-top:-8px;cursor:pointer;padding:0;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .1s ease}.module-help-button:hover{background:#171719;border-color:#171719;color:#fff}.module-help-button:active{transform:scale(.9)}.module-help-button:focus-visible{outline:2px solid #a87525;outline-offset:2px}.portal-modal-body{color:#4a4640;font-size:14.5px;line-height:1.65;white-space:normal}.portal-modal-help-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid var(--line)}.help-voice-picker{display:flex;gap:8px}.help-voice-picker button{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:999px;padding:7px 14px;font-size:12px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:background .15s ease,border-color .15s ease,color .15s ease}.help-voice-picker button:hover{border-color:var(--gold);color:var(--ink)}.help-voice-picker button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}.help-read-aloud{border:0;background:var(--gold);color:#17130d;border-radius:999px;padding:10px 20px;font-size:13px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:opacity .15s ease}.help-read-aloud:hover{opacity:.88}.help-read-aloud[aria-pressed="true"]{background:var(--ink);color:#fff}@media(max-width:480px){.portal-modal-help-footer{justify-content:center}.help-voice-picker{order:2}.help-read-aloud{order:1;width:100%;justify-content:center}}.help-read-word{border-radius:3px;transition:background .12s ease,color .12s ease}.help-read-word-active{background:var(--gold);color:#17130d;box-shadow:0 0 0 2px var(--gold)}/* Impuestos: mismos componentes (.panel/.metric-card/.module-form/tablas) que el resto del panel, pero con mas aire interior — el contenido se veia demasiado pegado a los bordes de las tarjetas en esta seccion. */.tax-module .metric-card{padding:24px}.tax-module .panel>header{padding:22px 26px}.tax-module .module-form{padding:26px}.tax-module .accounting-filter-panel{padding:22px}.tax-module .accounting-filter-panel>footer{margin:14px -22px -22px;padding:11px 22px}.tax-module .finance-report-body{padding:26px}.tax-module table th{padding:14px 22px}.tax-module table td{padding:13px 22px}.tax-module .verifactu-readiness{padding:22px 26px}.tax-module .modal-tabs{padding:20px 26px 0}.tax-module .modal-tab-panel{padding:16px 26px 22px}
.module-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.55fr);gap:16px;align-items:start}.action-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 9px 30px rgba(25,20,15,.04)}.action-card-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}.action-card-title>i{width:40px;height:40px;border-radius:11px;background:#191819;color:#d7ad67;display:grid;place-items:center;font-size:17px}.action-card-title strong,.action-card-title small{display:block}.action-card-title strong{font:800 16px "Manrope"}.action-card-title small{font-size:11px;color:#918b83;margin-top:3px}.action-card summary{list-style:none;font:800 15px "Manrope";cursor:pointer;display:flex;align-items:center;gap:9px}.action-card summary::-webkit-details-marker{display:none}.action-card[open] summary{margin-bottom:18px}
.module-form{display:grid;gap:13px}.module-form label{display:grid;gap:6px}.module-form label>span{font-size:12px;font-weight:800;color:#5f5a54}.module-form input,.module-form select,.module-form textarea,.status-form select,.inline-cash-form input{width:100%;border:1px solid #dcd6ce;border-radius:10px;background:#fbfaf8;min-height:45px;padding:9px 11px;outline:0;font-size:13px}.module-form textarea{resize:vertical}.module-form input:focus,.module-form select:focus,.module-form textarea:focus{border-color:#bd8a39;box-shadow:0 0 0 3px rgba(195,145,58,.1);background:#fff}.module-form .gold-button,.module-form .dark-button{min-height:47px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-line{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important;font-size:12px}.check-line input{width:16px;min-height:16px;accent-color:var(--gold)}
.table-panel table th{font-size:10px;padding:13px 17px}.table-panel table td{font-size:13px;vertical-align:middle}.table-panel td strong,.table-panel td small{display:block}.table-panel td small{font-size:10px;color:#918b83;margin-top:4px}.panel>header h2,.panel h2{font-size:20px}.panel header>a{font-size:12px}.appointment-row{min-height:78px}.appointment-row time strong{font-size:14px}.appointment-row time small{font-size:10px}.appointment-client strong,.appointment-service strong{font-size:13px}.appointment-client small,.appointment-service small{font-size:10px}.status{font-size:10px;padding:6px 9px}.status-form select{min-width:130px;min-height:38px;padding:6px 8px}.empty-state p{font-size:12px}.team-list strong{font-size:12px}.team-list small,.team-list b{font-size:10px}.team-avatar{font-size:11px}.metric-card>span{font-size:13px}.metric-card>small{font-size:10px}.metric-icon{font-size:15px}.compact-metrics{grid-template-columns:repeat(3,1fr)}
.team-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px}.team-directory article{display:flex;align-items:center;gap:10px;border:1px solid #ebe6df;border-radius:12px;padding:13px}.team-directory article>div{flex:1}.team-directory strong,.team-directory small{display:block}.team-directory small{font-size:11px;color:#8e8880;margin-top:4px}.team-directory .team-avatar{width:42px;height:42px}.right-form-stack{display:grid;gap:13px}.low-stock-row{background:#fff8ed}.cash-status{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px 20px;margin-bottom:16px}.cash-status>i{width:48px;height:48px;border-radius:13px;background:#eeeae4;color:#7d7770;display:grid;place-items:center;font-size:21px}.cash-status.open>i{background:#e0f2e6;color:#347658}.cash-status>div{flex:1}.cash-status span,.cash-status strong,.cash-status small{display:block}.cash-status span{font-size:11px;color:#8e8880}.cash-status strong{font-size:16px;margin:3px 0}.cash-status small{font-size:11px;color:#4d765f}.inline-cash-form{display:flex;align-items:center;gap:8px}.inline-cash-form input{width:160px}.inline-cash-form button{min-height:43px;white-space:nowrap}
.inventory-ledger{margin-top:16px}.table-action{width:34px;height:34px;border:1px solid #e2ddd6;background:#fff;border-radius:9px;display:inline-flex;align-items:center;justify-content:center}.table-action.danger{color:#a34138;background:#fff5f3;border-color:#efd5d0}.table-row-actions{display:flex;align-items:center;gap:6px}
.report-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:15px}.report-bars{height:310px;padding:25px 20px 16px;display:flex;align-items:flex-end;gap:7px;overflow-x:auto}.report-bars>div{height:100%;min-width:25px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:8px}.report-bars i{display:block;height:var(--height);min-height:4px;background:linear-gradient(#d9b877,#b98432);border-radius:5px 5px 0 0}.report-bars small{text-align:center;font-size:9px;color:#8f8982}.staff-performance-name{display:flex;align-items:center;gap:10px}.staff-performance-bar{width:100%;max-width:160px;height:8px;border-radius:5px;background:#f1ede5;overflow:hidden}.staff-performance-bar>i{display:block;height:100%;width:var(--width);background:linear-gradient(90deg,#d9b877,#b98432);border-radius:5px}.payment-breakdown{padding:9px 18px}.payment-breakdown article{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #eee9e2}.payment-breakdown article>i{width:36px;height:36px;border-radius:10px;background:#f2e8d7;color:#875f21;display:grid;place-items:center}.payment-breakdown article>div{flex:1}.payment-breakdown strong,.payment-breakdown small{display:block}.payment-breakdown small{font-size:10px;color:#918b83;margin-top:3px}.payment-breakdown b{font-size:13px}.module-empty{font-size:13px;color:#8d877f;margin:auto}.locked-module{text-align:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:70px 30px}.locked-module>i{font-size:38px;color:#a87931}.locked-module h1{font:800 42px "Manrope"}.locked-module p{max-width:620px;margin:15px auto 25px;color:#77716a;line-height:1.7}.tv-module-card{min-height:380px;background:radial-gradient(circle at 70% 30%,rgba(201,150,62,.38),transparent 30%),#111113;color:#fff;border-radius:24px;padding:50px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.tv-module-card h2{font:800 38px "Manrope"}.tv-module-card p{max-width:620px;color:#aaa6a1;line-height:1.7}.tv-big-icon{font-size:170px;color:rgba(255,255,255,.09)}
.portal-footer{border-top:1px solid var(--line);background:#fff;padding:22px 34px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#77716a;font-size:12px}.portal-footer>div{display:flex;align-items:center;gap:10px}.portal-footer img{width:34px;height:34px;border-radius:8px;object-fit:cover}.portal-footer nav{display:flex;gap:18px}.portal-footer a:hover{color:#8a601e}
@media(max-width:1100px){.module-layout,.report-grid{grid-template-columns:1fr}.team-directory{grid-template-columns:1fr 1fr}.right-form-stack{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.sidebar{width:266px}.dashboard-topbar{height:68px}.top-actions .gold-button.compact span{display:none}.header-avatar{min-width:44px}.pwa-install-button{display:none!important}.module-heading>div{align-items:flex-start}.compact-metrics{grid-template-columns:1fr 1fr}.team-directory{grid-template-columns:1fr}.right-form-stack{grid-template-columns:1fr}.cash-status{align-items:flex-start;flex-wrap:wrap}.inline-cash-form{width:100%}.portal-footer{display:grid;padding:20px 15px}.portal-footer nav{flex-wrap:wrap}.tv-module-card{padding:30px}.tv-big-icon{font-size:90px}}

/* Menú lateral fijable y avatar real */
.sidebar-pin{min-height:36px;margin:0 5px 7px;border:1px solid #302d2a;border-radius:9px;background:#1b1a1c;color:#aaa6aa;display:flex;align-items:center;gap:10px;padding:0 10px;font-size:10px;font-weight:700}.sidebar-pin:hover{color:#fff;border-color:#5a4729}.sidebar-pin i{font-size:13px;color:#d0a55c}.dashboard-shell,.sidebar,.dashboard-main{transition:grid-template-columns .22s,width .22s}.dashboard-shell.sidebar-collapsed{grid-template-columns:82px minmax(0,1fr)}.sidebar-collapsed .sidebar{width:82px;padding-inline:11px}.sidebar-collapsed .sidebar-brand{width:50px;height:50px;margin:0 auto 13px}.sidebar-collapsed .portal-name,.sidebar-collapsed .sidebar-pin span,.sidebar-collapsed .nav-caption,.sidebar-collapsed .sidebar-nav a span,.sidebar-collapsed .sidebar-nav a b,.sidebar-collapsed .sidebar-plan{display:none}.sidebar-collapsed .sidebar-pin{width:42px;margin:0 auto 8px;justify-content:center;padding:0}.sidebar-collapsed .sidebar-nav a{justify-content:center;padding:0}.sidebar-collapsed .sidebar-nav i{width:32px;height:32px;font-size:14px}.header-avatar>img{width:32px;height:32px;border-radius:9px;object-fit:cover}.header-avatar>span{display:inline-grid;place-items:center;min-width:22px}

/* Filtros de agenda y búsqueda de clientes */
.appointment-filter-panel>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.appointment-filter-panel>header>a{align-self:center}.appointment-filter-panel .staff-filter-badges{grid-column:1/-1;display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:14px;padding:13px 0 0;border-top:1px solid #eee9e2}.staff-filter-badges button{border:1px solid #ded8cf;background:#fff;color:#746e67;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:800}.staff-filter-badges button:not(:first-child):before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--staff-color,#c9963e)}.staff-filter-badges button.active{background:#191819;color:#fff;border-color:#191819}.customer-lookup{display:grid;gap:8px;padding:10px;border:1px solid #e2dcd3;border-radius:13px;background:#faf8f4}.customer-lookup label{margin:0!important}.customer-lookup input[type=search]{background:#fff!important}.customer-lookup [data-customer-search-result]{min-height:14px;color:#8a6a32}

/* Venta con productos, servicios, puntos y cambio */
.sale-composer-card{min-width:0}.sale-lines{display:grid;gap:9px}.sale-line{display:grid;grid-template-columns:minmax(0,1fr) 92px 35px;gap:8px;align-items:end;padding:10px;border:1px solid #e2dcd3;border-radius:13px;background:#faf8f4}.sale-line label{margin:0!important}.sale-line .table-action{margin-bottom:4px}.add-sale-line{width:100%;justify-content:center}.loyalty-sale-box{border:1px solid #dfd1b7;background:#fbf4e7;border-radius:13px;padding:12px;display:grid;gap:10px}.loyalty-sale-box>div{display:flex;gap:9px;align-items:center}.loyalty-sale-box>div>i{width:34px;height:34px;border-radius:9px;background:#1c1915;color:#d3a65d;display:grid;place-items:center}.loyalty-sale-box strong,.loyalty-sale-box small{display:block}.loyalty-sale-box small{font-size:10px;color:#81776a}.sale-total-preview{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;padding:14px;border-radius:12px;background:#191819;color:#fff}.sale-total-preview span{font-size:11px}.sale-total-preview strong{margin-left:auto;font:800 21px "Manrope"}.sale-total-preview small{width:100%;text-align:right;color:#d5ac65}.cash-received-field{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;padding:11px;border:1px solid #d9e7dd;border-radius:12px;background:#f1f8f3}.cash-received-field[hidden]{display:none}.cash-received-field label{margin:0!important}.cash-received-field>strong{font-size:11px;color:#356d50;padding-bottom:11px}.cash-received-field b{font-size:15px}.loyalty-rules-card{margin-top:16px;padding:22px}.loyalty-rules-card>header{display:flex;align-items:flex-start}.loyalty-rules-card>header>i{margin-left:auto;font-size:24px;color:#b98535}.loyalty-applies{display:flex;gap:10px;flex-wrap:wrap}

/* Inventario diario e informes */
.table-help{font-size:10px;color:#817a72}.inventory-daily-panel{margin-top:16px;padding:20px}.inventory-daily-panel>header{display:flex;align-items:end;gap:20px}.stock-date-filter{margin-left:auto!important;max-width:190px}.inventory-day-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;margin-top:15px}.inventory-day-cards article{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:13px;border:1px solid #e3ddd4;border-radius:12px;background:#faf8f4}.inventory-day-cards article>span,.inventory-day-cards article>small{grid-column:1/-1}.inventory-day-cards article>span{font-size:10px;color:#817a72}.inventory-day-cards article>strong{font-size:13px}.inventory-day-cards article>strong:first-of-type{color:#317553}.inventory-day-cards article>strong:nth-of-type(2){color:#a44d43}.inventory-day-cards article>small{font-size:9px;color:#999188}.stock-modal-card{max-width:520px}.stock-modal-card header p{margin:6px 0 0;color:#817a72}.report-date-picker{display:flex;align-items:end;gap:10px;margin:0 0 18px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}.report-date-picker label{margin:0;min-width:210px}.report-date-picker a{font-size:11px;color:#8c6729;margin:0 0 12px 5px}.report-bars>div.selected i{background:#171719!important;box-shadow:0 0 0 3px rgba(201,150,62,.35)}.tv-addon-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.tv-addon-actions form{margin:0}

/* Campos de fecha, modal de venta y filtrado de agenda */
.report-date-picker label>span,.stock-date-filter>span{display:block;margin:0 0 7px;font-size:11px;font-weight:800;color:#5f5a54}.report-date-picker input[type=date],.stock-date-filter input[type=date]{width:100%;height:46px;min-height:46px;border:1px solid #d8d1c8;border-radius:11px;background:#faf9f7;color:#211f1d;padding:0 12px;font:700 13px "DM Sans",system-ui,sans-serif;outline:0;box-shadow:0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.55);color-scheme:light}.report-date-picker input[type=date]:focus,.stock-date-filter input[type=date]:focus{border-color:#bc8734;background:#fff;box-shadow:0 0 0 3px rgba(201,150,62,.16)}.report-date-picker input[type=date]::-webkit-calendar-picker-indicator,.stock-date-filter input[type=date]::-webkit-calendar-picker-indicator{width:18px;height:18px;padding:6px;border-radius:7px;background-color:#efe4d1;cursor:pointer}.appointment-row[hidden],.appointment-row.staff-filter-hidden,[data-stock-date][hidden]{display:none!important}.module-layout>.sale-composer-card{display:none}.sales-list-only{grid-template-columns:minmax(0,1fr)!important}.sales-toolbar{display:flex;justify-content:flex-end;margin:-3px 0 14px}.sales-toolbar .gold-button{min-height:44px;display:inline-flex;align-items:center;gap:8px}.sale-modal{padding:24px}.sale-modal .sale-composer-card{display:block}.sale-modal-card{width:min(860px,100%);max-width:860px;padding:28px!important;overflow:auto}.sale-modal-card>.sale-modal-close{position:sticky;z-index:5;top:0;float:right;width:42px;height:42px;border:1px solid #ddd6cc;border-radius:11px;background:#fff;color:#302d29;display:grid;place-items:center}.sale-modal-card>.action-card-title{padding-right:55px;margin-bottom:18px}.sale-modal-card>.module-form{clear:both}.sale-modal-card .sale-lines{max-height:260px;overflow:auto;padding-right:3px}

@media(max-width:800px){.dashboard-shell.sidebar-collapsed{display:block}.sidebar-collapsed .sidebar{width:266px;padding:24px 16px 18px}.sidebar-collapsed .portal-name,.sidebar-collapsed .sidebar-pin span,.sidebar-collapsed .nav-caption,.sidebar-collapsed .sidebar-nav a span,.sidebar-collapsed .sidebar-nav a b,.sidebar-collapsed .sidebar-plan{display:initial}.sidebar-collapsed .sidebar-pin{width:auto;margin:0 5px 7px;justify-content:flex-start;padding:0 10px}.sidebar-collapsed .sidebar-nav a{justify-content:flex-start;padding:0 11px}.sale-line{grid-template-columns:minmax(0,1fr) 76px 35px}.inventory-daily-panel>header,.report-date-picker{align-items:stretch;flex-direction:column}.stock-date-filter{margin-left:0!important;max-width:none}.report-date-picker label{min-width:0}.staff-filter-badges{padding-inline:14px}}
@media(max-width:520px){.public-link{display:none}.top-actions{gap:5px}.dashboard-content{padding-inline:12px}.form-pair{grid-template-columns:1fr}.compact-metrics{grid-template-columns:1fr}.module-heading-icon{width:45px;height:45px}.module-heading h1{font-size:30px}.table-panel{margin-inline:-1px}.inline-cash-form{display:grid;grid-template-columns:1fr auto}.inline-cash-form input{width:100%}.tv-big-icon{display:none}}

/* Flujos rápidos, comunicaciones, permisos, pagos mixtos y QR */
.customer-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.customer-picker label{margin:0}.secondary-action{min-height:45px;border:1px solid #d6c7ad;background:#faf4e9;color:#75511c;border-radius:10px;padding:0 13px;font-size:12px;font-weight:800;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.portal-modal[hidden]{display:none!important}.modal-open{overflow:hidden}.portal-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:18px;opacity:0;transition:opacity .18s}.portal-modal.visible{opacity:1}.portal-modal-backdrop{position:absolute;inset:0;background:rgba(15,13,12,.65);backdrop-filter:blur(5px)}.portal-modal-card{position:relative;width:min(620px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 35px 100px rgba(0,0,0,.35);padding:25px;transform:translateY(12px);transition:transform .18s}.portal-modal.visible .portal-modal-card{transform:none}.portal-modal-card>header{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.portal-modal-card h2{font:800 25px "Manrope";margin:5px 0}.portal-modal-card>header button{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:10px}.consent-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.consent-badge{display:inline-flex!important;align-items:center;gap:4px;padding:4px 6px;margin:2px;border-radius:999px;background:#f1eeea;color:#99938b;font-size:9px!important}.location-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;background:#f5efe5;color:#8d6426;font-size:9px;font-weight:800;white-space:nowrap}.location-badge i{font-size:9px}.debt-badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#fff1dc;color:#8a5e20;font-size:10px;font-weight:800;white-space:nowrap}.debt-badge.none{background:transparent;color:#b4afa7;font-weight:600;padding:4px 0}.consent-badge.granted{background:#e5f2e9;color:#317053}.communication-actions{display:flex!important;gap:5px}.communication-actions button{width:34px;height:34px;border:1px solid #ded8d0;background:#fff;border-radius:9px;color:#74521e}.communication-actions button:disabled{opacity:.28;cursor:not-allowed}.customer-communications{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:19px;padding:22px}.customer-communications>header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.customer-communications h2{font:800 23px "Manrope";margin:5px 0}.customer-communications header p{font-size:12px;color:#817b73;margin:0}.quota-pills{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.quota-pills span{padding:8px 10px;border-radius:999px;background:#fff0ed;color:#9a453d;font-size:10px;font-weight:800}.quota-pills span.ready{background:#e4f2e8;color:#2f7252}.communication-grid{display:grid;grid-template-columns:minmax(320px,.55fr) minmax(0,1.45fr);gap:14px}.communication-grid>.action-card{box-shadow:none;background:#faf8f4}.module-form label>small{font-size:10px;color:#8b857d;text-align:right}
.payment-composer{display:grid;gap:12px;padding:14px;border:1px solid #e1dbd2;border-radius:13px;background:#faf8f4}.mixed-payment-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mixed-payment-fields>small{grid-column:1/-1;color:#857e75;font-size:10px;line-height:1.5}
.permission-directory{grid-template-columns:1fr!important}.permission-directory>article{display:block!important;padding:0!important;overflow:hidden}.member-summary{display:flex;align-items:center;gap:10px;padding:14px}.member-summary>div{min-width:0;flex:1}.owner-access-note{margin:0 14px 14px;padding:11px;border-radius:10px;background:#e6f2e9;color:#306e50;font-size:11px;font-weight:800}.permission-editor{border-top:1px solid #eee9e2}.permission-editor>summary{list-style:none;padding:12px 14px;cursor:pointer;color:#76541f;font-size:11px;font-weight:800}.permission-editor>summary::-webkit-details-marker{display:none}.permission-editor>.module-form{padding:3px 14px 15px}.access-identity{display:grid!important;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;padding:10px;border-radius:10px;background:#e7f3eb}.access-identity i{grid-row:span 2;color:#337153}.access-identity span{font-size:9px;color:#6f897a}.access-identity strong{font-size:11px}.permission-grid{border:0;padding:0;margin:4px 0;display:grid;grid-template-columns:1fr 1fr;gap:7px}.permission-grid legend{font-size:11px;font-weight:800;margin-bottom:8px}.permission-grid>label{position:relative;display:block}.permission-grid input{position:absolute;opacity:0;pointer-events:none}.permission-grid label>span{display:block;min-height:64px;border:1px solid #ddd7cf;border-radius:10px;padding:10px;background:#fff;cursor:pointer}.permission-grid label>span strong,.permission-grid label>span small{display:block}.permission-grid label>span strong{font-size:11px}.permission-grid label>span small{font-size:9px;color:#8b857e;margin-top:3px;line-height:1.35}.permission-grid input:checked+span{border-color:#1b1918;background:#1b1918;color:#fff}.permission-grid input:checked+span small{color:#aaa49d}
.qr-company-layout{display:grid;grid-template-columns:minmax(390px,.8fr) minmax(330px,.55fr);gap:18px;align-items:start}.qr-download-card{background:linear-gradient(145deg,#171618,#28231d);border-radius:25px;padding:28px;color:#fff;box-shadow:0 25px 70px rgba(20,16,13,.18)}.qr-card-brand{display:flex;align-items:center;gap:12px}.qr-card-brand img{width:58px;height:58px;border-radius:13px;object-fit:contain;background:#fff}.qr-card-brand span,.qr-card-brand strong{display:block}.qr-card-brand span{font-size:10px;color:#b4afa8}.qr-card-brand strong{font:800 18px "Manrope";margin-top:3px}.company-qr{width:min(390px,100%);aspect-ratio:1;margin:25px auto 18px;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 18px 45px rgba(0,0,0,.3)}.qr-download-card>p{text-align:center;color:#bbb5ad;font-size:12px}.qr-card-actions{display:flex;justify-content:center;gap:8px;margin-top:19px}.qr-card-actions a,.qr-card-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:10px}.logo-manager{position:sticky;top:96px}.current-company-logo{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e0dad2;border-radius:12px;margin-bottom:16px}.current-company-logo img{width:70px;height:70px;object-fit:contain;border-radius:12px;background:#fff}.current-company-logo span,.current-company-logo strong{display:block}.current-company-logo span{font-size:10px;color:#8b857d}.current-company-logo strong{font-size:14px;margin-top:4px}.file-drop{position:relative;display:grid!important;place-items:center;text-align:center;min-height:120px;border:1px dashed #c9b897;border-radius:12px;background:#faf5eb;color:#79551e;cursor:pointer}.file-drop i{font-size:25px}.file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.qr-privacy-note,.access-help{display:block;margin-top:15px;color:#817b73;font-size:10px;line-height:1.5}
@media(max-width:1100px){.communication-grid,.qr-company-layout{grid-template-columns:1fr}.logo-manager{position:static}}
@media(max-width:700px){.customer-picker,.mixed-payment-fields,.permission-grid,.consent-grid{grid-template-columns:1fr}.customer-communications>header{align-items:flex-start;display:grid}.quota-pills{justify-content:flex-start}.qr-card-actions{display:grid}.portal-modal-card{padding:20px}.communication-grid{display:block}.communication-grid>.panel{margin-top:12px}}

/* Suscripciones Stripe y facturas de plataforma */
.subscription-hero{position:relative;overflow:hidden;min-height:280px;margin-bottom:18px;padding:36px;border-radius:24px;background:radial-gradient(circle at 80% 18%,rgba(201,150,62,.3),transparent 30%),linear-gradient(135deg,#121214,#27231e);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:40px}.subscription-hero:after{content:"";position:absolute;width:340px;height:340px;border:1px solid rgba(255,255,255,.06);border-radius:50%;right:-100px;bottom:-220px}.subscription-hero-copy{position:relative;z-index:1;max-width:760px}.subscription-hero h2{font:800 clamp(30px,4vw,50px)/1.02 "Manrope";letter-spacing:-.055em;margin:13px 0}.subscription-hero p{max-width:680px;color:#b8b3ad;font-size:15px;line-height:1.7}.stripe-only{display:flex;align-items:center;gap:9px;margin-top:22px;font-size:13px;color:#d2ccc4}.stripe-only i{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#d4aa61}.subscription-price{position:relative;z-index:1;flex:0 0 230px;padding:24px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.07);backdrop-filter:blur(12px)}.subscription-price small,.subscription-price span,.subscription-price em{display:block}.subscription-price small{color:#d9b877;font-size:11px;text-transform:uppercase;letter-spacing:.11em;font-weight:800}.subscription-price>strong{display:block;font:800 52px/1 "Manrope";letter-spacing:-.06em;margin:14px 0 6px}.subscription-price sup{font-size:20px;color:#d3a85f}.subscription-price span{color:#c0bbb4;font-size:12px}.subscription-price em{font-style:normal;color:#e1c99f;font-size:11px;margin-top:13px}.billing-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:16px;margin-bottom:16px}.subscription-status-card>header,.commitment-card>header{min-height:82px}.billing-status{display:inline-flex;align-items:center;gap:6px;width:max-content;padding:7px 10px;border-radius:999px;background:#eeece8;color:#706a63;font-size:10px;font-weight:800}.billing-status i{width:7px;height:7px;border-radius:50%;background:currentColor}.billing-status.active,.billing-status.paid,.billing-status.trialing{background:#e2f2e8;color:#2d7351}.billing-status.past_due{background:#fff0dc;color:#9a6315}.billing-status.cancelled,.billing-status.paused{background:#f9e5e2;color:#9c4138}.subscription-status-body{padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.subscription-period{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #ebe6df;border-radius:13px}.subscription-period>i{width:40px;height:40px;border-radius:11px;background:#f1e7d7;color:#865f21;display:grid;place-items:center;font-size:17px}.subscription-period small,.subscription-period strong,.subscription-period span{display:block}.subscription-period small{font-size:10px;color:#8f8981}.subscription-period strong{font-size:14px;margin:4px 0}.subscription-period span{font-size:11px;color:#817a72}.billing-renew-button,.auto-renew-note,.billing-config-warning,.pending-checkout{grid-column:1/-1}.billing-renew-button{min-height:50px!important}.billing-renew-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.auto-renew-note{display:flex;align-items:center;gap:9px;padding:13px;border-radius:11px;background:#e5f2e9;color:#2f7252;font-size:12px;line-height:1.5}.billing-config-warning{margin:0;padding:11px;border-radius:10px;background:#fff4df;color:#7c581e;font-size:12px}.pending-checkout{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #dfd3bd;border-radius:12px;background:#faf5eb;color:#76531e}.pending-checkout>span{flex:1}.pending-checkout strong,.pending-checkout small{display:block}.pending-checkout strong{font-size:13px}.pending-checkout small{font-size:10px;margin-top:3px;color:#927c59}.commitment-card>header>i{font-size:25px;color:#b27f2f}.commitment-body{padding:25px;display:flex;align-items:center;gap:24px}.commitment-ring{--p:calc(var(--progress)*1%);width:130px;height:130px;flex:0 0 auto;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(closest-side,#fff 77%,transparent 78% 99%),conic-gradient(#c9963e var(--p),#ece8e1 0)}.commitment-ring strong{font:800 24px "Manrope"}.commitment-ring small{font-size:9px;color:#918a82}.commitment-body h3{font:800 18px "Manrope";margin:0 0 8px}.commitment-body p{font-size:12px;line-height:1.6;color:#817b73}.commitment-body>div>span{font-size:11px;color:#805a20;font-weight:800}.billing-notice{display:flex;align-items:center;gap:12px;padding:14px 17px;margin-bottom:16px;border:1px solid #ead9ba;border-radius:13px;background:#fff8e9}.billing-notice>i{font-size:20px;color:#99681d}.billing-notice strong,.billing-notice p{display:block;margin:0}.billing-notice strong{font-size:12px}.billing-notice p{font-size:10px;color:#81786c;margin-top:3px}.invoices-panel{margin-top:16px}.invoices-panel small.invoice-tag{display:block;width:fit-content;margin-top:6px;padding:4px 9px;border-radius:999px;background:#f1ede6;color:#726b60;font-size:11px;font-weight:700;letter-spacing:.01em}.invoice-count{font-size:11px;color:#817b73}.invoice-actions{display:flex;gap:5px}.invoice-actions a{width:34px;height:34px;display:grid;place-items:center;border:1px solid #e0dad2;border-radius:9px;color:#77521d}.empty-billing{padding:40px;display:grid;place-items:center;text-align:center;gap:7px;color:#928b82}.empty-billing>i{font-size:27px}.empty-billing strong{color:#3f3b36;font-size:13px}.empty-billing span{font-size:12px}.subscription-modal-card{width:min(820px,100%)}.subscription-modal-card>header p{font-size:13px;color:#817b73;margin:5px 0}.renewal-options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.renewal-option{position:relative;padding:21px;border:1px solid #dfdad2;border-radius:16px;display:grid;gap:11px}.renewal-option.featured{border:2px solid #c9963e;background:#fffbf4}.renewal-option>span{font-size:13px;font-weight:800;color:#77531e}.renewal-option>strong{font:800 36px "Manrope"}.renewal-option>strong small{font:600 12px "DM Sans";color:#807970}.renewal-option>p{min-height:38px;font-size:12px;line-height:1.5;color:#817b73;margin:0}.renewal-option>del{position:absolute;right:18px;top:63px;color:#9b958d;font-size:12px}.renewal-option button{width:100%;min-height:47px}.discount-badge{position:absolute;right:13px;top:13px;padding:5px 7px;border-radius:999px;background:#1a1919;color:#e6bf7a;font-size:8px;letter-spacing:.08em}.renewal-coupon-note{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:10px;border:1.5px dashed #c9963e;background:#fdf6e8;color:#8d6426;font-size:11.5px;line-height:1.45}.renewal-coupon-note i{font-size:14px}.renewal-coupon-note strong{font-weight:800;letter-spacing:.02em}.renewal-legal{display:block;margin-top:16px;padding:12px;border-radius:10px;background:#f3f0eb;color:#78726b;font-size:11px;line-height:1.5}.billing-invoice-document{margin-top:18px;padding:34px;background:#fff;border:1px solid var(--line);border-radius:20px}.billing-invoice-document>header{display:flex;justify-content:space-between;align-items:center;padding-bottom:25px;border-bottom:2px solid #171719}.billing-invoice-document>header>div{display:flex;align-items:center;gap:14px}.billing-invoice-document>header img{width:70px;height:70px;object-fit:contain;border-radius:12px}.billing-invoice-document>header span,.billing-invoice-document>header strong{display:block}.billing-invoice-document>header span{font-size:11px;letter-spacing:.16em;color:#8d867e}.billing-invoice-document>header strong{font:800 21px "Manrope";margin-top:4px}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:30px 0}.invoice-parties>div>span{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#9a938a}.invoice-parties strong{display:block;font-size:16px;margin:7px 0}.invoice-parties p{font-size:12px;line-height:1.7;color:#716b64}.invoice-dates{display:flex;gap:30px;padding:13px;background:#f5f2ed;border-radius:10px;margin-bottom:22px}.invoice-dates span{font-size:11px;color:#8a837a}.invoice-dates strong{color:#302d29;margin-left:5px}.billing-invoice-document table{width:100%;border-collapse:collapse}.billing-invoice-document th,.billing-invoice-document td{text-align:left;padding:14px;border-bottom:1px solid #e5e0d9;font-size:12px}.billing-invoice-document th{background:#171719;color:#fff;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.billing-invoice-document>footer{display:flex;justify-content:space-between;align-items:center;padding-top:25px}.billing-invoice-document>footer p{font-size:11px;color:#817a72}.billing-invoice-document>footer strong{font:800 18px "Manrope"}
@media(max-width:1050px){.billing-overview{grid-template-columns:1fr}.subscription-hero{align-items:flex-start}.subscription-price{flex-basis:210px}.commitment-body{justify-content:center}}
@media(max-width:700px){.subscription-hero{display:grid;padding:25px}.subscription-price{width:100%}.subscription-status-body,.renewal-options,.invoice-parties{grid-template-columns:1fr}.subscription-period{grid-column:1}.commitment-body{display:grid;text-align:center}.commitment-ring{margin:auto}.billing-invoice-document{padding:20px}.billing-invoice-document>header,.billing-invoice-document>footer{align-items:flex-start;display:grid;gap:15px}.invoice-dates{display:grid;gap:7px}.billing-invoice-document>header button{display:none}}
@media print{body *{visibility:hidden}.billing-invoice-document,.billing-invoice-document *{visibility:visible}.billing-invoice-document{position:absolute;inset:0;border:0;margin:0}.billing-invoice-document>header button{display:none}}

/* Cobro online de reservas */
.online-payment-hero{min-height:235px;margin-bottom:16px;padding:34px;border-radius:24px;background:radial-gradient(circle at 85% 22%,rgba(107,89,231,.32),transparent 28%),linear-gradient(135deg,#15131d,#28223e);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden}.online-payment-hero.enabled{background:radial-gradient(circle at 85% 22%,rgba(62,166,113,.35),transparent 28%),linear-gradient(135deg,#111b17,#21382d)}.online-payment-hero>div{max-width:720px}.online-payment-hero h2{font:800 clamp(30px,4vw,46px)/1.04 "Manrope";letter-spacing:-.05em;margin:10px 0}.online-payment-hero p{font-size:13px;line-height:1.7;color:#c2becb}.online-payment-hero a{display:inline-flex;align-items:center;gap:8px;margin-top:14px;color:#e0bd77;font-size:11px;font-weight:800}.online-payment-hero>i{font-size:100px;color:rgba(255,255,255,.13)}.online-payment-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px}.online-payment-form>header,.payment-methods-card>header{min-height:82px}.online-payment-form-body{padding:22px}.online-payment-alert{display:flex;gap:10px;padding:13px;margin-bottom:16px;border-radius:12px;background:#fff3dd;color:#805a1d;font-size:11px;line-height:1.55}.online-payment-alert>i{font-size:18px}.online-payment-alert strong{display:block}.online-payment-switch{display:block;margin-bottom:20px}.online-payment-switch>input{position:absolute;opacity:0}.online-payment-switch>span{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #e2ddd5;border-radius:14px;cursor:pointer}.online-payment-switch b{width:43px;height:24px;padding:3px;border-radius:999px;background:#c5c1bb;flex:0 0 auto;transition:.2s}.online-payment-switch b:after{content:"";display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:.2s}.online-payment-switch input:checked+span{border-color:#c99843;background:#fffaf1}.online-payment-switch input:checked+span b{background:#c68e32}.online-payment-switch input:checked+span b:after{transform:translateX(19px)}.online-payment-switch strong,.online-payment-switch small{display:block}.online-payment-switch strong{font-size:12px}.online-payment-switch small{margin-top:3px;color:#837c74;font-size:9px;font-weight:400}.online-payment-form fieldset{border:0;padding:0;margin:0 0 18px}.online-payment-form legend{font-size:10px;font-weight:800;margin-bottom:9px}.online-payment-form fieldset label{display:block;margin-bottom:8px}.online-payment-form fieldset input{position:absolute;opacity:0}.online-payment-form fieldset label>span{display:grid;grid-template-columns:38px 1fr;column-gap:11px;padding:13px;border:1px solid #e2ddd5;border-radius:12px;cursor:pointer}.online-payment-form fieldset label>span>i{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f2ede5;color:#825b21}.online-payment-form fieldset strong,.online-payment-form fieldset small{display:block}.online-payment-form fieldset strong{font-size:11px}.online-payment-form fieldset small{font-size:9px;color:#837c74;margin-top:3px}.online-payment-form fieldset input:checked+span{border-color:#c99843;background:#fffaf2;box-shadow:0 0 0 2px rgba(201,152,67,.12)}.online-payment-form .gold-button{width:100%}.payment-methods-card>header>i{font-size:25px;color:#7250c8}.payment-methods-card>div{padding:21px}.payment-methods-card article{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #ebe7e1}.payment-methods-card article>i{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#f0ebfa;color:#6545b9;font-size:18px}.payment-methods-card article strong,.payment-methods-card article small{display:block}.payment-methods-card article strong{font-size:12px}.payment-methods-card article small{font-size:9px;color:#858078;margin-top:3px}.payment-methods-card p{display:flex;gap:8px;margin:16px 0 0;padding:12px;border-radius:10px;background:#f3f0ec;color:#777168;font-size:9px;line-height:1.55}
@media(max-width:900px){.online-payment-layout{grid-template-columns:1fr}}
@media(max-width:700px){.online-payment-hero{padding:25px}.online-payment-hero>i{display:none}}
.stripe-credentials-card{margin-bottom:16px}.stripe-credentials-card>header{min-height:94px}.stripe-credentials-card>header p{font-size:10px;color:#817a72;margin:5px 0 0}.stripe-credentials-layout{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(420px,1.3fr);gap:18px;padding:22px}.stripe-account-summary{min-height:190px;padding:23px;border-radius:17px;background:radial-gradient(circle at 85% 15%,rgba(117,87,218,.3),transparent 32%),linear-gradient(135deg,#15131d,#292440);color:#fff;display:flex;align-items:flex-start;gap:15px}.stripe-account-summary>i{width:48px;height:48px;border-radius:13px;background:rgba(255,255,255,.1);display:grid;place-items:center;font-size:25px;color:#c6b4ff}.stripe-account-summary span,.stripe-account-summary strong,.stripe-account-summary small{display:block}.stripe-account-summary span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#bdb6ce}.stripe-account-summary strong{font:800 15px "Manrope";margin:10px 0;word-break:break-all}.stripe-account-summary small{font-size:10px;line-height:1.6;color:#c6c0d0}.stripe-key-form{padding:0!important}.stripe-key-form label>small{font-size:9px;color:#8a837b;line-height:1.5}.copy-field{display:grid;grid-template-columns:1fr 42px;gap:6px}.copy-field button{border:1px solid #ddd7cf;border-radius:9px;background:#f4f0ea;color:#74521e}.danger-check{color:#9b4037!important}.stripe-key-form>.dark-button{width:100%}@media(max-width:950px){.stripe-credentials-layout{grid-template-columns:1fr}}@media(max-width:600px){.stripe-credentials-layout{padding:15px}.stripe-account-summary{min-height:auto}}

/* Equipo: horarios y servicios por profesional */
.team-management-layout{grid-template-columns:minmax(0,1.65fr) minmax(310px,.55fr);align-items:start}.team-directory{display:grid;gap:14px;padding:18px}.team-management-card{border:1px solid #e6e1da;border-radius:15px;background:#fff;overflow:hidden}.member-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 17px}.member-summary .team-avatar{width:42px;height:42px;border-radius:12px;font-size:12px}.member-summary strong,.member-summary small{display:block}.member-summary strong{font:700 13px "Manrope"}.member-summary small{margin-top:4px;color:#8b857d;font-size:10px}.schedule-editor,.permission-editor,.profile-editor{border-top:1px solid #ece7df}.schedule-editor>summary,.permission-editor>summary,.profile-editor>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 17px;list-style:none;background:#faf8f4;color:#5f574e;font-size:10px;font-weight:800;cursor:pointer}.schedule-editor>summary::-webkit-details-marker,.permission-editor>summary::-webkit-details-marker,.profile-editor>summary::-webkit-details-marker{display:none}.schedule-editor[open]>summary,.permission-editor[open]>summary,.profile-editor[open]>summary{color:#8c611e;background:#f7f0e3}.schedule-editor .module-form,.permission-editor .module-form,.profile-editor .module-form{padding:18px}.profile-editor .gold-button{margin-top:5px;width:100%}.staff-service-picker{border:0;margin:4px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.staff-service-picker legend{grid-column:1/-1;margin-bottom:3px;font-size:10px;font-weight:800;color:#554f48}.staff-service-picker label{display:flex;align-items:center;gap:9px;border:1px solid #e3ded6;border-radius:10px;padding:9px 10px;background:#fff;cursor:pointer}.staff-service-picker label:has(input:checked){border-color:#c9963e;background:#fbf5e9}.staff-service-picker input{accent-color:var(--gold)}.staff-service-picker span,.staff-service-picker small{display:block}.staff-service-picker span{font-size:10px;font-weight:700}.staff-service-picker small{font-size:8px;color:#958f87;margin-top:2px}.staff-service-picker.compact{grid-template-columns:1fr}.staff-week-grid{margin:7px 0;border:1px solid #e3ded6;border-radius:12px;overflow:hidden}.staff-week-grid-title{padding:9px 11px;background:#181719;color:#bbb5ad;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.staff-day-row{display:grid;gap:9px;padding:11px;border-top:1px solid #ece7df;background:#fff}.staff-day-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.staff-day-toggle{display:flex;align-items:center;gap:7px;font-size:10px}.staff-day-toggle input{accent-color:var(--gold)}.staff-day-location{height:33px;max-width:220px;border:1px solid #ddd7cf;border-radius:8px;padding:0 8px;font-size:9px;background:#faf8f4;color:#5f574e}.staff-day-hours{display:grid;grid-template-columns:1fr 1fr;gap:10px}.staff-day-slot{display:grid;gap:4px}.staff-day-slot>small{font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:#958f87}.staff-day-slot>div{display:grid;grid-template-columns:1fr 10px 1fr;align-items:center;gap:5px}.staff-day-slot i{font-style:normal;text-align:center;color:#aaa49d}.staff-day-row input[type=time]{width:100%;min-width:0;height:35px;border:1px solid #ddd7cf;border-radius:8px;padding:0 6px;font-size:9px}.schedule-editor .gold-button{margin-top:5px;width:100%}.owner-access-note{display:flex;align-items:center;gap:8px;padding:11px 17px;border-top:1px solid #ece7df;color:#2c7455;background:#edf6f0;font-size:9px;font-weight:700}
@media(max-width:1150px){.team-management-layout{grid-template-columns:1fr}.team-management-layout>.action-card{max-width:none}}
@media(max-width:720px){.staff-service-picker{grid-template-columns:1fr}.staff-day-hours{grid-template-columns:1fr}.staff-day-location{max-width:none;width:100%}.member-summary{grid-template-columns:38px minmax(0,1fr)}.member-summary>.status{grid-column:2;justify-self:start}.member-summary .team-avatar{width:38px;height:38px}}

.staff-service-picker input[type=checkbox],.staff-day-toggle input[type=checkbox]{width:17px;height:17px;min-height:0;flex:0 0 17px;accent-color:var(--gold)}

/* Experiencia empresa, accesibilidad y acciones seguras */
.module-heading-icon{width:auto;height:auto;border-radius:0;background:transparent!important;color:#a87525;padding:4px;font-size:31px}
.company-switcher select{max-width:190px;height:40px;border:1px solid #ded8d0;border-radius:10px;background:#fff;padding:0 30px 0 10px;font-size:11px;font-weight:800}
.phone-prefix-field{display:grid!important;grid-template-columns:48px 1fr;align-items:center;border:1px solid #dcd6ce;border-radius:10px;background:#fbfaf8;overflow:hidden}.phone-prefix-field b{height:100%;display:grid;place-items:center;background:#eee9e1;border-right:1px solid #dcd6ce;color:#5f574d;font-size:12px}.module-form .phone-prefix-field input{border:0;border-radius:0;background:transparent;box-shadow:none!important}
.company-settings-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);gap:16px;align-items:start}.company-profile-form,.company-media-form,.company-hours-form{padding:22px}.company-profile-form>header,.company-media-form>header,.company-hours-form>header{margin:-22px -22px 5px}.company-profile-form>header>i,.company-media-form>header>i,.company-hours-form>header>i,.customer-edit-panel>header>i{font-size:25px;color:#a87525}.company-side-stack{display:grid;gap:16px}.form-triple{display:grid;grid-template-columns:.7fr 1fr 1fr;gap:10px}.gps-fields,.password-change-fields{border:1px solid #e1dbd2;border-radius:13px;padding:14px;margin:2px 0}.gps-fields legend,.password-change-fields legend{padding:0 7px;font-size:11px;font-weight:800}.gps-fields small{display:block;margin-top:9px;color:#898178;font-size:10px;line-height:1.5}.media-upload-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.media-upload-card{cursor:pointer}.media-upload-card>span{font-size:10px!important}.media-upload-card>div{height:115px;border:1px dashed #cfbea1;border-radius:11px;background:#faf6ef;display:grid;place-items:center;overflow:hidden}.media-upload-card img{width:100%;height:100%;object-fit:cover}.media-upload-card>div>i{font-size:25px;color:#b28848}.media-upload-card input{min-height:35px;padding:4px;font-size:9px}.media-upload-card small{text-align:left!important}.upload-progress{position:relative;height:36px;border-radius:9px;overflow:hidden;background:#efeae2}.upload-progress i{position:absolute;inset:0 auto 0 0;width:var(--upload-progress,35%);background:linear-gradient(90deg,#d2a451,#bf8731);transition:.3s}.upload-progress span{position:relative;z-index:1;display:grid;place-items:center;height:100%;font-size:10px;font-weight:800}.company-hours-grid{display:grid;gap:7px}.company-hour-row{display:grid;grid-template-columns:75px 85px 1fr 1fr;align-items:center;gap:7px;padding:8px;border-bottom:1px solid #eee9e2}.company-hour-row>strong{font-size:10px}.company-hour-row>span{display:grid;grid-template-columns:1fr 10px 1fr;align-items:center;gap:4px}.company-hour-row>span i{font-style:normal;text-align:center}.company-hour-row input[type=time]{min-height:35px;padding:4px;font-size:9px}.inline-form-message{margin:0;padding:11px;border-radius:9px;background:#fff0ed;color:#963f36;font-size:11px}.customer-edit-panel{margin-top:18px}.customer-edit-panel .module-form{padding:20px}.appointment-status-badge{min-width:82px}.appointment-row:has(.appointment-status-badge){grid-template-columns:55px 4px minmax(120px,.8fr) minmax(150px,1fr) auto auto}.service-online-cell{min-width:78px}.member-statuses{display:flex!important;align-items:center;justify-content:flex-end;gap:5px;flex:0 0 auto!important}.member-statuses form{display:inline}.member-statuses .table-action{width:31px;height:31px}.team-management-card.is-disabled{opacity:.7;background:#f4f1ed}.free-team-plan>.action-card{display:none}.team-list b.available{color:#267354}.team-list b.unavailable{color:#a24b40}.secondary-action.danger,.table-action.danger{color:#a43e35;border-color:#e6c3be}.button-spinner{display:inline-block;animation:button-spin .75s linear infinite}@keyframes button-spin{to{transform:rotate(360deg)}}button:disabled,input[type=submit]:disabled{cursor:wait;opacity:.62;transform:none!important}.tv-addon-subscription{margin:16px 0}.tv-addon-subscription>header p{font-size:11px;color:#817b73;margin:5px 0 0}.tv-addon-body{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px}.tv-addon-body>div{display:grid;gap:5px}.tv-addon-body strong{font:800 32px "Manrope"}.tv-addon-body span{font-size:11px;font-weight:800}.tv-addon-body small{max-width:760px;color:#817b73;font-size:10px;line-height:1.55}.profile-avatar-editor{display:flex;align-items:center;gap:13px;padding:13px;border-radius:13px;background:#f5f1eb}.profile-avatar-editor>img,.profile-avatar-editor>span{width:70px;height:70px;border-radius:18px;object-fit:cover;display:grid;place-items:center;background:#1a1919;color:#d9b367;font-weight:900}.profile-avatar-editor label{position:relative;display:flex!important;align-items:center;gap:8px;font-size:11px;font-weight:800;cursor:pointer}.profile-avatar-editor input{position:absolute;inset:0;opacity:0;cursor:pointer}.remembered-identity{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e0d8cb;border-radius:13px;background:#fffaf1}.remembered-identity img,.remembered-identity>i{width:44px;height:44px;border-radius:12px;object-fit:cover;display:grid;place-items:center;background:#efe3cf;font-size:24px}.remembered-identity strong,.remembered-identity small{display:block}.remembered-identity small{font-size:11px;color:#837d74;margin-top:3px}.text-button,.change-user-form button{border:0;background:transparent;color:#8a601e;font-size:11px;font-weight:800}.change-user-form{text-align:center;margin-top:14px}.change-user-form button{display:inline-flex;gap:7px}.reset-notice{border-color:#cde2d4;background:#edf7f0;color:#2d6e50}
@media(max-width:1100px){.company-settings-grid{grid-template-columns:1fr}.company-side-stack{grid-template-columns:1fr 1fr}.company-hours-form{grid-column:1/-1}}
.company-settings-grid{margin-top:16px;margin-bottom:16px}.location-switcher{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.location-switcher>a{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #e3dcd2;border-radius:999px;background:#fff;color:#5d574e;font-size:11px;font-weight:800;text-decoration:none;transition:background .15s ease,color .15s ease,border-color .15s ease}.location-switcher>a:hover{border-color:var(--gold);color:var(--ink)}.location-switcher>a.active{background:#171719;border-color:#171719;color:#fff}.location-switcher>a i{font-size:11px}.location-switcher>a b{padding:2px 7px;border-radius:999px;background:rgba(255,255,255,.16);font-size:9px;font-weight:800;letter-spacing:.04em}.location-switcher>a:not(.active) b{background:#eee7da;color:#855e23}.location-form-hint{display:flex;align-items:flex-start;gap:8px;margin:0 0 14px;padding:11px 13px;border-radius:11px;background:#f4f1ea;color:#6a6459;font-size:11px;line-height:1.5}.location-form-hint i{margin-top:1px;color:#a87525}.company-locations-panel{margin-top:16px}.company-locations-panel>header{align-items:center;gap:12px}.location-row-link{color:inherit;text-decoration:none}.location-row-link:hover{color:#a87525}tr.is-selected-row{background:#faf6ee}.status.active{background:#e2f2e8;color:#2d7351}
@media(max-width:760px){.company-side-stack{grid-template-columns:1fr}.company-hours-form{grid-column:auto}.form-triple,.media-upload-grid{grid-template-columns:1fr}.company-hour-row{grid-template-columns:1fr 1fr}.company-hour-row>span{grid-column:1/-1}.appointment-row:has(.appointment-status-badge){grid-template-columns:45px 3px 1fr}.appointment-status-badge,.status-form{grid-column:3}.services-table thead{display:none}.services-table,.services-table tbody,.services-table tr,.services-table td{display:block;width:100%}.services-table tr{padding:12px;border-bottom:1px solid #e7e1d9}.services-table td{display:flex;justify-content:space-between;gap:12px;padding:7px!important;border:0!important}.services-table td:before{content:attr(data-label);font-size:10px;font-weight:800;color:#8c857c}.service-online-cell .status{display:inline-flex!important}.tv-addon-body{display:grid}.company-switcher{display:none}}
.company-media-upload-form{display:grid;gap:14px}.media-upload-brand{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-file-picker{position:relative;display:block!important;border:1px dashed #c9ad7d;border-radius:13px;background:#faf5ec;padding:16px;cursor:pointer}.gallery-file-picker>span{display:grid!important;grid-template-columns:34px 1fr;gap:2px 10px;align-items:center}.gallery-file-picker i{grid-row:1/3;width:34px;height:34px;border-radius:10px;background:#ead9ba;color:#93641f;display:grid;place-items:center;font-size:16px}.gallery-file-picker strong,.gallery-file-picker small{display:block}.gallery-file-picker strong{font-size:11px}.gallery-file-picker small{font-size:9px;color:#867d72}.gallery-file-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.gallery-file-picker:has(input:disabled){opacity:.58;cursor:not-allowed}.gallery-new-previews,.company-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gallery-new-previews span{min-width:0}.gallery-new-previews img,.company-gallery-grid article>img{display:block;width:100%;height:105px;object-fit:cover;border-radius:10px}.gallery-new-previews small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;color:#777;margin-top:4px}.company-gallery-manager{border-top:1px solid #ebe5dd;margin:18px -22px -22px;padding:18px 22px 22px}.company-gallery-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.company-gallery-heading strong{font-size:11px}.company-gallery-heading span{font-size:9px;color:#8e6b32;background:#f5ead8;border-radius:999px;padding:5px 8px}.company-gallery-grid article{position:relative}.company-gallery-grid article form{position:absolute;right:7px;top:7px}.company-gallery-grid article button{width:31px;height:31px;border:0;border-radius:9px;background:rgba(19,18,18,.82);color:#fff;display:grid;place-items:center;box-shadow:0 5px 14px rgba(0,0,0,.2)}.company-gallery-empty{min-height:90px;border:1px dashed #ddd0bc;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:9px;color:#8b8277;font-size:10px}.company-gallery-empty i{font-size:20px;color:#aa7a31}
@media(max-width:760px){.media-upload-brand{grid-template-columns:1fr 1fr}.gallery-new-previews,.company-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.catalog-list-only{grid-template-columns:minmax(0,1fr)!important}
.catalog-action-card{position:relative;width:min(620px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto}
.catalog-action-card>summary{list-style:none;font-weight:800;font-size:18px;margin:0 0 20px}
.catalog-action-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border:0;border-radius:50%;background:#f1ede6;cursor:pointer;z-index:2}
.catalog-create-button{margin-left:auto}
.catalog-name-cell{display:flex;align-items:center;gap:12px;min-width:220px}
.catalog-name-cell>img,.catalog-name-cell>span{width:48px;height:48px;flex:0 0 48px;border-radius:12px;object-fit:cover;background:#f1ede6;display:grid;place-items:center;color:#a6752e}
.catalog-name-cell>div{display:grid;gap:3px}.row-actions{display:flex;gap:6px}
.electronic-receipt-box{display:grid;gap:13px;padding:17px;border:1px solid #cfe5d6;border-radius:16px;background:#f0f8f2}
.electronic-receipt-box>div:first-child{display:flex;gap:11px;align-items:center;color:#286f49}.electronic-receipt-box>div:first-child>i{font-size:24px}.electronic-receipt-box>div:first-child span{display:grid}.electronic-receipt-box>div:first-child small{color:#668272}
.company-invoice-fields{display:grid;grid-template-columns:1fr 180px;gap:12px}
.stripe-balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.stripe-balance-card>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stripe-balance-card>div>span{display:grid;padding:18px;border-radius:14px;background:#f5f2ec}.stripe-balance-card strong{font-size:27px}.refund-summary-card p{color:#6f6a63;line-height:1.6}@media(max-width:760px){.stripe-balance-grid{grid-template-columns:1fr}}
.appointment-row[data-appointment-id]{cursor:pointer}.appointment-row[data-appointment-id]:focus-visible{outline:3px solid rgba(201,150,62,.35);outline-offset:-2px}.appointment-open-button{width:34px;height:34px;border:0;border-radius:10px;background:#f2eee7;color:#76664d;display:grid;place-items:center;cursor:pointer}.calendar-view-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.calendar-view-controls button{border:1px solid #ddd5c8;background:#fff;color:#5d574e;border-radius:10px;padding:8px 10px;font-weight:750;cursor:pointer}.calendar-view-controls button.active{background:#171719;color:#fff;border-color:#171719}.calendar-view-controls input{border:1px solid #ddd5c8;border-radius:10px;padding:7px 9px}.appointment-day-calendar{max-height:650px;overflow:auto;border:1px solid #eee8de;border-radius:15px}.appointment-day-schedule>header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;background:#fbf9f5;padding:13px 16px;border-bottom:1px solid #e9e2d8}.calendar-hour-row{display:grid;grid-template-columns:64px 1fr;min-height:58px;border-bottom:1px solid #f1ece5}.calendar-hour-row>time{padding:9px 11px;color:#8d867d;font-size:12px;border-right:1px solid #f1ece5}.calendar-hour-row>div{padding:5px;display:grid;gap:5px}.calendar-appointment{border:0;border-left:4px solid var(--staff-color,#c9963e);background:#f6f1e9;border-radius:7px;padding:7px 10px;text-align:left;cursor:pointer}.calendar-appointment strong,.calendar-appointment small{display:block}.calendar-appointment small{color:#746e66;margin-top:2px}.appointment-details-card{max-width:650px}.appointment-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.appointment-detail-grid article{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #eee7dc;border-radius:13px;background:#fcfaf7}.appointment-detail-grid article>i{font-size:21px;color:#aa7627}.appointment-detail-grid small,.appointment-detail-grid strong{display:block}.appointment-detail-grid small{color:#8a8379;margin-bottom:2px}.appointment-modal-notes{margin:13px 0;padding:14px;background:#f6f2eb;border-radius:13px}.appointment-modal-notes small{color:#827a70}.appointment-modal-notes p{margin:5px 0 0;white-space:pre-line}.appointment-modal-status-form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}@media(max-width:700px){.appointment-detail-grid{grid-template-columns:1fr}.appointment-modal-status-form{grid-template-columns:1fr}.appointment-row{grid-template-columns:50px 5px 1fr auto}.appointment-service{grid-column:3}.appointment-open-button{grid-column:4;grid-row:1/3}.calendar-view-controls{margin-top:10px}}
.loyalty-tiers-card>header{display:flex;align-items:center;justify-content:space-between}.loyalty-tier-list{display:grid;gap:9px;margin-top:15px}.loyalty-tier-list>button{display:flex;align-items:center;gap:11px;width:100%;border:1px solid #eee7dc;background:#fff;border-radius:13px;padding:12px;text-align:left;cursor:pointer}.loyalty-tier-list>button>i:first-child{width:13px;height:40px;border-radius:8px;background:var(--tier-color,#3e8e62)}.loyalty-tier-list>button>span{flex:1}.loyalty-tier-list strong,.loyalty-tier-list small{display:block}.loyalty-tier-list small{color:#81796f;margin-top:3px}
.updates-panel>header{display:flex;justify-content:space-between;align-items:center}.platform-update-list{display:grid;gap:11px;margin-top:18px}.platform-update-list article{display:grid;grid-template-columns:44px 1fr auto;gap:13px;padding:16px;border:1px solid #e9e2d8;border-radius:15px;background:#fff}.platform-update-list article.unread{border-color:#d5b47b;background:#fffcf5}.platform-update-list article>i{width:44px;height:44px;border-radius:12px;background:#f1ece4;display:grid;place-items:center;font-size:19px}.platform-update-list article.important>i{background:#fae4df;color:#a44337}.platform-update-list article.maintenance>i{background:#e4e9f3;color:#455d91}.platform-update-list article span{font-size:10px;color:#9b7a45;text-transform:uppercase;font-weight:800}.platform-update-list h3{margin:4px 0}.platform-update-list p{margin:0;color:#6e6860;line-height:1.55}.platform-update-list article>b{align-self:start;background:#171719;color:#fff;border-radius:20px;padding:5px 8px;font-size:9px}.login-updates{margin:0 0 16px;border:1px solid #e1d8ca;border-radius:12px;background:#fbf8f2}.login-updates summary{padding:11px 13px;cursor:pointer;font-weight:800;font-size:12px}.login-updates summary b{float:right;background:#171719;color:#fff;border-radius:20px;padding:2px 7px}.login-updates article{padding:11px 13px;border-top:1px solid #e9e2d8}.login-updates strong,.login-updates small{display:block}.login-updates small{color:#9a753b;font-size:9px}.login-updates p{font-size:11px;color:#686159;margin:5px 0;line-height:1.5}
.permission-directory{display:table;width:100%;border-collapse:collapse}.team-management-card{display:table-row}.team-management-card>.member-summary{display:table-cell;border-bottom:1px solid #eee7de;padding:13px;vertical-align:middle}.team-management-card>.owner-access-note{display:table-cell;border-bottom:1px solid #eee7de;vertical-align:middle}.team-action-modal-card{max-width:960px;max-height:90vh;overflow:auto}.staff-activity-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.staff-activity-summary article{padding:13px;border:1px solid #ece4da;border-radius:12px}.staff-activity-summary span,.staff-activity-summary strong{display:block}.staff-activity-summary span{font-size:10px;color:#817a72}.staff-activity-list{display:grid;gap:6px;margin-top:13px}.staff-activity-list>div{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:9px;background:#f8f5f0;border-radius:10px}.staff-activity-list>div>i{width:34px;height:34px;display:grid;place-items:center;background:#fff;border-radius:9px}.staff-activity-list strong,.staff-activity-list small{display:block}.staff-activity-list small,.staff-activity-list time{font-size:10px;color:#817a72}@media(max-width:760px){.permission-directory,.team-management-card{display:block}.team-management-card>.member-summary,.team-management-card>.owner-access-note{display:block}.staff-activity-summary{grid-template-columns:1fr}}
.stripe-balance-card,.refund-summary-card{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.stripe-balance-card>header,.refund-summary-card>header{width:100%;justify-content:center;text-align:center}.stripe-balance-card>header>i,.refund-summary-card>header>i{display:none}.stripe-balance-card>div{justify-content:center;width:100%}.refund-summary-card>p{max-width:480px;margin-inline:auto}.refund-summary-card>.dark-button{align-self:center}.refund-history-panel{margin-top:14px}
.confirmation-modal-card{max-width:460px;padding:32px}.confirmation-modal-card h2{margin:0}.confirmation-modal-card p{color:#6f685f;line-height:1.6}
.appointment-week-calendar{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:7px;overflow-x:auto}.appointment-week-calendar>section{min-width:150px;border:1px solid #e9e2d8;border-radius:13px;background:#fbfaf7;overflow:hidden}.appointment-week-calendar>section>header{display:grid;grid-template-columns:1fr auto;padding:10px;border-bottom:1px solid #e9e2d8}.appointment-week-calendar>section>header small{text-transform:uppercase;color:#9a7540;font-weight:800}.appointment-week-calendar>section>header span{grid-column:1/-1;font-size:9px;color:#8b847b;margin-top:3px}.appointment-week-calendar>section>div{padding:7px;display:grid;align-content:start;gap:6px;min-height:420px}.appointment-week-calendar .calendar-appointment em{display:block;font-style:normal;color:#8a8176;font-size:9px;margin-top:3px}.appointment-week-calendar section>div>p{text-align:center;color:#aaa39a;font-size:10px;margin-top:30px}
.appointment-create-modal-card{max-width:650px}.appointment-calendar-panel>header>.gold-button{flex:0 0 auto}
.agenda-list-only{grid-template-columns:minmax(0,1fr)!important}.agenda-list-only>.appointment-calendar-panel{grid-column:1/-1;width:100%}
.stripe-balance-grid{gap:24px;margin:26px 0}.stripe-balance-card,.refund-summary-card{min-height:265px;padding:30px!important;gap:18px}.stripe-balance-card>header,.refund-summary-card>header{padding:0 0 16px!important;margin:0!important;border-bottom:1px solid #eee7dc}.stripe-balance-card>div{gap:16px}.stripe-balance-card>div>span{min-width:150px;padding:21px 18px}.stripe-balance-card>small{display:block;margin-top:2px;color:#8c857c;line-height:1.5}.refund-summary-card>p{margin:0 auto;line-height:1.7}.refund-summary-card>.dark-button{margin-top:2px;min-width:210px}.refund-history-panel{margin-top:18px;margin-bottom:30px}.refund-history-panel+.online-payment-layout{margin-top:0}
.upgrade-locked-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:#faf6ee;border:1px dashed #d8c398}.upgrade-locked-card .action-card-title i{color:#a97a1f}.upgrade-locked-card p{margin:0;color:#7a6f5f;font-size:12px;line-height:1.55}.upgrade-locked-card .gold-button.compact{padding:9px 14px;font-size:11px}
.trial-warning-modal .portal-modal-card{max-width:460px}.trial-warning-choice{display:flex;gap:10px;flex-wrap:wrap}.trial-warning-choice .gold-button,.trial-warning-choice .dark-button{flex:1 1 180px;justify-content:center}
.table-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:16px}.table-pagination a,.table-pagination button{min-width:34px;height:34px;padding:0 10px;border:1px solid #e3dcd2;border-radius:10px;background:#fff;color:#5d574e;font-weight:800;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}.table-pagination a:hover,.table-pagination button:hover{border-color:var(--gold);color:var(--ink)}.table-pagination a.active,.table-pagination button.active{background:var(--gold);color:#fff;border-color:var(--gold);box-shadow:0 6px 14px rgba(201,150,62,.3)}.table-pagination a:disabled,.table-pagination button:disabled{opacity:.35;cursor:default;box-shadow:none}.table-pagination a:disabled:hover,.table-pagination button:disabled:hover{border-color:#e3dcd2;color:#5d574e}.table-pagination .pagination-status{margin-left:8px;color:#8a837a;font-size:11px;font-weight:700}.table-panel[data-paginated]{position:relative}.table-panel[data-paginated].is-loading .table-scroll{opacity:.45;pointer-events:none;transition:opacity .15s ease}
.date-range-filter{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:16px}.date-range-filter label{display:grid;gap:4px;font-size:10px;font-weight:800;color:#6f685f}.date-range-filter input{height:40px;border:1px solid #ddd4c9;border-radius:10px;padding:0 10px}.date-range-filter button{height:40px;border:0;border-radius:10px;padding:0 16px;background:#171719;color:#fff;font-weight:800;font-size:12px;cursor:pointer}
.date-range-presets{display:flex;flex-wrap:wrap;gap:8px;margin:-8px 0 16px}.date-range-presets a{border:1px solid #e3dcd2;border-radius:20px;padding:7px 14px;font-size:11px;font-weight:800;color:#5d574e;text-decoration:none;background:#fff;transition:background .15s ease,color .15s ease,border-color .15s ease}.date-range-presets a:hover{border-color:var(--gold);color:var(--ink)}.date-range-presets a.active{background:var(--gold);color:#fff;border-color:var(--gold)}
.history-tabs{display:flex;gap:8px;margin:-6px 0 0;border-bottom:1px solid #e6e0d6}.history-tab{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 16px;border:0;border-bottom:2px solid transparent;background:transparent;color:#847c70;font-size:12px;font-weight:800;cursor:pointer;transition:color .15s ease,border-color .15s ease}.history-tab:hover{color:var(--ink)}.history-tab.is-active{color:var(--ink);border-color:var(--gold)}.history-tabpanel[hidden]{display:none}

/* Modales: cabecera y acciones siempre visibles, contenido central desplazable */
.portal-modal-card{display:flex;flex-direction:column;padding:0!important;overflow:hidden!important;min-height:0}
.portal-modal-card>header{position:relative;z-index:3;flex:0 0 auto;margin:0!important;padding:22px 24px 18px;border-bottom:1px solid #ece5db;background:#fff;box-shadow:0 7px 18px rgba(25,20,15,.035)}
.portal-modal-card>header>.action-card-title{flex:1;margin:0;padding:0 54px 0 0}
.portal-modal-card>header>summary{display:flex;align-items:center;gap:10px;list-style:none;padding-right:54px;font:800 19px "Manrope";cursor:default}.portal-modal-card>header>summary::-webkit-details-marker{display:none}.portal-modal-card>header>summary>i{width:40px;height:40px;border-radius:11px;background:#171719;color:#d9ad62;display:grid;place-items:center}
.portal-modal-card>header>.catalog-action-close,.portal-modal-card>header>.sale-modal-close{position:absolute;right:22px;top:20px;float:none}
.portal-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 24px;scrollbar-gutter:stable}
.portal-modal-body>.module-form,.portal-modal-body>form{padding:0;margin:0}
.portal-modal-footer{position:relative;z-index:3;flex:0 0 auto;display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:0;padding:15px 24px;border-top:1px solid #e9e1d6;background:#fff;box-shadow:0 -8px 22px rgba(25,20,15,.055)}
.portal-modal-footer>.gold-button,.portal-modal-footer>.dark-button{min-width:190px;justify-content:center}
.sale-modal-card>header>.action-card-title{padding-right:58px;margin:0}.sale-modal-card>.portal-modal-body{padding:22px 28px}
.confirmation-modal-card,.confirmation-modal-card *{text-align:center}.confirmation-modal-card>header{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.confirmation-modal-card>header>span{width:64px;height:64px;margin:0 auto 8px;border-radius:50%;background:#fff0dd;color:#a56c1b;display:grid;place-items:center;font-size:26px}.confirmation-modal-card>header>div{width:100%}.confirmation-modal-card>.portal-modal-body{display:flex;flex-direction:column;align-items:center;text-align:center}.confirmation-modal-card>.portal-modal-body p{margin-left:auto;margin-right:auto}.confirmation-modal-card>.portal-modal-footer{display:grid;grid-template-columns:1fr 1fr}.confirmation-modal-card>.portal-modal-footer button{justify-content:center}
.confirmation-modal{z-index:600}
.team-action-modal-card>.portal-modal-body{padding-top:18px}
@media(max-width:700px){.portal-modal{padding:10px}.portal-modal-card{max-height:calc(100dvh - 20px)}.portal-modal-card>header,.portal-modal-body,.portal-modal-footer{padding-left:17px;padding-right:17px}.portal-modal-footer{display:grid;grid-template-columns:1fr}.portal-modal-footer>.gold-button,.portal-modal-footer>.dark-button{width:100%;min-width:0}.confirmation-modal-card>.portal-modal-footer{grid-template-columns:1fr 1fr}}
.loyalty-tier-list>p{text-align:center;color:#8a837a;padding:28px 15px;margin:0;border:1px dashed #ddd4c8;border-radius:13px}

/* Informes diarios y periódicos */
.report-mode-tabs{display:inline-flex;align-items:center;gap:6px;margin:0 0 18px;padding:5px;border:1px solid var(--line);border-radius:13px;background:#fff}
.report-mode-tabs a{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 15px;border-radius:9px;color:#746d64;font-size:12px;font-weight:800}
.report-mode-tabs a.active{background:#191819;color:#fff;box-shadow:0 6px 16px rgba(25,24,25,.14)}
.periodic-report-note{display:flex;align-items:flex-start;gap:11px;margin:0 0 16px;padding:14px 16px;border:1px solid #dfd3bd;border-radius:14px;background:#fbf6ec;color:#5f574d}
.periodic-report-note>i{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#1b1916;color:#d5ab64}
.periodic-report-note span{font-size:12px;line-height:1.55}.periodic-report-note strong{color:#25211c}
.periodic-report-grid{margin-top:16px}.periodic-report-grid .report-bars{min-width:0}
.periodic-ledger{grid-column:1/-1;margin-top:0}.periodic-ledger td:first-child{text-transform:capitalize;font-weight:800}
@media(max-width:620px){.report-mode-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%}.report-mode-tabs a{justify-content:center}.periodic-report-note{align-items:center}.periodic-ledger{overflow-x:auto}}
.sidebar-nav{flex:1;min-height:0}.sidebar-profile{margin-top:auto}
.sidebar-nav{scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:transparent transparent;transition:scrollbar-color .2s}.sidebar-nav:hover,.sidebar-nav:focus-within{scrollbar-color:#3d3a40 transparent}
.sidebar-nav::-webkit-scrollbar{width:5px}.sidebar-nav::-webkit-scrollbar-track{background:transparent}.sidebar-nav::-webkit-scrollbar-thumb{background:transparent;border-radius:4px}.sidebar-nav:hover::-webkit-scrollbar-thumb,.sidebar-nav:focus-within::-webkit-scrollbar-thumb{background:#3d3a40}.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#57535a}
.permission-directory{display:block!important;padding:0!important;border:1px solid #e4ddd4;border-radius:16px;overflow:auto;background:#fff}.team-table-header,.team-management-card>.member-summary{display:grid!important;grid-template-columns:minmax(230px,1.45fr) 115px 125px minmax(170px,.8fr) 160px;gap:14px;align-items:center}.team-table-header{position:sticky;top:0;z-index:2;min-width:900px;padding:13px 18px;background:#181719;color:#bbb5ad;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.team-management-card{display:block!important;min-width:900px;border:0!important;border-radius:0!important}.team-management-card>.member-summary{padding:14px 18px!important;border-bottom:1px solid #eee7de;background:#fff}.team-management-card:last-child>.member-summary{border-bottom:0}.team-member-cell{display:flex;align-items:center;gap:12px;min-width:0}.team-member-cell>div{min-width:0}.team-member-cell small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-status-cell{justify-self:start}.team-access-cell{font-size:10px;color:#69625a;line-height:1.4}.team-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.team-row-actions form{display:inline-flex}.team-row-actions .table-action{width:34px;height:34px;border-radius:9px}@media(max-width:760px){.permission-directory{overflow:visible}.team-table-header{display:none!important}.team-management-card{min-width:0!important;border-bottom:1px solid #e6dfd6!important}.team-management-card>.member-summary{grid-template-columns:1fr 1fr!important;gap:12px!important}.team-member-cell{grid-column:1/-1}.team-status-cell,.team-access-cell,.team-row-actions{position:relative;padding-top:17px}.team-status-cell:before,.team-access-cell:before,.team-row-actions:before{content:attr(data-label);position:absolute;top:0;left:0;font-size:8px;font-weight:800;text-transform:uppercase;color:#9a938a}.team-row-actions{justify-content:flex-start}}
.report-ticket-panel{margin-top:18px}.report-ticket-panel>header>b{padding:7px 10px;border-radius:9px;background:#f0e5d2;color:#855f23;font-size:10px}.report-ticket-card{width:min(720px,calc(100vw - 28px));height:min(760px,90vh);display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden!important}.report-ticket-card>header,.report-ticket-card>footer{position:relative;z-index:2;background:#fff}.report-ticket-card>header{border-bottom:1px solid #e7e0d7}.report-ticket-card>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-top:1px solid #e7e0d7}.report-ticket-card>footer span,.report-ticket-card>footer strong{display:block}.report-ticket-card>footer span{font-size:9px;color:#8b847b}.report-ticket-card>footer strong{font-size:20px;margin-top:3px}.report-ticket-body{overflow:auto;padding:20px}.report-ticket-body h3{margin:0 0 10px;font-size:12px}.report-ticket-body>section+section{margin-top:18px}.report-ticket-body article,.report-ticket-totals>span,.report-ticket-payments>span{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border-bottom:1px solid #eee8e0}.report-ticket-body article strong,.report-ticket-body article small{display:block}.report-ticket-body article small{margin-top:4px;font-size:9px;color:#8c857c}.report-ticket-totals{padding:8px;border-radius:12px;background:#f8f5f0}.report-ticket-totals>span{font-size:10px}.report-ticket-payments>span{font-size:10px}.report-ticket-payments>span i{margin-right:7px}.report-ticket-payments>span b{margin-left:auto}

/* Configuración previa, agenda múltiple e indisponibilidades */
.company-setup-banner{display:flex;align-items:center;gap:16px;margin:0 0 22px;padding:17px 19px;border:1px solid #e7c780;border-radius:16px;background:#fff9e9;box-shadow:0 8px 22px rgba(111,78,19,.08)}.company-setup-banner>i{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:#c9963e;color:#fff;font-size:20px}.company-setup-banner>div{min-width:0;flex:1}.company-setup-banner strong{display:block;color:#2d251a;font-size:14px}.company-setup-banner p{margin:4px 0 0;color:#796a52;font-size:12px;line-height:1.5}.company-setup-required{opacity:.55!important;cursor:not-allowed!important;filter:grayscale(.25)}
.company-social-fields{margin:3px 0;padding:16px;border:1px solid #e0d9cf;border-radius:14px;background:#fbfaf8}.company-social-fields>legend{padding:0 7px;font-size:12px;font-weight:900;color:#3b3732}.company-social-fields>p{margin:-2px 0 13px;color:#827b72;font-size:11px}
.appointment-service-picker{max-height:260px;overflow:auto;align-content:start}.appointment-services-summary{display:block;margin-top:-7px;color:#806a43;font-weight:800}.appointment-row-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}.appointment-row-actions .appointment-open-button{position:static;flex:0 0 auto}.appointment-create-modal-card .appointment-service-picker{max-height:235px}
.staff-time-off-content{display:grid;gap:22px}.modal-context-note{display:flex;gap:8px;align-items:flex-start;margin:0;padding:12px 14px;border-radius:11px;background:#f5f1e9;color:#686158;font-size:12px}.staff-time-off-list{display:grid;gap:8px}.staff-time-off-list h3{margin:0 0 3px;font-size:13px}.staff-time-off-list>article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;border:1px solid #e4ddd3;border-radius:12px;background:#fff}.staff-time-off-list>article>i{color:#b95e55}.staff-time-off-list>article span strong,.staff-time-off-list>article span small{display:block}.staff-time-off-list>article span strong{font-size:12px}.staff-time-off-list>article span small{margin-top:3px;color:#888078;font-size:10px}
.compact-metrics.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.refund-metric{border-color:#ecd2cf}.sale-modal .sale-modal-card{display:flex!important;height:min(900px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);overflow:hidden!important}.sale-modal-card>.portal-modal-body{min-height:0;overflow-y:auto!important;overscroll-behavior:contain}.sale-modal-card>.portal-modal-footer{flex:0 0 auto}
@media(max-width:1050px){.compact-metrics.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.company-setup-banner{align-items:flex-start;flex-wrap:wrap}.company-setup-banner .gold-button{margin-left:60px}.sale-modal-card{height:calc(100dvh - 18px);max-height:calc(100dvh - 18px)}}@media(max-width:520px){.compact-metrics.report-metrics{grid-template-columns:1fr}.company-setup-banner .gold-button{width:100%;margin-left:0;justify-content:center}.company-social-fields .form-triple{grid-template-columns:1fr}}

/* Acceso Gratis/Profesional */
.plan-expiry-banner{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:14px 16px;border:1px solid #e3bd73;border-radius:14px;background:#fff7e7;color:#302514;box-shadow:0 8px 24px rgba(83,57,18,.08)}
.plan-expiry-banner>i{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#c9963e;color:#fff;font-size:20px}.plan-expiry-banner>div{flex:1}.plan-expiry-banner strong,.plan-expiry-banner p{display:block;margin:0}.plan-expiry-banner p{margin-top:3px;color:#78684f;font-size:12px}
.plan-feature-locked,.plan-control-locked,.plan-obscured{position:relative;cursor:pointer!important}.plan-feature-locked{border-color:#d8c7aa!important;background:linear-gradient(145deg,#fff,#faf6ef)!important}.plan-feature-locked:after,.plan-control-locked:after{content:'PRO';display:inline-grid;place-items:center;min-width:27px;height:18px;margin-left:7px;padding:0 6px;border-radius:9px;background:#171719;color:#eecb82;font:900 9px/1 system-ui;letter-spacing:.08em;vertical-align:middle}.plan-feature-locked button[type=submit]{filter:saturate(.25);opacity:.68}.plan-control-locked{opacity:.58;filter:saturate(.35)}
.plan-obscured{overflow:hidden}.plan-obscured .table-scroll,.plan-obscured .inventory-day-cards,.plan-obscured>div:not(.portal-modal),.plan-obscured>p{filter:blur(7px);user-select:none;pointer-events:none}.plan-obscured:before{content:'Información protegida · Plan Profesional';position:absolute;z-index:8;left:50%;top:58%;transform:translate(-50%,-50%);min-width:min(310px,80%);padding:12px 16px;border-radius:12px;background:rgba(23,23,25,.9);box-shadow:0 10px 30px rgba(0,0,0,.18);color:#fff;text-align:center;font:800 12px/1.35 system-ui;backdrop-filter:blur(5px)}
.plan-upgrade-modal{z-index:900}.plan-upgrade-card{max-width:550px}.plan-upgrade-card>header{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:16px}.plan-upgrade-card>header>span{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#171719;color:#e8bd67;font-size:23px}.plan-upgrade-card>header small{color:#a57629;font-weight:900;letter-spacing:.12em}.plan-upgrade-card>header h2{margin:5px 0 6px}.plan-upgrade-card>header p{margin:0;color:#746d64;line-height:1.55}.plan-upgrade-card>header>button{border:0;background:transparent;font-size:18px;cursor:pointer}.plan-upgrade-card .portal-modal-footer a{text-decoration:none}
@media(max-width:700px){.plan-expiry-banner{align-items:flex-start;flex-wrap:wrap}.plan-expiry-banner .gold-button{width:100%;justify-content:center}.plan-upgrade-card>header{grid-template-columns:auto 1fr}.plan-upgrade-card>header>button{position:absolute;right:14px;top:14px}.plan-upgrade-card .portal-modal-footer{grid-template-columns:1fr}}
.account-type-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 20px;padding:5px;border:1px solid #ddd5ca;border-radius:13px;background:#f6f3ee}.account-type-switch a{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;border-radius:9px;color:#686158;font-size:12px;font-weight:900;text-decoration:none}.account-type-switch a.active{background:#171719;color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.12)}
.tv-hero-actions{display:flex;gap:9px;flex-wrap:wrap}.tv-hero-actions a{text-decoration:none}.tv-trial-mode{background:linear-gradient(135deg,#171719,#3b2d18)!important}.tv-management-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.tv-management-disabled{position:relative;filter:saturate(.45);opacity:.72}.tv-management-disabled:before{content:'Activa Plan Tijera para guardar cambios y subir contenido';position:absolute;z-index:9;left:50%;top:50%;transform:translate(-50%,-50%);width:min(330px,80%);padding:13px 16px;border-radius:12px;background:rgba(23,23,25,.93);color:#fff;text-align:center;font:800 11px/1.4 system-ui;box-shadow:0 12px 35px rgba(0,0,0,.18)}.tv-management-disabled>*{pointer-events:none}.tv-settings-form>header,.tv-library-panel>header{display:flex;justify-content:space-between;align-items:flex-start}.tv-template-picker{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0;padding:0;border:0}.tv-template-picker legend{grid-column:1/-1;margin-bottom:2px;font-size:12px;font-weight:900}.tv-template-picker label{position:relative}.tv-template-picker input{position:absolute;opacity:0}.tv-template-picker span{height:100%;display:grid;place-items:center;align-content:center;gap:5px;padding:15px 10px;border:1px solid #ddd4c9;border-radius:13px;text-align:center;cursor:pointer}.tv-template-picker span>i{font-size:23px}.tv-template-picker span strong,.tv-template-picker span small{display:block}.tv-template-picker span small{color:#847c74;font-size:10px}.tv-template-picker input:checked+span{border-color:#c9963e;background:#fff7e6;box-shadow:inset 0 0 0 1px #c9963e}.tv-library-panel{padding:20px}.tv-library-panel>header strong{font-size:12px}.tv-storage-bar{height:9px;margin:13px 0 18px;border-radius:10px;background:#e8e1d8;overflow:hidden}.tv-storage-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#c9963e,#e5bb69)}.tv-upload-forms{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tv-upload-forms form{padding:14px;border:1px solid #e0d8ce;border-radius:14px;background:#faf8f5}.tv-upload-forms h3{margin:0;font-size:14px}.tv-upload-forms input[type=file]{width:100%;font-size:9px}.tv-media-preview{display:flex;align-items:center;gap:10px}.tv-media-thumb{position:relative;width:56px;height:48px;border-radius:9px;overflow:hidden;flex:0 0 auto;background:#171719}.tv-media-thumb>img,.tv-media-thumb>video{width:100%;height:100%;object-fit:cover;display:block}.tv-media-play-badge{position:absolute;inset:0;margin:auto;width:22px;height:22px;display:grid;place-items:center;color:#fff;font-size:22px;text-shadow:0 1px 5px rgba(0,0,0,.65);pointer-events:none}.tv-media-preview strong,.tv-media-preview small{display:block;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tv-media-preview strong{font-size:12px}.tv-media-preview small{font-size:10px}.tv-media-actions{display:flex;gap:5px}.tv-media-actions form{display:inline}.tv-media-actions button{width:34px;height:34px;border:1px solid #dcd4ca;border-radius:9px;background:#fff;cursor:pointer}.tv-media-actions button.danger{color:#a23f37}.tv-media-list{margin-top:18px}
@media(max-width:1050px){.tv-management-grid{grid-template-columns:1fr}.tv-upload-forms{grid-template-columns:1fr 1fr}}@media(max-width:650px){.tv-template-picker,.tv-upload-forms{grid-template-columns:1fr}.tv-hero-actions a{width:100%;justify-content:center}}
.stripe-bizum-sale-option{display:grid;gap:12px;padding:15px;border:1px solid #dcd0f5;border-radius:13px;background:#f6f2ff}.stripe-bizum-sale-option[hidden]{display:none}.stripe-bizum-sale-option .check-line{margin:0}.stripe-bizum-sale-option .check-line span strong,.stripe-bizum-sale-option .check-line span small{display:block}.stripe-bizum-sale-option .check-line span small{margin-top:4px;color:#746b7f}.stripe-bizum-sale-option>[data-bizum-phone]{margin:0}
.report-expense-summary{display:flex;align-items:center;gap:14px;margin:14px 0;padding:18px 20px;border:1px solid #ead3cf;border-radius:16px;background:linear-gradient(135deg,#fff,#fff4f1)}.report-expense-summary>i{width:46px;height:46px;border-radius:13px;background:#b74940;color:#fff;display:grid;place-items:center;font-size:20px}.report-expense-summary span,.report-expense-summary strong,.report-expense-summary small{display:block}.report-expense-summary span{font-size:11px;color:#7d6d66}.report-expense-summary strong{font:800 24px "Manrope";margin:2px 0}.report-expense-summary small{font-size:10px;color:#9a8580}
.header-help-link{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ddd6cc;border-radius:11px;background:#fff;color:#685633;text-decoration:none;font-size:18px}.header-help-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.tv-settings-form{width:100%;max-width:760px;margin-inline:auto;padding:clamp(20px,3vw,34px)}.tv-settings-form>header{margin-inline:calc(clamp(20px,3vw,34px) * -1);padding-inline:clamp(20px,3vw,34px)}.tv-target-selector,.tv-display-name-field{max-width:560px;margin-inline:auto}.tv-target-notice{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 15px;border-radius:12px;background:#f4efe7;color:#6f5733;font-size:12px}.tv-content-picker{border:1px solid #ded6cc;border-radius:14px;padding:15px;margin:4px 0}.tv-content-picker legend{padding:0 7px;font-size:12px;font-weight:900}.tv-content-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.tv-content-options label{display:flex;align-items:center;gap:7px;padding:9px;border:1px solid #e5ded5;border-radius:10px;background:#fff;cursor:pointer}.tv-content-options label span{display:flex;align-items:center;gap:7px;min-width:0;font-size:11px;font-weight:700}.tv-media-preview[role=button]{cursor:pointer}.tv-media-preview[role=button]:hover strong{color:#9b6d25}.tv-preview-modal .portal-modal-card{max-width:min(960px,94vw)}.tv-preview-stage{min-height:280px;max-height:72vh;display:grid;place-items:center;background:#0b0b0c;border-radius:15px;overflow:hidden}.tv-preview-stage img,.tv-preview-stage video{display:block;max-width:100%;max-height:72vh;object-fit:contain}@media(max-width:650px){.tv-content-options{grid-template-columns:1fr}}
.tv-visibility-controls{display:grid;gap:8px;margin:4px 0;padding:15px;border:1px solid #ded6cc;border-radius:14px;background:#fbf8f3}.tv-visibility-controls legend{padding:0 7px;font-size:12px;font-weight:900}.tv-visibility-controls .check-line{min-height:42px;margin:0;padding:10px 12px;border:1px solid #e2d9cd;border-radius:11px;background:#fff}

.sale-invoice-selector{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:18px 0}.sale-invoice-selector form{display:flex;align-items:end;gap:12px;flex:1}.sale-invoice-selector label{display:grid;gap:7px;flex:1}.sale-invoice-selector label span,.sale-return-form label>span{font-size:12px;font-weight:800;color:#665f58}.sale-invoice-selector select{width:100%;min-height:44px;border:1px solid #ded8d0;border-radius:10px;background:#fff;padding:0 12px}.sale-invoice-selector>p{max-width:360px;margin:0;color:#756e67;font-size:13px;line-height:1.5}.sale-return-invoice{margin:20px 0;border:1px solid rgba(183,134,53,.3)}.sale-return-invoice>header{display:flex;justify-content:space-between;align-items:start;gap:20px}.sale-return-invoice>header h2{margin:4px 0}.sale-return-invoice>header p{margin:0;color:#776f68}.sale-return-invoice>header>strong{font-size:25px;color:#9d6c24}.sale-invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.sale-invoice-meta>div{display:grid;gap:6px;padding:14px;border-radius:12px;background:#f7f4ef}.sale-invoice-meta span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#8d6b36}.sale-invoice-meta strong{font-size:13px}.sale-invoice-meta small{font-weight:600;color:#746d65}.sale-return-form{margin-top:20px;padding-top:20px;border-top:1px solid #e7e0d7}.sale-return-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.sale-return-heading h3{margin:4px 0 0}.sale-return-lines{display:grid;gap:10px;margin:15px 0}.sale-return-lines article{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,.45fr) minmax(160px,.5fr);align-items:center;gap:14px;padding:13px;border:1px solid #e6dfd6;border-radius:12px}.sale-return-lines article>div{display:grid;gap:4px}.sale-return-lines article small{color:#746d65}.sale-return-lines label{display:grid;gap:5px}.sale-return-lines input[type=number]{min-height:40px;border:1px solid #d8d0c7;border-radius:9px;padding:0 10px}.sale-return-closed{display:flex;align-items:center;gap:10px;padding:15px;border-radius:12px;background:#edf7f1;color:#276c47;font-weight:750}.sale-return-closed i{font-size:20px}@media(max-width:820px){.sale-invoice-selector,.sale-invoice-selector form,.sale-return-heading{align-items:stretch;flex-direction:column}.sale-invoice-selector>p{max-width:none}.sale-invoice-meta{grid-template-columns:1fr}.sale-return-lines article{grid-template-columns:1fr}.sale-return-invoice>header{align-items:start}}
.sale-invoice-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.sale-invoice-totals span{display:grid;gap:4px;padding:12px;border:1px solid #e4ddd4;border-radius:11px;color:#756e67;font-size:11px}.sale-invoice-totals strong{color:#292522;font-size:15px}.sale-invoice-billing{display:flex;align-items:center;gap:8px;padding:11px 13px;border-radius:10px;background:#f7f4ef;color:#675f57;font-size:12px}.sale-invoice-debt{background:#fff4df;color:#7c581e;font-weight:700}@media(max-width:720px){.sale-invoice-totals{grid-template-columns:1fr 1fr}}
.tv-device-header-actions{display:flex;gap:8px;flex-wrap:wrap}.tv-scanner-modal .portal-modal-card{max-width:520px}.tv-scanner-stage{position:relative;min-height:290px;overflow:hidden;border-radius:16px;background:#111}.tv-scanner-stage video{display:block;width:100%;height:320px;object-fit:cover}.tv-scanner-stage>div{position:absolute;inset:18px;display:grid;place-content:center;justify-items:center;gap:12px;border:2px solid rgba(226,181,94,.75);border-radius:18px;color:#fff;text-align:center;pointer-events:none}.tv-scanner-stage>div i{font-size:42px}.tv-scanner-stage>div span{max-width:280px;padding:8px 11px;border-radius:9px;background:rgba(0,0,0,.66);font-size:12px;font-weight:800}.tv-scanner-stage>div span.is-error{background:rgba(122,36,31,.86)}.tv-code-fallback{margin-top:14px}.tv-code-fallback label{display:grid;gap:6px}.tv-code-fallback input{text-transform:uppercase;letter-spacing:.18em;font-weight:850}@media(max-width:650px){.tv-device-header-actions{width:100%}.tv-device-header-actions>*{flex:1;justify-content:center}.tv-scanner-stage video{height:280px}}
.sale-return-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border-radius:12px;background:#f5eee2}.sale-return-preview span,.sale-return-preview small{color:#756b5c;font-size:11px}.sale-return-preview strong{margin-left:auto;color:#8f611e;font-size:20px}.sale-return-preview small{max-width:250px}@media(max-width:650px){.sale-return-preview{align-items:flex-start;flex-direction:column}.sale-return-preview strong{margin-left:0}}
.sale-invoice-modal-card{width:min(1120px,calc(100vw - 28px));height:min(900px,calc(100dvh - 28px));max-height:calc(100dvh - 28px)}.sale-invoice-modal-card>.portal-modal-body{padding:18px;overflow:auto}.sale-invoice-modal-card .sale-return-invoice{margin:0;box-shadow:none}.sales-history-modal-card{width:min(1000px,calc(100vw - 28px));height:min(820px,calc(100dvh - 28px));max-height:calc(100dvh - 28px)}.sales-history-modal-card>.portal-modal-body{padding:18px;overflow:auto;display:grid;gap:16px}@media(max-width:700px){.sales-history-modal-card{width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}}.invoice-modal-loading{min-height:280px;display:grid;place-content:center;justify-items:center;gap:13px;color:#796b57}.invoice-modal-loading i{font-size:30px}.sale-invoice-modal-card .sale-invoice-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:15px 0}.sale-invoice-modal-card .sale-invoice-totals>span{display:grid;gap:4px;padding:11px;border-radius:10px;background:#f7f3ed;font-size:10px}.sale-invoice-modal-card .sale-invoice-totals strong{font-size:13px}@media(max-width:700px){.sale-invoice-modal-card{width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.sale-invoice-modal-card .sale-invoice-totals{grid-template-columns:1fr 1fr}}
.recent-sales-panel>header{align-items:flex-end;gap:18px}.recent-sales-panel>header>div{min-width:185px}.sale-search-form{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:1}.sale-search-form label{position:relative;flex:1;max-width:470px}.sale-search-form label>i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#9a7132}.sale-search-form input{width:100%;min-height:42px;padding:0 13px 0 39px;border:1px solid #d9d1c7;border-radius:11px;background:#fff;font:700 12px "DM Sans",system-ui,sans-serif}.sale-search-form .compact{min-height:42px;white-space:nowrap}@media(max-width:760px){.recent-sales-panel>header,.sale-search-form{align-items:stretch;flex-direction:column}.sale-search-form label{max-width:none}.sale-search-form .compact{justify-content:center}}
.attendance-clock-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px;margin-bottom:18px;border-radius:22px;background:linear-gradient(135deg,#171719,#44351f);color:#fff}.attendance-clock-hero.clocked-in{background:linear-gradient(135deg,#173c2b,#285f44)}.attendance-clock-hero h2{margin:6px 0;font:800 28px "Manrope"}.attendance-clock-hero p{margin:0;color:#c6c0b7}.attendance-clock-hero small{display:block;margin-top:9px;color:#bda779}.attendance-clock-hero form{display:grid;justify-items:end;gap:7px;min-width:240px}.attendance-clock-hero form>span{font-size:9px;color:#bdb8b1}.attendance-clock-done{display:flex;align-items:center;justify-content:center;gap:9px;min-width:240px;min-height:47px;padding:0 18px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#dcd6cc;font-size:11px;font-weight:800}.attendance-clock-done i{font-size:16px;color:#8fd6ab}.attendance-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.attendance-policy-form,.attendance-zone-form{padding:22px}.attendance-policy-form>header,.attendance-zone-form>header{margin:-22px -22px 8px}.attendance-staff-policy{display:grid;gap:8px}.attendance-staff-policy article{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:11px;border:1px solid #e5ded5;border-radius:12px}.attendance-staff-policy article strong,.attendance-staff-policy article small{display:block}.attendance-staff-policy article small{font-size:9px;color:#817a72;margin-top:3px}.attendance-staff-policy fieldset{display:flex;gap:7px;border:0;margin:0;padding:0}.attendance-staff-policy legend{font-size:8px;color:#8c847b}.attendance-staff-policy fieldset label{display:flex;align-items:center;gap:3px;font-size:9px}.attendance-shape-picker{display:flex;gap:8px;border:0;padding:0}.attendance-shape-picker legend{width:100%;margin-bottom:6px;font-size:10px;font-weight:800}.attendance-shape-picker label{position:relative}.attendance-shape-picker input{position:absolute;opacity:0}.attendance-shape-picker span{display:block;padding:10px 15px;border:1px solid #dcd4ca;border-radius:10px;cursor:pointer}.attendance-shape-picker input:checked+span{border-color:#b77d25;background:#fff5e4;color:#855b1c}.attendance-zone-preview{height:170px;display:grid;place-items:center;position:relative;border-radius:15px;overflow:hidden;background-color:#ede9e2;background-image:linear-gradient(rgba(120,110,95,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(120,110,95,.13) 1px,transparent 1px);background-size:20px 20px}.attendance-zone-preview>span{width:70%;height:50%;display:grid;place-items:center;border:2px solid #bd842c;background:rgba(218,172,91,.3);border-radius:4px;transition:.2s}.attendance-zone-preview>span i{width:10px;height:10px;border-radius:50%;background:#171719;box-shadow:0 0 0 5px rgba(23,23,25,.15)}.attendance-zone-preview>small{position:absolute;right:9px;bottom:8px;padding:5px 8px;border-radius:7px;background:rgba(23,23,25,.82);color:#fff}.attendance-zone-staff{border:1px solid #e0d8ce;border-radius:12px;padding:12px}.attendance-zone-staff legend{padding:0 6px;font-size:10px;font-weight:800}.attendance-zone-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px}.attendance-zone-list article{display:grid;grid-template-columns:75px 1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid #e6ded4;border-radius:13px}.attendance-zone-list article.disabled{opacity:.55}.attendance-zone-list article strong,.attendance-zone-list article small,.attendance-zone-list article span{display:block}.attendance-zone-list article small{font-size:9px;color:#857e75;margin-top:3px}.attendance-zone-list article span{font-size:10px;margin-top:6px}.attendance-zone-mini{height:65px;border-radius:10px;background:#eee9e1;display:grid;place-items:center}.attendance-zone-mini i{display:block;width:var(--zone-width,65%);height:var(--zone-height,50%);border:2px solid #b9812b;background:#f1dcae}.attendance-manager-clock{margin:16px 0}.attendance-manager-clock>header{text-align:center;justify-content:center}.attendance-manager-clock>header>div{max-width:480px}.attendance-manager-clock form{max-width:560px;margin:16px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.attendance-manager-clock form>button{grid-column:1/-1}.attendance-history{margin-top:16px}@media(max-width:900px){.attendance-admin-grid{grid-template-columns:1fr}.attendance-zone-list{grid-template-columns:1fr 1fr}}@media(max-width:650px){.attendance-clock-hero{align-items:stretch;flex-direction:column}.attendance-clock-hero form,.attendance-clock-done{justify-items:stretch;min-width:0}.attendance-zone-list{grid-template-columns:1fr}.attendance-manager-clock form{grid-template-columns:1fr}.attendance-staff-policy article{grid-template-columns:1fr}}
.attendance-manager-clock [data-attendance-location-status]{grid-column:1/-1;color:#7a7269;font-size:9px}
.verifactu-readiness{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;margin:0 0 18px;padding:22px;border-radius:19px;background:linear-gradient(135deg,#171719,#343135);color:#fff}.verifactu-readiness>i{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#d2a34f;color:#171719;font-size:23px}.verifactu-readiness h2{margin:5px 0 4px;font:800 21px "Manrope"}.verifactu-readiness p{max-width:780px;margin:0;color:#c5c0b9;font-size:11px;line-height:1.55}.verifactu-readiness>b{padding:8px 11px;border:1px solid rgba(255,255,255,.2);border-radius:9px;color:#e8c47e;font-size:9px;letter-spacing:.12em}.accounting-actions-grid,.accounting-books-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;align-items:start}.accounting-settings-form,.supplier-invoice-form{padding:22px}.accounting-settings-form>header,.supplier-invoice-form>header{margin:-22px -22px 8px}.accounting-journal{margin-bottom:16px}.accounting-journal td:first-child strong,.accounting-journal td:first-child small{display:block}.accounting-journal td:first-child small{margin-top:3px;color:#8b8174;font-size:8px;font-family:monospace}.accounting-books-grid>.panel{min-width:0;margin:0}.accounting-chart{margin:16px 0}.accounting-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:18px}.accounting-account-grid article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e6ded5;border-radius:11px}.accounting-account-grid article>strong{color:#9a6922;font-family:monospace}.accounting-account-grid article>span{min-width:0;font-size:10px;color:#5e5851}.accounting-account-grid article>b{white-space:nowrap;font-size:10px}.accounting-close-period{display:flex;align-items:center;gap:15px;margin:16px 0;padding:18px;border:1px solid #e7d8d5;border-radius:16px;background:#fff9f8}.accounting-close-period>i{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#a84b43;color:#fff}.accounting-close-period>div{flex:1}.accounting-close-period strong,.accounting-close-period p{display:block;margin:0}.accounting-close-period p{margin-top:4px;color:#7d706b;font-size:10px}@media(max-width:950px){.accounting-actions-grid,.accounting-books-grid{grid-template-columns:1fr}.accounting-account-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.verifactu-readiness{grid-template-columns:auto 1fr}.verifactu-readiness>b{grid-column:1/-1;justify-self:start}.accounting-account-grid{grid-template-columns:1fr}.accounting-close-period{align-items:flex-start;flex-wrap:wrap}.accounting-close-period form{width:100%}.accounting-close-period button{width:100%}}
.accounting-balance-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:-7px 0 18px}.accounting-balance-strip article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border:1px solid #e3dcd2;border-radius:12px;background:#fff}.accounting-balance-strip span{color:#776e64;font-size:10px;font-weight:800}.accounting-balance-strip strong{font-size:13px}.accounting-ledger{margin:16px 0}.accounting-ledger td>small{display:block;margin-top:3px;color:#817970;font-size:8px}@media(max-width:650px){.accounting-balance-strip{grid-template-columns:1fr}}
.accounting-filter-panel{margin-bottom:16px;padding:18px}.accounting-filter-form{display:grid;grid-template-columns:minmax(190px,1.2fr) repeat(4,minmax(120px,1fr));gap:10px;align-items:end}.accounting-filter-form label{display:grid;gap:6px}.accounting-filter-form label[hidden]{display:none}.accounting-filter-form label>span{font-size:9px;font-weight:900;color:#70685f;text-transform:uppercase;letter-spacing:.06em}.accounting-filter-form input,.accounting-filter-form select{width:100%;min-height:42px;border:1px solid #d9d2c8;border-radius:10px;background:#fff;padding:0 11px;font:700 11px "DM Sans",system-ui,sans-serif}.accounting-search-field{grid-column:span 1}.accounting-filter-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:2px}.export-action{min-height:40px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border-radius:9px;color:#fff;font-size:10px;font-weight:900;text-decoration:none}.export-action.excel{background:#1f7244}.export-action.pdf{background:#a7433d}.accounting-filter-panel>footer{display:flex;align-items:center;gap:7px;margin:14px -18px -18px;padding:11px 18px;border-top:1px solid #e7e0d7;background:#faf8f4;color:#786f65;font-size:10px}.accounting-filter-panel>footer i{color:#ae7b30}.accounting-filter-panel>footer strong{color:#3d3833}.accounting-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 17px;border-top:1px solid #ece5dc}.accounting-pagination>span{color:#7d756c;font-size:9px;font-weight:800}.accounting-pagination>div{display:flex;align-items:center;gap:5px}.accounting-pagination a{min-width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #ddd6cc;border-radius:8px;background:#fff;color:#544d45;font-size:10px;font-weight:900;text-decoration:none}.accounting-pagination a.active{border-color:#b77e29;background:#b77e29;color:#fff}.accounting-pagination .page-arrow{gap:5px;padding:0 9px}.accounting-pagination .page-arrow span{display:inline}@media(max-width:1050px){.accounting-filter-form{grid-template-columns:repeat(3,minmax(130px,1fr))}.accounting-search-field{grid-column:span 1}}@media(max-width:680px){.accounting-filter-form{grid-template-columns:1fr 1fr}.accounting-search-field{grid-column:1/-1}.accounting-filter-actions{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.accounting-filter-actions>*{justify-content:center}.accounting-pagination{align-items:flex-start;flex-direction:column}.accounting-pagination .page-arrow span{display:none}}
.field-error{grid-column:1/-1;display:flex;align-items:center;gap:5px;margin:-2px 0 2px;font-size:11px;font-weight:750;color:var(--red);line-height:1.4}.field-error::before{content:"\26A0";font-size:10px}input.field-invalid,select.field-invalid,textarea.field-invalid{border-color:var(--red) !important;box-shadow:0 0 0 1px rgba(179,65,65,.25)}
.tv-weekly-schedule{display:grid;gap:8px;margin:12px 0}.tv-weekly-schedule-row{display:grid;grid-template-columns:84px 1fr 1fr;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#fff}.tv-weekly-schedule-row>span{font-size:12px;font-weight:800;color:var(--ink)}.tv-weekly-schedule-row label{display:flex;align-items:center;gap:8px;min-width:0;margin:0}.tv-weekly-schedule-row label small{font-size:10px;font-weight:800;color:#8b857e;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.tv-weekly-schedule-row input[type="time"]{flex:1;min-width:0;height:36px;border:1px solid #ddd4c9;border-radius:8px;padding:0 8px;font-size:13px;font-family:inherit}
@media(max-width:640px){.tv-weekly-schedule-row{grid-template-columns:1fr 1fr;grid-template-areas:"day day" "on off"}.tv-weekly-schedule-row>span{grid-area:day}.tv-weekly-schedule-row label:nth-of-type(1){grid-area:on}.tv-weekly-schedule-row label:nth-of-type(2){grid-area:off}}
.tv-device-schedule-summary{display:flex;flex-wrap:wrap;gap:4px;max-width:220px}.tv-device-schedule-summary span{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:7px;background:#f4f1ea;font-size:11px;font-weight:700;color:#544d45;white-space:nowrap}.tv-device-schedule-summary span b{color:#a27126;font-weight:800}
/* Históricos de ventas (Cobros de hoy, Ventas del periodo, Cajas del
   periodo…): altura fija con scroll vertical propio, en vez de dejar que
   la tabla crezca sin límite y sea el modal/página entera quien haga
   scroll. La paginación de estos paneles se resuelve por AJAX (ver
   portal.js), así que el "cargando" no recarga toda la pantalla. */
.table-panel[data-paginated] .table-scroll{min-height:150px;max-height:340px;overflow-y:auto}
@media(max-width:640px){.table-panel[data-paginated] .table-scroll{max-height:50vh}}
/* Buscador propio de cada tabla del histórico (Ventas del periodo, Cajas
   del periodo…): se envía por AJAX (ver portal.js), sin recargar la
   pantalla ni afectar a la paginación de la otra tabla. */
.table-panel[data-paginated]>header{flex-wrap:wrap;row-gap:10px}
.panel-search-form{display:flex;align-items:center;gap:6px}
.panel-search-form label{position:relative}
.panel-search-form label>i{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#9a7132;font-size:12px}
.panel-search-form input{width:180px;max-width:38vw;min-height:36px;padding:0 10px 0 30px;border:1px solid #d9d1c7;border-radius:10px;background:#fff;font:700 11px "DM Sans",system-ui,sans-serif}
.panel-search-form button{min-width:36px;height:36px;border:0;border-radius:10px;background:#171719;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:12px}
@media(max-width:640px){.panel-search-form{width:100%}.panel-search-form input{width:100%;max-width:none}}
.tv-device-actions{display:flex;align-items:center;justify-content:center;gap:6px}.tv-device-actions form{display:inline-flex}.tv-device-list{margin-top:18px}.tv-device-list th:last-child,.tv-device-list td:last-child{text-align:center}.tv-device-location-form select{height:34px;min-width:120px;border:1px solid #ddd4c9;border-radius:9px;padding:0 8px;font-size:12px;font-weight:700;color:var(--ink);background:#fff}.accounting-journal td .location-badge,.accounting-journal th{white-space:nowrap}
.dashboard-tip-modal .portal-modal-card{width:min(820px,100%)}
.dashboard-routine-table{width:100%;border-collapse:collapse;margin:18px 0 14px}
.dashboard-routine-table th{text-align:left;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#9b6d27;padding:0 12px 10px;border-bottom:2px solid #ece5db}
.dashboard-routine-table td{vertical-align:top;padding:12px 12px 0;border-bottom:0}
.dashboard-routine-table ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.dashboard-routine-table li{position:relative;padding-left:20px;font-size:12.5px;line-height:1.5;color:#3f3b37}
.dashboard-routine-table li::before{content:"\2713";position:absolute;left:0;top:0;color:#3f9142;font-weight:800;font-size:12px}
@media(max-width:700px){.dashboard-routine-table,.dashboard-routine-table thead,.dashboard-routine-table tbody,.dashboard-routine-table tr,.dashboard-routine-table td{display:block;width:100%}.dashboard-routine-table thead{display:none}.dashboard-routine-table td{padding:0 0 16px;border-bottom:1px solid #ece5db;margin-bottom:12px}.dashboard-routine-table td:last-child{border-bottom:0;margin-bottom:0}}
.dashboard-tip-callout{display:flex;gap:9px;align-items:flex-start;margin:0 0 18px;padding:13px 15px;border-radius:12px;background:#eef6ee;border:1px solid #cfe6cf;color:#2f5c31;font-size:12.5px;line-height:1.5}
.dashboard-tip-callout i{color:#3f9142;font-size:14px;margin-top:1px}
.dashboard-tip-modal-footer{flex-wrap:wrap;justify-content:space-between;gap:10px}
.text-link-button{border:0;background:none;color:#867d70;font:700 11.5px "Manrope",sans-serif;text-decoration:underline;cursor:pointer;padding:8px 2px}
.text-link-button:hover{color:#544d45}
.module-locked-note{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#948e85}
.module-upgrade-note{color:#805a21;text-decoration:none;cursor:pointer}.module-upgrade-note:hover{text-decoration:underline}
.free-slots-widget{border:1px solid #e6cf9c;background:linear-gradient(145deg,#fdf6e8,#fff);margin-bottom:22px}.free-slots-widget>p{margin:10px 0 14px;font-size:13px;color:#5c554b;line-height:1.5}.free-slots-bands{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.free-slots-band{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 13px;border-radius:12px;background:#f6f1e7;border:1px solid transparent;min-width:110px;cursor:pointer;text-align:left;font-family:inherit;transition:background .15s ease,border-color .15s ease,transform .1s ease}.free-slots-band:hover,.free-slots-band:focus-visible{background:#ffe6bb;border-color:#e6cf9c;transform:translateY(-1px)}.free-slots-band strong{font-size:18px;color:#3a3530}.free-slots-band small{font-size:10px;color:#8b8377}.free-slots-band.is-top{background:#fdf0d6;border-color:#e6cf9c}.free-slots-band.is-top strong{color:#8c6423}.free-slots-band-cta{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:10px;font-weight:800;color:#9a6a22}.free-slots-hint{display:flex;align-items:center;gap:7px;margin:0;font-size:11px;color:#8b8377}
.table-search-field{display:flex;align-items:center;gap:8px;min-width:220px;padding:0 12px;border:1px solid #ded8d0;border-radius:10px;background:#faf8f4}.table-search-field i{color:#9a9186;font-size:13px}.table-search-field input{border:0;background:transparent;outline:0;height:40px;width:100%;font-size:12px}
.debt-badge-link{text-decoration:none;cursor:pointer;border:1px solid transparent;transition:background .15s ease,border-color .15s ease}.debt-badge-link:hover{background:#ffe6bb;border-color:#e6cf9c}.debt-badge{gap:8px}.debt-badge-icon{width:20px;height:20px;border-radius:50%;background:rgba(138,94,32,.16);display:inline-flex;align-items:center;justify-content:center;font-size:11px;flex:0 0 auto}.debt-badge-amount{font-variant-numeric:tabular-nums}
.customer-debt-modal-card{width:min(1000px,calc(100vw - 28px));height:min(880px,calc(100dvh - 28px));max-height:calc(100dvh - 28px)}.customer-debt-modal-card>.portal-modal-body{padding:18px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.customer-debt-tabs{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.modal-tabs{display:flex;gap:8px;flex:0 0 auto;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #ece5db}.modal-tab{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:999px;border:1px solid #e2ddd6;background:#faf8f4;font:800 12px "Manrope";color:#7d766c;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.modal-tab:hover{border-color:#d9d1c5}.modal-tab.is-active{background:#171719;color:#f3d8a0;border-color:#171719}.modal-tab-panel{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;display:grid;gap:16px;padding-right:2px}.customer-debt-items{font-size:15px}.customer-debt-items th{font-size:11px;padding:12px 14px}.customer-debt-items td{padding:13px 14px;vertical-align:middle}.item-type-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap;background:#f1eeea;color:#7d766c}.item-type-badge.is-service{background:#eef2fb;color:#3d5a99}.item-type-badge.is-product{background:#fbeee0;color:#96622a}.customer-debt-total{font-size:22px;color:#9d6c24}.customer-debt-collect-form{margin-top:16px;padding-top:16px;border-top:1px solid #e7e0d7;display:flex;align-items:end;gap:12px;flex-wrap:wrap}.customer-debt-collect-form label{flex:1;min-width:150px}.customer-debt-collect-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-left:auto}.customer-debt-invoice-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border-radius:12px;background:#f7f4ef;border:1px solid #ece5db}.customer-debt-invoice-picker-label{font-size:12px;font-weight:800;color:#8d6b36;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.customer-debt-invoice-picker-list{display:flex;gap:8px;flex-wrap:wrap;overflow-x:auto}.debt-invoice-chip{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 14px;border-radius:12px;border:1px solid #e2ddd6;background:#fff;cursor:pointer;text-align:left;font-family:inherit;transition:background .15s ease,color .15s ease,border-color .15s ease}.debt-invoice-chip strong{font-size:13px;color:#171719}.debt-invoice-chip small{font-size:11px;color:#8a8377}.debt-invoice-chip span{font-size:12px;font-weight:800;color:#9d6c24;font-variant-numeric:tabular-nums}.debt-invoice-chip:hover{border-color:#d9d1c5}.debt-invoice-chip.is-active{background:#171719;border-color:#171719}.debt-invoice-chip.is-active strong,.debt-invoice-chip.is-active span{color:#f3d8a0}.debt-invoice-chip.is-active small{color:#c9c2b6}.customer-debt-invoice-pane{display:grid;gap:16px}@media(max-width:700px){.customer-debt-modal-card{width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.customer-debt-collect-form{flex-direction:column;align-items:stretch}.customer-debt-collect-actions{margin-left:0;width:100%}.customer-debt-collect-actions>.gold-button{flex:1;justify-content:center}.modal-tabs{overflow-x:auto}.modal-tab{white-space:nowrap}.customer-debt-invoice-picker{flex-direction:column;align-items:stretch}}
.customer-debt-footer{display:flex;align-items:center;justify-content:flex-start;gap:18px}.customer-debt-footer-info{display:grid;gap:2px}.customer-debt-footer-info-total{margin-left:auto;text-align:right}.customer-debt-footer-divider{width:1px;align-self:stretch;background:#e7e0d7;flex:0 0 auto}.customer-debt-footer-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#8d6b36}@media(max-width:700px){.customer-debt-footer{flex-wrap:wrap;justify-content:flex-start}.customer-debt-footer-divider{display:none}.customer-debt-footer-info-total{margin-left:0;text-align:left;padding-top:10px;border-top:1px solid #e7e0d7;width:100%}}
.campaign-send-form{display:inline-block}.campaign-send-form .secondary-action.compact{min-height:34px;padding:0 11px;font-size:11px}
.campaign-form-actions{display:flex;gap:12px;margin-top:6px}.campaign-form-actions>button{flex:1;justify-content:center}.campaign-send-now-hint{display:block;margin-top:-6px;color:#9a5a2a;font-size:11px}@media(max-width:650px){.campaign-form-actions{flex-direction:column}}
.check-line.is-locked{opacity:.65}
@media(max-width:700px){.dashboard-tip-modal-footer{justify-content:stretch}.dashboard-tip-modal-footer>form,.dashboard-tip-modal-footer>button{width:100%}}
.module-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:18px}
.module-card{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fdfcfa;transition:border-color .15s ease,box-shadow .15s ease}
.module-card:hover{border-color:#d9cdb4;box-shadow:0 4px 14px rgba(23,23,25,.05)}
.module-card.is-disabled{background:#faf9f7;opacity:.82}
.module-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.module-card-icon{width:38px;height:38px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;background:var(--gold-soft);color:var(--gold);font-size:16px;flex:0 0 auto}
.module-card.is-disabled .module-card-icon{background:#eeece7;color:#948e85}
.module-card-title{margin:0;font-size:13.5px;font-weight:800;color:var(--ink);line-height:1.3}
.module-card-action{margin-top:auto;padding-top:2px}
.module-card-action form{margin:0}
.module-card-toggle{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 10px;border-radius:10px;border:1px solid #e2ddd6;background:#fff;color:var(--ink);font:700 11.5px "Manrope",sans-serif;cursor:pointer}
.module-card-toggle:hover{border-color:#d9cdb4}
.module-card-toggle.danger{color:#a34138;background:#fff5f3;border-color:#efd5d0}
.module-card-toggle.danger:hover{border-color:#e6c3be}
@media(max-width:900px){.module-card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.module-card-grid{grid-template-columns:1fr;padding:14px}}

/* Recomienda y gana (referidos B2B) */
.referral-card{margin-top:16px}
.referral-card>header>i{font-size:25px;color:#b27f2f}
.referral-body{padding:22px;display:grid;grid-template-columns:minmax(240px,.9fr) 1fr;gap:20px}
.referral-code-box{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px dashed #d8c398;border-radius:15px;background:#faf6ee}
.referral-code-box>span{font-size:10px;color:#8f8981;text-transform:uppercase;letter-spacing:.11em;font-weight:800}
.referral-code-value{display:flex;align-items:center;justify-content:space-between;gap:10px}
.referral-code-value>strong{font:800 26px "Manrope";letter-spacing:.08em;color:#171719}
.referral-code-value>button,.referral-link-value>button{width:36px;height:36px;flex:0 0 auto;border:1px solid #e1ddd7;background:#fff;border-radius:9px;color:#77521d;display:grid;place-items:center}
.referral-link-value{display:flex;align-items:center;gap:8px}
.referral-link-value>input{flex:1;min-width:0;border:1px solid #e1ddd7;border-radius:9px;background:#fff;padding:0 10px;height:36px;font-size:11px;color:#615c54}
.referral-code-box>.gold-button{margin-top:2px}
.referral-code-box>small{display:flex;align-items:flex-start;gap:6px;font-size:10px;line-height:1.5;color:#8f8981}
.referral-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.referral-stats-grid>article{padding:16px;border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column;gap:8px}
.referral-stats-grid>article>i{font-size:17px;color:#b27f2f}
.referral-stats-grid>article>strong{font:800 24px "Manrope"}
.referral-stats-grid>article>span{font-size:10px;color:#8f8981;line-height:1.4}
.referral-table{border-top:1px solid #ece8e2}
.referral-table table{width:100%;border-collapse:collapse}
.referral-table th,.referral-table td{text-align:left;padding:11px 20px;font-size:12px;border-bottom:1px solid #eeeae5}
.referral-table th{font-size:10px;color:#8f8981;text-transform:uppercase;letter-spacing:.06em}
@media(max-width:900px){.referral-body{grid-template-columns:1fr}}
@media(max-width:520px){.referral-stats-grid{grid-template-columns:1fr}}

/* Finanzas: relleno de las pestañas Gastos, Cash flow y Rentabilidad
   respecto a los bordes de su sección (antes quedaban pegados al borde). */
.expense-quick-form{padding:22px}
.expense-quick-form>header{margin:-22px -22px 8px}
.finance-report-body{padding:20px}
.finance-report-body .metric-grid{margin-bottom:16px}
.finance-report-body .metric-grid:last-child{margin-bottom:0}
.finance-report-body .accounting-balance-strip{margin:0}

/* Icono flotante de WhatsApp (esquina inferior derecha) en el panel Business. */
.whatsapp-widget{position:fixed;right:22px;bottom:22px;z-index:250}
.whatsapp-widget-toggle{position:relative;width:58px;height:58px;border:none;border-radius:50%;background:#25d366;color:#fff;font-size:26px;display:grid;place-items:center;box-shadow:0 14px 34px rgba(37,211,102,.4);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.whatsapp-widget-toggle:hover{transform:scale(1.06)}
.whatsapp-widget-toggle.is-active{background:#1f9e56}
.whatsapp-widget-panel{position:absolute;right:0;bottom:calc(100% + 14px);width:300px;max-width:calc(100vw - 40px);background:#fff;border-radius:18px;box-shadow:0 25px 70px rgba(20,20,20,.25);overflow:hidden;opacity:0;transform:translateY(10px) scale(.98);transform-origin:bottom right;transition:opacity .18s ease,transform .18s ease;pointer-events:none}
.whatsapp-widget-panel[hidden]{display:block;visibility:hidden}
.whatsapp-widget-panel.is-open{opacity:1;transform:none;pointer-events:auto}
.whatsapp-widget-panel>header{display:flex;align-items:center;gap:10px;padding:16px 16px 14px;background:#25d366;color:#fff}
.whatsapp-widget-avatar{width:34px;height:34px;flex:0 0 auto;border-radius:50%;background:rgba(255,255,255,.2);display:grid;place-items:center;font-size:17px}
.whatsapp-widget-panel>header>div{flex:1 1 auto;min-width:0}
.whatsapp-widget-panel>header strong{display:block;font:800 13px "Manrope"}
.whatsapp-widget-panel>header small{display:block;font-size:11px;opacity:.85}
.whatsapp-widget-panel>header button{flex:0 0 auto;width:28px;height:28px;border:none;border-radius:8px;background:rgba(255,255,255,.18);color:#fff;display:grid;place-items:center;cursor:pointer}
.whatsapp-widget-panel>p{margin:16px;font-size:13px;line-height:1.6;color:#3d3b38}
.whatsapp-widget-cta{margin:0 16px 16px;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border-radius:10px;background:#25d366;color:#fff;text-decoration:none;font:800 13px "Manrope"}
.whatsapp-widget-cta:hover{background:#1f9e56}
.whatsapp-widget-note{display:block;margin:0 16px 16px;font-size:10px;color:#9a958d;text-align:center}
@media(max-width:520px){.whatsapp-widget{right:14px;bottom:14px}.whatsapp-widget-toggle{width:52px;height:52px;font-size:23px}.whatsapp-widget-panel{right:-4px}}

.sidebar-nav a.nav-locked{opacity:.5}.sidebar-nav a.nav-locked:hover{opacity:.75}.sidebar-nav b.warn .nav-lock-icon{width:auto;height:auto;border:0;font-size:8px}
.file-drop.has-file{border-style:solid;border-color:#2b7656;background:#eef7f1;color:#2b7656}.file-drop.has-file i{color:#2b7656}
.tax-proof-drop{min-height:96px;gap:6px}.tax-proof-drop i{font-size:38px}.tax-proof-drop span{font-size:12px;font-weight:700}.tax-proof-manage{padding:19px 20px 20px;display:grid;gap:14px}.tax-proof-manage>header{padding:0;border:0;min-height:0}.tax-proof-current{display:flex;align-items:center;gap:10px}.tax-proof-replace-form{display:grid;gap:12px}
.tv-tabs{margin:18px 0}.tv-tabs-nav{margin-bottom:20px}.tv-tab-panel{display:block}.tv-tab-panel>.tv-media-list,.tv-tab-panel>.tv-device-list{margin-top:0}.tv-tab-panel>.tv-settings-form{max-width:none;width:100%}.tv-tab-panel>.tv-library-panel{max-width:none;width:100%}.tv-pair-top{align-items:start}@media(min-width:860px){.tv-weekly-schedule{grid-template-columns:1fr 1fr;gap:8px 14px}.tv-content-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tv-pair-youtube:has(>[hidden]){grid-template-columns:1fr}
