:root{--primary: #0e7490;--accent: #f59e0b;font-family:system-ui,-apple-system,sans-serif;color:#111;background:#f4f5f7}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{padding:8px 12px;border-radius:8px;border:1px solid #ccc;background:#fff}button.primary{background:var(--primary);color:#fff;border:0;margin:8px 8px 8px 0}button.link{background:none;border:0;color:var(--primary);text-decoration:underline;padding:4px}button.inv{color:#fff}label{display:block;margin:8px 0;font-size:14px}label input:not([type=checkbox]):not([type=radio]),label select{display:block;width:100%;padding:8px;margin-top:2px;border:1px solid #ccc;border-radius:8px;background:#fff}input[type=color]{height:40px}.app{min-height:100vh;padding-bottom:64px}header{display:flex;gap:8px;align-items:center;padding:8px 12px;background:var(--primary);color:#fff;position:sticky;top:0;z-index:2}header img{width:36px;height:36px;border-radius:8px;background:#fff}header select{max-width:110px}main{padding:12px 16px;max-width:760px;margin:0 auto}nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fff;border-top:1px solid #ddd}nav button{flex:1;border:0;border-radius:0;padding:14px 2px;font-size:13px;background:#fff}nav button.on{color:var(--primary);font-weight:700;border-top:3px solid var(--accent)}.card{background:#fff;border-radius:12px;padding:12px;margin:10px 0;box-shadow:0 1px 2px #0001}.row{display:flex;gap:8px;align-items:center}.wrap{flex-wrap:wrap}.grow{flex:1}.end{justify-content:flex-end}.center{text-align:center}.small{font-size:13px;color:#555}header .small{color:#fffc}.err{color:#b91c1c;font-weight:600}.badge{font-size:12px;padding:2px 8px;border-radius:99px;background:#e5e7eb;white-space:nowrap}.badge.red{background:#fee2e2;color:#991b1b}.badge.amber{background:#fef3c7;color:#92400e}.st-available{background:#dcfce7;color:#166534}.st-rented{background:#dbeafe;color:#1e40af}.st-in_repair{background:#fee2e2;color:#991b1b}.st-out_of_service{background:#e5e7eb}.dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-left:4px}.dot.st-available{background:#22c55e}.dot.st-rented{background:#3b82f6}.dot.st-in_repair{background:#ef4444}.detail{border-top:1px solid #eee;margin-top:8px;padding-top:8px}.detail>*{margin:4px 0}.login{max-width:420px;margin:0 auto;padding:16px}.calwrap{overflow-x:auto}.cal{border-collapse:collapse;width:100%;font-size:12px;background:#fff}.cal th,.cal td{border:1px solid #e5e7eb;padding:4px 2px;text-align:center;min-width:38px}.cal tbody th{text-align:left;white-space:nowrap;padding:4px}.bk{background:color-mix(in srgb,var(--primary) 25%,#fff)}.bk.out{background:var(--primary);color:#fff}.bk.returned{background:#e5e7eb}.rp{background:repeating-linear-gradient(45deg,#fecaca,#fecaca 4px,#fee2e2 4px,#fee2e2 8px);color:#991b1b;font-size:10px}.legend span{display:inline-block;width:14px;margin-left:8px}.sig{width:100%;height:150px;border:1px dashed #999;border-radius:8px;background:#fff;touch-action:none}.thumbs{display:flex;gap:4px;flex-wrap:wrap}.thumbs img{width:64px;height:64px;object-fit:cover;border-radius:6px}fieldset{border:1px solid #ddd;border-radius:8px}
