.service-module {
    padding: 12px 16px;
    color: #1f2933;
}

.service-module .module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.service-module .module-header h2 {
    margin: 0;
}
.service-instrument-input {
  width: 80%;
}
.inline input.service-instrument-input { 
width: 100%; 
box-sizing: border-box; 
font-size: 10px;
padding:1px;
}



.service-issue_summary {
width: 100%; 
box-sizing: border-box; 	
	
}
.service-subcontractor-quote {
width: 100%; 
box-sizing: border-box; 	
	
}

.service-module .service-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.service-module .service-pagination-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.service-module .service-search input {
    border: 1px solid #cbd2d9;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    min-width: 220px;
}

.service-module .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


.service-module .service-disabled-tooltip {
    display: inline-flex;
}

.service-module .service-disabled-tooltip > button {
    width: 100%;
}

.service-module .service-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.service-module .service-filter {
    border: 1px solid #cbd2d9;
    background: #f5f7fa;
    padding: 4px 8px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-module .service-filter.is-active {
    background: #1f6feb;
    color: #fff;
    border-color: #1f6feb;
}

.service-module .service-filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.service-module .service-filter-group label {
    font-size: 0.85rem;
    color: #52606d;
}

.service-module .service-filter-group select {
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #cbd2d9;
}

.service-module .service-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.service-module .service-table th,
.service-module .service-table td {
    padding: 7px 10px;
    border-bottom: 1px solid #e4e7eb;
    text-align: left;
    vertical-align: top;
}

.service-module .service-table th {
    background: #e2e8f0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #52606d;
}

.service-module .service-table tbody tr {
    cursor: pointer;
}

.service-module .service-table tbody tr:hover {
    background: #f0f4ff;
}

.service-module .service-pagination {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-module .service-pagination button {
    border: 1px solid #cbd2d9;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.service-module .service-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 15, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.service-module .service-popup {
    width: min(1100px, 95vw);
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
}

.service-module .service-popup .service-pane {
    padding: 20px;
    overflow-y: auto;
}

.service-module .service-pane-left {
    width: 33.333%;
    border-right: 1px solid #e4e7eb;
}

.service-module .service-pane-right {
    width: 66.667%;
}

.service-module .service-pane-left h3 {
    margin-top: 0;
}

.service-module .service-form label {
    display: block;
    font-size: 0.85rem;
    color: #52606d;
    margin-top: 12px;
}

.service-module .service-form input,
.service-module .service-form textarea,
.service-module .service-form select {
    box-sizing: border-box;	
    width: 100%;
    border: 1px solid #cbd2d9;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.95rem;
    margin-top: 6px;
}

.service-module .service-form textarea {
    min-height: 80px;
}

.service-module .service-form .inline {
    display: flex;
    gap: 12px;
}

.service-module .service-form .inline > div {
    flex: 1;
    min-width: 0;	
}

.service-module .service-tab-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.service-module .service-tab {
    border: 1px solid #cbd2d9;
    background: #f5f7fa;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.service-module .service-tab.is-active {
    background: #1f6feb;
    color: #fff;
    border-color: #1f6feb;
}

.service-module .service-list {
    display: grid;
    gap: 12px;
}

.service-module .service-card {
    border: 1px solid #e4e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.service-module .service-shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-module .service-shop-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 176px;
    padding: 16px;
    border: 1px solid #d9e2ec;
    background:
        radial-gradient(circle at top right, rgba(31, 111, 235, 0.14), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

.service-module .service-shop-card:hover,
.service-module .service-shop-card:focus-visible {
    border-color: #1f6feb;
    box-shadow: 0 18px 36px rgba(31, 111, 235, 0.16);
    outline: none;
    transform: translateY(-2px);
}

.service-module .service-shop-card.is-inactive {
    background:
        radial-gradient(circle at top right, rgba(148, 163, 184, 0.18), transparent 34%),
        linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-color: #d1d5db;
    box-shadow: 0 10px 22px rgba(75, 85, 99, 0.08);
    filter: grayscale(0.2);
    opacity: 0.68;
}

.service-module .service-shop-card.is-inactive:hover,
.service-module .service-shop-card.is-inactive:focus-visible {
    opacity: 0.86;
    border-color: #9ca3af;
    box-shadow: 0 14px 28px rgba(75, 85, 99, 0.14);
}

.service-module .service-shop-status {
    border-radius: 999px;
    padding: 3px 9px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-module .service-shop-status-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.service-module .service-shop-stale-alert {
    color: #dc2626;
    font-size: 0.78rem;
    line-height: 1;
}

.service-module .service-shop-card.is-inactive .service-shop-status {
    background: #e5e7eb;
    color: #4b5563;
}

.service-module .service-shop-meta {
    margin-top: 10px;
    color: #64748b;
    font-size: 0.85rem;
}

.service-module .service-shop-member-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(31, 111, 235, 0.09);
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.9rem;
}

.service-module .service-shop-card.is-inactive .service-shop-member-count {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.service-module .service-shop-card-footer {
    margin-top: 16px;
    color: #1f6feb;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-module .service-shop-card.is-inactive .service-shop-card-footer {
    color: #64748b;	
}

.service-module .service-shops-header {
    align-items: center;
    gap: 16px;
}

.service-module .service-shops-inactive-switch {
    margin-left: auto;
}

.service-module .service-shop-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.service-module .service-shop-stats div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    background: transparent;
}

.service-module .service-shop-stats strong {
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1;
    order: 2;
}

.service-module .service-shop-stats span {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-module .service-card.is-clickable {
    cursor: pointer;
}

.service-module .service-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.service-module .service-tech-card {
    border-color: #d9e2ec;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    min-height: 175px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.service-module .service-tech-card:hover,
.service-module .service-tech-card:focus {
    border-color: #1f6feb;
    box-shadow: 0 12px 26px rgba(31, 111, 235, 0.15);
    outline: none;
    transform: translateY(-1px);
}

.service-module .service-tech-card header {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.service-module .service-tech-contact {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    color: #52606d;
    font-size: 0.9rem;
}

.service-module .service-tech-contact div {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.service-module .service-tech-contact i {
    color: #1f6feb;
    font-size: 0.82rem;
    text-align: center;
}

.service-module .service-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.service-module .service-card small {
    color: #52606d;
}

.service-module .service-labor-list {
    gap: 8px;
}

.service-module .service-labor-item {
    display: grid;
    gap: 7px;
    padding: 9px 10px;
}

.service-module .service-card .service-labor-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 3px 9px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.service-module .service-card .service-labor-status-pill.is-unscheduled {
    background: #64748b;
}

.service-module .service-card .service-labor-status-pill.is-scheduled {
    background: #2563eb;
}

.service-module .service-card .service-labor-status-pill.is-overdue {
    background: #dc2626;
}

.service-module .service-card .service-labor-status-pill.is-complete {
    background: #16a34a;
}

.service-module .service-labor-description {
    color: #1f2933;
    font-weight: 700;
    line-height: 1.35;
}

.service-module .service-labor-meta {
    display: grid;
    gap: 4px;
    color: #52606d;
    font-size: 0.9rem;
    white-space: pre-line;
}

.service-module .service-labor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e4e7eb;
    margin-top: 0;
    padding-top: 7px;
}

.service-module .service-labor-price {
    color: #1f2933;
    font-weight: 700;
}

.service-module .service-action-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.service-module .service-action-row button {
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
}

.service-module .service-primary {
    background: #1f6feb;
    color: #fff;
}

.service-module .service-secondary {
    background: #e4e7eb;
    color: #1f2933;
}

.service-module .service-muted {
    color: #52606d;
}

.service-module .service-module-nav {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.service-module .service-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f5f7fa;
    border: 1px solid #e4e7eb;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;	
}

.service-module .service-nav-item i {
    color: #1f6feb;
}

.service-module .service-nav-item.is-active {
    background: #1f6feb;
    color: #fff;
    border-color: #1f6feb;
}

.service-module .service-nav-item.is-active i {
    color: #fff;
}

.service-module .service-popup-close {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: #52606d;
}

.service-module .service-modal-close {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: #52606d;
}

.service-module .service-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.service-module .service-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}

.service-module .service-ticket-row .service-status-pill {
    gap: 4px;
    font-size: 0.68rem;
    line-height: 1;
    padding: 2px 5px;
}

.service-module .service-status-open {
    background: #52606d;
}

.service-module .service-status-estimated {
    background: #f7b731;
}

.service-module .service-status-approved {
    background: #20bf6b;
}

.service-module .service-status-completed {
    background: #1f6feb;
}

.service-module .service-status-closed {
    background: #111827;
}

.service-module .service-empty-state {
    padding: 16px;
    text-align: center;
    color: #52606d;
}

.service-module .service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 15, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.service-module .service-modal {
    width: min(480px, 92vw);
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.service-module .service-comm-activity-modal {
    width: min(720px, 92vw);
}

.service-module .service-comm-activity-modal > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.service-module .service-comm-activity-modal > header .service-modal-close {
    flex: 0 0 auto;
    line-height: 1;
    margin-left: auto;
    padding: 0 2px;
}

.service-module .service-modal h3 {
    margin-top: 0;
}

.service-module .service-modal .service-action-row {
    justify-content: flex-end;
}

.service-module .service-techs-header {
    align-items: flex-end;
    gap: 16px;
}
.service-module .service-techs-form {
    display: flex;
	flex: 1;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end;
    justify-content: flex-end;
}

.service-module .service-techs-form label {
    margin-top: 0;
}

.service-module .service-techs-form select {
    padding: 5px 8px;
    margin-top: 3px;
}

.service-module .service-techs-form .service-primary {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 12px;	
}

.service-module .service-techs-form > div {
    min-width: 180px;
}

.service-module .service-techs-form-action {
    display: flex;
    align-items: flex-end;
}

.service-module .service-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.service-module .service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0b4f6c;
    font-size: 0.85rem;
}

.service-module .service-tag-remove {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    color: #0b4f6c;
}

.service-module .service-card-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.service-module .service-members-preview {
    color: #1f2933;
    font-size: 0.85rem;
    margin-top: 4px;
}

.service-module .service-member-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.service-module .service-member-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
}

.service-module .service-tech-modal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.service-module .service-tech-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #1f2933;
}

.service-module .service-admin-footer {
    margin-top: 12px;
    text-align: right;
}

@media (max-width: 960px) {
    .service-module .service-popup {
        flex-direction: column;
    }

    .service-module .service-pane-left,
    .service-module .service-pane-right {
        width: 100%;
    }
}


.service-module .service-ticket-modal {
    position: relative;
    flex-direction: column;
    width: min(1280px, 96vw);
    max-height: 92vh;
}

.service-module .service-ticket-modal-header,
.service-module .service-ticket-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 44px 16px 20px;
    border-bottom: 1px solid #e4e7eb;
}

.service-module .service-ticket-modal-header h3 {
    margin: 0 0 4px;
}

.service-module .service-ticket-modal-header > div:first-child,
.service-module .service-ticket-total {
    flex: 1 1 0;
}

.service-module .service-ticket-total {
    text-align: right;
}

.service-module .service-ticket-total-label,
.service-module .service-work-summary span {
    display: block;
    color: #52606d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-module .service-ticket-total-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 6px;
}

.service-module .service-ticket-total-value .service-status-pill {
    margin-top: 0;
}

.service-module .service-customer-contact {
    display: grid;
    gap: 2px;
}

.service-module .service-customer-email {
    font-size: 0.9rem;
}

.service-module .service-ticket-total strong {
    display: block;
    font-size: 1.7rem;
    color: #1f2933;
}

.service-module .service-ticket-modal-body {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 0;
    overflow: hidden;
}

.service-module .service-ticket-modal-body .service-pane {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.service-module .service-ticket-modal-footer {
    border-top: 1px solid #e4e7eb;
    border-bottom: none;
    margin-top: auto;
    padding: 12px 20px;
}

.service-module .service-ticket-focus-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 0.85rem;
    transition: background 0.16s ease, color 0.16s ease;
}

.service-module .service-ticket-focus-close:hover,
.service-module .service-ticket-focus-close:focus {
    background: #eef2f7;
    color: #1f2933;
    outline: none;
}

.service-module .service-finalize-message {
    min-width: 0;
}

.service-module .service-ticket-action-button,
.service-module .service-rounded-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: none;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.service-module .service-ticket-action-button i,
.service-module .service-rounded-action i {
    font-size: 0.82rem;
}

.service-module .service-ticket-action-button:disabled,
.service-module .service-rounded-action:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.service-module .service-detail-error,
.service-module .service-detail-loading {
    padding: 20px;
}

.service-module .service-form-section-header,
.service-module .service-subview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.service-module .service-collapsible-section {
    border: 1px solid #e4e7eb;
    border-radius: 8px;
    margin-top: 12px;
    overflow: hidden;
}

.service-module .service-collapsible-section summary {
    align-items: center;
    background: #f5f7fa;
    cursor: pointer;
    display: flex;
    font-weight: 600;
    justify-content: space-between;
    list-style: none;
    padding: 10px 12px;
}

.service-module .service-collapsible-section summary::-webkit-details-marker {
    display: none;
}

.service-module .service-collapsible-section summary::after {
    content: '+';
    color: #52606d;
    font-size: 1.1rem;
}

.service-module .service-collapsible-section[open] summary::after {
    content: '−';
}

.service-module .service-collapsible-content {
    padding: 12px;
}

.service-module .service-subview-header {
    margin-bottom: 12px;
}

.service-module .service-subview-header h4 {
    margin: 0;
}

.service-module .service-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.service-module .service-work-grid section {
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.service-module .service-work-grid section .service-card {
    border-color: #dbe4ef;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.service-module .service-work-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #f8fafc;
}

.service-module .service-header-work-summary {
    flex: 0 1 460px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 0;
    text-align: left;
}

.service-module .service-header-work-summary.is-over-budget {
    flex-basis: 620px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
}

.service-module .service-work-summary.is-over-budget {
    border-color: #fca5a5;
    background: #fff5f5;
}

.service-module .service-budget-alert {
    align-items: center;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    display: inline-flex;
    gap: 8px;
    justify-self: start;
    margin: 0;	
    padding: 8px 10px;
    white-space: nowrap;	
    width: fit-content;	
}

.service-module .service-finalize-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-module .service-comm-explainer {
    margin-bottom: 12px;
}

.service-module .service-comm-explainer h4 {
    margin: 0 0 4px;
}

@media (max-width: 960px) {
    .service-module .service-ticket-modal-body,
    .service-module .service-work-grid,
    .service-module .service-work-summary {
        grid-template-columns: 1fr;
    }

    .service-module .service-ticket-modal-header,
    .service-module .service-ticket-modal-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .service-module .service-ticket-modal-header > div:first-child,
    .service-module .service-ticket-total,
    .service-module .service-header-work-summary {
        flex: none;
        width: 100%;
    }

    .service-module .service-ticket-total {
        text-align: left;
    }

    .service-module .service-ticket-total-value {
        justify-content: flex-start;
    }	
}

.service-module .service-dashboard-header {
    align-items: flex-start;
    gap: 16px;
}

.service-module .service-dashboard-header p {
    color: #52606d;
    margin: 4px 0 0;
}

.service-module .service-dashboard-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.service-module .service-dashboard-date-filter {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-module .service-dashboard-date-filter label {
    color: #52606d;
    display: grid;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 4px;
    text-transform: uppercase;
}

.service-module .service-dashboard-date-filter input {
    border: 1px solid #cbd2d9;
    border-radius: 8px;
    color: #1f2933;
    font-size: 0.9rem;
    min-height: 38px;
    padding: 7px 10px;
}

.service-module .service-dashboard-toggle {
    background: #e5eaf0;
    border: 1px solid #cbd2d9;
    border-radius: 999px;
    display: inline-flex;
    gap: 2px;
    margin: 0;
    padding: 3px;
}

.service-module .service-dashboard-toggle legend {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.service-module .service-dashboard-toggle label {
    align-items: center;
    border-radius: 999px;
    color: #52606d;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 14px;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.service-module .service-dashboard-toggle label.is-active {
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.16);
    color: #1f6feb;
}

.service-module .service-dashboard-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-module .service-dashboard-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-module .service-dashboard-card {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    padding: 16px;
}

.service-module .service-dashboard-card.is-loading {
    min-height: 390px;
}

.service-module .service-dashboard-card header {
    margin-bottom: 12px;
}

.service-module .service-dashboard-card h3 {
    color: #1f2933;
    font-size: 1rem;
    margin: 0;
}

.service-module .service-dashboard-chart-wrap {
    height: 280px;
    position: relative;
}

.service-module .service-dashboard-card.is-loading canvas {
    opacity: 0;
}

.service-module .service-dashboard-chart-loading {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 10px;
    color: #52606d;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    font-weight: 700;
    gap: 10px;
    inset: 0;
    justify-content: center;
    position: absolute;
    text-transform: uppercase;
}

.service-module .service-dashboard-loading-spinner {
    animation: service-dashboard-spin 0.8s linear infinite;
    border: 4px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #2563eb;
    height: 32px;
    width: 32px;
}

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

.service-module .service-dashboard-legend {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.service-module .service-dashboard-legend-item {
    align-items: center;
    color: #52606d;
    display: grid;
    font-size: 0.85rem;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.service-module .service-dashboard-legend-item strong {
    color: #1f2933;
}

.service-module .service-dashboard-swatch {
    border-radius: 999px;
    display: inline-block;
    height: 10px;
    width: 10px;
}

.service-module .service-dashboard-empty.hidden {
    display: none;
}

@media (max-width: 1180px) {
    .service-module .service-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .service-module .service-dashboard-header {
        align-items: stretch;
        flex-direction: column;
    }

  .service-module .service-dashboard-controls {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .service-module .service-dashboard-date-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .service-module .service-dashboard-toggle {
        align-self: flex-start;
    }
}
.service-module .service-ticket-print-area,
.service-print-spool {
    display: none;
}

.service-module .service-print-tab {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #b6c2cf;
    border-radius: 8px;
    color: #102a43;
    cursor: pointer;
    display: inline-flex;
    font-weight: 600;
    padding: 8px 12px;
}

.service-module .service-ticket-print-button {
    border-color: #b6c2cf;
    color: #102a43;
    gap: 6px;
}

.service-module .service-print-sheet {
    background: #fff;
    box-sizing: border-box;
    color: #1f2933;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 100%;	
    display: flex;
    flex-direction: column;	
    min-height: 10in;
    padding: 0.35in;
    width: 100%;
}

.service-module .service-print-sheet *,
.service-module .service-print-sheet *::before,
.service-module .service-print-sheet *::after,
.service-print-spool .service-print-sheet *,
.service-print-spool .service-print-sheet *::before,
.service-print-spool .service-print-sheet *::after {
    box-sizing: border-box;	
}

.service-module .service-print-header {
    align-items: flex-start;
    border-bottom: 3px solid #d1d5db;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    margin-left: -0.4in;
    margin-right: -0.4in;
    padding: 0 0.4in 18px;
}

.service-module .service-print-brand {
    color: #1f6feb;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-module .service-print-header h1 {
    font-size: 1.35rem;
    margin: 4px 0;
}

.service-module .service-print-header p,
.service-module .service-print-footer p,
.service-module .service-print-notes p {
    margin: 0;
}

.service-module .service-print-status {
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    min-width: 160px;
    padding: 12px 16px;
    text-align: right;
}

.service-module .service-print-status span,
.service-module .service-print-field span,
.service-module .service-print-totals span {
    color: #52606d;
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-module .service-print-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
}

.service-module .service-print-panel {
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    margin-bottom: 16px;
    min-width: 0;
    overflow-wrap: anywhere;	
    padding: 10px 12px;
}

.service-module .service-print-grid .service-print-panel,
.service-module .service-print-pricing {
    font-size: 0.88rem;
    padding: 7px 10px;
}

.service-module .service-print-grid .service-print-panel {
    margin-bottom: 0;
}

.service-module .service-print-panel h2 {
    color: #102a43;
    font-size: 0.95rem;
    margin: 0 0 8px;
}

.service-module .service-print-grid .service-print-panel h2,
.service-module .service-print-pricing h2 {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.service-module .service-print-field {
    border-top: 1px solid #eef2f7;
    display: grid;
    gap: 3px;
    grid-template-columns: 92px 1fr;
    padding: 4px 0;
}

.service-module .service-print-field:first-of-type {
    border-top: 0;
}

.service-module .service-print-table {
    border-collapse: collapse;
    table-layout: fixed;	
    width: 100%;
}

.service-module .service-print-table th,
.service-module .service-print-table td {
    border-bottom: 1px solid #e4e7eb;
    overflow-wrap: anywhere;	
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
}

.service-module .service-print-table th {
    background: #f5f7fa;
    color: #334e68;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-module .service-print-table th:last-child,
.service-module .service-print-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.service-module .service-print-totals {
    display: grid;
    gap: 4px;
    justify-content: end;
    margin-top: 8px;
    min-width: 220px;
}

.service-module .service-print-totals > div {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.service-module .service-print-total {
    border-top: 2px solid #1f2933;
    font-size: 1rem;
    padding-top: 5px;
}

.service-module .service-print-empty {
    background: #f8fafc;
    border: 1px dashed #bcccdc;
    border-radius: 10px;
    color: #52606d;
    padding: 18px;
    text-align: center;
}

.service-module .service-print-footer {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding-top: 22px;
}

.service-module .service-print-footer div {
    flex: 1;
}

.service-module .service-print-footer span {
    border-bottom: 1px solid #1f2933;
    display: block;
    height: 34px;
    margin-top: 8px;
}

@page {
    margin: 0.5in;
    size: letter;
}

@media print {
    html,
    body.service-ticket-printing {
        margin: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    body.service-ticket-printing {
        background: #fff !important;
        overflow: visible !important;
    }
	
    body.service-ticket-printing > :not(.service-print-spool) {
        display: none !important;
    }

    .service-print-spool {
        background: #fff !important;
        display: block !important;
        margin: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding: 0 !important;
        width: auto !important;
    }

    .service-print-spool .service-print-sheet,
    .service-module .service-print-sheet {
        box-shadow: none !important;
        margin: 0 !important;
        max-width: 100% !important;		
        min-height: 10in;
        padding: 0;
        width: 100% !important;		
    }
}
.service-module .service-menu-offerings-header {
    align-items: flex-start;
    gap: 16px;
}

.service-module .service-menu-offerings-header p {
    margin: 4px 0 0;
}

.service-module .service-menu-offerings-filter {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.service-module .service-menu-offerings-filter label {
    color: #52606d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-module .service-menu-offerings-filter select {
    max-width: 340px;
}

.service-module .service-menu-offering-card p {
    margin: 8px 0;
}

.service-module .service-menu-offering-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0;
}

.service-module .service-menu-offering-prices span {
    background: #f5f7fa;
    border: 1px solid #e4e7eb;
    border-radius: 999px;
    color: #52606d;
    font-size: 12px;
    padding: 5px 10px;
}

.service-module .service-menu-offering-prices strong {
    color: #102a43;
}

.service-module .service-offering-modal {
    width: min(560px, 92vw);
}

.service-module .service-form-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-module .service-menu-offerings-filter {
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-module .service-menu-shop-action-group,
.service-module .service-menu-filter-group {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-module .service-menu-shop-action-group select {
    min-width: 240px;
}

.service-module .service-menu-search input {
    border: 1px solid #cbd2d9;
    border-radius: 999px;
    min-width: 260px;
    padding: 8px 12px;
}

.service-module .service-menu-active-switch {
    align-items: center;
    color: #52606d;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    text-transform: uppercase;
}

.service-module .service-menu-active-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-module .service-menu-active-slider {
    background: #94a3b8;
    border-radius: 999px;
    display: inline-block;
    height: 24px;
    position: relative;
    transition: background 0.16s ease;
    width: 46px;
}

.service-module .service-menu-active-slider::after {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
    content: '';
    height: 18px;
    left: 3px;
    position: absolute;
    top: 3px;
    transition: transform 0.16s ease;
    width: 18px;
}

.service-module .service-menu-active-switch input:checked + .service-menu-active-slider {
    background: #1f6feb;
}

.service-module .service-menu-active-switch input:checked + .service-menu-active-slider::after {
    transform: translateX(22px);
}

.service-module .service-menu-offerings-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.service-module .service-menu-offering-card {
    border-color: #d9e2ec;
    min-height: 150px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.service-module .service-menu-offering-card:hover,
.service-module .service-menu-offering-card:focus {
    border-color: #1f6feb;
    box-shadow: 0 10px 24px rgba(31, 111, 235, 0.14);
    outline: none;
    transform: translateY(-1px);
}

.service-module .service-menu-offering-card.is-inactive {
    background: #f8fafc;
    opacity: 0.78;
}
.service-module .service-parts-table-wrap {
    overflow-x: auto;
}

.service-module .service-parts-table {
    font-size: 0.86rem;
}

.service-module .service-parts-table th,
.service-module .service-parts-table td {
    padding: 7px 9px;
    white-space: nowrap;
    vertical-align: middle;
}

.service-module .service-parts-table tbody tr.service-parts-row {
    cursor: pointer;
}

.service-module .service-parts-table tbody tr.service-parts-row:hover {
    background: rgba(31, 111, 235, 0.06);
}

.service-module .service-parts-table td:first-child {
    min-width: 180px;
    white-space: normal;
}

.service-module .service-parts-ticket-link {
    color: #1f6feb;
    font-weight: 700;
    text-decoration: none;
}

.service-module .service-parts-ticket-link:hover {
    text-decoration: underline;
}

.service-module .service-parts-instrument {
    font-size: 0.75rem;
    margin-top: 2px;
}

.service-module .service-part-status-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.service-module .service-part-status-not-ordered {
    background: #f59e0b;
}

.service-module .service-part-status-ordered {
    background: #1f6feb;
}

.service-module .service-part-status-arrived {
    background: #20bf6b;
}
.service-module .service-shop-edit-modal {
    width: min(980px, 94vw);
    max-height: 88vh;
    overflow: auto;
    padding: 0;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
    position: relative;
}

.service-module .service-shop-edit-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
}

.service-module .service-shop-edit-hero h3 {
    margin: 4px 0 6px;
    font-size: 1.55rem;
}

.service-module .service-shop-edit-hero-copy {
    min-width: 0;
}

.service-module .service-shop-edit-title-row,
.service-module .service-shop-edit-heading-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.service-module .service-shop-status-pill {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.service-module .service-shop-status-pill.is-active {
    background: #dcfce7;
    color: #166534;
}

.service-module .service-shop-status-pill.is-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.service-module .service-shop-heading-active-switch {
    background: rgba(15, 23, 42, 0.24);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.service-module .service-shop-edit-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.service-module .service-shop-edit-hero .service-modal-close {
    color: #fff;
}

.service-module .service-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bfdbfe;
}

.service-module .service-shop-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    padding: 22px;
    background: #f8fafc;
}

.service-module .service-shop-details-panel,
.service-module .service-shop-tech-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.service-module .service-panel-heading,
.service-module .service-panel-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-module .service-panel-heading {
    margin-bottom: 18px;
}

.service-module .service-panel-heading-spread {
    justify-content: space-between;
    align-items: flex-start;
}

.service-module .service-panel-heading i,
.service-module .service-panel-title-row i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #dbeafe;
    color: #1d4ed8;
}

.service-module .service-panel-heading h4 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
}

.service-module .service-panel-heading span {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 0.86rem;
}

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

.service-module .service-form-group-wide {
    grid-column: 1 / -1;
}

.service-module .service-field-help {
    display: block;
    margin-top: 6px;
    color: #64748b;
    line-height: 1.35;
}

.service-module .service-active-toggle-group {
    align-self: start;
}

.service-module .service-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e3a8a;
    font-weight: 700;
}

.service-module .service-shop-detail-actions {
    justify-content: flex-start;
    margin-top: 20px;
}

.service-module .service-shop-tech-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    max-height: 390px;
    overflow: auto;
}

.service-module .service-shop-tech-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.service-module .service-shop-tech-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #1f6feb;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.service-module .service-shop-tech-details {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.service-module .service-shop-tech-details strong,
.service-module .service-shop-tech-details span,
.service-module .service-shop-tech-details small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-module .service-shop-tech-details span,
.service-module .service-shop-tech-details small,
.service-module .service-shop-tech-empty {
    color: #64748b;
}

.service-module .service-shop-tech-empty {
    padding: 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    text-align: center;
    background: #f8fafc;
}

.service-module .service-icon-button {
    border: none;
    border-radius: 0;
    background: transparent;
    color: #dc2626;
    cursor: pointer;
    width: auto;
    height: auto;
    padding: 2px 4px;
    line-height: 1;
}

.service-module .service-shop-add-tech {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
}

.service-module .service-shop-add-tech:disabled,
.service-module .service-primary:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.service-module .service-nested-modal-backdrop {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.52);
    border-radius: 18px;
}

.service-module .service-nested-modal {
    width: min(440px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.28);
}

.service-module .service-nested-modal h4 {
    margin: 0 0 4px;
}

.service-module .service-nested-modal p {
    margin: 0;
}

@media (max-width: 860px) {
    .service-module .service-shop-edit-layout {
        grid-template-columns: 1fr;
    }

    .service-module .service-form-grid {
        grid-template-columns: 1fr;
    }
}

.service-module .service-modal-close-lite {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: #52606d;
}
.service-table,
.service-list,
.service-labor-list,
.service-member-list,
.service-tech-modal-list,
.service-parts-table,
.service-shop-tech-list {
    font-family: var(--app-list-font-family);
    font-size: var(--app-list-font-size);
    line-height: var(--app-list-line-height);
    letter-spacing: var(--app-list-letter-spacing);
    color: var(--app-list-color);
}

.service-module .service-ticket-footer-actions,
.service-module .service-work-table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.service-module .service-work-table-section {
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.service-module .service-work-line-items-wrap {
    overflow-x: auto;
}

.service-module .service-work-line-items-table {
    min-width: 680px;
    font-size: 0.78rem;
    line-height: 1.25;
}

.service-module .service-work-line-items-table th,
.service-module .service-work-line-items-table td {
    padding: 6px 8px;
    vertical-align: middle;
}

.service-module .service-work-line-item-row.is-clickable {
    cursor: pointer;
}

.service-module .service-work-line-item-row.is-clickable:hover {
    background: rgba(31, 111, 235, 0.06);
}

.service-module .service-work-line-item-type,
.service-module .service-part-on-hand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.service-module .service-work-line-item-type {
    width: 24px;
    height: 24px;
    padding: 0;
    background: #e0ecff;
    color: #1d4ed8;
}

.service-module .service-work-line-item-type i {
    font-size: 0.75rem;
}

.service-module .service-part-on-hand.is-on-hand {
    background: #dcfce7;
    color: #166534;
}

.service-module .service-part-on-hand.is-needed {
    background: #fef3c7;
    color: #92400e;
}


.service-module .service-work-line-items-table th {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-module .service-work-line-item-type {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #334e68;
    display: inline;
    height: auto;
    padding: 0;
    width: auto;
}

.service-module .service-comm-inline-form {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 12px;
}

.service-module .service-comm-inline-form input {
    min-width: 0;
}


/* Softer shop management styling */
.service-module .service-shop-card {
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    border-color: #e4e7eb;
}

.service-module .service-shop-card:hover,
.service-module .service-shop-card:focus-visible {
    border-color: #94a3b8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.service-module .service-shop-card.is-inactive {
    background: #f8fafc;
    box-shadow: none;
}

.service-module .service-shop-edit-modal {
    width: 90vw;
}

.service-module .service-shop-edit-hero {
    color: #0f172a;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.service-module .service-shop-edit-hero p,
.service-module .service-eyebrow {
    color: #64748b;
}

.service-module .service-shop-edit-hero .service-modal-close {
    color: #334155;
}

.service-module .service-shop-edit-layout {
    grid-template-columns: minmax(240px, 0.75fr) minmax(220px, 0.6fr) minmax(520px, 1.65fr);
    align-items: start;
}


.service-module .service-shop-edit-modal {
    font-size: 0.9rem;
}

.service-module .service-shop-edit-modal h3,
.service-module .service-shop-edit-modal h4,
.service-module .service-shop-edit-modal strong {
    font-weight: 600;
}

.service-module .service-shop-edit-modal .service-form label,
.service-module .service-shop-edit-modal .service-panel-heading span,
.service-module .service-shop-edit-modal .service-shop-tech-details span,
.service-module .service-shop-edit-modal .service-shop-tech-details small {
    font-size: 0.82rem;
}

.service-module .service-commission-modifier-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.service-module .service-commission-modifier-group label {
    margin: 0;
    white-space: nowrap;
}

.service-module .service-commission-modifier-group input {
    width: 92px;
    flex: 0 0 92px;
}

.service-module .service-shop-tech-panel {
    padding: 14px;
}

.service-module .service-shop-tech-list {
    gap: 6px;
}

.service-module .service-shop-tech-item {
    gap: 6px;
    padding: 8px;
    border-radius: 10px;
}

.service-module .service-shop-tech-remove:hover,
.service-module .service-shop-tech-remove:focus-visible {
    color: #991b1b;
    background: transparent;
}

.service-module .service-shop-template-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.service-module .service-shop-template-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: -8px 0 12px;
}

.service-module .service-shop-template-list {
    max-height: 430px;
    overflow: auto;
}

.service-module .service-shop-template-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.service-module .service-shop-template-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.88rem;
}

.service-module .service-shop-template-table th,
.service-module .service-shop-template-table td {
    padding: 5px 8px;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.25;
    vertical-align: middle;
}

.service-module .service-shop-template-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.service-module .service-shop-template-table tbody tr:last-child td {
    border-bottom: 0;
}

.service-module .service-shop-template-item {
    cursor: pointer;
}

.service-module .service-shop-template-item:hover,
.service-module .service-shop-template-item:focus-visible {
    background: #f8fafc;
    outline: 2px solid #94a3b8;
    outline-offset: -2px;
}

.service-module .service-shop-template-item span {
    color: #64748b;
}

.service-module .service-shop-template-number {
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .service-module .service-shop-edit-layout {
        grid-template-columns: 1fr 1fr;
    }

    .service-module .service-shop-template-panel {
        grid-column: 1 / -1;
    }
}

.service-module .service-template-work-modal {
    width: min(980px, calc(100vw - 40px));
}

.service-module .service-template-meta-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) minmax(120px, 0.6fr);
    gap: 12px;
}

.service-module .service-template-modal-header {
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.service-module .service-template-modal-heading h3 {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.service-module .service-template-modal-heading p {
    margin: 0;
}

.service-module .service-template-heading-total {
    color: #1f6feb;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.service-module .service-template-modal-header .service-modal-close {
    line-height: 1;
    margin-left: auto;
    padding: 0 2px;
}

.service-module .service-label-hint {
    color: #7b8794;
    font-weight: 400;
}

.service-module .service-template-work-section {
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.service-module .service-template-line-items-table input.service-template-line-field {
    width: 100%;
    min-width: 90px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 10px;
}

.service-module .service-print-heading-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.service-module .service-print-header {
    align-items: stretch;
    flex-direction: column;
}

.service-module .service-print-header h1 {
    width: 100%;
}

.service-module .service-print-brand,
.service-module .service-print-customer-meta {
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 12px 16px;
}

.service-module .service-print-brand span,
.service-module .service-print-customer-meta span {
    color: #52606d;
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-module .service-print-brand strong,
.service-module .service-print-customer-meta strong {
    color: #102a43;
    display: block;
    font-size: 0.95rem;
    margin-top: 4px;
}

.service-module .service-calendar-toolbar,
.service-module .service-calendar-nav,
.service-module .service-toggle-group,
.service-module .service-calendar-weekend-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.service-module .service-calendar-toolbar {
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
}

.service-module .service-calendar-weekend-switch {
    position: relative;
    color: #334e68;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.service-module .service-calendar-weekend-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-module .service-calendar-weekend-track {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #cbd2d9;
    box-shadow: inset 0 0 0 1px rgba(16, 42, 67, 0.08);
    padding: 3px;
    transition: background 160ms ease;
}

.service-module .service-calendar-weekend-thumb {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(16, 42, 67, 0.22);
    transform: translateX(0);
    transition: transform 160ms ease;
}

.service-module .service-calendar-weekend-switch input:checked + .service-calendar-weekend-track {
    background: #1f6feb;
}

.service-module .service-calendar-weekend-switch input:checked + .service-calendar-weekend-track .service-calendar-weekend-thumb {
    transform: translateX(20px);
}

.service-module .service-calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
}

.service-module .service-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    gap: 10px;
}

.service-module .service-calendar-grid.is-weekdays-only {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
}

.service-module .service-calendar-day {
    min-height: 180px;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 8px 18px rgba(16, 42, 67, 0.05);
    padding: 10px;
}

.service-module .service-calendar-day:hover {
    border-color: #1f6feb;
    background: #f8fbff;
}

.service-module .service-calendar-day-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    color: #243b53;
}

.service-module .service-calendar-day-head span {
    color: #829ab1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.service-module .service-calendar-event,
.service-module .service-unscheduled-labor {
    border-radius: 10px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 6px 8px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.service-module .service-unscheduled-panel {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    padding: 12px;
    max-height: calc(100vh - 220px);
    overflow: auto;
}

.service-module .service-unscheduled-ticket {
    border: 1px solid #e4e7eb;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background: #f8fafc;
    cursor: grab;
}

.service-module .service-calendar-mode,
.service-module .service-calendar-nav button {
    border: 1px solid #cbd2d9;
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
}

.service-module .service-calendar-mode.is-active {
    background: #1f6feb;
    border-color: #1f6feb;
    color: #fff;
}

@media (max-width: 1100px) {
    .service-module .service-calendar-layout { grid-template-columns: 1fr; }
    .service-module .service-calendar-grid { overflow-x: auto; }
}

.service-module .service-calendar-event-head,
.service-module .service-unscheduled-ticket-head,
.service-module .service-unscheduled-meta,
.service-module .service-calendar-modal-grid {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-module .service-calendar-event-head,
.service-module .service-unscheduled-ticket-head,
.service-module .service-unscheduled-meta {
    justify-content: space-between;
}

.service-module .service-calendar-event-item {
    margin-top: 4px;
    line-height: 1.25;
}

.service-module .service-ticket-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e4e7eb;
    color: #334e68;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 4px 8px;
    text-transform: capitalize;
    white-space: nowrap;
}

.service-module .service-ticket-status-pill.is-open {
    background: #e0f2fe;
    color: #075985;
}

.service-module .service-ticket-status-pill.is-approved,
.service-module .service-ticket-status-pill.is-completed {
    background: #dcfce7;
    color: #166534;
}

.service-module .service-ticket-status-pill.is-closed {
    background: #f1f5f9;
    color: #475569;
}

.service-module .service-ticket-open {
    border: 0;
    background: transparent;
    color: #1f6feb;
    cursor: pointer;
    line-height: 1;
    padding: 3px;
}

.service-module .service-ticket-open:hover {
    color: #174ea6;
}

.service-module .service-unscheduled-ticket h4 {
    margin: 0;
}

.service-module .service-unscheduled-ticket .service-muted {
    margin: 2px 0 6px;
}

.service-module .service-calendar-modal-grid label {
    flex: 1 1 160px;
}

.service-module .service-calendar-labor-times {
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    display: grid;
    gap: 8px;
    padding: 10px;
}

.service-module .service-calendar-labor-times label {
    display: grid;
    gap: 4px;
}

.service-module .service-print-logo {
    display: block;
    max-width: 0.95in;
    max-height: 0.65in;
    object-fit: contain;
    margin-bottom: 6px;
}
