:root{color:#1d2b40;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f7faff;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#app{min-width:320px;min-height:100%;margin:0}body{background:#f7faff}button,input,textarea{font:inherit}button{cursor:pointer}.icon-defs{width:0;height:0;position:absolute;overflow:hidden}.icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.app-shell{isolation:isolate;background:radial-gradient(90% 30% at 100% 14%,#eff4fb 0,#0000 72%),#fff;width:min(100%,560px);min-height:100svh;margin:0 auto;position:relative;overflow:hidden}.app-shell:before{content:"";z-index:-1;opacity:.7;background:linear-gradient(136deg,#fff 29%,#f3f6fb 78%,#fff);border:1px solid #eef2f8;border-radius:48% 52% 45% 55%;width:500px;height:480px;position:absolute;top:-130px;right:-230px;transform:rotate(-26deg)}.app-shell:after{content:"";z-index:-1;filter:blur(22px);background:linear-gradient(140deg,#0000,#dce4ee55 48%,#0000 76%);border-radius:50%;width:400px;height:240px;position:absolute;top:180px;right:-200px;transform:rotate(-26deg)}.eyebrow{color:#7f8da5;letter-spacing:.27em;font-size:11px;font-weight:800}.login-screen{flex-direction:column;min-height:100svh;padding:clamp(58px,12vh,120px) 32px 28px;display:flex}.login-intro h1,.app-header h1{letter-spacing:.02em;color:#19283e;font-family:Songti SC,Noto Serif CJK SC,STSong,serif;font-weight:800}.login-intro h1{margin:18px 0 8px;font-size:clamp(36px,9vw,50px);line-height:1.15}.login-intro p{color:#8290a5;letter-spacing:.06em;margin:0;font-size:16px}.login-mark{color:#3470ee;background:linear-gradient(135deg,#f5f8ff,#eaf1ff);border:12px solid #fff;border-radius:27px;place-items:center;width:92px;height:92px;margin:32px 0 22px;font-size:43px;font-weight:800;display:grid;box-shadow:0 15px 30px #2e6ef41b}.login-field{margin:18px 0 21px;display:block}.login-field>span:first-child{margin-bottom:9px;font-size:15px;font-weight:700;display:block}.input-wrap{color:#8490a2;background:#fff;border:1px solid #d9e2ef;border-radius:14px;align-items:center;gap:14px;min-width:0;height:56px;padding:0 16px;display:flex}.input-wrap:focus-within{border-color:#5990f9;box-shadow:0 0 0 3px #3976f11a}.field-icon{flex:none;width:21px;height:21px}.input-wrap input{color:#19283e;background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;padding:0;font-size:16px}.input-wrap input::placeholder{color:#a1adbf}.input-action{color:#8793a5;background:0 0;border:0;flex:none;padding:5px 0}.input-action .icon{width:21px;height:21px}.captcha-row{gap:10px;display:flex}.captcha-row .input-wrap{flex:1}.captcha-button{color:#3370eb;background:#fff;border:1px solid #d9e2ef;border-radius:14px;width:105px;min-width:105px;overflow:hidden}.captcha-button img{object-fit:cover;width:100%;height:54px;display:block}.primary-button{color:#fff;letter-spacing:.04em;background:linear-gradient(110deg,#6391fa,#3975ef);border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:58px;padding:12px 18px;font-size:18px;font-weight:800;display:flex;box-shadow:0 10px 22px #4179ec20}.primary-button:disabled{cursor:not-allowed;opacity:.58;box-shadow:none}.login-submit{margin-top:30px}.spinner{border:2px solid #fff7;border-top-color:#fff;border-radius:50%;width:17px;height:17px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-footer{color:#8b97a9;text-align:center;justify-content:center;align-items:center;gap:8px;margin:auto 0 0;padding-top:40px;font-size:12px;display:flex}.login-footer .icon{width:15px;height:15px}.error-message{color:#b42e43;background:#fff0f1;border-radius:12px;margin:14px 0 0;padding:11px 14px;font-size:14px;line-height:1.5}.main-screen{min-height:100svh;padding-bottom:calc(100px + env(safe-area-inset-bottom))}.app-header{padding:calc(42px + env(safe-area-inset-top)) 28px 25px;justify-content:space-between;align-items:center;gap:16px;display:flex}.app-header h1{margin:7px 0 0;font-size:clamp(32px,8vw,42px);line-height:1.15}.text-button{color:#286beb;background:0 0;border:0;flex:none;padding:5px 0;font-size:16px;font-weight:700}.content-area{padding:0 18px 24px}.no-page-header .content-area{padding-top:calc(28px + env(safe-area-inset-top))}.content-card{background:#fff;border:1px solid #edf1f8;border-radius:26px;padding:25px 22px;box-shadow:0 14px 32px #253c6f0d}.section-title{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:21px;display:flex}.section-title h2{letter-spacing:.01em;margin:0 0 7px;font-size:25px;line-height:1.25}.section-title p{color:#8190a7;margin:0;font-size:13px;line-height:1.6}.step-badge{color:#286bec;text-align:center;background:#f0f4ff;border-radius:30px;flex:none;min-width:62px;padding:6px 13px;font-size:15px;font-weight:800}.message-input{resize:vertical;color:#1d2b40;background:#fff;border:1px solid #d9e3f2;border-radius:15px;outline:0;width:100%;min-height:250px;padding:19px;font-size:16px;line-height:1.7;display:block}.message-input::placeholder{color:#8f9cb0}.message-input:focus{border-color:#5990f9;box-shadow:0 0 0 3px #3976f11a}.input-footer{color:#8c9ab1;justify-content:space-between;gap:15px;margin:10px 2px 24px;font-size:12px;display:flex}.input-footer span:last-child{text-align:right}.info-note{color:#7085a9;background:#f2f6ff;border-radius:15px;align-items:center;gap:14px;margin-top:17px;padding:15px 16px;display:flex}.info-note p{margin:0;font-size:13px;line-height:1.6}.sparkle{color:#3477f4;font-size:24px;line-height:1}.stats-strip{color:#6c7e9f;background:#f3f7ff;border-radius:15px;justify-content:space-around;align-items:center;min-height:61px;margin:0 0 15px;padding:8px 6px;display:flex}.stats-strip>div{align-items:center;gap:8px;display:flex}.stats-icon{color:#3679f3;width:23px;height:23px}.stats-strip strong{color:#296ee9;font-size:21px}.stats-strip span:last-child{font-size:13px}.stats-strip i{background:#dce5f4;width:1px;height:28px}.draft-list{gap:9px;display:grid}.draft-item{background:#fff;border:1px solid #dbe5f3;border-radius:15px;overflow:hidden}.draft-item-main{align-items:center;gap:12px;min-height:68px;padding:10px 12px;display:flex}.avatar{color:#5684df;background:#f1f5ff;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;display:grid}.avatar .icon{width:22px;height:22px}.draft-item-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.draft-item-copy strong,.draft-item-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.draft-item-copy strong{font-size:15px}.draft-item-copy span{color:#7d8aa2;font-size:13px}.edit-button{color:#2e70ea;background:0 0;border:0;flex:none;padding:6px 0;font-size:13px}.edit-button span{font-size:18px}.edit-fields{background:#fbfcff;border-top:1px solid #e8edf6;grid-template-columns:1fr 1fr;gap:9px 12px;padding:12px;display:grid}.field{min-width:0;display:block}.field>span{color:#6c7b93;margin-bottom:5px;font-size:12px;font-weight:700;display:block}.field input{color:#1d2b40;background:#fff;border:1px solid #dbe4f1;border-radius:9px;outline:0;width:100%;height:39px;padding:0 10px;font-size:14px}.field input:focus{border-color:#5990f9}.wide-field{grid-column:1/-1}.remove-button{color:#c24b5a;background:0 0;border:0;grid-column:1/-1;justify-self:end;padding:6px 0;font-size:12px}.add-item-button{color:#3876e9;background:#fbfcff;border:1px dashed #c8d8f3;border-radius:12px;width:100%;min-height:44px;margin-top:12px;font-size:13px;font-weight:700}.confirm-note{margin:17px 0 15px}.note-info{color:#fff;background:#78a0ec;border-radius:50%;flex:none;place-items:center;width:21px;height:21px;font-family:Georgia,serif;font-weight:800;display:grid}.back-button{color:#7889a4;background:0 0;border:0;margin:14px auto 0;padding:4px 10px;font-size:13px;display:block}.list-card .section-title{margin-bottom:16px}.empty-state{color:#8a98ad;border-top:1px solid #e7edf6;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:260px;font-size:13px;display:flex}.empty-state .empty-icon{color:#a7b6cb;font-size:40px}.empty-state strong{color:#455670;font-size:17px}.message-row{background:#fff;border-top:1px solid #e5ebf4;align-items:center;gap:4px;width:100%;min-height:88px;display:flex}.message-row-open{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:14px;min-width:0;min-height:88px;padding:15px 4px;display:flex}.row-delete{color:#bb4052;background:0 0;border:0;flex:none;padding:10px 4px;font-size:13px;font-weight:700}.row-delete:disabled,.delete-link:disabled{opacity:.45;cursor:wait}.status-dot{border-radius:50%;flex:none;width:12px;height:12px}.status-dot.pending{background:#e05d64}.status-dot.failed{background:#e2646e}.status-dot.complete{background:#2db875}.status-dot.empty{background:#a9b6c9}.message-row-body{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.message-row-body strong,.message-row-body small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.message-row-body strong{color:#1e2d42;font-size:18px}.message-row-body small{color:#8b9ab0;font-size:13px}.record-meta{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.record-delivery-state{border-radius:999px;flex:none;padding:3px 8px;font-size:12px;font-weight:700}.record-delivery-state.pending{color:#bf3f4d;background:#fff0f1}.record-delivery-state.complete{color:#207c50;background:#e7f8ef}.record-delivery-state.empty{color:#6f7d91;background:#f0f2f6}.chevron{color:#97a6ba;font-size:30px}.detail-card .section-title{margin-bottom:20px}.detail-label{color:#52627b;margin:0 0 9px;font-size:16px;font-weight:800}.raw-preview{color:#667994;white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f7ff;border-radius:13px;max-height:240px;margin:0;padding:15px;font-family:inherit;font-size:14px;line-height:1.7;overflow:auto}.detail-list-title{margin-top:22px}.detail-item{border-top:1px solid #e6edf6;flex-direction:column;gap:4px;padding:11px 0;display:flex}.detail-item strong{font-size:15px}.detail-item span{color:#7485a0;font-size:14px}.detail-item small{color:#9aa7b8;font-size:12px}.page-error{margin:12px 0 0}.bottom-nav{z-index:5;width:min(100%,560px);min-height:76px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff2;border:1px solid #e7edf5;border-bottom:0;border-radius:22px 22px 0 0;justify-content:space-around;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -7px 22px #2e41600b}.bottom-nav button{color:#8a9ab1;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;min-width:110px;padding:1px 10px;font-size:12px;display:flex}.bottom-nav button .nav-icon{width:25px;height:25px}.bottom-nav button.active{color:#286bec;font-weight:800}@media (width>=560px){body{background:#f4f7fc}.app-shell{box-shadow:0 18px 65px #283b5a17}}@media (width<=380px){.login-screen{padding-left:23px;padding-right:23px}.app-header{padding-left:21px;padding-right:21px}.content-area{padding-left:12px;padding-right:12px}.content-card{padding:22px 17px}.section-title h2{font-size:22px}.section-title p{font-size:12px}.edit-fields{gap:8px}}.login-form{margin-top:70px}.paste-card .section-title,.review-card .section-title{align-items:center}.paste-card .message-input{min-height:290px}.paste-card .input-footer{margin-bottom:18px}.review-card .stats-strip{margin-bottom:20px}.person-list{gap:10px;display:grid}.person-card{background:#fff;border:1px solid #e0e8f5;border-radius:16px;overflow:hidden}.person-toggle{text-align:left;background:#fff;border:0;align-items:center;gap:12px;width:100%;min-height:76px;padding:12px 14px;display:flex}.person-summary{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.person-summary strong,.person-summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.person-summary strong{color:#1e2d42;font-size:17px}.person-summary small{color:#8392a9;font-size:13px}.detail-card .person-summary small{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.person-heading{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.person-heading strong{white-space:normal;overflow-wrap:anywhere;min-width:0}.delivery-badge{border-radius:999px;flex:none;padding:3px 8px;font-size:11px;font-weight:800;line-height:1.4}.delivery-badge.pending{color:#be563c;background:#fff0ec}.delivery-badge.partial{color:#9b6a11;background:#fff5de}.delivery-badge.delivered{color:#228452;background:#e6f7ee}.detail-card .person-count{color:#9aa7b8;font-size:12px}.fold-chevron{color:#8b9ab1;font-size:25px;line-height:1;transition:transform .2s}.fold-chevron.open{transform:rotate(180deg)}.person-details,.person-products{background:#fbfcff;border-top:1px solid #edf1f7;padding:16px}.compact-field{min-width:0;display:block}.compact-field span{color:#728199;margin-bottom:5px;font-size:12px;display:block}.compact-field input{color:#1d2b40;background:#fff;border:1px solid #dce5f1;border-radius:10px;outline:0;width:100%;height:42px;padding:0 11px;font-size:14px;display:block}.compact-field input:focus{border-color:#5990f9}.person-name{margin-bottom:15px}.person-contact-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;margin-bottom:15px;display:grid}.product-editor{border-top:1px solid #e7edf6;padding:13px 0}.product-title{color:#31445f;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:13px;font-weight:700;display:flex}.product-title button{color:#bb5361;background:0 0;border:0;padding:2px 0;font-size:12px}.product-fields{grid-template-columns:minmax(0,1fr) 95px;gap:10px;display:grid}.extra-fields{margin-top:11px}.extra-fields summary{color:#5877aa;cursor:pointer;width:max-content;font-size:12px}.extra-fields .product-fields{grid-template-columns:1fr 1fr;margin-top:12px}.inline-add{color:#3074eb;background:0 0;border:0;padding:8px 0 0;font-size:13px;font-weight:700}.review-save{margin-top:20px}.detail-card .person-list{margin-top:12px}.delivery-progress{color:#2d6de6;background:#edf4ff;border-radius:20px;align-items:center;min-height:32px;margin:0 0 20px;padding:5px 12px;font-size:13px;font-weight:700;display:inline-flex}.person-profile{color:#73839b;overflow-wrap:anywhere;gap:5px;margin-bottom:8px;font-size:13px;display:grid}.product-line{color:#324862;border-bottom:1px solid #e7edf6;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:10px 0;font-size:14px;display:flex}.product-line:last-child{border-bottom:0}.product-line-name{overflow-wrap:anywhere;flex-wrap:wrap;flex:1;align-items:center;gap:4px;min-width:0;display:flex}.product-line-name b{color:#266eea;white-space:nowrap;margin-left:4px}.product-line small{color:#8492a6}.person-actions{border-bottom:1px solid #e7edf6;justify-content:flex-end;padding:0 0 9px;display:flex}.product-actions{align-items:center;gap:12px;margin-left:auto;display:flex}.delete-link{color:#bc4556;background:0 0;border:0;flex:none;padding:4px 0;font-size:12px;font-weight:700}.delivery-check{color:#73839b;cursor:pointer;white-space:nowrap;flex:none;align-items:center;gap:6px;font-size:12px;display:inline-flex}.delivery-check input{accent-color:#3277e9;cursor:pointer;width:17px;height:17px;margin:0}.delivery-check:has(input:checked){color:#25885c}.delivery-check:has(input:disabled){opacity:.55;cursor:wait}.records-home-card .section-title{margin-bottom:18px}.records-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.records-shortcut{color:#263b59;text-align:center;background:#fbfcff;border:1px solid #dce7f8;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:13px;min-height:150px;padding:18px 9px;display:flex}.records-shortcut:active{background:#f0f5ff}.records-shortcut strong{font-size:15px;line-height:1.35}.shortcut-icon{color:#3174ed;background:#edf3ff;border-radius:17px;place-items:center;width:58px;height:58px;display:grid}.shortcut-icon .icon{width:29px;height:29px}.summary-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.summary-filter label{color:#74839b;min-width:0;font-size:12px;font-weight:700}.summary-filter input{color:#263b59;background:#fff;border:1px solid #dce5f1;border-radius:10px;width:100%;height:42px;margin-top:6px;padding:0 8px;font-size:13px;display:block}.summary-filter button{color:#fff;background:#3676ed;border:0;border-radius:10px;grid-column:1/-1;min-height:42px;font-size:14px;font-weight:700}.summary-filter button:disabled{opacity:.5}.summary-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.summary-stats>div{background:#f3f7ff;border-radius:14px;flex-direction:column;gap:3px;padding:15px;display:flex}.summary-stats strong{color:#286bec;font-size:25px}.summary-stats span{color:#74839b;font-size:12px}.summary-section-title{justify-content:space-between;align-items:center;margin:8px 0;display:flex}.summary-section-title h3{margin:0;font-size:16px}.summary-products{border-top:1px solid #e7edf6}.summary-product{border-bottom:1px solid #e7edf6;justify-content:space-between;gap:12px;padding:12px 0;display:flex}.summary-product>span{flex-direction:column;gap:4px;min-width:0;display:flex}.summary-product strong{overflow-wrap:anywhere;font-size:14px}.summary-product small{color:#8291a8;font-size:12px}.summary-product-total{color:#2d6de6;flex:none;align-items:flex-end;font-size:14px;font-weight:700}.section-actions{flex:none;gap:14px;display:flex}@media (width<=380px){.login-form{margin-top:50px}.person-toggle{padding:11px}.person-details,.person-products{padding:12px}.person-contact-fields{grid-template-columns:1fr}}
