:root{--provider-text:#32312d;--provider-muted:#85848a;--provider-line:#e2dcd7;--provider-soft:#fcf7f8;--provider-page:#f6f3ef;--provider-olive:#849168;--provider-rose:#ae7480;--provider-shadow:0 12px 30px rgba(72,63,56,.045)}
.provider-shell{min-height:calc(100vh - 86px);color:var(--provider-text);font-family:Arial,sans-serif;background:var(--provider-page)}
.provider-shell *{box-sizing:border-box}
.provider-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:17px;align-items:center;padding:28px 2.7% 20px;border-bottom:1px solid #e8e1df;background:radial-gradient(circle at 78% -35%,rgba(176,116,128,.09) 0 170px,transparent 171px),linear-gradient(100deg,#fff 0%,#fcf9fa 100%)}
.provider-eyebrow{margin:0 0 14px;color:#7d8866;font-size:10px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
.provider-title-row{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:17px}
.provider-title-icon{width:56px;height:56px;display:grid;place-items:center;border:1px solid #ead6da;border-radius:16px;background:#fcf7f8;color:#ae7580;font:400 24px Georgia,serif}
.provider-title-row h1,.provider-list-head h2,.provider-card h3{font-family:Georgia,"Times New Roman",serif}
.provider-title-row h1{margin:0;font:400 clamp(36px,3.25vw,52px)/1 Georgia,serif;letter-spacing:-.04em}
.provider-title-row p{margin:12px 0 0;color:var(--provider-muted);font-size:12px}
.provider-hero-total{text-align:right}
.provider-hero-total span{display:block;color:#89878d;font-size:11px;font-weight:700}
.provider-hero-total strong{display:block;margin-top:8px;color:#af7480;font:400 clamp(44px,4.2vw,64px)/.78 Georgia,serif}
.provider-content{width:min(90.8%,1610px);margin:0 auto;padding:20px 0 60px}
.provider-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:1px solid #e4ded9;border-radius:20px;background:#fff}
.provider-button{height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid #e4ded9;border-radius:13px;background:#fff;color:#37373a;font:750 10px/1 Arial,sans-serif;white-space:nowrap;cursor:pointer}
.provider-button b{font:400 18px/1 Arial,sans-serif}
.provider-primary{border-color:#849168;background:#849168;color:#fff}
.provider-toolbar-filters{display:flex;align-items:center;gap:10px;min-width:0}
.provider-search{height:44px;display:flex;align-items:center;gap:8px;min-width:320px;padding:0 12px;border:1px solid #ebe6e1;border-radius:13px;background:#fff}
.provider-search input{width:100%;height:32px;border:0;outline:0;color:#555;background:#fff;font:10px Arial,sans-serif}
.provider-filter{height:44px;display:grid;align-content:center;padding:0 11px;border:1px solid #ebe6e1;border-radius:13px;background:#fff}
.provider-filter>span{font-size:7px;font-weight:700;color:#81818a}
.provider-filter select{min-width:130px;height:24px;border:0;outline:0;background:transparent;color:#4b4946;font:600 10px Arial,sans-serif}
.provider-overview{display:grid;grid-template-columns:repeat(4,1fr);margin:20px 0;border:1px solid var(--provider-line);border-radius:20px;background:#fff;overflow:hidden;box-shadow:var(--provider-shadow)}
.provider-overview article{min-height:86px;padding:18px 24px;border-right:1px solid #e6dfda}
.provider-overview article:last-child{border-right:0}
.provider-overview span{display:block;margin-bottom:9px;color:#81818a;font-size:10px;font-weight:700}
.provider-overview strong{display:block;font:600 25px/1 Georgia,serif}
.provider-overview small{display:block;margin-top:7px;color:#898991;font-size:8px}
.provider-list-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 2px 11px}
.provider-list-head h2{margin:0;font-size:19px;font-weight:500}
.provider-list-head p{margin:5px 0 0;color:#898991;font-size:10px}
.provider-list-head>span{color:#898991;font-size:9px}
.provider-list{display:grid;gap:12px}
.provider-card{min-height:86px;display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(105px,.5fr)) 42px;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--provider-line);border-radius:18px;background:#fff;box-shadow:var(--provider-shadow)}
.provider-card-main{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
.provider-card-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid #ead6da;border-radius:13px;background:#fcf7f8;color:#ae7580;font-size:19px}
.provider-card-title{display:flex;align-items:center;gap:8px;min-width:0}
.provider-card h3{min-width:0;margin:0;overflow:hidden;font-size:18px;font-weight:500;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.provider-card-main p{margin:6px 0 0;color:#69666a;font-size:10px;font-weight:650}
.provider-card-main small{display:block;margin-top:6px;overflow:hidden;color:#898991;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.provider-status{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#f2f0ec;color:#77716b;font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.provider-status.is-quoting{background:#f7f1e3;color:#9b7d3c}
.provider-status.is-contracted{background:#eef2e8;color:#66734e}
.provider-status.is-completed{background:#eaf3ee;color:#4d795f}
.provider-status.is-discarded{background:#f6ebed;color:#9b626d}
.provider-card-money{text-align:right}
.provider-card-money span{display:block;color:#81818a;font-size:7px;font-weight:700}
.provider-card-money strong{display:block;margin-top:5px;color:#55545a;font-size:10px}
.provider-card-action{width:38px;height:38px;border:1px solid #ebe4df;border-radius:50%;background:#fff;color:#b16f7c;font-size:18px;cursor:pointer}
.provider-read-state{margin:12px 0 0;color:#9b9690;font-size:9px;text-align:right}
.provider-empty,.provider-loading{padding:42px 24px;border:1px dashed #ddd6cf;border-radius:18px;background:#fff;color:#837d76;text-align:center}
.provider-empty>span{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 12px;border-radius:14px;background:#f4f1ed;color:#9a7680;font-size:20px}
.provider-empty strong{display:block;font:500 18px Georgia,serif}
.provider-empty p{margin:7px 0 0;font-size:10px}
.provider-dialog{width:min(620px,calc(100% - 28px));padding:0;border:0;border-radius:20px;background:#fff;color:#383531;font-family:Arial,sans-serif;box-shadow:0 28px 80px rgba(45,38,33,.22)}
.provider-dialog::backdrop{background:rgba(48,42,38,.28);backdrop-filter:blur(4px)}
.provider-dialog-frame{margin:0}
.provider-dialog header{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 24px 18px}
.provider-dialog header span{color:#778263;font-size:10px;font-weight:800;letter-spacing:.15em}
.provider-dialog h2{margin:4px 0 0;font:500 29px Georgia,serif}
.provider-dialog header button{width:34px;height:34px;border:0;border-radius:50%;background:#f4f1ed;color:#383531;cursor:pointer}
.provider-dialog-body{max-height:58dvh;padding:0 24px 18px;overflow:auto}
.provider-dialog footer{display:flex;align-items:center;gap:8px;padding:12px 24px 20px;border-top:1px solid #f0ece8}
.provider-dialog footer button{min-height:42px;padding:0 15px;border:1px solid #e2ddd7;border-radius:11px;background:#fff;color:#383531;font-size:11px;cursor:pointer}
.provider-dialog footer .provider-save{border-color:#778263;background:#778263;color:#fff}
.provider-dialog footer .provider-delete{border-color:#ead9dc;color:#a4616f;background:#fffafb}
.provider-dialog-spacer{flex:1}
.provider-form{display:grid;gap:20px}
.provider-form-section{display:grid;gap:12px}
.provider-form-section+ .provider-form-section{padding-top:18px;border-top:1px solid #f0ece8}
.provider-form-section h3{margin:0;color:#778263;font:800 9px/1 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.provider-form-field{display:grid;gap:7px;margin:0;color:#383531}
.provider-form-field>span{display:block;color:#383531;font-size:10px;font-weight:700;line-height:1.2}
.provider-form-field input,.provider-form-field select,.provider-form-field textarea{box-sizing:border-box;width:100%;border:1px solid #dfd9d2;border-radius:11px;background:#fff;color:#383531;font:13px Arial,sans-serif;outline:0}
.provider-form-field input,.provider-form-field select{height:42px;padding:0 11px}
.provider-form-field textarea{min-height:78px;padding:10px 11px;resize:vertical;line-height:1.4}
.provider-form-field input:focus,.provider-form-field select:focus,.provider-form-field textarea:focus{border-color:#9aa47b;box-shadow:0 0 0 3px rgba(127,137,98,.1)}
.provider-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.provider-form-money{grid-template-columns:repeat(3,minmax(0,1fr))}
.provider-icon-picker{display:grid;gap:10px}
.provider-icon-current{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid #e2ddd7;border-radius:12px;background:#fbfaf8}
.provider-icon-current>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border:1px solid #e2ddd7;border-radius:11px;background:#fff;font-size:21px}
.provider-icon-current strong{display:block;color:#55545a;font-size:11px}
.provider-icon-current small{display:block;margin-top:3px;color:#918b85;font-size:9px}
.provider-icon-grid{max-height:250px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;overflow:auto;padding:2px 3px 2px 1px;scrollbar-width:thin}
.provider-icon-grid button{min-width:0;min-height:62px;display:grid;place-items:center;gap:3px;padding:7px 4px;border:1px solid #e7e1dc;border-radius:11px;background:#fff;color:#55545a;cursor:pointer}
.provider-icon-grid button:hover{border-color:#cfd7c3;background:#fafbf8}
.provider-icon-grid button.is-selected{border-color:#99a681;background:#f4f7ef;box-shadow:0 0 0 3px rgba(127,137,98,.09)}
.provider-icon-grid button>span{font-size:20px;line-height:1}
.provider-icon-grid button>small{max-width:100%;overflow:hidden;color:#827d77;font-size:7px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.provider-details{margin:0;display:grid;gap:0}
.provider-details>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px solid #f0ece8}
.provider-details>div:last-child{border-bottom:0}
.provider-details dt{color:#898991;font-size:9px;font-weight:700}
.provider-details dd{margin:0;color:#55545a;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:1100px){
.provider-content{width:94%}
.provider-card{grid-template-columns:minmax(240px,1.5fr) repeat(2,minmax(100px,.5fr)) 42px}
.provider-card-money:nth-of-type(3),.provider-card-money:nth-of-type(4){display:none}
}
@media(max-width:760px){
.provider-hero{grid-template-columns:1fr;padding:18px 16px 14px;gap:12px}
.provider-eyebrow{margin-bottom:10px;font-size:8px;letter-spacing:.13em}
.provider-title-row{grid-template-columns:40px minmax(0,1fr);gap:11px}
.provider-title-icon{width:38px;height:38px;border-radius:12px;font-size:18px}
.provider-title-row h1{font-size:30px;font-weight:400;letter-spacing:-.035em}
.provider-title-row p{margin-top:7px;font-size:10.5px;line-height:1.4}
.provider-hero-total{text-align:left;padding-left:51px}
.provider-hero-total span{font-size:8px}
.provider-hero-total strong{margin-top:5px;font-size:35px}
.provider-content{width:calc(100% - 32px);padding:12px 0 42px}
.provider-toolbar{display:grid;grid-template-columns:1fr;padding:9px;gap:8px;border-radius:16px}
.provider-button{width:100%;height:40px;min-height:40px;border-radius:11px;font-size:9px}
.provider-toolbar-filters{display:grid;grid-template-columns:1fr;gap:7px}
.provider-search,.provider-filter{width:100%;min-width:0;height:42px;border-radius:12px}
.provider-filter select{width:100%}
.provider-overview{grid-template-columns:repeat(4,120px);margin:12px 0;border-radius:16px;overflow-x:auto}
.provider-overview article{min-height:72px;padding:12px 14px}
.provider-overview span{font-size:8px}
.provider-overview strong{font-size:20px}
.provider-list-head{align-items:flex-start}
.provider-list-head h2{font-size:18px}
.provider-list-head p{font-size:9px;line-height:1.4}
.provider-card{grid-template-columns:minmax(0,1fr) 38px;gap:8px;padding:13px;border-radius:16px}
.provider-card-main{grid-template-columns:38px minmax(0,1fr);gap:10px}
.provider-card-icon{width:38px;height:38px;border-radius:11px;font-size:16px}
.provider-card h3{font-size:16px}
.provider-card-title{align-items:flex-start;flex-wrap:wrap}
.provider-card-main p{font-size:9px}
.provider-card-main small{font-size:8px;white-space:normal;line-height:1.35}
.provider-card-money{display:none}
.provider-card-action{width:34px;height:34px;font-size:16px}
.provider-dialog{box-sizing:border-box;width:calc(100% - 20px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);margin:10px auto 0;border-radius:18px 18px 0 0;overflow:hidden;background:#fff}
.provider-dialog-frame{display:flex;flex-direction:column;height:100%;overflow:hidden}
.provider-dialog header{flex:0 0 auto;padding:16px}
.provider-dialog header span{font-size:8px;letter-spacing:.13em}
.provider-dialog h2{font-size:24px}
.provider-dialog-body{flex:1 1 auto;min-height:0;max-height:none;padding:0 16px 12px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.provider-dialog footer{flex:0 0 auto;padding:10px 16px max(10px,env(safe-area-inset-bottom))}
.provider-dialog footer button{min-height:38px;padding:0 12px;border-radius:10px;font-size:10px}
.provider-form{gap:16px}
.provider-form-section{gap:9px}
.provider-form-section+ .provider-form-section{padding-top:14px}
.provider-form-section h3{font-size:8px}
.provider-form-grid,.provider-form-money{grid-template-columns:1fr 1fr;gap:8px}
.provider-form-field{gap:4px}
.provider-form-field>span{font-size:9px}
.provider-form-field input,.provider-form-field select{height:38px;padding:0 10px;border-radius:10px;font-size:16px}
.provider-form-field textarea{min-height:66px;max-height:100px;padding:8px 10px;border-radius:10px;font-size:16px}
.provider-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:230px}
.provider-icon-grid button{min-height:58px}
.provider-icon-grid button>span{font-size:19px}
.provider-details>div{grid-template-columns:110px minmax(0,1fr)}
}
@media(max-width:430px){
.provider-title-row h1{font-size:28px}
.provider-content{width:calc(100% - 24px)}
.provider-hero-total{padding-left:0}
.provider-list-head{display:grid;gap:6px}
.provider-form-grid,.provider-form-money{grid-template-columns:1fr}
.provider-dialog footer{display:grid;grid-template-columns:1fr 1fr}
.provider-dialog-spacer{display:none}
.provider-dialog footer .provider-delete{grid-column:1/-1}
.provider-dialog footer button{width:100%}
}
@media(prefers-reduced-motion:reduce){.provider-shell *{scroll-behavior:auto}}
