* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #f3f4f6;
    color: #222;
    min-height: 100vh;
    padding: 20px;
}

.login-page {
    min-height: calc(100vh - 40px);
    display: grid;
    place-items: center;
}

.login-card {
    width: min(380px, 100%);
    background: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.login-card h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #1f2937;
}

.login-card label {
    display: block;
    margin-bottom: 14px;
    color: #333;
    font-weight: bold;
}

.login-card input {
    width: 100%;
    margin-top: 6px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 18px;
}

.login-card button {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: #ff6a2a;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.login-status {
    min-height: 22px;
    margin-top: 12px;
    color: #dc2626;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    border: 1px solid #cfcfcf;
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: #f43f5e;
    text-align: center;
    margin-bottom: 20px;
}

.top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: -8px 0 12px;
}

.top-actions button {
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: #64748b;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
}

.input-box {
    width: 100%;
    padding: 16px;
    font-size: 24px;
    border-radius: 10px;
    border: 2px solid #38bdf8;
    background: #0f172a;
    color: #34d399;
    outline: none;
}

.price-form {
    margin-top: 16px;
    border: 1px solid #b9b9a4;
    border-bottom: 0;
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 48px;
    border-bottom: 1px solid #b9b9a4;
}

.form-label {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: #43b800;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 8px 12px;
}

.form-field {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
    padding: 8px 12px;
    background: #fff;
    font-size: 18px;
}

.form-field input {
    width: 240px;
    max-width: 100%;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    color: #222;
    background: #fff;
    padding: 7px 10px;
    font-size: 18px;
    outline: none;
}

.split-field {
    flex-wrap: wrap;
}

.history-page .split-field {
    flex-wrap: nowrap;
}

.split-field input {
    width: 150px;
}

.homepage-metadata {
    display: none;
}

.upper-input,
.code-input {
    text-transform: uppercase;
}

.short-code-input {
    width: 72px !important;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inline-check input {
    width: auto;
}

.split-field span,
.route-line span {
    white-space: nowrap;
}

.split-field .code-name-code {
    width: 64px;
    flex: 0 0 64px;
}

.split-field .code-name-text {
    width: 130px;
    flex: 0 0 130px;
}

.route-line {
    flex-wrap: nowrap;
    overflow-x: auto;
}

.route-code {
    width: 64px !important;
    flex: 0 0 64px;
}

.route-name {
    width: 120px !important;
    flex: 0 0 120px;
}

.record-info-wrap {
    align-items: center;
    display: flex;
    gap: 8px;
}

.record-info-line {
    flex: 1 1 auto;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-all;
}

.record-info-wrap button {
    flex: 0 0 auto;
    height: 30px;
}

.price-edit-input {
    width: 150px;
}

.price-unit-input {
    width: 90px;
}

.price-edit-panel .form-row {
    grid-template-columns: 110px minmax(0, 1fr);
}

.price-edit-panel .price-edit-input {
    width: 180px;
}

.price-edit-panel #editHandPrice {
    width: 180px;
}

.checked-price-row {
    display: grid;
    grid-template-columns: auto 96px auto 180px auto minmax(0, 1fr);
    gap: 8px;
    width: 100%;
}

.checked-price-head {
    display: grid;
    grid-template-columns: 96px 180px auto minmax(0, 1fr);
    gap: 8px;
    color: #555;
    font-size: 14px;
    font-weight: bold;
}

.price-list-head .form-label {
    background: #2f8f00;
}

.price-row-label {
    color: #666;
    font-size: 14px;
}

.checked-price-row .secondary-button {
    justify-self: start;
}

.bulk-price-field {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) auto;
    align-items: flex-start;
    gap: 10px;
}

.bulk-price-field textarea {
    width: 100%;
    max-width: 100%;
    min-height: 72px;
    resize: vertical;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 1.4;
}

.result-box {
    margin-top: 20px;
    background: #0284c7;
    padding: 20px;
    border-radius: 12px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: white;
}
.debug-box {

    margin-top: 20px;

    background: #0f172a;

    border: 1px solid #334155;

    border-radius: 12px;

    padding: 16px;

}

.debug-title {

    color: #38bdf8;

    font-size: 18px;

    margin-bottom: 10px;

    font-weight: bold;

}

#ocrRawText {

    color: #22c55e;

    white-space: pre-wrap;

    font-size: 14px;

    line-height: 1.5;

    word-break: break-word;

}
.airline-card {

    margin-top: 20px;

    background: #111827;

    border: 1px solid #374151;

    border-radius: 16px;

    padding: 20px;

}

