/* node_modules/antd/dist/reset.css */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  margin: 0;
}
[tabindex="-1"]:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type=text],
input[type=password],
input[type=number],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    Courier,
    monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role=button],
input:not([type=range]),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type=radio],
input[type=checkbox] {
  box-sizing: border-box;
  padding: 0;
}
input[type=date],
input[type=time],
input[type=datetime-local],
input[type=month] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}
[type=search] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}

/* app/javascript/features/dashboard/components/organisms/OverviewSummary/OverviewSummary.css */
.tp-overview-summary .tp-structure-cards-row .ant-col {
  display: flex;
}
.tp-overview-summary .tp-structure-cards-row .tp-structure-column {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 12px;
}
.tp-overview-summary .tp-structure-cards-row .tp-structure-card-wrap {
  display: flex;
  flex: 0 0 auto;
}
.tp-overview-summary .tp-structure-cards-row .tp-structure-card-wrap--grow {
  flex: 1 1 0;
}
.tp-overview-summary .tp-structure-cards-row .ant-card {
  height: 100%;
  width: 100%;
}
.tp-overview-summary .ant-table {
  font-size: 12px;
}
.tp-overview-summary .ant-table-thead > tr > th {
  font-size: 12px;
  padding: 6px 8px;
}
.tp-overview-summary .ant-table-tbody > tr > td {
  font-size: 12px;
  padding: 6px 8px;
}
.tp-overview-summary .tp-structure-billing-card .tp-metric-value {
  font-size: 16px;
  font-weight: 500;
}
.tp-structure-snapshot-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.tp-structure-snapshot-card__pills {
  width: 100%;
}
.tp-structure-snapshot-card__pills .ant-radio-group {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}
.tp-structure-snapshot-card__pills .ant-radio-button-wrapper,
.tp-structure-snapshot-more-pill {
  flex: 0 0 auto;
  min-width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  line-height: 1.2;
  text-align: center;
  border-radius: 999px !important;
  border-left-width: 1px !important;
  margin: 0;
}
.tp-structure-snapshot-card__pills .ant-radio-button-wrapper::before {
  display: none;
}
@media (max-width: 768px) {
  .tp-overview-summary .tp-structure-cards-row {
    gap: 12px !important;
  }
  .tp-overview-summary .tp-structure-column {
    gap: 8px;
  }
  .tp-overview-summary .ant-card-head {
    padding: 12px 16px;
  }
  .tp-overview-summary .ant-card-body {
    padding: 12px 16px;
  }
  .tp-overview-summary .tp-metric-value {
    font-size: 18px;
  }
  .tp-structure-snapshot-card .ant-card-head {
    padding: 10px 12px;
  }
  .tp-structure-snapshot-card .ant-card-head-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .tp-structure-snapshot-card .ant-card-head-title {
    width: 100%;
  }
  .tp-structure-snapshot-card .ant-card-extra {
    width: 100%;
    margin-left: 0 !important;
    display: flex;
    justify-content: center;
  }
  .tp-structure-snapshot-card .ant-space {
    flex-wrap: wrap;
  }
  .tp-overview-summary .ant-card-extra .ant-radio-group {
    display: inline-flex;
    flex-wrap: wrap;
  }
  .tp-overview-summary .ant-card-extra .ant-radio-button-wrapper {
    flex: 0 0 auto;
    min-width: 60px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .tp-overview-summary .ant-card-head {
    padding: 10px 12px;
  }
  .tp-overview-summary .ant-card-body {
    padding: 10px 12px;
  }
  .tp-overview-summary .tp-metric-value {
    font-size: 16px;
  }
  .tp-overview-summary .tp-metric-label {
    font-size: 10px;
  }
  .tp-structure-snapshot-card .ant-radio-button-wrapper {
    font-size: 12px;
    padding: 4px 10px;
    min-width: 80px;
  }
  .tp-structure-snapshot-card .ant-picker {
    font-size: 12px;
  }
  .tp-overview-summary .ant-card-body > div[style*=height] {
    min-height: 280px !important;
  }
  .tp-overview-summary .ant-table-thead > tr > th {
    font-size: 11px;
    padding: 4px 6px;
  }
  .tp-overview-summary .ant-table-tbody > tr > td {
    font-size: 11px;
    padding: 4px 6px;
  }
}

/* app/javascript/features/dashboard/pages/Applications.css */
.applications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 768px) {
  .applications-header {
    align-items: flex-start;
  }
  .applications-header > * {
    width: 100%;
  }
  .applications-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .applications-filters .ant-select {
    width: 100% !important;
  }
}

