.master-page{width:100%;min-width:0}.master-breadcrumb{color:var(--guru-fg-muted);flex-wrap:wrap;align-items:center;gap:.25rem;margin-bottom:.75rem;font-size:.8125rem;display:flex}.master-breadcrumb a{color:var(--guru-primary);text-decoration:none;transition:color .15s}.master-breadcrumb a:hover{color:var(--guru-primary-hover);text-decoration:underline}.master-breadcrumb__current{color:var(--guru-fg);font-weight:600}.master-page-header{border-bottom:1px solid var(--guru-line);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem;display:flex}.master-page-header__intro{min-width:0}.master-page-header__title-row{align-items:center;gap:.5rem;display:flex}.master-page-header__title{letter-spacing:-.025em;color:var(--guru-fg);margin:0;font-size:1.25rem;font-weight:700}.master-page-header__info-wrap{flex-shrink:0;margin-top:1px;position:relative}.master-page-header__info-btn{border:1px solid var(--guru-line);background:var(--guru-bg-muted);width:1.375rem;height:1.375rem;color:var(--guru-fg-muted);cursor:help;border-radius:999px;justify-content:center;align-items:center;padding:0;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex;box-shadow:0 1px 2px #0f172a0f}.master-page-header__info-btn:hover{background:var(--guru-bg-elevated);color:var(--guru-primary);border-color:#cbd5e1}.master-page-header__info-tooltip{z-index:1200;border:1px solid var(--guru-line);background:var(--guru-card-bg);width:min(17.5rem,70vw);color:var(--guru-fg);pointer-events:none;border-radius:.75rem;padding:.625rem .75rem;font-size:.75rem;font-weight:500;line-height:1.5;position:absolute;top:50%;left:calc(100% + .625rem);transform:translateY(-50%);box-shadow:0 14px 30px #0f172a24}.master-page-header__info-tooltip-title{color:var(--guru-fg);margin-bottom:.25rem;font-size:.8125rem;font-weight:700}.master-page-header__info-tooltip-subtitle{color:var(--guru-fg-muted);margin-bottom:.25rem;font-size:.75rem;font-weight:600}.master-page-header__info-tooltip-body{color:var(--guru-fg-muted);font-size:.75rem;font-weight:500}.master-page-header__info-tooltip-arrow{background:var(--guru-card-bg);border-left:1px solid var(--guru-line);border-bottom:1px solid var(--guru-line);width:.625rem;height:.625rem;position:absolute;top:50%;left:-.375rem;transform:translateY(-50%)rotate(45deg)}html.dark .master-page-header__info-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}html.dark .master-page-header__info-btn:hover{color:#a5b4fc;background:#334155;border-color:#64748b}html.dark .master-page-header__info-tooltip{box-shadow:0 14px 30px #0006}.master-page-header__actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.master-btn-primary{background:var(--guru-primary);color:#fff;cursor:pointer;border:none;border-radius:.5rem;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.875rem;font-weight:600;transition:background-color .15s,box-shadow .15s;display:inline-flex;box-shadow:0 1px 2px #4f46e533}.master-btn-primary:hover:not(:disabled){background:var(--guru-primary-hover)}.master-btn-primary:disabled{opacity:.6;cursor:not-allowed}.master-btn-secondary{border:1px solid var(--guru-line);background:var(--guru-card-bg);color:var(--guru-fg-muted);cursor:pointer;border-radius:.5rem;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.875rem;font-weight:600;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.master-btn-secondary:hover:not(:disabled){background:var(--guru-bg-muted);color:var(--guru-fg);border-color:#cbd5e1}.master-search-section{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.master-search-wrapper{border:1px solid var(--guru-line);background:var(--guru-card-bg);max-width:22.5rem;min-height:2.5rem;color:var(--guru-fg-muted);border-radius:.5rem;flex:12rem;align-items:center;gap:.5rem;padding:0 .75rem;display:flex}.master-search-wrapper svg{flex-shrink:0}.master-search-input{min-width:0;color:var(--guru-fg);background:0 0;border:none;outline:none;flex:1;font-size:.875rem}.master-search-input::placeholder{color:#94a3b8}.master-record-count{color:var(--guru-fg-muted);white-space:nowrap;font-size:.8125rem;font-weight:500}.master-error-banner{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;margin-bottom:1rem;padding:.75rem 1rem;font-size:.875rem}html.dark .master-error-banner{color:#fca5a5;background:#7f1d1d33;border-color:#f871714d}.master-table-container{border:1px solid var(--guru-line);background:var(--guru-card-bg);border-radius:.75rem;overflow:hidden;box-shadow:0 1px 3px #0f172a0d}.master-table-scroll{overflow-x:auto}.master-data-table{border-collapse:collapse;width:100%}.master-data-table thead{background:linear-gradient(#e8eef9 0%,#dce6f7 100%);border-bottom:1px solid #b4c8ed}html.dark .master-data-table thead{background:linear-gradient(#1e293b 0%,#172033 100%);border-bottom-color:#334155}.master-data-table th{text-align:left;letter-spacing:.02em;text-transform:uppercase;color:#334155;white-space:nowrap;padding:.625rem 1rem;font-size:.75rem;font-weight:700}html.dark .master-data-table th{color:#cbd5e1}.master-data-table td{border-bottom:1px solid var(--guru-line);color:var(--guru-fg);vertical-align:middle;padding:.625rem 1rem;font-size:.8125rem}.master-data-table tbody tr{background:var(--guru-card-bg);transition:background-color .12s}.master-data-table tbody tr:nth-child(2n){background:var(--guru-bg-muted)}.master-data-table tbody tr:hover{background:#e8f0fe!important}html.dark .master-data-table tbody tr:hover{background:#6366f11f!important}.master-data-table tbody tr:last-child td{border-bottom:none}.master-cell-name{color:var(--guru-fg);font-weight:600}.master-cell-code{background:var(--guru-bg-muted);color:var(--guru-primary);border-radius:.375rem;padding:.125rem .5rem;font-family:ui-monospace,monospace;font-size:.75rem;font-weight:600;display:inline-flex}.master-status-badge{letter-spacing:.03em;text-transform:uppercase;border:1px solid #0000;border-radius:9999px;align-items:center;gap:.25rem;min-height:1.5rem;padding:.125rem .625rem;font-size:.6875rem;font-weight:700;display:inline-flex}.master-status-badge.is-clickable{cursor:pointer;font:inherit;line-height:inherit;transition:transform .15s,box-shadow .15s,opacity .15s}.master-status-badge.is-clickable:hover{transform:translateY(-1px);box-shadow:0 2px 6px #0f172a1f}.master-status-badge.is-clickable:active{transform:translateY(0)}.master-status-badge.is-clickable.is-active:hover{border-color:#6ee7b7}.master-status-badge.is-clickable.is-inactive:hover{border-color:#fca5a5}.master-status-badge.is-active{color:#047857;background:#d1fae5}.master-status-badge.is-inactive{color:#b91c1c;background:#fee2e2}html.dark .master-status-badge.is-active{color:#6ee7b7;background:#10b98126}html.dark .master-status-badge.is-inactive{color:#fca5a5;background:#ef444426}.master-default-badge{border-radius:9999px;padding:.125rem .5rem;font-size:.6875rem;font-weight:600;display:inline-flex}.master-default-badge.is-yes{color:#4338ca;background:#e0e7ff}.master-default-badge.is-no{background:var(--guru-bg-muted);color:var(--guru-fg-muted)}.master-action-buttons{align-items:center;gap:.25rem;display:flex}.master-icon-btn{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.5rem;justify-content:center;align-items:center;width:2rem;height:2rem;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.master-icon-btn svg{stroke:currentColor}.master-icon-btn--edit{color:#4f46e5}.master-icon-btn--edit:hover{background:#eef2ff;border-color:#c7d2fe}.master-icon-btn--toggle{color:#d97706}.master-icon-btn--toggle:hover{background:#fffbeb;border-color:#fde68a}.master-icon-btn--delete{color:#dc2626}.master-icon-btn--delete:hover{background:#fef2f2;border-color:#fecaca}.master-icon-btn--locale{color:#0d9488}.master-icon-btn--locale:hover{background:#f0fdfa;border-color:#99f6e4}.master-locale-modal{max-width:40rem}.master-locale-modal__header{border-bottom:1px solid var(--guru-line);justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 1.25rem;display:flex}.master-locale-modal__title{color:var(--guru-fg);flex:1;align-items:center;gap:.5rem;min-width:0;margin:0;font-size:1.125rem;font-weight:700;display:flex}.master-locale-modal__body{padding:1rem 1.25rem .25rem}.master-locale-modal__success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:.5rem;margin-bottom:.75rem;padding:.625rem .75rem;font-size:.8125rem}.master-locale-modal__entity{border:1px solid var(--guru-line);background:var(--guru-bg-muted);border-radius:.625rem;margin-bottom:1rem;padding:.875rem 1rem}.master-locale-modal__entity-label{letter-spacing:.06em;text-transform:uppercase;color:var(--guru-fg-muted);margin-bottom:.25rem;font-size:.6875rem;font-weight:700}.master-locale-modal__entity-name{color:var(--guru-fg);flex-wrap:wrap;align-items:center;gap:.5rem;font-size:1rem;font-weight:700;display:flex}.master-locale-modal__entity-code{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;padding:.125rem .5rem;font-size:.6875rem;font-weight:700}.master-locale-modal__default-badge{color:#047857;text-transform:uppercase;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:999px;padding:.125rem .5rem;font-size:.6875rem;font-weight:700}.master-locale-modal__default-line{color:var(--guru-fg-muted);margin-top:.5rem;font-size:.8125rem}.master-locale-modal__fields{grid-template-columns:minmax(10rem,1fr) minmax(12rem,1.4fr);gap:.75rem;margin-bottom:1rem;display:grid}.master-locale-modal__actions{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.master-locale-modal__saved-title{color:var(--guru-fg);margin-bottom:.5rem;font-size:.8125rem;font-weight:700}.master-locale-modal__saved-list{flex-direction:column;gap:.5rem;margin-bottom:.5rem;display:flex}.master-locale-modal__empty{border:1px dashed var(--guru-line);background:var(--guru-bg-muted);color:var(--guru-fg-muted);border-radius:.5rem;padding:.75rem 1rem;font-size:.8125rem}.master-locale-modal__saved-row{border:1px solid var(--guru-line);background:var(--guru-card-bg);border-radius:.5rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.5rem .75rem;display:flex}.master-locale-modal__saved-main{align-items:baseline;gap:.625rem;min-width:0;display:flex}.master-locale-modal__saved-code{min-width:2rem;color:var(--guru-fg);font-size:.75rem;font-weight:800}.master-locale-modal__saved-name{text-overflow:ellipsis;white-space:nowrap;color:var(--guru-fg);font-size:.875rem;font-weight:600;overflow:hidden}@media (max-width:640px){.master-locale-modal__fields{grid-template-columns:1fr}}.master-empty-state,.master-loading-state{text-align:center;color:var(--guru-fg-muted);padding:3rem 1.5rem;font-size:.875rem}.master-table-loading-cell,.master-table-empty-cell{border-bottom:none!important;padding:0!important}.master-table-loading-cell .master-loading-state,.master-table-empty-cell .master-empty-state{padding:3rem 1.5rem}.master-table-row--loading{opacity:.55;pointer-events:none}.master-loading-state{flex-direction:column;align-items:center;gap:.75rem;display:flex}.master-spinner{border:2px solid var(--guru-line);border-top-color:var(--guru-primary);border-radius:50%;width:1.75rem;height:1.75rem;animation:.7s linear infinite master-spin}@keyframes master-spin{to{transform:rotate(360deg)}}.master-modal-overlay{z-index:200;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a80;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.master-modal{border:1px solid var(--guru-line);background:var(--guru-card-bg);border-radius:.875rem;width:100%;max-width:32rem;max-height:90vh;overflow-y:auto;box-shadow:0 20px 50px #0f172a2e}.master-modal__header{border-bottom:1px solid var(--guru-line);justify-content:space-between;align-items:flex-start;gap:.75rem;padding:1.25rem 1.5rem .75rem;display:flex}.master-modal__header-main{flex:1;min-width:0}.master-modal__close{border:1px solid var(--guru-line);background:var(--guru-bg-muted);width:2rem;height:2rem;color:var(--guru-fg-muted);cursor:pointer;border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.master-modal__close:hover{background:var(--guru-bg-elevated);color:var(--guru-fg);border-color:#cbd5e1}.master-modal__title{color:var(--guru-fg);margin:0;font-size:1.125rem;font-weight:700}.master-modal__subtitle{color:var(--guru-fg-muted);margin:.25rem 0 0;font-size:.8125rem}.master-modal__body{padding:1.25rem 1.5rem}.master-form-field{margin-bottom:1rem}.master-form-label{color:var(--guru-fg);margin-bottom:.375rem;font-size:.8125rem;font-weight:600;display:block}.master-form-input,.master-form-select{border:1px solid var(--guru-line);background:var(--guru-bg-muted);width:100%;color:var(--guru-fg);border-radius:.5rem;outline:none;padding:.5rem .75rem;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.master-form-input:focus,.master-form-select:focus{border-color:var(--guru-primary);box-shadow:0 0 0 3px #4f46e51f}.master-form-checkbox{color:var(--guru-fg);cursor:pointer;align-items:center;gap:.5rem;font-size:.875rem;display:inline-flex}.master-modal__footer{border-top:1px solid var(--guru-line);justify-content:flex-end;gap:.5rem;padding:.75rem 1.5rem 1.25rem;display:flex}.master-sort-btn{font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;align-items:center;gap:.375rem;padding:0;display:inline-flex}.master-sort-btn svg{opacity:.45;flex-shrink:0}.master-sort-btn svg.is-active,.master-sort-btn:hover svg{opacity:1;color:var(--guru-primary)}.master-pagination{border-top:1px solid var(--guru-line);background:var(--guru-bg-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex}.master-pagination__left,.master-pagination__controls{align-items:center;gap:.5rem;display:flex}.master-pagination__label{color:var(--guru-fg-muted);font-size:.8125rem}.master-pagination__select{border:1px solid var(--guru-line);background:var(--guru-card-bg);color:var(--guru-fg);border-radius:.375rem;padding:.25rem .5rem;font-size:.8125rem}.master-pagination__info{color:var(--guru-fg-muted);font-size:.8125rem}.master-pagination__btn{border:1px solid var(--guru-line);background:var(--guru-card-bg);color:var(--guru-fg);cursor:pointer;border-radius:.375rem;align-items:center;gap:.25rem;padding:.375rem .625rem;font-size:.8125rem;font-weight:500;transition:background-color .15s;display:inline-flex}.master-pagination__btn:hover:not(:disabled){background:var(--guru-bg-elevated)}.master-pagination__btn:disabled{opacity:.45;cursor:not-allowed}.master-pagination__numbers{align-items:center;gap:.25rem;display:flex}.master-pagination__number{min-width:2rem;height:2rem;color:var(--guru-fg-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.375rem;font-size:.8125rem;font-weight:500}.master-pagination__number.is-active{border-color:var(--guru-primary);color:var(--guru-primary);background:#eef2ff;font-weight:700}html.dark .master-pagination__number.is-active{background:#6366f126}.master-pagination__number:hover:not(.is-active):not(:disabled){background:var(--guru-card-bg);color:var(--guru-fg)}.master-pagination__ellipsis{color:var(--guru-fg-muted);padding:0 .25rem;font-size:.8125rem}@media (max-width:768px){.master-pagination{flex-direction:column;align-items:stretch}.master-pagination__controls{flex-wrap:wrap;justify-content:center}}.erp-photo__file-row .master-form-input{border-radius:2px 0 0 2px;max-width:none}.payment-config-tabs{border-bottom:1px solid var(--guru-line);flex-wrap:wrap;gap:.375rem;margin:1rem 0 .75rem;padding-bottom:.5rem;display:flex}.payment-config-tabs__tab{color:#334155;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.375rem;padding:.4375rem .75rem;font-size:.8125rem;font-weight:600}.payment-config-tabs__tab:hover{background:var(--guru-bg-muted)}.payment-config-tabs__tab--active{color:var(--guru-primary);background:#4f46e514;border-color:#4f46e540}.payment-settings-card{border:1px solid var(--guru-line);background:#fff;border-radius:.75rem;padding:1rem 1.125rem}.payment-settings-card__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:1rem;display:flex}.payment-settings-card__title{color:#0f172a;margin:0;font-size:.9375rem;font-weight:700}.payment-settings-card__description{color:#475569;margin:.25rem 0 0;font-size:.8125rem}.payment-settings-card__empty{color:#64748b;margin:0;font-size:.875rem}.payment-settings-card__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.875rem 1.25rem;display:grid}@media (max-width:768px){.payment-settings-card__grid{grid-template-columns:1fr}}.payment-settings-card__field{min-width:0}.payment-settings-card__label{color:#0f172a;margin-bottom:.25rem;font-size:.8125rem;font-weight:700;display:block}.payment-settings-card__hint{color:#64748b;margin:0 0 .375rem;font-size:.75rem}.payment-settings-card__key{color:#94a3b8;margin:.375rem 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.6875rem}
