/* Offers: form and list */
body.of-lock{overflow:hidden}
.of-overlay{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:16px;background:rgba(7,18,34,.56)}
.of-box{width:min(640px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:16px;padding:20px 22px;box-shadow:0 20px 60px rgba(7,18,34,.35);color:#152239;font:14px/1.4 inherit}
.of-box *{box-sizing:border-box}
.of-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.of-head h2{margin:0;font-size:20px}
.of-x{border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:#6b7280;padding:0 6px}
.of-sub{color:#5b6b82;font-size:13px;margin-bottom:14px}
.of-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin-top:12px}
.of-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.of-field.wide,.of-grid>.wide{grid-column:1/-1}
.of-field>span{font-size:12px;color:#5b6b82;font-weight:600}
.of-price{display:grid;grid-template-columns:2fr 1fr;gap:10px}
.of-box input[type=text],.of-box input[type=number],.of-box input[type=date],.of-box select,.of-box textarea{width:100%;min-height:40px;padding:8px 12px;border:1px solid #d7dfeb;border-radius:10px;background:#fff;color:#152239;font:inherit}
.of-box textarea{resize:vertical;line-height:1.45}
.of-box input:focus,.of-box select:focus,.of-box textarea:focus{outline:2px solid #2f6fed55;border-color:#2f6fed}
.of-more{margin-top:14px;border-top:1px solid #e4eaf3;padding-top:10px}
.of-more>summary{cursor:pointer;font-weight:700;padding:4px 0}
.of-msg{min-height:18px;margin-top:8px;color:#b42318;font-size:13px}
.of-actions{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 2px}
.of-btn{min-height:40px;padding:0 16px;border:1px solid #d7dfeb;border-radius:10px;background:#fff;color:#152239;font:inherit;font-weight:600;cursor:pointer}
.of-btn:hover{background:#f3f6fb}
.of-primary{background:#2f6fed;border-color:#2f6fed;color:#fff}
.of-primary:hover{background:#255cc7}
.of-ok{background:#e8f6ee;border-color:#8fd0ab;color:#1d7a46}
.of-btn:disabled{opacity:.6;cursor:default}
/* list inside the request card */
.of-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.of-top h3{margin:0}
.of-add{border:1px solid #2f6fed;background:#fff;color:#1c4fc2;border-radius:9px;min-height:34px;padding:0 12px;font:inherit;font-weight:600;cursor:pointer}
.of-add:hover{background:#eef4ff}
.of-list{display:grid;gap:8px;margin-top:10px}
.of-empty{color:#6b7280;font-size:13px;padding:6px 0}
.of-row{display:grid;gap:4px;text-align:left;border:1px solid #e4eaf3;border-radius:12px;background:#fff;padding:10px 12px;font:inherit;color:#152239;cursor:pointer;width:100%}
.of-row:hover{background:#f6f9fe;border-color:#cfdcf2}
.of-l1{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.of-amount{font-weight:700}
.of-row small{color:#6b7280}
.of-text{color:#34495e;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.of-chip{margin-left:auto;font-size:12px;font-weight:600;border-radius:999px;padding:2px 10px;background:#eef1f6;color:#4a5a70}
.of-chip.st-given{background:#e8f0ff;color:#1c4fc2}
.of-chip.st-accepted{background:#e8f6ee;color:#1d7a46}
.of-chip.st-declined{background:#fdeceb;color:#b42318}
.of-chip.st-expired{background:#f3efe6;color:#8a6a1c}
@media (max-width:560px){.of-grid{grid-template-columns:1fr}.of-box{padding:16px}}
.of-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:70;max-width:min(560px,92vw);background:#152239;color:#fff;padding:12px 18px;border-radius:12px;box-shadow:0 10px 30px rgba(7,18,34,.4);font-size:14px;line-height:1.4}
