:root{--ink:#23332d;--muted:#65746d;--line:#e0e7e2;--green:#276b4e;--soft:#eaf3ec;--bg:#f3f5f2;--radius:12px}
*{box-sizing:border-box}body{margin:0;font:13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:10px 13px;min-height:38px;font-weight:500}button:hover{background:#eff4ef;border-color:#bfcfc3}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#20573f}button,a,input,select,textarea{outline-offset:3px} :focus-visible{outline:2px solid #40946a}small{display:block;color:var(--muted);font-size:11px;line-height:1.6}input,select{border:1px solid var(--line);border-radius:8px;padding:11px 12px;width:100%;background:#fff;color:var(--ink)}.icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex-shrink:0}.full{width:100%}.tiny{font-size:11px;min-height:32px;padding:6px 10px}.up{color:var(--green)}
/* A quiet navigation rail leaves attention on the customer. */
.sidebar{width:214px;position:fixed;inset:0 auto 0 0;background:#19382d;color:#eef4ed;padding:26px 15px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-size:18px;font-weight:750;letter-spacing:-.6px}.brand small{font-size:8px;letter-spacing:1.65px;margin-top:5px;color:#aec3b6;font-weight:500}.brandmark{font-size:29px;font-weight:800;letter-spacing:-6px;background:#d6e7bc;color:#1c3f30;border-radius:11px;width:40px;height:42px;padding:1px 7px;flex-shrink:0}.brandmark span{color:#638252}.workspace{margin:31px 0 31px;border:1px solid #3c594c;background:#244335;padding:11px 9px;border-radius:9px;display:flex;gap:8px;align-items:center;font-size:11px;font-weight:550}.workspace small{color:#b0c5b7;font-size:10px}.store-icon{background:#365747;min-width:28px;height:30px;display:grid;place-items:center;border-radius:6px;color:#d9e7ce}.nav-label{font-size:9px;letter-spacing:1.35px;color:#a8c0b1;margin:0 10px 13px}nav{display:grid;gap:7px}nav button{justify-content:flex-start;gap:10px;text-align:left;border:0;padding:12px 10px;color:#c0d0c5;background:transparent;font-size:12px;line-height:1.5}nav button:hover{background:#284b3b;border:0;color:#fff}nav button.active{background:#e0edda;color:#254c36;font-weight:650}nav .count{margin-left:auto;font-size:10px;background:#c2d7b8;padding:2px 6px;border-radius:5px}.side-bottom{margin-top:auto}.sync-note{padding:17px 6px;font-size:11px;border-bottom:1px solid #355243}.sync-note small{margin-top:7px;font-size:9px;color:#afc5b6}.dot,.online{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9cce91;margin-right:5px}.profile{display:flex;align-items:center;gap:9px;margin-top:20px;font-size:12px}.profile small{color:#b1c4b8;font-size:10px}.profile .online{margin-left:auto}.avatar{display:inline-grid;place-items:center;flex-shrink:0;width:37px;height:37px;border-radius:12px;background:#e6eee7;color:#4c6c58;font-size:11px;font-weight:650}.avatar.small{width:30px;height:30px;font-size:10px;border-radius:50%}.profile .avatar{background:#365a46;color:#e1ebd7}
.app{margin-left:214px}.topbar{height:60px;border-bottom:1px solid var(--line);background:#fff;padding:0 26px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.topbar strong{color:var(--ink);font-weight:500}.slash{margin:0 13px;color:#aebdb1}.topright{display:flex;align-items:center;gap:18px}.demo{font-size:8px;letter-spacing:1px;border:1px solid #dce4d7;padding:5px 7px;border-radius:5px;color:#61735b}.date{font-size:11px}main{padding:24px 26px 12px;max-width:1800px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.page-heading h1{margin:0 0 7px;font-size:25px;letter-spacing:-.75px;font-weight:650}.page-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.actions{display:flex;gap:8px;align-items:center}.page-heading .actions{flex-shrink:0}.page-heading button{font-size:12px}footer{padding:0 26px 12px;color:#6d7b72;font-size:9px;line-height:1.6}
/* Three independent scroll regions, with fixed composer and checkout summary. */
.inbox{position:relative;display:grid;grid-template-columns:310px minmax(280px,1fr) 285px;border:1px solid #d9e2db;background:#fff;border-radius:var(--radius);overflow:hidden;height:calc(100dvh - 187px);min-height:540px}.conversation-list{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:#fff}.list-head{padding:20px 16px 13px;border-bottom:1px solid var(--line);flex-shrink:0}.section-title{font-size:14px;font-weight:650;display:flex;align-items:center;justify-content:space-between}.section-title>span{font-size:11px;color:var(--muted);font-weight:500}#inbox-count{background:#f0f3ef;color:#5a6f5d;padding:3px 7px;border-radius:5px}.inbox-tabs{display:flex;gap:14px;border-bottom:1px solid var(--line);margin-top:11px}.inbox-tabs button{position:relative;background:transparent;border:0;border-radius:0;min-height:38px;padding:10px 0;color:var(--muted);font-size:12px}.inbox-tabs button.active{color:var(--green);font-weight:650}.inbox-tabs button.active::after{position:absolute;content:'';height:2px;background:var(--green);bottom:-1px;left:0;right:0}.search{margin:14px 0 10px}.search input{background:#f6f8f5;font-size:12px;padding:10px}.filters{display:flex;gap:5px;flex-wrap:wrap}.filters button{font-size:11px;padding:7px 9px;min-height:31px;border:1px solid transparent;color:#5e6c64;background:transparent}.filters button.active{background:#eaf2e8;border-color:#dce7d9;color:#2c6547;font-weight:600}.channel-filters{gap:2px;flex-wrap:nowrap}.channel-filters button{font-size:10px;padding:6px 7px}#chat-list{overflow:auto;flex:1;min-height:0;scrollbar-width:thin}.chat-row{position:relative;border:0;border-radius:0;width:100%;display:flex;text-align:left;align-items:flex-start;justify-content:flex-start;gap:10px;padding:17px 14px;border-bottom:1px solid #edf0ea;background:#fff;font-weight:400}.chat-row:hover{background:#f6f8f4}.chat-row.selected{background:#edf4e9}.chat-row.selected::before{position:absolute;content:'';width:3px;background:#45724c;left:0;top:0;bottom:0}.chat-row .info{flex:1;min-width:0}.row-name{display:flex;justify-content:space-between;gap:6px;font-size:12px;font-weight:650;margin:0 0 6px;line-height:1.5}.row-name time{font-size:10px;font-weight:400;color:#778477;white-space:nowrap}.preview{font-size:11px;color:#68776b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:9px;line-height:1.5}.chat-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.channel{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#53695b;white-space:nowrap}.channel i{font-style:normal;font-weight:650;display:inline-grid;place-items:center;width:16px;height:16px;border-radius:5px;background:#e2f1e5;color:#287447}.channel.instagram i{background:#f6e7ed;color:#a64d72}.channel.facebook i{background:#e6eef9;color:#4266a6}.tag{display:inline-block;border-radius:5px;padding:4px 6px;font-size:9px;font-weight:500;background:#f5efe0;color:#806636;white-space:nowrap}.tag.ready{background:#dfeeda;color:#3c663a}.tag.resolved{background:#edf0ed;color:#5c6d60}.chat-assignee{display:flex;align-items:center;gap:6px;margin-top:9px;color:#69786b;font-size:10px;line-height:1.5}.chat-assignee strong{font-weight:600;color:#3e5745;margin-left:3px}.assignee-initials{display:inline-grid;place-items:center;flex-shrink:0;width:19px;height:19px;border-radius:50%;background:#dfe8da;color:#496a45;font-size:8px;font-weight:650}
.chat{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-header{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;min-height:77px}.chat-header strong{font-size:14px}.chat-header small{margin-top:4px;font-size:10px}.chat-header .actions{margin-left:auto}.resolve{color:var(--green)}.messages{flex:1;min-height:0;overflow:auto;padding:24px;background:#f7f8f4;scrollbar-width:thin}.day{display:flex;align-items:center;gap:14px;justify-content:center;font-size:9px;letter-spacing:.7px;color:#7b887a;margin-bottom:24px}.day::before,.day::after{content:'';height:1px;background:#e3e8df;flex:1}.bubble{max-width:90%;font-size:13px;line-height:1.65;border:1px solid #e2e8df;border-radius:3px 12px 12px 12px;padding:12px 14px;background:#fff;margin-bottom:16px;width:fit-content;overflow-wrap:anywhere}.bubble.out{margin-left:auto;background:#eaf1e4;border-color:#dce7d5;border-radius:12px 3px 12px 12px}.bubble time{display:block;text-align:right;font-size:9px;color:#6c7b65;margin-top:5px}.product-share{display:flex;gap:12px;align-items:center;margin-bottom:10px;padding-bottom:12px;border-bottom:1px solid #d4dfcd}.product-share strong{font-size:13px}.product-share b{display:block;margin-top:5px}.product-art{width:58px;height:65px;display:grid;place-items:center;background:#f0eee5;border-radius:9px;flex-shrink:0}.product-art svg{height:53px;width:42px}.system-note{font-size:10px;color:#74816d;text-align:center;margin:22px 0}.composer{flex-shrink:0;margin:12px;border:1px solid #d8e2d8;border-radius:10px;padding:12px;background:#fff}.composer:focus-within{border-color:#7da486}.composer-label{color:#657960;font-size:10px;font-weight:600}.composer textarea{width:100%;resize:none;border:0;padding:10px 0;height:54px;font-size:13px;color:var(--ink);background:transparent;outline:none}.composer-tools{display:flex;justify-content:space-between;align-items:center;gap:10px}.composer-tools button{font-size:11px;min-height:34px}.composer-tools button:first-child{border-color:transparent;background:#f4f7f0}.details-toggle,.details-close{display:none}
.order-panel{border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:#fff}.detail-scroll{padding:20px 18px;flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.overline{font-size:9px;font-weight:600;letter-spacing:1.4px;color:#75846f;margin-bottom:18px}.customer{display:flex;gap:10px;align-items:center;margin-bottom:17px}.customer strong{font-size:14px}.customer-data{font-size:11px;line-height:2.2;color:#697966}.customer-data b{font-weight:500;color:#354f3b;float:right}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.order-item{display:flex;gap:11px;margin:18px 0;align-items:center}.order-item strong{font-size:12px;line-height:1.5;display:block}.order-item .product-art{width:48px;height:64px}.order-item .product-art svg{height:49px;width:34px}.quantity{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:11px}.quantity button{padding:2px;min-height:26px;width:26px;border-radius:5px;font-size:14px;font-weight:400}.line{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin:12px 0;color:#637460}.line.total{font-size:18px;color:var(--ink);font-weight:650;border-top:1px solid var(--line);padding-top:15px;margin-bottom:17px;letter-spacing:-.4px}.add-product{border-style:dashed;font-size:12px;color:var(--green);background:#f8faf6}.order-summary{padding:8px 18px 14px;border-top:1px solid var(--line);background:#f9fbf6;flex-shrink:0}.order-summary .primary{min-height:42px}.stock{font-size:9px;color:#507542;margin-top:11px;text-align:center}.footnote{font-size:10px;color:#71816a;line-height:1.6;margin:12px 0 0}.order-summary .footnote{font-size:9px}
/* Supporting screens share the same spacing and readable type. */
.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card,.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:24px}.product-card .product-art{width:100%;height:155px;margin-bottom:20px}.product-card .product-art svg{height:115px;width:75px}.product-card h3{font-size:16px;margin:6px 0 10px}.product-card .line{margin:19px 0;font-size:13px}.toolbar{display:flex;gap:15px;margin-bottom:22px;align-items:center}.toolbar input{max-width:400px}.banner{padding:16px 18px;background:#e9f1e5;color:#496540;border:1px solid #dce6d5;border-radius:9px;font-size:12px;line-height:1.6;margin-bottom:22px;display:flex;gap:15px;align-items:center;justify-content:space-between}.board{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.board-column{background:#e9eee5;border-radius:10px;padding:16px;min-height:400px}.board-column h3{display:flex;justify-content:space-between;font-size:13px;margin:4px 0 20px}.order-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px;margin-bottom:12px}.order-card strong{display:block;margin:14px 0}.order-card p{font-size:12px;color:var(--muted);line-height:1.7}.connection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.connection-grid h2{font-size:18px;margin-top:24px}.connection-grid p{font-size:12px;color:#63765d;line-height:1.8;min-height:66px}.connection-symbol{height:45px;width:45px;border-radius:12px;background:var(--soft);display:grid;place-items:center;font-size:23px;color:var(--green)}.flow{display:flex;gap:20px;align-items:center;margin:22px 0}.flow .panel{flex:1}.flow p{color:var(--muted);font-size:12px;line-height:1.8}.flow a{color:var(--green);font-size:12px}.status-pill{font-size:10px;color:var(--green);background:var(--soft);border-radius:5px;padding:5px 8px}
dialog{padding:28px;border:1px solid var(--line);border-radius:14px;width:600px;max-width:calc(100% - 30px);color:var(--ink)}dialog::backdrop{background:#15241966}dialog h2{font-size:20px;margin-top:0;padding-right:35px}dialog .close{float:right;min-width:35px}dialog .product-choice{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}dialog .product-choice div:nth-child(2){flex:1}dialog label{display:block;margin:18px 0 8px;font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;background:#203e2c;color:white;padding:14px 22px;border-radius:9px;font-size:12px;display:none;z-index:10}.empty{padding:35px 20px;color:var(--muted);text-align:center;font-size:12px;line-height:1.7}
@media(min-width:1600px){.inbox{grid-template-columns:330px minmax(380px,1fr) 310px}.row-name{font-size:13px}.chat-row{padding:19px 17px}.preview{font-size:12px}.messages{padding:28px 36px}.bubble{max-width:78%}.chat-assignee{font-size:11px}}
@media(max-width:1399px){.sidebar{width:195px;padding:24px 13px}.brand{font-size:16px}.app{margin-left:195px}main{padding:22px 20px 12px}.inbox{grid-template-columns:280px minmax(270px,1fr) 270px}.list-head{padding:16px 13px 12px}.chat-row{padding:15px 11px;gap:8px}.chat-row>.avatar{width:30px;height:34px;font-size:10px}.channel-filters button{font-size:9px;padding:6px}.chat-header{padding:16px 14px}.messages{padding:20px 16px}.detail-scroll{padding:18px 15px}.order-summary{padding:8px 15px 12px}.date{display:none}}
@media(max-width:1179px){.inbox{grid-template-columns:285px minmax(280px,1fr)}.order-panel{display:none}.details-toggle{display:inline-flex}.inbox.details-open .order-panel{display:flex;position:absolute;right:0;top:0;bottom:0;width:300px;z-index:4;border-left:1px solid #c1d0bf;box-shadow:-16px 0 30px #26392712}.details-close{display:inline-flex;float:right;padding:0;min-height:24px;width:24px;margin-top:-5px}.page-heading p{max-width:360px;font-size:11px}.page-heading .actions button{font-size:11px;padding:8px 10px}.brand small{letter-spacing:1.2px}.catalog-grid,.connection-grid{grid-template-columns:repeat(2,1fr)}.flow{flex-direction:column}.flow .panel{width:100%}}
@media(max-width:900px){.sidebar{position:static;width:auto;padding:15px 20px;display:block}.brand{margin-bottom:14px;font-size:18px}.brandmark{width:33px;height:34px;font-size:24px}.workspace,.nav-label,.side-bottom{display:none}nav{display:flex;gap:6px;overflow:auto}nav button{flex-shrink:0;font-size:11px;padding:8px 12px;min-height:35px}nav .count{font-size:9px}.app{margin:0}.topbar{height:44px;padding:0 20px}.topright .avatar{display:none}main{padding:20px}.inbox{height:calc(100dvh - 265px);min-height:560px}.page-heading h1{font-size:23px}.board{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.chat-header strong{font-size:13px}.chat-header .actions{gap:4px}.chat-header .tiny{font-size:10px;padding:5px 7px}}
@media(max-width:650px){.topbar{font-size:11px}.demo{font-size:7px}.page-heading{align-items:flex-start;margin-bottom:17px;gap:12px}.page-heading .actions{flex-direction:column;align-items:stretch}.page-heading p{max-width:220px;font-size:11px}.page-heading button{min-height:32px}.inbox{display:flex;flex-direction:column;height:auto;min-height:0}.conversation-list{height:370px;flex-shrink:0;border-right:0;border-bottom:1px solid var(--line)}.list-head{padding:16px}.channel-filters button{font-size:11px;padding:6px 10px}.inbox-tabs{gap:25px}.chat-row{padding:15px;gap:11px}.chat-row>.avatar{width:36px;height:36px}.row-name{font-size:13px}.preview{font-size:12px}.chat-meta{justify-content:space-between}.chat{height:650px;flex-shrink:0}.chat-header{padding:16px}.chat-header strong{font-size:14px}.chat-header .details-toggle{display:none}.order-panel{display:flex;border:0;border-top:1px solid var(--line)}.inbox.details-open .order-panel{position:static;width:auto;box-shadow:none}.details-close{display:none}.detail-scroll{overflow:visible;padding:22px}.order-summary{padding:10px 22px 20px}.customer-data,.line{font-size:12px}.quantity button{min-height:32px;width:32px}.messages{padding:22px 16px}.bubble{max-width:88%}.catalog-grid,.connection-grid{grid-template-columns:1fr}.banner{flex-direction:column;align-items:flex-start}main{padding:18px 12px}.sidebar{padding:15px 12px}footer{padding:0 14px 15px}.composer-tools button{min-height:38px}.composer textarea{height:60px}dialog{padding:20px}dialog .product-choice{flex-wrap:wrap}dialog .product-choice strong{font-size:12px}dialog .product-choice button{font-size:11px}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .12s,border-color .12s}.inbox{animation:appear .2s ease-out}@keyframes appear{from{opacity:.65}to{opacity:1}}}
/* Customer context stays compact so products remain visible on laptop screens. */
nav .count{color:#254c36}.brand small{font-size:7px;letter-spacing:1.1px;white-space:nowrap}.detail-scroll .overline{margin-bottom:12px}.detail-scroll .customer{margin-bottom:10px}.detail-scroll .divider{margin:16px 0}.detail-scroll label.line{margin:11px 0 7px}.customer-details{font-size:11px;color:var(--muted)}.customer-details summary{cursor:pointer;min-height:28px;padding:5px 0}.customer-details .customer-data{padding:6px 0}.detail-scroll .order-item{margin:13px 0}.detail-scroll .order-item .product-art{height:55px}.detail-scroll .quantity{margin-top:5px}.order-summary .footnote{display:none}.order-summary{padding-bottom:15px}

@media(max-width:900px){nav{scrollbar-width:none}nav::-webkit-scrollbar{display:none}}

/* Rails workspace components */
a{color:inherit;text-decoration:none}.button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:10px 13px;min-height:38px;font-weight:500;width:auto}.button:hover{background:#eff4ef}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.full{width:100%}input[type=submit]:disabled{opacity:.45;cursor:not-allowed}.sidebar .brand{color:#eef4ed}nav .nav-link{display:flex;align-items:center;border-radius:8px;color:#c0d0c5;font-size:12px;padding:13px 10px}nav .nav-link:hover{background:#284b3b}nav .nav-link.active{background:#e0edda;color:#254c36;font-weight:650}.logout{margin-top:15px;background:transparent;color:#c0d0c5;border-color:#3c594c;font-size:11px}.inbox-tabs a{padding:13px 0 11px;color:var(--muted);font-size:11px;border-bottom:2px solid transparent}.inbox-tabs a.active{color:var(--green);border-bottom-color:var(--green);font-weight:650}.filters a{font-size:10px;padding:7px 6px;border-radius:6px;color:var(--muted)}.filters a.active{background:#eaf2e8;color:#2c6547;font-weight:600}.row-content{flex:1;min-width:0}.row-name{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:12px}.row-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-name time{font-size:9px;color:var(--muted);font-weight:400}.preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:11px;margin:8px 0 10px}.chat-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.channel{display:flex;gap:5px;align-items:center;font-size:10px;color:var(--muted)}.channel i{font-style:normal;font-size:9px;display:inline-grid;place-items:center}.chat-row.selected:before{content:'';position:absolute;top:14px;bottom:14px;left:0;width:3px;background:var(--green);border-radius:0 4px 4px 0}.flash{border:1px solid #c9dfc9;background:#e6f1e2;color:#2d593a;border-radius:9px;padding:12px 16px;margin-bottom:15px;line-height:1.5}.flash.alert{background:#fff1e8;color:#8b4526;border-color:#f1d6c1}.assignment label{display:block;font-size:10px;color:var(--muted);margin:12px 0 7px}.assignment select{font-size:11px;padding:9px}.customer-details{margin-top:8px}.stack-form{display:flex;flex-direction:column;gap:10px}.stack-form label{font-size:12px;font-weight:550;margin-top:8px}.stack-form .button{margin-top:12px}.stack-form textarea{border:1px solid var(--line);border-radius:8px;padding:10px;resize:vertical}.stack-form.compact{gap:5px;padding:8px 0}.compact label,.compact input,.compact textarea{font-size:11px}.compact input{padding:8px 10px}.product-letter{width:40px;height:50px;background:#eef0e9;color:#68805c;border:1px solid #e3e7dc;border-radius:8px;display:grid;place-items:center;flex-shrink:0;font-weight:700;letter-spacing:-1px}.item-info{min-width:0;flex:1}.quantity{gap:7px}.quantity b{margin-left:auto;font-size:10px}.quantity form{display:inline-flex}.shipping-field{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.shipping-field input{width:95px;padding:7px}.previous-order{padding:18px 0 4px}.previous-order a{display:block;font-size:11px;margin-top:8px;color:var(--green)}.product-choices{max-height:55vh;overflow:auto}.product-choice[hidden]{display:none}.product-choice>form{margin-left:auto}.note-label{font-size:9px;font-weight:600;color:#6f7758;margin-bottom:7px}.bubble.note{background:#fff8dd;border-color:#eee2b1}.message-body{white-space:pre-wrap}.inbox-empty{grid-column:span 2;align-self:center}.product-cover{height:140px;background:linear-gradient(130deg,#e6eddf,#f3f1e9);border-radius:8px;display:grid;place-items:center;margin-bottom:20px}.product-cover span{font-size:28px;font-weight:750;color:#53684e;letter-spacing:-1px}.order-card{display:block}.order-card:hover{border-color:#93ad91}.order-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;max-width:1100px}.panel p{color:var(--muted);line-height:1.8}.panel h2{font-size:22px;letter-spacing:-.5px}.sale-line{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:14px}.sale-line strong{font-size:13px}.reference{margin-top:22px;overflow-wrap:anywhere}.integration-note{margin-top:24px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--green);font-weight:650;margin-bottom:20px}.auth-shell{max-width:none;min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 20% 0,#dfe9da,transparent 70%),#f2f4ee;padding:30px}.auth-card{width:460px;max-width:100%;padding:40px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 25px 80px #1834220a}.auth-brand{font-size:24px;font-weight:750;color:#234c36;letter-spacing:-1px;margin-bottom:42px}.auth-brand span{display:block;font-size:8px;letter-spacing:2.7px;font-weight:500;margin-top:5px}.auth-card h1{font-size:31px;line-height:1.2;letter-spacing:-1px;font-weight:650;margin:12px 0}.auth-card p{color:var(--muted);line-height:1.8;margin-bottom:22px}.auth-card>small{margin-top:25px;font-size:10px}.narrow{max-width:600px}.connection-grid{grid-template-columns:repeat(2,1fr)}.connection-grid .panel>small{margin-top:14px}.order-summary select{margin-top:8px;font-size:11px}.inbox:has(.flash){height:auto}
@media(max-width:900px){nav .nav-link{white-space:nowrap;font-size:11px;padding:9px 12px}.order-layout{grid-template-columns:1fr}.inbox{min-height:610px}.topbar .topright{font-size:10px}}@media(max-width:650px){.connection-grid{grid-template-columns:1fr}.auth-card{padding:28px}.row-name{font-size:13px}.inbox-tabs a{font-size:12px}.filters a{font-size:11px}.page-heading{flex-wrap:wrap}.page-heading>.button{font-size:11px}.order-summary{padding-top:15px}} 

.mobile-logout{display:none}.app main:has(>.flash) .inbox{height:calc(100dvh - 250px);min-height:460px}.product-cover img{width:100%;height:100%;object-fit:contain;padding:10px} .product-cover{overflow:hidden}@media(max-width:900px){.mobile-logout{display:inline-flex}}@media(max-width:650px){.app main:has(>.flash) .inbox{height:auto;min-height:0}}

/* Customer replies and private team notes stay visually distinct. */
.composer-tabs{display:flex;gap:16px;border-bottom:1px solid var(--line);margin:-4px 0 12px}.composer-tabs button{padding:7px 0;border:0;border-radius:0;background:transparent;font-size:12px;color:var(--muted)}.composer-tabs button[aria-selected=true]{color:var(--green);border-bottom:2px solid var(--green);font-weight:650}.composer.note-mode{background:#fffbed;border-color:#e6dba8}.composer section[hidden]{display:none}.composer-hint{max-width:65%}.composer .composer-tools .primary{background:var(--green);color:#fff;border-color:var(--green)}.reply-actions{display:flex;gap:6px}.composer-error{color:#934a31!important;font-size:11px;line-height:1.6}.connect-link{display:block;color:var(--green);font-size:10px;margin-top:5px}.delivery-status{font-size:10px;color:#4f7054;margin-top:9px}.delivery-status[data-status=draft]{color:#786e4b}.delivery-status[data-status=failed],.delivery-status[data-status=unknown]{color:#934a31}.reply-draft{background:#f6f7ef!important;border-style:dashed}.draft-actions{display:flex;gap:10px;align-items:flex-start;margin-top:10px}.draft-actions summary{cursor:pointer;font-size:10px;color:#547044}.draft-edit textarea{width:100%;min-height:90px;border:1px solid var(--line);border-radius:6px;padding:8px;margin-top:8px}.refresh-messages{display:block;margin:0 auto 16px}.composer textarea{height:60px}.zernio-config{margin-top:24px}.zernio-config code{background:#f1f4ee;padding:3px 5px}.composer-tools .reply-actions button{white-space:nowrap}@media(max-width:650px){.composer-tools{align-items:flex-end}.reply-actions{flex-direction:column}.composer-hint{max-width:60%}}