.airline-title {

    font-size: 24px;

    font-weight: bold;

    color: #38bdf8;

    margin-bottom: 20px;

}

.price-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 12px 0;

    border-bottom: 1px solid #1f2937;

}

.price-label {

    color: #f8fafc;

    font-size: 18px;

}

.price-value {

    color: #22c55e;

    font-size: 20px;

    font-weight: bold;

}

.copy-tip {

    margin-top: 16px;

    text-align: center;

    color: #facc15;

    font-size: 14px;

}
.setting-box {

    display: flex;

    gap: 12px;

    margin-top: 16px;

    margin-bottom: 20px;

}

.setting-box select {

    flex: 1;

    background: #0f172a;

    color: #38bdf8;

    border: 1px solid #334155;

    border-radius: 12px;

    padding: 12px;

    font-size: 16px;

}

.history-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.history-search input {
    width: 100%;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.history-panel {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    padding: 14px;
}

.action-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.action-box button,
.import-button,
.action-link {
    background: #0284c7;
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.import-button,
.action-link {
    display: inline-flex;
    align-items: center;
}

.page-path {
    color: #333;
    font-size: 16px;
    margin-bottom: 16px;
}

.history-page {
    max-width: 1600px;
}

.search-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #222;
    margin-bottom: 14px;
}

.search-toolbar input,
.search-toolbar select {
    height: 40px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    background: #fff;
    color: #222;
    padding: 7px 10px;
    font-size: 16px;
}

.search-toolbar .code-input {
    width: 76px;
    text-transform: uppercase;
}

.search-toolbar .airline-code-input {
    width: 72px;
}

.search-toolbar .route-search-input {
    width: 130px;
}

.search-toolbar #historyRateSelect {
    width: 110px;
}

.search-toolbar button {
    height: 40px;
    background: #ff6a2a;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 16px;
    cursor: pointer;
}

.search-toolbar .secondary-button {
    background: #64748b;
}

.recycle-check {
    height: 40px;
    padding: 0 8px;
}

.is-deleted-record {
    opacity: 0.72;
    background: #fff7ed !important;
}

.copy-status {
    color: #16a34a;
    font-size: 14px;
    min-width: 44px;
}

.edit-layout {
    display: grid;
    grid-template-columns: minmax(520px, 680px) minmax(620px, 1fr);
    gap: 16px;
    margin-top: 16px;
}

@media (max-width: 1180px) {
    .edit-layout {
        grid-template-columns: 1fr;
    }

    .bulk-price-field {
        grid-template-columns: 1fr;
    }
}

.is-hidden {
    display: none;
}

.small-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.small-price-grid label {
    color: #333;
    font-size: 14px;
}

#importRecordsInput {
    display: none;
}

.history-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 12px;
}

.history-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
    color: #333;
    font-size: 14px;
    background: #fff;
}

.history-table th,
.history-table td {
    border: 1px solid #d8d8d8;
    padding: 9px 10px;
    vertical-align: top;
}

.history-table th {
    background: #eee;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.history-table th:nth-child(1),
.history-table td:nth-child(1) {
    width: 76px;
}

.history-table th:nth-child(2),
.history-table td:nth-child(2),
.history-table th:nth-child(6),
.history-table td:nth-child(6) {
    width: 70px;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3),
.history-table th:nth-child(4),
.history-table td:nth-child(4),
.history-table th:nth-child(5),
.history-table td:nth-child(5) {
    min-width: 90px;
}

.history-table th:nth-child(7),
.history-table td:nth-child(7) {
    width: 42px;
    min-width: 42px;
    text-align: center;
}

.history-table th:nth-child(8),
.history-table td:nth-child(8) {
    width: 52px;
    min-width: 52px;
    text-align: center;
}

.history-table th:nth-child(9),
.history-table td:nth-child(9) {
    min-width: 90px;
}

.history-table th:nth-child(10),
.history-table td:nth-child(10) {
    min-width: 140px;
}

.history-table th:nth-child(12),
.history-table td:nth-child(12) {
    min-width: 130px;
}

.history-table th:nth-child(11),
.history-table td:nth-child(11) {
    max-width: 120px;
}

.history-table th:nth-child(13),
.history-table td:nth-child(13) {
    width: 230px;
    min-width: 230px;
}

.history-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.history-prices {
    white-space: pre-wrap;
    color: #2563eb;
    line-height: 1.5;
}

.piece-cell {
    color: #16a34a;
    font-weight: bold;
}

.rate-cell {
    color: #be123c;
    font-weight: bold;
}

.history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    max-width: 220px;
}

