#cortes-panel{color:#162039;font:15px/1.5 Inter,Arial,sans-serif}#cortes-panel[hidden]{display:none!important}#cortes-panel *,.cut-dialog *{box-sizing:border-box}#cortes-panel svg,.cut-dialog svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}#cortes-panel button,.cut-dialog button{font:inherit;color:#14203b;-webkit-text-fill-color:currentColor;cursor:pointer}#cortes-panel input,#cortes-panel select,#cortes-panel textarea,.cut-dialog input{width:100%;min-width:0;font:inherit;color:#162039;background:#fff;border:1px solid #dce1ea;border-radius:7px;padding:10px 12px;margin:7px 0 0;min-height:40px}#cortes-panel label,.cut-dialog label{font-weight:500;font-size:14px;margin:0;display:block}#cortes-panel em,.cut-dialog em{font-style:normal;color:#CA071B}#cortes-panel h1{font-size:36px;letter-spacing:-1.2px;line-height:1.15;margin:0;color:#0b0d13}#cortes-panel h2,.cut-dialog h2{font-size:21px;letter-spacing:-.6px;font-weight:750;margin:0 0 7px;color:#0f1525}#cortes-panel h2 svg{width:25px;height:25px;margin-right:12px}#cortes-panel p{margin:4px 0 0}#cortes-panel .cut-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}#cortes-panel .cut-heading>div:first-child{max-width:760px}#cortes-panel .cut-heading p{color:#58667d;font-size:15px;margin-top:8px}#cortes-panel .cut-actions,.cut-dialog .cut-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cut-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;padding:11px 20px;border:1px solid #dce1e9;border-radius:7px;min-height:46px;font-weight:650!important;background:#fff}.cut-button.cut-primary{background:#CA071B;border-color:#CA071B;color:#121721;color:#fff!important;-webkit-text-fill-color:currentColor;filter:none;}:is(.cut-button.cut-primary) :is(svg,i,span,b,strong,small,em){color:#fff!important;-webkit-text-fill-color:currentColor;}.cut-button:hover{filter:brightness(.975)}.cut-button:disabled{opacity:.55;cursor:wait}#cortes-panel .cut-card{background:white;border:1px solid #e9ecf2;border-radius:10px;padding:20px;box-shadow:0 2px 9px #20355202;min-width:0}#cortes-panel .cut-top-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:18px}#cortes-panel .cut-search{display:flex;gap:10px;align-items:center;border:1px solid #dce1ea;border-radius:7px;padding:0 12px}#cortes-panel .cut-search input{border:0;margin:0;padding:12px 0;outline:none;min-height:54px}#cortes-panel .cut-filter-grid{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:end;margin-top:22px}#cortes-panel .cut-card-title{display:flex;align-items:center;gap:13px}#cortes-panel .cut-card-title>svg{margin:0}#cortes-panel .cut-green{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:#e1faeb;color:#19a75c;flex-shrink:0}#cortes-panel .cut-green svg{margin:0;width:24px;height:24px}#cortes-panel .cut-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin-top:24px}#cortes-panel .cut-metrics>div{padding:0 14px;border-right:1px solid #eaedf2;display:flex;flex-direction:column;gap:4px}#cortes-panel .cut-metrics>div:first-child{padding-left:0}#cortes-panel .cut-metrics>div:last-child{border:0;padding-right:0}#cortes-panel .cut-metrics b{font-size:29px;color:#0e1424;line-height:1.3}#cortes-panel .cut-metrics span{font-size:13px}#cortes-panel small,#cortes-panel .cut-muted{color:#77839a;font-size:13px}#cortes-panel .cut-section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}#cortes-panel .cut-section-heading h2{display:flex;align-items:center}#cortes-panel .cut-section-heading p{color:#727c90}#cortes-panel .cut-table-scroll{overflow:auto;border:1px solid #e9edf3;border-radius:8px}#dashboard #cortes-panel table{width:100%;border-collapse:collapse;table-layout:auto;min-width:0;font-size:14px}#dashboard #cortes-panel th{height:auto;background:#f3f5f8;font-size:13px;font-weight:700;padding:15px 12px;text-align:left;white-space:nowrap;color:#192238}#dashboard #cortes-panel td{height:auto;width:auto;min-width:0;max-width:none;padding:17px 12px;border-bottom:1px solid #edf0f5;vertical-align:middle}#dashboard #cortes-panel th:first-child,#dashboard #cortes-panel td:first-child{width:auto}#cortes-panel td small{display:block;margin-top:4px}#cortes-panel td b{font-weight:650;display:block}#cortes-panel .cut-row-actions{display:flex;gap:7px}#cortes-panel .cut-row-actions button{display:grid;place-items:center;background:#f0f3f7;border:0;border-radius:7px;width:41px;height:41px;padding:9px}#cortes-panel .cut-danger,.cut-dialog .cut-danger{color:#CA071B;background:#fff0f2;border-color:#ffd9df}#cortes-panel .cut-inactive{display:inline-block;font-size:10px;padding:3px 7px;background:#f0f1f5;color:#767e8e;border-radius:12px;margin-top:4px}#cortes-panel .cut-empty{text-align:center;padding:50px 20px}#cortes-panel .cut-empty>svg{width:43px;height:43px;color:#a6aebc;margin-bottom:10px}#cortes-panel .cut-empty h3{font-size:20px;margin:7px 0}#cortes-panel .cut-empty p{color:#7c8595;margin-bottom:20px}#cortes-panel .cut-empty-cell{text-align:center;padding:35px;color:#7d8796}#cortes-panel .cut-form-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:18px}#cortes-panel .cut-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}#cortes-panel .cut-full{grid-column:1/-1}#cortes-panel .cut-toggle{display:flex;align-items:center;gap:14px;margin-top:20px}#cortes-panel .cut-toggle input{appearance:none;position:relative;width:54px;height:30px;min-height:0;flex:0 0 54px;margin:0;background:#b5bec9;border:0;border-radius:20px;padding:0;cursor:pointer}#cortes-panel .cut-toggle input:before{content:'';position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:left .15s}#cortes-panel .cut-toggle input:checked{background:#19b268}#cortes-panel .cut-toggle input:checked:before{left:27px}#cortes-panel .cut-toggle small{display:block}#cortes-panel dl{margin:20px 0 0}#cortes-panel dl>div{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #e9edf3}#cortes-panel dt{color:#727e91}#cortes-panel dd{margin:0;text-align:right;font-weight:700;overflow-wrap:anywhere}#cortes-panel .cut-info{margin-top:18px}#cortes-panel .cut-info p{padding:16px;background:#f0f7ff;border:1px solid #d7e8fa;border-radius:6px;color:#416994}#cortes-panel .cut-error,.cut-dialog .cut-error{color:#CA071B;margin:10px 0;font-size:12px}#cortes-panel .cut-error:empty,.cut-dialog .cut-error:empty{display:none}#cortes-panel .cut-client-overview{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}#cortes-panel .cut-client-overview p{color:#69758b}#cortes-panel .cut-detail-grid{display:grid;grid-template-columns:2.3fr 1fr;gap:18px;align-items:start}#cortes-panel .cut-period{display:flex;align-items:end;gap:12px;margin-bottom:18px;flex-wrap:wrap}#cortes-panel .cut-period label{flex:1;min-width:130px}#cortes-panel .cut-total p{color:#727d91}#cortes-panel .cut-yellow-total{margin-top:20px;padding:17px 13px;display:flex;align-items:center;gap:10px;background:#fff6cb;border-radius:7px}#cortes-panel .cut-yellow-total span{flex:1;font-weight:650}#cortes-panel .cut-yellow-total b{font-size:50px;line-height:1;color:#080c18}#cortes-panel .cut-yellow-total svg{width:40px;height:46px}.cut-dialog{width:min(860px,94vw);max-width:94vw;max-height:90dvh;border:1px solid #e4e8ee;border-radius:14px;padding:24px;color:#172039;background:white;margin:auto;font:15px/1.5 Inter,Arial,sans-serif;box-shadow:0 20px 90px #0003}.cut-dialog::backdrop{background:#111a2b77}.cut-dialog .cut-section-heading{display:flex;justify-content:space-between;align-items:center}.cut-dialog [data-close]{border:0;background:transparent;cursor:pointer}.cut-dialog .cut-rem-line{display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:14px;margin:18px 0}.cut-dialog .cut-remove-line{border:0;border-radius:7px;padding:9px;background:#fff0f2;color:#CA071B}.cut-dialog .cut-dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:25px;border-top:1px solid #eee;padding-top:18px}.cut-dialog .cut-dialog-footer>span{margin-right:auto}.cut-dialog.cut-confirm{max-width:480px}.cut-dialog .cut-actions{justify-content:flex-end;margin-top:22px}