/* app/javascript/features/dashboard/pages/CompanyTeam.css */
.team-back-link {
  margin-bottom: 12px;
}
.team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.team-title {
  font-weight: 600;
  font-size: 15px;
}
.team-subtitle {
  font-size: 12px;
  margin-top: 2px;
}
.team-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.team-search {
  width: 240px;
}
.team-filter-role {
  width: 180px;
}
.team-filter-status {
  width: 150px;
}
.team-role-designation {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 1px;
}
.team-row-actions {
  display: flex;
  gap: 4px;
}
.team-edit-modal {
  padding: 8px 0 20px;
}
.team-edit-member-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 24px;
}
.team-edit-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #345560;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.team-edit-member-name {
  font-weight: 600;
  font-size: 14px;
}
.team-edit-member-email {
  color: #888;
  font-size: 12px;
}
.team-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.team-modal-btn {
  min-width: 100px;
}
.team-confirm-modal .ant-modal-confirm-btns {
  display: flex;
  justify-content: center;
}
.team-remove-popconfirm .ant-popover-inner {
  max-width: 480px;
}
.team-popconfirm-body {
  font-size: 13px;
}
.team-popconfirm-subtext {
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.65);
}
.team-invite-hint {
  margin-bottom: 16px;
  font-size: 13px;
}
.team-invite-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .team-invite-row {
    flex-direction: column;
  }
}
.team-invite-field--name {
  flex: 1.3;
  margin-bottom: 0 !important;
}
.team-invite-field--email {
  flex: 1.7;
  margin-bottom: 0 !important;
}
.team-invite-field--level {
  flex: 0.9;
  margin-bottom: 0 !important;
}
.team-invite-field--designation {
  flex: 1;
  margin-bottom: 0 !important;
}
.team-invite-remove-btn {
  margin-top: 4px !important;
  padding: 4px 6px !important;
}
.team-invite-add-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  margin-left: auto;
  padding: 2px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #1677ff;
  font-size: 13px;
}
.team-invite-footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .team-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .team-header > button {
    width: 100%;
  }
  .team-filters {
    width: 100%;
  }
  .team-filters .ant-space-item {
    flex: 1 1 100%;
  }
  .team-search,
  .team-filter-role,
  .team-filter-status {
    width: 100% !important;
  }
  .team-filters .ant-input,
  .team-filters .ant-select {
    width: 100% !important;
  }
  .team-invite-row {
    gap: 12px;
  }
  .team-invite-field--name,
  .team-invite-field--email,
  .team-invite-field--level,
  .team-invite-field--designation {
    width: 100%;
    flex: none;
  }
  .team-modal-actions {
    flex-direction: column;
  }
  .team-modal-btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .team-edit-member-header {
    padding: 10px 12px;
  }
  .team-edit-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* app/javascript/features/dashboard/pages/ContractorWorkers.css */
.contractor-workers-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .contractor-workers-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .contractor-workers-header > button {
    width: 100%;
  }
  .contractor-workers-filters {
    width: 100%;
    flex-direction: column;
  }
  .contractor-workers-filters .ant-input,
  .contractor-workers-filters .ant-select {
    width: 100% !important;
  }
}

/* app/javascript/features/dashboard/pages/CompanyWorkers.css */
.workers-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.workers-page__title {
  font-weight: 600;
  font-size: 15px;
  display: block;
  color: #0f172a;
}
.workers-page__subtitle {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}
.workers-page__pending-count {
  color: #d46b08;
  font-weight: 500;
  margin-left: 6px;
}
.workers-page__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.workers-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 12px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.workers-bulk-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.workers-bulk-bar__count {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}
.workers-bulk-bar__clear {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}
.workers-bulk-bar__clear:hover {
  color: rgba(0, 0, 0, 0.65);
}
.workers-bulk-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.workers-wage {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}
.workers-wage--empty {
  color: rgba(0, 0, 0, 0.35);
  font-size: 13px;
}
.workers-skill {
  font-size: 13px;
  color: #0f172a;
  text-transform: capitalize;
}
.workers-skill__level {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.45);
  text-transform: capitalize;
}
.workers-row-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.workers-row-action {
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.35);
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.workers-row-action:hover {
  color: #1677ff;
  background: #e6f4ff;
}
.workers-row-action--approve:hover {
  color: #389e0d;
  background: #f6ffed;
}
.workers-structure-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #1677ff;
  font-size: 13px;
  font-weight: 500;
}
.workers-structure-link:hover {
  text-decoration: underline;
}
.workers-structure-label {
  font-size: 13px;
  color: #0f172a;
}
@media (max-width: 768px) {
  .workers-page__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .workers-page__header > button {
    width: 100%;
  }
  .workers-page__filters {
    width: 100%;
  }
  .workers-page__filters .ant-space-item {
    flex: 1 1 100%;
  }
  .workers-page__filters .ant-input,
  .workers-page__filters .ant-select {
    width: 100% !important;
  }
  .workers-bulk-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .workers-bulk-bar__left,
  .workers-bulk-bar__actions {
    width: 100%;
  }
  .workers-bulk-bar__actions {
    flex-direction: column;
  }
  .workers-bulk-bar__actions > button {
    width: 100%;
  }
  .workers-row-action {
    padding: 6px 10px;
    min-height: 36px;
    min-width: 36px;
  }
}
@media (max-width: 480px) {
  .workers-page__title {
    font-size: 14px;
  }
  .workers-wage,
  .workers-skill {
    font-size: 12px;
  }
}

