:root { --edge-text:#202b3a; --edge-muted:#4b5869; --edge-surface:#fff; --edge-soft:#f1f4f8; --edge-border:#8290a2; --edge-accent:#174f9b; --edge-focus:#b34b00; }
body.dark { --edge-text:#edf2f8; --edge-muted:#c2cddd; --edge-surface:#1e2530; --edge-soft:#2c3644; --edge-border:#8797ae; --edge-accent:#a6ccff; --edge-focus:#ffd17b; }
body,body.dark { --body-text-color:var(--edge-text); --header-text-color:var(--edge-text); --label-color:var(--edge-muted); --highlight-color:var(--edge-accent); --box-background-color:var(--edge-surface); }
body { color:var(--edge-text); background:var(--edge-surface); font-size:15px; line-height:1.5; }
.container { min-width:0 !important; width:calc(100% - 32px); max-width:1600px; margin-inline:auto; }
#d_header { height:auto; min-height:60px; background:var(--edge-surface); }
#d_header > .container { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
#d_header_logo { flex:none; }
#d_header_title, #d_header_title b { color:var(--edge-text); }
#d_header_user_container { margin-left:auto; display:flex; align-items:center; flex-wrap:wrap; }
#d_header_divider { display:none; }
#d_header_user_bar { padding-inline:12px !important; }
.tab_bar { display:flex; flex-wrap:wrap; align-items:center; gap:4px; height:auto; overflow:visible; padding:8px 0; }
.tab_bar .clear { display:none; }
.tab_bar .tab { float:none; height:auto; min-height:44px; box-sizing:border-box; padding:10px 14px; margin:0; border:1px solid var(--edge-border); border-radius:3px; color:var(--edge-text); background:var(--edge-soft); text-decoration:none; }
body .tab_bar .tab .content { padding:0; color:inherit; line-height:1.5; font-size:14px; }
.tab_bar .tab.active { background:var(--edge-surface); color:var(--edge-accent); border-bottom:3px solid var(--edge-accent); font-weight:bold; }
.tab_widget { height:auto; margin:0; padding:0; color:var(--edge-muted); }
#d_tab_manager { margin-left:auto; }
#d_tab_time { padding:10px; font-size:13px; color:var(--edge-muted); opacity:1 !important; }
#edge-scheduler-help { margin:0 0 16px; color:var(--edge-muted); font-size:13px; }
.tab_bar[style*="display: none"] + #edge-scheduler-help { display:none; }
.main { min-height:400px; background:var(--edge-surface); border-color:var(--edge-border); }
#main > div { box-sizing:border-box; padding:24px !important; }
h1 { display:inline; font-size:24px; font-weight:700; line-height:1.35; margin:0; color:var(--edge-text); }
.subtitle,.dialog_title { color:var(--edge-text); height:auto; line-height:1.5; border-color:var(--edge-border); }
.subtitle.flex-container { flex-wrap:wrap; gap:16px; padding-bottom:16px; }
.subtitle.flex-container > div { width:auto !important; max-width:100%; }
.subtitle.flex-container > div:first-child { flex:1 1 220px; }
.subtitle.flex-container > div:last-child { display:flex; flex-wrap:wrap; gap:8px; }
div.subtitle_widget { float:none; display:inline-flex; align-items:center; gap:4px; vertical-align:middle; height:auto; margin:0; padding:0; }
.subtitle_widget:has(select) { display:flex; flex-direction:column; align-items:stretch; }
.subtitle_widget:has(select) > i { display:none; }
.edge-field-label { font-size:12px; font-weight:600; color:var(--edge-muted); }
button, input, select, textarea { font:inherit; }
button, .button, input:not([type=checkbox]):not([type=radio]), select { min-height:44px; box-sizing:border-box; border:1px solid var(--edge-border); border-radius:3px; padding:8px 12px; color:var(--edge-text); background:var(--edge-surface); }
button,.button { line-height:1.4; height:auto; font-weight:600; }
button.edge-action { display:inline-block; }
button.edge-icon { min-width:44px; padding:8px; }
button.edge-icon i { width:auto !important; }
button.button { background:var(--edge-soft); }
button:hover:not(:disabled),a.tab:hover { background:var(--edge-soft); text-decoration:underline; }
button:active:not(:disabled) { transform:translateY(1px); }
button:disabled { color:var(--edge-muted); background:var(--edge-soft); border-style:dashed; }
a[href],button,select,label[for],input[type=checkbox],input[type=radio] { cursor:pointer; }
:disabled { cursor:not-allowed; }
a, .link { color:var(--edge-accent); }
body .subtitle_widget a { color:var(--edge-accent); }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible { outline:3px solid var(--edge-focus); outline-offset:3px; }
textarea:focus-visible { outline:3px solid var(--edge-focus); outline-offset:3px; }
body span.color_label.green { color:#fff; background:#176333; text-shadow:none; }
body.dark span.color_label.green { color:#1e2530; background:#9cddb0; }
#d_progress_title { color:var(--edge-text) !important; background:var(--edge-surface); }
body .addme,body .timing_details_label,body .ccbox_timing { color:var(--edge-text) !important; }
body div.plugin_params_label { color:var(--edge-text); text-shadow:none; }
body .ccbox_timing { background:var(--edge-soft); border:1px solid var(--edge-border); padding:8px; min-width:24px; min-height:24px; }
body .ccbox_timing.checked { background:var(--edge-accent); color:var(--edge-surface) !important; }
body .side_tab_bar .tab { display:block; box-sizing:border-box; text-decoration:none; color:var(--edge-text); height:auto; min-height:44px; }
body .side_tab_bar .tab.active { color:var(--edge-accent); font-weight:bold; }
body select.subtitle_menu { width:auto !important; max-width:100%; font-size:14px; color:var(--edge-text); background:var(--edge-surface); border:1px solid var(--edge-border); appearance:auto; }
body input::placeholder,body.dark input::placeholder { color:var(--edge-muted); opacity:1; }
#fe_sch_keywords { max-width:100%; width:240px; }
#schedule_table,#d_history_table { margin-top:16px; }
.edge-scroll { overflow-x:auto; }
table.data_table th,table.data_table td,.pagination { color:var(--edge-text); font-size:14px; }
table.data_table th { background:var(--edge-soft); height:40px; }
#schedule_table tr.disabled { opacity:1; background:var(--edge-soft); }
div.schedule_group_header { color:var(--edge-muted); }
.pagination { margin-bottom:12px; }
.pagination table { width:100%; }
.pagination table tbody,.pagination table tr { display:flex; flex-wrap:wrap; align-items:center; gap:8px; width:100%; }
.pagination table td { flex:1 1 200px; width:auto; }
#schedule_table .schedule_search > span { position:static; transform:none; display:flex; align-items:center; }
.pagination .schedule_search input { min-width:0; width:100%; }
.pagination .schedule_search { width:100%; }
.pagination .edge-icon { margin:2px; }
.schedule_group_button_container { display:flex; flex-wrap:wrap; justify-content:flex-end; }
.schedule_group_button_container .edge-icon:has(i.selected) { border-bottom:3px solid var(--edge-accent); }
div.pagination > table tr td { white-space:normal; min-width:0; }
body .ui-tooltip { max-width:min(300px,calc(100vw - 32px)); color:var(--edge-text); background:var(--edge-surface); }
#schedule_table table.data_table,#d_history_table table.data_table { min-width:880px; }
td.table_label,.dialog_title,body .header_option,#d_header_user_bar { color:var(--edge-text); }
body .dialog_buttons button.button { color:var(--edge-text); }
.inline_dialog_container { width:min(100%,560px); box-sizing:border-box; margin:32px auto; border-color:var(--edge-border); }
.dialog_title { background:var(--edge-soft); }
.dialog_buttons { background:var(--edge-soft); }
.password_toggle { margin-left:8px; }
#d_message { position:relative; left:auto !important; width:auto !important; z-index:20; box-sizing:border-box; padding:8px; color:var(--edge-text); background:var(--edge-soft); border:2px solid var(--edge-border); }
body #d_message.error { color:var(--edge-text); background:var(--edge-soft); border-color:#bc4545; }
#d_message_inner { color:inherit; }
#d_footer { color:var(--edge-muted); font-size:13px; height:auto; padding:16px 0; }
#d_footer_version { color:var(--edge-muted); }
#d_footer a { color:var(--edge-accent); }
.edge-skip { position:absolute; left:16px; top:-100px; z-index:100; padding:12px; background:var(--edge-surface); }
.edge-skip:focus { top:8px; }
.edge-confirm { width:min(480px,calc(100% - 48px)); color:var(--edge-text); background:var(--edge-surface); border:2px solid var(--edge-border); padding:24px; }
.edge-confirm::backdrop { background:rgb(0 0 0 / 55%); }
.edge-confirm h2 { font-size:22px; margin-top:0; }
.edge-confirm button { margin:12px 8px 0 0; }
.edge-legacy-confirm { position:fixed !important; inset:0 !important; width:fit-content; max-width:calc(100vw - 32px); max-height:calc(100vh - 32px); margin:auto; padding:0; overflow:auto; color:var(--edge-text); background:var(--edge-surface); border:2px solid var(--edge-border); }
.edge-legacy-confirm::backdrop { background:rgb(0 0 0 / 55%); }
.edge-legacy-confirm .dialog_title { color:var(--edge-text); }
.edge-legacy-confirm .dialog_title span { color:inherit !important; }
.edge-legacy-confirm #dialog_main { max-width:100%; }
.edge-legacy-confirm .dialog_buttons { padding:16px; }
.edge-legacy-confirm input,.edge-legacy-confirm textarea { max-width:100%; }
.edge-legacy-confirm .dialog_buttons table { margin:auto; }
.edge-legacy-confirm .confirm_container { max-width:100%; }
.edge-dialog-message { padding:12px; border:2px solid var(--edge-border); color:var(--edge-text); background:var(--edge-soft); }
.edge-profile-note { max-width:180px; margin:0 0 0 32px; color:var(--edge-muted); }
#page_MyAccount .password_toggle { width:auto !important; }
@media(max-width:800px) {
  #schedule_table table.edge-empty-table { min-width:0; }
  #schedule_table .edge-empty-table th { display:none; }
  #schedule_table .edge-empty-table td { white-space:normal; line-height:1.5; }
  .container { width:calc(100% - 24px); }
  #main > div { padding:16px !important; }
  #page_Schedule > div,#page_History > div { padding-inline:0 !important; }
  #main div:has(> .side_tab_bar) { margin-left:0 !important; min-width:0; }
  #main .side_tab_bar { position:static !important; display:flex; flex-wrap:wrap; gap:4px; width:100%; border:0; margin-bottom:24px; }
  #main .side_tab_bar > div:not(.tab) { display:none; }
  #main .side_tab_bar .tab { width:auto; float:none; margin:0; border:1px solid var(--edge-border); padding:8px; }
  #main .side_tab_bar .tab .content { padding:0; font-size:14px; }
  #main div:has(> .side_tab_bar) > div:not(.side_tab_bar) { padding-inline:0 !important; }
  #main table:has(> tbody > tr > .table_value),#main table:has(> tbody > tr > .table_value) > tbody,
  #main table:has(> tbody > tr > .table_value) > tbody > tr { display:block; width:100%; }
  #main .table_label,#main .table_value { display:block; text-align:left; max-width:100%; width:auto; }
  #main .table_value { padding-inline:0; }
  #main .table_label { padding:8px 0 4px; }
  #main .table_spacer { height:1px; }
  #main table.fieldset_params_table,#main table.fieldset_params_table tbody { display:block; max-width:100%; }
  #main table.fieldset_params_table tr { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
  #main table.fieldset_params_table td { display:block; }
  #main tr.collapse { display:none !important; }
  #main .table_caption { display:block; }
  #main .caption { overflow-wrap:anywhere; }
  #main fieldset,#main textarea,#main input,#main select { max-width:100%; box-sizing:border-box; }
  #main fieldset { width:auto !important; min-width:0; }
  #main .CodeMirror { max-width:100%; }
  #main .subtitle { display:flex; flex-wrap:wrap; gap:12px; }
  #main .subtitle_widget { max-width:100%; }
  .subtitle.flex-container > div:last-child { width:100% !important; }
  .subtitle.flex-container > div:last-child > div { flex:1 1 110px; }
  #d_tab_manager { margin-left:0; }
  #main center > table:has(.button) > tbody > tr { display:flex; flex-wrap:wrap; gap:8px; }
  #main center > table:has(.button) > tbody > tr > td { display:block; }
  #main center > table:has(.button) > tbody > tr > td:empty,#main center > table:has(.button) td[width] { display:none; }
  .inline_dialog_container .dialog_content { padding:16px; }
  #page_Login .table_label,#page_Login .table_value { display:block; text-align:left; }
  #page_Login input { width:100%; }
  #page_Login .dialog_content table,#page_Login .dialog_content tbody,#page_Login .dialog_content tr { display:block; width:100%; }
  #page_Login .table_spacer { height:12px; }
  #page_Login .dialog_buttons { padding:16px; }
  #page_MyAccount > div { padding:16px 0 !important; }
  #page_MyAccount table,#page_MyAccount tbody,#page_MyAccount tr,#page_MyAccount td { display:block; width:auto; max-width:100%; }
  #page_MyAccount .table_label,#page_MyAccount .table_value { text-align:left; }
  #page_MyAccount input { width:100%; }
  #page_MyAccount .caption { overflow-wrap:anywhere; }
  #page_MyAccount td:empty { display:none; }
  .edge-profile-note { max-width:none; margin:24px 0 0; }
  .edge-legacy-confirm .dialog_content { padding:16px; }
  .edge-legacy-confirm .dialog_buttons table,.edge-legacy-confirm .dialog_buttons tbody,.edge-legacy-confirm .dialog_buttons tr { display:block; }
  .edge-legacy-confirm .dialog_buttons td { display:inline-block; }
  .edge-legacy-confirm .dialog_buttons td:empty { display:none; }
  #d_footer .left,#d_footer .right { float:none; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  #d_header_clock_second { display:none; }
}