#cortes-panel .cut-paper-scroll{overflow:auto;padding:8px 0 30px}#cortes-panel .cut-paper{background:white;color:#121827;width:816px;min-height:1056px;padding:38px 34px;margin:0 auto;box-shadow:0 6px 25px #2734481a;font-family:Arial,sans-serif}#cortes-panel .cut-paper-header{display:flex;justify-content:space-between;align-items:center;gap:25px;padding-bottom:25px;border-bottom:1px solid #bfc6d0}#cortes-panel .cut-print-brand img{width:245px;max-height:95px;object-fit:contain}#cortes-panel .cut-paper-header h2{font-size:21px;line-height:1.2;letter-spacing:-.4px;text-align:right;margin:0}#cortes-panel .cut-paper-header p{font-size:13px;text-align:right;margin-top:8px}#cortes-panel .cut-paper-info{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;padding:16px;background:#f1f3f6;margin:18px 0;border:1px solid #e6e9ee;border-radius:4px;font-size:12px}#cortes-panel .cut-paper-info>div+div{border-left:1px solid #ccd2db;padding-left:16px}#cortes-panel .cut-paper-info p{margin:3px 0;overflow-wrap:anywhere}#cortes-panel .cut-paper-info strong{font-size:15px}#dashboard #cortes-panel .cut-report-table th,#dashboard #cortes-panel .cut-report-table td{border:1px solid #cfd5dd;text-align:center;padding:10px 8px;font-size:12px;overflow-wrap:anywhere}#dashboard #cortes-panel .cut-report-table th{background:#eef0f4}#cortes-panel .cut-report-total{display:flex;justify-content:flex-end;gap:75px;padding:13px 35px;margin-top:16px;background:#fff7ce;border:1px solid #CA071B;border-radius:4px;font-weight:700;font-size:16px}#cortes-panel .cut-report-total strong{font-size:20px}#cortes-panel .cut-report-notes{padding:16px;background:#f1f3f6;border:1px solid #e6e9ee;border-radius:4px;margin-top:16px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}#cortes-panel .cut-signatures{display:flex;justify-content:space-between;gap:130px;margin:65px 35px 15px;text-align:center}#cortes-panel .cut-signatures>div{border-top:1px solid #182036;flex:1;padding-top:10px}#cortes-panel .cut-signatures small{display:block;margin-top:4px}

