.global-search-launch{display:inline-flex;align-items:center;gap:6px;border:1px solid #354760;border-radius:9px;background:#1a2a42;color:#fff;padding:8px 10px;font:inherit;cursor:pointer;white-space:nowrap}.global-search-launch svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.global-search-dialog{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid #d9e3f3;border-radius:18px;color:#152942;box-shadow:0 24px 90px #10213b33;overflow:auto}.global-search-dialog::backdrop{background:#0e1a31a6}.global-search-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.global-search-dialog-head>button{border:0;border-radius:8px;background:#edf3fc;padding:8px 12px;cursor:pointer}.global-search-dialog form,.smart-search-form>div{display:flex;gap:8px}.global-search-dialog input,.smart-search-form input{min-width:0;flex:1;width:100%;padding:12px;border:1px solid #bfcfe5;border-radius:9px;font:inherit}.global-search-dialog form>button,.smart-search-form button,.smart-primary{border:0;border-radius:9px;background:#1769ec;color:white;font-weight:700;padding:11px 18px;cursor:pointer}.global-search-hint{font-size:12px;color:#647791;margin:10px 0 18px}.global-search-all{display:block;margin-top:18px;padding-top:12px;border-top:1px solid #e0e7f1}.smart-page{max-width:1200px;margin:auto}.smart-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.smart-head h1{margin:12px 0 4px}.smart-head p{color:#647791}.smart-search-form,.smart-search-groups section,.smart-empty,.smart-card{padding:20px;background:#fff;border:1px solid #dce5f2;border-radius:14px;margin-bottom:16px}.smart-search-form label{display:block;margin-bottom:10px;color:#536780}.smart-search-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.smart-search-groups section h2,.global-search-dialog h3{font-size:17px;margin:4px 0 12px}.smart-search-item{position:relative;display:flex;flex-direction:column;gap:5px;padding:12px 24px 12px 10px;border-radius:9px;text-decoration:none;color:#173658;overflow-wrap:anywhere}.smart-search-item:hover,.smart-search-item:focus-visible{background:#edf4ff;outline:2px solid #b8d5ff}.smart-search-item small{color:#687e99}.smart-search-item>span{position:absolute;right:8px;top:15px}.smart-search-groups section>p{font-size:12px;color:#657991}.smart-empty{text-align:center;padding:34px 20px}.smart-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.smart-filter label{display:flex;flex-direction:column;gap:6px}.smart-filter input,.smart-filter select{padding:10px;border:1px solid #c8d6e9;border-radius:8px;font:inherit}.smart-badges{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.smart-badge{padding:9px 13px;border-radius:9px;background:#edf4ff;color:#24558d}.smart-debt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.smart-debt-card{background:#fff;border:1px solid #dbe5f4;border-radius:13px;padding:18px}.smart-debt-card h2{font-size:18px;margin:4px 0 10px}.smart-debt-line{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid #ecf1f8}.smart-debt-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.smart-debt-actions a,.smart-debt-actions button{padding:8px 10px;border:1px solid #cbdcf3;border-radius:8px;background:#f4f8ff;color:#1659a4;text-decoration:none;cursor:pointer;font:inherit}.smart-muted{font-size:13px;color:#657a94}.smart-urgent{color:#bf334b}.smart-consent{display:flex;align-items:start;gap:10px;margin:16px 0}.smart-consent input{margin-top:5px}.smart-settings{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.smart-settings label{display:grid;gap:7px}.smart-settings input,.smart-settings select{padding:10px;border:1px solid #c8d6e9;border-radius:8px;width:100%}.smart-copy-dialog{border:1px solid #d7e2f2;border-radius:14px;width:min(580px,calc(100vw - 24px));padding:20px}.smart-copy-dialog textarea{width:100%;height:220px;padding:12px;font:inherit;border:1px solid #cbd8e8;border-radius:8px}.smart-copy-dialog::backdrop{background:#0e1a3199}@media(max-width:700px){.global-search-launch span{display:none}.smart-search-groups,.smart-debt-grid,.smart-settings{grid-template-columns:1fr}.smart-head{align-items:start}.smart-head h1{font-size:25px}.global-search-dialog{padding:16px}.smart-filter label{flex:1;min-width:130px}.smart-search-form{padding:16px}.smart-search-form button{padding:10px 12px}}

.global-search-fallback{position:fixed;right:20px;bottom:22px;z-index:90}.global-search-fallback[hidden]{display:none}.global-search-launch:focus-visible{outline:3px solid #9ac3ff;outline-offset:3px}.smart-page>details{margin-top:18px}.smart-page summary{cursor:pointer;padding:4px 0}.smart-debt-line strong{white-space:nowrap}@media(max-width:700px){.smart-debt-line{flex-wrap:wrap}.global-search-fallback{right:14px;bottom:calc(18px + env(safe-area-inset-bottom))}.global-search-fallback .global-search-launch{width:44px;height:44px;justify-content:center}}
.smart-consent input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;padding:0;accent-color:#1769ec}.smart-debt-card h2,.smart-debt-line a,.smart-head h1{overflow-wrap:anywhere}
