/* Company profile: one section per page, shared identity and immutable historical PDFs. */
.company-profile-heading{margin-bottom:20px}.company-profile-heading p{margin-bottom:5px}
.company-tabs{display:flex;gap:6px;margin-bottom:24px;padding-bottom:12px;border-bottom:1px solid var(--line);flex-wrap:wrap}.company-tabs>a{display:flex;align-items:center;gap:9px;padding:11px 14px;min-height:44px;border-radius:10px;color:var(--muted);font-size:.9rem;font-weight:600;text-decoration:none}.company-tabs svg{width:19px;height:19px;flex-shrink:0}.company-tabs a:hover{background:var(--panel);color:var(--ink)}.company-tabs [aria-current=page]{color:var(--accent);background:var(--tint)}
.company-form{max-width:980px;gap:22px}.company-section-title h2{margin-bottom:7px;font-size:1.2rem}.company-section-title p{font-size:.9rem;line-height:1.6;color:var(--muted);margin:0;max-width:64ch}
.company-fields{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}.company-fields.two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.company-fields .field{min-width:0;margin:0}.company-fields input,.company-fields select,.company-fields textarea{width:100%;min-width:0}.company-fields .hint{margin:6px 0 0}
.company-phone-fallback[hidden]{display:none}.company-phone-block .iti{width:100%;display:block}.company-phone-block .iti input{width:100%}.company-phone-block .iti__selected-country{max-width:none}
.company-fields.address-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-brand-editor{display:flex;align-items:center;gap:24px;border-radius:14px;background:var(--bg);padding:22px;border:1px solid var(--line)}.profile-brand-editor>div:last-child{flex:1;min-width:0}.profile-logo-box{display:flex;align-items:center;justify-content:center;width:150px;height:125px;flex:0 0 150px;background:#fff;border:1px dashed var(--line);border-radius:12px;overflow:hidden;padding:12px}.profile-logo-box img{max-width:100%;max-height:100%;object-fit:contain}.profile-logo-box>span{display:flex;flex-direction:column;align-items:center;gap:10px;color:#506674}.profile-logo-box svg{width:32px;height:32px}.profile-logo-box small{font-size:.85rem}.profile-brand-name{font-size:1.08rem;font-weight:700;margin:0 0 5px;overflow-wrap:anywhere}.profile-upload{display:inline-flex;align-items:center;cursor:pointer;margin:10px 0 5px}.profile-upload svg{width:18px;height:18px}.file-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.profile-brand-editor:has(.file-visually-hidden:focus-visible) .profile-upload{outline:3px solid var(--focus);outline-offset:3px}
.profile-save{display:flex;align-items:center;gap:16px;padding-top:20px;border-top:1px solid var(--line)}.profile-save span{font-size:.85rem;color:var(--muted)}.profile-documents-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:22px;align-items:start}.profile-documents-layout>*{min-width:0}.profile-reply h2{font-size:1.1rem}.profile-reply>p{font-size:.9rem;color:var(--muted)}.profile-reply .stack{margin-top:20px}.profile-help{border:1px solid var(--line);border-radius:10px;padding:12px 14px}.profile-help summary{cursor:pointer;font-size:.875rem;color:var(--accent)}.profile-help p{font-size:.85rem;margin-top:12px;overflow-wrap:anywhere}.profile-document-sample{display:flex;flex-direction:column;gap:5px;padding:18px;border-radius:12px;border:1px solid var(--line);background:var(--bg)}.profile-document-sample img{max-width:120px;max-height:64px;object-fit:contain;object-position:left center;background:#fff;border-radius:5px;padding:4px}.profile-document-sample strong{font-size:1.2rem;overflow-wrap:anywhere}.profile-document-sample small{font-size:.85rem;color:var(--muted)}.profile-sample-caption{font-size:.65rem;letter-spacing:.08em;color:var(--muted);margin-bottom:8px}
@media(max-width:1199px){.profile-documents-layout{grid-template-columns:1fr}}
@media(max-width:650px){.company-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.company-tabs a{font-size:.8rem;padding:10px}.company-tabs svg{width:17px;height:17px}.company-fields.two-fields,.company-fields.address-fields{grid-template-columns:1fr}.profile-brand-editor{align-items:flex-start;gap:16px;padding:16px;flex-direction:column}.profile-logo-box{width:132px;height:102px;flex:0 0 102px}.profile-save{flex-direction:column;align-items:stretch;gap:10px}.profile-save>.button{width:100%}.company-form{padding:20px 16px}.profile-brand-editor>div:last-child{width:100%}.company-fields{gap:18px}}