@media(max-width:1150px){#cortes-panel .cut-top-grid,#cortes-panel .cut-detail-grid{grid-template-columns:1fr}#cortes-panel .cut-heading{flex-wrap:wrap}#cortes-panel .cut-total{max-width:none}}@media(max-width:760px){#cortes-panel .cut-form-grid{grid-template-columns:1fr}#cortes-panel .cut-filter-grid{grid-template-columns:1fr 1fr}#cortes-panel .cut-fields{grid-template-columns:1fr}#cortes-panel .cut-card{padding:15px}#cortes-panel .cut-section-heading,#cortes-panel .cut-client-overview{align-items:flex-start;flex-direction:column}#cortes-panel .cut-heading h1{font-size:26px}.cut-dialog .cut-rem-line{grid-template-columns:1fr 1fr}.cut-dialog .cut-rem-line>label:first-child{grid-column:1/-1}.cut-dialog .cut-dialog-footer{flex-wrap:wrap}.cut-dialog .cut-dialog-footer>span{width:100%}#dashboard #cortes-panel .cut-table{min-width:600px}}

@page{size:letter portrait;margin:12mm}

@media print{body.cut-printing{background:white!important}body.cut-printing #access,body.cut-printing .admin-sidebar,body.cut-printing .admin-top,body.cut-printing .admin-main>h1,body.cut-printing .admin-subtitle,body.cut-printing .admin-main>div,body.cut-printing .admin-main>section:not(#cortes-panel),body.cut-printing dialog{display:none!important}body.cut-printing #dashboard,body.cut-printing #dashboard .admin-main,body.cut-printing #cortes-panel{display:block!important;margin:0!important;padding:0!important;width:100%!important;min-width:0!important}body.cut-printing #cortes-panel .cut-heading,body.cut-printing #cut-message{display:none!important}body.cut-printing #cortes-panel .cut-paper-scroll{overflow:visible;padding:0}body.cut-printing #cortes-panel .cut-paper{width:100%;min-height:0;padding:0;box-shadow:none;margin:0;font-size:10pt}body.cut-printing *{-webkit-print-color-adjust:exact;print-color-adjust:exact}body.cut-printing .cut-report-table thead{display:table-header-group}body.cut-printing .cut-report-table tr,body.cut-printing .cut-report-end{break-inside:avoid}body.cut-printing #cortes-panel .cut-print-brand img{width:53mm}body.cut-printing #cortes-panel .cut-paper-header h2{font-size:16pt}body.cut-printing #cortes-panel .cut-paper-header p{font-size:9pt}}



@media print{body.cut-printing #dashboard,body.cut-printing #dashboard .admin-main,body.cut-printing #cortes-panel{background:#fff!important;min-height:0!important}body.cut-printing #cortes-panel .cut-paper-header{background:white!important}}



/* Cortes: proporciones del interior de las referencias de escritorio. */

#cortes-panel .cut-top-grid>.cut-card{min-height:232px}

#cortes-panel h2 svg{width:29px;height:29px}

#cortes-panel .cut-card-title{gap:15px}

#cortes-panel .cut-card-title+.cut-muted{margin-left:44px;font-size:14px}

#cortes-panel .cut-green svg{width:26px;height:26px}

#cortes-panel .cut-metrics>div>svg{width:24px;height:24px;margin-bottom:3px}

#cortes-panel .cut-fields textarea{min-height:114px;resize:vertical}

#cortes-panel input:focus-visible,#cortes-panel select:focus-visible,#cortes-panel textarea:focus-visible,.cut-dialog input:focus-visible{outline:2px solid #CA071B;outline-offset:2px}

#cortes-panel .cut-toggle{margin-top:25px;margin-bottom:14px}

#cortes-panel .cut-toggle small{font-size:13px;margin-top:2px}

#cortes-panel #cut-quick{border:1px solid #e9ecf2;border-radius:7px;padding:0 18px;margin-top:25px}

#cortes-panel #cut-quick>div{min-height:58px;align-items:center}

#cortes-panel #cut-quick>div:last-child{border:0}

#cortes-panel #cut-quick dt{display:flex;align-items:center;gap:14px;white-space:nowrap;font-size:14px}

#cortes-panel #cut-quick dt svg{color:#152543;width:23px;height:23px}

#cortes-panel #cut-quick dd{font-size:14px}

#cortes-panel .cut-info{padding:22px 20px}

#cortes-panel .cut-info>p{margin:0 0 20px 44px;padding:0;background:none;border:0;font-size:14px;color:#61708a}

#cortes-panel .cut-info-banner{display:flex;align-items:center;gap:18px;background:#eff7ff;border:1px solid #d8e8f9;border-radius:6px;padding:17px 20px;color:#3765a6}

#cortes-panel .cut-info-banner>svg{width:44px;height:44px;padding:8px;border-radius:12px;background:#d8eaff;color:#1971c9}

#cortes-panel .cut-info-banner p{margin:2px 0 0;padding:0;background:none;border:0;font-size:14px;color:#61708a}

#cortes-panel .cut-total{height:100%}

#cortes-panel .cut-total .cut-rem-count{font-size:30px;color:#0f1627;line-height:1}

#cortes-panel .cut-total dl>div{align-items:center;min-height:58px}

#cortes-panel .cut-yellow-total{min-height:92px;padding:18px 15px}

#cortes-panel .cut-row-actions .cut-danger{background:#ffebee;color:#CA071B}

#cortes-panel .cut-section-heading h2{gap:14px}

#cortes-panel .cut-section-heading h2 svg{margin:0}

#cortes-panel .cut-section-heading h2+p{margin-left:43px;font-size:14px}

#cortes-panel .cut-rem-table td:nth-child(4),#cortes-panel .cut-rem-table td:nth-child(5){white-space:nowrap}

#cortes-panel .cut-client-overview{display:block;padding:22px}

#cortes-panel .cut-client-overview .cut-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}

#cortes-panel .cut-client-readonly{display:grid;grid-template-columns:1fr 1fr;gap:24px}

#cortes-panel .cut-readonly-field>span{display:block;font-size:14px;color:#23334e;margin-bottom:7px}

#cortes-panel .cut-readonly-field>div{border:1px solid #dce1ea;background:#fff;border-radius:7px;padding:11px 13px;min-height:46px;overflow-wrap:anywhere}

#cortes-panel .cut-overview-contact{margin-top:14px!important;color:#6e7b91;font-size:13px}

@media(max-width:900px){#cortes-panel .cut-form-grid{grid-template-columns:1fr}#cortes-panel .cut-client-readonly{grid-template-columns:1fr}}

@media(max-width:760px){#cortes-panel{font-size:14px}#cortes-panel h2{font-size:19px}#cortes-panel .cut-heading h1{font-size:28px}#cortes-panel .cut-heading p{font-size:14px}#cortes-panel .cut-client-overview .cut-overview-heading{flex-wrap:wrap}#cortes-panel .cut-card-title+.cut-muted{margin-left:0}#cortes-panel .cut-metrics>div{padding:0 9px}#cortes-panel .cut-metrics span,#cortes-panel .cut-metrics small{font-size:11px}#cortes-panel .cut-top-grid>.cut-card{min-height:0}#cortes-panel .cut-section-heading h2+p{margin-left:0}#cortes-panel #cut-quick{padding:0 12px}}

/* Filtro y resumen superior del cliente. */
#cortes-panel .cut-client-workspace{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(440px,1fr);gap:20px;align-items:start}
#cortes-panel .cut-client-sidebar{min-width:0}
#cortes-panel .cut-range-filter{margin:0 0 18px;padding:0 0 2px}
#cortes-panel .cut-range-filter>label{font-size:14px;font-weight:650;color:#182236;margin-bottom:6px}
#cortes-panel .cut-range-actions{display:flex;align-items:center;gap:12px}
#cortes-panel .cut-date-range{display:flex;align-items:center;gap:5px;flex:1;min-width:0;height:46px;border:1px solid #dce1e9;border-radius:7px;background:#fff;padding:0 10px;box-shadow:0 1px 2px #16203905}
#cortes-panel .cut-date-range>svg{width:20px;height:20px;color:#42536c;margin-right:3px}
#cortes-panel .cut-date-range input{width:0;flex:1;min-width:0;padding:0;margin:0;height:42px;min-height:0;font-size:13px;font-weight:600;letter-spacing:-.35px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#354158;cursor:pointer}
#cortes-panel .cut-date-range input::-webkit-calendar-picker-indicator{display:none}
#cortes-panel .cut-date-range input::-webkit-datetime-edit{padding:0}
#cortes-panel .cut-date-range input:focus-visible{outline:2px solid #CA071B;outline-offset:1px;border-radius:2px}
#cortes-panel .cut-range-arrow{color:#c2c8d1;display:flex}
#cortes-panel .cut-range-arrow svg{width:17px;height:17px}
#cortes-panel .cut-range-actions>.cut-button{height:46px;min-height:46px;padding:10px 20px;font-size:15px;gap:9px;flex-shrink:0}
#cortes-panel .cut-range-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:27px;margin-top:3px;font-size:11px;color:#7c8696}
#cortes-panel .cut-all-dates{background:transparent;border:0;padding:3px 0;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:3px;color:#58667d}
#cortes-panel .cut-client-summary{min-height:480px;padding:22px}
#cortes-panel .cut-client-summary .cut-card-title{font-size:21px;letter-spacing:-.6px;gap:15px;margin-bottom:10px;line-height:1.2}
#cortes-panel .cut-summary-icon{display:grid;place-items:center;width:60px;height:60px;flex:0 0 60px;border-radius:50%;background:#e5faeb;color:#16ab60}
#cortes-panel .cut-summary-icon svg{width:31px;height:34px;margin:0}
#cortes-panel .cut-summary-rows{margin:4px 0 0}
#cortes-panel .cut-summary-rows>div{display:grid;grid-template-columns:48% minmax(0,1fr);gap:10px;align-items:center;min-height:54px;padding:12px 0;border-bottom:1px solid #edf0f4}
#cortes-panel .cut-summary-rows>div:last-child{border-bottom:0;align-items:start;padding-top:17px}
#cortes-panel .cut-summary-rows dt{font-size:14px;line-height:1.35;color:#788297}
#cortes-panel .cut-summary-rows dd{text-align:left;margin:0;color:#0b1427;font-size:17px;overflow-wrap:anywhere}
#cortes-panel .cut-summary-rows .cut-summary-name{font-size:18px;font-weight:750}
#cortes-panel .cut-summary-rows .cut-rem-count{font-size:30px;line-height:1.1;font-weight:750}
#cortes-panel .cut-summary-rows .cut-summary-bottle-row{padding:0;min-height:100px}
#cortes-panel .cut-bottle-value{display:flex;align-items:center;justify-content:flex-start;gap:15px;padding:13px 15px;min-height:87px;background:#fff3be;border-radius:6px;color:#080e1b}
#cortes-panel .cut-bottle-value svg{width:39px;height:53px;stroke-width:1.8}
#cortes-panel .cut-bottle-value b{font-size:52px;letter-spacing:-1.5px;line-height:1.1;font-weight:800;overflow-wrap:anywhere}
#cortes-panel .cut-summary-rows .cut-last-update{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5;font-weight:500;color:#45536c}
#cortes-panel .cut-last-update svg{width:20px;height:20px;margin-top:-1px}
#cortes-panel .cut-remissions-panel{min-width:0;padding:22px 18px}
#cortes-panel .cut-remissions-panel .cut-section-heading{margin-bottom:21px}
#cortes-panel .cut-remissions-panel .cut-section-heading h2{font-size:20px}
#dashboard #cortes-panel .cut-remissions-panel .cut-rem-table th{font-size:12px;white-space:normal;padding:14px 8px;line-height:1.35}
#dashboard #cortes-panel .cut-remissions-panel .cut-rem-table td{font-size:13px;padding:16px 8px;overflow-wrap:anywhere}
#cortes-panel .cut-remissions-panel .cut-row-actions{gap:6px}
#cortes-panel .cut-remissions-panel .cut-row-actions button{width:34px;height:36px;padding:7px}
#cortes-panel .cut-remissions-footer{display:flex;justify-content:flex-start;padding-top:20px}
@media(min-width:1500px){#cortes-panel .cut-client-workspace{grid-template-columns:minmax(0,1.55fr) minmax(480px,1fr)}#cortes-panel .cut-date-range input{font-size:15px}#cortes-panel .cut-summary-rows dt{font-size:15px}#cortes-panel .cut-last-update span{font-size:13px}}
@media(max-width:1199px){#cortes-panel .cut-client-workspace{grid-template-columns:1fr}#cortes-panel .cut-client-sidebar{grid-row:1}#cortes-panel .cut-client-summary{min-height:0}#cortes-panel .cut-range-filter{max-width:600px}#cortes-panel .cut-summary-rows>div{grid-template-columns:minmax(160px,.7fr) 1fr}#cortes-panel .cut-bottle-value{max-width:260px}#cortes-panel .cut-date-range input{font-size:15px}}
@media(max-width:600px){#cortes-panel .cut-client-summary{padding:18px 15px}#cortes-panel .cut-client-summary .cut-card-title{font-size:20px;gap:12px}#cortes-panel .cut-summary-icon{width:52px;height:52px;flex-basis:52px}#cortes-panel .cut-range-actions{flex-wrap:wrap;gap:8px}#cortes-panel .cut-date-range{flex-basis:100%}#cortes-panel .cut-range-actions>.cut-button{width:100%}#cortes-panel .cut-summary-rows>div{grid-template-columns:45% minmax(0,1fr);gap:8px}#cortes-panel .cut-summary-rows dt{font-size:12px}#cortes-panel .cut-summary-rows .cut-summary-name{font-size:15px}#cortes-panel .cut-summary-rows .cut-last-update{font-size:11px;gap:5px}#cortes-panel .cut-bottle-value{gap:8px;padding:12px 8px}#cortes-panel .cut-bottle-value b{font-size:44px}#cortes-panel .cut-bottle-value svg{width:29px;height:43px}}

/* Ficha compacta: los datos del cliente se editan solo desde el listado. */
#cortes-panel.cut-compact-client{font-size:13px}
#cortes-panel.cut-compact-client .cut-heading{margin-bottom:15px;gap:16px;align-items:flex-start}
#cortes-panel.cut-compact-client .cut-heading h1{font-size:30px;letter-spacing:-.9px;line-height:1.15}
#cortes-panel.cut-compact-client .cut-heading p{font-size:13px;margin-top:6px}
#cortes-panel.cut-compact-client .cut-button{min-height:36px;padding:8px 14px;gap:7px;font-size:12px;border-radius:6px}
#cortes-panel.cut-compact-client .cut-button svg{width:17px;height:17px}
#cortes-panel.cut-compact-client .cut-client-tools,#cortes-panel.cut-compact-client .cut-client-workspace{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(304px,1fr);gap:12px}
#cortes-panel.cut-compact-client .cut-client-tools{align-items:end;margin-bottom:12px;background:#ffffff80;border:1px solid #eef0f5;border-radius:7px;padding:9px 10px}
#cortes-panel.cut-compact-client .cut-rem-search{height:37px;padding:0 11px;background:white}
#cortes-panel.cut-compact-client .cut-rem-search>svg{width:17px;height:17px}
#cortes-panel.cut-compact-client .cut-rem-search input{height:35px;min-height:0;padding:0;font-size:12px}
#cortes-panel.cut-compact-client .cut-range-filter{margin:0;padding:0;max-width:none;min-width:0}
#cortes-panel.cut-compact-client .cut-range-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px;line-height:1}
#cortes-panel.cut-compact-client .cut-range-label-row label{font-size:11px;font-weight:600;color:#172238}
#cortes-panel.cut-compact-client .cut-all-dates{font-size:10px;padding:0}
#cortes-panel.cut-compact-client .cut-range-actions{gap:8px;flex-wrap:nowrap}
#cortes-panel.cut-compact-client .cut-date-range{height:35px;padding:0 7px;gap:3px;flex-basis:0;border-radius:5px}
#cortes-panel.cut-compact-client .cut-date-range>svg{width:15px;height:15px;margin-right:1px}
#cortes-panel.cut-compact-client .cut-date-range input{font-size:11px;font-weight:500;letter-spacing:-.5px;height:33px;min-height:0}
#cortes-panel.cut-compact-client .cut-range-arrow svg{width:12px;height:12px}
#cortes-panel.cut-compact-client .cut-range-actions>.cut-button{height:35px;min-height:35px;padding:7px 11px;font-size:12px;width:auto;gap:5px}
#cortes-panel.cut-compact-client .cut-client-workspace{align-items:stretch;row-gap:12px}
#cortes-panel.cut-compact-client .cut-locked-client{grid-column:1;grid-row:1;padding:13px 15px}
#cortes-panel.cut-compact-client .cut-locked-client h2{display:flex;align-items:center;gap:10px;font-size:17px;letter-spacing:-.4px;margin:0 0 9px}
#cortes-panel.cut-compact-client .cut-locked-client h2 svg{width:22px;height:22px;margin:0}
#cortes-panel.cut-compact-client .cut-locked-fields{display:grid;grid-template-columns:.85fr 1.15fr;gap:10px 13px}
#cortes-panel.cut-compact-client .cut-locked-fields label{font-size:11px;font-weight:400;color:#46536a}
#cortes-panel.cut-compact-client .cut-locked-fields em{color:#CA071B;font-weight:700}
#cortes-panel.cut-compact-client .cut-locked-fields input[readonly]{height:32px;min-height:0;margin:3px 0 0;padding:6px 10px;font-size:12px;border:1px solid #e0e4ec;border-radius:5px;background:#fcfdff;color:#162238;cursor:default;box-shadow:inset 0 1px 2px #14213a03}
#cortes-panel.cut-compact-client .cut-locked-fields input[readonly]:focus-visible{outline:2px solid #dfe4ed;outline-offset:0}
#cortes-panel.cut-compact-client .cut-remissions-panel{grid-column:1;grid-row:2;padding:10px 12px 12px}
#cortes-panel.cut-compact-client .cut-remissions-panel .cut-section-heading{margin-bottom:8px;gap:10px;align-items:center;flex-direction:row}
#cortes-panel.cut-compact-client .cut-remissions-panel .cut-section-heading h2{font-size:17px;letter-spacing:-.4px;margin:0;gap:10px;line-height:1.25}
#cortes-panel.cut-compact-client .cut-remissions-panel .cut-section-heading h2 svg{width:22px;height:22px}
#cortes-panel.cut-compact-client .cut-remissions-panel .cut-section-heading .cut-button{height:32px;min-height:32px;padding:7px 13px;font-size:12px}
#cortes-panel.cut-compact-client .cut-table-scroll{border:0;border-radius:4px}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table{font-size:12px;min-width:0;width:100%}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table th{font-size:11px;padding:8px 9px;line-height:1.25;white-space:normal;border:0}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table td{font-size:12px;padding:7px 9px;line-height:1.35;white-space:normal;height:40px;border-color:#f0f2f6}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table th:first-child,#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:first-child{width:30px}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table th:nth-child(3),#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:nth-child(3){white-space:nowrap}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:nth-child(5){white-space:nowrap}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:nth-child(6){width:105px}
#cortes-panel.cut-compact-client .cut-remissions-panel .cut-row-actions{gap:5px}
#cortes-panel.cut-compact-client .cut-remissions-panel .cut-row-actions button{width:28px;height:27px;padding:5px;border-radius:5px}
#cortes-panel.cut-compact-client .cut-remissions-panel .cut-row-actions svg{width:17px;height:17px}
#cortes-panel .cut-registered{display:inline-flex;align-items:center;gap:5px;background:#e4faed;color:#24a963;padding:4px 8px;border-radius:12px;font-size:10px;font-weight:600;white-space:nowrap}
#cortes-panel .cut-registered svg{width:12px;height:12px;flex-shrink:0}
#cortes-panel.cut-compact-client .cut-client-summary{grid-column:2;grid-row:1 / span 2;min-height:0;height:100%;padding:12px 15px;border-radius:8px}
#cortes-panel.cut-compact-client .cut-client-summary .cut-card-title{font-size:17px;letter-spacing:-.4px;gap:10px;line-height:1.2;margin-bottom:8px}
#cortes-panel.cut-compact-client .cut-summary-icon{width:44px;height:44px;flex-basis:44px}
#cortes-panel.cut-compact-client .cut-summary-icon svg{width:23px;height:25px}
#cortes-panel.cut-compact-client .cut-summary-rows{margin:0}
#cortes-panel.cut-compact-client .cut-summary-rows>div{grid-template-columns:48% minmax(0,1fr);gap:7px;padding:9px 0;min-height:38px}
#cortes-panel.cut-compact-client .cut-summary-rows dt{font-size:11px;line-height:1.35;color:#64738c}
#cortes-panel.cut-compact-client .cut-summary-rows .cut-summary-name{font-size:13px;font-weight:750}
#cortes-panel.cut-compact-client .cut-summary-rows .cut-rem-count{font-size:23px}
#cortes-panel.cut-compact-client .cut-summary-rows .cut-summary-bottle-row{padding:0;min-height:76px}
#cortes-panel.cut-compact-client .cut-bottle-value{min-height:66px;padding:9px 10px;gap:10px;border-radius:5px;max-width:none}
#cortes-panel.cut-compact-client .cut-bottle-value b{font-size:42px;letter-spacing:-1px}
#cortes-panel.cut-compact-client .cut-bottle-value svg{width:28px;height:43px}
#cortes-panel.cut-compact-client .cut-summary-rows>div:last-child{padding-top:12px;align-items:center}
#cortes-panel.cut-compact-client .cut-summary-rows .cut-last-update{font-size:10px;gap:5px;line-height:1.4;align-items:center}
#cortes-panel.cut-compact-client .cut-last-update svg{width:15px;height:15px}
#cortes-panel.cut-compact-client .cut-last-update span{font-size:10px}
.cut-view-remission{max-width:500px}.cut-view-remission dl{margin:20px 0}.cut-view-remission dl>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf0f5;padding:13px 0}.cut-view-remission dt{color:#718098}.cut-view-remission dd{margin:0;font-weight:650;overflow-wrap:anywhere;text-align:right}
@media(max-width:980px){#cortes-panel.cut-compact-client .cut-client-tools,#cortes-panel.cut-compact-client .cut-client-workspace{grid-template-columns:minmax(0,1fr)}#cortes-panel.cut-compact-client .cut-client-summary{grid-column:1;grid-row:2}#cortes-panel.cut-compact-client .cut-remissions-panel{grid-row:3}#cortes-panel.cut-compact-client .cut-range-actions>.cut-button{min-width:90px}#cortes-panel.cut-compact-client .cut-date-range input{font-size:13px;letter-spacing:0}#cortes-panel.cut-compact-client .cut-summary-rows .cut-last-update,#cortes-panel.cut-compact-client .cut-last-update span{font-size:12px}}
@media(max-width:600px){#cortes-panel.cut-compact-client .cut-locked-fields{grid-template-columns:1fr}#cortes-panel.cut-compact-client .cut-heading h1{font-size:26px}#cortes-panel.cut-compact-client .cut-remissions-panel .cut-section-heading{flex-wrap:wrap}#dashboard #cortes-panel.cut-compact-client .cut-rem-table{min-width:610px}#cortes-panel.cut-compact-client .cut-range-actions{flex-wrap:nowrap}#cortes-panel.cut-compact-client .cut-date-range{flex-basis:0}#cortes-panel.cut-compact-client .cut-date-range input{font-size:11px}#cortes-panel.cut-compact-client .cut-range-actions>.cut-button{width:auto;min-width:78px}}

#cortes-panel.cut-compact-client .cut-locked-fields input[readonly]{background:#e9edf2;border-color:#d6dce5;color:#778294;-webkit-text-fill-color:#778294;box-shadow:inset 0 1px 2px #18253d05}
#cortes-panel.cut-compact-client .cut-locked-fields input[readonly]:focus-visible{outline:1px solid #cbd2dd}
#cortes-panel.cut-compact-client .cut-locked-fields .cut-notes-label>span{display:flex;align-items:center;justify-content:space-between;gap:6px}
#cortes-panel.cut-compact-client .cut-notes-label input{height:32px;min-height:0;margin:3px 0 0;padding:6px 10px;font-size:12px;border:1px solid #dce1e9;border-radius:5px;background:#fff;color:#162238;cursor:text}
#cortes-panel.cut-compact-client #cut-note-status{font-size:9px;font-weight:400;color:#7c8697;line-height:1.2}
#cortes-panel.cut-compact-client #cut-note-status.is-error{color:#CA071B}

/* Misma tipografía de los títulos principales del panel. */
#dashboard #cortes-panel .cut-heading h1{font-family:Inter,Arial,sans-serif;font-size:36px;font-weight:800;line-height:1.2;letter-spacing:-1px;color:#111}
@media(max-width:760px){#dashboard #cortes-panel .cut-heading h1{font-size:26px}}



/* Adjuntos privados del cliente: sólo se incorporan al PDF descargado. */
#cortes-panel.cut-compact-client .cut-client-workspace{grid-template-rows:min-content 1fr}
#cortes-panel.cut-compact-client .cut-locked-client,#cortes-panel.cut-compact-client .cut-remissions-panel{align-self:start}
#cortes-panel .cut-attachments{margin-top:16px;padding-top:14px;border-top:1px solid #edf0f5}
#cortes-panel .cut-price-input{position:relative;display:block}
#cortes-panel .cut-price-input>b{position:absolute;z-index:1;left:12px;top:50%;transform:translateY(-50%);font-size:15px;color:#57657a}
#cortes-panel .cut-price-input input{padding-left:29px}
#cortes-panel .cut-price-value{font-weight:750!important;color:#19243a!important;white-space:nowrap}
#cortes-panel .cut-summary-rows .cut-summary-total-row{background:#fff7d5;margin-top:7px;padding:10px 9px;border:1px solid #CA071B;border-radius:6px;min-height:48px}
#cortes-panel .cut-summary-total-row dd{font-size:18px;font-weight:800;white-space:nowrap}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:nth-child(5),#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:nth-child(6),#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:nth-child(7){white-space:nowrap}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:nth-child(6){width:auto}
#dashboard #cortes-panel.cut-compact-client .cut-rem-table td:nth-child(8){width:105px}
@media(max-width:600px){#dashboard #cortes-panel.cut-compact-client .cut-rem-table{min-width:830px}}
#cortes-panel .cut-attachments h3{display:flex;align-items:center;gap:7px;margin:0 0 7px;font-size:13px;font-weight:750;letter-spacing:-.2px}

#cortes-panel .cut-attachments h3 svg{width:17px;height:17px}

#cortes-panel .cut-attachments h3 small{margin-left:auto;color:#8590a1;font-size:10px;font-weight:400}

#cortes-panel .cut-attachments>p{margin:0 0 10px;color:#7a879c;font-size:10px;line-height:1.5}

#cortes-panel .cut-upload-zone{display:flex;align-items:center;justify-content:center;gap:8px;border:1px dashed #d4dae4;border-radius:7px;background:#fafbfd;padding:13px 9px;cursor:pointer;color:#25324a}

#cortes-panel .cut-upload-zone:hover{background:#fffbeb;border-color:#CA071B}

#cortes-panel .cut-upload-zone>svg{width:20px;height:20px;flex-shrink:0}

#cortes-panel .cut-upload-zone span{font-size:11px;font-weight:650}

#cortes-panel .cut-upload-zone small{display:block;font-size:9px;font-weight:400;color:#8590a1;margin-top:4px}

#cortes-panel .cut-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;padding:0;border:0}

#cortes-panel .cut-attachments:focus-within .cut-upload-zone{outline:2px solid #CA071B;outline-offset:2px}

#cortes-panel #cut-upload-status:not(:empty){margin:7px 0;color:#56657b}

#cortes-panel .cut-attachment-list{list-style:none;margin:8px 0 0;padding:0;max-height:180px;overflow-y:auto}

#cortes-panel .cut-attachment-list li{display:flex;align-items:center;gap:7px;padding:8px 0;border-top:1px solid #f0f2f6;min-width:0}

#cortes-panel .cut-attachment-list li>svg{width:16px;height:18px;flex-shrink:0;color:#74839b}

#cortes-panel .cut-attachment-list li>span{min-width:0;flex:1}

#cortes-panel .cut-attachment-list b{display:block;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

#cortes-panel .cut-attachment-list small{display:block;font-size:9px;color:#8c96a5;margin-top:2px}

#cortes-panel .cut-attachment-list button{display:flex;align-items:center;justify-content:center;width:25px;height:25px;flex-shrink:0;border:0;border-radius:5px;background:#fff0f2;color:#CA071B;padding:5px;cursor:pointer}

#cortes-panel .cut-attachment-list button svg{width:14px;height:14px}

#cortes-panel .cut-preview-note{display:flex;align-items:center;gap:8px;font-size:12px;color:#69778c;margin:0 0 12px}

#cortes-panel .cut-preview-note svg{width:18px;height:18px;flex-shrink:0}

#cortes-panel .cut-pdf-preview{position:relative;min-height:700px;background:#e6e8ec;border:1px solid #dce1e9;border-radius:8px;overflow:hidden}

#cortes-panel .cut-pdf-preview iframe{display:block;width:100%;height:calc(100vh - 225px);min-height:700px;border:0;background:#e6e8ec}

#cortes-panel .cut-pdf-loading{position:absolute;top:30px;left:0;width:100%;text-align:center;font-size:14px;color:#69778c}

@media(max-width:600px){#cortes-panel .cut-preview-note{font-size:11px;align-items:flex-start}#cortes-panel .cut-pdf-preview,#cortes-panel .cut-pdf-preview iframe{min-height:560px}}

@media print{.cut-attachments{display:none!important}}


#cortes-panel .cut-button.cut-primary,.cut-dialog .cut-button.cut-primary{background:#CA071B;color:#fff!important;filter:none}

/* Brand foreground: keep labels and icons white on brand red. */
.cut-button.cut-primary{color:#fff!important;-webkit-text-fill-color:currentColor;filter:none!important;}
#cortes-panel .cut-button.cut-primary,.cut-dialog .cut-button.cut-primary{color:#fff!important;-webkit-text-fill-color:currentColor;filter:none!important;}
