:root {
  --o-bg: #f6f7fb;
  --o-sheet: #ffffff;
  --o-border: #d9dce7;
  --o-border-soft: #e7e9f1;
  --o-text: #2f3142;
  --o-muted: #6f7387;
  --o-primary: #714b67;
  --o-primary-2: #8b5f7f;
  --o-primary-soft: #efe7ec;
  --o-pill-blue: #30a3d8;
  --o-pill-green: #37b07f;
  --o-pill-yellow: #d2a31b;
  --o-focus: #3f89ff;
  --o-shadow: 0 2px 6px rgba(30, 34, 56, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
  color: var(--o-text);
  background: var(--o-bg);
  font-size: 13px;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

.o-body {
  display: flex;
  flex-direction: column;
}

.o-mainbar {
  height: 46px;
  background: #ffffff;
  border-bottom: 1px solid var(--o-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  gap: 8px;
}

.o-mainbar-left,
.o-mainbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.o-app-switcher {
  width: 28px;
  height: 28px;
  border: 1px solid var(--o-border);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--o-primary);
  font-size: 14px;
  background: #fff;
}

.o-app-name {
  font-weight: 600;
  color: #20222f;
  padding: 0 4px;
}

.o-main-link {
  color: #34384d;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 13px;
}

.o-main-link.is-active {
  color: var(--o-primary);
  background: var(--o-primary-soft);
}

.o-icon-btn {
  border: 1px solid var(--o-border);
  border-radius: 4px;
  height: 28px;
  min-width: 28px;
  padding: 0 8px;
  background: #fff;
  color: #464b63;
  font-size: 12px;
}

.o-company-pill {
  border: 1px solid var(--o-border);
  border-radius: 4px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #555b76;
  background: #fbfbfe;
}

.o-user-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--o-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.o-main-container {
  width: 100%;
  padding: 8px;
}

.o-app-shell {
  width: 100%;
}

.o-control-panel {
  border: 1px solid var(--o-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--o-shadow);
  padding: 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.o-control-panel-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.o-control-panel-center {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.o-control-panel-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.o-btn {
  border: 1px solid var(--o-border);
  border-radius: 3px;
  background: #fff;
  color: #3a3f56;
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
}

.o-btn:hover {
  background: #f4f6fd;
}

.o-btn-primary {
  border-color: var(--o-primary);
  background: var(--o-primary);
  color: #fff;
}

.o-btn-primary:hover {
  background: #65435c;
}

.o-btn-ghost {
  border-color: transparent;
  background: transparent;
}

.o-btn-mini {
  height: 26px;
  padding: 0 8px;
  font-size: 12px;
}

.o-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #4d536e;
  min-width: 0;
}

.o-breadcrumb-root {
  font-weight: 600;
}

.o-breadcrumb-current {
  color: #2e3244;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.o-search-panel {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.o-search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--o-border);
  border-radius: 3px;
  background: #fff;
  min-width: 240px;
  flex: 1;
  height: 30px;
}

.o-search-icon {
  color: #7a7f95;
  padding: 0 8px;
  font-size: 12px;
}

.o-search-box input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--o-text);
}

.o-search-box input:focus {
  box-shadow: inset 0 0 0 1px var(--o-focus);
  border-radius: 2px;
}

.o-filter-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.o-pager {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #565c76;
  white-space: nowrap;
}

.o-pager-label {
  min-width: 88px;
  text-align: center;
}

.o-view-switch {
  display: flex;
  align-items: center;
  gap: 3px;
}

.o-view-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--o-border);
  border-radius: 3px;
  background: #fff;
  color: #656b84;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.o-view-btn.is-active {
  border-color: #c7cbe0;
  background: #f1f3fb;
  color: #2f3348;
}

.o-list-view {
  margin-top: 8px;
  border: 1px solid var(--o-border);
  border-radius: 4px;
  background: #fff;
  padding: 8px;
  min-height: 420px;
  box-shadow: var(--o-shadow);
}

.o-kanban-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}

