:root{--ink:#11110f;--muted:#6e6a63;--paper:#f4f1eb;--white:#fff;--line:#ded9cf;--gold:#b98a55;--green:#17352b;--danger:#a43131;--shadow:0 24px 70px rgba(28,25,20,.11);font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% 0,#fff 0,transparent 34%),var(--paper)}button,input,textarea{font:inherit}button{cursor:pointer}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(470px,100%);padding:52px 48px 44px;background:rgba(255,255,255,.97);border:1px solid var(--line);box-shadow:var(--shadow)}.brand-link{display:block;width:155px;margin:0 auto 40px}.brand-link img,.header-brand img{display:block;width:100%;height:auto}.eyebrow{margin:0 0 10px;color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.18em}.auth-card h1,.page-heading h1{margin:0;font-family:Georgia,serif;font-size:clamp(34px,6vw,52px);font-weight:400;letter-spacing:-.03em}.intro{margin:16px 0 32px;color:var(--muted);line-height:1.6}.auth-card label,.field-group label,.notes-panel label{display:block;margin:0 0 8px;font-size:13px;font-weight:700}.password-control{position:relative}.password-control input,.field-group input,textarea{width:100%;border:1px solid var(--line);border-radius:0;background:var(--white);color:var(--ink);outline:none}.password-control input,.field-group input{height:52px;padding:0 15px}.password-control input{padding-right:88px}.password-control button{position:absolute;right:5px;top:5px;height:42px;padding:0 12px;border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:700}.password-control input:focus,.field-group input:focus,textarea:focus,.money-input:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px rgba(185,138,85,.13)}.primary-button,.secondary-button,.text-button{border:0;font-weight:800}.primary-button{width:100%;min-height:52px;margin-top:18px;padding:0 22px;background:var(--ink);color:#fff}.primary-button:disabled{cursor:wait;opacity:.6}.secondary-button{min-height:40px;padding:0 16px;border:1px solid var(--line);background:#fff}.text-button{padding:8px 0;background:transparent;color:var(--muted);font-size:13px}.form-message{min-height:20px;margin:14px 0 0;color:var(--danger);font-size:13px}.form-message.success{color:#23704f}.app-shell{min-height:100vh}.app-header{position:sticky;z-index:5;top:0;display:flex;align-items:center;justify-content:space-between;min-height:86px;padding:16px clamp(20px,5vw,72px);border-bottom:1px solid var(--line);background:rgba(255,255,255,.95);backdrop-filter:blur(14px)}.header-brand{display:flex;align-items:center;gap:22px}.header-brand img{width:110px}.header-brand div{display:grid;gap:3px;padding-left:22px;border-left:1px solid var(--line)}.header-brand span{color:var(--gold);font-size:9px;font-weight:900;letter-spacing:.16em}.header-brand strong{font-size:15px}.page-container{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:60px 0 90px}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:36px;margin-bottom:35px}.page-heading>p{max-width:520px;margin:0;color:var(--muted);line-height:1.6}.panel{border:1px solid var(--line);background:rgba(255,255,255,.92);box-shadow:0 8px 30px rgba(28,25,20,.035)}.details-panel{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px;padding:24px}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.75fr);gap:22px}.cash-panel,.history-panel{padding:28px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.panel-heading h2{margin:0;font-family:Georgia,serif;font-size:28px;font-weight:400}.cash-table-wrap,.history-table-wrap{overflow:auto}.cash-table,.history-table{width:100%;border-collapse:collapse}.cash-table th,.cash-table td,.history-table th,.history-table td{padding:13px 14px;border-bottom:1px solid #ece8e1;text-align:left}.cash-table thead th,.history-table thead th{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.cash-table th:last-child,.cash-table td:last-child,.history-table th:nth-child(n+3),.history-table td:nth-child(n+3){text-align:right}.cash-table tbody th{font-variant-numeric:tabular-nums}.quantity-input{width:100px;height:40px;padding:0 10px;border:1px solid var(--line);text-align:center;font-variant-numeric:tabular-nums}.cash-table tfoot th{padding-top:19px;border-bottom:0;font-size:16px}.summary-column{display:flex;flex-direction:column;gap:18px}.totals-panel,.notes-panel{padding:25px}.total-line,.multibanco-field{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #ece8e1}.total-line strong{font-size:19px;font-variant-numeric:tabular-nums}.money-input{display:flex;align-items:center;width:150px;height:44px;border:1px solid var(--line);background:#fff}.money-input input{min-width:0;width:100%;height:100%;padding:0 4px 0 12px;border:0;outline:0;text-align:right;font-weight:800}.money-input b{padding-right:12px}.grand-total{margin-top:7px;border:0}.grand-total span,.grand-total strong{font-size:21px;font-weight:900}.notes-panel textarea{padding:13px;resize:vertical;line-height:1.5}.save-button{margin:0}.history-panel{margin-top:22px}.history-table td{font-size:13px;font-variant-numeric:tabular-nums}.history-table td:first-child,.history-table td:nth-child(2){text-align:left}.empty-state{text-align:center!important;color:var(--muted);padding:35px!important}.record-note{display:block;max-width:260px;margin-top:4px;color:var(--muted);font-size:11px;white-space:normal}@media(max-width:800px){.app-header{min-height:72px}.header-brand div{display:none}.page-container{width:min(100% - 24px,1240px);padding-top:36px}.page-heading{display:block}.page-heading>p{margin-top:18px}.details-panel,.workspace-grid{grid-template-columns:1fr}.cash-panel,.history-panel{padding:20px 14px}.cash-table th,.cash-table td{padding:11px 7px}.quantity-input{width:82px}.history-table{min-width:760px}}@media(max-width:520px){.auth-card{padding:40px 24px}.app-header{padding:12px 18px}.details-panel{padding:18px}.page-heading h1{font-size:39px}.cash-table thead th{font-size:9px}.header-brand img{width:96px}}
