/* Portrait directory: quiet brass service badges against the existing navy. */
body.tech-theme.experts-page.home-view .profile-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:16px; }
body.tech-theme.experts-page.home-view .profile-card.consult-card {
  --consult-gold:#dbc38b;
  height:auto;min-height:156px;padding:19px 19px 16px;
  border:1px solid #7f8f9e40;border-radius:14px;
  background:linear-gradient(125deg,#172634,#101c28 76%);
  box-shadow:inset 0 1px #d8e5ef0b,0 6px 18px #02081228;
  transition:border-color .18s ease,box-shadow .18s ease;
}
body.tech-theme.experts-page.home-view .profile-card.consult-card::before { inset:0;opacity:1;background:linear-gradient(90deg,transparent,#dbc38b55,transparent) top/100% 1px no-repeat; }
body.tech-theme.experts-page.home-view .profile-card.consult-card::after { display:none; }
body.tech-theme.experts-page.home-view .profile-card.consult-card:hover,
body.tech-theme.experts-page.home-view .profile-card.consult-card:focus-within { transform:none;border-color:#b6a16c85;background:linear-gradient(125deg,#1b2b39,#142230 76%);box-shadow:inset 0 1px #e0cb971f,0 7px 20px #02081238; }
.consult-card-head { position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:10px; }
body.experts-page.home-view .consult-card .consult-identity { display:flex;align-items:center;gap:12px;flex:1 1 100%;height:auto;min-width:0;border-radius:7px; }
body.experts-page.home-view .consult-card .consult-identity .avatar { flex:0 0 49px;width:49px;height:49px;margin:0;border:2px solid #213441;box-shadow:0 0 0 1px #b0a17b6b; }
body.experts-page.home-view .consult-card .consult-identity .avatar-word { font-size:23px; }
body.experts-page.home-view .consult-card .profile-name { margin:0;color:#edf3f7;font-family:var(--font-body,"Microsoft YaHei",sans-serif);font-size:19px;line-height:1.4;font-weight:650;letter-spacing:0;max-height:none;overflow:visible;text-align:left; }
.consult-card-tags { display:flex;flex-wrap:wrap;align-items:center;gap:8px; }
.consult-tag { display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:26px;padding:4px 8px;border:1px solid #b49b5e59;border-radius:6px;background:#bfa66713;color:#e0c68e;font:500 12px/1.35 var(--font-body,"Microsoft YaHei",sans-serif);white-space:nowrap; }
.consult-tag svg { width:15px;height:15px;flex:none; }
button.consult-contact { position:relative;background:#c6a76020;color:#ead7ac;cursor:pointer; }
button.consult-contact::after { content:"";position:absolute;inset:-9px -2px; }
button.consult-contact:hover { border-color:#d5b574;background:#b8964c34;color:#fff0cd; }
button.consult-contact:focus-visible { outline:2px solid #f0d69e;outline-offset:4px; }
.consult-card-note { display:flex;align-items:center;gap:8px;margin-top:14px;padding:9px 10px;border:1px solid #a78d5038;border-radius:6px;background:#b29b5f0c;color:#bcaa7e;font-size:12px;line-height:1.5; }
.consult-note-mark { width:4px;height:15px;flex:none;background:#c0a765;border-radius:2px; }
.customer-service-dialog { width:min(420px,calc(100vw - 32px));padding:29px 25px 19px;border:1px solid #b19b685e;border-radius:16px;background:#112030;color:#e6eff6;box-shadow:0 24px 80px #0008; }
.customer-service-dialog::backdrop { background:#020913ba;backdrop-filter:blur(5px); }
.customer-service-dialog h2 { margin:0 40px 9px 0;font-size:23px;line-height:1.35; }
.contact-topic { margin:0 0 24px;color:#adbdca;font-size:14px;line-height:1.6;overflow-wrap:anywhere; }
.contact-close { position:absolute;right:9px;top:9px;width:44px;height:44px;background:none;border:0;color:#bdcdda;font-size:28px;cursor:pointer; }
.contact-status { min-height:21px;margin:13px 0 0;color:#c2b18a;font-size:13px; }
.contact-qr-stage { display:grid;place-items:center;min-height:180px;background:#fff;border:9px solid #fff;border-radius:9px;overflow:hidden; }
.contact-qr-stage img { display:block;width:100%;max-height:48vh;object-fit:contain;user-select:auto;-webkit-touch-callout:default; }
.contact-qr-caption { margin:13px 0 2px;color:#cbb98d;font-size:13px;line-height:1.6;text-align:center;overflow-wrap:anywhere; }
.contact-qr-controls { display:flex;align-items:center;justify-content:space-between;gap:5px; }.contact-qr-controls[hidden] { display:none; }
.contact-qr-controls>button { width:44px;height:44px;flex:none;background:#dbc38b0d;border:1px solid #dbc38b30;color:#e0c58b;border-radius:8px;font-size:28px;cursor:pointer; }
.contact-qr-dots { display:flex;justify-content:center;flex-wrap:wrap; }.contact-qr-dots button { display:grid;place-items:center;width:34px;height:44px;padding:0;border:0;background:none;cursor:pointer; }.contact-qr-dots span { width:7px;height:7px;border-radius:50%;background:#76878c; }.contact-qr-dots [aria-pressed="true"] span { background:#e5c88b;box-shadow:0 0 0 3px #d9bd7f22; }
.customer-service-dialog .contact-status { margin-top:0;text-align:center; }
.customer-service-codes { display:grid;gap:12px;margin-top:16px; }.customer-service-code { display:flex;align-items:flex-start;gap:16px;padding:14px;border:1px solid #516b7d44;border-radius:10px;background:#111e2b; }.customer-service-code>img { width:96px;height:112px;object-fit:contain;background:white;border:5px solid white;border-radius:5px; }.customer-service-code-copy { min-width:0;flex:1; }.customer-service-code .field { margin:0; }.customer-service-code-actions { display:flex;gap:8px;margin-top:10px; }.customer-service-code-actions button { min-height:36px;padding:5px 12px;border:1px solid #526c804d;background:#1c3040;color:#dce8f0;border-radius:6px;cursor:pointer; }.customer-service-code-actions button:disabled { opacity:.4;cursor:default; }.customer-service-empty { margin:0;color:#8ba4b7;font-size:14px;line-height:1.6; }
.customer-service-dialog :is(button,a):focus-visible { outline:2px solid #efcf8c;outline-offset:3px; }
.customer-service-editor { margin-top:22px;padding:22px; }.customer-service-heading { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px; }.customer-service-heading h2 { margin:0;font-size:18px; }.customer-service-heading>span { color:#a7b9c9;font-size:13px; }.customer-service-editor .field-help { margin:0 0 18px; }.customer-service-actions { display:flex;gap:10px;justify-content:flex-end;margin-top:16px; }
@media(max-width:1100px){body.tech-theme.experts-page.home-view .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){body.tech-theme.experts-page.home-view .profile-grid{grid-template-columns:minmax(0,1fr);gap:12px;}body.tech-theme.experts-page.home-view .profile-card.consult-card{min-height:0;padding:17px 16px 15px;}body.experts-page.home-view .consult-card .consult-identity{gap:12px;}body.experts-page.home-view .consult-card .profile-name{font-size:19px;}.consult-card-tags{gap:8px;}.consult-tag{font-size:12px;}.consult-card-note{margin-top:12px;}.customer-service-editor{padding:16px;}.customer-service-editor .form-row{grid-template-columns:1fr;}.customer-service-code{gap:12px;padding:10px;}.customer-service-code>img{width:72px;height:92px;}.customer-service-code-actions{gap:5px;flex-wrap:wrap;}.customer-service-code-actions button{min-height:44px;padding:5px 10px;}}
@media(prefers-reduced-motion:reduce){body.tech-theme.experts-page.home-view .profile-card.consult-card{transition:none;}.customer-service-dialog::backdrop{backdrop-filter:none;}}
