#lookup-dialog{width:min(640px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #ecd8e4;border-radius:20px;padding:26px;background:#fff;color:#302334;box-shadow:0 20px 80px #3c123550}
#lookup-dialog::backdrop{background:#26142588;backdrop-filter:blur(3px)}.lookup-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.lookup-heading h2{font-size:25px;margin:0}#lookup-close{width:42px;height:42px;border:1px solid #e5d8e0;border-radius:50%;font-size:24px;background:white;color:#725b6b;cursor:pointer;flex-shrink:0}
#lookup-form label{display:block;font-size:14px;font-weight:650;margin-bottom:8px}.lookup-controls{display:flex;gap:10px}#lookup-id{width:100%;min-width:0;flex:1;border:1px solid #d9cdd5;border-radius:11px;padding:12px;font:17px system-ui;color:#302334}#lookup-submit{min-width:90px}.lookup-help{font-size:13px;color:#786a78;line-height:1.65}.lookup-message{font-size:17px;font-weight:700;overflow-wrap:anywhere;line-height:1.5}.lookup-message.found{color:#158047}.lookup-match{border:1px solid #e8dfe6;border-radius:14px;padding:18px;margin:14px 0;background:#fdfafd}.lookup-match dl{display:grid;grid-template-columns:125px 1fr;gap:12px 16px;margin:0}.lookup-match dt{color:#786a78}.lookup-match dd{margin:0;font-weight:600;overflow-wrap:anywhere}.lookup-amount{font-size:22px;color:#a50064}
#lookup-id:focus-visible,#lookup-close:focus-visible{outline:3px solid #ee9ac9;outline-offset:2px}
.lookup-main-heading{align-items:center;gap:18px}.lookup-entry{flex:1}.lookup-page-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.lookup-hero{display:flex;align-items:center;gap:17px;width:min(100%,540px);min-height:90px;padding:20px 24px;border:1px solid #bc087b;border-radius:18px;background:linear-gradient(115deg,#a50064,#d21384);color:#fff;box-shadow:0 7px 20px #a500642b;text-align:left;cursor:pointer;font-family:inherit}.lookup-hero svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;flex-shrink:0}.lookup-hero strong{display:block;font-size:22px;font-weight:800;line-height:1.35}.lookup-hero small{display:block;margin-top:5px;font-size:14px;color:#ffe4f4}.lookup-arrow{margin-left:auto;font-size:30px}.lookup-hero:hover{background:#97005d;box-shadow:0 8px 24px #a5006440}.lookup-hero:focus-visible{outline:3px solid #e679b8;outline-offset:4px}
@media(max-width:640px){body>header{height:auto;min-height:90px;padding-top:15px;padding-bottom:15px}.lookup-main-heading{flex-wrap:wrap;gap:10px;margin-top:8px}.lookup-entry{flex-basis:100%}.lookup-hero{width:100%;min-height:85px;padding:17px 18px;gap:12px}.lookup-hero strong{font-size:20px}.lookup-hero small{font-size:13px}.lookup-hero svg{width:29px;height:29px}.lookup-main-heading>.count{margin-left:auto;font-size:13px}}
@media(max-width:640px){#lookup-dialog{padding:18px;max-height:93dvh}.lookup-heading h2{font-size:21px}.lookup-match{padding:13px}.lookup-match dl{grid-template-columns:95px 1fr;gap:12px 9px;font-size:14px}.lookup-controls{flex-wrap:wrap}#lookup-submit{min-height:46px}.lookup-amount{font-size:20px}}
.lookup-ctv-dd{display:flex;align-items:center}.lookup-ctv-wrap{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%}.lookup-ctv-text{font-weight:700;color:#24202a;cursor:pointer;padding:3px 8px;border-radius:6px;background:#f3eef3}.lookup-ctv-text:hover{background:#ecdfe9}.lookup-ctv-input{flex:1;min-width:130px;max-width:240px;padding:6px 10px;font:inherit;font-size:14px;border:1px solid #d9cdd5;border-radius:8px;outline:none}.lookup-ctv-input:focus{border-color:#a50064;box-shadow:0 0 0 2px #f8d7eb}.lookup-ctv-btn{padding:6px 12px;font:inherit;font-size:13px;font-weight:650;border-radius:7px;cursor:pointer;border:none;transition:background .15s}.lookup-ctv-btn-save{background:#a50064;color:#fff}.lookup-ctv-btn-save:hover{background:#8c0054}.lookup-ctv-btn-edit{background:#f0e6ee;color:#8c0054;border:1px solid #e2cadb}.lookup-ctv-btn-edit:hover{background:#e8d4e4}.lookup-ctv-btn-cancel{background:#f0edf1;color:#6b5f6d;padding:6px 9px}.lookup-ctv-btn-cancel:hover{background:#e3dfe5}