/* app/javascript/features/dashboard/pages/Structures.css */
.structures-page {
  padding: 0;
}
.structures-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.structures-list-subtitle {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
}
.structure-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.structure-detail-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.structure-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.structure-detail-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.structure-detail-desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 4px;
}
.structure-meta {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}
.structure-detail-tabs .ant-tabs-nav {
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.structure-detail-tabs .ant-tabs-nav-list {
  display: flex;
  gap: 16px;
}
.structure-detail-tabs .ant-tabs-tab {
  margin: 0;
  padding: 8px 0;
}
.structure-detail-tabs .ant-tabs-tab-btn {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.6);
}
.structure-detail-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  font-weight: 600;
  color: #1677ff;
}
.structure-detail-tabs .ant-tabs-ink-bar {
  height: 2px;
  background: #1677ff;
}
.s-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0 36px;
  gap: 6px;
}
.s-empty__icon {
  font-size: 38px;
  color: rgba(0, 0, 0, 0.12);
  margin-bottom: 4px;
}
.s-empty__title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.4);
}
.s-empty__desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.3);
  max-width: 320px;
  text-align: center;
  line-height: 1.5;
}
.items-tab-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 16px;
}
.items-tab-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .items-tab-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .items-tab-toolbar-left,
  .items-tab-toolbar-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .items-tab-toolbar-right .ant-btn {
    flex: 1 1 0;
    min-width: 120px;
  }
}
.items-tab-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.item-card {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.item-card:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  border-color: #d0d8e8;
}
.item-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.item-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.item-card-actions {
  display: flex;
  gap: 4px;
}
.item-bar-track {
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}
.item-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.4s ease;
  min-width: 2px;
}
.item-bar-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}
.item-bar-values {
  color: #fa8c16;
  font-weight: 600;
  font-size: 13px;
}
.item-bar-pct {
  font-weight: 700;
  font-size: 13px;
}
.item-no-target {
  font-size: 12px;
  margin-bottom: 10px;
}
.item-no-target-main {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.item-no-target-label {
  color: rgba(0, 0, 0, 0.45);
}
.item-no-target-value {
  font-weight: 600;
  color: #fa8c16;
  font-size: 13px;
}
.item-no-target-empty {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
  font-style: italic;
}
.item-foot-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.item-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.item-page-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.item-detail-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}
.item-page-charts {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  margin-bottom: 28px;
  align-items: start;
}
.item-page-bar-section {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #f0f0f0;
}
.item-page-donut-section {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.item-page-section-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.item-page-entries {
  margin-top: 4px;
}
.daily-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 200px;
  padding-bottom: 28px;
  position: relative;
  overflow-x: auto;
}
.daily-chart::after {
  content: "";
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: #e8e8e8;
}
.daily-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 36px;
  flex-shrink: 0;
}
.daily-bar-wrapper {
  height: 160px;
  width: 28px;
  display: flex;
  align-items: flex-end;
}
.daily-bar-fill {
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: #1677ff;
  min-height: 3px;
  transition: height 0.3s;
}
.daily-bar-date {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
.daily-bar-qty {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.55);
}
.daily-chart-empty {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.3);
  font-size: 13px;
}
.donut-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.donut-label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  text-align: center;
}
.donut-sub {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.3);
  text-align: center;
}
@media (max-width: 768px) {
  .structure-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .items-tab-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  .items-tab-toolbar > * {
    width: 100%;
  }
  .item-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .item-page-charts {
    grid-template-columns: 1fr;
  }
  .ant-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .structure-workers-header-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .structure-workers-header-row .ant-space-item {
    flex: 1 1 100%;
  }
  .structure-workers-header-row .ant-input,
  .structure-workers-header-row .ant-select {
    width: 100% !important;
  }
  .structure-workers-summary {
    width: 100%;
  }
  .worker-modal-filters {
    flex-wrap: wrap;
    gap: 8px;
  }
  .worker-modal-filters .ant-space-item {
    flex: 1 1 100%;
  }
  .worker-modal-filters .ant-input,
  .worker-modal-filters .ant-select {
    width: 100% !important;
  }
  .worker-modal-filters .ant-radio-group {
    width: 100% !important;
    display: flex;
    flex-wrap: wrap;
  }
  .worker-modal-filters .ant-radio-button-wrapper {
    flex: 1 1 auto;
    min-width: 80px;
  }
  .structure-attendance-header .ant-space {
    width: 100% !important;
  }
  .structure-attendance-header .ant-space-item {
    flex: 1 1 100%;
  }
  .structure-attendance-header .ant-input,
  .structure-attendance-header .ant-select {
    width: 100% !important;
  }
  .simple-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .simple-table {
    min-width: 600px;
  }
}
@media (max-width: 480px) {
  .structure-detail-header h2 {
    font-size: 18px;
  }
  .donut-label {
    font-size: 11px;
  }
  .donut-sub {
    font-size: 10px;
  }
}
.worker-modal-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.worker-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.worker-badge-assigned {
  font-size: 11px;
  color: #52c41a;
  font-weight: 600;
}
.worker-cell {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.worker-cell--name {
  max-width: 200px;
}
.worker-cell--contractor {
  max-width: 260px;
}
.worker-table-wrap {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}
.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.simple-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 7px 10px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 1;
}
.simple-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f8f8f8;
  color: #0f172a;
}
.simple-table tr:last-child td {
  border-bottom: none;
}
.simple-table tr.row-assigned td {
}
.simple-table tr.row-disabled td {
  color: rgba(0, 0, 0, 0.35);
  background: #fafafa;
}
.tab-empty {
  padding: 28px;
  text-align: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.35);
}
.muted {
  color: rgba(0, 0, 0, 0.4);
  font-size: 12px;
}
.structure-workers-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.structure-workers-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.structure-workers-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 140px;
  max-width: 220px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.structure-workers-chip--primary {
  background:
    linear-gradient(
      135deg,
      #eff6ff,
      #f5f3ff);
  border-color: #bfdbfe;
}
.structure-workers-bulk-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f5f5f5;
  font-size: 12px;
}
.structure-workers-chip--more {
  background: #f3f4f6;
  border-style: dashed;
}
.structure-workers-skills-tooltip {
  max-width: none !important;
}
.structure-workers-skills-tooltip .ant-tooltip-inner {
  max-width: none !important;
  width: 300px !important;
}
.structure-workers-chip__label {
  font-size: 11px;
  color: rgba(15, 23, 42, 0.65);
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  flex: 1 1 auto;
}
.structure-workers-chip__value {
  font-weight: 600;
  flex: 0 0 auto;
}
.structure-workers-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
}

