/* Content styles adapted from Sistema Financeiro de Obras. */
.app-main{margin-left:214px;padding:20px;min-width:0;min-height:calc(100vh - 46px)}.app-main>*,.card>*,.page-heading>*{min-width:0}.app-footer{margin-left:214px;padding:14px 20px;color:#64748b;font-size:11px;border-top:1px solid #e2e8f0}.app-footer span{padding:0 8px}h1{font-size:1.8rem;letter-spacing:-.025em;margin:0 0 8px;line-height:1.2}h2{font-size:1.35rem;letter-spacing:-.02em;margin:0 0 12px}h3{font-size:1rem;margin:0 0 8px}p{line-height:1.5}h1,h2,h3,p,label,summary{overflow-wrap:anywhere}a{color:#b91c1c;text-underline-offset:3px}.muted,.help{color:#64748b}.help{font-size:.88rem;line-height:1.45}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;color:#64748b;margin-bottom:8px}.card{background:linear-gradient(180deg,#fff,#fdfefe);padding:16px;border:1px solid #e2e8fe6;border-radius:12px;box-shadow:0 10px 28px #0f172a0f;min-width:0;margin:16px 0}.card h2,.card h3{margin-top:0}.primary,.secondary,button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 14px;font:600 12px/1.2 Arial,sans-serif;white-space:nowrap;border-radius:7px;text-decoration:none;border:1px solid transparent;cursor:pointer;box-sizing:border-box;vertical-align:middle;transition:background .15s,border-color .15s}.primary,button{background:#b91c1c;color:#fff;box-shadow:0 6px 14px #b91c1c24}.primary:hover,button:hover{background:#991b1b;color:white;box-shadow:0 2px 6px #0f172a14}.secondary{border-color:#cbd5e1;background:#f8fafc;color:#334155;box-shadow:none}.secondary:hover{background:#e2e8f0;color:#0f172a}button:disabled{opacity:.6;cursor:not-allowed}.full{width:100%;margin-top:16px}label{display:block;font-size:.88rem;font-weight:600;color:#374151;margin:14px 0 4px}input,select,textarea{display:block;width:100%;max-width:100%;min-width:0;padding:8px 9px;margin:6px 0 4px;border:1px solid #cfd6df;border-radius:8px;background:#fff;color:#1f2937;font:inherit;min-height:34px}input:focus,select:focus,textarea:focus{outline:none;border-color:#b91c1c;box-shadow:0 0 0 3px #b91c1c1f}textarea{resize:vertical;min-height:78px;line-height:1.4}input[type=hidden]{display:none}input[type=checkbox],input[type=radio]{display:inline-block;width:auto;min-height:0;flex:0 0 auto}.page-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:20px}.page-heading p{margin:0;color:#64748b}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.stats .card{margin:0}.stats span{display:block;color:#64748b;font-size:.9rem}.stats strong{display:block;font-size:1.8rem;font-weight:700;color:#111827;margin:10px 0;letter-spacing:-.025em}.stats a,.stats small{display:block;font-size:.85rem}.stats small{color:#64748b}.setup{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px;border:1px solid #e2e8f0;background:#fff;border-radius:12px;margin:16px 0}.setup h2{margin-bottom:8px}.setup p{color:#64748b;margin:0;max-width:760px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.section-heading h2{margin-bottom:0}.filters{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;padding:14px;margin:16px 0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.filters>div{flex:1;min-width:150px}.filters label{margin-top:0}.filters input,.filters select{margin-bottom:0}.checkbox{display:flex;align-items:center;gap:8px;min-height:34px;margin:0}.checkbox input{margin:0}.table-scroll{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}table{width:100%;border-collapse:collapse;margin-top:8px;font-size:.88rem}th{background:#f8fafc;text-align:left;color:#334155}th,td{padding:8px 9px;border-bottom:1px solid #e5e7eb;vertical-align:top;min-width:0;white-space:nowrap}tbody tr:nth-child(even){background:#fcfcfd}td small{display:block;color:#64748b;margin-top:5px;font-size:.85rem;font-weight:400}.badge{display:inline-block;padding:4px 9px;border-radius:20px;background:#dcfce7;color:#166534;font-size:.8rem}.badge.warning{background:#fef3c7;color:#92400e}.empty{text-align:center;padding:32px 20px;color:#64748b;white-space:normal}.empty-icon{font-size:28px;margin-bottom:8px}.empty h3{font-size:1.1rem;color:#334155}.empty p{margin-bottom:0}.alert{padding:12px 16px;border:1px solid #cbd5e1;border-radius:8px;background:#f1f5f9;margin:16px 0;line-height:1.5}.alert.error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.alert.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.narrow{max-width:560px;margin:0 auto}.narrow .helptext,.narrow ul{color:#64748b;font-size:.88rem}.errorlist{color:#991b1b!important}.employee-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}.employee-grid .card{margin:0 0 16px}.employee-grid aside{min-width:0}.clock{font-size:48px;font-weight:700;letter-spacing:-2px;text-align:center;margin:20px 0 0;color:#111827}.clock-caption{font-size:11px;text-align:center;margin:6px 0 24px}.punch-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.punch-buttons button{display:flex;flex-direction:column;min-height:90px;background:#f8fafc;border:1px solid #cbd5e1;color:#334155;box-shadow:none;white-space:normal}.punch-buttons button:first-child{background:#b91c1c;border-color:#b91c1c;color:#fff}.punch-buttons button:hover{background:#e2e8f0}.punch-buttons button:first-child:hover{background:#991b1b}.punch-buttons button span{font-size:24px}.last-time{font-size:28px;font-weight:700;margin:16px 0}.last-time small{font-size:12px;color:#64748b;font-weight:400;margin-left:12px}.policy-card{background:#f8fafc}.live-label{padding:8px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;white-space:nowrap}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#16a34a;margin-right:6px}details{margin-top:8px}summary{cursor:pointer;font-weight:600;color:#b91c1c}.review-form{min-width:220px;white-space:normal}.review-form button{margin-top:10px}.review-form label{margin-top:10px}.history>.help{margin-bottom:0}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 10% 20%,#b91c1c2e,transparent 28%),linear-gradient(135deg,#0f172a 0%,#172033 48%,#f3f4f6 48%,#f8fafc 100%)}.auth-shell{width:min(960px,100%);display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.auth-brand,.auth-form{border-radius:20px;padding:36px;box-shadow:0 20px 60px #0f172a26;min-width:0}.auth-brand{background:linear-gradient(145deg,#151d2b,#273244);color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:460px}.auth-brand h1{font-size:2.8rem;line-height:1.1;max-width:380px}.auth-brand p{color:#cbd5e1;font-size:1rem;line-height:1.6}.auth-brand>small{color:#cbd5e1}.auth-form{background:white;display:flex;flex-direction:column;justify-content:center}.auth-form form{display:grid;gap:14px}.auth-form h2{font-size:1.8rem}.auth-form>p{margin:0 0 24px;color:#64748b}.auth-form label{margin:0}.auth-form .auth-help{font-size:11px;line-height:1.5;margin:20px 0 0}.auth-form .alert{margin-top:0}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.app-main{padding:16px}.card{padding:16px}}
@media(max-width:760px){.app-main{margin:0;padding:14px;min-height:calc(100vh - 110px)}.app-footer{margin-left:0;padding:14px}.card{padding:14px;margin:12px 0}.page-heading{display:block}.page-heading>.primary{margin-top:12px}.stats{grid-template-columns:1fr;gap:12px}.stats .card{margin:0}.setup{display:block;padding:14px}.setup .secondary{margin-top:14px}.section-heading{gap:12px}.filters{padding:12px;gap:12px}.filters>div{min-width:100%}.filters>.primary{margin-left:auto}.employee-grid{grid-template-columns:1fr}.live-label{display:none}.punch-buttons button{min-height:100px}input,select,textarea{font-size:16px}.primary,.secondary,button{min-height:40px}.auth-page{padding:14px}.auth-shell{grid-template-columns:1fr}.auth-brand,.auth-form{padding:22px}.auth-brand{min-height:180px}.auth-brand h1{font-size:1.7rem;margin-top:24px}.auth-brand .app-brand{margin-bottom:0}.auth-brand>small{margin-top:16px}.auth-form h2{font-size:1.8rem}.auth-form button{min-height:42px}.clock{font-size:48px}.review-form{min-width:190px}}
