/* Functional Stage 1 layout; premium redesign remains Stage 2. */
.myac-govt-features [hidden]{display:none!important}
.myac-govt-features .gv-grid,.myac-govt-features .gv-profile,.myac-govt-features .gv-picker,.myac-govt-features .gv-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end}
.myac-govt-features label{display:block;flex:1 1 220px;margin:.65rem 0}
.myac-govt-features label input:not([type=checkbox]),.myac-govt-features label select,.myac-govt-features textarea{display:block;width:100%;max-width:100%;box-sizing:border-box}
.myac-govt-features fieldset{min-width:0;margin:1rem 0;padding:1rem;border:1px solid #cbd5e1;border-radius:8px}
.myac-govt-features legend{font-weight:700;padding:0 .4rem}
.myac-govt-features details{margin:1rem 0;padding:.75rem;border:1px solid #cbd5e1;border-radius:8px}
.myac-govt-features summary{cursor:pointer;font-weight:600}
.myac-govt-features button{margin:.3rem;white-space:normal}
.myac-govt-features .gv-table-wrap{max-width:100%;overflow:auto}
.myac-govt-features table{width:100%;border-collapse:collapse}
.myac-govt-features th,.myac-govt-features td{padding:.65rem;text-align:left;vertical-align:top;border-bottom:1px solid #cbd5e1}
.myac-govt-features pre,.myac-govt-features p,.myac-govt-features td{overflow-wrap:anywhere}
.myac-govt-features pre{white-space:pre-wrap;max-height:38rem;overflow:auto}
.myac-govt-features textarea{min-height:10rem}
.myac-govt-features .gv-message{font-weight:600}
.myac-govt-features .gv-result{border-left:4px solid #64748b;padding:.75rem;margin:1rem 0}
.myac-govt-features .gv-result[data-status=met]{border-color:#047857}
.myac-govt-features .gv-result[data-status=too_old],.myac-govt-features .gv-result[data-status=too_young],.myac-govt-features .gv-result[data-status=not_met]{border-color:#b45309}
.myac-govt-features :focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media print{.myac-govt-features form,.myac-govt-features button,.myac-govt-features input{display:none}}
/* Government Jobs hub tables (1.0.0): no theme table margin inside the framed box. */
.myac-calculator.myac-carbon-content .myac-hub-table{margin:0}
/* Government Jobs hub tables (1.0.0): below 601px each row becomes a card that shows its column labels. */
@media (max-width:600px){
.myac-calculator.myac-carbon-content .myac-hub-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.myac-calculator.myac-carbon-content .myac-hub-table,.myac-calculator.myac-carbon-content .myac-hub-table tbody,.myac-calculator.myac-carbon-content .myac-hub-table tr,.myac-calculator.myac-carbon-content .myac-hub-table td{display:block;width:100%;box-sizing:border-box}
.myac-calculator.myac-carbon-content .myac-hub-table tr{border-bottom:1px solid var(--c-line-2)}
.myac-calculator.myac-carbon-content .myac-hub-table tr:last-child{border-bottom:0}
.myac-calculator.myac-carbon-content .myac-hub-table td{padding:5px 16px;border-bottom:0}
.myac-calculator.myac-carbon-content .myac-hub-table td::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--c-body)}
.myac-calculator.myac-carbon-content .myac-hub-table td:first-child{padding-top:14px}
.myac-calculator.myac-carbon-content .myac-hub-table td:first-child::before{display:none}
.myac-calculator.myac-carbon-content .myac-hub-table td:last-child{padding-bottom:14px}
.myac-calculator.myac-carbon-content .myac-hub-relax tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.myac-calculator.myac-carbon-content .myac-hub-relax td{padding-left:8px;padding-right:8px}
.myac-calculator.myac-carbon-content .myac-hub-relax :is(td:first-child,td:nth-child(2),td:last-child){padding-left:16px}
.myac-calculator.myac-carbon-content .myac-hub-relax :is(td:first-child,td:last-child){grid-column:1/-1}
}
/* Wide screens: keep the short age and date columns on one line so the long post list takes the spare width. */
@media (min-width:761px){
.myac-calculator.myac-carbon-content .myac-hub-glance td:not(:first-child){white-space:nowrap}
}
