/* Scoped to SerwisFlow; shared OPS style.css stays unchanged. */
#detail-dialog{width:min(1260px,calc(100vw - 32px));max-width:1260px;max-height:94dvh;padding:24px;background:#101a23}
#detail-dialog>.dialog-header{margin-bottom:12px;border-bottom:1px solid #2b3b49;padding-bottom:12px}
.sf-claim-dashboard{color:#e6edf4;line-height:1.45;min-width:0}
.sf-claim-dashboard *,.sf-area-dialog *,.sf-producer-dialog *{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}
.sf-topline,.sf-top-actions,.sf-next-actions,.sf-tile-actions,.sf-area-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sf-topline{justify-content:space-between;margin-bottom:16px}
.sf-state{display:inline-flex;align-items:center;align-self:flex-start;width:fit-content;padding:4px 9px;font-size:12px;font-weight:650;border-radius:6px;background:#253441;color:#cad8e4}
.sf-prominent{background:#153f3d;color:#8bf0d9;border:1px solid #287d72;letter-spacing:.06em;font-size:14px;padding:6px 12px}
.sf-good{background:#193c34;color:#a4ead3}.sf-warning{background:#3b321d;color:#f2cf81}.sf-danger{background:#47282c;color:#ffb4bc}
.sf-summary{background:#17232e;border:1px solid #2b3b49;border-radius:12px;padding:18px 20px;margin-bottom:16px}
.sf-summary h2,.sf-next h2{font-size:19px;margin:0 0 12px;letter-spacing:0}
.sf-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 24px;margin:0}
.sf-summary dl>div{display:flex;gap:7px;align-items:baseline}.sf-summary dl>div:nth-child(2){grid-column:span 2}
.sf-summary dt{color:#9fb1c0;font-size:13px;flex-shrink:0}.sf-summary dd{margin:0;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sf-next{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(110deg,#17433e,#172b35);border:1px solid #368d80;border-left:5px solid #55dbc1;border-radius:12px;padding:20px 24px;margin-bottom:22px;box-shadow:0 6px 24px #0002}
.sf-next .eyebrow{color:#8cebd7;font-size:10px;letter-spacing:.13em;margin:0 0 4px}.sf-next h2{font-size:26px;margin-bottom:8px}.sf-next-message{font-size:16px;max-width:700px;margin:0}
.sf-next-actions{flex-shrink:0;max-width:240px}.sf-next-actions button{width:100%}.sf-close-note{font-size:12px;color:#c0d3d4;margin:10px 0 0}
.sf-text-button{border:0!important;padding:0 3px!important;background:transparent!important;color:#93efdd!important;font-size:inherit;text-decoration:underline}
.sf-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sf-tile{display:flex;flex-direction:column;gap:12px;background:#17232e;border:1px solid #304251;border-radius:12px;padding:18px;min-height:215px;transition:border-color .15s}
.sf-tile:hover{border-color:#528276}.sf-tile-title{display:flex;align-items:center;gap:10px}.sf-tile h3{font-size:16px;margin:0;font-weight:650;letter-spacing:0}
.sf-tile-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#24413f;color:#8fe9d6;font-size:21px;flex-shrink:0}
.sf-tile-content{display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:1}.sf-tile-content p{margin:0;font-size:13px;color:#c7d2dc}.sf-tile-content strong{font-size:14px;color:#f0f5f8}.sf-tile-content>strong,.sf-tile-content>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
.sf-tile-actions{margin-top:auto;gap:8px}.sf-tile-actions button{font-size:12px;padding:8px 10px;white-space:normal;min-height:36px}
.sf-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:100%;margin:0 0 8px}.sf-counts dt{color:#a4b4c3;font-size:11px}.sf-counts dd{margin:3px 0 0;font-size:24px;font-weight:650;color:#e5f9f3}
.sf-secondary-heading{font-size:14px;color:#b0c0cd;letter-spacing:.025em;margin:24px 0 12px}.sf-secondary .sf-tile{background:#141f29;min-height:205px}.sf-secondary .sf-tile-icon{background:#263443;color:#b7cbd9}.sf-more{display:flex;justify-content:flex-end;margin-top:16px}
.sf-area-dialog,.sf-producer-dialog{width:min(880px,calc(100vw - 32px));max-width:880px;max-height:90dvh;background:#14212c;color:#e6edf4;padding:24px;border:1px solid #415564;border-radius:14px}
.sf-area-dialog>.dialog-header,.sf-producer-dialog>.dialog-header{position:sticky;top:-24px;background:#14212c;z-index:2;padding:12px 0;margin-bottom:16px}.sf-area-dialog h2{font-size:20px}.sf-area-nav{margin-bottom:20px}.sf-area-nav button{font-size:12px}.sf-area-dialog .form-grid,.sf-producer-dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sf-area-dialog .fulfillment-section{border:0;padding:0}.sf-area-dialog [data-area-body]>button{margin:8px}.sf-area-dialog table{max-width:100%}.sf-producer-dialog section{margin:24px 0}.sf-producer-dialog fieldset{margin:16px 0}.sf-recipient-preview{background:#1b3038;border-left:3px solid #55dbc1;padding:12px}.sf-recipient-preview p{margin:4px 0}
.sf-area-dialog [hidden],.sf-producer-dialog [hidden],.sf-claim-dashboard [hidden]{display:none!important}
@media(min-width:760px) and (max-width:1100px){.sf-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-summary dl>div:nth-child(2){grid-column:auto}.sf-next{align-items:flex-start}}
@media(max-width:759px){#detail-dialog{width:calc(100vw - 16px);max-height:96dvh;padding:16px}#detail-title{font-size:23px}.sf-tile-grid{grid-template-columns:minmax(0,1fr);gap:12px}.sf-tile{min-height:185px;padding:16px}.sf-summary{padding:16px}.sf-summary dl{grid-template-columns:minmax(0,1fr);gap:8px}.sf-summary dl>div:nth-child(2){grid-column:auto}.sf-summary dl>div{display:block}.sf-summary dt{font-size:11px}.sf-summary dd{font-size:13px}.sf-next{display:block;padding:16px}.sf-next-actions{max-width:none;margin-top:16px}.sf-next-actions button{min-height:44px}.sf-next-message{font-size:15px}.sf-top-actions{gap:6px}.sf-top-actions button{font-size:12px;padding:8px}.sf-area-dialog,.sf-producer-dialog{width:calc(100vw - 16px);max-height:95dvh;padding:16px}.sf-area-dialog .form-grid,.sf-producer-dialog .form-grid{grid-template-columns:minmax(0,1fr)}.sf-area-dialog>.dialog-header,.sf-producer-dialog>.dialog-header{top:-16px}.sf-tile-actions button{min-height:44px}}
