/* Quiet form surfaces: one field, one focus ring, no nested frames. */
.profile-material-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px 22px; }
.profile-material-actions button { display:inline-flex; align-items:center; gap:8px; padding:8px 0; min-height:44px; border:0; background:none; color:#9a6a12; cursor:pointer; font:600 14px/1.5 var(--cortex-font); }
.profile-material-actions small,.profile-material-hint { color:#8a8274; font-size:12px; line-height:1.7; }
.profile-material-hint { margin:0 0 8px; }
.profile-materials button:focus-visible { outline:3px solid rgba(214,150,40,.42); outline-offset:3px; border-radius:4px; }
.profile-materials button:disabled { opacity:.5; cursor:default; }
.profile-document-list { list-style:none; padding:0; margin:0; display:grid; gap:7px; }
.profile-document-list li { display:flex; align-items:center; gap:12px; min-width:0; border-radius:10px; background:#f6f1e7; padding:6px 10px 6px 12px; }
.profile-document-type { color:#7d5409; font-size:10px; font-weight:700; letter-spacing:.03em; width:35px; flex-shrink:0; }
.profile-document-name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.profile-document-list small { color:#8a8579; font-size:11px; white-space:nowrap; }
.profile-document-list button { border:0; background:none; color:#8a8579; cursor:pointer; font-size:22px; width:36px; height:36px; flex-shrink:0; }
.organization-profile-card .profile-company-text { margin-top:14px; }
.organization-profile-card .profile-company-text label { font-size:13px; margin-bottom:8px; }
.organization-profile-card #profileCompanyText { display:block; width:100%; min-height:132px; max-height:280px; overflow-y:auto; resize:vertical; font-size:14px; font-weight:400; line-height:1.75; }
.profile-company-text > small { display:block; text-align:right; margin-top:5px; color:#948f83; font-size:11px; }
.organization-profile-card .profile-material-consent { display:flex; align-items:flex-start; gap:9px; margin-top:14px; color:#867e70; font-size:12px; font-weight:400; line-height:1.7; }
.organization-profile-card .profile-material-consent input { appearance:auto; width:17px; height:17px; min-height:0; padding:0; margin:2px 0 0; flex-shrink:0; accent-color:#9a6a12; }
.profile-material-status { color:#9a6a12; font-size:12px; line-height:1.6; margin:8px 0 0; }
.profile-material-status:empty { display:none; }
.profile-social-sources { border:0; padding:0; background:transparent; }
.profile-social-sources summary { cursor:pointer; color:#9a6a12; font-size:15px; font-weight:600; padding:10px 0; min-height:44px; }
.profile-social-sources summary small { font-size:12px; font-weight:400; color:#888377; margin-left:12px; }
.profile-media-content { padding:6px 0 10px; }
.profile-media-content > p,.profile-media-toolbar small { color:#857d6d; font-size:13px; line-height:1.65; margin:0 0 12px; }
.profile-social-links { display:grid; gap:8px; }
.organization-profile-card .profile-social-links input { min-height:44px; font-size:14px; padding:11px 14px; border-radius:10px; }
.profile-media-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding-top:12px; }
.profile-media-toolbar button { color:#9a6a12; border:0; background:none; padding:10px 0; cursor:pointer; min-height:44px; font:600 14px/1.4 var(--cortex-font); }
.profile-media-toolbar small { margin:0; }
.profile-screenshot-previews { display:flex; flex-wrap:wrap; gap:14px; margin:8px 0; }
.profile-screenshot-previews > div { position:relative; width:110px; min-width:0; }
.profile-screenshot-previews img { display:block; height:90px; width:110px; object-fit:cover; border-radius:10px; background:#f3ecdf; }
.profile-screenshot-previews span { display:block; font-size:11px; color:#878074; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding-top:5px; }
.profile-screenshot-previews button { position:absolute; right:0; top:0; width:34px; height:34px; border:0; border-radius:0 10px 0 12px; cursor:pointer; background:#fff; color:#655f51; font-size:22px; }
.organization-profile-card .profile-image-consent { display:flex; gap:10px; align-items:flex-start; color:#7c7363; font-size:12px; line-height:1.6; font-weight:400; margin-top:14px; }
.organization-profile-card .profile-image-consent input { width:18px; height:18px; min-height:18px; margin:2px 0 0; flex-shrink:0; accent-color:#9a6a12; }
.profile-media-content [data-media-status]:empty,.profile-source-checks:empty { display:none; }
.profile-source-checks { display:grid; gap:12px; }
.profile-source-check { padding:10px 14px; border-left:3px solid #d4ac71; background:#faf8f3; border-radius:0 8px 8px 0; min-width:0; }
.profile-source-check.readable { border-color:#8bb9a8; background:#f2f8f5; }
.profile-source-check strong { display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size:13px; font-weight:500; overflow-wrap:anywhere; }
.profile-source-check strong small { font-size:11px; color:#637f77; white-space:nowrap; }
.profile-source-check p { font-size:12px; color:#79756c; margin:5px 0 0; line-height:1.65; }
.profile-screenshot-source { display:grid; gap:3px; padding:8px 10px; }
.profile-screenshot-source small { font-size:11px; color:#7d796f; }
.profile-extract-spinner { display:inline-block; width:13px; height:13px; border:2px solid #ecdcb8; border-top-color:#9a6a12; border-radius:50%; vertical-align:-2px; margin-right:7px; animation:profile-source-spin .8s linear infinite; }
@keyframes profile-source-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .profile-extract-spinner { animation:none; } }
.organization-profile-heading { border-bottom:0; padding-bottom:22px; }
.organization-profile-card .profile-group { border-bottom:0; padding-block:28px 34px; gap:20px; }
.organization-profile-card .profile-group + .profile-group { margin-top:12px; }
.organization-profile-card .profile-group input:not([type=file]),
.organization-profile-card .profile-group textarea { border-color:transparent; background:#f6f1e7; font-weight:450; }
.organization-profile-card .profile-group input:not([type=file]):hover,
.organization-profile-card .profile-group textarea:hover { background:#f1eadd; }
.organization-profile-card .profile-group input:not([type=file]):focus,
.organization-profile-card .profile-group textarea:focus { background:#fff; border-color:#c9a35a; outline:3px solid #f6ecd6; }
.organization-profile-card .profile-group label { font-weight:600; }
.organization-profile-card .profile-or { justify-content:center; height:auto; margin-block:2px; font-weight:500; }
.organization-profile-card .profile-or::before,
.organization-profile-card .profile-or::after { display:none; }
.organization-profile-card .profile-extract-button { border:0; box-shadow:none; background:transparent; color:#9a6a12; padding:10px 0 10px 14px; }
.organization-profile-card .profile-extract-button:hover { color:#7d5409; background:transparent; text-decoration:underline; text-underline-offset:4px; }
.organization-profile-card .profile-extraction-result { border:0; border-radius:12px; background:#fbf7ef; }
.organization-profile-card .profile-logo-control { margin-top:8px; padding:8px 0 0; gap:20px; border:0; border-radius:0; background:transparent; align-items:center; }
.organization-profile-card .profile-logo-preview { width:68px; height:68px; border:0; border-radius:18px; background:#f3ecdf; }
.organization-profile-card .profile-logo-info > strong { display:flex; align-items:baseline; gap:10px; font-size:16px; font-weight:600; }
.profile-logo-info > strong > small { font-size:13px; color:#958f83; font-weight:400; }
.organization-profile-card .profile-logo-info p { margin:6px 0 0; font-size:13px; }
.profile-logo-actions { gap:20px; }
.profile-logo-actions button { border:0; border-radius:6px; background:transparent; min-height:44px; padding:8px 0; font:600 15px/1.4 var(--cortex-font); cursor:pointer; box-shadow:none; }
.profile-logo-actions button:hover { text-decoration:underline; text-underline-offset:4px; }
.profile-logo-actions button:focus-visible { outline:3px solid rgba(214,150,40,.42); outline-offset:4px; }
.profile-logo-upload { color:#9a6a12; }
.profile-logo-remove { color:#837d73; }
.profile-logo-actions button:disabled { opacity:.45; cursor:default; }
.organization-profile-card #profileLogoStatus:empty { display:none; }
.profile-logo-suggestion { display:flex; align-items:center; gap:20px; padding:16px 0; border-top:1px solid #efe8db; }
.profile-logo-suggestion-copy { min-width:0; }
.profile-logo-suggestion-copy p { margin:0; color:#534933; font-size:14px; line-height:1.65; }
.profile-logo-suggestion-copy small { color:#8a8579; font-size:12px; overflow-wrap:anywhere; }
.profile-logo-suggestion-copy .profile-extract-spinner { margin-right:8px; vertical-align:middle; }
.profile-logo-suggestion [data-use-logo] { color:#9a6a12; }
.profile-logo-suggestion [data-dismiss-logo] { color:#837d73; font-weight:400; }
.profile-logo-suggestion .profile-logo-preview { flex-shrink:0; background:#f6f1e7; }
.organization-profile-card .profile-form-actions { border-top:1px solid #efe8db; padding-top:24px; }
.organization-profile-card .profile-guidance,
.organization-profile-card .trial-verification { border:0; }
.profile-completion { padding:10px 0 22px; }
.profile-completion > div { display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:14px; color:#7c7363; }
.profile-completion strong { font-size:20px; font-weight:600; color:#9a6a12; font-variant-numeric:tabular-nums; }
.profile-completion progress { display:block; width:100%; height:5px; margin:12px 0 10px; border:0; border-radius:10px; overflow:hidden; background:#efe8da; color:#c9861a; accent-color:#c9861a; }
.profile-completion progress::-webkit-progress-bar { background:#efe8da; border-radius:10px; }
.profile-completion progress::-webkit-progress-value { background:#c9861a; border-radius:10px; transition:width .2s ease; }
.profile-completion progress::-moz-progress-bar { background:#c9861a; border-radius:10px; }
.profile-completion p { margin:0; color:#8a8579; font-size:13px; line-height:1.6; }
@media(prefers-reduced-motion:reduce) { .profile-completion progress::-webkit-progress-value { transition:none; } }
@media(max-width:640px) {
  .organization-profile-card .profile-group { padding-block:24px 26px; gap:18px; }
  .organization-profile-card .profile-logo-control { align-items:flex-start; gap:16px; }
  .organization-profile-card .profile-logo-preview { width:56px; height:56px; border-radius:15px; }
  .organization-profile-card .profile-extract-button { padding-left:0; align-self:flex-start; }
}