.o-kanban-card {
  border: 1px solid var(--o-border-soft);
  border-radius: 4px;
  background: #fff;
  min-height: 112px;
  padding: 8px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  cursor: pointer;
}

.o-kanban-card:hover {
  border-color: #c9cde0;
  box-shadow: 0 3px 8px rgba(38, 42, 58, 0.1);
}

.o-kanban-card.is-selected {
  border-color: var(--o-primary);
  box-shadow: 0 0 0 1px rgba(113, 75, 103, 0.2);
}

.o-kanban-avatar {
  width: 52px;
  height: 52px;
  border: 1px solid #d8dcec;
  border-radius: 4px;
  background: #f6f8ff;
  color: #4e5677;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
}

.o-kanban-title {
  font-size: 13px;
  font-weight: 600;
  color: #2f3347;
  margin-bottom: 4px;
}

.o-kanban-meta {
  color: #6f748c;
  font-size: 12px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.o-role-pill {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  padding: 1px 7px;
  color: #fff;
  background: var(--o-pill-yellow);
}

.o-role-pill.client {
  background: #d16063;
}

.o-role-pill.report {
  background: var(--o-pill-yellow);
}

.o-role-pill.emergency {
  background: var(--o-pill-blue);
}

.o-role-pill.responsible {
  background: var(--o-pill-green);
}

.o-empty {
  border: 1px dashed #cad0e5;
  border-radius: 4px;
  color: #676e88;
  text-align: center;
  padding: 34px 14px;
  margin-top: 8px;
}

.o-form-workspace {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 65.5%) minmax(0, 34.5%);
  gap: 0;
  border: 1px solid var(--o-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--o-shadow);
  height: calc(100vh - 110px);
  min-height: 600px;
  overflow: hidden;
}

.o-form-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  min-width: 0;
  overflow: auto;
  padding: 8px;
  border-right: 1px solid var(--o-border-soft);
}

.o-form-actions {
  border: 1px solid var(--o-border);
  border-radius: 4px;
  background: #fff;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: var(--o-shadow);
}

.o-form-actions-left,
.o-form-actions-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.o-form-workspace.is-detail .o-form-actions,
.o-form-workspace.is-detail .o-status-line {
  display: none;
}

.o-status-line {
  min-height: 18px;
  color: #a4484c;
  font-size: 12px;
}

.o-status-line.ok {
  color: #3b8568;
}

.o-smart-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.o-smart-button {
  border: 1px solid var(--o-border);
  border-radius: 3px;
  background: #fff;
  min-width: 110px;
  height: 40px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 2px 6px;
  text-align: center;
}

.o-smart-count {
  color: #2e3348;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.o-smart-label {
  color: #69708a;
  font-size: 11px;
  line-height: 1;
}

.o-form-sheet {
  border: 1px solid var(--o-border);
  border-radius: 4px;
  background: var(--o-sheet);
  box-shadow: var(--o-shadow);
}

.o-form-header {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--o-border-soft);
}

.o-avatar-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.o-avatar-large {
  width: 76px;
  height: 76px;
  border: 1px solid var(--o-border);
  border-radius: 4px;
  background: #f5f7ff;
  color: #5a6180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
}

.o-partner-header {
  min-width: 0;
}

.o-role-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #2d3247;
  margin-bottom: 8px;
}

.o-role-picker label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.o-record-title {
  margin: 0;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 300;
  color: #4f5873;
}

.o-record-title-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #85a4bf;
  background: transparent;
  color: #2d3245;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 300;
  padding: 1px 0;
  outline: none;
}

.o-company-line {
  margin-top: 6px;
  color: #646c87;
  font-size: 13px;
}

.o-company-input {
  margin-top: 6px;
  width: 340px;
  max-width: 100%;
  height: 28px;
  border: 1px solid var(--o-border);
  border-radius: 3px;
  padding: 0 8px;
  font-size: 13px;
  color: #31374d;
  background: #fff;
}

.o-identity-lines {
  margin-top: 8px;
  display: grid;
  gap: 2px;
  color: #676f8a;
  font-size: 12px;
}

