.pgot-tools-page .site-main,.pgot-tools-page #primary,.pgot-tools-page .page-tool-view{width:min(100% - 2rem,1200px);max-width:1200px;margin-inline:auto;float:none}
.pgot-tools-page .sidebar,.pgot-tools-page #secondary{display:none}
.pgot-tools-page .page-entry-header{text-align:center}
.pgot-tools-page .entry-title{margin-inline:auto;text-align:center}
.pgot-tools-page .arvella-branding-row{grid-template-columns:minmax(0,1fr);gap:.75rem;padding-inline:.5rem}
.pgot-tools-page .arvella-branding,.pgot-tools-page .arvella-branding-side{width:100%;min-width:0;max-width:100%;justify-self:stretch}
.pgot-tools-page .arvella-branding .site-title{display:block;max-width:100%;font-size:clamp(1.7rem,9vw,2.5rem);line-height:1.1;overflow-wrap:anywhere}
.pgot-app{--pgot-ink:#20352e;--pgot-green:#225d48;--pgot-green-soft:#eaf3ed;--pgot-border:#d9e2da;--pgot-muted:#53655c;max-width:1120px;margin:0 auto;color:var(--pgot-ink);font-size:1rem;line-height:1.55}
.pgot-shell{display:grid;gap:1rem;min-width:0}
.pgot-heading{text-align:center;padding:clamp(1rem,3vw,2rem) .75rem .5rem}
.pgot-heading h2{margin:.15rem 0 .5rem;font-size:clamp(1.6rem,4vw,2.2rem);line-height:1.2}
.pgot-heading>p:last-child{max-width:68ch;margin:.5rem auto;color:var(--pgot-muted)}
.pgot-kicker{margin:0;color:var(--pgot-green);font-size:.8rem;font-weight:800;letter-spacing:.1em}
.pgot-card,.pgot-quick{min-width:0;padding:clamp(1rem,2.8vw,1.5rem);border:1px solid var(--pgot-border);border-radius:1.1rem;background:#fff;box-shadow:0 10px 28px rgba(32,53,46,.06)}
.pgot-card h3,.pgot-quick h3{margin:.05rem 0 .4rem;color:var(--pgot-ink);font-size:1.25rem}
.pgot-quick{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem 1rem;background:#f7faf7}
.pgot-quick p,.pgot-section-title p{margin:.2rem 0;color:var(--pgot-muted)}
.pgot-presets{display:flex;flex-wrap:wrap;gap:.5rem;grid-column:1/-1}
.pgot-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.pgot-field{display:flex;min-width:0;flex-direction:column;gap:.35rem}
.pgot-field label,.pgot-field>label{font-weight:700}
.pgot-field input,.pgot-field select{width:100%;min-height:46px;min-width:0;padding:.65rem .75rem;border:1px solid #87988e;border-radius:.55rem;background:#fff;color:var(--pgot-ink);font:inherit}
.pgot-hint,.pgot-field small{margin:0;color:var(--pgot-muted);font-size:.9rem}
.pgot-error{min-height:1.25em;color:#9c2525;font-size:.9rem}
.pgot-badges{margin:1.25rem 0 0;padding:0;border:0}
.pgot-badges legend{margin-bottom:.65rem;font-weight:800}
.pgot-rule-note{padding:.7rem .85rem;border-left:4px solid #687c70;background:#f5f8f5;color:var(--pgot-ink)}
.pgot-badge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}
.pgot-badge{display:flex;min-width:0;min-height:64px;flex-direction:column;justify-content:center;gap:.2rem;padding:.65rem;border:1px solid var(--pgot-border);border-radius:.7rem;background:#fff;color:var(--pgot-ink);font:inherit;font-size:.92rem;font-weight:700;text-align:left;cursor:pointer}
.pgot-badge span{color:var(--pgot-muted);font-size:.85rem;font-weight:500}
.pgot-badge[aria-pressed=true]{border:2px solid var(--pgot-green);background:var(--pgot-green-soft);padding:calc(.65rem - 1px)}
.pgot-advanced{margin-top:1rem;border-top:1px solid var(--pgot-border)}
.pgot-advanced summary,.pgot-help-details summary,.pgot-sources summary{min-height:48px;padding:.75rem 0;color:var(--pgot-green);font-weight:800;cursor:pointer}
.pgot-advanced-body{padding:.25rem 0 .5rem}
.pgot-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:.8rem}
.pgot-advanced-grid>*{width:100%;max-width:100%;min-width:0}
.pgot-check{display:flex;min-height:48px;align-items:center;gap:.6rem;font-weight:650}
.pgot-check input{width:22px;height:22px;flex:0 0 auto;accent-color:var(--pgot-green)}
.pgot-note{max-width:86ch;color:var(--pgot-muted)}
.pgot-rounding{margin-top:.75rem}
.pgot-info{min-height:44px;padding:.45rem .7rem;border:1px solid transparent;border-radius:.5rem;background:transparent;color:var(--pgot-green);font:inherit;font-weight:700;text-align:left;cursor:pointer}
.pgot-info:hover,.pgot-info:focus-visible{border-color:var(--pgot-green);background:var(--pgot-green-soft)}
.pgot-help{max-width:72ch;margin:.35rem 0;padding:.8rem 1rem;border-left:3px solid var(--pgot-green);background:#f5f8f5}
.pgot-result{margin-top:1rem;padding:1rem;border-radius:.8rem;background:#f4f8f4}
.pgot-result h3{margin:0 0 .35rem;font-size:1.35rem}
.pgot-result p{margin:.4rem 0}
.pgot-result dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:.8rem 0}
.pgot-result dl div{padding:.65rem;border:1px solid var(--pgot-border);border-radius:.6rem;background:#fff}
.pgot-result dt{color:var(--pgot-muted);font-size:.85rem}
.pgot-result dd{margin:.15rem 0 0;font-weight:800}
.pgot-warning,.pgot-visible-limit{padding:.7rem .85rem;border-left:4px solid #b27615;background:#fff8e8}
.pgot-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.pgot-actions button,.pgot-presets button,.pgot-menu button,.pgot-section-title button,.pgot-entry-actions button,.pgot-undo,.pgot-empty button,.pgot-import-json{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:.55rem .85rem;border:1px solid var(--pgot-border);border-radius:.55rem;background:#fff;color:var(--pgot-green);font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.pgot-actions button:hover,.pgot-presets button:hover,.pgot-menu button:hover,.pgot-entry-actions button:hover,.pgot-undo:hover,.pgot-empty button:hover{background:var(--pgot-green-soft);border-color:var(--pgot-green)}
.pgot-actions .pgot-primary,.pgot-hub-link{border-color:var(--pgot-green);background:var(--pgot-green);color:#fff}
.pgot-save-actions{margin-top:1rem}
.pgot-status{min-height:1.4em;margin:.45rem 0 0;color:var(--pgot-green);font-weight:650}
.pgot-active,.pgot-active-summary{padding:.6rem .8rem;border-radius:.55rem;background:var(--pgot-green-soft);color:var(--pgot-ink);font-size:.92rem;font-weight:700}
.pgot-progress-track{height:1rem;overflow:hidden;border-radius:999px;background:#e5ebe6}
.pgot-progress-track span{display:block;height:100%;border-radius:inherit;background:var(--pgot-green);transition:width .2s ease}
.pgot-help-details{margin-top:.8rem;border-top:1px solid var(--pgot-border)}
.pgot-section-title{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.pgot-empty{padding:1rem;border-radius:.7rem;background:#f7faf7}
.pgot-empty h4{margin:.1rem 0 .3rem;font-size:1.1rem}
.pgot-ledger{display:grid;gap:.65rem;margin-top:.7rem}
.pgot-entry{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem;border:1px solid var(--pgot-border);border-radius:.75rem}
.pgot-entry-main{min-width:0;overflow-wrap:anywhere}
.pgot-entry h4{margin:0;font-size:1.05rem}
.pgot-entry p{margin:.2rem 0;color:var(--pgot-muted)}
.pgot-entry-main>strong{color:var(--pgot-green);font-size:1.15rem}
.pgot-entry-note{color:#8b4d00!important;font-size:.9rem}
.pgot-entry-actions{display:flex;flex-wrap:wrap;gap:.4rem}
.pgot-entry-actions button{min-height:44px;padding:.45rem .65rem}
.pgot-undo{margin-top:.7rem}
.pgot-menu{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0}
.pgot-import-json{position:relative;overflow:hidden}
.pgot-import-json input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.pgot-sources{padding:.75rem 1rem;border:1px solid var(--pgot-border);border-radius:.9rem;background:#fff}
.pgot-sources p{max-width:90ch}
.pgot-sources a{overflow-wrap:anywhere}
.pgot-visible-limit{margin-top:1rem}
.pgot-footnote{margin:.25rem 0 1.25rem;color:var(--pgot-muted);font-size:.9rem;text-align:center}
.pgot-loading{padding:1rem;text-align:center}
.tools-hub-card .tools-hub-link{display:inline-flex;min-height:44px;align-items:center;margin-top:auto;padding:.55rem .9rem;border-radius:.55rem;background:#225d48;color:#fff;font-weight:700;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.pgot-import-json:focus-within{outline:3px solid #a15d00;outline-offset:2px}
@media(max-width:700px){.pgot-fields,.pgot-advanced-grid{grid-template-columns:minmax(0,1fr)}.pgot-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pgot-result dl{grid-template-columns:repeat(2,minmax(0,1fr))}.pgot-quick{grid-template-columns:1fr}.pgot-presets{grid-column:auto}.pgot-entry{align-items:flex-start;flex-direction:column}.pgot-entry-actions{width:100%}.pgot-entry-actions button{flex:1}.pgot-section-title{align-items:flex-start;flex-direction:column}.pgot-actions button,.pgot-presets button{flex:1}}
@media(max-width:360px){.pgot-tools-page .site-main,.pgot-tools-page #primary,.pgot-tools-page .page-tool-view{width:calc(100% - 1rem)}.pgot-card,.pgot-quick{padding:.85rem}.pgot-badge{padding:.5rem;font-size:.85rem}.pgot-result dl{grid-template-columns:1fr 1fr}}
@media print{.pgot-tools-page .site-header,.pgot-tools-page .site-footer,.pgot-tools-page .sidebar,.pgot-tools-page #secondary,.pgot-quick,.pgot-form-card,.pgot-exports,.pgot-entry-actions,.pgot-undo{display:none!important}.pgot-tools-page .site-main{width:100%;max-width:none}.pgot-card{box-shadow:none;break-inside:avoid}.pgot-entry{break-inside:avoid}.pgot-entry-actions{display:none!important}.pgot-heading{padding:.5rem}.pgot-shell{gap:.5rem}}
