/* PCM Cloud Entry — compact standalone stylesheet (matches the ERP's look:
   teal accent, plain English, no decorative symbols). */
* { box-sizing: border-box; margin: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #f4f6f8; color: #16232b; }
.hidden { display: none !important; }
.dim { color: #64748b; font-size: 13px; }
.error { color: #b91c1c; margin-top: 10px; font-size: 14px; }

.topbar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: #0f2e35; color: #fff; }
.brand-name { font-weight: 700; }
.brand-sub { font-size: 12px; color: #9fd6cd; }
.office-status { margin-left: auto; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #1d4a53; }
.office-status.online { background: #0f766e; }
.office-status.offline { background: #92400e; }

main { max-width: 860px; margin: 20px auto; padding: 0 14px; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.card.narrow { max-width: 380px; margin: 60px auto; }
h2 { margin-bottom: 6px; } h3.section-title { margin: 22px 0 10px; }
label { display: block; margin: 12px 0 4px; font-size: 13px; font-weight: 600; color: #334155; }
input, select, textarea { width: 100%; padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid #0f766e33; border-color: #0f766e; }

.btn { padding: 9px 16px; border-radius: 8px; border: 1px solid #cbd5e1; background: #fff; cursor: pointer; font-size: 14px; margin-top: 14px; }
.btn.primary { background: #0f766e; border-color: #0f766e; color: #fff; font-weight: 600; }
.btn.ghost { background: transparent; color: #cbe8e3; border-color: #35606a; margin: 0; }
.btn:disabled { opacity: .6; cursor: default; }

.banner { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
.banner.ok { background: #e6f4f1; border: 1px solid #99ccc4; }
.banner.warn { background: #fef3c7; border: 1px solid #f59e0b; }
.banner a { color: #0f766e; font-weight: 600; margin-left: 6px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tab { padding: 8px 14px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; cursor: pointer; font-size: 13px; }
.tab.active { background: #0f766e; border-color: #0f766e; color: #fff; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eef2f6; vertical-align: top; }
th { color: #64748b; font-weight: 600; font-size: 12px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef2f6; }
.pill.ok { background: #d1fae5; color: #065f46; }
.pill.warn { background: #fef3c7; color: #92400e; }
.pill.danger { background: #fee2e2; color: #991b1b; }
.pill.info { background: #e0f2fe; color: #075985; }
