/* DE2A detail screens only. No selectors escape the Data Export detail root. */
.data-export-detail{padding:18px;background:linear-gradient(145deg,rgba(250,253,255,.96),rgba(240,247,255,.82))}.data-export-detail-head{display:flex;align-items:flex-start;gap:17px;padding:3px 3px 17px}.data-export-detail-head>button{flex:0 0 auto;border:1px solid rgba(126,173,234,.48);border-radius:9px;background:rgba(255,255,255,.78);box-shadow:0 5px 11px rgba(48,91,159,.07);color:#236fd5;padding:8px 10px;font:800 10px "DM Sans";cursor:pointer}.data-export-detail-head>button:focus{outline:0}.data-export-detail-head>button:focus-visible{outline:3px solid rgba(73,141,243,.35);outline-offset:3px}.data-export-detail-head>div{position:relative;padding-left:47px}.data-export-detail-head i{position:absolute;left:0;top:0;display:grid;place-items:center;width:36px;height:36px;color:#1878e5}.data-export-detail-head i svg{width:32px;height:32px;stroke-width:2.2;filter:drop-shadow(0 4px 6px rgba(35,113,225,.18))}.data-export-detail[data-export-detail="sales"] .data-export-detail-head i{color:#0a9b6d}.data-export-detail-head span{display:block;color:#3281e6;font-size:8px;font-weight:800;letter-spacing:.7px}.data-export-detail-head h2{margin:3px 0;color:#142d60;font:800 21px Manrope}.data-export-detail-head p{margin:0;color:#58709a;font-size:10px;line-height:1.45}.data-export-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr);gap:14px}.data-export-detail-card{min-width:0;margin:0;padding:14px;border:1px solid rgba(177,205,239,.72);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(239,247,255,.63));box-shadow:0 8px 16px rgba(49,83,138,.06),inset 0 1px rgba(255,255,255,.94)}.data-export-detail-card+ .data-export-detail-card{margin-top:12px}.data-export-detail-card legend{padding:0 5px;color:#2e68be;font:800 9px "DM Sans";letter-spacing:.55px}.data-export-option,.data-export-format{display:grid;align-items:center;gap:10px;padding:10px;border:1px solid transparent;border-radius:10px;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}.data-export-option{grid-template-columns:20px 32px minmax(0,1fr)}.data-export-format{grid-template-columns:20px minmax(0,1fr)}.data-export-option:hover,.data-export-format:hover{transform:translateY(-1px);border-color:rgba(117,171,237,.46);background:rgba(236,247,255,.72);box-shadow:0 7px 13px rgba(52,100,172,.06)}.data-export-option:has(input:checked),.data-export-format:has(input:checked){border-color:rgba(83,153,237,.7);background:linear-gradient(105deg,rgba(234,246,255,.9),rgba(246,250,255,.7));box-shadow:0 7px 14px rgba(52,100,172,.08),inset 0 1px #fff}.data-export-option input[type="checkbox"],.data-export-format input[type="radio"],.data-export-date-range input[type="radio"]{appearance:none;-webkit-appearance:none;inline-size:19px;block-size:19px;flex:0 0 19px;margin:0;border:1.5px solid #a9bfdc;background:#fff;box-shadow:inset 0 1px 2px rgba(38,82,140,.08);cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.data-export-option input[type="checkbox"]{border-radius:5px}.data-export-format input[type="radio"],.data-export-date-range input[type="radio"]{border-radius:50%}.data-export-option input[type="checkbox"]:checked{border-color:#3989ef;background:linear-gradient(145deg,#338cf0,#1b6fd5);box-shadow:0 3px 8px rgba(39,120,229,.23)}.data-export-option input[type="checkbox"]:checked:after{content:"✓";display:block;color:#fff;font:800 14px/17px Arial;text-align:center}.data-export-format input[type="radio"]:checked,.data-export-date-range input[type="radio"]:checked{border-color:#3388ed;background:#3388ed;box-shadow:inset 0 0 0 4px #fff,0 3px 8px rgba(39,120,229,.2)}.data-export-option input:focus,.data-export-format input:focus,.data-export-date-range input:focus{outline:0}.data-export-option input:focus-visible,.data-export-format input:focus-visible,.data-export-date-range input:focus-visible{outline:3px solid rgba(69,139,240,.35);outline-offset:3px}.data-export-option>i{display:block;width:30px;height:30px;color:#287eea;filter:drop-shadow(0 3px 5px rgba(40,126,234,.16));transition:filter .2s ease}.data-export-option>i svg{width:30px;height:30px;stroke-width:2.25}.data-export-option:hover>i{filter:drop-shadow(0 5px 7px rgba(40,126,234,.28))}.data-export-option span,.data-export-format span{display:grid;gap:2px}.data-export-option b,.data-export-format b{color:#213b67;font-size:10px}.data-export-option small,.data-export-format small,.data-export-date-note small{color:#667e9f;font-size:8.5px;line-height:1.4}.data-export-detail[data-export-detail="products"] .data-export-option:has(input[data-export-dataset="product_master"])>i{color:#8749d7}.data-export-detail[data-export-detail="products"] .data-export-option:has(input[data-export-dataset="current_stock"])>i{color:#0ba878}.data-export-detail[data-export-detail="products"] .data-export-option:has(input[data-export-dataset="batch_expiry"])>i{color:#e18a26}.data-export-detail[data-export-detail="products"] .data-export-option:has(input[data-export-dataset="stock_movements"])>i{color:#159cc3}.data-export-detail[data-export-detail="products"] .data-export-option:has(input[data-export-dataset="product_master"]:checked){border-color:rgba(142,79,220,.55);background:linear-gradient(105deg,#faf6ff,#fff)}.data-export-detail[data-export-detail="products"] .data-export-option:has(input[data-export-dataset="current_stock"]:checked){border-color:rgba(31,183,133,.55);background:linear-gradient(105deg,#f2fdf8,#fff)}.data-export-detail[data-export-detail="products"] .data-export-option:has(input[data-export-dataset="batch_expiry"]:checked){border-color:rgba(234,157,56,.58);background:linear-gradient(105deg,#fff9f0,#fff)}.data-export-detail[data-export-detail="products"] .data-export-option:has(input[data-export-dataset="stock_movements"]:checked){border-color:rgba(33,170,211,.58);background:linear-gradient(105deg,#f1fcff,#fff)}
.data-export-detail[data-export-detail="products"] .data-export-date-range{position:relative;overflow:hidden;border-color:rgba(84,184,226,.58);background:linear-gradient(145deg,rgba(240,252,255,.94),rgba(233,244,255,.65));box-shadow:0 10px 19px rgba(38,149,199,.09),inset 0 1px #fff;animation:data-export-range-in .22s ease both}.data-export-detail[data-export-detail="products"] .data-export-date-range legend:before{content:"▦";margin-right:6px;color:#169ec7;font-size:12px}.data-export-date-range{display:grid;gap:8px}.data-export-date-range>label{display:flex;align-items:center;gap:7px;padding:7px 8px;border:1px solid rgba(181,207,239,.65);border-radius:8px;background:rgba(255,255,255,.62);color:#315277;font-size:9px;font-weight:700;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.data-export-date-range>label:has(input:checked){border-color:rgba(52,151,227,.7);background:linear-gradient(105deg,#e9faff,#f2f7ff);box-shadow:0 4px 10px rgba(45,145,214,.1);color:#1e6eae}.data-export-date-range>label:hover{border-color:rgba(74,161,229,.6)}.data-export-date-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:3px}.data-export-date-inputs label{display:grid;gap:4px;color:#5c7291;font-size:8px;font-weight:800}.data-export-date-inputs input{min-width:0;height:33px;border:1px solid #c5d9ef;border-radius:8px;background:rgba(255,255,255,.9);color:#2b4569;padding:0 7px;font:9px "DM Sans";transition:border-color .18s ease,box-shadow .18s ease}.data-export-date-inputs input:focus{outline:0;border-color:#4c9aec;box-shadow:0 0 0 3px rgba(70,147,238,.15)}.data-export-date-error{min-height:12px;color:#ce3d65;font-size:8px;line-height:1.35}.data-export-date-note{display:grid;gap:5px}.data-export-date-note b{color:#315c97;font-size:10px}
.data-export-format span{grid-template-columns:30px minmax(0,1fr);column-gap:7px}.data-export-format span:before{grid-row:span 2;display:grid;place-items:center;width:27px;height:30px;border:1px solid rgba(117,174,237,.42);border-radius:7px;background:linear-gradient(145deg,#fff,#e5f2ff);box-shadow:0 3px 7px rgba(48,104,180,.1);color:#287eea;font:800 7px "DM Sans";content:"CSV"}.data-export-format:has(input[data-export-format="xlsx"]) span:before{content:"XLS";border-color:rgba(44,176,126,.45);background:linear-gradient(145deg,#fff,#e2f9ee);color:#10936a}.data-export-format:has(input[data-export-format="pdf"]) span:before{content:"PDF";border-color:rgba(237,100,123,.42);background:linear-gradient(145deg,#fff,#ffe8ed);color:#d94867}.data-export-format:has(input[data-export-format="xlsx"]:checked){border-color:rgba(42,177,125,.6);background:linear-gradient(105deg,#effcf6,#fff)}.data-export-format:has(input[data-export-format="csv"]:checked){border-color:rgba(57,150,235,.62);background:linear-gradient(105deg,#eff8ff,#fff)}.data-export-format:has(input[data-export-format="pdf"]:checked){border-color:rgba(235,94,120,.6);background:linear-gradient(105deg,#fff4f6,#fff)}.data-export-detail-footer{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-top:14px;padding:12px 14px;border:1px solid rgba(148,196,236,.58);border-radius:12px;background:rgba(246,251,255,.82)}.data-export-detail-footer div{display:grid;gap:3px}.data-export-detail-footer b{color:#26466f;font-size:10px}.data-export-detail-footer small{color:#7184a0;font-size:8.5px}.data-export-detail-footer button{height:34px;border:1px solid rgba(151,184,222,.64);border-radius:8px;background:linear-gradient(145deg,#d9e7f8,#b9d0eb);box-shadow:inset 0 1px rgba(255,255,255,.64);color:#6e88a5;padding:0 12px;font:800 9px "DM Sans";cursor:not-allowed}.data-export-card[data-export-open]{cursor:pointer;text-align:left;font:inherit}@keyframes data-export-range-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:820px){.data-export-detail-grid{grid-template-columns:1fr}.data-export-detail-grid aside{display:grid;gap:12px}.data-export-detail-grid aside .data-export-detail-card{margin:0}}@media(max-width:560px){.data-export-detail{padding:14px}.data-export-detail-head{align-items:flex-start;flex-direction:column;gap:10px}.data-export-detail-head>div{padding-left:42px}.data-export-detail-footer{align-items:flex-start;flex-direction:column}.data-export-detail-footer button{width:100%}.data-export-date-inputs{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.data-export-option,.data-export-format,.data-export-date-range>label,.data-export-option>i{transition:none}.data-export-detail[data-export-detail="products"] .data-export-date-range{animation:none}}
.data-export-pdf-options{display:grid;gap:10px}.data-export-pdf-choice{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.data-export-pdf-choice>b{flex:0 0 100%;color:#315c97;font-size:9px}.data-export-pdf-choice label{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid rgba(181,207,239,.65);border-radius:8px;background:rgba(255,255,255,.62);color:#315277;font-size:9px;font-weight:700;cursor:pointer}.data-export-pdf-choice label:has(input:checked){border-color:rgba(52,151,227,.7);background:linear-gradient(105deg,#e9faff,#f2f7ff);box-shadow:0 4px 10px rgba(45,145,214,.1);color:#1e6eae}.data-export-pdf-choice input[type="radio"]{appearance:none;-webkit-appearance:none;inline-size:16px;block-size:16px;margin:0;border:1.5px solid #a9bfdc;border-radius:50%;background:#fff;box-shadow:inset 0 1px 2px rgba(38,82,140,.08);cursor:pointer}.data-export-pdf-choice input[type="radio"]:checked{border-color:#3388ed;background:#3388ed;box-shadow:inset 0 0 0 3px #fff,0 3px 8px rgba(39,120,229,.2)}.data-export-pdf-choice input:focus{outline:0}.data-export-pdf-choice input:focus-visible{outline:3px solid rgba(69,139,240,.35);outline-offset:3px}
