* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
--bg: #f1f0ea;
--bg-1: #fbfaf6;
--bg-2: #efeee8;
--bg-3: #e7e5de;
--line: rgba(32, 36, 38, .12);
--line-2: rgba(32, 36, 38, .22);
--ink: #23282a;
--ink-2: #5f686c;
--ink-3: #8b9297;
--ac: #1a917c;
--ac-dim: rgba(26,145,124,.12);
--ac-line: rgba(26,145,124,.42);
--warn: #a4761d;
--danger: #b8453c;
--ok: #2b8a5a;
--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--radius: 2px;
--sidebar-width: 248px;
--drawer-width: 78vw;
--drawer-max-width: 300px;
}
html, body { height: 100%; }
body {
min-height: 100vh;
font-family: 'Inter', -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
background: var(--bg);
color: var(--ink);
overflow: hidden;
-webkit-font-smoothing: antialiased;
font-size: 14px;
}
::selection { background: rgba(26,145,124,.18); color: #16302b; }
.app { display: flex; width: 100%; height: 100vh; height: 100dvh; }
.sidebar {
width: var(--sidebar-width);
flex-shrink: 0;
height: 100%;
background: #eae9e3;
border-right: 1px solid var(--line);
display: flex;
flex-direction: column;
position: relative;
z-index: 10;
overflow: hidden;
}
.sidebar::after {
content: '';
position: absolute;
top: 0; right: 0;
width: 1px; height: 100%;
background: linear-gradient(180deg, transparent 0%, var(--ac-line) 45%, transparent 100%);
opacity: .5;
pointer-events: none;
}
.sidebar-top {
padding: 20px 18px 16px;
display: flex;
flex-direction: column;
gap: 16px;
flex-shrink: 0;
border-bottom: 1px solid var(--line);
}
.sidebar-brand { display: flex; align-items: center; gap: 11px; }
.sidebar-brand .brand-icon {
width: 36px; height: 36px;
border: 1px solid var(--ac-line);
border-radius: var(--radius);
background: #f3f2ec;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0; overflow: hidden;
}
.sidebar-brand .brand-icon img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.92); }
.sidebar-brand .brand-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sidebar-brand .brand-text h1 {
font-size: 14px; font-weight: 600;
letter-spacing: .06em; line-height: 1.2;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-brand .brand-text .badge {
font-family: var(--mono);
font-size: 9.5px; font-weight: 500;
letter-spacing: .2em;
color: var(--ac);
opacity: .75;
}
.sidebar-time {
font-family: var(--mono);
font-size: 11px;
letter-spacing: .05em;
color: var(--ink-3);
padding: 6px 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
font-variant-numeric: tabular-nums;
white-space: nowrap;
text-align: center;
background: rgba(32,36,38,.015);
}
.sidebar-nav {
flex: 1;
padding: 8px 0 10px;
display: flex; flex-direction: column;
overflow-y: auto;
counter-reset: navn;
}
.sidebar-nav .nav-group-label {
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .24em;
color: var(--ink-3);
padding: 16px 14px 8px;
display: flex; align-items: center; gap: 8px;
user-select: none;
text-transform: uppercase;
}
.sidebar-nav .nav-group-label::after {
content: '';
flex: 1;
height: 1px;
background: var(--line);
}
.sidebar-nav .nav-item {
counter-increment: navn;
display: flex; align-items: center; gap: 10px;
padding: 11px 14px;
background: transparent;
border: none;
border-left: 2px solid transparent;
font-size: 13px; font-weight: 500;
letter-spacing: .04em;
color: var(--ink-2);
cursor: pointer;
font-family: inherit;
text-align: left; width: 100%;
transition: background .14s ease, color .14s ease, border-color .14s ease;
-webkit-tap-highlight-color: transparent;
text-decoration: none;
}
.sidebar-nav .nav-item::before {
content: '0' counter(navn);
font-family: var(--mono);
font-size: 9.5px;
color: var(--ink-3);
opacity: .7;
letter-spacing: .05em;
}
.sidebar-nav .nav-item i {
width: 16px; font-size: 12.5px;
color: var(--ink-3);
text-align: center;
transition: color .14s ease;
}
.sidebar-nav .nav-item:hover {
background: rgba(32,36,38,.03);
color: var(--ink);
}
.sidebar-nav .nav-item:hover i { color: var(--ac); }
.sidebar-nav .nav-item.active {
color: var(--ink);
font-weight: 600;
border-left-color: var(--ac);
background: linear-gradient(90deg, var(--ac-dim) 0%, rgba(26,145,124,.02) 70%, transparent 100%);
}
.sidebar-nav .nav-item.active i { color: var(--ac); }
.sidebar-nav .nav-item.active::before { color: var(--ac); opacity: .9; }
.sidebar-bottom {
padding: 14px 14px 18px;
border-top: 1px solid var(--line);
flex-shrink: 0;
}
.sidebar-card {
border: 1px dashed var(--line-2);
border-radius: var(--radius);
padding: 12px 13px;
font-size: 11px;
color: var(--ink-3);
line-height: 1.75;
letter-spacing: .02em;
}
.sidebar-card .card-title {
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .2em;
color: var(--ac);
margin-bottom: 8px;
display: flex; align-items: center; gap: 7px;
font-weight: 500;
}
.sidebar-card .card-title i { font-size: 10px; }
.main-content {
flex: 1;
height: 100%;
overflow-y: auto;
padding: 30px 34px 56px;
display: flex; flex-direction: column; gap: 18px;
position: relative;
background-color: var(--bg);
background-image: radial-gradient(rgba(32,36,38,.055) 1px, transparent 1px);
background-size: 22px 22px;
background-position: 0 0;
scrollbar-width: thin;
scrollbar-color: rgba(32,36,38,.18) transparent;
}
.main-content::-webkit-scrollbar { width: 8px; }
.main-content::-webkit-scrollbar-thumb { background: rgba(32,36,38,.16); border-radius: 0; }
.main-content::-webkit-scrollbar-track { background: transparent; }
.panel { display: none; flex-direction: column; gap: 18px; }
.panel.active { display: flex; animation: panelIn .38s cubic-bezier(.22,1,.36,1); }
@keyframes panelIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.pg-lr .panel::before { content: 'MODULE 01  /  ARCHIVE ENTRY'; }
.pg-cx .panel::before { content: 'MODULE 02  /  ARCHIVE QUERY'; }
.panel::before {
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .26em;
color: var(--ac);
opacity: .8;
display: block;
padding-bottom: 2px;
}
.card {
background: var(--bg-1);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 26px 28px;
position: relative;
}
.card::after {
content: '';
position: absolute;
top: -1px; right: -1px;
width: 20px; height: 20px;
border-top: 1px solid var(--ac-line);
border-right: 1px solid var(--ac-line);
opacity: .8;
pointer-events: none;
}
.card-title {
font-size: 15px;
font-weight: 600;
letter-spacing: .06em;
margin-bottom: 6px;
color: var(--ink);
display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.card-title i { color: var(--ac); font-size: 13px; }
.card-subtitle {
font-size: 12px;
color: var(--ink-3);
letter-spacing: .02em;
margin-bottom: 24px;
}
.card-title .count-badge {
margin-left: auto;
font-family: var(--mono);
font-size: 10.5px;
letter-spacing: .1em;
color: var(--ink-2);
border: 1px solid var(--line);
padding: 3px 10px;
border-radius: var(--radius);
}
.form-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
font-family: var(--mono);
font-size: 10px;
letter-spacing: .08em;
color: var(--ink-3);
text-transform: uppercase;
}
.field .required::after { content: ' *'; color: var(--ac); }
.field input,
.field-textarea,
.career-textarea {
width: 100%;
padding: 11px 13px;
background: #ffffff;
border: 1px solid var(--line);
border-radius: var(--radius);
color: var(--ink);
font-size: 13.5px;
font-family: inherit;
outline: none;
transition: border-color .14s ease, box-shadow .14s ease;
}
.field input::placeholder,
.field-textarea::placeholder,
.career-textarea::placeholder { color: var(--ink-3); }
.field input:focus,
.field-textarea:focus,
.career-textarea:focus {
border-color: var(--ac-line);
box-shadow: 0 0 0 1px rgba(26,145,124,.16), 0 0 20px -8px rgba(26,145,124,.55);
}
.field-full { grid-column: 1 / -1; }
.field-textarea { min-height: 78px; line-height: 1.65; resize: vertical; }
.field select {
-webkit-appearance: none; appearance: none;
padding: 11px 38px 11px 13px;
border: 1px solid var(--line);
border-radius: var(--radius);
background-color: #ffffff;
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%236d777c' stroke-width='1.4' d='M3 4.6L6 7.4L9 4.6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 13px center;
color: var(--ink);
font-size: 13.5px;
font-family: inherit;
outline: none;
width: 100%;
cursor: pointer;
}
.field select:focus { border-color: var(--ac-line); }
.field select:disabled { opacity: .45; cursor: not-allowed; }
.field select option { background: #f3f2ec; color: var(--ink); }
.custom-select { position: relative; width: 100%; }
.custom-select .cs-trigger {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
padding: 11px 13px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #ffffff;
color: var(--ink);
font-size: 13.5px;
cursor: pointer;
user-select: none;
min-height: 43px;
transition: border-color .14s ease, box-shadow .14s ease;
}
.custom-select .cs-trigger:hover { border-color: var(--line-2); }
.custom-select.open .cs-trigger,
.custom-select .cs-trigger:focus {
border-color: var(--ac-line);
box-shadow: 0 0 0 1px rgba(26,145,124,.16);
outline: none;
}
.custom-select.disabled .cs-trigger { opacity: .45; cursor: not-allowed; }
.custom-select .cs-value { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.custom-select .cs-value.placeholder { color: var(--ink-3); }
.custom-select .cs-arrow { width: 11px; height: 11px; flex-shrink: 0; color: var(--ink-3); transition: transform .18s ease; }
.custom-select.open .cs-arrow { transform: rotate(180deg); color: var(--ac); }
.custom-select .cs-panel {
position: absolute;
top: calc(100% + 4px);
left: 0; right: 0;
background: #f7f6f1;
border: 1px solid var(--line-2);
border-radius: var(--radius);
box-shadow: 0 18px 40px rgba(40,44,46,.10);
padding: 4px;
max-height: 260px;
overflow-y: auto;
z-index: 200;
display: none;
}
.custom-select.open .cs-panel { display: block; }
.custom-select.drop-up .cs-panel { top: auto; bottom: calc(100% + 4px); }
.custom-select .cs-option {
padding: 9px 11px;
font-size: 13px;
color: var(--ink-2);
cursor: pointer;
display: flex; align-items: center; justify-content: space-between; gap: 8px;
border-left: 2px solid transparent;
transition: background .12s ease, color .12s ease;
}
.custom-select .cs-option:hover { background: rgba(32,36,38,.04); color: var(--ink); }
.custom-select .cs-option.selected {
background: var(--ac-dim);
border-left-color: var(--ac);
color: var(--ac);
}
.custom-select .cs-option.selected::after { content: '✓'; font-size: 11px; }
.custom-select .cs-panel::-webkit-scrollbar { width: 6px; }
.custom-select .cs-panel::-webkit-scrollbar-thumb { background: rgba(32,36,38,.18); }
.multi-select { position: relative; width: 100%; }
.multi-select .ms-trigger {
display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
padding: 8px 34px 8px 11px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #ffffff;
min-height: 43px;
cursor: pointer;
user-select: none;
transition: border-color .14s ease;
}
.multi-select .ms-trigger:hover { border-color: var(--line-2); }
.multi-select.open .ms-trigger,
.multi-select .ms-trigger:focus { border-color: var(--ac-line); outline: none; }
.multi-select .ms-placeholder { color: var(--ink-3); font-size: 13.5px; }
.multi-select .ms-tag {
display: inline-flex; align-items: center; gap: 5px;
padding: 2px 7px 2px 9px;
border: 1px solid var(--ac-line);
background: var(--ac-dim);
border-radius: var(--radius);
font-size: 12px;
color: var(--ac);
font-weight: 500;
}
.multi-select .ms-tag .ms-x { cursor: pointer; font-size: 12px; line-height: 1; opacity: .7; }
.multi-select .ms-tag .ms-x:hover { opacity: 1; }
.multi-select .ms-arrow {
position: absolute; right: 13px; top: 50%;
transform: translateY(-50%);
width: 11px; height: 11px;
pointer-events: none;
color: var(--ink-3);
transition: transform .18s ease;
}
.multi-select.open .ms-arrow { transform: translateY(-50%) rotate(180deg); color: var(--ac); }
.multi-select .ms-panel {
position: absolute;
top: calc(100% + 4px);
left: 0; right: 0;
background: #f7f6f1;
border: 1px solid var(--line-2);
border-radius: var(--radius);
box-shadow: 0 18px 40px rgba(40,44,46,.10);
padding: 4px;
max-height: 260px;
overflow-y: auto;
z-index: 200;
display: none;
}
.multi-select.open .ms-panel { display: block; }
.multi-select .ms-option {
padding: 9px 11px;
font-size: 13px;
color: var(--ink-2);
cursor: pointer;
display: flex; align-items: center; gap: 10px;
border-left: 2px solid transparent;
transition: background .12s ease;
}
.multi-select .ms-option:hover { background: rgba(32,36,38,.04); color: var(--ink); }
.multi-select .ms-option.selected { background: var(--ac-dim); border-left-color: var(--ac); color: var(--ac); font-weight: 500; }
.multi-select .ms-check {
width: 14px; height: 14px;
border: 1px solid var(--line-2);
border-radius: 1px;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
font-size: 9px;
color: var(--bg);
}
.multi-select .ms-option.selected .ms-check { background: var(--ac); border-color: var(--ac); }
.multi-select .ms-option.selected .ms-check::after { content: '✓'; }
.input-with-suffix {
display: flex; align-items: stretch;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #ffffff;
overflow: hidden;
transition: border-color .14s ease, box-shadow .14s ease;
}
.input-with-suffix:focus-within {
border-color: var(--ac-line);
box-shadow: 0 0 0 1px rgba(26,145,124,.16);
}
.input-with-suffix input {
flex: 1;
border: none !important;
border-radius: 0 !important;
background: transparent !important;
padding: 11px 13px;
font-size: 13.5px;
color: var(--ink);
outline: none;
font-family: inherit;
min-width: 0;
box-shadow: none !important;
}
.input-with-suffix .input-suffix {
display: flex; align-items: center;
padding: 0 12px;
font-size: 12.5px;
color: var(--ink-3);
background: transparent;
border-left: 1px solid var(--line);
user-select: none;
}
.btn {
padding: 10px 22px;
background: var(--ac);
color: #ffffff;
border: 1px solid var(--ac);
border-radius: var(--radius);
cursor: pointer;
font-size: 12.5px;
font-weight: 600;
letter-spacing: .1em;
font-family: inherit;
transition: filter .14s ease, background .14s ease, color .14s ease;
clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.btn:hover:not(:disabled) { filter: brightness(1.12); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { padding: 5px 12px; font-size: 11px; letter-spacing: .06em; }
.btn-ghost {
background: transparent;
color: var(--ink-2);
border: 1px solid var(--line-2);
}
.btn-ghost:hover:not(:disabled) { color: var(--ac); border-color: var(--ac-line); background: var(--ac-dim); filter: none; }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid rgba(184,69,60,.45); }
.btn-danger:hover:not(:disabled) { background: rgba(184,69,60,.14); border-color: var(--danger); filter: none; }
.search-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.search-row .field { flex: 1; min-width: 190px; }
.filter-bar {
display: flex; gap: 16px; flex-wrap: wrap;
align-items: flex-start;
padding: 16px 18px;
margin-bottom: 16px;
background: var(--bg-1);
border: 1px solid var(--line);
border-radius: var(--radius);
}
.filter-bar .field { min-width: 170px; flex: 1; max-width: 230px; }
.filter-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-tag {
display: inline-flex; align-items: center; gap: 6px;
padding: 3px 11px;
border: 1px solid var(--ac-line);
background: var(--ac-dim);
border-radius: var(--radius);
font-size: 11.5px;
color: var(--ac);
font-family: var(--mono);
letter-spacing: .04em;
}
.filter-tag .close { cursor: pointer; font-size: 12px; line-height: 1; opacity: .65; }
.filter-tag .close:hover { opacity: 1; }
.nav-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.nav-tab {
padding: 8px 16px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--bg-1);
color: var(--ink-3);
font-size: 12px;
letter-spacing: .06em;
font-family: inherit;
cursor: pointer;
display: inline-flex; align-items: center; gap: 7px;
transition: all .14s ease;
}
.nav-tab i { font-size: 12px; opacity: .7; }
.nav-tab:hover { border-color: var(--line-2); color: var(--ink-2); }
.nav-tab.active { background: var(--ac-dim); border-color: var(--ac-line); color: var(--ac); font-weight: 600; }
.nav-tab.active i { color: var(--ac); opacity: 1; }
.admin-view { display: none; flex-direction: column; gap: 18px; }
.admin-view.active { display: flex; animation: panelIn .3s cubic-bezier(.22,1,.36,1); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th, td { padding: 11px 15px; text-align: left; white-space: nowrap; }
th {
background: var(--bg-2);
color: var(--ink-3);
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .16em;
text-transform: uppercase;
font-weight: 500;
border-bottom: 1px solid var(--line);
position: sticky; top: 0;
}
tbody tr { border-bottom: 1px solid var(--line); transition: background .14s; }
tbody tr:hover { background: rgba(26,145,124,.045); }
tbody tr.clickable-row { cursor: pointer; }
td { color: var(--ink-2); }
td:first-child { font-family: var(--mono); color: var(--ac); font-size: 11.5px; }
td strong { color: var(--ink); font-weight: 600; }
.result-list { display: flex; flex-direction: column; gap: 14px; }
.result-card {
background: var(--bg-1);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 20px 22px;
display: flex; flex-direction: column; gap: 4px;
position: relative;
transition: border-color .16s ease;
}
.result-card::before {
content: '';
position: absolute;
left: 0; top: 0; bottom: 0;
width: 2px;
background: var(--ac);
opacity: .28;
transition: opacity .16s ease;
}
.result-card:hover { border-color: var(--line-2); }
.result-card:hover::before { opacity: .9; }
.result-card .rc-header {
display: flex; align-items: center; gap: 14px;
padding-bottom: 14px;
border-bottom: 1px solid var(--line);
flex-wrap: wrap;
}
.result-card .rc-header .rc-info { flex: 1; min-width: 0; }
.result-card .rc-header .rc-name {
font-size: 18px; font-weight: 700;
letter-spacing: .06em;
display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.result-card .rc-header .rc-name .rc-tag {
font-family: var(--mono);
font-size: 10px; font-weight: 500;
letter-spacing: .12em;
padding: 2px 9px;
border: 1px solid var(--ac-line);
border-radius: var(--radius);
color: var(--ac);
}
.result-card .rc-header .rc-meta {
font-family: var(--mono);
font-size: 10.5px;
letter-spacing: .04em;
color: var(--ink-3);
margin-top: 6px;
display: flex; gap: 16px; flex-wrap: wrap;
}
.result-card .rc-header .rc-meta span i { margin-right: 5px; color: var(--ink-3); }
.result-card .rc-actions { display: flex; gap: 8px; }
.result-card .rc-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
gap: 12px 20px;
}
.result-card .rc-item { display: flex; flex-direction: column; gap: 4px; }
.result-card .rc-item .rc-label {
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .16em;
color: var(--ink-3);
text-transform: uppercase;
}
.result-card .rc-item .rc-value { font-size: 13.5px; color: var(--ink); word-break: break-all; line-height: 1.55; }
.result-card .rc-item .rc-value.empty { color: var(--ink-3); }
.result-card .rc-footer {
display: flex; gap: 18px; flex-wrap: wrap;
padding-top: 12px; margin-top: 4px;
border-top: 1px solid var(--line);
font-family: var(--mono);
font-size: 10.5px;
color: var(--ink-3);
}
.result-card .rc-footer span i { margin-right: 5px; }
.rc-section { padding: 13px 0; border-top: 1px solid var(--line); }
.rc-section:first-of-type { border-top: none; padding-top: 0; }
.rc-section-title {
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .2em;
color: var(--ink-3);
margin-bottom: 12px;
display: flex; align-items: center; gap: 8px;
}
.rc-section-title i { color: var(--ac); font-size: 10px; }
.rc-section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.rc-career-text,
.rc-long-value {
font-size: 13px; line-height: 1.72;
white-space: pre-wrap; word-break: break-word;
padding: 10px 13px;
background: rgba(32,36,38,.02);
border-left: 2px solid var(--ac-line);
border-radius: var(--radius);
color: var(--ink-2);
min-height: 38px;
}
.rc-long { display: flex; flex-direction: column; gap: 6px; }
.rc-long-label {
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .16em;
color: var(--ink-3);
display: flex; align-items: center; gap: 6px;
}
.rc-long-label i { color: var(--ac); font-size: 10px; }
.rc-long-value.empty, .rc-career-text.empty { color: var(--ink-3); border-left-color: var(--line-2); }
.rc-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .rc-two-col { grid-template-columns: 1fr; } }
.chart-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.chart-box {
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 18px 20px;
background: var(--bg-1);
height: 420px;
position: relative;
}
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card {
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 16px 18px;
background: var(--bg-1);
position: relative;
}
.stat-card::before {
content: '';
position: absolute; top: -1px; left: -1px;
width: 14px; height: 14px;
border-top: 1px solid var(--ac-line);
border-left: 1px solid var(--ac-line);
}
.stat-card .label {
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .18em;
color: var(--ink-3);
text-transform: uppercase;
}
.stat-card .value {
font-family: var(--mono);
font-size: 27px; font-weight: 600;
color: var(--ac);
margin-top: 6px;
letter-spacing: -.5px;
}
.modal-mask {
position: fixed; inset: 0;
background: rgba(241, 240, 234, .72);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
display: none;
align-items: center; justify-content: center;
z-index: 100;
padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-mask.show .modal { animation: modalIn .26s cubic-bezier(.22,1,.36,1); }
@keyframes modalIn {
from { opacity: 0; transform: translateY(14px); }
to { opacity: 1; transform: translateY(0); }
}
.modal {
background: var(--bg-1);
border: 1px solid var(--line-2);
border-radius: var(--radius);
padding: 26px 28px;
width: 100%; max-width: 800px;
max-height: 90vh; overflow: auto;
box-shadow: 0 30px 80px rgba(40,44,46,.14);
position: relative;
}
.modal::before {
content: '';
position: absolute; top: 0; left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, var(--ac), rgba(26,145,124,.1));
}
.admin-modal { max-width: 440px; }
.toast {
position: fixed; top: 22px; left: 50%;
transform: translateX(-50%) translateY(-16px);
background: #f7f6f1;
border: 1px solid var(--line-2);
border-left: 2px solid var(--ac);
color: var(--ink);
padding: 11px 22px;
border-radius: var(--radius);
font-size: 12.5px;
letter-spacing: .05em;
z-index: 999;
opacity: 0; pointer-events: none;
transition: all .22s ease;
max-width: 90vw;
box-shadow: 0 14px 40px rgba(40,44,46,.12);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-left-color: var(--ok); }
.toast.error { border-left-color: var(--danger); }
.empty { text-align: center; color: var(--ink-3); padding: 46px 20px; font-size: 13px; letter-spacing: .04em; }
.empty i { font-size: 30px; opacity: .35; display: block; margin-bottom: 12px; color: var(--ac); }
.loading {
display: inline-block; width: 11px; height: 11px;
border: 1.5px solid rgba(32,36,38,.25);
border-top-color: var(--ac);
border-radius: 50%;
animation: spin .6s linear infinite;
margin-right: 6px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mobile-menu-btn {
display: none;
position: fixed; top: 14px; left: 14px;
z-index: 500;
width: 42px; height: 42px;
border-radius: var(--radius);
border: 1px solid var(--ac-line);
background: #f7f6f1;
color: var(--ac);
font-size: 16px;
cursor: pointer;
align-items: center; justify-content: center;
font-family: inherit;
}
.mobile-menu-btn:active { transform: scale(.94); }
.career-section {
margin-top: 22px;
border: 1px dashed var(--line-2);
border-radius: var(--radius);
padding: 16px;
background: rgba(32,36,38,.015);
}
.career-section .career-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.career-section .career-title {
font-family: var(--mono);
font-size: 10px;
letter-spacing: .2em;
color: var(--ink-2);
display: flex; align-items: center; gap: 8px;
}
.career-section .career-title i { color: var(--ac); }
.career-textarea { min-height: 108px; line-height: 1.7; resize: vertical; }
.history-list { display: flex; flex-direction: column; gap: 7px; }
.history-item {
display: flex; align-items: center; gap: 14px;
padding: 11px 15px;
background: var(--bg-1);
border: 1px solid var(--line);
border-left: 2px solid transparent;
border-radius: var(--radius);
cursor: pointer;
font-size: 13px;
transition: border-color .14s ease, background .14s ease;
}
.history-item:hover { border-color: var(--line-2); border-left-color: var(--ac); background: rgba(26,145,124,.04); }
.history-item .hi-name { font-weight: 600; color: var(--ink); min-width: 56px; letter-spacing: .04em; }
.history-item .hi-qq { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.history-item .hi-time { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.history-item .hi-del {
width: 24px; height: 24px;
border: 1px solid transparent;
border-radius: var(--radius);
background: transparent;
color: var(--ink-3);
cursor: pointer;
display: flex; align-items: center; justify-content: center;
font-size: 10px; flex-shrink: 0;
opacity: 0;
transition: opacity .14s ease, color .14s ease, border-color .14s ease;
}
.history-item:hover .hi-del { opacity: 1; }
.history-item .hi-del:hover { color: var(--danger); border-color: rgba(184,69,60,.4); }
.field-hint { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--ink-3); margin-top: 2px; line-height: 1.7; }
.field-hint.warn { color: var(--warn); }
.field-hint.ok { color: var(--ok); }
.dup-warning {
display: flex; gap: 10px; align-items: flex-start;
margin-bottom: 16px; padding: 12px 14px;
border: 1px solid rgba(164,118,29,.4);
border-left: 2px solid var(--warn);
background: rgba(164,118,29,.07);
border-radius: var(--radius);
color: var(--warn); font-size: 12px; line-height: 1.8;
}
.dup-warning > i { color: var(--warn); margin-top: 3px; font-size: 12px; }
.dup-warning strong { font-family: var(--mono); font-size: 13px; }
#authView {
display: flex; align-items: center; justify-content: center;
height: 100vh; width: 100vw;
background-color: var(--bg);
background-image:
radial-gradient(circle at 50% 38%, rgba(26,145,124,.10) 0%, transparent 55%),
radial-gradient(rgba(32,36,38,.03) 1px, transparent 1px);
background-size: 100% 100%, 22px 22px;
}
.login-box {
background: var(--bg-1);
border: 1px solid var(--line-2);
border-radius: var(--radius);
padding: 38px 36px;
width: 366px;
text-align: center;
position: relative;
box-shadow: 0 30px 80px rgba(40,44,46,.12);
}
.login-box::before {
content: '';
position: absolute; top: 0; left: 0; right: 0; height: 2px;
background: linear-gradient(90deg, var(--ac), rgba(26,145,124,.05));
}
.login-box h2 {
font-size: 17px; letter-spacing: .1em; margin-bottom: 8px;
display: flex; align-items: center; justify-content: center; gap: 9px;
}
.login-box h2 i { color: var(--ac); font-size: 14px; }
.login-box p { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 22px; }
.login-box input {
width: 100%; padding: 13px;
background: #ffffff;
border: 1px solid var(--line);
border-radius: var(--radius);
color: var(--ink);
font-size: 14px;
font-family: var(--mono);
letter-spacing: .2em;
text-align: center;
outline: none;
margin-bottom: 16px;
}
.login-box input:focus { border-color: var(--ac-line); box-shadow: 0 0 0 1px rgba(26,145,124,.16); }
.login-box .btn { width: 100%; padding: 13px; font-size: 13px; }
.login-box .tip { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-3); margin-top: 16px; line-height: 2; }
.view { display: none; }
.view.active { display: flex; flex-direction: column; gap: 18px; animation: panelIn .3s ease; }
.sidebar-header {
padding: 20px 18px;
border-bottom: 1px solid var(--line);
font-size: 13px; font-weight: 600;
letter-spacing: .1em;
color: var(--ink);
display: flex; align-items: center; gap: 10px;
}
.sidebar-header i { color: var(--ac); font-size: 12px; }
.confirm-box {
background: rgba(184,69,60,.07);
border: 1px solid rgba(184,69,60,.28);
border-left: 2px solid var(--danger);
border-radius: var(--radius);
padding: 13px 15px;
font-size: 12.5px;
line-height: 1.9;
color: var(--ink-2);
margin-bottom: 16px;
}
.confirm-box strong { color: var(--danger); }
.modal-title {
font-size: 14px; font-weight: 600; letter-spacing: .1em;
margin-bottom: 8px; display: flex; align-items: center; gap: 9px;
}
.modal-title i { color: var(--ac); font-size: 12px; }
.modal-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 18px; line-height: 1.9; }
@media (max-width: 768px) {
.sidebar {
position: fixed; left: 0; top: 0; bottom: 0;
width: var(--drawer-width); max-width: var(--drawer-max-width);
height: 100%;
transform: translateX(-100%);
transition: transform .3s cubic-bezier(.22,1,.36,1);
z-index: 400;
border-right: 1px solid var(--line-2);
box-shadow: 8px 0 40px rgba(40,44,46,.12);
}
.sidebar.open { transform: translateX(0); }
.mobile-menu-btn { display: flex; }
.main-content { padding: 70px 16px 40px; gap: 15px; }
.card { padding: 22px 18px; }
.chart-box { height: 470px; padding: 14px; }
.filter-bar { flex-direction: column; align-items: stretch; }
.filter-bar .field { max-width: none; }
.search-row { flex-direction: column; align-items: stretch; }
.search-row .field { min-width: 0; }
.search-row .btn { width: 100%; }
.form-grid { grid-template-columns: 1fr; gap: 14px; }
.field-full { grid-column: auto; }
.result-card { padding: 18px 16px; }
.result-card .rc-grid { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.stat-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
.modal { padding: 22px 18px; }
.modal .form-grid { grid-template-columns: 1fr; }
.modal .btn { width: 100%; }
}
@media (max-width: 400px) {
.main-content { padding: 66px 12px 32px; }
.result-card .rc-grid { grid-template-columns: 1fr; }
.stat-cards { grid-template-columns: 1fr; }
}
.sidebar-nav a.nav-item { text-decoration: none; }
.sidebar-header { justify-content: space-between; }
.sb-tag {
font-family: var(--mono);
font-size: 8.5px;
letter-spacing: .2em;
color: var(--ink-3);
border: 1px solid var(--line-2);
border-radius: var(--radius);
padding: 1px 6px;
}
.sidebar-bottom .nav-item {
display: flex; align-items: center; gap: 10px;
width: 100%;
padding: 8px 10px;
margin-bottom: 2px;
font-family: inherit;
font-size: 12px;
color: var(--ink-3);
text-decoration: none;
text-align: left;
background: transparent;
border: none;
border-left: 2px solid transparent;
border-radius: var(--radius);
cursor: pointer;
transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.sidebar-bottom .nav-item i { font-size: 11px; width: 13px; color: var(--ink-3); transition: color .16s ease; }
.sidebar-bottom .nav-item:hover { color: var(--ink); background: rgba(32,36,38,.05); border-left-color: var(--ac-line); }
.sidebar-bottom .nav-item:hover i { color: var(--ac); }
.sidebar-bottom .nav-item.sb-logout { color: rgba(184,69,60,.72); }
.sidebar-bottom .nav-item.sb-logout i { color: rgba(184,69,60,.72); }
.sidebar-bottom .nav-item.sb-logout:hover { color: var(--danger); background: rgba(184,69,60,.07); border-left-color: rgba(184,69,60,.5); }
.content-body { display: flex; flex-direction: column; gap: 18px; height: 100%; }
body.pg-sm .content-body::before {
content: 'MODULE 03 / ADMIN CONSOLE';
display: block;
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: .3em;
color: var(--ac);
opacity: .85;
padding-bottom: 12px;
border-bottom: 1px solid var(--line);
flex-shrink: 0;
}
:where(textarea, input:not([type="checkbox"]):not([type="radio"]), select) {
background: #ffffff;
color: var(--ink);
border: 1px solid var(--line);
border-radius: var(--radius);
font-family: inherit;
font-size: 12.5px;
padding: 9px 11px;
transition: border-color .16s ease, box-shadow .16s ease;
}
:where(textarea, input:not([type="checkbox"]):not([type="radio"]), select):focus {
outline: none;
border-color: var(--ac-line);
box-shadow: 0 0 0 1px rgba(26,145,124,.14);
}
:where(textarea, input, select)::placeholder { color: var(--ink-3); }
input[type="hidden"] { display: none; }
.modal { padding: 22px 24px; max-height: 88vh; }
.modal .form-grid { gap: 12px 16px; }
.modal .form-grid .field textarea,
.modal textarea { min-height: 44px !important; height: 44px !important; }
.modal .form-grid .field label { margin-bottom: 5px; }
.modal div[style*="justify-content:flex-end"] {
position: sticky;
bottom: -22px;
z-index: 3;
background: var(--bg-1);
border-top: 1px solid var(--line);
padding: 14px 0 6px;
margin-top: 14px !important;
}
.modal div[style*="justify-content:flex-end"] .btn { flex-shrink: 0; }
.rc-value.empty { padding: 0; text-align: left; letter-spacing: normal; font-size: 13.5px; color: var(--ink-3); }
.rc-long-value.empty, .rc-career-text.empty { padding: 10px 13px; text-align: left; }
