.guardian-intake { color: #30382e; max-width: 1400px; margin: 0 auto; }
.gi-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.gi-heading h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; margin: 10px 0; }
.gi-heading p { color: #70766b; margin: 0; font-size: 1rem; }
.gi-badge { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 15px; border: 1px solid #d8dfcb; border-radius: 24px; font-size: .9rem; background: #edf1e5; }
.gi-notice { padding: 13px 18px; background: #f3f0e5; border: 1px solid #e6dfca; border-radius: 10px; font-size: .95rem; line-height: 1.6; margin-bottom: 24px; }
.gi-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 24px; align-items: start; }
.gi-nav { position: sticky; top: 20px; display: grid; gap: 5px; padding: 17px 10px; background: #fff; border: 1px solid #e2e5da; border-radius: 14px; }
.gi-nav > span { font-size: .75rem; letter-spacing: .12em; color: #777e6c; margin: 0 10px 10px; }
.gi-nav button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: #646b5b; text-align: left; padding: 11px 10px; border-radius: 8px; font: inherit; font-size: .9rem; cursor: pointer; line-height: 1.4; }
.gi-nav button b { display: grid; place-items: center; flex-shrink: 0; width: 27px; height: 27px; border: 1px solid #dce1d2; border-radius: 50%; font-size: .8rem; }
.gi-nav button.is-active { background: #edf1e4; color: #364526; font-weight: 700; }
.gi-nav button.is-active b { color: #fff; background: #586842; border-color: #586842; }
.gi-form { min-width: 0; }
.gi-rich-text { min-width: 0; --ck-color-base-border: #dce1d4; --ck-color-toolbar-background: #f3f6ed; --ck-color-focus-border: #70864f; --ck-border-radius: 7px; --ck-font-size-base: 14px; }
.guardian-intake .gi-rich-text .ck-editor__editable_inline { min-height: 120px; max-height: 360px; padding: 0 14px; font-size: 1rem; line-height: 1.65; background: #fcfdf9; }
.guardian-intake .gi-rich-text .ck-content p { margin: 10px 0; }
.guardian-intake .gi-rich-text .ck-content :is(ul, ol) { padding-left: 24px; }
.gi-editor-loading { min-height: 160px; padding: 14px; border: 1px solid #dce1d4; border-radius: 7px; color: #787f70; background: #fcfdf9; }
.gi-section-heading { margin: 3px 0 20px; }
.gi-section-heading > span { font-size: .75rem; color: #777e6c; letter-spacing: .12em; }
.gi-section-heading h2 { font-size: 1.45rem; font-weight: 500; margin: 7px 0 0; }
.gi-card { border: 1px solid #e1e5d9; border-radius: 14px; background: #fff; margin-bottom: 18px; padding: 24px; }
.gi-card h3 { margin: 0 0 23px; padding-bottom: 15px; border-bottom: 1px solid #edf0e7; font-size: 1.05rem; font-weight: 650; }
.gi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 20px; }
.gi-wide { grid-column: 1 / -1; }
.gi-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gi-field > label, .gi-choices legend { font-size: .95rem; font-weight: 600; line-height: 1.6; }
.gi-field small { font-size: .8rem; color: #787f70; }
.gi-date-picker { position: relative; }
.gi-date-picker button { font: inherit; cursor: pointer; }
.gi-date-control { position: relative; width: 100%; cursor: pointer; }
.guardian-intake .gi-date-control input { padding-right: 48px; cursor: pointer; }
.gi-date-control input::placeholder { color: #858b7c; }
.gi-date-control .gi-date-icon { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 38px; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #53633e; }
.gi-date-control .gi-date-icon:hover { background: #edf1e5; }
.gi-calendar { position: absolute; top: calc(100% + 8px); left: 0; z-index: 50; width: 320px; max-width: min(100%, calc(100vw - 64px)); box-sizing: border-box; padding: 14px; background: #fff; border: 1px solid #dce1d4; border-radius: 14px; box-shadow: 0 14px 40px #30382e26; }
.gi-calendar-header { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.gi-calendar button { border: 0; border-radius: 7px; background: transparent; color: #3f4c32; min-height: 32px; }
.gi-calendar-header > button { display: grid; place-items: center; flex-shrink: 0; width: 25px; padding: 0; }
.guardian-intake .gi-calendar-header select { min-width: 0; min-height: 34px; padding: 5px 2px; font-size: .875rem; }
.gi-calendar-header select:first-of-type { flex: 1.4; }
.gi-calendar-header select:last-of-type { flex: 1; }
.gi-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; font-size: .9rem; }
.gi-calendar-days > span { padding: 5px 0 9px; font-size: .8rem; color: #858b7c; }
.gi-calendar button:hover { background: #edf1e5; }
.gi-calendar-days .outside { color: #a9ae9f; }
.gi-calendar-days button[aria-current="date"] { box-shadow: inset 0 0 0 1px #92a574; }
.gi-calendar-days button.selected { background: #53633e; color: #fff; }
.gi-calendar-actions { display: flex; justify-content: space-between; border-top: 1px solid #edf0e7; margin-top: 12px; padding-top: 8px; font-size: .9rem; }
.gi-calendar-actions button { padding: 5px 10px; }
.guardian-intake input:not([type=radio]):not([type=checkbox]), .guardian-intake textarea, .guardian-intake select { width: 100%; box-sizing: border-box; min-height: 43px; border: 1px solid #dce1d4; border-radius: 7px; padding: 10px 12px; background: #fcfdf9; color: #30382e; font: inherit; font-size: 1rem; }
.guardian-intake textarea { resize: vertical; }
.guardian-intake :is(input, textarea, select, button, [tabindex]):focus-visible { outline: 2px solid #70864f; outline-offset: 3px; }
.gi-choices { padding: 0; margin: 0; border: 0; min-width: 0; }
.gi-choices legend { margin-bottom: 10px; }
.gi-choices > div { display: flex; flex-wrap: wrap; gap: 9px; }
.gi-choices label { display: flex; align-items: flex-start; gap: 8px; border: 1px solid #e3e7dc; background: #fcfdf9; padding: 9px 12px; border-radius: 7px; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.gi-choices label:has(input:checked) { background: #eef3e5; border-color: #9bad7e; }
.gi-choices input { accent-color: #586842; flex-shrink: 0; width: 15px; height: 15px; margin: 2px 0 0; }
.gi-table-wrap { overflow-x: auto; }
.gi-table-wrap table { width: 100%; min-width: 580px; border-collapse: collapse; text-align: left; }
.gi-table-wrap caption { text-align: left; font-size: .95rem; color: #70766b; margin-bottom: 13px; }
.gi-table-wrap th, .gi-table-wrap td { padding: 10px; border: 1px solid #e3e7dc; font-size: .9rem; }
.gi-table-wrap thead th { background: #f1f4eb; font-weight: 600; }
.gi-table-wrap tbody th { min-width: 150px; font-weight: 500; }
.gi-table-wrap td { min-width: 135px; }
.gi-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0 20px; font-size: .95rem; color: #747b69; }
.gi-footer button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 17px; border: 1px solid #d7ddcc; border-radius: 8px; background: #fff; font: inherit; color: #49563b; cursor: pointer; }
.gi-footer button.gi-next { background: #53633e; border-color: #53633e; color: #fff; }
.gi-footer button:disabled { opacity: .4; cursor: default; }
.gi-top-navigation { display: none; }
.gi-end { font-size: .875rem; }
@media (max-width: 1100px) { .gi-layout { grid-template-columns: minmax(0, 1fr); } .gi-nav { position: static; display: flex; overflow-x: auto; padding: 10px; } .gi-nav > span { display: none; } .gi-nav button { flex-shrink: 0; max-width: 190px; } }
@media (max-width: 767px) {
  .gi-top-navigation { display: flex; }
  .guardian-intake .gi-nav { display: block; overflow: hidden; }
  .guardian-intake .gi-nav button { display: none; }
  .guardian-intake .gi-nav button.is-active { display: flex; width: 100%; max-width: none; cursor: default; }
}
@media (max-width: 600px) { .gi-heading { align-items: flex-start; flex-direction: column; gap: 14px; } .gi-grid { grid-template-columns: minmax(0, 1fr); } .gi-card { padding: 18px 14px; } .gi-footer button { padding: 10px; } .gi-end { max-width: 115px; text-align: right; } }
