@import url("./css/style-v467-dashboard.css");

.rich-fs-12 { font-size: 12px; }
.rich-fs-13 { font-size: 13px; }
.rich-fs-14 { font-size: 14px; }
.rich-fs-15 { font-size: 15px; }
.rich-fs-16 { font-size: 16px; }
.rich-fs-18 { font-size: 18px; }
.rich-fs-20 { font-size: 20px; }
.rich-fs-24 { font-size: 24px; }
.rich-fs-28 { font-size: 28px; }
.rich-fs-32 { font-size: 32px; }

/* build-set: 20260327v467-phase4-safe-reapply */
/* Legacy fallback entry. Safe phase 4 reapply keeps dashboard GridStack head styles inline. */


.board-settings-section .manage-header {
  gap: 12px;
}
.board-settings-status-row,
.service-inline-links,
.board-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}.service-inline-links {
  justify-content: flex-end;
}
.service-muted {
  color: rgba(66, 78, 107, 0.78);
  font-size: 13px;
}
#boardSettingsStatus.is-error {
  color: #a13232;
}
.service-page-body {
  min-height: 100vh;
  margin: 0;
  background: #f4f6fb;
  color: #1f2f4d;
}
.service-page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 16px 40px;
}
.service-page-header,
.service-page-panel,
.service-board-card {
  border-radius: 22px;
}
.service-page-header,
.service-page-panel {
  margin-bottom: 16px;
  padding: 18px;
}
.service-page-panel--danger {
  border: 1px solid rgba(178, 58, 58, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,244,244,0.96));
}
.inline-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.service-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.service-page-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #4c628f;
}
.service-page-header h1,
.service-section-head h2,
.service-reply-box h3 {
  margin: 0;
}
.service-page-desc,
.service-section-head p,
.service-empty-state p,
.service-board-card p,
.service-reply-box p {
  margin: 6px 0 0;
  color: rgba(46, 60, 91, 0.84);
}
.service-page-actions,
.service-detail-meta-row,
.service-action-footer,
.service-board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.service-page-actions {
  justify-content: flex-end;
}
.service-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list-row,
.service-board-card {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(49, 67, 113, 0.1);
  background: rgba(255,255,255,0.92);
  color: inherit;
  text-decoration: none;
}
.service-list-row:hover,
.service-list-row:focus-visible,
.service-board-card:hover,
.service-board-card:focus-visible {
  border-color: rgba(36, 76, 173, 0.24);
  box-shadow: 0 12px 24px rgba(33, 57, 116, 0.08);
}
.service-list-main {
  min-width: 0;
  flex: 1 1 auto;
}
.service-list-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.service-list-main p,
.service-list-meta span,
.service-board-meta span {
  font-size: 13px;
}
.service-list-main p {
  margin: 7px 0 0;
  color: rgba(52, 66, 96, 0.82);
}
.service-list-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: rgba(52, 66, 96, 0.72);
  white-space: nowrap;
}
.service-empty-state {
  padding: 20px;
  border: 1px dashed rgba(67, 84, 121, 0.24);
  border-radius: 18px;
  background: rgba(250, 252, 255, 0.9);
}
.service-detail-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-detail-content-box {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(49, 67, 113, 0.1);
  background: rgba(255,255,255,0.92);
}
.service-detail-content {
  white-space: pre-wrap;
  line-height: 1.6;
}
.service-attachment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-attachment-chip {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(233, 239, 252, 0.95);
  border: 1px solid rgba(78, 103, 164, 0.16);
  font-size: 13px;
}

