:root{--ink:#202526;--muted:#6d7473;--green:#184c3a;--line:#e5e8e3;--cream:#f5f5ef;--accent:#a4bd74}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}header{height:88px;background:#fff;border-bottom:1px solid var(--line);padding:0 5%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--green);font-family:Georgia,serif;font-size:34px}.brand span{border-left:1px solid var(--line);padding-left:15px;font-family:system-ui;font-size:14px;letter-spacing:2px;font-weight:700}.brand small{display:block;letter-spacing:0;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}.header-right{display:flex;gap:18px;align-items:center}main{max-width:1370px;margin:0 auto;padding:38px 36px}.heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--green);margin:0 0 10px}h1{font-family:Georgia,serif;font-size:34px;font-weight:400;margin:0 0 10px}h2{font-size:19px;line-height:1.4;margin:0 0 15px;font-weight:650}h3{font-size:14px}.sub{color:var(--muted);margin:0;line-height:1.6}button{border:1px solid var(--green);background:var(--green);color:#fff;border-radius:7px;padding:12px 17px;font-size:13px;font-weight:600;cursor:pointer;line-height:1.3}button:hover{filter:brightness(.94)}button:disabled{cursor:wait;opacity:.55}.secondary{background:#fff;color:var(--ink);border-color:#d9dfd7}.quiet{background:transparent;border:0;color:var(--muted);padding:4px}.badge{display:inline-block;padding:7px 10px;background:#edf1e9;color:var(--green);border-radius:5px;font-size:11px;font-weight:600;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metrics article{padding:23px 25px;background:#fff;border:1px solid var(--line);border-radius:10px}.metrics span{display:block;color:var(--muted);font-size:12px;margin-bottom:13px}.metrics strong{font-size:26px;font-weight:550}.workspace{display:grid;grid-template-columns:370px 1fr;gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:26px}.create p{color:var(--muted);font-size:12px;line-height:1.7}.create .eyebrow{color:var(--green);font-size:10px}label{display:block;font-size:11px;font-weight:600;margin:20px 0 7px}input,select{display:block;width:100%;min-width:0;height:43px;border:1px solid #dce0d9;border-radius:6px;background:#fff;color:var(--ink);padding:0 11px;font:inherit;font-size:12px}input:focus,select:focus,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}form button{width:100%;margin-top:21px}.fine{font-size:11px!important;line-height:1.65;color:var(--muted)}.setup{margin-top:24px;padding-top:14px;border-top:1px solid var(--line)}.setup button{font-size:11px}.detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-head h2{margin:0}#empty{padding:90px 30px;text-align:center;color:var(--muted);max-width:400px;margin:auto;line-height:1.7}.empty-icon{font-size:40px;color:var(--green)}#empty h3{color:var(--ink);font-size:16px}#purchase{padding-top:33px}#reference{font-size:27px}.amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.amounts span{display:block;font-size:11px;color:var(--muted);margin-bottom:9px}.amounts strong{font-size:24px;font-weight:550}.message{font-size:13px;line-height:1.6;margin:23px 0}.actions{display:flex;flex-wrap:wrap;gap:10px}.actions button{font-size:12px}details{margin:24px 0;border-top:1px solid var(--line);padding-top:17px;font-size:12px}summary{cursor:pointer;color:var(--muted)}dl{display:grid;grid-template-columns:145px 1fr;gap:10px;font-size:11px;overflow-wrap:anywhere}dd{margin:0}.copy-row{display:flex;gap:8px}#open-checkout{display:inline-block;margin-top:14px;color:var(--green);font-size:12px}.purchases{margin-top:24px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;margin-top:22px;white-space:nowrap}th{text-align:left;color:var(--muted);font-weight:500;padding:13px 12px;border-bottom:1px solid var(--line)}td{padding:16px 12px;border-bottom:1px solid var(--line)}td button{font-size:11px;padding:6px 10px}.muted{font-size:11px;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:15px;margin-top:26px;font-size:11px;color:var(--muted)}#notice,#deployment-notice{padding:15px 20px;margin-bottom:22px;background:#fff3d9;border:1px solid #e8d6a6;border-radius:8px;line-height:1.6}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;background:#f6f7f3;padding:10px;border-radius:6px}[hidden]{display:none!important}@media(max-width:980px){.workspace{grid-template-columns:320px 1fr}.card{padding:20px}.amounts strong{font-size:20px}}@media(max-width:750px){header{height:76px;padding:0 20px}.header-right .badge{display:none}main{padding:25px 16px}.heading{align-items:flex-start}h1{font-size:27px}.heading button{padding:9px 11px;font-size:11px}.metrics{grid-template-columns:repeat(2,1fr);gap:10px}.metrics article{padding:18px}.metrics strong{font-size:22px}.workspace{grid-template-columns:1fr;gap:16px}.card{padding:22px}.amounts strong{font-size:21px}#empty{padding:45px 20px}.detail-head .badge{white-space:normal;max-width:50%;text-align:right}footer{flex-direction:column;line-height:1.6}}

.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;line-height:1.6}.check input{width:16px;height:16px;flex-shrink:0;margin-top:2px}

