* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 6px;
    background: #f4f4f4;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}

.dashboard-wrap {
    max-width: 430px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.14);
}

.dashboard-header {
    background: #173a6b;
    color: #ffffff;
    padding: 0;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,.48);
}

/* =========================================================
   SEC POWer Chat Header
   ========================================================= */

.header-home-link {
    display: block;
    padding: 14px 8px 12px;
    color: #ffffff;
    text-decoration: none;
}

.header-home-link:visited,
.header-home-link:hover,
.header-home-link:active {
    color: #ffffff;
    text-decoration: none;
}

.header-home-link:hover {
    opacity: .95;
}

.community-header-mockup {
    text-align: center;
}

.community-mock-title {
    color: #ffffff;
    font-size: clamp(25px, 8vw, 38px);
    font-weight: 900;
    line-height: .92;
    letter-spacing: .8px;
    text-shadow: 2px 2px 0 rgba(0,0,0,.42);
}

.community-mock-title .pow {
    color: #c8102e;
}

.community-mock-title .power-er {
    color: #ffffff;
    text-transform: lowercase;
}

.community-mock-subtitle {
    color: #ffd84d;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: .3px;
    margin-top: 4px;
}

.dashboard-content {
    padding: 8px;
}

.board-nav,
.links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 9px;
}

.board-nav a,
.links a,
.reply-button,
.submit-button {
    display: block;
    width: 100%;
    padding: 12px 8px;
    background: #f58220;
    color: #ffffff;
    text-decoration: none;
    border: 0;
    border-radius: 7px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 2px 4px rgba(0,0,0,.16);
}

.board-nav a:hover,
.links a:hover,
.reply-button:hover,
.submit-button:hover {
    background: #d96d10;
}

.section-title {
    margin: 10px 0 7px;
    color: #173a6b;
    font-size: 17px;
}

.topic-card,
.topic-box,
.reply-box,
.reply-form-box,
.form-box {
    background: #fafafa;
    border: 1px solid #ddd;
    border-left: 5px solid #f58220;
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 9px;
}

.topic-card.hidden-topic,
.topic-box.hidden-topic,
.reply-box.hidden-reply {
    opacity: .72;
    background: #f1f1f1;
    border-left-color: #900;
}

.topic-card h2 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.18;
}

.topic-card h2 a {
    color: #173a6b;
    text-decoration: none;
}

.topic-card h2 a:hover {
    text-decoration: underline;
}

.topic-card h2 a.topic-more-link {
    font-size: 8px;
    margin-left: 7px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

.topic-more-link {
    font-size: 8px;
    margin-left: 6px;
    text-decoration: none;
}

.topic-title {
    margin: 0 0 7px;
    font-size: 22px;
    color: #173a6b;
    line-height: 1.18;
}

.topic-meta,
.meta {
    font-size: 12px;
    font-weight: bold;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.35;
}

.topic-body,
.post-body {
    font-size: 15px;
    line-height: 1.45;
}

.reply-count {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #ccc;
    color: #173a6b;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 6px;
    margin-top: 8px;
}

.admin-tools {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #ccc;
    font-size: 12px;
    font-weight: bold;
}

.admin-tools a {
    display: inline-block;
    background: #173a6b;
    color: #fff;
    padding: 6px 9px;
    border-radius: 6px;
    text-decoration: none;
    margin: 0 4px 4px 0;
}

.admin-tools a:hover {
    background: #0f284c;
}

.hidden-label {
    display: inline-block;
    background: #900;
    color: #fff;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 5px;
    vertical-align: middle;
}

.note-box {
    background: #fff4df;
    border: 1px solid #f58220;
    border-radius: 7px;
    padding: 9px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.35;
    margin-bottom: 9px;
}

.error-box {
    background: #ffe6e6;
    border: 1px solid #cc0000;
    color: #900;
    border-radius: 7px;
    padding: 9px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 9px;
}

.login-note {
    background: #fff4df;
    border: 1px solid #f58220;
    border-radius: 7px;
    padding: 9px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.login-note a {
    color: #173a6b;
}

.empty-text {
    font-size: 13px;
    font-weight: bold;
    margin: 0;
    padding: 8px;
}

label {
    display: block;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: bold;
    color: #173a6b;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 9px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    border: 1px solid #bbb;
    border-radius: 7px;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.field-row {
    margin-bottom: 10px;
}