.smart-form{--smart-border:#ffffff1f;--smart-border-hover:#ffffff47;--smart-muted:var(--color-text-secondary);--smart-accent:#0c607c;--smart-accent-hover:#107998;--smart-error:#ffb4ab;--smart-radius:10px;--smart-radius-lg:16px;border:1px solid var(--smart-border);border-radius:var(--smart-radius-lg);background:var(--color-surface);width:100%;max-width:900px;color:var(--color-text-primary);overflow-wrap:anywhere;padding:clamp(20px,3vw,32px)}.smart-form h2{font-family:var(--font-heading);font-size:var(--text-heading-md);margin:24px 0 16px;font-weight:600;line-height:1.3}.smart-goal-panel__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.smart-goal-panel__title{font-family:var(--font-heading);margin:0;font-size:1.125rem;font-weight:600;line-height:1.4}.smart-goal-panel__meta,.smart-form__progress,.smart-form__hint{color:var(--smart-muted);font-size:var(--text-body-sm);line-height:1.5}.smart-form__steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:16px 0 32px;padding:0;list-style:none;display:grid}.smart-form__steps li{width:100%;min-width:0;min-height:44px;color:var(--color-text-secondary);background:#fff1;border:1px solid #0000;border-radius:8px;place-items:center;padding:8px;font-weight:600;line-height:1.2;transition:background-color .18s,border-color .18s,color .18s;display:grid}.smart-form__steps [aria-current=step]{background:var(--smart-accent);border-color:var(--smart-accent);color:#fff;font-weight:700}.smart-form__steps .smart-form__step--done{color:#d5eef7;background:#0c607c26;border-color:#48b1d673}.smart-form__steps .smart-form__step--done[aria-current=step]{background:var(--smart-accent);border-color:var(--smart-accent);color:#fff}.smart-form__question{font-family:var(--font-heading);margin:0 0 16px;font-size:clamp(1.125rem,2vw,1.4rem);font-weight:600;line-height:1.4}.smart-form__explanation,.smart-form__example p{color:var(--smart-muted);margin-block:12px;line-height:1.75}.smart-form__example{margin-block:20px 28px}.smart-form__example summary{cursor:pointer;width:fit-content;color:var(--color-text-primary);text-underline-offset:4px;text-decoration:underline}.smart-form__example summary:hover{color:#b9dce9}.smart-form__example p{margin-top:12px}.smart-form__fields{gap:28px;display:grid}.smart-form__field{min-width:0}.smart-form__field label,.smart-form__deadline legend{margin-bottom:10px;font-weight:600;line-height:1.5;display:block}.smart-form__field p{color:var(--smart-muted);margin-block:8px;line-height:1.6}.smart-form__field input,.smart-form__field textarea{border:1px solid var(--smart-border-hover);border-radius:var(--smart-radius);background:var(--color-background);width:100%;min-width:0;color:var(--color-text-primary);font:inherit;color-scheme:dark;padding:14px 16px;line-height:1.6;transition:border-color .18s,box-shadow .18s;display:block}.smart-form__field textarea{resize:vertical;min-height:140px}.smart-form__field input::placeholder,.smart-form__field textarea::placeholder{color:var(--smart-muted);opacity:.75}.smart-form__field input:hover,.smart-form__field textarea:hover{border-color:#fff6}.smart-form__field input:focus,.smart-form__field textarea:focus{border-color:#63b8d4;outline:none;box-shadow:0 0 0 3px #0c607c40}.smart-form__field [aria-invalid=true]{border:2px solid var(--smart-error)}.smart-form__field [aria-invalid=true]:focus{box-shadow:0 0 0 3px #ffb4ab29}.smart-form__error{color:var(--smart-error);font-size:var(--text-body-sm);margin-top:8px;font-weight:600;line-height:1.5}.smart-form__deadline{border:0;flex-wrap:wrap;gap:16px 24px;margin:0 0 28px;padding:0;display:flex}.smart-form__deadline legend{width:100%;margin-bottom:12px}.smart-form__deadline label{cursor:pointer;align-items:center;gap:10px;min-height:44px;line-height:1.5;display:inline-flex}.smart-form__deadline input{width:20px;height:20px;accent-color:var(--smart-accent);cursor:pointer;margin:0}.smart-form__actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:32px;display:flex}.smart-form__button{border:1px solid var(--smart-accent);background:var(--smart-accent);color:#fff;min-height:44px;font:inherit;text-align:center;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-weight:600;line-height:1.4;text-decoration:none;transition:background-color .18s,border-color .18s,transform .18s;display:inline-flex}.smart-form__button:hover:not(:disabled){background:var(--smart-accent-hover);border-color:var(--smart-accent-hover)}.smart-form__button:active:not(:disabled){transform:translateY(1px)}.smart-form__button--secondary{border-color:var(--smart-border-hover);background:0 0}.smart-form__button--secondary:hover:not(:disabled){background:#ffffff0f;border-color:#ffffff80}.smart-form__button:disabled{opacity:.6;cursor:not-allowed}.smart-form__privacy,.smart-form__storage-message{color:var(--smart-muted);font-size:var(--text-body-sm);line-height:1.7}.smart-form__privacy{margin-bottom:20px}.smart-form__storage-message:empty{display:none}.smart-form__restore-fields{border:0;min-width:0;margin:0;padding:0}.smart-form__new-goal{border-top:1px solid var(--smart-border);margin-top:28px;padding-top:24px}.smart-related{margin-top:28px}.smart-result__objective{border-radius:0 var(--smart-radius) var(--smart-radius) 0;background:#0c607c2e;border-left:3px solid #63b8d4;margin-block:24px;padding:24px}.smart-result__objective h3{font-family:var(--font-heading);margin:0;font-weight:600}.smart-result__objective p{font-size:var(--text-lead);margin-top:12px;line-height:1.6}.smart-result__criterion{border-top:1px solid var(--smart-border);padding-block:24px}.smart-result__criterion-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.smart-result__criterion h3{font-family:var(--font-heading);font-size:var(--text-heading-sm);margin:0;font-weight:600}.smart-result__criterion dl{margin:0}.smart-result__criterion dl>div+div{margin-top:20px}.smart-result__criterion dt{color:var(--smart-muted);font-size:var(--text-body-sm);font-weight:600}.smart-result__criterion dd{margin:8px 0 0}.smart-result__answer{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.smart-result__message{min-height:1.75em;margin-top:16px;line-height:1.75}.smart-result__print-only{display:none}.smart-result__print-help{color:var(--smart-muted);font-size:var(--text-body-sm);margin-top:16px;line-height:1.7}@media (width<=768px){.smart-form{padding:20px}.smart-form__steps{gap:6px}.smart-form__steps li{min-height:40px;padding:6px}.smart-result__objective{padding:20px}}@media (width<=480px){.smart-form{border-radius:12px;padding:16px}.smart-form__steps{gap:5px;margin-bottom:24px}.smart-form__steps li{min-height:40px;font-size:.875rem}.smart-form__actions{flex-direction:column;align-items:stretch}.smart-form__button{width:100%}.smart-result__criterion-header{align-items:flex-start}}.smart-form :is(input,textarea,button,summary):focus-visible{outline-offset:3px;outline:2px solid #fff}@media (prefers-reduced-motion:reduce){.smart-form__steps li,.smart-form__field input,.smart-form__field textarea,.smart-form__button{transition:none}.smart-form__button:active{transform:none}}@media print{@page smart-goal{size:A4;margin:15mm}body.smart-goals-page{page:smart-goal;color:#111;min-height:auto;margin:0;padding:0;font-size:11pt;background:#fff!important;overflow:visible!important}.smart-goals-page>:not(main),.smart-goals-page .m-container>:not(astro-island),.smart-goals-page .smart-form>:not(.smart-result),.smart-goals-page .smart-result :is(button,.smart-form__actions,.smart-result__message,.smart-result__print-help,.smart-result__screen-only){display:none!important}.smart-goals-page :is(.tools-page,.m-container,astro-island,.smart-form,.smart-result){color:#111;background:#fff;border:0;width:100%;max-width:none;height:auto;min-height:auto;margin:0;padding:0;display:block;overflow:visible}.smart-goals-page .smart-result__print-only{display:block}.smart-goals-page .smart-result__brand{color:#555;margin:0 0 8pt;font-size:9pt}.smart-goals-page .smart-result h2{margin:0 0 18pt;font-size:22pt;line-height:1.25}.smart-goals-page .smart-result h3{color:#111;font-size:12pt;line-height:1.4}.smart-goals-page .smart-result__objective{color:#111;background:#fff;border:0;border-radius:0;margin:0 0 16pt;padding:0}.smart-goals-page .smart-result__objective p{margin-top:6pt;font-size:12pt}.smart-goals-page .smart-result__criterion{break-inside:auto;border-color:#bbb;padding-block:12pt}.smart-goals-page .smart-result__criterion-header{break-inside:avoid;break-after:avoid;margin-bottom:8pt;display:block}.smart-goals-page .smart-result__criterion dt{color:#444;font-size:10pt}.smart-goals-page .smart-result__criterion dd{margin-top:4pt}.smart-goals-page .smart-result__criterion dl>div+div{margin-top:10pt}.smart-goals-page .smart-result :is(h2,h3,dt){break-after:avoid;page-break-after:avoid}.smart-goals-page .smart-result__answer{white-space:pre-wrap;overflow-wrap:anywhere;color:#111;orphans:3;widows:3;break-inside:auto;max-height:none;line-height:1.55;overflow:visible}.smart-goals-page .smart-result__footer{color:#555;overflow-wrap:anywhere;break-inside:avoid;border-top:1px solid #bbb;margin-top:18pt;padding-top:8pt;font-size:8pt}}
