/* ============ ACW Business Platform — MISA AMIS style ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #171c2b;
  --ink-2: #2b3242;
  --muted: #6b7487;
  --line: #e8ebf2;
  --primary: #2563eb;
  --danger: #e5484d;
}

html, body { height: 100%; }
body {
  font-family: "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #fbfcfe 0%, #eef1f8 100%);
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }

/* ---------------- Login ---------------- */
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(59,130,246,.14), transparent 60%),
    radial-gradient(800px 500px at 85% 90%, rgba(124,58,237,.12), transparent 60%),
    linear-gradient(180deg, #f7faff, #eef2fb);
}
.login-card {
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(23,28,43,.10);
  padding: 40px 36px 28px;
  text-align: center;
}
.login-logo {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #4f8dff, #2563eb);
  color: #fff; font-size: 32px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,99,235,.35);
}
.login-card h1 { font-size: 22px; letter-spacing: .2px; }
.login-sub { color: var(--muted); font-size: 13px; margin: 6px 0 24px; }
#login-form input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border .15s, box-shadow .15s;
  background: #fafbfe;
}
#login-form input:focus { border-color: #93b4ff; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.login-error {
  color: var(--danger); font-size: 13px; text-align: left; margin: -4px 0 10px;
}
.btn-primary {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37,99,235,.30);
  transition: filter .15s, transform .05s;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { transform: translateY(1px); }
.login-foot { color: #a3abb9; font-size: 11px; margin-top: 22px; }

/* ---------------- Top bar ---------------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 26px 0;
  max-width: 1380px;
  margin: 0 auto;
}
.btn-x {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(23,28,43,.07);
  transition: background .15s;
}
.btn-x:hover { background: #fff5f5; }
.search-wrap {
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(23,28,43,.05);
}
.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
}
.search-wrap input::placeholder { color: #9aa4b5; }

/* ---------------- Launcher grid ---------------- */
.launcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
  max-width: 1380px;
  margin: 6px auto 8px;
  padding: 0 24px 0 74px;
  align-items: start;
}
@media (max-width: 980px) { .launcher { grid-template-columns: 1fr; padding-left: 24px; } }
.col { min-width: 0; }

