.pet-workspace[hidden], .pet-workspace [data-pet-panel][hidden] { display: none !important; }
.role-entry { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pet-workspace { margin-top: 18px; min-width: 0; }
.pet-hub-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 32px; border-radius: 18px 18px 0 0; background: #143e36; color: #fff; }
.pet-hub-eyebrow { margin: 0 0 10px; color: #a9cec0; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.pet-hub-hero h2 { margin: 0; font-size: 30px; letter-spacing: 1px; }
.pet-hub-subtitle { margin: 12px 0 0; color: #d3e5dd; line-height: 1.8; }
.pet-hub-stage { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid #52786b; border-radius: 12px; flex-shrink: 0; }
.pet-hub-stage strong, .pet-hub-stage small { display: block; }
.pet-hub-stage small { color: #c7dfd3; margin-top: 6px; }
.pet-hub-dot { width: 8px; height: 8px; border-radius: 50%; background: #b0d796; }
.pet-environment { padding: 11px 24px; border: 1px solid #d8e3dd; background: #edf3ef; color: #4b665b; font-size: 12px; line-height: 1.7; }
.pet-hub-nav { display: flex; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.pet-hub-nav button { border: 0; padding: 11px 20px; border-radius: 9px; background: transparent; color: #586b62; font: inherit; cursor: pointer; white-space: nowrap; }
.pet-hub-nav button.active { background: #143e36; color: #fff; font-weight: 700; }
.pet-workspace button:focus-visible, .pet-workspace a:focus-visible { outline: 3px solid #d6912d; outline-offset: 3px; }
.pet-section-title, .pet-tool-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pet-section-title h3, .pet-tool-head h3 { margin: 0 0 8px; font-size: 20px; }
.pet-section-title p, .pet-tool-head p { margin: 0; line-height: 1.8; color: var(--muted); max-width: 850px; }
.pet-soft-label { padding: 5px 9px; border-radius: 5px; background: #edf3ef; color: #496354; font-size: 11px; font-weight: 500; line-height: 1.5; }
.pet-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pet-feature-card, .pet-feature-note { display: flex; flex-direction: column; align-items: stretch; padding: 24px; border: 1px solid #d8e3dd; border-radius: 14px; background: white; text-align: left; min-width: 0; font: inherit; color: var(--text); }
.pet-feature-card { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pet-feature-card:hover { border-color: #759c87; box-shadow: 0 4px 18px #203e3610; }
.pet-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
.pet-card-number { font: 700 18px ui-monospace, monospace; color: #8faaa0; }
.pet-feature-card > strong, .pet-feature-note > strong { font-size: 19px; line-height: 1.5; }
.pet-card-description { color: var(--muted); line-height: 1.85; margin: 10px 0 18px; }
.pet-card-open { margin-top: auto; display: flex; justify-content: space-between; color: #22533f; font-weight: 650; font-size: 12px; }
.pet-feature-note { background: #eeeae0; border-color: #e4ddce; justify-content: center; }
.pet-feature-note .pet-hub-eyebrow { color: #7e765c; }
.pet-feature-note p, .pet-feature-note small { line-height: 1.9; color: #696958; }
.pet-process { margin-top: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.pet-process h3 { margin: 0 0 22px; font-size: 17px; }
.pet-process ol { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin: 0; padding: 0; }
.pet-process li { display: grid; grid-template-columns: 26px 1fr; gap: 6px 10px; }
.pet-process b { grid-row: span 2; color: #537c66; font: 600 12px ui-monospace, monospace; padding-top: 3px; }
.pet-process strong { font-size: 13px; }
.pet-process span { font-size: 12px; color: var(--muted); line-height: 1.7; }
.pet-tool-head { padding: 4px 0; }
.pet-link-button { display: inline-block; border: 1px solid #bacfc0; background: white; color: #21583f; border-radius: 8px; padding: 10px 14px; text-decoration: none; font: inherit; font-size: 12px; cursor: pointer; line-height: 1.5; }
.pet-tool-head > a { white-space: nowrap; }
.pet-tool-frame { width: 100%; height: 1050px; max-height: none; display: block; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pet-unavailable { background: white; border: 1px dashed #bdcfc3; padding: 40px 24px; border-radius: 12px; text-align: center; }
.pet-unavailable p, .pet-footnote { font-size: 12px; color: var(--muted); line-height: 1.8; }
.pet-finance-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.pet-finance-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.pet-finance-grid article > span { display: block; color: #667a6c; font-size: 12px; margin-bottom: 15px; }
.pet-finance-grid strong { display: block; font-size: 19px; }
.pet-finance-grid p { line-height: 1.9; color: var(--muted); }
.pet-resource-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.pet-boundary-note { padding: 22px; border-left: 3px solid #7e9c88; background: #e9f0eb; margin-top: 24px; line-height: 1.8; }
.pet-boundary-note p { margin-bottom: 0; color: var(--muted); }
@media (max-width: 1050px) {
  .pet-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pet-hub-hero { padding: 24px; }
  .pet-hub-stage { max-width: 210px; }
  .pet-process ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .role-entry { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pet-hub-hero { flex-direction: column; align-items: stretch; padding: 23px 20px; gap: 20px; }
  .pet-hub-stage { max-width: none; padding: 12px 14px; }
  .pet-hub-hero h2 { font-size: 26px; }
  .pet-environment { padding: 12px 16px; }
  .pet-hub-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .pet-hub-nav button { padding: 11px 3px; font-size: 12px; }
  .pet-section-title, .pet-tool-head { flex-direction: column; }
  .pet-section-title > .pet-soft-label { display: none; }
  .pet-feature-grid, .pet-finance-grid { grid-template-columns: minmax(0,1fr); }
  .pet-feature-card { padding: 21px; }
  .pet-card-top { margin-bottom: 16px; }
  .pet-process { padding: 20px; }
  .pet-process ol { grid-template-columns: minmax(0,1fr); }
  .pet-tool-frame { height: 1100px; }
}
