/* Visit Kamień 2026-11-23 · accessible municipal guide (offline appointments).
   The existing "Załatw online" cards are deliberately not repeated here. */
body.page-residents #sprawy-urzedowe #residentTasksGrid.vk-office-guide{
  display:block!important;grid-template-columns:none!important;min-width:0;margin:0 0 16px!important;
}
body.page-residents .vk-office-sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.page-residents #sprawy-urzedowe .vk-office-search{
  display:flex;align-items:center;gap:10px;border-radius:13px;border:1px solid #cadbd3;
  background:#fff;padding:0 13px;min-height:46px;margin-bottom:12px;
}
body.page-residents #sprawy-urzedowe .vk-office-search>span{color:#275d52;font-size:23px}
body.page-residents #sprawy-urzedowe .vk-office-search input{
  outline:none;width:100%;border:0;background:transparent;color:#153c38;font:inherit;
  font-size:.88rem;min-height:44px;min-width:0;
}
body.page-residents #sprawy-urzedowe .vk-office-search:focus-within{border-color:#428a78;box-shadow:0 0 0 3px #c8e3d7}
body.page-residents #sprawy-urzedowe .vk-office-filterbar{
  display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px;
}
body.page-residents #sprawy-urzedowe .vk-office-filter{
  display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;
  color:#153c38;background:#f8fbf9;border:1px solid #d8e5dd;border-radius:10px;
  cursor:pointer;font-size:.76rem;font-weight:750;
}
body.page-residents #sprawy-urzedowe .vk-office-filter small{
  font-size:.66rem;background:#e6f0eb;border-radius:100px;padding:2px 6px;
}
body.page-residents #sprawy-urzedowe .vk-office-filter.is-active{
  color:#fff;background:#15493c;border-color:#15493c;
}
body.page-residents #sprawy-urzedowe .vk-office-filter.is-active small{background:#3a715c;color:#fff}
body.page-residents #sprawy-urzedowe .vk-office-results{display:grid;gap:10px}
body.page-residents #sprawy-urzedowe .vk-office-agency{
  border:1px solid #dbe6e0;border-radius:16px;background:#fff;overflow:hidden;
}
body.page-residents #sprawy-urzedowe .vk-office-agency>summary{
  display:flex;align-items:center;gap:14px;cursor:pointer;padding:14px 17px;
  background:#f2f8f5;list-style:none;color:#153c38;
}
body.page-residents #sprawy-urzedowe .vk-office-agency>summary::-webkit-details-marker{display:none}
body.page-residents #sprawy-urzedowe .vk-office-agency-name{flex:1;min-width:0}
body.page-residents #sprawy-urzedowe .vk-office-agency-name b{display:block;font-size:.93rem;line-height:1.25}
body.page-residents #sprawy-urzedowe .vk-office-agency-name small{display:block;font-size:.7rem;line-height:1.4;color:#597268;margin-top:3px}
body.page-residents #sprawy-urzedowe .vk-office-agency-count{
  font-size:.69rem;background:#e1ede7;color:#315847;border-radius:20px;
  padding:5px 9px;white-space:nowrap;
}
body.page-residents #sprawy-urzedowe .vk-office-agency[open]>summary>span:last-child{transform:rotate(180deg)}
body.page-residents #sprawy-urzedowe .vk-office-group-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;
}
body.page-residents #sprawy-urzedowe .vk-office-result{
  min-height:0!important;padding:12px!important;grid-template-columns:42px minmax(0,1fr)!important;
  gap:9px!important;border-radius:14px!important;
}
body.page-residents #sprawy-urzedowe .vk-office-result h5{
  font-size:.84rem;line-height:1.32;margin:0 0 5px;
}
body.page-residents #sprawy-urzedowe .vk-office-result .resident-task-contact{
  font-size:.71rem;line-height:1.46;color:#5c7168;margin:0 0 9px;
}
body.page-residents #sprawy-urzedowe .vk-office-result .resident-task-card-actions{
  display:flex;flex-wrap:wrap;gap:6px;margin:0;
}
body.page-residents #sprawy-urzedowe .vk-office-result .resident-task-card-actions a{
  min-height:32px;display:inline-flex;align-items:center;justify-content:center;
  padding:6px 9px!important;font-size:.69rem!important;line-height:1.2;
}
body.page-residents #sprawy-urzedowe .vk-office-addon-icon{
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
  flex:0 0 42px!important;background:#e8f3ed!important;
  display:grid!important;place-items:center!important;border-radius:12px!important;
  overflow:hidden;box-shadow:inset 0 0 0 1px #d6e6dc!important;
}
body.page-residents #sprawy-urzedowe .vk-office-addon-icon svg{
  display:block!important;width:32px!important;height:32px!important;max-width:32px!important;
}
body.page-residents #sprawy-urzedowe .vk-office-to-online{
  display:flex;gap:10px;align-items:start;margin:14px 0 8px;padding:12px 14px;
  background:#eef5f9;color:#3e6071;border-left:3px solid #6c9cbb;
  border-radius:10px;font-size:.77rem;line-height:1.5;
}
body.page-residents #sprawy-urzedowe .vk-office-to-online a,
body.page-residents #sprawy-urzedowe .vk-office-no-results a{
  color:#215675;text-decoration:underline;font-weight:800;
}
body.page-residents #sprawy-urzedowe .vk-office-no-results{padding:16px;background:#f4f7f6;border-radius:10px;font-size:.84rem}
@media(max-width:970px){body.page-residents #sprawy-urzedowe .vk-office-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 body.page-residents #sprawy-urzedowe .vk-office-group-grid{grid-template-columns:1fr;gap:8px;padding:9px}
 body.page-residents #sprawy-urzedowe .vk-office-agency>summary{padding:11px 12px;gap:8px}
 body.page-residents #sprawy-urzedowe .vk-office-agency-count{font-size:.64rem}
 body.page-residents #sprawy-urzedowe .vk-office-filterbar{gap:5px}
 body.page-residents #sprawy-urzedowe .vk-office-filter{padding:6px 9px;font-size:.72rem}
}

/* Distinct, non-duplicating shortcut back from "Załatw online". */
body.page-residents #zalatw-online .vk-online-offline-hint{
  display:flex;gap:10px;align-items:center;margin:0 0 16px;
  border:1px solid #d3e4dc;border-radius:12px;
  background:#f6faf8;color:#415f53;padding:10px 13px;font-size:.77rem;line-height:1.5;
}
body.page-residents #zalatw-online .vk-online-offline-hint>a,
body.page-residents #zalatw-online .vk-online-offline-hint a{
  color:#225c4b;font-weight:800;text-decoration:underline;
}

body.page-residents #sprawy-urzedowe .vk-office-source-links{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:12px 0 2px;
}
body.page-residents #sprawy-urzedowe .vk-office-source-links a{
  color:#285d66;text-decoration:underline;text-underline-offset:3px;
  font-size:.73rem;font-weight:700;
}
