/* b0ad OrdersPage: separate table and cards, not nth-child mobile table. */
.poe-list{min-width:0}.poe-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px;margin-top:20px}.poe-filters .control{min-width:0;width:100%;height:40px}.poe-filters .search-field{min-width:0}.poe-filter-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.poe-filter-actions label{display:flex;gap:8px;align-items:center;min-height:40px;font-size:14px}.poe-native-filters{margin:8px 0;font-size:12px}.poe-native-filters>label{display:flex;align-items:center;gap:8px}.poe-native-filters .lv-extra-filter{padding:8px 0}.poe-count{font-size:12px;color:var(--lv-muted-foreground);margin:8px 0}.poe-desktop{display:none}.poe-mobile{display:grid;gap:12px;margin-top:12px}.poe-order-card{border:1px solid var(--lv-border);border-radius:8px;background:var(--lv-card);padding:16px;display:grid;gap:12px;min-width:0}.poe-order-card .lv-order-link{min-height:44px;padding:12px 0;white-space:normal;text-align:left}.poe-order-card small,.poe-orders small{display:block;font-size:12px;color:var(--lv-muted-foreground)}.poe-pills{display:flex;flex-wrap:wrap;gap:8px}.poe-card-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px}.poe-money{text-align:right;font-variant-numeric:tabular-nums}.poe-warning{color:var(--lv-warning,#8b6609)!important}.poe-card-actions{display:flex;flex-direction:column;gap:8px}.poe-card-actions .button{min-height:44px;white-space:normal;max-width:100%}.poe-orders{width:100%;border-collapse:collapse;font-size:14px}.poe-orders th{text-align:left;background:var(--lv-muted);padding:10px 12px;color:var(--lv-muted-foreground);font-size:12px;font-weight:500}.poe-orders td{padding:12px;border-top:1px solid var(--lv-border);vertical-align:top}.poe-orders td:first-child{padding-left:16px}.poe-orders .lv-order-link{white-space:normal;text-align:left}.poe-orders .poe-dates{font-size:12px}.poe-actions{text-align:right}.poe-actions .button{margin:0 0 8px 8px;white-space:normal}.poe-dates{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(min-width:640px){.poe-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.poe-filters .search-field{grid-column:1/-1}.poe-card-actions{flex-direction:row;flex-wrap:wrap}}
@media(min-width:1024px){.poe-filters{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr)) auto;align-items:center}.poe-filters .search-field{grid-column:auto}.poe-desktop{display:block;overflow-x:auto;margin-top:12px}.poe-mobile{display:none}}
/* Keep the original dialog, focus trap, native save and mobile draft recovery. */
.poe-editor .drawer-body{max-width:816px;width:100%;box-sizing:border-box;margin:0 auto}.poe-editor .drawer-footer{border-top:0;border-bottom:1px solid var(--lv-border);background:var(--lv-card);flex:0 0 auto}.poe-basics{display:grid;gap:20px;min-width:0}.poe-basics>section{border-bottom:1px solid var(--lv-border);padding-bottom:24px}.poe-basics h3{font-size:16px;font-weight:600;margin:0 0 16px}.poe-basics .field-grid{gap:16px}.poe-basics .control{min-width:0;width:100%;box-sizing:border-box}.poe-basics .poe-plan-dates{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.poe-actual-dates{margin-top:16px}.poe-actual-dates h4{font-size:14px}.poe-basics .composition-row{min-width:0}.poe-basics p{font-size:14px;overflow-wrap:anywhere}.poe-basics .field>span{font-size:14px}.poe-editor .drawer-footer .button{min-height:44px;white-space:normal}
@media(min-width:640px){.poe-basics .poe-plan-dates{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:639px){.poe-editor .drawer-footer{flex-wrap:wrap;gap:8px}.poe-editor .drawer-footer .actions{display:flex;flex-wrap:wrap}.poe-basics .field-grid{grid-template-columns:minmax(0,1fr)}.poe-basics .button{max-width:100%;white-space:normal}}
/* The same editor lives as a page, never a simulated modal overlay. */
#editor.poe-page-editor[open]{position:static;inset:auto;display:block;float:none;width:100%;max-width:1280px;height:auto;max-height:none;margin:0 auto;padding:28px 32px;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible;color:inherit;box-sizing:border-box}
#editor.poe-page-editor #editor-content{display:block;width:100%;max-width:768px;height:auto;max-height:none;margin:0;overflow:visible}
#editor.poe-page-editor .drawer-header{display:flex;flex-wrap:wrap;padding:0 0 20px;background:transparent;border:0;gap:12px}
#editor.poe-page-editor .drawer-header h2{font-size:30px;line-height:36px;font-weight:600}
#editor.poe-page-editor .poe-back{flex-basis:100%;text-align:left;min-height:44px;font-size:14px}
#editor.poe-page-editor .drawer-tabs{padding:0;margin-bottom:16px}
#editor.poe-page-editor .drawer-body{padding:20px 0;max-height:none;height:auto;overflow:visible}
#editor.poe-page-editor .drawer-footer{position:sticky;top:64px;z-index:10;padding:12px;border:1px solid var(--lv-border);border-radius:8px;box-shadow:none}
@media(max-width:639px){#editor.poe-page-editor[open]{padding:20px 16px}#editor.poe-page-editor .drawer-header h2{font-size:24px;line-height:32px}#editor.poe-page-editor .drawer-footer{top:56px}}
