.smart-import-layout{display:grid;grid-template-columns:minmax(360px,.82fr) minmax(520px,1.3fr);gap:16px;align-items:start;margin-bottom:18px}.smart-import-editor,.smart-import-result,.smart-import-history{background:linear-gradient(145deg,rgba(24,39,66,.98),rgba(13,24,43,.98));border:1px solid rgba(108,135,181,.2);border-radius:18px;box-shadow:0 18px 45px rgba(0,0,0,.16)}.smart-import-editor{padding:22px;position:sticky;top:16px}.smart-import-result{padding:20px;min-height:480px}.smart-section-head,.smart-result-head,.smart-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.smart-section-head h3,.smart-result-head h3,.smart-history-head h3{font-size:20px;margin:3px 0 4px;color:var(--text-primary)}.smart-section-head p,.smart-result-head p,.smart-history-head span{margin:0;color:var(--text-tertiary);font-size:12px;line-height:1.6}.smart-kicker{font-size:10px;font-weight:900;letter-spacing:1.5px;color:var(--warning)}.smart-safe-badge{white-space:nowrap;border:1px solid rgba(55,211,136,.28);background:rgba(55,211,136,.1);color:#65e8a7;border-radius:99px;padding:7px 10px;font-size:11px;font-weight:800}.smart-import-actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 12px}.smart-file-picker{display:flex;flex:1 1 240px;min-width:0;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px dashed rgba(246,187,75,.4);border-radius:11px;background:rgba(246,187,75,.06);cursor:pointer}.smart-file-picker input{display:none}.smart-file-picker span{font-weight:800;color:#ffd575;font-size:12px}.smart-file-picker small{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-tertiary)}.smart-import-text{width:100%;min-height:390px;resize:vertical;background:#09172a;border:1px solid #2d4569;border-radius:13px;padding:15px;color:#e9f1ff;font:12px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;box-sizing:border-box}.smart-import-text:focus{outline:none;border-color:#e9ae3c;box-shadow:0 0 0 3px rgba(233,174,60,.1)}.smart-import-hint{margin-top:11px;padding:11px 12px;border-radius:10px;background:rgba(84,142,255,.08);color:#a9bddf;font-size:11px;line-height:1.65}.smart-import-hint b{color:#8fb9ff}.smart-empty{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--text-tertiary)}.smart-empty span{font-size:42px;margin-bottom:12px}.smart-empty b{font-size:17px;color:var(--text-secondary)}.smart-empty p{font-size:12px;max-width:340px;line-height:1.65}.smart-status{display:inline-flex;border-radius:99px;padding:5px 10px;font-size:11px;font-weight:900}.smart-status.good{background:rgba(55,211,136,.12);color:#55e59e}.smart-status.warn{background:rgba(247,190,65,.13);color:#ffd06a}.smart-status.bad{background:rgba(255,92,112,.13);color:#ff8294}.smart-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.smart-summary-grid>div{min-width:0;padding:15px;border-radius:13px;background:rgba(7,17,33,.48);border:1px solid rgba(109,140,191,.16)}.smart-summary-grid small,.smart-summary-grid span{display:block;color:var(--text-tertiary);font-size:10px}.smart-summary-grid strong{display:block;font-size:20px;margin:7px 0 5px;color:#f1f5ff;white-space:nowrap}.positive{color:#55e59e!important}.negative{color:#ff7186!important}.smart-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.smart-project-card{padding:14px;border:1px solid rgba(106,137,184,.17);border-radius:13px;background:linear-gradient(135deg,rgba(21,35,59,.9),rgba(14,26,47,.92))}.smart-project-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.smart-project-card>div small{color:var(--text-tertiary);font-size:10px}.smart-project-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 0}.smart-project-card dl div{min-width:0}.smart-project-card dt{font-size:10px;color:var(--text-tertiary)}.smart-project-card dd{font-weight:900;margin:4px 0 0;font-size:13px;white-space:nowrap}.smart-audit-columns{display:grid;gap:14px}.smart-audit-columns h4{font-size:13px;margin:0 0 9px;color:var(--text-secondary)}.smart-audit-columns h4 span{margin-left:6px;padding:2px 6px;border-radius:99px;background:rgba(255,255,255,.06);font-size:10px}.smart-issue-list{display:grid;gap:8px;max-height:340px;overflow:auto;padding-right:3px}.smart-issue{display:flex;gap:10px;padding:11px 12px;border-radius:11px;border:1px solid rgba(255,255,255,.06);background:rgba(4,13,27,.34)}.smart-issue.error{border-color:rgba(255,91,112,.25)}.smart-issue.warning{border-color:rgba(248,191,61,.21)}.smart-issue.info{border-color:rgba(84,143,255,.2)}.smart-issue-icon{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;font-weight:900;background:rgba(255,255,255,.08)}.smart-issue.error .smart-issue-icon{color:#ff7186}.smart-issue.warning .smart-issue-icon{color:#ffd066}.smart-issue.info .smart-issue-icon{color:#7bb2ff}.smart-issue b{display:block;font-size:12px}.smart-issue small{display:block;color:var(--text-tertiary);margin-top:3px;line-height:1.55}.smart-issue p{margin:5px 0 0;color:#c0cee4;font-size:11px}.smart-pass{padding:18px;text-align:center;border:1px solid rgba(55,211,136,.18);background:rgba(55,211,136,.07);border-radius:11px;color:#5fe5a3;font-weight:800}.smart-items-table{max-height:420px;border:1px solid rgba(255,255,255,.06);border-radius:12px}.smart-items-table table{min-width:860px}.smart-items-table th{position:sticky;top:0;z-index:1;background:#14233b}.smart-items-table td{font-size:11px}.smart-raw-cell{white-space:normal!important;min-width:280px;line-height:1.55}.smart-included,.smart-review{display:inline-flex;white-space:nowrap;padding:3px 7px;border-radius:99px;font-size:10px;font-weight:800}.smart-included{background:rgba(55,211,136,.1);color:#55e59e}.smart-review{background:rgba(248,191,61,.1);color:#ffd066}.smart-import-history{padding:18px}.smart-history-list{display:grid;gap:8px;margin-top:13px}.smart-history-list article{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(90px,.55fr)) auto;align-items:center;gap:14px;padding:12px 14px;border-radius:12px;background:rgba(8,18,35,.36);border:1px solid rgba(100,130,179,.14)}.smart-history-list article>div:first-child b,.smart-history-list article>div:first-child small{display:block}.smart-history-list article small{font-size:10px;color:var(--text-tertiary)}.smart-history-list article strong{font-size:13px}.smart-history-actions{display:flex;gap:6px}.smart-empty-small{padding:20px;text-align:center;color:var(--text-tertiary);font-size:12px}.settlement-import-compare{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;margin:12px 0 14px;border-radius:14px;background:linear-gradient(115deg,rgba(25,40,67,.96),rgba(15,28,49,.96));border:1px solid rgba(247,188,64,.24)}.settlement-import-compare.is-balanced{border-color:rgba(55,211,136,.27)}.settlement-import-compare.has-difference{border-color:rgba(255,105,120,.32)}.sic-kicker{font-size:9px;letter-spacing:1px;color:var(--warning);font-weight:900}.settlement-import-compare>div:first-child b{display:block;margin-top:3px}.settlement-import-compare>div:first-child span{font-size:10px;color:var(--text-tertiary)}.sic-metrics{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:18px;flex:1;max-width:640px}.sic-metrics small,.sic-metrics strong{display:block}.sic-metrics small{font-size:9px;color:var(--text-tertiary)}.sic-metrics strong{font-size:13px;margin-top:3px}.smart-result-head .btn{white-space:nowrap}@media(max-width:1180px){.smart-import-layout{grid-template-columns:1fr}.smart-import-editor{position:static}.smart-history-list article{grid-template-columns:1.4fr repeat(2,1fr)}.smart-history-list article>div:nth-child(4),.smart-history-list article>div:nth-child(5){display:none}.settlement-import-compare{align-items:flex-start;flex-wrap:wrap}.sic-metrics{order:3;width:100%;max-width:none}}@media(max-width:720px){.smart-import-editor,.smart-import-result,.smart-import-history{border-radius:14px;padding:14px}.smart-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-project-grid{grid-template-columns:1fr}.smart-import-text{min-height:300px}.smart-section-head{display:block}.smart-safe-badge{display:inline-flex;margin-top:9px}.smart-history-list article{grid-template-columns:1fr 1fr}.smart-history-list article>div:first-child,.smart-history-actions{grid-column:1/-1}.sic-metrics{grid-template-columns:repeat(2,1fr);gap:10px}.settlement-import-compare>button{width:100%}}