/* Original Eladji phone, isolated to the quote and sending demonstration. */
.demo .app-phone{--blue:#1847f5;--ink:#121b29;--lime:#c7f35a}
.demo .app-phone p,.demo .app-phone h2,.demo .app-phone h3{margin:0}
.demo .app-phone{width:278px;position:absolute;top:45px;left:clamp(22px,4vw,65px);margin:0;z-index:3;isolation:isolate}
.demo .phone-shell{height:568px;border:1px solid #5c6572;border-radius:42px;background:linear-gradient(110deg,#111822,#303947 45%,#10151c);padding:7px;box-shadow:0 35px 50px -22px #101b4340,0 5px 12px #121b2920,inset 0 0 0 2px #ffffff12;position:relative}
.demo .phone-shell:before,.demo .phone-shell:after{content:'';position:absolute;left:-3px;width:3px;border-radius:3px 0 0 3px;background:#2f3844}
.demo .phone-shell:before{top:110px;height:25px}
.demo .phone-shell:after{top:150px;height:42px}
.demo .phone-hardware{position:absolute;right:-3px;top:137px;width:3px;height:50px;border-radius:0 3px 3px 0;background:#303a48}
.demo .phone-screen{height:100%;overflow:hidden;border-radius:34px;background:#fff;position:relative;border:1px solid #03070d;display:flex;flex-direction:column;color:var(--ink)}
.demo .phone-status{display:flex;align-items:center;justify-content:space-between;padding:9px 18px 4px;height:29px;position:relative;flex-shrink:0;font-size:9px;font-weight:700;line-height:1}
.demo .phone-camera{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:69px;height:16px;background:#0c121a;border-radius:15px}
.demo .phone-status-icons{display:block;width:35px;height:12px}
.demo .phone-status-icons svg{width:100%;height:100%;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round}
.demo .phone-icon-fill{fill:var(--ink);stroke:none}
.demo .phone-app-header{display:flex;align-items:center;justify-content:space-between;padding:9px 16px 11px;border-bottom:1px solid #edf0f6;flex-shrink:0;height:50px}
.demo .phone-app-logo{font-size:23px;letter-spacing:-1.3px;font-weight:700;color:var(--blue)}
.demo .phone-app-logo>span{color:var(--ink)}
.demo .phone-main{padding:15px 15px 20px;flex:1;display:flex;flex-direction:column;min-height:0}
.demo .phone-project{font-family:monospace;font-size:7px;letter-spacing:.07em;line-height:1.4;color:#7b8799}
.demo .phone-greeting{font-size:24px;line-height:1.04;letter-spacing:-.045em;margin-top:8px}
.demo .phone-greeting>span{color:var(--blue)}
.demo .phone-tabs{display:flex;padding:3px;background:#f1f4f9;border:1px solid #e7ecf4;border-radius:7px;margin-top:15px;gap:3px;flex-shrink:0}
.demo .phone-tabs button{width:50%;border:0;background:transparent;color:#718096;font-size:10px;line-height:1.2;font-weight:700;min-height:36px;padding:8px 6px;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:17px;transition:background .2s,color .2s,box-shadow .2s}
.demo .phone-tabs button[aria-selected=true]{background:#fff;color:var(--blue);box-shadow:0 2px 5px #17234509}
.demo .phone-tabs button:hover{color:var(--blue)}
.demo .phone-tabs button>span{font-size:15px;font-weight:400}
.demo .phone-tabs button:focus-visible{outline-offset:1px;outline-width:2px}
.demo .phone-panel{flex:1;margin-top:14px;min-height:0}
.demo .phone-panel[hidden]{display:none}
.demo .phone-panel:focus-visible{outline-offset:3px;outline-width:2px}
.demo .phone-demo-link{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #dce4f9;color:var(--blue);font-size:9px;font-weight:700;line-height:1.2;padding:11px 12px;border-radius:5px;margin-top:14px;flex-shrink:0;transition:background .2s}
.demo .phone-demo-link:hover{background:#f1f5ff}
.demo .phone-demo-link>span{font-size:15px}
.demo .phone-illustration-label{font-family:monospace;font-size:6px;letter-spacing:.045em;color:#8490a3;line-height:1.3;text-align:center;margin-top:10px;flex-shrink:0}
.demo .phone-home-indicator{position:absolute;bottom:5px;left:32%;width:36%;height:3px;background:#202a39;border-radius:3px}
.demo .app-phone figcaption{font-size:9px;line-height:1.4;color:#6d7b94;text-align:center;position:absolute;top:calc(100% + 15px);width:100%;font-family:monospace;letter-spacing:.02em}
.demo .phone-quote-title>span{display:block;color:var(--blue);font-family:monospace;font-size:7px;letter-spacing:.05em}
.demo .phone-quote-title h3{font-size:14px;margin-top:6px;line-height:1.2}
.demo .phone-quote-title p{font-size:8px;color:#8792a3;margin-top:5px;line-height:1.4}
.demo .phone-quote-lines{margin:12px 0 0;padding:0;font-size:9px}
.demo .phone-quote-lines>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e7ebf3;line-height:1.3}
.demo .phone-quote-lines dt{color:#3c4b62}
.demo .phone-quote-lines dd{margin:0;font-weight:700;white-space:nowrap}
.demo .phone-quote-lines small{display:block;margin-top:3px;font-size:7px;color:#8592a5}
.demo .phone-quote-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;color:var(--blue);font-size:9px}
.demo .phone-quote-total strong{font-size:23px;letter-spacing:-.04em}
.demo .phone-app-header .phone-gmail-badge{display:flex;align-items:center;gap:6px;flex-shrink:0}
.demo .phone-gmail-badge>svg{display:block;width:17px;height:15px;fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.demo .phone-gmail-badge b{display:block;font-size:8px;line-height:1.2;color:#3d4a60;font-weight:700}
.demo .phone-gmail-badge small{display:flex;align-items:center;gap:3px;font-size:6px;line-height:1.3;color:#8490a1;margin-top:3px}
.demo .phone-gmail-badge small i{width:4px;height:4px;flex-shrink:0;border-radius:50%;background:#2e9b66}
.demo .phone-greeting>.phone-heading-first{color:var(--ink)}
.demo .phone-tabs button{width:33.3333%;font-size:9px;gap:3px;padding-left:3px;padding-right:3px;white-space:nowrap}
.demo .phone-demo-link>.phone-action-label{font-size:9px;line-height:1.3}
.demo .phone-action{width:100%;background:var(--blue);color:#fff;border-color:var(--blue);min-height:38px;text-align:left}
.demo .phone-action:hover{background:#123bd4}
.demo .phone-action:disabled{background:#eaf6ef;border-color:#d1e9db;color:#28784f;cursor:default}
.demo .phone-mail-fields{margin:0;padding:0;border:1px solid #e4eaf3;border-radius:6px;overflow:hidden}
.demo .phone-mail-fields>div{display:flex;align-items:center;gap:7px;padding:7px 8px;line-height:1.3;border-bottom:1px solid #eaf0f7}
.demo .phone-mail-fields>div:last-child{border-bottom:0}
.demo .phone-mail-fields dt{font-size:7px;color:#8995a6;width:21px;flex-shrink:0}
.demo .phone-mail-fields dd{margin:0;font-size:8px;color:#394962;min-width:0}
.demo .phone-mail-fields dd small{font-size:6px;color:#96a0b0;margin-left:3px}
.demo .phone-mail-check{font-size:9px;color:#239b63;margin-left:3px}
.demo .phone-pdf-attachment{display:flex;align-items:center;gap:9px;padding:10px 9px;border:1px solid #dce5f8;background:#f4f7ff;border-radius:6px;margin-top:10px}
.demo .phone-pdf-icon{display:grid;place-items:center;width:25px;height:30px;flex-shrink:0;border:1px solid #f3cbd0;background:#fff1f2;color:#c5485a;font-family:monospace;font-size:7px;font-weight:700;border-radius:3px}
.demo .phone-pdf-attachment p{font-size:10px;color:#29436d;line-height:1.2;font-weight:700}
.demo .phone-pdf-attachment p small{display:block;font-size:6px;color:#8290a5;line-height:1.3;margin-top:5px;font-weight:400}
.demo .phone-attachment-check{font-size:11px;color:var(--blue);margin-left:auto;flex-shrink:0}
.demo .phone-mail-body{font-size:9px;line-height:1.5;color:#5c6a7e;margin-top:11px}
.demo .phone-send-status{font-size:7px;line-height:1.4;color:#8a96a7;margin-top:9px;min-height:10px}
.demo .phone-send-status.is-simulated{color:#28784f}
.demo .phone-screen .phone-illustration-label{letter-spacing:.02em}

.demo .app-phone{position:relative;inset:auto;width:302px;max-width:100%;margin:0 auto;transform:none;translate:none;justify-self:center}
.demo .phone-shell{height:650px;border-radius:42px;padding:7px;box-shadow:0 35px 60px -20px #101b433d,0 5px 12px #121b2920,inset 0 0 0 2px #ffffff12}
.demo .phone-screen{border-radius:34px}
.demo .phone-main{padding:15px 15px 21px}
.demo .phone-greeting{font-size:25px;line-height:1.04;letter-spacing:-.045em;margin-top:8px}
.demo .phone-project{font-size:8px}
.demo .phone-tabs button{width:50%;font-size:11px;gap:5px;min-height:36px}
.demo .phone-panel{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c5d1eb transparent;padding-right:1px}
.demo .phone-quote-title>span{font-size:8px}
.demo .phone-quote-title h3{font-size:15px;margin-top:6px}
.demo .phone-quote-lines.phone-quantities{margin-top:11px}
.demo .phone-quote-lines.phone-quantities>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;transition:background .2s}
.demo .phone-quote-lines.phone-quantities dt{font-size:10px;line-height:1.3;white-space:normal;min-width:0}
.demo .phone-quote-lines.phone-quantities small{display:block;font-size:8px;line-height:1.4;margin:5px 0 0;white-space:normal;color:#657080}
.demo .phone-quote-lines.phone-quantities dd{display:flex;align-items:flex-end;flex-direction:column;gap:5px;white-space:nowrap}
.demo .phone-quantity-controls{display:inline-grid;grid-template-columns:28px 25px 28px;gap:3px;align-items:center}
.demo .phone-quantity-controls button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #cedaf6;border-radius:5px;background:#f1f5ff;color:var(--blue);font-size:16px;line-height:1;font-weight:400}
.demo .phone-quantity-controls button:hover:not(:disabled){background:#e3ebff;border-color:#a9bff3}
.demo .phone-quantity-controls button:disabled{opacity:.35;cursor:default;background:#f6f7fa}
.demo .phone-quantity-value{display:block;text-align:center;font-size:11px;line-height:1.3;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.demo .phone-line-total{font-size:10px;line-height:1.3;color:#3c4e68;font-weight:700;font-variant-numeric:tabular-nums}
.demo .phone-quote-lines.phone-quantities>.is-item-edited{background:#edf7d9;margin:0;padding:8px 5px;border-radius:4px;border-color:#cee5ad}
.demo .phone-quantity-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.demo .phone-quantity-footer>span{font-size:8px;line-height:1.4;color:#657080}
.demo .phone-quantity-footer>button{font-size:8px;line-height:1.4;color:#657080;border:0;background:transparent;min-height:28px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}
.demo .phone-quantity-footer>button:disabled{opacity:.4;cursor:default}
.demo .phone-edit-status{font-size:8px;color:#657080;line-height:1.5;margin-top:10px!important;min-height:24px}
.demo .phone-mail-fields dt{font-size:9px}
.demo .phone-mail-fields dd{font-size:10px;overflow-wrap:anywhere}
.demo .phone-mail-fields dd small{font-size:8px}
.demo .phone-mail-fields>div{padding:10px 8px}
.demo .phone-pdf-attachment p{font-size:11px}
.demo .phone-pdf-attachment p small{font-size:8px}
.demo .phone-mail-body{font-size:11px;line-height:1.5;margin-top:15px!important}
.demo .phone-send-status{font-size:9px;line-height:1.4;margin-top:12px!important;min-height:25px}
.demo .phone-action{min-height:42px;padding:11px 12px}
.demo .phone-demo-link>.phone-action-label{font-size:11px}
.demo .phone-illustration-label{font-size:7px;margin-top:10px!important}
.demo .app-phone figcaption{position:static;inset:auto;margin-top:17px;color:#657080;font-size:10px;line-height:1.5}
.demo .app-phone button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(max-width:360px){.demo .app-phone{width:274px}.demo .phone-main{padding-left:12px;padding-right:12px}.demo .phone-quantity-controls{grid-template-columns:28px 23px 28px;gap:2px}}
@media(prefers-reduced-motion:reduce){.demo .app-phone *{transition:none}}