.cat-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 7px;
  letter-spacing: .1px;
}
.apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 1240px) { .apps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 720px) { .apps { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.app {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 6px;
  border-radius: 10px;
  cursor: pointer;
  min-width: 0;
  transition: background .15s;
}
.app:hover { background: rgba(59,99,246,.07); }
.app:active { background: rgba(59,99,246,.12); }

.app-icon {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #fff;
  position: relative;
  box-shadow: 0 4px 10px rgba(23,28,43,.13);
  user-select: none;
}
.app-label {
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* badges */
.app-icon .badge {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.b-check {
  right: -4px; bottom: -4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}
.b-count {
  right: -6px; top: -6px;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.b-new {
  right: -6px; top: -7px;
  padding: 1px 4px;
  border-radius: 6px;
  background: #16a34a;
  border: 2px solid #fff;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2px;
}

/* left rail */
.rail {
  position: fixed;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 30;
}
.rail-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(23,28,43,.09);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.rail-btn:hover { background: #f3f6fc; }

/* ---------------- App workspace ---------------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.btn-back {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.btn-back:hover { background: #f3f6fc; }
.app-header-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 17px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(23,28,43,.15);
}
.app-header h2 { font-size: 17px; font-weight: 700; }
.app-header-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg,#f59e0b,#ef4444);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
}

#app-body { max-width: 1080px; margin: 0 auto; padding: 24px 22px 60px; }

/* placeholder page */
.ph-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(23,28,43,.06);
  padding: 34px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.ph-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 30px;
  color: #fff;
  flex: none;
  box-shadow: 0 8px 20px rgba(23,28,43,.16);
}
.ph-card h3 { font-size: 18px; margin-bottom: 8px; }
.ph-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.ph-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 600;
}

/* generic panel */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(23,28,43,.06);
  padding: 22px;
  margin-bottom: 18px;
}
.panel h3 { font-size: 16px; margin-bottom: 14px; }

/* ---------------- Calendar ---------------- */
.cal-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cal-top h3 { margin: 0; font-size: 18px; }
.cal-nav {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink-2);
}
.cal-nav:hover { background: #f3f6fc; }
.btn-mini {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg,#3b82f6,#2563eb);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
  box-shadow: 0 6px 16px rgba(37,99,235,.28);
}
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-week span { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 0; }
.cal-day {
  min-height: 92px;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  transition: border .15s, box-shadow .15s;
  overflow: hidden;
}
.cal-day:hover { border-color: #b9d0ff; box-shadow: 0 4px 12px rgba(37,99,235,.10); }
.cal-day.other { opacity: .45; background: #fafbfe; }
.cal-day.today { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.18); }
.cal-day .d {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.cal-day.today .d { background: #2563eb; color: #fff; }
.ev {
  margin-top: 5px;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 7px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- Tasks ---------------- */
.task-input-row { display: flex; gap: 10px; margin-bottom: 16px; }
.task-input-row input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  background: #fafbfe;
}
.task-input-row input:focus { border-color: #93b4ff; box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.task-input-row select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 10px;
  background: #fff;
  color: var(--ink-2);
  outline: none;
}
.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  margin-bottom: 8px;
  background: #fff;
  transition: background .15s;
}
.task-item:hover { background: #fafcff; }
.task-item input[type=checkbox] { width: 18px; height: 18px; accent-color: #2563eb; cursor: pointer; }
.task-title { flex: 1; font-size: 14px; color: var(--ink-2); }
.task-item.done .task-title { text-decoration: line-through; color: #a3abb9; }
.task-prio { font-size: 11px; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.prio-high { background: #fee2e2; color: #dc2626; }
.prio-normal { background: #e0eaff; color: #2563eb; }
.prio-low { background: #e8f7ee; color: #16a34a; }
.task-del {
  border: none;
  background: transparent;
  color: #c3cad6;
  font-size: 16px;
  cursor: pointer;
}
.task-del:hover { color: var(--danger); }
.task-empty { color: #a3abb9; font-size: 13.5px; text-align: center; padding: 26px 0; }

/* ---------------- Chat ---------------- */
.chat-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 16px; min-height: 62vh; }
@media (max-width: 760px) { .chat-wrap { grid-template-columns: 1fr; } }
.chat-rooms { }
.room-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-2);
}
.room-item:hover { background: #f3f6fc; }
.room-item.active { background: #e8efff; color: #2563eb; font-weight: 600; }
.chat-main { display: flex; flex-direction: column; padding: 0; }
.chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 380px;
  max-height: 62vh;
}
.msg { max-width: 72%; display: flex; flex-direction: column; }
.msg .who { font-size: 11px; color: #a3abb9; margin: 0 4px 3px; }
.msg .bubble {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  background: #f1f3f9;
  color: var(--ink-2);
  word-break: break-word;
}
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me .bubble { background: linear-gradient(135deg,#3b82f6,#2563eb); color: #fff; }
.msg .time { font-size: 10px; color: #b9c1cf; margin: 3px 4px 0; }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid #eef0f5; }
.chat-input input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: #fafbfe;
}
.chat-input button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg,#3b82f6,#2563eb);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(37,99,235,.28);
}

/* ---------------- System ---------------- */
.sys-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.sys-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(23,28,43,.05);
}
.sys-stat .v { font-size: 26px; font-weight: 800; color: var(--ink); }
.sys-stat .k { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.btn-ghost {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  cursor: pointer;
}
.btn-ghost:hover { background: #f3f6fc; }
.btn-sm { width: auto; height: 38px; padding: 0 22px; font-size: 13.5px; }

/* ---------------- Danh bạ / Ghi chép / Mạng xã hội / Văn thư ---------------- */
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bar-row h3 { margin: 0; }
.bar-row .btn-mini { margin-left: 0; }
.search-line {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  background: #fafbfe;
  margin-bottom: 14px;
}
.search-line:focus { border-color: #93b4ff; box-shadow: 0 0 0 3px rgba(37,99,235,.10); }

.dir-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .dir-list { grid-template-columns: 1fr; } }
.contact-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: background .15s;
}
.contact-item:hover { background: #fafcff; }
.avatar-sm {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg,#60a5fa,#2563eb);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}
.contact-info { min-width: 0; }
.contact-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.edit-hint { margin-left: 8px; font-size: 12px; color: #b9c1cf; }
.contact-meta { font-size: 12.5px; color: var(--muted); margin: 2px 0 4px; }
.contact-cta { font-size: 12.5px; color: #2563eb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .note-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px) { .note-grid { grid-template-columns: 1fr; } }
.note-card {
  border: 1px solid #f2e9c8;
  background: #fffbea;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .15s;
}
.note-card:hover { box-shadow: 0 8px 20px rgba(23,28,43,.08); }
.note-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.note-body { font-size: 13px; color: #6b7487; line-height: 1.55; white-space: pre-wrap; flex: 1; }
.note-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: #a3abb9; }
.note-del { border: none; background: transparent; color: #c3cad6; cursor: pointer; font-size: 14px; }
.note-del:hover { color: var(--danger); }

.composer { display: flex; align-items: center; gap: 12px; }
.composer input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: #fafbfe;
}
.composer input:focus { border-color: #93b4ff; box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.composer .btn-mini { margin-left: 0; }
.post-card { margin-bottom: 14px; }
.post-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.post-author { font-size: 14px; font-weight: 600; color: var(--ink); }
.post-time { font-size: 12px; color: #a3abb9; }
.post-content { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-bottom: 12px; }
.post-actions { display: flex; gap: 10px; border-top: 1px solid #eef0f5; padding-top: 10px; }
.like-btn, .cmt-toggle {
  border: none;
  background: #f1f4fa;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s;
}
.like-btn:hover, .cmt-toggle:hover { background: #e6ecf7; }
.like-btn.liked { background: #fee2e2; color: #dc2626; font-weight: 600; }
.cmt-box { margin-top: 12px; border-top: 1px solid #eef0f5; padding-top: 10px; }
.cmt-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.cmt-item { font-size: 13px; line-height: 1.5; color: var(--ink-2); background: #f6f8fc; border-radius: 10px; padding: 8px 12px; }
.cmt-item b { margin-right: 6px; }
.cmt-item i { display: block; font-style: normal; font-size: 11px; color: #a3abb9; margin-top: 2px; }
.cmt-input { display: flex; gap: 8px; }
.cmt-input input {
  flex: 1;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13.5px;
  outline: none;
  background: #fafbfe;
}
.cmt-input button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg,#3b82f6,#2563eb);
  color: #fff;
  cursor: pointer;
}

.doc-tabs { display: flex; gap: 8px; }
.doc-tab {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
}
.doc-tab.active { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 600; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.doc-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.doc-table td { padding: 10px; border-bottom: 1px solid #f0f2f7; color: var(--ink-2); vertical-align: middle; }
.doc-table tbody tr { cursor: pointer; transition: background .12s; }
.doc-table tbody tr:hover { background: #fafcff; }
.doc-no { font-weight: 600; color: var(--ink); white-space: nowrap; }
.doc-acts { text-align: right; width: 40px; }
.doc-del { border: none; background: transparent; color: #c3cad6; cursor: pointer; font-size: 15px; }
.doc-del:hover { color: var(--danger); }
.st-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.st-moi { background: #e0eaff; color: #2563eb; }
.st-xu_ly { background: #fef3c7; color: #b45309; }
.st-hoan_thanh { background: #e8f7ee; color: #16a34a; }

/* ---------------- Toast & modal ---------------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: #23293a;
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  z-index: 90;
  animation: pop .18s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateX(-50%) translateY(8px); } }
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(23,28,43,.35);
  display: grid;
  place-items: center;
  z-index: 80;
  backdrop-filter: blur(2px);
}
.modal {
  width: 400px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  animation: pop .18s ease-out;
}
.modal h3 { font-size: 16px; margin-bottom: 14px; }
.modal input, .modal select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  margin-bottom: 10px;
}
.modal textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.55;
  outline: none;
  margin-bottom: 10px;
  resize: vertical;
  background: #fff;
}
.modal input:focus, .modal select:focus, .modal textarea:focus { border-color: #93b4ff; box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
