*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;height:100%;min-height:100vh;min-height:100dvh;margin:0;padding:0;overflow-x:hidden;font-family:Noto Sans Thai,sans-serif;-webkit-text-size-adjust:100%}input,button,textarea,select{font-family:inherit}img,svg,video,canvas{max-width:100%;height:auto}button,a{touch-action:manipulation}#root{width:100%;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}@media(max-width:768px){input,textarea,select{font-size:16px!important}}.nav-dropdown-container{position:relative;display:inline-block}.nav-dropdown-menu{display:none;position:absolute;top:100%;left:0;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:8px;box-shadow:0 4px 12px #0000001a;min-width:160px;z-index:200;overflow:hidden;overflow-y:auto;max-width:min(280px,calc(100vw - 2rem));max-height:min(60vh,360px);-webkit-overflow-scrolling:touch;padding:.5rem 0;margin-top:.5rem}.nav-dropdown-container>a{display:inline-flex;align-items:center;min-height:44px}.nav-dropdown-container:after{content:"";position:absolute;top:100%;left:0;width:100%;height:1rem;background:transparent}.nav-dropdown-container:hover .nav-dropdown-menu{display:block;animation:dropdownFadeIn .2s ease-in-out}.nav-dropdown-container:focus-within .nav-dropdown-menu{display:block;animation:dropdownFadeIn .2s ease-in-out}.nav-dropdown-container.is-open .nav-dropdown-menu{display:block;animation:dropdownFadeIn .2s ease-in-out}.nav-dropdown-menu .nav-dropdown-item{display:block;padding:.6rem 1.2rem;color:#555;text-decoration:none;font-size:.85rem;font-weight:500;transition:background .2s,color .2s}.nav-dropdown-menu .nav-dropdown-item:hover,.nav-dropdown-menu .nav-dropdown-item.active{background:var(--nav-active-bg, rgba(211, 47, 47, .05));color:var(--primary-color, #d32f2f)}@media(max-width:768px){.nav-dropdown-container{display:inline-block;width:auto;flex:0 0 auto}.nav-dropdown-container>a{width:auto;justify-content:flex-start;gap:.3rem}.nav-dropdown-container:after{display:none}.nav-dropdown-menu{position:absolute;top:calc(100% + .35rem);left:0;right:auto;width:max-content;min-width:170px;max-width:min(240px,calc(100vw - 1rem));border:1px solid rgba(226,232,240,.9);border-radius:12px;box-shadow:0 8px 18px #0f172a14;margin-top:0}.header-nav>.nav-dropdown-container:last-child .nav-dropdown-menu{left:auto;right:0}.nav-dropdown-menu .nav-dropdown-item{padding:.72rem .95rem}}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.dashboard-container{--dashboard-page-gutter: clamp(1rem, 1.8vw, 2rem);--dashboard-section-gap: clamp(1rem, 1.5vw, 1.5rem);display:flex;flex-direction:column;min-height:100vh;width:100%;background:linear-gradient(to bottom,#ffffff,#ffffff,#ffffff,#ffffff,#f5f5f5,var(--bg-gradient-end, #fe161658))}.dashboard-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.85rem 1.2rem;padding:.8rem 2rem;background-color:#ffffffe0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 14px #0f172a14;position:sticky;top:0;z-index:100}.header-logo{flex:0 0 auto;font-size:1.4rem;font-weight:700;font-family:Prompt,sans-serif;background:var(--logo-gradient, linear-gradient(135deg, #7a0505, #ff8a80));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:1px;filter:drop-shadow(2px 1px 1px rgba(0,0,0,.4))}.header-nav{display:flex;align-items:center;flex:1 1 420px;min-width:0;flex-wrap:wrap;row-gap:.35rem;gap:1.5rem}.header-nav a{display:inline-flex;align-items:center;min-height:44px;color:#9ca3af;text-decoration:none;font-size:.9rem;font-weight:500;transition:color .2s;position:relative}.header-nav a:hover,.header-nav a.active{color:var(--hover-text, #580000)}.header-nav a.active:after{content:"";position:absolute;bottom:-4px;left:0;right:0;height:2px;background:var(--gradient-light, linear-gradient(90deg, #ff4d4d, #ff8a80));border-radius:1px}.header-user{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;min-width:0;margin-left:auto;gap:.75rem}.header-avatar{width:34px;height:34px;border-radius:50%;background:var(--gradient-main, linear-gradient(135deg, #a40101, #ff6b6b));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:.85rem}.header-username{color:#94a3b8;font-size:.9rem;font-weight:500;max-width:min(28vw,220px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-button{background:none;border:1px solid rgba(148,163,184,.3);color:#9ca3af;padding:.35rem .9rem;min-height:40px;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .2s}.logout-button:hover{border-color:var(--primary-light, #ff4d4d);color:var(--primary-light, #ff4d4d)}.dashboard-body{flex:1;padding:var(--dashboard-page-gutter);width:100%}.dashboard-overview-grid{display:grid;grid-template-columns:minmax(300px,336px) minmax(0,1fr);gap:1.1rem 1.25rem;align-items:start}.dashboard-calendar-slot{display:flex;justify-content:flex-start;align-items:flex-start;min-width:0}.dashboard-overview-main{min-width:0;display:flex;flex-direction:column;gap:.95rem}.dashboard-overview-grid--compact .dashboard-overview-main{justify-content:center}.dashboard-content{flex:1;min-width:0;width:100%;display:flex;flex-direction:column;gap:1.25rem}.dashboard-welcome{min-width:0;padding-top:.1rem}.dashboard-welcome h1{font-size:clamp(1.7rem,2.2vw,2.15rem);font-weight:700;color:#1f2937;margin-bottom:.3rem;letter-spacing:-.02em}.dashboard-welcome p{color:#94a3b8;font-size:.88rem;max-width:56ch;margin:0}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin-bottom:0}.stat-card{background:#fffffff5;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:16px;border:1px solid rgba(226,232,240,.9);padding:1rem 1.2rem;min-height:82px;box-shadow:0 10px 24px #0f172a0d;transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px #0f172a14}.stat-card .stat-label{font-size:.76rem;color:#94a3b8;letter-spacing:.01em;margin-bottom:.45rem}.stat-card .stat-value{font-size:2rem;font-weight:700;line-height:1;color:#1f2937}.stat-card .stat-change{font-size:.8rem;margin-top:.4rem}.stat-change.positive{color:#2e7d32}.stat-change.negative{color:#c62828}.stat-card.stat-blue{background:linear-gradient(to bottom,#fff,#f0fdff)}.stat-card.stat-blue .stat-value{color:#5ba7ff}.stat-card.stat-yellow{background:linear-gradient(to bottom,#fff,#fcffec)}.stat-card.stat-yellow .stat-value{color:#ff8b25d0}.stat-card.stat-green{background:linear-gradient(to bottom,#fff,#eefff2)}.stat-card.stat-green .stat-value{color:#2e7d32}.stat-card.stat-red{background:linear-gradient(to bottom,#fff,#ffe6e8)}.stat-card.stat-red .stat-value{color:#c62828}.add-data-btn{margin-top:1rem;padding:.55rem 1.6rem;border:none;border-radius:8px;background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;box-shadow:0 3px 10px var(--shadow-color, rgba(211, 47, 47, .3));transition:all .25s}.add-data-btn:hover{transform:translateY(-1px);box-shadow:0 5px 16px var(--shadow-color, rgba(211, 47, 47, .4))}@media(max-width:1024px){.dashboard-header{align-items:flex-start;padding:calc(.75rem + env(safe-area-inset-top)) 1rem .85rem;overflow:visible}.header-nav{order:3;width:100%;flex:1 1 100%;flex-wrap:wrap;overflow:visible;padding-bottom:.25rem;margin-bottom:-.25rem}.header-user{flex:1 1 auto}.dashboard-body{padding:1rem}.dashboard-overview-grid{grid-template-columns:minmax(0,1fr);gap:1rem}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-bottom-grid{grid-template-columns:1fr}}@media(max-width:768px){.dashboard-header{padding:calc(.65rem + env(safe-area-inset-top)) .9rem .8rem}.header-nav{gap:.55rem .8rem;align-items:center;justify-content:flex-start}.header-nav a{font-size:.8rem}.header-username{display:none}.header-user{width:100%;justify-content:space-between}.logout-button{margin-left:auto}.dashboard-body{padding:1rem}.dashboard-welcome h1{font-size:1.4rem}.dashboard-stats{grid-template-columns:1fr 1fr;gap:.8rem}.monthly-view-container,.focus-box,.notice-box{padding:1rem}.monthly-view-header{flex-direction:column;align-items:stretch;gap:.75rem}.month-selector{width:100%;justify-content:space-between}.stat-card{padding:1rem}.stat-card .stat-value{font-size:1.4rem}.sales-report-box{width:100%;max-width:100%;justify-self:stretch}.dashboard-sales-report-stack{width:100%}.notice-item-header{flex-direction:column;align-items:flex-start}.sales-report-table{table-layout:auto}.sales-report-table th,.sales-report-table td{width:auto;min-width:12ch;max-width:none}}.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(430px,1.12fr) minmax(0,1.48fr);gap:1rem 1.25rem;margin-top:0;align-items:start}.focus-box{background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:18px;border:1px solid rgba(226,232,240,.86);padding:1rem 1.2rem;box-shadow:0 10px 24px #0f172a0d;border-left:4px solid #248043;width:100%;align-self:flex-start}.focus-title{font-size:1.02rem;font-weight:700;color:#0f172a;margin:0 0 .85rem}.focus-table{width:100%;border-collapse:collapse}.focus-table thead th{text-align:left;font-size:.74rem;font-weight:700;color:#64748b;padding:.35rem .65rem .55rem;border-bottom:1px solid rgba(148,163,184,.24);letter-spacing:.01em}.focus-table tbody td{padding:.55rem .65rem;font-size:.84rem;color:#333;border-bottom:1px solid rgba(226,232,240,.8);vertical-align:middle}.focus-table tbody tr:last-child td{border-bottom:none}.focus-table tbody tr:hover{background:var(--nav-active-bg, rgba(211, 47, 47, .03))}.focus-warn-icon{margin-right:.4rem}.focus-days-left{font-size:.72rem;font-weight:600;color:var(--primary-color, #d32f2f);background:var(--nav-active-bg, rgba(211, 47, 47, .1));padding:.15rem .5rem;border-radius:10px;display:inline-block;margin-top:.2rem}.focus-empty{text-align:center;padding:1.5rem!important;color:#888;font-size:.9rem}.notice-box{background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:18px;border:1px solid rgba(226,232,240,.86);padding:1rem 1.2rem;box-shadow:0 10px 24px #0f172a0d;border-left:4px solid #248043;width:100%;align-self:flex-start}.announcement-box{min-width:0}.notice-list{display:flex;flex-direction:column;gap:12px;min-width:0}.notice-item-card{background:#fffffff2;border:1px solid #e2e8f0;border-radius:8px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;transition:transform .2s,box-shadow .2s;min-width:0}.notice-item-card:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000000d}.notice-item-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem;flex-wrap:wrap}.notice-item-topic{font-weight:600;color:#1e293b;font-size:.95rem;flex:1 1 220px;min-width:0;overflow-wrap:anywhere;word-break:break-word}.notice-item-date{font-size:.75rem;color:#64748b;background:#f1f5f9;padding:2px 6px;border-radius:4px;flex:0 0 auto;max-width:100%}.notice-item-detail{font-size:.85rem;color:#475569;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.notice-item-author{font-size:.75rem;color:#94a3b8;margin-top:4px;font-style:italic}.dashboard-sales-report-stack{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:none;min-width:0;justify-self:stretch;grid-column:auto}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home,.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel{width:100%;max-width:none}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap{overflow-x:visible}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap.dashboard-sales-panel-table-wrap--customer-fit{overflow-x:auto}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table{width:100%;table-layout:auto}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--account{width:11%}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--area{width:43%}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--target,.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--sales{width:16%}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--achieve{width:14%}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table th{white-space:normal;line-height:1.3}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-area-cell,.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-account-cell{white-space:normal;word-break:normal}.dashboard-sales-report-stack .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-number{white-space:nowrap}.dashboard-bottom-grid--sales-focused{grid-template-columns:minmax(430px,1.14fr) minmax(0,1.46fr)}.dashboard-home-side-stack{display:flex;flex-direction:column;gap:.9rem;min-width:0;width:100%}.dashboard-sales-report-stack--fluid{width:100%;max-width:none;justify-self:stretch}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home,.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel{width:100%;max-width:none}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap{overflow-x:visible}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table{width:100%;table-layout:auto}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--account{width:10%}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--area{width:44%}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--target,.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--sales{width:16%}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-col--achieve{width:14%}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table th,.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table td{padding:.65rem .55rem}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-area-cell{white-space:normal;word-break:normal;overflow-wrap:anywhere}.dashboard-bottom-grid--sales-focused .dashboard-sales-panels--dashboard-home .dashboard-sales-panel-area-value--stacked{align-items:flex-start}.sales-report-box{border-left-color:#1f7a47;width:100%;justify-self:stretch}.sales-report-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.35rem}.sales-report-subtitle{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:-.15rem;color:#64748b;font-size:.82rem}.sales-report-table-wrap{width:100%;overflow-x:auto}.sales-report-table{width:100%;table-layout:fixed;border-collapse:collapse}.sales-report-table th,.sales-report-table td{padding:.75rem .8rem;border-bottom:1px solid rgba(15,23,42,.08);text-align:center;font-size:.88rem;color:#1f2937;vertical-align:middle;width:15ch;min-width:15ch;max-width:15ch;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.sales-report-table th{font-size:.76rem;font-weight:700;letter-spacing:.04em;color:#48614f;background:#f3faf5;text-transform:uppercase}.sales-report-table tbody tr:last-child td{border-bottom:none}.sales-report-table tbody tr:hover{background:#1f7a470a}.sales-report-account{font-weight:600;display:flex;flex-direction:column;align-items:center;gap:.2rem}.sales-report-code{margin-top:.18rem;font-size:.72rem;color:#64748b}.sales-report-cell{text-align:center!important}.sales-report-number{text-align:center!important;white-space:normal}@media(max-width:480px){.dashboard-stats{grid-template-columns:1fr}.header-nav{gap:.6rem}.dashboard-bottom-grid{grid-template-columns:1fr}}.monthly-view-container{background:#fff;border-radius:18px;border:1px solid rgba(255,255,255,.98);padding:20px 20px 18px;box-shadow:0 12px 28px #0f172a0d;margin-top:0}.monthly-view-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.monthly-title{margin:0;font-size:1.02rem;color:#0f172a;font-weight:700}.month-selector{display:flex;align-items:center;gap:10px;background-color:#f1f5f9f2;padding:4px 10px;border:1px solid rgba(203,213,225,.9);border-radius:999px}.month-nav-btn{background:none;border:none;font-size:1.25rem;color:#475569;cursor:pointer;padding:4px 8px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.month-nav-btn:hover{background-color:#e2e8f0;color:#fca311}.month-label{font-size:.86rem;font-weight:600;color:#334155;min-width:132px;text-align:center}.monthly-calendar-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.monthly-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr));min-width:980px;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.monthly-calendar-header{background-color:#2e7d32;text-align:center;padding:12px 10px;font-size:.78rem;font-weight:600;color:#fff;border-bottom:2px solid #cbd5e1;border-right:1px solid #e2e8f0}.monthly-calendar-header:last-child{border-right:none}.monthly-calendar-cell{background-color:#fff;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;min-height:132px;display:flex;flex-direction:column}.monthly-calendar-cell:nth-child(7n){border-right:none}.monthly-calendar-cell.disabled{background-color:#f8fafc}.monthly-calendar-day-num{text-align:center;font-size:.9rem;padding:6px 0;border-bottom:1px solid #cbd5e1;margin:0 10px;color:#64748b;font-weight:600}.monthly-calendar-cell.disabled .monthly-calendar-day-num{color:#cbd5e1;border-bottom:1px solid #e2e8f0}.monthly-calendar-todos{padding:8px 10px;display:flex;flex-direction:column;gap:6px;flex:1}.monthly-calendar-todo-item{width:100%;border:0;font-size:.75rem;color:#334155;background-color:#f1f5f9;padding:4px 6px;border-radius:4px;display:flex;align-items:flex-start;line-height:1.3;text-align:left;cursor:pointer;font-family:inherit}.monthly-calendar-todo-item:hover,.monthly-calendar-todo-item:focus-visible{background-color:#e2e8f0;outline:none}.monthly-calendar-todo-item:focus-visible{box-shadow:0 0 0 2px #2e7d3240}.monthly-calendar-todo-title{flex:1;word-break:break-word}.monthly-calendar-todo-percent{font-weight:600;color:#475569;margin-left:4px;white-space:nowrap}.monthly-calendar-todo-percent.complete-percent{color:#10b981}.monthly-calendar-todo-item .status-dot{width:6px;height:6px;flex-shrink:0;margin-right:6px;margin-top:4px}.progress-bar-container{position:relative;width:100%;height:24px;background-color:#e2e8f0;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}.progress-bar-fill{position:absolute;top:0;left:0;height:100%;transition:width .3s ease,background-color .3s ease}.progress-bar-text{position:relative;z-index:1;font-size:.75rem;font-weight:600;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3)}.monthly-user-select{padding:6px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:.9rem;color:#334155;background-color:#f8fafc;cursor:pointer;outline:none;transition:border-color .2s,box-shadow .2s}.monthly-user-select:focus{border-color:#ff8a80;box-shadow:0 0 0 2px #ff8a8033}.monthly-detail-overlay{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0f172a6b}.monthly-detail-modal{position:relative;width:min(620px,100%);max-height:min(82vh,760px);overflow-y:auto;background:#fff;border-radius:8px;box-shadow:0 24px 72px #0f172a47;padding:1.35rem;color:#0f172a}.monthly-detail-close{position:absolute;top:.7rem;right:.7rem;width:28px;height:28px;border:0;border-radius:50%;background:#f1f5f9;color:#475569;font-size:1.25rem;line-height:1;cursor:pointer}.monthly-detail-close:hover,.monthly-detail-close:focus-visible{background:#e2e8f0;color:#0f172a;outline:none}.monthly-detail-header{padding-right:2.25rem;margin-bottom:1rem}.monthly-detail-header h3{margin:.45rem 0 0;font-size:1.05rem;line-height:1.35}.monthly-detail-status{display:inline-flex;align-items:center;min-height:24px;padding:.2rem .55rem;border-radius:999px;background:#e2e8f0;color:#334155;font-size:.74rem;font-weight:700}.monthly-detail-status.completed{background:#dcfce7;color:#166534}.monthly-detail-status.in-progress{background:#dbeafe;color:#1d4ed8}.monthly-detail-status.pending{background:#fef3c7;color:#92400e}.monthly-detail-status.cancelled{background:#fee2e2;color:#991b1b}.monthly-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-bottom:1rem}.monthly-detail-field{min-width:0;padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.monthly-detail-field--wide{grid-column:1 / -1}.monthly-detail-label{display:block;margin-bottom:.28rem;color:#64748b;font-size:.72rem;font-weight:700;text-transform:uppercase}.monthly-detail-field strong{display:block;font-size:.92rem;line-height:1.4;overflow-wrap:anywhere}.monthly-detail-category-list{display:flex;flex-wrap:wrap;gap:.4rem}.monthly-detail-category{padding:.22rem .5rem;border-radius:999px;background:#e8f5e9;color:#166534;font-size:.78rem;font-weight:600}.monthly-detail-section-title{margin-bottom:.55rem;color:#334155;font-size:.82rem;font-weight:800}.monthly-detail-subtopics{display:flex;flex-direction:column;gap:.55rem}.monthly-detail-subtopic{padding:.75rem;border:1px solid #e2e8f0;border-radius:8px}.monthly-detail-subtopic-title{display:flex;gap:.4rem;color:#0f172a;font-size:.92rem;line-height:1.4}.monthly-detail-subtopic-meta{display:flex;flex-direction:column;gap:.22rem;margin-top:.4rem;color:#475569;font-size:.82rem;line-height:1.45}.monthly-detail-empty{padding:.8rem;border-radius:8px;background:#f8fafc;color:#64748b;font-size:.88rem}.monthly-detail-actions{display:flex;justify-content:flex-end;margin-top:1.1rem}.monthly-detail-primary{border:0;border-radius:6px;background:#2e7d32;color:#fff;padding:.48rem .8rem;font-size:.82rem;font-weight:700;cursor:pointer}.monthly-detail-primary:hover,.monthly-detail-primary:focus-visible{background:#256d2a;outline:none}@media(max-width:1024px){.dashboard-bottom-grid{grid-template-columns:1fr}}@media(max-width:768px){.monthly-view-container,.focus-box,.notice-box{padding:1rem}.monthly-view-header{flex-direction:column;align-items:stretch;gap:.75rem}.month-selector{width:100%;justify-content:space-between}.monthly-detail-grid{grid-template-columns:1fr}.monthly-detail-modal{padding:1.1rem}}.calendar-card{background:#ffffffe0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:14px;border:1px solid rgba(226,232,240,.86);padding:.9rem 1rem 1rem;box-shadow:0 8px 24px #0f172a0a;width:min(100%,320px);display:grid;gap:.7rem;align-self:flex-start}.calendar-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:0}.calendar-title{flex:1;text-align:center;font-size:1rem;font-weight:700;color:#1f2937;letter-spacing:.01em}.calendar-nav-btn{background:none;border:1px solid rgba(226,232,240,.95);border-radius:5px;width:36px;height:36px;font-size:1rem;color:#64748b;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.calendar-nav-btn:hover{background-color:var(--primary-dark, #a40101);border-color:var(--primary-dark, #a40101);color:#fff}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:0}.calendar-weekday{text-align:center;font-size:.84rem;font-weight:600;color:#999;text-transform:uppercase;padding:.16rem 0}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.calendar-day{display:flex;align-items:center;justify-content:center;text-align:center;min-height:32px;padding:.2rem 0;font-size:.92rem;color:#333;border-radius:5px;cursor:pointer;transition:all .15s}.calendar-day:hover{background-color:var(--nav-active-bg, rgba(164, 1, 1, .1))}.calendar-day.other-month{color:#ccc}.calendar-day.today{background:var(--gradient-main, linear-gradient(135deg, #a40101, #ff6b6b));color:#fff;font-weight:700;box-shadow:0 2px 6px var(--shadow-color, rgba(164, 1, 1, .3))}.calendar-day.today:hover{background:var(--gradient-main, linear-gradient(135deg, #8a0101, #ff5252))}.language-switcher-btn{background:none;border:none;cursor:pointer;display:flex;align-items:center;gap:4px;font-size:14px;font-weight:500;color:#8b6464;padding:4px 8px;border-radius:6px;transition:all .2s ease;margin-right:12px}.language-switcher-btn:hover{background-color:#f1f5f9;color:#0f172a}.lang-text{opacity:.6;transition:opacity .2s ease,font-weight .2s ease}.lang-text.active{opacity:1;font-weight:700;color:#f63b3b}.lang-divider{opacity:.3;margin:0 2px}.po-decimal-alert-bell{position:relative;display:inline-flex;align-items:center}.po-decimal-alert-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid rgba(148,163,184,.45);border-radius:8px;background:#fff;color:#334155;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.po-decimal-alert-button:hover,.po-decimal-alert-button:focus-visible{background:#f8fafc;border-color:#64748bb3;color:#0f172a;outline:none}.po-decimal-alert-icon{font-size:1rem;line-height:1}.po-decimal-alert-badge{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;font-size:.68rem;font-weight:800;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}.po-decimal-alert-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:1500;width:min(360px,calc(100vw - 1.5rem));max-height:420px;overflow:hidden;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#0f172a;box-shadow:0 18px 50px #0f172a38}.po-decimal-alert-panel-header{padding:.75rem .9rem;border-bottom:1px solid #e2e8f0;background:#f8fafc;font-size:.86rem;font-weight:800}.po-decimal-alert-list{max-height:360px;overflow-y:auto}.po-decimal-alert-item{display:grid;gap:.32rem;padding:.8rem .9rem;border-bottom:1px solid #eef2f7;font-size:.8rem;line-height:1.35}.po-decimal-alert-item:last-child{border-bottom:0}.po-decimal-alert-empty{padding:1.1rem .9rem;color:#64748b;font-size:.82rem}@media(max-width:640px){.po-decimal-alert-panel{position:fixed;top:4.25rem;right:.75rem;left:.75rem;width:auto}}.dashboard-sales-panels{display:flex;flex-direction:column;gap:1rem;width:100%;min-width:0}.dashboard-sales-panel{background:#fffffff7;border:1px solid rgba(226,232,240,.9);border-left:4px solid #1f7a47;border-radius:18px;padding:.95rem 1.1rem;box-shadow:0 10px 24px #0f172a0d}.dashboard-sales-panel-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem}.dashboard-sales-panel-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.7rem;flex-wrap:wrap}.dashboard-sales-panel-action{min-height:38px;border:none;border-radius:999px;padding:.5rem .95rem;font-size:.8rem;font-weight:700;cursor:pointer;background:linear-gradient(135deg,#1f7a47,#2ca266);color:#fff;box-shadow:0 10px 18px #1f7a472e;transition:transform .2s ease,opacity .2s ease}.dashboard-sales-panel-action:hover{transform:translateY(-1px)}.dashboard-sales-panel-toggle{min-height:34px;border:1px solid rgba(31,122,71,.18);border-radius:999px;padding:.42rem .88rem;font-size:.78rem;font-weight:700;cursor:pointer;background:#f8fbf8;color:#1f7a47;display:inline-flex;align-items:center;gap:.45rem;transition:transform .2s ease,background-color .2s ease,border-color .2s ease}.dashboard-sales-panel-toggle:hover{transform:translateY(-1px);background:#ecf8f1;border-color:#1f7a4752}.dashboard-sales-panel-toggle-icon{display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease}.dashboard-sales-panel-toggle-icon--collapsed{transform:rotate(-90deg)}.dashboard-sales-panel-title{margin:0;font-size:.98rem;font-weight:700;color:#0f172a}.dashboard-sales-panel-subtitle{margin:.18rem 0 0;color:#94a3b8;font-size:.8rem}.dashboard-sales-panel-table-wrap{width:100%;overflow-x:auto}.dashboard-sales-panel--collapsed .dashboard-sales-panel-header{margin-bottom:0}.dashboard-sales-panel-table{width:100%;border-collapse:collapse;table-layout:fixed}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap--customer-fit{overflow-x:auto}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap--customer-fit .dashboard-sales-panel-table.dashboard-sales-panel-table--customer-fit{width:max-content;min-width:100%;table-layout:auto}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap--customer-fit .dashboard-sales-panel-col--account{width:12ch}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap--customer-fit .dashboard-sales-panel-col--area{width:auto}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap--customer-fit .dashboard-sales-panel-col--target,.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap--customer-fit .dashboard-sales-panel-col--sales{width:16ch}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-table-wrap--customer-fit .dashboard-sales-panel-col--achieve{width:12ch}.dashboard-sales-panel-table th,.dashboard-sales-panel-table td{padding:.75rem .8rem;border-bottom:1px solid rgba(15,23,42,.08);text-align:center;font-size:.88rem;color:#1f2937;vertical-align:middle}.dashboard-sales-panel-table th{font-size:.76rem;font-weight:700;letter-spacing:.04em;color:#48614f;background:#f3faf5;text-transform:uppercase;white-space:nowrap}.dashboard-sales-panel-table tbody tr:last-child td{border-bottom:none}.dashboard-sales-panel-table tbody tr:hover{background:#1f7a470a}.dashboard-sales-panel-cell{text-align:center!important;word-break:break-word}.dashboard-sales-panel-area-cell{text-align:center!important}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-area-cell.dashboard-sales-panel-area-cell--customer-fit{white-space:nowrap;word-break:normal}.dashboard-sales-panel-area-value{display:inline-block;max-width:100%}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-area-value.dashboard-sales-panel-area-value--customer-fit{white-space:nowrap}.dashboard-sales-panel-area-value--stacked{display:flex;flex-direction:column;align-items:center;gap:.2rem}.dashboard-sales-panel-area-line{width:100%}.dashboard-sales-panels--dashboard-home .dashboard-sales-panel-area-line.dashboard-sales-panel-area-line--customer-fit{white-space:nowrap}.dashboard-sales-panel-number{text-align:center!important;white-space:normal}.dashboard-sales-panel-account-cell{vertical-align:top!important;background:#f8fafcb8}.dashboard-sales-panel-subtotal-account-cell{vertical-align:middle!important}.dashboard-sales-panel-total-label-cell.dashboard-sales-panel-subtotal-label-cell{text-align:center!important}.dashboard-sales-panel-account{font-weight:700;color:#0f172a}.dashboard-sales-panel-code{margin-top:.2rem;font-size:.72rem;color:#64748b}.dashboard-sales-panel-total-row td{background:#f8fafc;font-weight:700}.dashboard-sales-panel-total-row:hover td{background:#f8fafc}.dashboard-sales-panel-total-label-cell{text-align:left!important;color:#0f172a}.dashboard-sales-panel-grand-total-row td{background:#ecf8f1;font-weight:800}.dashboard-sales-panel-grand-total-row:hover td{background:#ecf8f1}.dashboard-sales-panel-grand-total-label{text-align:left!important;color:#1f7a47}.dashboard-sales-panel-grand-total-label.dashboard-sales-panel-grand-total-label--centered{text-align:center!important}.dashboard-sales-panel-empty{padding:1.2rem;color:#64748b;font-size:.92rem}@media(max-width:768px){.dashboard-sales-panel{padding:.9rem}.dashboard-sales-panel-header{flex-direction:column}.dashboard-sales-panel-header-actions{width:100%;justify-content:flex-start}.dashboard-sales-panel-table{min-width:760px;table-layout:auto}.dashboard-sales-panel-table th,.dashboard-sales-panel-table td{min-width:12ch}}.login-container{display:flex;justify-content:center;align-items:center;height:100%;width:100%;flex:1;background:linear-gradient(to bottom,#a2a2a2,#fff);margin:0;padding:1rem}.login-box{background-color:#f6f6f6;padding:2rem;border-radius:8px;box-shadow:0 4px 6px #ffffff1a;width:90%;max-width:380px}.login-box h2{text-align:center;color:var(--primary-dark, #1b5e20);margin-bottom:2rem;font-weight:700}.input-group{margin-bottom:1.5rem;text-align:left}.input-group label{display:block;margin-bottom:.5rem;color:#333}.input-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;box-sizing:border-box}.input-group input:focus{outline:none;border-color:var(--primary-light, #d77a75);box-shadow:0 0 0 2px var(--shadow-color, hsla(0, 93%, 35%, .595))}.remember-group{margin-bottom:1.2rem;text-align:left}.remember-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.9rem;color:#555;-webkit-user-select:none;user-select:none}.remember-label input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:var(--primary-color, #a40101)}.login-button{width:100%;padding:.75rem;background-color:var(--primary-color, #a40101);color:#fff;border:none;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .2s}.login-button:hover{background-color:var(--primary-dark, #b71c1c)}@media(max-width:480px){.login-container{padding:1.5rem}.login-box{width:92%;max-width:340px;padding:1.5rem;border-radius:10px}.login-box h2{font-size:1.4rem;margin-bottom:1.5rem}.input-group{margin-bottom:1.2rem}.input-group input{padding:.65rem;font-size:.95rem}.login-button{padding:.7rem;font-size:.95rem}}.adddata-page{width:100%;min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#ffffff,#ffffff,#ffffff,#ffffff,#f5f5f5,var(--bg-gradient-end, #fe161658))}.adddata-body{display:flex;flex:1;padding:1.5rem;gap:1.5rem;width:100%}.adddata-sidebar{width:220px;flex-shrink:0;display:flex;flex-direction:column;justify-content:flex-end}.adddata-content{flex:1;min-width:0;padding:.5rem 1rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.adddata-title{font-size:1.6rem;font-weight:700;color:#222;margin-bottom:1.5rem}.todo-form{background:#ffffffe0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:14px;padding:2rem 2.5rem;box-shadow:0 4px 20px #00000012;max-width:1000px;width:100%}.todo-top-row{display:flex;justify-content:flex-end;gap:2rem;margin-bottom:1.6rem;flex-wrap:wrap}.todo-field{display:flex;align-items:center;gap:.5rem}.todo-field label{font-weight:600;color:#333;font-size:.92rem;white-space:nowrap}.todo-field input,.todo-field select{border:none;border-bottom:2px solid #bbb;background:transparent;padding:.3rem .4rem;font-size:.9rem;color:#333;outline:none;min-width:160px;transition:border-color .25s}.todo-field input:focus,.todo-field select:focus{border-bottom-color:var(--primary-color, #d32f2f)}.todo-field input[type=date]{min-width:150px;cursor:pointer}.todo-main-topic{margin-bottom:1.6rem}.todo-main-topic label{font-weight:700;color:#222;font-size:1rem;display:block;margin-bottom:.4rem}.todo-main-topic input{width:55%;border:none;border-bottom:2px solid #999;background:transparent;padding:.35rem .2rem;font-size:.95rem;color:#222;outline:none;transition:border-color .25s}.todo-main-topic input:focus{border-bottom-color:var(--primary-color, #d32f2f)}.customer-field-top{margin-bottom:2rem}.todo-middle{display:flex;flex-direction:column;gap:2rem;align-items:stretch}.todo-subtopics{flex:1;min-width:280px;border:1.5px solid #bbb;border-radius:10px;padding:1.2rem 1.4rem;background:#ffffff80}.todo-subtopics-title{font-weight:700;color:#333;font-size:.92rem;margin-bottom:.8rem}.subtopic-item{display:flex;align-items:center;gap:.5rem;margin-bottom:.6rem}.subtopic-item .subtopic-number{font-weight:600;color:#555;font-size:.9rem;min-width:20px}.subtopic-item input{flex:4;border:none;border-bottom:1.5px solid #bbb;background:transparent;padding:.25rem .2rem;font-size:.88rem;color:#333;outline:none;transition:border-color .25s}.subtopic-item input:focus{border-bottom-color:var(--primary-color, #d32f2f)}.subtopic-date-input{flex:0 0 115px!important;font-size:.8rem!important;cursor:pointer}.subtopic-remark-input{flex:2!important}.subtopic-item .remove-subtopic-btn{background:none;border:none;color:#c33;font-size:1.1rem;cursor:pointer;padding:0 4px;opacity:.5;transition:opacity .2s,transform .2s;line-height:1}.subtopic-item .remove-subtopic-btn:hover{opacity:1;transform:scale(1.15)}.add-subtopic-btn{background:none;border:none;color:var(--primary-color, #d32f2f);font-weight:600;font-size:.88rem;cursor:pointer;padding:.4rem 0;display:flex;align-items:center;gap:.3rem;transition:color .2s;margin-top:.3rem}.add-subtopic-btn:hover{color:var(--primary-dark, #a11a1a)}.add-subtopic-btn:before{content:"+";font-size:1.1rem;font-weight:700}.todo-right-fields{display:flex;flex-wrap:wrap;gap:1.2rem;min-width:230px}.todo-right-fields .todo-field{flex-direction:row;align-items:center}.todo-right-fields .todo-field label{min-width:90px}.workday-repeat{margin-top:.2rem}.workday-repeat-label{font-weight:600;color:#333;font-size:.88rem;display:block;margin-bottom:.5rem}.workday-chips{display:flex;flex-wrap:wrap;gap:.4rem}.workday-chip{padding:.3rem .7rem;border-radius:20px;border:1.5px solid #ccc;background:#fff9;color:#555;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.workday-chip:hover{border-color:#d32f2f;color:#d32f2f}.workday-chip.active{background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));color:#fff;border-color:transparent;box-shadow:0 2px 8px var(--shadow-color, rgba(211, 47, 47, .25))}.workday-chip.every-day{font-weight:600;letter-spacing:.3px}.todo-actions{display:flex;justify-content:flex-end;gap:.8rem;margin-top:2rem}.todo-btn{padding:.55rem 1.8rem;min-height:44px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .25s;border:none}.todo-btn.save{background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));color:#fff;box-shadow:0 3px 10px var(--shadow-color, rgba(211, 47, 47, .3))}.todo-btn.save:hover{transform:translateY(-1px);box-shadow:0 5px 16px var(--shadow-color, rgba(211, 47, 47, .4))}.todo-btn.cancel{background:#0000000f;color:#555;border:1px solid rgba(0,0,0,.12)}.todo-btn.cancel:hover{background:#0000001a}@media(max-width:768px){.adddata-body{flex-direction:column;padding:1rem}.adddata-sidebar{width:100%}.todo-form{padding:1.4rem 1.2rem}.todo-top-row{flex-direction:column;gap:.8rem}.adddata-content{padding:0}.todo-middle{flex-direction:column}.todo-main-topic input{width:100%}.todo-right-fields{min-width:unset;width:100%}.todo-field{width:100%;align-items:flex-start;flex-direction:column}.todo-field input,.todo-field select{width:100%;min-width:0}.subtopic-item{flex-wrap:wrap;align-items:flex-start}.subtopic-item .subtopic-number{min-width:24px;width:24px;padding-top:.45rem}.subtopic-item input,.subtopic-date-input,.subtopic-remark-input{flex:1 1 calc(100% - 32px)!important;min-width:0}.todo-actions{flex-direction:column-reverse}.todo-btn{width:100%}}.adddatasales-page{width:100%;min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#ffffff,#ffffff,#ffffff,#ffffff,#f5f5f5,var(--bg-gradient-end, #fe161658))}.adddatasales-body{display:flex;flex:1;padding:1.5rem;gap:1.5rem;width:100%}.adddatasales-sidebar{width:220px;flex-shrink:0;display:flex;flex-direction:column;justify-content:flex-end}.adddatasales-content{flex:1;min-width:0;display:flex;align-items:flex-start;justify-content:center}.sales-form-card{width:100%;max-width:1320px;background:#ffffffe6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:16px;padding:2rem;box-shadow:0 4px 20px #00000012}.sales-form-heading{margin-bottom:1.5rem}.sales-form-title{margin:0;font-size:1.75rem;font-weight:700;color:#222}.sales-form-subtitle{margin:.5rem 0 0;color:#7a7a7a;font-size:.95rem}.sales-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.sales-form-column{display:flex;flex-direction:column;gap:.9rem}.sales-field-row,.sales-dynamic-row{display:grid;grid-template-columns:245px minmax(0,1fr);border:1px solid rgba(15,23,42,.08);border-radius:12px;overflow:hidden;background:#fffc}.sales-field-row--accent .sales-field-label{background:#d32f2f14;color:var(--primary-color, #d32f2f)}.sales-field-row--locked .sales-field-label{background:#0f172a0d;color:#0f172a}.sales-field-label,.sales-dynamic-label{padding:.95rem 1rem;display:flex;align-items:center;justify-content:flex-end;gap:.6rem;text-align:right;font-size:.92rem;font-weight:600;color:#334155;background:#f8fafcf2;border-right:1px solid rgba(15,23,42,.08)}.sales-dynamic-label--nowrap{white-space:nowrap}.sales-field-label-content{display:flex;width:100%;justify-content:flex-end;align-items:center;text-align:right}.sales-field-label-content--stacked{flex-direction:column;align-items:flex-end;line-height:1.2}.sales-field-label-content--wrap{justify-content:flex-end;flex-wrap:wrap;gap:.2rem .35rem;line-height:1.2}.sales-field-label-content--nowrap{white-space:nowrap}.sales-field-label-subline{font-size:.88em}.sales-required-marker{margin-left:.22rem;color:#dc2626;font-weight:800}.sales-field-input,.sales-field-row select.sales-field-input{width:100%;min-width:0;border:none;outline:none;padding:.95rem 1rem;font-size:.95rem;color:#0f172a;background:transparent}.sales-field-input::placeholder{color:#94a3b8}.sales-field-input--locked{background:#0f172a08;color:#334155;font-weight:600;cursor:default}.sales-row--invalid{border-color:#f59e0bf2;box-shadow:0 0 0 3px #fbbf2447,0 0 22px #f59e0b38;animation:sales-required-glow 1.15s ease-in-out 2}.sales-row--invalid .sales-field-label,.sales-row--invalid .sales-dynamic-label{background:#fef3c7f2;color:#b45309}.sales-row--invalid .sales-field-input,.sales-row--invalid .sales-field-row select.sales-field-input{background:#fffbebf5}@keyframes sales-required-glow{0%,to{box-shadow:0 0 #fbbf2400,0 0 #f59e0b00}50%{box-shadow:0 0 0 4px #fbbf2459,0 0 28px #f59e0b47}}.sales-dynamic-group{display:flex;flex-direction:column;gap:.65rem}.sales-dynamic-input-wrap{display:flex;align-items:stretch;min-width:0}.sales-inline-action{border:none;border-radius:999px;background:#0f766e1f;color:#0f766e;padding:.35rem .75rem;font-size:.75rem;font-weight:700;cursor:pointer;transition:background-color .2s,transform .2s}.sales-inline-action:hover{background:#0f766e2e;transform:translateY(-1px)}.sales-remove-button{width:48px;border:none;border-left:1px solid rgba(15,23,42,.08);background:#ef444414;color:#dc2626;font-size:1.2rem;cursor:pointer;transition:background-color .2s}.sales-remove-button:hover{background:#ef444424}.sales-form-actions{display:flex;justify-content:flex-end;gap:.8rem;margin-top:1.8rem}.sales-action-button{padding:.6rem 1.8rem;border-radius:8px;font-size:.92rem;font-weight:700;cursor:pointer;transition:all .25s;border:none}.sales-action-button--primary{background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));color:#fff;box-shadow:0 3px 10px var(--shadow-color, rgba(211, 47, 47, .3))}.sales-action-button--primary:hover{transform:translateY(-1px);box-shadow:0 5px 16px var(--shadow-color, rgba(211, 47, 47, .4))}.sales-action-button--secondary{background:#0f172a0d;color:#475569;border:1px solid rgba(15,23,42,.12)}.sales-action-button--secondary:hover{background:#0f172a1a}.sales-action-button:disabled{opacity:.65;cursor:not-allowed;transform:none;box-shadow:none}@media(max-width:1024px){.sales-form-grid{grid-template-columns:1fr}}@media(max-width:768px){.adddatasales-body{flex-direction:column;padding:1rem}.adddatasales-sidebar{width:100%}.sales-form-card{padding:1.4rem 1rem}.sales-field-row,.sales-dynamic-row{grid-template-columns:1fr}.sales-field-label,.sales-dynamic-label{justify-content:flex-start;text-align:left;border-right:none;border-bottom:1px solid rgba(15,23,42,.08)}.sales-field-label-content--stacked{align-items:flex-start}.sales-field-label-content--wrap{justify-content:flex-start}.sales-dynamic-label--nowrap{white-space:normal}.sales-form-actions{flex-direction:column-reverse}.sales-action-button{width:100%}}.add-sodata-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#ffffff,#ffffff,#f7f7f7,var(--bg-gradient-end, #fe161658))}.add-sodata-body{flex:1;display:flex;gap:1.5rem;padding:1.5rem}.add-sodata-sidebar{width:280px;flex-shrink:0}.add-sodata-content{flex:1;min-width:0;display:flex;justify-content:center;align-items:flex-start}.so-data-card{width:min(1420px,100%);background:#fffffff0;border-radius:20px;box-shadow:0 18px 48px #00000014;padding:2rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.so-data-heading{margin-bottom:1.5rem}.so-data-title{margin:0;font-size:1.9rem;color:#1f2937}.so-data-subtitle{margin:.5rem 0 0;color:#6b7280;font-size:.96rem;line-height:1.55}.so-data-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem}.so-data-form-grid--amounts{margin-top:1.25rem;grid-template-columns:minmax(calc(10ch + 2rem),calc(10ch + 2rem)) minmax(0,1fr) minmax(0,1fr);align-items:start}.so-data-field{display:flex;flex-direction:column;gap:.45rem}.so-data-field-group{display:grid;gap:.8rem}.so-data-field-group--po{grid-column:1 / -1;grid-template-columns:minmax(0,18rem) minmax(0,18rem) minmax(calc(7ch + 2rem),calc(7ch + 2rem));align-items:start}.so-data-field-group--pair{grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.so-data-field label{font-size:.92rem;font-weight:700;color:#1f2937}.so-data-field input{width:100%;border:1px solid rgba(209,213,219,.95);border-radius:12px;padding:.9rem 1rem;font-size:.96rem;color:#111827;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.so-data-field--discount-deducted input{min-width:calc(10ch + 2rem);max-width:calc(10ch + 2rem);text-align:right;font-variant-numeric:tabular-nums}.so-data-field--amount-value input,.so-data-field--vat-separated input{text-align:right;font-variant-numeric:tabular-nums}.so-data-rv-input{width:7ch;min-width:7ch;max-width:7ch;text-align:center}.so-data-field input:focus,.so-data-table-input:focus{outline:none;border-color:#0f766e;box-shadow:0 0 0 4px #0f766e1f}.so-data-readonly{background:#f3f4f6;color:#0f172a;font-weight:700}.so-data-field-hint{font-size:.8rem;color:#64748b;line-height:1.45}.so-data-field-hint--found{color:#047857}.so-data-field-hint--not-found,.so-data-field-hint--unavailable{color:#b91c1c}.so-data-field-hint--loading{color:#0f766e}.so-data-items-panel{margin-top:1.5rem;padding:1.2rem;border-radius:18px;border:1px solid rgba(226,232,240,.95);background:linear-gradient(180deg,#f8fafcf2,#fffffffa)}.so-data-items-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.so-data-items-header h2{margin:0;font-size:1.08rem;color:#0f172a}.so-data-items-header p{margin:.35rem 0 0;color:#64748b;font-size:.88rem;line-height:1.5}.so-data-items-actions{display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}.so-data-import-input{display:none}.so-data-import-button{border:1px solid rgba(15,118,110,.22);border-radius:12px;padding:.8rem 1.1rem;font-size:.88rem;font-weight:700;color:#0f766e;background:#fff;box-shadow:0 10px 22px #0f766e14;cursor:pointer;white-space:nowrap}.so-data-add-item-button{border:none;border-radius:12px;padding:.8rem 1.1rem;font-size:.88rem;font-weight:700;color:#fff;background:linear-gradient(135deg,#0f766e,#14b8a6);box-shadow:0 10px 22px #0f766e2e;cursor:pointer;white-space:nowrap}.so-data-table-wrapper{overflow-x:auto;border:1px solid rgba(226,232,240,.9);border-radius:14px;background:#fff;-webkit-overflow-scrolling:touch}.so-data-items-table{width:100%;min-width:1220px;border-collapse:collapse}.so-data-table-column--line-number{width:78px}.so-data-table-column--barcode{width:18ch}.so-data-table-column--quantity{width:11ch}.so-data-table-column--unit-price,.so-data-table-column--discount,.so-data-table-column--line-total{width:13ch}.so-data-table-column--actions{width:116px}.so-data-items-table th,.so-data-items-table td{padding:.75rem .8rem;border-bottom:1px solid rgba(226,232,240,.85);text-align:left;vertical-align:middle}.so-data-items-table thead th{background:#f8fafc;color:#334155;font-size:.82rem;font-weight:800;text-align:center;white-space:nowrap}.so-data-items-table tbody tr:last-child td{border-bottom:none}.so-data-line-number-cell{font-weight:700;color:#334155;width:78px}.so-data-table-input{width:100%;min-width:0;border:1px solid rgba(209,213,219,.95);border-radius:10px;padding:.75rem .8rem;font-size:.92rem;color:#111827;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.so-data-table-input--number{min-width:124px;text-align:right;font-variant-numeric:tabular-nums}.so-data-table-input--quantity{text-align:center}.so-data-table-input--barcode{min-width:16ch;font-variant-numeric:tabular-nums}.so-data-table-input--currency{min-width:10ch}.so-data-line-total{min-width:124px;border-radius:10px;padding:.75rem .8rem;background:#f8fafc;color:#0f172a;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.so-data-remove-item-button{border:none;border-radius:10px;padding:.72rem .95rem;font-size:.82rem;font-weight:700;color:#b91c1c;background:#fee2e2e6;cursor:pointer}.so-data-items-empty{padding:1rem;text-align:center;color:#64748b;font-size:.92rem}.so-data-vat-panel{margin-top:1.5rem;padding:1.15rem 1.25rem;border-radius:16px;background:linear-gradient(135deg,#0f766e1a,#14b8a629);border:1px solid rgba(15,118,110,.16)}.so-data-vat-title{display:block;font-size:.95rem;font-weight:700;color:#134e4a}.so-data-vat-options{display:flex;gap:.85rem;flex-wrap:wrap;margin-top:.9rem}.so-data-vat-option{display:inline-flex;align-items:center;gap:.55rem;padding:.72rem 1rem;border-radius:999px;border:1px solid rgba(15,118,110,.18);background:#ffffffe0;color:#0f172a;font-weight:600;cursor:pointer}.so-data-vat-option input{margin:0}.so-data-vat-option.active{border-color:#0f766e;box-shadow:0 8px 18px #0f766e1f}.so-data-hint{margin:.85rem 0 0;font-size:.86rem;line-height:1.5;color:#155e75}.so-data-actions{display:flex;justify-content:flex-end;gap:.9rem;margin-top:1.75rem}.so-data-primary-button,.so-data-secondary-button{border:none;border-radius:12px;padding:.85rem 1.4rem;font-size:.95rem;font-weight:700;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.so-data-primary-button{color:#fff;background:linear-gradient(135deg,#d32f2f,#ff6b6b);box-shadow:0 10px 22px #d32f2f38}.so-data-secondary-button{color:#0f172a;background:#eef2f7;box-shadow:0 10px 22px #0f172a14}.so-data-primary-button:hover,.so-data-secondary-button:hover,.so-data-add-item-button:hover,.so-data-import-button:hover,.so-data-remove-item-button:hover{transform:translateY(-1px)}.so-data-access-denied{text-align:center;padding:2.5rem 1rem 1rem}.so-data-access-denied h2{margin:0;color:#b91c1c}.so-data-access-denied p{margin:.75rem 0 1.5rem;color:#6b7280}@media(max-width:900px){.add-sodata-body{flex-direction:column;padding:1rem}.add-sodata-sidebar{width:100%}.so-data-card{padding:1.35rem}.so-data-form-grid{grid-template-columns:1fr}.so-data-form-grid--amounts{grid-template-columns:minmax(calc(10ch + 2rem),calc(10ch + 2rem)) minmax(0,1fr) minmax(0,1fr)}.so-data-field-group--po{grid-column:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(calc(7ch + 2rem),calc(7ch + 2rem))}.so-data-field-group--pair{grid-column:auto;grid-template-columns:1fr}.so-data-items-header{flex-direction:column;align-items:stretch}.so-data-items-actions,.so-data-add-item-button,.so-data-import-button{width:100%}}@media(max-width:640px){.so-data-card{padding:1rem;border-radius:16px}.so-data-field-group--po{grid-template-columns:1fr;gap:.65rem}.so-data-form-grid--amounts{grid-template-columns:1fr}.so-data-field--discount-deducted input{max-width:100%}.so-data-field-group--pair{gap:.75rem}.so-data-title{font-size:1.55rem}.so-data-items-panel,.so-data-vat-panel{padding:1rem}.so-data-actions{flex-direction:column-reverse}.so-data-primary-button,.so-data-secondary-button{width:100%}}.add-po-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#ffffff,#ffffff,#f7f7f7,var(--bg-gradient-end, #fe161658))}.add-po-body{flex:1;display:flex;gap:1.5rem;padding:1.5rem;justify-content:center}.add-po-content{flex:1;min-width:0;display:flex;justify-content:center;align-items:flex-start}.po-card{width:min(1580px,100%);position:relative;background:#fffffff0;border-radius:22px;box-shadow:0 20px 54px #00000014;padding:2rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.po-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.6rem}.po-title-row{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap}.po-title{margin:0;font-size:2rem;color:#1f2937}.po-mode-badge{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.38rem .8rem;background:#0ea5e91f;color:#0c4a6e;font-size:.8rem;font-weight:800}.po-subtitle{margin:.45rem 0 0;color:#6b7280;font-size:.96rem}.po-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.2rem}.po-field{display:flex;flex-direction:column;gap:.45rem;min-width:0}.po-field--attention{border-radius:16px;animation-duration:.72s;animation-iteration-count:2;animation-timing-function:ease-in-out}.po-field--full{grid-column:1 / -1}.po-customer-tax-row{--po-customer-code-width: calc(9ch + 2.75rem) ;grid-column:1 / -1;display:grid;grid-template-columns:minmax(var(--po-customer-code-width),var(--po-customer-code-width)) minmax(0,1fr);gap:1rem 1.2rem;align-items:start}.po-field--customer-code{min-width:var(--po-customer-code-width)}.po-customer-code-input{max-width:var(--po-customer-code-width);font-variant-numeric:tabular-nums;text-transform:uppercase}.po-number-field-group{display:flex;align-items:flex-start;gap:.75rem;min-width:0}.po-field--po-number{flex:1 1 auto}.po-field--rv-no{flex:0 0 5.25rem}.po-rv-no-input{text-align:center;font-variant-numeric:tabular-nums}.po-field label,.po-radio-label{font-size:.92rem;font-weight:700;color:#1f2937}.po-radio-group{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;min-height:44px}.po-radio-option{display:inline-flex;align-items:center;gap:.45rem;color:#374151;font-size:.94rem;font-weight:600;cursor:pointer}.po-radio-option input[type=radio]{width:.95rem;min-width:.95rem;max-width:.95rem;height:.95rem;margin:0;padding:0;border:none;border-radius:999px;background:transparent;box-shadow:none;accent-color:#1d4ed8;appearance:auto;cursor:pointer}.po-radio-option input[type=radio]:focus{box-shadow:none}@keyframes poCustomerTypePulseA{0%,to{background:#fbbf2400;box-shadow:0 0 #fbbf2400}45%{background:#fef08a8c;box-shadow:0 0 0 4px #f59e0b3d}}@keyframes poCustomerTypePulseB{0%,to{background:#fbbf2400;box-shadow:0 0 #fbbf2400}45%{background:#fef08a8c;box-shadow:0 0 0 4px #f59e0b3d}}.po-field input,.po-field textarea,.po-table input{width:100%;border:1px solid rgba(209,213,219,.95);border-radius:12px;padding:.9rem 1rem;font-size:.95rem;color:#111827;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.po-field textarea{resize:vertical;min-height:110px}.po-date-input{width:100%;max-width:100%;min-width:0;inline-size:100%;min-inline-size:0}.po-field-readonly{background:#f8fafc!important;color:#475569!important;font-weight:700}.po-field input:focus,.po-field textarea:focus,.po-table input:focus{outline:none;border-color:#1d4ed8;box-shadow:0 0 0 4px #1d4ed81f}.po-field-hint{font-size:.82rem;line-height:1.5;color:#64748b}.po-access-denied{display:flex;flex-direction:column;align-items:flex-start;gap:.9rem;padding:1.6rem;border:1px dashed rgba(148,163,184,.8);border-radius:18px;background:#f8fafc}.po-access-denied h2{margin:0;color:#0f172a;font-size:1.25rem}.po-access-denied p{margin:0;color:#475569;line-height:1.6}.po-table-section{margin-top:1.75rem}.po-table-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.po-table-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}.po-import-input{display:none}.po-table-header h2{margin:0;font-size:1.2rem;color:#111827}.po-table-header p{margin:.35rem 0 0;color:#64748b;font-size:.9rem}.po-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border:1px solid rgba(226,232,240,.9);border-radius:18px;background:#fff}.po-table{width:100%;min-width:1420px;border-collapse:collapse;table-layout:fixed}.po-table th,.po-table td{padding:.85rem .9rem;border-bottom:1px solid rgba(226,232,240,.9);text-align:left;vertical-align:middle}.po-table thead th{background:#eff6ff;color:#1e3a8a;font-size:.85rem;font-weight:800}.po-table-col--sequence{width:72px}.po-table-col--id{width:108px}.po-table-col--barcode{width:196px}.po-table-col--product-name{width:50ch}.po-table-col--quantity{width:128px}.po-table-col--unit-price{width:136px}.po-table-col--line-total{width:156px}.po-table-col--item-remark{width:260px}.po-table-col--action{width:116px}.po-table tbody tr:last-child td{border-bottom:none}.po-table-index{font-weight:700;color:#475569;text-align:center}.po-table-total{font-weight:700;color:#0f172a;white-space:nowrap;text-align:center}.po-table-cell{overflow:hidden}.po-table-heading--sequence,.po-table-heading--quantity,.po-table-heading--unit-price,.po-table-heading--line-total,.po-table-heading--action{text-align:center}.po-table-heading--quantity{white-space:nowrap}.po-table-readonly{background:#f8fafc!important;color:#334155;font-weight:700}.po-table-input{width:100%}.po-table-input--id,.po-table-input--barcode{text-align:center;font-variant-numeric:tabular-nums;letter-spacing:.02em}.po-table-input--product-name{text-align:left;width:50ch;min-width:50ch;max-width:50ch}.po-table-input--quantity,.po-table-input--unit-price{text-align:right;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.po-table-input--import-price-mismatch{border-color:#dc2626;background:#fef2f2;color:#991b1b;box-shadow:0 0 0 3px #dc26261f}.po-table-input--import-price-mismatch:focus{border-color:#b91c1c;box-shadow:0 0 0 4px #dc26262e}.po-table-input--quantity{width:8ch;min-width:8ch;max-width:8ch;margin:0 auto;display:block}.po-table-input--quantity::-webkit-outer-spin-button,.po-table-input--quantity::-webkit-inner-spin-button,.po-table-input--unit-price::-webkit-outer-spin-button,.po-table-input--unit-price::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.po-table-input--item-remark{text-align:left}.po-table-cell--action,.po-table-cell--line-total{text-align:center}.po-row-remove{border:none;border-radius:10px;padding:.65rem .85rem;background:#fee2e2;color:#b91c1c;font-weight:700;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.po-row-remove:hover{transform:translateY(-1px);box-shadow:0 8px 18px #b91c1c1f}.po-card-modal-backdrop{position:absolute;inset:0;z-index:25;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:#0f172a80;border-radius:22px}.po-card-modal{width:min(560px,100%);background:linear-gradient(180deg,#fffdf7,#fff);border:1px solid rgba(245,158,11,.32);border-radius:24px;box-shadow:0 28px 64px #0f172a3d;padding:1.6rem}.po-card-modal--warning{text-align:left}.po-card-modal-badge{width:48px;height:48px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:1rem;background:linear-gradient(135deg,#dc2626,#f59e0b);color:#fff;font-size:1.35rem;font-weight:900}.po-card-modal h3{margin:0;color:#111827;font-size:1.3rem}.po-card-modal p{margin:.7rem 0 0;color:#475569;line-height:1.6}.po-card-modal-caption{font-size:.92rem;color:#92400e;font-weight:700}.po-card-modal-label{display:block;margin-top:1rem;font-size:.95rem;font-weight:800;color:#111827}.po-card-modal-textarea{width:100%;margin-top:.55rem;border:1px solid rgba(251,191,36,.75);border-radius:16px;padding:.95rem 1rem;font-size:.96rem;color:#111827;background:#fff;resize:vertical;min-height:118px;transition:border-color .2s ease,box-shadow .2s ease}.po-card-modal-textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 4px #f59e0b2e}.po-card-modal-error{margin-top:.75rem;padding:.8rem .9rem;border-radius:14px;background:#fef2f2;color:#b91c1c;font-size:.93rem;font-weight:700}.po-card-modal-actions{margin-top:1.2rem;display:flex;justify-content:flex-end;gap:.8rem}.po-summary-card{margin-top:1rem;margin-left:auto;width:min(340px,100%);border-radius:18px;padding:1rem 1.2rem;background:linear-gradient(135deg,#1d4ed81f,#38bdf82e);border:1px solid rgba(29,78,216,.16);display:flex;align-items:center;justify-content:space-between;gap:1rem}.po-summary-label{color:#1e3a8a;font-weight:700}.po-summary-value{font-size:1.3rem;font-weight:800;color:#0f172a}.po-actions{margin-top:1.2rem;display:flex;justify-content:flex-end;gap:.9rem}.po-primary-button,.po-secondary-button{border:none;border-radius:12px;padding:.85rem 1.35rem;min-height:44px;font-size:.95rem;font-weight:700;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.po-primary-button{color:#fff;background:linear-gradient(135deg,#1d4ed8,#38bdf8);box-shadow:0 10px 22px #1d4ed838}.po-secondary-button{color:#0f172a;background:#eef2f7;box-shadow:0 10px 22px #0f172a14}.po-primary-button:hover,.po-secondary-button:hover{transform:translateY(-1px)}.po-primary-button:disabled,.po-secondary-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.po-modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:1.2rem;z-index:1000}.po-modal{width:min(420px,100%);background:#fff;border-radius:20px;box-shadow:0 22px 56px #0f172a38;padding:1.5rem;text-align:center}.po-modal h3{margin:0;color:#0f172a;font-size:1.2rem}.po-modal p{margin:.75rem 0 0;color:#475569;line-height:1.6}.po-modal-detail{font-size:.9rem}.po-modal-price-row{margin-top:1rem;display:flex;align-items:center;justify-content:center;gap:.9rem;font-size:1.15rem;font-weight:800;color:#1d4ed8}.po-modal-actions{margin-top:1.25rem;display:flex;justify-content:center;gap:.8rem}@media(max-width:960px){.add-po-body{flex-direction:column;padding:1rem}.add-po-sidebar{width:100%}.po-card{padding:1.35rem}.po-heading,.po-table-header,.po-actions,.po-modal-actions,.po-card-modal-actions{flex-direction:column;align-items:stretch}.po-form-grid{grid-template-columns:1fr}.po-number-field-group{max-width:100%}.po-summary-card{width:100%}}@media(max-width:640px){.po-card{padding:1.1rem}.po-title{font-size:1.55rem}.po-summary-card{flex-direction:column;align-items:flex-start}.po-primary-button,.po-secondary-button,.po-row-remove{width:100%}}@media(max-width:480px){.add-po-body{padding:.75rem;gap:.85rem}.po-card{border-radius:18px;padding:.85rem}.po-heading{gap:.75rem;margin-bottom:1rem}.po-title{font-size:1.35rem}.po-mode-badge{padding:.3rem .65rem;font-size:.72rem}.po-form-grid{gap:.75rem}.po-number-field-group{gap:.55rem}.po-field--rv-no{flex-basis:4.75rem}.po-field{gap:.35rem}.po-field label{font-size:.84rem}.po-field input,.po-field textarea,.po-table input{padding:.72rem .8rem;border-radius:10px}.po-date-input{width:100%;max-width:100%;min-width:0;inline-size:100%;min-inline-size:0}.po-field textarea{min-height:88px}.po-field-hint{font-size:.76rem;line-height:1.4}.po-table-section{margin-top:1.1rem}.po-table-header{gap:.75rem;margin-bottom:.75rem}.po-table-header h2{font-size:1.02rem}.po-table-header p{font-size:.82rem}.po-table{min-width:980px}.po-table th,.po-table td{padding:.6rem .55rem;font-size:.8rem}.po-table thead th{font-size:.74rem}.po-table-col--sequence{width:58px}.po-table-col--id{width:94px}.po-table-col--barcode{width:170px}.po-table-col--product-name{width:34ch}.po-table-col--quantity{width:112px}.po-table-col--unit-price{width:120px}.po-table-col--line-total{width:132px}.po-table-col--action{width:92px}.po-table-input--product-name{width:34ch;min-width:34ch;max-width:34ch}.po-row-remove{padding:.55rem .7rem;border-radius:9px;font-size:.82rem}.po-summary-card{margin-top:.85rem;padding:.8rem .9rem;gap:.45rem}.po-summary-label{font-size:.86rem}.po-summary-value{font-size:1.12rem}.po-actions{margin-top:.9rem;gap:.65rem}.po-primary-button,.po-secondary-button{padding:.72rem 1rem;font-size:.88rem}}.add-target-page{width:100%;min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#fff,#fff,#f7fafc,#e2e8f0cc)}.add-target-body{display:flex;flex:1;gap:1.5rem;padding:1.5rem}.add-target-sidebar{width:280px;flex-shrink:0}.add-target-content{flex:1;min-width:0}.add-target-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}.add-target-page-title{margin:0;font-size:1.55rem;font-weight:700;color:#0f172a}.add-target-page-subtitle{margin:.4rem 0 0;color:#64748b;font-size:.92rem}.add-target-back-btn{min-height:42px;border:none;border-radius:999px;padding:.55rem 1rem;background:#0f172a14;color:#0f172a;font-size:.86rem;font-weight:700;cursor:pointer}.add-target-back-btn:hover{background:#0f172a1f}@media(max-width:960px){.add-target-body{flex-direction:column;padding:1rem}.add-target-sidebar{width:100%}}@media(max-width:768px){.add-target-topbar{align-items:stretch}.add-target-back-btn{width:100%}}.add-target-editor{width:100%}.add-target-editor-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem}.add-target-editor-title{margin:0;font-size:1.2rem;font-weight:700;color:#1f2937}.add-target-editor-subtitle{margin:.35rem 0 0;font-size:.9rem;color:#64748b}.add-target-editor-month-field{display:flex;flex-direction:column;gap:.35rem;min-width:176px;font-size:.82rem;color:#475569;font-weight:700}.add-target-editor-month-field input{min-height:40px;border:1px solid rgba(15,23,42,.14);border-radius:10px;padding:.45rem .75rem;font-size:.92rem;color:#1f2937;background:#fff}.add-target-editor-empty{text-align:center;padding:1.35rem;color:#64748b;font-size:.92rem;background:#ffffffe6;border-radius:16px}.add-target-editor-stack{display:flex;flex-direction:column;gap:1rem}.add-target-editor-panel{background:#fffffff5;border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:1rem 1.05rem;box-shadow:0 14px 28px #0f172a14}.add-target-editor-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem;margin-bottom:.9rem}.add-target-editor-panel-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem}.add-target-editor-panel-title{margin:0;font-size:1rem;font-weight:700;color:#0f172a}.add-target-editor-panel-subtitle{margin:.25rem 0 0;font-size:.8rem;color:#64748b}.add-target-editor-table-wrap{width:100%;overflow-x:auto}.add-target-editor-table{width:100%;min-width:940px;border-collapse:collapse;table-layout:fixed}.add-target-editor-col--account{width:16ch}.add-target-editor-col--customer,.add-target-editor-col--area{width:24ch}.add-target-editor-col--sales-code{width:12ch}.add-target-editor-col--target,.add-target-editor-col--sales{width:16ch}.add-target-editor-col--achieve{width:12ch}.add-target-editor-col--action{width:13ch}.add-target-editor-table th,.add-target-editor-table td{padding:.72rem .7rem;border-bottom:1px solid rgba(15,23,42,.08);text-align:center;vertical-align:top;color:#1f2937;font-size:.84rem}.add-target-editor-table th{font-size:.74rem;font-weight:700;letter-spacing:.04em;color:#48614f;background:#f3faf5;text-transform:uppercase}.add-target-editor-table tbody tr:hover{background:#1f7a470a}.add-target-editor-key-account-cell{min-width:180px}.add-target-editor-key-account-name{font-weight:700;color:#0f172a}.add-target-editor-key-account-code{margin-top:.25rem;font-size:.72rem;color:#64748b}.add-target-editor-add{margin-top:.7rem;min-height:36px;border:none;border-radius:999px;padding:.4rem .9rem;font-size:.78rem;font-weight:700;cursor:pointer;background:linear-gradient(135deg,#1f7a47,#2ca266);color:#fff;box-shadow:0 10px 18px #1f7a472e}.add-target-editor-cell-stack{display:flex;flex-direction:column;gap:.7rem;min-width:0}.add-target-editor-input{width:100%;min-height:38px;border:1px solid rgba(15,23,42,.14);border-radius:10px;padding:.45rem .7rem;text-align:center;font-size:.84rem;color:#1f2937;background:#fff}.add-target-editor-input--number{min-width:8rem}.add-target-editor-input--sales-code{min-width:7rem;text-transform:uppercase}.add-target-editor-value{min-height:38px;display:flex;align-items:center;justify-content:center;padding:.45rem .25rem;border-radius:10px;background:#f8fafc;font-weight:600}.add-target-editor-value-cell{vertical-align:middle!important}.add-target-editor-action-row{display:flex;flex-direction:column;gap:.4rem;align-items:center}.add-target-editor-save,.add-target-editor-delete{min-height:36px;border:none;border-radius:999px;padding:.4rem .85rem;font-size:.78rem;font-weight:700;cursor:pointer;transition:transform .2s ease,opacity .2s ease}.add-target-editor-save{background:linear-gradient(135deg,#1f7a47,#2ca266);color:#fff;box-shadow:0 10px 18px #1f7a472e}.add-target-editor-delete{background:#ef44441f;color:#b42318}.add-target-editor-save:hover,.add-target-editor-delete:hover,.add-target-editor-add:hover{transform:translateY(-1px)}.add-target-editor-save:disabled,.add-target-editor-delete:disabled{opacity:.72;cursor:wait;transform:none}.add-target-editor-status{font-size:.74rem;font-weight:600}.add-target-editor-status--saved{color:#1f7a47}.add-target-editor-status--error{color:#b42318}.add-target-editor-status--saving,.add-target-editor-status--idle{color:#64748b}@media(max-width:900px){.add-target-editor-panel{padding:.9rem}.add-target-editor-table{min-width:980px}}@media(max-width:768px){.add-target-editor-header,.add-target-editor-panel-header,.add-target-editor-panel-actions{align-items:stretch}.add-target-editor-month-field{width:100%}}.projects-page{width:100%;min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#ffffff,#ffffff,#ffffff,#ffffff,#f5f5f5,var(--bg-gradient-end, #fe161658))}.projects-body{display:flex;flex:1;padding:1.5rem;gap:1.5rem;width:100%}.projects-sidebar{width:280px;flex-shrink:0;display:flex;flex-direction:column;justify-content:space-between;gap:1.5rem}.projects-content{flex:1;min-width:0;padding:.5rem 1rem;display:flex;flex-direction:column;align-items:center}.projects-header-row,.projects-list,.projects-empty,.projects-draft-panel{width:100%;max-width:700px}.projects-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.projects-title{font-size:1.6rem;font-weight:700;color:#222}.projects-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.projects-actions-centered{justify-content:center}.add-project-btn{padding:.5rem 1.4rem;min-height:44px;border:none;border-radius:8px;background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));color:#fff;font-size:.85rem;font-weight:600;cursor:pointer;box-shadow:0 3px 10px var(--shadow-color, rgba(211, 47, 47, .3));transition:all .25s}.add-project-btn:hover{transform:translateY(-1px);box-shadow:0 5px 16px var(--shadow-color, rgba(211, 47, 47, .4))}.add-sales-btn{background:linear-gradient(135deg,#0f766e,#14b8a6);box-shadow:0 3px 10px #0f766e47}.add-sales-btn:hover{box-shadow:0 5px 16px #0f766e5c}.add-so-btn{background:linear-gradient(135deg,#1d4ed8,#38bdf8);box-shadow:0 3px 10px #1d4ed842}.add-so-btn:hover{box-shadow:0 5px 16px #1d4ed857}.add-po-btn{background:linear-gradient(135deg,#7c3aed,#ec4899);box-shadow:0 3px 10px #7c3aed42}.add-po-btn:hover{box-shadow:0 5px 16px #7c3aed57}.add-target-btn{background:linear-gradient(135deg,#c2410c,#fb923c);box-shadow:0 3px 10px #c2410c47}.add-target-btn:hover{box-shadow:0 5px 16px #c2410c5c}.projects-empty{text-align:center;padding:4rem 2rem;background:#ffffffbf;border-radius:14px;box-shadow:0 4px 20px #0000000d}.empty-icon{font-size:3rem;margin-bottom:1rem}.projects-empty p{color:#888;font-size:1rem;margin-bottom:1.2rem}.projects-list{display:flex;flex-direction:column;gap:.8rem}.projects-draft-panel{margin-top:1.5rem;background:#ffffffdb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:14px;padding:1.2rem 1.25rem;box-shadow:0 4px 20px #0f172a14}.projects-draft-panel__header{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem}.projects-draft-panel__title{margin:0;font-size:1.1rem;color:#111827}.projects-draft-panel__subtitle,.projects-draft-panel__state,.projects-draft-group__empty,.projects-draft-item__meta{color:#6b7280;font-size:.88rem}.projects-draft-groups{display:grid;gap:.9rem}.projects-draft-group{border:1px solid rgba(148,163,184,.22);border-radius:12px;padding:.9rem 1rem;background:#f8fafce6}.projects-draft-group__title{margin:0 0 .75rem;font-size:.98rem;color:#0f172a}.projects-draft-list{display:flex;flex-direction:column;gap:.55rem}.projects-draft-item{width:100%;display:flex;align-items:stretch;gap:.75rem}.projects-draft-item__open{flex:1;width:100%;border:1px solid rgba(148,163,184,.22);border-radius:10px;background:#fff;padding:.85rem .95rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;text-align:left;transition:transform .2s,box-shadow .2s,border-color .2s}.projects-draft-item__open:hover{transform:translateY(-1px);border-color:#d32f2f59;box-shadow:0 8px 18px #d32f2f14}.projects-draft-item__label{color:#111827;font-weight:600;font-size:.94rem}.projects-draft-item__delete{border:none;border-radius:10px;min-width:82px;padding:.85rem .95rem;background:linear-gradient(135deg,#b91c1c,#ef4444);color:#fff;font-size:.88rem;font-weight:700;cursor:pointer;box-shadow:0 8px 18px #b91c1c29;transition:transform .2s,box-shadow .2s,opacity .2s}.projects-draft-item__delete:hover{transform:translateY(-1px);box-shadow:0 10px 22px #b91c1c38}.projects-draft-item__delete:disabled{cursor:wait;opacity:.72;transform:none;box-shadow:none}.project-card{display:flex;align-items:center;justify-content:space-between;background:#ffffffd9;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:12px;padding:1.2rem 1.5rem;box-shadow:0 2px 10px #0000000f;cursor:pointer;transition:transform .2s,box-shadow .2s}.project-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000001a}.project-card-left{display:flex;flex-direction:column;gap:.3rem}.project-card-title{font-size:1.05rem;font-weight:600;color:#222;margin:0}.project-card-date{font-size:.8rem;color:#999}.project-card-right{display:flex;align-items:center;gap:1rem}.project-card-arrow{font-size:1.2rem;color:#bbb;transition:color .2s,transform .2s}.project-card:hover .project-card-arrow{color:var(--primary-color, #d32f2f);transform:translate(3px)}@media(max-width:768px){.projects-body{flex-direction:column;padding:1rem}.projects-sidebar{width:100%}.projects-header-row{flex-direction:column;align-items:flex-start;gap:.8rem}.projects-actions{width:100%;flex-direction:column;align-items:stretch}.projects-content{padding:0}.add-project-btn{width:100%}.project-card{flex-direction:column;align-items:flex-start;gap:.85rem;padding:1rem 1.1rem}.project-card-left,.project-card-right{width:100%}.project-card-right{justify-content:space-between}.projects-empty{padding:2.2rem 1rem}.projects-draft-panel{padding:1rem}.projects-draft-item{flex-direction:column;align-items:flex-start}.projects-draft-item__open,.projects-draft-item__delete{width:100%}}@media(max-width:480px){.projects-title{font-size:1.35rem}.project-card-right{flex-wrap:wrap;gap:.7rem}}.add-notice-container{background:#fff;border-radius:12px;padding:20px;box-shadow:0 4px 6px -1px #0000001a}.add-notice-title{font-size:1.25rem;font-weight:600;color:#333;margin-bottom:16px;border-bottom:2px solid var(--primary-color, #f0e2e2);padding-bottom:8px}.add-notice-form{display:flex;flex-direction:column;gap:16px}.add-notice-field{display:flex;flex-direction:column;gap:8px}.add-notice-field label{font-weight:600;color:#555;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px}.add-notice-field input,.add-notice-field textarea{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-family:inherit;font-size:.95rem;color:#3b1e1e;transition:all .2s ease}.add-notice-field input:focus,.add-notice-field textarea:focus{outline:none;border-color:var(--primary-color, #f63b3b);box-shadow:0 0 0 3px var(--shadow-color, rgba(246, 59, 59, .1))}.add-notice-field textarea{resize:vertical}.add-notice-submit-btn{align-self:flex-start;background:var(--gradient-main, #f63b3b);color:#fff;border:none;padding:10px 24px;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;box-shadow:0 4px 12px var(--shadow-color, rgba(246, 59, 59, .2));transition:all .25s ease}.add-notice-submit-btn:hover{background:var(--gradient-main, #eb2525);transform:translateY(-2px);box-shadow:0 6px 16px var(--shadow-color, rgba(246, 59, 59, .3))}.add-notice-submit-btn:active{transform:translateY(0)}.notice-history{margin-top:24px;border-top:1px solid #e2e8f0;padding-top:16px}.notice-history-title{font-size:1.05rem;font-weight:600;color:#475569;margin-bottom:12px}.notice-history-list{display:flex;flex-direction:column;gap:12px}.notice-history-item{display:flex;justify-content:space-between;align-items:flex-start;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.notice-history-content{flex:1;margin-right:12px}.notice-history-topic{font-weight:600;font-size:.95rem;color:#3b1e1e;margin-bottom:4px}.notice-history-detail{font-size:.85rem;color:#64748b;line-height:1.4;white-space:pre-wrap}.notice-delete-btn{background:#f1f5f9;color:#64748b;border:none;width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:.8rem;transition:all .2s ease}.notice-delete-btn:hover{background:#fee2e2;color:#ef4444}.notice-edit-btn{background:#f1f5f9;color:#64748b;border:none;width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:.8rem;transition:all .2s ease;margin-right:6px}.notice-edit-btn:hover{background:var(--nav-active-bg, #f0fdf4);color:var(--primary-color, #2e7d32)}.detail-page{width:100%;min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#ffffff,#ffffff,#ffffff,#f5f5f5,var(--bg-gradient-end, #fe161658))}.detail-body{display:flex;flex:1;padding:1.5rem;gap:1.5rem;width:100%}.detail-sidebar{width:220px;flex-shrink:0;display:flex;flex-direction:column;justify-content:flex-end}.detail-content{flex:1;min-width:0;padding:.5rem 1rem;display:flex;flex-direction:column;align-items:center}.detail-top-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.2rem;width:100%;max-width:820px}.detail-back-btn{background:none;border:none;color:var(--primary-color, #d32f2f);font-size:.9rem;font-weight:600;cursor:pointer;padding:.3rem 0;transition:color .2s}.detail-back-btn:hover{color:var(--primary-dark, #a11a1a)}.detail-top-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem}.detail-edit-btn{padding:.4rem 1rem;min-height:44px;border-radius:8px;border:1.5px solid #1565c0;background:#1565c00f;color:#1565c0;font-size:.82rem;font-weight:600;cursor:pointer;transition:all .25s;display:flex;align-items:center;gap:.3rem}.detail-edit-btn:hover{background:linear-gradient(135deg,#1565c0,#42a5f5);color:#fff;border-color:transparent;box-shadow:0 3px 10px #1565c04d}.detail-duplicate-btn{padding:.4rem 1rem;min-height:44px;border-radius:8px;border:1.5px solid var(--primary-color, #d32f2f);background:var(--nav-active-bg, rgba(211, 47, 47, .06));color:var(--primary-color, #d32f2f);font-size:.82rem;font-weight:600;cursor:pointer;transition:all .25s;display:flex;align-items:center;gap:.3rem}.detail-duplicate-btn:hover{background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));color:#fff;border-color:transparent;box-shadow:0 3px 10px var(--shadow-color, rgba(211, 47, 47, .3))}.detail-delete-btn{padding:.4rem 1rem;min-height:44px;border-radius:8px;border:1.5px solid #b91c1c;background:#b91c1c0f;color:#b91c1c;font-size:.82rem;font-weight:600;cursor:pointer;transition:all .25s;display:flex;align-items:center;gap:.3rem}.detail-delete-btn:hover{background:linear-gradient(135deg,#b91c1c,#ef4444);color:#fff;border-color:transparent;box-shadow:0 3px 10px #b91c1c47}.detail-card{background:#ffffffe0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:14px;padding:2rem 2.5rem;box-shadow:0 4px 20px #00000012;width:100%;max-width:820px}.detail-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.8rem;gap:1rem;flex-wrap:wrap}.detail-title{font-size:1.5rem;font-weight:700;color:#222;margin:0}.detail-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.2rem;margin-bottom:1.8rem}.detail-info-item{display:flex;flex-direction:column;gap:.25rem}.detail-info-label{font-size:.78rem;color:#999;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.detail-info-value{font-size:.95rem;color:#333;font-weight:500}.detail-section{margin-bottom:1.5rem}.detail-section-title{font-size:.9rem;font-weight:700;color:#444;margin-bottom:.6rem}.detail-day-chips{display:flex;flex-wrap:wrap;gap:.4rem}.detail-day-chip{padding:.25rem .7rem;border-radius:20px;background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));color:#fff;font-size:.78rem;font-weight:500}.detail-subtopics-list{list-style:none;padding:0;margin:0}.detail-subtopic-item{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;border-bottom:1px solid rgba(0,0,0,.06);font-size:.92rem;color:#333}.detail-subtopic-item:last-child{border-bottom:none}.detail-subtopic-num{width:24px;height:24px;border-radius:50%;background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));color:#fff;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;flex-shrink:0}.status-badge{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:capitalize}.badge-pending{background:#ffc10726;color:#f57f17}.badge-inprogress{background:#2196f326;color:#1565c0}.badge-completed{background:#4caf5026;color:#2e7d32}.badge-cancelled{background:#9e9e9e26;color:#616161}@media(max-width:768px){.detail-body{flex-direction:column;padding:1rem}.detail-sidebar{width:100%}.detail-card{padding:1.4rem 1.2rem}.detail-info-grid{grid-template-columns:1fr}.detail-content{padding:0}.detail-top-bar{flex-direction:column;align-items:stretch}.detail-top-actions{width:100%;flex-direction:column}.detail-edit-btn,.detail-duplicate-btn,.detail-delete-btn{width:100%;justify-content:center}}.report-page{width:100%;min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#ffffff,#ffffff,#ffffff,#ffffff,#f5f5f5,var(--bg-gradient-end, #fe161658))}.report-body{display:flex;flex:1;padding:1.5rem;gap:1.5rem;width:100%}.report-content{flex:1;min-width:0}.report-week-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;background:#ffffffe6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:14px;padding:1rem 1.5rem;box-shadow:0 4px 20px #0000000f}.week-nav-btn{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--primary-color, #d32f2f);background:#fff;color:var(--primary-color, #d81515);font-size:1.3rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.week-nav-btn:hover{background:var(--primary-color, #d32f2f);color:#fff;transform:scale(1.05)}.week-header-info{flex:1;text-align:center}.week-header-info h2{font-size:1.3rem;font-weight:700;color:#222;margin:0 0 .3rem}.week-header-sub{font-size:.85rem;color:#888;font-weight:400}.week-date-range{display:flex;justify-content:center;gap:.35rem;flex-wrap:wrap;margin-bottom:.3rem}.week-date-chip{font-size:.72rem;background:var(--gradient-main, linear-gradient(135deg, #bb0101));color:#fff;padding:.2rem .55rem;border-radius:4px;font-weight:500;letter-spacing:.2px}.week-date-summary{font-size:.82rem;color:#999}.report-planner{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2rem}.weekly-planner{width:100%;flex-shrink:0;display:flex;flex-direction:column;gap:1rem}.planner-section-title{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.3rem}.planner-section-title h3{font-size:1rem;font-weight:700;color:var(--primary-color, #c43b3b);margin:0}.planner-section-sub{font-size:.75rem;color:#aaa}.weekly-timeline{background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:12px;box-shadow:0 2px 14px #0000000f;overflow:hidden;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border:1px solid rgba(0,0,0,.06)}.timeline-header{display:flex;align-items:stretch;min-width:760px;background:var(--gradient-main, linear-gradient(135deg, #a90909));color:#fff;font-size:.7rem;font-weight:600}.timeline-task-label{width:140px;flex-shrink:0;padding:.5rem .7rem;display:flex;align-items:center;font-weight:700;text-transform:uppercase;letter-spacing:.5px;border-right:1px solid rgba(255,255,255,.15)}.timeline-days{flex:1;display:grid;grid-template-columns:repeat(7,1fr)}.timeline-day-col{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.4rem 0;gap:.1rem;border-left:1px solid rgba(255,255,255,.1)}.timeline-day-col.today{background:#fff3}.timeline-day-short{font-size:.6rem;opacity:.85;text-transform:uppercase;letter-spacing:.3px}.timeline-day-num{font-size:.85rem;font-weight:700}.timeline-body{max-height:380px;overflow-y:auto;min-width:760px}.timeline-empty{padding:2rem;text-align:center;color:#bbb;font-size:.88rem}.timeline-row{display:flex;align-items:stretch;min-width:760px;border-bottom:1px solid rgba(0,0,0,.05);transition:background .2s}.timeline-row:hover{background:var(--nav-active-bg, rgba(211, 47, 47, .03))}.timeline-row:last-child{border-bottom:none}.timeline-task-info{width:140px;flex-shrink:0;padding:.55rem .6rem;display:flex;align-items:flex-start;gap:.4rem;border-right:1px solid rgba(0,0,0,.05)}.timeline-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:4px}.timeline-status-dot.pending{background:#ffc107}.timeline-status-dot.in-progress{background:#2196f3}.timeline-status-dot.completed{background:#4caf50}.timeline-status-dot.cancelled{background:#9e9e9e}.timeline-task-detail{display:flex;flex-direction:column;gap:.1rem;min-width:0}.timeline-task-name{font-size:.72rem;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-task-dates{font-size:.6rem;color:#999}.timeline-repeat-badge{font-size:.58rem;color:var(--primary-color, #c81919);background:var(--nav-active-bg, rgba(211, 47, 47, .08));padding:.1rem .3rem;border-radius:4px;display:inline-block;width:fit-content}.timeline-day-cell{display:flex;align-items:center;justify-content:center;padding:.3rem 0;border-left:1px solid rgba(0,0,0,.04)}.timeline-day-cell.today-col{background:var(--nav-active-bg, rgba(211, 47, 47, .04))}.timeline-bar{display:block;width:80%;height:10px;border-radius:5px;animation:barFadeIn .3s ease-out}@keyframes barFadeIn{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.timeline-bar.pending{background:linear-gradient(135deg,#ffc107,#ffca28)}.timeline-bar.in-progress{background:linear-gradient(135deg,#2196f3,#42a5f5)}.timeline-bar.completed{background:linear-gradient(135deg,#4caf50,#66bb6a)}.timeline-bar.cancelled{background:linear-gradient(135deg,#9e9e9e,#bdbdbd)}.weekly-summary-box{background:#ffffffeb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:10px;padding:.8rem 1rem;box-shadow:0 2px 10px #0000000d;display:flex;flex-direction:column;gap:.4rem}.weekly-summary-row{display:flex;justify-content:space-between;align-items:center;font-size:.78rem;color:#555;padding:.25rem 0;border-bottom:1px solid rgba(0,0,0,.04)}.weekly-summary-row:last-child{border-bottom:none}.text-green{color:#2e7d32}.text-blue{color:#1976d2}.text-yellow{color:#e6a700}.daily-planner{flex:1;min-width:0}.daily-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.daily-card{background:#ffffffeb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:12px;box-shadow:0 4px 14px #0000000f;overflow:hidden;transition:transform .2s,box-shadow .2s;border:1.5px solid transparent;display:flex;flex-direction:column;min-height:280px}.daily-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px #0000001f}.daily-card.today{border-color:var(--primary-color, #d32f2f);box-shadow:0 6px 20px var(--shadow-color, rgba(197, 31, 31, .15))}.daily-card-header{display:flex;align-items:center;justify-content:space-between;padding:.6rem .8rem;background:var(--gradient-main, linear-gradient(135deg, #b90000));color:#fff}.daily-card.target-day{animation:flashHighlight 2s ease-out}@keyframes flashHighlight{0%{background-color:#fef3c7}to{background-color:#ffffffeb}}.daily-card.today .daily-card-header{background:var(--gradient-main, linear-gradient(135deg, #ff0000))}.daily-day-name{font-size:.85rem;font-weight:600;letter-spacing:.3px}.daily-day-date{font-size:1.1rem;font-weight:700}.daily-notes{padding:.6rem .7rem;border-bottom:1px solid rgba(0,0,0,.06)}.daily-notes-label{display:block;font-size:.7rem;font-weight:600;color:#888;text-transform:uppercase;margin-bottom:.3rem;letter-spacing:.3px}.daily-notes-textarea{width:100%;border:none;background:#00000005;border-radius:8px;padding:.5rem .6rem;font-size:.8rem;color:#333;outline:none;resize:none;height:60px;font-family:inherit;transition:background .2s}.daily-notes-textarea:focus{background:var(--nav-active-bg, rgba(211, 47, 47, .04))}.daily-todo-section{padding:.6rem .8rem .8rem;flex:1;display:flex;flex-direction:column}.daily-todo-header{display:grid;grid-template-columns:18px minmax(80px,1.5fr) minmax(60px,1fr) auto;align-items:center;margin-bottom:.4rem;padding-bottom:.3rem;border-bottom:1.5px solid rgba(0,0,0,.08)}.daily-todo-title{font-size:.8rem;font-weight:700;color:#555;text-transform:uppercase;letter-spacing:.3px;grid-column:1 / 3}.daily-todo-cols{display:none}.daily-todo-header-comment,.daily-todo-header-status{font-size:.65rem;color:#aaa;font-weight:600;text-transform:uppercase}.daily-todo-header-comment{grid-column:3}.daily-todo-header-status{grid-column:4;text-align:right}.daily-todo-body{flex:1;overflow-y:auto;min-height:100px}.daily-todo-empty{text-align:center;padding:1rem;color:#ccc;font-size:.85rem}.daily-todo-container{border-bottom:1px solid rgba(0,0,0,.04)}.daily-todo-container:last-child{border-bottom:none}.daily-todo-row{display:grid;grid-template-columns:18px minmax(80px,1.5fr) minmax(60px,1fr) auto;align-items:flex-start;gap:.5rem;padding:.35rem 0;font-size:.72rem}.daily-todo-check{display:flex;align-items:center;justify-content:center}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.status-dot.pending{background:#ffc107}.status-dot.in-progress{background:#2196f3}.status-dot.completed{background:#4caf50}.status-dot.cancelled{background:#9e9e9e}.daily-todo-name{font-weight:600;color:#333;white-space:normal;word-break:break-word;display:flex;align-items:flex-start;flex-wrap:wrap;gap:.4rem;min-width:0}.task-title-text{flex-shrink:0}.todo-customer-badge{font-size:.55rem;font-weight:600;color:#4a4a4a;background:#f0f0f0;padding:.1rem .35rem;border-radius:4px;border:1px solid #e0e0e0;flex-shrink:0}.subtopic-percent-badge{font-size:.55rem;font-weight:700;background:#4caf5026;color:#2e7d32;padding:.1rem .3rem;border-radius:4px;flex-shrink:0}.daily-todo-comment{color:#888;white-space:normal;word-break:break-word;min-width:0}.daily-todo-status{text-align:center}.daily-todo-subtopics{padding-left:18px;padding-bottom:.35rem;display:flex;flex-direction:column;gap:.2rem}.subtopic-row{display:flex;align-items:flex-start;gap:.4rem;cursor:pointer;padding:.15rem 0;transition:opacity .2s}.subtopic-row:hover{opacity:.8}.subtopic-checkbox{width:12px;height:12px;border:1.5px solid #ccc;border-radius:3px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:.55rem;color:transparent;padding:0;flex-shrink:0;cursor:pointer;transition:all .2s}.subtopic-checkbox.checked{background:#4caf50;border-color:#4caf50;color:#fff}.subtopic-checkbox:disabled{cursor:wait;opacity:.65}.subtopic-text{font-size:.65rem;color:#555;transition:color .2s;word-break:break-word;flex:1}.subtopic-text.checked-text{color:#aaa;text-decoration:line-through}.daily-todo-add-subtopic{margin-left:24px;margin-top:.3rem;margin-bottom:.5rem}.inline-add-subtopic-btn{background:none;border:none;color:var(--primary-color, #d32f2f);font-weight:600;font-size:.65rem;cursor:pointer;padding:.2rem 0;opacity:.7;transition:opacity .2s,color .2s}.inline-add-subtopic-btn:disabled{cursor:wait;opacity:.45}.inline-add-subtopic-btn:hover{opacity:1;color:var(--primary-dark, #a11a1a)}.add-subtopic-input-container{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.add-subtopic-input{flex:1;min-width:160px;border:none;border-bottom:1.5px solid var(--primary-color, #d32f2f);background:transparent;padding:.2rem .1rem;font-size:.65rem;color:#333;outline:none}.inline-subtopic-action-btn{border:1px solid transparent;border-radius:999px;padding:.18rem .55rem;font-size:.6rem;font-weight:600;cursor:pointer;transition:opacity .2s,transform .2s,background-color .2s}.inline-subtopic-action-btn.save{background:var(--primary-color, #d32f2f);color:#fff}.inline-subtopic-action-btn.cancel{background:#94a3b824;border-color:#94a3b859;color:#475569}.inline-subtopic-action-btn:hover:not(:disabled){transform:translateY(-1px)}.inline-subtopic-action-btn:disabled{cursor:wait;opacity:.5;transform:none}.status-badge{font-size:.6rem;padding:.12rem .35rem;border-radius:8px;font-weight:600;text-transform:capitalize;display:inline-block}.status-badge.pending{background:#ffc10726;color:#e6a700}.status-badge.in-progress{background:#2196f31f;color:#1976d2}.status-badge.completed{background:#4caf501f;color:#2e7d32}.status-badge.cancelled{background:#9e9e9e1f;color:#757575}.report-summary{margin-top:.5rem}.summary-title{font-size:1rem;font-weight:700;color:#222;margin:0 0 .8rem}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem}.summary-card{background:#ffffffeb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:10px;padding:1rem;box-shadow:0 2px 12px #0000000f;text-align:center;transition:transform .2s,box-shadow .2s;border-top:3px solid transparent}.summary-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000001a}.summary-card-header{font-size:.72rem;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:.4px;margin-bottom:.4rem}.summary-card-value{font-size:1.8rem;font-weight:800;margin-bottom:.3rem}.summary-card-detail{display:flex;justify-content:center;align-items:center;gap:.4rem;font-size:.7rem;color:#aaa;border-top:1px solid rgba(0,0,0,.06);padding-top:.4rem}.detail-value{font-weight:700;color:#555}.card-total{border-top-color:#5ba7ff}.card-total .summary-card-value{color:#5ba7ff}.card-rate{border-top-color:#7c4dff}.card-rate .summary-card-value{color:#7c4dff}.card-progress{border-top-color:#ff8a25}.card-progress .summary-card-value{color:#ff8a25}.card-pending{border-top-color:#ffc107}.card-pending .summary-card-value{color:#e6a700}.card-overdue{border-top-color:#d32f2f}.card-overdue .summary-card-value{color:#d32f2f}.card-completed{border-top-color:#2e7d32}.card-completed .summary-card-value{color:#2e7d32}@media(max-width:1200px){.daily-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.report-planner{flex-direction:column}.weekly-planner{width:100%}.daily-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.report-body{flex-direction:column;padding:1rem}.report-sidebar{width:100%}.daily-grid{grid-template-columns:1fr}.summary-cards{grid-template-columns:repeat(2,1fr)}.report-week-header{padding:.8rem 1rem;flex-wrap:wrap;gap:.75rem}.week-header-info h2{font-size:1.1rem}.report-week-header .week-header-info>div{flex-wrap:wrap;gap:.65rem!important}.monthly-user-select{width:100%;max-width:280px}}@media(max-width:480px){.summary-cards{grid-template-columns:1fr}.week-date-range{display:none}.timeline-header,.timeline-body,.timeline-row{min-width:680px}}.drt-report-container{width:100%}.drt-report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.drt-report-header h2{margin:0;color:#1e293b;font-size:28px;font-weight:700;letter-spacing:-.02em}.back-btn{padding:8px 16px;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;color:#475569;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.back-btn:hover{background-color:#f1f5f9;border-color:#94a3b8;color:#0f172a}.drt-table-wrapper{background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000000d;overflow:hidden;overflow-x:auto;border:1px solid #e2e8f0}.drt-table{width:100%;border-collapse:collapse;text-align:left}.drt-table th,.drt-table td{padding:16px 24px;border-bottom:1px solid #e2e8f0}.drt-table th{background-color:#f8fafc;color:#64748b;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.drt-table td{color:#334155;font-size:14px;vertical-align:middle}.drt-table tbody tr{transition:background-color .15s ease}.drt-table tbody tr:hover{background-color:#f1f5f9}.drt-table tbody tr:last-child td{border-bottom:none}.empty-state{text-align:center;padding:48px!important;color:#94a3b8;font-style:italic;font-size:15px}.status-badge{display:inline-block;padding:4px 12px;border-radius:9999px;font-size:12px;font-weight:600;text-transform:capitalize;letter-spacing:.025em}.status-badge.completed{background-color:#dcfce7;color:#166534}.status-badge.in-progress{background-color:#dbeafe;color:#1e40af}.status-badge.pending{background-color:#fef9c3;color:#854d0e}.status-badge.cancelled{background-color:#fee2e2;color:#991b1b}.follow-up-list{margin:0;padding-left:20px;list-style-type:disc;color:#475569}.follow-up-list li{margin-bottom:6px;line-height:1.4}.follow-up-list li:last-child{margin-bottom:0}.survey-report{width:100%}.survey-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.survey-report-header h2{margin:0;font-size:1.35rem;color:#1f2937}.survey-report-header p{margin:.35rem 0 0;color:#6b7280;font-size:.92rem}.survey-report-actions{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}.survey-filter-control{display:flex;flex-direction:column;gap:.35rem;min-width:220px;color:#475569;font-size:.84rem;font-weight:600}.survey-filter-control select{height:40px;border:1px solid #cbd5e1;border-radius:10px;padding:0 .85rem;background:#fff;color:#1f2937;font-size:.92rem;outline:none}.survey-toolbar-button{height:40px;padding:0 1rem;border-radius:10px;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .2s;border:none}.survey-toolbar-button:disabled{opacity:.55;cursor:not-allowed}.survey-toolbar-button--ghost{background:#0f172a0d;color:#475569;border:1px solid rgba(15,23,42,.12)}.survey-toolbar-button--ghost:hover:not(:disabled){background:#0f172a1a}.survey-toolbar-button--primary{background:linear-gradient(135deg,#15803d,#22c55e);color:#fff;box-shadow:0 3px 10px #15803d47}.survey-toolbar-button--primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 16px #15803d57}.survey-table-wrap{overflow:auto;background:#fffffff5;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 4px 20px #0f172a0d}.survey-table{width:max-content;min-width:100%;border-collapse:collapse}.survey-table th,.survey-table td{border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;padding:.7rem .8rem;text-align:left;vertical-align:top;white-space:normal;min-width:150px;line-height:1.45}.survey-table th:first-child,.survey-table td:first-child{min-width:70px}.survey-table th{position:sticky;top:0;z-index:1;background:#f8fafc;color:#334155;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.survey-table-heading--nowrap{white-space:nowrap}.survey-table td{color:#111827;font-size:.9rem;background:#fff}.survey-edit-button{min-width:92px;height:36px;padding:0 .9rem;border:none;border-radius:999px;background:#d32f2f1f;color:#b91c1c;font-size:.84rem;font-weight:700;cursor:pointer;transition:background-color .2s,transform .2s}.survey-edit-button:hover{background:#d32f2f2e;transform:translateY(-1px)}.survey-table tbody tr:nth-child(2n) td{background:#fcfcfd}.survey-table tbody tr:hover td{background:#fff8f8}.survey-report-state{padding:2rem;text-align:center;color:#6b7280;background:#ffffffe6;border-radius:14px;box-shadow:0 4px 20px #0f172a0d}@media(max-width:900px){.survey-report-header{flex-direction:column}.survey-report-actions{width:100%;justify-content:flex-start}}@media(max-width:640px){.survey-filter-control{min-width:100%}.survey-toolbar-button{width:100%}.survey-report-actions{flex-direction:column;align-items:stretch}}.new-customer-report{display:flex;flex-direction:column;gap:1rem}.new-customer-report__header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.3rem;background:linear-gradient(135deg,#51912c2e,#a1cc5c42);border:1px solid rgba(84,130,39,.18);border-radius:18px;box-shadow:0 10px 24px #36601d1a}.new-customer-report__header h2{margin:0;font-size:1.3rem;color:#2f5d18}.new-customer-report__header p{margin:.3rem 0 0;color:#476b2b;font-size:.95rem}.new-customer-state{padding:1.4rem;background:#fffffff0;border:1px solid rgba(0,0,0,.06);border-radius:18px;box-shadow:0 10px 24px #0000000f;color:#666;text-align:center}.new-customer-table-wrap{overflow-x:auto;background:#fffffff0;border:1px solid rgba(0,0,0,.06);border-radius:18px;box-shadow:0 10px 24px #0000000f}.new-customer-table{width:100%;min-width:780px;border-collapse:collapse}.new-customer-table th,.new-customer-table td{padding:.95rem 1rem;border-bottom:1px solid rgba(0,0,0,.06);vertical-align:top;text-align:left}.new-customer-table thead th{background:linear-gradient(135deg,#5f9b2f,#3f7420);color:#fff;font-size:.88rem;font-weight:700;letter-spacing:.02em}.new-customer-table tbody tr:hover>td{background:#5f9b2f0d}.new-customer-action-cell{min-width:148px}.new-customer-action-button,.new-customer-secondary-button{border:none;border-radius:999px;padding:.52rem 1rem;font-size:.88rem;font-weight:700;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.new-customer-action-button{background:linear-gradient(135deg,#1ea84b,#16823a);color:#fff;box-shadow:0 8px 18px #16823a33}.new-customer-secondary-button{background:#0000000f;color:#555}.new-customer-action-button:hover,.new-customer-secondary-button:hover{transform:translateY(-1px)}.new-customer-action-button:disabled,.new-customer-secondary-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.new-customer-saved-tag{display:inline-flex;align-items:center;margin-left:.55rem;padding:.22rem .55rem;background:#1ea84b1f;color:#16823a;border-radius:999px;font-size:.74rem;font-weight:700}.new-customer-editor-row td,.new-customer-feedback-row td{background:#fffaf8}.new-customer-editor{display:flex;flex-direction:column;gap:1rem}.new-customer-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:.9rem 1rem}.new-customer-field{display:flex;flex-direction:column;gap:.45rem}.new-customer-field--full{grid-column:1 / -1}.new-customer-field span{font-size:.8rem;font-weight:700;color:#7b1d1d}.new-customer-field input,.new-customer-field textarea{width:100%;border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:.72rem .85rem;font:inherit;color:#222;background:#fff}.new-customer-field input:focus,.new-customer-field textarea:focus{outline:none;border-color:#c91c1c;box-shadow:0 0 0 3px #c91c1c1f}.new-customer-editor-actions{display:flex;justify-content:flex-end;gap:.7rem}.new-customer-feedback{padding:.78rem .95rem;border-radius:12px;font-size:.88rem;font-weight:600}.new-customer-feedback--success{background:#16823a1f;color:#16823a}.new-customer-feedback--error{background:#c91c1c1f;color:#8d1010}@media(max-width:768px){.new-customer-report__header{padding:1rem}.new-customer-report__header h2{font-size:1.1rem}.new-customer-editor-grid{grid-template-columns:1fr}.new-customer-field--full{grid-column:auto}.new-customer-editor-actions{flex-direction:column}}.target-data{width:100%;min-width:0}.target-data-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem;flex-wrap:wrap;margin-bottom:.75rem}.target-data-title{margin:0;color:#0f172a;font-size:1rem;font-weight:800;text-decoration:underline}.target-data-status{margin:.25rem 0 0;color:#475569;font-size:.82rem;font-weight:700}.target-data-actions{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}.target-data-button,.target-data-icon-button{min-height:36px;border:1px solid rgba(15,23,42,.18);border-radius:7px;padding:.42rem .75rem;font-size:.82rem;font-weight:800;cursor:pointer;white-space:nowrap}.target-data-button--light{background:#f1f5f9;color:#0f172a}.target-data-button--export{border:1px solid rgba(21,128,61,.35);border-radius:8px;padding:.66rem .85rem;background:linear-gradient(135deg,#15803d,#22c55e);color:#fff;font:inherit;font-size:.86rem;font-weight:800;box-shadow:0 8px 20px #15803d38}.target-data-button--save{background:#2563eb;border-color:#1d4ed8;color:#fff}.target-data-button--cancel{background:#fff;border-color:#94a3b88c;color:#334155}.target-data-icon-button{width:38px;padding:0;background:#fff;color:#111827;font-size:1.2rem;line-height:1}.target-data-button:disabled,.target-data-icon-button:disabled{cursor:not-allowed;opacity:.48}.target-data-empty{padding:1rem;border:1px solid rgba(148,163,184,.24);background:#fff;color:#64748b;text-align:center;font-weight:700}.target-data-table-wrap{max-height:68vh;overflow:auto;border:1px solid #111827;background:#fff}.target-data-table{width:max-content;min-width:100%;border-collapse:collapse;table-layout:fixed;color:#000;font-size:12px}.target-data-table th,.target-data-table td{width:104px;min-width:104px;height:25px;border:1px solid #111;padding:2px 4px;background:#fff;vertical-align:middle}.target-data-table thead th{position:sticky;z-index:6;font-weight:800;text-align:center}.target-data-table thead tr:first-child th{top:0}.target-data-table thead tr:nth-child(2) th{top:45px}.target-data-head-side{background:#e2f0d9!important}.target-data-month-head{height:40px!important;background:#b8c6d6!important;border-top:2px solid #111!important;border-bottom:2px solid #111!important;font-size:13px}.target-data-target-head,.target-data-target-cell{background:#92d050!important}.target-data-actual-head{background:#c6e0b4!important}.target-data-extra-head{background:#f8fafc!important}.target-data-add-column-head,.target-data-add-column-placeholder{width:54px!important;min-width:54px!important;background:#f8fafc!important;text-align:center}.target-data-add-column-button{width:28px;height:24px;border:1px solid rgba(15,23,42,.28);border-radius:6px;background:#fff;color:#0f172a;font-weight:900;cursor:pointer}.target-data-add-column-button:disabled{cursor:not-allowed;opacity:.45}.target-data-sticky{position:sticky;z-index:5}.target-data-table thead .target-data-sticky{z-index:8}.target-data-sticky--no{left:0;width:68px!important;min-width:68px!important}.target-data-sticky--sales{left:68px;width:112px!important;min-width:112px!important}.target-data-sticky--customer{left:180px;width:240px!important;min-width:240px!important}.target-data-center{text-align:center}.target-data-strong{font-weight:800}.target-data-row--subtotal td{background:#e2f0d9}.target-data-row--tt.target-data-row--subtotal td,.target-data-row--tt.target-data-row--section-total td{background:#bdd7ee}.target-data-row--plain.target-data-row--subtotal td{background:#d6dee8}.target-data-row--section-total.target-data-row--grand td{background:#f4b6c2;font-weight:800}.target-data-row--section-total.target-data-row--tt td{background:#bdd7ee}.target-data-row--grand-total td{background:#f8cbad;font-weight:800}.target-data-row--section-total.target-data-row--grand.target-data-row td:nth-child(n+4){background:#bfbfbf}.target-data-row--grand-total td:nth-child(n+4){background:#f4b183}.target-data-row--subtotal .target-data-target-cell,.target-data-row--section-total .target-data-target-cell{background:#8fd14f!important}.target-data-row--tt.target-data-row--subtotal .target-data-target-cell,.target-data-row--tt.target-data-row--section-total .target-data-target-cell{background:#9dc3e6!important}.target-data-row--plain.target-data-row--subtotal .target-data-target-cell{background:#8497b0!important}.target-data-calculated-cell{font-weight:700}.target-data-percent-cell{text-align:center}.target-data-table input{width:100%;min-width:0;height:21px;border:1px solid rgba(15,23,42,.2);border-radius:3px;padding:1px 3px;background:#ffffffdb;color:#000;font:inherit}.target-data-summary-layout{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:1rem;align-items:start;margin-top:1.25rem}.target-data-summary-panel,.target-data-detail-panel,.target-data-filter-panel{border:1px solid rgba(148,163,184,.35);border-radius:8px;background:#fff}.target-data-summary-stack{display:flex;min-width:0;flex-direction:column;gap:1rem}.target-data-summary-panel,.target-data-detail-panel{min-width:0;overflow:hidden}.target-data-section-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem .95rem;border-bottom:1px solid rgba(148,163,184,.26);background:#f8fafc}.target-data-section-heading h3{margin:0;color:#0f172a;font-size:.98rem;font-weight:850}.target-data-summary-wrap,.target-data-detail-wrap{max-height:52vh;overflow:auto}.target-data-summary-table .target-data-total-head,.target-data-detail-table .target-data-total-head{background:#c6e0b4!important;border-top:2px solid #111!important;border-bottom:2px solid #111!important;font-size:13px}.target-data-year-highlight{background:#ffc000!important}.target-data-summary-extra-head{background:#f59e0b!important}.target-data-summary-table thead tr:first-child th,.target-data-detail-table thead tr:first-child th{top:0}.target-data-summary-table thead tr:nth-child(2) th,.target-data-detail-table thead tr:nth-child(2) th{top:45px}.target-data-filter-panel{display:flex;flex-direction:column;gap:.75rem;padding:.75rem}.target-data-filter-box{border:1px solid #cbd5e1;border-radius:7px;padding:.7rem;background:#f8fafc}.target-data-filter-box summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#0f172a;cursor:pointer;font-size:.9rem;font-weight:850;list-style:none}.target-data-filter-box summary::-webkit-details-marker{display:none}.target-data-filter-box summary span:last-child{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#334155}.target-data-filter-actions{display:flex;gap:.45rem;margin-top:.75rem}.target-data-filter-actions button{border:1px solid #cbd5e1;border-radius:7px;padding:.45rem .6rem;background:#fff;color:#1e293b;cursor:pointer;font-size:.78rem;font-weight:800}.target-data-filter-options{display:flex;flex-direction:column;gap:.35rem;max-height:150px;margin-top:.7rem;overflow:auto}.target-data-filter-options label{display:flex;align-items:center;gap:.45rem;color:#334155;font-size:.8rem;font-weight:700}.target-data-filter-options input{width:14px;height:14px}.target-data-detail-table .target-data-detail-sticky-sales,.target-data-detail-table .target-data-detail-sticky-customer{position:sticky;z-index:5;background:#fff}.target-data-detail-table .target-data-detail-sticky-sales{left:0;width:112px!important;min-width:112px!important}.target-data-detail-table .target-data-detail-sticky-customer{left:112px;width:240px!important;min-width:240px!important}.target-data-detail-table thead .target-data-detail-sticky-sales,.target-data-detail-table thead .target-data-detail-sticky-customer{z-index:8;background:#e2f0d9!important}@media(max-width:768px){.target-data-table-wrap{max-height:62vh}.target-data-summary-layout{grid-template-columns:1fr}.target-data-filter-panel{order:-1}.target-data-sticky--customer{width:180px!important;min-width:180px!important}.target-data-detail-table .target-data-detail-sticky-sales{width:92px!important;min-width:92px!important}.target-data-detail-table .target-data-detail-sticky-customer{left:92px;width:180px!important;min-width:180px!important}}.dashboard-sales-targets{width:100%}.dashboard-sales-targets-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem}.dashboard-sales-targets-title{margin:0;font-size:1.2rem;font-weight:700;color:#1f2937}.dashboard-sales-targets-subtitle{margin:.35rem 0 0;font-size:.9rem;color:#64748b}.dashboard-sales-targets-month-field{display:flex;flex-direction:column;gap:.35rem;min-width:176px;font-size:.82rem;color:#475569;font-weight:700}.dashboard-sales-targets-month-field input{min-height:40px;border:1px solid rgba(15,23,42,.14);border-radius:10px;padding:.45rem .75rem;font-size:.92rem;color:#1f2937;background:#fff}.dashboard-sales-targets-header-actions{display:flex;align-items:flex-end;gap:.65rem;flex-wrap:wrap}.dashboard-sales-targets-target-data-button{min-height:40px;border:1px solid rgba(15,23,42,.14);border-radius:8px;padding:.45rem .8rem;background:#f8fafc;color:#0f172a;font-size:.88rem;font-weight:800;cursor:pointer}.dashboard-sales-targets-target-data-button--active{background:#dbeafe;border-color:#2563eb;color:#1d4ed8}.dashboard-sales-targets-empty,.dashboard-sales-targets-chart-empty{text-align:center;padding:1.35rem;color:#64748b;font-size:.92rem;background:#ffffffe6;border-radius:16px}.dashboard-sales-targets-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem;align-items:start}.dashboard-sales-targets-overview,.dashboard-sales-targets-analytics{min-width:0}.dashboard-sales-targets-analytics{background:#fffffff0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:1rem 1.05rem;box-shadow:0 14px 28px #0f172a14}.dashboard-sales-targets-chart-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem;flex-wrap:wrap;margin-bottom:.9rem}.dashboard-sales-targets-chart-title{margin:0;font-size:1rem;font-weight:700;color:#0f172a}.dashboard-sales-targets-chart-subtitle{margin:.25rem 0 0;font-size:.8rem;color:#64748b}.dashboard-sales-targets-legend{display:flex;gap:.85rem;flex-wrap:wrap;font-size:.78rem;color:#475569;font-weight:600}.dashboard-sales-targets-legend span{display:inline-flex;align-items:center;gap:.35rem}.dashboard-sales-targets-legend-dot{width:10px;height:10px;border-radius:999px;display:inline-block}.dashboard-sales-targets-legend-dot--target,.dashboard-sales-targets-chart-bar--target{background:#94a3b8f2}.dashboard-sales-targets-legend-dot--sales,.dashboard-sales-targets-chart-bar--sales{background:linear-gradient(135deg,#1f7a47,#2ca266)}.dashboard-sales-targets-chart-stack{display:flex;flex-direction:column;gap:1rem}.dashboard-sales-targets-chart-section{background:#f8fafc;border:1px solid rgba(148,163,184,.16);border-radius:14px;padding:.9rem}.dashboard-sales-targets-chart-section-title{margin:0 0 .75rem;font-size:.92rem;font-weight:700;color:#0f172a}.dashboard-sales-targets-chart-bars{display:flex;flex-direction:column;gap:.9rem}.dashboard-sales-targets-chart-row{display:flex;flex-direction:column;gap:.32rem}.dashboard-sales-targets-chart-row-head,.dashboard-sales-targets-chart-values{display:flex;justify-content:space-between;gap:.75rem;font-size:.76rem;color:#475569}.dashboard-sales-targets-chart-row-head{font-weight:700;color:#0f172a}.dashboard-sales-targets-chart-track{position:relative;height:12px;background:#e2e8f0e6;border-radius:999px;overflow:hidden}.dashboard-sales-targets-chart-bar{position:absolute;left:0;top:0;height:100%;border-radius:999px}.dashboard-sales-targets-chart-bar--target{opacity:.82}.dashboard-sales-targets-chart-bar--sales{opacity:.96}@media(max-width:1180px){.dashboard-sales-targets-layout{grid-template-columns:1fr}}@media(max-width:768px){.dashboard-sales-targets-header,.dashboard-sales-targets-chart-header{align-items:stretch}.dashboard-sales-targets-month-field,.dashboard-sales-targets-header-actions{width:100%}.dashboard-sales-targets-analytics{padding:.9rem}}.so-data-report{background:#fffffff2;border-radius:18px;padding:24px;box-shadow:0 12px 32px #00000014}.so-data-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:14px}.so-data-report-header h2{margin:0 0 6px;font-size:1.55rem;color:#1f2937}.so-data-report-header p{margin:0;color:#6b7280;font-size:.95rem}.so-data-report-controls,.so-data-toolbar-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.so-data-view-toggle{display:inline-flex;align-items:center;gap:6px;padding:6px;background:#f3f4f6;border-radius:999px}.so-data-view-button{border:none;border-radius:999px;padding:10px 16px;background:transparent;color:#4b5563;font-weight:700;cursor:pointer;transition:all .2s ease}.so-data-view-button.active{background:linear-gradient(135deg,#d32f2f,#f97316);color:#fff;box-shadow:0 8px 20px #d32f2f33}.so-data-filter-control{display:flex;flex-direction:column;gap:10px;padding:10px 14px;border-radius:14px;background:#f9fafb;border:1px solid #e5e7eb;color:#374151;font-weight:600;min-width:180px}.so-data-filter-control input,.so-data-filter-control select{border:1px solid #d1d5db;background:#fff;font:inherit;color:#111827;outline:none;border-radius:10px;padding:9px 12px}.so-data-toolbar-button{border:none;border-radius:12px;padding:12px 18px;font-weight:700;cursor:pointer;transition:all .2s ease}.so-data-toolbar-button:disabled{opacity:.55;cursor:not-allowed}.so-data-toolbar-button--primary{background:linear-gradient(135deg,#15803d,#22c55e);color:#fff;box-shadow:0 8px 20px #15803d38}.so-data-toolbar-button--secondary{background:#f3f4f6;color:#1f2937;border:1px solid #d1d5db}.so-data-report-hint{margin:0 0 16px;color:#6b7280;font-size:.88rem}.so-data-detail-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:18px}.so-data-detail-summary-item{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:14px;background:#f9fafb;border:1px solid #e5e7eb}.so-data-detail-summary-item span{font-size:.78rem;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.so-data-detail-summary-item strong{color:#111827;font-size:.96rem}.so-data-report-state{padding:48px 24px;border-radius:16px;background:#f9fafb;border:1px dashed #d1d5db;text-align:center;color:#6b7280}.so-data-report-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border:1px solid #e5e7eb;border-radius:16px}.so-data-report-table{width:100%;min-width:1180px;border-collapse:collapse;background:#fff}.so-data-report-table th,.so-data-report-table td{padding:12px 14px;border-bottom:1px solid #e5e7eb;border-right:1px solid #f1f5f9;vertical-align:middle;font-size:.92rem;white-space:nowrap}.so-data-report-table th:last-child,.so-data-report-table td:last-child{border-right:none}.so-data-report-table thead th{position:sticky;top:0;background:linear-gradient(135deg,#fff5f5,#fff7ed);color:#991b1b;font-weight:800;z-index:1}.so-data-period-heading{min-width:96px;text-align:center}.so-data-period-heading span{display:block}.so-data-period-heading small{display:block;margin-top:2px;color:#9ca3af;font-size:.72rem;font-weight:700}.so-data-report-table tbody tr:nth-child(2n){background:#fcfcfd}.so-data-report-table tbody tr:hover{background:#fff7ed}.so-data-link-button{border:none;padding:0;background:transparent;color:#b91c1c;font:inherit;font-weight:700;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.so-data-link-button:hover{color:#ea580c}.so-data-amount-cell{text-align:right;font-variant-numeric:tabular-nums}.so-data-center-cell{text-align:center;font-variant-numeric:tabular-nums}.so-data-row-total{font-weight:800;color:#b45309}.so-data-report-table tfoot td{background:#fef3c7;font-weight:800;color:#92400e}.so-data-detail-table{min-width:1080px}@media(max-width:900px){.so-data-report{padding:16px}.so-data-report-header{flex-direction:column}.so-data-report-controls{width:100%;flex-direction:column;align-items:stretch}.so-data-view-toggle{width:100%;justify-content:space-between}.so-data-view-button{flex:1}.so-data-toolbar-row{width:100%;flex-direction:column;align-items:stretch}.so-data-filter-control{min-width:0}.so-data-toolbar-button{width:100%}}.purchase-order-report{display:flex;flex-direction:column;gap:1.2rem}.purchase-order-report-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.4rem 1.5rem;border-radius:18px;background:linear-gradient(135deg,#dbeafef2,#fffffffa);border:1px solid rgba(191,219,254,.9)}.purchase-order-report-header h2{margin:0;color:#0f172a;font-size:1.45rem}.purchase-order-report-header p{margin:.45rem 0 0;color:#475569;line-height:1.6}.purchase-order-report-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.85rem}.purchase-order-top-actions{display:flex;justify-content:flex-end;gap:.65rem;flex-wrap:wrap}.purchase-order-tab-group{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.6rem}.purchase-order-month-filter,.purchase-order-sales-code-filter{display:inline-flex;align-items:center;gap:.55rem;color:#334155;font-size:.9rem;font-weight:700}.purchase-order-month-filter input,.purchase-order-sales-code-filter select{min-width:9rem;border:1px solid rgba(148,163,184,.55);border-radius:10px;padding:.68rem .82rem;background:#fff;color:#0f172a;font:inherit;outline:none}.purchase-order-month-filter input:focus,.purchase-order-sales-code-filter select:focus{border-color:#2563ebbf;box-shadow:0 0 0 3px #2563eb1f}.purchase-order-tab-button,.purchase-order-toolbar-button{border:none;border-radius:12px;padding:.8rem 1rem;font-size:.92rem;font-weight:700;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.purchase-order-tab-button{background:#e2e8f0;color:#334155}.purchase-order-tab-button.active{background:linear-gradient(135deg,#1d4ed8,#38bdf8);color:#fff;box-shadow:0 10px 22px #1d4ed82e}.purchase-order-tab-button--latest,.purchase-order-tab-button--latest.active{background:#fef3c7;color:#78350f;box-shadow:0 10px 22px #d9770624}.purchase-order-tab-button--return,.purchase-order-tab-button--return.active,.purchase-order-toolbar-button--return{color:#fff;background:linear-gradient(135deg,#ea580c,#f97316);box-shadow:0 10px 22px #ea580c38}.purchase-order-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem}.purchase-order-toolbar-button--primary{color:#fff;background:linear-gradient(135deg,#15803d,#22c55e);box-shadow:0 10px 22px #15803d33}.purchase-order-toolbar-button--secondary{background:#eef2f7;color:#0f172a;box-shadow:0 10px 22px #0f172a14}.purchase-order-toolbar-button--danger{color:#fff;background:linear-gradient(135deg,#dc2626,#ef4444);box-shadow:0 10px 22px #dc262638}.purchase-order-tab-button:hover,.purchase-order-toolbar-button:hover,.purchase-order-po-button:hover{transform:translateY(-1px)}.purchase-order-tab-button:disabled,.purchase-order-toolbar-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.purchase-order-report-state{padding:2.5rem 1.5rem;text-align:center;border-radius:18px;background:#fff;border:1px dashed rgba(148,163,184,.7);color:#64748b;font-weight:600}.purchase-order-card-list{display:flex;flex-direction:column;gap:1rem}.purchase-order-card{border-radius:20px;padding:1.15rem 1.25rem;background:#fff;border:1px solid rgba(226,232,240,.92);box-shadow:0 18px 42px #0f172a0f}.purchase-order-select-all-row,.purchase-order-select-row{display:inline-flex;align-items:center;gap:.45rem;color:#334155;font-size:.86rem;font-weight:700}.purchase-order-select-all-row{align-self:flex-start;padding:.72rem .9rem;border:1px solid rgba(234,179,8,.38);border-radius:12px;background:#fffbeb}.purchase-order-select-row{margin-bottom:.75rem}.purchase-order-select-all-row input,.purchase-order-select-row input{width:1rem;height:1rem;accent-color:#ca8a04}.purchase-order-card.is-expanded{border-color:#3b82f666}.purchase-order-summary-grid{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(220px,1fr) minmax(180px,.8fr);gap:.75rem;align-items:stretch}.purchase-order-summary-grid--sales-info{grid-template-columns:minmax(calc(12ch + 1.64rem),calc(12ch + 1.64rem)) minmax(15rem,1.25fr) minmax(calc(10ch + 1.64rem),calc(10ch + 1.64rem)) minmax(13rem,.95fr) minmax(15rem,.9fr)}.purchase-order-summary-field{display:flex;flex-direction:column;justify-content:flex-start;gap:.28rem;padding:.72rem .82rem;border-radius:14px;background:#f8fafc;border:1px solid rgba(226,232,240,.9);min-width:0}.purchase-order-summary-field--primary{background:linear-gradient(135deg,#eff6fff2,#f8fafcfa);border-color:#bfdbfef2}.purchase-order-summary-field span{color:#64748b;font-size:.82rem;font-weight:700}.purchase-order-summary-field strong,.purchase-order-summary-field small{color:#0f172a}.purchase-order-summary-field strong{font-size:.94rem;line-height:1.35}.purchase-order-summary-field small{color:#2563eb;font-size:.72rem;font-weight:700;line-height:1.25}.purchase-order-po-button{display:inline-flex;align-items:center;justify-content:flex-start;width:12ch;min-width:12ch;max-width:12ch;padding:0;border:none;background:transparent;color:#1d4ed8;font-size:1rem;font-weight:800;cursor:pointer;text-align:left;overflow-wrap:anywhere;transition:color .2s ease,transform .2s ease}.purchase-order-summary-field--sales-code strong{width:10ch;min-width:10ch;max-width:10ch;overflow-wrap:anywhere}.purchase-order-summary-field--shop strong,.purchase-order-summary-field--sales-name strong,.purchase-order-summary-field--saved-at strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.purchase-order-po-button:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:4px;border-radius:8px}.purchase-order-card-detail{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(226,232,240,.92)}.purchase-order-return-panel{display:flex;flex-direction:column;gap:1rem;padding:1.15rem 1.25rem;border-radius:20px;background:#fff;border:1px solid rgba(251,146,60,.45);box-shadow:0 18px 42px #9a341214}.purchase-order-return-page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.4rem 1.5rem;border-radius:18px;background:#fff;border:1px solid rgba(226,232,240,.92);box-shadow:0 18px 42px #0f172a0f}.purchase-order-return-page-header h2{margin:0;color:#0f172a;font-size:1.45rem}.purchase-order-return-page-header p{margin:.35rem 0 0;color:#64748b;font-weight:700}.purchase-order-return-panel-header{display:flex;justify-content:space-between;align-items:center;gap:.8rem}.purchase-order-return-page-actions{display:flex;justify-content:flex-start}.purchase-order-return-card-tools{display:flex;justify-content:flex-end}.purchase-order-return-saved-card{display:flex;flex-direction:column;gap:1rem;padding-top:.25rem}.purchase-order-return-document-list{display:flex;flex-direction:column;gap:.85rem}.purchase-order-return-document-card{display:grid;grid-template-columns:8.5rem minmax(0,1fr) auto;gap:.8rem;align-items:stretch;padding:1rem 1.15rem;border:1px solid rgba(219,234,254,.95);border-radius:18px;background:#fff}.purchase-order-return-document-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:.55rem}.purchase-order-return-document-po,.purchase-order-return-document-shop{display:flex;min-height:5.6rem;flex-direction:column;justify-content:center;gap:.3rem;padding:.8rem .9rem;border:1px solid rgba(191,219,254,.95);border-radius:14px;background:#f8fbff;text-align:left}.purchase-order-return-document-po{cursor:pointer}.purchase-order-return-document-po span,.purchase-order-return-document-shop span{color:#475569;font-size:.88rem;font-weight:800}.purchase-order-return-document-po strong{color:#2563eb;font-size:1rem;font-weight:900;font-variant-numeric:tabular-nums}.purchase-order-return-document-po small{color:#2563eb;font-weight:900}.purchase-order-return-document-shop strong{color:#0f172a;font-size:1rem;font-weight:900}.purchase-order-return-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem 1rem}.purchase-order-return-grid label{display:flex;flex-direction:column;gap:.4rem;color:#334155;font-size:.9rem;font-weight:800}.purchase-order-return-grid input,.purchase-order-return-grid select,.purchase-order-return-grid textarea,.purchase-order-return-table input{width:100%;border:1px solid rgba(148,163,184,.55);border-radius:10px;padding:.68rem .78rem;background:#fff;color:#0f172a;font:inherit;outline:none}.purchase-order-return-grid input:disabled,.purchase-order-return-grid select:disabled,.purchase-order-return-grid textarea:disabled,.purchase-order-return-table input:disabled{background:#f8fafc;color:#475569}.purchase-order-return-grid input:focus,.purchase-order-return-grid select:focus,.purchase-order-return-grid textarea:focus,.purchase-order-return-table input:focus{border-color:#ea580cb8;box-shadow:0 0 0 3px #f9731624}.purchase-order-return-grid-full{grid-column:1 / -1}.purchase-order-return-lookup{display:flex;gap:.65rem;align-items:stretch}.purchase-order-return-lookup input{min-width:12rem}.purchase-order-return-po-field{grid-column:1 / -1}.purchase-order-return-po-input{width:20ch!important;max-width:20ch;flex:0 0 20ch}.purchase-order-required-mark{margin-left:.15rem;color:#dc2626}.purchase-order-return-message{padding:.72rem .9rem;border-radius:12px;background:#fff7ed;color:#9a3412;font-weight:800}.purchase-order-return-table{min-width:1360px;table-layout:fixed}.purchase-order-return-col--sequence{width:4.5rem}.purchase-order-return-col--id{width:5.5rem}.purchase-order-return-col--barcode{width:20ch}.purchase-order-return-col--product-name{width:40%}.purchase-order-return-col--quantity{width:9.5rem}.purchase-order-return-col--unit-price,.purchase-order-return-col--amount{width:9rem}.purchase-order-return-col--remark{width:13rem}.purchase-order-return-col--action{width:7.5rem}.purchase-order-return-number-input{max-width:9rem;text-align:center;font-variant-numeric:tabular-nums}.purchase-order-return-id-input{max-width:5.5rem;text-align:center}.purchase-order-return-barcode-input,.purchase-order-return-barcode-cell{width:18ch;max-width:18ch;text-align:center;font-variant-numeric:tabular-nums}.purchase-order-return-product-input,.purchase-order-return-product-cell{min-width:0;text-align:left}.purchase-order-return-product-cell{overflow-wrap:anywhere}.purchase-order-return-table-header{display:flex;justify-content:flex-end}.purchase-order-return-summary{display:flex;flex-direction:column;align-self:flex-end;width:min(100%,24rem);gap:0;margin-top:.35rem;border:1px solid rgba(15,23,42,.9);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 12px 26px #0f172a14}.purchase-order-return-summary div{display:grid;grid-template-columns:minmax(11rem,1fr) minmax(7rem,.6fr);align-items:center}.purchase-order-return-summary span,.purchase-order-return-summary strong{min-height:2.35rem;padding:.45rem .75rem;color:#0f172a;font-weight:900}.purchase-order-return-summary span{background:#fff7ed;border-right:1px solid rgba(15,23,42,.9)}.purchase-order-return-summary div+div{border-top:1px solid rgba(15,23,42,.9)}.purchase-order-return-summary strong{text-align:right;font-variant-numeric:tabular-nums}.purchase-order-return-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem}.purchase-order-return-actions--top{justify-content:flex-start}.purchase-order-return-remove-button{border:none;border-radius:10px;padding:.55rem .75rem;background:#fee2e2;color:#991b1b;font-weight:800;cursor:pointer}.purchase-order-return-remove-button:disabled{opacity:.55;cursor:not-allowed}.purchase-order-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.purchase-order-card-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem}.purchase-order-card-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.purchase-order-card-title-row h3{margin:0;color:#0f172a;font-size:1.2rem}.purchase-order-card-header p{margin:.45rem 0 0;color:#64748b}.purchase-order-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.32rem .75rem;background:#1d4ed81f;color:#1d4ed8;font-size:.78rem;font-weight:800}.purchase-order-pill--warning{background:#f59e0b24;color:#b45309}.purchase-order-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem 1rem;margin-bottom:1rem}.purchase-order-meta-grid div{display:flex;flex-direction:column;gap:.35rem;padding:.85rem .95rem;border-radius:14px;background:#f8fafc}.purchase-order-meta-grid span{color:#64748b;font-size:.82rem;font-weight:700}.purchase-order-meta-grid strong{color:#0f172a;font-size:.95rem}.purchase-order-meta-grid-full{grid-column:1 / -1}.purchase-order-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border-radius:18px;border:1px solid rgba(226,232,240,.95)}.purchase-order-table{width:100%;min-width:1040px;border-collapse:collapse;background:#fff}.purchase-order-table th,.purchase-order-table td{padding:.85rem .9rem;border-bottom:1px solid rgba(226,232,240,.9);text-align:left;vertical-align:top}.purchase-order-table thead th{background:#eff6ff;color:#1e3a8a;font-size:.84rem;font-weight:800;text-align:center;vertical-align:middle}.purchase-order-table tbody tr:last-child td{border-bottom:none}.purchase-order-amount-cell{text-align:center!important;white-space:nowrap;font-variant-numeric:tabular-nums}.purchase-order-center-cell{text-align:center!important;vertical-align:middle!important}.purchase-order-price-adjustment-cell{min-width:11rem;text-align:center!important;white-space:nowrap;font-variant-numeric:tabular-nums}.purchase-order-card-footer{margin-top:1rem;display:flex;justify-content:flex-end;align-items:center;gap:.85rem;color:#0f172a;font-weight:800}@media(max-width:1100px){.purchase-order-report-header,.purchase-order-card-header{flex-direction:column;align-items:stretch}.purchase-order-report-actions{align-items:stretch}.purchase-order-top-actions,.purchase-order-tab-group,.purchase-order-toolbar,.purchase-order-card-tools,.purchase-order-return-panel-header,.purchase-order-return-page-actions,.purchase-order-return-card-tools,.purchase-order-return-document-actions,.purchase-order-return-actions{justify-content:stretch}.purchase-order-summary-grid,.purchase-order-meta-grid,.purchase-order-return-document-card,.purchase-order-return-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.purchase-order-report-header,.purchase-order-card{padding:1rem}.purchase-order-tab-group,.purchase-order-toolbar,.purchase-order-card-tools,.purchase-order-return-panel-header,.purchase-order-return-page-actions,.purchase-order-return-card-tools,.purchase-order-return-document-actions,.purchase-order-return-actions{display:grid;grid-template-columns:1fr}.purchase-order-summary-grid,.purchase-order-meta-grid,.purchase-order-return-document-card,.purchase-order-return-grid,.purchase-order-return-summary{grid-template-columns:1fr}.purchase-order-tab-button,.purchase-order-toolbar-button{width:100%}.purchase-order-return-lookup{flex-direction:column}.purchase-order-card-footer{flex-direction:column;align-items:flex-end}}.sales-order-document-report{--sales-order-po-column-ch: 12ch;--sales-order-tax-column-ch: 36ch}.sales-order-document-report .purchase-order-card-list{overflow-x:auto;padding-bottom:.2rem}.sales-order-document-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.75rem;width:min(100%,24rem);margin-left:auto}.sales-order-document-month{display:inline-flex;align-items:center;justify-content:flex-end;gap:.55rem;width:100%;color:#334155;font-size:.9rem;font-weight:700}.sales-order-document-month input{min-width:9rem;border:1px solid rgba(148,163,184,.55);border-radius:10px;padding:.68rem .82rem;background:#fff;color:#0f172a;font:inherit;outline:none}.sales-order-document-month input:focus{border-color:#2563ebbf;box-shadow:0 0 0 3px #2563eb1f}.sales-order-document-search{display:inline-flex;align-items:center;gap:.55rem;width:100%;padding:.65rem .85rem;border:1px solid rgba(203,213,225,.95);border-radius:12px;background:#fff;color:#64748b;box-shadow:0 10px 22px #0f172a0f}.sales-order-document-search input{width:100%;min-width:0;border:none;outline:none;color:#0f172a;background:transparent;font-size:.92rem}.purchase-order-summary-grid--sales-order-documents{grid-template-columns:minmax(calc(12ch + 1.64rem),calc(12ch + 1.64rem)) minmax(calc(var(--sales-order-po-column-ch) + 1.64rem),calc(var(--sales-order-po-column-ch) + 1.64rem)) minmax(calc(var(--sales-order-tax-column-ch) + 1.64rem),calc(var(--sales-order-tax-column-ch) + 1.64rem)) minmax(13rem,1fr) minmax(5.8rem,max-content);min-width:max-content}.sales-order-document-summary-actions{justify-content:center;align-items:stretch}.sales-order-document-delete-button{width:100%;min-width:5.8rem;padding:.74rem .9rem;white-space:nowrap}.purchase-order-summary-grid--sales-order-documents .purchase-order-summary-field--shop strong,.purchase-order-summary-grid--sales-order-documents .purchase-order-summary-field--saved-at strong{white-space:nowrap;overflow:visible;text-overflow:clip}.purchase-order-summary-grid--sales-order-documents .purchase-order-summary-field:nth-child(2) strong{width:var(--sales-order-po-column-ch);min-width:var(--sales-order-po-column-ch);max-width:var(--sales-order-po-column-ch);white-space:nowrap;overflow:visible;text-overflow:clip;font-variant-numeric:tabular-nums}@media(max-width:720px){.sales-order-document-header-actions{align-items:stretch;width:100%;margin-left:0}.sales-order-document-month{justify-content:space-between}.sales-order-document-month input{min-width:0;width:11rem}.sales-order-document-search{width:100%}.purchase-order-summary-grid--sales-order-documents{grid-template-columns:1fr;min-width:0}.purchase-order-summary-grid--sales-order-documents .purchase-order-summary-field:nth-child(2) strong{width:auto;min-width:0;max-width:100%}}.products-data-report{display:grid;grid-template-columns:minmax(0,1fr) 17rem;gap:1rem;align-items:start}.products-data-main{min-width:0}.products-data-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding:1.2rem 1.35rem;border:1px solid rgba(191,219,254,.9);border-radius:8px;background:#f8fafc}.products-data-header h2{margin:0;color:#0f172a;font-size:1.35rem}.products-data-header p{margin:.35rem 0 0;color:#475569;line-height:1.55}.products-data-header-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}.products-data-export-button{border:1px solid rgba(21,128,61,.35);border-radius:8px;padding:.66rem .85rem;background:linear-gradient(135deg,#15803d,#22c55e);color:#fff;font:inherit;font-size:.86rem;font-weight:800;cursor:pointer;box-shadow:0 8px 20px #15803d38;white-space:nowrap}.products-data-export-button:disabled{border-color:#94a3b859;background:#cbd5e1;cursor:not-allowed}.products-data-month{display:inline-flex;align-items:center;gap:.55rem;color:#334155;font-size:.9rem;font-weight:700}.products-data-month input{border:1px solid rgba(148,163,184,.6);border-radius:8px;padding:.65rem .75rem;color:#0f172a;font:inherit}.products-data-table-wrap{overflow-x:auto;border:1px solid rgba(226,232,240,.95);border-radius:8px;background:#fff}.products-data-table{width:100%;min-width:900px;border-collapse:collapse}.products-data-table th,.products-data-table td{padding:.78rem .9rem;border-bottom:1px solid rgba(226,232,240,.95);text-align:left;vertical-align:top}.products-data-table th{background:#eef2ff;color:#1e293b;font-size:.82rem;font-weight:800;white-space:nowrap}.products-data-table tbody tr:last-child td{border-bottom:none}.products-data-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.products-data-filters{position:sticky;top:1rem;display:flex;max-height:calc(100vh - 2rem);min-width:0;flex-direction:column;gap:.75rem;overflow-y:auto;padding-right:.2rem}.products-data-filter-section{overflow:hidden;border:1px solid rgba(203,213,225,.95);border-radius:8px;background:#fff}.products-data-filter-header{padding:.85rem .85rem .7rem;border-bottom:1px solid rgba(226,232,240,.95)}.products-data-filter-title-row{display:flex;align-items:center;justify-content:space-between;gap:.65rem;margin-bottom:.55rem}.products-data-filter-header h3{margin:0;color:#0f172a;font-size:.95rem}.products-data-filter-toggle{display:inline-flex;width:1.75rem;height:1.75rem;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.5);border-radius:7px;background:#fff;color:#334155;font-size:.78rem;font-weight:900;line-height:1;cursor:pointer;transition:transform .16s ease,background-color .16s ease}.products-data-filter-toggle.is-open{transform:rotate(180deg);background:#f8fafc}.products-data-filter-actions{display:flex;gap:.45rem}.products-data-filter-actions button{border:1px solid rgba(148,163,184,.45);border-radius:7px;padding:.42rem .55rem;background:#f8fafc;color:#334155;font-size:.76rem;font-weight:700;cursor:pointer}.products-data-product-search{width:calc(100% - 1.5rem);margin:.75rem .75rem 0;border:1px solid rgba(148,163,184,.55);border-radius:7px;padding:.52rem .6rem;color:#0f172a;font:inherit;font-size:.86rem}.products-data-option-list{overflow-y:auto;padding:.55rem .75rem}.products-data-option-list--dates{max-height:17.5rem}.products-data-option-list--sales-codes,.products-data-option-list--brands{max-height:11rem}.products-data-option-list--products{max-height:22rem}.products-data-filter-option{display:flex;align-items:flex-start;gap:.6rem;min-height:2.05rem;padding:.32rem 0;color:#111827;font-size:.9rem;line-height:1.35}.products-data-filter-option input{width:15px;height:15px;margin-top:.1rem;flex:0 0 auto}.products-data-filter-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}.products-data-state{padding:2.25rem 1.5rem;border:1px dashed rgba(148,163,184,.75);border-radius:8px;background:#fff;color:#64748b;font-weight:700;text-align:center}.products-data-state--error{border-color:#f87171bf;color:#b91c1c}@media(max-width:920px){.products-data-report{grid-template-columns:1fr}.products-data-header{flex-direction:column}.products-data-filters{position:static;max-height:none}}.account-page{width:100%;min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(to bottom,#ffffff,#ffffff,#ffffff,#f1f1f1,var(--bg-gradient-end, #fe161658))}.account-container{flex:1;display:flex;justify-content:center;align-items:flex-start;padding:clamp(1rem,3vw,2rem) 1rem}.account-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100%;max-width:1120px;border-radius:20px;box-shadow:0 10px 40px #00000014;overflow:hidden;animation:slideUp .4s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.account-header{background:var(--gradient-main, linear-gradient(135deg, #d32f2f, #ff6b6b));padding:3rem 2rem;color:#fff;text-align:center;position:relative}.profile-image-section{display:flex;flex-direction:column;align-items:center;gap:1rem}.profile-image-container{width:120px;height:120px;border-radius:50%;border:4px solid white;overflow:hidden;background:#fff;position:relative;cursor:pointer;box-shadow:0 4px 15px #0003}.profile-image-container img{width:100%;height:100%;object-fit:cover}.profile-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3rem;font-weight:700;color:var(--primary-color, #d32f2f)}.image-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#0000004d;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}.profile-image-container:hover .image-overlay{opacity:1}.image-overlay span{font-size:1.5rem}.account-header h3{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:.5px}.user-email{margin:.2rem 0 0;font-size:.9rem;opacity:.9}.account-content{padding:2.5rem}.info-section+.info-section{margin-top:2.5rem}.section-title{font-size:1.1rem;font-weight:700;color:#333;margin-bottom:1.5rem;padding-bottom:.6rem;border-bottom:2px solid var(--primary-color, #d32f2f);display:inline-block}.info-grid{display:flex;flex-direction:column;gap:1.5rem}.info-field{display:flex;flex-direction:column;gap:.5rem}.info-field label{font-size:.8rem;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:.5px}.input-with-icon{display:flex;gap:1rem}.info-field input{padding:.8rem 1rem;border:1.5px solid #eee;border-radius:10px;font-size:.95rem;color:#333;transition:all .2s;width:100%;outline:none}.info-field input:focus{border-color:var(--primary-color, #d32f2f);box-shadow:0 0 0 3px var(--shadow-color, rgba(211, 47, 47, .1))}.info-row{display:flex;gap:1.5rem}.info-row .info-field{flex:1}.disabled-input{background-color:#f9f9f9;color:#aaa!important;cursor:not-allowed}.account-theme-heading{padding:4px 12px;font-size:.7rem;color:#999;text-transform:uppercase;border-top:1px solid #eee;margin-top:4px}.access-admin-section{border-top:1px solid #eee;padding-top:2rem}.access-admin-intro{margin:0 0 1.5rem;color:#666;line-height:1.5}.access-admin-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem;margin-bottom:1.5rem}.access-admin-picker{display:flex;flex:1 1 320px;flex-direction:column;gap:.5rem}.access-admin-picker label,.access-admin-meta-label{font-size:.8rem;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:.5px}.access-admin-picker select{width:100%;padding:.8rem 1rem;border:1.5px solid #eee;border-radius:10px;font-size:.95rem;color:#333;background:#fff;outline:none}.access-admin-picker select:focus{border-color:var(--primary-color, #d32f2f);box-shadow:0 0 0 3px var(--shadow-color, rgba(211, 47, 47, .1))}.access-admin-meta{display:flex;flex:1 1 260px;flex-direction:column;gap:.35rem;padding:1rem 1.1rem;border:1px solid #eee;border-radius:12px;background:#fafafa;color:#444}.access-admin-meta strong{font-size:1rem}.access-admin-meta-target{color:#666;font-size:.9rem;line-height:1.5}.access-admin-grid,.access-scope-grid{display:grid;gap:1rem}.access-visibility-heading{margin-top:1.5rem;margin-bottom:1rem}.access-visibility-heading h5{margin:0 0 .35rem;font-size:1rem;color:#333}.access-visibility-heading p{margin:0;color:#666;line-height:1.5}.access-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.access-scope-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:1rem}.access-admin-panel{display:flex;flex-direction:column;gap:1rem;min-height:0;padding:1rem;border:1px solid #eee;border-radius:16px;background:linear-gradient(180deg,#fff,#fafafa)}.access-admin-panel h5{margin:0;font-size:1rem;color:#333}.access-checklist{display:flex;flex-direction:column;gap:.75rem;max-height:320px;overflow:auto;padding-right:.25rem}.access-checkbox{display:flex;align-items:flex-start;gap:.7rem;cursor:pointer}.access-checkbox input{margin-top:.2rem}.access-checkbox-copy{display:flex;flex-direction:column;gap:.2rem;min-width:0}.access-checkbox-title{color:#333;font-weight:600;line-height:1.45}.access-checkbox-subtitle,.access-checkbox-key{color:#777;font-size:.8rem;line-height:1.35;word-break:break-word}.access-admin-status{padding:1rem 1.1rem;border:1px dashed #d7d7d7;border-radius:12px;color:#666;background:#fafafa}.access-admin-actions{display:flex;justify-content:flex-end;margin-top:1.25rem}.access-save-btn{min-width:220px}.account-footer{display:flex;justify-content:space-between;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #eee}.back-btn{padding:.8rem 2rem;min-height:44px;background:#f5f5f5;border:1px solid #ddd;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease}.back-btn:hover{background:#e0e0e0}.save-btn{padding:.8rem 3rem;min-height:44px;background:var(--gradient-main, linear-gradient(135deg, #1b5e20, #4caf50));color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #0000001a}.save-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #00000026}.save-btn:disabled{opacity:.7;cursor:not-allowed}.loading-screen{height:100vh;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--primary-color)}.message-banner{padding:1rem;border-radius:8px;margin-bottom:1.5rem;text-align:center;font-weight:500}.message-banner.success{background:#e8f5e9;color:#2e7d32;border:1px solid #c8e6c9}.message-banner.error{background:#ffebee;color:#c62828;border:1px solid #ffcdd2}@media(max-width:600px){.info-row{flex-direction:column;gap:1rem}.input-with-icon{flex-direction:column}.account-header{padding:2rem 1.2rem}.account-content{padding:1.25rem}.account-footer{flex-direction:column-reverse;gap:.75rem}.back-btn,.save-btn{width:100%}}@media(max-width:980px){.access-admin-grid,.access-scope-grid{grid-template-columns:1fr}}
