*{box-sizing:border-box}body{margin:0;background:#faf8f3;color:#3e382f;font-family:Tahoma,Arial,sans-serif}a{color:#8c6d2d;text-decoration:none}.topbar,.public-head{background:#fff;border-bottom:1px solid #eadfca;min-height:66px;padding:12px 4%;display:flex;align-items:center;justify-content:space-between;gap:15px}.top-title,.brand,.brand-mini{font-weight:700;color:#a17a2f}.brand{font-size:18px}.container{max-width:1150px;margin:25px auto;padding:0 18px}.narrow{max-width:1000px}.grid{display:grid;gap:18px}.stats{grid-template-columns:repeat(4,1fr)}.cards{grid-template-columns:repeat(3,1fr);margin-top:18px}.card{background:#fff;border:1px solid #eee3d2;border-radius:18px;box-shadow:0 8px 25px rgba(115,90,45,.07);padding:22px}.stat span{display:block;color:#777}.stat strong{font-size:32px;color:#9b762e}.action{display:block}.action b{display:block;font-size:18px;color:#8c6d2d;margin-bottom:8px}.action span{color:#777}.btn{border:0;border-radius:10px;padding:11px 18px;cursor:pointer;display:inline-block}.btn.primary{background:#b08a3d;color:#fff}.btn.light{background:#f5f0e7;color:#6e5629}.full{width:100%;margin-top:15px}.form-card{margin:18px 0}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;align-items:end}label{display:block;font-weight:700;color:#6d5b3e}input,select{width:100%;margin-top:7px;padding:12px;border:1px solid #ddd2c0;border-radius:10px;background:#fff;font:inherit}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid #eee;text-align:right;white-space:nowrap}th{color:#866a34;background:#fcfaf6}.alert{padding:13px 15px;border-radius:10px;margin:15px 0}.alert.ok{background:#edf8ef;color:#246b36}.alert.error{background:#fff0ef;color:#9a2c25}.note{margin-top:20px;background:#fff8e9;border:1px solid #ead7ad;padding:16px;border-radius:12px;line-height:1.9}.auth-page{min-height:100vh;display:grid;place-items:center;background:#faf8f3}.auth-card{width:min(420px,92%);background:#fff;border:1px solid #eee3d2;border-radius:20px;box-shadow:0 10px 35px rgba(115,90,45,.1);padding:30px}.subtitle{text-align:center;color:#888;margin:8px 0 25px}.auth-card .brand{text-align:center;margin-bottom:6px}.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:8px 0 18px}.check{font-weight:400;background:#faf8f3;padding:10px;border-radius:10px}.check input{width:auto;margin:0}.doc-box{border:1px solid #e8dece;border-radius:14px;padding:12px;margin:16px 0}.doc-box iframe{width:100%;height:520px;border:0;background:#eee}.sig-wrap{border:1px dashed #c9b58d;border-radius:12px;background:#fff;margin:10px 0}.sig-wrap canvas{width:100%;height:220px;display:block}.actions{display:flex;gap:10px;margin-top:12px}.success-page{text-align:center;margin-top:50px}.success-icon{margin:auto;width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#f0e6cf;color:#9b762e;font-size:40px}.muted{color:#777;line-height:1.8}.hr{border:0;border-top:1px solid #eee}@media(max-width:800px){.stats,.cards,.form-grid{grid-template-columns:1fr}.topbar,.public-head{flex-wrap:wrap}.doc-box iframe{height:430px}.checks{grid-template-columns:1fr}}
