@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap";:root{--bg: #f5f4f0;--surface: #ffffff;--surface2: #eeecea;--border: #e0ddd8;--text: #1a1917;--text-muted: #7a7774;--accent: #1a1917;--accent-fg: #f5f4f0;--danger: #c0392b;--danger-light: #fdf2f1;--pending: #d97706;--pending-light: #fef3c7;--available: #16a34a;--available-light: #dcfce7;--sold: #6b7280;--sold-light: #f3f4f6;--purchased: #0ea5e9;--purchased-light: #dbeafe;--radius: 12px;--radius-sm: 6px;--shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);--shadow-md: 0 4px 16px rgba(0, 0, 0, .1);--font: "DM Sans", sans-serif;--font-mono: "DM Mono", monospace}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100}.header__inner{max-width:1200px;margin:0 auto;padding:0 24px;height:64px;display:flex;align-items:center;justify-content:space-between}.header__brand{display:flex;align-items:center;gap:10px}.header__icon{font-size:20px;font-weight:300}.header__brand h1{font-size:18px;font-weight:600;letter-spacing:-.03em}.header__logo{width:44px;height:44px;object-fit:contain}.header__right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.header__user{font-size:13px;color:var(--text-muted);font-family:var(--font-mono)}.main{max-width:1200px;margin:0 auto;padding:32px 24px 64px;width:100%;flex:1}.module-tabs{display:inline-flex;align-items:center;gap:6px;padding:4px;border:1px solid var(--border);border-radius:999px;background:var(--surface2)}.module-tab{border:none;background:transparent;color:var(--text-muted);padding:7px 12px;border-radius:999px;cursor:pointer;font-family:var(--font);font-size:13px;font-weight:500}.module-tab--active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.module{display:flex;flex-direction:column;gap:24px}.module__header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.module__eyebrow,.pedido-card__eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-family:var(--font-mono);margin-bottom:6px}.module__description,.pedido-form__help{margin-top:6px;color:var(--text-muted);font-size:14px}.pedido-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.pedido-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px;height:100%}.pedido-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pedido-card__header .badge{flex:0 0 auto;min-width:96px;padding:7px 11px;border:1px solid transparent;text-align:center;text-transform:uppercase;letter-spacing:.07em;box-shadow:inset 0 0 0 1px #00000005}.pedido-card__header h3{font-size:18px;line-height:1.2}.pedido-card__meta{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--text-muted);font-family:var(--font-mono)}.pedido-card__parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;height:84px;padding:12px;border-radius:var(--radius-sm);background:var(--surface2);border:1px solid var(--border);overflow:hidden}.pedido-card__parties div{display:flex;flex-direction:column;gap:4px}.pedido-card__label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-family:var(--font-mono)}.pedido-card__parties strong{font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pedido-card__notes{font-size:13px;color:var(--text-muted)}.pedido-card__collapsed-note{padding:10px 12px;border-radius:var(--radius-sm);background:#eff6ff;border:1px solid #bfdbfe;color:#075985;font-size:12px}.pedido-card__items{list-style:none;display:flex;flex-direction:column;gap:10px}.pedido-card__items li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface2);font-size:13px}.pedido-card__items li div{display:flex;flex-direction:column;gap:2px}.pedido-card__items li span{color:var(--text-muted);font-family:var(--font-mono)}.pedido-card__item-right{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}.pedido-card__footer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:stretch;margin-top:4px}.pedido-card__footer .btn{width:100%;justify-content:center;min-height:40px;padding:8px 10px;font-size:12px;white-space:normal;line-height:1.15}.pedido-card__footer .btn--secondary:last-of-type{border-color:var(--purchased)}.pedido-viewer-modal{display:flex;flex-direction:column;gap:20px}.pedido-viewer-modal__top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.pedido-viewer{display:flex;flex-direction:column;gap:18px}.pedido-viewer__header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.pedido-viewer__header h2{font-size:26px;line-height:1.1;margin-top:2px}.pedido-viewer__subtle{margin-top:6px;color:var(--text-muted);font-size:13px}.pedido-viewer__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pedido-viewer__stat,.pedido-viewer__parties,.pedido-viewer__notes,.pedido-viewer__item{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface2)}.pedido-viewer__stat{padding:12px;display:flex;flex-direction:column;gap:6px}.pedido-viewer__stat span,.pedido-viewer__section-title span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-family:var(--font-mono)}.pedido-viewer__stat strong{font-size:18px}.pedido-viewer__parties{padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pedido-viewer__parties div{display:flex;flex-direction:column;gap:4px}.pedido-viewer__parties strong,.pedido-viewer__notes p{font-size:14px;line-height:1.45}.pedido-viewer__notes{padding:14px}.pedido-viewer__notes p{margin-top:6px;color:var(--text)}.pedido-viewer__items{display:flex;flex-direction:column;gap:12px}.pedido-viewer__section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.pedido-viewer__list{display:flex;flex-direction:column;gap:12px}.pedido-viewer__item{padding:14px;background:linear-gradient(180deg,var(--surface) 0%,var(--surface2) 100%);display:flex;flex-direction:column;gap:12px}.pedido-viewer__item-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.pedido-viewer__item-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-family:var(--font-mono);margin-bottom:4px}.pedido-viewer__item h3{font-size:18px;line-height:1.2}.pedido-viewer__item-meta{margin-top:6px;color:var(--text-muted);font-size:13px}.pedido-viewer__item-prices{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-family:var(--font-mono);text-align:right}.pedido-viewer__item-prices strong{font-size:13px;color:var(--text-muted);font-family:var(--font-mono)}.pedido-viewer__item-prices span{font-size:13px}.pedido-viewer__chips{display:flex;flex-wrap:wrap;gap:8px}.pedido-form{gap:18px}.pedido-form__full{grid-column:1 / -1}.pedido-form textarea,.pedido-line input,.pedido-builder select{padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-family:var(--font);font-size:14px;background:var(--surface);color:var(--text);transition:border-color .15s}.pedido-form textarea:focus,.pedido-line input:focus,.pedido-builder select:focus{outline:none;border-color:var(--accent)}.pedido-builder{display:flex;flex-direction:column;gap:14px}.pedido-section{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.pedido-section--confirmed{border-color:#0ea5e940;background:linear-gradient(180deg,#fff,#dbeafe33)}.pedido-section__eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--text-muted);font-family:var(--font-mono)}.pedido-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(135deg,#fff,#eeecead9)}.pedido-overview__stat{display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:var(--radius-sm);background:#ffffffbf;border:1px solid rgba(224,221,216,.8)}.pedido-overview__stat span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-family:var(--font-mono)}.pedido-overview__stat strong{font-size:20px;line-height:1}.pedido-builder__title{display:flex;flex-direction:column;gap:6px}.pedido-builder__title h3{font-size:18px;letter-spacing:-.02em}.pedido-builder__title p{font-size:13px;color:var(--text-muted)}.pedido-builder__actions{display:flex;justify-content:flex-start}.pedido-drafts{display:flex;flex-direction:column;gap:14px}.pedido-draft{border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(180deg,var(--surface),var(--surface2));padding:18px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px}.pedido-draft__header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.pedido-draft__header h4{font-size:16px;line-height:1.2}.pedido-draft__eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-family:var(--font-mono);margin-bottom:4px}.pedido-draft__header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pedido-draft .form__grid{background:transparent}.pedido-draft .form__grid label{color:var(--text-muted)}.pedido-draft .form__grid input,.pedido-draft .form__grid select{background:#ffffffe6}.pedido-builder__row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.pedido-builder__row label{flex:1 1 280px;display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.pedido-lines{display:flex;flex-direction:column;gap:12px}.pedido-line{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.pedido-line--collapsed{padding-bottom:14px}.pedido-line__header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.pedido-line__eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-family:var(--font-mono);margin-bottom:4px}.pedido-line__header h4{font-size:18px;letter-spacing:-.02em;line-height:1.2}.pedido-line__header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pedido-line__summary{display:flex;flex-wrap:wrap;gap:8px}.pedido-line__collapsed-note{font-size:13px;color:var(--text-muted);padding:4px 0 2px}.summary-chip{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface2);font-size:12px;color:var(--text-muted);font-family:var(--font-mono)}.summary-chip--accent{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}.pedido-line__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pedido-line__grid--confirmed{grid-template-columns:repeat(2,minmax(0,1fr))}.pedido-line__grid--confirmed>label{min-width:0}.pedido-line__field--wide{grid-column:1 / -1}.pedido-line__row-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.pedido-line__row-three{display:grid;grid-template-columns:minmax(0,1.25fr) repeat(2,minmax(0,1fr));gap:12px;min-width:0}.pedido-line__row-two>label,.pedido-line__row-three>label{min-width:0}.pedido-line label,.pedido-line__notes{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.pedido-line__notes{min-width:180px}.pedido-line__grid input,.pedido-line__grid select{padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);font-family:var(--font);font-size:14px;color:var(--text)}.pedido-line__grid input:focus,.pedido-line__grid select:focus{outline:none;border-color:var(--accent)}.pedido-form__footer{display:flex;justify-content:flex-end;gap:10px}.modal--wide{max-width:920px}.badge--draft{background:#ece8df;color:#5f5b55;border-color:#d7d0c3}.pedido-empty{padding:40px 0}.controls{margin-bottom:32px;display:flex;flex-direction:column;gap:16px}.search-bar{display:flex;gap:8px;align-items:center}.search-bar input{flex:0 0 280px;padding:5px 14px;border:1px solid var(--border);border-radius:99px;font-family:var(--font);font-size:13px;background:var(--surface);color:var(--text);transition:border-color .15s}.search-bar input::placeholder{color:var(--text-muted)}.search-bar input:focus{outline:none;border-color:var(--accent)}.sort-control{display:flex;align-items:center;gap:10px}.sort-control label{font-size:12px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em}.sort-select{padding:5px 28px 5px 12px;border:1px solid var(--border);border-radius:99px;font-family:var(--font);font-size:13px;background:var(--surface);color:var(--text-muted);cursor:pointer;transition:all .15s;min-width:fit-content;-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7774' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.sort-select:hover{border-color:var(--accent);color:var(--text)}.sort-select:focus{outline:none;border-color:var(--accent)}.filters{display:flex;flex-direction:column;gap:10px}.filter-group{display:flex;align-items:center;gap:12px}.filter-group>label{font-size:12px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;min-width:60px}.filter-pills{display:flex;gap:6px;flex-wrap:wrap}.pill{padding:5px 12px;border-radius:99px;border:1px solid var(--border);background:var(--surface);font-size:13px;font-family:var(--font);cursor:pointer;color:var(--text-muted);transition:all .15s}.pill:hover{border-color:var(--accent);color:var(--text)}.pill--active{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}.results-count{font-size:13px;color:var(--text-muted);font-family:var(--font-mono)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:8px;box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s;animation:fadeUp .3s ease both}.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.card__image{width:100%;height:160px;overflow:hidden;border-radius:var(--radius-sm);margin-bottom:12px;background:var(--surface2)}.card__image img{width:100%;height:100%;object-fit:cover;display:block}.card__image-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--surface2)}.card__image-placeholder span{font-size:32px;opacity:.3}.card__image-placeholder a{font-size:12px;color:var(--accent);text-decoration:none;padding:4px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);transition:all .2s}.card__image-placeholder a:hover{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}.placeholder-text{font-size:12px;color:var(--text-muted);font-weight:300}.card__header{display:flex;justify-content:space-between;align-items:center}.card__sport{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-family:var(--font-mono)}.card__team{font-size:18px;font-weight:600;letter-spacing:-.02em;line-height:1.2}.card__team a{color:var(--text);text-decoration:none;transition:color .2s}.card__team a:hover{color:var(--accent);text-decoration:underline}.card__meta{display:flex;gap:6px;font-size:12px;color:var(--text-muted)}.card__player{font-size:13px;color:var(--text-muted);font-family:var(--font-mono)}.card__footer{display:flex;justify-content:space-between;align-items:flex-end;margin-top:8px;padding-top:12px;border-top:1px solid var(--border)}.card__price{display:flex;flex-direction:column;gap:2px}.price--usd{font-size:18px;font-weight:600;letter-spacing:-.02em}.price--cop{font-size:11px;color:var(--text-muted);font-family:var(--font-mono)}.card__actions{display:flex;align-items:center;gap:10px}.badge{font-size:11px;font-weight:500;padding:3px 8px;border-radius:99px;font-family:var(--font-mono)}.badge--pending{background:#fff1d6;color:#a16207;border-color:#f3c96c}.badge--sold{background:#eceef1;color:#4b5563;border-color:#c7cdd4}.badge--available{background:#dcfce7;color:#166534;border-color:#86efac}.badge--purchased{background:#dbeafe;color:#075985;border-color:#93c5fd}.btn{padding:8px 16px;border-radius:var(--radius-sm);font-family:var(--font);font-size:13px;font-weight:500;cursor:pointer;border:1px solid transparent;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease,opacity .15s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 6px 14px #0f172a1f}.btn:active{transform:translateY(0);box-shadow:0 2px 6px #0f172a1f}.btn--primary{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}.btn--primary:hover{opacity:.85}.btn--secondary{background:var(--surface);color:var(--purchased);border-color:var(--purchased)}.btn--secondary:hover{background:var(--purchased-light);border-color:#0284c7;color:#075985}.btn--edit{background:transparent;color:#a16207;border-color:#eab308}.btn--edit:hover{background:#fef3c7;border-color:#ca8a04;color:#854d0e}.btn--ghost{background:transparent;color:var(--text-muted);border-color:transparent}.btn--ghost:hover{color:var(--text)}.btn--danger{background:transparent;color:var(--danger);border-color:var(--danger)}.btn--danger:hover{background:var(--danger-light)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;animation:fadeIn .15s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{background:var(--surface);border-radius:var(--radius);width:100%;max-width:600px;max-height:90vh;overflow-y:auto;padding:32px;position:relative;box-shadow:var(--shadow-md);animation:slideUp .2s ease}@keyframes slideUp{0%{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}.modal__close{position:absolute;top:16px;right:16px;background:none;border:none;font-size:16px;cursor:pointer;color:var(--text-muted);padding:4px 8px;border-radius:var(--radius-sm)}.modal__close:hover{color:var(--text);background:var(--surface2)}.form{display:flex;flex-direction:column;gap:20px}.form__title{font-size:20px;font-weight:600;letter-spacing:-.02em}.form__error{background:var(--danger-light);color:var(--danger);padding:10px 14px;border-radius:var(--radius-sm);font-size:13px}.form__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form__grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;min-width:0}.inline-pair{display:flex;gap:8px;align-items:center}.inline-pair__label{font-size:11px;text-transform:uppercase;color:var(--text-muted);font-family:var(--font-mono);margin-bottom:6px}.inline-pair .player-input{flex:1 1 auto;min-width:0}.inline-pair .player-input input{width:100%}.inline-pair .number-input{flex:0 0 120px}.inline-pair .number-input input{width:100%}.inline-checkbox-input{display:flex;flex-direction:column}.inline-checkbox-input>div{display:flex;gap:8px;align-items:center}.inline-checkbox-input input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.inline-checkbox-input input[type=checkbox]{flex:0 0 auto}.inline-checkbox-input input[type=text],.inline-checkbox-input input[type=number]{flex:1 1 auto;min-width:0}.inline-checkbox-input input[type=text]{min-width:140px}.pedido-line__grid--confirmed .inline-checkbox-input>div,.pedido-line__grid--confirmed .inline-checkbox-input{width:100%}.inline-nyj{display:flex;flex-direction:column;min-width:0}.inline-nyj--only-number>div{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:center;margin-top:6px;min-width:0;width:100%}.inline-nyj>div{display:grid;grid-template-columns:18px 92px minmax(0,1fr);gap:6px;align-items:center;margin-top:6px;min-width:0;width:100%}.inline-nyj input[type=number]{width:92px;flex:0 0 92px}.inline-nyj input[type=text]{width:100%;min-width:0;flex:1 1 auto}.inline-nyj input[type=checkbox]{justify-self:center}.form__grid input:disabled,.pedido-line__grid input:disabled,.pedido-draft .form__grid input:disabled,.inline-checkbox-input input:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.form__grid input,.form__grid select{padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-family:var(--font);font-size:14px;background:var(--surface);color:var(--text);transition:border-color .15s}.form__grid input:focus,.form__grid select:focus{outline:none;border-color:var(--accent)}.error-banner{background:var(--danger-light);border:1px solid #fca5a5;border-radius:var(--radius-sm);padding:12px 16px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;font-size:13px;color:var(--danger)}.error-banner button{background:none;border:none;color:var(--danger);cursor:pointer;font-weight:600;text-decoration:underline}.empty{text-align:center;padding:80px 0;color:var(--text-muted);font-size:15px}.toast{position:fixed;bottom:24px;right:24px;background:var(--accent);color:var(--accent-fg);padding:12px 20px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;z-index:300;box-shadow:var(--shadow-md);animation:slideToast .25s ease}@keyframes slideToast{0%{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}.dashboard{display:flex;flex-direction:column;gap:24px}.dashboard-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:20px;align-items:stretch;min-height:260px;padding:28px;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(135deg,#fffffff5,#eeecead1),url(/Camisetas/RealMadrid25-26.jpg) center/cover;box-shadow:var(--shadow);overflow:hidden}.dashboard-hero__copy{display:flex;flex-direction:column;justify-content:center;gap:14px;max-width:620px}.dashboard-hero__copy h2{font-size:42px;line-height:1.02;letter-spacing:-.04em}.dashboard-hero__copy p:not(.module__eyebrow){color:var(--text-muted);font-size:16px;line-height:1.55}.dashboard-hero__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}.dashboard-hero__visual{align-self:stretch;display:grid;place-items:center;gap:14px;min-height:210px;border:1px solid rgba(255,255,255,.68);border-radius:var(--radius-sm);background:#ffffff9e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-align:center}.dashboard-hero__visual img{width:104px;height:104px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(0,0,0,.12))}.dashboard-hero__visual div{display:flex;flex-direction:column;gap:2px}.dashboard-hero__visual strong{font-size:44px;line-height:1}.dashboard-hero__visual span{color:var(--text-muted);font-size:13px;font-family:var(--font-mono)}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-kpi,.dashboard-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.dashboard-kpi{padding:18px;display:flex;flex-direction:column;gap:7px;min-height:126px}.dashboard-kpi span,.dashboard-panel__meta{font-size:12px;color:var(--text-muted);font-family:var(--font-mono)}.dashboard-kpi strong{font-size:30px;line-height:1;letter-spacing:-.03em}.dashboard-kpi small{color:var(--text-muted);font-size:13px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-panel{padding:20px;display:flex;flex-direction:column;gap:18px;min-width:0}.dashboard-panel--wide{grid-column:span 2}.dashboard-panel__header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.dashboard-panel__header h3{font-size:20px;line-height:1.2;letter-spacing:-.02em}.dashboard-bars,.dashboard-rank,.dashboard-recent{display:flex;flex-direction:column;gap:12px}.dashboard-bar{display:flex;flex-direction:column;gap:7px}.dashboard-bar__label{display:flex;justify-content:space-between;gap:10px;font-size:13px}.dashboard-bar__label strong{font-family:var(--font-mono)}.dashboard-bar__track,.dashboard-order-card__line{height:10px;overflow:hidden;border-radius:999px;background:var(--surface2);border:1px solid var(--border)}.dashboard-bar__track span,.dashboard-order-card__line span{display:block;height:100%;min-width:0;border-radius:inherit}.dashboard-bar--available{background:var(--available)}.dashboard-bar--pending{background:var(--pending)}.dashboard-bar--sold{background:var(--sold)}.dashboard-bar--purchased,.dashboard-order-card__line span{background:var(--purchased)}.dashboard-rank__item{display:grid;grid-template-columns:24px minmax(86px,.8fr) minmax(100px,1fr) 34px;gap:10px;align-items:center}.dashboard-rank__item>span{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--surface2);color:var(--text-muted);font-size:12px;font-family:var(--font-mono)}.dashboard-rank__item strong{font-size:14px;min-width:0}.dashboard-rank__item div{height:8px;border-radius:999px;background:var(--surface2);overflow:hidden}.dashboard-rank__item div span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.dashboard-rank__item em{color:var(--text-muted);font-style:normal;font-family:var(--font-mono);font-size:12px;text-align:right}.dashboard-recent__item{width:100%;min-height:72px;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background-color .15s ease}.dashboard-recent__item:hover{transform:translateY(-1px);border-color:var(--accent);background:var(--surface2)}.dashboard-recent__thumb{width:54px;height:54px;border-radius:var(--radius-sm);background:var(--surface2);overflow:hidden}.dashboard-recent__thumb img{width:100%;height:100%;object-fit:cover;display:block}.dashboard-recent__item strong,.dashboard-recent__item small{display:block;min-width:0}.dashboard-recent__item strong{font-size:14px;line-height:1.25}.dashboard-recent__item small{margin-top:4px;color:var(--text-muted);font-size:12px}.dashboard-order-card{min-height:190px;padding:18px;border-radius:var(--radius-sm);border:1px solid var(--border);background:linear-gradient(180deg,var(--surface),var(--surface2));display:flex;flex-direction:column;justify-content:center;gap:10px}.dashboard-order-card strong{font-size:50px;line-height:1;letter-spacing:-.04em}.dashboard-order-card span,.dashboard-order-card small,.dashboard-empty{color:var(--text-muted);font-size:13px}.dashboard-empty{padding:28px 0}@media (max-width: 600px){.dashboard-hero,.dashboard-kpis,.dashboard-grid{grid-template-columns:1fr}.dashboard-hero{padding:20px;min-height:auto}.dashboard-hero__copy h2{font-size:32px}.dashboard-panel--wide{grid-column:auto}.dashboard-panel__header,.dashboard-hero__actions{align-items:stretch;flex-direction:column}.dashboard-hero__actions .btn,.dashboard-panel__header .btn{width:100%}.dashboard-recent__item{grid-template-columns:46px minmax(0,1fr)}.dashboard-recent__item .badge{justify-self:flex-start;grid-column:2}.dashboard-recent__thumb{width:46px;height:46px}.pedido-card__footer,.pedido-overview{grid-template-columns:1fr}.pedido-draft__header{flex-direction:column}.pedido-draft__header-actions{justify-content:flex-start}.pedido-builder__actions,.pedido-builder__actions .btn{width:100%}.pedido-line__header{flex-direction:column}.pedido-line__header-actions{justify-content:flex-start}.pedido-section{padding:14px}.pedido-line__grid{grid-template-columns:1fr}.pedido-line__field--wide{grid-column:auto}.module__header{align-items:flex-start;flex-direction:column}.module-tabs{width:100%;justify-content:space-between}.module-tab{flex:1}.form__grid{grid-template-columns:1fr}.filter-group{flex-direction:column;align-items:flex-start}.search-bar input{flex:1}.pedido-line{grid-template-columns:1fr}}.auth-page{min-height:100vh;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:24px}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:40px;width:100%;max-width:400px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:24px;animation:fadeUp .3s ease both}.auth-brand{display:flex;align-items:center;gap:8px}.auth-brand__icon{font-size:18px}.auth-brand__name{font-size:16px;font-weight:600;letter-spacing:-.03em}.auth-header{display:flex;flex-direction:column;gap:4px}.auth-header h2{font-size:22px;font-weight:600;letter-spacing:-.03em}.auth-header p{font-size:13px;color:var(--text-muted)}.auth-error{background:#fdf2f1;border:1px solid #fca5a5;color:var(--danger);padding:10px 14px;border-radius:var(--radius-sm);font-size:13px}.auth-form{display:flex;flex-direction:column;gap:14px}.auth-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.auth-form input{padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-family:var(--font);font-size:14px;background:var(--surface);color:var(--text);transition:border-color .15s}.auth-form input:focus{outline:none;border-color:var(--accent)}.auth-form input::placeholder{color:var(--text-muted);opacity:.6}.auth-btn{margin-top:4px;padding:10px 16px;background:var(--accent);color:var(--accent-fg);border:none;border-radius:var(--radius-sm);font-family:var(--font);font-size:14px;font-weight:500;cursor:pointer;transition:opacity .15s;display:flex;align-items:center;justify-content:center;min-height:40px}.auth-btn:hover:not(:disabled){opacity:.85}.auth-btn:disabled{opacity:.5;cursor:not-allowed}.auth-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-footer{text-align:center;font-size:13px;color:var(--text-muted)}.auth-link{background:none;border:none;font-family:var(--font);font-size:13px;font-weight:500;color:var(--text);cursor:pointer;text-decoration:underline;text-underline-offset:2px}.auth-link:hover{opacity:.7}.auth-hint{text-align:center;font-size:11px;font-family:var(--font-mono);color:var(--text-muted);background:var(--surface2);padding:8px 12px;border-radius:var(--radius-sm)}.auth-hint span{font-weight:600;margin-right:4px}@media (max-width: 480px){.auth-card{padding:28px 20px}}
