:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", system-ui, sans-serif; color: #172236; background: #f5f7fb; }
* { box-sizing: border-box; }
body { margin: 0; }
header { padding: 20px clamp(20px, 6vw, 80px); background: white; border-bottom: 1px solid #e2e8f2; }
header a { color: #172236; text-decoration: none; font-weight: 650; }
main { padding: clamp(32px, 8vw, 100px) 16px; }
.account-card, .order-card { background: white; border: 1px solid #e2e8f2; border-radius: 18px; padding: clamp(22px, 6vw, 32px); }
.account-card { width: min(100%, 420px); margin: auto; }
h1 { margin: 0 0 10px; font-size: 27px; }
p { color: #526078; line-height: 1.55; overflow-wrap: anywhere; }
label { display: block; font-weight: 600; margin: 20px 0 8px; }
input, select, button { min-height: 44px; font: inherit; border-radius: 9px; padding: 8px 12px; }
input, select { width: 100%; min-width: 0; border: 1px solid #a9b6cc; background: white; color: inherit; }
button { border: 1px solid #0071e3; background: #0071e3; color: white; font-weight: 650; cursor: pointer; }
button.secondary { background: #eef5ff; color: #005dbb; border-color: #dcecff; white-space: nowrap; }
button:disabled { opacity: .55; cursor: default; }
.code-row { display: flex; gap: 8px; }
#verify { width: 100%; margin-top: 22px; }
#status:empty { display: none; }
#status[data-error="true"] { color: #b3261e; }
.signed-in { max-width: 920px; margin-inline: auto; padding-top: clamp(24px, 5vw, 56px); }
.signed-in .account-card { width: 100%; }
.signed-in #description { margin: 0 0 16px; }
#orders { margin-top: 28px; }
#orders h2 { margin: 0 0 12px; font-size: 21px; }
.order-list { display: grid; gap: 14px; }
.download-actions { width: min(100%, 420px); padding: 20px; margin: 20px auto 0; border: 1px solid #e2e8f2; border-radius: 14px; background: white; }
.signed-in .download-actions { width: 100%; margin-top: 24px; }
.download-actions h2 { margin: 0 0 12px; font-size: 21px; }
.download-actions p { margin: 8px 0 0; }
.download-actions button, .download-actions .account-link { margin-top: 12px; }
.account-link.download-link { color: white; background: #0071e3; border-color: #0071e3; }
.tutorial-actions, .template-actions { margin-top: 24px; padding: 20px; border: 1px solid #e2e8f2; border-radius: 14px; background: white; }
.tutorial-actions h2, .template-actions h2 { margin: 0 0 12px; font-size: 21px; }
.tutorial-actions > p, .template-actions > p { margin: 0 0 16px; font-size: 14px; }
.tutorial-links { display: flex; flex-wrap: wrap; gap: 8px; }
.template-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.template-list article { min-width: 0; padding: 16px; border: 1px solid #e2e8f2; border-radius: 12px; }
.template-list h3 { margin: 0 0 8px; font-size: 16px; }
.template-list p { margin: 0 0 14px; font-size: 13px; }
@media (max-width: 560px) { .template-list { grid-template-columns: minmax(0, 1fr); } }
.support-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.account-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #dcecff; border-radius: 9px; color: #005dbb; text-decoration: none; font-weight: 650; }
.order-card h3 { margin: 0; font-size: 20px; }
.order-card p { margin: 4px 0 0; }
.order-card .feature-list { margin-top: 12px; }
.order-card .panel-hint { color: #005dbb; font-weight: 600; }
.order-section { margin-top: 20px; border-top: 1px solid #e2e8f2; padding-top: 16px; }
.order-section h4 { margin: 0 0 4px; font-size: 16px; }
.record-list { list-style: none; padding: 0; margin: 12px 0; }
.record-list li { display: grid; gap: 4px; padding: 10px 12px; background: #f5f7fb; border-radius: 9px; overflow-wrap: anywhere; }
.record-list li + li { margin-top: 6px; }
.record-list small, .record-list code { color: #526078; }
.record-list button { justify-self: start; margin-top: 4px; }
.order-action { margin-top: 12px; }
.order-action summary { color: #005dbb; cursor: pointer; font-weight: 650; padding-block: 8px; }
.action-form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: end; margin-top: 12px; }
.action-form label { margin: 0; }
.action-form input, .action-form select { display: block; margin-top: 6px; }
.action-form button { justify-self: start; }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