.service-attachment-list {
  display: grid;
  gap: 10px;
}
.service-attachment-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(49, 67, 113, 0.12);
  background: rgba(255,255,255,0.94);
}
.service-attachment-card-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(78, 103, 164, 0.12);
  background: rgba(233, 239, 252, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #35527e;
  font-size: 12px;
  font-weight: 700;
}
.service-attachment-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-attachment-card-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.service-attachment-card-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: #22314f;
  word-break: break-all;
}
.service-attachment-card-subtitle {
  font-size: 12px;
  color: rgba(53, 68, 96, 0.72);
}
.service-attachment-card-action {
  white-space: nowrap;
}
.service-compose-attachment-thumb--file {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .service-attachment-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-attachment-card-action {
    justify-self: start;
  }
}
.service-board-feedback-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.service-board-like-form {
  margin: 0;
}
.service-board-like-button,
.service-board-feedback-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(49, 67, 113, 0.12);
  background: rgba(255,255,255,0.92);
  color: #27416d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.service-board-like-button {
  cursor: pointer;
}
.service-board-like-button.is-active {
  border-color: rgba(33, 80, 195, 0.26);
  background: rgba(33, 80, 195, 0.1);
  color: #1f4697;
}
.service-board-comments-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(49, 67, 113, 0.1);
  background: rgba(255,255,255,0.92);
}
.service-board-comments-head h3 {
  margin: 0;
}
.service-board-comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 760px);
  align-self: flex-start;
}
.service-board-comment-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border-radius: 16px;
  border: 1px solid rgba(73, 92, 135, 0.18);
  background: rgba(249, 251, 255, 0.96);
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
}
.service-board-comment-form-actions {
  display: flex;
  justify-content: flex-end;
}
.service-board-comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 760px);
  align-self: flex-start;
}
.service-board-comment-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(49, 67, 113, 0.1);
  background: rgba(248, 250, 255, 0.96);
  box-sizing: border-box;
}
.service-board-comment-meta,
.service-board-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.service-board-comment-meta {
  color: rgba(52, 66, 96, 0.78);
  font-size: 13px;
}
.service-board-comment-body {
  line-height: 1.6;
  white-space: pre-wrap;
}
.danger-text {
  color: #b03030;
}
.service-reply-box {
  padding: 14px;
  border-radius: 16px;
  background: rgba(247, 249, 255, 0.96);
  border: 1px solid rgba(69, 89, 137, 0.12);
}
.service-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.service-board-card {
  flex-direction: column;
}
.service-board-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.service-board-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
}
.service-board-card__actions .service-inline-form {
  margin: 0;
}
@media (max-width: 820px) {
  .service-page-header,
  .service-section-head,
  .service-list-row {
    flex-direction: column;
  }
  .service-page-actions,
  .service-list-meta {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .service-inline-links {
    justify-content: flex-start;
  }
}

/* v977 board service UI refinement */
.service-page-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
}
.service-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(49, 67, 113, 0.12);
  background: rgba(255,255,255,0.85);
  color: #2a446f;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.service-nav-link.is-active {
  background: rgba(33, 80, 195, 0.1);
  border-color: rgba(33, 80, 195, 0.24);
  color: #173a7a;
}
.service-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.service-filter-groups,
.service-filter-chips,
.service-inline-meta,
.service-empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.service-filter-groups {
  flex-direction: column;
  align-items: flex-end;
}
.service-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(54, 72, 118, 0.14);
  background: rgba(250, 252, 255, 0.96);
  color: #304a77;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.service-filter-chip.is-active {
  background: rgba(34, 84, 205, 0.12);
  border-color: rgba(34, 84, 205, 0.26);
  color: #163b82;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
}
.status-badge--small {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 12px;
}
.status-badge--slate {
  background: rgba(93, 109, 140, 0.12);
  color: #485772;
  border-color: rgba(93, 109, 140, 0.18);
}
.status-badge--primary {
  background: rgba(33, 80, 195, 0.12);
  color: #1c458f;
  border-color: rgba(33, 80, 195, 0.2);
}
.status-badge--orange {
  background: rgba(225, 133, 16, 0.12);
  color: #9c5b07;
  border-color: rgba(225, 133, 16, 0.22);
}
.status-badge--dark {
  background: rgba(35, 49, 78, 0.88);
  color: #fff;
  border-color: rgba(35, 49, 78, 0.88);
}
.status-badge--success {
  background: rgba(33, 160, 100, 0.14);
  color: #0f6b41;
  border-color: rgba(33, 160, 100, 0.2);
}
.status-badge--danger {
  background: rgba(201, 63, 63, 0.12);
  color: #9d2424;
  border-color: rgba(201, 63, 63, 0.22);
}
.service-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.service-summary-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.service-summary-grid--inline {
  margin-top: 2px;
}
.service-summary-card {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(61, 78, 123, 0.12);
  background: rgba(248, 250, 255, 0.95);
}
.service-summary-card span {
  display: block;
  font-size: 12px;
  color: rgba(65, 79, 110, 0.74);
}
.service-summary-card strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  color: #22365b;
}
.service-list-row {
  border-radius: 18px;
}
.service-inline-meta {
  margin-top: 8px;
  color: rgba(53, 68, 96, 0.74);
  font-size: 12px;
}
.service-detail-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 16px;
}
.service-reply-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-reply-panel h2 {
  margin: 0;
}
.service-attachment-chip {
  color: #274776;
  text-decoration: none;
}
.service-attachment-chip[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.72;
}
.service-empty-state strong {
  display: block;
  margin-bottom: 4px;
}
@media (max-width: 820px) {
  .service-page-subnav,
  .service-filter-groups,
  .service-filter-chips,
  .service-section-actions {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .service-detail-split {
    grid-template-columns: 1fr;
  }
  .service-summary-grid--inline {
    width: 100%;
  }
}

/* v990 rich editor service composer */
.service-compose-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 16px;
}
.service-compose-editor-card,
.service-compose-preview-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-compose-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.service-compose-topline strong {
  display: block;
  color: #1f365f;
  font-size: 16px;
}
.service-compose-topline p {
  margin: 6px 0 0;
  color: rgba(44, 61, 95, 0.82);
  font-size: 13px;
  line-height: 1.55;
}
.service-compose-mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(36, 56, 103, 0.08);
  color: #274271;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.service-compose-grid {
  display: grid;
  gap: 12px;
}
.service-compose-grid--meta {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: end;
}
.service-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-field-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.service-field-help {
  color: rgba(49, 67, 102, 0.76);
  font-size: 12px;
}
.service-field-label {
  font-size: 13px;
  font-weight: 800;
  color: #233a63;
}
.service-field input[type="text"],
.service-field select,
.service-field textarea {
  width: 100%;
  border: 1px solid rgba(69, 92, 145, 0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  padding: 12px 14px;
  color: #20375e;
  font: inherit;
  box-sizing: border-box;
}
.service-field--check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}
.service-compose-editor-field {
  gap: 10px;
}
.service-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(62, 83, 128, 0.12);
  border-radius: 18px;
  background: rgba(246, 249, 255, 0.96);
}
.service-rich-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.service-compose-tool {
  min-height: 36px;
}
.service-rich-select-wrap,
.service-rich-color-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(69, 92, 145, 0.14);
  color: #1f365f;
  font-size: 12px;
  font-weight: 700;
}
.service-rich-select-wrap select {
  min-width: 110px;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}
