:root{--bg:#f6f5f1;--paper:#fff;--ink:#282633;--muted:#85838f;--line:#eeedf2;--purple:#6750c9;--pale:#eeeafa;--green:#298967;--orange:#c47930;--red:#ca5b59;--shadow:0 8px 30px #28203705}*{box-sizing:border-box}body{margin:0;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}a{color:var(--purple)}button:focus-visible,a:focus-visible{outline:3px solid #ab9be6;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #b7a6ec;outline-offset:1px}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:34px 23px;position:fixed;width:240px;top:0;bottom:0;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;align-items:center;padding:0 7px}.brand img{width:42px;height:42px}.brand strong{font-size:24px;letter-spacing:-1px;display:block}.brand small{font-size:10px;letter-spacing:1.5px;color:var(--muted);text-transform:uppercase}.nav-label{font-size:10px;letter-spacing:1.7px;color:#a19da9;margin:49px 14px 15px}.nav{display:grid;gap:8px}.nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:14px 16px;border-radius:12px;color:#77727f;font-weight:550}.nav button.active{background:var(--pale);color:var(--purple)}.nav button:hover{background:#f4f1fb}.nav button span{flex:1}.nav-count{font-size:11px;background:#e0d9f7;border-radius:6px;padding:3px 6px}.sidebar-bottom{margin-top:auto}.side-note{background:#f7f5fc;padding:18px 16px;border-radius:14px;color:#8b80ac;line-height:1.6;font-size:12px;margin-top:30px}.side-note strong{color:#63527f;display:block;font-size:13px;margin:8px 0 5px}.profile{display:flex;gap:10px;align-items:center;margin-top:25px;padding-top:22px;border-top:1px solid var(--line)}.avatar{width:37px;height:37px;border-radius:50%;background:#f3e3da;color:#a67c62;display:grid;place-items:center;font-size:12px;font-weight:650}.profile b{font-size:12px}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.main{grid-column:2;min-width:0}.topbar{height:89px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eae8e5;background:#faf9f6}.topbar .crumb{font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:20px}.date-label{font-size:12px;color:#77727f;display:flex;align-items:center;gap:8px}.workspace{padding:34px 42px 45px;max-width:1600px;margin:auto}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;text-transform:uppercase;color:var(--purple);margin:0 0 9px}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}h1{font-weight:600;letter-spacing:-1.2px;font-size:32px;line-height:1.2;margin:0 0 10px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin:0}h3{margin:0;font-size:15px}.sub{color:var(--muted);line-height:1.6;margin:0;font-size:13px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:12px 17px;border-radius:10px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.primary{background:var(--purple);color:#fff;box-shadow:0 5px 10px #6750c918}.primary:hover{background:#5741b5}.secondary{border:1px solid #e4e0eb;background:white}.quiet{background:#f4f1fa;color:var(--purple)}.danger{color:var(--red);background:#fff1f0}.icon-btn{width:34px;height:34px;padding:7px;display:inline-grid;place-items:center;border-radius:9px;color:var(--muted)}.icon-btn:hover{background:#f0edf7;color:var(--purple)}.hero{background:#eee9fa;border-radius:18px;display:flex;align-items:center;justify-content:space-between;padding:25px 30px;position:relative;overflow:hidden;margin-bottom:25px;min-height:148px}.hero-copy{z-index:1;max-width:72%}.hero h2{font-size:23px;color:#493970;margin-bottom:10px;line-height:1.35}.hero p{color:#8a7d9e;line-height:1.6;max-width:460px;font-size:12px;margin:0}.hero-art{position:absolute;right:12px;top:-20px;width:255px;height:200px;transform:rotate(-9deg)}.hero-art svg{width:100%;height:100%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:29px}.stat{background:#fff;border:1px solid #eeedf0;border-radius:14px;padding:20px 19px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:var(--shadow);text-align:left}.stat:hover{border-color:#c9bde8}.stat small{font-size:11px;color:#8b8594;display:block}.stat strong{display:block;font-size:29px;margin:12px 0 6px;letter-spacing:-1px;font-weight:600}.stat em{font-style:normal;font-size:10px;color:#98939e}.stat-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px}.purple{color:var(--purple);background:#f0ecfa}.green{color:var(--green);background:#eaf6ee}.orange{color:var(--orange);background:#fff1e1}.red{color:var(--red);background:#fff0ef}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:23px}.panel{background:#fff;border:1px solid #eceaef;border-radius:16px;box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:23px 23px 19px}.panel-head .link{font-size:11px;color:var(--purple);display:flex;align-items:center;gap:4px}.panel-head .link svg{width:14px}.section-caption{font-size:11px;color:var(--muted);margin-top:6px}.order-table{width:100%;border-collapse:collapse;text-align:left}.table-wrap{overflow:auto}.order-table th{font-size:10px;font-weight:500;color:#a09aa8;background:#fcfbfd;padding:13px 20px;border-top:1px solid #f3f1f5;border-bottom:1px solid #f3f1f5;white-space:nowrap}.order-table td{padding:18px 20px;border-bottom:1px solid #f4f2f6;font-size:12px}.order-table tbody tr{cursor:pointer}.order-table tbody tr:hover{background:#fbfafc}.order-table tbody tr:last-child td{border-bottom:0}.order-table .client-line{display:flex;align-items:center;gap:11px;min-width:145px}.thumb{width:39px;height:43px;border-radius:9px;background:#f0edf7;color:#a699c9;display:grid;place-items:center;flex-shrink:0;object-fit:cover}.thumb svg{width:25px;height:29px}.client-line strong{font-size:12px;font-weight:600;display:block}.client-line small{display:block;color:#aaa2b2;font-size:10px;margin-top:5px}.status{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;font-size:10px;border-radius:7px;white-space:nowrap;font-weight:550}.status i{width:4px;height:4px;border-radius:50%;background:currentColor}.status.new{background:#f0ecfa;color:#8b73c3}.status.production{background:#fff2e3;color:#bd8848}.status.ready{background:#e9f0fc;color:#638dc6}.status.shipped{background:#eaf5ed;color:#4c9974}.status.cancelled{background:#eee;color:#999}.star{color:#db9658;font-size:14px;margin-left:5px}.table-foot{font-size:10px;color:#aaa3b0;border-top:1px solid var(--line);padding:15px 23px}.calls{padding:0 22px 8px}.call{padding:16px 0;display:flex;gap:12px;border-top:1px solid #f0edf4;align-items:flex-start}.call-time{background:#f2eefb;color:#8875b6;border-radius:9px;padding:9px 6px;font-size:11px;font-weight:600;min-width:51px;text-align:center}.call-time.overdue{background:#fff0ee;color:var(--red)}.call-info{flex:1;min-width:0;cursor:pointer}.call-info strong{display:block;font-size:12px;font-weight:600;margin:2px 0 5px}.call-info small{display:block;font-size:10px;color:#aaa1b2;line-height:1.5}.call .icon-btn{border:1px solid #eae5f1;width:26px;height:26px;border-radius:50%;padding:5px;color:#a59bb8}.call .icon-btn:hover{color:var(--green);background:#eaf6ee}.agenda-tag{display:inline-flex;font-size:9px;padding:3px 6px;border-radius:4px;margin-top:7px}.mini-note{display:flex;align-items:center;gap:10px;padding:15px 20px;background:#f8f6fc;color:#9a8bb3;font-size:10px;margin:10px 20px 20px;border-radius:9px;line-height:1.5}.empty{padding:42px 22px;text-align:center;color:#aaa1b2}.empty svg{width:35px;height:35px;margin-bottom:12px;color:#ad9fd2}.empty h3{color:#6c627c;font-size:14px;margin-bottom:9px}.empty p{font-size:12px;line-height:1.7;max-width:330px;margin:0 auto 15px}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.search{position:relative;flex:1;min-width:180px}.search svg{position:absolute;top:13px;left:13px;color:#a197ac;width:17px}.search input{padding-left:39px}.control{width:100%;border:1px solid #e6e1ec;background:#fff;border-radius:9px;padding:11px 12px;color:#544a62;min-height:42px}.control::placeholder{color:#b1a9ba;font-size:12px}.toolbar select{width:auto;font-size:12px}.filter-chip{display:flex;gap:7px;align-items:center;padding:11px 12px;border:1px solid #e6e1ec;border-radius:9px;background:#fff;font-size:12px}.filter-chip.selected{background:#fff2e6;border-color:#e1b78e;color:#b77e45}.count-label{font-size:11px;color:var(--muted);margin-bottom:15px}.client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.client-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;cursor:pointer}.client-card:hover{border-color:#c7b6e7}.client-card .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.client-avatar{width:44px;height:44px;border-radius:14px;background:#efeafa;color:#8871b8;font-weight:650;display:grid;place-items:center}.client-card h3{font-size:15px;margin-bottom:8px}.client-card p{color:var(--muted);font-size:12px;line-height:1.7;margin:3px 0}.client-meta{border-top:1px solid var(--line);margin-top:18px;padding-top:15px;color:#8b7e9f;font-size:11px;display:flex;justify-content:space-between}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px}.calendar-top{padding:22px;display:flex;gap:10px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.calendar-nav{display:flex;align-items:center;gap:9px}.calendar-nav h2{font-size:17px;min-width:170px;text-align:center;text-transform:capitalize}.calendar-legend{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:10px;color:#998da6;padding:14px 22px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px}.days-head,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.days-head{border-top:1px solid var(--line);color:#a79caf;font-size:10px;text-align:center;padding:13px 0}.day{min-height:112px;border-right:1px solid #efecf3;border-top:1px solid #efecf3;padding:9px 5px;text-align:left;display:flex;flex-direction:column;gap:5px;border-radius:0}.day:nth-child(7n){border-right:0}.day:hover{background:#fbf9ff}.day.outside{background:#faf9fb;color:#c4bdcc}.day-number{font-size:11px;margin:0 3px 3px;align-self:flex-start;width:24px;height:24px;display:grid;place-items:center;border-radius:8px}.day.today .day-number{background:var(--purple);color:white}.day.selected{background:#f5f1fe;box-shadow:inset 0 0 0 1px #bca6ef}.event{padding:4px 5px;font-size:9px;border-radius:4px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.event.call-event{background:#eee8fa;color:#8a6eb6}.event.ship-event{background:#eaf5ee;color:#4f9775}.event.plan-event{background:#fff0df;color:#b88a53}.event.late-event{background:#ffeeeb;color:#bd716c}.event-more{font-size:9px;color:#9c8aaa}.agenda{padding:22px}.agenda h2{font-size:16px;margin-bottom:7px}.agenda .agenda-item{padding:17px 0;border-bottom:1px solid var(--line);cursor:pointer}.agenda-item strong{font-size:12px;display:block;margin:8px 0 5px}.agenda-item small{font-size:11px;color:#a499ad;line-height:1.6}.agenda .btn{width:100%;margin-top:20px}.mobile-logo{display:none}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff3dc;border:1px solid #f2e4c7;color:#a48a58;border-radius:9px;padding:10px 15px;font-size:11px;margin-bottom:20px}.demo-banner button{text-decoration:underline;font-size:11px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-card{padding:25px}.settings-card h2{margin-bottom:12px}.settings-card p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 20px}.settings-card .btn{margin-right:8px;margin-bottom:10px}.settings-card ul{padding-left:18px;color:#8d819d;font-size:12px;line-height:2}.file-input{display:none}.overlay{position:fixed;inset:0;background:#26203155;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:100;padding:25px}.dialog{width:760px;max-width:100%;max-height:94vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 30px 100px #241c3955}.dialog.narrow{width:490px}.dialog-head{padding:24px 28px 20px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:22px;margin-bottom:7px}.dialog-head p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.dialog-body{padding:24px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{min-width:0}.field label{font-size:11px;display:block;color:#8b7e99;margin-bottom:8px}.full{grid-column:1/-1}.field textarea{resize:vertical;min-height:84px}.field small{font-size:10px;color:#a89bb6;display:block;margin-top:7px;line-height:1.6}.label-row{display:flex;align-items:center;justify-content:space-between}.label-row button{font-size:10px;color:var(--purple);margin-bottom:8px}.divider-label{grid-column:1/-1;margin:5px 0 -3px;border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:#76618e;font-weight:600;display:flex;gap:8px;align-items:center}.important-toggle{display:flex;align-items:center;gap:10px;background:#fff5e9;border:1px solid #f1e0cb;border-radius:10px;padding:12px 14px;color:#bd8a4e;font-size:12px;cursor:pointer}.important-toggle input{accent-color:#cd954e;width:17px;height:17px}.check-label{display:flex;align-items:center;gap:9px;color:#8a7a9d;font-size:12px;line-height:1.6}.check-label input{accent-color:var(--purple);width:16px;height:16px}.photo-box{display:flex;gap:15px;align-items:center;border:1px dashed #d8cde8;border-radius:12px;padding:15px}.photo-preview{width:74px;height:82px;border-radius:8px;background:#f4f0fa;color:#b5a4cf;display:grid;place-items:center;object-fit:cover}.photo-preview svg{width:35px;height:35px}.photo-actions{flex:1}.photo-actions p{color:var(--muted);font-size:11px;line-height:1.5;margin:8px 0}.photo-actions .btn{padding:8px 10px;font-size:11px}.dialog-footer{padding:18px 28px;display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);background:#fdfcfe;border-radius:0 0 20px 20px}.dialog-footer .delete{margin-right:auto;color:#c37a76;font-size:11px}.form-error{color:var(--red);font-size:12px;line-height:1.6;margin-top:15px}.form-error:empty{display:none}.detail-photo{width:100%;max-height:240px;object-fit:contain;border-radius:12px;background:#f6f3fa;margin-bottom:22px;cursor:zoom-in}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.detail-grid small{display:block;color:var(--muted);font-size:10px;margin-bottom:7px}.detail-grid p{font-size:13px;margin:0;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.detail-section{margin-top:22px;padding:17px;border-radius:12px;background:#f4f0fb}.detail-section h3{font-size:12px;color:#7e689d;margin-bottom:10px}.detail-section p{font-size:12px;color:#9d8caf;margin:7px 0;line-height:1.7}.detail-section .btn{padding:8px 12px;font-size:11px;margin-top:7px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-brand{background:#eae3f8;padding:70px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-brand .brand{margin-bottom:70px;z-index:1}.auth-brand h1{font-size:52px;color:#513a77;line-height:1.15;max-width:450px;margin-bottom:23px;z-index:1}.auth-brand>p{font-size:15px;line-height:1.9;color:#9481ac;max-width:380px;z-index:1}.auth-brand .hero-art{width:340px;height:340px;right:-80px;top:auto;bottom:-10px;opacity:.6}.auth-form{display:flex;justify-content:center;align-items:center;padding:35px}.auth-card{width:350px}.auth-card .eyebrow{margin-bottom:15px}.auth-card h2{font-size:26px;line-height:1.3;margin-bottom:12px}.auth-card>p{font-size:13px;color:#a293ae;line-height:1.8;margin-bottom:30px}.auth-card .field{margin-bottom:20px}.auth-card .btn{width:100%;margin-top:10px}.auth-note{margin-top:30px!important;font-size:11px!important}.auth-card .check-label{margin-bottom:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#3a304b;color:white;border-radius:11px;padding:14px 20px;font-size:12px;z-index:200;transition:all .2s;max-width:90vw;box-shadow:0 10px 30px #2b20332a}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:15vh 30px;text-align:center;color:#9383a5}.busy{opacity:.6;pointer-events:none}.bottom-note{display:flex;align-items:center;gap:7px;color:#afa7b8;font-size:10px;margin-top:24px}.bottom-note svg{width:13px}.inline-badge{background:#f0eaf9;border-radius:5px;padding:3px 6px;font-size:10px;color:#9982b8}.call-page .call{padding:20px}.call-page .call-info strong{font-size:14px}.call-page .call-info small{font-size:12px}.call-page .call-time{padding:13px 9px;min-width:60px}.call-page .icon-btn{width:34px;height:34px}.call-page .call-info .agenda-tag{font-size:10px}.call-group-title{font-size:12px;color:#998aa9;padding:20px 23px 0}.refresh-note{font-size:10px;color:#a89bb5;display:flex;align-items:center;gap:4px}.hidden{display:none!important}@media(min-width:1550px){.workspace{padding-top:42px}.stats .stat{padding:24px}.hero{min-height:165px}.hero-art{right:55px}.order-table td{padding-top:23px;padding-bottom:23px}}@media(max-width:1200px){.sidebar{width:210px;padding:30px 15px}.shell{grid-template-columns:210px minmax(0,1fr)}.workspace{padding:28px 25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.stats{gap:10px}.stat{padding:16px 13px}.calendar-layout{grid-template-columns:1fr}.agenda{display:none}.agenda.show{display:block}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;width:100%;height:69px;padding:0;background:#fff;border-top:1px solid var(--line);border-right:0}.sidebar>.brand,.sidebar .nav-label,.sidebar-bottom{display:none}.nav{display:flex;gap:0;height:100%;justify-content:space-around}.nav button{flex:1;flex-direction:column;gap:5px;justify-content:center;font-size:9px;padding:8px 3px;border-radius:0}.nav button.active{background:#f7f3ff}.nav button svg{width:20px;height:20px}.nav-count{display:none}.topbar{height:69px;padding:0 18px}.crumb{display:none}.mobile-logo{display:flex;font-weight:650;font-size:18px;gap:8px;align-items:center;letter-spacing:-.5px}.mobile-logo img{width:30px;height:30px}.date-label{font-size:10px}.top-actions{gap:5px}.workspace{padding:25px 17px 95px}.heading{align-items:flex-start;gap:10px;margin-bottom:23px}h1{font-size:27px}.heading>.btn{padding:10px;font-size:11px;min-height:38px}.heading>.btn svg{width:16px}.heading .sub{font-size:11px}.eyebrow{font-size:9px}.hero{padding:20px;min-height:139px;margin-bottom:19px}.hero h2{font-size:19px}.hero p{font-size:11px}.hero-art{width:175px;height:175px;right:-55px;top:6px}.hero-copy{max-width:82%}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:21px}.stat{padding:16px}.stat strong{font-size:26px}.stat-icon{width:29px;height:29px}.stat-icon svg{width:17px}.stat small{font-size:10px}.stat em{font-size:9px}.dashboard-grid{gap:20px}.panel-head{padding:19px 17px}.panel-head h2{font-size:15px}.panel-head .link{font-size:10px}.order-table th{padding:12px 15px}.order-table td{padding:15px;font-size:11px}.order-table .client-line strong{font-size:11px}.order-table .client-line{min-width:145px}.order-table .compact-hide{display:none}.status{font-size:9px;padding:6px}.settings-grid{grid-template-columns:1fr}.client-grid{grid-template-columns:1fr}.calendar-top{padding:16px 10px}.calendar-nav{gap:0}.calendar-nav h2{min-width:145px;font-size:15px}.calendar-top>.btn{padding:9px;font-size:10px}.calendar-legend{padding:13px 10px;gap:10px;font-size:9px}.day{min-height:91px;padding:5px 2px;gap:4px}.day-number{font-size:10px;width:22px;height:22px;margin:0 0 3px}.event{font-size:8px;padding:3px 2px}.days-head{font-size:9px}.calendar-layout{gap:15px}.overlay{padding:10px}.dialog{max-height:96vh;border-radius:15px}.dialog-head{padding:21px 20px 17px}.dialog-head h2{font-size:20px}.dialog-body{padding:21px 20px}.form-grid{gap:15px}.dialog-footer{padding:16px 20px;gap:6px}.dialog-footer .btn{padding:11px 13px;font-size:11px}.dialog-footer .delete{font-size:10px}.field label{font-size:10px}.control{font-size:13px;padding:11px 9px}.auth-page{display:block}.auth-brand{padding:25px 25px 30px}.auth-brand .brand{margin-bottom:25px}.auth-brand h1{font-size:29px;max-width:300px;margin-bottom:0}.auth-brand>p{display:none}.auth-brand .hero-art{width:150px;height:150px;right:-30px;bottom:0}.auth-form{padding:35px 26px}.auth-card{width:100%;max-width:380px}.auth-card h2{font-size:23px}.detail-grid{gap:19px}.toolbar .search{flex-basis:100%}.toolbar{gap:8px}.toolbar select{flex:1;min-width:130px}.demo-banner{font-size:10px}.demo-banner button{font-size:10px}.bottom-note{font-size:9px}.refresh-note{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Clearer contrast for secondary copy and event labels. */
:root{--muted:#78717f}.order-table .client-line small,.client-line small{color:#8e819b}.event.call-event{color:#705292;background:#e9dff7}.event.ship-event{color:#387b58;background:#dcefe3}.event.plan-event{color:#956124;background:#fce8cc}.event.late-event{color:#a14d45;background:#fbe0dc}.calendar-legend{color:#7f738b}.field label{color:#766381}.call-info small{color:#887994}.day.outside .day-number{color:#b6adbf}button:disabled{cursor:default;opacity:.5}.auth-note svg{width:14px;height:14px;margin-right:4px}

.order-lines{border:1px solid #e6e0f0;border-radius:12px;background:#fcfaff;padding:15px}.item-row{display:grid;grid-template-columns:minmax(140px,1.7fr) minmax(80px,1fr) minmax(85px,1fr) minmax(90px,1fr) 28px;gap:10px;align-items:center;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #e9e1f2}.item-row label{min-width:0}.item-row label>span,.item-amount>span{display:block;font-size:10px;color:#7e6b91;margin-bottom:8px}.item-row .control{min-width:0;padding:10px 8px;font-size:12px}.item-amount strong{font-size:12px;display:block;overflow-wrap:anywhere}.remove-item{width:28px;height:28px;margin-top:20px}.order-summary{display:flex;justify-content:space-between;gap:15px;align-items:center;border-radius:10px;background:#eee7fa;color:#68508b;margin-top:16px;padding:16px}.order-summary span{font-size:12px}.order-summary strong{font-size:20px;white-space:nowrap}.order-summary small{font-size:10px;display:block;margin-top:6px;color:#8b74a5}.detail-items{margin-bottom:25px}.detail-items h3{margin-bottom:15px}.detail-items .order-table td{cursor:default}.detail-items .order-table tbody tr:hover{background:transparent}@media(max-width:760px){.item-row{grid-template-columns:1fr 1fr 28px;gap:12px}.item-model{grid-column:1/3;grid-row:1}.remove-item{grid-column:3;grid-row:1;margin-top:17px}.item-amount{grid-column:1/3;display:flex;justify-content:space-between;align-items:center}.item-amount>span{margin:0}.order-summary{flex-wrap:wrap}.order-summary strong{font-size:20px}.order-lines{padding:13px}.detail-items .order-table th,.detail-items .order-table td{padding:12px 9px;font-size:11px}}

.inline-add{color:var(--purple);font-size:10px;margin-top:7px;padding:0}.label-options{border:1px solid #e9e0f4;background:#fcfaff;border-radius:12px;padding:18px}.label-options h3{font-size:13px;margin-bottom:14px}.label-options>div{display:flex;gap:15px;flex-wrap:wrap}.label-options .check-label{font-size:11px}.product-link{color:var(--purple);text-align:left;padding:0}.product-cover{height:150px;background:#f5f0fb;border-radius:10px;margin-bottom:18px;display:grid;place-items:center;overflow:hidden}.product-cover img{width:100%;height:100%;object-fit:contain}.product-cover svg{width:45px;height:45px;color:#ab96cc}.product-card p{white-space:pre-wrap;overflow-wrap:anywhere}.composition-row{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid var(--line)}.composition-row strong{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.composition-row small{display:block;color:var(--muted);font-size:11px;margin-top:8px}.item-model{align-self:start}.item-row{align-items:start}.item-amount{padding-top:0}.remove-item{margin-top:23px}@media(max-width:760px){.nav{overflow-x:auto;justify-content:flex-start}.nav button{min-width:53px;font-size:8px}.label-options>div{display:grid;gap:14px}.item-row{align-items:center}.remove-item{margin-top:0}.item-amount{padding-top:0}.composition-row .btn{font-size:11px;padding:10px}}

/* Конвертер рисунков */
.converter-panel{padding:24px}.converter-intro{padding:18px;border-radius:14px;background:#f1edfa;margin-bottom:20px}.converter-intro p{margin:8px 0 0}.converter-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.converter-presets{display:flex;gap:8px;margin-top:6px}.converter-preview{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.converter-preview figure{margin:0;padding:16px;border:1px solid #e7e0ee;border-radius:14px;min-width:0;background:#faf9fc}.converter-preview figcaption{font-weight:700;margin-bottom:12px}.converter-preview img{display:block;max-width:100%;max-height:430px;object-fit:contain;margin:auto}.converter-preview img[hidden]{display:none}.converter-preview .pixel-image{image-rendering:pixelated;width:100%}.converter-palette{display:flex;flex-wrap:wrap;gap:6px}.converter-palette span{width:30px;height:30px;border:1px solid #bdb5c6;border-radius:6px}.converter-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.converter-actions select{width:auto;max-width:100%;flex:1;min-width:180px}#cv-message{color:#71529b;min-height:24px}@media(max-width:700px){.converter-panel{padding:14px}.converter-controls{grid-template-columns:1fr 1fr}.converter-preview{grid-template-columns:1fr}.converter-actions>*{width:100%}.converter-preview img{max-height:320px}}@media(max-width:400px){.converter-controls{grid-template-columns:1fr}}
