:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1c2926;background:#f3f6f5;font-synthesis:none;font-size:16px;--green:#173d35;--muted:#586761;--line:#dce4e0;--accent:#b7dfba}*{box-sizing:border-box}body{margin:0}::selection{background:#c5e6d0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #8fc698;outline-offset:3px}button{border:0}a{color:inherit}svg{width:21px;height:21px;flex-shrink:0}.brand{font-size:27px;font-weight:750;letter-spacing:-1px;text-decoration:none}.brand span{color:#91c69e}h1{font-size:32px;letter-spacing:-.03em;line-height:1.2;margin:0 0 10px}h2{font-size:20px;letter-spacing:-.02em;margin:0 0 22px}p{line-height:1.55;margin:8px 0 20px}.muted{color:var(--muted)}.small,small{font-size:13px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 19px;border-radius:9px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:#fff}.primary:hover{background:#245547}.secondary{background:#e9efeb;color:#243c32}.secondary:hover{background:#dce6df}.text-button{background:none;color:var(--green);font-weight:600;padding:10px 0;text-align:left;min-height:44px}.danger{color:#a32d28}.layout{display:grid;grid-template-columns:228px 1fr;min-height:100svh}aside{background:var(--green);color:#f4faf6;padding:33px 24px;position:fixed;inset:0 auto 0 0;width:228px;display:flex;flex-direction:column}aside .brand{margin-bottom:58px}nav{display:flex;flex-direction:column;gap:8px}.nav-item{display:flex;align-items:center;gap:14px;padding:14px 15px;color:#d8e7df;background:transparent;border-radius:9px;text-align:left;font-weight:550}.nav-item:hover{background:#254e42}.nav-item.active{background:#d5ecd9;color:#183d30}.account{margin-top:auto;font-size:12px;overflow-wrap:anywhere;border-top:1px solid #3a5a4f;padding-top:20px}.account .text-button{color:#e1efe6;font-size:14px}#main{grid-column:2;min-width:0}.topbar{display:flex;justify-content:space-between;gap:20px;padding:25px 42px;background:#fff;border-bottom:1px solid var(--line);font-size:14px}.private-label{color:var(--muted);white-space:nowrap}#content{padding:42px;max-width:1260px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.heading p{margin:0;max-width:65ch}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:22px;overflow:hidden}.form-panel{padding:28px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.fields.single{grid-template-columns:1fr}.fields .full{grid-column:1/-1}label{display:flex;flex-direction:column;gap:9px;font-size:14px;font-weight:550;min-width:0}input,textarea,select{width:100%;min-height:46px;border:1px solid #b6c7be;border-radius:7px;background:#fff;color:#172e24;padding:11px 12px;caret-color:var(--green);font-size:16px;outline:0}input:focus,textarea:focus,select:focus{border-color:#337354;box-shadow:0 0 0 3px #dceee1}input::placeholder,textarea::placeholder{color:#67766f;opacity:1}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23294435' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.check{flex-direction:row;align-items:center;gap:12px;margin:20px 0}.check input{width:20px;min-height:20px;height:20px;accent-color:var(--green)}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:26px;margin-top:25px;border-top:1px solid var(--line)}.form-footer p{margin:0;max-width:45ch}.list-toolbar{display:flex;justify-content:space-between;align-items:center;padding:24px;gap:20px;border-bottom:1px solid var(--line)}.search{width:min(100%,380px)}.table-head,.invoice-row{display:grid;grid-template-columns:1fr 120px 165px;gap:20px;padding:20px 25px;align-items:center;text-align:left;width:100%}.table-head{font-size:12px;color:var(--muted);background:#f9fbfa}.table-head span:last-child,.invoice-row>strong{text-align:right}.invoice-row{background:#fff;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;min-height:94px}.invoice-row:last-child{border-bottom:0}.invoice-row:hover{background:#f0f7f2}.buyer-name{display:block;color:var(--muted);margin-top:6px;font-size:14px}.empty{padding:62px 26px;text-align:center;color:var(--muted)}.empty svg{width:38px;height:38px;margin-bottom:18px;color:#557463}.empty h2{color:#2f4439;margin-bottom:10px}.empty p{margin:0}.onboarding{background:#deeee2;border-radius:14px;padding:27px;margin-bottom:24px}.onboarding h2{margin-bottom:10px}.split{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:24px;align-items:start}.split form button[type=submit]{margin-top:24px}.customer-row{padding:23px;border-bottom:1px solid var(--line)}.customer-row:last-child{border:0}.customer-row p{margin:6px 0}.customer-row .text-button{display:block}.buyer-fields{margin-top:24px}.section-title,.item-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.item{padding:20px 0;border-top:1px solid var(--line)}.item-title{margin-bottom:14px}.item-fields{display:grid;grid-template-columns:minmax(180px,3fr) 85px 95px 125px 85px;gap:12px}.item-fields label:first-child{grid-column:1/-1}.item-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.total-block{margin:30px 0 0 auto;max-width:400px;font-variant-numeric:tabular-nums}.total-block>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0}.grand-total{border-top:1px solid var(--line);font-size:19px}.document-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.document-scroll{overflow:auto;padding:4px 4px 28px}.invoice-paper{background:#fff;width:794px;min-height:1123px;padding:64px 65px;box-shadow:0 5px 20px #183b2912;color:#202020;font-family:Arial,sans-serif;position:relative;font-size:12px}.paper-header{font-size:10px;line-height:1.7;border-bottom:1px solid #dedede;padding-bottom:18px;overflow-wrap:anywhere}.paper-title-row{display:flex;justify-content:space-between;align-items:flex-end;margin:55px 0 35px}.paper-title{font-size:38px;letter-spacing:4px;font-weight:400}.paper-meta{text-align:right;line-height:1.8}.paper-buyer{line-height:1.8;margin-bottom:40px}.paper-buyer strong{font-size:15px}.paper-table{width:100%;border-collapse:collapse;font-size:11px}.paper-table th{background:#eaeaea;text-align:left;font-size:9px;font-weight:400;padding:7px 5px}.paper-table td{padding:14px 5px;vertical-align:top;border-bottom:1px solid #eee;overflow-wrap:anywhere;max-width:250px}.paper-table .right{text-align:right;white-space:nowrap}.paper-total{text-align:right;margin-top:18px;font-size:14px}.paper-footer{margin-top:120px;line-height:1.8;font-size:10px;white-space:pre-wrap}.paper-contact{margin-top:65px;font-size:9px;border-top:1px solid #ddd;padding-top:15px}.auth{max-width:490px;margin:0 auto;padding:60px 24px}.auth>.brand{display:block;margin-bottom:55px}.auth-panel{background:#fff;padding:32px;border-radius:14px;border:1px solid var(--line);margin-bottom:22px}.auth h1{font-size:30px}.auth form{display:grid;gap:20px;margin-top:30px}.auth-links{display:flex;flex-direction:column;align-items:flex-start;margin-top:16px}.loading{text-align:center;padding:20vh 20px}#notice{position:fixed;bottom:25px;left:50%;transform:translate(-50%);background:#173d35;color:#fff;border-radius:10px;padding:16px 22px;max-width:min(90vw,600px);width:max-content;box-shadow:0 6px 30px #12362930;display:none;z-index:30}#notice.show{display:block}#notice.error{background:#902d26}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:#b6c6bd;border-radius:8px}@media(max-width:900px){.layout{grid-template-columns:180px 1fr}aside{width:180px;padding:28px 16px}.topbar{padding:22px 26px}#content{padding:28px}.split{grid-template-columns:1fr}.table-head,.invoice-row{grid-template-columns:1fr 95px 130px;padding:18px;gap:12px}.heading{align-items:flex-start}.heading h1{font-size:28px}}@media(max-width:640px){.layout{display:block;padding-bottom:90px}aside{inset:auto 0 0;width:100%;height:auto;padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:20;border-top:1px solid #315447}aside>.brand,.account{display:none}nav{flex-direction:row;justify-content:space-around;gap:6px}.nav-item{flex-direction:column;gap:5px;font-size:12px;padding:8px 20px;flex:1}.nav-item svg{width:20px;height:20px}#main{width:100%}.topbar{padding:19px 20px;font-size:13px;min-height:60px}.topbar>span:first-child{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#content{padding:27px 17px}.heading{flex-wrap:wrap;gap:17px;margin-bottom:22px}.heading h1{font-size:29px}.heading p{font-size:14px}.heading>.primary{width:100%}.form-panel{padding:21px 18px}.fields{grid-template-columns:1fr;gap:19px}.fields .full{grid-column:auto}.form-footer{flex-direction:column;align-items:stretch;gap:18px}.form-footer .primary{width:100%}.list-toolbar{padding:18px;align-items:flex-end}.list-toolbar>span{display:none}.search{width:100%}.table-head{display:none}.invoice-row{grid-template-columns:1fr auto;gap:8px 12px;min-height:105px;padding:19px 17px}.invoice-row>span:nth-child(2){grid-row:2;font-size:12px}.invoice-row>strong{grid-column:2;grid-row:1/3;font-size:15px}.invoice-row small{display:block;margin-top:5px;font-weight:400}.buyer-name{max-width:190px;line-height:1.4}.item-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title{align-items:flex-start;flex-wrap:wrap;gap:0}.grand-total{font-size:17px}.document-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.document-actions button{padding:10px;font-size:14px}.document-scroll{margin:0 -10px}.auth{padding-top:38px}.auth>.brand{margin-bottom:30px}.auth-panel{padding:26px 22px}.auth h1{font-size:28px}#notice{bottom:100px}.private-label{font-size:12px}}@media(prefers-reduced-motion:no-preference){.total-block strong{transition:color .15s ease-out}button{transition:background-color .15s ease-out}}
