/* © 2026 DSR, DSR Wire. All rights reserved. Made by 이서하. */
body.rs-page {
    background: #eef4fb;
}

.rs-shell {
    padding-top: 58px;
    padding-bottom: 74px;
}

.rs-topbar {
    height: 58px;
    padding-left: 16px;
    padding-right: 16px;
}

.rs-topbar-inner {
    justify-content: center;
}

.rs-brand-zone {
    width: 100%;
    justify-content: center;
}

.rs-brand-text {
    font-size: 15px;
}

.rs-logo-box {
    height: 26px;
}

.rs-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 48px;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--rs-border-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.rs-nav a,
.rs-nav-link {
    height: 38px;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    font-size: 12px;
}

.rs-nav a.rs-nav-active,
.rs-nav-link.rs-nav-active {
    background: var(--rs-primary);
    color: #fff;
    border-bottom-color: transparent;
}

.rs-input-panel {
    position: static;
    padding: 14px 16px 16px;
}

.rs-mobile-panel-toggle {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--rs-border-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--rs-primary);
    padding: 0 14px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.rs-input-panel.rs-mobile-collapsed .rs-container {
    display: none;
}

.rs-input-panel:not(.rs-mobile-collapsed) .rs-container {
    margin-top: 14px;
}

.rs-container,
.rs-content,
.rs-footer,
.rs-report-content {
    width: calc(100vw - 32px);
}

.rs-content {
    padding-top: 18px;
}

.rs-tab-content {
    gap: 16px;
    min-height: 0;
}

.rs-input-grid,
.rs-eye-grid {
    grid-template-columns: 1fr;
}

.rs-tab-row {
    gap: 14px;
}

.rs-tab-button {
    font-size: 11px;
}

.rs-radio-toggle,
.rs-action-row,
.rs-console-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

#btnExportExcel {
    display: none;
}

.rs-segment-button,
.segment-btn,
.rs-btn,
.rs-action-row .rs-btn,
.rs-console-actions .rs-btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
}

.rs-radio-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.rs-card {
    border-radius: 8px;
}

.rs-card-head {
    gap: 10px;
    padding: 16px;
}

.rs-section-title h2,
.rs-compare-title-wrap h3 {
    font-size: 14px;
    line-height: 1.25;
}

.rs-card-head,
.rs-table-foot {
    align-items: flex-start;
    flex-direction: column;
}

.rs-header-actions {
    display: none;
}

.rs-console-controls {
    gap: 14px;
    padding: 16px;
}

.rs-eye-grid {
    gap: 10px;
}

.rs-table-scroll {
    overflow: visible;
}

.rs-console-table,
.rs-report-table {
    min-width: 0;
    border-collapse: separate;
}

.rs-console-table {
    border-spacing: 0 10px;
}

.rs-report-table {
    border-spacing: 0 12px;
}

.rs-console-table thead,
.rs-report-table thead {
    display: none;
}

.rs-console-table tbody,
.rs-console-table tr,
.rs-console-table td,
.rs-report-table tbody,
.rs-report-table tr,
.rs-report-table td {
    display: block;
    width: 100% !important;
}

.rs-console-table tr,
.rs-report-table tr {
    border: 1px solid var(--rs-border-strong);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.rs-console-table tr {
    padding: 12px;
}

.rs-report-table tr {
    padding: 14px;
}

.rs-console-table td,
.rs-report-table td {
    min-height: 0;
    height: auto;
    padding: 8px 0 !important;
    border-bottom: 1px solid #edf2f7;
    text-align: left !important;
    white-space: normal !important;
}

.rs-console-table td:last-child,
.rs-report-table td:last-child {
    border-bottom: 0;
}

.rs-console-table .rs-empty-cell,
.rs-report-table .rs-empty-cell {
    display: block !important;
    position: static !important;
    width: 100% !important;
    padding: 28px 18px !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: keep-all;
    overflow-wrap: normal;
}

.rs-console-table .rs-empty-cell::before,
.rs-report-table .rs-empty-cell::before {
    display: none;
}

.rs-console-table td::before,
.rs-report-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--rs-faint);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rs-console-table td:nth-child(1)::before {
    content: "Select";
}

.rs-console-table td:nth-child(2)::before,
.rs-report-table td:nth-child(3)::before {
    content: "Product";
}

.rs-console-table td:nth-child(3)::before,
.rs-report-table td:nth-child(4)::before {
    content: "DIA";
}

.rs-console-table td:nth-child(4)::before,
.rs-report-table td:nth-child(5)::before {
    content: "Type";
}

.rs-console-table td:nth-child(5)::before,
.rs-report-table td:nth-child(6)::before {
    content: "Length";
}

.rs-console-table td:nth-child(6)::before {
    content: "Weight";
}

.rs-console-table td:nth-child(7)::before,
.rs-report-table td:nth-child(12)::before {
    content: "Remark";
}

.rs-console-table td:nth-child(8)::before {
    content: "Remove";
}

.rs-report-table td:nth-child(1)::before {
    content: "Delete";
}

