:root {
  --nt-dark: #1f1f23;
  --nt-charcoal: #3a3a40;
  --nt-muted: #7f858e;
  --nt-line: #e3e7e9;
  --nt-bg: #f7f8fa;
  --nt-white: #ffffff;
  --nt-primary: #1d9b8d;
  --nt-primary-dark: #14786f;
  --nt-primary-soft: #e7f6f3;
  --nt-secondary: #c950b4;
  --nt-secondary-dark: #a83f96;
  --nt-secondary-soft: #faedf7;
  --nt-accent: var(--nt-secondary);
  --nt-green-dark: var(--nt-primary-dark);
  --nt-green: var(--nt-primary);
  --nt-green-soft: var(--nt-primary-soft);
  --nt-danger: #b74355;
  --nt-danger-soft: #fff0f2;
  --nt-warning: #a96b17;
  --nt-warning-soft: #fff8e8;
  --nt-success: #267b62;
  --nt-success-soft: #e9f7f1;
  --nt-shadow-sm: 0 2px 8px rgba(31, 31, 35, 0.05);
  --nt-shadow: 0 14px 40px rgba(31, 31, 35, 0.08);
  --nt-radius-sm: 10px;
  --nt-radius: 16px;
  --nt-radius-lg: 22px;
}

.nt-app,
.nt-app *,
.nt-login-panel,
.nt-login-panel * {
  box-sizing: border-box;
}

.nt-app,
.nt-login-panel {
  color: var(--nt-dark);
  font-family: Poppins, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.nt-app button,
.nt-app input,
.nt-app textarea,
.nt-app select,
.nt-login-panel button,
.nt-login-panel input {
  font: inherit;
}

.nt-app button,
.nt-app a {
  -webkit-tap-highlight-color: transparent;
}

.nt-app img {
  max-width: 100%;
}

.nt-app a {
  color: inherit;
  text-decoration: none;
}

.nt-app p,
.nt-app h1,
.nt-app h2,
.nt-app h3 {
  margin: 0;
}

.nt-app h1,
.nt-app h2,
.nt-app h3,
.nt-login-panel h2 {
  color: var(--nt-dark);
  font-family: Poppins, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.025em;
}

.nt-sr-only {
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.nt-shell {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-lg);
  box-shadow: var(--nt-shadow);
  min-height: 720px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.nt-app--admin {
  margin-top: 18px;
  max-width: 1440px;
}

.nt-admin-wrap {
  margin-right: 20px;
}

.nordic-time-page .entry-content,
.nordic-time-page .site-main,
.nordic-time-page main {
  max-width: none;
}

.nordic-time-page .nt-app {
  margin: 20px auto;
  max-width: 1440px;
  padding: 0 18px;
}

.nt-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--nt-line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px) minmax(260px, 1fr);
  min-height: 88px;
  padding: 16px 26px;
  position: relative;
  z-index: 4;
}

