/* Litigation fees: isolated page styles, shared palette supplied by legal-tools-ui. */
.fee-workspace{max-width:1180px;margin:0 auto;padding:24px 12px 48px;color:var(--lt-ink,#20364b);font-size:14px;line-height:1.6}
.fee-workspace *{box-sizing:border-box}
.fee-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.fee-eyebrow{font-size:12px;letter-spacing:.04em;color:var(--lt-muted,#586e82)}
.fee-heading h1{font-size:28px;letter-spacing:-.03em;margin:8px 0 10px}
.fee-heading p{margin:0;color:var(--lt-muted,#586e82);line-height:1.6}
.fee-local{font-size:12px;color:#426555;background:#eaf2ed;padding:6px 10px;border-radius:4px;white-space:nowrap}
.fee-layout{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:24px;align-items:start}
.fee-form,.fee-results{padding:24px;border:1px solid var(--lt-border,#dce5ed);background:#fff;border-radius:8px;min-width:0}
.fee-form{position:sticky;top:20px}
.fee-results{border-top:3px solid var(--lt-blue,#245f94);padding-top:22px}
.fee-section-heading{display:flex;align-items:center;gap:10px;margin-bottom:24px;min-height:28px}
.fee-section-heading>span{font-size:11px;font-weight:600;background:#edf3f8;color:var(--lt-blue,#245f94);padding:3px 7px;border-radius:4px}
.fee-section-heading h2{font-size:16px;margin:0;font-weight:650}
.fee-result-state{margin-left:auto;font-size:11px;color:var(--lt-blue,#245f94);font-weight:400}
.fee-form label{display:block;font-weight:500;font-size:13px;margin:0 0 20px;color:#425a6f}
.fee-form input,.fee-form select{display:block;width:100%;min-width:0;font:inherit;font-weight:400;color:var(--lt-ink,#20364b);border:1px solid #bdcddd;border-radius:5px;background:white;min-height:44px;padding:10px 12px;margin-top:6px;line-height:1.5}
.fee-form select{padding-right:22px}
.fee-form input::placeholder{color:#718292}
.fee-form input:focus,.fee-form select:focus,.fee-workspace button:focus-visible,.fee-workspace summary:focus-visible{outline:2px solid #2874b4;outline-offset:3px}
.fee-money{position:relative}
.fee-money input{padding-right:40px;font-variant-numeric:tabular-nums}
.fee-money span{position:absolute;right:14px;top:12px;color:var(--lt-muted,#586e82);font-weight:400}
.fee-hint{font-size:12px;color:var(--lt-muted,#586e82);line-height:1.8;margin:0 0 18px}
.fee-form>.fee-hint{padding:12px;background:#f7f9fc;border-left:2px solid #b7ccde;border-radius:3px}
.fee-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.fee-form>.fee-actions{padding-top:20px;border-top:1px solid var(--lt-border,#dce5ed);margin-top:24px}
.fee-actions button{font:inherit;font-size:13px;min-height:44px;border:1px solid #bfcfdd;border-radius:5px;background:white;color:var(--lt-blue,#245f94);padding:10px 16px;cursor:pointer}
.fee-actions button:hover{background:#f0f5f9}
.fee-actions .fee-primary{background:var(--lt-blue,#245f94);color:white;border-color:var(--lt-blue,#245f94);flex:1;font-weight:600}
.fee-actions .fee-primary:hover{background:#184c77}
.fee-total{padding:20px 24px;background:#edf4fa;border-radius:6px;border:1px solid #dde8f2}
.fee-total>span{font-size:12px;color:#506b82}
.fee-total p{font-size:42px;font-weight:700;line-height:1.3;letter-spacing:-.03em;margin:12px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#194e79}
.fee-total small{font-size:20px;font-weight:400;letter-spacing:0}
.fee-result-context{margin:20px 0 24px}
.fee-result-context>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.6fr);gap:16px;padding:10px 0;border-bottom:1px solid #e8eef3;font-size:12px;line-height:1.8}
.fee-result-context dt{color:var(--lt-muted,#586e82)}
.fee-result-context dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.fee-breakdown-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 12px}
.fee-breakdown-heading h3{font-size:14px;font-weight:600;margin:0}
.fee-breakdown-heading>span{font-size:11px;color:var(--lt-muted,#586e82);white-space:nowrap}
.fee-table-scroll{overflow:auto;border:1px solid var(--lt-border,#dce5ed);border-radius:5px}
.fee-results table{border-collapse:collapse;width:100%;font-size:12px;min-width:420px}
.fee-results th{text-align:left;background:#f4f7fa;color:var(--lt-muted,#586e82);font-weight:500}
.fee-results td,.fee-results th{padding:12px;border-bottom:1px solid #e5ebf1;line-height:1.7;vertical-align:top}
.fee-results tbody tr:last-child td{border-bottom:0}
.fee-results tbody tr:hover{background:#f8fbfd}
.fee-results td:last-child,.fee-results th:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.fee-results td:last-child{font-weight:600;color:#234f73}
.fee-payment{padding:12px 14px;background:#f7f9fc;border-radius:4px;font-size:12px;line-height:1.8;color:#506b82;margin:20px 0 0}
.fee-sources{margin-top:24px;padding-top:8px;border-top:1px solid var(--lt-border,#dce5ed);color:var(--lt-muted,#586e82);font-size:12px;line-height:1.8}
.fee-sources summary{cursor:pointer;color:var(--lt-blue,#245f94);font-size:13px;min-height:44px;padding:10px 0}
.fee-sources a{color:var(--lt-blue,#245f94);text-underline-offset:3px;overflow-wrap:anywhere}
.fee-sources p{margin:8px 0 12px}
.fee-empty{min-height:410px;padding:4px 0 12px;text-align:left}
.fee-empty-label{display:block;font-size:12px;color:var(--lt-muted,#586e82)}
.fee-empty-amount{font-size:48px;line-height:1.2;color:#a2afbc;margin:12px 0 28px}
.fee-empty-amount small{font-size:13px;color:var(--lt-muted,#586e82)}
.fee-empty h3{font-size:16px;margin:0 0 8px;font-weight:600}
.fee-empty p{font-size:13px;color:var(--lt-muted,#586e82);line-height:1.8;max-width:340px;margin:0}
.fee-empty-steps{list-style:none;padding:20px 0 0;margin:24px 0 0;border-top:1px solid #e6edf3;display:grid;gap:16px}
.fee-empty-steps li{display:flex;gap:12px;align-items:center;font-size:12px;color:#506b82}
.fee-empty-steps span{display:inline-block;min-width:24px;line-height:24px;font-size:11px;font-variant-numeric:tabular-nums;text-align:center;background:#f0f5f9;border-radius:4px;color:var(--lt-blue,#245f94)}
.fee-error{color:#a02634;background:#fff1f1;border-left:2px solid #a83442;padding:12px;font-size:13px;line-height:1.7;margin:16px 0 0}
.fee-results>.fee-hint{margin-top:14px}
@media(max-width:1000px){.fee-layout{grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:20px}.fee-form,.fee-results{padding:20px}.fee-results{padding-top:18px}.fee-total{padding:20px}.fee-total p{font-size:36px}}
@media(max-width:800px){.fee-layout{grid-template-columns:1fr}.fee-form{position:static}.fee-heading{align-items:flex-start;flex-direction:column;gap:12px}.fee-workspace{padding:20px 12px 80px}.fee-form,.fee-results{padding:20px}.fee-results{padding-top:18px}.fee-heading h1{font-size:25px}.fee-empty{min-height:0;padding-bottom:4px}.fee-empty-amount{margin-bottom:20px}.fee-empty-steps{margin-top:20px}.fee-total p{font-size:36px}}
@media(max-width:480px){.fee-form,.fee-results{padding:20px 16px}.fee-results{padding-top:18px}.fee-total{padding:20px 16px}.fee-total p{font-size:34px}.fee-section-heading{gap:8px}.fee-result-state{font-size:10px}.fee-actions button{flex:1;padding:10px 12px}.fee-result-context>div{grid-template-columns:minmax(80px,1fr) minmax(0,1.4fr);gap:12px}.fee-empty-steps{gap:12px}}
@media(prefers-reduced-motion:reduce){.fee-workspace *{scroll-behavior:auto!important;transition:none!important}}
