*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-text-size-adjust:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f5f5f5;color:#1a1a1a;line-height:1.5;min-height:100vh}a{color:#1a73e8;text-decoration:none}button{cursor:pointer;font-family:inherit;font-size:inherit}.loading-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;color:#666}.loading-text{text-align:center;color:#666;padding:2rem}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:1rem;background:linear-gradient(135deg,#1a73e8,#0d47a1)}.login-card{background:#fff;border-radius:12px;padding:2.5rem 2rem;width:100%;max-width:400px;text-align:center;box-shadow:0 4px 24px #00000026}.login-title{font-size:1.75rem;font-weight:700;color:#1a73e8;margin-bottom:.25rem}.login-subtitle{font-size:.875rem;color:#666;margin-bottom:1.5rem}.login-divider{height:1px;background:#e0e0e0;margin:1.5rem 0}.login-error{background:#ffebee;color:#c62828;padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem;font-size:.875rem}.login-loading{color:#666;padding:1rem}.google-btn-container{display:flex;justify-content:center;margin:1.5rem 0}.login-hint{font-size:.75rem;color:#999;margin-top:1.5rem;line-height:1.6}.app-layout{display:flex;flex-direction:column;min-height:100vh}.app-header{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 1rem;height:56px;background:#1a73e8;color:#fff;box-shadow:0 2px 8px #0000001a}.app-header__title{font-weight:700;font-size:1.125rem;letter-spacing:.5px}.app-header__user{display:flex;align-items:center;gap:.75rem}.app-header__name{font-size:.8125rem;opacity:.9}.app-header__logout{background:#fff3;color:#fff;border:none;padding:6px 12px;border-radius:6px;font-size:.75rem;min-height:32px}.app-header__logout:active{background:#ffffff4d}.app-main{flex:1;padding-bottom:64px;overflow-y:auto}.app-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;display:flex;height:56px;background:#fff;border-top:1px solid #e0e0e0;box-shadow:0 -2px 8px #0000000d}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#999;text-decoration:none;min-height:56px;gap:2px;transition:color .15s}.nav-item--active{color:#1a73e8}.nav-icon{font-size:1.25rem;line-height:1}.nav-label{font-size:.6875rem;font-weight:500}.page-container{padding:1rem;max-width:600px;margin:0 auto}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.page-header h1{font-size:1.375rem;font-weight:700}.task-count{font-size:.875rem;color:#666;background:#e8e8e8;padding:4px 10px;border-radius:12px}.error-banner{background:#ffebee;color:#c62828;padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem;font-size:.875rem}.empty-state{text-align:center;padding:3rem 1rem;color:#999}.task-list{display:flex;flex-direction:column;gap:.75rem}.task-card{background:#fff;border-radius:10px;border-left:4px solid #ccc;padding:.875rem;box-shadow:0 1px 4px #0000000f}.task-card--overdue{box-shadow:0 1px 4px #f4433626}.task-card__header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}.task-badge{font-size:.75rem;font-weight:600;padding:3px 8px;border-radius:6px}.overdue-badge{font-size:.6875rem;font-weight:700;color:#f44336;background:#ffebee;padding:2px 6px;border-radius:4px}.sku-badge{font-size:.6875rem;font-weight:600;color:#333;background:#f0f0f0;padding:2px 6px;border-radius:4px}.task-card__customer{display:flex;align-items:center;justify-content:space-between;margin-bottom:.375rem}.customer-name{font-weight:600;font-size:.9375rem}.customer-phone{font-size:.8125rem;color:#1a73e8}.task-card__context{display:flex;gap:.75rem;font-size:.75rem;color:#888;margin-bottom:.625rem;flex-wrap:wrap}.pain-point{color:#666;font-style:italic}.task-card__actions{display:flex;gap:.5rem;flex-wrap:wrap}.action-btn{flex:1;min-width:70px;min-height:44px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;font-size:.75rem;font-weight:600;color:#333;transition:background .15s,color .15s}.action-btn:disabled{opacity:.5;cursor:not-allowed}.action-btn--sent:active{background:#e8f5e9;color:#2e7d32;border-color:#4caf50}.action-btn--replied:active{background:#e3f2fd;color:#1565c0;border-color:#2196f3}.action-btn--no-response:active{background:#fff3e0;color:#e65100;border-color:#ff9800}.action-btn--skip:active{background:#eceff1;color:#455a64;border-color:#607d8b}.search-bar{position:relative;margin-bottom:1rem}.search-input{width:100%;padding:.75rem 2.5rem .75rem 1rem;border:1px solid #e0e0e0;border-radius:10px;font-size:1rem;background:#fff;min-height:48px}.search-input:focus{outline:none;border-color:#1a73e8;box-shadow:0 0 0 3px #1a73e81a}.search-clear{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;border:none;font-size:1.25rem;color:#999;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}.section-label{font-size:.75rem;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.customer-list{display:flex;flex-direction:column;gap:.5rem}.customer-row{background:#fff;border-radius:10px;padding:.875rem;box-shadow:0 1px 4px #0000000f;cursor:pointer;transition:box-shadow .15s}.customer-row:active{box-shadow:0 1px 4px #1a73e826}.customer-row__main{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}.customer-row__name{font-weight:600;font-size:.9375rem}.customer-row__nickname{font-size:.8125rem;color:#888}.customer-row__details{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.customer-row__phone{font-size:.8125rem;color:#1a73e8}.customer-row__region{font-size:.6875rem;font-weight:600;color:#666;background:#f0f0f0;padding:2px 6px;border-radius:4px}.customer-row__status{font-size:.6875rem;font-weight:600;padding:2px 8px;border-radius:4px}.customer-row__pain{font-size:.75rem;color:#888;font-style:italic;margin-top:.25rem}.back-btn{background:none;border:none;color:#1a73e8;font-size:.875rem;font-weight:600;padding:.5rem 0;min-height:44px;display:flex;align-items:center;margin-bottom:.5rem}.detail-header{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 1px 4px #0000000f;margin-bottom:1rem}.detail-header__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.detail-header__name{font-size:1.25rem;font-weight:700}.detail-header__status{font-size:.75rem;font-weight:600;padding:3px 10px;border-radius:6px}.detail-header__nickname{font-size:.875rem;color:#888;margin-bottom:.375rem}.detail-header__contact{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.detail-header__phone{font-size:.9375rem;color:#1a73e8;font-weight:600}.detail-header__region{font-size:.75rem;font-weight:600;color:#666;background:#f0f0f0;padding:2px 8px;border-radius:4px}.detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;border-top:1px solid #f0f0f0;padding-top:.75rem}.stat-box{display:flex;flex-direction:column;align-items:center;text-align:center}.stat-value{font-size:1rem;font-weight:700;color:#1a73e8}.stat-label{font-size:.625rem;color:#999;text-transform:uppercase}.tab-bar{display:flex;background:#fff;border-radius:10px;padding:4px;margin-bottom:1rem;box-shadow:0 1px 4px #0000000f}.tab-btn{flex:1;background:none;border:none;padding:.625rem .25rem;font-size:.8125rem;font-weight:600;color:#888;border-radius:8px;min-height:44px;transition:background .15s,color .15s}.tab-btn--active{background:#1a73e8;color:#fff}.timeline-list{display:flex;flex-direction:column}.timeline-item{display:flex;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #f0f0f0}.timeline-item:last-child{border-bottom:none}.timeline-item__dot{width:10px;height:10px;border-radius:50%;background:#1a73e8;margin-top:4px;flex-shrink:0}.timeline-item__content{flex:1}.timeline-item__type{font-size:.6875rem;font-weight:600;color:#1a73e8;text-transform:uppercase}.timeline-item__desc{font-size:.875rem;color:#333;margin:.125rem 0}.timeline-item__date{font-size:.75rem;color:#999}.orders-list{display:flex;flex-direction:column;gap:.5rem}.order-card{background:#fff;border-radius:10px;padding:.75rem;box-shadow:0 1px 4px #0000000f}.order-card__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.375rem}.order-card__date{font-weight:600;font-size:.875rem}.order-card__status{font-size:.6875rem;font-weight:600;padding:2px 8px;border-radius:4px;text-transform:uppercase}.order-card__status--pending{background:#fff3e0;color:#e65100}.order-card__status--shipped{background:#e3f2fd;color:#1565c0}.order-card__status--delivered{background:#e8f5e9;color:#2e7d32}.order-card__status--cancelled{background:#eceff1;color:#455a64}.order-card__details{display:flex;gap:.75rem;font-size:.8125rem;color:#666}.first-order-badge{font-size:.6875rem;font-weight:600;color:#9c27b0;background:#f3e5f5;padding:2px 6px;border-radius:4px}.order-card__delivery{font-size:.75rem;color:#2e7d32;margin-top:.25rem}.task-tab-list{display:flex;flex-direction:column;gap:.5rem}.task-tab-item{background:#fff;border-radius:10px;padding:.75rem;box-shadow:0 1px 4px #0000000f}.task-tab-item--overdue{border-left:3px solid #f44336}.task-tab-item__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.task-tab-item__type{font-weight:600;font-size:.875rem}.task-tab-item__status{font-size:.6875rem;font-weight:600;padding:2px 8px;border-radius:4px}.task-tab-item__meta{display:flex;gap:.75rem;font-size:.75rem;color:#888;flex-wrap:wrap}.task-tab-item__notes{font-size:.8125rem;color:#666;font-style:italic;margin-top:.375rem;padding-top:.375rem;border-top:1px solid #f0f0f0}.profile-tab{display:flex;flex-direction:column;gap:1rem}.profile-section{background:#fff;border-radius:10px;padding:.875rem;box-shadow:0 1px 4px #0000000f}.profile-section__title{font-size:.75rem;font-weight:700;color:#1a73e8;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.profile-field{display:flex;justify-content:space-between;padding:.375rem 0;border-bottom:1px solid #f5f5f5}.profile-field:last-child{border-bottom:none}.profile-field__label{font-size:.8125rem;color:#888}.profile-field__value{font-size:.8125rem;color:#333;font-weight:500;text-align:right;max-width:60%;word-break:break-word}.order-form{display:flex;flex-direction:column;gap:.75rem}.form-section{display:flex;flex-direction:column}.form-section--half{flex:1}.form-row{display:flex;gap:.75rem}.form-label{font-size:.8125rem;font-weight:600;color:#555;margin-bottom:.25rem}.form-input{width:100%;padding:.75rem;border:1px solid #e0e0e0;border-radius:8px;font-size:.9375rem;font-family:inherit;min-height:44px;background:#fff}.form-input:focus{outline:none;border-color:#1a73e8;box-shadow:0 0 0 3px #1a73e81a}.form-textarea{resize:vertical;min-height:80px}.selected-customer{display:flex;align-items:center;justify-content:space-between;background:#e3f2fd;border:1px solid #90caf9;border-radius:8px;padding:.75rem;font-weight:600;font-size:.9375rem}.remove-btn{background:none;border:none;font-size:1.25rem;color:#666;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}.customer-search-inline{position:relative}.customer-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px #0000001a;max-height:200px;overflow-y:auto;z-index:50}.customer-dropdown__item{display:flex;align-items:center;justify-content:space-between;padding:.75rem;cursor:pointer;min-height:44px;border-bottom:1px solid #f5f5f5}.customer-dropdown__item:last-child{border-bottom:none}.customer-dropdown__item:active{background:#f5f5f5}.customer-dropdown__name{font-weight:600;font-size:.9375rem}.customer-dropdown__phone{font-size:.8125rem;color:#888}.product-picker{display:flex;flex-wrap:wrap;gap:.5rem}.product-chip{display:inline-flex;align-items:center;padding:.5rem .875rem;border:1px solid #e0e0e0;border-radius:20px;background:#fff;font-size:.875rem;font-weight:600;min-height:44px;transition:all .15s}.product-chip--selected{background:#e3f2fd;border-color:#1a73e8;color:#1a73e8}.product-chip__check{color:#1a73e8}.order-items-summary{margin-top:.5rem;background:#fafafa;border-radius:8px;padding:.75rem}.order-item-row{display:flex;justify-content:space-between;padding:.375rem 0;font-size:.8125rem;border-bottom:1px solid #f0f0f0}.order-item-row:last-child{border-bottom:none}.order-item-price{color:#666}.order-totals{padding-top:.5rem;margin-top:.375rem;border-top:2px solid #e0e0e0;font-size:.9375rem;text-align:right}.submit-btn{width:100%;padding:.875rem;background:#1a73e8;color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:700;min-height:48px;margin-top:.5rem}.submit-btn:active{background:#1557b0}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.refresh-btn{background:#f0f0f0;border:none;padding:6px 14px;border-radius:6px;font-size:.8125rem;font-weight:600;color:#555;min-height:36px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1.5rem}.summary-card{background:#fff;border-radius:10px;padding:.875rem;box-shadow:0 1px 4px #0000000f;border-top:3px solid #ccc;display:flex;flex-direction:column;align-items:center;text-align:center}.summary-card__value{font-size:1.5rem;font-weight:700}.summary-card__label{font-size:.75rem;color:#888;margin-top:.125rem}.summary-card__subtitle{font-size:.625rem;color:#bbb}.dashboard-section{margin-bottom:1.5rem}.dashboard-section__title{font-size:1rem;font-weight:700;margin-bottom:.75rem}.empty-state-text{color:#999;font-size:.875rem;text-align:center;padding:1rem}.staff-table{background:#fff;border-radius:10px;box-shadow:0 1px 4px #0000000f;overflow:hidden}.staff-table__header{display:grid;grid-template-columns:1fr auto auto;gap:.75rem;padding:.625rem .875rem;background:#f5f5f5;font-size:.75rem;font-weight:600;color:#888;text-transform:uppercase}.staff-table__row{display:grid;grid-template-columns:1fr auto auto;gap:.75rem;padding:.75rem .875rem;border-bottom:1px solid #f5f5f5;font-size:.875rem;align-items:center}.staff-table__row:last-child{border-bottom:none}.staff-role{font-size:.6875rem;font-weight:600;color:#888;background:#f0f0f0;padding:2px 6px;border-radius:4px}.staff-count{font-weight:700;color:#1a73e8;min-width:2rem;text-align:center}.overdue-list{display:flex;flex-direction:column;gap:.5rem}.overdue-item{background:#fff;border-radius:10px;padding:.75rem;border-left:3px solid #f44336;box-shadow:0 1px 4px #0000000f}.overdue-item__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.overdue-item__type{font-size:.75rem;font-weight:600;color:#f44336}.overdue-item__date{font-size:.75rem;color:#999}.overdue-item__details{display:flex;align-items:center;justify-content:space-between;font-size:.875rem}.overdue-item__phone{font-size:.8125rem;color:#1a73e8}@media(min-width:768px){.page-container{max-width:720px;padding:1.5rem}.task-card__actions{flex-wrap:nowrap}.dashboard-grid{grid-template-columns:repeat(4,1fr)}}@media(min-width:1280px){.page-container{max-width:800px}.app-nav{top:0;bottom:auto;left:0;width:200px;height:100vh;flex-direction:column;border-top:none;border-right:1px solid #e0e0e0;padding-top:64px;box-shadow:2px 0 8px #0000000d}.nav-item{flex-direction:row;justify-content:flex-start;padding:0 1.5rem;gap:.75rem;min-height:48px}.app-main{margin-left:200px;padding-bottom:0}}