.rs-report-table td:nth-child(2)::before {
    content: "Saved Date";
}

.rs-report-table td:nth-child(7)::before {
    content: "Weight";
}

.rs-report-table td:nth-child(8)::before {
    content: "MBL Ton";
}

.rs-report-table td:nth-child(9)::before {
    content: "MBL kN";
}

.rs-report-table td:nth-child(10)::before {
    content: "LDBF/TDBF Ton";
}

.rs-report-table td:nth-child(11)::before {
    content: "LDBF/TDBF kN";
}

.rs-console-table .rs-total-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    background: #f8fbff;
}

.rs-console-table .rs-total-row td {
    display: none;
    border-bottom: 0;
}

.rs-console-table .rs-total-row td:nth-child(2),
.rs-console-table .rs-total-row td:nth-child(6) {
    display: block;
    padding: 2px 0 !important;
}

.rs-console-table .rs-total-row td::before {
    display: none;
}

.rs-length-input {
    width: 100%;
    min-height: 42px;
}

.rs-row-remove {
    min-width: 42px;
    min-height: 38px;
}

.rs-report-product {
    font-size: 0.92rem;
}

.rs-report-remark-input {
    width: 100%;
    min-height: 72px;
    resize: vertical;
}

.rs-compare-card {
    height: auto;
    min-height: 460px;
}

.rs-compare-scroll {
    overflow-x: auto;
    padding-bottom: 4px;
}

.rs-compare-table {
    min-width: 980px;
}

.rs-table-foot {
    padding: 12px 16px;
}

.rs-footer {
    padding: 24px 12px 94px;
}

.rs-console-table {
    border-spacing: 0 8px;
}

.rs-console-table tr:not(.rs-total-row) {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0 8px;
    align-items: start;
    padding: 12px 52px 10px 12px;
}

.rs-console-table tr.rs-empty-row,
.rs-report-table tr.rs-empty-row {
    display: block;
    padding: 0;
}

.rs-console-table tr:not(.rs-total-row) td {
    padding: 0 !important;
    border-bottom: 0;
}

.rs-console-table tr:not(.rs-total-row) td::before {
    display: none;
}

.rs-console-table tr:not(.rs-total-row) td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    padding-top: 2px !important;
}

.rs-console-table tr:not(.rs-total-row) td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.rs-console-table tr:not(.rs-total-row) td:nth-child(3),
.rs-console-table tr:not(.rs-total-row) td:nth-child(4),
.rs-console-table tr:not(.rs-total-row) td:nth-child(5),
.rs-console-table tr:not(.rs-total-row) td:nth-child(6),
.rs-console-table tr:not(.rs-total-row) td:nth-child(7) {
    display: none;
}

.rs-console-table tr:not(.rs-total-row) td:nth-child(8) {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: auto !important;
}

.rs-console-table tr:not(.rs-total-row) .rs-console-product,
.rs-console-table tr:not(.rs-total-row) .rs-console-sub {
    display: none;
}

.rs-console-table tr:not(.rs-total-row) .rs-console-mobile-summary {
    display: block;
    min-width: 0;
}

.rs-console-mobile-title {
    color: var(--rs-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-console-mobile-meta,
.rs-console-mobile-calc {
    margin-top: 4px;
    color: var(--rs-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.rs-console-mobile-calc {
    color: #334155;
}

.rs-console-table tr:not(.rs-total-row) .rs-row-remove {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
}

.rs-report-table {
    border-spacing: 0 8px;
}

.rs-report-table tr {
    position: relative;
    padding: 14px 48px 14px 14px;
}

.rs-report-table td {
    padding: 0 !important;
    border-bottom: 0;
}

.rs-report-table td::before {
    display: none;
}

.rs-report-table td:nth-child(1) {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto !important;
}

.rs-report-table tr.rs-empty-row td:nth-child(1) {
    position: static;
    width: 100% !important;
}

.rs-report-table td:nth-child(2),
.rs-report-table td:nth-child(4),
.rs-report-table td:nth-child(5),
.rs-report-table td:nth-child(6),
.rs-report-table td:nth-child(7),
.rs-report-table td:nth-child(8),
.rs-report-table td:nth-child(9),
.rs-report-table td:nth-child(10),
.rs-report-table td:nth-child(11) {
    display: none;
}

.rs-report-table td:nth-child(3) {
    min-width: 0;
}

.rs-report-table td:nth-child(12) {
    margin-top: 10px;
}

.rs-report-product {
    color: var(--rs-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.rs-report-table .rs-report-product {
    font-size: 0;
}

.rs-report-table .rs-report-mobile-summary {
    display: block;
}

.rs-report-mobile-title {
    color: var(--rs-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-report-mobile-meta,
.rs-report-mobile-strength {
    margin-top: 5px;
    color: var(--rs-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.rs-report-mobile-strength {
    color: #334155;
}

.rs-report-remark-input {
    width: 100%;
    min-height: 36px;
    height: 36px;
    resize: none;
}

.rs-report-table .rs-report-remove {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
}
