@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#154c3c;--lime:#d8f38b;--ink:#20302b;--muted:#738078;--line:#e4e9e4;--paper:#f6f8f5}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:'DM Sans',Arial,sans-serif;color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);padding:11px 17px;border-radius:9px;font-weight:600}button:hover{background:#edf3e8}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--green)}button.primary{background:var(--green);border-color:var(--green);color:white}button.primary:hover{background:#22674f}button.lime{background:var(--lime);border-color:var(--lime)}button.small{padding:7px 11px;font-size:12px}button.danger{color:#ad3333}input,select,textarea{border:1px solid #dce3dd;border-radius:8px;background:white;padding:11px;width:100%;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #b5cc92;outline-offset:1px}input[type=checkbox]{width:auto}label{display:block;font-size:12px;font-weight:600;color:#52625a;margin-bottom:7px}h1,h2,h3{font-family:Manrope,Arial,sans-serif;letter-spacing:-.04em;margin:0}h1{font-size:32px;font-weight:800}h2{font-size:21px}h3{font-size:16px}p{line-height:1.6}.muted{color:var(--muted)}.small-text{font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700;color:var(--muted)}.shell{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;position:fixed;width:228px;height:100vh}.brand{font-family:Manrope;font-size:25px;font-weight:800;color:var(--green);display:flex;align-items:center;gap:10px;letter-spacing:-.07em}.brandmark{background:var(--green);color:var(--lime);width:36px;height:38px;display:grid;place-items:center;font-size:23px;border-radius:9px;transform:skew(-5deg)}.brand-sub{margin:8px 0 35px 48px;color:var(--muted);font-size:10px;letter-spacing:.14em}.nav{display:flex;flex-direction:column;gap:6px}.nav button{border:0;text-align:left;display:flex;align-items:center;gap:13px;background:none;color:#66746b;padding:13px 14px}.nav button.active{background:#eef5e6;color:var(--green)}.nav svg{width:19px;height:19px}.nav .count{margin-left:auto;background:white;border-radius:5px;padding:2px 6px;font-size:11px}.side-bottom{margin-top:auto}.profile{display:flex;gap:10px;align-items:center;padding:18px 8px;border-top:1px solid var(--line)}.avatar{background:#edf1e7;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-weight:700;color:var(--green)}.main{grid-column:2;min-width:0}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:1px solid var(--line);background:#fff}.breadcrumb{font-size:12px;color:var(--muted)}.topbar .status-dot{display:inline-block;background:#4e9a5c;width:6px;height:6px;border-radius:50%;margin-right:6px}.content{padding:34px 36px;max-width:1550px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p{margin:8px 0 0;color:var(--muted)}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);padding:22px;border-radius:12px}.stat .num{font-family:Manrope;font-size:29px;font-weight:800;margin:14px 0 8px;letter-spacing:-.05em}.stat:first-child{background:var(--green);color:white;border-color:var(--green)}.stat:first-child .muted{color:#adcabd}.stat:first-child .eyebrow{color:#b6d4c6}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.card.flush{padding:0;overflow:hidden}.card-head{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.toolbar{display:flex;gap:10px;padding:16px 24px;align-items:center}.toolbar input{max-width:330px}.toolbar select{max-width:190px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{background:#f8faf6;padding:13px 18px;text-transform:uppercase;font-size:10px;letter-spacing:.07em;font-weight:600;color:#788278}td{padding:17px 18px;border-top:1px solid #eff2ec;font-size:13px}td strong{font-weight:600}td .muted{font-size:11px;margin-top:4px}.badge{padding:5px 9px;display:inline-block;border-radius:6px;font-size:11px;background:#eff2ec;color:#566359}.badge.Pendiente{background:#fff3db;color:#986e17}.badge.Diseño{background:#e9edff;color:#6364a1}.badge.Producción{background:#e4f3f3;color:#348083}.badge.Listo,.badge.Entregado{background:#eaf4df;color:#628333}.badge.confirmed{background:#edf6e5;color:#477634}.banner{padding:23px 26px;background:#eaf0df;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.banner h3{margin-bottom:6px}.empty{text-align:center;padding:58px 20px;color:var(--muted)}.empty svg{width:42px;height:42px;margin-bottom:15px}.empty h3{color:var(--ink);margin-bottom:8px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.field{margin-bottom:14px}.span2{grid-column:span 2}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.summary{position:sticky;top:20px;align-self:start}.summary-line{display:flex;justify-content:space-between;margin:14px 0}.summary-total{font-size:23px;font-weight:700}.step{font-size:11px;color:var(--green);background:#eff5e7;padding:6px 9px;border-radius:6px;margin-right:8px}.upload{border:1px dashed #bdcbb8;border-radius:10px;background:#fafcf7;padding:22px;text-align:center}.upload input{margin-top:10px;font-size:12px}.line-table input,.line-table select{min-width:70px;padding:7px;font-size:12px}.line-table td{padding:8px}.line-table .name{min-width:150px}.line-table .product{min-width:180px}.line-table .options{min-width:280px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-top:16px}.file-tile{background:#f7f9f4;border:1px solid var(--line);border-radius:8px;padding:9px;overflow:hidden}.file-tile img{width:100%;height:110px;object-fit:contain;background:white}.file-tile p{font-size:11px;overflow-wrap:anywhere}.catalog{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{border:1px solid var(--line);background:white;border-radius:12px;overflow:hidden}.product-art{height:160px;display:grid;place-items:center;background:#eaf0e4;color:#466149}.product-art svg{width:84px;height:84px;stroke-width:1.1}.product-card:nth-child(3n+2) .product-art{background:#f1eddf;color:#8e7952}.product-card:nth-child(3n) .product-art{background:#e5ebee;color:#557684}.product-details{padding:20px}.product-details h3{margin:8px 0 16px}.product-details button{width:100%}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:var(--green);color:white;padding:70px;display:flex;flex-direction:column;justify-content:space-between}.login-art h1{font-size:52px;max-width:480px;line-height:1.15}.login-art p{color:#bdd4c8;max-width:420px}.login-art .brand{color:white}.login-box{display:flex;align-items:center;justify-content:center;padding:30px}.login-box form{width:370px}.login-box h1{font-size:28px;margin:25px 0 8px}.login-box .primary{width:100%;margin-top:10px}.login-box .field{margin-top:18px}.portal{max-width:960px;margin:35px auto;padding:0 20px}.notice{padding:12px 15px;border-radius:8px;background:#fff6de;color:#80632a;font-size:12px;line-height:1.6}.notice.good{background:#edf5e6;color:#517039}.history{border-left:2px solid #d8e3d0;margin-left:6px;padding-left:18px}.history p{font-size:12px}.history strong{color:var(--ink)}dialog{width:min(760px,95vw);border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--ink);max-height:90vh}dialog::backdrop{background:#14251b88}dialog h2{margin-bottom:20px}dialog .actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:var(--green);color:white;padding:14px 23px;border-radius:10px;box-shadow:0 6px 25px #0002;display:none;max-width:90vw}.loading{padding:60px;text-align:center}.error{color:#ac3333;font-size:13px}.integrations{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.integration{border:1px solid var(--line);border-radius:10px;padding:20px}.integration h3{margin-bottom:12px}.details-list{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}.mockup{max-width:190px;display:block;margin:15px auto}.inline-warning{color:#a26b23;font-size:12px}.footer{font-size:11px;color:var(--muted);margin-top:30px}.mobile-brand{display:none}
@media(max-width:1100px){.catalog{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.editor-layout{grid-template-columns:1fr}.summary{position:static}.integrations{grid-template-columns:1fr}.content{padding:24px}.sidebar{width:200px}.shell{grid-template-columns:200px 1fr}}
@media(max-width:700px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:15px;border-right:0;border-bottom:1px solid var(--line)}.brand-sub,.side-bottom{display:none}.nav{flex-direction:row;overflow:auto;margin-top:15px}.nav button{white-space:nowrap;padding:10px;font-size:12px}.nav svg{width:16px}.topbar{height:50px;padding:0 18px}.content{padding:22px 16px}.page-head{align-items:flex-start}h1{font-size:26px}.page-head button{white-space:nowrap;font-size:12px}.stats{gap:10px}.stat{padding:17px}.stat .num{font-size:24px}.catalog{grid-template-columns:repeat(2,1fr);gap:12px}.product-details{padding:14px}.product-details h3{font-size:13px}.grid2,.grid3{grid-template-columns:1fr}.span2{grid-column:auto}.card{padding:18px}.login{display:block}.login-art{display:none}.login-box{min-height:100vh}.banner{display:block}.banner button{margin-top:15px}.toolbar{flex-wrap:wrap;padding:14px}.file-grid{grid-template-columns:repeat(2,1fr)}}
.upload>svg{width:42px;height:42px;color:var(--green);margin-bottom:10px}
.catalog-filter{display:flex;gap:12px;align-items:center}.catalog-filter input{flex:2}.catalog-filter select{flex:1}.product-art{height:245px;background:#fff!important}.product-art img{width:100%;height:100%;object-fit:contain;padding:10px}.product-price{font-size:21px;font-weight:700;color:var(--green);margin:0 0 12px}.product-price del{color:var(--muted);font-size:12px;font-weight:400;margin-left:5px}.product-description{font-size:12px;color:#52625a;line-height:1.6;white-space:pre-line}.product-details h3{min-height:42px}.product-details .row button{width:auto;flex:1}.product-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.product-gallery img{width:100%;height:200px;object-fit:contain;border:1px solid var(--line);border-radius:8px}.catalog .product-card{display:flex;flex-direction:column}.catalog .product-details{display:flex;flex-direction:column;flex:1}.catalog .product-details>.row:last-child{margin-top:auto;padding-top:12px}
@media(max-width:700px){.catalog-filter{flex-wrap:wrap}.catalog-filter input{flex-basis:100%}.product-art{height:180px}.product-gallery{grid-template-columns:repeat(2,1fr)}.product-details h3{min-height:auto}.product-price{font-size:18px}}
.product-art{min-height:245px;max-height:245px;overflow:hidden;flex:0 0 245px}.product-art img{display:block;min-height:0;min-width:0;max-height:245px}.product-gallery img{min-height:0;min-width:0}.product-card .product-details{position:relative;background:#fff}
@media(max-width:700px){.product-art{min-height:180px;max-height:180px;flex-basis:180px}.product-art img{max-height:180px}}
.platform-brand{display:flex;flex-direction:column;gap:8px}.platform-brand>img{width:100%;max-width:280px;height:auto;object-fit:contain}.platform-brand>span{font-size:10px;color:var(--muted);letter-spacing:.01em}.sidebar>.platform-brand{padding:0 3px 18px;border-bottom:1px solid var(--line)}.company-block{margin:18px 0 24px;padding:10px;background:#f5f7f3;border-radius:10px}.company-brand{display:flex;align-items:center;gap:10px;min-width:0}.company-brand>img{width:56px;height:56px;object-fit:contain;border-radius:6px;flex-shrink:0}.company-brand strong{display:block;font-size:16px;color:var(--green);font-family:Manrope,Arial,sans-serif;font-weight:800}.company-brand span{font-size:9px;display:block;margin-top:4px;color:var(--muted)}.login-art>.platform-brand{background:#fff;padding:20px;border-radius:12px;width:330px;max-width:100%;box-shadow:0 8px 30px #0001}.login-box form>.platform-brand>img{max-width:320px}.login-company{margin-top:22px;padding:12px;background:#f3f6ef;border-radius:10px}.footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.footer>img{width:112px;height:auto}.portal-brands{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 25px}.portal-brands>.platform-brand{width:220px}.portal-brands .company-brand>img{width:80px;height:80px}.portal-brands .company-brand strong{font-size:21px}
@media(max-width:700px){.sidebar>.platform-brand{width:200px;padding-bottom:12px}.company-block{margin:10px 0;padding:8px;width:220px}.company-brand>img{width:46px;height:46px}.portal-brands{align-items:flex-start;flex-wrap:wrap}.portal-brands>.platform-brand{width:180px}.portal-brands .company-brand>img{width:60px;height:60px}}
@media print{.sidebar,.topbar,button,.toolbar,.footer{display:none}.shell{display:block}.content{padding:0}.card{break-inside:avoid;border:0}.file-tile img{height:auto}.portal{margin:0;max-width:none}.notice{display:none}}
.sidebar{overflow-y:auto}.sidebar .nav{gap:3px}.sidebar .nav button{padding:11px 12px}.side-bottom>.notice{display:none}.company-block{margin:12px 0 16px}.business-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.simple-steps{display:flex;gap:10px;margin-bottom:18px;color:var(--green);font-size:12px}.simple-steps span{background:#eef5e6;border-radius:8px;padding:9px 12px;flex:1;text-align:center}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.permission-grid label{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:13px;border-radius:8px;margin:0;line-height:1.5}.catalog-price-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 10px}.catalog-price-pair span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.catalog-price-pair strong{font-size:17px;color:var(--green)}.product-description{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.suggested-price{background:#eef5e6;padding:14px;border-radius:9px;margin-top:12px}.suggested-price span{display:block;font-size:12px;margin-bottom:8px}.suggested-price strong{font-size:24px;color:var(--green)}.cost-panel-table input{min-width:75px}.cost-panel-table td:first-child input{min-width:160px}.file-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.file-links a{border:1px solid var(--line);border-radius:8px;padding:10px;overflow-wrap:anywhere}.month-control{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.month-control .field{margin:0}.card h2+.grid2{margin-top:18px}dialog input,dialog select,dialog textarea{min-height:44px}dialog .actions{position:sticky;bottom:-28px;background:#fff;padding:14px 0;margin-bottom:-14px;border-top:1px solid var(--line)}
details>summary{font-family:Manrope,Arial,sans-serif;font-size:18px;font-weight:700;cursor:pointer;padding:4px 0}details[open]>summary{margin-bottom:16px}
.selected-file{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left}.selected-file span{overflow-wrap:anywhere;min-width:0}.selected-file button{flex-shrink:0}
.raffle-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.roulette-card{text-align:center}.roulette-frame{position:relative;max-width:420px;margin:24px auto 12px;padding-top:12px}.roulette-frame canvas{display:block;width:100%;height:auto;max-width:100%}.roulette-pointer{position:absolute;z-index:1;left:50%;top:0;transform:translateX(-50%);font-size:35px;color:#d04949;line-height:1;text-shadow:0 2px 1px #fff}.roulette-card #raffle-status{min-height:44px}.roulette-card #raffle-winners{margin-top:18px}.roulette-card #raffle-winners .grid3{grid-template-columns:1fr}.prize-setting{background:#f6f8f5;border-radius:10px;padding:16px;margin:18px 0}.prize-setting h3{margin-bottom:15px}.raffle-history{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.raffle-layout .table-wrap{max-height:580px;overflow:auto}
@media(max-width:1000px){.raffle-layout{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.roulette-frame canvas{transition-duration:.01s!important}}
.password-field{position:relative}.password-field input{padding-right:78px}.password-field .password-toggle{position:absolute;right:5px;bottom:5px;padding:7px 10px;min-height:34px;font-size:12px;border:0;background:#eef5e6}.auth-link{display:block;border:0;background:none;padding:12px 0;color:var(--green);text-decoration:underline;font-size:13px}.auth-form{width:370px;max-width:100%}.auth-form h1{font-size:28px;margin:24px 0 10px}.auth-form .primary{width:100%;margin-top:10px}.auth-form .field{margin-top:18px}
.editor-layout>div,.grid2>*,.grid3>*,.card,.page-head>div{min-width:0}.table-wrap{max-width:100%}.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.editor-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.page-head{flex-wrap:wrap}.page-head h1{font-size:26px}.grid2{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.grid3{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{width:190px;padding:20px 12px}.content{padding:22px 18px}.topbar{padding:0 18px}.catalog-price-pair{grid-template-columns:1fr}.product-details .row{flex-wrap:wrap}.product-details .row button{min-height:44px}}
@media(max-width:700px){.shell{display:block}.sidebar{width:100%;padding:15px;overflow:visible}.sidebar .nav{gap:4px}.sidebar .nav button{min-height:44px}.sidebar .side-bottom{display:flex;align-items:center;justify-content:flex-end}.sidebar .profile{display:none}.sidebar #logout{padding:8px 12px}.catalog-price-pair{grid-template-columns:1fr}.permission-grid{grid-template-columns:1fr}.simple-steps{gap:5px}.simple-steps span{padding:9px 5px}.business-tabs button{min-height:44px}.page-head{flex-wrap:wrap}.summary-total{font-size:21px}}

.client-templates{padding:16px;border:1px solid var(--line,#dce3dc);border-radius:12px;background:#f7f9f6;margin:0 0 18px}.client-templates p{margin:6px 0 12px}.template-download{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;min-height:44px;border:1px solid #cdd7ce;border-radius:10px;background:white;color:#294b3e;font-weight:600;text-decoration:none}.template-download:hover{background:#edf3e7}.template-download:focus-visible{outline:3px solid #294b3e;outline-offset:3px}@media(max-width:600px){.client-templates .template-download{flex:1 1 160px}}
