.console-docs { flex: 1; width: min(100%, 860px); margin-inline: auto; padding: clamp(30px, 6vw, 72px) 20px; }
.docs-intro h1 { margin: 0; font-size: clamp(29px, 6vw, 49px); letter-spacing: -.05em; line-height: 1.2; }
.console-docs p, .docs-fields dd { color: #526178; }
.console-docs p a { color: #294bb7; text-decoration: underline; text-underline-offset: 3px; }
.docs-notice { padding: 12px 16px; border-left: 3px solid #3559d5; background: #edf2ff; border-radius: 4px; }
.docs-notice strong { color: #253a5c; margin-right: 6px; }
.docs-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; border-bottom: 1px solid #435371; margin-block: 24px; }
.docs-nav a { color: #294bb7; display: inline-flex; align-items: center; min-height: 44px; }
.console-docs section { margin-top: 32px; scroll-margin-top: 20px; }
.console-docs h2 { margin-bottom: 7px; font-size: 23px; }
.console-docs code { font-family: "IBM Plex Mono", Consolas, monospace; color: #284584; }
.console-docs pre { padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; background: #f4f7fc; border: 1px solid #435371; border-radius: 10px; font-size: 14px; }
.docs-fields > div { display: grid; grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid #374159; }
.docs-fields dd { margin: 0; }
.legal-nav a[aria-current="page"] { color: #15243b; font-weight: 750; border-bottom: 3px solid #3559d5; }
.legal-toc { margin: 24px 0 32px; border: 1px solid #dbe3ef; border-radius: 10px; background: #f4f7fc; }
.legal-toc summary { min-height: 48px; padding: 12px 18px; color: #15243b; font-weight: 650; cursor: pointer; }
.legal-toc summary:hover { color: #294bb7; }
.legal-toc summary::after { content: "+"; float: right; font-size: 20px; line-height: 24px; }
.legal-toc[open] > summary::after { content: "−"; }
.legal-toc summary span { margin-left: 8px; color: #526178; font-size: 13px; font-weight: 400; }
.legal-toc ul { list-style: none; margin: 0; padding: 0 18px 14px; }
.legal-toc a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: #294bb7; font-size: 14px; line-height: 1.6; }
.legal-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-document .legal-body { margin: 0; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.legal-body > br { display: none; }
.legal-document .legal-body h2 { margin: 36px 0 14px; padding: 24px 0 0; border: 0; border-top: 1px solid #dbe3ef; background: none; color: #15243b; font: 700 20px/1.5 Inter, system-ui, "Malgun Gothic", sans-serif; letter-spacing: -.025em; text-align: left; scroll-margin-top: 24px; }
.legal-document .legal-body h2::before, .legal-document .legal-body h2::after { content: none; }
.legal-document .legal-body p { margin: 0 0 16px; color: #526178; line-height: 1.9; }
.legal-body ol { padding-left: 24px; color: #526178; }
.legal-body ol li { padding-left: 3px; margin-block: 6px; }
@media (max-width: 450px) {
    .legal-document { padding-inline: 16px; }
    .legal-document .legal-body h2 { font-size: 18px; }
}
.docs-fields code { overflow-wrap: anywhere; }
.docs-category-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.docs-category-table caption { caption-side: top; padding: 0 0 10px; text-align: left; color: #526178; }
.docs-category-table th, .docs-category-table td { padding: 12px 10px; border-bottom: 1px solid #435371; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.docs-category-table thead th { background: #edf2ff; color: #253a5c; }
.docs-category-table th:first-child { width: 34%; }
.docs-category-table th:nth-child(2) { width: 27%; }
.docs-category-table tbody th { font-weight: 650; }
@media (max-width: 450px) {
    .docs-category-table { font-size: 13px; }
    .docs-category-table th, .docs-category-table td { padding: 10px 5px; }
}
.docs-contact { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 0 16px; border-radius: 7px; background: #3559d5; color: #ffffff; font-weight: 700; }
.docs-contact:hover { background: #284bbd; color: #ffffff; }
.console-plans { width: min(100%, 1080px); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 28px; }
.plan-card { padding: clamp(16px, 2.3vw, 25px); border: 1px solid #435371; border-radius: 13px; background: #ffffff; }
.plan-card:nth-child(2) { border-color: #8199f5; background: #f0f4ff; }
.plan-card h2 { margin: 0; }
.plan-card p { margin: 4px 0; }
.plan-card .plan-price { margin-top: 15px; }
.plan-price strong { color: #15243b; font-size: clamp(27px, 5vw, 41px); letter-spacing: -.04em; }
.plan-year { font-size: 14px; }
.plan-card .plan-quota { margin-top: 14px; color: #253a5c; }
.plan-card ul { padding-left: 20px; margin-bottom: 0; color: #526178; }
.plan-card li + li { margin-top: 6px; }
.plan-trial { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; padding: 18px; border: 1px solid #556994; border-radius: 13px; background: #f1f5fc; }
.plan-trial h2, .plan-trial p { margin: 0; }
.plan-trial .docs-contact { margin: 0; }
.console-contact { width: min(100%, 760px); }
.contact-form { display: grid; gap: 16px; margin-top: 25px; padding: clamp(15px, 4vw, 28px); background: #ffffff; border: 1px solid #435371; border-radius: 13px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 650; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid #7584a3; border-radius: 7px; font: inherit; font-weight: 400; background: #f4f7fc; color: #15243b; }
.contact-form textarea { resize: vertical; }
.contact-form .contact-consent { display: flex; align-items: center; min-height: 44px; gap: 9px; color: #526178; font-size: 14px; }
.contact-consent input { flex: none; width: 18px; height: 18px; }
.contact-form button { justify-self: start; margin: 0; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.contact-errors { border-left: 3px solid #a62742; padding: 8px 28px; background: #fff0f2; color: #9d2940; }
@media (max-width: 550px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 450px) {
    .docs-fields > div { grid-template-columns: 1fr; gap: 3px; }
}

.console-plans .plan-card form{margin-top:auto}.console-plans .plan-card .docs-contact{cursor:pointer;border:0;font:inherit}.plan-login-notice{display:none;margin-top:16px;padding:16px;background:#eef2ff;border:1px solid #b7c7f1;border-radius:12px}.plan-login-notice:target{display:block}.plan-login-notice a{color:#2648b8;font-weight:700}.console-plans .plan-card>ul{flex:1}.console-plans .plan-card{display:flex;flex-direction:column}
