@charset "UTF-8";
:root{--ink:#202020;--muted:#72767b;--line:#e7e9eb;--paper:#fff;--canvas:#f7f8f9;--green:#00b27a;--green-dark:#007f58;--green-soft:#eaf8f2;--red:#ad3445;--red-soft:#fff0f1;--amber:#98630a;--amber-soft:#fff6e5;--radius:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #00b27a66;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #dce0e3;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);min-width:0;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #00b27a14}textarea{resize:vertical;line-height:1.65}label{display:flex;flex-direction:column;gap:7px;font-weight:550;margin-bottom:18px}label small{font-weight:400;color:var(--muted);font-size:12px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1.1px;line-height:1.2;margin-bottom:10px;font-weight:650}h2{font-size:17px;letter-spacing:-.3px;font-weight:600;line-height:1.4;margin-bottom:8px}h3{font-size:14px;font-weight:600;margin-bottom:7px}p{margin-bottom:14px}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:650;display:block;color:var(--muted);margin-bottom:12px}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:10px 16px;min-height:42px;line-height:1.4;font-weight:550;transition:background .16s,color .16s;white-space:nowrap;font-size:13px}.primary{background:var(--ink);color:#fff}.primary:hover{background:#3b3b3b}.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.secondary:hover{background:#f4f5f5}.green{background:var(--green);color:#fff}.green:hover{background:var(--green-dark)}.danger-button{background:var(--red-soft);color:var(--red);border-color:#f3d4d9}.compact{min-height:34px;padding:7px 11px;font-size:12px}.full{width:100%}.text-button{border:0;background:transparent;color:var(--muted);font-size:12px;padding:6px}.text-button:hover{color:var(--ink)}hr{border:0;border-top:1px solid var(--line);margin:25px 0}.notice{background:#f0f3f5;border:1px solid #e2e7eb;border-radius:9px;padding:13px 15px;margin:15px 0;color:#59636c;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.notice.danger{color:var(--red);background:var(--red-soft);border-color:#f4d7dd}.notice.success{color:var(--green-dark);background:var(--green-soft);border-color:#cceee0}
.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.brand{display:block;padding:20px 27px 25px}.brand img{width:130px;height:65px;object-fit:contain;display:block;margin-left:-3px}.brand>span{display:block;letter-spacing:1.1px;font-size:8px;color:var(--muted);margin-top:-5px}.sidebar nav{padding:0 13px;overflow:auto;flex:1}.nav-label{font-size:9px;font-weight:600;letter-spacing:1.4px;color:#989b9d;padding:21px 14px 9px}.nav-item{display:flex;align-items:center;gap:10px;border-radius:8px;padding:11px 13px;font-size:12px;color:#65696c;margin:3px 0;min-height:42px}.nav-item:hover{background:#f6f7f7;color:var(--ink)}.nav-item.active{background:#202020;color:#fff;font-weight:550}.nav-icon{width:18px;text-align:center;font-size:18px;line-height:1;opacity:.85}.nav-count{margin-left:auto;font-size:10px;padding:1px 5px;border-radius:4px;background:#f0f2f2;color:#717575}.nav-count:empty{display:none}.active .nav-count{background:#414342;color:#d5f9e9}.sidebar-bottom{padding:20px 26px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}.sidebar-bottom strong{font-size:11px;display:block;font-weight:550}.sidebar-bottom small{font-size:10px;color:var(--muted)}.live-dot{width:7px;height:7px;background:var(--green);border-radius:50%;display:inline-block}.workspace{margin-left:240px}.topbar{height:71px;display:flex;align-items:center;justify-content:space-between;padding:0 35px;background:#fff;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);gap:15px}.topbar strong{font-weight:500;color:#54595d}.crumb{margin:0 13px;color:#bec2c4}.topbar-right{display:flex;align-items:center;gap:14px}.live-status{font-size:10px;color:var(--muted)}.live-status::before{content:"";display:inline-block;width:5px;height:5px;margin-right:7px;background:var(--green);border-radius:50%}.live-status.error::before{background:var(--amber)}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#f1f2f3;font-size:11px;font-weight:600}.main{padding:36px 35px 0;max-width:1720px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading p{font-size:12px;margin-bottom:0}.page-heading .eyebrow{font-size:9px;margin-bottom:9px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat-card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:20px;transition:border-color .2s}.stat-card:hover{border-color:#b8c6c0}.stat-label{display:flex;justify-content:space-between;align-items:center;color:#71767a;font-size:11px;gap:6px}.stat-label>span{font-size:20px;color:#9aa9a2}.stat-card strong{display:block;font-size:33px;line-height:1.4;letter-spacing:-1px;font-weight:600;margin:8px 0 4px}.stat-value{font-size:11px;color:#8a8f93}.welcome-strip{display:flex;align-items:center;gap:18px;padding:25px;background:#edf6f1;border:1px solid #dcebe2;border-radius:var(--radius);margin-bottom:32px}.strip-icon{width:43px;height:43px;border:1px solid #cfdfd5;border-radius:50%;display:grid;place-items:center;font-size:24px;flex-shrink:0;color:#49715c}.welcome-strip h2{font-size:15px;margin-bottom:4px}.welcome-strip p{font-size:11px;color:#6e8275;margin-bottom:0}.welcome-strip .button{margin-left:auto}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.section-heading h2{margin:0;font-size:15px}.table-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.filters{display:flex;gap:12px;padding:19px;align-items:flex-end;flex-wrap:wrap;border-bottom:1px solid var(--line)}.filters label{margin:0;flex:1;min-width:118px}.filters label>span{font-size:10px;color:#73797d;font-weight:500}.filters .search-label{flex:2.3;min-width:220px}.filters input,.filters select{height:38px;font-size:11px;padding:8px 10px}.filters .button{height:38px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:#8b9094;font-weight:600;background:#fcfcfd;padding:14px 18px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:17px 18px;font-size:12px;border-bottom:1px solid #f0f1f2;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfb}.customer-name{font-weight:550;font-size:12px;display:block;margin-bottom:4px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subline{display:block;font-size:10px;color:#91979b}.product-name{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#60666b;font-size:11px}.money{font-variant-numeric:tabular-nums;font-weight:550;white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;white-space:nowrap;background:#f0f2f4;color:#747b82;line-height:1.4}.badge.pending{background:var(--amber-soft);color:var(--amber)}.badge.paid{background:var(--green-soft);color:var(--green-dark)}.badge.refused{background:var(--red-soft);color:var(--red)}.badge.new{background:#edf1fa;color:#5a6c91}.badge.contacted{background:#eff5f2;color:#59806b}.badge.waiting{background:#f4f0fb;color:#8266a7}.badge.closed{background:#f0f1f2;color:#858a8c}.badge.blocked{background:#fff0f1;color:#ad3445}.row-open{border:1px solid var(--line);background:white;width:29px;height:29px;border-radius:6px;font-size:16px;display:grid;place-items:center}.row-open:hover{background:var(--ink);color:white}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);gap:14px}.pagination{display:flex;align-items:center;gap:12px}.below-table{font-size:10px;color:#969b9e;margin-top:13px}.loading-cell{text-align:center;padding:58px 20px;color:var(--muted)}.empty-state{text-align:center;padding:55px 24px;color:#929a9f}.empty-symbol{font-size:30px;line-height:1.5;display:block;color:#b5c1ba;margin-bottom:9px}.empty-state h3{font-size:14px;color:#4b5459}.empty-state p{font-size:11px;max-width:350px;margin:8px auto 15px;line-height:1.7}.empty-state a{font-size:11px;color:var(--green-dark);text-decoration:underline}.main-footer{display:flex;justify-content:space-between;padding:35px 0 22px;color:#a0a5a8;font-size:9px;gap:14px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:25px;align-items:start;max-width:1150px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px}.panel-heading{padding-bottom:15px;margin-bottom:20px;border-bottom:1px solid var(--line)}.panel-heading p{font-size:12px;margin-bottom:0}.form-panel label{font-size:12px}.helper-panel p{font-size:12px;line-height:1.8}.variables{margin:20px 0}.variables dt{font-size:11px;font-family:ui-monospace,monospace;font-weight:600;margin-top:15px}.variables dd{font-size:11px;margin:4px 0 0;color:var(--muted)}.step{display:flex;gap:15px;margin:25px 0}.step>span{width:27px;height:27px;background:#f1f3f3;border-radius:50%;display:grid;place-items:center;font-size:11px;flex-shrink:0}.step>div{min-width:0;width:100%}.step p{font-size:12px;color:var(--muted)}.copy-field{display:flex;gap:8px}.copy-field input{font-size:11px;background:#f9fafb}.connection-list dt{font-size:10px;color:var(--muted);margin-top:20px}.connection-list dd{font-size:12px;margin:5px 0 0}.section-label{font-size:10px;letter-spacing:1px;color:#959c9f;font-weight:600;margin:25px 0 15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.drawer{position:fixed;inset:0 0 0 auto;margin:0;max-height:100dvh;height:100dvh;width:590px;max-width:100%;border:0;padding:0;background:#fff;color:var(--ink);box-shadow:-20px 0 80px #00000016}.drawer::backdrop{background:#15241c66}.drawer-header{position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid var(--line);padding:22px 27px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.drawer-header h2{font-size:20px;margin-bottom:5px}.drawer-header .eyebrow{font-size:9px;margin-bottom:5px}.drawer-body{padding:25px 27px}.close-button{border:1px solid var(--line);background:#fff;border-radius:7px;width:30px;height:30px;flex-shrink:0;font-size:20px;line-height:1}.detail-section{padding-bottom:23px;margin-bottom:23px;border-bottom:1px solid var(--line)}.detail-section h3{font-size:12px;margin-bottom:15px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.details-grid dt{font-size:10px;color:var(--muted);margin-bottom:4px}.details-grid dd{margin:0;font-size:12px;overflow-wrap:anywhere}.detail-total{display:flex;justify-content:space-between;font-size:13px;font-weight:600;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.product-detail{display:flex;gap:12px;align-items:center;padding:9px 0}.product-detail img{width:42px;height:48px;object-fit:cover;background:#f6f7f7;border-radius:5px}.product-detail>div{flex:1;min-width:0}.product-detail strong{font-size:12px;font-weight:500;display:block}.product-detail small{font-size:10px;color:var(--muted)}.product-detail>span{font-size:12px}.drawer-body textarea{font-size:12px}.drawer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.drawer-actions .button{font-size:12px}.field-row{display:flex;gap:10px;align-items:flex-end}.field-row label{flex:1;margin-bottom:0}.field-row .button{margin-bottom:0}.drawer-body label{font-size:11px}.pix-grid{display:flex;align-items:flex-start;gap:16px}.pix-grid>div:last-child{flex:1;min-width:0}.qr-image{width:120px;height:120px;image-rendering:pixelated;border:6px solid white;box-shadow:0 0 0 1px var(--line);border-radius:4px}.pix-code{font-family:ui-monospace,monospace;font-size:10px!important;min-height:82px}.timeline{list-style:none;padding:0;margin:0}.timeline li{position:relative;padding:0 0 18px 17px;border-left:1px solid var(--line);margin-left:4px}.timeline li:before{content:"";position:absolute;top:5px;left:-3px;width:5px;height:5px;border-radius:50%;background:#b5c9be}.timeline time{display:block;font-size:9px;color:#969da1;margin-bottom:4px}.timeline p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#626c72}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:12px 20px;border-radius:9px;background:#202622;color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;box-shadow:0 7px 30px #0002;max-width:calc(100vw - 35px)}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#923243}.auth-body{min-height:100vh;display:grid;place-items:center;padding:40px 20px;background:linear-gradient(140deg,#f3f5f4,#fafafa 65%)}.auth-card{background:#fff;border:1px solid var(--line);border-radius:18px;width:420px;max-width:100%;padding:35px 38px;box-shadow:0 18px 70px #1a322608}.brand-logo{width:135px;height:67px;object-fit:contain;display:block;margin:-10px 0 15px -3px}.auth-card h1{font-size:25px;letter-spacing:-.8px}.auth-card .muted{font-size:12px;margin-bottom:26px}.auth-card label{font-size:12px}.auth-card .button{margin-top:7px}.auth-foot{font-size:10px;color:#a0a5a8;text-align:center;margin:25px 0 0}.setup-card{width:540px}.mobile-menu{display:none}
@media(min-width:1600px){.main{padding-top:45px}.filters .search-label{min-width:300px}td{padding-top:20px;padding-bottom:20px}}
@media(max-width:1180px){.sidebar{width:215px}.workspace{margin-left:215px}.main{padding:28px 23px 0}.topbar{padding:0 23px}.stats-grid{gap:12px}.stat-card{padding:16px}.welcome-strip{padding:20px}.welcome-strip .button{font-size:11px}.filters{gap:10px}.filters .search-label{flex-basis:100%}}
@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.welcome-strip{align-items:flex-start;flex-wrap:wrap}.welcome-strip .button{margin-left:61px}.section-heading .small{display:none}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:240px;box-shadow:15px 0 30px #0001}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-menu{display:flex;position:fixed;bottom:20px;left:18px;z-index:40;background:#202020;color:#fff;border:1px solid #4c4c4c;border-radius:30px;box-shadow:0 4px 15px #0003;align-items:center;gap:8px;padding:12px 18px;font-size:12px}.main{padding:25px 15px 65px}.topbar{padding:0 17px;height:57px}.topbar>span{font-size:10px}.topbar-right{gap:9px}.live-status{display:none}.page-heading{align-items:flex-start;margin-bottom:24px}h1{font-size:25px}.page-heading p{font-size:11px}.page-heading .button{padding:9px;min-height:36px;font-size:10px}.stats-grid{gap:10px}.stat-card{padding:15px}.stat-card strong{font-size:28px}.stat-label{font-size:10px}.stat-value{font-size:9px}.welcome-strip{gap:12px;padding:18px}.welcome-strip h2{font-size:14px}.welcome-strip>div:nth-child(2){flex:1}.welcome-strip .button{margin-left:0;width:100%}.filters{padding:13px}.filters label{min-width:100px}.filters .search-label{min-width:100%}.table-footer{padding:14px 12px;flex-wrap:wrap;font-size:10px}.pagination{width:100%;justify-content:space-between}.main-footer{flex-direction:column;gap:4px}.panel{padding:20px}.drawer-header{padding:20px}.drawer-body{padding:20px}.pix-grid{flex-direction:column}.pix-grid>div:last-child{width:100%}.drawer-actions .button{flex:1}.details-grid{gap:13px}.auth-card{padding:28px}.field-row{flex-wrap:wrap}.field-row label{min-width:180px}.field-row .button{width:100%}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
