:root {
    color-scheme: light;
    --table-blue: #dcebf8;
    --table-blue-border: #bfd7eb;
    --table-blue-text: #234763;
    --theme-soft-blue: #edf4f8;
    --theme-blue-border: #c7d8e2;
    --theme-blue-text: #355b73;
}
html, body { max-width: 100%; background-color: #e8edef; }
body {
    color: #272b2d;
    min-height: 100vh;
    font-size: .9rem;
    overflow-x: hidden;
}
.page-shell { max-width: none; min-width: 0; padding-left: 12px !important; padding-right: 12px !important; }
.hero-card, .table-card { min-width: 0; max-width: 100%; background: rgba(250,252,253,.9); border-radius: .55rem; box-shadow: 0 1px 4px rgba(40,61,75,.07); }
.hero-card .card-body { position: relative; }
.hero-card h1 { letter-spacing: -.025em; font-size: 1.7rem; margin-bottom: .3rem !important; overflow-wrap: anywhere; }
.shop-icon { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: #cbd5da; color: #465d68; }
.shop-icon svg { width: 62px; height: 62px; }
.shop-icon--logo { overflow: hidden; background: #f4f8fb; }
.shop-logo { display: block; width: 100%; height: 100%; padding: .2rem; border-radius: 50%; object-fit: contain; }
.min-width-0 { min-width: 0; }
.company-detail { display: flex; gap: 1rem; line-height: 1.4; }
.company-detail span { min-width: 4.1rem; }
.company-detail strong { font-weight: 600; overflow-wrap: anywhere; }
.update-pill { display: flex; align-items: center; gap: .45rem; max-width: 100%; padding: .55rem .7rem; border-radius: .4rem; background: #e7f0f6; color: var(--theme-blue-text); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.clock-symbol { font-size: 1.4rem; line-height: .8; }
.notice-card { display: flex; align-items: center; gap: 1.5rem; min-width: 0; max-width: 100%; padding: 1.15rem 1.35rem; border: 1px solid var(--theme-blue-border); border-radius: .5rem; background: rgba(237,244,248,.8); line-height: 1.4; }
.notice-card p { min-width: 0; overflow-wrap: anywhere; }
.notice-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #607c8d; color: white; font-size: 1.15rem; font-family: Georgia, serif; font-weight: bold; }
.table-card h2 { letter-spacing: -.025em; }
.table-filters .form-control { width: 190px; }
.table-filters .form-select { width: 180px; }
.table-filters { min-width: 0; max-width: 100%; }
.table-filters > div { display: flex; flex-direction: column; min-width: 0; }
.table-filters .form-control:focus, .table-filters .form-select:focus { border-color: #91b2c7; box-shadow: 0 0 0 .2rem rgba(108,151,179,.16); }
.table-card .card-body { min-width: 0; }
div.dt-container { width: 100%; min-width: 0; max-width: 100%; }
div.dt-container .dt-layout-table { width: 100%; min-width: 0; max-width: 100%; margin-left: 0; margin-right: 0; border: 0; }
div.dt-container .dt-layout-table .dt-layout-full { min-width: 0; max-width: 100%; padding-left: 0; padding-right: 0; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
#objectsTable { border: 0 !important; border-collapse: separate; border-spacing: 0; min-width: 640px; table-layout: fixed; width: 100% !important; }
#objectsTable thead th, #objectsTable tfoot th { background: var(--table-blue); color: var(--table-blue-text); font-size: .75rem; font-weight: 700; padding: .75rem .55rem; vertical-align: middle; white-space: nowrap; }
#objectsTable thead th { border-bottom: 1px solid var(--table-blue-border); }
#objectsTable thead th:first-child { border-top-left-radius: .35rem; }
#objectsTable thead th:last-child { border-top-right-radius: .35rem; }
#objectsTable tfoot th { border-top: 1px solid var(--table-blue-border); border-bottom: 0 !important; }
#objectsTable tfoot th:first-child { border-bottom-left-radius: .35rem; }
#objectsTable tfoot th:last-child { border-bottom-right-radius: .35rem; }
#objectsTable tbody td { border-bottom: 1px solid #c8cecf; padding: .62rem .55rem; vertical-align: middle; font-size: .84rem; }
#objectsTable.table-hover tbody tr:hover td { background: #f3f8fb; }
#objectsTable tbody tr:last-child td { border-bottom: 0 !important; }
.object-code { font-weight: 700; white-space: nowrap; }
.status-badge, .status-badge--latest { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border: 1px solid #c6e5ce; border-radius: 999px; background: #e5f4e9; color: #286c3d; white-space: nowrap; font-size: .8rem; font-weight: 700; }
.status-check { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; background: #3d8b55; color: white; line-height: 1; }
.status-check svg { display: block; width: 12px; height: 12px; flex: 0 0 12px; }
.action-group { min-width: 0; gap: .3rem !important; flex-wrap: wrap !important; }
.action-group .btn { white-space: nowrap; font-size: .74rem; padding: .23rem .35rem; }
.download-button { min-width: 115px; }
.download-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; }
.empty-state { border: 1px dashed var(--theme-blue-border); background: var(--theme-soft-blue); border-radius: .35rem; padding: .8rem 1rem; }
div.dt-container > .row.mt-2:not(.dt-layout-table) { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; align-items: center; gap: .75rem; margin-left: 0; margin-right: 0; }
div.dt-container > .row.mt-2:not(.dt-layout-table) > .dt-layout-start, div.dt-container > .row.mt-2:not(.dt-layout-table) > .dt-layout-end { display: contents !important; }
div.dt-container > .row.mt-2:not(.dt-layout-table) .dt-length { grid-column: 1; }
div.dt-container > .row.mt-2:not(.dt-layout-table) .dt-info { grid-column: 2; min-width: 0; padding: 0; text-align: center; }
div.dt-container > .row.mt-2:not(.dt-layout-table) .dt-paging { grid-column: 3; justify-self: end; }
div.dt-container .dt-length { margin: 0; }
div.dt-container .dt-length select { width: auto; min-width: 110px; }
div.dt-container .pagination .page-item.active .page-link { background: #62839b; border-color: #62839b; }
div.dt-container .pagination .page-item:not(.active) .page-link:hover { background: var(--theme-soft-blue); color: var(--theme-blue-text); }
@media (min-width: 992px) {
    .hero-card .update-pill { position: absolute; top: 1rem; right: 1rem; }
    .hero-card h1 { padding-right: 260px; }
}
@media (max-width: 991px) {
    div.dt-container > .row.mt-2:not(.dt-layout-table) { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
    div.dt-container > .row.mt-2:not(.dt-layout-table) .dt-length, div.dt-container > .row.mt-2:not(.dt-layout-table) .dt-info, div.dt-container > .row.mt-2:not(.dt-layout-table) .dt-paging { grid-column: 1; }
    div.dt-container > .row.mt-2:not(.dt-layout-table) .dt-length { justify-self: start; }
    div.dt-container > .row.mt-2:not(.dt-layout-table) .dt-info { justify-self: center; }
}
@media (max-width: 767px) {
    .shop-icon { width: 76px; height: 76px; }
    .shop-icon svg { width: 45px; height: 45px; }
    .notice-card { gap: .8rem; }
    .update-pill { align-self: flex-start; white-space: normal; }
    .page-shell { padding-left: 8px !important; padding-right: 8px !important; }
}
@media (max-width: 575px) {
    .hero-card .card-body, .table-card .card-body { padding: .85rem !important; }
    .hero-card h1 { font-size: 1.4rem; padding-right: 0; }
    .update-pill { white-space: normal; overflow-wrap: anywhere; }
    .notice-card { gap: .7rem; padding: .85rem; font-size: .84rem; }
    .table-card h2 { font-size: 1.45rem; }
    .table-filters { width: 100%; }
    .table-filters > div, .table-filters .form-control, .table-filters .form-select { width: 100%; }
}

#objectsTable .action-group { flex-wrap: wrap !important; }

#objectsTable th { width: 33.333%; }
.status-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; white-space: nowrap; }
