:root{--primary:#1e40af;--primary-dark:#1e3a8a;--primary-light:#eff6ff;--teal:#0f766e;--teal-dark:#115e59;--teal-light:#f0fdfa;--accent:#ea580c;--accent-dark:#c2410c;--accent-light:#fff7ed;--ink:#0f172a;--ink-soft:#334155;--ink-muted:#64748b;--paper:#f8fafc;--surface:#fff;--line:#e2e8f0;--success:#16a34a;--success-bg:#f0fdf4;--warning:#d97706;--warning-bg:#fffbeb;--danger:#dc2626;--danger-bg:#fef2f2;color:var(--ink);font-synthesis:none;--radius-sm:8px;--radius:12px;--radius-lg:20px;--shadow-sm:0 1px 2px #0000000d;--shadow:0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:20px;--s6:24px;--s8:32px;direction:rtl;font-family:Alexandria,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--paper);-webkit-font-smoothing:antialiased;margin:0;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0}.icon{vertical-align:-.16em;background:currentColor;width:1em;height:1em;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.i-home{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E")}.i-book{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V4H6.5A2.5 2.5 0 0 0 4 6.5zM4 6.5v13'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V4H6.5A2.5 2.5 0 0 0 4 6.5zM4 6.5v13'/%3E%3C/svg%3E")}.i-camera{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M4 7h3l2-3h6l2 3h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2m8 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M4 7h3l2-3h6l2 3h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2m8 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8'/%3E%3C/svg%3E")}.i-box{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='m21 8-9 5-9-5m18 0-9-5-9 5m18 0v9l-9 5-9-5V8'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='m21 8-9 5-9-5m18 0-9-5-9 5m18 0v9l-9 5-9-5V8'/%3E%3C/svg%3E")}.i-user{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M20 21a8 8 0 0 0-16 0m12-14a4 4 0 1 1-8 0 4 4 0 0 1 8 0'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M20 21a8 8 0 0 0-16 0m12-14a4 4 0 1 1-8 0 4 4 0 0 1 8 0'/%3E%3C/svg%3E")}.i-search{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='m20 20-4-4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='m20 20-4-4'/%3E%3C/svg%3E")}.i-arrow{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-width='2' d='M19 12H5m6 6-6-6 6-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-width='2' d='M19 12H5m6 6-6-6 6-6'/%3E%3C/svg%3E")}.i-page{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 0v6h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 0v6h6'/%3E%3C/svg%3E")}.i-filter{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-width='2' d='M4 6h16M7 12h10m-7 6h4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-width='2' d='M4 6h16M7 12h10m-7 6h4'/%3E%3C/svg%3E")}.i-chev{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='m9 18 6-6-6-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.i-plus{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M12 5v14m-7-7h14'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M12 5v14m-7-7h14'/%3E%3C/svg%3E")}.i-minus{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M5 12h14'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M5 12h14'/%3E%3C/svg%3E")}.i-cart{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-width='2' d='M3 3h2l2.2 11.1a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 1.9-1.4L20 8H6M9 21h.01M17 21h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-width='2' d='M3 3h2l2.2 11.1a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 1.9-1.4L20 8H6M9 21h.01M17 21h.01'/%3E%3C/svg%3E")}.i-bookmark,.i-image,.i-trash,.i-truck,.i-star,.i-edit{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3v18m-9-9h18'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3v18m-9-9h18'/%3E%3C/svg%3E")}.app-shell{background:var(--paper);min-height:100dvh;display:flex;position:relative;overflow-x:hidden}.app-main{flex-direction:column;flex:1;min-width:0;padding-bottom:80px;transition:padding-right .3s;display:flex}.page-container{width:100%;max-width:1200px;margin:0 auto;padding:24px 20px}.sidebar-desktop{background:var(--surface);border-radius:var(--radius-lg);width:260px;box-shadow:var(--shadow-lg);z-index:50;border:1px solid var(--line);flex-direction:column;display:none;position:fixed;top:24px;bottom:24px;right:24px;overflow-y:auto}.sidebar-header{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:24px 20px;display:flex}.sidebar-logo{color:var(--primary);align-items:center;gap:8px;font-size:24px;font-weight:800;text-decoration:none;display:flex}.sidebar-logo-mark{background:var(--primary-light);color:var(--primary);border-radius:var(--radius);justify-content:center;align-items:center;width:40px;height:40px;display:flex}.sidebar-nav{flex-direction:column;flex:1;gap:8px;padding:20px 12px;display:flex}.sidebar-link{border-radius:var(--radius-sm);color:var(--ink-soft);align-items:center;gap:12px;padding:12px 16px;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.sidebar-link:hover{background:var(--primary-light);color:var(--primary-dark)}.sidebar-link.active{background:var(--primary);color:#fff;font-weight:600}.sidebar-link .icon{font-size:18px}.sidebar-footer{border-top:1px solid var(--line);padding:20px}.user-summary{background:var(--paper);border-radius:var(--radius);align-items:center;gap:12px;margin-bottom:12px;padding:12px;display:flex}.user-avatar{background:var(--teal-light);width:40px;height:40px;color:var(--teal-dark);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:flex}.user-info{min-width:0}.user-info b{white-space:nowrap;text-overflow:ellipsis;font-size:14px;display:block;overflow:hidden}.user-info small{color:var(--ink-muted);font-size:12px}.bottom-nav-mobile{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);border:1px solid var(--line);z-index:50;background:#fffffff2;justify-content:space-around;padding:8px;display:flex;position:fixed;bottom:20px;left:20px;right:20px}.bottom-nav-item{color:var(--ink-muted);border-radius:var(--radius-sm);flex-direction:column;align-items:center;gap:4px;padding:8px 12px;font-size:11px;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.bottom-nav-item.active{color:var(--primary)}.bottom-nav-item .icon{margin-bottom:2px;font-size:20px}.bottom-nav-fab{background:var(--accent);color:#fff;border-radius:var(--radius);justify-content:center;align-items:center;width:48px;height:48px;margin-top:-24px;display:flex;box-shadow:0 8px 16px #ea580c4d}.page-title{color:var(--ink);margin:0 0 8px;font-size:28px;font-weight:800}.page-subtitle{color:var(--ink-muted);margin:0 0 24px;font-size:15px;line-height:1.5}.library-detail-layout{grid-template-columns:minmax(260px,.85fr) minmax(0,1.4fr);align-items:start;gap:16px;display:grid}.library-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px;display:grid}.library-detail-meta div{border:1px solid var(--line);background:var(--paper);border-radius:var(--radius-sm);min-width:0;padding:10px 12px}.library-detail-meta dt{color:var(--ink-muted);margin-bottom:4px;font-size:11px}.library-detail-meta dd{overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:600}.library-detail-meta .library-detail-description{grid-column:1/-1}.library-pdf-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;display:grid}.library-pdf-grid figure{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);margin:0;padding:6px}.library-pdf-grid img{background:#fff;border-radius:5px;width:100%;height:auto;display:block}.library-pdf-grid figcaption{color:var(--ink-muted);text-align:center;padding:6px 2px 2px;font-size:11px}.library-image-preview{object-fit:contain;max-width:100%;max-height:75vh;margin:auto;display:block}.library-detail-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.detail-error-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.order-upload-meta{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0 0 16px;display:grid}.order-upload-meta div{background:var(--paper);border-radius:var(--radius-sm);min-width:0;padding:10px 12px}.order-upload-meta dt{color:var(--ink-muted);margin-bottom:4px;font-size:10px}.order-upload-meta dd{text-align:right;overflow-wrap:anywhere;direction:ltr;margin:0;font-size:11px;font-weight:600}.current-order-summary{justify-content:space-between;align-items:center;gap:16px;display:flex}.current-order-summary>div{gap:5px;display:grid}.current-order-summary .eyebrow{margin:0}.review-page-list{margin-bottom:14px;display:grid}.review-page-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.review-page-row>div:first-child{gap:4px;display:grid}.review-page-row small{color:var(--ink-muted);font-size:11px}.review-page-settings{flex-wrap:wrap;gap:6px;display:flex}.review-page-settings span{background:var(--primary-light);color:var(--primary-dark);border-radius:999px;padding:5px 9px;font-size:10px;font-weight:600}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.page-header>div:first-child{min-width:0}.btn{border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:none;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-dark)}.btn-secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.btn-secondary:hover:not(:disabled){background:var(--paper)}.btn-accent{background:var(--accent);color:#fff}.btn-danger{background:var(--danger-bg);color:var(--danger)}.btn-full{width:100%}.card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow-sm);margin-bottom:16px;padding:20px}.card-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;display:flex}.card-title{margin:0;font-size:18px;font-weight:700}.form-group{margin-bottom:16px}.form-label{color:var(--ink-soft);margin-bottom:8px;font-size:13px;font-weight:600;display:block}.form-input,.form-select{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;color:var(--ink);outline:none;padding:12px 16px;font-size:14px;transition:border-color .2s}.form-input:focus,.form-select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}.badge{border-radius:100px;align-items:center;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.badge-success{background:var(--success-bg);color:var(--success)}.badge-warning{background:var(--warning-bg);color:var(--warning)}.badge-danger{background:var(--danger-bg);color:var(--danger)}.badge-info{background:var(--primary-light);color:var(--primary)}.badge-neutral{background:var(--paper);color:var(--ink-muted);border:1px solid var(--line)}@media (width>=1024px){.app-main{padding-bottom:24px;padding-right:308px}.bottom-nav-mobile{display:none}.sidebar-desktop{display:flex}}@media (width<=520px){.page-container{padding:16px 14px}.page-title{font-size:23px}.page-subtitle{font-size:13px}.page-header{margin-bottom:18px}.workflow-step{padding:0 3px}.step-label{font-size:9px}.bottom-nav-mobile{left:10px;right:10px;bottom:max(10px, env(safe-area-inset-bottom))}.library-detail-layout{grid-template-columns:1fr}.library-detail-meta{grid-template-columns:1fr 1fr}.library-detail-actions{grid-template-columns:1fr 1fr;display:grid}.current-order-summary{flex-direction:column;align-items:stretch}.review-page-row{flex-direction:column;align-items:flex-start}}.empty-state{text-align:center;background:var(--surface);border-radius:var(--radius);border:1px dashed #cbd5e1;flex-direction:column;justify-content:center;align-items:center;padding:48px 24px;display:flex}.empty-state-icon{color:var(--ink-muted);opacity:.5;margin-bottom:16px;font-size:48px}.empty-state h3{margin:0 0 8px;font-size:18px;font-weight:700}.empty-state p{color:var(--ink-muted);max-width:300px;margin:0 0 24px}.workflow-steps{justify-content:space-between;align-items:center;margin-bottom:32px;display:flex;position:relative}.workflow-steps:before{content:"";background:var(--line);z-index:1;height:2px;position:absolute;top:14px;left:20px;right:20px}.workflow-step{z-index:2;background:var(--paper);flex-direction:column;align-items:center;gap:8px;padding:0 8px;display:flex;position:relative}.step-circle{background:var(--surface);border:2px solid var(--line);width:30px;height:30px;color:var(--ink-muted);border-radius:50%;justify-content:center;align-items:center;font-size:13px;font-weight:700;transition:all .3s;display:flex}.workflow-step.active .step-circle{border-color:var(--primary);color:var(--primary)}.workflow-step.completed .step-circle{background:var(--primary);border-color:var(--primary);color:#fff}.step-label{color:var(--ink-muted);font-size:11px;font-weight:600}.workflow-step.active .step-label,.workflow-step.completed .step-label{color:var(--ink)}.file-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.mobile-header{background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}@media (width>=1024px){.mobile-header{display:none}}.auth-page{justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.auth-card{background:var(--surface);border-radius:var(--radius-lg);width:100%;max-width:400px;box-shadow:var(--shadow-lg);border:1px solid var(--line);padding:32px}.upload-dropzone{border-radius:18px;transition:background .18s,border-color .18s;border:2px dashed var(--border)!important}.upload-dropzone.is-dragging{background:var(--primary-light);border-color:var(--primary)!important}.order-filters,.library-filter-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 18px;display:flex}.order-filters .form-input{flex:220px}.order-filters .form-select{flex:170px}.order-summary-fields{color:var(--ink-muted);flex-wrap:wrap;gap:12px 20px;font-size:13px;display:flex}.dashboard-order-meta{color:var(--ink-muted);margin-top:7px;font-size:12px;display:block}.order-preview-disabled{margin:8px 0 0 auto;display:block}.order-page-preview-placeholder{align-items:center;gap:12px;display:flex}.order-page-preview-icon{background:var(--paper);width:56px;height:64px;color:var(--ink-muted);border-radius:10px;flex:none;place-items:center;display:grid}.order-preview-note{color:var(--ink-muted);margin-top:4px;display:block}.review-page-actions{flex-wrap:wrap;gap:6px;display:flex}.profile-edit-form{gap:10px;margin-top:14px;display:grid}.profile-edit-form label{gap:6px;display:grid}.preview-overlay,.shared-dialog-overlay{z-index:1000;background:#101a2dad;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.preview-dialog,.shared-dialog{background:var(--surface,#fff);border-radius:20px;width:min(920px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 80px #00000040}.preview-dialog>header,.preview-dialog>footer{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:14px 18px;display:flex}.preview-dialog>header{justify-content:space-between}.preview-dialog>header small{color:var(--ink-muted);margin-top:4px;display:block}.preview-dialog>footer{border-top:1px solid var(--border);border-bottom:0;flex-wrap:wrap;justify-content:center}.preview-dialog-content{background:#eef1f5;place-items:center;min-height:260px;max-height:65vh;padding:18px;display:grid;overflow:auto}.preview-dialog-content img{object-fit:contain;transform-origin:50%;max-width:100%;max-height:60vh;transition:transform .15s}.shared-dialog{max-width:480px;padding:24px}.shared-dialog footer{justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.shared-state{color:var(--ink-muted);align-items:center;gap:10px;padding:16px;display:flex}.shared-error{color:var(--danger,#b42318);flex-direction:column;align-items:flex-start}.shared-spinner{border:2px solid;border-left-color:#0000;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite shared-spin}.shared-skeleton,.adm-skeleton{background:linear-gradient(90deg,#edf1f6,#f8f9fb,#edf1f6) 0 0/200% 100%;border-radius:12px;min-height:56px;animation:1.3s infinite shared-shimmer;display:block}.shared-badge{color:var(--ink-muted);background:#eef1f5;border-radius:999px;align-items:center;padding:4px 10px;display:inline-flex}.shared-badge.tone-success{color:#18794e;background:#e8f7ef}.shared-badge.tone-warning{color:#9c5a00;background:#fff2dc}.shared-badge.tone-danger{color:#b42318;background:#fff0ef}.shared-tabs{gap:8px;display:flex;overflow:auto}.shared-tabs button{white-space:nowrap}.shared-toast{color:#18794e;background:#e8f7ef;border-radius:12px;justify-content:space-between;gap:14px;padding:12px 16px;display:flex}.shared-toast.tone-error{color:#b42318;background:#fff0ef}@keyframes shared-spin{to{transform:rotate(360deg)}}@keyframes shared-shimmer{to{background-position:-200% 0}}@media (width<=640px){.library-card-actions{flex-direction:column}.library-card-actions .btn{width:100%}.preview-overlay,.shared-dialog-overlay{padding:8px}.preview-dialog>footer{gap:6px}}.real-filters{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px;display:grid}.real-filters input,.real-row select{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:9px;padding:10px}.real-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;font-size:12px;display:flex}.real-row select{width:auto}.loading{text-align:center;color:var(--ink-muted);padding:32px}.thumbnail>div{gap:4px;margin-top:8px;display:flex}.thumbnail>div button{color:var(--teal);font-size:10px}.order-card{cursor:pointer}.auth-page{max-width:440px;margin:auto;padding-top:72px}.auth-brand{color:var(--teal);direction:ltr;font-size:43px}.auth-brand i{color:var(--accent);font-style:normal}.auth-copy{color:var(--ink-soft);font-size:12px}.auth-form{gap:14px;display:grid}.auth-form label{font-size:12px;font-weight:700}.auth-form input{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;height:48px;margin-top:7px;padding:0 12px}.auth-switch{text-align:center;font-size:11px}.auth-switch button{color:var(--teal);font-weight:700}.auth-error{color:#a34732;background:#fff0ed;border-radius:9px;margin:12px 0;padding:10px;font-size:11px}.auth-form .field-note{color:var(--ink-muted);margin-top:6px;font-size:10px;font-weight:400;line-height:1.7;display:block}.auth-form .field-note.bad{color:#a34732}.auth-form .link-btn{color:var(--teal);background:0 0;align-self:flex-start;padding:0;font-size:11px;font-weight:700;text-decoration:underline}.auth-page .steps{margin:0 0 26px}.auth-page .steps i:empty{font-size:0}.auth-form select{border:1px solid var(--line);width:100%;height:48px;color:var(--ink);background:#fff;border-radius:10px;margin-top:7px;padding:0 12px}.auth-form select:disabled{color:var(--ink-muted);background:#f4f6f4}.auth-form select:focus{border-color:var(--teal);outline:2px solid #143a362e}.auth-form .hint{text-align:right;margin:0 0 10px}.dropzone{margin-top:26px}.page-card{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;margin:0;display:flex;overflow:hidden}.page-media{aspect-ratio:3/4;background:#f2efea;place-items:center;display:grid;position:relative;overflow:hidden}.page-media img{object-fit:cover;width:100%;height:100%;display:block}.pdf-badge{color:#bd583a;letter-spacing:.04em;background:#f9e5dd;border-radius:8px;padding:12px 10px;font-size:15px;font-weight:800}.page-fallback{color:var(--ink-muted);font-size:11px;font-weight:700}.page-index{color:#fff;background:#0000008c;border-radius:11px;place-items:center;min-width:22px;height:22px;padding:0 5px;font-size:10px;font-weight:700;display:grid;position:absolute;top:6px;right:6px}.page-zoom{color:#fff;background:#00000073;border-radius:12px;place-items:center;width:24px;height:24px;font-size:11px;display:grid;position:absolute;top:6px;left:6px}.page-card figcaption{padding:8px 10px 4px}.page-card figcaption b{font-size:11px;display:block}.page-card figcaption small{color:var(--ink-muted);font-size:9px}.page-actions{flex-wrap:wrap;gap:4px;padding:6px 8px 9px;display:flex}.page-actions button{color:var(--teal);background:#f1f3f1;border-radius:7px;flex:1;min-width:64px;padding:6px 4px;font-size:10px}.page-actions button.danger{color:var(--danger)}.page-actions button:disabled{opacity:.4;cursor:not-allowed}.page-settings{border-top:1px solid var(--line);margin-top:8px;padding:8px 0}.page-settings label{align-items:center;gap:6px;font-size:11px;display:flex}.page-settings select{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:7px;min-width:110px;padding:2px 6px;font-size:11px}.upload-summary{background:var(--surface);border:1px solid var(--line);border-radius:11px;justify-content:space-between;align-items:center;margin-top:18px;padding:11px 14px;display:flex}.upload-summary b{font-size:12px}.upload-summary span{color:var(--ink-muted);font-size:10px}.success-card{text-align:center;padding:40px 0}.success-mark{width:58px;height:58px;color:var(--success);background:#e5f0ed;border-radius:20px;place-items:center;margin:0 auto 18px;font-size:28px;display:grid}.success-card h1{margin:0 0 10px;font-size:24px}.success-card p{color:var(--ink-soft);margin:0 0 22px;font-size:12px;line-height:1.8}.success-card .button{margin-top:9px}.button:disabled{opacity:.55;cursor:not-allowed;transform:none!important}.library-choice{margin-top:10px}.library-choice button{justify-content:center;align-items:center;gap:6px;display:flex}.pdf-page-grid{grid-template-columns:repeat(auto-fill,minmax(6rem,1fr));gap:4px;margin-top:6px;display:grid}.pdf-page-grid img{border:1px solid var(--line);border-radius:4px;width:100%;height:auto}.pdf-page-count{color:var(--ink-muted);margin-top:2px;font-size:9px}.order-list{gap:9px;display:grid}.order-list .order-card{cursor:pointer;margin-top:0;transition:border-color .15s,transform .15s}.order-list .order-card:hover,.order-list .order-card:focus-visible{border-color:var(--teal);outline:none;transform:translateY(-1px)}.order-list .order-top{align-items:flex-start}.order-list .order-top div{flex:1;min-width:0}.order-list .order-top h3{text-align:right;letter-spacing:.02em;direction:ltr}.order-list .order-top p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.order-open{color:var(--teal);justify-content:flex-end;align-items:center;gap:5px;margin:11px 0 0;font-size:10px;font-weight:700;display:flex}.status.done{color:var(--success);background:#e5f0ed}.order-flow{margin:20px 0 8px}.order-flow div{font-size:9px}.order-flow span{display:block}.order-hint{border-top:1px solid var(--line);color:var(--ink-soft);margin:0;padding-top:9px;font-size:11px}.order-items{margin:14px 0 0;padding:0;list-style:none}.order-items li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:11px 0;display:flex}.order-items li:first-child{border-top:0}.order-items li>div{min-width:0}.order-items b{font-size:12px;display:block}.order-items small{color:var(--ink-muted);font-size:10px}.order-items .text-btn{flex:none}.back-link{color:var(--teal);align-items:center;gap:6px;margin:18px 0 4px;font-size:11px;font-weight:700;display:inline-flex}.back-link .icon{transform:rotate(180deg)}.order-back-actions{gap:8px;margin-top:14px;display:grid}.order-detail .order-card h3{font-size:13px}@media (width>=768px){.order-list{grid-template-columns:repeat(2,1fr)}}.order-items .text-btn{text-decoration:none}.adm-shell{color:#e2e8f0;direction:rtl;background:#0f1117;min-height:100dvh;padding-bottom:104px;font-family:Inter,system-ui,sans-serif;display:flex}.adm-sidebar{background:#161a26;border-left:1px solid #ffffff12;flex-direction:column;width:240px;height:100dvh;min-height:100dvh;display:flex;position:sticky;top:0;overflow-y:auto}.adm-logo{border-bottom:1px solid #ffffff12;align-items:center;gap:.75rem;padding:1.5rem 1.25rem 1rem;font-size:1.1rem;display:flex}.adm-logo strong{letter-spacing:-.02em;font-weight:700}.adm-nav{flex-direction:column;flex:1;gap:.25rem;padding:1rem .75rem;display:flex}.adm-nav-item{color:#94a3b8;cursor:pointer;text-align:right;background:0 0;border:none;border-radius:10px;align-items:center;gap:.75rem;width:100%;padding:.65rem 1rem;font-size:.9rem;transition:all .15s;display:flex}.adm-nav-item:hover{color:#e2e8f0;background:#ffffff0d}.adm-nav-item.active{color:#818cf8;background:#6366f126;font-weight:600}.adm-sidebar-footer{border-top:1px solid #ffffff12;padding:.75rem}.adm-user-chip{background:#ffffff0a;border-radius:8px;align-items:center;gap:.5rem;margin-bottom:.5rem;padding:.5rem .75rem;display:flex}.adm-user-chip span:first-child{background:#6366f1;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.8rem;font-weight:700;display:flex}.adm-main{flex-direction:column;flex:1;min-width:0;display:flex}.adm-shell .adm-main{margin-right:308px}.adm-shell .bottom-nav-mobile{gap:2px}.adm-shell .bottom-nav-item{flex:1 1 0;min-width:0;padding:6px 2px;font-size:9px}.adm-shell .bottom-nav-item .icon{font-size:17px}.adm-shell .sidebar-desktop .sidebar-link{font-size:.88rem}.adm-subnav{flex-wrap:wrap;gap:.45rem;padding:.75rem 2rem 0;display:flex}.adm-subnav button{color:#94a3b8;background:#1e2231;border:1px solid #ffffff14;border-radius:999px;padding:.45rem .8rem;font-size:.8rem}.adm-subnav button.active{color:#fff;background:#1e40af;border-color:#3b82f6}.adm-topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10;background:#0f1117cc;border-bottom:1px solid #ffffff12;justify-content:space-between;align-items:center;padding:1.25rem 2rem;display:flex;position:sticky;top:0}.adm-topbar h1{margin:0;font-size:1.3rem;font-weight:700}.adm-role-badge{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:100px;padding:.25rem .75rem;font-size:.75rem;font-weight:700}.adm-content{flex:1;padding:1.5rem 2rem}.adm-section{margin-bottom:2.5rem}.adm-section-head{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.adm-section-head h2{color:#e2e8f0;margin:0;font-size:1.1rem;font-weight:700}.adm-filters{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.adm-filters input,.adm-filters select{color:#e2e8f0;background:#1e2231;border:1px solid #ffffff1a;border-radius:8px;outline:none;padding:.5rem .9rem;font-size:.875rem;transition:border-color .15s}.adm-filters input:focus,.adm-filters select:focus{border-color:#6366f1}.adm-table-wrap{border:1px solid #ffffff14;border-radius:12px;overflow-x:auto}.adm-table{border-collapse:collapse;width:100%;font-size:.875rem}.adm-table thead tr{background:#ffffff0a}.adm-table th,.adm-table td{text-align:right;padding:.75rem 1rem}.adm-table th{color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;font-weight:600}.adm-table tbody tr{border-top:1px solid #ffffff0d;transition:background .1s}.adm-table tbody tr:hover{background:#ffffff08}.adm-table .adm-empty{text-align:center;color:#475569;padding:2rem}.adm-actions{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;display:flex}.adm-upload-id{overflow-wrap:anywhere;max-width:15rem;font-family:ui-monospace,monospace;font-size:.8em}.adm-upload-message{color:#94a3b8;margin:.5rem 0}.adm-upload-detail-section{margin-bottom:1.5rem}.adm-upload-detail-section h4{color:#cbd5e1;margin:0 0 .75rem;font-size:.95rem}.adm-upload-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0;display:grid}.adm-upload-meta>div{background:#ffffff09;border-radius:8px;min-width:0;padding:.7rem .8rem}.adm-upload-meta dt{color:#64748b;margin-bottom:.25rem;font-size:.75rem}.adm-upload-meta dd{overflow-wrap:anywhere;color:#e2e8f0;margin:0;font-size:.875rem}.adm-upload-actions{flex-wrap:wrap;gap:.5rem;padding-top:.25rem;display:flex}.adm-badge{border-radius:100px;padding:.2rem .6rem;font-size:.75rem;font-weight:600;display:inline-block}.adm-badge.active{color:#4ade80;background:#22c55e26}.adm-badge.inactive{color:#f87171;background:#ef44441f}.adm-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;padding:.55rem 1.1rem;font-size:.875rem;font-weight:600;transition:all .15s}.adm-btn.primary{color:#fff;background:#6366f1}.adm-btn.primary:hover{background:#4f52d9;transform:translateY(-1px)}.adm-btn.secondary{color:#cbd5e1;background:#ffffff14}.adm-btn.secondary:hover{background:#ffffff21}.adm-btn.danger{color:#f87171;background:#ef444426}.adm-btn.danger:hover{background:#ef444440}.adm-btn.sm{border-radius:6px;padding:.35rem .75rem;font-size:.8rem}.adm-btn.full{width:100%}.adm-btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.adm-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.adm-modal{background:#1a1f2e;border:1px solid #ffffff1a;border-radius:16px;width:100%;max-width:520px;max-height:90dvh;animation:.2s adm-slide-in;overflow-y:auto}@keyframes adm-slide-in{0%{opacity:0;transform:translateY(20px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.adm-modal-head{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.adm-modal-head h3{margin:0;font-size:1.05rem;font-weight:700}.adm-close{color:#94a3b8;cursor:pointer;background:#ffffff12;border:none;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:.9rem;transition:background .15s;display:flex}.adm-close:hover{color:#e2e8f0;background:#ffffff21}.adm-modal-body{padding:1.5rem}.adm-form{flex-direction:column;gap:1rem;display:flex}.adm-form label{color:#94a3b8;flex-direction:column;gap:.4rem;font-size:.875rem;font-weight:500;display:flex}.adm-form input,.adm-form select,.adm-form textarea{color:#e2e8f0;background:#242938;border:1px solid #ffffff1a;border-radius:8px;outline:none;width:100%;padding:.65rem .9rem;font-size:.9rem;transition:border-color .15s}.adm-form input:focus,.adm-form select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.adm-form-actions{justify-content:flex-end;gap:.75rem;margin-top:.5rem;display:flex}.adm-error{color:#fca5a5;background:#ef44441f;border:1px solid #ef444433;border-radius:8px;padding:.65rem 1rem;font-size:.875rem}.adm-forbidden{text-align:center;color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100dvh;display:flex}.adm-forbidden h2{color:#f87171;font-size:2rem}@media (width<=768px){.adm-shell{flex-direction:column;padding-bottom:112px}.adm-shell .adm-main{margin-right:0}.adm-sidebar{display:none}.adm-nav{flex-flow:wrap;padding:.5rem}.adm-nav-item{flex:1;justify-content:center;min-width:80px;padding:.5rem;font-size:.8rem}.adm-sidebar-footer{align-items:center;gap:.5rem;padding:.5rem .75rem;display:flex}.adm-user-chip{flex:1;margin-bottom:0}.adm-content,.adm-topbar{padding:1rem}.adm-subnav{flex-wrap:nowrap;padding:.65rem 1rem 0;overflow-x:auto}.adm-subnav button{flex:none}.adm-topbar h1{font-size:1.1rem}.adm-table{font-size:.8rem}.adm-table th,.adm-table td{padding:.5rem .6rem}.adm-upload-meta{grid-template-columns:1fr}}@media (width>=769px) and (width<=1023px){.adm-shell .adm-main{margin-right:0}.adm-content{padding:1.25rem}.adm-topbar{padding:1rem 1.25rem}}@media (width<=1023px){.adm-table-wrap{border:0;overflow:visible}.adm-table{min-width:0;display:block}.adm-table thead{display:none}.adm-table tbody{gap:.65rem;display:grid}.adm-table tbody tr{background:#161a26;border:1px solid #ffffff14;border-radius:12px;padding:.45rem .75rem;display:block}.adm-table tbody tr:has(.adm-empty){background:0 0;border:0;padding:0}.adm-table tbody td{text-align:left;overflow-wrap:anywhere;border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.55rem .1rem;display:flex}.adm-table tbody td:last-child{border-bottom:0}.adm-table tbody td[data-label]:before{content:attr(data-label);color:#64748b;text-align:right;flex:none;font-size:.72rem}.adm-table tbody td.adm-empty{text-align:center;padding:1.25rem .5rem;display:block}.adm-table tbody td.adm-empty:before{content:none}.adm-table tbody td.adm-actions{flex-wrap:wrap;justify-content:flex-start}.adm-table tbody td.adm-actions:before{margin-left:auto}}.adm-subject-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.adm-subject-row select{color:#e2e8f0;background:#242938;border:1px solid #ffffff1a;border-radius:8px;outline:none;flex:12rem;min-width:0;padding:.55rem .7rem;font-family:inherit;font-size:.85rem}.adm-subject-row select:focus{border-color:#6366f1}.adm-subject-row select:disabled{opacity:.6}.adm-error-text{color:#fca5a5}.adm-ok-text{color:#4ade80}.adm-page-grid{grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.6rem;display:grid}.adm-page{background:#ffffff08;border:1px solid #ffffff14;border-radius:10px;padding:.5rem}.adm-page-media{aspect-ratio:3/4;background:#0f1420;border-radius:7px;justify-content:center;align-items:center;display:flex;overflow:hidden}.adm-page-media img{object-fit:cover;width:100%;height:100%;display:block}.adm-page-pdf{color:#f87171;font-size:1.1rem;font-weight:800}.adm-page-none{color:#475569;font-size:.7rem}.adm-page-media.multi{aspect-ratio:auto;padding:.25rem;display:block}.adm-pdf-pages{gap:.25rem;width:100%;display:grid}.adm-pdf-pages img{background:#fff;border-radius:4px;width:100%;height:auto;display:block}.adm-page-info{padding:.45rem .1rem .1rem}.adm-page-info b{color:#e2e8f0;font-size:.78rem;display:block}.adm-page-info small{color:#64748b;font-size:.68rem}.adm-page-actions{flex-wrap:wrap;gap:.3rem;margin-top:.4rem;display:flex}.adm-page-actions .adm-btn{text-align:center;flex:auto;text-decoration:none}.adm-pill{white-space:nowrap;color:#cbd5e1;background:#ffffff14;border:1px solid #ffffff1a;border-radius:999px;padding:.2rem .55rem;font-size:.75rem;font-weight:600;display:inline-block}.adm-pill-ordered{color:#c7d2fe;background:#2b2f42;border-color:#3b4060}.adm-pill-printing{color:#fcd34d;background:#33291a;border-color:#4a3a20}.adm-pill-ready{color:#7dd3fc;background:#1f3340;border-color:#2a4356}.adm-pill-with_courier{color:#c4b5fd;background:#2b2440;border-color:#3a3055}.adm-pill-delivered{color:#6ee7b7;background:#17322a;border-color:#23473a}.adm-ok-text.adm-block{margin:.5rem 0;display:block}.adm-stats-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.adm-stat-card{text-align:center;background:#ffffff0a;border:1px solid #ffffff14;border-radius:12px;padding:.9rem}.adm-stat-value{color:#e2e8f0;font-size:1.6rem;font-weight:700;display:block}.adm-stat-label{color:#94a3b8;margin-top:.2rem;font-size:.7rem;display:block}.adm-btn:focus-visible,a.adm-btn:focus-visible,.adm-close:focus-visible{outline-offset:2px;outline:2px solid #6366f1}.adm-quick-actions{flex-wrap:wrap;gap:8px;margin:0 0 18px;display:flex}.adm-profile-card{background:var(--surface,#fff);border:1px solid var(--border);border-radius:16px;gap:14px;max-width:720px;padding:20px;display:grid}.adm-profile-card label{gap:6px;display:grid}.adm-profile-card input{border:1px solid var(--border);background:var(--paper,#f8fafc);width:100%;min-height:42px;color:var(--ink);border-radius:10px;padding:8px 12px}.adm-profile-card .adm-actions{flex-wrap:wrap}.mobile-more-menu{inset-inline-end:8px;border:1px solid var(--border);background:var(--surface,#fff);border-radius:16px;gap:4px;min-width:190px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 10px);box-shadow:0 12px 36px #14233c2e}.mobile-more-menu button{text-align:start;color:var(--ink);background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:11px 12px;display:flex}.mobile-more-menu button:hover{background:var(--paper,#f4f6f8)}
