/* Practical tools inherit the site's warm editorial palette. */
.task-section {
  padding-block: 28px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.task-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 18px;
  border: 1px solid #b9c8b8;
  border-radius: 12px;
  background: #f0f3e8;
  color: #173e36;
  text-decoration: none;
}
.task-card svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.task-card > span {
  margin-left: auto;
}
.task-card:hover {
  background: #e2eccd;
}
.hub-search {
  padding: 30px 36px;
  background: #edf1e5;
  border: 1px solid #bdcdb9;
  border-radius: 18px;
  margin-block: 25px 55px;
}
.hub-search h2 {
  font-size: clamp(32px, 4vw, 50px);
}
.hub-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px auto;
  gap: 10px;
}
.hub-search-controls > label:first-child {
  grid-column: 1;
}
.hub-search-controls > label[for="site-language"] {
  grid-column: 2;
  grid-row: 1;
}
.hub-search-controls input {
  grid-column: 1;
  grid-row: 2;
}
.hub-search-controls select {
  grid-column: 2;
  grid-row: 2;
}
.hub-search-controls button {
  grid-column: 3;
  grid-row: 2;
}
.hub-search input,
.hub-search select,
.provider-controls input,
.provider-controls select,
.worksheet input,
.worksheet textarea {
  font: inherit;
  border: 1px solid #799582;
  background: #fffdf7;
  color: #173e36;
  border-radius: 7px;
  padding: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.site-results {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.site-results li {
  background: #fffdf7;
  padding: 20px;
  border-radius: 10px;
  min-width: 0;
}
.site-results a {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.site-results p {
  font-size: 15px;
  margin-bottom: 0;
}
.site-results small {
  font-size: 12px;
  letter-spacing: 0.07em;
}
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 20px;
}
.hub-search button,
.tool-actions button,
.worksheet button,
.emergency-card button,
.policy-copy > button {
  font: inherit;
  background: #173e36;
  color: #fffdf7;
  padding: 11px 18px;
  border: 1px solid #173e36;
  border-radius: 6px;
  cursor: pointer;
  min-height: 44px;
}
.practical-section {
  border-top: 1px solid #c9d1c5;
  padding-top: 45px;
}
.practical-section > .section-heading h2 {
  max-width: 700px;
}
.hub-table {
  margin-block: 28px;
  border: 1px solid #bac9bb;
}
.hub-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 550px;
  font-size: 16px;
}
.hub-table caption {
  text-align: left;
  padding: 16px;
  font-weight: 700;
  background: #e9edde;
  color: #173e36;
}
.hub-table th,
.hub-table td {
  text-align: left;
  vertical-align: top;
  border: 1px solid #c7d0c2;
  padding: 18px;
}
.hub-table th {
  background: #f1f3e8;
}
.plan-sheet {
  background: #fffdf6;
  border: 1px solid #bdc8b7;
  padding: 28px;
  border-radius: 12px;
  margin-block: 30px;
}
.plan-sheet h3 {
  font-size: 26px;
  margin-top: 0;
}
.action-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}
.action-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #d1d7c9;
}
.action-list label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.action-list input {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  accent-color: #173e36;
  margin-top: 3px;
}
.action-list a {
  font-size: 14px;
  align-self: center;
}
.tool-note {
  font-size: 14px;
  color: #45604c;
}
.worksheet {
  background: #eef2e7;
  padding: 30px;
  border: 1px solid #bac9bb;
  border-radius: 12px;
  margin-block: 32px;
}
.worksheet h3 {
  font-size: 28px;
  margin-top: 0;
}
.worksheet-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.worksheet label {
  display: block;
  font-weight: 600;
  line-height: 1.45;
}
.worksheet input,
.worksheet textarea {
  display: block;
  margin-top: 8px;
  font-weight: 400;
}
.worksheet textarea {
  resize: vertical;
}
.budget-total {
  font-size: 22px;
  color: #173e36;
  font-weight: 600;
}
.emergency-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 25px;
  border: 2px solid #8c4931;
  background: #fff1e5;
  border-radius: 12px;
  margin-block: 25px;
}
.emergency-panel > div {
  flex: 1 1 330px;
}
.emergency-panel strong {
  font-size: 22px;
  color: #673623;
}
.emergency-panel p {
  margin: 7px 0 0;
}
.emergency-panel > a:last-child {
  font-size: 15px;
}
.flow-grid,
.provider-grid,
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-block: 25px;
}
.flow-grid article,
.toolkit-grid article {
  background: #f0f2e7;
  border: 1px solid #becbb9;
  padding: 24px;
  border-radius: 12px;
  min-width: 0;
}
.flow-grid h2,
.toolkit-grid h2 {
  font-size: 27px;
  line-height: 1.25;
}
.flow-grid h3 {
  font-size: 24px;
}
.flow-grid h4 {
  font-size: 22px;
}
.flow-grid a {
  overflow-wrap: anywhere;
}
.region-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-block: 28px;
}
.region-directory a {
  background: #173e36;
  color: #fffdf7;
  padding: 24px 16px;
  border-radius: 50% 50% 12px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.region-directory svg {
  width: 32px;
  height: 32px;
}
.provider-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: #edf1e5;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 35px;
}
.provider-controls input {
  max-width: 350px;
}
.provider-controls select {
  max-width: 260px;
}
.provider-grid {
  grid-template-columns: 1fr 1fr;
}
.provider-card {
  padding: 28px;
  background: #fffdf7;
  border: 1px solid #b8c9b7;
  border-radius: 14px;
  min-width: 0;
}
.provider-card h3 {
  font-size: 29px;
  line-height: 1.2;
}
.provider-card .eyebrow {
  font-size: 10px;
  line-height: 1.6;
}
.provider-card dt {
  font-weight: 700;
  margin-top: 16px;
}
.provider-card dd {
  margin: 5px 0;
  font-size: 16px;
}
.provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  border-top: 1px solid #c8d1c4;
  padding-top: 20px;
  margin-top: 20px;
}
.call-link {
  font-size: 23px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.policy-copy {
  max-width: 850px;
}
.policy-copy > section {
  margin-bottom: 40px;
}
.policy-copy h2 {
  font-size: 34px;
}
.topic-plan {
  border: 1px solid #bac9bb;
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 18px;
  background: #fffdf7;
}
.topic-plan summary {
  font-size: 24px;
  cursor: pointer;
  min-height: 44px;
}
.topic-plan .plan-sheet {
  border: 0;
  padding: 10px;
  margin: 0;
}
.emergency-card {
  border: 2px dashed #56755e;
  padding: 32px;
  max-width: 720px;
  margin-block: 30px;
}
.emergency-card dt {
  font-size: 23px;
  font-weight: 600;
  margin-top: 18px;
}
.emergency-card dd {
  margin: 0;
  font-size: 17px;
}
.corrected-graphic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: start;
  margin-block: 50px;
  padding-top: 30px;
  border-top: 1px solid #bfceb9;
}
.corrected-graphic img {
  width: 100%;
  height: auto;
  max-width: 520px;
  justify-self: center;
  border-radius: 16px;
}
.corrected-graphic h3 {
  font-size: 36px;
}
.corrected-graphic p {
  font-size: 18px;
  line-height: 1.8;
}
.source-links li {
  margin-bottom: 10px;
}
.download-list li {
  padding: 9px 0;
}
.guide-next-actions {
  background: #edf2e3;
  padding: 24px;
  margin: 25px 0;
  border-radius: 8px;
}
.guide-next-actions a {
  display: inline-block;
  margin: 5px;
}
.hub-hero h1 {
  font-size: clamp(42px, 5.5vw, 76px);
}
.lawyer-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.directory-invitation {
  font-size: 24px;
  margin: 24px 0;
}
.header-language {
  border: 1px solid #8da38b;
  padding: 8px 14px;
  border-radius: 20px;
}
.site-header nav {
  gap: 24px;
}
.hub-search-controls[hidden],
.provider-controls[hidden],
[data-provider][hidden],
[data-provider-group][hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .task-grid,
  .flow-grid,
  .toolkit-grid,
  .lawyer-flow {
    grid-template-columns: 1fr 1fr;
  }
  .site-header nav {
    gap: 15px;
  }
  .corrected-graphic {
    gap: 22px;
  }
  .region-directory {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .hub-search {
    padding: 25px 20px;
  }
  .hub-search-controls {
    grid-template-columns: 1fr 1fr;
  }
  .hub-search-controls > label:first-child {
    grid-column: 1/-1;
  }
  .hub-search-controls input {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .hub-search-controls > label[for="site-language"] {
    grid-column: 1;
    grid-row: 3;
  }
  .hub-search-controls select {
    grid-column: 1;
    grid-row: 4;
  }
  .hub-search-controls button {
    grid-column: 2;
    grid-row: 4;
  }
  .task-grid {
    gap: 10px;
  }
  .task-card {
    padding: 18px 12px;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 16px;
  }
  .task-card strong {
    flex-basis: 100%;
    order: 2;
  }
  .task-card > span {
    order: 1;
  }
  .site-results,
  .worksheet-fields,
  .provider-grid,
  .flow-grid,
  .toolkit-grid,
  .lawyer-flow,
  .corrected-graphic {
    grid-template-columns: 1fr;
  }
  .action-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .action-list li > a {
    margin-left: 37px;
  }
  .plan-sheet,
  .worksheet,
  .provider-card {
    padding: 22px 18px;
  }
  .region-directory a {
    border-radius: 24px 24px 10px 10px;
    padding: 18px 12px;
  }
  .provider-controls input,
  .provider-controls select {
    max-width: none;
  }
  .call-link {
    font-size: 20px;
  }
  .policy-copy h2 {
    font-size: 29px;
  }
  .corrected-graphic h3 {
    font-size: 30px;
  }
  .corrected-graphic {
    margin-block: 35px;
  }
  .site-results a {
    font-size: 19px;
  }
}
@media print {
  .hub-search,
  .task-section,
  .region-directory,
  .provider-controls,
  .tool-actions,
  .header-language,
  [data-compose-email],
  [data-clear-storage],
  .footer-links {
    display: none !important;
  }
  .topic-plan > summary {
    display: block;
  }
  .topic-plan > * {
    display: block !important;
  }
  .worksheet,
  .plan-sheet,
  .emergency-card,
  .provider-card {
    background: white;
    border: 1px solid #666;
    break-inside: avoid;
  }
  .worksheet input,
  .worksheet textarea {
    background: white;
    color: black;
    border: 1px solid #777;
    overflow: visible;
  }
  .worksheet textarea {
    field-sizing: content;
  }
  .flow-grid,
  .worksheet-fields,
  .provider-grid {
    grid-template-columns: 1fr 1fr;
  }
  .table-scroll {
    overflow: visible;
  }
  .corrected-graphic {
    break-inside: avoid;
  }
  .hub-table table {
    min-width: 0;
    font-size: 11px;
  }
}

.hub-table {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 600px) {
  .page-home .hero-art {
    height: 300px;
    margin-top: 10px;
  }
  .page-home .destination-photo {
    height: 285px;
    width: 67%;
    right: 8%;
  }
  .page-home .hero-art .postcard {
    width: 120px;
    height: auto;
    bottom: 5px;
    left: 0;
  }
  .page-home .hero-art .postcard img {
    height: 130px;
  }
  .page-home .hero-art .sun-sticker {
    width: 95px;
    height: 95px;
    right: 0;
    top: 0;
  }
  .page-home .hero-art .sun-sticker span {
    font-size: 11px;
  }
  .page-home .hero-art .art-coordinate {
    display: none;
  }
  .page-home .hero-art .hero-frond {
    height: 230px;
  }
  .page-home .hero {
    padding-bottom: 18px;
  }
}

.utility-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  font-size: 14px;
  padding-block: 10px;
  border-top: 1px solid #d4d9cb;
  border-bottom: 1px solid #d4d9cb;
  color: #5b3828;
}
.utility-bar > a:last-child {
  margin-left: auto;
}
.utility-bar a {
  font-weight: 600;
}
.region-directory svg {
  fill: currentColor;
}
@media (max-width: 600px) {
  .utility-bar {
    font-size: 12px;
    gap: 7px 12px;
  }
  .utility-bar span {
    flex-basis: 100%;
  }
  .utility-bar > a:last-child {
    margin-left: 0;
  }
}
@media print {
  .utility-bar {
    display: none;
  }
}
