﻿
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --gradient-bg: #f5f5f5;
            --card-bg: #ffffff;
            --card-border: #dddddd;
            --accent: #007acc;
            --accent-soft: rgba(0, 122, 204, 0.1);
            --accent-strong: #007acc;
            --text-primary: #333333;
            --text-secondary: #555555;
            --shadow-xl: none;
            --shadow-md: none;
        }

        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: var(--gradient-bg);
            padding: 20px;
            font-size: 12px;
            color: var(--text-primary);
        }

        body::before {
            content: none;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 20px;
            border-radius: 8px;
            box-shadow: none;
            backdrop-filter: none;
        }

        .title {
            text-align: center;
            color: var(--text-primary);
            margin-bottom: 20px;
            font-size: 18px;
            font-weight: bold;
            letter-spacing: 0;
            position: static;
        }

        .title::after {
            content: none;
        }

        .subtitle {
            display: none;
        }

        .form-row {
            margin-bottom: 15px;
        }

        .form-label {
            display: inline-block;
            width: 80px;
            font-weight: bold;
            vertical-align: top;
            padding-top: 5px;
            font-size: 12px;
            color: var(--text-primary);
            letter-spacing: normal;
        }

        .form-control {
            display: inline-block;
            vertical-align: top;
        }

        .text-area {
            width: 600px;
            height: 200px;
            padding: 8px;
            border: 1px solid #ccc;
            font-size: 12px;
            line-height: 1.4;
            resize: vertical;
            font-family: 'Courier New', monospace;
            border-radius: 5px;
            background: #fff;
            box-shadow: none;
            transition: none;
        }

        .text-area:focus {
            outline: none;
            border-color: #999;
            box-shadow: none;
        }

        .result-area {
            background-color: #f9f9f9;
        }

        .checkbox-group {
            margin: 10px 0;
        }

        .checkbox-group label {
            margin-right: 20px;
            font-size: 12px;
            display: inline-block;
        }

        .checkbox-group input[type="checkbox"] {
            margin-right: 5px;
        }

        .secondary-process {
            margin-top: 20px;
            padding: 15px;
            border: 1px solid #ddd;
            background: #f9f9f9;
            border-radius: 5px;
        }

        .secondary-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
            font-size: 13px;
            letter-spacing: normal;
        }

        .rule-controls {
            margin: 10px 0;
            display: block;
            gap: 0;
            align-items: center;
        }

        .rule-controls input[type="text"] {
            padding: 4px 8px;
            margin: 0 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 12px;
            background: #fff;
            transition: none;
        }

        .rule-controls input[type="text"]:focus {
            outline: none;
            border-color: #999;
            box-shadow: none;
        }

        .rule-list {
            max-height: 150px;
            overflow-y: auto;
            border: 1px solid #ddd;
            padding: 10px;
            background: white;
            margin-top: 10px;
            border-radius: 0;
            box-shadow: none;
        }

        .rule-item {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
            padding: 3px;
            border-radius: 0;
            background: transparent;
        }

        .rule-text {
            flex: 1;
            font-size: 11px;
            color: var(--text-secondary);
        }

        .rule-buttons {
            margin-left: 10px;
            display: flex;
            gap: 4px;
        }

        .rule-buttons button {
            padding: 3px 8px;
            font-size: 11px;
            border: 1px solid #ccc;
            background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
            cursor: pointer;
            border-radius: 3px;
            transition: all 0.2s ease;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
        }

        .rule-buttons button:hover {
            background: linear-gradient(to bottom, #e8e8e8, #d8d8d8);
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
        }

        /* 閫夐」鍗℃牱寮?*/
        .tab-container {
            margin-bottom: 20px;
        }

        .tab-buttons {
            display: flex;
            border-bottom: 2px solid #ddd;
            margin-bottom: 20px;
            padding: 0;
            background: transparent;
            border-radius: 0;
            box-shadow: none;
            gap: 0;
        }

        .tab-button {
            padding: 12px 24px;
            background: #f0f0f0;
            border: none;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
            margin-right: 2px;
            transition: all 0.3s ease;
            color: var(--text-primary);
            position: static;
            overflow: visible;
        }

        .tab-button::after {
            content: none;
        }

        .tab-button:hover {
            background: #e0e0e0;
        }

        .tab-button span {
            position: static;
            z-index: auto;
        }

        .tab-button.active {
            background: var(--accent);
            color: white;
            border-bottom: 2px solid var(--accent);
            box-shadow: none;
            transform: none;
        }

        .tab-button.active::after {
            opacity: 1;
        }

        .tab-content {
            display: none;
            background: transparent;
            border-radius: 0;
            padding: 0;
            border: none;
            box-shadow: none;
            animation: none;
        }

        .tab-content.active {
            display: block;
        }

        .tab-intro,
        .tab-intro-icon,
        .tab-intro-content,
        .tab-intro-title,
        .tab-intro-text {
            display: none;
        }

        /* 璋冭瘯鏍峰紡鍥為€€锛屼娇鐢ㄥ唴鑱旀牱寮忔帶鍒?*/


        /* 鐭俊宸ュ叿鏍峰紡 */
        .sms-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .sms-input-section,
        .sms-output-section {
            background: white;
            border: 1px solid #ddd;
            padding: 20px;
            border-radius: 5px;
            box-shadow: none;
        }

        .sms-section-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333;
            border-bottom: 2px solid #007acc;
            padding-bottom: 5px;
            display: block;
            gap: 0;
        }

        .sms-form-group {
            margin-bottom: 15px;
        }

        .sms-form-label {
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 12px;
            color: #333;
        }

        .sms-form-input {
            width: 100%;
            padding: 6px 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 12px;
            background: #fff;
            transition: none;
        }

        .sms-form-input:focus {
            outline: none;
            border-color: #007acc;
            box-shadow: none;
        }

        .sms-flight-section {
            background: #f9f9f9;
            padding: 12px;
            border-radius: 5px;
            margin-bottom: 15px;
            border: none;
            box-shadow: none;
        }

        .sms-flight-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
            font-size: 13px;
            display: block;
            gap: 0;
        }

        .sms-flight-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .sms-flight-grid-full {
            grid-column: 1 / -1;
        }

        .sms-result-area {
            min-height: 200px;
            padding: 15px;
            background: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 12px;
            line-height: 1.5;
            word-wrap: break-word;
            box-shadow: none;
        }

        .sms-button-group {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .sms-btn {
            flex: 1;
            padding: 10px 16px;
            border: 1px solid #ccc;
            background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
            cursor: pointer;
            border-radius: 4px;
            font-size: 13px;
            transition: all 0.2s ease;
            color: var(--text-primary);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .sms-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .sms-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .sms-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
            background: linear-gradient(to bottom, #e8e8e8, #d8d8d8);
        }

        .sms-btn:active {
            transform: translateY(0);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        .sms-btn-primary {
            background: linear-gradient(to bottom, #0088dd, #0066bb);
            color: white;
            border-color: #0066bb;
            box-shadow: 0 2px 4px rgba(0, 122, 204, 0.3);
            font-weight: 600;
        }

        .sms-btn-primary:hover {
            background: linear-gradient(to bottom, #0077cc, #0055aa);
            box-shadow: 0 3px 6px rgba(0, 122, 204, 0.4);
        }

        .sms-btn-success {
            background: linear-gradient(to bottom, #2ecc71, #27ae60);
            color: white;
            border-color: #27ae60;
            box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
            font-weight: 600;
        }

        .sms-btn-success:hover {
            background: linear-gradient(to bottom, #27ae60, #229954);
            box-shadow: 0 3px 6px rgba(40, 167, 69, 0.4);
        }

        .sms-batch-area {
            background: #f0f8ff;
            border: 2px dashed #007acc;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 15px;
            box-shadow: none;
        }

        .sms-batch-title {
            font-weight: bold;
            margin-bottom: 8px;
            color: #007acc;
            font-size: 13px;
            letter-spacing: normal;
        }

        .sms-batch-textarea {
            width: 100%;
            height: 120px;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 11px;
            resize: vertical;
            background: #fff;
            transition: none;
        }

        .sms-batch-textarea:focus {
            outline: none;
            border-color: #007acc;
            box-shadow: none;
        }

        .sms-airline-codes {
            background: #f8f9fa;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 15px;
            font-size: 11px;
            border: none;
        }

        .sms-airline-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5px;
            color: #666;
        }

        @media (max-width: 768px) {
            .sms-container {
                grid-template-columns: 1fr;
            }

            .sms-flight-grid {
                grid-template-columns: 1fr;
            }
        }

        .button-group {
            text-align: center;
            margin: 20px 0;
        }

        .btn {
            padding: 8px 18px;
            margin: 0 5px;
            border: 1px solid #ccc;
            background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
            font-size: 13px;
            cursor: pointer;
            border-radius: 4px;
            font-weight: 500;
            color: var(--text-primary);
            transition: all 0.2s ease;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn:hover {
            background: linear-gradient(to bottom, #e8e8e8, #d8d8d8);
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
        }

        .btn:active {
            transform: translateY(0);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        .btn-primary {
            background: linear-gradient(to bottom, #0088dd, #0066bb);
            color: white;
            border-color: #0066bb;
            box-shadow: 0 2px 4px rgba(0, 122, 204, 0.3);
            font-weight: 600;
        }

        .btn-primary:hover {
            background: linear-gradient(to bottom, #0077cc, #0055aa);
            box-shadow: 0 3px 6px rgba(0, 122, 204, 0.4);
        }

        .btn-success {
            background: linear-gradient(to bottom, #2ecc71, #27ae60);
            color: white;
            border-color: #27ae60;
            box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
            font-weight: 600;
        }

        .btn-success:hover {
            background: linear-gradient(to bottom, #27ae60, #229954);
            box-shadow: 0 3px 6px rgba(40, 167, 69, 0.4);
        }

        .btn-info {
            background: linear-gradient(to bottom, #3498db, #2980b9);
            color: white;
            border-color: #2980b9;
            box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
            font-weight: 600;
        }

        .btn-info:hover {
            background: linear-gradient(to bottom, #2980b9, #2573a7);
            box-shadow: 0 3px 6px rgba(23, 162, 184, 0.4);
        }

        .loading {
            opacity: 0.6;
            pointer-events: none;
        }

        .msg-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            border: 2px solid #007acc;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            display: none;
            max-width: 520px;
            width: auto;
        }

        .msg-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            z-index: 999;
            display: none;
            backdrop-filter: none;
        }

        .fRed {
            color: #dc3545;
        }

        .fGreen {
            color: #28a745;
        }

        .fBold {
            font-weight: bold;
        }

        .f14 {
            font-size: 14px;
        }

        .format-info {
            max-width: 500px;
            max-height: 400px;
            overflow-y: auto;
        }

        .format-info div {
            margin-bottom: 15px;
            padding: 10px;
            background: #f8f9fa;
            border-left: 3px solid #007acc;
        }

        /* 鍊肩彮绠＄悊鏍峰紡 */
        .duty-main-content {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 15px;
        }

        .duty-sidebar {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .duty-card {
            background: white;
            border-radius: 8px;
            border: 1px solid #ddd;
            padding: 15px;
        }

        .duty-card-title {
            font-size: 14px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 2px solid #f0f0f0;
        }

        .duty-stat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #f5f5f5;
        }

        .duty-stat-item:last-child {
            border-bottom: none;
        }

        .duty-stat-label {
            color: #595959;
            font-size: 12px;
        }

        .duty-stat-value {
            font-size: 16px;
            font-weight: 600;
            color: #1890ff;
        }

        .duty-calendar-section {
            background: white;
            border-radius: 8px;
            border: 1px solid #ddd;
            overflow: hidden;
            max-width: 700px;
        }

        .duty-calendar {
            padding: 15px;
        }

        .duty-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            border-bottom: 1px solid #f0f0f0;
        }

        .duty-controls button {
            background: white;
            border: 1px solid #d9d9d9;
            color: #595959;
            padding: 6px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s;
        }

        .duty-controls button:hover {
            border-color: #40a9ff;
            color: #40a9ff;
        }

        .duty-controls .today-btn {
            background: #1890ff;
            color: white;
            border-color: #1890ff;
        }

        .duty-current-month {
            font-size: 14px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .duty-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            background: #f0f0f0;
            border: 1px solid #f0f0f0;
            margin-bottom: 1px;
        }

        .duty-weekday {
            text-align: center;
            font-weight: 600;
            color: #8c8c8c;
            padding: 10px;
            font-size: 11px;
            background: white;
        }

        .duty-weekday.weekend {
            color: #ff4d4f;
        }

        .duty-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            background: #f0f0f0;
            border: 1px solid #f0f0f0;
        }

        .duty-day {
            min-height: 70px;
            background: white;
            padding: 6px;
            display: flex;
            flex-direction: column;
            transition: all 0.2s;
            cursor: pointer;
            position: relative;
        }

        .duty-day:hover:not(.other-month) {
            background: #fafafa;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .duty-day:hover:not(.other-month) .duty-edit-btn {
            display: block;
        }

        .duty-day.other-month {
            background: #fafafa;
            opacity: 0.3;
        }

        .duty-day.today {
            background: #e6f7ff;
            border: 2px solid #1890ff;
        }

        .duty-day.weekend:not(.other-month) {
            background: #fffbe6;
        }

        .duty-day-number {
            font-size: 13px;
            font-weight: 600;
            color: #262626;
            margin-bottom: 6px;
        }

        .duty-day.other-month .duty-day-number {
            color: #bfbfbf;
        }

        .duty-day.today .duty-day-number {
            color: #1890ff;
        }

        .duty-person {
            font-size: 11px;
            padding: 4px 6px;
            border-radius: 3px;
            color: white;
            font-weight: 500;
            text-align: center;
            margin-top: auto;
        }

        .duty-person-晨轩 {
            background: #ff4d4f;
        }

        .duty-person-桃红 {
            background: #ff85c0;
        }

        .duty-person-惠阳 {
            background: #52c41a;
        }

        .duty-list-item {
            padding: 10px;
            margin-bottom: 8px;
            border-radius: 6px;
            background: #fafafa;
            border-left: 3px solid;
        }

        .duty-list-item.晨轩 {
            border-left-color: #ff4d4f;
        }

        .duty-list-item.桃红 {
            border-left-color: #ff85c0;
        }

        .duty-list-item.惠阳 {
            border-left-color: #52c41a;
        }

        .duty-date {
            font-size: 11px;
            color: #8c8c8c;
            margin-bottom: 4px;
        }

        .duty-name {
            font-size: 13px;
            font-weight: 600;
            color: #262626;
        }

        .duty-filter-section {
            margin-bottom: 12px;
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .duty-filter-btn {
            padding: 4px 10px;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            background: white;
            cursor: pointer;
            font-size: 11px;
            transition: all 0.2s;
        }

        .duty-filter-btn.active {
            background: #1890ff;
            color: white;
            border-color: #1890ff;
        }

        .duty-filter-btn:hover {
            border-color: #40a9ff;
        }

        .duty-edit-btn {
            display: none;
            position: absolute;
            top: 4px;
            right: 4px;
            padding: 2px 6px;
            background: #1890ff;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            font-size: 10px;
            z-index: 10;
        }

        .duty-edit-btn:hover {
            background: #40a9ff;
        }

        .duty-adjusted {
            border: 2px solid #ff9800 !important;
        }

        .duty-adjusted-badge {
            position: absolute;
            top: 2px;
            left: 2px;
            background: #ff9800;
            color: white;
            font-size: 9px;
            padding: 1px 4px;
            border-radius: 2px;
        }
    
