:root {
    --mt-ink: #252329;
    --mt-wine: #783e50;
    --mt-wine-soft: #f4e9ed;
    --mt-teal: #346e65;
    --mt-line: #e2e3e7;
    --mt-muted: #6d6b74;
    --mt-paper: #ffffff;
}
body { background:#f5f6f8; color:var(--mt-ink); font-size:14px; }
body * { letter-spacing:0 !important; }
button, input, select, textarea { font-family:inherit; }
button, a, input, select, textarea { touch-action:manipulation; }
:focus-visible { outline:2px solid var(--mt-wine); outline-offset:3px; }
.sidebar { width:224px; background:var(--mt-ink); border:0; padding:28px 14px 20px; overflow-y:auto; }
.brand { padding:4px 14px 28px; margin-bottom:16px; border-bottom:1px solid #46404a; }
.brand h2 { display:block; color:#fff; font-family:Georgia,serif; font-size:32px; text-transform:none; font-weight:400; line-height:1.1; }
.brand h2 span { display:inline-block; color:#cebdbf; font:13px 'Plus Jakarta Sans',sans-serif; font-style:normal; margin-left:8px; }
.brand p { color:#c4b8bc; margin-top:10px; font-size:13px; }
.sidebar-nav { padding:0; gap:6px; align-items:stretch; }
.nav-item { min-height:44px; width:auto; height:auto; justify-content:flex-start; gap:12px; padding:12px 14px; border-radius:6px; font-size:13px; color:#cfcbd2; font-weight:400; }
.nav-item .lucide { width:18px; height:18px; flex-shrink:0; }
.nav-item:hover { background:#37313a; color:#fff; }
.nav-item.active { background:#f0dfe5; color:#642c3e; font-weight:600; }
.sidebar-signature { margin-top:auto; padding:32px 14px 0; display:flex; gap:10px; align-items:center; color:#bcaaa9; font-family:Georgia,serif; font-size:16px; }
.sidebar-signature .lucide { width:22px; height:22px; color:#bcaaa9; }
.main-content { margin-left:224px; width:calc(100% - 224px); padding:22px 32px 36px; max-width:1900px; }
.view-section { padding-bottom:24px; }
.view-header { margin-bottom:24px; }
.view-header h1 { font-family:Georgia,serif; font-size:36px; font-weight:400; line-height:1.15; }
.subtitle { color:var(--mt-muted); font-size:14px; line-height:1.6; }
.brand-statement { color:var(--mt-wine); font-size:13px; font-weight:500; text-transform:none; margin-bottom:8px; }
.btn { padding:10px 16px; font-size:13px; font-weight:500; border-radius:6px; min-height:38px; gap:7px; }
.btn-primary { background:var(--mt-wine); color:#fff; }
.btn-primary:hover { background:#632e3f; transform:none; box-shadow:0 3px 9px #783e5020; }
.btn-secondary { background:#fff; border-color:var(--mt-line); color:var(--mt-ink); }
.btn-secondary:hover { background:#f7f4f6; border-color:#c6b1ba; transform:none; box-shadow:none; }
.btn-danger { border-color:#e4bdc4; background:#fff; color:#a23d4d; }
.cloud-bar { padding:0 0 14px; margin-bottom:24px; border-color:var(--mt-line); font-size:14px; color:var(--mt-muted); gap:8px 16px; }
.cloud-bar #cloud-status { margin-right:auto; display:flex; align-items:center; gap:7px; }
.cloud-bar #cloud-status::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--mt-teal); flex-shrink:0; }
.cloud-bar #cloud-status.error::before { background:#b44949; }
.cloud-bar a,.cloud-bar button { display:inline-flex; align-items:center; min-height:40px; color:var(--mt-muted); text-decoration:none; }
.cloud-bar button:hover,.cloud-bar a:hover { color:var(--mt-wine); text-decoration:underline; }
.hoy-hero { margin-bottom:24px; align-items:center; }
.hoy-date-card { min-width:170px; padding:8px 0; background:transparent; border:0; border-radius:0; box-shadow:none; }
.hoy-date-card span { font-size:13px; text-transform:none; color:var(--mt-wine); font-weight:500; }
.hoy-date-card strong { font-size:13px; font-weight:500; }
.hoy-summary-card { border:0; border-top:1px solid var(--mt-line); border-bottom:1px solid var(--mt-line); border-radius:0; background:transparent; padding:20px 0; gap:20px; margin-bottom:16px; box-shadow:none; }
.hoy-summary-metric { min-width:0; gap:6px; border-color:var(--mt-line); padding-right:16px; }
.hoy-summary-metric .label { font-size:13px; font-weight:500; color:var(--mt-muted); text-transform:none; }
.hoy-summary-metric strong { font-size:28px; font-weight:500; line-height:1.25; }
.hoy-summary-metric small { font-size:13px; color:var(--mt-muted); }
.metric-progress-track { height:4px; background:#e5e8e7; }
.metric-progress-fill,.progress-bar-fill { background:var(--mt-teal); }
.hoy-ingresos-compact { padding:10px 0; border:0; border-bottom:1px solid var(--mt-line); border-radius:0; margin:0 0 26px; gap:14px; }
.hoy-ingresos-compact span { color:var(--mt-wine); font-size:13px; text-transform:none; font-weight:500; }
.hoy-ingresos-compact strong,.hoy-ingresos-compact small { font-size:14px; }
.hoy-work-section h2,.hoy-business-section h2 { font-size:17px; font-weight:500; margin-bottom:14px; }
.hoy-work-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.hoy-work-card { min-height:164px; padding:16px; border-radius:8px; background:#fff; border-color:var(--mt-line); gap:8px; min-width:0; box-shadow:none; }
.hoy-work-card .action-icon { display:grid; place-items:center; width:32px; height:32px; background:var(--mt-wine-soft); color:var(--mt-wine); border-radius:6px; font-size:18px; }
.hoy-work-card .action-icon .lucide { width:19px; height:19px; }
.hoy-work-card:nth-child(3n+2) .action-icon { background:#e7efed; color:var(--mt-teal); }
.hoy-work-card:nth-child(3n) .action-icon { background:#f4efdf; color:#877038; }
.hoy-work-card .label { font-size:14px; font-weight:500; line-height:1.5; }
.hoy-work-card strong { font-size:26px; font-weight:500; }
.hoy-work-card small { font-size:13px; line-height:1.5; color:var(--mt-muted); }
.hoy-work-card:hover { border-color:#bb9aa7; transform:translateY(-2px); box-shadow:0 5px 14px #25232908; }
.hoy-work-card.active { border-color:var(--mt-wine); background:#fcf6f8; box-shadow:none; }
.hoy-business-section { margin-top:28px; }
.hoy-business-section + .hoy-insights-grid { margin-top:28px; }
.hoy-insights-grid { grid-template-columns:minmax(0,3fr) minmax(240px,1fr); gap:24px; margin-bottom:24px; }
.hoy-category-card { background:transparent; padding:20px 0; border:0; border-top:1px solid var(--mt-line); border-radius:0; box-shadow:none; }
.hoy-category-card h2,.hoy-story-card h2 { font-size:16px; font-weight:500; }
.hoy-story-card { background:transparent; padding:0; border:0; border-radius:0; }
.hoy-brand-photo { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:6px; margin-bottom:14px; }
.hoy-story-card p { font-size:14px; color:var(--mt-muted); line-height:1.7; }
.hoy-category-icon { width:30px; height:30px; background:#e7efed; border-radius:6px; }
.hoy-category-row { padding:10px 0; }
.hoy-category-count,.hoy-category-name { font-size:14px; font-weight:400; }
.hoy-category-track { height:4px; background:#e5e8e7; }
.hoy-category-fill { background:var(--mt-teal); }
.hoy-story-metrics div { background:transparent; border:0; border-bottom:1px solid var(--mt-line); border-radius:0; padding:10px 0; }
.commercial-tabs { gap:6px 18px; border-bottom:1px solid var(--mt-line); padding-bottom:0; margin-bottom:24px; }
.commercial-tab { border:0; border-bottom:2px solid transparent; background:transparent; color:var(--mt-muted); padding:10px 0 12px; border-radius:0; font-size:14px; font-weight:500; }
.commercial-tab.active { background:transparent; border-color:var(--mt-wine); color:var(--mt-wine); }
.commercial-section-header,.creative-start-panel,.creative-next-panel,.creative-ideas-panel,.creative-drop-studio { background:transparent; border:0; border-radius:0; padding:18px 0; box-shadow:none; }
.commercial-section-header { padding-top:0; margin-bottom:12px; }
.commercial-section-header h2 { font-family:Georgia,serif; font-size:25px; font-weight:400; }
.creative-start-panel { border-top:1px solid var(--mt-line); border-bottom:1px solid var(--mt-line); }
.creative-next-panel { margin-top:8px; }
.creative-next-header h3,.creative-ideas-panel h3 { font-size:18px; font-weight:500; }
.creative-next-header p,.creative-start-panel p,.commercial-section-header p { color:var(--mt-muted); font-size:13px; line-height:1.6; }
.creative-next-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr)); gap:14px; }
.creative-story-card { border-radius:8px; padding:18px; border-color:var(--mt-line); background:#fff; box-shadow:none; }
.creative-story-card::before { height:3px; background:#c78d9e; }
.creative-story-card-collection::before { background:#7caaa0; }
.creative-story-card.has-editorial-plan { background:#fff; border-color:var(--mt-line); }
.creative-story-card.has-editorial-plan::before { background:#b69b5b; }
.creative-story-card h4 { font-family:Georgia,serif; font-size:23px; font-weight:400; }
.creative-story-card p,.creative-story-card .creative-story-numbers { font-size:14px; color:var(--mt-muted); font-weight:400; line-height:1.7; }
.creative-story-card .creative-story-meta { font-size:13px; font-weight:500; color:var(--mt-ink); }
.creative-story-type { background:var(--mt-wine-soft); color:var(--mt-wine); font-size:12px; font-weight:500; }
.creative-story-card-collection .creative-story-type { background:#e7efed; color:var(--mt-teal); }
.creative-story-deadline,.creative-drop-deadline-line { font-size:14px; font-weight:600; }
.deadline-overdue { background:#fff0ef; color:#ae463a; }
.creative-story-card .btn { margin-top:14px; min-height:38px; font-size:14px; }
.creative-story-filter,.commercial-list-mode,.commercial-progress-step,.creative-drop-prendas-filters button { font-size:13px; font-weight:400; padding:8px 11px; border-radius:5px; background:#fff; border-color:var(--mt-line); }
.creative-story-filter.active,.commercial-progress-step.active,.creative-drop-prendas-filters button.active { background:var(--mt-wine-soft); border-color:#d4abb9; color:var(--mt-wine); }
.creative-story-filter strong { background:#f1f2f4; color:var(--mt-muted); font-weight:400; }
.creative-idea-card { background:#fff; border-color:var(--mt-line); border-radius:8px; padding:16px; }
.creative-drop-studio { border-top:1px solid var(--mt-line); }
.creative-drop-studio-metrics div { background:transparent; border:0; border-left:2px solid #cddbd6; border-radius:0; padding:8px 14px; }
.creative-drop-studio-metrics strong { font-size:20px; font-weight:500; }
.creative-drop-studio-metrics span { font-size:13px; }
.creative-drop-studio-summary,.creative-drop-content-card,.creative-drop-prendas-panel,.creative-drop-format-summary { background:transparent; border:0; border-top:1px solid var(--mt-line); border-radius:0; padding:16px 0; }
.creative-drop-prenda-row { min-height:38px; font-size:14px; }
.format-pending-chip { font-size:13px; font-weight:400; }
.format-pending-chip.has-pending { background:#faecee; border-color:#ebcdd4; color:#934358; }
.format-pending-chip.is-empty { display:none; }
.card,.commercial-item-card,.commercial-prenda-card,.content-task-card { border-radius:8px; border-color:var(--mt-line); background:#fff; box-shadow:none; padding:18px; }
.card-title,.commercial-item-card h3 { font-size:18px; }
.card:hover { box-shadow:0 4px 14px #25232906; transform:none; }
.content-task-card.is-complete { background:#edf4f1; border-color:#cadbd3; }
.commercial-content-summary,.commercial-form-grid,.commercial-selector-filters,.form-section-card,.prendas-filters-panel,.prenda-progress-panel,.mi-dia-detail { border:0; border-top:1px solid var(--mt-line); border-radius:0; padding:18px 0; background:transparent; box-shadow:none; }
.commercial-form-grid input,.commercial-form-grid select,.commercial-form-grid textarea,.form-group input[type="text"],.form-group input[type="number"],.form-group input[type="date"],.form-group select,.form-group textarea { border-color:var(--mt-line); border-radius:6px; background:#fff; padding:11px 12px; font-size:13px; color:var(--mt-ink); }
.form-group label { font-size:14px; color:var(--mt-muted); font-weight:500; text-transform:none; }
.form-section-card h3 { font-size:17px; }
.form-section-card:hover { transform:none; box-shadow:none; }
.modal-card { border-radius:8px; padding:28px; }
.commercial-status-badge,.badge { font-size:12px; font-weight:500; padding:5px 9px; }
.commercial-status-programado,.commercial-status-por-producir { background:#f4efdf; color:#7c642c; }
.commercial-status-publicado,.commercial-status-listo-para-publicar { background:#e4efea; color:#356757; }
.commercial-calendar-month,.commercial-calendar-toolbar,.commercial-calendar-day-detail,.commercial-calendar-undated { border-radius:0; background:#fff; border-color:var(--mt-line); padding:16px; }
.commercial-calendar-day { min-height:105px; }
.commercial-calendar-event { font-size:12px; border-radius:4px; }
.commercial-calendar-event-drop { background:var(--mt-wine-soft); border-color:#e5ccd5; color:var(--mt-wine); }
.commercial-calendar-day.is-selected { background:#f6edf1; }
.complete-table th { color:var(--mt-muted); background:#eceef1; font-size:13px; }
.complete-table td { background:#fff; font-size:14px; }
.complete-metric { border-color:#d0b0bc; }
.complete-tabs button[aria-pressed="true"] { background:var(--mt-wine-soft); color:var(--mt-wine); border-color:#d3aebc; }
.empty-state { background:transparent; border:0; border-top:1px dashed var(--mt-line); border-radius:0; padding:28px 0; font-size:13px; color:var(--mt-muted); }
#cloud-gate { background:#f5f6f8; }
.cloud-login h1 { color:var(--mt-wine); font-family:Georgia,serif; font-size:38px; font-weight:400; }
.cloud-login h2 { font-size:18px; }
.protected-delete-dialog { width:min(460px,calc(100% - 32px)); max-height:90vh; margin:auto; overflow:auto; border:1px solid var(--mt-line); border-radius:8px; padding:24px; background:#fff; color:var(--mt-ink); }
.protected-delete-dialog::backdrop { background:rgb(37 35 41 / 45%); }
.protected-delete-dialog h2 { font-family:Georgia,serif; font-size:25px; font-weight:400; overflow-wrap:anywhere; margin:12px 0; }
.protected-delete-dialog p { font-size:14px; line-height:1.6; margin:12px 0; }
.protected-delete-step { color:var(--mt-wine); }
.protected-delete-warning { color:#a23d4d; }
.protected-delete-verification { display:grid; gap:14px; margin:20px 0; }
.protected-delete-dialog [hidden] { display:none!important; }
.protected-delete-verification label { display:grid; gap:7px; font-size:14px; }
.protected-delete-verification input { width:100%; min-width:0; padding:11px; border:1px solid var(--mt-line); border-radius:5px; background:#fff; font:inherit; }
.protected-delete-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; margin-top:20px; }
@media(min-width:1650px) { .main-content { padding:28px 48px; } .hoy-work-card { min-height:160px; } }
@media(max-width:1200px) { .hoy-work-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .hoy-insights-grid { grid-template-columns:minmax(0,2fr) minmax(220px,1fr); } }
@media(max-width:900px) {
    .sidebar { width:78px; padding:18px 10px; }
    .brand { padding:0 0 20px; text-align:center; }
    .brand h2 { font-size:21px; }
    .brand h2 span,.brand p,.nav-item span,.sidebar-signature { display:none; }
    .nav-item { justify-content:center; padding:12px 0; }
    .main-content { margin-left:78px; width:calc(100% - 78px); padding:18px 22px; }
    .hoy-summary-card { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .hoy-summary-metric { border-bottom:0; padding-bottom:0; }
    .hoy-insights-grid { grid-template-columns:1fr; }
    .hoy-story-card { display:grid; grid-template-columns:180px 1fr; gap:0 20px; }
    .hoy-brand-photo { grid-row:1/4; }
}
@media(max-width:600px) {
    .app-container { flex-direction:column; }
    .sidebar { position:sticky; top:0; width:100%; height:auto; padding:12px 14px 8px; overflow:visible; }
    .brand { padding:0 0 10px; margin:0; border:0; text-align:left; }
    .brand h2 { font-size:24px; }
    .brand h2 span { display:inline-block; }
    .sidebar-nav { flex-direction:row; gap:4px; overflow-x:auto; align-items:stretch; }
    .nav-item { flex:0 0 auto; width:auto; min-height:42px; padding:8px 10px; gap:6px; font-size:12px; }
    .nav-item span { display:inline; }
    .nav-item .lucide { width:15px; height:15px; }
    .main-content { margin:0; width:100%; padding:16px; }
    .cloud-bar { margin-bottom:20px; font-size:14px; }
    .cloud-bar #cloud-status { flex-basis:100%; }
    .view-header h1 { font-size:30px; }
    .hoy-hero { flex-direction:row; align-items:flex-start; gap:12px; }
    .hoy-date-card { width:auto; min-width:110px; max-width:130px; text-align:right; }
    .hoy-date-card strong { font-size:13px; }
    .hoy-summary-card { padding:16px 0; gap:18px 12px; }
    .hoy-summary-metric strong { font-size:24px; }
    .hoy-summary-metric .label { line-height:1.5; }
    .hoy-work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .hoy-work-card { min-height:158px; padding:14px; }
    .hoy-story-card { display:block; }
    .hoy-brand-photo { max-height:210px; object-position:50% 35%; }
    .creative-next-grid { grid-template-columns:1fr; }
    .commercial-tabs { gap:4px 14px; }
    .commercial-tab { font-size:13px; }
    .commercial-calendar-day { min-height:55px; }
    .commercial-calendar-month { padding:8px; }
    .creative-drop-prenda-row { grid-template-columns:62px minmax(0,1fr) 62px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