.o-identity-lines strong {
  color: #3b3f56;
  font-weight: 600;
}

.o-header-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.o-header-contact-link {
  color: #2d588b;
  text-decoration: none;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.o-header-contact-link:hover,
.o-contact-card-link:hover {
  text-decoration: underline;
}

.o-header-sms-link {
  color: #2d588b;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

.o-field-group {
  border-bottom: 1px solid var(--o-border-soft);
  padding: 10px 12px 12px;
}

.o-field-group:last-child {
  border-bottom: none;
}

.o-field-group h3 {
  margin: 0 0 8px;
  color: #272c41;
  font-size: 17px;
  font-weight: 600;
}

.o-address-type-header {
  margin: 0 0 8px;
  color: #5c6481;
  font-size: 13px;
  font-weight: 600;
}

.o-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
}

.o-field-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.o-inline-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.o-intervention-range-inline {
  width: 100%;
  gap: 10px;
}

.o-intervention-range-inline .o-field-value-input {
  width: 180px;
  max-width: 100%;
}

.o-range-arrow {
  color: #666d88;
  font-weight: 600;
}

.o-field-label {
  color: #33384f;
  font-weight: 600;
  font-size: 13px;
}

.o-field-value {
  color: #565d79;
  font-size: 13px;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
}

.o-field-value-input {
  height: 28px;
  width: 100%;
  border: 1px solid var(--o-border);
  border-radius: 3px;
  padding: 0 8px;
  font-size: 13px;
  color: #2c3145;
}

.o-field-value-input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
}

.o-field-error {
  border-color: #c5474d !important;
  box-shadow: 0 0 0 1px rgba(197, 71, 77, 0.15);
}

.o-address-full {
  grid-column: 1 / -1;
}

.o-tabs-strip {
  border-top: 1px solid var(--o-border-soft);
  padding: 0 12px;
}

.o-tab {
  margin-top: -1px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--o-border);
  border-bottom: none;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background: #fff;
  color: #3e445d;
  min-height: 31px;
  padding: 0 10px;
  font-size: 13px;
}

.o-tab-content {
  border-top: 1px solid var(--o-border);
  padding: 12px;
}

.o-contact-cards-toolbar {
  margin-top: 10px;
}

.o-contact-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}

.o-contact-card {
  border: 1px solid var(--o-border-soft);
  border-radius: 4px;
  background: #fff;
  padding: 8px;
}

.o-contact-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #2f3347;
}

.o-contact-card-role {
  margin-top: 4px;
  font-size: 12px;
  color: #6d738d;
}

.o-contact-card-line {
  margin-top: 4px;
  font-size: 12px;
  color: #454c68;
}

.o-add-contact-box {
  width: 260px;
  max-width: 100%;
  height: 56px;
  border: 1px solid var(--o-border);
  border-radius: 3px;
  background: #fff;
  color: #1f8478;
}

.o-grid-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.o-grid-table th,
.o-grid-table td {
  border-bottom: 1px solid var(--o-border-soft);
  padding: 6px 8px;
  text-align: left;
  vertical-align: middle;
}

.o-grid-table thead th {
  color: #474e68;
  font-weight: 600;
  background: #fbfbff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.o-list-view .o-grid-table tbody tr {
  cursor: pointer;
}

.o-list-view .o-grid-table tbody tr:hover {
  background: #f7f9ff;
}

.o-intervention-table {
  margin-top: 8px;
}

.o-intervention-table tfoot th {
  font-weight: 700;
  color: #32384f;
  background: #f7f9ff;
}

.o-intervention-table tbody tr.is-selected {
  background: #ecf2ff;
}

.o-schedule-table tbody tr {
  cursor: default;
}

.o-schedule-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: #3f465f;
}

.o-schedule-table .o-field-value-input {
  min-width: 94px;
  height: 30px;
}