.nt-brand {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.nt-brand__logo {
  display: block;
  height: auto;
  max-width: 210px !important;
  min-width: 150px;
  width: 44%;
}

.nt-brand__divider {
  align-self: stretch;
  background: var(--nt-line);
  margin: 3px 0;
  width: 1px;
}

.nt-brand__product {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.nt-brand__org {
  color: var(--nt-muted);
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
}

.nt-header__timer {
  align-items: center;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 54px;
  padding: 8px 16px;
}

.nt-header__timer > div {
  align-items: baseline;
  display: grid;
  gap: 0 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
}

.nt-header__timer strong {
  color: var(--nt-dark);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  grid-column: 2;
  grid-row: 1 / span 2;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nt-header__task {
  font-size: 14px;
  font-weight: 600;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-status-dot,
.nt-connection-dot {
  background: var(--nt-muted);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.nt-status-dot.is-running,
.nt-connection-dot.is-connected {
  background: var(--nt-green);
  box-shadow: 0 0 0 4px rgba(67, 186, 189, 0.14);
}

.nt-status-dot.is-idle {
  background: #e4a33c;
  box-shadow: 0 0 0 4px rgba(228, 163, 60, 0.14);
}

.nt-header__actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.nt-user-chip {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: var(--nt-dark);
  cursor: pointer;
  display: flex;
  gap: 10px;
  max-width: 230px;
  padding: 5px 7px;
  text-align: left;
  transition: background 0.18s ease;
}

.nt-user-chip:hover {
  background: var(--nt-bg);
}

.nt-user-chip img,
.nt-user-chip__fallback {
  align-items: center;
  background: var(--nt-green-soft);
  border-radius: 50%;
  display: flex;
  height: 38px;
  justify-content: center;
  object-fit: cover;
  width: 38px;
}

.nt-user-chip__text {
  display: grid;
  min-width: 0;
}

.nt-user-chip__text strong {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-user-chip__text small {
  align-items: center;
  color: var(--nt-muted);
  display: flex;
  font-size: 11px;
  gap: 7px;
  white-space: nowrap;
}

.nt-user-chip__text .nt-connection-dot {
  height: 7px;
  width: 7px;
}

.nt-nav {
  background: var(--nt-white);
  border-bottom: 1px solid var(--nt-line);
}

.nt-nav__inner {
  display: flex;
  gap: 4px;
  margin: 0 auto;
  max-width: 1380px;
  overflow-x: auto;
  padding: 0 26px;
  scrollbar-width: none;
}

.nt-nav__inner::-webkit-scrollbar {
  display: none;
}

.nt-nav__item {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--nt-muted);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  min-height: 53px;
  padding: 0 16px;
  white-space: nowrap;
}

.nt-nav__item:hover {
  color: var(--nt-charcoal);
}

.nt-nav__item.is-active {
  border-bottom-color: var(--nt-green);
  color: var(--nt-dark);
}

.nt-nav__item em {
  align-items: center;
  background: var(--nt-danger-soft);
  border-radius: 999px;
  color: var(--nt-danger);
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 5px;
}

.nt-main {
  margin: 0 auto;
  max-width: 1380px;
  min-height: 550px;
  padding: 30px 26px 40px;
}

.nt-view {
  animation: none;
}

@keyframes nt-fade-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.nt-view-heading {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.nt-view-heading h1 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
  margin: 3px 0 6px;
}

.nt-view-heading p {
  color: var(--nt-muted);
  max-width: 680px;
}

.nt-eyebrow {
  color: var(--nt-green-dark);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.nt-card {
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  box-shadow: var(--nt-shadow-sm);
}

.nt-card__header,
.nt-card__title {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.nt-card__title h2 {
  font-size: 19px;
  line-height: 1.25;
}

.nt-card__title p {
  color: var(--nt-muted);
  font-size: 13px;
  margin-top: 3px;
  max-width: 680px;
}

.nt-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.nt-summary__item {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--nt-line);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px;
}

.nt-summary__icon {
  align-items: center;
  background: var(--nt-bg);
  border-radius: 10px;
  color: var(--nt-charcoal);
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nt-summary__item--billable .nt-summary__icon {
  background: var(--nt-success-soft);
  color: var(--nt-success);
}

.nt-summary__item--pending .nt-summary__icon {
  background: var(--nt-warning-soft);
  color: var(--nt-warning);
}

.nt-summary__item div {
  display: grid;
}

.nt-summary__item small {
  color: var(--nt-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nt-summary__item strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.nt-timer-layout,
.nt-settings-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(350px, 0.9fr) minmax(480px, 1.35fr);
}

.nt-stack {
  display: grid;
  gap: 20px;
}

.nt-current {
  background: var(--nt-white);
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.nt-current::before {
  background: var(--nt-green);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.nt-current.is-idle::before {
  background: #e6a53d;
}

.nt-current h1 {
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.18;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
}

.nt-current .nt-card__header > div:first-child > span:not(.nt-eyebrow) {
  color: var(--nt-muted);
  font-size: 13px;
}

.nt-live {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  min-width: 130px;
}

.nt-live strong {
  font-size: clamp(27px, 4vw, 38px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.015em;
  line-height: 1.05;
}

.nt-live small {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-live__dot {
  background: var(--nt-green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(67, 186, 189, 0.12);
  height: 8px;
  margin-bottom: 8px;
  width: 8px;
}

.nt-current.is-idle .nt-live__dot {
  background: #e4a33c;
  box-shadow: 0 0 0 5px rgba(228, 163, 60, 0.13);
}

.nt-idle-message {
  align-items: flex-start;
  background: var(--nt-warning-soft);
  border: 1px solid #f4dfb7;
  border-radius: 12px;
  color: var(--nt-warning);
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
}

.nt-idle-message div {
  display: grid;
}

.nt-idle-message strong {
  color: #79511a;
  font-size: 13px;
}

.nt-idle-message span {
  font-size: 12px;
}

.nt-current__fields {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 20px;
}

.nt-current__footer {
  align-items: center;
  border-top: 1px solid var(--nt-line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
}

.nt-text-link,
.nt-text-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--nt-accent) !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
  padding: 0;
}

.nt-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.nt-field > span {
  color: var(--nt-charcoal);
  font-size: 12px;
  font-weight: 600;
}

.nt-field input,
.nt-field textarea,
.nt-field select,
.nt-search input,
.nt-select-wrap select,
.nt-copy-field input {
  background: var(--nt-white);
  border: 1px solid #d9dce1;
  border-radius: 10px;
  box-shadow: none;
  color: var(--nt-dark);
  min-height: 42px;
  outline: none;
  padding: 9px 11px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  width: 100%;
}

.nt-field textarea {
  line-height: 1.45;
  min-height: 68px;
  resize: vertical;
}

.nt-field input:focus,
.nt-field textarea:focus,
.nt-field select:focus,
.nt-search input:focus,
.nt-select-wrap select:focus,
.nt-copy-field input:focus {
  border-color: var(--nt-green);
  box-shadow: 0 0 0 3px rgba(67, 186, 189, 0.13);
}

.nt-field--full {
  grid-column: 1 / -1;
}

.nt-toggle {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 9px;
  min-height: 42px;
  white-space: nowrap;
}

.nt-toggle input {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.nt-toggle__track {
  background: #c9cdd3;
  border-radius: 999px;
  display: inline-block;
  height: 22px;
  position: relative;
  transition: background 0.18s ease;
  width: 40px;
}

.nt-toggle__track::after {
  background: var(--nt-white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(31, 31, 35, 0.25);
  content: "";
  height: 16px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 0.18s ease;
  width: 16px;
}

.nt-toggle input:checked + .nt-toggle__track {
  background: var(--nt-green-dark);
}

.nt-toggle input:checked + .nt-toggle__track::after {
  transform: translateX(18px);
}

.nt-toggle input:focus-visible + .nt-toggle__track {
  box-shadow: 0 0 0 3px rgba(29, 155, 141, 0.24);
}

.nt-quick {
  padding: 21px;
}

.nt-quick__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.nt-quick__item {
  align-items: center;
  background: var(--nt-bg);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--nt-dark);
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 11px;
  text-align: left;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.nt-quick__item:hover {
  background: var(--nt-green-soft);
  border-color: rgba(29, 155, 141, 0.18);
  transform: translateY(-1px);
}

.nt-quick__icon {
  align-items: center;
  background: var(--nt-white);
  border-radius: 9px;
  color: var(--nt-green-dark);
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nt-quick__item > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.nt-quick__item strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-quick__item small {
  color: var(--nt-muted);
  font-size: 9px;
}

.nt-task-panel {
  min-height: 610px;
  overflow: hidden;
}

.nt-task-panel__title {
  padding: 22px 22px 17px;
}

.nt-inline-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nt-task-toolbar {
  background: #fbfbfc;
  border-bottom: 1px solid var(--nt-line);
  border-top: 1px solid var(--nt-line);
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(180px, 1fr) minmax(160px, 0.7fr);
  padding: 12px 16px;
}

.nt-segmented {
  align-items: center;
  background: #eceef1;
  border-radius: 10px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}

.nt-segmented button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--nt-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 5px;
  min-height: 32px;
  padding: 6px 10px;
  white-space: nowrap;
}

.nt-segmented button.is-active {
  background: var(--nt-white);
  box-shadow: 0 1px 4px rgba(31, 31, 35, 0.08);
  color: var(--nt-dark);
}

.nt-segmented--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.nt-segmented--wide button {
  justify-content: center;
}

.nt-search,
.nt-select-wrap {
  align-items: center;
  display: flex;
  min-width: 0;
  position: relative;
}

.nt-search > .nt-icon,
.nt-select-wrap > .nt-icon {
  color: var(--nt-muted);
  left: 11px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.nt-search input,
.nt-select-wrap select {
  background: var(--nt-white);
  font-size: 12px;
  min-height: 38px;
  padding-left: 34px;
}

.nt-select-wrap select {
  appearance: auto;
}

.nt-task-list {
  max-height: 520px;
  overflow: auto;
  padding: 6px 12px 12px;
  scrollbar-color: #c7cbd1 transparent;
  scrollbar-width: thin;
}

.nt-task {
  align-items: center;
  border-bottom: 1px solid #eef0f2;
  display: grid;
  gap: 11px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  min-height: 82px;
  padding: 12px 8px;
}

.nt-task:last-child {
  border-bottom: 0;
}

.nt-task:hover {
  background: #fbfcfc;
}

.nt-task__type {
  align-items: center;
  background: var(--nt-green-soft);
  border-radius: 9px;
  color: var(--nt-green-dark);
  display: flex;
  height: 35px;
  justify-content: center;
  width: 35px;
}

.nt-task__body {
  min-width: 0;
}

.nt-task__body > small,
.nt-modal-task small {
  color: var(--nt-green-dark);
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-task__body h3 {
  font-size: 14px;
  line-height: 1.35;
  margin: 2px 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-task__meta,
.nt-ticket__meta {
  align-items: center;
  color: var(--nt-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 9px;
  gap: 8px 12px;
}

.nt-task__meta span,
.nt-ticket__meta span {
  align-items: center;
  display: inline-flex;
  gap: 4px;
}

.nt-pill {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  color: var(--nt-charcoal);
  display: inline-flex;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
}

.nt-button,
.nt-icon-button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 600;
  gap: 7px;
  justify-content: center;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.nt-button {
  border-radius: 10px;
  font-size: 12px;
  min-height: 39px;
  padding: 9px 14px;
}

.nt-button:hover,
.nt-icon-button:hover {
  transform: translateY(-1px);
}

.nt-button:focus-visible,
.nt-icon-button:focus-visible,
.nt-nav__item:focus-visible,
.nt-quick__item:focus-visible {
  box-shadow: 0 0 0 3px rgba(29, 155, 141, 0.23);
  outline: none;
}

.nt-button--primary {
  background: var(--nt-green);
  border-color: var(--nt-green-dark);
  color: var(--nt-white) !important;
  box-shadow: 0 6px 16px rgba(29, 155, 141, 0.18);
}

.nt-button--primary:hover {
  box-shadow: 0 8px 20px rgba(29, 155, 141, 0.24);
}

.nt-button--ghost {
  background: var(--nt-white);
  border-color: #d9dce1;
  color: var(--nt-charcoal) !important;
}

.nt-button--ghost:hover {
  background: var(--nt-bg);
  border-color: #c8ccd2;
}

.nt-button--danger {
  background: var(--nt-danger-soft);
  border-color: #f1ccd2;
  color: var(--nt-danger) !important;
}

.nt-button--start {
  background: var(--nt-green-soft);
  border-color: #cde9e7;
  color: var(--nt-green-dark) !important;
}

.nt-button--start:hover {
  background: #d7f1ef;
}

.nt-button--small {
  font-size: 11px;
  min-height: 34px;
  padding: 7px 10px;
}

.nt-button--large {
  font-size: 13px;
  min-height: 46px;
  padding: 11px 18px;
}

.nt-button.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.nt-icon-button {
  background: var(--nt-white);
  border-color: var(--nt-line);
  border-radius: 9px;
  color: var(--nt-charcoal);
  height: 36px;
  padding: 0;
  width: 36px;
}

.nt-icon-button:hover {
  background: var(--nt-bg);
  border-color: #cfd2d7;
}

.nt-icon-button--danger {
  color: var(--nt-danger);
}

.nt-task__link {
  height: 32px;
  width: 32px;
}

.nt-list-loading,
.nt-empty {
  align-items: center;
  color: var(--nt-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 240px;
  padding: 32px;
  text-align: center;
}

.nt-list-loading {
  flex-direction: row;
  min-height: 160px;
}

.nt-empty h3 {
  font-size: 16px;
}

.nt-empty p {
  font-size: 12px;
  max-width: 360px;
}

.nt-empty--error {
  color: var(--nt-danger);
}

.nt-spinner {
  animation: nt-spin 0.75s linear infinite;
  border: 2px solid rgba(29, 155, 141, 0.2);
  border-radius: 50%;
  border-top-color: var(--nt-green-dark);
  display: inline-block;
  height: 23px;
  width: 23px;
}

@keyframes nt-spin {
  to { transform: rotate(360deg); }
}

.nt-history-card {
  overflow: hidden;
}

.nt-entry-list {
  display: grid;
}

.nt-entry {
  align-items: stretch;
  border-bottom: 1px solid var(--nt-line);
  display: grid;
  gap: 18px;
  grid-template-columns: 115px minmax(0, 1fr) auto;
  min-height: 128px;
  padding: 18px 20px;
  position: relative;
}

.nt-entry:last-child {
  border-bottom: 0;
}

.nt-entry.is-pending {
  background: var(--nt-warning-soft);
}

.nt-entry.is-pending::before {
  background: #e4a33c;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 3px;
}

.nt-entry__time {
  border-right: 1px solid var(--nt-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 18px;
}

.nt-entry__time strong {
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.nt-entry__time span,
.nt-entry__time small {
  color: var(--nt-muted);
  font-size: 9px;
}

.nt-entry__content {
  align-self: center;
  min-width: 0;
}

.nt-entry__heading {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.nt-entry__heading h3 {
  font-size: 14px;
  line-height: 1.35;
}

.nt-entry__project {
  color: var(--nt-green-dark);
  display: block;
  font-size: 9px;
  font-weight: 600;
}

.nt-entry__notes {
  color: var(--nt-charcoal);
  font-size: 12px;
  margin-top: 6px !important;
  overflow-wrap: anywhere;
}

.nt-entry__sync {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.nt-sync,
.nt-source-chip,
.nt-billable-chip {
  align-items: center;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  color: var(--nt-muted);
  display: inline-flex;
  font-size: 8px;
  font-weight: 600;
  gap: 5px;
  padding: 3px 7px;
}

.nt-sync i {
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
  height: 5px;
  width: 5px;
}

.nt-sync--synced {
  background: var(--nt-success-soft);
  border-color: #cee9dd;
  color: var(--nt-success);
}

.nt-sync--failed {
  background: var(--nt-danger-soft);
  border-color: #f1ccd2;
  color: var(--nt-danger);
}

.nt-sync--waiting,
.nt-sync--pending {
  background: var(--nt-warning-soft);
  border-color: #f0dfbd;
  color: var(--nt-warning);
}

.nt-billable-chip {
  cursor: pointer;
  white-space: nowrap;
}

.nt-billable-chip.is-billable {
  background: var(--nt-success-soft);
  border-color: #cee9dd;
  color: var(--nt-success);
}

.nt-entry__error {
  align-items: flex-start;
  color: var(--nt-danger);
  display: flex;
  font-size: 9px;
  gap: 5px;
  margin-top: 8px;
}

.nt-entry__actions {
  align-items: center;
  display: flex;
  gap: 5px;
}

.nt-ticket-card {
  overflow: hidden;
}

.nt-ticket-list {
  display: grid;
}

.nt-ticket {
  align-items: center;
  border-bottom: 1px solid var(--nt-line);
  display: grid;
  gap: 16px;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  min-height: 92px;
  padding: 16px 20px;
}

.nt-ticket:last-child {
  border-bottom: 0;
}

.nt-ticket__number {
  align-items: center;
  background: var(--nt-green-soft);
  border-radius: 10px;
  color: var(--nt-green-dark);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
}

.nt-ticket__body h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.nt-ticket__actions {
  align-items: center;
  display: flex;
  gap: 7px;
}

.nt-setup-prompt,
.nt-info-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: 44px;
  text-align: center;
}

.nt-setup-prompt__icon,
.nt-info-card__icon {
  align-items: center;
  background: var(--nt-green-soft);
  border-radius: 16px;
  color: var(--nt-green-dark);
  display: flex;
  height: 62px;
  justify-content: center;
  margin-bottom: 18px;
  width: 62px;
}

.nt-setup-prompt h2,
.nt-info-card h2 {
  font-size: 21px;
}

.nt-setup-prompt p,
.nt-info-card p {
  color: var(--nt-muted);
  font-size: 13px;
  margin: 8px 0 20px;
  max-width: 470px;
}

.nt-settings-layout {
  grid-template-columns: minmax(280px, 0.65fr) minmax(560px, 1.6fr);
}

.nt-connection,
.nt-notification-card {
  padding: 20px;
}

.nt-connection.is-connected {
  border-color: #cde5dc;
}

.nt-connection__head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.nt-connection__icon {
  align-items: center;
  background: var(--nt-green-soft);
  border-radius: 11px;
  color: var(--nt-green-dark);
  display: flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nt-connection__head h2 {
  font-size: 15px;
}

.nt-connection__head p {
  color: var(--nt-muted);
  font-size: 11px;
  margin-top: 3px;
}

.nt-connection__status {
  align-items: center;
  background: var(--nt-bg);
  border-radius: 10px;
  display: flex;
  gap: 10px;
  margin: 16px 0 12px;
  min-height: 50px;
  padding: 9px 12px;
}

.nt-connection__status > div {
  display: grid;
}

.nt-connection__status strong {
  font-size: 12px;
}

.nt-connection__status small {
  color: var(--nt-muted);
  font-size: 9px;
  overflow-wrap: anywhere;
}

.nt-connection__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nt-settings-form {
  display: grid;
  gap: 20px;
}

.nt-settings-section {
  padding: 23px;
}

.nt-settings-section > .nt-card__title {
  border-bottom: 1px solid var(--nt-line);
  margin-bottom: 19px;
  padding-bottom: 15px;
}

.nt-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-form-grid--columns {
  margin-top: 15px;
}

.nt-check-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 17px;
}

.nt-check {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 9px;
}

.nt-check input {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.nt-check > span {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid #cfd3d8;
  border-radius: 6px;
  color: transparent;
  display: flex;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.nt-check input:checked + span {
  background: var(--nt-green-dark);
  border-color: var(--nt-green-dark);
  color: var(--nt-white);
}

.nt-check strong {
  font-size: 11px;
  font-weight: 600;
}

.nt-check--standalone {
  margin-top: 3px;
}

.nt-copy-field {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.nt-copy-field input {
  background: var(--nt-bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.nt-details {
  border-top: 1px solid var(--nt-line);
  margin-top: 18px;
  padding-top: 14px;
}

.nt-details summary {
  color: var(--nt-charcoal);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.nt-help {
  color: var(--nt-muted);
  font-size: 11px;
  margin: 8px 0 14px !important;
}

.nt-category-list {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}

.nt-category-row {
  align-items: end;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(120px, 1.1fr) 92px repeat(4, minmax(105px, 1fr)) auto auto;
  padding: 10px;
}

.nt-category-row .nt-field > span {
  font-size: 8px;
}

.nt-category-row .nt-field input,
.nt-category-row .nt-field select {
  font-size: 9px;
  min-height: 34px;
  padding: 6px 8px;
}

.nt-category-row__handle {
  align-items: center;
  color: var(--nt-muted);
  display: flex;
  height: 34px;
}

.nt-mini-check {
  align-items: center;
  display: flex;
  font-size: 9px;
  gap: 4px;
  height: 34px;
}


.nt-oauth-wizard {
  background: var(--nt-green-soft);
  border-color: rgba(29, 155, 141, 0.24);
}

.nt-oauth-wizard__head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.nt-oauth-wizard__head h2 {
  font-size: 20px;
  margin: 2px 0 4px;
}

.nt-oauth-wizard__head p {
  color: var(--nt-charcoal);
  font-size: 12px;
  max-width: 720px;
}

.nt-oauth-wizard__icon {
  align-items: center;
  background: var(--nt-green);
  border-radius: 12px;
  color: var(--nt-white);
  display: flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
}

.nt-oauth-steps {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 4px;
}

.nt-oauth-steps > div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 155, 141, 0.18);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 11px;
}

.nt-oauth-steps > div > span {
  align-items: center;
  background: var(--nt-green-dark);
  border-radius: 50%;
  color: var(--nt-white);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  grid-row: 1 / span 2;
  height: 22px;
  justify-content: center;
  margin-right: 8px;
  width: 22px;
}

.nt-oauth-steps strong {
  font-size: 11px;
}

.nt-oauth-steps small {
  color: var(--nt-muted);
  font-size: 8px;
}

.nt-scope-box {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 155, 141, 0.18);
  border-radius: 12px;
  margin-top: 16px;
  padding: 13px;
}

.nt-scope-box > div:first-child {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.nt-scope-box strong {
  font-size: 11px;
}

.nt-scope-box span {
  color: var(--nt-muted);
  font-size: 9px;
}

.nt-scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
  max-height: 92px;
  overflow: auto;
}

.nt-scope-list code {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  color: var(--nt-charcoal);
  font-size: 8px;
  padding: 4px 6px;
}

.nt-oauth-credentials {
  border-top-color: rgba(29, 155, 141, 0.18);
}

.nt-oauth-actions {
  align-items: center;
  border-top: 1px solid rgba(29, 155, 141, 0.18);
  display: flex;
  gap: 13px;
  margin-top: 18px;
  padding-top: 17px;
}

.nt-oauth-actions span {
  color: var(--nt-muted);
  font-size: 9px;
}

.nt-field input[readonly] {
  background: var(--nt-bg);
  color: var(--nt-muted);
}

.nt-settings-save {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding: 16px;
  position: sticky;
  bottom: 10px;
  z-index: 3;
}

.nt-settings-save span {
  color: var(--nt-muted);
  font-size: 9px;
  margin-right: auto;
}

.nt-callout {
  background: var(--nt-warning-soft);
  border: 1px solid #efddb8;
  border-radius: 10px;
  color: #7f591e;
  font-size: 12px;
  padding: 11px 13px;
}

.nt-callout--small {
  font-size: 9px;
  margin-top: 12px;
}

.nt-modal-backdrop {
  align-items: center;
  animation: none;
  background: rgba(31, 31, 35, 0.55);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100000;
}

@keyframes nt-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nt-modal {
  animation: none;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(12, 18, 23, 0.28);
  max-height: min(90vh, 860px);
  max-width: 720px;
  overflow: hidden;
  width: 100%;
}

@keyframes nt-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.nt-modal__head {
  align-items: flex-start;
  border-bottom: 1px solid var(--nt-line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 21px 23px;
}

.nt-modal__head h2 {
  font-size: 21px;
}

.nt-modal__head p {
  color: var(--nt-muted);
  font-size: 12px;
  margin-top: 3px;
}

.nt-modal__body {
  max-height: calc(90vh - 110px);
  overflow: auto;
  padding: 22px 23px;
}

.nt-modal-form {
  display: grid;
  gap: 15px;
}

.nt-modal__footer {
  align-items: center;
  border-top: 1px solid var(--nt-line);
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 4px;
  padding-top: 17px;
}

.nt-idle-modal__time {
  align-items: center;
  background: var(--nt-warning-soft);
  border: 1px solid #efddb8;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  padding: 13px 15px;
}

.nt-idle-modal__time span {
  color: var(--nt-warning);
  font-size: 12px;
  font-weight: 600;
}

.nt-idle-modal__time strong {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.nt-modal-section {
  margin-top: 20px;
}

.nt-modal-section > h3,
.nt-modal-section__head h3 {
  font-size: 13px;
  margin-bottom: 9px;
}

.nt-modal-section__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.nt-modal-quick {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-modal-quick button {
  align-items: center;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 11px;
  cursor: pointer;
  display: grid;
  gap: 3px 9px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 11px;
  text-align: left;
}

.nt-modal-quick button:hover {
  background: var(--nt-green-soft);
  border-color: #c9e4e2;
}

.nt-modal-quick button > span {
  align-items: center;
  color: var(--nt-green-dark);
  display: flex;
  grid-row: 1 / span 2;
}

.nt-modal-quick strong {
  font-size: 12px;
}

.nt-modal-quick small {
  color: var(--nt-muted);
  font-size: 8px;
}

.nt-modal-tasks,
.nt-modal-tasklist {
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  display: grid;
  max-height: 380px;
  overflow: auto;
}

.nt-modal-tasks button,
.nt-modal-task {
  align-items: center;
  background: var(--nt-white);
  border: 0;
  border-bottom: 1px solid var(--nt-line);
  color: var(--nt-dark);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 12px;
  text-align: left;
}

.nt-modal-tasks button:last-child,
.nt-modal-task:last-child {
  border-bottom: 0;
}

.nt-modal-tasks button:hover,
.nt-modal-task:hover {
  background: var(--nt-bg);
}

.nt-modal-tasks span,
.nt-modal-task > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.nt-modal-tasks small {
  color: var(--nt-green-dark);
  font-size: 8px;
}

.nt-modal-tasks strong,
.nt-modal-task strong {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-search--modal {
  margin-bottom: 12px;
}

.nt-modal-task {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 57px;
}

.nt-modal-task__icon {
  align-items: center;
  background: var(--nt-green-soft);
  border-radius: 8px;
  color: var(--nt-green-dark);
  display: flex !important;
  height: 31px;
  justify-content: center;
  width: 31px;
}

.nt-global-busy {
  align-items: center;
  background: rgba(255, 255, 255, 0.83);
  color: var(--nt-charcoal);
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 9px;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 100010;
}

.nt-toast-region {
  bottom: 22px;
  display: grid;
  gap: 8px;
  max-width: min(420px, calc(100vw - 32px));
  position: fixed;
  right: 22px;
  width: 100%;
  z-index: 100020;
}

.nt-toast {
  align-items: flex-start;
  animation: nt-toast-in 0.2s ease-out;
  background: var(--nt-dark);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(31, 31, 35, 0.25);
  color: var(--nt-white);
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 12px 13px;
}

@keyframes nt-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nt-toast > span {
  color: var(--nt-green);
}

.nt-toast--error > span {
  color: #ff8293;
}

.nt-toast p {
  font-size: 11px;
}

.nt-toast button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 0;
}

.nt-footer {
  align-items: center;
  background: var(--nt-white);
  border-top: 1px solid var(--nt-line);
  color: var(--nt-muted);
  display: flex;
  font-size: 9px;
  gap: 18px;
  justify-content: center;
  min-height: 42px;
  padding: 8px 20px;
}

.nt-footer__status {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.nt-footer__status i {
  background: var(--nt-danger);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.nt-footer__status i.is-online {
  background: var(--nt-success);
}

.nt-loading,
.nt-fatal {
  align-items: center;
  background: var(--nt-bg);
  color: var(--nt-muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  min-height: 650px;
  padding: 40px;
  text-align: center;
}

.nt-loading__logo,
.nt-fatal img {
  height: auto;
  margin-bottom: 10px;
  max-width: 270px !important;
  width: 65%;
}

.nt-fatal > span {
  color: var(--nt-danger);
}

.nt-fatal h2 {
  font-size: 22px;
}

.nt-fatal p {
  max-width: 500px;
}

.nt-login-panel {
  align-items: center;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-lg);
  box-shadow: var(--nt-shadow);
  display: flex;
  flex-direction: column;
  margin: 30px auto;
  max-width: 620px;
  padding: 54px 38px;
  text-align: center;
}

.nt-login-panel img {
  margin-bottom: 28px;
  max-width: 280px;
}

.nt-login-panel h2 {
  font-size: 26px;
  margin: 0 0 10px;
}

.nt-login-panel p {
  color: var(--nt-muted);
  margin: 0 0 22px;
  max-width: 460px;
}


.nt-oauth-state {
  align-items: flex-start;
  background: var(--nt-warning-soft);
  border: 1px solid #efddb8;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 13px;
}

.nt-oauth-state > span {
  align-items: center;
  background: rgba(169, 107, 23, 0.12);
  border-radius: 8px;
  color: var(--nt-warning);
  display: flex;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
}

.nt-oauth-state > div {
  display: grid;
  gap: 2px;
}

.nt-oauth-state strong {
  font-size: 11px;
}

.nt-oauth-state small {
  color: var(--nt-charcoal);
  font-size: 9px;
}

.nt-oauth-state.is-ready {
  background: var(--nt-success-soft);
  border-color: rgba(38, 123, 98, 0.22);
}

.nt-oauth-state.is-ready > span {
  background: rgba(38, 123, 98, 0.12);
  color: var(--nt-success);
}

.nt-oauth-console {
  display: inline-flex;
  gap: 5px;
}

.nt-discovery__title {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.nt-discovery-status {
  align-items: flex-start;
  background: var(--nt-success-soft);
  border: 1px solid rgba(38, 123, 98, 0.2);
  border-radius: 12px;
  color: var(--nt-success);
  display: flex;
  gap: 10px;
  margin: 14px 0 16px;
  padding: 12px 13px;
}

.nt-discovery-status > .nt-icon {
  flex: 0 0 auto;
  margin-top: 1px;
}

.nt-discovery-status > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.nt-discovery-status strong {
  color: var(--nt-dark);
  font-size: 11px;
}

.nt-discovery-status span,
.nt-discovery-status small,
.nt-discovery-status li {
  color: var(--nt-charcoal);
  font-size: 9px;
}

.nt-discovery-status ul {
  margin: 5px 0 0;
  padding-left: 18px;
}

.nt-discovery-status.is-waiting {
  background: var(--nt-bg);
  border-color: var(--nt-line);
  color: var(--nt-muted);
}

.nt-discovery-status.needs-choice {
  background: var(--nt-warning-soft);
  border-color: #efddb8;
  color: var(--nt-warning);
}

.nt-discovery-status.has-warning {
  background: var(--nt-danger-soft);
  border-color: rgba(183, 67, 85, 0.2);
  color: var(--nt-danger);
}

.nt-discovery__counts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.nt-discovery__counts em {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 31, 35, 0.08);
  border-radius: 999px;
  color: var(--nt-charcoal);
  font-size: 8px;
  font-style: normal;
  padding: 3px 7px;
}

.nt-discovery-field small {
  color: var(--nt-muted);
  font-size: 8px;
  margin-top: 4px;
}

@media (max-width: 1180px) {
  .nt-header {
    grid-template-columns: minmax(240px, 1fr) minmax(230px, 340px) auto;
  }

  .nt-user-chip__text {
    display: none;
  }

  .nt-user-chip {
    padding: 0;
  }

  .nt-timer-layout,
  .nt-settings-layout {
    grid-template-columns: 1fr;
  }

  .nt-stack--tasks {
    order: -1;
  }

  .nt-task-panel {
    min-height: 500px;
  }

  .nt-category-row {
    grid-template-columns: auto repeat(3, minmax(110px, 1fr));
  }

  .nt-category-row .nt-mini-check,
  .nt-category-row .nt-icon-button {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .nt-discovery__title {
    display: grid;
  }

  .nt-discovery__title .nt-button {
    justify-self: start;
  }

  .nt-oauth-steps {
    grid-template-columns: 1fr;
  }

  .nt-oauth-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nt-oauth-actions .nt-button {
    width: 100%;
  }

  .nt-shell {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
  }

  .nordic-time-page .nt-app {
    margin: 0;
    padding: 0;
  }

  .nt-admin-wrap {
    margin: 0 0 0 -10px;
  }

  .nt-header {
    gap: 12px;
    grid-template-columns: minmax(150px, 1fr) auto;
    min-height: 74px;
    padding: 12px 14px;
  }

  .nt-brand__logo {
    min-width: 120px;
    width: 150px;
  }

  .nt-brand__divider,
  .nt-brand > div:last-child {
    display: none;
  }

  .nt-header__timer {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 48px;
    order: 3;
  }

  .nt-header__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .nt-nav__inner {
    padding: 0 8px;
  }

  .nt-nav__item {
    flex: 1 0 auto;
    justify-content: center;
    min-height: 49px;
    padding: 0 11px;
  }

  .nt-main {
    padding: 20px 12px 30px;
  }

  .nt-summary {
    gap: 8px;
  }

  .nt-summary__item {
    min-height: 62px;
    padding: 9px;
  }

  .nt-summary__icon {
    display: none;
  }

  .nt-summary__item strong {
    font-size: 14px;
  }

  .nt-current {
    padding: 19px 16px;
  }

  .nt-card__header {
    display: grid;
  }

  .nt-live {
    align-items: flex-start;
  }

  .nt-current__fields {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .nt-quick__grid {
    grid-template-columns: 1fr;
  }

  .nt-task-toolbar {
    grid-template-columns: 1fr;
  }

  .nt-segmented {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .nt-task {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .nt-task .nt-button--start {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .nt-task__link {
    grid-column: 3;
    grid-row: 1;
  }

  .nt-entry {
    gap: 12px;
    grid-template-columns: 1fr auto;
    padding: 15px;
  }

  .nt-entry__time {
    border-bottom: 1px solid var(--nt-line);
    border-right: 0;
    flex-direction: row;
    gap: 8px;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding: 0 0 9px;
  }

  .nt-entry__time strong {
    margin-right: auto;
  }

  .nt-entry__actions {
    flex-direction: column;
  }

  .nt-ticket {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 14px;
  }

  .nt-ticket__actions {
    flex-wrap: wrap;
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .nt-form-grid,
  .nt-check-grid {
    grid-template-columns: 1fr;
  }

  .nt-category-row {
    grid-template-columns: auto 1fr auto;
  }

  .nt-category-row .nt-field {
    grid-column: 2;
  }

  .nt-category-row .nt-mini-check {
    grid-column: 2;
  }

  .nt-category-row .nt-icon-button {
    grid-column: 3;
    grid-row: 1;
  }

  .nt-settings-save {
    align-items: stretch;
    flex-direction: column-reverse;
    position: static;
  }

  .nt-settings-save span {
    margin: 0;
  }

  .nt-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .nt-modal {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 94vh;
    max-width: none;
  }

  .nt-modal__body {
    max-height: calc(94vh - 100px);
    padding: 18px 16px;
  }

  .nt-modal__head {
    padding: 18px 16px;
  }

  .nt-modal-quick {
    grid-template-columns: 1fr;
  }

  .nt-modal__footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .nt-modal__footer .nt-button {
    width: 100%;
  }

  .nt-view-heading {
    display: grid;
  }

  .nt-view-heading > .nt-button {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .nt-nav__item span {
    font-size: 11px;
  }

  .nt-summary__item {
    min-width: 0;
  }

  .nt-summary__item small {
    font-size: 8px;
  }

  .nt-summary__item strong {
    font-size: 12px;
  }

  .nt-current__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nt-current__footer .nt-button {
    width: 100%;
  }

  .nt-task__type {
    display: none;
  }

  .nt-task {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nt-task .nt-button--start {
    grid-column: 1 / -1;
  }

  .nt-task__link {
    grid-column: 2;
  }

  .nt-entry__heading {
    display: grid;
  }

  .nt-billable-chip {
    justify-self: start;
  }

  .nt-footer span:nth-child(2) {
    display: none;
  }
}

/* Nordic Time 2.7.25: task-level billing overview and private checkout review. */
.nt-task-time-strip {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nt-task-time-strip__label {
  align-items: center;
  color: var(--nt-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  margin-right: 2px;
}

.nt-task-time-chip {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 105px;
  padding: 8px 10px;
}

.nt-task-time-chip small {
  color: var(--nt-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.nt-task-time-chip strong {
  color: var(--nt-dark);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.nt-task-time-chip.is-billable {
  background: var(--nt-primary-soft);
  border-color: rgba(29, 155, 141, .22);
}

.nt-task-time-chip.is-billable small {
  color: var(--nt-primary-dark);
}

.nt-task-time-chip.is-nonbillable {
  background: var(--nt-secondary-soft);
  border-color: rgba(201, 80, 180, .2);
}

.nt-task-time-chip.is-nonbillable small {
  color: var(--nt-secondary-dark);
}

.nt-task-time-chip.is-pending {
  background: var(--nt-warning-soft);
  border-color: rgba(169, 107, 23, .2);
}

.nt-task-time-strip--compact {
  gap: 6px;
  margin-top: 9px;
}

.nt-task-time-strip--compact .nt-task-time-chip {
  display: inline-flex;
  flex-direction: row;
  gap: 5px;
  min-width: 0;
  padding: 5px 8px;
}

.nt-task-time-strip--compact .nt-task-time-chip small,
.nt-task-time-strip--compact .nt-task-time-chip strong {
  font-size: 12px;
}

.nt-current__task-time {
  border-bottom: 1px solid var(--nt-line);
  border-top: 1px solid var(--nt-line);
  margin: 2px 0 16px;
  padding: 13px 0;
}

.nt-task-manage-time {
  background: linear-gradient(135deg, rgba(29, 155, 141, .07), rgba(201, 80, 180, .055));
  border: 1px solid rgba(29, 155, 141, .18);
  border-radius: 14px;
  display: grid;
  gap: 13px;
  padding: 15px;
}

.nt-task-manage-time__head,
.nt-task-contributors__head,
.nt-checkout-section-head,
.nt-checkout-review-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.nt-task-manage-time__head h3,
.nt-checkout-section-head h3,
.nt-checkout-review-head h3 {
  font-size: 17px;
  line-height: 1.3;
  margin: 1px 0 0;
}

.nt-task-manage-time__head > span,
.nt-task-contributors__head > span,
.nt-checkout-section-head > span {
  color: var(--nt-muted);
  font-size: 12px;
}

.nt-task-time-strip--manage .nt-task-time-chip {
  flex: 1 1 115px;
}

.nt-task-contributors {
  border-top: 1px solid rgba(29, 155, 141, .16);
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.nt-task-contributors__head strong {
  font-size: 13px;
}

.nt-task-contributors__list {
  display: grid;
  gap: 6px;
}

.nt-task-contributors__list article {
  align-items: center;
  background: rgba(255, 255, 255, .75);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 8px 10px;
}

.nt-task-contributors__avatar {
  align-items: center;
  background: var(--nt-primary-soft);
  border-radius: 50%;
  color: var(--nt-primary-dark);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  overflow: hidden;
  width: 30px;
}

.nt-task-contributors__avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.nt-task-contributors__list article > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-task-contributors__list strong,
.nt-task-contributors__list b {
  font-size: 13px;
}

.nt-task-contributors__list small {
  color: var(--nt-muted);
  font-size: 12px;
}

.nt-checkout-review-head,
.nt-checkout-activities,
.nt-checkout-week {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 15px;
  padding: 15px;
}

.nt-checkout-review-head {
  background: linear-gradient(135deg, var(--nt-primary-soft), var(--nt-secondary-soft));
}

.nt-checkout-review-head p {
  color: var(--nt-charcoal);
  font-size: 13px;
  margin-top: 4px;
}

.nt-private-badge {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid rgba(29, 155, 141, .18);
  border-radius: 999px;
  color: var(--nt-primary-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  gap: 5px;
  padding: 7px 10px;
  white-space: nowrap;
}

.nt-checkout-kpis.nt-checkout-kpis--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-checkout-kpis.nt-checkout-kpis--six small {
  font-size: 11px;
}

.nt-checkout-kpis.nt-checkout-kpis--six strong {
  font-size: 16px;
}

.nt-checkout-activities,
.nt-checkout-week {
  display: grid;
  gap: 11px;
}

.nt-checkout-activity-list,
.nt-checkout-days {
  display: grid;
  gap: 6px;
}

.nt-checkout-activity-list article {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 9px 10px;
}

.nt-checkout-activity-icon {
  align-items: center;
  background: var(--nt-primary-soft);
  border-radius: 8px;
  color: var(--nt-primary-dark);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.nt-checkout-activity-list article > div,
.nt-checkout-activity-list article > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-checkout-activity-list article > span:last-child {
  align-items: flex-end;
}

.nt-checkout-activity-list strong,
.nt-checkout-activity-list b {
  font-size: 13px;
}

.nt-checkout-activity-list small,
.nt-checkout-empty {
  color: var(--nt-muted);
  font-size: 12px;
}

.nt-checkout-week-kpis {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nt-checkout-week-kpis > span {
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 9px 10px;
}

.nt-checkout-week-kpis small,
.nt-checkout-days small {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-checkout-week-kpis strong,
.nt-checkout-days b {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.nt-checkout-days {
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
}

.nt-checkout-days article {
  background: rgba(255, 255, 255, .72);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px;
}

.nt-checkout-days article > strong {
  color: var(--nt-primary-dark);
  font-size: 12px;
}

.nt-checkout-days article > span {
  display: flex;
  flex-direction: column;
}

.nt-checkout-confirm {
  align-items: flex-start;
  background: var(--nt-white);
  border: 2px solid var(--nt-line);
  border-radius: 13px;
  cursor: pointer;
  display: grid;
  gap: 11px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 13px 14px;
}

.nt-checkout-confirm input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.nt-checkout-confirm > span {
  align-items: center;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 7px;
  color: transparent;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.nt-checkout-confirm:has(input:checked) {
  background: var(--nt-success-soft);
  border-color: rgba(38, 123, 98, .35);
}

.nt-checkout-confirm:has(input:checked) > span {
  background: var(--nt-success);
  border-color: var(--nt-success);
  color: var(--nt-white);
}

.nt-checkout-confirm > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nt-checkout-confirm strong {
  font-size: 13px;
}

.nt-checkout-confirm small {
  color: var(--nt-charcoal);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .nt-checkout-kpis.nt-checkout-kpis--six,
  .nt-checkout-week-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nt-task-manage-time__head,
  .nt-checkout-review-head,
  .nt-checkout-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .nt-checkout-kpis.nt-checkout-kpis--six,
  .nt-checkout-week-kpis {
    grid-template-columns: 1fr;
  }

  .nt-task-time-chip {
    flex: 1 1 calc(50% - 8px);
  }

  .nt-checkout-activity-list article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nt-checkout-activity-list article > span:last-child {
    align-items: flex-start;
    grid-column: 2;
  }
}

/* Nordic Time 2.7.9: bounded administrator Zoho request/response diagnostics. */
.nt-debug-log {
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  margin-top: 16px;
  overflow: hidden;
}

.nt-debug-log__toolbar {
  align-items: center;
  background: var(--nt-bg);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
}

.nt-debug-log__toolbar > div:first-child {
  display: grid;
  gap: 2px;
}

.nt-debug-log__toolbar small {
  color: var(--nt-muted);
}

.nt-button--danger-ghost {
  background: var(--nt-white);
  border-color: #efb9c0;
  color: #b82e3e;
}

.nt-debug-log__entries {
  max-height: 620px;
  overflow: auto;
  overscroll-behavior: contain;
}

.nt-debug-event {
  border-top: 1px solid var(--nt-line);
}

.nt-debug-event:first-child {
  border-top: 0;
}

.nt-debug-event summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  padding: 12px 16px;
}

.nt-debug-event summary::-webkit-details-marker {
  display: none;
}

.nt-debug-event summary > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.nt-debug-event summary strong {
  font-size: 13px;
  overflow-wrap: anywhere;
  text-transform: capitalize;
}

.nt-debug-event summary small {
  color: var(--nt-muted);
  font-size: 12px;
}

.nt-debug-event.has-error summary {
  background: #fff7f8;
  color: #b82e3e;
}

.nt-debug-event summary .nt-icon {
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}

.nt-debug-event[open] summary .nt-icon {
  transform: rotate(180deg);
}

.nt-debug-event pre {
  background: #17191d;
  color: #eef2f6;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  margin: 0;
  max-height: 480px;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
  word-break: break-word;
}

.nt-debug-log__empty {
  border-top: 1px solid var(--nt-line);
  min-height: 120px;
}

@media (max-width: 760px) {
  .nt-debug-log__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .nt-debug-log__toolbar .nt-inline-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .nt-app *,
  .nt-app *::before,
  .nt-app *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}


/* Timer switcher 1.2 */
.nt-switcher__count{font-size: 13px;color:var(--nt-muted);background:var(--nt-soft);border-radius:999px;padding:6px 10px}.nt-switcher__active{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid rgba(29,155,141,.22);background:rgba(29,155,141,.08);border-radius:14px}.nt-switcher__active div{display:flex;flex-direction:column;min-width:0}.nt-switcher__active small{font-size: 11px;letter-spacing:.12em;color:var(--nt-green-dark);font-weight:700}.nt-switcher__active strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nt-switcher__active span{font-size: 13px;color:var(--nt-muted)}.nt-switcher__active b{font-variant-numeric:tabular-nums;font-size:18px}.nt-switcher__idle{padding:12px 14px;border-radius:12px;background:var(--nt-soft);color:var(--nt-muted);font-size: 14px}.nt-paused-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.nt-paused{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:10px;border:1px solid var(--nt-border);border-radius:12px}.nt-paused__icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--nt-soft);color:var(--nt-muted)}.nt-paused>div{display:flex;flex-direction:column;min-width:0}.nt-paused strong,.nt-paused small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nt-paused strong{font-size: 14px}.nt-paused small{font-size: 12px;color:var(--nt-muted)}.nt-switcher__help{margin:0}.nt-task[hidden]{display:none!important}@media(max-width:640px){.nt-paused{grid-template-columns:auto minmax(0,1fr) auto}.nt-paused>.nt-icon-button{display:none}.nt-switcher__active b{font-size:15px}}

/* Nordic Time 2.0: server-backed work queue, allocation review and reporting */
:root {
  --nt-soft: #f3f5f7;
  --nt-border: var(--nt-line);
}

.nt-billing-choice {
  align-items: stretch;
  background: var(--nt-soft);
  border: 1px solid var(--nt-line);
  border-radius: 13px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
}

.nt-billing-choice button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--nt-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 650;
  gap: 6px;
  justify-content: center;
  min-height: 38px;
  padding: 7px 10px;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nt-billing-choice button:hover {
  color: var(--nt-dark);
}

.nt-billing-choice button.is-active {
  background: var(--nt-white);
  box-shadow: var(--nt-shadow-sm);
}

.nt-billing-choice button.is-active.is-billable {
  color: var(--nt-success);
}

.nt-billing-choice button.is-active.is-nonbillable {
  color: var(--nt-charcoal);
}

.nt-billing-choice--inline {
  align-self: end;
  min-width: 255px;
}

.nt-switcher--v2 {
  overflow: hidden;
}

.nt-switcher--v2 .nt-card__title {
  align-items: flex-start;
  margin-bottom: 14px;
}

.nt-switcher__count {
  background: var(--nt-soft);
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  color: var(--nt-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  white-space: nowrap;
}

.nt-work-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.nt-work-item {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 14px;
  display: grid;
  gap: 11px;
  grid-template-columns: 32px minmax(0, 1fr) auto auto;
  min-width: 0;
  padding: 12px;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nt-work-item:hover {
  border-color: rgba(29, 155, 141, 0.28);
  box-shadow: var(--nt-shadow-sm);
}

.nt-work-item.is-active {
  background: var(--nt-green-soft);
  border-color: rgba(29, 155, 141, 0.35);
}

.nt-work-item.is-review {
  background: var(--nt-warning-soft);
  border-color: rgba(169, 107, 23, 0.25);
}

.nt-work-item__state {
  align-items: center;
  background: var(--nt-soft);
  border-radius: 10px;
  color: var(--nt-muted);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.nt-work-item.is-active .nt-work-item__state {
  background: var(--nt-green-soft);
  color: var(--nt-green-dark);
}

.nt-work-item.is-review .nt-work-item__state {
  background: rgba(169, 107, 23, 0.1);
  color: var(--nt-warning);
}

.nt-work-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-work-item__body small {
  color: var(--nt-green-dark);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.35;
}

.nt-work-item.is-review .nt-work-item__body small {
  color: var(--nt-warning);
}

.nt-work-item__body strong {
  color: var(--nt-dark);
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-work-item__body span {
  color: var(--nt-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-work-item__time {
  color: var(--nt-dark);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nt-work-item__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.nt-button--finish {
  background: var(--nt-white);
  border-color: rgba(38, 123, 98, 0.25);
  color: var(--nt-success);
}

.nt-button--finish:hover {
  background: var(--nt-success-soft);
  border-color: rgba(38, 123, 98, 0.42);
}

.nt-switcher__empty {
  background: var(--nt-soft);
  border: 1px dashed #d8dce1;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 15px;
}

.nt-switcher__empty strong {
  color: var(--nt-charcoal);
  font-size: 14px;
}

.nt-switcher__empty span,
.nt-switcher__help {
  color: var(--nt-muted);
  font-size: 12px;
}

.nt-switcher__help {
  border-top: 1px solid var(--nt-line);
  line-height: 1.55;
  margin: 14px -2px -2px;
  padding: 12px 2px 0;
}

.nt-switcher__help strong {
  color: var(--nt-charcoal);
}

.nt-task-refreshing {
  align-items: center;
  background: rgba(201, 80, 180, 0.07);
  border-bottom: 1px solid var(--nt-line);
  color: var(--nt-muted);
  display: flex;
  font-size: 12px;
  gap: 8px;
  padding: 8px 14px;
}

.nt-task.has-time {
  background: #f2faf8;
}

.nt-task__tracked {
  align-items: center;
  color: var(--nt-green-dark) !important;
  display: inline-flex;
  font-weight: 650;
  gap: 4px;
}

.nt-modal--wide {
  max-width: 980px;
  width: min(980px, calc(100vw - 36px));
}

.nt-modal--wide .nt-modal__body {
  max-height: min(76vh, 780px);
}

.nt-billing-modal {
  display: grid;
  gap: 18px;
}

.nt-billing-modal__task {
  background: var(--nt-soft);
  border: 1px solid var(--nt-line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
}

.nt-billing-modal__task small {
  color: var(--nt-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nt-billing-modal__task strong {
  font-size: 16px;
}

.nt-billing-modal__task span {
  color: var(--nt-muted);
  font-size: 13px;
}

.nt-billing-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-billing-card {
  align-items: flex-start;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 15px;
  color: var(--nt-charcoal);
  cursor: pointer;
  display: grid;
  gap: 6px;
  grid-template-columns: auto 1fr;
  min-height: 132px;
  padding: 17px;
  position: relative;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nt-billing-card:hover {
  box-shadow: var(--nt-shadow-sm);
  transform: translateY(-1px);
}

.nt-billing-card.is-billable:hover,
.nt-billing-card.is-billable.is-suggested {
  border-color: rgba(38, 123, 98, 0.38);
}

.nt-billing-card.is-nonbillable:hover,
.nt-billing-card.is-nonbillable.is-suggested {
  border-color: rgba(58, 58, 64, 0.34);
}

.nt-billing-card > .nt-icon {
  color: var(--nt-success);
  grid-row: 1 / 3;
}

.nt-billing-card.is-nonbillable > .nt-icon {
  color: var(--nt-charcoal);
}

.nt-billing-card strong {
  color: var(--nt-dark);
  font-size: 15px;
}

.nt-billing-card span {
  color: var(--nt-muted);
  font-size: 13px;
  line-height: 1.5;
}

.nt-billing-card em {
  background: var(--nt-green-soft);
  border-radius: 999px;
  color: var(--nt-green-dark);
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  position: absolute;
  right: 10px;
  text-transform: uppercase;
  top: 10px;
}

.nt-required-choice {
  border: 1px solid var(--nt-line);
  border-radius: 14px;
  margin: 0;
  padding: 14px;
}

.nt-required-choice legend {
  color: var(--nt-charcoal);
  font-size: 13px;
  font-weight: 700;
  padding: 0 6px;
}

.nt-billing-radio {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-billing-radio label {
  cursor: pointer;
  min-width: 0;
}

.nt-billing-radio input {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  position: absolute;
  width: 1px;
}

.nt-billing-radio label > span {
  align-items: center;
  background: var(--nt-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  display: grid;
  gap: 3px 8px;
  grid-template-columns: auto 1fr;
  min-height: 68px;
  padding: 11px;
}

.nt-billing-radio input:checked + span {
  background: var(--nt-green-soft);
  border-color: rgba(29, 155, 141, 0.35);
  box-shadow: 0 0 0 2px rgba(29, 155, 141, 0.1);
}

.nt-billing-radio label > span .nt-icon {
  color: var(--nt-green-dark);
  grid-row: 1 / 3;
}

.nt-billing-radio strong {
  font-size: 13px;
}

.nt-billing-radio small {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-finish-form {
  display: grid;
  gap: 18px;
}

.nt-finish-task {
  align-items: center;
  background: var(--nt-green-soft);
  border: 1px solid rgba(29, 155, 141, 0.18);
  border-radius: 16px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 16px 18px;
}

.nt-finish-task h3 {
  font-size: 20px;
}

.nt-finish-task p {
  color: var(--nt-muted);
  font-size: 12px;
}

.nt-finish-task > strong {
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.nt-finish-task__total {
  align-items: flex-end;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.nt-finish-task__total small,
.nt-finish-task__total span {
  color: var(--nt-muted);
  font-size: 9px;
}

.nt-finish-task__total strong {
  color: var(--nt-dark);
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.nt-finish-rule {
  align-items: flex-start;
  background: rgba(201, 80, 180, 0.07);
  border: 1px solid rgba(201, 80, 180, 0.18);
  border-radius: 13px;
  color: var(--nt-charcoal);
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}

.nt-finish-rule .nt-icon {
  color: var(--nt-accent);
  flex: 0 0 auto;
  margin-top: 1px;
}

.nt-finish-rule p {
  font-size: 12px;
  line-height: 1.55;
}

.nt-finish-locked,
.nt-finish-empty-finalization {
  align-items: flex-start;
  border-radius: 13px;
  display: flex;
  gap: 10px;
  padding: 13px 14px;
}

.nt-finish-locked {
  background: rgba(138, 143, 152, 0.08);
  border: 1px solid rgba(138, 143, 152, 0.22);
}

.nt-finish-empty-finalization {
  background: var(--nt-green-soft);
  border: 1px solid rgba(29, 155, 141, 0.18);
}

.nt-finish-locked .nt-icon,
.nt-finish-empty-finalization .nt-icon {
  color: var(--nt-green);
  flex: 0 0 auto;
  margin-top: 1px;
}

.nt-finish-locked strong,
.nt-finish-empty-finalization strong {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.nt-finish-locked p,
.nt-finish-empty-finalization p {
  color: var(--nt-charcoal);
  font-size: 11px;
  line-height: 1.55;
}

.nt-allocation {
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 16px;
  display: grid;
  gap: 15px;
  padding: 17px;
}

.nt-allocation__head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.nt-allocation__head h3 {
  font-size: 17px;
}

.nt-allocation__percent {
  background: var(--nt-green-soft);
  border: 1px solid rgba(47, 101, 102, 0.14);
  border-radius: 999px;
  color: var(--nt-green-dark);
  font-size: 12px;
  font-weight: 750;
  padding: 6px 10px;
  white-space: nowrap;
}

.nt-allocation__numbers {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-allocation__numbers > div {
  background: var(--nt-soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  padding: 11px 13px;
}

.nt-allocation__numbers small {
  color: var(--nt-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nt-allocation__numbers strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.nt-allocation__numbers .is-billable {
  background: var(--nt-success-soft);
  color: var(--nt-success);
}

.nt-allocation__numbers .is-nonbillable {
  background: #f1f2f4;
  color: var(--nt-charcoal);
  text-align: right;
}

.nt-allocation__numbers .is-total {
  text-align: center;
}

.nt-slider-wrap {
  align-items: center;
  display: grid;
  gap: 11px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.nt-slider-wrap > span {
  color: var(--nt-muted);
  font-size: 11px;
  font-weight: 650;
}

.nt-slider-wrap input[type="range"] {
  accent-color: var(--nt-green-dark);
  cursor: ew-resize;
  margin: 0;
  width: 100%;
}

.nt-allocation__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nt-allocation__presets button {
  background: var(--nt-soft);
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  color: var(--nt-charcoal);
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  padding: 6px 9px;
}

.nt-allocation__presets button:hover {
  background: var(--nt-green-soft);
  border-color: rgba(29, 155, 141, 0.22);
  color: var(--nt-green-dark);
}

.nt-allocation-days {
  border: 1px solid var(--nt-line);
  border-radius: 16px;
  overflow: hidden;
}

.nt-allocation-days > .nt-card__title {
  background: var(--nt-soft);
  border-bottom: 1px solid var(--nt-line);
  margin: 0;
  padding: 13px 16px;
}

.nt-inline-loading {
  align-items: center;
  color: var(--nt-muted);
  display: inline-flex;
  font-size: 11px;
  gap: 7px;
}

.nt-allocation-day + .nt-allocation-day {
  border-top: 1px solid var(--nt-line);
}

.nt-allocation-day > header {
  align-items: center;
  background: rgba(247, 248, 250, 0.56);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 11px 16px;
}

.nt-allocation-day > header > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.nt-allocation-day > header strong {
  font-size: 13px;
}

.nt-allocation-day > header span {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-allocation-day > header .is-billable {
  color: var(--nt-success);
}

.nt-allocation-day > header .is-nonbillable {
  color: var(--nt-charcoal);
}

.nt-allocation-slices {
  display: grid;
  gap: 1px;
  padding: 7px 12px 11px;
}

.nt-allocation-slice {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 8px minmax(112px, auto) auto auto minmax(0, 1fr);
  min-height: 34px;
  padding: 3px 4px;
}

.nt-allocation-slice__line {
  align-self: stretch;
  background: var(--nt-charcoal);
  border-radius: 999px;
  display: block;
  min-height: 24px;
  width: 4px;
}

.nt-allocation-slice.is-billable .nt-allocation-slice__line {
  background: var(--nt-success);
}

.nt-allocation-slice strong {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.nt-allocation-slice > span:not(.nt-allocation-slice__line),
.nt-allocation-slice small {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-allocation-slice em {
  background: #f0f1f3;
  border-radius: 999px;
  color: var(--nt-charcoal);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  padding: 4px 7px;
  white-space: nowrap;
}

.nt-allocation-slice.is-billable em {
  background: var(--nt-success-soft);
  color: var(--nt-success);
}

.nt-allocation-slice small {
  justify-self: end;
  text-align: right;
}

.nt-close-zoho,
.nt-check--confirm {
  align-items: flex-start;
  background: var(--nt-soft);
  border: 1px solid var(--nt-line);
  border-radius: 13px;
  display: flex;
  gap: 9px;
  padding: 12px 13px;
}

.nt-close-zoho strong,
.nt-check--confirm strong {
  font-size: 12px;
  line-height: 1.5;
}

.nt-check--confirm {
  background: var(--nt-success-soft);
  border-color: rgba(38, 123, 98, 0.18);
}

.nt-report-kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.nt-report-kpi {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 15px;
  box-shadow: var(--nt-shadow-sm);
  display: flex;
  gap: 11px;
  min-width: 0;
  padding: 14px;
}

.nt-report-kpi > span {
  align-items: center;
  background: var(--nt-green-soft);
  border-radius: 11px;
  color: var(--nt-green-dark);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nt-report-kpi > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-report-kpi small {
  color: var(--nt-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nt-report-kpi strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-report-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.nt-report-section {
  min-width: 0;
  overflow: hidden;
}

.nt-report-section--wide {
  grid-column: 1 / -1;
}

.nt-report-table-wrap {
  overflow-x: auto;
}

.nt-report-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.nt-report-table th,
.nt-report-table td {
  border-bottom: 1px solid var(--nt-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.nt-report-table th {
  color: var(--nt-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nt-report-table td {
  color: var(--nt-charcoal);
  font-size: 12px;
}

.nt-report-table td:first-child {
  min-width: 230px;
}

.nt-report-table td:first-child strong,
.nt-report-table td:first-child small {
  display: block;
}

.nt-report-table td:first-child small {
  color: var(--nt-muted);
  margin-top: 1px;
}

.nt-report-table tr:last-child td {
  border-bottom: 0;
}

.nt-report-bars,
.nt-project-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nt-report-bar {
  display: grid;
  gap: 6px 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.nt-report-bar > div:first-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-report-bar strong,
.nt-project-bar strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-report-bar small,
.nt-project-bar span {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-report-bar > b {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.nt-report-bar__track,
.nt-project-bar__track {
  background: var(--nt-soft);
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
}

.nt-report-bar__track span,
.nt-project-bar__track i {
  background: var(--nt-green);
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 2px;
}

.nt-project-bar {
  display: grid;
  gap: 7px;
}

.nt-project-bar > div:first-child {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.nt-finished-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-finished {
  align-items: center;
  background: var(--nt-soft);
  border: 1px solid transparent;
  border-radius: 13px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 13px;
}

.nt-finished > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-finished small,
.nt-finished span {
  color: var(--nt-muted);
  font-size: 9px;
}

.nt-finished strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-finished b {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.nt-report-ok {
  align-items: center;
  color: var(--nt-success);
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 90px;
  text-align: left;
}

.nt-report-ok > .nt-icon {
  background: var(--nt-success-soft);
  border-radius: 50%;
  box-sizing: content-box;
  padding: 9px;
}

.nt-report-ok > div {
  display: flex;
  flex-direction: column;
}

.nt-report-ok strong {
  font-size: 14px;
}

.nt-report-ok span {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-sync--queued i,
.nt-sync--pending i {
  background: var(--nt-accent);
}

.nt-sync--failed i {
  background: var(--nt-danger);
}

.nt-sync--synced i {
  background: var(--nt-success);
}

.nt-create-status {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1050px) {
  .nt-work-item {
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }

  .nt-work-item__actions {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }

  .nt-report-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nt-report-grid,
  .nt-finished-grid {
    grid-template-columns: 1fr;
  }

  .nt-report-section--wide {
    grid-column: auto;
  }

  .nt-billing-choice--inline {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .nt-billing-cards,
  .nt-billing-radio,
  .nt-allocation__numbers,
  .nt-create-status {
    grid-template-columns: 1fr;
  }

  .nt-allocation__numbers .is-total,
  .nt-allocation__numbers .is-nonbillable {
    text-align: left;
  }

  .nt-finish-task,
  .nt-allocation__head,
  .nt-allocation-day > header,
  .nt-project-bar > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .nt-allocation-slice {
    grid-template-columns: 7px minmax(100px, auto) auto;
  }

  .nt-allocation-slice em {
    grid-column: 2;
  }

  .nt-allocation-slice small {
    grid-column: 2 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .nt-work-item {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .nt-work-item__time {
    grid-column: 2;
    grid-row: 2;
  }

  .nt-work-item__actions {
    grid-column: 1 / -1;
  }

  .nt-work-item__actions .nt-button {
    flex: 1 1 auto;
  }

  .nt-report-kpis {
    grid-template-columns: 1fr;
  }

  .nt-slider-wrap {
    gap: 7px;
  }

  .nt-allocation {
    padding: 13px;
  }
}


/* Nordic Time 2.1: Nordic CRM / IO palette, stable rendering and team dashboard */
.nt-app {
  --nt-content-pad: 26px;
}

.nt-shell {
  border-color: #dfe4e5;
}

.nt-brand__logo {
  max-width: 218px !important;
  min-width: 160px;
  width: 46%;
}

.nt-nav__item.is-active {
  border-bottom-color: var(--nt-primary);
}

.nt-eyebrow,
.nt-task__body > small,
.nt-modal-task small,
.nt-task__tracked {
  color: var(--nt-primary-dark) !important;
}

.nt-button--primary {
  background: var(--nt-primary);
  border-color: var(--nt-primary);
  box-shadow: 0 6px 16px rgba(29, 155, 141, 0.18);
}

.nt-button--primary:hover {
  background: var(--nt-primary-dark);
  border-color: var(--nt-primary-dark);
  box-shadow: 0 8px 20px rgba(29, 155, 141, 0.23);
}

.nt-button--start {
  background: var(--nt-primary-soft);
  border-color: rgba(29, 155, 141, 0.22);
  color: var(--nt-primary-dark) !important;
}

.nt-button--start:hover {
  background: #d8f0ec;
  border-color: rgba(29, 155, 141, 0.36);
}

.nt-button--complete {
  background: var(--nt-secondary);
  border-color: var(--nt-secondary);
  color: var(--nt-white) !important;
  box-shadow: 0 6px 16px rgba(201, 80, 180, 0.18);
}

.nt-button--complete:hover {
  background: var(--nt-secondary-dark);
  border-color: var(--nt-secondary-dark);
  box-shadow: 0 8px 20px rgba(201, 80, 180, 0.22);
}

.nt-button--finish {
  border-color: rgba(29, 155, 141, 0.28);
  color: var(--nt-primary-dark);
}

.nt-button--finish:hover {
  background: var(--nt-primary-soft);
  border-color: rgba(29, 155, 141, 0.44);
}

.nt-current {
  padding: 27px 28px;
}

.nt-current::before {
  background: var(--nt-primary);
  width: 5px;
}

.nt-current.is-idle::before {
  background: #e6a53d;
}

.nt-current .nt-card__header,
.nt-quick .nt-card__title,
.nt-switcher--v2 .nt-card__title,
.nt-task-panel__title,
.nt-report-section > .nt-card__title,
.nt-team-chart-card > .nt-card__title,
.nt-team-split > .nt-card__title,
.nt-team-people > .nt-card__title {
  padding-left: 2px;
  padding-right: 2px;
}

.nt-switcher--v2,
.nt-quick {
  padding: 23px 24px;
}

.nt-work-list {
  gap: 10px;
}

.nt-work-item {
  padding: 13px 14px;
}

.nt-work-item.is-active {
  background: var(--nt-primary-soft);
}

.nt-task-panel__title {
  padding: 24px 24px 18px;
}

.nt-task-toolbar {
  padding: 13px 18px;
}

.nt-task-list {
  padding: 8px 16px 16px;
}

.nt-task {
  min-height: 84px;
  padding: 13px 10px;
}

.nt-task.has-time {
  background: #f2faf8;
}

.nt-entry.is-pending {
  background: var(--nt-warning-soft);
}

.nt-history-notice,
.nt-idle-transfer {
  align-items: flex-start;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
}

.nt-history-notice {
  background: var(--nt-warning-soft);
  border: 1px solid #efddb8;
  color: var(--nt-warning);
}

.nt-idle-transfer {
  background: var(--nt-primary-soft);
  border: 1px solid rgba(29, 155, 141, 0.22);
  color: var(--nt-primary-dark);
}

.nt-history-notice .nt-icon,
.nt-idle-transfer .nt-icon {
  flex: 0 0 auto;
  margin-top: 1px;
}

.nt-history-notice > div,
.nt-idle-transfer > div {
  display: grid;
  gap: 2px;
}

.nt-history-notice strong,
.nt-idle-transfer strong {
  font-size: 13px;
}

.nt-history-notice span,
.nt-idle-transfer span {
  color: var(--nt-charcoal);
  font-size: 11px;
  line-height: 1.55;
}

.nt-billable-chip.is-pending {
  background: var(--nt-warning-soft);
  border-color: #efddb8;
  color: var(--nt-warning);
  cursor: default;
}

.nt-modal__head {
  padding-left: 25px;
  padding-right: 25px;
}

.nt-modal__body {
  padding: 24px 25px 25px;
}

.nt-modal__footer--finish {
  align-items: center;
  justify-content: space-between;
}

.nt-finish-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.nt-finish-task {
  background: var(--nt-primary-soft);
}

.nt-finish-processing {
  align-items: center;
  background: rgba(31, 154, 143, 0.1);
  border: 1px solid rgba(31, 154, 143, 0.32);
  border-radius: 14px 14px 4px 14px;
  color: var(--nt-dark);
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding: 13px 15px;
}

.nt-finish-processing .nt-spinner {
  border-color: rgba(31, 154, 143, 0.24);
  border-top-color: var(--nt-primary);
  flex: 0 0 auto;
  height: 22px;
  width: 22px;
}

.nt-finish-processing div {
  display: grid;
  gap: 2px;
}

.nt-finish-processing strong {
  font-size: 14px;
}

.nt-finish-processing span:last-child {
  color: var(--nt-muted);
  font-size: 13px;
}

.nt-finish-form.is-processing .nt-allocation,
.nt-finish-form.is-processing .nt-allocation-days,
.nt-finish-form.is-processing .nt-finish-choice-info {
  opacity: 0.72;
}

.nt-finish-actions .nt-button .nt-spinner {
  height: 15px;
  width: 15px;
}

.nt-global-busy {
  align-items: center;
  background: var(--nt-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 14px 40px rgba(31, 31, 35, 0.22);
  color: var(--nt-white);
  display: flex;
  flex-direction: row;
  font-size: 12px;
  gap: 9px;
  inset: auto 24px 22px auto;
  justify-content: flex-start;
  padding: 10px 14px;
  pointer-events: none;
  position: fixed;
  width: auto;
  z-index: 100010;
}

.nt-global-busy .nt-spinner {
  border-color: rgba(255, 255, 255, 0.24);
  border-top-color: var(--nt-white);
  height: 16px;
  width: 16px;
}

.nt-toast-region {
  bottom: 74px;
}

.nt-oauth-wizard {
  background: var(--nt-primary-soft);
}

.nt-oauth-wizard__icon {
  background: var(--nt-primary);
}

.nt-finish-rule {
  background: var(--nt-secondary-soft);
  border-color: rgba(201, 80, 180, 0.2);
}

.nt-finish-rule .nt-icon {
  color: var(--nt-secondary-dark);
}

.nt-report-bar__track span,
.nt-project-bar__track i {
  background: var(--nt-primary);
}

/* Team dashboard */
.nt-team-kpis {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 18px;
}

.nt-team-kpi {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 15px;
  box-shadow: var(--nt-shadow-sm);
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 15px;
}

.nt-team-kpi > span {
  align-items: center;
  background: var(--nt-primary-soft);
  border-radius: 11px;
  color: var(--nt-primary-dark);
  display: inline-flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
}

.nt-team-kpi.is-idle > span {
  background: var(--nt-warning-soft);
  color: var(--nt-warning);
}

.nt-team-kpi.is-paused > span {
  background: var(--nt-secondary-soft);
  color: var(--nt-secondary-dark);
}

.nt-team-kpi > div {
  display: grid;
  min-width: 0;
}

.nt-team-kpi small {
  color: var(--nt-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nt-team-kpi strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-team-kpi em {
  color: var(--nt-muted);
  font-size: 11px;
  font-style: normal;
}

.nt-team-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  margin-bottom: 16px;
}

.nt-team-chart-card,
.nt-team-split,
.nt-team-people {
  min-width: 0;
  padding: 21px 22px;
}

.nt-team-chart-card > .nt-card__title,
.nt-team-split > .nt-card__title,
.nt-team-people > .nt-card__title {
  margin-bottom: 18px;
}

.nt-team-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: flex-end;
}

.nt-team-legend span {
  align-items: center;
  color: var(--nt-muted);
  display: inline-flex;
  font-size: 11px;
  gap: 5px;
  white-space: nowrap;
}

.nt-team-legend i,
.nt-team-split__rows span > i {
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.nt-team-legend .is-billable i,
.nt-team-split__rows i.is-billable,
.nt-team-chart__stack i.is-billable,
.nt-team-split__bar i.is-billable {
  background: var(--nt-primary);
}

.nt-team-legend .is-nonbillable i,
.nt-team-split__rows i.is-nonbillable,
.nt-team-chart__stack i.is-nonbillable,
.nt-team-split__bar i.is-nonbillable {
  background: var(--nt-secondary);
}

.nt-team-legend .is-pending i,
.nt-team-split__rows i.is-pending,
.nt-team-chart__stack i.is-pending,
.nt-team-split__bar i.is-pending {
  background: #e6a53d;
}

.nt-team-chart {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(7, minmax(42px, 1fr));
  min-height: 255px;
}

.nt-team-chart__day {
  align-items: center;
  display: grid;
  gap: 5px;
  grid-template-rows: 20px 180px auto auto;
  min-width: 0;
  text-align: center;
}

.nt-team-chart__value {
  color: var(--nt-muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-team-chart__column {
  align-items: end;
  background: var(--nt-soft);
  border-radius: 10px;
  display: flex;
  height: 180px;
  justify-content: stretch;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.nt-team-chart__stack {
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 2px;
  overflow: hidden;
  width: 100%;
}

.nt-team-chart__stack i {
  display: block;
  min-height: 0;
  width: 100%;
}

.nt-team-chart__day > strong {
  font-size: 11px;
  text-transform: capitalize;
}

.nt-team-chart__day > small {
  color: var(--nt-muted);
  font-size: 10px;
}

.nt-team-split {
  display: flex;
  flex-direction: column;
}

.nt-team-split__total {
  display: grid;
  gap: 2px;
  margin: 10px 0 18px;
}

.nt-team-split__total strong {
  font-size: 31px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
}

.nt-team-split__total span {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-team-split__bar {
  background: var(--nt-soft);
  border-radius: 999px;
  display: flex;
  height: 12px;
  overflow: hidden;
}

.nt-team-split__bar i {
  display: block;
  height: 100%;
}

.nt-team-split__rows {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.nt-team-split__rows > div {
  align-items: center;
  border-bottom: 1px solid var(--nt-line);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto 38px;
  padding-bottom: 10px;
}

.nt-team-split__rows > div:last-child {
  border-bottom: 0;
}

.nt-team-split__rows span {
  align-items: center;
  color: var(--nt-charcoal);
  display: flex;
  font-size: 11px;
  gap: 7px;
}

.nt-team-split__rows strong {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.nt-team-split__rows em {
  color: var(--nt-muted);
  font-size: 11px;
  font-style: normal;
  text-align: right;
}

.nt-team-list {
  display: grid;
  gap: 11px;
}

.nt-team-person {
  align-items: center;
  border: 1px solid var(--nt-line);
  border-radius: 15px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(190px, 0.9fr) minmax(190px, 1fr) minmax(250px, 1.1fr) minmax(175px, 0.8fr);
  padding: 14px 15px;
}

.nt-team-person.is-active {
  border-left: 4px solid var(--nt-primary);
}

.nt-team-person.is-idle {
  border-left: 4px solid #e6a53d;
}

.nt-team-person.is-offline {
  border-left: 4px solid var(--nt-line);
}

.nt-team-person__identity {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.nt-team-person__identity > img,
.nt-team-person__identity > span {
  align-items: center;
  background: var(--nt-primary-soft);
  border-radius: 50%;
  color: var(--nt-primary-dark);
  display: inline-flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
  object-fit: cover;
  width: 38px;
}

.nt-team-person__identity > div,
.nt-team-person__status {
  display: grid;
  min-width: 0;
}

.nt-team-person__identity strong,
.nt-team-person__status > strong {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-team-person__identity small,
.nt-team-person__status > span {
  color: var(--nt-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-team-person__status > span {
  align-items: center;
  display: flex;
  gap: 5px;
}

.nt-team-person__status > span i {
  background: var(--nt-muted);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.nt-team-person.is-active .nt-team-person__status > span i {
  background: var(--nt-primary);
}

.nt-team-person.is-idle .nt-team-person__status > span i {
  background: #e6a53d;
}

.nt-team-person__live {
  color: var(--nt-primary-dark);
  font-size: 16px !important;
  font-variant-numeric: tabular-nums;
}

.nt-team-change-task {
  justify-self: start;
  margin-top: 7px;
  white-space: nowrap;
}

.nt-team-person__totals {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-team-person__totals > div {
  background: var(--nt-soft);
  border-radius: 10px;
  display: grid;
  padding: 8px 10px;
}

.nt-team-person__totals small,
.nt-team-person__totals span {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-team-person__totals strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.nt-team-person__paused {
  min-width: 0;
}

.nt-team-person__paused summary {
  align-items: center;
  color: var(--nt-secondary-dark);
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 650;
  gap: 6px;
  list-style: none;
}

.nt-team-person__paused summary::-webkit-details-marker {
  display: none;
}

.nt-team-person__paused > div {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.nt-team-person__paused p {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.nt-team-person__paused p > span {
  display: grid;
  min-width: 0;
}

.nt-team-person__paused p strong,
.nt-team-person__paused p small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-team-person__paused p strong {
  font-size: 12px;
}

.nt-team-person__paused p small {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-team-person__paused p b {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .nt-team-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nt-team-person {
    grid-template-columns: minmax(190px, 1fr) minmax(180px, 1fr) minmax(240px, 1.1fr);
  }

  .nt-team-person__paused {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nt-team-grid {
    grid-template-columns: 1fr;
  }

  .nt-team-person {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nt-team-person__paused {
    grid-column: 1 / -1;
  }

  .nt-modal__footer--finish {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .nt-finish-actions {
    justify-content: stretch;
  }

  .nt-finish-actions .nt-button {
    flex: 1 1 220px;
  }
}

@media (max-width: 700px) {
  .nt-team-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nt-team-chart-card {
    overflow-x: auto;
  }

  .nt-team-chart {
    min-width: 620px;
  }

  .nt-team-person {
    grid-template-columns: 1fr;
  }

  .nt-team-person__paused {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .nt-team-kpis {
    grid-template-columns: 1fr;
  }

  .nt-current,
  .nt-switcher--v2,
  .nt-quick,
  .nt-team-chart-card,
  .nt-team-split,
  .nt-team-people {
    padding: 18px;
  }

  .nt-global-busy {
    bottom: 14px;
    left: 14px;
    right: 14px;
    width: auto;
  }

  .nt-toast-region {
    bottom: 70px;
  }
}

.nt-finish-choice-info {
  align-items: flex-start;
  background: var(--nt-secondary-soft);
  border: 1px solid rgba(201, 80, 180, 0.2);
  border-radius: 12px;
  color: var(--nt-text-soft);
  display: flex;
  font-size: 11px;
  gap: 9px;
  line-height: 1.55;
  margin-right: auto;
  max-width: 510px;
  padding: 10px 12px;
}

.nt-finish-choice-info svg {
  color: var(--nt-secondary-dark);
  flex: 0 0 auto;
  margin-top: 1px;
}

.nt-finish-choice-info strong {
  color: var(--nt-text);
}

/* --------------------------------------------------------------------------
 * Nordic Time 2.2 – Zoho People Attendance
 * -------------------------------------------------------------------------- */

.nt-attendance-strip {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-left: 4px solid var(--nt-muted);
  border-radius: var(--nt-radius);
  box-shadow: var(--nt-shadow-sm);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 1.45fr) minmax(160px, 0.55fr) auto;
  margin-bottom: 18px;
  padding: 16px 18px;
}

.nt-attendance-strip.is-in {
  border-left-color: var(--nt-primary);
}

.nt-attendance-strip.is-break,
.nt-attendance-strip.is-leave {
  border-left-color: var(--nt-secondary);
}

.nt-attendance-strip.is-out {
  border-left-color: var(--nt-charcoal);
}

.nt-attendance-strip.is-disconnected,
.nt-attendance-strip.is-unknown {
  border-left-color: var(--nt-warning);
}

.nt-attendance-strip__status {
  align-items: center;
  display: flex;
  gap: 13px;
  min-width: 0;
}

.nt-attendance-strip__icon {
  align-items: center;
  background: var(--nt-primary-soft);
  border-radius: 12px;
  color: var(--nt-primary-dark);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nt-attendance-strip.is-break .nt-attendance-strip__icon,
.nt-attendance-strip.is-leave .nt-attendance-strip__icon {
  background: var(--nt-secondary-soft);
  color: var(--nt-secondary-dark);
}

.nt-attendance-strip.is-out .nt-attendance-strip__icon {
  background: #f0f1f3;
  color: var(--nt-charcoal);
}

.nt-attendance-strip.is-disconnected .nt-attendance-strip__icon,
.nt-attendance-strip.is-unknown .nt-attendance-strip__icon {
  background: var(--nt-warning-soft);
  color: var(--nt-warning);
}

.nt-attendance-strip__status > div,
.nt-attendance-strip__duration {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-attendance-strip__status small,
.nt-attendance-strip__duration small {
  color: var(--nt-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nt-attendance-strip__status strong {
  color: var(--nt-dark);
  font-size: 15px;
  line-height: 1.25;
  margin-top: 2px;
}

.nt-attendance-strip__status span,
.nt-attendance-strip__duration span {
  color: var(--nt-muted);
  font-size: 11px;
  line-height: 1.4;
  margin-top: 2px;
}

.nt-attendance-strip__duration {
  border-left: 1px solid var(--nt-line);
  padding-left: 20px;
}

.nt-attendance-strip__duration strong {
  color: var(--nt-dark);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  margin-top: 2px;
}

.nt-attendance-strip__actions {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: flex-end;
}

.nt-button--checkout {
  background: var(--nt-secondary);
  border-color: var(--nt-secondary);
  color: #fff !important;
}

.nt-button--checkout:hover,
.nt-button--checkout:focus-visible {
  background: var(--nt-secondary-dark);
  border-color: var(--nt-secondary-dark);
  color: #fff !important;
}

.nt-current--stopped {
  border-left: 4px solid var(--nt-muted);
  min-height: 210px;
}

.nt-no-timer {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 164px;
}

.nt-no-timer__icon {
  align-items: center;
  background: #f0f1f3;
  border-radius: 14px;
  color: var(--nt-charcoal);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.nt-no-timer h1 {
  font-size: 22px;
  line-height: 1.2;
  margin-top: 5px;
}

.nt-no-timer p {
  color: var(--nt-muted);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 7px;
  max-width: 520px;
}

.nt-no-timer__action {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.nt-checkout-form {
  display: grid;
  gap: 18px;
}

.nt-checkout-kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nt-checkout-kpis article {
  align-items: center;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 13px;
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 12px 13px;
}

.nt-checkout-kpis article > span {
  align-items: center;
  background: var(--nt-primary-soft);
  border-radius: 9px;
  color: var(--nt-primary-dark);
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.nt-checkout-kpis article:nth-child(3) > span,
.nt-checkout-kpis article:nth-child(4) > span {
  background: var(--nt-secondary-soft);
  color: var(--nt-secondary-dark);
}

.nt-checkout-kpis article div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-checkout-kpis small {
  color: var(--nt-muted);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.25;
}

.nt-checkout-kpis strong {
  color: var(--nt-dark);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  margin-top: 2px;
}

.nt-checkout-current,
.nt-checkout-ok,
.nt-checkout-explainer {
  align-items: flex-start;
  border-radius: 13px;
  display: flex;
  gap: 11px;
  padding: 12px 14px;
}

.nt-checkout-current {
  background: var(--nt-warning-soft);
  border: 1px solid rgba(169, 107, 23, 0.2);
  color: var(--nt-warning);
}

.nt-checkout-ok {
  background: var(--nt-success-soft);
  border: 1px solid rgba(38, 123, 98, 0.18);
  color: var(--nt-success);
}

.nt-checkout-explainer {
  background: var(--nt-primary-soft);
  border: 1px solid rgba(29, 155, 141, 0.18);
  color: var(--nt-primary-dark);
}

.nt-checkout-current svg,
.nt-checkout-ok svg,
.nt-checkout-explainer svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.nt-checkout-current div,
.nt-checkout-ok div,
.nt-checkout-explainer div {
  display: flex;
  flex-direction: column;
}

.nt-checkout-current strong,
.nt-checkout-ok strong,
.nt-checkout-explainer strong {
  color: var(--nt-dark);
  font-size: 12px;
}

.nt-checkout-current span,
.nt-checkout-ok span,
.nt-checkout-explainer span {
  color: var(--nt-charcoal);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 2px;
}

.nt-checkout-idle {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 15px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.nt-checkout-idle .nt-card__title {
  margin-bottom: 2px;
}

.nt-checkout-idle .nt-card__title h3 {
  font-size: 16px;
  margin-top: 3px;
}

.nt-checkout-idle .nt-card__title p {
  color: var(--nt-muted);
  font-size: 11px;
  margin-top: 4px;
}

.nt-checkout-option {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto minmax(0, 1fr);
  padding: 11px 12px;
}

.nt-checkout-option:hover,
.nt-checkout-option:has(input:checked) {
  border-color: rgba(29, 155, 141, 0.45);
  box-shadow: 0 0 0 2px rgba(29, 155, 141, 0.08);
}

.nt-checkout-option input {
  accent-color: var(--nt-primary);
}

.nt-checkout-option > span {
  align-items: center;
  background: var(--nt-primary-soft);
  border-radius: 8px;
  color: var(--nt-primary-dark);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.nt-checkout-option div {
  display: flex;
  flex-direction: column;
}

.nt-checkout-option strong {
  color: var(--nt-dark);
  font-size: 11px;
}

.nt-checkout-option small {
  color: var(--nt-muted);
  font-size: 9px;
  line-height: 1.45;
  margin-top: 2px;
}

.nt-checkout-assignment {
  display: none;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, auto);
  padding: 5px 0 0 34px;
}

.nt-checkout-assignment.is-visible {
  display: grid;
}

.nt-billing-choice--checkout {
  align-self: end;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-billing-choice--checkout label {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
}

.nt-billing-choice--checkout label.is-billable {
  background: var(--nt-primary-soft);
  border-color: rgba(29, 155, 141, 0.35);
  color: var(--nt-primary-dark);
}

.nt-billing-choice--checkout label.is-nonbillable {
  background: var(--nt-secondary-soft);
  border-color: rgba(201, 80, 180, 0.32);
  color: var(--nt-secondary-dark);
}

.nt-billing-choice--checkout input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.nt-billing-choice--checkout span {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 650;
  gap: 6px;
  white-space: nowrap;
}

.nt-checkout-loading {
  min-height: 260px;
}

.nt-team-kpis--attendance {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.nt-team-kpi.is-out > span {
  background: #f0f1f3;
  color: var(--nt-charcoal);
}

.nt-team-kpi.is-leave > span,
.nt-team-kpi.is-coverage > span {
  background: var(--nt-secondary-soft);
  color: var(--nt-secondary-dark);
}

.nt-team-attendance-summary {
  border-top: 1px solid var(--nt-line);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  padding-top: 16px;
}

.nt-team-attendance-summary > div {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 10px 11px;
}

.nt-team-attendance-summary small {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-team-attendance-summary strong {
  color: var(--nt-dark);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
}

.nt-attendance-badge {
  align-items: center;
  align-self: flex-start;
  background: #f0f1f3;
  border-radius: 999px;
  color: var(--nt-charcoal);
  display: inline-flex;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 5px;
  padding: 3px 7px;
  text-transform: uppercase;
}

.nt-attendance-badge.is-in {
  background: var(--nt-primary-soft);
  color: var(--nt-primary-dark);
}

.nt-attendance-badge.is-break,
.nt-attendance-badge.is-leave {
  background: var(--nt-secondary-soft);
  color: var(--nt-secondary-dark);
}

.nt-attendance-badge.is-unknown {
  background: var(--nt-warning-soft);
  color: var(--nt-warning);
}

.nt-team-warning {
  align-items: center;
  color: var(--nt-warning);
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  gap: 4px;
  margin-top: 5px;
}

.nt-team-person__totals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-team-person__totals > div span {
  display: block;
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .nt-attendance-strip {
    grid-template-columns: minmax(260px, 1fr) minmax(150px, auto);
  }

  .nt-attendance-strip__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .nt-team-kpis--attendance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nt-checkout-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nt-checkout-assignment {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .nt-no-timer {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nt-no-timer__action {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .nt-attendance-strip {
    grid-template-columns: 1fr;
  }

  .nt-attendance-strip__duration {
    border-left: 0;
    border-top: 1px solid var(--nt-line);
    padding-left: 0;
    padding-top: 12px;
  }

  .nt-attendance-strip__actions {
    grid-column: auto;
  }

  .nt-team-kpis--attendance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nt-team-person__totals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nt-attendance-strip,
  .nt-checkout-idle {
    padding: 14px;
  }

  .nt-attendance-strip__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nt-attendance-strip__actions .nt-button {
    justify-content: center;
    width: 100%;
  }

  .nt-checkout-kpis,
  .nt-team-kpis--attendance,
  .nt-team-attendance-summary,
  .nt-billing-choice--checkout {
    grid-template-columns: 1fr;
  }

  .nt-no-timer {
    grid-template-columns: 1fr;
  }
}

/* Nordic Time 2.2.1: calm Zoho People cooldown feedback. */
.nt-attendance-strip.is-rate-limited {
  border-color: rgba(201, 143, 40, 0.42);
  box-shadow: 0 8px 24px rgba(31, 31, 35, 0.07);
}

.nt-attendance-strip.is-rate-limited .nt-attendance-strip__icon {
  background: rgba(201, 143, 40, 0.12);
  color: #9b6812;
}

.nt-attendance-strip [data-attendance-refresh][disabled],
.nt-attendance-strip [data-attendance-punch][disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}

.nt-toast--warning > span {
  color: #f2c66d;
}

/* Nordic Time 2.5.0: complete manual Zoho work cache and local filtering. */
.nt-task-panel__subtitle {
  color: var(--nt-muted);
  font-size: 12px;
  margin: 5px 0 0;
}

.nt-work-tabs {
  align-items: center;
  border-top: 1px solid var(--nt-line);
  display: flex;
  gap: 8px;
  padding: 12px 18px 0;
}

.nt-work-tabs button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  color: var(--nt-muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
}

.nt-work-tabs button:hover {
  color: var(--nt-dark);
}

.nt-work-tabs button.is-active {
  border-bottom-color: var(--nt-primary);
  color: var(--nt-primary-dark);
}

.nt-project-context {
  align-items: center;
  background: var(--nt-primary-soft);
  border-bottom: 1px solid rgba(29, 155, 141, 0.18);
  color: var(--nt-charcoal);
  display: flex;
  font-size: 12px;
  gap: 8px;
  padding: 10px 18px;
}

.nt-load-more,
.nt-list-complete {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  padding: 8px 18px 20px;
}

.nt-load-more small,
.nt-list-complete small {
  color: var(--nt-muted);
  font-size: 11px;
}

.nt-load-more .nt-button {
  min-width: 150px;
  justify-content: center;
}

@media (max-width: 760px) {
  .nt-work-tabs {
    overflow-x: auto;
  }

  .nt-task-toolbar {
    grid-template-columns: 1fr;
  }

  .nt-segmented {
    width: 100%;
  }

  .nt-segmented button {
    flex: 1;
    justify-content: center;
  }
}

/* Nordic Time 2.5.0: complete local Projects cache. */
.nt-cache-meta {
  color: var(--nt-muted);
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 7px;
}

.nt-cache-warning {
  align-items: flex-start;
  background: var(--nt-warning-soft);
  border-bottom: 1px solid rgba(183, 123, 0, 0.18);
  color: var(--nt-charcoal);
  display: flex;
  font-size: 12px;
  gap: 8px;
  padding: 10px 18px;
}

.nt-task-toolbar {
  grid-template-columns: auto auto minmax(220px, 1fr) minmax(170px, 0.65fr) minmax(180px, 0.75fr);
}

.nt-segmented--status button {
  min-width: 62px;
  justify-content: center;
}

.nt-task-panel__title .nt-inline-actions {
  align-self: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .nt-task-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .nt-search,
  .nt-select-wrap {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .nt-task-panel__title .nt-inline-actions,
  .nt-task-panel__title .nt-button {
    width: 100%;
  }

  .nt-task-panel__title .nt-button {
    justify-content: center;
  }
}


.nt-cache-diagnostics {
  margin: 0 20px 16px;
  border: 1px solid var(--nt-border, #e6e8eb);
  border-radius: 12px;
  background: #f7f8fa;
  overflow: hidden;
}
.nt-cache-diagnostics > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  cursor: pointer;
  color: #3a3a40;
  font-size: 14px;
  list-style: none;
}
.nt-cache-diagnostics > summary::-webkit-details-marker { display: none; }
.nt-cache-diagnostics > summary small { margin-left: auto; color: #8a8f98; }
.nt-cache-diagnostics__body { padding: 0 14px 14px; }
.nt-cache-diagnostics__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.nt-cache-diagnostics__meta span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #fff;
  color: #3a3a40;
  font-size: 13px;
}
.nt-cache-diagnostics__meta b { color: #8a8f98; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.nt-cache-diagnostics ol { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 5px; }
.nt-cache-diagnostics li { display: flex; align-items: flex-start; gap: 8px; padding: 7px 9px; border-radius: 8px; background: #fff; font-size: 12px; color: #3a3a40; }
.nt-cache-diagnostics li code { min-width: 22px; color: #1d9b8d; }
.nt-cache-diagnostics li span { flex: 1; overflow-wrap: anywhere; }
.nt-cache-diagnostics li strong { color: #b42318; }
.nt-cache-diagnostics__error { padding: 9px 10px; border-radius: 8px; background: #fff2f0; color: #b42318; font-size: 13px; }
@media (max-width: 760px) {
  .nt-cache-diagnostics__meta { grid-template-columns: 1fr; }
  .nt-cache-diagnostics > summary { align-items: flex-start; flex-wrap: wrap; }
  .nt-cache-diagnostics > summary small { width: 100%; margin-left: 23px; }
}

/* Nordic Time 2.6.0: local task management, richer sorting and report spacing. */
.nt-task-toolbar {
  grid-template-columns: auto auto minmax(230px, 1.35fr) minmax(165px, .72fr) minmax(175px, .78fr) minmax(180px, .82fr);
  align-items: center;
}

.nt-task {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 14px 12px;
}

.nt-task__actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
}

.nt-task__actions .nt-button--start {
  min-width: 92px;
}

.nt-task__meta {
  line-height: 1.45;
}

.nt-task__due.is-overdue {
  color: var(--nt-danger);
  font-weight: 750;
}

.nt-task__due.is-empty {
  color: #a6aab1;
}

.nt-task.is-overdue {
  background: rgba(212, 74, 82, .035);
}

.nt-task.is-overdue:hover {
  background: rgba(212, 74, 82, .065);
}

.nt-select-modal-tools {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(280px, 1fr);
  margin-bottom: 14px;
}

.nt-select-modal-tools .nt-search--modal {
  margin: 0;
}

.nt-modal-tasklist {
  max-height: min(520px, 58vh);
}

.nt-modal-task > span:nth-child(2) em {
  color: var(--nt-muted);
  font-size: 9px;
  font-style: normal;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-modal-task__type {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  color: var(--nt-muted);
  display: inline-flex !important;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 7px;
}

.nt-modal-result-note {
  color: var(--nt-muted);
  font-size: 11px;
  margin: 0;
  padding: 11px 14px;
  text-align: center;
}

.nt-task-manage-form {
  display: grid;
  gap: 18px;
}

.nt-task-manage-summary {
  align-items: flex-start;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 14px;
  display: grid;
  gap: 13px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 16px;
}

.nt-task-manage-summary > div {
  min-width: 0;
}

.nt-task-manage-summary small {
  color: var(--nt-green-dark);
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 3px;
}

.nt-task-manage-summary h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.nt-task-manage-summary p {
  color: var(--nt-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  max-width: 760px;
}

.nt-task-manage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-task-manage-facts {
  background: #fbfbfc;
  border: 1px solid var(--nt-line);
  border-radius: 13px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.nt-task-manage-facts span {
  color: var(--nt-charcoal);
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 4px;
  min-width: 0;
  padding: 13px 15px;
}

.nt-task-manage-facts span + span {
  border-left: 1px solid var(--nt-line);
}

.nt-task-manage-facts b {
  color: var(--nt-muted);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nt-task-manage-footer .nt-help {
  margin-right: auto;
}

.nt-button--danger-outline {
  background: var(--nt-white);
  border-color: rgba(199, 67, 77, .35);
  color: var(--nt-danger);
}

.nt-button--danger-outline:hover {
  background: rgba(199, 67, 77, .07);
  border-color: rgba(199, 67, 77, .55);
}

.nt-callout--danger {
  background: rgba(199, 67, 77, .08);
  border-color: rgba(199, 67, 77, .22);
  color: var(--nt-danger);
}

/* Report cards now keep the same internal breathing room as the timer view. */
.nt-view--report {
  padding-bottom: 28px;
}

.nt-view--report > .nt-view-heading,
.nt-view--report > .nt-report-kpis,
.nt-view--report > .nt-report-grid,
.nt-view--report > .nt-report-section {
  margin-left: 8px;
  margin-right: 8px;
}

.nt-report-section {
  padding: 22px 24px 24px;
}

.nt-report-section > .nt-card__title {
  margin-bottom: 18px;
  padding: 0;
}

.nt-report-section--wide {
  padding-left: 0;
  padding-right: 0;
}

.nt-report-section--wide > .nt-card__title {
  padding-left: 24px;
  padding-right: 24px;
}

.nt-report-section--wide .nt-report-table-wrap {
  border-top: 1px solid var(--nt-line);
}

.nt-report-section .nt-empty,
.nt-report-section .nt-report-ok {
  margin: 0;
}

@media (max-width: 1320px) {
  .nt-task-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nt-task-toolbar .nt-segmented {
    width: 100%;
  }

  .nt-task-toolbar .nt-segmented button {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .nt-task-toolbar,
  .nt-select-modal-tools,
  .nt-task-manage-grid,
  .nt-task-manage-facts {
    grid-template-columns: 1fr;
  }

  .nt-task-manage-summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nt-task-manage-summary > .nt-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .nt-task-manage-facts span + span {
    border-left: 0;
    border-top: 1px solid var(--nt-line);
  }

  .nt-task {
    align-items: flex-start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nt-task__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-left: 46px;
  }

  .nt-view--report > .nt-view-heading,
  .nt-view--report > .nt-report-kpis,
  .nt-view--report > .nt-report-grid,
  .nt-view--report > .nt-report-section {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Nordic Time 2.7 readability and workflow refinements */
.nt-app {
  font-size: 15px;
}

.nt-eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
}

.nt-help,
.nt-card__title p,
.nt-task-panel__subtitle,
.nt-cache-meta,
.nt-work-item small,
.nt-quick__item small,
.nt-task__meta,
.nt-task__meta span,
.nt-view-heading p,
.nt-modal p,
.nt-field small {
  font-size: 13px;
  line-height: 1.55;
}

.nt-entry__time span,
.nt-entry__time small,
.nt-entry__project,
.nt-entry__error,
.nt-sync,
.nt-source-chip,
.nt-billable-chip,
.nt-report-kpi small,
.nt-report-table th {
  font-size: 11px;
}

.nt-entry__heading h3 {
  font-size: 15px;
}

.nt-entry__notes,
.nt-report-table td,
.nt-report-bar strong,
.nt-project-bar strong,
.nt-report-bar > b {
  font-size: 13px;
}

.nt-report-bar small,
.nt-project-bar span,
.nt-report-table td:first-child small {
  font-size: 12px;
}

.nt-view--report > .nt-view-heading,
.nt-view--report > .nt-report-kpis,
.nt-view--report > .nt-report-grid,
.nt-view--report > .nt-report-section {
  margin-left: 24px;
  margin-right: 24px;
}

.nt-view--report > .nt-view-heading {
  margin-top: 26px;
  margin-bottom: 22px;
}

.nt-report-kpis,
.nt-report-grid {
  gap: 18px;
  margin-bottom: 18px;
}

.nt-report-kpi {
  padding: 18px;
}

.nt-report-section {
  padding: 22px;
}

.nt-report-section--wide {
  padding-left: 0;
  padding-right: 0;
}

.nt-report-section--wide > .nt-card__title {
  padding-left: 22px;
  padding-right: 22px;
}

.nt-desk-shortcut {
  align-items: center;
  background: var(--nt-primary-soft);
  border-bottom: 1px solid var(--nt-line);
  border-top: 1px solid rgba(29, 155, 141, 0.18);
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 14px 18px;
}

.nt-desk-shortcut__icon {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid rgba(29, 155, 141, 0.22);
  border-radius: 12px;
  color: var(--nt-primary-dark);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nt-desk-shortcut h3 {
  font-size: 15px;
  margin: 1px 0 2px !important;
}

.nt-desk-shortcut p {
  color: var(--nt-muted);
  font-size: 13px;
}

.nt-split-form,
.nt-long-day-form {
  display: grid;
  gap: 18px;
}

.nt-split-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-split-summary > div,
.nt-long-day-clock {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 14px;
  padding: 16px;
}

.nt-split-summary small,
.nt-long-day-clock small {
  color: var(--nt-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nt-split-summary strong,
.nt-long-day-clock strong {
  display: block;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  margin: 4px 0;
}

.nt-split-summary span,
.nt-long-day-clock span {
  color: var(--nt-muted);
  font-size: 13px;
}

.nt-split-allocation {
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 14px;
  padding: 16px;
}

.nt-split-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.nt-split-presets button {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  color: var(--nt-charcoal);
  cursor: pointer;
  font-size: 13px;
  padding: 7px 11px;
}

.nt-split-presets button:hover {
  border-color: var(--nt-primary);
  color: var(--nt-primary-dark);
}

.nt-modal-task.is-selected {
  background: var(--nt-primary-soft);
  border-color: var(--nt-primary);
  box-shadow: inset 3px 0 0 var(--nt-primary);
}

.nt-split-selected {
  align-items: center;
  background: var(--nt-primary-soft);
  border: 1px solid rgba(29, 155, 141, 0.25);
  border-radius: 13px;
  color: var(--nt-primary-dark);
  display: flex;
  gap: 12px;
  padding: 13px 15px;
}

.nt-split-selected small,
.nt-split-selected strong {
  display: block;
}

.nt-split-selected small {
  font-size: 12px;
  opacity: 0.8;
}

.nt-split-selected strong {
  color: var(--nt-dark);
  font-size: 14px;
}

.nt-billing-choice--split {
  margin: 0;
}

.nt-long-day-clock {
  align-items: center;
  background: var(--nt-warning-soft);
  border-color: rgba(169, 107, 23, 0.2);
  display: flex;
  gap: 15px;
}

.nt-long-day-clock > .nt-icon {
  color: var(--nt-warning);
  flex: 0 0 auto;
}

.nt-long-day-clock b {
  color: var(--nt-danger);
  font-variant-numeric: tabular-nums;
}

.nt-check--standalone {
  margin: 0;
}

@media (max-width: 820px) {
  .nt-view--report > .nt-view-heading,
  .nt-view--report > .nt-report-kpis,
  .nt-view--report > .nt-report-grid,
  .nt-view--report > .nt-report-section {
    margin-left: 0;
    margin-right: 0;
  }

  .nt-split-summary {
    grid-template-columns: 1fr;
  }

  .nt-desk-shortcut {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nt-desk-shortcut .nt-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Nordic Time 2.7.1: compact local-cache counts and single-line quick actions. */
.nt-work-tabs button em {
  align-items: center;
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  color: var(--nt-muted);
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  justify-content: center;
  min-width: 24px;
  padding: 2px 6px;
}

.nt-work-tabs button.is-active em {
  background: var(--nt-primary-soft);
  border-color: rgba(29, 155, 141, 0.22);
  color: var(--nt-primary-dark);
}

.nt-quick__item strong {
  font-size: 14px;
}

/* Nordic Time 2.7.3: project-scoped multi-owner task management. */
.nt-task-owner-field {
  border: 0;
  grid-column: 1 / -1;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.nt-task-owner-field > legend {
  color: var(--nt-muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
  padding: 0;
}

.nt-owner-multiselect {
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 12px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 250px;
  overflow: auto;
  padding: 6px;
}

.nt-owner-multiselect > label {
  align-items: center;
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 8px 9px;
}

.nt-owner-multiselect > label:hover {
  background: var(--nt-bg);
}

.nt-owner-multiselect input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.nt-owner-check {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  color: transparent;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.nt-owner-multiselect input:checked + .nt-owner-check {
  background: var(--nt-primary);
  border-color: var(--nt-primary);
  color: var(--nt-white);
}

.nt-owner-multiselect input:focus-visible + .nt-owner-check {
  box-shadow: 0 0 0 3px rgba(29, 155, 141, 0.2);
}

.nt-owner-multiselect label > span:last-child,
.nt-owner-multiselect label strong,
.nt-owner-multiselect label small {
  display: block;
  min-width: 0;
}

.nt-owner-multiselect label strong {
  color: var(--nt-dark);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-owner-multiselect label small,
.nt-owner-help {
  color: var(--nt-muted);
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-owner-help {
  margin-top: 7px;
  white-space: normal;
}

.nt-webhook-settings code {
  background: var(--nt-bg);
  border-radius: 5px;
  font-size: 13px;
  padding: 2px 5px;
}

@media (max-width: 720px) {
  .nt-owner-multiselect {
    grid-template-columns: 1fr;
  }
}

/* Nordic Time 2.7.4: viewport-safe modals and container-responsive task controls. */
.nt-modal-backdrop {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nt-modal {
  display: flex;
  flex-direction: column;
  max-height: min(860px, calc(100vh - 48px));
  max-height: min(860px, calc(100dvh - 48px));
  min-height: 0;
}

.nt-modal__head {
  flex: 0 0 auto;
}

.nt-modal__body,
.nt-modal--wide .nt-modal__body {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c7cbd1 transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.nt-modal__body::-webkit-scrollbar {
  width: 10px;
}

.nt-modal__body::-webkit-scrollbar-thumb {
  background: #c7cbd1;
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.nt-modal__footer {
  background: var(--nt-white);
  bottom: -25px;
  box-shadow: 0 -12px 22px rgba(31, 31, 35, 0.06);
  margin: 4px -25px -25px;
  padding: 17px 25px max(20px, env(safe-area-inset-bottom));
  position: sticky;
  z-index: 5;
}

.nt-task-panel {
  container-name: nt-task-panel;
  container-type: inline-size;
}

.nt-task-toolbar {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.nt-task-toolbar > * {
  min-width: 0;
  width: 100%;
}

.nt-task-toolbar .nt-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-task-toolbar .nt-segmented button {
  justify-content: center;
  min-width: 0;
  padding-left: 8px;
  padding-right: 8px;
}

@container nt-task-panel (max-width: 520px) {
  .nt-task-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nt-modal {
    max-height: calc(100vh - 8px);
    max-height: calc(100dvh - 8px);
  }

  .nt-modal__footer {
    bottom: -18px;
    margin: 4px -16px -18px;
    padding: 15px 16px max(18px, env(safe-area-inset-bottom));
  }

  .nt-task-toolbar {
    grid-template-columns: 1fr;
  }
}

/* Nordic Time 2.7.5: top-layer dialogs and compact current-timer actions. */
dialog.nt-modal-backdrop {
  border: 0;
  box-sizing: border-box;
  color: inherit;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  max-height: none;
  max-width: none;
  width: 100vw;
}

dialog.nt-modal-backdrop::backdrop {
  background: transparent;
}

.nt-current__footer > div:first-child {
  flex: 0 0 auto;
}

.nt-current__footer .nt-inline-actions {
  flex-wrap: nowrap;
  gap: 8px;
}

.nt-current__footer .nt-button {
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .nt-current__footer .nt-inline-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .nt-current__footer .nt-inline-actions .nt-button {
    width: auto;
  }
}

/* Nordic Time 2.7.26: readable open-task cards and viewport-safe checkout review. */
.nt-current .nt-card__header > div:first-child,
.nt-current__title {
  min-width: 0;
}

.nt-current__title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-work-item {
  align-items: stretch;
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0, 1fr);
  padding: 14px 15px;
}

.nt-work-item__headline,
.nt-work-item__headline strong,
.nt-work-item__meta,
.nt-work-item__controls {
  min-width: 0;
}

.nt-work-item__headline strong {
  color: var(--nt-dark);
  cursor: help;
  display: block;
  font-size: 15px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.nt-work-item__meta {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
}

.nt-work-item__state {
  height: 30px;
  width: 30px;
}

.nt-work-item__project,
.nt-work-item__billing {
  color: var(--nt-muted);
  font-size: 12px;
  line-height: 1.35;
}

.nt-work-item__project {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-work-item__billing {
  text-align: right;
  white-space: nowrap;
}

.nt-work-item__controls {
  align-items: center;
  border-top: 1px solid rgba(31, 31, 35, 0.07);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-top: 10px;
}

.nt-work-item__actions {
  flex-wrap: nowrap;
}

dialog.nt-modal-backdrop {
  align-items: flex-start;
  overflow: hidden;
  padding: max(12px, env(safe-area-inset-top)) clamp(12px, 3vw, 28px) max(12px, env(safe-area-inset-bottom));
}

dialog.nt-modal-backdrop > .nt-modal {
  margin: auto 0;
  max-height: 100%;
}

.nt-modal--checkout {
  width: min(980px, 100%);
}

.nt-modal--checkout .nt-modal__body {
  padding: 18px 22px 22px;
}

.nt-modal--checkout .nt-modal__footer {
  bottom: -22px;
  margin: 4px -22px -22px;
  padding-left: 22px;
  padding-right: 22px;
}

.nt-checkout-registered {
  align-items: center;
  background: var(--nt-success-soft);
  border: 1px solid rgba(38, 123, 98, 0.22);
  border-radius: 14px;
  color: var(--nt-success);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 14px 16px;
}

.nt-checkout-registered > svg {
  background: var(--nt-white);
  border-radius: 9px;
  box-sizing: content-box;
  padding: 8px;
}

.nt-checkout-registered > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-checkout-registered strong {
  color: var(--nt-dark);
  font-size: 16px;
  line-height: 1.35;
  margin-top: 2px;
}

.nt-checkout-registered small {
  color: var(--nt-charcoal);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 2px;
}

.nt-checkout-kpis.nt-checkout-kpis--six small,
.nt-checkout-week-kpis small,
.nt-checkout-days small {
  font-size: 12px;
}

.nt-checkout-kpis.nt-checkout-kpis--six strong {
  font-size: 17px;
}

.nt-checkout-activity-list strong,
.nt-checkout-activity-list b {
  font-size: 14px;
}

.nt-checkout-activity-list small,
.nt-checkout-empty,
.nt-checkout-review-head p {
  font-size: 13px;
}

@media (max-width: 620px) {
  dialog.nt-modal-backdrop {
    padding: max(4px, env(safe-area-inset-top)) 4px max(4px, env(safe-area-inset-bottom));
  }

  .nt-work-item__meta {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .nt-work-item__billing {
    grid-column: 2;
    text-align: left;
  }

  .nt-work-item__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .nt-work-item__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nt-work-item__actions .nt-button {
    justify-content: center;
    width: 100%;
  }

  .nt-modal--checkout .nt-modal__body {
    padding: 15px 14px 18px;
  }

  .nt-modal--checkout .nt-modal__footer {
    bottom: -18px;
    margin: 4px -14px -18px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* v2.7.28 · Opt-in Desk association and searchable ticket picker. */
.nt-create-desk-toggle {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(88, 114, 255, .16);
  border-radius: 12px;
  margin: 0;
  padding: 12px;
}

.nt-create-desk-picker {
  display: grid;
  gap: 10px;
}

.nt-desk-search > div {
  align-items: center;
  background: var(--nt-white);
  border: 1px solid var(--nt-line);
  border-radius: 11px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  padding-left: 12px;
}

.nt-desk-search > div:focus-within {
  border-color: var(--nt-primary);
  box-shadow: 0 0 0 3px rgba(29, 155, 141, .12);
}

.nt-desk-search > div > svg {
  color: var(--nt-muted);
}

.nt-desk-search input {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-width: 0;
  outline: 0;
}

.nt-desk-search-results {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(88, 114, 255, .14);
  border-radius: 12px;
  display: grid;
  max-height: 250px;
  overflow: auto;
  padding: 5px;
}

.nt-desk-search-result {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--nt-dark);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.nt-desk-search-result:hover,
.nt-desk-search-result:focus-visible,
.nt-desk-search-result.is-selected {
  background: rgba(88, 114, 255, .09);
  outline: 0;
}

.nt-desk-search-result > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-desk-search-result strong,
.nt-desk-search-result small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-desk-search-result strong {
  font-size: 13px;
  line-height: 1.35;
}

.nt-desk-search-result small {
  color: var(--nt-muted);
  font-size: 11px;
  margin-top: 2px;
}

.nt-desk-search-result em {
  background: var(--nt-primary-soft);
  border-radius: 999px;
  color: var(--nt-primary-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  padding: 4px 7px;
}

.nt-desk-search-result.is-closed em {
  background: rgba(31, 31, 35, .08);
  color: var(--nt-muted);
}

.nt-desk-search-state {
  align-items: center;
  color: var(--nt-muted);
  display: flex;
  font-size: 12px;
  gap: 8px;
  justify-content: center;
  min-height: 54px;
  padding: 10px;
  text-align: center;
}

/* v2.7.27 · Explicit task-list placement and optional Desk association. */
.nt-create-association {
  background: var(--nt-bg);
  border: 1px solid var(--nt-line);
  border-radius: 15px;
  display: grid;
  gap: 12px;
  padding: 15px;
}

.nt-create-association--tasklist {
  background: linear-gradient(135deg, rgba(29, 155, 141, .08), rgba(29, 155, 141, .02));
  border-color: rgba(29, 155, 141, .24);
}

.nt-create-association--desk {
  background: linear-gradient(135deg, rgba(88, 114, 255, .07), rgba(255, 255, 255, .45));
}

.nt-create-association__head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.nt-create-association__head h3 {
  font-size: 16px;
  line-height: 1.25;
  margin: 2px 0 0;
}

.nt-required-badge,
.nt-desk-badge {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 6px 9px;
  text-transform: uppercase;
}

.nt-required-badge {
  background: var(--nt-primary-soft);
  color: var(--nt-primary-dark);
}

.nt-desk-badge {
  background: rgba(88, 114, 255, .12);
  color: #3d54c7;
}

.nt-desk-ticket-preview {
  align-items: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(88, 114, 255, .14);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 11px 12px;
}

.nt-desk-ticket-preview > div,
.nt-desk-field-map {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nt-desk-ticket-preview strong {
  font-size: 13px;
  line-height: 1.35;
}

.nt-desk-ticket-preview span,
.nt-desk-field-map span,
.nt-desk-field-map small {
  color: var(--nt-muted);
  font-size: 12px;
  line-height: 1.45;
}

.nt-desk-ticket-preview a {
  align-items: center;
  border-radius: 9px;
  color: var(--nt-primary-dark);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nt-desk-ticket-preview a:hover {
  background: var(--nt-primary-soft);
}

.nt-desk-field-map {
  border-left: 3px solid var(--nt-success);
  gap: 2px;
  padding: 4px 0 4px 11px;
}

.nt-desk-field-map.has-missing {
  border-left-color: var(--nt-warning);
}

.nt-desk-field-map strong {
  font-size: 13px;
}

.nt-desk-field-map small {
  margin-top: 2px;
}

@media (max-width: 620px) {
  .nt-create-association {
    padding: 13px;
  }

  .nt-create-association__head {
    align-items: flex-start;
  }
}
