/* Dimataling Postings â€” GWT-matched look: navy bar, cream surface, Arial, 16px. */
:root {
  color-scheme: light;
  --pst-navy: #0b2545;
  --pst-navy-2: #13315c;
  --pst-gold: #c9a227;
  --pst-cream: #fbf8f1;
  --pst-card: #ffffff;
  --pst-ink: #1b1f24;
  --pst-muted: #4a5563;      /* 7.4:1 on cream */
  --pst-line: #e2dccd;
  --pst-red: #a4161a;
  --pst-focus: #1d4ed8;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body.pst {
  margin: 0;
  background: var(--pst-cream);
  color: var(--pst-ink);
  font: 1rem/1.6 Arial, Helvetica, sans-serif;
}
body.pst-embed { background: transparent; }
.pst a { color: var(--pst-navy-2); }
.pst a:hover { color: var(--pst-red); }
.pst :focus-visible { outline: 3px solid var(--pst-focus); outline-offset: 2px; }
.pst-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.pst-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pst-skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.pst-skip:focus { left: 8px; }

/* Masthead */
.pst-masthead { background: #fff; border-bottom: 3px solid var(--pst-gold); }
.pst-masthead-inner { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.pst-seal { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.pst-kicker { font-size: .8rem; letter-spacing: .04em; color: var(--pst-muted); }
.pst-lgu { font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; color: var(--pst-navy); text-transform: uppercase; }
.pst-navbar { background: var(--pst-navy); }
.pst-navbar .pst-wrap { display: flex; flex-wrap: wrap; gap: 4px; }
.pst-navbar a {
  color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; padding: 14px 16px;
}
.pst-navbar a:hover, .pst-navbar a[aria-current="page"] { background: var(--pst-navy-2); color: #f3d77a; }

/* Heading + filter */
.pst-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 28px 0 16px; }
.pst-embed .pst-head { padding-top: 8px; }
.pst h1 { font-size: 2rem; line-height: 1.2; margin: 0; color: var(--pst-ink); }
.pst-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pst-filter select, .pst-filter input, .pst-filter button, .pst-btn {
  font: inherit; font-size: .95rem; min-height: 44px; padding: 8px 12px;
  border: 1px solid #b9b2a2; border-radius: 6px; background: #fff; color: var(--pst-ink);
}
.pst-filter input { min-width: 200px; }
.pst-filter button, .pst-btn {
  background: var(--pst-navy); color: #fff; border-color: var(--pst-navy); cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center;
}
.pst-filter button:hover, .pst-btn:hover { background: var(--pst-navy-2); color: #fff; }

/* List */
.pst-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; align-items: start; }
.pst-card { background: var(--pst-card); border: 1px solid var(--pst-line); border-left: 4px solid var(--pst-navy); border-radius: 8px; padding: 16px 18px; }
.pst-card h2 { font-size: 1.2rem; margin: 6px 0; line-height: 1.35; }
.pst-card h2 a { text-decoration: none; }
.pst-card h2 a:hover { text-decoration: underline; }
.pst-card p { margin: 0; color: var(--pst-muted); }
.pst-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--pst-muted); }
.pst-cat { font-weight: 700; color: var(--pst-red); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.pst-badge { background: var(--pst-gold); color: #1b1f24; border-radius: 999px; padding: 1px 10px; font-size: .75rem; font-weight: 700; }
.pst-badge-closed { background: #5b616b; color: #fff; }
.pst-foot { margin-top: 8px; font-size: .85rem; color: var(--pst-muted); }
.pst-empty { background: #fff; border: 1px dashed #b9b2a2; border-radius: 8px; padding: 28px 20px; margin: 16px 0 32px; text-align: center; color: var(--pst-muted); }
.pst-pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin: 8px 0 32px; }
.pst-pager a { font-weight: 700; }

/* Article */
.pst-article { background: #fff; border: 1px solid var(--pst-line); border-radius: 8px; padding: 20px 22px; margin: 24px 0 32px; }
.pst-embed .pst-article { margin-top: 8px; }
.pst-article h1 { margin: 8px 0 10px; }
.pst-back { margin: 0 0 8px; font-size: .9rem; }
.pst-deadline { font-weight: 700; color: var(--pst-red); margin: 0 0 8px; }
.pst-summary { font-size: 1.1rem; color: var(--pst-muted); }
.pst-body { overflow-wrap: anywhere; }
.pst-body table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.pst-body th, .pst-body td { border: 1px solid var(--pst-line); padding: 6px 8px; text-align: left; }
.pst-body blockquote { margin: 12px 0; padding: 8px 14px; border-left: 4px solid var(--pst-gold); background: var(--pst-cream); }
.pst-attachments h2 { font-size: 1.15rem; margin: 24px 0 8px; }
.pst-attachments ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pst-attachments li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border: 1px solid var(--pst-line); border-radius: 6px; padding: 10px; }
.pst-file { flex: 1 1 200px; overflow-wrap: anywhere; }
.pst-thumb { border: 0; padding: 0; background: none; cursor: zoom-in; }
.pst-thumb img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; display: block; }
.pst-pdf { flex-basis: 100%; }
.pst-pdf summary { cursor: pointer; font-weight: 700; color: var(--pst-navy-2); min-height: 32px; }
.pst-pdf iframe { width: 100%; height: 70vh; min-height: 420px; border: 1px solid var(--pst-line); border-radius: 4px; margin-top: 8px; }
.pst-share { margin-top: 20px; display: flex; gap: 10px; align-items: center; }
.pst-copied { color: #1e6b34; font-weight: 700; }

/* Lightbox */
.pst-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.pst-lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.pst-lightbox img { max-width: 94vw; max-height: 86vh; display: block; margin: 0 auto; }
.pst-lightbox-close { display: block; margin: 0 0 8px auto; font: inherit; padding: 8px 14px; border-radius: 6px; border: 0; cursor: pointer; }

/* Footer */
.pst-footer { background: var(--pst-navy); color: #e8edf5; font-size: .9rem; padding: 18px 0; }
.pst-footer a { color: #f3d77a; }
.pst-footer p { margin: 6px 0; }

/* Admin */
.pst-admin-bar { background: var(--pst-navy); color: #fff; }
.pst-admin-bar .pst-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 10px; padding-bottom: 10px; }
.pst-admin-bar strong { margin-right: auto; }
.pst-admin-bar a { color: #fff; font-weight: 700; text-decoration: none; padding: 6px 4px; }
.pst-admin-bar a:hover, .pst-admin-bar a[aria-current="page"] { color: #f3d77a; }
.pst-panel { background: #fff; border: 1px solid var(--pst-line); border-radius: 8px; padding: 18px; margin: 18px 0; }
.pst-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: start; }
.pst-stat { background: #fff; border: 1px solid var(--pst-line); border-radius: 8px; padding: 14px; text-decoration: none; color: var(--pst-ink); }
.pst-stat b { display: block; font-size: 1.8rem; color: var(--pst-navy); }
.pst-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pst-table th, .pst-table td { border-bottom: 1px solid var(--pst-line); padding: 8px 6px; text-align: left; vertical-align: top; }
.pst-table-wrap { overflow-x: auto; }
.pst-status { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: #e7eaf0; white-space: nowrap; }
.pst-status-published { background: #d8efe0; color: #14532d; }
.pst-status-for_approval { background: #fdf1c7; color: #6b4f00; }
.pst-status-archived { background: #e5e5e5; color: #3a3a3a; }
.pst-form label { display: block; font-weight: 700; margin: 14px 0 4px; }
.pst-form input[type=text], .pst-form input[type=datetime-local], .pst-form select, .pst-form textarea {
  width: 100%; font: inherit; padding: 8px 10px; border: 1px solid #b9b2a2; border-radius: 6px; min-height: 44px; background: #fff;
}
.pst-form .pst-hint { font-size: .85rem; color: var(--pst-muted); margin: 2px 0 0; }
.pst-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; align-items: start; }
.pst-editor-bar { display: flex; flex-wrap: wrap; gap: 4px; border: 1px solid #b9b2a2; border-bottom: 0; border-radius: 6px 6px 0 0; padding: 6px; background: var(--pst-cream); }
.pst-editor-bar button { font: inherit; font-size: .85rem; min-height: 36px; padding: 4px 10px; border: 1px solid #b9b2a2; border-radius: 4px; background: #fff; cursor: pointer; }
.pst-editor { min-height: 260px; border: 1px solid #b9b2a2; border-radius: 0 0 6px 6px; padding: 10px 12px; background: #fff; overflow-wrap: anywhere; }
.pst-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pst-btn-secondary { background: #fff; color: var(--pst-navy); }
.pst-btn-secondary:hover { background: var(--pst-cream); color: var(--pst-navy); }
.pst-btn-danger { background: var(--pst-red); border-color: var(--pst-red); }
.pst-flash { border-radius: 6px; padding: 10px 14px; margin: 14px 0; font-weight: 700; }
.pst-flash-ok { background: #d8efe0; color: #14532d; }
.pst-flash-err { background: #fbe0e0; color: #7f1d1d; }

@media (max-width: 600px) {
  .pst h1 { font-size: 1.55rem; }
  .pst-lgu { font-size: 1.15rem; }
  .pst-filter, .pst-filter select, .pst-filter input { width: 100%; }
  .pst-filter input { min-width: 0; }
  .pst-article { padding: 16px; }
  .pst-navbar a { padding: 11px 9px; font-size: .74rem; letter-spacing: .06em; }
}

/* Public document directory: editorial hierarchy and compact, direct navigation. */
body.pst { background: #f6f5f0; }
.pst-wrap { max-width: 1280px; padding-inline: 32px; }
.pst-masthead-inner { padding-block: 25px; }
.pst-lgu { font: 700 1.6rem/1.2 Georgia, 'Times New Roman', serif; }
.pst-masthead .pst-navbar { background: var(--pst-navy); }
.pst-navbar .pst-wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pst-navbar a { min-height: 48px; color: #fff; letter-spacing: .025em; }
.pst-navbar a:hover, .pst-navbar a[aria-current=page] { color: #ffe39a; }
.pst-head { display: block; padding: 42px 0 28px; border-bottom: 1px solid var(--pst-line); margin-bottom: 0; }
.pst-eyebrow { font: 700 .72rem/1.4 Arial, sans-serif; letter-spacing: .14em; color: var(--pst-muted); margin: 0 0 12px; }
.pst-head h1 { font: 700 clamp(2rem, 4vw, 3.35rem)/1.12 Georgia, 'Times New Roman', serif; margin: 0; color: var(--pst-navy); max-width: 1000px; }
.pst-intro { max-width: 720px; color: var(--pst-muted); margin: 16px 0 24px; line-height: 1.6; }
.pst .pst-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.pst-filter-field { font-size: .8rem; font-weight: 700; display: grid; gap: 6px; min-width: 0; }
.pst .pst-filter select, .pst .pst-filter input { font-size: 1rem; font-weight: 400; min-height: 48px; max-width: 100%; background: var(--pst-card); }
.pst-filter select { width: 320px; }
.pst-search-field { flex: 1 1 260px; }
.pst .pst-search-field input { width: 100%; }
.pst-filter button { min-height: 48px; padding-inline: 26px; }
.pst-clear { min-height: 44px; display: inline-flex; align-items: center; }
.pst-directory { display: grid; grid-template-columns: 265px minmax(0,1fr); gap: 36px; padding: 30px 0 50px; }
.pst-directory-nav { min-width: 0; border-right: 1px solid var(--pst-line); padding-right: 24px; }
.pst-directory-nav nav { display: grid; gap: 3px; }
.pst-directory-nav nav a { padding: 10px 12px; min-height: 44px; font-size: .88rem; line-height: 1.45; text-decoration: none; border-left: 3px solid transparent; }
.pst-directory-nav nav a:hover { background: #ecebe3; }
.pst-directory-nav nav a[aria-current=page] { background: #e9edf2; color: var(--pst-navy); border-color: #a98017; font-weight: 700; }
.pst-directory-note { font-size: .84rem; border-top: 1px solid var(--pst-line); margin-top: 24px; padding-top: 20px; }
.pst-directory-note p { color: var(--pst-muted); }
.pst-results { min-width: 0; }
.pst-result-bar { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-bottom: 2px solid var(--pst-navy); padding: 0 0 14px; font-size: .85rem; color: var(--pst-muted); }
.pst-result-bar strong { font-size: 1.2rem; color: var(--pst-navy); }
.pst .pst-empty { background: var(--pst-card); padding: 38px; margin: 22px 0; border: 1px solid var(--pst-line); border-radius: 0; }
.pst-empty-mark { display: block; color: #a98017; margin-bottom: 20px; }
.pst-empty-mark svg { width: 36px; height: 42px; }
.pst-empty h2 { font: 700 1.6rem/1.3 Georgia, serif; margin: 0 0 14px; color: var(--pst-navy); }
.pst-muted { color: var(--pst-muted); }
.pst-source-note { border-left: 3px solid #a98017; padding: 12px 20px; font-size: .85rem; }
.pst-source-note p { margin: 6px 0 0; color: var(--pst-muted); }
.pst .pst-card { padding: 24px 0; border: 0; border-bottom: 1px solid var(--pst-line); border-radius: 0; background: transparent; }
.pst-card h2 { font: 700 1.45rem/1.3 Georgia, serif; }
.pst .pst-article { max-width: 940px; margin: 36px auto; padding: 36px; border-radius: 0; background: var(--pst-card); }
.pst-article h1 { font: 700 clamp(1.8rem, 3vw, 2.7rem)/1.2 Georgia, serif; }
.pst .pst-panel { border-radius: 0; }
.pst-preparation { border-top: 1px solid var(--pst-line); padding: 22px 0; display: grid; grid-template-columns: minmax(190px,.75fr) minmax(0,2fr); gap: 24px; }
.pst-preparation h2 { font: 700 1.3rem/1.3 Georgia, serif; margin-top: 0; }
.pst-preparation ul { margin-top: 0; }
.pst-admin a, .pst-admin button { min-height: 44px; }
@media(max-width: 800px) {
  .pst-wrap { padding-inline: 20px; }
  .pst-head { padding-top: 28px; }
  .pst-directory { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .pst-directory-nav { border: 0; padding: 0; }
  .pst-directory-nav nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; }
  .pst-directory-nav nav a { flex: 0 0 auto; max-width: 200px; border: 1px solid var(--pst-line); border-bottom-width: 3px; background: var(--pst-card); }
  .pst-directory-note { display: none; }
  .pst-preparation { grid-template-columns: 1fr; gap: 6px; }
  .pst .pst-empty { padding: 24px; }
  .pst .pst-article { padding: 22px; }
}
@media(max-width: 480px) {
  .pst-wrap { padding-inline: 16px; }
  .pst-navbar .pst-wrap { flex-wrap: nowrap; overflow-x: auto; gap: 6px; }
  .pst-navbar a { flex: 0 0 auto; white-space: nowrap; }
  .pst-kicker { font-size: .66rem; }
  .pst-seal { width: 48px; height: 48px; }
  .pst-filter-field { width: 100%; }
  .pst .pst-filter select { width: 100%; }
}
@media(prefers-color-scheme: dark) {
  body.pst:not(.pst-admin) { --pst-card: #182633; --pst-cream: #101b27; --pst-ink: #edf0f4; --pst-muted: #c0cbd7; --pst-line: #3a4652; background: var(--pst-cream); }
  .pst:not(.pst-admin) .pst-masthead { background: #182633; }
  .pst:not(.pst-admin) .pst-lgu, .pst:not(.pst-admin) .pst-cat { color: #edf0f4; }
  .pst:not(.pst-admin) .pst-btn-secondary { background: var(--pst-card); color: #bcd7fb; border-color: var(--pst-line); }
  .pst:not(.pst-admin) .pst-result-bar { border-color: #7196c4; }
  .pst:not(.pst-admin) .pst-head h1, .pst:not(.pst-admin) .pst-empty h2, .pst:not(.pst-admin) .pst-result-bar strong, .pst:not(.pst-admin) .pst-article h1 { color: #edf0f4; }
  .pst:not(.pst-admin) a { color: #bcd7fb; }
  .pst:not(.pst-admin) .pst-directory-nav nav a:hover, .pst:not(.pst-admin) .pst-directory-nav nav a[aria-current=page] { background: #293b4d; color: #edf0f4; }
  .pst:not(.pst-admin) input, .pst:not(.pst-admin) select { color: #edf0f4; }
}
@media(prefers-reduced-motion: reduce) { .pst *, .pst *::before, .pst *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* Procurement library — municipal navy, warm paper, gold accents and restrained depth. */
body.pst:not(.pst-admin) { --pst-card:#fff; --pst-cream:#f5f6f8; --pst-ink:#172b40; --pst-muted:#526275; --pst-line:#dbe1e8; background:#f5f6f8; color:var(--pst-ink); }
.pst:not(.pst-admin) .pst-masthead { background:#fff; border-top:4px solid #c7a55e; }
.pst:not(.pst-admin) .pst-lgu { color:#142d46; }
.pst:not(.pst-admin) a { color:#1c5278; }
.pst:not(.pst-admin) .pst-navbar a { color:#edf3fa; }
.pst-navbar .pst-wrap { align-items:center; gap:8px 20px; padding-block:8px; }
.pst-navbar a.pst-direct-button { display:inline-flex; gap:16px; align-items:center; border:1px solid #65809b; border-radius:7px; padding:10px 16px; background:#234462; }
.pst:not(.pst-admin) .pst-navbar a:hover,.pst:not(.pst-admin) .pst-navbar a[aria-current=page] { color:#ffe7ae; }
.pst-head { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:16px 50px; padding:50px 0 30px; }
.pst-head h1,.pst:not(.pst-admin) .pst-head h1 { font:700 clamp(2.3rem,4.5vw,3.9rem)/1.08 Georgia,serif; letter-spacing:-.04em; color:#142d46; max-width:800px; }
.pst-head .pst-eyebrow { color:#806123; }
.pst-intro { max-width:660px; font-size:1.03rem; margin-bottom:18px; }
.pst-hero-link { display:inline-flex; align-items:center; gap:30px; font-weight:700; text-decoration:none; border-bottom:1px solid #c7a55e; padding:5px 0 8px; }
.pst-head .pst-filter { grid-column:1/-1; padding:20px; background:#fff; border:1px solid var(--pst-line); border-radius:12px; box-shadow:0 8px 24px #12304708; margin-top:20px; }
.pst:not(.pst-admin) input,.pst:not(.pst-admin) select { color:#172b40; border-color:#bcc8d3; border-radius:7px; }
.pst button,.pst .pst-btn { border-radius:7px; }
.pst-hero-art { position:relative; height:255px; perspective:800px; margin:0 12px; overflow:clip; }
.pst-art-orbit { position:absolute; inset:18px -28px 0; border:1px solid #c8d9e5; border-radius:50%; transform:rotate(-22deg); background:radial-gradient(ellipse,#dce8f480,transparent 65%); }
.pst-art-sheet { position:absolute; width:180px; height:224px; top:8px; left:44px; border-radius:12px; border:1px solid #d7dfe7; box-shadow:8px 18px 25px #183a5420; }
.pst-art-sheet-back { background:#bdd2e0; transform:rotate(16deg) translate(25px,0); }
.pst-art-sheet-mid { background:#e7edf1; transform:rotate(5deg) translate(10px,2px); }
.pst-art-sheet-front { background:linear-gradient(140deg,#fff,#f8f6f0); transform:rotate(-9deg); padding:20px; animation:pst-document-float 6s ease-in-out infinite; }
.pst-art-seal { display:inline-grid; place-items:center; width:30px; height:30px; border:1px solid #b08a42; border-radius:50%; color:#97702b; font-family:Georgia,serif; }
.pst-art-label { font-size:8px; letter-spacing:1px; color:#526275; margin-left:7px; }
.pst-art-sheet strong { display:block; font:700 21px/1.15 Georgia,serif; color:#183a54; margin:16px 0; }
.pst-art-sheet i { display:block; height:3px; border-radius:2px; background:#d3dce4; margin:8px 0; }
.pst-art-sheet i:nth-last-of-type(1) { width:70%; }
.pst-art-stamp { display:block; color:#85642b; font-size:7px; font-weight:700; letter-spacing:.7px; margin-top:22px; }
@keyframes pst-document-float { 0%,100% { transform:rotate(-9deg) translateY(0); } 50% { transform:rotate(-7deg) translateY(-7px); } }
.pst-directory { grid-template-columns:225px minmax(0,1fr); gap:30px; }
.pst-directory-nav nav a { border-radius:7px; margin:2px 0; }
.pst:not(.pst-admin) .pst-directory-nav nav a:hover,.pst:not(.pst-admin) .pst-directory-nav nav a[aria-current=page] { background:#e5edf4; color:#143047; }
.pst:not(.pst-admin) .pst-result-bar { border-color:#cfdae4; }
.pst:not(.pst-admin) .pst-result-bar strong { color:#142d46; }
.pst-library-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-top:28px; }
.pst-library-heading .pst-eyebrow { font-size:.65rem; margin-bottom:7px; }
.pst-library-heading h2 { font:700 1.7rem/1.2 Georgia,serif; margin:0; }
.pst-index-link { font-size:.8rem; font-weight:700; text-decoration:none; }
.pst-library-intro { color:var(--pst-muted); font-size:.9rem; max-width:600px; margin:12px 0 24px; }
.pst-project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; padding-bottom:28px; }
.pst-project { --rx:0deg; --ry:0deg; position:relative; display:flex; flex-direction:column; min-width:0; background:linear-gradient(145deg,#fff,#fafbfd); border:1px solid #dce3ea; border-top:3px solid #c9aa68; border-radius:13px; padding:23px; box-shadow:0 4px 0 #e2e7ed,0 12px 25px #1a3b5410; transform:perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition:transform 200ms ease,box-shadow 200ms ease,border-color 200ms ease; }
.pst-project:hover,.pst-project:focus-within { box-shadow:0 5px 0 #d5dfe8,0 18px 35px #1a3b5420; border-color:#98aec3; }
.pst-project-top { display:flex; align-items:center; gap:10px; }
.pst-file-mark { display:grid; place-items:center; width:35px; height:40px; border-radius:6px; background:#e8f0f8; color:#24558a; font:bold 19px Georgia,serif; box-shadow:3px 3px 0 #d6e2ef; }
.pst-project-kind { font-size:.62rem; font-weight:700; letter-spacing:.09em; color:#64788b; }
.pst-project-number { margin-left:auto; font:italic 24px Georgia,serif; color:#becbd5; }
.pst-contract { font:600 .68rem/1.4 Arial,sans-serif; letter-spacing:.025em; color:#607184; margin:22px 0 8px; }
.pst-project h3 { font:700 1.28rem/1.25 Georgia,serif; margin:0 0 12px; }
.pst-project h3 a { color:#173751; text-decoration:none; }
.pst-project h3 a::after { content:''; position:absolute; inset:0; border-radius:13px; }
.pst-project-title { font-size:.72rem; line-height:1.65; color:#627185; margin:0 0 20px; }
.pst-project-details { display:grid; gap:10px; margin:auto 0 18px; }
.pst-project-details dt { font-size:.7rem; color:#607184; margin:0 0 3px; }
.pst-project-details dd { margin:0; font-size:.87rem; font-weight:600; }
.pst-project-details div:first-child dd { font:700 1.6rem/1.25 Georgia,serif; color:#173751; }
.pst-project-deadline { display:grid; gap:7px; font-size:.72rem; padding:13px 0; border-top:1px solid #e1e7ec; margin:0 0 8px; }
.pst-status { color:#196447; font-weight:700; }
.pst-status::before { content:''; display:inline-block; width:6px; height:6px; border-radius:50%; margin-right:6px; background:currentColor; }
.pst-status-past { color:#6b6270; }
.pst-project-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; position:relative; z-index:1; margin-top:6px; }
.pst .pst-project-actions .pst-btn { display:inline-flex; align-items:center; justify-content:space-between; gap:20px; font-size:.8rem; background:#143754; border-color:#143754; color:#fff; text-decoration:none; padding:11px 14px; min-height:44px; }
.pst-word-link { font-size:.8rem; font-weight:700; text-decoration:none; min-height:44px; display:inline-flex; align-items:center; gap:8px; }
.pst-amount-note { font-size:.76rem; line-height:1.65; color:#78531f; background:#fff5df; padding:10px 12px; border-radius:7px; margin:0 0 15px; }
.pst-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.pst:not(.pst-admin) .pst-empty h2,.pst:not(.pst-admin) .pst-article h1 { color:#142d46; }
.pst-document-dialog { width:min(1080px,94vw); max-width:94vw; height:90dvh; max-height:90dvh; padding:0; border:1px solid #637d92; border-radius:14px; background:#f5f6f8; box-shadow:0 24px 100px #00152666; }
.pst-document-dialog::backdrop { background:#081d32b8; backdrop-filter:blur(5px); }
.pst-reader-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 20px; background:#143754; color:#fff; }
.pst-reader-bar button { color:#fff; background:#2b506e; border:1px solid #69849b; padding:10px 14px; font:inherit; cursor:pointer; }
.pst-document-dialog iframe { display:block; width:100%; height:calc(100% - 114px); border:0; }
.pst-reader-loading { position:absolute; top:75px; left:24px; background:#fff; padding:10px; }
.pst-reader-fallback { display:inline-block; padding:12px 20px; font-size:.8rem; }
.pst-document-view { max-width:980px; margin:30px auto 50px; }
.pst-document-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:15px; margin-bottom:28px; }
.pst-document-toolbar a { font-size:.85rem; }
.pst-document-view h1 { font:700 clamp(1.7rem,3vw,2.5rem)/1.2 Georgia,serif; color:#143754; }
.pst-document-paper { margin-top:24px; padding:clamp(20px,5vw,65px); background:#fff; border:1px solid #dae1e7; border-radius:8px; box-shadow:0 8px 25px #1737510c; font:16px/1.8 Georgia,serif; overflow-wrap:anywhere; color:#202c39; }
.pst-document-paper p { margin:0 0 16px; }
.pst-doc-image { max-width:100%; max-height:120px; width:auto; height:auto; object-fit:contain; vertical-align:middle; }
.pst-document-paper .pst-doc-numbered { position:relative; padding-left:30px; }
.pst-doc-number { position:absolute; left:0; }
.pst-document-paper table { border-collapse:collapse; width:100%; font-size:14px; }
.pst-document-paper td { border:1px solid #bbc7d2; padding:12px; vertical-align:top; min-width:120px; }
.pst-document-paper td p { margin:0; }
.pst-table-scroll { max-width:100%; overflow:auto; margin:20px 0; }
.pst-index-project { padding:16px 0; border-bottom:1px solid #dae1e7; }
.pst-index-project h3 { font-size:1rem; }
.pst-index-project p { font-size:.9rem; }
.pst a:focus-visible,.pst button:focus-visible { outline:3px solid #b28123; outline-offset:4px; }
@media(max-width:1000px) { .pst-directory { grid-template-columns:190px minmax(0,1fr); gap:22px; } .pst-project { padding:18px; } .pst-project-grid { gap:15px; } .pst-head { grid-template-columns:minmax(0,1fr) 240px; gap:20px; } }
@media(max-width:800px) { .pst-directory { grid-template-columns:1fr; } .pst-head { grid-template-columns:1fr; padding-top:32px; } .pst-hero-art { display:none; } .pst-directory-nav nav { display:flex; } .pst-navbar .pst-wrap { flex-wrap:wrap; } .pst-navbar a.pst-direct-button { white-space:normal; } }
@media(max-width:540px) { .pst-project-grid { grid-template-columns:1fr; } .pst-head h1 { font-size:2.35rem; } .pst-head .pst-filter { padding:15px; } .pst-library-heading h2 { font-size:1.5rem; } .pst-project { padding:22px; } .pst-reader-bar { padding:10px 12px; font-size:.8rem; } .pst-document-dialog { width:96vw; max-width:96vw; } .pst-navbar .pst-wrap { display:grid; grid-template-columns:1fr 1fr; gap:4px; } .pst-navbar a { white-space:normal; font-size:.67rem; letter-spacing:.02em; padding:8px; } .pst-navbar a.pst-direct-button { margin:0; padding:8px 10px; gap:8px; } .pst-navbar a:last-child { grid-column:1/-1; min-height:36px; } }
@media(prefers-reduced-motion:reduce) { .pst-project { transform:none !important; } .pst-art-sheet-front { animation:none; } }
@media print { .pst-masthead,.pst-footer,.pst-document-toolbar,.pst-reader-bar,.pst-document-dialog { display:none; } .pst-document-paper { border:0; box-shadow:none; padding:0; } }
