/* Town Planning Documents: compact table, scoped to this module. */
.tcc-docs{font-size:15px;line-height:1.5;color:#172033;min-width:0;overflow-wrap:anywhere;background:#fff;border:1px solid #e0e5ed;border-radius:10px;padding:18px}
.tcc-docs h1{font-size:22px;line-height:1.3;font-weight:700;color:#071c46;margin:0 0 16px}
.tcc-docs h2{font-size:20px;line-height:1.4}.tcc-docs h3{font-size:18px}.tcc-docs h4{font-size:16px}
.tcc-docs a{color:#123d87}.docs-meta{color:#526071;font-size:14px;margin-bottom:8px}
.docs-card{border:1px solid #d8dfe9;border-radius:8px;padding:18px;margin:16px 0;background:#fff}
.docs-filters{display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(90px,.65fr) minmax(125px,.8fr) 145px;gap:12px;margin:0 0 12px;align-items:end}
.docs-search{grid-column:1/4}.docs-filters label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}
.docs-filters input,.docs-filters select{box-sizing:border-box;width:100%;height:38px;border:1px solid #cbd3df;border-radius:5px;padding:7px 9px;font:inherit;font-size:14px;background:#fff;color:#172033}
.docs-actions,.docs-pagination,.docs-tags{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.docs-filters .docs-actions{flex-wrap:nowrap;justify-content:flex-end}
.tcc-docs .docs-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 12px;border:1px solid #c4cedb;border-radius:5px;background:#fff;color:#123960;text-decoration:none;font:inherit;font-size:14px;cursor:pointer}
.tcc-docs .docs-primary,.docs-pagination [aria-current=page]{background:#0a2055!important;color:#fff!important;border-color:#0a2055}
.tcc-docs .docs-whatsapp{background:#146c43;color:#fff;border-color:#146c43}
.tcc-docs :focus-visible{outline:3px solid #c56900;outline-offset:2px}.tcc-docs .docs-button:hover{background:#edf3fb}
.docs-table-wrap{overflow-x:auto;width:100%;border:1px solid #c7ced8;border-radius:4px}
.docs-table{width:100%;min-width:860px;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.5;margin:0}
.docs-table th{background:#071c46;color:#fff;text-align:left;font-weight:600;padding:9px 8px;border-right:1px solid #526080}
.docs-table td{vertical-align:top;padding:9px 8px;border-right:1px solid #d0d5dc;border-bottom:1px solid #d0d5dc;overflow-wrap:anywhere}
.docs-table th:last-child,.docs-table td:last-child{border-right:0}.docs-table tr:last-child td{border-bottom:0}
.docs-table tbody tr:nth-child(odd){background:#f3f4f6}.docs-table tbody tr:nth-child(even){background:#fff}.docs-table tbody tr:hover,.docs-table tbody tr:focus-within{background:#fff4cc}
.docs-table th:nth-child(1){width:48px}.docs-table th:nth-child(2){width:76px}.docs-table th:nth-child(3){width:16%}.docs-table th:nth-child(4){width:106px}.docs-table th:nth-child(5){width:20%}
.docs-date{white-space:nowrap}.docs-title-link{font-weight:600;text-decoration:none}
.docs-title-link:hover{text-decoration:underline}
.docs-row-actions{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.docs-row-actions a{display:inline-flex;align-items:center;min-height:28px;text-decoration:underline;text-underline-offset:3px;font-size:13px}.tcc-docs .docs-share-link{color:#146c43}
.docs-tags{margin:16px 0}.docs-tags a{padding:5px 10px;background:#eef5ff;border-radius:5px}
.docs-notice{padding:14px;background:#fff7e8;border:1px solid #dfc28e;border-radius:6px;margin:14px 0}
.docs-file{border-top:1px solid #d8e1ec;padding-top:16px;margin-top:18px}.docs-pagination{margin:18px 0 0}.docs-pagination .docs-button{min-width:36px}
.tcc-documents-page #tccUniversalViewerTitle{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcc-documents-page #tccViewerShare,.tcc-documents-page #tccViewerClose{min-width:38px;min-height:38px}
.tcc-documents-page #tccUniversalViewer .tcc-viewer__dialog{min-width:0;min-height:0;width:min(1050px,90vw)!important;height:88vh!important;max-height:900px!important}
@media(min-width:1400px){.docs-filters{grid-template-columns:minmax(150px,1.1fr) 95px 135px 85px minmax(180px,1.5fr) auto}.docs-search{grid-column:auto}}
@media(max-width:767px){.tcc-docs{padding:12px}.tcc-docs h1{font-size:20px}.docs-filters{grid-template-columns:1fr 1fr}.docs-search{grid-column:1/-1}.docs-filters .docs-actions{grid-column:1/-1;justify-content:flex-start}.docs-filters input,.docs-filters select{font-size:16px;height:42px}.docs-button{min-height:42px}.tcc-documents-page #tccUniversalViewer .tcc-viewer__dialog{width:100vw!important;height:100dvh!important;max-height:none!important;border-radius:0}}

/* Row click delegates to the real title link; keyboard access remains native. */
.docs-table [data-docs-row]{cursor:pointer}
.docs-table [data-docs-row]:hover .docs-title-link,.docs-table [data-docs-row]:focus-within
/*.docs-title-link{text-decoration:underline}*/
