:root{color-scheme:light;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.4;font-weight:400;color:#291507;background-color:#fff}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#fff}.app-shell{display:flex;min-height:100vh;background:#fff}.sidebar{width:240px;height:100vh;background:#fff;border-right:1px solid #ffe0b2;display:flex;flex-direction:column;padding:24px 20px;overflow-y:auto;position:sticky;top:0}.sidebar-header{margin-bottom:32px;display:flex;align-items:center;gap:12px}.sidebar-logo{height:36px;width:auto}.sidebar-title{font-size:1.4rem;font-weight:600;letter-spacing:.04em;color:#f97316}nav{flex:1;overflow-y:auto;min-height:0}.menu-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.menu-link{display:block;width:100%;text-decoration:none;padding:12px 16px;border:1px solid transparent;border-radius:8px;font-size:.95rem;font-weight:500;color:#7c2d12;background:#ffedd5;transition:all .2s ease-in-out}.menu-link:hover:not(.active){background-color:#fed7aa;border-color:#fdba74}.menu-link.active{background:#f97316!important;color:#fff7ed!important;border-color:#ea580c!important;box-shadow:0 6px 14px #f9731640;font-weight:600}.menu-link.active:hover{background:#ea580c!important;border-color:#c2410c!important}.content-area{flex:1;padding:36px 48px;display:flex;justify-content:flex-start;align-items:flex-start;background:#fff}.content-card{width:min(720px,100%);background:#fff;border-radius:20px;padding:48px;box-shadow:0 10px 28px #f9731629,inset 0 1px #ffffffe6;border:1px solid #ffe4cc}.content-card h1{margin:0;font-size:2rem;font-weight:700;color:#ea580c;letter-spacing:.02em}.content-placeholder{margin-top:16px;font-size:1rem;color:#7c2d12;background:#fff7ed;border-radius:12px;padding:16px;border:1px solid #fed7aa}@media (max-width: 900px){.app-shell{flex-direction:column}.sidebar{width:100%;height:auto;flex-direction:column;align-items:stretch;justify-content:flex-start;position:relative}.sidebar nav{flex:0 0 auto}.menu-list{flex-direction:row;flex-wrap:wrap;gap:6px}.sidebar-footer{margin-top:16px;padding-top:16px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.user-info{margin-bottom:0;flex-direction:row;gap:12px;flex:1}.menu-link{padding:10px 14px}.content-area{padding:24px}.content-card{padding:32px}}.page-container{width:100%;margin:0;display:flex;flex-direction:column;gap:24px}.page-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.page-header h1{margin:0;font-size:2rem;font-weight:700;color:#ea580c}.page-header-left{display:flex;align-items:center;gap:12px}.page-header-actions{display:flex;align-items:flex-end;gap:16px}.primary-button{background:#f97316;color:#fff7ed;border:none;padding:12px 18px;border-radius:12px;font-size:.95rem;font-weight:600;cursor:pointer;box-shadow:0 4px 12px #f9731640;transition:transform .15s ease,box-shadow .2s ease}.primary-button:hover{transform:translateY(-1px);box-shadow:0 6px 16px #f973164d}.primary-button:active{transform:translateY(0)}.alert{padding:14px 16px;border-radius:12px;font-size:.95rem}.alert-error{background:#fee2e2;color:#7f1d1d;border:1px solid #fecaca}.table-wrapper{background:#fff;border:1px solid #ffe4cc;border-radius:18px;overflow-y:auto;overflow-x:auto;max-height:calc(100vh - 250px);position:relative;display:block}.table-wrapper::-webkit-scrollbar{width:12px;height:12px}.table-wrapper::-webkit-scrollbar-track{background:#fff7ed;border-radius:6px}.table-wrapper::-webkit-scrollbar-thumb{background:#fdba74;border-radius:6px;border:2px solid #fff7ed}.table-wrapper::-webkit-scrollbar-thumb:hover{background:#f97316}.data-table{width:100%;border-collapse:separate;border-spacing:0;display:table}.data-table thead{background:#fff2e6;position:sticky;top:0;z-index:10;display:table-header-group}.data-table thead th{background:#fff2e6;position:sticky;top:0}.data-table th,.data-table td{padding:10px 14px;text-align:left;font-size:.9rem;color:#4c1d0b;border-bottom:1px solid #ffe4cc}.data-table td.text-truncate{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table tbody tr:nth-child(every){background:transparent}.data-table tbody tr:hover{background:#fff8f2;cursor:pointer}.data-table tbody tr{transition:background .2s ease}.actions-header{width:160px;text-align:right}.actions-cell{display:flex;justify-content:flex-end;gap:10px}.icon-button{width:38px;height:38px;border-radius:10px;border:1px solid #fed7aa;background:#fff7ed;color:#7c2d12;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;transition:background .2s ease,transform .1s ease}.icon-button:hover{background:#ffe3c2}.icon-button.danger{border-color:#fecaca;background:#fee2e2;color:#7f1d1d}.icon-button.danger:hover{background:#fecac7}.icon-button.success{border-color:#a7f3d0;background:#d1fae5;color:#065f46}.icon-button.success:hover{background:#a7f3d0}.icon-button:active{transform:translateY(1px)}.table-placeholder{text-align:center;padding:20px 14px;color:#9a3412;background:#fff7ed}.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fffaf5;border:1px solid #ffe4cc;border-radius:14px;padding:12px 18px}.pagination-info{color:#9a3412;font-size:.9rem}.pagination-controls{display:flex;gap:12px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field label{font-weight:600;color:#7c2d12;font-size:.95rem}.text-input{width:100%;padding:12px 14px;border-radius:10px;border:1px solid #fdba74;background:#fff7ed;color:#7c2d12;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}.text-input:focus{outline:none;border-color:#f97316;box-shadow:0 0 0 3px #f9731633}textarea.text-input{resize:vertical;font-family:inherit;min-height:80px}.form-field.condensed label{font-size:.85rem;color:#9a3412}.select-input{width:100%;padding:12px 14px;border-radius:10px;border:1px solid #fdba74;background:#fff7ed;color:#7c2d12;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}.select-input:focus{outline:none;border-color:#f97316;box-shadow:0 0 0 3px #f9731633}.table-toolbar{display:flex;justify-content:flex-start;align-items:center;gap:16px}.error-text{color:#b91c1c;font-size:.85rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;display:flex;justify-content:center;align-items:center;padding:24px;z-index:1000}.modal-panel{width:min(420px,100%);background:#fff;border-radius:18px;border:1px solid #ffe4cc;box-shadow:none;overflow:hidden;display:flex;flex-direction:column}.modal-panel-wide{width:min(960px,100%)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 12px;border-bottom:1px solid #ffe4cc}.modal-header h2{margin:0;font-size:1.4rem;color:#ea580c}.modal-body{padding:20px 24px}.modal-body-scroll{max-height:60vh;overflow-y:auto;overflow-x:hidden}.modal-body-scroll::-webkit-scrollbar{width:8px}.modal-body-scroll::-webkit-scrollbar-track{background:#fff7ed;border-radius:4px}.modal-body-scroll::-webkit-scrollbar-thumb{background:#fdba74;border-radius:4px}.modal-body-scroll::-webkit-scrollbar-thumb:hover{background:#f97316}.modal-subheader{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.modal-subheader h3{margin:0;color:#d97706;font-size:1.1rem}.modal-actions{padding:16px 24px 24px;display:flex;justify-content:flex-end;gap:12px;background:#fff9f2;border-top:1px solid #ffe4cc}.modal-actions-right{justify-content:flex-end;background:transparent;border-top:none;padding:16px 0 0}.modal-actions-between{justify-content:space-between;background:#fff9f2;border-top:1px solid #ffe4cc;padding:16px 24px}.button-ghost{border:none;background:transparent;color:#9a3412;font-size:1.1rem;cursor:pointer;padding:4px 6px;border-radius:8px;transition:background .2s ease}.button-ghost:hover{background:#ffe4cc}.confirm-text{margin:0 0 8px;color:#7c2d12;font-size:1rem}.confirm-subtext{margin:0;color:#9a3412;font-size:.9rem}.danger-button{padding:10px 16px;border-radius:10px;border:1px solid #fca5a5;background:#fee2e2;color:#7f1d1d;font-weight:600;cursor:pointer;transition:background .2s ease,transform .1s ease}.danger-button:hover:not(:disabled){background:#fecaca}.danger-button:disabled{opacity:.6;cursor:not-allowed}.danger-button:not(:disabled):active{transform:translateY(1px)}.secondary-button{padding:10px 16px;border-radius:10px;border:1px solid #fdba74;background:#ffedd5;color:#7c2d12;font-weight:500;cursor:pointer;transition:background .2s ease,transform .1s ease}.secondary-button:hover{background:#fed7aa}.secondary-button:disabled{cursor:not-allowed;opacity:.5;transform:none}.secondary-button:not(:disabled):active{transform:translateY(1px)}@media (max-width: 720px){.page-header{flex-direction:column;align-items:stretch}.page-header h1{text-align:center}.page-header-actions{flex-direction:column;align-items:stretch}.primary-button{width:100%}.table-wrapper{overflow-x:auto}.actions-header{width:auto}.pagination-bar{flex-direction:column;align-items:stretch}.pagination-controls{justify-content:space-between}.modal-panel-wide{width:100%}.modal-body-scroll{max-height:320px}.form-row{grid-template-columns:1fr}}.test-steps-checklist{display:flex;flex-direction:column;gap:12px;max-height:300px;overflow-y:auto;padding:12px;border:1px solid #fdba74;border-radius:8px;background:#fffbeb}.checkbox-label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;padding:8px;border-radius:6px;transition:background .2s ease}.checkbox-label:hover{background:#fed7aa}.checkbox-label input[type=checkbox]{margin-top:2px;width:18px;height:18px;cursor:pointer;accent-color:#f97316}.checkbox-text{flex:1;color:#7c2d12;font-size:.95rem;line-height:1.5}.checkbox-text strong{color:#9a3412;font-weight:600}.datetime-input-group{display:flex;gap:8px;align-items:stretch}.datetime-input-group .text-input{flex:1}.datetime-input-group .secondary-button{white-space:nowrap;min-width:80px}.notes-preview{max-width:300px;max-height:100px;overflow:auto;padding:8px;background:#fffbeb;border:1px solid #fdba74;border-radius:6px;font-size:.9rem;color:#7c2d12;line-height:1.4}.notes-preview b,.notes-preview strong{font-weight:600;color:#9a3412}.notes-preview i,.notes-preview em{font-style:italic}.profile-card{background:#fff;border:1px solid #ffe4cc;border-radius:18px;padding:16px;margin-top:24px;max-width:500px}.profile-section{margin-bottom:24px}.profile-section:last-child{margin-bottom:0}.profile-section h2{margin:0 0 12px;color:#9a3412;font-size:1.1rem;font-weight:600}.profile-info{display:flex;flex-direction:column;gap:12px}.profile-info-row{display:flex;gap:12px;padding:8px 0;border-bottom:1px solid #ffe4cc}.profile-info-row:last-child{border-bottom:none}.profile-info-row strong{min-width:120px;color:#7c2d12;font-weight:600;font-size:.9rem}.profile-info-row span{color:#4c1d0b;flex:1;font-size:.9rem;min-width:0}.license-key-wrapper{display:flex;align-items:flex-start;gap:8px;flex:1;min-width:0;width:100%}.license-key-text{flex:1;min-width:0;word-break:break-all;overflow-wrap:break-word;line-height:1.5;max-width:calc(100% - 32px)}.copy-button{background:transparent;border:none;cursor:pointer;padding:4px 6px;display:flex;align-items:flex-start;justify-content:center;color:#7c2d12;border-radius:4px;transition:background .2s ease,transform .1s ease,color .2s ease;width:24px;height:24px;flex-shrink:0;margin-top:2px}.copy-button:hover{background:#fed7aa;color:#ea580c;transform:scale(1.1)}.copy-button:active{transform:scale(.95)}.copy-button svg{width:16px;height:16px}.notes-preview u{text-decoration:underline}.loading-text{color:#9a3412;font-size:.9rem;padding:12px;text-align:center}.notes-input-group{display:flex;gap:12px;align-items:flex-start}.notes-preview-input{flex:1;min-height:60px;padding:12px;background:#fffbeb;border:1px solid #fdba74;border-radius:8px;display:flex;align-items:center}.notes-preview-small{flex:1;color:#7c2d12;font-size:.9rem;line-height:1.5;max-height:60px;overflow:auto}.notes-preview-small b,.notes-preview-small strong{font-weight:600;color:#9a3412}.notes-preview-small i,.notes-preview-small em{font-style:italic}.notes-preview-small u{text-decoration:underline}.notes-placeholder{color:#a8a29e;font-style:italic;font-size:.9rem}.serial-numbers-input-group{display:flex;gap:12px;align-items:flex-start}.serial-numbers-preview{flex:1;min-height:40px;padding:12px;background:#fffbeb;border:1px solid #fdba74;border-radius:8px;display:flex;align-items:center}.serial-numbers-count{color:#7c2d12;font-size:.9rem;font-weight:500}.serial-numbers-placeholder{color:#a8a29e;font-style:italic;font-size:.9rem}.serial-numbers-info{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.serial-numbers-count-display{display:flex;flex-direction:column;align-items:flex-end;gap:4px;color:#9a3412;font-size:.95rem;font-weight:600}.serial-numbers-duplicate-warning{color:#b91c1c;font-size:.85rem;font-weight:500}.serial-numbers-preview-list{margin-top:12px;padding:12px;background:#fffbeb;border:1px solid #fdba74;border-radius:8px;max-height:200px;overflow-y:auto}.preview-label{display:block;font-weight:600;color:#7c2d12;font-size:.9rem;margin-bottom:8px}.serial-numbers-list{display:flex;flex-wrap:wrap;gap:8px}.serial-number-item{padding:6px 12px;border-radius:6px;font-size:.9rem;font-weight:500;background:#fff7ed;border:1px solid #fdba74}.serial-number-item.unique{color:#291507;background:#fff7ed;border-color:#fdba74}.serial-number-item.duplicate{color:#b91c1c;background:#fee2e2;border-color:#fca5a5;font-weight:600}.link-button{background:none;border:none;color:#f97316;cursor:pointer;text-decoration:underline;font-size:.9rem;padding:0;font-weight:500;transition:color .2s ease}.link-button:hover{color:#ea580c}.serial-numbers-display-list{max-height:500px;overflow-y:auto;padding:12px;background:#fffbeb;border:1px solid #fdba74;border-radius:8px}.serial-numbers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.serial-number-display-item{padding:8px 12px;background:#fff7ed;border:1px solid #fdba74;border-radius:6px;color:#7c2d12;font-size:.9rem;font-weight:500;text-align:center}.empty-message{text-align:center;color:#a8a29e;font-style:italic;padding:20px}.serial-numbers-summary{margin-top:12px;padding:8px 12px;background:#fff7ed;border:1px solid #fdba74;border-radius:6px;color:#7c2d12;font-size:.95rem;text-align:center}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:24px}.stat-card{background:#fff;border:1px solid #ffe4cc;border-radius:12px;padding:24px;display:flex;align-items:center;gap:16px;box-shadow:0 4px 12px #f973161a;transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #f9731626}.stat-icon{font-size:2.5rem;line-height:1;flex-shrink:0}.stat-content{flex:1}.stat-label{margin:0 0 8px;font-size:.9rem;font-weight:600;color:#7c2d12}.stat-value{font-size:2rem;font-weight:700;color:#f97316;line-height:1}.stats-loading{text-align:center;padding:48px;font-size:1.1rem;color:#7c2d12}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:.85rem;font-weight:600}.status-pending{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.status-active{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.status-rejected{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.status-expired{background:#e5e7eb;color:#374151;border:1px solid #d1d5db}.contact-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:32px;margin-top:24px}.contact-section{background:#fff;border:1px solid #ffe4cc;border-radius:16px;padding:32px;box-shadow:0 4px 12px #f973161a}.contact-section-title{margin:0 0 20px;font-size:1.5rem;font-weight:700;color:#ea580c;border-bottom:2px solid #fed7aa;padding-bottom:12px}.contact-info{display:flex;flex-direction:column;gap:16px}.contact-address{margin:0;color:#7c2d12;font-size:1rem;line-height:1.6}.contact-detail{color:#7c2d12;font-size:.95rem;line-height:1.5;display:flex;gap:8px}.contact-detail strong{color:#9a3412;font-weight:600;display:inline-block;min-width:200px;flex-shrink:0}@media (max-width: 720px){.contact-content{grid-template-columns:1fr;gap:24px}.contact-section{padding:24px}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fff7ed,#ffedd5);padding:24px}.auth-card{width:100%;max-width:420px;background:#fff;border-radius:16px;padding:28px;box-shadow:0 10px 28px #f9731629;border:1px solid #ffe4cc}.auth-card-wide{max-width:720px}.auth-header{text-align:center;margin-bottom:24px;position:relative}.auth-header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.auth-header-top h1{margin:0;font-size:2rem;font-weight:700;color:#ea580c;flex:1}.auth-header-top .language-switcher{width:auto;gap:4px}.auth-header-top .language-btn{min-width:40px;padding:6px 12px;font-size:.85rem}.language-switcher-top{display:flex;justify-content:flex-end;gap:4px;margin-bottom:16px;width:100%}.language-switcher-top .language-btn{min-width:40px;padding:6px 12px;font-size:.85rem}.language-switcher-above-button{display:flex;justify-content:center;gap:4px;margin:8px 0;width:auto}.language-switcher-above-button .language-btn{min-width:45px;padding:10px 14px;font-size:.9rem;font-weight:600;line-height:1}.auth-header h1{margin:0 0 6px;font-size:1.75rem;font-weight:700;color:#ea580c}.auth-header p{margin:0;color:#7c2d12;font-size:.95rem}.auth-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-weight:600;color:#7c2d12;font-size:.95rem}.form-group input{width:100%;padding:10px 12px;border-radius:8px;border:1px solid #fdba74;background:#fff7ed;color:#7c2d12;font-size:.95rem;transition:border-color .2s ease,box-shadow .2s ease}.form-group input:focus{outline:none;border-color:#f97316;box-shadow:0 0 0 3px #f9731633}.form-group input:disabled{opacity:.6;cursor:not-allowed}.info-display{padding:10px 12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;color:#7c2d12;font-size:.95rem;min-height:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.btn{padding:10px 18px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;border:none;transition:transform .15s ease,box-shadow .2s ease}.btn-primary{background:#f97316;color:#fff7ed;box-shadow:0 4px 12px #f9731640}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #f973164d}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-block{width:100%}.auth-footer{margin-top:16px;text-align:center;padding-top:16px;border-top:1px solid #ffe4cc}.auth-footer p{margin:0;color:#7c2d12;font-size:.95rem}.auth-link{color:#f97316;text-decoration:none;font-weight:600;transition:color .2s ease}.auth-link:hover{color:#ea580c;text-decoration:underline}.sidebar-footer{margin-top:auto;padding-top:24px;border-top:1px solid #ffe4cc;flex-shrink:0}.user-info{margin-bottom:16px;display:flex;flex-direction:column;gap:8px}.user-name{color:#7c2d12;font-size:.9rem;font-weight:600;padding:8px 12px;background:#fff7ed;border-radius:8px;border:1px solid #fed7aa;transition:all .2s ease}.user-name:hover{background:#fed7aa;border-color:#fdba74}.user-name.active{background:#f97316!important;color:#fff7ed!important;border-color:#ea580c!important;box-shadow:0 4px 10px #f9731640}.contact-link{display:block;text-align:center;color:#f97316;font-size:.9rem;font-weight:600;text-decoration:none;padding:8px 12px;background:#fff7ed;border-radius:8px;border:1px solid #fed7aa;transition:background .2s ease,color .2s ease}.contact-link:hover{background:#fed7aa;color:#ea580c}.language-switcher{display:flex;gap:4px;width:100%}.language-btn{flex:1;text-align:center;color:#7c2d12;font-size:.85rem;font-weight:600;padding:6px 8px;background:#fff7ed;border-radius:6px;border:1px solid #fed7aa;cursor:pointer;transition:all .2s ease}.language-btn:hover{background:#fed7aa}.language-btn.active{background:#f97316;color:#fff;border-color:#ea580c}.logout-button{width:100%;padding:10px 16px;border-radius:10px;border:1px solid #fecaca;background:#fee2e2;color:#7f1d1d;font-weight:600;cursor:pointer;font-size:.9rem;transition:background .2s ease,transform .1s ease}.logout-button:hover{background:#fecaca}.logout-button:active{transform:translateY(1px)}.company-info-box{margin-top:24px;padding:16px;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px}.company-info-title{margin:0 0 12px;font-weight:700;color:#ea580c;font-size:.9rem;text-align:center}.company-info-details{margin:0;padding:0}.company-info-details p{margin:4px 0;font-size:.8rem;color:#7c2d12;line-height:1.4}.company-info-details strong{color:#9a3412;font-weight:600;display:inline-block;min-width:140px}.selected-software-price{margin-top:8px;padding:8px 12px;background:#fef3c7;border:1px solid #fde68a;border-radius:8px;color:#92400e;font-size:.9rem}.selected-software-price strong{color:#78350f;font-weight:600}@media (max-width: 720px){.form-row{grid-template-columns:1fr}.auth-card-wide{max-width:100%}.company-info-details p{font-size:.8rem}}