.customer-links{border-top:1px solid var(--line);margin-top:24px;padding-top:15px}.customer-links a{color:var(--green);display:inline-block;margin-right:15px;font-size:12px}

.product-policy{margin-bottom:24px}.product-policy .detail-head{align-items:flex-start}.product-policy .eyebrow{margin-bottom:6px}.policy-description{line-height:1.65;font-size:13px;color:var(--muted);margin:14px 0 0}.product-policy details{margin:18px 0 0}.product-policy summary{color:var(--green);font-weight:600}.policy-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:4px}.policy-grid h3{margin:19px 0 7px}.policy-grid .copy-row button{width:auto;margin:0;flex-shrink:0}.policy-grid label{font-size:12px}.policy-grid input,.policy-grid select{font-size:13px}.product-list{padding:0;margin:12px 0 0;list-style:none;max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:7px}.product-list:empty{display:none}.product-list li+li{border-top:1px solid var(--line)}.product-choice{display:flex;gap:12px;align-items:flex-start;padding:13px;margin:0;cursor:pointer;font-weight:400}.product-choice input{width:17px;height:17px;margin-top:3px;flex-shrink:0}.product-copy{display:block;min-width:0;overflow-wrap:anywhere}.product-copy strong{font-size:12px;font-weight:550;line-height:1.55}.product-copy small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:4px}.product-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px}.product-remove{font-size:10px;padding:7px 9px;flex-shrink:0}.product-empty{padding:16px;color:var(--muted);font-size:12px;line-height:1.65}.policy-boundary{background:#f4f6ef;border-left:3px solid var(--accent);padding:13px 16px;line-height:1.7;font-size:12px;margin:24px 0 10px}.saved-rule{padding:13px;background:#f4f6ef;border-radius:6px}.create .saved-rule{color:var(--green)}#policy-save-state{min-height:18px}#product-more{margin-top:12px;font-size:11px}#automation-requirement{background:#f6f7f3;padding:10px 12px;border-radius:6px}.check input:disabled{opacity:.5;cursor:not-allowed}.product-policy button:disabled{cursor:not-allowed}@media(max-width:750px){.policy-grid{grid-template-columns:1fr;gap:8px}.product-policy .detail-head{flex-direction:column;gap:10px}.product-policy .detail-head .badge{max-width:none}.product-list{max-height:270px}}
.workspace>.card,.policy-grid>div{min-width:0}@media(max-width:750px){.workspace{grid-template-columns:minmax(0,1fr)}.amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.amounts>div:first-child{grid-column:1/-1}.amounts strong{overflow-wrap:anywhere}.setup button{margin-bottom:7px}}
.shopify-order{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;background:#f4f6ef;border:1px solid var(--line);border-radius:8px;margin:0 0 20px}.shopify-order .eyebrow{margin:0 0 6px}.shopify-order h3{font-size:18px;margin:0 0 7px}.shopify-order p:last-child{margin:0;color:var(--muted);font-size:12px}.shopify-order a{color:var(--green);font-size:12px;font-weight:600;white-space:nowrap}@media(max-width:750px){.shopify-order{align-items:flex-start;flex-direction:column;gap:12px}}

.shopify-owner header{height:68px}.shopify-owner main{padding-top:28px}.shopify-owner .brand{font-size:28px}@media(max-width:750px){.shopify-owner header{padding:0 16px;gap:12px}.shopify-owner .header-right .badge{display:inline-block;font-size:10px;padding:6px 8px}.shopify-owner .brand{gap:9px;font-size:25px}.shopify-owner .brand span{padding-left:10px;font-size:12px;letter-spacing:1px}.shopify-owner .brand small{font-size:10px}}
