:root{--ink:#22252a;--muted:#737780;--teal:#315bd6;--line:#e5e7eb;--paper:#fff;--cream:#f7f8fa;font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;color:var(--ink);background:#f7f8fa;color-scheme:light;font-synthesis:none}
.nav-chat-unread,.nav-notification-unread{margin-left:auto;min-width:19px;height:19px;border-radius:10px;background:#315bd6;color:#fff;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;font-size:10px;font-weight:700}.response-chat-hint{font-size:11px;line-height:1.7;color:var(--muted)}
*{box-sizing:border-box}body{margin:0;min-width:300px;letter-spacing:-.02em;word-break:keep-all}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #315bd6;outline-offset:3px}[hidden]{display:none!important}.skip:not(:focus){position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}.skip:focus{position:fixed;top:10px;left:10px;padding:12px;background:white;z-index:20}
.portal-header{height:76px;display:flex;align-items:center;gap:45px;padding:0 42px;background:#fff;border-bottom:1px solid var(--line)}.portal-brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:22px;letter-spacing:-.02em;font-weight:700}.portal-brand img{display:block}.role-switch{display:flex;gap:5px;background:#f4f5f7;padding:4px;border-radius:8px}.role-switch a{padding:9px 17px;border-radius:7px;font-size:13px;font-weight:700;white-space:nowrap}.role-switch a[aria-current=page]{background:#fff;box-shadow:none;color:#315bd6}.portal-home{margin-left:auto;font-size:13px;color:var(--muted);white-space:nowrap}.portal-shell{display:grid;grid-template-columns:220px minmax(0,1fr);max-width:1440px;margin:auto;min-height:calc(100vh - 80px)}.portal-sidebar{padding:31px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#fff}.space-label{font-size:11px;font-weight:650;color:#737780;margin:0 12px 16px}.portal-sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:10px;font-size:14px;font-weight:650;color:#50555e}.nav-link:hover{background:#f7f8fa}.nav-link[aria-current=page]{color:#315bd6;background:#f0f4ff;font-weight:600}.nav-dot{width:18px;text-align:center;color:#9097a3;font-size:16px}.sidebar-foot{margin-top:auto;padding:40px 13px 8px;color:#737780;font-size:11px;line-height:1.8}.mini-mark{font-size:28px;color:#737780}.admin-nav-link{margin-top:16px;border-top:1px solid var(--line);padding-top:17px}
#portal-main{min-width:0;padding:38px 42px 60px;outline:0;max-width:1180px;width:100%;margin:auto;align-self:start}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.page-eyebrow{font-size:12px;color:#737780;font-weight:650;margin-bottom:8px}.page-heading h1{font-size:29px;line-height:1.35;letter-spacing:-.02em;font-weight:650}.page-heading p:not(.page-eyebrow){color:var(--muted);font-size:13px;margin-top:8px;line-height:1.8}.button{border:1px solid #e5e7eb;border-radius:9px;background:#fff;padding:11px 17px;font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.4;white-space:normal;text-align:center}.button:hover{background:#f7f8fa}.button.primary{background:var(--teal);color:#fff;border-color:var(--teal)}.button.primary:hover{background:#2349b5}.button.soft{background:#f2f5fc;color:#315bd6;border-color:transparent}.button.danger{color:#a54a3e;border-color:#e5cbc4}.button.small{padding:8px 11px;font-size:12px}.button.linklike{border:0;background:none;padding:5px 0;color:var(--teal)}.action-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:17px}.action-row.end{justify-content:flex-end}.card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:24px}.card+.card{margin-top:14px}.section-title{font-size:18px;letter-spacing:-.02em;margin-bottom:15px;font-weight:650}.intro-banner{background:#f7f8fa;border:1px solid #e5e7eb;border-radius:10px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:24px;border-color:#e5e7eb}.intro-banner h2{font-size:25px;line-height:1.45;letter-spacing:-.02em;font-weight:650}.intro-banner p{font-size:13px;line-height:1.8;color:#50555e;margin-top:10px}.intro-art{flex:0 0 115px;width:115px}.intro-art svg{width:100%;display:block}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px}.stat-label{font-size:12px;color:var(--muted);line-height:1.6}.stat strong{display:block;font-size:28px;margin-top:10px;letter-spacing:-.02em}.stat small{display:block;color:#737780;font-size:11px;margin-top:5px;line-height:1.5}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.summary-grid>.card{margin:0}.summary-grid p{font-size:13px;line-height:1.8;color:var(--muted)}.list{display:grid;gap:14px}.record{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;min-width:0}.record-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.record h2,.record h3{font-size:17px;line-height:1.55;letter-spacing:-.02em;overflow-wrap:anywhere;font-weight:650}.record-body{font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px;color:#22252a}.record-meta{display:flex;flex-wrap:wrap;gap:7px 13px;font-size:12px;color:#737780;line-height:1.8;margin-top:10px}.record-price{font-size:19px;font-weight:700;white-space:nowrap;color:#22252a}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.tag{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;background:#f7f8fa;color:#50555e;font-size:10px;font-weight:650;line-height:1.4}.tag.good{background:#e5f2e7;color:#34734d}.tag.warm{background:#fff0d3;color:#98702b}.tag.muted{background:#f7f8fa;color:#737780}.tag.alert{background:#f9e9e4;color:#a25845}.notice{background:#f7f8fa;border:1px solid #e5e7eb;border-radius:10px;padding:13px 15px;color:#50555e;font-size:12px;line-height:1.8;margin:15px 0}.notice.warm{background:#fff6df;border-color:#f0e4c1;color:#8a7547}.portal-state{background:#fff;border:1px dashed #e5e7eb;border-radius:10px;padding:44px 23px;text-align:center;color:#737780;line-height:1.85;font-size:14px}.portal-state h2{color:#22252a;font-size:20px;margin-bottom:9px}.portal-state .button{margin-top:17px}.error-state{border-color:#e8cec4;background:#fffcf8;color:#a05c48}.inline-error{color:#aa4d3d;font-size:12px;line-height:1.65;margin-top:12px}.inline-success{color:#32794d;font-size:12px;margin-top:12px;line-height:1.65}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.list-toolbar select{width:auto;max-width:100%;margin:0}.more-row{text-align:center;margin-top:21px}.form-grid{display:grid;gap:20px}.field{display:block;min-width:0}.field-label{display:block;font-size:13px;font-weight:650;margin-bottom:9px}.field input:not([type=checkbox]),.field textarea,.field select,.list-toolbar select{border:1px solid #e5e7eb;border-radius:9px;background:white;color:#22252a;padding:11px 12px;width:100%;font-size:14px;line-height:1.5}.field textarea{resize:vertical;min-height:110px}.field-hint{display:block;font-size:11px;line-height:1.7;color:#737780;margin-top:6px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.check-label{display:flex;gap:8px;align-items:center;padding:11px;background:#f7f8fa;border:1px solid #e5e7eb;border-radius:8px;font-size:12px;line-height:1.6}.check-label input{accent-color:var(--teal);width:16px;height:16px;flex:none}.plain-check{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.8;color:#50555e}.plain-check input{margin-top:5px;accent-color:var(--teal)}.detail-grid{display:grid;grid-template-columns:110px 1fr;gap:10px 18px;font-size:13px;line-height:1.75;margin:18px 0}.detail-grid dt{color:#737780}.detail-grid dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.notification.unread{border-left:3px solid #315bd6}.notification h3{font-size:15px}.admin-scroll{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;font-size:12px;min-width:570px}.admin-table th{text-align:left;background:#f7f8fa;color:#737780;padding:12px;font-weight:650}.admin-table td{padding:14px 12px;border-bottom:1px solid var(--line);line-height:1.7;vertical-align:top;max-width:280px;overflow-wrap:anywhere}.admin-table td .button{margin:3px 5px 3px 0}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:12px;color:var(--muted)}.admin-details{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:#50555e}
#portal-dialog{width:min(620px,calc(100% - 32px));max-height:90vh;border:0;border-radius:12px;padding:31px;background:#fff;color:var(--ink);box-shadow:0 12px 48px #0000001a;overflow:auto}#portal-dialog::backdrop{background:#12182666;backdrop-filter:none}#portal-dialog-title{font-size:23px;padding-right:25px;margin-bottom:12px;line-height:1.4}.dialog-close{position:absolute;right:16px;top:12px;background:none;border:0;font-size:28px;color:#737780;padding:2px 7px}.dialog-lead{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:19px}.dialog-list{margin-top:23px;padding-top:22px;border-top:1px solid var(--line)}#portal-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 23px;background:#22252a;color:white;font-size:13px;border-radius:11px;box-shadow:0 4px 16px #00000014;max-width:calc(100% - 30px);z-index:30;text-align:center;line-height:1.7}.flow-dialog button{letter-spacing:inherit}
@media(max-width:1100px){.portal-header{padding-inline:27px;gap:28px;height:73px}.portal-shell{grid-template-columns:190px minmax(0,1fr)}.portal-sidebar{padding-inline:15px;background:#fff}#portal-main{padding:30px 28px 50px}.stats{gap:10px}.stat{padding:18px}.stat strong{font-size:25px}}
@media(max-width:800px){.portal-shell{grid-template-columns:1fr}.portal-sidebar{padding:13px 22px;border-right:0;border-bottom:1px solid var(--line);background:#fff}.space-label,.sidebar-foot{display:none}.portal-sidebar nav{flex-direction:row;overflow-x:auto;gap:5px;scrollbar-width:thin}.nav-link{white-space:nowrap;padding:10px 12px;font-size:12px}.nav-dot{display:none;color:#9097a3}.admin-nav-link{margin:0;border:0;padding-top:10px}#portal-main{padding:28px 22px 45px}.portal-header{height:73px;padding-inline:23px;gap:21px}.portal-brand{font-size:22px;font-weight:700}.role-switch a{padding:8px 12px}.page-heading h1{font-size:26px;font-weight:650}.intro-banner{padding:23px;background:#f7f8fa;border-color:#e5e7eb}.intro-banner h2{font-size:23px;font-weight:650}}
@media(max-width:540px){.portal-header{height:auto;min-height:105px;flex-wrap:wrap;gap:12px;padding:16px 18px}.portal-brand{font-size:22px;gap:8px;font-weight:700}.portal-brand img{width:30px;height:30px}.portal-home{font-size:11px}.role-switch{order:3;flex-basis:100%;justify-content:center;background:#f4f5f7;border-radius:8px}.role-switch a{flex:1;text-align:center;padding:7px}.portal-sidebar{padding:10px 13px;background:#fff}#portal-main{padding:23px 16px 40px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:23px}.page-heading h1{font-size:24px;font-weight:650}.page-heading p:not(.page-eyebrow){font-size:12px}.page-heading>.button{font-size:12px;padding:10px 12px;flex:none;max-width:115px}.intro-banner{padding:23px 19px;gap:12px;background:#f7f8fa;border-color:#e5e7eb}.intro-banner h2{font-size:21px;font-weight:650}.intro-banner p{font-size:12px}.intro-art{flex-basis:75px;width:75px}.stats{grid-template-columns:1fr;gap:9px;margin-bottom:21px}.stat{display:grid;grid-template-columns:1fr auto;align-items:center;padding:15px 18px;gap:0 12px}.stat strong{margin:0;font-size:24px;grid-column:2;grid-row:1/3}.stat small{margin-top:2px}.summary-grid{grid-template-columns:1fr}.card{padding:20px}.record{padding:18px}.record-top{flex-wrap:wrap}.record h2,.record h3{font-size:16px;font-weight:650}.record-price{font-size:18px;color:#22252a;font-weight:700}.record-body{font-size:13px}.record-meta{font-size:11px}.button{font-size:12px}.check-grid{grid-template-columns:1fr 1fr}.form-columns{grid-template-columns:1fr}.detail-grid{grid-template-columns:86px 1fr;gap:8px 12px;font-size:12px}#portal-dialog{padding:27px 21px;width:calc(100% - 24px);border-radius:12px;box-shadow:0 12px 48px #0000001a}#portal-dialog-title{font-size:21px}.list-toolbar{align-items:stretch}.list-toolbar select{max-width:180px}.portal-state{padding:32px 18px}.portal-state h2{font-size:18px}}
.portal-sidebar,.portal-sidebar nav,.record-top>h2,.record-top>h3,.intro-banner>div{min-width:0}
.portal-sidebar nav{max-width:100%}
@media(max-width:800px){.portal-shell{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:800px){.portal-shell{align-content:start}}
.consumer-request{border-color:#e5e7eb;padding:24px 26px}.consumer-request.has-unread{border-color:#a5b9f0;box-shadow:inset 3px 0 #315bd6}.consumer-request .record-top h2{font-size:19px;line-height:1.65;white-space:pre-wrap}.consumer-request .record-meta{margin-top:12px}.request-responses{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:20px;padding:15px 17px;border-radius:10px;background:#f7f8fa;font-size:14px}.has-unread .request-responses{background:#f2f5fc}.response-count{font-size:18px;color:#315bd6}.response-unread{margin-left:auto;background:#315bd6;color:#fff;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:650}.response-status{margin-left:auto;color:#737780;font-size:12px}.consumer-request>.action-row{padding-top:15px;margin-top:4px}.consumer-request>.action-row .primary{margin-right:auto}.request-toolbar p{font-size:12px;line-height:1.7;color:var(--muted)}.received-response .new-response{color:#fff;background:#315bd6}.response-details{margin-top:19px;border-top:1px solid var(--line)}.response-details>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;min-height:44px;padding-top:13px;font-size:13px;font-weight:650;color:var(--teal)}.response-details>summary::-webkit-details-marker{display:none}.response-details>summary::after{content:"+";font-size:20px}.response-details[open]>summary::after{content:"−"}.response-details>summary:focus-visible{outline:3px solid #315bd6;outline-offset:4px}.response-body>.record-body{margin-top:16px}.read-retry .button{margin-top:10px}
@media(max-width:540px){.consumer-request{padding:20px 18px}.consumer-request .record-top{gap:10px}.consumer-request .record-top h2{font-size:17px}.request-responses{padding:13px 12px;gap:5px}.response-unread,.response-status{margin-left:0;flex-basis:100%;margin-top:6px}.response-unread{flex-basis:auto;background:#315bd6}.consumer-request>.action-row{gap:8px}.consumer-request>.action-row .primary{flex-basis:100%;margin-right:0}.consumer-request>.action-row .button{padding:9px 12px}.request-toolbar{align-items:center}.request-toolbar p{max-width:190px;font-size:11px}}
body[data-role="admin"] .admin-identity{display:flex;align-items:center;gap:16px;min-width:0}
.request-meeting{color:#50555e;font-size:12px;font-weight:650;line-height:1.8;margin-top:12px;overflow-wrap:anywhere}.provider-service-areas{border-top:1px solid var(--line);padding-top:20px;min-width:0}.provider-service-areas .sa-label{font-size:13px}.provider-service-areas .sa-hint{font-size:11px}
.request-example-notice{padding:17px 20px;background:#f8f1db;border:1px solid #e9dfbd;border-radius:12px;color:#71613b;font-size:13px;line-height:1.8}.request-example-notice strong{display:block;color:#5c5136;font-size:14px}.request-example-notice p{margin-top:4px}.example-label{background:#faf0d7;color:#8b6828;border:1px solid #e9d7ab}
.proposal-amount{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;padding:20px 0 18px;border-bottom:1px solid var(--line);margin-bottom:18px}.proposal-price-label{flex-basis:100%;font-size:12px;color:var(--muted);font-weight:650}.proposal-hourly-price{font-size:27px;line-height:1.4;letter-spacing:-.02em;color:#22252a;overflow-wrap:anywhere;font-weight:700}.proposal-hours{font-size:13px;color:#50555e;white-space:nowrap}.proposal-total{flex-basis:100%;font-size:14px;font-weight:700;color:#50555e}.proposal-total.pending{font-size:12px;font-weight:500;color:var(--muted)}.proposal-rounding{font-size:11px;color:var(--muted)}.proposal-provider-name{font-size:17px;line-height:1.6}.provider-stats{display:flex;gap:8px 15px;flex-wrap:wrap;margin-top:11px;font-size:12px;line-height:1.7;color:#50555e}.provider-stats .stats-example{font-size:10px;color:#91733a;background:#faf2dd;border-radius:4px;padding:1px 5px}.response-sort-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:26px 0 18px}.response-sort-toolbar .field{min-width:170px;max-width:220px}.response-sort-toolbar .field-label{font-size:12px}.response-sort-toolbar select{font-size:13px}.response-sort-toolbar>p{font-size:11px;line-height:1.7;color:var(--muted);padding-bottom:9px}.proposal-estimate{padding:14px 16px;background:#f7f8fa;border:1px solid #e5e7eb;border-radius:10px;font-size:13px;line-height:1.8;color:#50555e}
@media(max-width:540px){.proposal-hourly-price{font-size:24px;color:#22252a;font-weight:700}.proposal-amount{gap:7px 11px;padding-top:16px}.response-sort-toolbar{align-items:start;flex-direction:column;gap:8px}.response-sort-toolbar .field{max-width:none;width:100%;min-width:0}.response-sort-toolbar>p{padding:0}.provider-stats{gap:7px 12px}.provider-stats .stats-example{flex-basis:auto}}
.provider-registration-intro{margin-bottom:28px;padding:34px 36px;background:#f0f4ff;border:1px solid #e0e7fa;border-radius:10px}
.provider-registration-eyebrow{margin-bottom:13px;color:#315bd6;font-size:13px;font-weight:600;line-height:1.5}
.provider-registration-intro h1{color:#22252a;font-size:28px;font-weight:650;line-height:1.5;letter-spacing:-.025em}
.provider-registration-intro h1 span{display:block}
.provider-registration-description{margin-top:17px;max-width:640px;color:#626b7a;font-size:15px;line-height:1.85}
.provider-registration-signin>p{max-width:520px;margin-top:12px;color:var(--muted);font-size:14px;line-height:1.8}
.provider-registration-signin>.button{margin-top:22px}
@media(max-width:800px){.provider-registration-intro{padding:28px}.provider-registration-intro h1{font-size:25px}}
@media(max-width:540px){.provider-registration-intro{padding:25px 21px;margin-bottom:20px}.provider-registration-eyebrow{font-size:12px;margin-bottom:12px}.provider-registration-intro h1{font-size:23px;line-height:1.5}.provider-registration-description{margin-top:15px;font-size:13px;line-height:1.85}.provider-registration-signin>p{font-size:13px}.provider-registration-signin>.button{width:100%;text-align:center}}
body[data-role="admin"] .admin-header-label{padding-left:16px;border-left:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:650;white-space:nowrap}
@media(max-width:540px){body[data-role="admin"] .portal-header{min-height:0;gap:10px;padding-block:14px}body[data-role="admin"] .admin-identity{width:100%;gap:12px}body[data-role="admin"] .admin-header-label{padding-left:12px;font-size:11px}body[data-role="admin"] .portal-home{margin-left:auto}body[data-role="admin"] .portal-shell{min-height:calc(100vh - 95px)}}
.provider-profile-editor{display:grid;gap:23px;border-top:1px solid var(--line);padding-top:27px;margin-top:5px;min-width:0}
.provider-profile-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.provider-profile-editor-heading>div{min-width:0}.provider-profile-editor-heading .section-title{margin-bottom:8px;font-size:19px;line-height:1.5}
.provider-profile-editor-heading p{font-size:13px;line-height:1.8;color:var(--muted)}.provider-profile-editor-heading>.button{flex:none}
.provider-profile-editor textarea{min-height:160px}
.portfolio-editor{min-width:0}.portfolio-editor-heading{display:flex;align-items:center;gap:12px;margin-bottom:7px}.portfolio-editor-heading h3{font-size:14px;font-weight:650}
.portfolio-counter{margin-left:auto;color:var(--muted);font-size:12px}.portfolio-editor>.field-hint{margin-bottom:15px;max-width:650px}
.portfolio-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:17px}
.portfolio-editor-item{min-width:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.portfolio-editor-item>img{display:block;width:100%;height:155px;object-fit:cover;background:#f7f8fa}
.portfolio-editor-actions{display:flex;gap:5px;align-items:center;padding:9px}.portfolio-editor-actions>span{margin-right:auto;font-size:11px;color:var(--muted)}.portfolio-editor-actions .button{padding:6px 9px;min-height:32px}
.portfolio-editor-empty{grid-column:1/-1;padding:28px 16px;border:1px dashed #d7dce5;background:#fafbfc;border-radius:9px;color:var(--muted);font-size:13px;text-align:center;line-height:1.8}
.portfolio-file-input{display:block;max-width:100%;border:1px solid var(--line);padding:9px;border-radius:8px;font-size:12px;background:#fff;color:var(--muted)}
.portfolio-file-input::file-selector-button{padding:9px 12px;margin-right:12px;border:0;border-radius:5px;background:#f0f4ff;color:var(--teal);font:inherit;font-weight:650;cursor:pointer}
.portfolio-file-input:disabled{opacity:.6;cursor:wait}.portfolio-upload-status{margin-top:10px;font-size:12px;color:#50555e;line-height:1.8}.portfolio-upload-status:empty{display:none}.portfolio-editor>.inline-error{white-space:pre-wrap;overflow-wrap:anywhere}
.portfolio-drafts:empty{display:none}.portfolio-drafts{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.portfolio-drafts h4{margin:0;font-size:14px;font-weight:650}.portfolio-drafts .field-hint{margin-bottom:13px}
.provider-profile-dialog{width:min(680px,calc(100% - 32px));max-height:90vh;border:0;border-radius:12px;padding:30px;background:#fff;color:var(--ink);box-shadow:0 12px 48px #00000024;overflow:auto}
.provider-profile-dialog::backdrop{background:#12182666}.provider-profile-title{font-size:21px;line-height:1.5;padding-right:32px;margin-bottom:22px;font-weight:650}.profile-dialog-close.button{position:absolute;right:15px;top:12px;border:0;background:none;font-size:28px;color:var(--muted);padding:2px 8px;min-height:40px}
.provider-profile-content{min-width:0}.provider-profile-content>.notice{margin-top:0}.provider-profile-identity{display:flex;align-items:center;gap:16px}.provider-profile-identity>div{min-width:0}
.provider-profile-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:#f0f4ff;color:var(--teal);font-size:23px;font-weight:650}
.provider-profile-name{font-size:20px;line-height:1.6;overflow-wrap:anywhere}.provider-profile-headline{font-size:14px;line-height:1.7;color:#50555e;margin-top:4px;overflow-wrap:anywhere}
.provider-profile-categories{margin:18px 0 10px}.provider-profile-section{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.provider-profile-section>h3{font-size:16px;font-weight:650;line-height:1.5}.provider-profile-section>.record-body{font-size:14px;margin-top:12px}
.profile-empty-copy{font-size:13px;line-height:1.8;color:var(--muted);margin-top:12px}.portfolio-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}
.portfolio-thumb.button{display:block;padding:0;overflow:hidden;aspect-ratio:1;border-radius:8px;background:#f7f8fa;border-color:var(--line);min-width:0}
.portfolio-thumb>img{display:block;width:100%;height:100%;object-fit:cover}.portfolio-image-error{display:flex;align-items:center;justify-content:center;min-height:120px;padding:16px;font-size:12px;color:var(--muted);line-height:1.7;text-align:center}
.portfolio-expanded{margin-top:16px;padding:12px;background:#f7f8fa;border:1px solid var(--line);border-radius:9px}.portfolio-expanded:focus{outline:2px solid var(--teal);outline-offset:3px}.portfolio-expanded>img{display:block;width:100%;max-height:60vh;object-fit:contain}.portfolio-expanded>.action-row{justify-content:space-between;margin-top:10px}
.profile-save-state{display:flex;flex-direction:column;gap:5px;padding:13px 15px;background:#f6f8fc;border:1px solid #e2e7f0;border-radius:8px;line-height:1.7;font-size:13px}.profile-save-state strong{font-weight:600}.profile-save-state>span{font-size:12px;color:var(--muted)}.profile-save-state[data-state="saved"] strong{color:#3454a4}.profile-save-state[data-state="dirty"]{background:#fffaf0;border-color:#eee1c8}.profile-save-state[data-state="error"]{background:#fff6f6;border-color:#efd7d7}.profile-save-state[data-state="error"] strong{color:#a33636}
.provider-profile-read-view{display:grid;gap:20px}.provider-profile-read-view>.page-heading{margin-bottom:0}.provider-profile-readonly{margin:0}.provider-profile-readonly .provider-profile-content{max-width:760px}
@media(max-width:1100px){.portfolio-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-profile-editor-heading{flex-wrap:wrap}}
@media(max-width:540px){.provider-profile-editor-heading{gap:12px}.provider-profile-editor-heading .section-title{font-size:17px}.provider-profile-editor-heading p{font-size:12px}.provider-profile-editor{gap:20px;padding-top:23px}.portfolio-editor-grid{gap:10px}.portfolio-editor-item>img{height:130px}.portfolio-editor-actions{padding:7px;gap:4px}.portfolio-editor-actions .button{padding:5px 7px;font-size:11px}.provider-profile-dialog{width:calc(100% - 24px);padding:25px 20px}.provider-profile-title{font-size:19px}.provider-profile-identity{gap:12px}.provider-profile-avatar{flex-basis:48px;width:48px;height:48px;font-size:20px}.provider-profile-name{font-size:18px}.provider-profile-headline{font-size:13px}.portfolio-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-profile-section>.record-body{font-size:13px}}

.proposal-demo-chat-header{border-bottom:1px solid var(--line);padding-bottom:18px;margin-top:20px}.proposal-demo-chat-header>p{font-size:13px;line-height:1.7;margin-top:12px}.proposal-demo-chat-header .action-row{justify-content:space-between;gap:8px}.proposal-demo-chat-messages{display:flex;flex-direction:column;gap:18px;background:#f7f8fc;border:1px solid #e6e9f0;border-radius:8px;margin-top:18px;padding:18px;height:280px;overflow:auto;overscroll-behavior:contain}.proposal-demo-chat-message{max-width:85%;align-self:flex-start;min-width:0}.proposal-demo-chat-message.mine{align-self:flex-end}.proposal-demo-chat-message>span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.proposal-demo-chat-message>p{padding:12px 14px;border:1px solid #e1e5ed;border-radius:2px 12px 12px;background:white;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.proposal-demo-chat-message.mine>p{background:#eef1ff;border-color:#dce1fc;border-radius:12px 2px 12px 12px}.proposal-demo-chat-form{margin-top:18px}.proposal-demo-chat-form textarea{min-height:80px}.proposal-demo-chat-form .action-row{justify-content:flex-end;margin-top:10px}.proposal-demo-chat-form>.field-hint{margin-top:10px}@media(max-width:540px){.proposal-demo-chat-messages{height:250px;padding:12px}.proposal-demo-chat-message{max-width:92%}.proposal-demo-chat-header .action-row{justify-content:flex-start}}

/* Keep close controls outside the scrolling dialog body. */
#portal-dialog,.provider-profile-dialog{padding:56px 0 0;max-height:90vh;max-height:90dvh;overflow:hidden}
#portal-dialog-body,.provider-profile-dialog-body{max-height:calc(90vh - 56px);max-height:calc(90dvh - 56px);overflow:auto;overscroll-behavior:contain;padding:0 31px 31px}
.provider-profile-dialog-body{padding:0 30px 30px}
#portal-dialog>.dialog-close,.provider-profile-dialog>.profile-dialog-close.button{position:absolute;right:10px;top:6px;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:8px;background:#fff;line-height:1;color:#737780}
#portal-dialog>.dialog-close:hover,.provider-profile-dialog>.profile-dialog-close.button:hover{background:#f4f5f7;color:var(--ink)}
@media(max-width:540px){#portal-dialog-body{padding:0 21px 27px}.provider-profile-dialog-body{padding:0 20px 25px}.profile-save-state{font-size:12px}}
.proposal-allowance{padding:18px 20px;margin-bottom:22px;border:1px solid #e1e6ef;border-radius:9px;background:#f8faff;line-height:1.8;font-size:13px}.proposal-allowance>strong{display:block;font-size:14px;margin-bottom:4px}.proposal-allowance>.field-hint{margin-top:8px}.allowance-counts{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:11px;color:#3454a4;font-weight:650}.allowance-wait{padding-top:12px;margin-top:12px;border-top:1px solid #e1e6ef;color:#856220;font-weight:600}.approved-profile-fold>summary{cursor:pointer;font-size:14px;font-weight:650;line-height:1.8;list-style-position:inside}.approved-profile-fold[open]>summary{margin-bottom:22px}.approved-profile-fold>summary:focus-visible{outline:3px solid #315bd6;outline-offset:4px}.provider-profile-readonly>.section-title{margin-bottom:24px}

/* Compact notification rows preserve the complete message and explicit read actions. */
.notification-toolbar{margin:0 0 12px;gap:10px;justify-content:space-between}
.notification-toolbar .notification-filter{display:inline-flex;align-items:center;gap:8px;min-height:40px;font-size:14px;background:#fff;border-color:#dce0e9;color:#555f70}
.notification-filter::before{content:"";display:block;width:16px;height:16px;box-sizing:border-box;border:1px solid #a5adbd;border-radius:4px}
.notification-filter[aria-pressed="true"]{background:#eef2ff;border-color:#a8b8f0;color:#354fb3}
.notification-filter[aria-pressed="true"]::before{content:"✓";display:grid;place-items:center;border-color:#4563d7;background:#4563d7;color:#fff;font-size:12px;line-height:1}
.notification-toolbar .button.small{font-size:14px}
.notification-feed>.list{gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.notification-feed .notification{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:14px;align-items:start;padding:15px 18px;border:0;border-bottom:1px solid #e9ecf1;border-radius:0}
.notification-feed .notification:last-child{border-bottom:0}
.notification-feed .notification.unread{border-left:0;background:#f4f7ff}
.notification-dot{width:7px;height:7px;border-radius:50%;margin-top:7px;background:transparent;border:1px solid #d9dee7}
.notification.unread .notification-dot{background:#4563d7;border-color:#4563d7;box-shadow:0 0 0 3px #e6ebff}
.notification-content{min-width:0}
.notification .notification-title{font-size:14px;line-height:1.5;font-weight:550;color:#454b55}
.notification.unread .notification-title{color:#202c52;font-weight:700}
.notification-body{margin-top:4px;font-size:12px;line-height:1.65;color:#737b89;white-space:pre-wrap;overflow-wrap:anywhere}
.notification.unread .notification-body{color:#56617a}
.notification-aside{display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:160px}
.notification-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:11px;line-height:1.8;white-space:nowrap}
.notification-read-state{font-size:12px;color:#68717e}
.notification.unread .notification-read-state{color:#3e5ec9;font-weight:650}
.notification-time{color:#8c939e;font-variant-numeric:tabular-nums}
.notification-actions{display:flex;align-items:center;justify-content:flex-end;gap:13px;flex-wrap:wrap}
.notification-actions .button.small{min-height:28px;padding:3px 0;border:0;border-radius:3px;background:transparent;font-size:11px;color:#626d82;font-weight:500}
.notification-actions a.button.small{color:#4260bc;font-weight:600}
.notification-actions .button.small:hover{background:transparent;text-decoration:underline;text-underline-offset:3px}
.notification-feed .portal-state{border:0;border-radius:0}
@media(max-width:640px){.notification-feed .notification{grid-template-columns:7px minmax(0,1fr);gap:5px 12px;padding:13px 14px}.notification-aside{grid-column:2;min-width:0;flex-direction:row;justify-content:space-between;align-items:center;gap:5px 12px;flex-wrap:wrap}.notification-meta{gap:8px}.notification .notification-title{font-size:13px}.notification-body{font-size:12px;margin-top:3px}.notification-actions{gap:12px}.notification-actions .button.small{min-height:32px}.notification-dot{margin-top:6px}}
