.ea-workspace { display: grid; gap: 16px; }
.ea-hero { align-items: center; background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 55%, #f5f1ff 100%); border: 1px solid #cadbf1; border-radius: 20px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) auto; padding: 22px; }
.ea-hero-copy { align-items: center; display: flex; gap: 14px; }
.ea-hero-icon { align-items: center; background: #fff; border: 1px solid #d8e5f5; border-radius: 16px; box-shadow: 0 8px 24px rgba(13, 87, 200, .09); color: #1769d5; display: flex; font-size: 25px; font-weight: 900; height: 58px; justify-content: center; width: 58px; }
.ea-hero-copy p, .ea-dialog header p { color: #1769d5; font-size: 10px; font-weight: 800; letter-spacing: .12em; margin: 0 0 4px; }
.ea-hero-copy h2, .ea-dialog header h3 { color: #10243f; font-size: 21px; margin: 0; }
.ea-hero-copy div > span { color: #71829a; display: block; font-size: 12px; margin-top: 5px; }
.ea-create { min-width: 136px; }
.ea-metrics { background: rgba(255,255,255,.82); border: 1px solid #dbe7f5; border-radius: 14px; display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.ea-metrics div { align-items: center; border-right: 1px solid #e2eaf3; display: flex; gap: 7px; justify-content: center; min-height: 57px; }
.ea-metrics div:last-child { border-right: 0; }
.ea-metrics strong { color: #0d57c8; font-size: 19px; }
.ea-metrics span { color: #71829a; font-size: 11px; font-weight: 700; }
.ea-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.ea-search { align-items: center; background: #fff; border: 1px solid #dce5ef; border-radius: 11px; display: flex; min-width: min(360px, 100%); padding: 0 12px; }
.ea-search span { color: #7b899d; font-size: 20px; }
.ea-search input { border: 0; box-shadow: none; flex: 1; min-height: 43px; outline: 0; padding: 0 8px; }
.ea-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.ea-filters button { background: #fff; border: 1px solid #dce5ef; border-radius: 20px; color: #64758a; cursor: pointer; font-size: 11px; font-weight: 800; min-height: 36px; padding: 0 13px; }
.ea-filters button.is-active { background: #1769d5; border-color: #1769d5; color: #fff; }
.ea-list { display: grid; gap: 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ea-card { align-items: center; background: #fff; border: 1px solid #dfe7f0; border-radius: 16px; box-shadow: 0 8px 24px rgba(19,48,79,.05); color: inherit; cursor: pointer; display: flex; min-height: 130px; padding: 15px; text-align: left; transition: .18s ease; width: 100%; }
.ea-card:hover { border-color: #a9c7ec; box-shadow: 0 12px 30px rgba(13,87,200,.1); transform: translateY(-1px); }
.ea-card-icon { align-items: center; background: #edf5ff; border-radius: 13px; color: #1769d5; display: flex; flex: 0 0 48px; font-size: 19px; font-weight: 900; height: 48px; justify-content: center; margin-right: 13px; }
.ea-card-body { display: block; flex: 1; min-width: 0; }
.ea-card-top { align-items: center; display: flex; gap: 6px; }
.ea-card-top > b { background: #f1f5fa; border-radius: 10px; color: #52667d; font-size: 9px; padding: 5px 7px; }
.ea-card-top time { color: #98a4b4; font-size: 9px; margin-left: auto; }
.ea-card-body > strong { color: #10243f; display: block; font-size: 14px; margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ea-card-body > small { color: #71829a; display: block; font-size: 10px; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ea-card-foot { align-items: center; display: flex; gap: 8px; margin-top: 11px; }
.ea-card-foot em { color: #344b65; flex: 1; font-size: 10px; font-style: normal; }
.ea-card-foot i { background: #f2f5f9; border-radius: 9px; color: #64758a; font-size: 9px; font-style: normal; padding: 4px 6px; }
.ea-card-arrow { color: #a1afc0; font-size: 25px; margin-left: 8px; }
.ea-status { border-radius: 12px; display: inline-flex; font-size: 9px; font-weight: 800; padding: 5px 8px; }
.ea-status.is-blue { background: #edf5ff; color: #1769d5; }.ea-status.is-green { background: #eef9f5; color: #16945c; }.ea-status.is-yellow { background: #fff8e7; color: #8a6b26; }.ea-status.is-red { background: #fff0f1; color: #d9485a; }.ea-status.is-gray { background: #f1f4f7; color: #718096; }
.ea-loading, .ea-empty, .ea-detail-loading { align-items: center; background: #fff; border: 1px solid #dfe7f0; border-radius: 16px; color: #71829a; display: flex; flex-direction: column; grid-column: 1 / -1; justify-content: center; min-height: 260px; padding: 32px; text-align: center; }
.ea-loading span, .ea-detail-loading > span { animation: ea-spin .8s linear infinite; border: 3px solid #d9e6f6; border-radius: 50%; border-top-color: #1769d5; height: 28px; width: 28px; }
.ea-empty > span { align-items: center; background: #edf5ff; border-radius: 50%; color: #1769d5; display: flex; font-size: 19px; font-weight: 900; height: 44px; justify-content: center; width: 44px; }
.ea-empty strong { color: #10243f; font-size: 14px; margin-top: 10px; }.ea-empty p, .ea-loading p, .ea-detail-loading p { font-size: 11px; margin: 7px 0 14px; }.ea-empty.is-error > span, .ea-detail-loading.is-error > b { background: #fff0f1; color: #d9485a; }
@keyframes ea-spin { to { transform: rotate(360deg); } }
.ea-dialog { background: #f5f7fb; border: 0; border-radius: 20px; box-shadow: 0 25px 80px rgba(7,29,53,.28); color: #344b65; max-height: min(900px, calc(100vh - 36px)); max-width: min(760px, calc(100vw - 36px)); padding: 0; width: 100%; }.ea-dialog::backdrop { background: rgba(7,24,43,.5); backdrop-filter: blur(2px); }.ea-detail-dialog { max-width: min(960px, calc(100vw - 36px)); }
.ea-dialog > form, .ea-detail { overflow: hidden; }.ea-dialog header { align-items: center; background: #fff; border-bottom: 1px solid #dfe7f0; display: flex; justify-content: space-between; padding: 17px 20px; }.ea-dialog header h3 { font-size: 18px; }.ea-dialog header .ea-dialog-close { background: #f3f6fa; border: 0; border-radius: 50%; color: #344b65; cursor: pointer; font-size: 22px; height: 36px; width: 36px; }.ea-dialog-body { max-height: calc(100vh - 190px); overflow: auto; padding: 20px; }.ea-dialog footer { align-items: center; background: #fff; border-top: 1px solid #dfe7f0; display: flex; gap: 8px; justify-content: flex-end; padding: 14px 20px; }.ea-dialog footer > span { flex: 1; }.ea-dialog footer .ea-dialog-close { width: auto; min-width: 88px; height: 40px; padding: 0 16px; border-radius: 9px; font-size: 12px; white-space: nowrap; }
.ea-requester { align-items: center; background: #edf5ff; border: 1px solid #cfe0f7; border-radius: 12px; display: flex; gap: 10px; margin-bottom: 16px; padding: 12px; }.ea-requester span { color: #71829a; font-size: 10px; }.ea-requester strong { color: #10243f; flex: 1; font-size: 12px; }.ea-requester b { color: #16945c; font-size: 10px; }
.ea-form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.ea-form-grid label, .ea-approver-field { display: flex; flex-direction: column; gap: 6px; }.ea-form-grid .is-wide { grid-column: 1 / -1; }.ea-form-grid label > span, .ea-approver-field > span { color: #344b65; font-size: 11px; font-weight: 800; }.ea-form-grid b { color: #d9485a; }.ea-form-grid em { color: #98a4b4; font-size: 9px; font-style: normal; font-weight: 500; }.ea-form-grid input:not([type=file]), .ea-form-grid select, .ea-form-grid textarea { background: #fff; border: 1px solid #dce5ef; border-radius: 10px; min-height: 44px; padding: 9px 11px; }.ea-form-grid textarea { resize: vertical; }.ea-dynamic { display: grid; gap: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }.ea-dynamic .is-wide { grid-column: 1 / -1; }
.ea-approver-add { display: flex; gap: 8px; }.ea-approver-add select { flex: 1; }.ea-approver-add button { background: #1769d5; border: 0; border-radius: 9px; color: #fff; cursor: pointer; font-size: 10px; font-weight: 800; padding: 0 15px; }.ea-approver-field ol { display: grid; gap: 7px; list-style: none; margin: 2px 0 0; padding: 0; }.ea-approver-field li { align-items: center; background: #fff; border: 1px solid #dfe7f0; border-radius: 10px; display: flex; gap: 8px; padding: 9px; }.ea-approver-field li > b { align-items: center; background: #edf5ff; border-radius: 9px; color: #1769d5; display: flex; font-size: 9px; height: 30px; justify-content: center; width: 38px; }.ea-approver-field li > span { display: flex; flex: 1; flex-direction: column; }.ea-approver-field li strong { color: #10243f; font-size: 10px; }.ea-approver-field li small { color: #8996a8; font-size: 8px; }.ea-approver-field li button { background: #f3f6fa; border: 0; border-radius: 7px; color: #52667d; cursor: pointer; height: 28px; width: 28px; }.ea-approver-field li button:last-child { color: #d9485a; }
.ea-file { background: #fff; border: 1px dashed #b7cee9; border-radius: 11px; padding: 12px; }.ea-form-error { background: #fff0f1; border: 1px solid #f0c8ce; border-radius: 9px; color: #d9485a; font-size: 10px; margin: 14px 0 0; padding: 10px; }
.ea-summary, .ea-detail-section, .ea-review { background: #fff; border: 1px solid #dfe7f0; border-radius: 14px; padding: 15px; }.ea-summary-head { align-items: center; display: flex; gap: 8px; }.ea-summary-head > span { color: #52667d; font-size: 10px; font-weight: 800; }.ea-summary-facts, .ea-form-facts { display: grid; gap: 9px; grid-template-columns: repeat(4,1fr); margin-top: 13px; }.ea-summary-facts div, .ea-form-facts div { background: #f7f9fc; border-radius: 9px; display: flex; flex-direction: column; padding: 10px; }.ea-summary-facts span, .ea-form-facts span { color: #8996a8; font-size: 9px; }.ea-summary-facts strong, .ea-form-facts strong { color: #10243f; font-size: 10px; margin-top: 4px; }.ea-form-facts { border-top: 1px solid #e7edf4; padding-top: 13px; }
.ea-detail-section { margin-top: 12px; }.ea-detail-section h4, .ea-review h4 { color: #10243f; font-size: 13px; margin: 0 0 12px; }.ea-content { color: #344b65; font-size: 11px; line-height: 1.75; margin: 0; white-space: normal; }.ea-attachments { display: grid; gap: 7px; }.ea-attachments a { align-items: center; background: #f7f9fc; border-radius: 9px; color: #344b65; display: flex; gap: 8px; padding: 10px; text-decoration: none; }.ea-attachments a b { background: #edf5ff; border-radius: 6px; color: #1769d5; font-size: 8px; padding: 4px 6px; }.ea-attachments a span { flex: 1; font-size: 10px; }.ea-attachments a small { color: #98a4b4; font-size: 8px; }
.ea-detail-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }.ea-step-list, .ea-history { list-style: none; margin: 0; padding: 0; }.ea-step-list li { align-items: flex-start; display: flex; gap: 9px; padding: 8px 0; }.ea-step-list li > b { align-items: center; background: #f1f4f8; border-radius: 9px; color: #718096; display: flex; font-size: 9px; height: 34px; justify-content: center; width: 42px; }.ea-step-list li.is-pending > b { background: #edf5ff; color: #1769d5; }.ea-step-list li.is-approved > b { background: #eef9f5; color: #16945c; }.ea-step-list li.is-rejected > b { background: #fff0f1; color: #d9485a; }.ea-step-list li > span { display: flex; flex: 1; flex-direction: column; }.ea-step-list strong { color: #10243f; font-size: 10px; }.ea-step-list small { color: #8996a8; font-size: 8px; margin-top: 3px; }.ea-step-list em { background: #f7f9fc; border-radius: 7px; color: #52667d; font-size: 9px; font-style: normal; margin-top: 5px; padding: 6px; }
.ea-history li { display: grid; grid-template-columns: 14px 1fr; min-height: 52px; position: relative; }.ea-history li > i { background: #1769d5; border: 3px solid #dcecff; border-radius: 50%; height: 10px; margin-top: 3px; width: 10px; z-index: 1; }.ea-history li:not(:last-child)::before { background: #dce5ef; content: ""; height: calc(100% - 8px); left: 4px; position: absolute; top: 12px; width: 1px; }.ea-history li > span { padding: 0 0 12px 8px; }.ea-history strong { color: #344b65; font-size: 9px; }.ea-history time { color: #98a4b4; display: block; font-size: 8px; margin-top: 2px; }.ea-history p { background: #f7f9fc; border-radius: 7px; font-size: 9px; margin: 5px 0 0; padding: 6px; }
.ea-review { margin-top: 12px; }.ea-review textarea { border: 1px solid #dce5ef; border-radius: 10px; min-height: 72px; padding: 10px; resize: vertical; width: 100%; }.ea-review > div { display: flex; gap: 7px; justify-content: flex-end; margin-top: 9px; }.ea-review button { background: #fff; border: 1px solid; border-radius: 9px; cursor: pointer; font-size: 10px; font-weight: 800; min-height: 37px; padding: 0 14px; }.ea-review .is-yellow { border-color: #dacb9b; color: #8a6b26; }.ea-review .is-red { border-color: #edb2ba; color: #d9485a; }.ea-review .is-green { border-color: #9ed5be; color: #16945c; }
@media (max-width: 900px) { .ea-list, .ea-detail-grid { grid-template-columns: 1fr; } .ea-summary-facts, .ea-form-facts { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .ea-hero { grid-template-columns: 1fr; padding: 16px; }.ea-create { width: 100%; }.ea-metrics { grid-template-columns: repeat(2,1fr); }.ea-toolbar,.ea-filters { align-items: stretch; flex-direction: column; }.ea-search { min-width: 100%; }.ea-dialog { border-radius: 0; height: 100dvh; max-height: none; max-width: none; width: 100vw; }.ea-dialog-body { max-height: calc(100dvh - 145px); }.ea-form-grid,.ea-dynamic { grid-template-columns: 1fr; }.ea-summary-facts,.ea-form-facts { grid-template-columns: 1fr 1fr; } }