.history-actions button {
    background: #334155;
    color: #e2e8f0;
    border: 0;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    cursor: pointer;
}

.history-actions button:last-child,
.history-actions .danger-button {
    background: #7f1d1d;
}

.output-actions button {
    background: #2563eb;
    padding: 5px 7px;
}

.output-actions button:last-child {
    background: #16a34a;
}

.note-cell {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.muted {
    color: #777;
}

.admin-page {
    max-width: 1500px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.admin-nav-button {
    background: #334155;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
    gap: 16px;
}

.admin-settings-panel {
    margin-bottom: 16px;
}

.settings-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-panel {
    border: 1px solid #cfcfcf;
    background: #fff;
}

.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eee;
    border-bottom: 1px solid #cfcfcf;
}

.admin-panel h2 {
    color: #222;
    font-size: 18px;
    padding: 10px 12px;
}

.admin-count {
    color: #666;
    font-size: 13px;
    font-weight: normal;
}

.admin-toggle {
    height: 30px;
    margin-right: 10px;
    border: 1px solid #bbb;
    border-radius: 5px;
    background: #fff;
    color: #333;
    padding: 0 10px;
    cursor: pointer;
}

.admin-panel.is-collapsed .admin-panel-body {
    display: none;
}

.admin-tools {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #cfcfcf;
}

.admin-tools input {
    flex: 1;
    min-width: 160px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    color: #222;
    background: #fff;
    padding: 8px 10px;
    font-size: 15px;
    outline: none;
}

.admin-tools button {
    height: 36px;
    background: #334155;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    cursor: pointer;
}

.admin-file-button {
    display: inline-flex;
    align-items: center;
    height: 36px;
    background: #64748b;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    cursor: pointer;
}

#importConfigInput {
    display: none;
}

.admin-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #cfcfcf;
}

.admin-summary div {
    border: 1px solid #d8d8d8;
    background: #f7f7f7;
    padding: 10px 12px;
}

.admin-summary b {
    display: block;
    color: #111827;
    font-size: 20px;
    line-height: 1.3;
}

.admin-summary span {
    color: #666;
    font-size: 13px;
}

.admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #cfcfcf;
}

.admin-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #333;
    font-size: 14px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    color: #222;
    background: #fff;
    padding: 8px 10px;
    font-size: 15px;
    outline: none;
}

.admin-form textarea {
    resize: vertical;
    min-height: 120px;
}

.admin-form .wide-field {
    grid-column: 1 / -1;
}

.admin-form .inline-check {
    flex-direction: row;
    align-items: center;
}

.admin-form .inline-check input {
    width: auto;
}

.admin-actions {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.admin-actions button {
    height: 38px;
    background: #ff6a2a;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 15px;
    cursor: pointer;
}

.admin-actions .secondary-button {
    background: #64748b;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: #333;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    border: 1px solid #d8d8d8;
    padding: 8px 9px;
    vertical-align: top;
}

.admin-table th {
    background: #f2f2f2;
    white-space: nowrap;
}

.admin-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.admin-table .admin-warning-row td {
    background: #fff8e8;
}

.admin-preview {
    max-width: 360px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-health-samples {
    min-width: 360px;
}

.admin-record-link {
    display: block;
    color: #2563eb;
    text-decoration: none;
    line-height: 1.6;
    white-space: nowrap;
}

.admin-record-link:hover {
    text-decoration: underline;
}

.article-page {
    max-width: 1600px;
}

.article-keyword-input {
    width: 240px;
}

.article-layout {
    display: block;
}

.article-list-panel,
.article-editor-panel {
    border: 1px solid #cfcfcf;
    background: #fff;
}

.article-editor-panel {
    margin-top: 14px;
}

.article-page:not(.is-editing) .article-editor-panel {
    display: none;
}

.article-page.is-editing .article-list-panel {
    display: none;
}

.article-table {
    table-layout: fixed;
}

.article-table th:nth-child(1),
.article-table td:nth-child(1) {
    width: 58px;
}

.article-table th:nth-child(2),
.article-table td:nth-child(2) {
    width: 60px;
}

.article-table th:nth-child(3),
.article-table td:nth-child(3) {
    width: 86px;
}

.article-table th:nth-child(6),
.article-table td:nth-child(6) {
    width: 130px;
}

.article-table th:nth-child(7),
.article-table td:nth-child(7),
.article-table th:nth-child(8),
.article-table td:nth-child(8) {
    width: 110px;
}

.article-table th:nth-child(9),
.article-table td:nth-child(9) {
    width: 96px;
}

.article-title-cell,
.article-summary-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-link {
    display: block;
    color: #2563eb;
    line-height: 1.5;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.article-link:hover {
    text-decoration: underline;
}

.article-scope {
    color: #777;
    font-size: 12px;
}

.article-form {
    grid-template-columns: 180px 180px 180px minmax(260px, 1fr);
    border-bottom: 0;
}

.article-form textarea {
    min-height: 90px;
}

.article-form #articleContent {
    min-height: 520px;
}

.article-editor-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #f8fafc;
}

.article-editor-tools button {
    height: 32px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    color: #1f2937;
    padding: 0 10px;
    cursor: pointer;
}

.article-editor-tools input[type="file"] {
    display: none;
}

.article-rich-editor {
    min-height: 520px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    line-height: 1.7;
    outline: none;
    overflow: auto;
}

.article-rich-editor:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.article-rich-editor img,
.article-viewer-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

.article-rich-editor img {
    cursor: pointer;
}

.article-rich-editor img.is-selected-article-image {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

.article-image-small {
    width: 240px;
}

.article-image-medium {
    width: 480px;
}

.article-image-large {
    width: 760px;
}

.article-image-original {
    width: auto;
}

.airline-profile-page {
    max-width: 1600px;
}

.airline-profile-hero {
    margin-bottom: 14px;
}

.airline-profile-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.airline-profile-summary div {
    border: 1px solid #d8d8d8;
    background: #f8fafc;
    padding: 12px;
}

.airline-profile-summary b {
    display: block;
    font-size: 22px;
    color: #111827;
}

.airline-profile-summary span {
    color: #666;
    font-size: 13px;
}

.airline-profile-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.55fr) minmax(0, 1fr) minmax(360px, 0.65fr);
    gap: 14px;
    margin-bottom: 14px;
}

