:root{color-scheme:light dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;--radius-sm: 4px;--radius-lg: 8px;--radius-xl: 12px;--radius-2xl: 16px;--radius-full: 999px;--focus-border: #0ea5e9;--focus-ring: rgba(14, 165, 233, .45);--orders-col-product: 360px;--orders-col-number: 140px;--bg: #f8fafc;--surface: #ffffff;--surface-muted: #f1f5f9;--surface-subtle: #e2e8f0;--text: #0f172a;--text-muted: #475569;--text-soft: #64748b;--border: #cbd5e1;--border-strong: #94a3b8;--overlay: rgba(15, 23, 42, .36);--interactive-bg: #ffffff;--interactive-hover: #f8fafc;--interactive-text: #0f172a;--active-bg: #0f172a;--active-bg-hover: #1e293b;--active-text: #f8fafc;--green-bg: #dcfce7;--green-border: #86efac;--green-text: #166534;--blue-bg: #dbeafe;--blue-border: #93c5fd;--blue-text: #1d4ed8;--amber-bg: #fef3c7;--amber-border: #fcd34d;--amber-text: #92400e;--rose-bg: #ffe4e6;--rose-border: #fda4af;--rose-text: #9f1239;--sky-bg: #e0f2fe;--sky-border: #7dd3fc;--sky-text: #075985;--shadow-pop: 0 2px 10px rgba(15, 23, 42, .1)}@media (prefers-color-scheme: dark){:root{--focus-border: #38bdf8;--focus-ring: rgba(56, 189, 248, .45);--bg: #020617;--surface: #0f172a;--surface-muted: #1e293b;--surface-subtle: #334155;--text: #e2e8f0;--text-muted: #94a3b8;--text-soft: #64748b;--border: #334155;--border-strong: #475569;--overlay: rgba(2, 6, 23, .62);--interactive-bg: #0f172a;--interactive-hover: #1e293b;--interactive-text: #e2e8f0;--active-bg: #e2e8f0;--active-bg-hover: #f1f5f9;--active-text: #0f172a;--green-bg: rgba(22, 101, 52, .28);--green-border: #22c55e;--green-text: #bbf7d0;--blue-bg: rgba(30, 64, 175, .3);--blue-border: #60a5fa;--blue-text: #bfdbfe;--amber-bg: rgba(146, 64, 14, .32);--amber-border: #f59e0b;--amber-text: #fde68a;--rose-bg: rgba(159, 18, 57, .3);--rose-border: #fb7185;--rose-text: #fecdd3;--sky-bg: rgba(7, 89, 133, .34);--sky-border: #38bdf8;--sky-text: #bae6fd;--shadow-pop: 0 2px 10px rgba(2, 6, 23, .45)}}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:20px;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit;color:inherit}h1{margin:0 0 10px;font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.01em}@media (min-width: 900px){h1{font-size:24px;line-height:32px}}.page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.auth-card,.dashboard-card{width:100%;max-width:560px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);padding:16px}.hint{margin:0 0 14px;color:var(--text-muted);font-size:12px;line-height:16px}.auth-form{display:flex;flex-direction:column;gap:10px}.auth-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px}.auth-mode-button{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--interactive-bg);color:var(--interactive-text);font-size:12px;line-height:16px;font-weight:600;padding:4px 12px;cursor:pointer;transition:background-color .12s ease-out,border-color .12s ease-out,color .12s ease-out}.auth-mode-button:hover:not(:disabled){background:var(--interactive-hover)}.auth-mode-button.is-active{border-color:var(--active-bg);background:var(--active-bg);color:var(--active-text)}.auth-mode-button:disabled{cursor:not-allowed;opacity:.72}.label{font-size:12px;line-height:16px;font-weight:600}.phone-input{display:grid;grid-template-columns:minmax(63px,.5fr) 2.5fr;gap:8px}input,select{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--interactive-bg);color:var(--interactive-text);padding:8px 10px;font-size:14px;line-height:20px}input::placeholder,select::placeholder{color:var(--text-soft)}input:focus-visible,select:focus-visible,.country-trigger:focus-visible,.submit-button:focus-visible,.auth-mode-button:focus-visible,.menu-toggle:focus-visible,.logout-button:focus-visible,.dashboard-link:focus-visible,.orders-tab:focus-visible,.orders-retry-button:focus-visible,.country-option:focus-visible{outline:none;border-color:var(--focus-border);box-shadow:0 0 0 2px var(--focus-ring)}.error-popup{position:fixed;top:16px;right:16px;z-index:1000;max-width:min(420px,calc(100vw - 30px));display:flex;align-items:flex-start;gap:10px;border:1px solid var(--rose-border);border-radius:var(--radius-lg);background:var(--rose-bg);color:var(--rose-text);box-shadow:var(--shadow-pop);padding:10px 12px}.error-popup-text{margin:0;font-size:12px;line-height:16px}.error-popup-close{border:0;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer;padding:0}.country-select{position:relative}.country-trigger{width:100%;min-height:36px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--interactive-bg);color:var(--interactive-text);padding:8px 10px;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.country-trigger:disabled{cursor:not-allowed;opacity:.7}.country-arrow{color:var(--text-muted);font-size:11px}.country-menu{position:absolute;z-index:30;top:calc(100% + 4px);left:0;min-width:126px;width:max-content;max-width:min(280px,calc(100vw - 32px));margin:0;padding:3px;list-style:none;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-pop);max-height:240px;overflow-y:auto}.country-option{width:100%;border:1px solid transparent;border-radius:var(--radius-lg);padding:5px 8px;text-align:left;background:transparent;color:var(--text);font-size:12px;line-height:16px;cursor:pointer}.country-option:hover{background:var(--surface-muted)}.country-option.is-active{border-color:var(--border);background:var(--surface-muted)}.phone-field.is-valid{border-color:var(--green-border);background:var(--green-bg)}.phone-field.is-valid:focus-visible{border-color:var(--green-border);box-shadow:0 0 0 2px #22c55e59}.submit-button{width:100%;height:auto!important;border:0;border-radius:var(--radius-sm);padding:14px 26px!important;min-height:44px;font-size:14px;line-height:20px;font-weight:600;text-transform:uppercase!important;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;background:linear-gradient(135deg,#00bf96,#00cda0,#00b48c);background-size:140% 140%;background-position:0% 0%;position:relative;overflow:hidden;box-shadow:none;transform:translateY(0);cursor:pointer;transition:transform .18s ease-out,background-position .35s ease-out,filter .18s ease-out}.submit-button:hover:not(:disabled){background-position:100% 100%;filter:brightness(1.03);transform:translateY(-1px)}.submit-button:active:not(:disabled){transform:translateY(0);filter:brightness(.98)}.submit-button:disabled{cursor:not-allowed;opacity:.72;filter:grayscale(.15)}.dashboard-layout{min-height:100vh;background:var(--bg)}.dashboard-header{height:56px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:0 16px;position:sticky;top:0;z-index:40}.dashboard-header-left{display:flex;align-items:center;gap:8px}.dashboard-title-wrap{display:flex;align-items:center}.dashboard-title-wrap .logo{display:block;width:220px;height:auto}.dashboard-title-wrap .logo path{fill:var(--text)}.dashboard-header-right{display:flex;align-items:center;gap:10px}.dashboard-phone{font-size:12px;line-height:16px;color:var(--text-muted);white-space:nowrap}.logout-button{border:1px solid var(--border);background:var(--interactive-bg);color:var(--interactive-text);border-radius:var(--radius-lg);cursor:pointer;transition:background-color .12s ease-out}.menu-toggle{display:none;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:none;border-radius:var(--radius-lg);background:transparent;color:var(--interactive-text);cursor:pointer;transition:background-color .12s ease-out}.menu-toggle-icon{display:inline-flex;flex-direction:column;gap:4px;width:22px}.menu-toggle-icon>span{display:block;width:100%;height:2.5px;border-radius:var(--radius-full);background:currentColor}.logout-button{font-size:14px;line-height:20px;font-weight:500;padding:6px 12px}.logout-button:hover,.menu-toggle:hover{background:var(--interactive-hover)}.dashboard-shell{min-height:calc(100vh - 56px);display:flex}.dashboard-sidebar{width:232px;flex-shrink:0;border-right:1px solid var(--border);background:var(--surface);padding:12px 10px}.dashboard-sidebar nav{display:flex;flex-direction:column;gap:4px}.dashboard-link{display:block;border:1px solid transparent;border-radius:var(--radius-lg);padding:7px 10px;color:var(--text-muted);font-size:14px;line-height:20px;font-weight:500;text-decoration:none;transition:background-color .12s ease-out,color .12s ease-out,border-color .12s ease-out}.dashboard-link:hover{background:var(--surface-muted);color:var(--text)}.dashboard-link.is-active{border-color:var(--active-bg);background:var(--active-bg);color:var(--active-text)}.dashboard-main{flex:1;padding:14px}.dashboard-content{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);min-height:calc(100vh - 86px);padding:16px}.dashboard-page-title{margin:0 0 8px;font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.01em}.dashboard-empty-note{margin:0;color:var(--text-muted);font-size:12px;line-height:16px}.settings-form{display:flex;flex-direction:column;gap:10px;margin-top:14px;max-width:560px}.settings-password-rules{margin:4px 0 0;padding-left:18px;color:var(--text-muted);font-size:12px;line-height:16px}.settings-validation-text{margin:0;color:var(--amber-text);font-size:12px;line-height:16px}.settings-feedback-text{margin:0;border-radius:var(--radius-lg);padding:8px 10px;font-size:12px;line-height:16px}.settings-feedback-text-error{border:1px solid var(--rose-border);background:var(--rose-bg);color:var(--rose-text)}.settings-feedback-text-success{border:1px solid var(--green-border);background:var(--green-bg);color:var(--green-text)}.orders-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.orders-tab{border:1px solid var(--border);border-radius:var(--radius-full);background:var(--interactive-bg);color:var(--interactive-text);font-size:12px;line-height:16px;font-weight:600;padding:4px 12px;cursor:pointer;transition:background-color .12s ease-out,border-color .12s ease-out,color .12s ease-out}.orders-tab:hover{background:var(--interactive-hover)}.orders-tab.is-active{border-color:var(--active-bg);background:var(--active-bg);color:var(--active-text)}.orders-table-wrap{margin-top:10px;overflow:auto;border:1px solid var(--border);border-radius:var(--radius-lg);max-height:62vh;background:var(--surface)}.orders-arrivals-table{width:100%;min-width:1100px;border-collapse:separate;border-spacing:0;table-layout:fixed}.orders-arrivals-table th,.orders-arrivals-table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;background:var(--surface)}.orders-arrivals-table td{padding:8px 12px;font-size:14px;line-height:20px}.orders-arrivals-table th{position:sticky;top:0;z-index:15;padding:12px;background:var(--surface-muted);color:var(--text-muted);font-size:12px;line-height:16px;font-weight:600}.orders-arrivals-table th:nth-child(1),.orders-arrivals-table td:nth-child(1){position:sticky;left:0;z-index:12;width:var(--orders-col-product);min-width:var(--orders-col-product);max-width:var(--orders-col-product)}.orders-arrivals-table th:nth-child(2),.orders-arrivals-table td:nth-child(2){position:sticky;left:var(--orders-col-product);z-index:11;width:var(--orders-col-number);min-width:var(--orders-col-number);max-width:var(--orders-col-number)}.orders-arrivals-table th:nth-child(3),.orders-arrivals-table td:nth-child(3){width:220px;min-width:220px}.orders-arrivals-table th:nth-child(4),.orders-arrivals-table td:nth-child(4){width:220px;min-width:220px}.orders-arrivals-table thead th:nth-child(1),.orders-arrivals-table thead th:nth-child(2){background:var(--surface-subtle)}.orders-arrivals-table thead th:nth-child(1){z-index:18}.orders-arrivals-table thead th:nth-child(2){z-index:17}.orders-arrivals-table tbody tr:hover td{background:var(--surface-muted)}.orders-arrivals-table tbody tr:hover td:nth-child(1),.orders-arrivals-table tbody tr:hover td:nth-child(2){background:var(--surface-muted)}.orders-arrivals-table tbody tr:last-child td{border-bottom:none}.orders-number-cell{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.arrival-status{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:var(--radius-full);padding:2px 8px;font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}.arrival-status.is-ready{border-color:var(--green-border);background:var(--green-bg);color:var(--green-text)}.arrival-status.is-pending{border-color:var(--amber-border);background:var(--amber-bg);color:var(--amber-text)}.arrival-status.is-unknown{border-color:var(--sky-border);background:var(--sky-bg);color:var(--sky-text)}.orders-error-box{margin-top:10px;border:1px solid var(--rose-border);border-radius:var(--radius-lg);background:var(--rose-bg);padding:10px}.orders-error-text{margin:0 0 8px;color:var(--rose-text);font-size:12px;line-height:16px}.orders-retry-button{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--interactive-bg);color:var(--interactive-text);font-size:12px;line-height:16px;font-weight:600;padding:5px 10px;cursor:pointer}.orders-retry-button:hover{background:var(--interactive-hover)}.dashboard-overlay{border:none;padding:0;margin:0}@media (min-width: 900px){.dashboard-main{padding:16px}.auth-card,.dashboard-card,.dashboard-content{padding:24px}.dashboard-page-title{font-size:24px;line-height:32px}}@media (max-width: 900px){:root{--orders-col-product: 280px;--orders-col-number: 128px}.menu-toggle{display:inline-flex;width:36px;height:36px}.menu-toggle-icon{width:24px;gap:5px}.menu-toggle-icon>span{height:3px}.dashboard-header{padding:0 12px}.dashboard-header-right{gap:6px}.dashboard-phone{max-width:170px;overflow:hidden;text-overflow:ellipsis}.dashboard-sidebar{position:fixed;left:0;top:56px;bottom:0;width:min(80vw,280px);transform:translate(-100%);transition:transform .2s ease-out;box-shadow:var(--shadow-pop);z-index:70}.dashboard-sidebar.is-open{transform:translate(0)}.dashboard-overlay{position:fixed;top:56px;left:0;right:0;bottom:0;z-index:60;background:var(--overlay)}.dashboard-main{width:100%;padding:12px}.dashboard-content{min-height:calc(100vh - 72px);padding:12px}}@media (max-width: 640px){:root{--orders-col-product: 240px;--orders-col-number: 116px}.error-popup{top:10px;right:10px;left:10px;max-width:none}.phone-input{grid-template-columns:minmax(92px,112px) minmax(0,1fr);gap:6px}.dashboard-title-wrap .logo{width:150px}.dashboard-phone{max-width:110px;font-size:11px;line-height:14px}.logout-button{font-size:12px;line-height:16px;padding:5px 9px}.orders-tab{padding:3px 10px;font-size:11px;line-height:14px}.orders-table-wrap{margin-top:8px;overflow:visible;border:none;border-radius:0;max-height:none;background:transparent}.orders-arrivals-table{min-width:0;table-layout:auto}.orders-arrivals-table thead{display:none}.orders-arrivals-table tbody{display:flex;flex-direction:column;gap:0;padding:4px 0}.orders-arrivals-table tbody tr{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden;margin:6px 0}.orders-arrivals-table th,.orders-arrivals-table td,.orders-arrivals-table th:nth-child(1),.orders-arrivals-table td:nth-child(1),.orders-arrivals-table th:nth-child(2),.orders-arrivals-table td:nth-child(2),.orders-arrivals-table th:nth-child(3),.orders-arrivals-table td:nth-child(3),.orders-arrivals-table th:nth-child(4),.orders-arrivals-table td:nth-child(4){position:static;left:auto;width:auto;min-width:0;max-width:none;z-index:auto}.orders-arrivals-table td{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:8px 12px;border:0;white-space:normal;font-size:13px;line-height:18px;background:var(--surface)}.orders-arrivals-table td:before{content:attr(data-label);color:var(--text-muted);font-size:12px;line-height:16px;font-weight:600;flex-shrink:0}.orders-product-cell{display:flex;align-items:flex-start;justify-content:flex-start;gap:0;width:100%;padding:24px 12px 10px;font-size:18px;line-height:24px;font-weight:600;text-align:left}.orders-product-cell:before{content:none}.orders-mobile-row-cell .orders-cell-value,.orders-mobile-row-cell .arrival-status{margin-left:auto;text-align:right}.orders-mobile-row-cell .arrival-status{flex-shrink:0}.orders-arrivals-table tbody tr td:last-child{padding-bottom:16px}.orders-number-cell{white-space:normal}.orders-number-cell .orders-cell-value{font-size:14px;line-height:20px;font-weight:600;font-variant-numeric:tabular-nums}.orders-arrivals-table tbody tr:hover td,.orders-arrivals-table tbody tr:hover td:nth-child(1),.orders-arrivals-table tbody tr:hover td:nth-child(2){background:var(--surface)}}
