:root{
    --lo-bg:#f6f7fb;
    --lo-card:#ffffff;
    --lo-text:#1f2937;
    --lo-muted:#6b7280;
    --lo-border:#e5e7eb;
    --lo-primary:#2563eb;
    --lo-primary-600:#1d4ed8;
    --lo-success:#16a34a;
    --lo-danger:#dc2626;
    --lo-warn:#b45309;
}

.office-container{
    max-width:1100px;
    margin:0 auto;
    padding:14px 12px 28px;
}

#toolbar{
    border:1px solid var(--lo-border);
    border-radius:10px;
    background:rgba(255,255,255,0.8);
    backdrop-filter:saturate(180%) blur(6px);
    overflow:hidden;
}

.office-toolbar{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px 12px;
    flex-wrap:wrap;
    margin:12px 0;
}

.office-search{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.office-search__label{
    font-size:13px;
    color:var(--lo-muted);
}

.office-input{
    height:32px;
    padding:0 10px;
    border:1px solid var(--lo-border);
    border-radius:10px;
    background:#fff;
    outline:none;
    min-width:220px;
}

.office-input:focus{
    border-color:rgba(37,99,235,0.55);
    box-shadow:0 0 0 3px rgba(37,99,235,0.12);
}

.office-btn{
    height:32px;
    padding:0 12px;
    border-radius:10px;
    border:1px solid var(--lo-border);
    background:#fff;
    color:var(--lo-text);
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:6px;
    cursor:pointer;
    user-select:none;
    white-space:nowrap;
}

.office-btn:hover{
    border-color:#cbd5e1;
    background:#f8fafc;
}

.office-btn--primary{
    border-color:rgba(37,99,235,0.25);
    background:rgba(37,99,235,0.08);
    color:var(--lo-primary-600);
}

.office-btn--primary:hover{
    background:rgba(37,99,235,0.12);
}

.office-links{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}

.office-card{
    background:var(--lo-card);
    border:1px solid var(--lo-border);
    border-radius:12px;
    box-shadow:0 1px 2px rgba(16,24,40,0.06);
}

.office-card__inner{
    padding:12px;
}

.office-table-wrap{
    overflow:auto;
}

table#data{
    width:100%;
    min-width:920px;
    border-collapse:separate;
    border-spacing:0;
}

table#data th{
    text-align:left;
    font-weight:600;
    font-size:13px;
    padding:10px 10px;
    background:#f1f5f9;
    color:#0f172a;
    border-bottom:1px solid var(--lo-border);
}

table#data td{
    font-size:13px;
    padding:8px 10px;
    border:0;
    border-bottom:1px solid var(--lo-border);
    white-space:nowrap;
}

table#data tr:hover td{
    background:#f8fafc;
}

table#data tr:last-child td{
    border-bottom:0;
}

table#data tr.office-row--private td{
    background:rgba(220,38,38,0.03);
}
table#data tr.office-row--member td{
    background:rgba(245,158,11,0.06);
}
table#data tr.office-row--private:hover td,
table#data tr.office-row--member:hover td{
    background:#f8fafc;
}

.office-badge{
    display:inline-flex;
    align-items:center;
    height:20px;
    padding:0 8px;
    border-radius:999px;
    font-size:12px;
    border:1px solid transparent;
}

.office-badge--public{
    background:rgba(22,163,74,0.10);
    border-color:rgba(22,163,74,0.22);
    color:var(--lo-success);
}

.office-badge--private{
    background:rgba(220,38,38,0.08);
    border-color:rgba(220,38,38,0.18);
    color:var(--lo-danger);
}

.office-badge--member{
    background:rgba(245,158,11,0.12);
    border-color:rgba(245,158,11,0.24);
    color:var(--lo-warn);
}

.office-actions a{
    color:var(--lo-primary-600);
    text-decoration:none;
    margin-right:10px;
}

.office-actions a:last-child{
    margin-right:0;
}

.office-actions a:hover{
    text-decoration:underline;
}

#div_Page{
    margin-top:12px;
}

/* 2026-07-10 新闻首页卡片样式 */
.news-channel { margin: 24px 0; }
.news-channel__title {
    font-size: 18px; font-weight: 600; padding: 8px 0;
    border-bottom: 2px solid #337ab7; color: #337ab7;
    margin: 0 0 12px;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.news-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 12px;
    color: #333;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
}
.news-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: #333;
}
.news-card h3 {
    font-size: 15px;
    margin: 0 0 6px;
    color: #337ab7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-card .excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    height: 60px;
    overflow: hidden;
    margin: 0;
}
.news-card .meta {
    color: #999;
    font-size: 11px;
    margin-top: 8px;
}