.airline-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
}

.airline-quick-link {
    display: flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #075985;
    background: #f8fafc;
    text-decoration: none;
    padding: 8px 10px;
    font-size: 14px;
}

.airline-quick-link:hover {
    background: #e0f2fe;
}

.airline-rule-list {
    padding: 12px;
}

.airline-rule-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.airline-rule-item b {
    color: #111827;
}

.airline-rule-item span {
    white-space: pre-wrap;
}

.airline-tail-box {
    padding: 12px;
    line-height: 1.7;
}

.airline-tail-box p {
    margin: 0 0 10px;
}

.airline-work-card {
    margin: 0;
    padding: 14px;
    min-height: 120px;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.7;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    font-family: inherit;
    font-size: 14px;
    color: #1f2937;
}

.empty-state {
    color: #777;
    padding: 12px;
}

.airline-record-table th:nth-child(3),
.airline-record-table td:nth-child(3),
.airline-record-table th:nth-child(4),
.airline-record-table td:nth-child(4) {
    width: 160px;
}

.airline-notice-panel {
    border: 1px solid #f59e0b;
    background: #fffbeb;
    margin: 10px 0 14px;
}

.airline-notice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid #fde68a;
}

.airline-notice-head strong {
    color: #7c2d12;
    font-size: 16px;
}

.airline-notice-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.airline-notice-actions a,
.airline-notice-actions button {
    border: 1px solid #f59e0b;
    border-radius: 6px;
    background: #fff;
    color: #92400e;
    padding: 6px 9px;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.airline-notice-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 10px 12px;
}

.airline-notice-body div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
    line-height: 1.5;
}

.airline-notice-body b {
    color: #78350f;
}

.airline-notice-body span {
    color: #333;
    white-space: pre-wrap;
}

.airline-notice-body .is-important {
    grid-column: span 3;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 6px 8px;
}

.article-viewer-panel {
    margin: 14px 0;
    background: #fff;
}

.article-viewer-meta,
.article-viewer-links,
.article-viewer-content {
    padding: 10px 14px;
    border-top: 1px solid #e5e7eb;
}

.article-viewer-meta {
    color: #666;
    font-size: 13px;
}

.article-viewer-content {
    font-size: 15px;
    line-height: 1.8;
    min-height: 360px;
}

.article-viewer-content p {
    margin: 0 0 10px;
}

.danger-button {
    background: #991b1b !important;
}

@media (max-width: 980px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .article-layout {
        display: block;
    }

    .article-form {
        grid-template-columns: 1fr;
    }

    .airline-profile-summary,
    .airline-profile-grid,
    .airline-notice-body {
        grid-template-columns: 1fr;
    }

    .airline-notice-body .is-important {
        grid-column: auto;
    }

    .settings-form {
        grid-template-columns: 1fr;
    }

    .admin-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}