.o-schedule-time {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.o-central-camera-table .o-field-value-input {
  min-width: 130px;
}

.o-central-camera-table tbody.o-field-error {
  outline: 1px solid #c5474d;
  outline-offset: -1px;
}

.o-central-camera-empty td {
  color: #5d657f;
}

.o-camera-remove {
  color: #b43b44;
  min-width: 30px;
  height: 24px;
  padding: 0 6px;
  font-size: 11px;
}

.o-textarea {
  min-height: 84px;
  height: auto;
  padding: 6px 8px;
  line-height: 1.35;
  resize: vertical;
}

.o-chatter {
  border: 0;
  border-left: 1px solid var(--o-border-soft);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.o-chatter-toolbar {
  border-bottom: 1px solid var(--o-border-soft);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.o-chatter-actions,
.o-chatter-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.o-chatter-body {
  padding: 10px;
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.o-chatter-entry {
  border-bottom: 1px solid var(--o-border-soft);
  padding: 8px 0;
}

.o-chatter-entry:last-child {
  border-bottom: none;
}

.o-chatter-meta {
  color: #5d657f;
  font-size: 12px;
  margin-bottom: 3px;
}

.o-chatter-text {
  color: #31374d;
  font-size: 13px;
}

.o-chatter-day-separator {
  margin: 10px 0 6px;
  padding-top: 6px;
  border-top: 1px solid var(--o-border-soft);
  color: #626a85;
  font-size: 12px;
  font-weight: 600;
}

.o-chatter-composer {
  border-bottom: 1px solid var(--o-border-soft);
  padding: 8px;
  display: grid;
  gap: 6px;
}

.o-chatter-recipient-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
}

.o-chatter-recipient-row label {
  color: #4b526e;
  font-weight: 600;
  font-size: 12px;
}

.o-chatter-composer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.o-chatter-file-input {
  min-width: 220px;
  max-width: 100%;
}

.o-chatter-subline {
  margin-top: 4px;
  color: #59607c;
  font-size: 12px;
}

.o-chatter-side-panel {
  border-bottom: 1px solid var(--o-border-soft);
  padding: 8px 10px;
  display: grid;
  gap: 6px;
  background: #fafbff;
}

.o-chatter-side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.o-chatter-side-list {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}

.o-chatter-side-item {
  padding: 5px 0;
  border-bottom: 1px dashed var(--o-border-soft);
}

.o-chatter-side-item:last-child {
  border-bottom: none;
}

.o-chatter-side-meta {
  color: #59607c;
  font-size: 12px;
  margin-bottom: 2px;
}

.o-ticket-shell .o-list-view {
  min-height: 560px;
}

.o-intervention-shell .o-list-view {
  min-height: 560px;
}

.o-intervention-shell .o-form-workspace {
  grid-template-columns: 1fr;
}

.o-intervention-shell .o-form-main {
  border-right: 0;
}

.o-intervention-list-table {
  table-layout: fixed;
}

.o-intervention-list-table th:nth-child(1),
.o-intervention-list-table td:nth-child(1) {
  width: 168px;
}

.o-intervention-list-table th:nth-child(4),
.o-intervention-list-table td:nth-child(4) {
  width: 120px;
}

.o-intervention-list-table th:nth-child(5),
.o-intervention-list-table td:nth-child(5) {
  width: 110px;
}

.o-intervention-list-table td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o-intervention-detail-text {
  white-space: pre-wrap;
  line-height: 1.4;
}

.o-intervention-links,
.o-intervention-report-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.o-boolean-cell {
  text-align: center;
}

.o-readonly-bool {
  width: 15px;
  height: 15px;
  border: 1px solid #9ba3bf;
  border-radius: 2px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
}

.o-readonly-bool::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(-45deg) translate(1px, -1px);
}

.o-readonly-bool.is-checked {
  border-color: var(--o-primary);
  background: var(--o-primary);
}

.o-readonly-bool.is-checked::after {
  border-left-color: #fff;
  border-bottom-color: #fff;
}

.o-intervention-row-report {
  min-width: 68px;
}

.o-ticket-filter {
  min-width: 125px;
  width: auto;
}

.o-ticket-table {
  table-layout: fixed;
}

.o-ticket-table th:nth-child(1),
.o-ticket-table td:nth-child(1) {
  width: 92px;
}

.o-ticket-table th:nth-child(2),
.o-ticket-table td:nth-child(2) {
  width: 80px;
}

.o-ticket-table th:nth-child(4),
.o-ticket-table td:nth-child(4),
.o-ticket-table th:nth-child(5),
.o-ticket-table td:nth-child(5),
.o-ticket-table th:nth-child(8),
.o-ticket-table td:nth-child(8) {
  width: 150px;
}

.o-ticket-table td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o-ticket-row.is-selected {
  background: #edf2ff;
}

.o-ticket-stagebar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.o-ticket-stage-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--o-border);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  color: #575f7a;
  background: #fff;
}

