.org-wrap {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

.org-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.org-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.org-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
  padding: 1.25rem;
}

.org-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.org-card h4 {
  margin: 0.25rem 0 0.75rem;
}

.org-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.org-field label {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.org-field input,
.org-field select {
  border: 1px solid #cbd2d9;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.org-field input:focus,
.org-field select:focus {
  outline: none;
  border-color: #3f83f8;
  box-shadow: 0 0 0 3px rgba(63, 131, 248, 0.2);
}

.org-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  background: #3f83f8;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}

.org-btn-ghost{
  background:transparent;
  color:#111827;
  border:1px solid #e5e7eb;
}

.org-btn-ghost:hover{
  background:#f8fafc;
}

.org-btn:hover,
.org-btn:focus {
  background: #1c64f2;
}

.org-feedback {
  display: block;
  margin-left: 0.5rem;
  font-size: 0.85rem;
}

.org-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.org-list li {
  border: 1px solid #d9e2ec;
  border-radius: 6px;
  padding: 0.75rem;
  background: #f8fafc;
}

.org-scroll{
  max-height: 380px;
  overflow: auto;
  padding-right: 6px;
}

.org-scroll::-webkit-scrollbar{width:10px;height:10px}
.org-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}
.org-scroll::-webkit-scrollbar-track{background:#f1f5f9}

.org-list a {
  color: #1f29ff;
  text-decoration: none;
}

.org-list a:hover,
.org-list a:focus {
  text-decoration: underline;
}

.org-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #52606d;
}

.org-context-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.org-context-label {
  font-weight: 600;
  font-size: 0.78rem;
  color: #475467;
}

.org-context-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #64748b;
  text-transform: capitalize;
}

.org-context-gabinete {
  background: #3f83f8;
}

.org-context-empresa {
  background: #12b76a;
}

.org-context-pessoal {
  background: #f97316;
}

.org-context-outros {
  background: #6b7280;
}

.org-context-default {
  background: #64748b;
}

.org-context-note {
  font-size: 0.75rem;
  color: #475467;
  background: #e2e8f0;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.org-field-note {
  margin-top: -0.5rem;
}

.is-hidden {
  display: none !important;
}

.org-grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.org-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.org-inline-form input {
  min-width: 220px;
}

.org-kanban-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.org-kanban-board {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1.5rem;
}

.org-kanban-column {
  background: #f8fafc;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
}

.org-kanban-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.org-kanban-column-header h3 {
  margin: 0;
  font-size: 1rem;
}

.org-kanban-remove-column {
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: #d64545;
  padding: 0.1rem 0.35rem;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.org-kanban-remove-column:hover,
.org-kanban-remove-column:focus {
  background: rgba(214, 69, 69, 0.08);
}

.org-kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-height: 60px;
}

.org-kanban-placeholder {
  border: 2px dashed #cbd2d9;
  border-radius: 8px;
  height: 60px;
  background: rgba(203, 210, 217, 0.25);
}

.org-kanban-card {
  background: #fff;
  border: 1px solid #cbd2d9;
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.07);
  cursor: grab;
}

.org-kanban-card:active {
  cursor: grabbing;
}

.org-kanban-card-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.org-kanban-card-title a {
  color: #1c64f2;
  text-decoration: none;
}

.org-kanban-card-title a:hover,
.org-kanban-card-title a:focus {
  text-decoration: underline;
}

.org-kanban-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #475467;
}

.org-kanban-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.org-kanban-card-actions button {
  border: 1px solid #d64545;
  background: transparent;
  color: #d64545;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.org-kanban-card-actions button:hover,
.org-kanban-card-actions button:focus {
  background: rgba(214, 69, 69, 0.12);
}

.org-kanban-empty {
  font-size: 0.82rem;
  text-align: center;
}

.muted {
  color: #8390a2;
}

@media (min-width: 900px) {
  .org-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .org-kanban-toolbar {
    justify-content: stretch;
  }

  .org-inline-form input {
    min-width: 0;
    flex: 1;
  }
}
.org-lines-clip{
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.org-link{background:none;border:none;padding:0;color:#2563eb;cursor:pointer}
.org-modal{position:fixed;inset:0;display:none;z-index:9999}
.org-modal.is-open{display:block}
.org-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.org-modal__dialog{position:relative;max-width:800px;margin:6vh auto;background:#fff;border-radius:16px;padding:20px;box-shadow:0 10px 40px rgba(0,0,0,.25);max-height:88vh;overflow:auto}
.org-modal__close{position:absolute;top:10px;right:12px;border:none;background:transparent;font-size:24px;cursor:pointer;line-height:1}
.org-modal__close:hover{color:#1f2937}
.org-modal__dialog::-webkit-scrollbar{width:10px}
.org-modal__dialog::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.org-modal__dialog::-webkit-scrollbar-track{background:#f1f5f9}

#org-quick-card{display:none}
#org-quick-card.is-open{display:block}