/* app/javascript/features/dashboard/pages/Attendance.css */
.attendance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.attendance-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.attendance-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.attendance-subtitle {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.attendance-skill {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
  text-transform: capitalize;
}
.attendance-hours {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}
.attendance-hours.attendance-hours--under {
  color: #1677ff;
}
.attendance-hours.attendance-hours--over {
  color: #52c41a;
}
.attendance-by {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 2px;
}
.attendance-by--reset {
  color: #cf1322;
}
.attendance-absent-label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
  font-style: italic;
}
.attendance-wage {
  font-size: 13px;
  font-weight: 500;
  color: #389e0d;
}
.attendance-muted {
  color: rgba(0, 0, 0, 0.25);
  font-size: 13px;
}
.attendance-hours-ot {
  color: #fa8c16;
  font-weight: 600;
}
.attendance-empty {
  padding: 40px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.attendance-empty__icon {
  font-size: 36px;
  color: rgba(0, 0, 0, 0.15);
  margin-bottom: 4px;
}
.attendance-empty__title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
}
.attendance-empty__desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.35);
  max-width: 320px;
  text-align: center;
  line-height: 1.5;
}
.attendance-action {
  background: none;
  border: 1px solid transparent;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.attendance-action--approve {
  color: #389e0d;
  border-color: #b7eb8f;
}
.attendance-action--approve:hover {
  background: #f6ffed;
  border-color: #73d13d;
}
.attendance-action--reject {
  color: #cf1322;
  border-color: #ffa39e;
}
.attendance-action--reject:hover {
  background: #fff1f0;
  border-color: #ff4d4f;
}
.attendance-action--hours {
  color: #1677ff;
  border-color: #91caff;
}
.attendance-action--hours:hover {
  background: #e6f4ff;
  border-color: #4096ff;
}
.attendance-action--edit {
  color: rgba(0, 0, 0, 0.45);
  border-color: transparent;
}
.attendance-action--edit:hover {
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.65);
  border-color: #d9d9d9;
}
.attendance-bulk-note {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin: 8px 0 0;
}
.attendance-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 12px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.attendance-bulk-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.attendance-bulk-bar__count {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}
.attendance-bulk-bar__clear {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}
.attendance-bulk-bar__clear:hover {
  color: rgba(0, 0, 0, 0.65);
}
.attendance-bulk-bar__select-all {
  font-size: 12px;
  color: #1677ff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}
.attendance-bulk-bar__select-all:hover {
  color: #4096ff;
}
.attendance-mark-present-modal .ant-table-row-selected > td,
.attendance-mark-present-modal .ant-table-row-selected:hover > td {
  background: #ffffff !important;
}
.attendance-mark-present-modal .ant-table-tbody > tr:hover > td {
  background: #f5f5f5;
}
.attendance-mark-present-modal .ant-table-thead > tr > th,
.attendance-mark-present-modal .ant-table-thead > tr > th .ant-table-column-title,
.attendance-mark-present-modal .ant-table-tbody > tr > td,
.attendance-mark-present-modal .ant-table-tbody > tr > td .ant-typography,
.attendance-mark-present-modal strong {
  font-weight: 400 !important;
}
.attendance-toggle-group .ant-radio-button-wrapper {
  padding: 0 10px;
  font-size: 12px;
}
.attendance-toggle-group .ant-radio-button-wrapper:first-child {
  border-radius: 999px 0 0 999px;
}
.attendance-toggle-group .ant-radio-button-wrapper:last-child {
  border-radius: 0 999px 999px 0;
}
.attendance-toggle-group .ant-radio-button-wrapper-checked {
  background-color: #e6f4ff;
  border-color: #91caff;
  color: #1677ff;
}
.attendance-toggle-group .ant-radio-button-wrapper:not(.ant-radio-button-wrapper-checked) {
  background-color: #fafafa;
}
.attendance-range-cell-inner--holiday,
.attendance-range-cell--holiday {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 2px;
  border-radius: 999px;
  background-color: #fff7e6;
  color: #ad6800;
  font-weight: 500;
}
.ant-picker-cell-in-view .attendance-range-cell-inner--holiday,
.ant-picker-cell-in-view .attendance-range-cell--holiday {
  margin: 0 auto;
}
.attendance-range-cell-coverage {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.65);
}
.attendance-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.attendance-status-dot--present {
  background-color: #52c41a;
}
.attendance-status-dot--absent {
  background-color: #ff4d4f;
}
.attendance-status-dot--working-holiday {
  background-color: #1677ff;
}
.attendance-status-dot--worker-holiday {
  background-color: #faad14;
}
.attendance-status-dot--unknown {
  background-color: #d9d9d9;
}
.attendance-status-dot--holiday {
  background-color: #1677ff;
}
.attendance-date--holiday {
  padding: 0 4px;
  border-radius: 4px;
  background-color: #fff7e6;
  color: #ad6800;
  font-weight: 500;
}
@media (max-width: 768px) {
  .attendance-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .attendance-filters {
    width: 100%;
  }
  .attendance-filters .ant-space-item {
    flex: 1 1 100%;
  }
  .attendance-filters .ant-input,
  .attendance-filters .ant-select,
  .attendance-filters .ant-picker {
    width: 100% !important;
  }
  .attendance-header__right {
    width: 100%;
    flex-direction: column;
  }
  .attendance-header__right > * {
    width: 100%;
  }
  .attendance-bulk-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .attendance-bulk-bar__left {
    width: 100%;
  }
  .attendance-action {
    padding: 6px 12px;
    min-height: 36px;
  }
}
@media (max-width: 480px) {
  .attendance-empty__icon {
    font-size: 28px;
  }
  .attendance-empty__title {
    font-size: 14px;
  }
  .attendance-empty__desc {
    font-size: 12px;
  }
}

