.oe-root{--oe-bg:#0c1b2e;--oe-panel:#13283d;--oe-text:#e8f0ff;--oe-line:#304b66;--oe-muted:#b6c8df;background:var(--oe-bg);color:var(--oe-text);border:1px solid var(--oe-line);border-radius:22px;width:min(1100px,94vw);max-width:94vw;max-height:90dvh;padding:24px;box-sizing:border-box;overflow:auto;font:14px/1.5 system-ui,sans-serif}
.oe-root::backdrop{background:#00102099;backdrop-filter:blur(4px)}
html:is([data-theme="light"],[data-theme="pink"],[data-theme="lilac"]) .oe-root{--oe-bg:#f7faff;--oe-panel:#fff;--oe-text:#142338;--oe-line:#c9daeb;--oe-muted:#53677f}
.oe-root *{box-sizing:border-box}.oe-root h2,.oe-root h3,.oe-root h4,.oe-root p{margin:0 0 10px;color:var(--oe-text)}
.oe-root header,.oe-root .oe-actions,.oe-root .oe-expense-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.oe-root header{align-items:flex-start}.oe-root header h2{font-size:26px}.oe-root small,.oe-root .oe-help{color:var(--oe-muted);font-size:12px}.oe-root .oe-help{margin:12px 0}
.oe-root button,.oe-root input,.oe-root select,.oe-root textarea{font:inherit;color:var(--oe-text)!important;background:var(--oe-panel)!important;border:1px solid var(--oe-line)!important;border-radius:10px;padding:10px;box-shadow:none!important;min-width:0;max-width:100%}.oe-root button{cursor:pointer;min-height:40px}.oe-root button:disabled{opacity:.55;cursor:wait}.oe-root button:focus-visible,.oe-root input:focus-visible{outline:2px solid #1683ff;outline-offset:2px}.oe-root .oe-primary{background:#086bdc!important;color:white!important}
.oe-root label{display:flex;flex-direction:column;gap:5px}.oe-root input,.oe-root select,.oe-root textarea{width:100%}.oe-root .oe-filters{display:grid;grid-template-columns:1fr 180px auto;gap:12px;align-items:end;margin:14px 0}.oe-root .oe-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px}.oe-root [data-stores]{max-height:60vh;overflow:auto}.oe-root .oe-store{display:flex;gap:8px;border:1px solid var(--oe-line);border-radius:12px;padding:8px;margin-bottom:8px;background:var(--oe-panel)}.oe-root .oe-store>button:first-child{flex:1;text-align:left;border:0!important}.oe-root .oe-store small{display:block;margin-top:4px}.oe-root .oe-store.selected{border-color:#1683ff}.oe-root [data-detail]{min-width:0}.oe-root .oe-expenses article,.oe-root .oe-form{background:var(--oe-panel);padding:16px;border:1px solid var(--oe-line);border-radius:12px;margin:12px 0}.oe-root .oe-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.oe-root .oe-form label{margin:8px 0}.oe-root .oe-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:12px}.oe-root .oe-receipt{max-width:210px;font-size:12px}.oe-root .oe-expense-title{align-items:flex-start;overflow-wrap:anywhere}.oe-root details{margin-top:12px}.oe-root details p{margin:10px 0;overflow-wrap:anywhere}.oe-root summary{cursor:pointer}.oe-root [data-notice]{position:sticky;top:0;background:var(--oe-bg);color:#24864e;padding:6px 0;z-index:1}.oe-root [data-notice].error{color:#d34646}.oe-root .oe-empty{padding:30px 10px;color:var(--oe-muted)}
@media(max-width:700px){.oe-root{padding:16px}.oe-root .oe-layout{grid-template-columns:1fr}.oe-root [data-stores]{max-height:230px}.oe-root .oe-filters{grid-template-columns:1fr 1fr}.oe-root .oe-filters>button{grid-column:1/-1}.oe-root .oe-pair{grid-template-columns:1fr}}
/* Isolate the dialog from legacy global form and theme rules. */
html body dialog.oe-root :is(button,input,select,textarea){background:var(--oe-panel)!important;color:var(--oe-text)!important;-webkit-text-fill-color:var(--oe-text)!important;border-color:var(--oe-line)!important;box-shadow:none!important;color-scheme:dark}
html:is([data-theme=light],[data-theme=pink],[data-theme=lilac]) body dialog.oe-root :is(button,input,select,textarea){color-scheme:light}
html body dialog.oe-root button.oe-primary{background:#086bdc!important;color:white!important;-webkit-text-fill-color:white!important}
html body dialog.oe-root input::placeholder{color:var(--oe-muted)!important;opacity:1}
