/*
|--------------------------------------------------------------------------
| Shared client-facing order summary
|--------------------------------------------------------------------------
|
| Rendered by resources/views/shared/order-summary.blade.php on the Legal
| Store, TLN Verify, Business in a Box and cart steps. It replaces the old
| quotation preview: lines and a total only, no firm letterhead.
|
*/

.tln-order-summary {
    --os-navy: #021a4a;
    --os-ink: #2f3d55;
    --os-muted: #5c6f92;
    --os-line: #e3e9f3;
    background: #fff;
    border: 1px solid #d8e2f2;
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--os-ink);
}

.tln-order-summary h2 {
    margin: 0 0 10px;
    color: var(--os-navy);
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tln-order-summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tln-order-summary li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--os-line);
    font-size: 13px;
}

.tln-order-summary li:last-child {
    border-bottom: 0;
}

.tln-order-summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--os-line);
    color: var(--os-navy);
    font-size: 15px;
    font-weight: 700;
}

.tln-quote {
    --q-navy: #021a4a;
    --q-deep: #0b2a55;
    --q-gold: #c9a84c;
    --q-ink: #1f2b44;
    --q-muted: #5c6f92;
    --q-line: #d8e2f2;
    --q-head-bg: #eaf1fb;
    --q-total-bg: #fdf4de;
}

.tln-quote .tln-quote-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
}

.tln-quote .tln-quote-bar h2 {
    margin: 0;
    color: var(--q-navy);
    font: 700 17px/1.3 Georgia, "Times New Roman", serif;
    letter-spacing: .01em;
}

.tln-quote .tln-quote-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tln-quote .tln-quote-bar-actions button,
.tln-quote .tln-quote-bar-actions a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid var(--q-navy);
    border-radius: 4px;
    background: #fff;
    color: var(--q-navy);
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .02em;
    cursor: pointer;
}

.tln-quote .tln-quote-bar-actions a {
    text-decoration: none;
}

.tln-quote .tln-quote-bar-actions button:hover,
.tln-quote .tln-quote-bar-actions a:hover {
    background: var(--q-navy);
    color: #fff;
}

.tln-quote .tln-quote-bar-actions .tln-quote-action-preview {
    background: #fff;
    color: var(--q-navy);
}

.tln-quote .tln-quote-bar-actions .tln-quote-action-preview:hover {
    background: var(--q-head-bg);
    color: var(--q-navy);
}

.tln-quote .tln-quote-bar-actions .tln-quote-action-print {
    background: var(--q-navy);
    color: #fff;
}

.tln-quote .tln-quote-bar-actions .tln-quote-action-print:hover {
    background: var(--q-deep);
    color: #fff;
}

.tln-quote .tln-quote-bar-actions .tln-quote-action-download {
    border-color: var(--q-gold);
    background: var(--q-gold);
    color: var(--q-navy);
}

.tln-quote .tln-quote-bar-actions .tln-quote-action-download:hover {
    border-color: #b58f36;
    background: #b58f36;
    color: var(--q-navy);
}

.tln-quote .tln-quote-bar-actions button svg,
.tln-quote .tln-quote-bar-actions a svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tln-quote .tln-quote-dialog {
    width: min(950px, calc(100vw - 32px));
    max-height: 90vh;
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--q-line);
    border-radius: 8px;
    background: #f5f7fb;
}

.tln-quote .tln-quote-dialog::backdrop {
    background: rgba(11, 42, 85, .62);
}

.tln-quote .tln-quote-dialog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tln-quote .tln-quote-dialog-bar h3 {
    margin: 0;
    color: var(--q-navy);
    font: 700 17px/1.3 Georgia, "Times New Roman", serif;
}

