:root {
    --blue: #1677ff;
    --line: #d9e1ea;
    --bg: #f8fafc;
    --cyan: #e6fbff
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #172033
}

.app-shell {
    max-width: 1600px;
    min-width: 1180px;
    margin: 24px auto;
    padding: 0 30px
}

.topbar {
    height: 80px;
    border: 1px solid #1f2937;
    border-radius: 18px;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 440px 1fr;
    align-items: center;
    padding: 0 56px
}

.brand {
    font-size: 24px;
    text-decoration: none;
    color: #111
}

.brand span {
    color: #1c4a71;
}

.brand b {
    color: #4eccb1;
}

.brand em {
    font-style: normal;
    font-weight: 600
}

.search-form input {
    width: 100%;
    border: 1px solid #111;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 15px
}

.user-area {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    align-items: center
}

.text-button {
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit
}

.overview {
    padding: 20px 52px 28px
}

.section-title {
    font-size: 19px;
    margin-bottom: 10px
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr) 160px;
    gap: 34px;
    align-items: center
}

.stat-card {
    height: 64px;
    border: 1px solid #111;
    border-radius: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.stat-card strong {
    color: #1677ff;
    font-size: 21px
}

.stat-card.orange strong {
    color: #f59e0b
}

.stat-card.amber strong {
    color: #eab308
}

.stat-card.red strong {
    color: #ef4444
}

.stat-card span {
    margin-top: 5px
}

.publish-button {
    height: 62px;
    border: 0;
    border-radius: 13px;
    background: #2563eb;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px #9bbfff
}

.workspace {
    height: calc(100vh - 230px);
    min-height: 530px;
    display: grid;
    grid-template-columns: 185px minmax(560px, 1fr) 270px;
    gap: 28px;
    padding: 0 5px
}

.sidebar,
.notice-panel,
.right-panel {
    border: 1px solid #1f2937;
    border-radius: 26px;
    background: #fff
}

.sidebar {
    display: flex;
    flex-direction: column;
    padding: 14px 16px
}

.category-menu {
    display: grid;
    gap: 11px
}

.category-menu button {
    height: 51px;
    border: 1px solid #111;
    border-radius: 11px;
    background: #fff;
    font-size: 22px;
    cursor: pointer
}

.category-menu button.active {
    background: #e0f9ff
}

.data-actions {
    margin-top: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

.data-actions label,
.data-actions button {
    cursor: pointer;
    font-size: 17px
}

.data-actions small {
    width: 100%;
    font-size: 11px
}

.notice-panel {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 10px 4px
}

.notice-list {
    overflow-y: auto;
    padding: 0
}

.notice-item {
    border: 1px solid #111;
    border-radius: 24px;
    margin-bottom: 14px;
    padding: 15px 20px;
    transition: .2s
}

.notice-item:hover {
    box-shadow: 0 6px 18px #cbd5e1
}

.notice-item.selected {
    background: var(--cyan)
}

.notice-head {
    display: flex;
    align-items: center;
    gap: 10px
}

.tag {
    color: #fff;
    padding: 7px 12px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 15px
}

.tag.notice {
    background: #9333ea
}

.tag.suggestion {
    background: #22c55e
}

.tag.hotel {
    background: #06b6d4
}

.tag.process {
    background: #3b82f6
}

.tag.complaint {
    background: #ef4444
}

.notice-head h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.date {
    margin-left: auto;
    white-space: nowrap
}

.pinned {
    background: #e5e7eb;
    border-radius: 5px;
    padding: 4px 7px;
    font-size: 13px
}

.notice-content {
    margin: 8px 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.notice-foot {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.avatars {
    display: flex;
    align-items: center
}

.avatar {
    position: relative;
    width: 34px;
    height: 34px;
    border: 1px solid #111;
    border-radius: 50%;
    background: #edf8ff;
    display: grid;
    place-items: center;
    margin-right: -5px;
    font-size: 12px
}

.avatar i {
    position: absolute;
    right: 1px;
    bottom: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e
}

.avatar.unread i {
    background: #ef4444
}

.notice-actions button,
.pagination button {
    background: #fff;
    border: 1px solid #111;
    border-radius: 7px;
    padding: 6px 23px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 15px
}

.pagination {
    text-align: center;
    padding: 6px
}

.right-panel {
    background: transparent;
    border: 0;
    display: grid;
    grid-template-rows: 1fr .85fr;
    gap: 10px;
    min-height: 0
}

.side-card {
    background: #e5fbff;
    border: 1px solid #111;
    border-radius: 27px;
    padding: 12px 14px;
    overflow: auto
}

.side-title {
    font-size: 19px;
    border-bottom: 1px solid #111;
    padding: 3px 8px 7px;
    display: flex;
    justify-content: space-between
}

.follow-item {
    border: 1px solid #111;
    border-radius: 12px;
    padding: 8px 12px;
    margin: 12px 0;
    font-size: 12px;
    line-height: 1.35
}

.read-row {
    display: grid;
    grid-template-columns: 35px 1fr 38px 64px;
    align-items: center;
    gap: 7px;
    padding: 8px 2px;
    font-size: 13px
}

.read-row .avatar {
    margin: 0
}

.read-row button {
    border: 0;
    background: transparent;
    cursor: pointer
}

.read {
    color: #15803d
}

.unread {
    color: #ef4444
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #172033;
    color: #fff;
    padding: 11px 18px;
    border-radius: 8px;
    opacity: 0;
    transition: .25s;
    z-index: 20
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1
}

.modal-mask {
    position: fixed;
    z-index: 10;
    inset: 0;
    background: #0008;
    display: grid;
    place-items: center
}

.modal {
    width: min(680px, 90vw);
    max-height: 88vh;
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    padding: 26px
}

.modal h2 {
    margin-top: 0
}

.form-grid {
    display: grid;
    gap: 14px
}

.form-grid label {
    display: grid;
    gap: 6px
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    font: inherit;
    padding: 9px;
    border: 1px solid #94a3b8;
    border-radius: 7px
}

.form-grid textarea {
    min-height: 130px;
    resize: vertical
}

.form-grid .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    cursor: pointer
}

.form-grid .checkbox-row input {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0
}

.modal-actions {
    text-align: right;
    margin-top: 20px
}

.modal-actions button {
    padding: 9px 18px;
    border-radius: 7px;
    border: 1px solid #94a3b8;
    cursor: pointer;
    margin-left: 8px
}

.modal-actions .primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb
}