/* AX365: controls, functional states and panels. */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; border: 1px solid transparent; border-radius: var(--radius); padding: 12px 20px; font-size: 15px; font-weight: 550; line-height: 1.4; text-align: center; transition: background-color var(--ease), border-color var(--ease), color var(--ease); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: #252525; color: var(--bg); }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.btn-small { min-height: 40px; font-size: 14px; padding: 8px 15px; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.link-button { border: 0; background: none; padding: 0; color: inherit; text-align: left; font-size: inherit; text-decoration: underline; text-underline-offset: 4px; }
.text-link { display: inline-block; color: var(--accent); font-size: 15px; font-weight: 550; text-decoration: underline; text-underline-offset: 4px; }
.back-link { font-size: 14px; color: var(--muted); display: inline-block; margin-bottom: 24px; text-decoration: underline; text-underline-offset: 4px; }
.brand { display: inline-flex; align-items: center; font-size: 26px; font-weight: 750; line-height: 1.2; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--panel-radius); padding: 30px; margin-bottom: 22px; min-width: 0; }
.panel h2 { font-size: 23px; line-height: 1.3; overflow-wrap: anywhere; }
.panel h3 { font-size: 19px; }
.panel p, .panel small { overflow-wrap: anywhere; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.panel-top > * { min-width: 0; max-width: 100%; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; }
.field label { font-size: 14px; font-weight: 550; }
.field input, .field select, .field textarea, .filter-row select { background: var(--bg); border: 1px solid #a4a496; border-radius: 9px; padding: 12px 14px; min-height: 48px; min-width: 0; width: 100%; color: var(--text); transition: border-color var(--ease), background-color var(--ease); }
.field input::placeholder { color: #6b6b62; }
.field textarea { resize: vertical; }
.field :is(input, textarea, select):focus { border-color: var(--accent); }
.field small { font-size: 13px; }
.check-field { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.6; margin: 22px 0; }
.check-field input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); margin-top: 3px; }
.check-field a, .article-body p a, .notice a { text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 15px 18px; border: 1px solid var(--line); background: var(--accent-soft); border-radius: 10px; font-size: 14px; line-height: 1.6; margin: 16px 0; overflow-wrap: anywhere; }
.notice p { margin: 0; }
.notice.error { background: var(--error-bg); border-color: #d4aea5; color: var(--error); }
.notice.success { background: var(--success-bg); border-color: #b7cbb9; color: var(--success); }
.notice.info { background: var(--accent-soft); border-color: #c9cfe1; }
.badge { display: inline-flex; padding: 5px 10px; align-items: center; gap: 5px; border-radius: 7px; background: #ebebdf; font-size: 12px; line-height: 1.5; font-weight: 550; white-space: normal; max-width: 100%; }
.badge-active, .badge-published, .badge-ready { background: var(--success-bg); color: var(--success); }
.badge-preview_ready, .badge-queued, .badge-preparing { background: var(--accent-soft); color: var(--accent); }
.badge-failed, .badge-suspended { background: var(--error-bg); color: var(--error); }
.fact-list { margin: 25px 0; }
.fact-list > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fact-list dt { color: var(--muted); flex-basis: 42%; }
.fact-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; max-width: 60%; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 21px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.list-row:last-child { border: 0; }
.list-row strong { font-weight: 550; font-size: 15px; }
.list-row small { display: block; font-size: 13px; margin-top: 5px; }
.list-row > div { min-width: 0; overflow-wrap: anywhere; }
details > summary { cursor: pointer; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { color: var(--muted); font-size: 16px; margin: 0; padding: 0 0 22px; }
.accordion-content { display: flow-root; }
.accordion-animating { overflow: hidden; overflow-anchor: none; }
.faq-toggle { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.faq-toggle-vertical { opacity: 1; transition: opacity var(--ease); }
summary[aria-expanded="true"] .faq-toggle-vertical, details[open]:not(.accordion-ready) .faq-toggle-vertical { opacity: 0; }
.offline-notice { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 80; background: var(--text); color: var(--bg); padding: 16px; border-radius: 10px; max-width: 90vw; font-size: 14px; }
.check-list { margin: 22px 0; padding-left: 20px; }
.check-list li { padding-left: 4px; margin: 13px 0; font-size: 15px; }
.check-list li::marker { color: var(--accent); }
.file-list { font-size: 13px; overflow-wrap: anywhere; padding-left: 22px; }
.dev-notice { font-size: 12px; line-height: 1.6; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 28px; }
.domain-checks { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 20px 0; }
.domain-checks .done { color: var(--success); }
.dns-record { display: flex; gap: 16px; padding: 14px; background: #eeeeE2; border-radius: 9px; margin: 10px 0; font-size: 13px; }
.dns-record span { font-size: 12px; font-weight: 600; min-width: 25px; }
.dns-record code { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.drop-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--bg); border: 1px dashed #8b8b7e; border-radius: 12px; padding: 30px 20px; cursor: pointer; margin: 26px 0; transition: border-color var(--ease), background-color var(--ease); }
.drop-zone.dragging { background: var(--accent-soft); border-color: var(--accent); }
.drop-zone input { font-size: 14px; max-width: 100%; }
.drop-zone > span { font-size: 14px; color: var(--muted); }
.drop-zone strong { font-size: 17px; }
.upload-progress { margin: 20px 0; }
progress { width: 100%; height: 9px; accent-color: var(--accent); }
.upload-progress label { font-size: 14px; display: flex; justify-content: space-between; }
.stepper { display: flex; gap: 20px; font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.stepper .current { color: var(--accent); font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 30px 0; }
.timeline li { display: flex; gap: 18px; position: relative; padding-bottom: 30px; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 14px; width: 1px; height: calc(100% - 13px); background: var(--line); }
.timeline-dot { width: 11px; height: 11px; border: 2px solid var(--accent); background: var(--bg); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.timeline strong { font-size: 14px; font-weight: 500; }
.timeline small { display: block; font-size: 13px; margin-top: 4px; }
.tabs { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 10px 0 14px; font-size: 15px; color: var(--muted); position: relative; }
.tabs a.active { color: var(--accent); font-weight: 600; }
.tabs a.active::after { content: ''; position: absolute; bottom: -1px; height: 2px; background: var(--accent); left: 0; right: 0; }
.next-steps { list-style: none; padding: 0; margin: 26px 0; }
.next-steps li { display: flex; gap: 13px; align-items: center; font-size: 14px; margin: 17px 0; }
.circle-number { border: 1px solid var(--line); border-radius: 50%; width: 25px; height: 25px; display: inline-flex; justify-content: center; align-items: center; font-size: 12px; flex-shrink: 0; }
.version-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 20px; }
.version-actions form:first-child { flex-basis: 100%; }
.diff-summary { display: flex; gap: 25px; font-size: 14px; margin: 20px 0; flex-wrap: wrap; }
.inline-form { display: flex; gap: 12px; align-items: end; }
.inline-form .field { flex: 1; }
.inline-form .btn { margin-bottom: 24px; }
.thread-panel { max-width: 800px; }
.thread-message { border-left: 3px solid var(--line); padding: 18px 20px; border-radius: 0 10px 10px 0; margin-bottom: 25px; }
.staff-message { border-color: var(--accent); background: var(--accent-soft); }
.message-body { margin-top: 18px; overflow-wrap: anywhere; }
.danger-panel { border-color: #d4aea5; }
.empty-state { padding: 45px 20px; text-align: center; }
.empty-state p { color: var(--muted); font-size: 15px; margin: 16px auto 24px; }
.compact { padding: 25px 5px; }
.empty-hero { text-align: center; border: 1px solid var(--line); padding: 60px 28px; border-radius: var(--panel-radius); }
.empty-hero h2 { font-size: 32px; }
.empty-hero p { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.empty-hero .text-link { display: block; margin-top: 20px; }
.medium-price { font-size: 54px; font-weight: 550; line-height: 1.2; margin: 22px 0; }
.medium-price span { font-size: 20px; font-weight: 400; }
.auth-price { font-size: 34px; display: flex; gap: 18px; align-items: center; margin-top: 30px; }
.auth-price span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.otp-input { font-size: 27px !important; letter-spacing: .25em; text-align: center; }
.job-site-name { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