/* app/javascript/features/dashboard/pages/MeasurementBillApprovals.css */
.mb-approvals .mb-statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.mb-status-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
  color: rgba(0, 0, 0, 0.65);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.mb-status-tab:hover {
  background: #fff;
  border-color: #d9d9d9;
}
.mb-status-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.mb-status-tab.is-active {
  color: #fff;
  border-color: transparent;
}
.mb-status-tab.is-active .mb-status-tab__count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.mb-status-tab--all.is-active {
  background: #595959;
}
.mb-status-tab--pending.is-active {
  background: #fa8c16;
}
.mb-status-tab--approved.is-active {
  background: #52c41a;
}
.mb-status-tab--hold.is-active {
  background: #1677ff;
}
.mb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.mb-toolbar__spacer {
  flex: 1 1 auto;
}
.mb-bulkbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #e6f4ff;
  border: 1px solid #91caff;
  border-radius: 8px;
}
.mb-footer {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}
.mb-row--pending td:first-child {
  box-shadow: inset 3px 0 0 #fa8c16;
}
.mb-row--approved td:first-child {
  box-shadow: inset 3px 0 0 #52c41a;
}
.mb-row--hold td:first-child {
  box-shadow: inset 3px 0 0 #1677ff;
}
.mb-row--send_back td:first-child {
  box-shadow: inset 3px 0 0 #ff4d4f;
}
.measurement-entry-locked td {
  background: #fafafa;
  color: rgba(0, 0, 0, 0.45);
}