.tln-quote .tln-quote-dialog-close {
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid var(--q-navy);
    border-radius: 4px;
    background: #fff;
    color: var(--q-navy);
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.tln-quote .tln-quote-doc {
    padding: 16px;
    border: 1px solid var(--q-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(18, 57, 111, .07);
    color: var(--q-ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

/* Letterhead ----------------------------------------------------------------*/

.tln-quote .tln-quote-head {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.tln-quote .tln-quote-head > tbody > tr > td {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--q-gold);
}

.tln-quote .tln-quote-identity {
    width: 52%;
    padding: 7px 10px;
    vertical-align: middle;
    border-radius: 4px;
    background: var(--q-navy);
}

.tln-quote .tln-quote-identity-inner {
    width: 100%;
    border-collapse: collapse;
}

.tln-quote .tln-quote-logo-cell {
    width: 70px;
    padding-right: 9px;
    vertical-align: middle;
}

.tln-quote .tln-quote-identity img {
    display: block;
    width: 62px;
    height: 56px;
    object-fit: contain;
}

.tln-quote .tln-quote-wordmark {
    vertical-align: middle;
    text-align: center;
}

.tln-quote .tln-quote-wordmark strong {
    display: block;
    color: #e8b744;
    font: 700 16px/1.05 Georgia, "Times New Roman", serif;
    letter-spacing: .025em;
}

.tln-quote .tln-quote-wordmark small {
    display: block;
    margin-top: 3px;
    padding-top: 3px;
    border-top: 1px solid #e8b744;
    color: #fff;
    font-size: 10px;
    line-height: 1.35;
}

.tln-quote .tln-quote-office {
    width: 48%;
    padding: 4px 0 4px 14px;
    vertical-align: middle;
    border-left: 1px solid var(--q-gold);
}

.tln-quote .tln-quote-office-details {
    width: 100%;
    border-collapse: collapse;
    color: var(--q-navy);
    font-size: 10.5px;
    line-height: 1.4;
}

.tln-quote .tln-quote-office-details tr {
    page-break-inside: avoid;
}

.tln-quote .tln-quote-office-details td {
    padding: 1px 0;
    vertical-align: top;
}

.tln-quote .tln-quote-office-icon {
    width: 18px;
    padding-right: 5px !important;
}

.tln-quote .tln-quote-office svg {
    display: block;
    width: 11px;
    height: 11px;
    margin-top: 1px;
    fill: none;
    stroke: var(--q-gold);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tln-quote .tln-quote-office a {
    color: var(--q-navy);
    text-decoration: none;
}

.tln-quote .tln-quote-office a:hover {
    text-decoration: underline;
}

@media (max-width: 430px) {
    .tln-quote .tln-quote-identity,
    .tln-quote .tln-quote-office {
        display: block;
        width: 100%;
        border-left: 0;
        border-bottom: 0 !important;
    }

    .tln-quote .tln-quote-office {
        padding: 10px 0 0;
    }
}

/* Title band ----------------------------------------------------------------*/

.tln-quote .tln-quote-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 4px;
    background: var(--q-navy);
}

.tln-quote .tln-quote-band h3 {
    margin: 0;
    color: #fff;
    font: 700 18px/1.2 Georgia, "Times New Roman", serif;
    letter-spacing: .09em;
}

.tln-quote .tln-quote-band dl {
    display: grid;
    gap: 2px;
    margin: 0;
}

.tln-quote .tln-quote-band dl > div {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.tln-quote .tln-quote-band dt {
    color: #cfe0ff;
    font-size: 11px;
    font-weight: 700;
}

.tln-quote .tln-quote-band dd {
    margin: 0;
    color: #fff;
    font-size: 11px;
}

/* Bill to / matter ----------------------------------------------------------*/

.tln-quote .tln-quote-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 16px;
    margin-top: 12px;
}

.tln-quote .tln-quote-billto h4 {
    margin: 0 0 3px;
    color: var(--q-navy);
    font-size: 12px;
    font-weight: 700;
}

.tln-quote .tln-quote-billto p {
    margin: 0;
    color: var(--q-muted);
    font-size: 11.5px;
    line-height: 1.5;
}

.tln-quote .tln-quote-billto p:first-of-type {
    color: var(--q-navy);
    font-size: 12.5px;
    font-weight: 700;
}

.tln-quote .tln-quote-tbd {
    font-style: italic;
}

.tln-quote .tln-quote-matter {
    display: grid;
    gap: 3px;
    margin: 0;
    padding-left: 12px;
    border-left: 1px solid var(--q-line);
}

.tln-quote .tln-quote-matter > div {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.tln-quote .tln-quote-matter dt {
    color: var(--q-navy);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.tln-quote .tln-quote-matter dd {
    margin: 0;
    color: var(--q-muted);
    font-size: 11.5px;
}

/* Line items ----------------------------------------------------------------*/

.tln-quote .tln-quote-lines {
    width: 100%;
    margin-top: 13px;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
}

.tln-quote .tln-quote-lines th {
    padding: 7px 8px;
    border: 1px solid var(--q-line);
    background: var(--q-head-bg);
    color: var(--q-navy);
    font-size: 11px;
    font-weight: 700;
    text-align: left;
}

.tln-quote .tln-quote-lines td {
    padding: 7px 8px;
    border: 1px solid var(--q-line);
    color: var(--q-ink);
    font-size: 11.5px;
    vertical-align: top;
}

.tln-quote .tln-quote-lines .q-no {
    width: 26px;
    text-align: center;
}

.tln-quote .tln-quote-lines .q-num {
    text-align: right;
}

.tln-quote .tln-quote-lines thead .q-num {
    text-align: right;
}

.tln-quote .tln-quote-lines tfoot td {
    font-weight: 700;
}

.tln-quote .tln-quote-lines tfoot .q-total-grand {
    background: var(--q-total-bg);
    color: var(--q-deep);
    font-size: 13px;
}

.tln-quote .tln-quote-lines tfoot .q-total-grand .q-num {
    font-size: 13.5px;
    font-weight: 700;
}

.tln-quote .tln-quote-note {
    margin: 10px 0 0;
    color: var(--q-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* Signatory -----------------------------------------------------------------*/

.tln-quote .tln-quote-sign {
    margin-top: 16px;
}

.tln-quote .tln-quote-sign-for {
    margin: 0;
    color: var(--q-navy);
    font-size: 11.5px;
    font-style: italic;
    font-weight: 700;
}

.tln-quote .tln-quote-sign-line {
    display: block;
    width: 168px;
    max-width: 60%;
    margin-top: 26px;
    border-top: 1px solid var(--q-navy);
}

.tln-quote .tln-quote-sign-name {
    margin: 5px 0 0;
    color: var(--q-navy);
    font-size: 12px;
    font-weight: 700;
}

.tln-quote .tln-quote-sign-title {
    margin: 1px 0 0;
    color: var(--q-muted);
    font-size: 11px;
}

/* Narrow columns (store cart aside) ----------------------------------------*/

@media (max-width: 430px) {
    .tln-quote .tln-quote-doc {
        padding: 13px;
    }

    .tln-quote .tln-quote-matter {
        padding-left: 0;
        border-left: 0;
    }
}

/* Fee note / quotation ------------------------------------------------------*/
/* The full client-facing document. It stays hidden on screen and is cloned
   into the preview dialog and the print root, so every declaration is
   self-sufficient and does not rely on .tln-quote. */

.tln-quote .tln-quote-print {
    display: none;
}

.tln-fee-note {
    --q-navy: #021a4a;
    --q-deep: #0b2a55;
    --q-gold: #c9a84c;
    --q-ink: #1f2b44;
    --q-muted: #5c6f92;
    --q-line: #d8e2f2;
    --q-head-bg: #eaf1fb;
    --q-total-bg: #fdf4de;
    --q-panel-bg: #f4f7fc;

    position: relative;
    padding: 26px 28px 34px;
    border: 1px solid var(--q-line);
    border-radius: 6px;
    background: #fff;
    color: var(--q-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.55;
}

.tln-fee-note h4 {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 7px;
    color: var(--q-navy);
    border-bottom: 1px solid var(--q-gold);
    padding-bottom: 4px;
    font: 700 13.5px/1.3 Georgia, "Times New Roman", serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.tln-fee-note .tln-fn-no {
    color: var(--q-gold);
}

.tln-fee-note p {
    margin: 0 0 7px;
}

.tln-fee-note .tln-fn-section {
    margin-top: 16px;
    break-inside: avoid;
}

.tln-fee-note .tln-fn-section > p:last-child {
    margin-bottom: 0;
}

/* Letterhead ----------------------------------------------------------------*/

.tln-fee-note .tln-fn-head {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.tln-fee-note .tln-fn-head > tbody > tr > td {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--q-gold);
}

.tln-fee-note .tln-fn-brand {
    width: 52%;
    padding: 0;
    vertical-align: middle;
    background: var(--q-navy);
}

.tln-fee-note .tln-fn-brand-inner {
    width: 100%;
    height: 88px;
    border-collapse: separate;
    border-radius: 4px 0 0 4px;
    background: var(--q-navy);
}

.tln-fee-note .tln-fn-logo-cell {
    width: 66px;
    padding: 8px 6px 8px 10px;
    vertical-align: middle;
    background: var(--q-navy);
}

.tln-fee-note .tln-fn-brand img {
    width: 62px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.tln-fee-note .tln-fn-wordmark {
    vertical-align: middle;
    text-align: left;
    background: var(--q-navy);
}

.tln-fee-note .tln-fn-wordmark strong {
    display: block;
    color: #e8b744;
    font: 700 18px/1.05 Georgia, "Times New Roman", serif;
    letter-spacing: .025em;
}

.tln-fee-note .tln-fn-wordmark small {
    display: block;
    margin-top: 3px;
    padding-top: 3px;
    border-top: 1px solid #e8b744;
    color: #fff;
    font-size: 10px;
    line-height: 1.35;
}

.tln-fee-note .tln-fn-contact {
    width: 48%;
    padding: 8px 10px 8px 12px;
    vertical-align: middle;
    border-radius: 0 4px 4px 0;
    background: var(--q-navy);
}

.tln-fee-note .tln-fn-contact-inner {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 10px;
    line-height: 1.35;
    background: var(--q-navy);
}

.tln-fee-note .tln-fn-contact-inner tr {
    page-break-inside: avoid;
}

.tln-fee-note .tln-fn-contact-inner td {
    padding: 1px 0;
    vertical-align: top;
    background: var(--q-navy);
}

.tln-fee-note .tln-fn-contact-icon {
    width: 18px;
    padding-right: 5px !important;
}

.tln-fee-note .tln-fn-contact svg {
    display: block;
    width: 11px;
    height: 11px;
    margin-top: 1px;
    fill: none;
    stroke: var(--q-gold);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 430px) {
    .tln-fee-note .tln-fn-brand,
    .tln-fee-note .tln-fn-contact {
        display: block;
        width: 100%;
        border-bottom: 0 !important;
        border-left: 0;
    }

    .tln-fee-note .tln-fn-contact {
        padding: 10px 0 0;
    }
}

/* Title band ----------------------------------------------------------------*/

.tln-fee-note .tln-fn-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--q-navy);
}

.tln-fee-note .tln-fn-band h3 {
    margin: 0;
    color: #fff;
    font: 700 21px/1.2 Georgia, "Times New Roman", serif;
    letter-spacing: .12em;
}

.tln-fee-note .tln-fn-band dl {
    display: grid;
    gap: 2px;
    margin: 0;
}

.tln-fee-note .tln-fn-band dl > div {
    display: flex;
    gap: 7px;
    justify-content: flex-end;
}

.tln-fee-note .tln-fn-band dt {
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
}

.tln-fee-note .tln-fn-band dd {
    margin: 0;
    color: #dbe7fb;
    font-size: 11.5px;
}

/* Addressee and references --------------------------------------------------*/

.tln-fee-note .tln-fn-addressee {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 22px;
    margin-top: 14px;
    padding: 13px 15px;
    background: var(--q-panel-bg);
}

.tln-fee-note .tln-fn-to h4,
.tln-fee-note .tln-fn-refs {
    border: 0;
    padding: 0;
}

.tln-fee-note .tln-fn-to h4 {
    margin: 0 0 4px;
    color: var(--q-navy);
    font: 700 12px/1.3 Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.tln-fee-note .tln-fn-to p {
    margin: 0;
    color: var(--q-muted);
    font-size: 11.5px;
}

.tln-fee-note .tln-fn-to-name {
    color: var(--q-navy);
    font-size: 14px;
    font-weight: 700;
}

.tln-fee-note .tln-fn-tbd {
    font-style: italic;
}

.tln-fee-note .tln-fn-refs {
    display: grid;
    gap: 4px;
    margin: 0;
}

.tln-fee-note .tln-fn-refs > div {
    display: grid;
    grid-template-columns: minmax(96px, auto) 1fr;
    gap: 8px;
}

.tln-fee-note .tln-fn-refs dt {
    color: var(--q-navy);
    font-size: 11.5px;
    font-weight: 700;
}

.tln-fee-note .tln-fn-refs dd {
    margin: 0;
    color: var(--q-muted);
    font-size: 11.5px;
}

/* Lists ---------------------------------------------------------------------*/

.tln-fee-note .tln-fn-list,
.tln-fee-note .tln-fn-bullets {
    margin: 0;
    padding-left: 20px;
}

.tln-fee-note .tln-fn-list li,
.tln-fee-note .tln-fn-bullets li {
    margin-bottom: 3px;
}

.tln-fee-note .tln-fn-exclusions {
    margin-top: 11px;
    padding: 11px 13px;
    background: var(--q-panel-bg);
}

.tln-fee-note .tln-fn-exclusions h5 {
    margin: 0 0 5px;
    color: var(--q-navy);
    font-size: 12px;
    font-weight: 700;
}

.tln-fee-note .tln-fn-exclusions ul {
    margin: 0;
}

/* Tables --------------------------------------------------------------------*/

.tln-fee-note .tln-fn-table {
    width: 100%;
    border-collapse: collapse;
}

.tln-fee-note .tln-fn-table th {
    padding: 7px 9px;
    border: 1px solid var(--q-navy);
    background: var(--q-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
}

.tln-fee-note .tln-fn-table td {
    padding: 7px 9px;
    border: 1px solid var(--q-line);
    font-size: 11.5px;
    vertical-align: top;
}

.tln-fee-note .tln-fn-table tbody tr:nth-child(even) td {
    background: var(--q-panel-bg);
}

.tln-fee-note .tln-fn-num {
    text-align: right !important;
    white-space: nowrap;
}

.tln-fee-note .tln-fn-no-col {
    width: 30px;
    text-align: center !important;
}

.tln-fee-note .tln-fn-table tfoot td {
    font-weight: 700;
}

.tln-fee-note .tln-fn-grand td {
    background: var(--q-total-bg);
    color: var(--q-deep);
}

.tln-fee-note .tln-fn-rollup {
    width: 72%;
    margin-left: auto;
}

/* Acceptance ----------------------------------------------------------------*/

.tln-fee-note .tln-fn-accept {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 28px;
    margin-top: 12px;
}

.tln-fee-note .tln-fn-signoff {
    margin-top: 20px;
    break-inside: avoid;
    page-break-inside: avoid;
}

.tln-fee-note .tln-fn-sign-for {
    color: var(--q-navy);
    font-size: 12px;
    font-style: italic;
    font-weight: 700;
}

.tln-fee-note .tln-fn-sign-line {
    display: block;
    width: 190px;
    max-width: 70%;
    margin: 30px 0 5px;
    border-top: 1px solid var(--q-navy);
}

.tln-fee-note .tln-fn-sign-name {
    margin: 0;
    color: var(--q-navy);
    font-size: 12.5px;
    font-weight: 700;
}

.tln-fee-note .tln-fn-sign-title,
.tln-fee-note .tln-fn-sign-firm,
.tln-fee-note .tln-fn-sign-date {
    margin: 0;
    color: var(--q-muted);
    font-size: 11.5px;
}

.tln-fee-note .tln-fn-field {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    color: var(--q-navy);
    font-weight: 700;
}

.tln-fee-note .tln-fn-rule {
    display: block;
    flex: 1 1 auto;
    min-width: 90px;
    border-bottom: 1px solid var(--q-navy);
    color: var(--q-ink);
    font-weight: 400;
    text-align: center;
}

.tln-fee-note .tln-fn-watermark {
    position: absolute;
    right: 22px;
    bottom: 46px;
    width: 128px;
    height: 128px;
    fill: none;
    stroke: var(--q-gold);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .22;
    pointer-events: none;
}

/* Document footer -----------------------------------------------------------*/

.tln-fee-note .tln-fn-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 8px;
    border-top: 2px solid var(--q-gold);
    color: var(--q-navy);
    font-size: 11px;
}

.tln-fee-note .tln-fn-foot span {
    color: var(--q-muted);
}

@media (max-width: 640px) {
    .tln-fee-note {
        padding: 16px 14px 22px;
    }

    .tln-fee-note .tln-fn-rollup {
        width: 100%;
    }

    .tln-fee-note .tln-fn-watermark {
        display: none;
    }
}

/* The five-column fee table cannot fit a phone-width document, so the two
   columns that repeat the total (fixed basis, unit rate) drop out. */
@media (max-width: 520px) {
    .tln-fee-note .tln-fn-basis,
    .tln-fee-note .tln-fn-rate {
        display: none;
    }
}

/* Printing ------------------------------------------------------------------*/

@media print {
    .tln-quote .tln-quote-print,
    .tln-quote .tln-quote-dialog {
        display: none !important;
    }

    body.tln-quote-printing > * {
        display: none !important;
    }

    body.tln-quote-printing #tln-quote-print-root {
        display: block !important;
    }

    #tln-quote-print-root .tln-fee-note,
    #tln-quote-print-root .tln-quote-doc {
        border: 0;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    @page {
        margin: 16mm 14mm 18mm;

        @bottom-right {
            content: "Page " counter(page) " of " counter(pages);
            color: #5c6f92;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 9px;
        }
    }

    .tln-fee-note .tln-fn-band,
    .tln-fee-note .tln-fn-brand,
    .tln-fee-note .tln-fn-table th,
    .tln-fee-note .tln-fn-grand td,
    .tln-fee-note .tln-fn-table tbody tr:nth-child(even) td {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .tln-quote-band,
    .tln-quote-identity,
    .tln-quote-lines th,
    .tln-quote-lines .q-total td,
    .tln-quote-lines tbody tr:nth-child(even) td {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .no-print {
        display: none !important;
    }
}