.o-ticket-stage-chip.is-active {
  border-color: #95c6a9;
  background: #e8f6ec;
  color: #215d39;
}

.o-ticket-stage-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #95c6a9;
  background: #e8f6ec;
  color: #215d39;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  margin-bottom: 6px;
}

.o-ticket-description {
  white-space: pre-wrap;
  line-height: 1.4;
  color: #33394f;
}

.o-ticket-attachment-link {
  color: #2d588b;
  text-decoration: none;
}

.o-ticket-attachment-link:hover {
  text-decoration: underline;
}

.o-location-odoo-hidden {
  display: none !important;
}

.o-location-contact-cards {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.o-location-contact-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: start;
}

.o-location-contact-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid var(--o-border);
  border-radius: 4px;
  background: #f4f6ff;
  color: #5a6180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.o-location-contact-content {
  min-width: 0;
}

.o-contact-card-link {
  color: #2d588b;
  text-decoration: none;
}

.o-location-add-contact {
  width: auto;
  height: 28px;
  padding: 0 10px;
  color: #2d588b;
}

.o-add-line-link {
  color: #2d588b;
}

html.o-location-form-open,
body.o-location-form-open {
  overflow: hidden;
}

.o-hidden {
  display: none !important;
}

.o-form-workspace:not(.is-editing) .o-edit-only {
  display: none !important;
}

.o-form-workspace.is-editing .o-view-only {
  display: none !important;
}

.o-form-workspace.is-editing .o-role-picker input:not([value="client"]),
.o-form-workspace.is-editing .o-role-picker input[value="client"] {
  cursor: pointer;
}

.o-form-workspace:not(.is-editing) .o-role-picker input {
  pointer-events: none;
}

.o-form-workspace .o-role-picker input {
  accent-color: var(--o-primary);
}

.o-index-redirect {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  color: #636b85;
}

@media (max-width: 1280px) {
  .o-control-panel {
    grid-template-columns: 1fr;
  }

  .o-control-panel-left,
  .o-control-panel-center,
  .o-control-panel-right {
    width: 100%;
    justify-content: space-between;
  }

  .o-search-panel {
    flex-wrap: wrap;
  }

  .o-ticket-filter {
    flex: 1 1 170px;
  }

  .o-form-workspace {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .o-form-main {
    border-right: 0;
    overflow: visible;
  }

  .o-chatter {
    border-left: 0;
    border-top: 1px solid var(--o-border-soft);
    min-height: 320px;
  }

  .o-ticket-table {
    table-layout: auto;
  }

  .o-intervention-list-table {
    table-layout: auto;
  }
}

@media (max-width: 900px) {
  .o-mainbar {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
  }

  .o-mainbar-left,
  .o-mainbar-right {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .o-record-title,
  .o-record-title-input {
    font-size: 30px;
  }

  .o-form-header {
    grid-template-columns: 1fr;
  }

  .o-avatar-panel {
    justify-content: flex-start;
  }

  .o-field-grid {
    grid-template-columns: 1fr;
  }

  .o-field-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-bottom: 4px;
  }

  .o-ticket-filter {
    min-width: 0;
    width: 100%;
  }

  .o-chatter-file-input {
    min-width: 0;
    width: 100%;
  }
}