/* app/javascript/features/dashboard/components/molecules/CalendarNav/CalendarNav.css */
.tp-calendar-nav {
  flex-wrap: wrap;
  gap: 8px;
}
.tp-calendar-nav__controls {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 768px) {
  .tp-calendar-nav {
    align-items: flex-start;
  }
  .tp-calendar-nav__controls {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 4px;
  }
  .tp-calendar-nav__label {
    margin: 0 4px;
  }
}
@media (max-width: 480px) {
  .tp-calendar-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .tp-calendar-nav__controls {
    justify-content: flex-start;
  }
  .tp-calendar-nav__title {
    margin-bottom: 4px;
  }
}

/* app/javascript/features/dashboard/pages/structures/components/molecules/StructureItemCard/StructureItemCard.css */

/* app/javascript/features/dashboard/pages/WageRegisterModal.css */
.wr-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 0 4px 2px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.wr-controls-narrow {
  max-width: 640px;
  margin: 12px auto 4px;
}
.wr-controls-wide {
  margin: 12px 0 20px;
}
.wr-controls-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.wr-header-fields {
  padding: 8px 0 2px;
  border-top: none;
  border-bottom: none;
  border-radius: 0;
  background: transparent;
  margin-bottom: 8px;
}
.wr-header-fields > div {
  flex: 1 1 0;
  min-width: 0;
}
.wr-header-fields > div:first-child {
  flex: 2 1 0;
}
.wr-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.wr-description {
  margin: 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
}
.wr-info-well {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.75);
  background: #e6f4ff;
  border: 1px solid #91caff;
  border-radius: 6px;
  padding: 8px 10px;
}
.wr-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.wr-footer-hint {
  background: #fff7e0;
  border: 1px solid #ffe58f;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 11px;
}
.wr-print-area {
  font-family: "Arial", sans-serif;
}
.wr-doc-header {
  margin-bottom: 10px;
  border: 1px solid #d0d0d0;
  padding: 10px 14px;
  background: #fff;
  border-radius: 4px;
}
.wr-doc-header-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.wr-doc-left {
  flex: 1;
}
.wr-doc-right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wr-doc-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 2px;
}
.wr-doc-subtitle {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2px;
}
.wr-doc-ease {
  font-size: 10px;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
}
.wr-doc-meta-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  font-size: 12px;
  align-items: baseline;
}
.wr-doc-meta-grid span {
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
.wr-mw-title {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
  text-align: center;
  color: #1e3a5f;
}
.wr-mw-table {
  border-collapse: collapse;
  font-size: 11px;
  min-width: 300px;
}
.wr-mw-table th,
.wr-mw-table td {
  border: 1px solid #ccc;
  padding: 3px 7px;
  text-align: center;
}
.wr-mw-table th {
  background: #1e3a5f;
  color: #fff;
  font-weight: 600;
}
.wr-mw-table td:first-child {
  text-align: left;
  font-weight: 500;
  background: #f5f7fa;
}
.wr-mw-table tr:nth-child(2) td {
  background: #f0f8ff;
}
.wr-table-wrap {
  overflow-x: auto;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
}
.wr-table {
  border-collapse: collapse;
  font-size: 11.5px;
  min-width: 100%;
  background: #fff;
  table-layout: fixed;
}
.wr-th-sl {
  width: 34px;
}
.wr-th-name {
  width: 150px;
}
.wr-th-info {
  width: 50px;
}
.wr-th-pay {
  width: 60px;
}
.wr-th-edit {
  width: 60px;
}
.wr-th-total {
  width: 66px;
}
.wr-th-ded {
  width: 50px;
}
.wr-th-net {
  width: 66px;
}
.wr-th-employer {
  width: 52px;
}
.wr-th-remarks {
  width: 100px;
}
.wr-th {
  background: #1e3a5f;
  color: #fff;
  font-weight: 700;
  font-size: 10.5px;
  padding: 5px 3px;
  text-align: center;
  border: 1px solid #2d4e6e;
  white-space: nowrap;
  vertical-align: middle;
}
.wr-th-sticky {
  position: sticky;
  z-index: 4;
  background: #1e3a5f;
}
.wr-th-sl {
  left: 0;
}
.wr-th-name {
  left: 34px;
  text-align: left;
  padding-left: 8px;
}
.wr-th-group {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wr-th-group-pay {
  background: #154a7a;
}
.wr-th-group-ded {
  background: #7a1515;
}
.wr-th-pay {
  background: #1d4570;
}
.wr-th-ded {
  background: #6e1414;
}
.wr-th-net {
  background: #155a1e;
}
.wr-th-employer {
  background: #2d4e6e;
}
.wr-th-edit::after {
  content: " \270e";
  font-size: 9px;
  opacity: 0.7;
}
.wr-td {
  border: 1px solid #dde3e9;
  padding: 4px 4px;
  text-align: right;
  vertical-align: middle;
  background: #fff;
  white-space: nowrap;
}
.wr-td-sticky {
  position: sticky;
  z-index: 2;
  background: #fafafa;
}
.wr-td-sl {
  left: 0;
  text-align: center;
  font-size: 10.5px;
  color: rgba(0, 0, 0, 0.4);
}
.wr-td-name {
  left: 34px;
  text-align: left;
  padding: 4px 8px;
  font-weight: 500;
  font-size: 11.5px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wr-td-info {
  text-align: center;
  color: #333;
}
.wr-td-pay {
  background: #f7fbff;
}
.wr-td-ded {
  background: #fff8f8;
}
.wr-td-net {
  background: #f0fff4;
  font-weight: 700;
}
.wr-td-employer {
  background: #f5f9ff;
}
.wr-td-remarks {
  min-width: 100px;
}
.wr-td-edit {
  cursor: pointer;
  background: #fffbe6 !important;
  border-bottom: 1.5px dashed #faad14 !important;
}
.wr-td-edit:hover {
  background: #fff3b0 !important;
}
.wr-td-computed {
  font-weight: 700;
}
.wr-td-total {
  font-weight: 700;
}
.wr-td-muted {
  background: #fafafa !important;
  color: rgba(0, 0, 0, 0.2);
}
.wr-td-edit-text {
  cursor: pointer;
  background: #f0f7ff !important;
  border-bottom: 1.5px dashed #1677ff !important;
  text-align: left;
  padding: 3px 6px;
  font-size: 11px;
  color: #333;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wr-td-edit-text:hover {
  background: #daeeff !important;
}
.wr-td-placeholder {
  color: rgba(0, 0, 0, 0.25);
  font-style: italic;
  font-size: 10.5px;
}
.wr-td-empty {
  text-align: center;
  padding: 24px 0;
  color: rgba(0, 0, 0, 0.35);
}
.wr-row-alt .wr-td {
  background: #f8fafc;
}
.wr-row-alt .wr-td-pay {
  background: #f0f7ff;
}
.wr-row-alt .wr-td-ded {
  background: #fff0f0;
}
.wr-row-alt .wr-td-net {
  background: #e8faf0;
}
.wr-row-alt .wr-td-edit {
  background: #fff5cc !important;
}
.wr-row-alt .wr-td-sticky {
  background: #f3f6f9;
}
.wr-row-alt .wr-td-muted {
  background: #f5f5f5 !important;
}
.wr-row-totals .wr-td {
  background: #f0f4f8 !important;
  font-weight: 700;
  border-top: 2px solid #1e3a5f;
}
.wr-td-totals-label {
  text-align: left;
  padding-left: 8px;
}
.wr-td-totals {
  text-align: right;
}
.wr-editor {
  width: 190px;
  padding: 4px 0;
}
.wr-editor-label {
  font-size: 11px;
  margin-bottom: 4px;
  display: block;
}
.wr-signature {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  padding-top: 12px;
  flex-wrap: wrap;
}
.wr-sig-box {
  flex: 1;
  min-width: 160px;
}
.wr-sig-line {
  border-bottom: 1px solid #666;
  height: 32px;
  margin-bottom: 6px;
}
.wr-sig-label {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
}
.wr-notes {
  margin-top: 22px;
  padding: 10px 14px;
  border-top: 1px solid #d0d0d0;
  background: #fafbfc;
  border-radius: 0 0 4px 4px;
}
.wr-notes-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.wr-notes-list {
  margin: 0;
  padding-left: 20px;
  list-style-type: decimal;
}
.wr-notes-list li {
  font-size: 10.5px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 3px;
}
@media (max-width: 768px) {
  .wr-controls {
    max-width: 100%;
    padding: 0 8px 8px;
  }
  .wr-controls-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .wr-controls-row > * {
    width: 100%;
  }
  .wr-doc-header-inner {
    flex-direction: column;
    gap: 16px;
  }
  .wr-doc-meta-grid {
    font-size: 11px;
  }
  .wr-mw-table {
    min-width: 100%;
    font-size: 10px;
  }
  .wr-table-wrap {
    -webkit-overflow-scrolling: touch;
  }
  .wr-th {
    font-size: 9.5px;
    padding: 4px 2px;
  }
  .wr-td {
    font-size: 10.5px;
    padding: 3px 3px;
  }
  .wr-signature {
    flex-direction: column;
    gap: 20px;
  }
  .wr-footer {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .wr-doc-title {
    font-size: 14px;
  }
  .wr-doc-subtitle {
    font-size: 11px;
  }
  .wr-th-name {
    width: 120px;
  }
  .wr-notes-list li {
    font-size: 10px;
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  .wr-print-area,
  .wr-print-area * {
    visibility: visible;
  }
  .wr-print-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px;
  }
  .wr-table-wrap {
    overflow: visible;
  }
  .wr-td-sticky,
  .wr-th-sticky {
    position: relative !important;
  }
  .wr-controls {
    display: none;
  }
}

/* app/javascript/features/dashboard/pages/Reports.css */
.reports-page {
  padding: 20px 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  min-height: calc(100vh - 104px);
}
.reports-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.reports-subtitle {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}
.report-muted {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.3);
}
.report-meta-date {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 2px;
}
.reports-meta-name {
  max-width: 220px;
  display: block;
}
.reports-empty {
  padding: 40px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.reports-empty__icon {
  font-size: 36px;
  color: rgba(0, 0, 0, 0.15);
  margin-bottom: 4px;
}
.reports-empty__title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
}
.reports-empty__desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.35);
  max-width: 320px;
  text-align: center;
  line-height: 1.5;
}
.reports-pdf-btn.ant-btn {
  background-color: #fff;
  border-color: #d9d9d9;
  color: rgba(0, 0, 0, 0.65);
}
.reports-pdf-btn.ant-btn:hover,
.reports-pdf-btn.ant-btn:focus {
  background-color: #f5f5f5;
  border-color: #40a9ff;
  color: #1890ff;
}
.preview-loading {
  display: flex;
  justify-content: center;
  padding: 48px 0;
}
.preview-content {
  padding: 4px 12px 4px 0;
}
.preview-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}
.preview-table {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
}
.preview-empty {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
  padding: 12px 0;
}
.preview-footer {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
  .reports-page {
    padding: 16px 12px;
    min-height: calc(100vh - 80px);
  }
  .reports-header {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  .reports-header > * {
    width: 100% !important;
  }
  .reports-header .ant-space {
    width: 100% !important;
  }
  .reports-header .ant-space-item {
    flex: 1 1 100%;
  }
  .reports-header .ant-select,
  .reports-header .ant-picker,
  .reports-header .ant-input {
    width: 100% !important;
  }
  .reports-meta-name {
    max-width: 100%;
  }
  .preview-content {
    padding: 4px 8px 4px 0;
  }
  .preview-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .preview-footer {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .reports-page {
    padding: 12px 8px;
  }
  .reports-empty__icon {
    font-size: 28px;
  }
  .reports-empty__title {
    font-size: 14px;
  }
  .reports-empty__desc {
    font-size: 12px;
  }
}

/* app/javascript/features/dashboard/pages/ItemPool.css */
.item-pool__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.item-pool__title {
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
  display: block;
}
.item-pool__subtitle {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}
.item-pool__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}
.item-pool__code {
  font-family: monospace;
  font-weight: 500;
  font-size: 13px;
  color: #0f172a;
}
.item-pool__name {
  font-size: 13px;
  color: #0f172a;
}
.item-pool__unit {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}
.item-pool__description {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}
.item-pool__row-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}
.item-pool__row-action {
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.35);
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.item-pool__row-action:hover {
  color: #1677ff;
  background: #e6f4ff;
}
.item-pool__row-action--danger:hover {
  color: #ff4d4f;
  background: #fff2f0;
}
.item-pool__table .ant-table-thead > tr > th {
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  background: #fafafa !important;
}
.item-pool__table .ant-table-tbody > tr > td {
  font-size: 13px;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}
.item-pool__table .ant-table-tbody > tr:hover > td {
  background: #f8fafc !important;
}
@media (max-width: 768px) {
  .item-pool__header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .item-pool__header > button {
    width: 100%;
  }
  .item-pool__filters {
    width: 100%;
  }
  .item-pool__filters .ant-input {
    width: 100% !important;
    max-width: 100% !important;
  }
  .item-pool__table .ant-table-thead > tr > th {
    font-size: 11px;
  }
  .item-pool__table .ant-table-tbody > tr > td {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}
/*# sourceMappingURL=/assets/application.css.map */
