/* Phone-first application canvas. */
body{background:#e9e9e5}#app{width:100%;max-width:480px;min-height:100dvh;margin:auto;background:#f8f8f5;box-shadow:0 0 80px #16161612}h1{font-size:30px;letter-spacing:-1.1px}h2{font-size:21px}.demo{padding:6px 14px;font-size:10px;line-height:1.5}.top{height:72px;padding:8px 16px;position:sticky;top:0;z-index:9}.top .brand{font-size:19px;gap:5px}.top .brand img{height:43px;width:43px}.top .row{gap:5px}.top button{padding:10px;font-size:12px;min-height:44px}.role-text{display:none}.layout{display:block;padding:24px 18px}.sidebar{display:none}.main{padding-bottom:100px}.heading{margin-bottom:20px}.heading p{font-size:14px}.grid,.split{grid-template-columns:minmax(0,1fr);gap:14px}.card{padding:19px;border-radius:22px;box-shadow:0 3px 12px #00000003}.row{gap:10px}.row>div{min-width:0}h1,h2,h3,p{overflow-wrap:anywhere}.row.wrap button{flex-grow:1}.hero{padding:20px;margin:20px 0;border-radius:22px}.hero h2{font-size:22px}.hero p{font-size:14px}.home-tip{display:flex;gap:12px;align-items:center;background:#fff3b1;padding:14px 16px;margin:18px 0;border-radius:16px;font-size:13px}.home-tip b{display:block}.home-tip span{font-size:24px}.search{font-size:16px;padding:16px!important;border:1px solid #deded8;box-shadow:0 3px 14px #00000004}.filters{gap:10px}.filters label{font-size:12px}select,input,textarea{font-size:16px;min-width:0}button{min-height:44px}.categories{gap:8px;margin:16px -18px 0;padding:0 18px 8px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.categories button{flex:none;border-radius:100px;padding:10px 16px;font-size:13px}.provider{gap:13px}.provider .avatar{background:#fff2ac;color:#342e10;border-radius:18px}.provider h3{font-size:17px}.provider .price{font-size:24px}.provider .small{font-size:13px}.provider>.row:last-child{border-top:1px solid #efefeb;padding-top:12px}.provider>.row:last-child button{background:#171717;border-color:#171717;color:white}.metrics{gap:7px;margin:18px 0}.metric{padding:12px 9px;min-width:0}.metric b{font-size:19px;overflow-wrap:anywhere}.metric span{font-size:11px}.mobile-nav{position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:480px;display:flex;justify-content:space-around;background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid #e8e8e2;z-index:10;padding:8px 5px max(8px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #00000004}.mobile-nav button{border:0;font-size:11px;padding:6px 10px;display:grid;gap:3px;justify-items:center;background:transparent;min-width:54px;border-radius:14px}.mobile-nav button.active{background:#fff2aa}.mobile-nav .ico{font-size:22px;line-height:25px}.auth{display:flex;min-height:calc(100dvh - 30px);padding:32px 24px;align-items:center}.auth-art{display:none}.auth-content{max-width:none}.auth-content .brand{margin-bottom:40px;font-size:26px}.auth-content .brand img{width:76px;height:76px}.auth-content h1{font-size:34px}.auth-content .tabs{margin:24px 0}.role-card{padding:21px 16px;border-radius:22px}.role-card .muted{font-size:14px}.role-card .avatar{background:#ffdc35;color:#191919}.notice{font-size:13px}.back{margin-bottom:15px}.messages{max-height:40dvh}.stars{gap:4px;flex-wrap:nowrap}.stars button{padding:5px 10px}dialog{max-width:448px;padding:22px}#toast{width:max-content;max-width:min(440px,calc(100vw - 32px));font-size:14px}.tracking{display:block;width:100%;padding:16px;background:#191919;color:#fff;border:0;text-align:left;border-radius:19px;margin:0 0 22px}.tracking .tag{background:#ffdc35;color:#171717}.tracking strong{display:block;margin:10px 0 3px;font-size:16px}.tracking small{color:#ddd}.tracking progress{display:block;width:100%;height:5px;margin:12px 0 0;accent-color:#ffdc35}.provider .ghost{font-size:22px}.empty{padding:30px 18px}.top button[aria-label]{font-size:19px}@media(max-width:360px){.top{padding:8px 12px}.top .brand{font-size:17px}.layout{padding:20px 14px}.mobile-nav button{padding:6px;min-width:48px}.auth{padding:24px 20px}.metrics .metric b{font-size:16px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,transform .15s}button:active{transform:scale(.98)}}
/* Amplía el catálogo conservando el lienzo móvil y la paleta de Cachuelo. */
.category-picker{margin-top:24px}.category-picker h2{font-size:20px;margin:0}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.category-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:14px;border-radius:17px;white-space:normal;font-size:14px;line-height:1.3;background:white;min-height:118px}.category-tile.active{background:var(--soft);border:2px solid var(--ink);padding:13px}.category-icon{display:grid;place-items:center;background:var(--yellow);color:var(--ink);width:34px;height:34px;border-radius:10px;font-size:24px;font-weight:700}.category-tile small{font-size:12px;color:#626262;font-weight:400}.category-toggle{margin-top:10px;font-size:14px}.category-summary{font-size:14px;margin-top:0}.provider-availability{color:#555}.google-entry{margin-top:20px}.google-entry p{text-align:center;margin:8px 0;font-size:13px}.google-button{display:flex;align-items:center;justify-content:center;gap:12px;background:#fff;border:1px solid #aaa;min-height:50px}.google-letter{font-family:Arial,sans-serif;font-size:22px;font-weight:700;color:#333}.filters label{font-size:14px}.demo{font-size:12px}.notice{font-size:14px}.mobile-nav button{font-size:12px}.auth-content .brand{margin-bottom:28px}#results>.between{align-items:flex-start;gap:8px}#results>.between h2{font-size:20px;max-width:72%}#results>.between button{font-size:13px;max-width:32%;margin-top:16px;padding:8px}
@media(min-width:420px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-tile{min-height:142px;padding:12px}.category-tile.active{padding:11px}}
/* Marca original: símbolo circular y nombre, sin duplicar el texto. */
.brand .brand-symbol{display:block;position:relative;flex:0 0 auto;width:44px;height:44px;overflow:hidden;border-radius:50%}
.brand .brand-symbol img{position:absolute;max-width:none;width:146.4%;height:auto;left:-18.8%;top:-4.4%;object-fit:contain}
.brand img.brand-wordmark{width:140px;height:auto;max-width:100%;object-fit:contain;flex:0 1 auto;min-width:0}
.auth-content .brand{gap:16px}
.auth-content .brand .brand-symbol{width:76px;height:76px}
.auth-content .brand img.brand-wordmark{width:230px;max-width:calc(100% - 92px);height:auto}
.top .brand{gap:8px;min-width:0}
@media(max-width:360px){.top .brand img.brand-wordmark{width:114px}.top .brand .brand-symbol{width:38px;height:38px}.auth-content .brand .brand-symbol{width:64px;height:64px}.auth-content .brand img.brand-wordmark{max-width:calc(100% - 80px)}}
.auth{background:#fff}
.auth-content .brand{flex-direction:column;align-items:center;gap:12px;margin-bottom:28px}
.auth-content .brand .brand-symbol{width:88px;height:88px}
.auth-content .brand img.brand-wordmark{width:230px;max-width:100%;height:auto;flex:none}
.auth-content .heading{text-align:center}
/* Cachuelo application */
.boot{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:20px}.boot img{width:240px}.auth{min-height:100dvh;padding-top:max(32px,env(safe-area-inset-top))}.auth-content{width:100%}.auth-footer{text-align:center;color:#73736b;font-size:12px;margin:28px 0 12px}.auth-content h1{font-size:30px;line-height:1.12}.auth-content .brand{margin-bottom:30px}.top{padding-top:max(8px,env(safe-area-inset-top));height:auto;min-height:72px}.top>a{color:inherit;text-decoration:none;min-width:0}.top .brand{display:flex}.top .brand img.brand-wordmark{width:135px}.top .brand .brand-symbol{width:40px;height:40px}.category-tile{min-height:96px}.location-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-5px 0 16px;font-size:13px}.location-row span{max-width:58%}.location-row button{max-width:42%;font-size:12px}.order-card,.message-card{text-align:left;width:100%;display:block;background:white;font-weight:normal}.order-card h3{margin:16px 0 6px}.message-card p{margin:8px 0}.order-card:hover,.message-card:hover{border-color:#c1ab28}.bottom-space{margin-top:20px}.form-error{color:#b12525;font-size:14px;line-height:1.5}.form-error:empty{display:none}button:disabled{opacity:.5;cursor:wait}.loading{background:#fff4b9;border-radius:10px;padding:7px 12px;font-size:12px;margin-bottom:14px}.connection{padding:10px 16px;background:#ffedd5;color:#7c3a0b;font-size:13px}.recovery{display:block;overflow-wrap:anywhere;background:#f4f4ef;border-radius:12px;padding:16px;font-size:15px;line-height:1.8;user-select:all}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.service-photo{width:100%;height:180px;object-fit:cover;border-radius:16px}.cover{height:230px;margin-bottom:18px}.prewrap{white-space:pre-wrap}.text-button{background:none;border:0;padding:0;min-height:24px;text-decoration:underline;font:inherit}.live-chat{min-height:220px;max-height:45dvh;display:flex;flex-direction:column;gap:12px;padding:12px 0}.bubble{max-width:86%;padding:12px 14px;background:#fff;border:1px solid #e2e2da;border-radius:16px;align-self:flex-start}.bubble.mine{align-self:flex-end;background:#fff1a0;border-color:#f2da60}.bubble p{white-space:pre-wrap;margin:0 0 7px;line-height:1.5}.bubble span{font-size:10px;color:#666}.card details{padding:14px 0;border-bottom:1px solid #eee}.card summary{cursor:pointer;font-weight:600;line-height:1.4}.heart{padding:7px;min-width:44px}.price small{font-size:14px;font-weight:400}form button:not([type=button]){margin-top:8px}form label{margin-bottom:15px}input,textarea,select{background:#fff;color:#1a1a1a}input:focus,textarea:focus,select:focus{outline:2px solid #b99a00;outline-offset:2px}.filters{display:grid;grid-template-columns:1fr 1fr;margin-top:20px}.filters label{min-width:0}.filters select{width:100%}button:focus-visible,a:focus-visible{outline:3px solid #917800;outline-offset:3px}@media(min-width:420px){.category-tile{min-height:112px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.brand .brand-symbol{overflow:visible;border-radius:0}.brand .brand-symbol img{position:static;max-width:100%;width:100%;height:100%;object-fit:contain}.photo-picker{border:1px solid #e2e2da;border-radius:16px;padding:16px;margin:12px 0 20px;min-width:0}.photo-picker legend{font-weight:650;padding:0 6px}.photo-input-label input{font-size:13px;max-width:100%;padding:10px}.order-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.order-photos figure{margin:0;min-width:0}.order-photos figure>button:first-child{padding:0;display:block;width:100%;border:1px solid #ddd;border-radius:12px;overflow:hidden;background:#f5f5ef}.order-photos img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.order-photos button.small{font-size:11px;padding:4px;min-height:40px}.photo-expanded{display:block;width:100%;max-height:70dvh;object-fit:contain;border-radius:10px}

.dialog-header{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:16px;align-items:start;margin-bottom:20px}.dialog-header h2{margin:4px 0 0;line-height:1.3;font-size:22px;overflow-wrap:anywhere}.dialog-close{position:static;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #deded8;border-radius:50%;font-size:28px;line-height:1;background:#f6f6f3}dialog{overflow:auto;max-height:85dvh}.category-icon{color:#000;background:#f1f1ef;font-family:Arial,sans-serif;font-variant-emoji:text}.entry-roles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.entry-roles button{font-size:14px;min-height:52px}.entry-roles button.active{background:#ffd20a;border-color:#161616}.policy-box{padding:16px;border:1px solid #ddd;border-radius:14px;background:#f8f8f5}.policy-box .check,.identity-consent{align-items:flex-start;font-size:14px;line-height:1.5;margin-bottom:12px}.check input{flex:0 0 20px;margin-top:3px}.policy-box button{font-size:14px;text-align:left}.verification-fields{display:grid;gap:16px;border-top:1px solid #ddd;padding-top:16px}.identity-preview img{width:100%;max-height:160px;object-fit:contain;border-radius:12px;background:#eee}.identity-help{font-weight:400}.identity-review{display:grid;gap:18px}.identity-review figure{margin:0}.identity-review img{width:100%;max-height:300px;object-fit:contain;background:#eee;border-radius:12px}.identity-review figcaption{font-weight:650;margin-bottom:8px}.profile-portrait{width:90px;height:90px;object-fit:cover;border-radius:50%;margin-bottom:20px}.profile-avatar{object-fit:cover}.subscription-shortcut{display:flex;gap:12px;align-items:center;justify-content:space-between;text-align:left}.subscription-shortcut small{display:block;font-size:12px;color:#666;font-weight:400}.subscription-card h2{font-size:26px}.plan-features{padding-left:22px}.plan-features li{margin-bottom:12px}.verification-card h2{margin-top:12px}.auth-content input[type=file]{max-width:100%;font-size:13px}.auth-content .form-error{overflow-wrap:anywhere}

/* Consistent spacing and readable content inside the mobile canvas. */
.portfolio-grid{grid-template-columns:minmax(0,1fr)}
.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.card,.main,.portfolio-body,.subscription-card{min-width:0}
.card a,.card code,.bubble p{overflow-wrap:anywhere}
.mobile-nav button{flex:1;min-width:0;max-width:110px}
.main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
.back{min-height:44px;display:inline-flex;align-items:center;padding:8px 12px;margin-left:-12px}
.text-button{min-height:44px;line-height:1.5}
form textarea{min-height:110px;resize:vertical}
form input[type=file]{width:100%;overflow:hidden}
dialog{width:calc(100vw - 32px);max-width:448px;max-height:calc(100dvh - 48px);overscroll-behavior:contain;scrollbar-gutter:stable}
.dialog-header{position:sticky;top:-22px;z-index:2;background:white;padding:10px 0 14px;border-bottom:1px solid var(--line)}
.dialog-close{align-self:start}
.stats-table th{position:sticky;top:0;background:white}
.admin-search{align-items:stretch;flex-direction:column}
.tag{max-width:100%;overflow-wrap:anywhere}
@media(max-width:359px){.top .brand img.brand-wordmark{width:100px}.top{gap:6px}.top .row{gap:2px}.top button{padding:8px}.entry-roles{grid-template-columns:1fr}.dialog-header{gap:10px}.admin-metrics .metric b{font-size:22px}}

/* Equal-size administrative actions, including links and long labels. */
.admin-profile-section{padding-top:6px;min-width:0}.admin-profile-section h2{margin:6px 0}.admin-profile-section>p{margin:0 0 14px}.admin-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:12px}.admin-shortcut{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;min-height:76px;width:100%;margin:0;padding:14px 12px;border:1px solid #deded8;border-radius:16px;background:#fff;color:#161616;font:700 14px/1.4 system-ui,sans-serif;letter-spacing:-.2px;text-decoration:none;overflow-wrap:normal;word-break:normal}.admin-shortcut:hover{background:#fff7ce;border-color:#c9a900}.admin-shortcut:active{background:#fff0a0}.admin-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}.admin-links>button{width:100%;min-width:0;min-height:68px;margin:0;padding:12px 8px;font-size:13px;line-height:1.35;white-space:normal}.admin-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.admin-controls>label{grid-column:1/-1;min-width:0}.admin-controls>button{min-width:0;min-height:54px;padding:12px 10px;font-size:14px;line-height:1.35}@media(max-width:359px){.admin-links{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-links>button:last-child{grid-column:1/-1;min-height:44px}.admin-shortcuts{gap:10px}.admin-shortcut{padding:12px 8px}}

/* Shared separation for page actions, cards and controls at narrow widths. */
.page-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px}
.main>button:not(.back){margin-block:12px;max-width:100%}
.main>button+:is(.card,.stack,.grid,.order-progress),.main>.card+:is(.card,.grid),.main>.tag+form{margin-top:18px}
.card>button.full+button.full{margin-top:12px}
.card>.row,.admin-links{row-gap:12px}
.row:has(>button){flex-wrap:wrap}
.row>button{max-width:100%;white-space:normal}
.stack>button,.menu>button{margin:0}
.check{align-items:flex-start;line-height:1.5}
.check input{flex-shrink:0}
form label{margin-bottom:0}
.help-card>h2:first-child{margin-top:0}
.help-card details{padding:16px 0}
.help-card details p{margin:12px 0 0;line-height:1.65}
.help-card>form{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
@media(max-width:359px){.card .row>button{flex:1 1 auto}.page-actions>button{width:100%}}
