diff --git a/static/styles.css b/static/styles.css index be36e25..b8473eb 100644 --- a/static/styles.css +++ b/static/styles.css @@ -14,6 +14,7 @@ * { box-sizing: border-box; } body { margin: 0; min-width: 320px; } +a { color: inherit; } .topbar { height: 68px; @@ -35,7 +36,10 @@ h1, h2, h3, p { margin-top: 0; } h1 { margin-bottom: 8px; font-size: clamp(30px, 4vw, 40px); letter-spacing: -.04em; } h2 { margin-bottom: 0; font-size: 20px; letter-spacing: -.02em; } .intro { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.6; } -.primary-button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; color: #fff; background: #8ca095; font: inherit; font-size: 14px; font-weight: 650; cursor: not-allowed; } +.primary-button, .secondary-button { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; color: #fff; background: #8ca095; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; } +.active-button { background: var(--green); cursor: pointer; } +.active-button:disabled { background: #8ca095; cursor: not-allowed; } +.secondary-button { border: 1px solid var(--line); color: #344139; background: #fff; } .setup-card { margin-top: 32px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid #dce8df; border-radius: 12px; background: var(--green-soft); } .setup-card h2 { font-size: 28px; } .setup-description { max-width: 620px; margin: 0; color: #43564a; font-size: 14px; line-height: 1.65; } @@ -60,13 +64,50 @@ h2 { margin-bottom: 0; font-size: 20px; letter-spacing: -.02em; } .workflow-note { margin: 20px 0 0; color: #768078; font-size: 12px; } .footer { min-height: 58px; padding: 16px max(24px, calc((100% - 1120px) / 2)); display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 12px; } +.form-shell { max-width: 900px; } +.form-heading { align-items: flex-start; } +.back-link { color: var(--green); font-size: 13px; font-weight: 650; text-decoration: none; } +.privacy-notice { margin: 26px 0; padding: 14px 16px; border: 1px solid #e9d9b0; border-radius: 9px; color: #674f1c; background: #fff8e7; font-size: 13px; line-height: 1.55; } +.form-section { margin-top: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; } +.form-section-heading { margin-bottom: 18px; } +.form-section-heading h2 { font-size: 20px; } +.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } +.form-stack { display: grid; gap: 14px; } +.check-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 9px; } +.check-card legend { padding: 0 6px; font-size: 15px; font-weight: 700; } +.field { display: grid; gap: 7px; margin: 14px 0; color: #354139; font-size: 13px; font-weight: 600; } +.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #cfd8d0; border-radius: 7px; color: #202b25; background: #fff; font: inherit; font-weight: 400; } +.field textarea { min-height: 78px; resize: vertical; } +.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #d7e9dc; border-color: var(--green); } +.optional { color: var(--muted); font-weight: 400; } +.field-help { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; } +.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; } +.review-panel[hidden] { display: none; } +.review-panel h3 { margin: 18px 0 8px; font-size: 15px; } +.review-panel ul { margin: 0; padding-left: 22px; color: #4b5850; font-size: 13px; line-height: 1.7; } + +.history-list { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; } +.history-item { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; } +.history-item h3 { margin: 0 0 4px; font-size: 16px; } +.history-item p { margin: 0; color: var(--muted); font-size: 13px; } +.detail-card { margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; } +.detail-card h3 { margin: 0 0 14px; font-size: 17px; } +.detail-list { margin: 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 18px; font-size: 13px; } +.detail-list dt { color: var(--muted); font-weight: 600; } +.detail-list dd { margin: 0; } +.detail-table { width: 100%; border-collapse: collapse; font-size: 13px; } +.detail-table th, .detail-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } +.detail-table th { color: var(--muted); font-weight: 650; } + @media (max-width: 700px) { .page-shell { width: min(100% - 32px, 1120px); padding-top: 32px; } .page-heading { align-items: flex-start; flex-direction: column; } .setup-card { align-items: flex-start; flex-direction: column; gap: 14px; padding: 20px; } - .key-grid { grid-template-columns: 1fr; } + .key-grid, .overview-grid, .field-grid { grid-template-columns: 1fr; } .key-card { min-height: 130px; } - .overview-grid { grid-template-columns: 1fr; } .history-card { align-items: flex-start; flex-direction: column; } + .form-section { padding: 18px; } + .detail-list { grid-template-columns: 1fr; } + .history-item { align-items: flex-start; flex-direction: column; } .footer { padding-inline: 16px; } }