:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#252525;background:#f4f5f7;font-size:16px;--gold:#e9b82d;--dark:#171717}*{box-sizing:border-box}body{margin:0}header{background:var(--dark);color:white;display:flex;justify-content:space-between;align-items:center;padding:18px max(24px,calc((100vw - 1200px)/2));gap:20px}.brand{display:flex;align-items:center;gap:16px}.brand img{width:66px;height:66px;border-radius:12px}.brand strong{display:block;font-size:20px}.brand span{display:block;color:#c9c9c9;margin-top:5px;font-size:14px}button,.filebutton{cursor:pointer;font:inherit;font-weight:650;border-radius:10px;padding:13px 18px;border:1px solid #d4d6db;min-height:48px;background:white;color:#252525}button:hover,.filebutton:hover{filter:brightness(.96)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b7860b;outline-offset:3px}.primary{background:var(--gold);border-color:var(--gold);color:#171717}.outline{background:transparent}header .outline{color:#f4cd64;border-color:#796122}main{max-width:1200px;margin:auto;padding:0 24px}nav{display:flex;gap:8px;border-bottom:1px solid #dedfe4;padding:20px 0}nav button{background:transparent;border:0;color:#626672}nav .active{background:#171717;color:white}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:34px 0 26px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.6px;color:#8a6711;margin:0 0 12px}h1{font-size:32px;letter-spacing:-1px;margin:0 0 10px}h2{font-size:19px;margin:0 0 20px}.heading p:not(.eyebrow),.help{color:#676b74;line-height:1.6}.heading p{margin-bottom:0}.badge{font-size:14px;background:#fff1c8;padding:10px 14px;border-radius:30px;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}article,.summary{background:white;border:1px solid #e2e3e8;border-radius:16px;padding:26px;margin-bottom:20px;box-shadow:0 3px 12px #00000003}article h2{padding-bottom:16px;border-bottom:1px solid #eceef1}label{display:block;font-weight:600;font-size:14px;margin-bottom:18px}input,select,textarea{width:100%;padding:13px;margin-top:8px;font:inherit;font-size:16px;border:1px solid #d3d6dd;border-radius:8px;background:#fff;color:#252525}input[type=radio]{width:20px;margin:0;accent-color:#a47704}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.types{display:flex;gap:16px;margin-bottom:18px}.types label{border:1px solid #ddd;padding:14px;display:flex;gap:10px;align-items:center;flex:1;border-radius:10px;margin:0}.types label:has(:checked){background:#fff7dd;border-color:#e9b82d}.item{border-bottom:1px dashed #d9dce2;padding:0 0 12px;margin-bottom:18px}.item-top{display:flex;align-items:center;justify-content:space-between}.item-top label{margin:0;flex:1}.remove{border:0;color:#a33333;background:#fff1f1;padding:8px;margin-left:12px;min-height:42px}.item-grid{display:grid;grid-template-columns:1fr 90px 1fr;gap:12px;margin-top:12px}.item-grid label{margin-bottom:0}.item-total{font-size:14px;color:#676b74;margin:12px 0 0;text-align:right}#add{margin-bottom:22px}.summary{position:sticky;top:20px;border-top:4px solid var(--gold)}.summary h2{font-size:25px}.summary>p{overflow-wrap:anywhere}.summary button{width:100%;margin-bottom:12px}.line{display:flex;justify-content:space-between;gap:15px;margin:14px 0;font-size:14px}.total{border-top:1px solid #e1e2e7;margin:22px 0;padding-top:22px}.total span{display:block;color:#666;font-size:14px}.total strong{display:block;font-size:36px;letter-spacing:-1px;margin-top:10px}.help{font-size:14px;margin:0 0 18px}.summary .help{margin:6px 0 0}.settings{max-width:740px}footer{padding:25px 0 35px;color:#7b7e86;text-align:center;font-size:13px}.record{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border:1px solid #dddfe4;border-radius:12px;padding:20px;margin:14px 0}.record p{margin:7px 0;color:#6b6c74;font-size:14px}.record strong{overflow-wrap:anywhere}.record-actions{display:flex;gap:8px;flex-wrap:wrap}.backup{margin-top:30px}.filebutton{display:inline-block;margin-left:10px}dialog{border:1px solid #ddd;border-radius:18px;padding:28px;max-width:500px;width:calc(100% - 32px)}dialog::backdrop{background:#0009}dialog p{line-height:1.6}dialog .close{float:right;border:0;padding:3px 12px;font-size:26px}.closeDialog{margin-top:12px}#previewDialog{max-width:950px}iframe{width:100%;height:65vh;border:1px solid #eee;margin:12px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#171717;color:white;border-radius:10px;padding:14px 20px;display:none;z-index:5;max-width:90%;width:max-content} [hidden]{display:none!important}@media(max-width:850px){.workspace{grid-template-columns:1fr}.summary{position:static}.badge{display:none}header{padding:15px 20px}.heading{margin-top:26px}h1{font-size:28px}}@media(max-width:520px){main{padding:0 16px}header{gap:10px;padding:12px 16px}.brand{gap:10px}.brand img{width:48px;height:48px}.brand strong{font-size:16px}.brand span{font-size:12px}header button{font-size:13px;padding:8px;min-height:44px;max-width:110px}nav{gap:4px}nav button{padding:10px 8px;font-size:14px;flex:1}article,.summary{padding:20px}.grid{grid-template-columns:1fr;gap:0}.item-grid{grid-template-columns:1fr 1fr}.item-grid label:first-child{grid-column:1/-1}.record{align-items:flex-start;flex-direction:column}.heading{align-items:flex-start;flex-direction:column}.filebutton{margin:12px 0 0}.types{gap:8px}.types label{padding:12px;font-size:14px}}
