:root{font-family:Inter,Segoe UI,system-ui,sans-serif;line-height:1.5;font-weight:400;color:#1f2937;background-color:#f4f6f9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select{font-family:inherit;background:#f8fafc}:root{color-scheme:light;font-family:Inter,system-ui,sans-serif;color:#0f172a;background:#f8fafc}#root{min-height:100vh;background:#f4f6f9}.app{max-width:1200px;margin:0 auto;padding:32px 24px 48px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.page-header h1{margin:8px 0 4px;font-size:28px}.subtitle{margin:0;color:#6b7280}.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:20px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#6b7280}.field input,.field select{padding:10px 12px;border-radius:8px;border:1px solid #d1d5db;background:#fff;color:#111827}.card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 12px 24px #0f172a0f}.table-wrapper{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:12px 10px;text-align:left;border-bottom:1px solid #e5e7eb}th{font-weight:600;color:#4b5563;background:#f9fafb}tbody tr.booking-row-actionable{background:#fef3c7;border-left:4px solid #f59e0b}tbody tr.booking-row-actionable:hover{background:#fde68a}.actionable-badge{margin-top:4px;display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:600;background:#fee2e2;color:#991b1b}.table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.table-header h2{margin:0;font-size:18px}.muted{color:#6b7280}.small{font-size:12px}.mono{font-family:SFMono-Regular,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.cell-title{font-weight:600}.status{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:12px;text-transform:capitalize;background:#e5e7eb;color:#374151}.status-confirmed{background:#d1fae5;color:#065f46}.status-cancelled{background:#fee2e2;color:#991b1b}.status-checked_in,.status-checked_out{background:#e0e7ff;color:#3730a3}.status-pending{background:#fef3c7;color:#92400e}.link{background:none;border:none;padding:0;color:#2563eb}.app-shell{display:flex;flex-direction:column;min-height:100vh}.app-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2.5rem;border-bottom:1px solid #e2e8f0;background:#fff}.app-title{font-weight:600;margin:0}.app-content{display:grid;grid-template-columns:240px 1fr;flex:1;min-height:0}.app-nav{border-right:1px solid #e2e8f0;padding:2rem 1.5rem;background:#fff;display:flex;flex-direction:column;gap:1.5rem}.app-main{padding:2rem}.nav-link{display:block;padding:.65rem 1rem;border-radius:10px;color:#1e293b;text-decoration:none;margin-bottom:.5rem;font-weight:500;background:transparent}.nav-link.active{background:#0f172a;color:#fff}.card{max-width:520px;margin:3rem auto;padding:2rem;background:#fff;border-radius:16px;box-shadow:0 20px 45px #0f172a14}.form{display:grid;gap:1rem;margin-top:1.5rem}label{display:grid;gap:.5rem;text-align:left;font-weight:500}input{padding:.75rem 1rem;border-radius:10px;border:1px solid #cbd5e1;font-size:1rem}button{padding:.75rem 1.4rem;border-radius:999px;border:none;background:#0f172a;color:#fff;cursor:pointer;font-weight:600}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:16px;font-size:14px}.pagination button,.status-row button{padding:8px 14px;border-radius:8px;border:1px solid #d1d5db;background:#fff;cursor:pointer}button.secondary{background:#e2e8f0;color:#0f172a}button.primary{background:#0f172a;color:#fff}button:disabled{opacity:.6;cursor:not-allowed}.loading,.error,.success,.empty{padding:12px 14px;border-radius:8px;margin-bottom:12px;font-size:14px}.loading{background:#eff6ff;color:#1d4ed8}.error{background:#fee2e2;color:#b91c1c}.success{background:#dcfce7;color:#166534}.empty{text-align:center;color:#6b7280}.details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.details-grid h2{margin:0 0 6px;font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}.detail-title{margin:0;font-size:18px;font-weight:600;color:#111827}.status-row{display:flex;align-items:center;gap:12px}.status-row select{padding:8px 12px;border-radius:8px;border:1px solid #d1d5db}.muted{color:#64748b;margin:.25rem 0 0}.role{margin-top:auto;font-size:.9rem}.segmented,.actions{display:flex;gap:.75rem;margin-top:1.5rem}.error{color:#dc2626;margin:0}@media(max-width:900px){.app-content{grid-template-columns:1fr}.app-nav{border-right:none;border-bottom:1px solid #e2e8f0;flex-direction:row;flex-wrap:wrap}}.version-footer{text-align:center;padding:12px 16px;font-size:11px;color:#9ca3af;font-family:SFMono-Regular,ui-monospace,monospace;border-top:1px solid #e5e7eb;background:#f9fafb}.mygo-credit-card{margin-bottom:24px}.mygo-credit-card.credit-status-critical{border:2px solid #dc2626}.mygo-credit-card.credit-status-low{border:2px solid #f59e0b}.mygo-credit-card.credit-status-adequate{border:2px solid #10b981}.mygo-credit-card .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.mygo-credit-card h2{margin:0;font-size:18px;font-weight:600}.live-indicator{font-size:12px;color:#16a34a;font-weight:500;display:flex;align-items:center;gap:4px}.credit-content{display:flex;flex-direction:column;gap:16px}.credit-amount{display:flex;flex-direction:column;gap:8px}.credit-amount .label{font-size:12px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.credit-amount .amount{font-size:32px;font-weight:700;color:#0f172a}.credit-amount .amount.amount-critical{color:#dc2626}.credit-amount .amount.amount-low{color:#f59e0b}.credit-amount .amount.amount-adequate{color:#10b981}.credit-alert{padding:12px 16px;border-radius:8px;margin-bottom:16px}.credit-alert strong{display:block;margin-bottom:4px;font-size:14px}.credit-alert p{margin:0;font-size:13px;line-height:1.5}.credit-alert-critical{background:#fee2e2;color:#991b1b;border-left:4px solid #dc2626}.credit-alert-low{background:#fef3c7;color:#92400e;border-left:4px solid #f59e0b}.credit-alert-adequate{background:#dcfce7;color:#166534;border-left:4px solid #10b981}.credit-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:16px;background:#f9fafb;border-radius:8px}.meta-item{display:flex;flex-direction:column;gap:4px}.meta-item .label{font-size:11px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.meta-item .value{font-size:14px;font-weight:500;color:#111827}.credit-actions{display:flex;gap:8px}.error-section{display:flex;flex-direction:column;gap:12px}.settings-section{margin-top:20px}.settings-section .description{margin:0 0 20px;color:#6b7280}.policy-options{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.policy-option{display:flex;gap:12px;padding:16px;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:border-color .2s}.policy-option:hover{border-color:#cbd5e1}.policy-option input[type=radio]{margin-top:4px;cursor:pointer}.policy-option input[type=radio]:checked+div{color:#0f172a}.policy-option strong{display:block;margin-bottom:4px;font-size:16px}.policy-meta{display:flex;flex-wrap:wrap;gap:20px;margin-top:20px;padding:16px;background:#f9fafb;border-radius:8px}.badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;background:#e5e7eb;color:#374151}.badge-success{background:#d1fae5;color:#065f46}.badge-danger{background:#fee2e2;color:#991b1b}.badge-warning{background:#fef3c7;color:#92400e}.history-section{margin-top:32px;padding-top:32px;border-top:1px solid #e5e7eb}.history-section h3{margin:0 0 16px;font-size:16px}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:12px;padding:24px;max-width:500px;width:90%;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal h2{margin:0 0 16px;font-size:20px}.modal p{margin:0 0 12px;line-height:1.5}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-top:16px}.info-item{display:flex;flex-direction:column;gap:6px}.info-item .label{font-size:11px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.info-item .value{font-size:14px;font-weight:500;color:#111827;word-break:break-all}.booking-alert{padding:12px 16px;border-radius:8px;margin-bottom:20px}.booking-alert strong{display:block;margin-bottom:4px;font-size:14px}.booking-alert p{margin:0;font-size:13px;line-height:1.5}.booking-alert-actionable{background:#fef3c7;color:#92400e;border-left:4px solid #f59e0b}
