:root{color-scheme:light;--experience-green:#075b22;--experience-gold:#d6aa30}
:root[data-theme="dark"]{color-scheme:dark;--bg:#101b16;--surface:#18271f;--panel:#18271f;--text:#e7f0e9;--muted:#adc0b1;--line:#344b3c;--border:#344b3c}
html[data-theme="dark"] body,html[data-theme="dark"] .main,html[data-theme="dark"] .content{background:#101b16;color:#e7f0e9}
html[data-theme="dark"] :is(.panel,.topbar,.auth-card,.modal-card,.modal-dialog,.stat,.metric,.card,.dashboard-actions,.portal-top,.table-wrap tbody tr,.totals,.item-search-row){background:#18271f;color:#e7f0e9;border-color:#344b3c}
html[data-theme="dark"] :is(input,select,textarea,th,.btn.ghost,.btn.outline,.btn.secondary){background:#122219;color:#e7f0e9;border-color:#405c49}
html[data-theme="dark"] :is(h1,h2,h3,h4,strong,label,td,.value){color:inherit}
html[data-theme="dark"] :is(.muted,.hint,small,.subline){color:#adc0b1}
.modal-card,.modal-dialog,.auth-card{border-top:4px solid var(--experience-green);border-radius:16px}
.modal-card :is(h2,h3),.modal-dialog :is(h2,h3){color:var(--experience-green)}
.modal-card .primary,.modal-dialog .primary{background:var(--experience-green);color:white}
.line-profit,#grossProfit{filter:blur(7px);user-select:none}
.profit-visible .line-profit,.profit-visible #grossProfit{filter:none;user-select:auto}
[data-profit-toggle]{cursor:pointer;min-width:32px;min-height:32px}
.date-display{display:block;font-size:12px;color:var(--muted,#64766a);margin-top:4px}
.insert-item{margin-right:6px}
@media print{[data-theme-toggle],[data-profit-toggle],.date-display{display:none!important}html[data-theme="dark"] body{background:white!important;color:black!important}.line-profit,#grossProfit{filter:none}}

.date-control{position:relative;display:block;width:100%}.date-control .date-text{padding-right:48px;width:100%}.date-control .date-picker{position:absolute;right:3px;top:3px;width:38px;min-width:0;height:calc(100% - 6px);padding:8px 4px;border:0;background:transparent;color:transparent}.date-picker::-webkit-datetime-edit{display:none}.date-picker::-webkit-calendar-picker-indicator{cursor:pointer;opacity:1;margin:0}
