/* Administration shares the public portal's blue, green and Thai typography. */
.admin-body { background: #f2f7fc; color: #183456; font-size: 14px; }
.admin-body .ui-icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.admin-body :is(a, button, input, textarea, select):focus-visible { outline: 3px solid #2189d5; outline-offset: 4px; }
.admin-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.admin-shell { grid-template-columns: 252px minmax(0, 1fr); }
.admin-sidebar { padding: 26px 18px 18px; background: linear-gradient(165deg, #0c4486, #102d5c); box-shadow: none; z-index: 30; }
.admin-sidebar-brand { padding: 0 8px 28px; gap: 11px; }
.admin-sidebar-brand img { width: 44px; height: 44px; box-shadow: none; }
.admin-sidebar-brand strong { font-size: 17px; }
.admin-sidebar-brand small { margin-top: 5px; font-size: 11px; letter-spacing: .5px; }
.admin-nav-label { margin: 10px 14px 12px; color: #a0bfdf; font-size: 11px; letter-spacing: .5px; }
.admin-side-nav { gap: 6px; }
.admin-side-nav a { min-height: 47px; font-size: 13px; font-weight: 500; gap: 12px; padding: 0 14px; border-radius: 9px; }
.admin-side-nav a.active { background: #fff; color: #075fba; box-shadow: 0 4px 12px #08234620; font-weight: 700; }
.admin-side-nav a:hover { transform: none; }
.admin-side-nav a.active:hover { background: #edf7ff; color: #075fba; }
.nav-count { margin-left: auto; padding: 1px 8px; border-radius: 6px; background: #ffffff1a; }
.active .nav-count { background: #e5f2ff; }
.admin-sidebar-footer { gap: 12px; }
.admin-sidebar-footer a { display: flex; align-items: center; gap: 12px; background: transparent; font-size: 12px; font-weight: 500; text-align: left; }
.admin-sidebar-footer a:hover { background: #ffffff12; }
.admin-profile { display: flex; align-items: center; gap: 11px; border-top: 1px solid #ffffff24; padding: 20px 8px 5px; }
.admin-avatar { display: grid; place-items: center; width: 36px; height: 36px; background: #ffffff18; border: 1px solid #ffffff30; border-radius: 50%; }
.admin-profile strong, .admin-profile small { display: block; }
.admin-profile strong { font-size: 13px; }
.admin-profile small { font-size: 10px; color: #acc7e2; margin-top: 2px; }
.profile-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #61dba6; }
.admin-workspace { padding: 28px clamp(20px, 3vw, 52px) 36px; width: 100%; max-width: 1760px; margin-inline: auto; }
.admin-workspace-head { margin-bottom: 26px; padding-bottom: 23px; border-bottom: 1px solid #dce7f1; }
.admin-workspace-head p { font-size: 11px; color: #637d99; font-weight: 500; margin-bottom: 8px; }
.breadcrumb-divider { margin: 0 9px; color: #a9bacb; }
.admin-workspace-head h1 { font-size: 27px; color: #102d55; line-height: 1.4; }
.admin-preview-button { gap: 9px; border: 1px solid #d3e3f2; font-size: 12px; min-height: 40px; box-shadow: 0 2px 4px #0b4b7d04; }
.admin-preview-button .ui-icon:last-of-type { width: 16px; }
.admin-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 25px; padding: 25px 28px; border: 1px solid #d2e7f8; border-radius: 15px; background: radial-gradient(ellipse at 90% 0%, #ccefe982, transparent 65%), linear-gradient(100deg, #e6f2ff, #f6fbff); }
.admin-eyebrow { font-size: 9px; letter-spacing: 1.5px; font-weight: 700; color: #417baa; }
.admin-intro h2 { font-size: clamp(18px, 1.7vw, 25px); color: #123c6a; margin: 7px 0 5px; }
.admin-intro p { margin: 0; color: #5b7593; font-size: 12px; }
.admin-intro > div { flex: 1; min-width: 0; }
.admin-intro .primary-button { flex: 0 0 auto; width: auto; white-space: nowrap; font-size: 12px; padding: 11px 19px; background: #08704f; border-radius: 8px; box-shadow: 0 4px 9px #08704f18; }
.admin-overview-grid { gap: 18px; margin-bottom: 23px; }
.admin-metric-card { position: relative; padding: 23px; border: 1px solid #dce7f2; border-radius: 13px; background: white; color: #153d6b; box-shadow: 0 3px 10px #123b6410; }
.admin-metric-card:hover { transform: none; box-shadow: 0 4px 15px #123b6417; }
.admin-metric-card span { color: #60758f; font-size: 12px; font-weight: 500; }
.admin-metric-card strong { margin: 13px 0 10px; font-size: 34px; font-weight: 700; }
.admin-metric-card small { font-size: 11px; color: #75889d; font-weight: 400; }
.metric-icon { position: absolute; right: 22px; top: 22px; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: #1578c4; background: #eaf4ff; }
.accent-green .metric-icon { color: #07855f; background: #e7f7ef; }
.accent-orange .metric-icon { color: #c38214; background: #fff5e2; }
.admin-workspace :is(.editor-panel, .table-panel) { border: 1px solid #dce7f1; border-radius: 13px; background: #fff; box-shadow: 0 3px 12px #163d6410; padding: 24px; margin-bottom: 22px; }
.admin-welcome-panel, .admin-section-card { max-width: none; }
.admin-panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.admin-panel-heading h2 { margin: 0; font-size: 17px; color: #183b63; }
.admin-panel-heading p { margin: 4px 0 0; color: #7a8da2; font-size: 11px; }
.admin-panel-heading > .ui-icon { color: #8aa6bf; }
.admin-panel-heading > a { display: flex; align-items: center; gap: 3px; font-size: 11px; color: #086ab9; white-space: nowrap; }
.admin-panel-heading > a .ui-icon { width: 14px; }
.admin-quick-actions { gap: 15px; }
.admin-quick-actions a { display: flex; align-items: flex-start; flex-direction: column; min-height: 150px; padding: 19px; border: 1px solid #e1ebf4; border-radius: 10px; background: #f9fcff; font-weight: 500; color: #183b63; }
.admin-quick-actions a > .ui-icon { color: #1979c3; margin-bottom: 12px; width: 25px; height: 25px; }
.admin-quick-actions a strong { font-size: 13px; }
.admin-quick-actions a small { font-size: 11px; color: #71869d; margin-top: 4px; }
.admin-quick-actions a span { display: flex; align-items: center; gap: 7px; color: #0871bf; font-size: 11px; margin-top: 16px; }
.admin-quick-actions a span .ui-icon { width: 15px; }
.admin-quick-actions a:nth-child(2) > .ui-icon { color: #0a946b; }
.admin-quick-actions a:nth-child(3) > .ui-icon { color: #8371c5; }
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.admin-category-list { display: grid; gap: 15px; }
.admin-category-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.admin-category-row > span { display: flex; gap: 9px; align-items: center; font-size: 12px; color: #526e8c; }
.admin-category-row .ui-icon { width: 17px; height: 17px; color: #6992b6; }
.admin-category-row strong { font-size: 12px; }
.admin-category-row meter { grid-column: 1 / -1; width: 100%; height: 5px; border: none; border-radius: 5px; background: #eef4f9; }
.admin-category-row meter::-webkit-meter-bar { background: #eef4f9; border: 0; height: 5px; }
.admin-category-row meter::-webkit-meter-optimum-value { background: #4397d1; border-radius: 5px; }
.admin-category-row meter::-moz-meter-bar { background: #4397d1; border-radius: 5px; }
.admin-activity { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf2f7; }
.admin-activity:first-child { padding-top: 0; }
.admin-activity:last-child { border: 0; }
.activity-icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; color: #448bc0; background: #edf5fc; }
.activity-icon .ui-icon { width: 16px; }
.admin-activity > div { min-width: 0; }
.admin-activity strong { font-size: 12px; }
.admin-activity p { margin: 2px 0; color: #64809c; font-size: 11px; overflow-wrap: anywhere; }
.admin-activity small { color: #7d8fa2; font-size: 10px; }
.admin-empty { padding: 43px 10px; text-align: center; color: #7189a2; }
.admin-empty > .ui-icon { display: block; margin: 0 auto 12px; width: 32px; height: 32px; color: #acc3d8; }
.admin-empty strong { font-size: 13px; font-weight: 500; }
.admin-empty p { font-size: 11px; }
.admin-status-note { display: flex; align-items: center; gap: 13px; background: #e9f3fb; border: 1px solid #d6e7f5; padding: 17px 22px; border-radius: 11px; color: #497698; }
.admin-status-note strong { font-size: 12px; color: #365f7f; }
.admin-status-note p { margin: 2px 0 0; font-size: 11px; }
.admin-status-note a { margin-left: auto; white-space: nowrap; font-size: 11px; color: #096cb3; }
.admin-status-note a .ui-icon { width: 15px; }
.admin-section-card h1 { font-size: 20px; }
.admin-section-card + .admin-section-card { margin-top: 22px; }
.admin-workspace .card-form { max-width: 1050px; }
.admin-workspace :is(input, textarea, select) { border-radius: 8px; border-color: #d4e1ee; font-size: 13px; background: #fcfdff; }
.admin-workspace label { font-size: 13px; }
.admin-workspace .form-section-title { border-top: 1px solid #e3edf5; padding-top: 25px; margin-top: 14px; color: #164674; font-size: 18px; }
.admin-workspace table { font-size: 12px; }
.admin-workspace th { background: #f1f7fc; color: #537191; font-size: 11px; }
.admin-workspace td { border-color: #eaf0f6; }
/* Color carries the same meaning across summary cards, shortcuts and categories. */
.admin-overview-grid .accent-blue { --card-start: #126cc5; --card-end: #299be2; --card-shadow: #1678c52b; }
.admin-overview-grid .accent-green { --card-start: #087d67; --card-end: #22ad83; --card-shadow: #0b8d6b26; }
.admin-overview-grid .accent-orange { --card-start: #a9510c; --card-end: #d98616; --card-shadow: #c4791b26; }
.admin-overview-grid .admin-metric-card { isolation: isolate; overflow: hidden; color: #fff; padding: 25px; border: 1px solid #ffffff60; border-radius: 17px; background: linear-gradient(115deg, var(--card-start), var(--card-end)); box-shadow: 0 8px 20px var(--card-shadow), inset 0 1px 0 #ffffff30; transition: transform .2s, box-shadow .2s; }
.admin-overview-grid .admin-metric-card::before, .admin-overview-grid .admin-metric-card::after { content: ''; position: absolute; z-index: -1; border: 1px solid #ffffff24; border-radius: 50%; pointer-events: none; }
.admin-overview-grid .admin-metric-card::before { width: 155px; height: 155px; right: -45px; bottom: -90px; background: #ffffff0c; }
.admin-overview-grid .admin-metric-card::after { width: 195px; height: 195px; right: -65px; bottom: -110px; }
.admin-overview-grid .admin-metric-card span { color: #fff; font-weight: 600; font-size: 13px; }
.admin-overview-grid .admin-metric-card strong { font-size: 40px; letter-spacing: -.8px; margin: 15px 0 12px; }
.admin-overview-grid .admin-metric-card small { color: #fff; font-size: 11px; }
.admin-overview-grid .metric-icon { width: 48px; height: 48px; border-radius: 14px; color: #fff; background: #ffffff24; border: 1px solid #ffffff40; box-shadow: inset 0 1px 0 #ffffff20; }
.admin-overview-grid .metric-icon .ui-icon { width: 25px; height: 25px; }
.admin-quick-actions .action-blue { --action-color: #126dc1; --action-tint: #eaf5ff; --action-line: #c8e2fa; }
.admin-quick-actions .action-green { --action-color: #087b5d; --action-tint: #e9f8f1; --action-line: #bfe8d8; }
.admin-quick-actions .action-purple { --action-color: #7452b8; --action-tint: #f2edff; --action-line: #dfd3f6; }
.admin-quick-actions a { position: relative; overflow: hidden; min-height: 190px; padding: 21px; border-color: var(--action-line); border-radius: 14px; background: linear-gradient(135deg, #fff, var(--action-tint)); box-shadow: 0 3px 8px #18345605; transition: transform .2s, box-shadow .2s, border-color .2s; }
.admin-quick-actions a::after { content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 3px; background: var(--action-color); border-radius: 0 0 5px 5px; opacity: .65; }
.quick-action-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 14px; border-radius: 13px; color: var(--action-color); background: var(--action-tint); border: 1px solid var(--action-line); box-shadow: 0 3px 7px #18345608, inset 0 1px 0 #fff; }
.admin-body .quick-action-icon .ui-icon { width: 25px; height: 25px; }
.admin-quick-actions a strong { font-size: 14px; }
.admin-quick-actions a small { color: #5d7188; }
.admin-quick-actions a span { color: var(--action-color); font-weight: 600; }
.admin-quick-actions a:hover { background: linear-gradient(135deg, #fff, var(--action-tint)); border-color: var(--action-color); box-shadow: 0 9px 20px #18345612; }
.admin-quick-actions a:focus-visible { outline-color: var(--action-color); }
.admin-category-row { --category-color: #197cbe; }
.admin-category-row.category-purple { --category-color: #8a60ce; }
.admin-category-row.category-green { --category-color: #15936e; }
.admin-category-row.category-orange { --category-color: #c87a20; }
.admin-category-row.category-pink { --category-color: #d2578e; }
.admin-category-row .ui-icon { color: var(--category-color); }
.admin-category-row strong { color: var(--category-color); min-width: 25px; text-align: center; border-radius: 6px; background: #f3f7fb; }
.admin-category-row meter::-webkit-meter-optimum-value { background: var(--category-color); }
.admin-category-row meter::-moz-meter-bar { background: var(--category-color); }
.admin-detail-grid .admin-panel-heading > .ui-icon { box-sizing: content-box; padding: 10px; border-radius: 11px; color: #2e87c1; background: #edf7ff; }
.admin-status-note > .ui-icon { box-sizing: content-box; padding: 10px; border-radius: 50%; color: #08795b; background: #d7eee4; }
@media (hover: hover) { .admin-overview-grid .admin-metric-card:hover { transform: translateY(-3px); box-shadow: 0 13px 25px var(--card-shadow); } }
@media (min-width: 1800px) { .admin-workspace { padding-top: 36px; } .admin-intro { padding-block: 32px; } }
@media (max-width: 1100px) { .admin-shell { grid-template-columns: 220px minmax(0, 1fr); } .admin-overview-grid, .admin-quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } .admin-intro { padding: 21px; } .admin-intro p { max-width: 350px; } .admin-quick-actions a { padding: 15px; } .admin-detail-grid { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 760px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: relative; height: auto; padding: 17px 16px; overflow: visible; }
    .admin-sidebar-brand { padding: 0 2px 17px; max-width: calc(100% - 80px); gap: 9px; }
    .admin-sidebar-brand img { width: 36px; height: 36px; }
    .admin-sidebar-brand strong { font-size: 14px; }
    .admin-sidebar-brand small { font-size: 10px; }
    .admin-nav-label { display: none; }
    .admin-side-nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 3px; }
    .admin-side-nav a { min-height: 40px; padding: 0 11px; white-space: nowrap; flex-shrink: 0; font-size: 12px; }
    .admin-side-nav .ui-icon { width: 17px; height: 17px; }
    .admin-sidebar-footer { display: block; position: absolute; top: 18px; right: 16px; padding: 0; margin: 0; }
    .admin-profile { display: none; }
    .admin-sidebar-footer a { font-size: 11px; min-height: 36px; }
    .admin-sidebar-footer .ui-icon { display: none; }
    .admin-workspace { padding: 22px 16px 28px; }
    .admin-workspace-head { flex-direction: row; align-items: center; padding-bottom: 18px; margin-bottom: 18px; gap: 10px; }
    .admin-workspace-head h1 { font-size: 23px; }
    .admin-workspace-head p { font-size: 10px; }
    .admin-preview-button { font-size: 11px; padding: 0 11px; gap: 5px; }
    .admin-preview-button .ui-icon:last-of-type { display: none; }
    .admin-intro { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 16px; }
    .admin-intro p { max-width: none; font-size: 11px; }
    .admin-overview-grid { gap: 9px; margin-bottom: 16px; }
    .admin-overview-grid .admin-metric-card { padding: 15px 11px; border-radius: 12px; }
    .admin-overview-grid .metric-icon { position: static; margin-bottom: 12px; width: 34px; height: 34px; border-radius: 10px; }
    .admin-overview-grid .metric-icon .ui-icon { width: 20px; height: 20px; }
    .admin-overview-grid .admin-metric-card span { font-size: 10px; }
    .admin-overview-grid .admin-metric-card strong { font-size: 30px; margin: 12px 0 10px; }
    .admin-overview-grid .admin-metric-card small { font-size: 9px; }
    .admin-workspace :is(.editor-panel, .table-panel) { padding: 18px; margin-bottom: 16px; }
    .admin-quick-actions { grid-template-columns: 1fr; gap: 10px; }
    .admin-quick-actions a { min-height: auto; position: relative; padding: 19px 15px 17px 75px; }
    .quick-action-icon { position: absolute; top: 20px; left: 16px; width: 44px; height: 44px; margin: 0; }
    .admin-quick-actions a > .ui-icon { position: absolute; top: 18px; left: 17px; width: 23px; }
    .admin-quick-actions a span { margin-top: 9px; }
    .admin-panel-heading h2 { font-size: 15px; }
    .admin-status-note { flex-wrap: wrap; padding: 16px; align-items: flex-start; }
    .admin-status-note > div { flex: 1; }
    .admin-status-note a { margin-left: 54px; }
    .admin-workspace :is(.form-row, .site-image-grid) { grid-template-columns: 1fr; }
    .admin-workspace .icon-upload-panel { grid-template-columns: 1fr; }
}
.admin-workspace.section-logs { max-width: 1400px; }
.admin-workspace .logs-panel { padding: 0; overflow: hidden; }
.logs-panel .logs-heading { background: linear-gradient(110deg, #eceffe, #eef9ff); border-bottom-color: #d8e2f5; }
.logs-panel .logs-heading > i { color: #6b65b7; border-color: #dddaf4; background: #ffffffc9; }
.logs-count { margin-left: auto; padding: 5px 11px; border: 1px solid #d5dff3; border-radius: 8px; background: #fff; color: #5f7196; font-size: 11px; white-space: nowrap; }
.logs-content { padding: 23px; }
.logs-filters { display: grid; grid-template-columns: minmax(180px, 1.6fr) minmax(155px, 1fr) minmax(110px, .65fr) auto auto; gap: 13px; align-items: end; padding: 18px; border: 1px solid #dfe9f4; border-radius: 11px; background: #f7fbff; margin-bottom: 22px; }
.logs-filters label { min-width: 0; display: grid; gap: 7px; font-weight: 600; font-size: 11px; color: #456683; }
.logs-filters :is(input, select) { width: 100%; min-width: 0; height: 41px; padding: 9px 10px; background: #fff; font-weight: 400; font-size: 12px; }
.logs-search { position: relative; }
.logs-search > .ui-icon { position: absolute; left: 11px; top: 12px; width: 17px; height: 17px; color: #7198b8; }
.logs-search input { padding-left: 35px; }
.logs-filters > button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 41px; padding: 0 15px; border: 0; border-radius: 8px; background: #137abb; color: white; font: inherit; font-size: 12px; cursor: pointer; }
.logs-filters > button .ui-icon { width: 16px; height: 16px; }
.logs-reset { display: flex; align-items: center; justify-content: center; min-height: 41px; font-size: 11px; color: #6d839a; white-space: nowrap; }
.logs-results { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.logs-results > span { display: flex; align-items: center; gap: 7px; color: #426786; font-size: 12px; font-weight: 600; }
.logs-results .ui-icon { width: 16px; height: 16px; color: #528fb9; }
.logs-results > small { font-size: 10px; color: #7b90a4; }
.logs-panel .table-wrap { border: 1px solid #e0eaf3; border-radius: 10px; }
.logs-panel table { table-layout: fixed; }
.logs-panel th:first-child { width: 150px; }
.logs-panel th:nth-child(2) { width: 140px; }
.logs-panel th:nth-child(3) { width: 185px; }
.logs-panel td { padding: 16px 13px; vertical-align: top; }
.logs-date { display: block; font-size: 11px; font-weight: 600; color: #45647e; }
.logs-time { display: block; font-size: 10px; margin-top: 4px; color: #8a9bad; }
.logs-actor { display: flex; gap: 8px; align-items: flex-start; }
.logs-actor > .ui-icon { box-sizing: content-box; width: 15px; height: 15px; padding: 7px; background: #edf5fd; color: #5793bd; border-radius: 9px; }
.logs-actor > div { min-width: 0; }
.logs-actor strong { display: block; font-size: 11px; overflow-wrap: anywhere; }
.logs-actor span { font-size: 10px; color: #8194a7; }
.logs-action { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 7px; font-size: 10px; color: #227bb9; background: #edf6ff; border: 1px solid #dbeafa; }
.logs-action .ui-icon { width: 14px; height: 14px; }
.logs-action.tone-green { color: #0d8864; background: #edf9f2; border-color: #d3eddf; }
.logs-action.tone-red { color: #bb475a; background: #fff1f3; border-color: #f2dbe1; }
.logs-action.tone-purple { color: #8161b4; background: #f4effb; border-color: #e5daf3; }
.logs-action.tone-orange { color: #a56c1c; background: #fff7e9; border-color: #f0e2c7; }
.logs-detail > strong { display: block; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; color: #4b6680; }
.logs-detail details { margin-top: 7px; }
.logs-detail summary { width: fit-content; color: #2f83b9; font-size: 10px; cursor: pointer; }
.logs-detail dl { margin: 8px 0 0; padding: 10px; background: #f5f9fd; border-radius: 8px; }
.logs-detail dl > div { margin-bottom: 6px; }
.logs-detail dl > div:last-child { margin: 0; }
.logs-detail dt { font-weight: 600; color: #56758f; font-size: 10px; }
.logs-detail dd { margin: 2px 0 0; font-size: 10px; overflow-wrap: anywhere; color: #75899d; }
.logs-empty { text-align: center; padding: 32px 20px; border: 1px dashed #dce7f3; border-radius: 11px; background: linear-gradient(#fbfdff, #f7fbff); }
.logs-empty > i { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border: 1px solid #dddff4; border-radius: 15px; background: #f0f0fb; color: #8384bd; }
.logs-empty > i .ui-icon { width: 27px; height: 27px; }
.logs-empty > strong { display: block; font-size: 14px; color: #536b86; }
.logs-empty p { font-size: 11px; max-width: 480px; margin: 8px auto 0; color: #7d92a8; }
.logs-empty a { display: inline-block; margin-top: 14px; font-size: 11px; color: #267db3; }
.logs-error { display: flex; gap: 12px; padding: 20px; border: 1px solid #f0cfd5; border-radius: 11px; background: #fff5f6; color: #ad4255; }
.logs-error strong { font-size: 13px; }
.logs-error p { margin: 5px 0 0; font-size: 12px; }
.logs-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; font-size: 10px; line-height: 1.6; color: #7a92a9; }
.logs-note .ui-icon { width: 15px; height: 15px; }
.logs-pagination { justify-content: flex-end; margin-top: 20px; }
.logs-page-disabled { padding: 6px 11px; border: 1px solid #e6edf5; border-radius: 6px; font-size: 12px; color: #a2b2c2; }
.logs-ellipsis { padding: 7px; color: #91a3b5; }
.logs-mobile-hint { display: none; }
@media (max-width: 1250px) { .logs-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .logs-filters > label:first-of-type { grid-column: 1 / -1; } .logs-reset { grid-column: 1 / -1; min-height: 24px; } }
@media (max-width: 760px) { .admin-workspace .logs-panel { padding: 0; } .logs-content { padding: 17px; } .logs-count { font-size: 9px; padding: 4px 6px; } .logs-heading > i { width: 36px; height: 36px; } .logs-heading h2 { font-size: 14px; } .logs-heading p { font-size: 10px; } .logs-filters { padding: 13px; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .logs-filters > button { grid-column: 1 / -1; } .logs-results { flex-wrap: wrap; gap: 5px; } .logs-panel table { min-width: 760px; } .logs-mobile-hint { display: flex; align-items: center; gap: 6px; color: #8599ad; font-size: 10px; } .logs-mobile-hint .ui-icon { width: 14px; height: 14px; } .logs-pagination { justify-content: flex-start; } }
.admin-workspace.section-security { max-width: 1160px; }
.admin-workspace .security-editor { padding: 0; overflow: hidden; }
.security-editor .security-heading { background: linear-gradient(115deg, #e5f6f0, #eff7ff); border-color: #cfe8df; }
.security-editor .security-heading > i { color: #098363; border-color: #c9e6da; background: #ffffffc9; }
.security-account-badge { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11px; padding: 6px 10px; border-radius: 8px; color: #31745f; background: #ffffffb3; border: 1px solid #d1e9de; }
.security-account-badge .ui-icon { width: 15px; height: 15px; }
.security-editor-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: 25px; padding: 25px; }
.admin-workspace .security-form { max-width: none; min-width: 0; }
.security-group-title { display: flex; align-items: center; gap: 8px; color: #365b77; font-size: 13px; margin: 0 0 20px; }
.security-group-title .ui-icon { width: 17px; height: 17px; color: #329582; }
.security-form label { display: block; margin: 0 0 8px; font-weight: 600; font-size: 12px; color: #3c5771; }
.security-current-field { margin-bottom: 22px; }
.security-new-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-top: 20px; border-top: 1px solid #e4edf4; }
.security-password-control { position: relative; }
.security-password-control input { width: 100%; min-width: 0; height: 45px; font-size: 12px; font-weight: 400; padding: 10px 44px 10px 12px; background: #fbfdff; }
.security-password-control button { position: absolute; right: 3px; top: 3px; width: 39px; height: 39px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; color: #6b8aa4; background: transparent; cursor: pointer; }
.security-password-control button:hover { background: #eaf4fc; color: #2379ad; }
.security-password-control button[aria-pressed="true"] { background: #e7f5ef; color: #08795b; }
.security-password-control button .ui-icon { width: 18px; height: 18px; }
.security-field-hint { display: block; font-size: 10px; color: #768ba0; margin-top: 8px; line-height: 1.6; }
.security-field-hint.is-match { color: #078360; }
.security-field-hint.is-mismatch { color: #b93d50; }
.security-guide { min-width: 0; padding-left: 24px; border-left: 1px solid #e2eaf3; }
.security-account { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid #d5e8f8; border-radius: 12px; background: linear-gradient(120deg, #eef6ff, #f5fbff); }
.security-account > i { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #d2e6f8; border-radius: 12px; background: white; color: #267eb6; }
.security-account small, .security-account strong, .security-account span { display: block; }
.security-account small { font-size: 10px; color: #7891aa; }
.security-account strong { margin: 3px 0; font-size: 15px; color: #264d70; overflow-wrap: anywhere; }
.security-account span { font-size: 10px; color: #63809b; }
.security-guide h3 { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #3a6e61; margin: 20px 0 12px; }
.security-guide h3 .ui-icon { width: 17px; height: 17px; color: #138d6f; }
.security-guide ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.security-guide li { display: flex; align-items: flex-start; gap: 7px; font-size: 11px; line-height: 1.6; color: #70859c; }
.security-guide li .ui-icon { width: 15px; height: 15px; color: #37a387; margin-top: 1px; }
.security-editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: 17px 25px; border-top: 1px solid #e2ecf3; background: #fbfdff; }
.security-editor-footer p { display: flex; align-items: center; gap: 7px; margin: 0; color: #71879d; font-size: 11px; }
.security-editor-footer p .ui-icon { width: 16px; height: 16px; }
.security-editor-footer .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; width: auto; padding: 11px 20px; font-size: 12px; border-radius: 9px; background: linear-gradient(120deg, #087b60, #09966d); box-shadow: 0 4px 10px #087b601a; }
.security-editor-footer .primary-button .ui-icon { width: 17px; height: 17px; }
@media (max-width: 1150px) { .security-editor-body { grid-template-columns: minmax(0, 1fr); } .security-guide { border-left: 0; border-top: 1px solid #e2eaf3; padding: 20px 0 0; } .security-account { max-width: 360px; } }
@media (max-width: 760px) { .admin-workspace .security-editor { padding: 0; } .security-editor-body { padding: 19px 17px; gap: 20px; } .security-account-badge { display: none; } .security-new-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; } .security-current-field { max-width: none; } .security-editor-footer { flex-direction: column; align-items: stretch; padding: 17px; } .security-editor-footer .primary-button { width: 100%; } }
.admin-workspace.section-users { max-width: 1240px; }
.admin-workspace .users-editor { padding: 0; overflow: hidden; }
.users-editor .users-editor-heading { background: linear-gradient(110deg, #f0edff, #f8fbff); border-bottom-color: #e0dcf3; }
.users-editor .users-editor-heading > i { color: #7954bb; border-color: #ddd3f2; background: #ffffffb0; }
.users-editor-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: 26px; padding: 25px; }
.admin-workspace .users-create-form { max-width: none; min-width: 0; }
.users-group-title, .users-role-guide h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 0 0 18px; color: #3a5875; }
.users-group-title .ui-icon, .users-role-guide h3 .ui-icon { width: 17px; height: 17px; color: #7483ac; }
.users-create-form .form-row { gap: 16px; }
.users-create-form label { font-size: 12px; font-weight: 600; gap: 7px; margin-bottom: 17px; color: #38536f; }
.users-create-form label small { font-size: 10px; font-weight: 400; color: #74889c; line-height: 1.6; }
.users-create-form :is(input, select) { min-width: 0; padding: 11px 12px; font-size: 13px; font-weight: 400; background: #fbfdff; }
.users-create-form > label:last-child { margin-bottom: 0; }
.users-role-guide { min-width: 0; padding-left: 25px; border-left: 1px solid #e2eaf3; }
.users-role-option { display: flex; gap: 11px; align-items: flex-start; padding: 14px; border: 1px solid #d7e7f6; border-radius: 11px; background: #f2f8ff; margin-bottom: 12px; }
.users-role-option > i { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid #d3e5f6; border-radius: 9px; background: white; color: #2776b6; }
.users-role-option > i .ui-icon { width: 18px; height: 18px; }
.users-role-option strong { display: block; font-size: 12px; color: #3d6283; }
.users-role-option strong span { display: inline-block; margin-left: 5px; font-size: 10px; font-weight: 500; color: #6a8198; }
.users-role-option p { font-size: 11px; line-height: 1.7; color: #6b829b; margin: 5px 0 0; }
.role-admin-guide { background: #f5f1fc; border-color: #e4daf2; margin-bottom: 0; }
.role-admin-guide > i { color: #8056ba; border-color: #e3d8f2; }
.role-admin-guide strong { color: #715091; }
.users-editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 25px; border-top: 1px solid #e3ebf4; background: #fcfdff; }
.users-editor-footer p { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #6b839b; margin: 0; }
.users-editor-footer p .ui-icon { width: 16px; height: 16px; }
.users-editor-footer .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; width: auto; padding: 11px 21px; font-size: 12px; border-radius: 9px; background: linear-gradient(120deg, #087b60, #09966d); box-shadow: 0 4px 10px #087b601a; }
.users-editor-footer .primary-button .ui-icon { width: 18px; height: 18px; }
.users-list-panel h2 { display: flex; align-items: center; gap: 9px; font-size: 18px; }
.users-list-panel h2 > .ui-icon { color: #7d61b3; }
.users-list-panel table { table-layout: fixed; }
.users-list-panel th:first-child { width: 30%; }
.users-list-panel th:nth-child(2) { width: 20%; }
.users-list-panel th:nth-child(3) { width: 30%; }
.users-list-panel th:last-child { width: 20%; }
.users-list-panel :is(th, td) { vertical-align: middle; }
.users-table-account { display: flex; align-items: center; gap: 10px; min-width: 0; }
.users-table-account > i { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #eaf3fc; color: #4b86b7; border: 1px solid #dbe8f4; }
.users-table-account > i .ui-icon { width: 17px; height: 17px; }
.users-table-account strong { overflow-wrap: anywhere; font-size: 12px; }
.users-role-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid #d6e7f6; border-radius: 7px; background: #edf6ff; color: #2676b1; font-size: 11px; font-weight: 600; }
.users-role-badge.is-admin { background: #f3edfc; border-color: #e2d6f4; color: #7955b0; }
.users-role-badge .ui-icon { width: 13px; height: 13px; }
.users-current-account { display: inline-flex; align-items: center; gap: 5px; color: #168267; white-space: nowrap; font-size: 11px; }
.users-current-account .ui-icon { width: 14px; height: 14px; }
.users-action-cell button { padding: 7px 12px; min-height: 34px; border: 1px solid #f1d9df; border-radius: 7px; background: #fff5f6; color: #b73c4d; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.users-action-cell button:hover { background: #ffe9ed; }
.users-table-hint { display: none; }
@media (max-width: 1200px) { .users-editor-body { grid-template-columns: minmax(0, 1fr); gap: 21px; } .users-role-guide { padding: 20px 0 0; border-left: 0; border-top: 1px solid #e2eaf3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .users-role-guide h3 { grid-column: 1 / -1; margin-bottom: 0; } .users-role-option { margin: 0; } }
@media (max-width: 760px) { .admin-workspace .users-editor { padding: 0; } .users-editor-body { padding: 18px 17px; } .users-create-form .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; } .users-role-guide { grid-template-columns: minmax(0, 1fr); } .users-editor-footer { flex-direction: column; align-items: stretch; padding: 16px 17px; } .users-editor-footer .primary-button { width: 100%; } .users-list-panel table { min-width: 580px; } .users-list-panel .table-wrap { border: 1px solid #e1eaf4; border-radius: 9px; } .users-list-panel h2 { font-size: 16px; } .users-table-hint { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #74899f; margin: 0 0 11px; } .users-table-hint .ui-icon { width: 15px; height: 15px; } }
.admin-workspace.section-cards { max-width: 1320px; }
.admin-workspace .cards-editor { padding: 0; overflow: hidden; }
.cards-editor-heading { display: flex; align-items: center; gap: 13px; padding: 21px 25px; border-bottom: 1px solid #d5e7f5; background: linear-gradient(110deg, #eaf5ff, #f8fcff); }
.cards-editor-heading > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #cee3f5; background: #ffffffb3; color: #1778bd; }
.cards-editor-heading h2 { margin: 0; font-size: 18px; color: #173e66; }
.cards-editor-heading p { margin: 4px 0 0; font-size: 11px; color: #647f99; }
.cards-mode { margin-left: auto; white-space: nowrap; border: 1px solid #d0e4f5; border-radius: 20px; background: #fff; color: #527a9d; padding: 5px 11px; font-size: 10px; }
.admin-workspace .cards-editor-form { max-width: none; padding: 24px 25px 0; }
.cards-form-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, 1fr); gap: 25px; align-items: start; }
.cards-form-grid fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.cards-form-grid legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 19px; font-size: 13px; font-weight: 700; color: #315877; }
.cards-form-grid legend .ui-icon { width: 17px; height: 17px; color: #518bb7; }
.cards-editor-form label { font-size: 12px; font-weight: 600; color: #38536e; margin-bottom: 17px; gap: 7px; }
.cards-editor-form :is(input, textarea, select) { min-width: 0; padding: 10px 12px; font-size: 13px; font-weight: 400; background: #fbfdff; }
.cards-editor-form textarea { min-height: 92px; }
.cards-editor-form label small { font-size: 10px; line-height: 1.6; color: #71869b; font-weight: 400; }
.cards-main-fields > .form-row { gap: 15px; align-items: start; }
.cards-main-fields > .form-row label { display: flex; flex-direction: column; }
.cards-main-fields > .form-row label small { min-height: 32px; }
.cards-main-fields > .form-row select { margin-top: auto; }
.cards-side-fields { display: grid; gap: 22px; border-left: 1px solid #e0eaf3; padding-left: 25px; }
.cards-icon-preview { display: flex; align-items: center; gap: 15px; padding: 14px; margin-bottom: 16px; background: linear-gradient(120deg, #f0f7fe, #f6fcfa); border: 1px solid #dceaf3; border-radius: 12px; }
.cards-icon-preview img { width: 68px; height: 68px; object-fit: contain; flex-shrink: 0; padding: 5px; background: white; border: 1px solid #e1ebf3; border-radius: 15px; }
.cards-icon-preview strong { font-size: 11px; color: #3b6483; }
.cards-icon-preview p { font-size: 10px; line-height: 1.7; color: #6d849b; margin: 5px 0 0; }
.cards-editor-form input[type="file"] { max-width: 100%; padding: 7px; font-size: 10px; }
.cards-editor-form input[type="file"]::file-selector-button { font: inherit; border: 0; border-radius: 6px; background: #e3f0ff; color: #126eb6; padding: 7px 9px; margin-right: 7px; cursor: pointer; }
.cards-icon-fields label:last-child { margin-bottom: 0; }
.cards-publish-fields { border-top: 1px solid #e1ebf3 !important; padding-top: 17px !important; }
.cards-publish-fields legend { float: left; width: 100%; margin-bottom: 12px; }
.cards-publish-row { clear: both; display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: end; gap: 16px; }
.cards-publish-row label { margin: 0; }
.cards-publish-row .check-field { min-height: 43px; font-size: 12px; gap: 8px !important; }
.cards-publish-row input[type="checkbox"] { width: 17px; height: 17px; accent-color: #098368; }
.cards-publish-hint { margin: 10px 0 0; color: #738ba2; font-size: 10px; }
.cards-editor-actions { justify-content: space-between; align-items: center; border-top: 1px solid #e1ebf3; margin-top: 8px; padding: 18px 0; gap: 15px; }
.cards-editor-actions p { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #6c849d; margin: 0; }
.cards-editor-actions p .ui-icon { width: 17px; height: 17px; }
.cards-editor-actions > div { display: flex; align-items: center; gap: 10px; }
.cards-editor-actions .primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: auto; padding: 11px 21px; font-size: 12px; border-radius: 9px; background: linear-gradient(120deg, #087b60, #09966d); box-shadow: 0 4px 10px #087b601a; }
.cards-editor-actions .ghost-button { font-size: 12px; padding: 10px 16px; }
.cards-list-panel h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.cards-list-panel h2 > .ui-icon { color: #227fbf; }
.cards-total { font-size: 11px; padding: 3px 9px; border-radius: 7px; background: #eaf4ff; color: #1871b1; }
.cards-list-panel table { table-layout: fixed; }
.cards-table-hint { display: none; }
@media (max-width: 760px) { .cards-table-hint { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: #6e86a0; font-size: 10px; } .cards-table-hint .ui-icon { width: 15px; height: 15px; } }
.cards-list-panel th:first-child { width: 65px; }
.cards-list-panel th:nth-child(3) { width: 85px; }
.cards-list-panel th:last-child { width: 140px; }
.cards-list-panel :is(th, td) { vertical-align: middle; }
.cards-table-name { display: flex; align-items: center; gap: 11px; }
.cards-table-name > img { width: 37px; height: 37px; flex-shrink: 0; object-fit: contain; border: 1px solid #e2ebf4; border-radius: 9px; padding: 4px; background: #fff; }
.cards-table-name > div { min-width: 0; }
.cards-table-name strong { display: block; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.cards-table-name small { max-width: 100%; margin-top: 3px; font-size: 10px; color: #7890a6; }
.cards-row-actions { display: flex; align-items: center; gap: 7px; }
.cards-row-actions :is(a, button) { display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; min-height: 34px; border: 1px solid #d5e7f6; border-radius: 7px; background: #f1f8ff; color: #0969b1; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cards-row-actions button { color: #b73b46; background: #fff5f5; border-color: #f2dfe1; }
.cards-row-actions a:hover { background: #e0f0ff; }
.cards-row-actions button:hover { background: #ffe7e9; }
.cards-empty { padding: 36px !important; text-align: center; color: #7890a6; }
.cards-empty > .ui-icon { display: block; margin: 0 auto 10px; }
.cards-empty strong { display: block; }
.cards-empty p { font-size: 12px; margin: 5px 0 0; }
@media (max-width: 1100px) { .cards-form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } .cards-side-fields { padding: 20px 0 0; border-left: 0; border-top: 1px solid #e0eaf3; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; } .cards-publish-fields { border-top: 0 !important; border-left: 1px solid #e1ebf3 !important; padding: 0 0 0 22px !important; } }
@media (max-width: 760px) { .cards-editor-heading { padding: 17px; gap: 10px; } .cards-editor-heading h2 { font-size: 16px; } .cards-editor-heading p { font-size: 10px; } .cards-mode { display: none; } .admin-workspace .cards-editor { padding: 0; } .admin-workspace .cards-editor-form { padding: 18px 17px 0; } .cards-side-fields { grid-template-columns: minmax(0, 1fr); } .cards-main-fields > .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; } .cards-main-fields > .form-row label small { min-height: 0; } .cards-publish-fields { padding: 17px 0 0 !important; border-left: 0 !important; border-top: 1px solid #e1ebf3 !important; } .cards-editor-actions { flex-direction: column; align-items: stretch; margin-top: 20px; } .cards-editor-actions > div { justify-content: flex-end; } .cards-editor-actions .primary-button { flex: 1; } .cards-list-panel table { min-width: 650px; } .cards-list-panel .table-wrap { border: 1px solid #e2ecf5; border-radius: 9px; } .cards-list-panel h2 { font-size: 16px; } }
.settings-toolbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 21px; margin-bottom: 23px; border: 1px solid #cfe3f3; border-radius: 13px; background: #f5fbfffa; box-shadow: 0 4px 15px #17466d0a; }
.settings-toolbar > div { display: flex; align-items: center; gap: 13px; }
.settings-toolbar > div > .ui-icon { box-sizing: content-box; padding: 11px; border-radius: 12px; background: #e1f0ff; color: #126dc1; }
.settings-toolbar strong { font-size: 15px; color: #183b63; }
.settings-toolbar p { margin: 3px 0 0; font-size: 11px; color: #667f99; }
.settings-toolbar .primary-button, .settings-bottom-actions .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; flex-shrink: 0; padding: 11px 20px; border-radius: 9px; font-size: 12px; background: linear-gradient(120deg, #087b60, #08956a); box-shadow: 0 4px 9px #087b601a; }
.settings-toolbar .primary-button:hover, .settings-bottom-actions .primary-button:hover { filter: brightness(1.07); }
.settings-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 24px; }
.settings-navigation { position: sticky; top: 111px; padding: 16px 0; min-width: 0; }
.settings-nav-title { margin: 0 13px 13px; color: #7086a0; font-size: 11px; }
.settings-navigation nav { display: grid; gap: 7px; }
.settings-nav-link { display: flex; gap: 11px; align-items: center; padding: 12px; border: 1px solid transparent; border-radius: 11px; color: #67829d; }
.settings-nav-link strong, .settings-nav-link small { display: block; }
.settings-nav-link strong { font-weight: 600; font-size: 12px; color: #365575; }
.settings-nav-link small { margin-top: 3px; font-size: 10px; color: #70839a; }
.settings-nav-link.is-active, .settings-nav-link:hover { background: #fff; border-color: #d1e3f4; box-shadow: 0 3px 10px #153d6b08; color: #1476c1; }
.settings-nav-link.is-active strong { color: #086bb5; }
.settings-help { display: grid; gap: 8px; margin: 22px 5px 0; padding: 16px; background: #e7f1fa; border: 1px solid #d7e7f4; border-radius: 11px; color: #5980a1; }
.settings-help strong { color: #375d7d; font-size: 11px; }
.settings-help p { margin: 0; font-size: 11px; }
.settings-help [role="status"] { border-top: 1px solid #ccdeed; padding-top: 9px; font-size: 10px; color: #5b7490; }
.settings-help [role="status"].is-dirty { color: #93510e; font-weight: 600; }
.admin-workspace .settings-form { display: block; max-width: none; min-width: 0; }
.settings-card { --section-color: #1676bd; --section-tint: #eaf5ff; --section-border: #cee4f7; margin-bottom: 23px; border: 1px solid #d7e4f0; border-radius: 15px; background: white; box-shadow: 0 4px 15px #183b6310; overflow: hidden; scroll-margin-top: 114px; }
.settings-green { --section-color: #087e60; --section-tint: #eaf8f2; --section-border: #caeadd; }
.settings-orange { --section-color: #a96718; --section-tint: #fff7ea; --section-border: #f0dfc1; }
.settings-purple { --section-color: #7854b7; --section-tint: #f5f0ff; --section-border: #e2d6f4; }
.settings-teal { --section-color: #187c8b; --section-tint: #edf8fa; --section-border: #cce8ed; }
.settings-card-heading { display: flex; align-items: center; gap: 13px; padding: 20px 24px; border-bottom: 1px solid var(--section-border); background: linear-gradient(110deg, var(--section-tint), #fff); }
.settings-card-heading > i { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; border: 1px solid var(--section-border); border-radius: 12px; color: var(--section-color); background: #ffffffa6; }
.settings-card-heading h2 { font-size: 17px; margin: 0; color: #213e60; }
.settings-card-heading p { font-size: 11px; color: #637e98; margin: 4px 0 0; }
.settings-card-heading > span { margin-left: auto; font-size: 24px; font-weight: 700; color: var(--section-color); opacity: .25; }
.settings-card-body { padding: 24px; }
.settings-form label { gap: 7px; margin-bottom: 19px; font-weight: 600; color: #35516f; }
.settings-form label small { color: #71859b; font-size: 11px; font-weight: 400; line-height: 1.6; }
.settings-form .form-row { gap: 20px; }
.settings-form :is(input, textarea, select) { font-weight: 400; font-size: 13px; line-height: 1.65; background: #fbfdff; padding: 11px 13px; }
.settings-form textarea { min-height: 88px; }
.settings-form :is(input, textarea):focus { border-color: var(--section-color); background: white; box-shadow: 0 0 0 3px var(--section-tint); }
.settings-color-row input[type="color"] { height: 46px; width: 80px; cursor: pointer; padding: 5px; background: white; }
.settings-color-row label { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 12px 15px; border: 1px solid #dee9f4; border-radius: 10px; background: #f7fbff; }
.settings-form .site-image-grid { gap: 20px; margin-bottom: 16px; }
.settings-form .site-image-field { padding: 16px; gap: 14px; border: 1px solid #dae6f2; border-radius: 12px; background: #f7fbff; }
.settings-form .site-image-field img { height: 150px; box-shadow: none; border: 1px solid #e1eaf3; }
.settings-form .site-image-field img.settings-hero-preview { object-fit: cover; padding: 0; }
.settings-form input[type="file"] { padding: 7px; font-size: 11px; background: white; }
.settings-form input[type="file"]::file-selector-button { border: 0; border-radius: 6px; padding: 7px 11px; margin-right: 9px; background: #e6f1ff; color: #156bb0; font: inherit; cursor: pointer; }
.settings-inline-help { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 11px 13px; font-size: 11px; color: #68839e; border-radius: 8px; background: #f0f7fd; }
.settings-inline-help .ui-icon { width: 16px; height: 16px; }
.settings-form .form-hint { padding: 14px; margin: 0 0 20px; border: 1px solid #efdfc4; background: #fffaf2; color: #82663e; border-radius: 9px; font-size: 11px; overflow-wrap: anywhere; }
.settings-form .form-hint code { white-space: normal; }
.settings-form .settings-card-body > label:last-child, .settings-form .settings-card-body > .form-row:last-child label { margin-bottom: 0; }
.settings-bottom-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 4px 0 15px; }
.settings-bottom-actions p { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11px; color: #66809b; }
.settings-bottom-actions .ui-icon { width: 17px; height: 17px; }
@media (max-width: 1200px) { .settings-layout { grid-template-columns: 1fr; gap: 17px; } .settings-navigation { position: static; padding: 0; } .settings-navigation nav { display: flex; flex-wrap: wrap; gap: 7px; } .settings-nav-link { padding: 9px 11px; background: #e8f1f9; } .settings-nav-link small, .settings-nav-title, .settings-help { display: none; } .settings-nav-link .ui-icon { width: 17px; height: 17px; } }
@media (max-width: 760px) { .settings-toolbar { top: 0; padding: 12px; margin-bottom: 15px; gap: 12px; flex-wrap: wrap; } .settings-toolbar > div > .ui-icon { padding: 8px; } .settings-toolbar strong { font-size: 12px; } .settings-toolbar p { font-size: 10px; } .settings-toolbar .primary-button { width: 100%; padding: 9px; } .settings-navigation nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; } .settings-nav-link { flex-shrink: 0; } .settings-card { scroll-margin-top: 160px; border-radius: 12px; margin-bottom: 16px; } .settings-card-heading { padding: 16px; gap: 10px; } .settings-card-heading h2 { font-size: 14px; } .settings-card-heading p { font-size: 10px; } .settings-card-heading > span { display: none; } .settings-card-heading > i { width: 36px; height: 36px; } .settings-card-body { padding: 17px; } .settings-form .form-row, .settings-form .site-image-grid { gap: 0; } .settings-form .site-image-grid { gap: 15px; } .settings-form input[type="file"] { max-width: 100%; } .settings-bottom-actions { flex-direction: column; align-items: stretch; } .settings-bottom-actions .primary-button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .admin-body *, .admin-body *::before, .admin-body *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Login: the portal's blue-to-green brand gradient with the admin accent colours. */
.login-shell { background: radial-gradient(circle at 12% 18%, #2a8fe033, transparent 34%), radial-gradient(circle at 88% 12%, #22ad8333, transparent 32%), radial-gradient(circle at 78% 92%, #8a60ce24, transparent 36%), radial-gradient(circle at 20% 88%, #d9861622, transparent 30%), linear-gradient(135deg, #eef6ff 0%, #f3f9f7 52%, #f7f4ff 100%); }
.login-shell::after { inset: 9% auto auto 7%; border: 0; background: linear-gradient(135deg, #2a8fe055, #22ad8340); box-shadow: 64px 46px 0 -38px #8a60ce40; opacity: .7; }
.login-shell::before { opacity: .05; }
.login-card { width: min(880px, 100%); grid-template-columns: minmax(270px, .9fr) minmax(340px, 1.1fr); border: 0; border-radius: 20px; box-shadow: 0 24px 60px #0c448629, 0 2px 6px #0c448614; }
.login-visual { min-height: 440px; padding: 30px; background: radial-gradient(circle at 85% 8%, #2a9be280, transparent 42%), radial-gradient(circle at 8% 100%, #22ad8370, transparent 46%), linear-gradient(155deg, #0c4486 0%, var(--blue, #075fba) 52%, #087b60 100%); }
.login-visual::before { background: #ffffff14; border: 1px solid #ffffff22; }
.login-visual img { width: 64px; height: 64px; box-shadow: 0 0 0 6px #ffffff2b, 0 16px 30px #0a2b5240; }
.login-visual span { display: inline-flex; width: max-content; padding: 3px 10px; border-radius: 999px; background: #ffffff1f; color: #e3f1ff; font-size: 11px; letter-spacing: .6px; }
.login-visual h2 { font-size: clamp(24px, 2.3vw, 31px); }
.login-visual p { margin: 8px 0 16px; color: #ffffffd6; font-size: 13px; line-height: 1.6; }
.login-features { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; }
.login-features li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px; background: #ffffff1c; border: 1px solid #ffffff2e; color: #fff; font-size: 12px; font-weight: 600; }
.login-features .ui-icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; }
.login-features .feature-blue .ui-icon { background: #2a9be2; }
.login-features .feature-green .ui-icon { background: #22ad83; }
.login-features .feature-purple .ui-icon { background: #8a60ce; }
.login-visual a { gap: 6px; padding: 0 16px 0 10px; font-size: 13px; }
.login-visual a .ui-icon { width: 17px; height: 17px; }
.login-form { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 40px 42px; }
.login-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--blue, #075fba), #22ad83 55%, #8a60ce); }
.login-card .login-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; background: linear-gradient(120deg, #eaf5ff, #e9f8f1); border: 1px solid #c8e2fa; color: #0c4486; font-size: 12px; }
.login-kicker .ui-icon { width: 17px; height: 17px; color: #087b60; }
.login-card h1 { margin-bottom: 6px; font-size: 26px; background: linear-gradient(110deg, #0c2f5f, var(--blue, #075fba)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-card .login-lead { margin: 0 0 22px; color: #5e738b; font-size: 13px; }
.login-card label { margin-bottom: 16px; color: #1b3a5e; font-size: 13px; }
.login-field { position: relative; display: block; }
.login-field .ui-icon { position: absolute; left: 13px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: #7d94ad; pointer-events: none; transition: color 160ms ease; }
.login-field input { width: 100%; min-height: 48px; padding-left: 42px; border: 1.5px solid #d5e2ef; border-radius: 11px; background: #f7fbff; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.login-field input:hover { border-color: #b5cde5; }
.login-field input:focus { outline: none; border-color: var(--blue, #075fba); background: #fff; box-shadow: 0 0 0 4px #2a8fe024; }
.login-field:focus-within .ui-icon { color: var(--blue, #075fba); }
.admin-body .login-field input:focus-visible { outline: none; }
.login-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; margin-top: 6px; border-radius: 11px; background: linear-gradient(115deg, var(--blue, #075fba) 0%, #0b7fc4 45%, #087b60 100%); background-size: 160% 100%; box-shadow: 0 12px 24px #075fba33; font-size: 15px; transition: background-position 300ms ease, transform 160ms ease, box-shadow 160ms ease; }
.login-submit .ui-icon { width: 19px; height: 19px; transition: transform 160ms ease; }
.login-submit:hover { background: linear-gradient(115deg, var(--blue, #075fba) 0%, #0b7fc4 45%, #087b60 100%); background-size: 160% 100%; background-position: 100% 0; box-shadow: 0 16px 30px #087b6033; }
.login-submit:hover .ui-icon { transform: translateX(3px); }
.login-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 0 !important; color: #7d8fa3 !important; font-size: 12px; }
.login-note .ui-icon { width: 14px; height: 14px; color: #22ad83; }
.login-card .alert.error { border-radius: 10px; }
@media (max-width: 720px) { .login-card { grid-template-columns: minmax(0, 1fr); border-radius: 16px; } .login-visual { min-height: 0; padding: 24px 22px; } .login-visual img { margin-bottom: 18px; } .login-features { margin-bottom: 18px; } .login-form { padding: 30px 22px 24px; } .login-card h1 { font-size: 23px; } }