.service-rich-color-wrap input[type="color"] {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}
.service-rich-editor-shell {
  position: relative;
  border: 1px solid rgba(69, 92, 145, 0.18);
  border-radius: 20px;
  background: rgba(255,255,255,0.98);
  overflow: hidden;
}
.service-rich-editor {
  min-height: 320px;
  padding: 16px 18px;
  color: #20375e;
  line-height: 1.7;
  outline: none;
}
.service-rich-editor:empty::before {
  content: attr(data-placeholder);
  color: rgba(76, 94, 128, 0.62);
}
.service-rich-editor p,
.service-rich-editor div,
.service-detail-content p,
.service-detail-content div {
  margin: 0 0 12px;
}
.service-rich-editor p:last-child,
.service-rich-editor div:last-child,
.service-detail-content p:last-child,
.service-detail-content div:last-child {
  margin-bottom: 0;
}
.service-rich-editor ul,
.service-rich-editor ol,
.service-detail-content ul,
.service-detail-content ol {
  padding-left: 22px;
}
.service-rich-editor blockquote,
.service-detail-content blockquote {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 4px solid rgba(47, 88, 168, 0.24);
  background: rgba(244, 247, 255, 0.92);
  color: #28416e;
  border-radius: 0 16px 16px 0;
}
.service-rich-editor img,
.service-detail-content img {
  display: block;
  max-width: min(100%, 820px);
  height: auto;
  margin: 12px 0;
  border-radius: 16px;
}
.service-rich-editor img.is-selected {
  outline: 3px solid rgba(58, 92, 176, 0.28);
  outline-offset: 3px;
}
.service-rich-image-resize-handle {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #3d64bd, #254481);
  box-shadow: 0 8px 18px rgba(37, 68, 129, 0.28);
  cursor: nwse-resize;
  touch-action: none;
  transform: translate(-50%, -50%);
  z-index: 6;
}
.service-rich-image-resize-handle::before,
.service-rich-image-resize-handle::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: rgba(255,255,255,0.96);
  border-radius: 2px;
}
.service-rich-image-resize-handle::before {
  width: 10px;
  height: 2px;
  transform: rotate(45deg);
}
.service-rich-image-resize-handle::after {
  width: 2px;
  height: 10px;
  transform: rotate(45deg);
}
.service-rich-image-resize-handle.is-hidden {
  display: none;
}
.service-rich-image-resize-handle.is-dragging {
  cursor: nwse-resize;
}
.service-rich-editor img.rich-image-size-small,
.service-detail-content img.rich-image-size-small {
  width: min(100%, 220px);
  max-width: 220px;
}
.service-rich-editor img.rich-image-size-medium,
.service-detail-content img.rich-image-size-medium {
  width: min(100%, 360px);
  max-width: 360px;
}
.service-rich-editor img.rich-image-size-large,
.service-detail-content img.rich-image-size-large {
  width: min(100%, 560px);
  max-width: 560px;
}
.service-rich-editor img.rich-image-size-full,
.service-detail-content img.rich-image-size-full {
  width: 100%;
  max-width: 100%;
}
.service-rich-editor table,
.service-detail-content table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 14px 0;
  border: 1px solid rgba(69, 92, 145, 0.18);
  background: rgba(255,255,255,0.98);
}
.service-rich-editor th,
.service-rich-editor td,
.service-detail-content th,
.service-detail-content td {
  border: 1px solid rgba(69, 92, 145, 0.18);
  padding: 10px 12px;
  vertical-align: top;
  word-break: break-word;
}
.service-rich-editor th,
.service-detail-content th {
  background: rgba(243, 247, 255, 0.98);
  font-weight: 800;
}
.service-rich-editor td:empty::before,
.service-detail-content td:empty::before {
  content: '\00a0';
}
.service-detail-content--reply p {
  margin-bottom: 10px;
}
.service-compose-divider {
  border: 0;
  border-top: 1px dashed rgba(58, 80, 127, 0.22);
  margin: 12px 0;
}
.service-compose-upload-panel {
  padding: 14px;
  border-radius: 18px;
  background: rgba(247, 250, 255, 0.96);
  border: 1px solid rgba(63, 84, 129, 0.12);
}
.service-compose-upload-status {
  font-size: 13px;
  color: rgba(50, 67, 101, 0.78);
}
.service-compose-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.service-compose-attachments.is-file-list {
  grid-template-columns: 1fr;
}
.service-compose-attachment-item--file {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}
.service-compose-attachment-file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(235, 241, 255, 0.95);
  color: #5370a7;
  font-size: 12px;
  font-weight: 800;
}
.service-compose-attachment-meta--file {
  gap: 2px;
}
.service-compose-attachment-actions--file {
  grid-column: auto;
  justify-content: flex-end;
}
@media (max-width: 720px) {
  .service-compose-attachment-item--file {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-compose-attachment-actions--file {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
.service-compose-attachment-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(63, 84, 129, 0.12);
}
.service-compose-attachment-thumb {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(235, 241, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5370a7;
  font-size: 12px;
  font-weight: 800;
}
.service-compose-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-compose-attachment-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.service-compose-attachment-meta strong,
.service-compose-attachment-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-compose-attachment-meta span {
  color: rgba(52, 67, 95, 0.74);
  font-size: 12px;
}
.service-compose-attachment-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-compose-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.service-compose-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  color: rgba(48, 66, 103, 0.8);
}
.service-compose-status.is-error { color: #b22d2d; }
.service-compose-status.is-success { color: #117246; }
.service-compose-preview-title {
  font-size: 18px;
  font-weight: 800;
  color: #1f365f;
}
@media (max-width: 980px) {
  .service-compose-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .service-compose-topline,
  .service-compose-actions,
  .service-field-heading-row {
    justify-content: flex-start;
  }
  .service-rich-toolbar {
    padding: 10px;
  }
  .service-rich-toolbar-group {
    width: 100%;
  }
  .service-rich-select-wrap,
  .service-rich-color-wrap {
    width: fit-content;
  }
  .service-rich-editor {
    min-height: 240px;
    padding: 14px;
  }
}

.service-page-note {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
}

.service-inline-actions--stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.service-checkbox-field .checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.service-admin-board-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.service-admin-board-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.service-admin-board-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.service-admin-ops-card .form-status {
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .service-page-note {
    width: 100%;
    justify-content: center;
  }

  .service-admin-board-item__head {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* v995 board list inline meta, delete scope, and page-size fix */
.service-board-dashboard-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-board-dashboard-top .service-page-subnav {
  order: 1;
}
.service-board-dashboard-top .service-board-page-header {
  order: 2;
}
.service-board-page-header {
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.service-board-page-header-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.service-board-page-header-copy h1 {
  margin: 0;
  text-align: left;
  font-size: 22px;
  line-height: 1.35;
}
.service-board-page-header-actions {
  align-items: center;
  justify-content: flex-end;
}
.service-board-post-list-panel .service-section-head {
  margin-bottom: 10px;
}
.service-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.service-page-select-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-page-select-form label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(54, 72, 118, 0.14);
  background: rgba(250, 252, 255, 0.96);
  color: #304a77;
  font-size: 13px;
  font-weight: 700;
}
.service-page-select-form select {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.service-list--singleline {
  gap: 5px;
}
.service-list--tight {
  width: 100%;
}
.service-list--board-compact {
  gap: 4px;
}
.service-list-row--singleline {
  align-items: center;
  padding: 8px 10px;
  gap: 10px;
  min-width: 0;
}
.service-list-row--board {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.service-list-row--board-no-thumb {
  grid-template-columns: minmax(0, 1fr);
}
.service-list-row--notice {
  border-color: rgba(32, 52, 93, 0.18);
  background: rgba(246, 249, 255, 0.96);
}
.service-list-thumb {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(53, 76, 126, 0.1);
  background: rgba(236, 241, 251, 0.95);
  display: block;
}
.service-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-list-board-body {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 6px 10px;
}
.service-list-title-row--singleline {
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  align-items: center;
}
.service-list-title-row--board {
  min-width: 0;
}
.service-list-title-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-list-inline-file-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 13px;
  line-height: 1;
}
.service-list-attachment-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(53, 76, 126, 0.08);
  color: #35527e;
  font-size: 11px;
  font-weight: 700;
}
.service-list-meta-author,
.service-list-meta-time,
.service-list-meta-views,
.service-list-meta-stat,
.service-list-meta-stats {
  min-width: 0;
  color: rgba(53, 68, 96, 0.72);
  font-size: 12px;
}
.service-list-meta-author {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-list-meta-time,
.service-list-meta-stat {
  white-space: nowrap;
}
.service-list-meta-stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
.service-inline-form {
  display: inline-flex;
  margin: 0;
}
.service-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}
.service-pagination-link,
.service-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1px solid rgba(49, 67, 113, 0.12);
  background: rgba(255,255,255,0.92);
  color: #2a446f;
  text-decoration: none;
  font-weight: 700;
}
.service-pagination-link.is-active {
  background: rgba(33, 80, 195, 0.12);
  border-color: rgba(33, 80, 195, 0.24);
  color: #173a7a;
}
@media (min-width: 821px) {
  .service-list-row--board {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 8px;
  }
  .service-list-row--board-no-thumb {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-list-thumb {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 8px;
  }
  .service-list-board-body {
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px 12px;
  }
  .service-list-title-row--board {
    min-width: 0;
  }
  .service-list-meta-author,
  .service-list-meta-time,
  .service-list-meta-views,
  .service-list-meta-stat,
  .service-list-meta-stats {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
  }
  .service-list-meta-time,
  .service-list-meta-stat {
    white-space: nowrap;
  }
  .service-list-meta-stats {
    justify-self: end;
    gap: 6px 10px;
  }
}
@media (max-width: 820px) {
  .service-board-page-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .service-board-page-header-copy h1 {
    font-size: 19px;
  }
  .service-board-page-header-actions {
    width: auto;
    flex: 0 0 auto;
  }
  .service-list-toolbar {
    align-items: flex-start;
  }
  .service-page-select-form {
    flex: 1 1 auto;
  }
  .service-list-row--board {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 84px;
    padding: 6px 8px;
    gap: 7px;
  }
  .service-list-row--board-no-thumb {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-list-thumb {
    width: 72px;
    min-width: 72px;
    height: 72px;
    border-radius: 10px;
  }
  .service-list-board-body {
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title title"
      "author author"
      "time stats";
    align-content: center;
    row-gap: 3px;
    column-gap: 8px;
  }
  .service-list-title-row--board {
    grid-area: title;
    gap: 5px;
  }
  .service-list-meta-author {
    grid-area: author;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .service-list-meta-time {
    grid-area: time;
    justify-self: start;
  }
  .service-list-meta-stats {
    grid-area: stats;
    justify-self: end;
    text-align: right;
    justify-content: flex-end;
    gap: 2px 8px;
  }
  .service-list-meta-stat {
    font-size: 11px;
  }
  .service-board-comment-form,
  .service-board-comment-list {
    width: calc(100% - 18px);
  }
  .service-board-comment-item {
    padding: 12px 13px;
  }
}


.btn.danger {
  background: #fff1f1;
  border-color: rgba(170, 55, 55, 0.18);
  color: #a13a3a;
}
.btn.danger:hover,
.btn.danger:focus-visible {
  background: #ffe6e6;
  border-color: rgba(170, 55, 55, 0.28);
  color: #922f2f;
}



.portal-page-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgba(108, 124, 255, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 24%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
}
.portal-page-shell {
  max-width: 1180px;
  min-height: 100svh;
  padding-top: 18px;
  padding-bottom: 18px;
  align-content: center;
}
.portal-page-header,
.portal-section-panel,
.portal-brand-panel,
.portal-start-panel,
.portal-mobile-legal-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}
.portal-page-header,
.portal-section-panel,
.portal-start-panel,
.portal-mobile-legal-card {
  background: rgba(255, 255, 255, 0.96);
}
.portal-commercial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  gap: 16px;
  margin-top: 16px;
}
.portal-commercial-hero-home {
  align-items: stretch;
}
.portal-home-shell {
  justify-content: center;
}
.portal-page-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.22);
  padding: 18px 20px;
}
.portal-page-header-compact .service-page-kicker,
.portal-page-header-compact h1,
.portal-page-header-compact .portal-hero-desc {
  color: #f8fafc;
}
.portal-page-header-compact .portal-hero-desc {
  max-width: 740px;
  color: rgba(226, 232, 240, 0.9);
}
.portal-page-actions-compact {
  flex-wrap: nowrap;
}
.portal-brand-panel {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92)),
    radial-gradient(circle at top left, rgba(108, 124, 255, 0.28), transparent 42%);
  color: #f8fafc;
  padding: 24px;
}
.portal-brand-panel-home {
  display: grid;
  align-content: space-between;
}
.portal-brand-copy h2,
.portal-start-head h2,
.portal-section-card h3,
.portal-detail-item h3,
.portal-mobile-legal-card h3 {
  margin: 0;
}
.portal-brand-copy p,
.portal-start-head p,
.portal-section-card p,
.portal-detail-item p,
.portal-mobile-legal-card p {
  margin-top: 8px;
}
.portal-brand-copy p {
  color: rgba(226, 232, 240, 0.9);
}
.portal-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.portal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.16);
  color: #dbeafe;
  font-size: 0.84rem;
  font-weight: 700;
}
.portal-badge.primary {
  background: rgba(108, 124, 255, 0.22);
  border-color: rgba(129, 140, 248, 0.38);
  color: #ffffff;
}
.portal-badge-row-hero {
  margin-bottom: 16px;
}
.portal-brand-metrics {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.portal-brand-metrics-compact {
  gap: 8px;
}
.portal-metric-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.08);
}
.portal-metric-card strong {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.55;
}
.portal-metric-card span {
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.58;
  font-size: 0.9rem;
}
.portal-start-panel {
  padding: 22px;
}
.portal-start-panel-home {
  display: grid;
  align-content: space-between;
}
.portal-start-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.portal-start-head p {
  color: #475569;
}
.portal-feature-nav {
  display: grid;
  gap: 10px;
}
.portal-feature-nav-card,
.portal-section-card,
.portal-detail-item,
.portal-next-panel {
  border: 1px solid rgba(86, 107, 153, 0.12);
  background: rgba(247, 249, 255, 0.92);
  border-radius: 18px;
}
.portal-feature-nav-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.portal-feature-nav-card:hover,
.portal-feature-nav-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}
.portal-feature-nav-card strong {
  font-size: 15px;
}
.portal-feature-nav-card span {
  color: rgba(52, 67, 98, 0.84);
  line-height: 1.52;
}
.portal-feature-nav-card.is-active {
  border-color: rgba(82, 104, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(82, 104, 255, 0.16);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.98), rgba(248, 250, 255, 0.98));
}
.portal-hero-cta {
  margin-top: 16px;
}
.portal-hero-cta-compact {
  margin-top: 14px;
}
.portal-section-panel {
  margin-top: 16px;
}
.portal-section-grid {
  display: grid;
  gap: 12px;
}
.portal-section-grid-emphasis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.portal-section-card,
.portal-detail-item,
.portal-next-panel {
  padding: 16px;
}
.portal-section-card p,
.portal-detail-item p {
  color: #475569;
  line-height: 1.64;
}
.portal-detail-list {
  display: grid;
  gap: 12px;
}
.portal-mobile-legal-card {
  display: none;
  margin-top: 14px;
  padding: 16px;
}
.portal-mobile-legal-actions {
  margin-top: 12px;
}
@media (max-width: 1100px) {
  .portal-commercial-hero,
  .portal-section-grid-emphasis {
    grid-template-columns: 1fr;
  }
  .portal-home-shell {
    min-height: auto;
  }
}
@media (max-width: 920px) {
  .portal-page-header-compact {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-page-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .portal-page-body {
    background:
      linear-gradient(180deg, #0f172a 0%, #111827 100%);
  }
  .portal-page-shell {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 20px;
  }
  .portal-brand-panel,
  .portal-start-panel,
  .portal-page-header-compact,
  .portal-mobile-legal-card {
    padding: 18px;
  }
  .portal-metric-card,
  .portal-section-card,
  .portal-detail-item,
  .portal-next-panel {
    padding: 15px;
  }
  .portal-page-actions-compact {
    width: 100%;
  }
  .portal-mobile-legal-card {
    display: block;
  }
}
.mfa-secret-text,.mfa-uri-text{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all}.service-summary-card--wide{grid-column:span 2}.service-inline-meta--highlight{margin-top:12px;padding:12px 14px;border-radius:14px;background:rgba(37,99,235,.08);color:#1d4ed8}.admin-audit-subtext{font-size:.85rem;color:#6b7280;margin-top:2px}.admin-audit-table td,.admin-audit-table th{vertical-align:top}@media (max-width: 780px){.service-summary-card--wide{grid-column:span 1}}

.portal-markdown-shell {
  max-width: 1180px;
}
.portal-markdown-panel {
  padding: 20px;
}
.portal-markdown-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #1f2f4d;
}
.portal-markdown-content h2,
.portal-markdown-content h3,
.portal-markdown-content h4 {
  margin: 4px 0 0;
  color: #10203f;
}
.portal-markdown-content p,
.portal-markdown-content li {
  margin: 0;
  color: rgba(36, 48, 76, 0.9);
  line-height: 1.72;
}
.portal-markdown-content code {
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.94em;
}
.portal-markdown-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
}
.portal-markdown-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
}
.portal-markdown-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.portal-markdown-table th,
.portal-markdown-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  text-align: left;
  vertical-align: top;
  line-height: 1.58;
}
.portal-markdown-table th {
  background: rgba(37, 99, 235, 0.08);
  color: #173a8a;
  font-weight: 700;
}
.portal-markdown-table tbody tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 768px) {
  .portal-markdown-panel {
    padding: 18px;
  }
  .portal-markdown-table {
    min-width: 560px;
  }
}
