.form-page { min-height: 100vh; margin: 0; background: var(--bg); color: var(--text); }
.form-shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.form-shell__sidebar { position: sticky; top: 0; height: 100vh; padding: 18px 14px; border-right: 1px solid var(--line); background: var(--surface); overflow-y: auto; }
.form-shell__identity { display: flex; align-items: center; gap: 11px; padding: 4px 6px 18px; color: inherit; text-decoration: none; }
.form-shell__identity > span:last-child { min-width: 0; display: grid; gap: 2px; }
.form-shell__identity strong, .form-shell__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-shell__identity small { color: var(--text-2); font-size: 11px; }
.form-shell__logo { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #ff6b00; }
.form-shell__support { margin: 0 4px 14px; padding: 10px; border: 1px solid rgba(255, 107, 0, .32); border-radius: 9px; background: rgba(255, 107, 0, .06); }
.form-shell__support strong { display: block; margin-bottom: 7px; color: #d65a00; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.form-shell__support button { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 6px; color: var(--text); font: inherit; font-size: 11px; cursor: pointer; }
.form-shell__nav { display: grid; gap: 4px; }
.form-shell__nav-link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 11px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 13px; font-weight: 650; }
.form-shell__nav-link:hover { background: var(--surface-2); color: var(--blue); }
.form-shell__nav-link svg { width: 17px; height: 17px; flex: 0 0 auto; }
.form-shell__workspace { min-width: 0; }
.form-page__header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 68px; padding: 12px clamp(20px, 3vw, 42px); background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.form-page__brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 750; }
.form-page__brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: #ff6b00; border-radius: 10px; }
.form-shell .form-page__brand { display: none; }
.form-shell__account { order: -1; margin-right: auto; display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.form-shell__account > span, .form-shell__account > img { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; object-fit: cover; font-size: 11px; font-weight: 750; }
.form-page__main { width: min(1040px, calc(100% - 40px)); margin: 34px auto 80px; }
.embedded-form #embedded-form-content { width: min(1040px, 100%); margin: 0 auto 60px; }
.embedded-form .form-page__intro { margin-top: 4px; }
.form-page__intro { margin-bottom: 26px; }
.form-page__intro h1 { margin: 0 0 7px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.03em; }
.form-page__intro p { margin: 0; color: var(--text-2); }
.form-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.form-section h2 { margin: 0 0 18px; font-size: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-page__actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.field-error { min-height: 18px; margin-top: 4px; color: #b42318; font-size: 12px; }
.form-message { display: none; padding: 12px 14px; margin-bottom: 18px; border-radius: 10px; font-size: 13px; }
.form-message.is-error { display: block; color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }
.form-message.is-success { display: block; color: #067647; background: #ecfdf3; border: 1px solid #abefc6; }
.btn svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .form-shell { grid-template-columns: 82px minmax(0, 1fr); } .form-shell__identity > span:last-child, .form-shell__nav-link span, .form-shell__support { display: none; } .form-shell__identity { justify-content: center; } .form-shell__nav-link { justify-content: center; padding: 0; } }
@media (max-width: 680px) { .form-shell { display: block; } .form-shell__sidebar { position: static; width: auto; height: auto; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; } .form-shell__identity { display: none; } .form-shell__nav { display: flex; min-width: max-content; } .form-shell__nav-link { width: 42px; } .form-page__header { top: 0; } .form-shell__account small { display: none; } .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } .form-page__main { width: min(100% - 24px, 980px); margin-top: 24px; } .form-section { padding: 18px; } }
