/* Loaded only for the PHP manual shortcode. */
html{scrollbar-gutter:stable}
.phpman{--php-ink:#20343a;--php-accent:#155f65;--php-line:#cbdcd6;--php-soft:#edf5f0;color:var(--php-ink);min-width:0;overflow-wrap:anywhere;font-size:17px;line-height:1.75}
.phpman *{box-sizing:border-box}
.phpman p,.phpman ul,.phpman ol{max-width:80ch}
.phpman h2,.phpman h3,.phpman h4,.phpman [id]{scroll-margin-top:96px}
.phpman h2{font-size:clamp(25px,3vw,32px);line-height:1.3;margin:2rem 0 1rem}
.phpman h3{font-size:clamp(21px,2.5vw,25px);line-height:1.4;margin:1.8rem 0 .8rem}
.phpman h4{font-size:19px;line-height:1.4;margin:1.25rem 0 .6rem}
.phpman a{color:var(--php-accent);text-underline-offset:3px}
.phpman a:focus-visible,.phpman button:focus-visible,.phpman summary:focus-visible,.phpman input:focus-visible,.phpman select:focus-visible{outline:3px solid #b77b16;outline-offset:3px}
.phpman-topline{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:1rem}
.phpman-topline span,.phpman-level,.phpman-kind{display:inline-block;font-size:12px;line-height:1.5;padding:5px 9px;border:1px solid var(--php-line);border-radius:6px;background:var(--php-soft);color:#31545a}
.phpman-breadcrumb{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;font-size:14px;margin:1rem 0}
.phpman-search{padding:clamp(16px,3vw,24px);border:1px solid var(--php-line);border-radius:14px;background:var(--php-soft);margin:1.25rem 0}
.phpman-search>label{font-weight:700;display:block;margin-bottom:9px}
.phpman-search-controls{display:flex;flex-wrap:wrap;gap:8px}
.phpman-search input,.phpman-search select{font:inherit;font-size:16px;line-height:1.5;min-height:48px;padding:10px 12px;border:1px solid #8daeb0;border-radius:8px;background:#fff;color:var(--php-ink);max-width:100%;min-width:0}
.phpman-search input[type=search]{flex:1 1 230px;width:0}
.phpman-search select{flex:0 1 132px}
.phpman button,.phpman .phpman-button{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:15px;font-weight:700;line-height:1.45;padding:11px 15px;min-height:46px;border:1px solid var(--php-accent);border-radius:8px;background:var(--php-accent);color:#fff;text-decoration:none;cursor:pointer;max-width:100%}
.phpman button:hover,.phpman .phpman-button:hover{background:#104c52;color:#fff}
.phpman button[hidden],.phpman [hidden]{display:none!important}
.phpman .phpman-clear{background:#fff;color:var(--php-accent)}
.phpman-search-hint{margin:12px 0 0;font-size:13px;line-height:1.6;color:#49676c}
.phpman-search-results{padding:16px;border:1px solid var(--php-line);border-radius:12px;margin:1rem 0;background:#fff}
.phpman-search-status{margin:0 0 12px;font-size:14px;font-weight:700}
.phpman-results-list{list-style:none;margin:0;padding:0;max-width:none}
.phpman-results-list li+li{border-top:1px solid #dce7e2}
.phpman-results-list a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;min-height:48px;padding:14px 8px;text-decoration:none;border-radius:7px}
.phpman-results-list a>span:last-child{grid-column:1/-1;font-size:14px;line-height:1.6;color:#49676c}
.phpman-results-list a:hover{background:#f0f7f3}
.phpman-chapters{border:1px solid var(--php-line);border-radius:12px;margin:1.4rem 0;background:#fff}
.phpman summary{cursor:pointer;min-height:48px;padding:13px 17px;font-weight:700;line-height:1.5}
.phpman-chapters summary>span{font-size:12px;margin-left:10px;border-radius:12px;padding:3px 7px;background:var(--php-soft)}
.phpman-chapters nav{border-top:1px solid var(--php-line);padding:12px}
.phpman-chapters ol{list-style:none;padding:0;margin:0;max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
.phpman-chapters a{display:block;min-height:44px;padding:10px;border-radius:6px;font-size:14px;line-height:1.5;text-decoration:none}
.phpman-chapters a:hover,.phpman-chapters a[aria-current]{background:var(--php-soft)}
.phpman-chapters a[aria-current]{font-weight:700;border-left:3px solid var(--php-accent)}
.phpman-eyebrow{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#476a70;margin:1.5rem 0 .4rem}
.phpman-lead{font-size:19px;line-height:1.65}
.phpman-note{padding:16px 20px;border-left:4px solid #b88b35;background:#f8f4e7;border-radius:0 10px 10px 0;font-size:15px;line-height:1.7}
.phpman-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:1.4rem 0}
.phpman-routes a{display:grid;gap:8px;padding:18px;border:1px solid var(--php-line);border-radius:12px;background:var(--php-soft);text-decoration:none}
.phpman-routes span{font-size:14px;line-height:1.6;color:#49676c}
.phpman-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:1.25rem 0}
.phpman-topic{position:relative;padding:22px!important;min-width:0;width:auto!important;border:1px solid var(--php-line);border-radius:14px;background:#fff;margin:0!important}
.phpman-topic-number{font-size:13px;letter-spacing:.06em;font-weight:700;color:#8d661c}
.phpman-topic h3{font-size:20px;margin:.6rem 0;line-height:1.45}
.phpman-topic h3 a{text-decoration:none}
.phpman-topic p{font-size:14px;line-height:1.65;margin:0 0 14px;color:#49676c}
.phpman pre{width:100%;min-width:0;max-width:100%;overflow:auto;white-space:pre;overflow-wrap:normal;background:#193039;color:#f0f7f3;border:1px solid #35565c;border-radius:10px;padding:16px;font:14px/1.65 Consolas,'Liberation Mono',monospace;tab-size:4;margin:10px 0 1.3rem}
.phpman pre code{font:inherit;color:inherit;background:none;padding:0;white-space:inherit;overflow-wrap:normal}
.phpman code{overflow-wrap:anywhere}
.phpman .phpman-output{background:#f0f6f2;border-color:var(--php-line);color:#24454c}
.phpman-code-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:1.2rem}
.phpman-code-actions a{font-size:13px;min-height:44px;display:inline-flex;align-items:center;padding:8px 12px}
.phpman-code-actions .phpman-version{font-size:12px;color:#49676c}
.phpman-copy-status{font-size:13px;color:#31545a;min-height:1.4em}
.phpman-chapter details{border:1px solid var(--php-line);border-radius:10px;margin:1rem 0;background:#fff}
.phpman-chapter details>*:not(summary){margin-left:17px;margin-right:17px;max-width:calc(100% - 34px)}
.phpman-chapter details[open]>summary{border-bottom:1px solid var(--php-line);background:#f4f8f5}
.phpman-reference-note{font-size:14px;line-height:1.65;color:#49676c}
.phpman-reference-card summary{font-family:Consolas,monospace;font-size:16px}
.phpman-reference-card summary span{font-family:system-ui,sans-serif;font-size:13px;color:#476a70;display:block;margin-top:3px;font-weight:400}
.phpman-reference-card p{font-size:15px;line-height:1.7}
.phpman-reference-card .phpman-reference-source{font-size:13px;display:inline-flex;min-height:44px;align-items:center}
.phpman-pager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:2rem 0}
.phpman-pager a{display:grid;gap:7px;padding:16px;border:1px solid var(--php-line);border-radius:10px;background:var(--php-soft);text-decoration:none}
.phpman-pager span{font-size:12px;color:#49676c}
.phpman-pager strong{font-size:15px;line-height:1.6}
.phpman-download{padding:24px;border:1px solid var(--php-line);background:var(--php-soft);border-radius:14px;margin:2rem 0}
.phpman-download h2{margin-top:0;font-size:24px}
.phpman-download p{font-size:15px;line-height:1.7}
.phpman-download-links{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.phpman-updated,.phpman-sources{font-size:13px;line-height:1.7;color:#49676c}
.phpman-table-wrap{max-width:100%;overflow:auto}
.phpman table{border-collapse:collapse;width:100%;min-width:520px;overflow-wrap:normal;font-size:14px}
.phpman-table-hint{display:none;font-size:12px;line-height:1.6;color:#49676c;margin:.5rem 0}
.phpman th,.phpman td{padding:10px;border:1px solid var(--php-line);text-align:left;vertical-align:top}
.phpman th{background:var(--php-soft)}
/* Keep each term and its explanation together on narrow screens. */
@media(max-width:600px){
  .phpman .phpman-table-wrap--stacked{overflow:visible}
  .phpman .phpman-mobile-table{min-width:0;max-width:100%;border-collapse:separate;border-spacing:0}
  .phpman .phpman-mobile-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .phpman .phpman-mobile-table tbody{display:block;width:100%}
  .phpman .phpman-mobile-table tbody tr{display:block;margin:0 0 12px;border:1px solid var(--php-line);border-radius:8px;overflow:hidden}
  .phpman .phpman-mobile-table td{display:block;width:100%;box-sizing:border-box;border:0;padding:12px;white-space:normal;overflow-wrap:anywhere}
  .phpman .phpman-mobile-table td:first-child{background:var(--php-soft);font-weight:600;border-bottom:1px solid var(--php-line)}
  .phpman .phpman-mobile-table td code,.phpman .phpman-mobile-table td a{white-space:normal;overflow-wrap:anywhere}
  .phpman .phpman-labeled-table td::before{content:attr(data-label);display:block;margin-bottom:4px;font-size:12px;font-weight:600;color:#49676c}
}
@media(max-width:700px){.phpman{font-size:16px}.phpman-routes,.phpman-topic-grid,.phpman-pager,.phpman-chapters ol{grid-template-columns:1fr}.phpman-search input[type=search]{flex-basis:100%;width:100%}.phpman-search select{flex:1 1 100px}.phpman .phpman-clear{flex-basis:100%}.phpman pre{font-size:12px;padding:12px}.phpman-download{padding:17px}.phpman-results-list a{grid-template-columns:1fr}.phpman-results-list .phpman-kind{justify-self:start}.phpman h2,.phpman h3,.phpman h4,.phpman [id]{scroll-margin-top:72px}.phpman-topline span{font-size:11px}.phpman-table-hint{display:block}}
@media print{.phpman-search,.phpman-search-results,.phpman-chapters,.phpman-code-actions,.phpman-pager,.phpman-download,.phpman-breadcrumb{display:none!important}.phpman pre{white-space:pre-wrap;background:#fff;color:#000;border:1px solid #aaa;overflow:visible}.phpman details>*{display:block!important}.phpman-chapter{break-before:page}.phpman-topic-grid{display:block}}
