.bookdash-page{display:flex;flex-direction:column;gap:16px;padding:18px 20px 30px;color:#172033;background:#f6f8fb;min-height:100%;font-family:Arial,"Noto Sans Thai",Tahoma,sans-serif}
.bookdash-hero{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;overflow:hidden;padding:22px 24px;border:1px solid #d7e7df;border-radius:18px;background:linear-gradient(120deg,#f4fbf6 0%,#eef7f3 54%,#eef6fb 100%);box-shadow:0 10px 28px rgba(15,23,42,.07);color:#173b31}
.bookdash-hero:after{content:"";position:absolute;right:-85px;top:-125px;width:300px;height:300px;border:1px solid rgba(15,118,110,.12);border-radius:50%;background:radial-gradient(circle,rgba(15,118,110,.055),transparent 66%)}
.bookdash-eyebrow{font-size:.74rem;font-weight:900;letter-spacing:.13em;color:#0f766e;margin-bottom:7px}
.bookdash-title{margin:0!important;color:#153a30!important;font-size:clamp(1.45rem,2vw,2rem)!important;font-weight:950!important;letter-spacing:-.02em;line-height:1.2}
.bookdash-subtitle{margin:8px 0 0;max-width:940px;color:#3f5f56;font-size:.88rem;line-height:1.6;font-weight:650}
.bookdash-hero-actions{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.bookdash-updated{font-size:.76rem;font-weight:800;color:#3e6259;white-space:nowrap}
.bookdash-btn{min-height:40px;padding:9px 14px;border:1px solid transparent;border-radius:10px;font-size:.8rem;font-weight:850;cursor:pointer;transition:.15s ease;white-space:nowrap}
.bookdash-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(15,23,42,.08)}
.bookdash-btn-ghost{color:#0f5c4f;background:#e6f5ee;border-color:#abd7c4}
.bookdash-btn-light{color:#17483c;background:#fff;border-color:#c7ddd3}
.bookdash-btn-primary{color:#fff;background:#0f7a5a;border-color:#0f7a5a}
.bookdash-btn-secondary{color:#334155;background:#fff;border-color:#cfd9e4}
.bookdash-filter-card,.bookdash-card{border:1px solid #dce4ed;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.045)}
.bookdash-exec-filter{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr)) auto;gap:13px;align-items:end;padding:16px 17px}
.bookdash-field label{display:block;margin:0 0 7px;color:#334155;font-size:.78rem;font-weight:850}
.bookdash-select,.bookdash-input{width:100%;box-sizing:border-box;min-height:42px;padding:9px 12px;border:1px solid #cfd9e4;border-radius:10px;background:#fff;color:#172033;font-size:.84rem;font-weight:600;outline:none}
.bookdash-select:focus,.bookdash-input:focus{border-color:#38a687;box-shadow:0 0 0 3px rgba(15,122,90,.10)}
.bookdash-actions{display:flex;align-items:center;gap:8px}
.bookdash-period-note{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:11px 15px;border:1px solid #bfe2d2;border-radius:12px;background:#eef9f3;color:#214f42;font-size:.8rem;font-weight:650}
.bookdash-warning{color:#8a5a0c;font-weight:850}
.bookdash-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.bookdash-kpi{position:relative;overflow:hidden;min-height:116px;padding:16px 16px 14px;border:1px solid #dce4ed;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.04)}
.bookdash-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--kpi-accent,#2563eb)}
.bookdash-kpi-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bookdash-kpi-label{color:#45576a;font-size:.77rem;font-weight:850;line-height:1.35}
.bookdash-kpi-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--kpi-bg,#eff6ff);font-size:.94rem}
.bookdash-kpi-value{margin-top:12px;color:#102238;font-size:clamp(1.28rem,1.7vw,1.62rem);font-weight:950;line-height:1;white-space:nowrap}
.bookdash-kpi-note{margin-top:8px;color:#66778a;font-size:.71rem;line-height:1.4;font-weight:550}
.bookdash-card{padding:17px}
.bookdash-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.bookdash-card-title{margin:0;color:#17334a;font-size:1.03rem;font-weight:900;line-height:1.35}
.bookdash-card-subtitle{margin:5px 0 0;color:#627489;font-size:.77rem;line-height:1.5;font-weight:550}
.bookdash-result-pill,.bookdash-mini-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;font-size:.71rem;font-weight:900;white-space:nowrap}
.bookdash-result-pill{color:#087153;background:#ecfdf5;border:1px solid #a7e9cb}
.bookdash-mini-pill{color:#31598f;background:#eef5ff;border:1px solid #d8e6f7}
.bookdash-table-scroll{overflow:auto;border:1px solid #dfe6ee;border-radius:11px;background:#fff}
.bookdash-company-scroll{max-height:520px}
.bookdash-table{width:100%;border-collapse:collapse;color:#243447;font-size:.81rem}
.bookdash-table thead{position:sticky;top:0;z-index:2;background:#eef3f7}
.bookdash-table th{padding:11px 10px;color:#34495e;font-size:.72rem;font-weight:900;text-align:left;border-bottom:1px solid #cfd9e3;white-space:nowrap;letter-spacing:.005em}
.bookdash-table td{padding:11px 10px;border-bottom:1px solid #e7edf3;vertical-align:middle;font-weight:550}
.bookdash-table tbody tr:hover{background:#f7fbfa}
.bookdash-company-table{min-width:1320px}
.bookdash-company-table tbody tr{cursor:pointer}
.bookdash-company-table tbody tr td:first-child{border-left:4px solid transparent}
.bookdash-company-table tbody tr.bookdash-company-up td:first-child{border-left-color:#16a34a}
.bookdash-company-table tbody tr.bookdash-company-down td:first-child{border-left-color:#dc2626}
.bookdash-company-table tbody tr.bookdash-company-flat td:first-child{border-left-color:#94a3b8}
.bookdash-company-table tbody tr.bookdash-company-up{background:linear-gradient(90deg,rgba(22,163,74,.035),transparent 22%)}
.bookdash-company-table tbody tr.bookdash-company-down{background:linear-gradient(90deg,rgba(220,38,38,.03),transparent 22%)}
.bookdash-table .num,.bookdash-table td.num{text-align:right;white-space:nowrap}
.bookdash-delta{display:inline-flex;align-items:center;justify-content:flex-end;min-width:62px;font-size:.77rem;font-weight:900}
.bookdash-delta.is-up{color:#07834f}.bookdash-delta.is-down{color:#d11f2f}.bookdash-delta.is-flat{color:#64748b}
.bookdash-company-compare-card{border-color:#cfe3db}
.bookdash-company-chart-wrap{height:340px}
.bookdash-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bookdash-chart-wrap{position:relative;height:290px;min-width:0}
.bookdash-chart-empty{height:100%;display:grid;place-items:center;color:#64748b;font-size:.82rem}
.bookdash-change-head{align-items:center}
.bookdash-change-tools{display:flex;align-items:center;gap:8px;min-width:min(540px,52%)}
.bookdash-change-tools .bookdash-input{min-width:270px}
.bookdash-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.bookdash-tab{display:flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #d4dee8;border-radius:10px;background:#fff;color:#3f5062;font-size:.78rem;font-weight:850;cursor:pointer}
.bookdash-tab span{display:inline-grid;place-items:center;min-width:24px;height:22px;padding:0 5px;border-radius:999px;background:#edf2f7;color:#334155;font-size:.68rem}
.bookdash-tab.is-active{border-color:#1d9c72;background:#ecfdf5;color:#087153}
.bookdash-tab.is-active span{background:#c7f4df;color:#087153}
.bookdash-change-scroll{max-height:540px}
.bookdash-change-table{min-width:1250px}
.bookdash-change-badge{display:inline-flex;padding:4px 7px;border-radius:999px;background:#fff7ed;color:#b54708;font-size:.67rem;font-weight:900}
.bookdash-change-text{min-width:260px;max-width:420px;color:#506176;font-size:.73rem;line-height:1.45}
.bookdash-table-muted{margin-top:3px;color:#77889a;font-size:.68rem}
.bookdash-empty{padding:30px!important;text-align:center;color:#6b7b8e}
.bookdash-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:12px}
.bookdash-pagination-info{color:#53657a;font-size:.76rem;font-weight:600}
.bookdash-pagination-controls{display:flex;gap:5px}
.bookdash-page-btn{min-width:31px;height:30px;border:1px solid #d2dde7;border-radius:8px;background:#fff;color:#3f5062;font-size:.72rem;font-weight:850;cursor:pointer}
.bookdash-page-btn.is-active{background:#0f7a5a;border-color:#0f7a5a;color:#fff}.bookdash-page-btn:disabled{opacity:.45;cursor:default}
.bookdash-footnote{padding:12px 14px;border-radius:12px;background:#eef3f7;color:#526477;font-size:.73rem;line-height:1.6}
.bookdash-footnote code{padding:2px 5px;border-radius:5px;background:#dfe7ee;color:#293d50;font-size:.7rem}
@media(max-width:1450px){.bookdash-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.bookdash-exec-filter{grid-template-columns:repeat(3,minmax(150px,1fr));}.bookdash-exec-filter .bookdash-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:1050px){.bookdash-hero{align-items:flex-start;flex-direction:column}.bookdash-hero-actions{justify-content:flex-start}.bookdash-exec-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.bookdash-chart-grid{grid-template-columns:1fr}.bookdash-change-head{align-items:flex-start;flex-direction:column}.bookdash-change-tools{min-width:100%;width:100%}.bookdash-company-chart-wrap{height:310px}}
@media(max-width:680px){.bookdash-page{padding:12px}.bookdash-kpis,.bookdash-exec-filter{grid-template-columns:1fr}.bookdash-exec-filter .bookdash-actions{grid-column:auto;justify-content:flex-start}.bookdash-change-tools{align-items:stretch;flex-direction:column}.bookdash-change-tools .bookdash-input{min-width:0}.bookdash-card-head{align-items:flex-start;flex-direction:column}.bookdash-company-chart-wrap{height:290px}}
