/* Kanokphan Expense D15: List Focus + Charts | route finance-expense/dashboard only */
.exp-module.exp-d-shell{max-width:none;width:100%;padding:0 0 25px;margin:0;color:#1d3556;background:#f5f9fa;font-size:13px}
.exp-d-shell .exp-d-layout{display:grid;grid-template-columns:198px minmax(0,1fr);min-height:calc(100vh - 90px)}
.exp-d-shell .exp-d-side{display:flex;flex-direction:column;gap:5px;padding:21px 12px;background:linear-gradient(100deg,#fff,#f6fafa);border-right:1px solid #e4edf0;align-self:stretch;min-width:0}
.exp-d-shell .exp-d-side h2{margin:0 7px 13px;font-size:14px;color:#1d4156;font-weight:800}
.exp-d-shell .exp-d-side a{display:flex;gap:10px;align-items:center;padding:10px 8px;border-radius:8px;text-decoration:none;color:#34536a;font-weight:600;min-height:37px;line-height:1.2;white-space:normal;transition:background .12s}
.exp-d-shell .exp-d-side a:hover{background:#edf8f4;color:#087653}
.exp-d-shell .exp-d-side a>span{color:#5b8186;width:18px;text-align:center;flex:0 0 18px;font-weight:800}
.exp-d-shell .exp-d-side .exp-d-navgroup{background:#eaf5f0;color:#086a4b;font-weight:800}
.exp-d-shell .exp-d-side .exp-d-navactive{background:#e8f8ef;color:#08794f;font-weight:800}
.exp-d-shell .exp-d-side .exp-d-child{padding-left:18px;font-size:12px}
.exp-d-shell .exp-d-main{min-width:0;padding:17px 18px 38px;background:#f5f9fa}
.exp-d-shell .exp-top{padding:0!important;margin:0 3px 12px!important;border:0!important;display:flex;align-items:center;justify-content:space-between;gap:12px}
.exp-d-shell .exp-top h1{color:#0c315e!important;font-size:23px!important;font-weight:800!important;margin:2px 0 0!important;line-height:1.15}
.exp-d-shell .exp-top p{margin:5px 0 0!important;color:#75869c;font-size:12px}
.exp-d-shell .exp-top .exp-crumb{color:#256dc5}
.exp-d-shell .exp-top-actions{display:flex;gap:8px;flex-wrap:wrap}
.exp-d-shell .exp-top-actions button{min-height:35px;padding:8px 13px;font-size:12px;border-radius:7px}
.exp-d-shell .exp-top-actions .exp-primary{background:#0965ec;border-color:#0965ec}
.exp-d-shell .exp-d-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.exp-d-shell .exp-d-card{border:1px solid #e1e9ef;background:#fff;border-radius:12px;box-shadow:0 3px 12px rgba(30,58,88,.035);text-align:left;position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-template-rows:35px 20px 31px;align-items:center;gap:0 12px;padding:12px 15px;min-height:103px;color:#163858}
.exp-d-shell .exp-d-card:hover,.exp-d-shell .exp-d-card-selected{border-color:#7ec9aa;box-shadow:0 4px 14px rgba(8,139,99,.1)}
.exp-d-shell .exp-d-card-icon{grid-column:1;grid-row:1/span 2;width:45px;height:45px;border-radius:9px;display:grid;place-items:center;background:#e8f2ff;color:#1675ec}
.exp-d-shell .exp-d-card-icon svg{width:23px;height:23px}
.exp-d-shell .exp-d-card.status-PENDING .exp-d-card-icon{color:#e89b03;background:#fff5dc}
.exp-d-shell .exp-d-card.status-PAID .exp-d-card-icon{color:#0a9f6b;background:#e5f8ef}
.exp-d-shell .exp-d-card.status-OVERDUE .exp-d-card-icon{color:#e52d45;background:#ffebee}
.exp-d-shell .exp-d-card-label{grid-column:2;grid-row:1;align-self:end;font-size:12px;font-weight:800}
.exp-d-shell .exp-d-card strong{grid-column:3;grid-row:1;font-size:27px;line-height:1.1;text-align:right;color:#103461;font-variant-numeric:tabular-nums}
.exp-d-shell .exp-d-card.status-PAID strong{color:#09996b}
.exp-d-shell .exp-d-card.status-OVERDUE strong{color:#e62942}
.exp-d-shell .exp-d-card small{grid-column:3;grid-row:2;color:#7589a3;text-align:right}
.exp-d-shell .exp-d-card-bottom{grid-column:1/-1;grid-row:3;color:#7b8c9d;font-size:10px;text-align:right;align-self:end;border-top:1px solid #f0f3f5;padding-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.exp-d-shell .exp-d-card-bottom b{color:#163858;font-size:12px}
.exp-d-shell .exp-d-charts{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1.14fr) minmax(0,.96fr);gap:12px;margin-bottom:12px}
.exp-d-shell .exp-d-panel{background:#fff;border:1px solid #e1eaf0;box-shadow:0 2px 12px rgba(31,73,119,.035);border-radius:11px;overflow:hidden;min-width:0}
.exp-d-shell .exp-d-panel>header{min-height:47px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.exp-d-shell .exp-d-panel h2{font-size:13px;line-height:1.3;font-weight:800;margin:0;color:#173f68;display:flex;align-items:center;gap:8px}
.exp-d-shell .exp-d-panel>header select,.exp-d-shell .exp-d-panel>header button{font-size:11px;padding:7px 9px;min-height:31px;border-radius:7px;background:#fff;border:1px solid #d6e2ef;color:#235283;max-width:100%}
.exp-d-shell .exp-d-year-label{padding:6px 8px;color:#466a97;border:1px solid #dce7f0;border-radius:6px;font-size:11px}
.exp-d-shell .exp-d-trend,.exp-d-shell .exp-d-cat,.exp-d-shell .exp-d-donutpanel{min-height:222px}
.exp-d-shell .exp-d-line-svg{display:block;width:100%;height:194px;padding:2px 8px 0}
.exp-d-shell .exp-d-note{font-size:10px;color:#8290a2;display:block;padding:0 12px 11px;line-height:1.3}
.exp-d-shell .exp-d-bars{display:flex;align-items:end;justify-content:space-evenly;gap:12px;height:194px;padding:8px 19px 2px;background:linear-gradient(to top,transparent 24.8%,#f2f5f9 25%,transparent 25.4%,transparent 49.8%,#f2f5f9 50%,transparent 50.4%,transparent 74.8%,#f2f5f9 75%,transparent 75.4%)}
.exp-d-shell .exp-d-bar{height:100%;display:flex;flex-direction:column;align-items:center;min-width:0;flex:1;gap:4px}
.exp-d-shell .exp-d-bar strong{font-size:10px;color:#2f4968}
.exp-d-shell .exp-d-bar-space{flex:1;display:flex;align-items:flex-end;width:min(100%,50px)}
.exp-d-shell .exp-d-bar-space span{width:100%;border-radius:4px 4px 0 0;background:var(--dcolor);min-height:0;box-shadow:0 1px 4px #a2b3bf26}
.exp-d-shell .exp-d-bar small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:10px;color:#62748f}
.exp-d-shell .exp-d-chart-empty{min-height:194px;display:grid;place-items:center;color:#8999a9;font-size:12px;text-align:center;padding:15px}
.exp-d-shell .exp-d-donutwrap{height:194px;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 12px}
.exp-d-shell .exp-d-donut{height:139px;width:139px;min-width:118px;border-radius:50%;display:grid;place-items:center}
.exp-d-shell .exp-d-donut>div{width:70%;height:70%;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;color:#53708b}
.exp-d-shell .exp-d-donut strong{font-size:25px;color:#203c5e;line-height:1.15}
.exp-d-shell .exp-d-donut small{font-size:10px}
.exp-d-shell .exp-d-legend{display:flex;flex-direction:column;gap:9px;min-width:0;flex:1}
.exp-d-shell .exp-d-legend>div{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;justify-content:space-between}
.exp-d-shell .exp-d-legend i{width:8px;height:8px;flex:0 0 8px;border-radius:50%}
.exp-d-shell .exp-d-legend span{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#51718d}
.exp-d-shell .exp-d-legend b{font-weight:800;margin-left:auto;color:#263d5b}
.exp-d-shell .exp-d-legend small{font-size:10px;color:#8798ae}
.exp-d-shell .exp-d-bottom{display:grid;grid-template-columns:minmax(0,3.1fr) minmax(252px,1fr);gap:12px}
.exp-d-shell .exp-d-right{display:flex;flex-direction:column;gap:12px;min-width:0}
.exp-d-shell .exp-d-filters{padding:0 13px 12px;display:grid;grid-template-columns:minmax(170px,1fr) 125px 130px 130px 105px;gap:8px}
.exp-d-shell .exp-d-filters input,.exp-d-shell .exp-d-filters select{min-width:0;width:100%;font-size:12px;border:1px solid #d5e0e9;border-radius:6px;min-height:35px;padding:7px 9px;background:#fff;color:#243b57}
.exp-d-shell .exp-d-filters input:focus,.exp-d-shell .exp-d-filters select:focus{outline:2px solid #a4d0f8}
.exp-d-shell .exp-d-filters button{min-height:35px}
.exp-d-shell .exp-d-list>header{margin-bottom:4px}
.exp-d-shell .exp-d-list .exp-d-extra{display:flex;gap:8px;align-items:center;padding:0 13px 10px;flex-wrap:wrap}
.exp-d-shell .exp-d-extra button{background:#f7fbff;border:1px solid #dce7ef;border-radius:6px;padding:6px 9px;color:#245982;font-size:11px}
.exp-d-shell .exp-d-scroll{overflow:auto;width:100%;padding:0 12px;min-height:130px}
.exp-d-shell .exp-d-table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap;min-width:780px}
.exp-d-shell .exp-d-table th{padding:10px 7px;text-align:left;background:#eef4f9;color:#3a5e87;border:0;font-weight:800}
.exp-d-shell .exp-d-table td{border-bottom:1px solid #e8eef4;padding:9px 7px;color:#38516f}
.exp-d-shell .exp-d-table tr:hover td{background:#f7fbff}
.exp-d-shell .exp-d-table td:first-child,.exp-d-shell .exp-d-table th:first-child{width:24px;text-align:center}
.exp-d-shell .exp-d-table input[type=checkbox]{width:14px;height:14px;accent-color:#1470e4}
.exp-d-shell .exp-d-table .exp-link{padding:0!important;background:transparent!important;color:#1468dc!important;text-decoration:none!important;border:0!important;font-weight:800}
.exp-d-shell .exp-d-number{text-align:right;font-variant-numeric:tabular-nums}
.exp-d-shell .exp-d-number.bold{font-weight:800}
.exp-d-shell .exp-d-table td.exp-d-actions{position:relative;text-align:center}
.exp-d-shell .exp-d-actions details summary{list-style:none;cursor:pointer;font-size:19px;font-weight:bold;line-height:18px;display:inline-block;width:25px;height:22px;color:#19456c}
.exp-d-shell .exp-d-actions summary::-webkit-details-marker{display:none}
.exp-d-shell .exp-d-actions details[open] div{display:flex;flex-direction:column;position:absolute;right:14px;top:calc(100% - 5px);background:#fff;border:1px solid #d9e5ec;border-radius:8px;box-shadow:0 5px 15px #223c5626;padding:5px;min-width:123px;z-index:10}
.exp-d-shell .exp-d-actions details[open] button{background:white;border:0;white-space:nowrap;padding:8px;text-align:left;color:#154c7c}
.exp-d-shell .exp-d-actions details[open] button:hover{background:#e7f4ff}
.exp-d-shell .exp-status.OVERDUE{background:#ffe1e7;color:#ca2c46}
.exp-d-shell .exp-status{font-size:10px;padding:3px 8px;font-weight:800}
.exp-d-shell .exp-d-empty{padding:29px 10px!important;text-align:center!important;color:#8b98a7!important}
.exp-d-shell .exp-d-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 14px;color:#7386a0;font-size:11px}
.exp-d-shell .exp-d-pagination>div{display:flex;gap:9px;align-items:center}
.exp-d-shell .exp-d-pagination select,.exp-d-shell .exp-d-pagination button{border:1px solid #dce6ef;border-radius:6px;background:#fff;color:#27578c;min-height:28px;padding:4px 7px}
.exp-d-shell .exp-d-pagination button:disabled{opacity:.35;cursor:default}
.exp-d-shell .exp-d-pagination b{padding:0 5px;color:#1851a1}
.exp-d-shell .exp-d-day dl{margin:0 12px 8px;border-top:1px solid #e8f0f4}
.exp-d-shell .exp-d-day dl>div{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:6px 2px;font-size:11px}
.exp-d-shell .exp-d-day dt{color:#78879c}
.exp-d-shell .exp-d-day dd{margin:0;color:#244367;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.exp-d-shell .exp-d-recent>header{border-bottom:1px solid #eaf0f5}
.exp-d-shell .exp-d-recent>header>button{border:0;color:#1767dc}
.exp-d-shell .exp-d-recent-row{display:flex;align-items:flex-start;gap:10px;padding:8px 12px;border-bottom:1px solid #eff2f5}
.exp-d-shell .exp-d-recent-row:last-child{border-bottom:0}
.exp-d-shell .exp-d-recent-row>i{width:8px;height:8px;border-radius:50%;background:#c2c9d1;flex:0 0 8px;margin-top:7px}
.exp-d-shell .exp-d-recent-row>i.PAID{background:#05a56d}
.exp-d-shell .exp-d-recent-row>i.PENDING{background:#ffb81b}
.exp-d-shell .exp-d-recent-row>i.CANCELLED{background:#ed344e}
.exp-d-shell .exp-d-recent-row>div:nth-child(2){min-width:0;flex:1}
.exp-d-shell .exp-d-recent-row>div:nth-child(2) button{background:transparent;border:0;color:#126ade;font-size:11px;font-weight:800;padding:0;line-height:1.35;text-align:left}
.exp-d-shell .exp-d-recent-row small{display:block;color:#8091a6;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.exp-d-shell .exp-d-recent-row>div:last-child{text-align:right;min-width:73px}
.exp-d-shell .exp-d-recent-row strong{font-size:11px;white-space:nowrap;color:#1d385c;display:block}
.exp-d-shell .exp-d-recent-row .exp-status{margin-top:4px}
@media(max-width:1460px){.exp-d-shell .exp-d-layout{grid-template-columns:175px minmax(0,1fr)}.exp-d-shell .exp-d-main{padding:13px 12px 25px}.exp-d-shell .exp-d-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.exp-d-shell .exp-d-donutpanel{grid-column:1/-1;min-height:auto}.exp-d-shell .exp-d-donutwrap{height:150px}.exp-d-shell .exp-d-bottom{grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr)}}
@media(max-width:1150px){.exp-d-shell .exp-d-charts{grid-template-columns:1fr}.exp-d-shell .exp-d-donutpanel{grid-column:auto}.exp-d-shell .exp-d-bottom{grid-template-columns:1fr}.exp-d-shell .exp-d-right{display:grid;grid-template-columns:1fr 1fr}.exp-d-shell .exp-d-filters{grid-template-columns:1fr 1fr}.exp-d-shell .exp-d-filters input:first-child{grid-column:1/-1}.exp-d-shell .exp-d-donutwrap{height:190px}}
@media(max-width:850px){.exp-d-shell .exp-d-layout{display:block}.exp-d-shell .exp-d-side{display:none}.exp-d-shell .exp-d-main{padding:11px 8px 22px}.exp-d-shell .exp-d-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.exp-d-shell .exp-d-card{padding:9px;grid-template-columns:35px 1fr auto;gap:0 6px}.exp-d-shell .exp-d-card-icon{width:32px;height:32px}.exp-d-shell .exp-d-card-icon svg{width:18px;height:18px}.exp-d-shell .exp-d-card strong{font-size:21px}.exp-d-shell .exp-d-card-label{font-size:11px}.exp-d-shell .exp-d-card-bottom b{font-size:11px}.exp-d-shell .exp-d-right{grid-template-columns:1fr}.exp-d-shell .exp-d-pagination{flex-wrap:wrap}.exp-d-shell .exp-top{align-items:flex-start}.exp-d-shell .exp-top h1{font-size:18px!important}}
@media(max-width:500px){.exp-d-shell .exp-top{flex-direction:column}.exp-d-shell .exp-d-filters{grid-template-columns:1fr 1fr}.exp-d-shell .exp-d-filters input:first-child{grid-column:1/-1}.exp-d-shell .exp-d-filters button{grid-column:1/-1}.exp-d-shell .exp-d-card-bottom{font-size:9px}.exp-d-shell .exp-d-card-bottom b{font-size:10px}.exp-d-shell .exp-d-line-svg{height:165px}.exp-d-shell .exp-d-legend>div{font-size:10px}}
/* Overflow and compact table corrections for the production workspace. */
.exp-d-shell .exp-d-bottom>div:first-child,.exp-d-shell .exp-d-list{min-width:0;max-width:100%}
.exp-d-shell .exp-d-scroll{max-width:100%;overflow-x:auto;overflow-y:visible}
.exp-d-shell .exp-d-table{line-height:1.22}
.exp-d-shell .exp-d-table tbody td{padding:5px 7px!important;line-height:1.25!important;height:30px!important}
.exp-d-shell .exp-d-table th{padding:8px 7px!important;line-height:1.25!important}
.exp-d-shell .exp-d-table .exp-status{padding:2px 7px!important}
@media(max-width:1150px){.exp-d-shell .exp-d-bottom{grid-template-columns:minmax(0,1fr)}}
.exp-d-shell .exp-d-table input[type="checkbox"],.exp-d-shell .exp-d-scroll input[type="checkbox"]{width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;max-height:14px!important;margin:0!important;vertical-align:middle;padding:0!important;display:inline-block!important}
.exp-d-shell .exp-d-table tbody td{height:29px!important;padding:4px 7px!important}
.exp-d-shell .exp-d-table .exp-d-actions details summary{height:21px;line-height:20px}
.exp-d-shell .exp-d-line-svg{height:172px}
.exp-d-shell .exp-d-bars{height:172px}
.exp-d-shell .exp-d-donutwrap{height:172px}
.exp-d-shell .exp-d-trend,.exp-d-shell .exp-d-cat,.exp-d-shell .exp-d-donutpanel{min-height:0}
@media(max-width:500px){.exp-d-shell .exp-d-line-svg{height:160px}.exp-d-shell .exp-d-bars{height:163px}.exp-d-shell .exp-d-donutwrap{height:165px}}
