:root{--ink:#20242a;--muted:#89919a;--line:#e9ecef;--panel:#fff;--canvas:#f7f8f8;--forest:#456c5b;--forest-dark:#365745;--forest-light:#eaf1ed;--blue:#617c91;--red:#b85b5b;--amber:#a77b37;--shadow:0 8px 24px rgba(26,38,32,.045)}*{box-sizing:border-box}body,html{min-height:100%;margin:0}body{font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}h1,h2,h3,p{margin-top:0}.brand,h1,h2,h3{font-family:Manrope,DM Sans,sans-serif}h1{font-size:27px;line-height:1.2;letter-spacing:-.9px;margin:0 0 7px}h1,h2{font-weight:700}h2{font-size:15px;letter-spacing:-.25px;margin:0}h3{font-size:13px}p{color:var(--muted)}.app-shell{min-height:100vh}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:20px 14px 12px;z-index:10}.brand{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:800;letter-spacing:.25px;padding:0 7px 24px}.brand-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--forest);color:#fff;font-weight:800;font-family:Manrope,sans-serif;font-size:15px}.brand-light{font-weight:500;color:#9aa19f}.workspace{display:flex;align-items:center;gap:10px;padding:10px 9px;border:1px solid var(--line);border-radius:9px;margin:0 1px 26px}.workspace-icon{width:27px;height:27px;border-radius:7px;background:#eaf0ec;color:var(--forest);display:grid;place-items:center;font-size:12px;font-weight:800}.workspace>span:nth-child(2){display:flex;flex:1 1;flex-direction:column;gap:3px}.workspace b{font-size:12px}.workspace small{font-size:10px;color:var(--muted)}.workspace>svg{color:#a1a8aa}.eyebrow,.nav-label{font-family:DM Sans,sans-serif;font-size:9px;font-weight:700;letter-spacing:1.2px;color:#9da3a7}.nav-label{padding:0 9px 10px}.main-nav{display:grid;grid-gap:3px;gap:3px}.nav-item{height:38px;border:0;background:transparent;display:flex;align-items:center;gap:11px;padding:0 10px;border-radius:7px;text-align:left;color:#70777d;font-size:12px;font-weight:500}.nav-item svg{color:#92999c}.nav-item span{flex:1 1}.nav-item small{font-size:10px;color:#92999c}.nav-item:hover{background:#f7f8f8}.nav-item.active{background:#edf2ef;color:#385c4a;font-weight:700}.nav-item.active svg{color:#527561}.sidebar-bottom{margin-top:auto}.workspace-status{display:flex;align-items:center;gap:8px;padding:12px 9px;color:#88918c;font-size:10px;border-bottom:1px solid #eff1f1}.live-dot,.workspace-status i{width:7px;height:7px;border-radius:50%;background:#67a881;box-shadow:0 0 0 3px #e8f3ec}.profile-row{display:flex;align-items:center;gap:9px;width:100%;border:0;background:white;text-align:left;padding:12px 5px 4px;color:#858c90}.profile-copy{display:flex;flex:1 1;min-width:0;flex-direction:column;gap:4px}.profile-copy b{font-size:11px;color:#3f464b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-copy small{font-size:10px;color:#a0a6a8}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e5ede8;color:#54715f;font-weight:700;font-size:11px}.avatar-small{width:27px;height:27px}.main-area{margin-left:248px;min-height:100vh}.topbar{height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:8;background:rgba(255,255,255,.93);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:space-between;padding:0 34px}.breadcrumbs,.topbar-actions{display:flex;align-items:center;gap:10px}.breadcrumbs{font-size:11px;color:#8e9699}.breadcrumbs b{font-size:11px;color:#394147;font-weight:600}.topbar-actions{gap:15px}.date-chip{display:flex;align-items:center;gap:7px;color:#858d91;font-size:11px}.date-chip svg{color:#96a09d}.content-area{max-width:1520px;margin:0 auto;padding:30px 34px 64px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:23px}.page-heading .eyebrow{display:block;margin-bottom:9px}.page-heading p{margin:0;color:#92999e}.button{min-height:35px;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;font-size:11px;white-space:nowrap;transition:background .15s,border .15s,transform .15s}.button:active{transform:translateY(1px)}.button-primary{background:var(--forest);color:#fff;box-shadow:0 2px 5px #375e4a21}.button-primary:hover{background:var(--forest-dark)}.button-quiet{background:#fff;border-color:#e6e9e9;color:#606b6c}.button-quiet:hover,.icon-button:hover{background:#f6f7f7}.button-soft{background:#eff4f0;border-color:#e2ebe5;color:#476957}.button-soft:hover{background:#e3eee7}.button-small{min-height:31px;padding:0 10px;font-size:10px}.button-wide{width:100%;height:41px;margin-top:5px}.icon-button{border:1px solid transparent;background:transparent;color:#8b9496;display:grid;place-items:center;width:30px;height:30px;border-radius:7px}.mobile-menu{display:none}.panel{background:var(--panel);border:1px solid #eaeded;border-radius:10px;box-shadow:var(--shadow)}.metric-grid{display:grid;grid-gap:12px;gap:12px;margin-bottom:17px}.metric-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}.metric-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{background:white;border:1px solid #eaeded;border-radius:9px;min-height:119px;padding:15px 16px;position:relative;overflow:hidden;box-shadow:var(--shadow)}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#858d91;font-size:10px}.icon-box{width:29px;height:29px;border:1px solid #edf0ef;background:#fafbfa;display:grid;place-items:center;border-radius:7px;color:#73887d}.metric-value{display:block;font-family:Manrope,sans-serif;font-size:22px;letter-spacing:-.8px;margin-top:11px;font-weight:700;color:#292f32}.metric-sub{display:block;font-size:10px;color:#a0a6a8;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-accent{position:absolute;width:38px;height:3px;border-radius:2px;bottom:0;left:16px;background:#9cb4a5}.metric-accent.green{background:#72927f}.metric-accent.violet{background:#9a8cae}.metric-accent.amber{background:#c3a36a}.metric-accent.blue{background:#89a6b4}.metric-accent.red{background:#be7777}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(255px,.8fr);grid-gap:14px;gap:14px;margin:0 0 15px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-heading p{font-size:10px;color:#9aa0a4;margin:5px 0 0}.chart-panel,.detail-section,.status-panel{padding:18px}.chart-panel{min-height:327px}.text-button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:#63806f;font-size:10px;font-weight:600;padding:5px 0}.text-button:hover{color:#365745}.chart-wrap{margin-top:14px}.chart-legend{display:flex;gap:16px;color:#8b9396;font-size:10px;padding:0 4px 4px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{display:block;width:7px;height:7px;border-radius:2px}.legend-revenue{background:#b7cad6}.legend-profit{background:#678c7a}.status-panel{min-height:327px}.status-list{display:grid;grid-gap:2px;gap:2px;margin:14px 0}.status-row{height:32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f2f2}.status-row>b{font-size:11px;color:#535c5e}.badge{height:21px;display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:0 8px;font-size:9px;white-space:nowrap}.badge i{width:5px;height:5px;border-radius:50%;background:currentColor}.badge-blue{color:#587a94;background:#edf3f7}.badge-gray{color:#727b80;background:#f0f2f2}.badge-orange{color:#a57543;background:#fbf2e8}.badge-green{color:#4e7d5f;background:#edf5ef}.badge-violet{color:#786b93;background:#f2eff7}.badge-amber{color:#987331;background:#f9f4e7}.badge-red{color:#a65d5d;background:#faeeee}.panel-bottom-link{width:100%;padding:11px 0 0;border:0;border-top:1px solid #edf0ef;color:#62806f;background:white;display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:600}.table-panel{padding:18px 0 0;margin-bottom:16px}.table-panel>.panel-heading{padding:0 18px 14px}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{height:34px;border-top:1px solid #eff1f1;border-bottom:1px solid #eff1f1;background:#fafbfa;color:#969da0;font-size:8px;letter-spacing:.6px;font-weight:700}td,th{padding:0 14px}td{height:54px;border-bottom:1px solid #f0f2f1;font-size:10px;color:#677074}tbody tr:last-child td{border-bottom:0}td b{font-weight:600;color:#41494c}.click-row:hover td{background:#fafcfb}.device-cell{display:flex;align-items:center;gap:9px;min-width:190px}.device-cell>span:last-child{display:flex;flex-direction:column;gap:4px}.cell-note,.device-cell small{font-size:9px;color:#9ca3a5}.device-thumb{width:29px;height:29px;border:1px solid #ebefed;background:#f7f9f8;border-radius:7px;color:#768d7e;display:grid;place-items:center}.mono{font-family:DM Sans,sans-serif;font-size:10px;font-weight:600;letter-spacing:.1px;color:#66716f}.muted-icon{color:#aab0b1}.empty-state{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#9aa3a1}.empty-state svg{color:#93a79a}.empty-state b{font-size:12px;color:#5e6966}.empty-state span{font-size:10px}.loading-state{height:140px;display:flex;align-items:center;justify-content:center;gap:10px;color:#939b9b;font-size:11px}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.notice{border-radius:8px;padding:11px 13px;font-size:11px;margin:0 0 13px;display:flex;gap:8px}.notice-info{background:#f0f5f2;color:#547361;border:1px solid #e2ece5}.notice-success{background:#eef7ef;color:#47754f;border:1px solid #dfefe1}.notice-error{background:#fff2f1;color:#9f4d4b;border:1px solid #f1d8d6}.notice-warn{background:#fbf6e9;color:#8e722f;border:1px solid #eee4c7;flex-direction:column}.notice-warn span{font-size:10px;line-height:1.5}.toast{position:fixed;right:24px;top:68px;z-index:40;padding:11px 14px;background:#365b49;color:white;display:flex;align-items:center;gap:8px;border-radius:8px;box-shadow:0 10px 25px #263d3030;font-size:11px}.expenses-panel,.stock-panel{overflow:hidden}.toolbar{min-height:57px;padding:10px 14px;gap:9px;border-bottom:1px solid #eff1f1}.search-field,.toolbar{display:flex;align-items:center}.search-field{height:34px;gap:8px;border:1px solid #e8ebeb;background:#fff;padding:0 9px;border-radius:7px;flex:1 1;max-width:500px;color:#9aa1a2}.search-field input{border:0;outline:0;flex:1 1;min-width:80px;font-size:10px;color:#394147}.search-field input::placeholder{color:#a8aeb0}.search-field kbd{font-family:inherit;font-size:9px;color:#9ea6a8;border:1px solid #e8ebeb;border-radius:4px;padding:2px 4px}.select-wrap{height:34px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #e8ebeb;border-radius:7px;color:#8b9596;background:white;font-size:10px}.select-wrap select{border:0;background:transparent;outline:0;color:#606a6d;-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:75px}.table-footer{height:48px;padding:0 15px;justify-content:space-between;border-top:1px solid #eff1f1;color:#989fa1;font-size:10px}.pagination,.table-footer{display:flex;align-items:center}.pagination{gap:8px}.pagination button{border:1px solid #e8ebeb;background:white;color:#788281;border-radius:5px;width:25px;height:25px;display:grid;place-items:center}.pagination button:disabled{opacity:.4}.pagination span{font-size:10px;color:#53615a}.field-label{display:flex;flex-direction:column;gap:6px;color:#737d7d;font-size:10px;font-weight:600}.catalog-add input,.catalog-add select,.compact-field input,.field-label input,.field-label select,.inline-form>input,.inline-form>select,.investment-form input{height:36px;min-width:0;width:100%;border:1px solid #e4e8e6;border-radius:6px;background:white;padding:0 10px;outline:0;color:#38413f;font-size:11px}.compact-field input:focus,.field-label input:focus,.field-label select:focus,.inline-form input:focus,.investment-form input:focus,.search-field:focus-within{border-color:#9ab2a2;box-shadow:0 0 0 3px #e7f0ea}.catalog-add input::placeholder,.field-label input::placeholder{color:#b4babb}.modal-backdrop{position:fixed;inset:0;background:rgba(24,31,29,.38);z-index:30;display:flex;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-card{width:min(500px,100%);max-height:min(88vh,850px);overflow:auto;background:#fff;border-radius:12px;border:1px solid #e7eae8;box-shadow:0 24px 80px #18211d35;padding:20px}.modal-wide{width:min(680px,100%)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:17px}.modal-header h2{font-size:17px}.modal-header p{font-size:10px;margin:6px 0 0}.modal-form{display:flex;flex-direction:column;gap:16px}.form-stack{gap:13px}.form-section-label{font-size:9px;font-weight:700;letter-spacing:.9px;color:#98a09d;border-bottom:1px solid #edf0ee;padding-bottom:7px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:13px;gap:13px}.field-full{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #eff1f1;padding-top:14px;margin-top:2px}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(400px,.9fr) 1.1fr;background:white}.login-aside{position:relative;overflow:hidden;min-height:100vh;background:#263d33;color:#fff;padding:30px 38px;display:flex;flex-direction:column}.login-aside:after,.login-aside:before{content:"";position:absolute;border:1px solid #ffffff0d;border-radius:50%;width:570px;height:570px;left:-260px;bottom:-185px}.login-aside:after{width:420px;height:420px;left:-185px;bottom:-105px}.login-aside .brand{color:white;z-index:1}.login-aside .brand-mark{background:#64836f;color:#fff}.login-aside .brand-light{color:#b8c7be}.login-aside-copy{margin:auto 0;position:relative}.login-aside-copy .eyebrow{color:#a5baad}.login-aside h1{font-size:35px;line-height:1.3;margin:16px 0}.login-aside h1 span{color:#9eb7a7}.login-aside-copy p{font-size:12px;color:#c0cbc4;max-width:330px;line-height:1.7}.login-aside-foot{color:#b8c5bd;gap:10px;z-index:1}.login-aside-foot,.login-panel{display:flex;align-items:center}.login-panel{flex-direction:column;justify-content:center;padding:38px}.login-card{width:min(360px,100%)}.login-card .eyebrow{display:block;margin:0 0 9px}.login-card h2{font-size:24px;letter-spacing:-.7px;margin:0 0 6px}.muted{color:#9aa1a2}.login-card>.muted{font-size:11px;margin-bottom:23px}.login-card .form-stack{gap:16px}.login-card .field-label{font-size:10px}.login-card .field-label input{height:41px}.login-hint{margin:17px 0 0;padding-top:15px;border-top:1px solid #eff1f1;color:#9da4a4;font-size:9px;display:flex;align-items:flex-start;gap:8px;line-height:1.5}.login-hint svg{flex:none;color:#87978d}.login-footer{position:absolute;bottom:25px;font-size:9px;color:#a1a8a7}.login-footer span{padding:0 4px;color:#c1c5c3}.mobile-brand{display:none}.detail-page{max-width:1300px}.back-link{border:0;background:transparent;color:#738078;padding:0 0 15px;gap:7px;font-size:10px}.back-link,.detail-header{display:flex;align-items:center}.detail-header{gap:13px;padding:0 0 17px;border-bottom:1px solid #e6eae7}.detail-device-icon{width:43px;height:43px;border:1px solid #e4ebe6;background:#eef4f0;color:#658170;border-radius:10px;display:grid;place-items:center}.detail-title{flex:1 1}.detail-title .eyebrow{display:block;margin-bottom:5px}.detail-title h1{font-size:20px;margin:0 0 5px}.detail-sub{display:flex;align-items:center;gap:7px;color:#959e9c;font-size:9px}.detail-header>.badge{margin-right:4px}.detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;margin:15px 0}.detail-summary>div{background:white;border:1px solid #eaeded;border-radius:8px;padding:12px 13px;display:flex;flex-direction:column;gap:7px}.detail-summary span{font-size:9px;color:#99a1a0}.detail-summary b{font-size:13px;color:#48524d}.detail-summary .summary-strong{color:#426e55}.detail-tabs{display:flex;gap:20px;border-bottom:1px solid #e8ece9;margin-bottom:14px}.detail-tabs button{border:0;background:transparent;color:#969e9c;padding:9px 1px 10px;font-size:10px;position:relative}.detail-tabs button.active{color:#466c55;font-weight:700}.detail-tabs button.active:after{content:"";position:absolute;height:2px;bottom:-1px;left:0;right:0;border-radius:2px;background:#658976}.detail-tabs span{border-radius:9px;background:#eef1ef;padding:2px 5px;margin-left:4px;font-size:9px}.detail-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.8fr);grid-gap:14px;gap:14px}.detail-main-column,.detail-side-column{display:grid;align-content:start;grid-gap:13px;gap:13px}.detail-section{box-shadow:none;padding:15px}.section-icon{color:#819388}.inline-form{display:flex;align-items:flex-end;gap:8px;margin-top:13px}.inline-form>select{max-width:230px}.compact-field{display:flex;flex-direction:column;gap:5px;font-size:9px;color:#929b98;flex:1 1;min-width:90px}.compact-field input{height:32px;font-size:10px}.investment-form{display:grid;grid-template-columns:minmax(0,1fr) 95px 130px auto;grid-gap:7px;gap:7px;margin-top:13px}.investment-form input{height:33px;font-size:10px;padding:0 8px}.sum-pill{font-size:10px;font-weight:700;color:#52745f;background:#edf4ef;padding:5px 9px;border-radius:12px}.investment-list{margin-top:10px}.investment-row{display:flex;align-items:center;gap:9px;min-height:45px;border-top:1px solid #f0f2f1}.investment-symbol{width:26px;height:26px;display:grid;place-items:center;border-radius:6px;background:#f5f7f5;color:#87998c}.investment-row>span:nth-child(2){display:flex;flex:1 1;min-width:0;flex-direction:column;gap:4px}.investment-row b{font-size:10px;color:#4d5652}.investment-row small{font-size:9px;color:#9ca4a1}.investment-row strong{font-size:10px;font-weight:600;color:#56655c}.danger-icon:hover{color:#b75d59;background:#fff1f0}.empty-inline{padding:15px 0 3px;color:#a0a7a5;font-size:10px}.sale-line{display:flex;justify-content:space-between;margin-top:12px;padding:10px 11px;border:1px solid #edf0ef;background:#fafbfa;border-radius:6px;color:#77807d;font-size:10px}.sale-line b{color:#43684f}.return-section{border-color:#f0e7e7}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px;margin-top:12px}.photo-grid a{height:72px;border-radius:6px;overflow:hidden;background:#f5f7f6}.photo-grid img{width:100%;height:100%;object-fit:cover}.photo-empty{grid-column:1/-1;height:84px;border:1px dashed #e1e8e3;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#a1aaa5;font-size:9px}.photo-empty svg{color:#87998c}.upload-button{width:28px;height:28px;border:1px solid #e8ece9;background:#fff;border-radius:6px;display:grid;place-items:center;color:#71887a;cursor:pointer}.detail-dl{display:grid;grid-gap:0;gap:0;margin:4px 0 0}.detail-dl>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #f0f2f1;padding:9px 0}.detail-dl dt{font-size:9px;color:#9ba3a0}.detail-dl dd{margin:0;text-align:right;font-size:9px;color:#5c6761;max-width:55%;overflow-wrap:anywhere}.history-panel{padding:16px 18px}.history-row{position:relative;display:flex;gap:11px;padding:3px 0 18px}.history-row:not(:last-child):before{content:"";position:absolute;left:4px;top:13px;bottom:0;width:1px;background:#e7ece8}.history-dot{position:relative;z-index:1;width:9px;height:9px;border-radius:50%;border:2px solid #799482;background:white;margin-top:3px;flex:none}.history-row>div{display:flex;flex-direction:column;gap:5px}.history-row b{font-size:10px;color:#505b55}.history-row p,.history-row small{font-size:9px;color:#a0a7a3;margin:0}.period-range{display:flex;align-items:center;gap:12px;padding:12px 15px;margin-bottom:15px}.period-range>div{display:flex;flex:1 1;flex-direction:column;gap:4px}.period-range>div b{font-size:10px}.period-range>div small{font-size:9px;color:#9ba3a2}.period-range .compact-field{max-width:150px}.formula-note{border-left:1px solid #e9edeb;padding-left:12px;color:#9aa29e;font-size:9px;max-width:205px;line-height:1.5}.period-select select{min-width:74px}.finance-chart{margin:14px 0 15px}.finance-chart .panel-heading{margin-bottom:9px}.finance-lower{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.8fr);grid-gap:14px;gap:14px}.finance-lower .table-panel{overflow:hidden;margin:0}.finance-lower td{font-size:9px}.finance-kpis{display:grid;grid-gap:0;gap:0;margin-top:10px}.finance-kpis>div{display:grid;grid-template-columns:1fr auto;grid-gap:4px 8px;gap:4px 8px;padding:10px 0;border-top:1px solid #eef0ef}.finance-kpis span{font-size:9px;color:#909997}.finance-kpis b{font-size:11px;color:#4e6355}.finance-kpis small{grid-column:1/-1;font-size:8px;color:#adb3b0}.category-breakdown{border-top:1px solid #edf0ef;padding-top:13px;margin-top:7px}.category-breakdown h3{font-size:10px;margin:0 0 9px}.breakdown-row{display:flex;justify-content:space-between;gap:8px;padding:6px 0;color:#8e9793;font-size:9px}.breakdown-row b{color:#59665e;font-size:9px}.right{text-align:right}.amount-negative{color:#a75f58!important}.expense-total{color:#536c5d;font-size:11px;white-space:nowrap}.toolbar-spacer{flex:1 1}.compact-field input[type=date]{width:132px}.category-pill{display:inline-block;background:#f3f5f4;border-radius:12px;padding:5px 8px;color:#737d78;font-size:9px}.cell-note{display:block;margin-top:4px}.expenses-panel table td{height:56px}.catalog-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:14px;gap:14px;align-items:start}.catalog-grid>.panel{min-width:0}.catalog-add{display:grid;grid-template-columns:160px minmax(0,1fr) auto;grid-gap:7px;gap:7px;margin-top:13px}.catalog-add input,.catalog-add select{height:33px;font-size:10px;padding:0 8px}.catalog-list{margin-top:12px;max-height:340px;overflow:auto}.catalog-row{min-height:44px;display:flex;align-items:center;gap:9px;padding:5px 1px;border-top:1px solid #eff1f0}.catalog-row>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1 1}.catalog-row b{font-size:10px;color:#4f5954}.catalog-row .muted,.catalog-row small{font-size:9px;color:#9ca4a1}.catalog-disabled{opacity:.63}.toggle{width:29px;height:17px;border:0;border-radius:10px;background:#78a089;padding:2px;display:flex;justify-content:flex-end}.toggle span{height:13px;width:13px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #3343332c}.toggle-off{justify-content:flex-start;background:#d4d9d6}.brand-mini{width:25px;height:25px;border-radius:6px;background:#eff3f0;display:grid;place-items:center;color:#65806f;font-weight:700}.compact-list{max-height:180px}.compact-add{grid-template-columns:minmax(0,1fr) auto;margin-top:10px}.category-settings,.compact-add select{grid-column:1/-1}.category-settings .catalog-list{display:flex;flex-wrap:wrap;gap:0 16px}.category-settings .catalog-row{min-width:190px;border-top:0}.capitalize{text-transform:capitalize}@media(max-width:1120px){.sidebar{width:218px}.main-area{margin-left:218px}.content-area{padding:25px 22px 50px}.topbar{padding:0 22px}.metric-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid-five{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(225px,.8fr)}.detail-columns{grid-template-columns:minmax(0,1.25fr) minmax(230px,.8fr)}.investment-form{grid-template-columns:minmax(0,1fr) 80px 120px}.investment-form button{grid-column:2/-1}.catalog-add{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}}@media(max-width:780px){.sidebar{width:62px;padding:16px 8px}.sidebar .brand{padding:0 8px 20px}.brand>span:last-child,.nav-item small,.nav-item span,.nav-label,.profile-copy,.profile-row>svg,.sidebar-bottom .workspace-status,.workspace{display:none}.nav-item{justify-content:center;padding:0}.nav-item svg{width:19px;height:19px}.main-area{margin-left:62px}.content-area{padding:22px 16px 42px}.topbar{padding:0 16px}.date-chip{display:none}.mobile-menu{display:grid}.metric-grid-four{gap:8px}.metric-grid-five{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-card{padding:12px;min-height:108px}.metric-value{font-size:19px}.metric-top{font-size:9px}.icon-box{width:26px;height:26px}.dashboard-grid{grid-template-columns:1fr}.chart-panel,.status-panel{min-height:auto}.status-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:15px}.detail-columns,.finance-lower{grid-template-columns:1fr}.detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.investment-form{grid-template-columns:minmax(0,1fr) 100px}.investment-form input[type=date]{grid-column:1}.investment-form button{grid-column:2}.period-range{flex-wrap:wrap}.period-range>div{flex-basis:100%}.formula-note{max-width:none;flex:1 1}.catalog-grid{grid-template-columns:1fr}.category-settings{grid-column:auto}.login-page{grid-template-columns:1fr}.login-aside{display:none}.login-panel{min-height:100vh;padding:25px}.mobile-brand{display:flex;align-items:center;gap:9px;margin:0 0 40px;font-family:Manrope,sans-serif;font-size:13px}.login-footer{bottom:14px}}@media(max-width:520px){body{font-size:12px}.content-area{padding:19px 12px 35px}.topbar{height:50px;padding:0 12px}.page-heading{align-items:flex-start;margin-bottom:17px}.page-heading h1{font-size:23px}.page-heading p{max-width:240px;font-size:10px;line-height:1.5}.page-heading>.button{min-height:32px;padding:0 8px;font-size:9px}.metric-grid-five,.metric-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid-three{grid-template-columns:1fr 1fr}.metric-grid-three .metric-card:first-child{grid-column:1/-1}.metric-card{min-height:100px;padding:11px}.metric-value{font-size:17px;margin-top:9px}.metric-sub{font-size:8px}.metric-top{gap:5px}.metric-top>span{max-width:calc(100% - 32px);line-height:1.3}.chart-panel,.status-panel{padding:14px}.table-panel{padding-top:14px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:9px}.toolbar{flex-wrap:wrap;padding:9px}.search-field{max-width:none;flex-basis:100%}.toolbar>.select-wrap,.toolbar>.select-wrap select{flex:1 1}.toolbar>.button{margin-left:auto}.table-scroll table{min-width:690px}.table-footer{padding:0 9px}.detail-header{gap:8px;align-items:flex-start}.detail-device-icon{width:37px;height:37px}.detail-title h1{font-size:16px;line-height:1.4}.detail-title .eyebrow{font-size:8px}.detail-header>.badge{align-self:center}.detail-summary{gap:7px}.detail-summary>div{padding:10px}.detail-summary b{font-size:11px}.detail-summary span{font-size:8px}.detail-section{padding:12px}.inline-form{flex-wrap:wrap;align-items:flex-end}.inline-form>select{max-width:none;flex:1 1}.inline-form>.button{flex:none}.inline-form .compact-field{min-width:calc(50% - 6px)}.inline-form .compact-field input{width:100%}.investment-form{grid-template-columns:minmax(0,1fr) 86px}.investment-form input[type=date]{width:100%}.investment-row{gap:6px}.investment-row strong{font-size:9px}.investment-row .icon-button{width:24px}.modal-backdrop{padding:10px;align-items:flex-end}.modal-card{max-height:93vh;border-radius:12px 12px 8px 8px;padding:16px}.form-grid{gap:11px}.field-label input,.field-label select{height:35px}.period-range{padding:11px;gap:8px}.period-range .compact-field{max-width:calc(50% - 4px)}.period-range .compact-field input{width:100%}.formula-note{font-size:8px}.catalog-add{grid-template-columns:1fr 1fr}.catalog-add .button,.catalog-add select{grid-column:1/-1}.compact-add{grid-template-columns:1fr auto}.category-settings .catalog-row{min-width:100%}.finance-chart{padding:13px}.period-select{height:32px}.date-chip{display:none}.toast{right:9px;left:9px;top:56px;justify-content:center}.toolbar .compact-field{flex:1 1}.compact-field input[type=date]{width:100%}}.mobile-nav-open{width:225px!important;box-shadow:12px 0 32px #1b2d251e}.mobile-nav-open .brand>span:last-child,.mobile-nav-open .nav-item small,.mobile-nav-open .nav-item span,.mobile-nav-open .nav-label,.mobile-nav-open .profile-copy,.mobile-nav-open .profile-row>svg,.mobile-nav-open .sidebar-bottom .workspace-status,.mobile-nav-open .workspace{display:flex}.mobile-nav-open .brand>span:last-child{display:inline}.mobile-nav-open .nav-item{justify-content:flex-start;padding:0 10px}.mobile-nav-open .sidebar-bottom .workspace-status{display:flex}.mobile-nav-open .profile-row{justify-content:flex-start}.photo-item{position:relative;min-width:0;height:72px;border-radius:6px;overflow:hidden;background:#f5f7f6}.photo-item>a{display:block;width:100%;height:100%}.photo-item img{width:100%;height:100%;object-fit:cover}.photo-item>button{position:absolute;top:4px;right:4px;width:22px;height:22px;border:0;border-radius:5px;background:#17231dcc;color:#fff;display:grid;place-items:center;cursor:pointer}.photo-item>button:disabled{opacity:.5;cursor:wait}.photo-error,.photo-progress{margin:10px 0 0;font-size:10px;line-height:1.5}.photo-progress{color:#6d8173}.photo-error{color:#aa4e49}.upload-button-busy{opacity:.55;cursor:wait}.photo-grid .photo-empty{grid-column:1/-1}:root{--brand-blue:#2589f4;--brand-cyan:#45c5e8;--brand-violet:#7451e8;--brand-gradient:linear-gradient(115deg,#45c5e8,#2589f4 48%,#7451e8);--ink:#192333;--muted:#718096;--surface:#fff;--canvas:#f5f7fb;--line:#e5eaf2;--success:#168a62;--warning:#c47a16;--danger:#d34f5b;--neutral:#7b8797;--shadow-card:0 2px 10px #1c2e4b08,0 1px 2px #1c2e4b06;--radius-card:12px;--radius-control:8px}body,html{background:var(--canvas)}body{color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:13px;letter-spacing:-.01em}.app-shell{background:var(--canvas)}.sidebar{background:#fff;border-right:1px solid var(--line);box-shadow:2px 0 14px #15294a06}.brand{height:66px;border-bottom:1px solid #edf0f5;color:#192333;font-size:16px;letter-spacing:.04em}.brand-light{color:#8895a7}.brand-mark{background:var(--brand-gradient);box-shadow:0 4px 10px #2589f425}.brand-mark-image{position:relative;display:block;overflow:hidden;background:#fff;border:1px solid #edf0f5;box-shadow:none}.brand-mark-image img{position:absolute;width:150px;max-width:none;height:auto;left:-62px;top:-22px}.workspace{margin:14px 12px 22px;padding:11px;border:1px solid #edf0f5;border-radius:10px;background:#fbfcfe}.workspace-icon{background:#f1f4ff;color:var(--brand-blue)}.nav-label{color:#9aa5b5;letter-spacing:.12em}.nav-item{height:40px;margin:2px 8px;border-radius:8px;color:#647187}.nav-item:hover{background:#f5f7fc;color:var(--ink)}.nav-item.active{background:#eef4ff;color:#286fd0;font-weight:650}.nav-item.active:before{background:var(--brand-gradient)}.workspace-status{color:#778498}.workspace-status i{background:var(--success)}.profile-row{border-top:1px solid var(--line)}.main-area{background:var(--canvas)}.topbar{height:58px;background:#ffffffeb;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.breadcrumbs{color:#8a96a7}.breadcrumbs b{color:#344156}.content-area{max-width:1600px;margin:auto;padding:28px 32px 48px}.page-heading{margin-bottom:22px}.page-heading h1{color:var(--ink);font-size:27px;font-weight:680;letter-spacing:-.035em}.eyebrow{color:#7183a1;letter-spacing:.14em}.page-heading p{color:var(--muted);font-size:12px}.metric-card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.metric-card{min-height:124px;padding:17px 18px}.metric-value{color:#1b2b42;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;letter-spacing:-.04em}.metric-top{color:#6f7c90}.metric-accent{height:2px;background:var(--brand-gradient);opacity:.75}.icon-box{background:#f0f5ff;color:var(--brand-blue);border-radius:9px}.button{min-height:37px;border-radius:var(--radius-control);font-weight:600;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}.button-primary{background:var(--brand-gradient);box-shadow:0 3px 9px #3985e522}.button-primary:hover{box-shadow:0 5px 14px #3985e533;transform:translateY(-1px)}.button-quiet,.button-secondary{border:1px solid var(--line);background:#fff;color:#536176}.field-label input,.field-label select,input,select,textarea{border-radius:var(--radius-control)}input:focus,select:focus,textarea:focus{outline:3px solid #438df21f;border-color:#5b9aef!important}.expenses-panel,.table-panel{overflow:hidden}.table-scroll{border-radius:9px}table{border-collapse:separate;border-spacing:0}thead{background:#f7f9fc}th{color:#78869b;font-size:10px;letter-spacing:.06em;text-transform:uppercase}td{color:#39475b;border-bottom:1px solid #edf0f5}tbody tr:hover{background:#f7faff}.click-row{cursor:pointer}.mono{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#64748b}.badge{font-weight:600}.status-in_transit,.status-listed{background:#edf5ff!important;color:#2875cf!important}.status-received{background:#f1f3f6!important;color:#697789!important}.status-repair{background:#fff5e8!important;color:#b97517!important}.status-ready,.status-sold{background:#eaf7f1!important;color:#168a62!important}.status-reserved{background:#f2efff!important;color:#7050d8!important}.status-warranty{background:#fff0f0!important;color:#c74b56!important}.toolbar{gap:10px;background:#fff;border:1px solid var(--line);border-radius:11px}.compact-field,.search-field,.select-wrap{border-color:var(--line);border-radius:8px}.modal-backdrop{background:#15223866;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-card{border:1px solid var(--line);border-radius:14px;box-shadow:0 22px 70px #14223a24}.modal-header{border-bottom:1px solid var(--line)}.login-page{background:#fff}.login-aside{background:radial-gradient(ellipse at 12% 20%,#e9f8ff 0,transparent 42%),radial-gradient(ellipse at 85% 83%,#f1edff 0,transparent 43%),#f7f9ff}.login-panel{background:#fff}.login-card h2{color:var(--ink);font-size:28px;letter-spacing:-.03em}.login-card .button-primary{min-height:44px}.mobile-brand .brand-mark{width:34px;height:34px}.mobile-nav-open{width:250px!important}.photo-item{border:1px solid var(--line)}@media(max-width:900px){.content-area{padding:22px 20px 36px}.sidebar{background:#fff}.main-area{min-width:0}.table-scroll{max-width:100%;overflow-x:auto}.table-scroll table{min-width:720px}}@media(max-width:640px){.content-area{padding:18px 14px 30px}.topbar{height:54px}.page-heading h1{font-size:23px}.page-heading{gap:12px}.metric-card{min-height:104px;padding:13px}.metric-value{font-size:19px}.catalog-grid,.detail-columns,.finance-lower{grid-template-columns:minmax(0,1fr)}.table-scroll table{min-width:680px}.toolbar{padding:10px}.modal-card{border-radius:14px 14px 8px 8px}.login-panel{padding:22px 18px}.sidebar{z-index:50}.mobile-nav-open{box-shadow:16px 0 40px #14223a30}.mobile-nav-open .nav-item{min-height:42px}}.badge-blue{background:#edf5ff!important;color:#2875cf!important}.badge-gray{background:#f1f3f6!important;color:#697789!important}.badge-amber,.badge-orange{background:#fff5e8!important;color:#b97517!important}.badge-green{background:#eaf7f1!important;color:#168a62!important}.badge-violet{background:#f2efff!important;color:#7050d8!important}.badge-red{background:#fff0f0!important;color:#c74b56!important}.login-full-logo{display:block;width:min(250px,72%);height:auto;object-fit:contain;margin:20px 0 6px;mix-blend-mode:multiply}.device-thumb-photo{overflow:hidden;padding:0;background:#fff}.device-thumb-photo img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}.variant-settings{margin-top:16px}.variant-management-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);grid-gap:18px;gap:18px;margin-top:18px}.variant-dictionaries{display:grid;grid-gap:14px;gap:14px}.model-variant-editor,.variant-dictionary{border:1px solid var(--line);border-radius:10px;padding:14px;min-width:0}.variant-choice-list h3,.variant-dictionary h3{margin:0 0 10px;font-size:12px;color:var(--ink)}.variant-value-list{display:grid;max-height:260px;overflow:auto;margin-top:10px}.variant-value{min-height:36px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #eef1f6;padding:4px 3px}.variant-value>span{flex:1 1;font-size:11px;color:#465369}.variant-value .text-button{padding:5px}.variant-edit-input{flex:1 1;min-width:40px;width:100%;height:30px;border:1px solid var(--line);border-radius:6px;padding:0 7px;color:var(--ink);font-size:10px}.variant-model-caption{font-size:10px;color:var(--muted);margin:10px 0 18px}.variant-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:3px 10px;gap:3px 10px;margin:16px 0}.variant-choice-list h3{grid-column:1/-1}.variant-choice{display:flex;align-items:center;gap:8px;padding:8px 7px;border:1px solid #edf0f5;border-radius:7px;color:#465369;font-size:10px;cursor:pointer}.variant-choice input{accent-color:var(--brand-blue)}.variant-footnote,.variant-help{font-size:10px;line-height:1.5}.variant-footnote{color:var(--muted);margin:14px 0 0}.variant-help{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0}.variant-loading{font-size:10px;margin:0}.model-variant-editor .field-label select{margin-top:4px}.login-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100svh}.login-aside{isolation:isolate;background:radial-gradient(ellipse at 16% 14%,#203967 0,transparent 36%),radial-gradient(ellipse at 90% 88%,#32235d 0,transparent 43%),linear-gradient(145deg,#0e1524,#101827 55%,#14172a);padding:clamp(26px,4vw,60px);justify-content:space-between}.login-aside:before{z-index:-1;width:min(54vw,670px);height:min(54vw,670px);left:auto;right:-28%;bottom:-28%;border-color:#8298ff18;box-shadow:0 0 0 34px #8298ff08,0 0 0 78px #8298ff05}.login-aside:after{z-index:-1;width:min(38vw,470px);height:min(38vw,470px);left:auto;right:-13%;bottom:-14%;border-color:#a38cff20;transform:rotate(-35deg);border-radius:38% 62% 46% 54%}.login-aside .brand{height:auto;border:0;padding:0;color:#f6f8ff;font-size:14px}.login-aside .brand-mark-image{width:30px;height:30px;border-radius:8px}.login-aside .brand-mark-image img{width:150px;left:-62px;top:-22px}.login-aside .brand-light{color:#9eabc3}.login-brand-card{width:min(390px,100%);padding:12px 20px;border:1px solid #ffffff24;border-radius:18px;background:linear-gradient(145deg,#ffffff,#f8faff);box-shadow:0 22px 70px #03091666;transform:rotate(-1deg)}.login-full-logo{width:100%;max-width:370px;margin:0 auto;mix-blend-mode:normal}.login-aside-copy{width:min(510px,100%);margin:0;z-index:1}.login-aside-copy .eyebrow{color:#aebce0;font-size:10px;letter-spacing:.18em}.login-aside h1{font-size:clamp(29px,3.2vw,46px);line-height:1.16;letter-spacing:-.045em;color:#f7f9ff;margin:17px 0 22px}.login-aside h1 span{background:linear-gradient(105deg,#6bd5ff,#4d93ff 46%,#b08aff);background-clip:text;-webkit-background-clip:text;color:transparent}.login-aside-copy>p:last-child{max-width:390px;color:#c2cbde;font-size:13px;line-height:1.75;margin:15px 0 0}.login-process{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#f2f5ff!important;font-size:12px!important;font-weight:600;letter-spacing:.02em;margin:0!important}.login-process i{width:4px;height:4px;border-radius:50%;background:var(--brand-gradient)}.login-aside-foot{color:#aeb8cd;font-size:10px;letter-spacing:.12em}.login-foot-line{display:inline-block;width:34px;height:2px;vertical-align:middle;margin-right:9px;border-radius:3px;background:var(--brand-gradient)}.login-aside .eyebrow{color:#bac9e8}.login-aside .brand-light{color:#aeb9cf}.login-aside .brand-mark-image img{mix-blend-mode:normal}@media(max-width:860px){.login-page{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.login-aside{padding:30px}.login-aside h1{font-size:30px}.variant-management-grid{grid-template-columns:1fr}}@media(max-width:640px){.login-page{grid-template-columns:1fr}.login-aside{display:none}.login-panel{min-height:100svh;padding:24px 18px}.login-card{max-width:390px}.mobile-brand{margin-bottom:34px}.variant-choice-list{grid-template-columns:1fr 1fr}.variant-value .text-button{font-size:9px}}.profile-page{max-width:1280px;min-height:100vh;margin:0 auto;padding:30px clamp(16px,4vw,52px) 56px;background:var(--canvas);color:var(--ink)}.profile-page-heading{margin:18px 0 22px}.profile-page-heading h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.04em;margin:5px 0}.profile-card>.muted,.profile-page-heading p{color:var(--muted);line-height:1.55}.profile-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);grid-gap:16px;gap:16px;align-items:start}.profile-side{display:grid;grid-gap:14px;gap:14px}.profile-card{padding:22px}.profile-card h2{font-size:16px;margin:0 0 8px}.profile-avatar-large{width:92px;height:92px;border-radius:50%;margin:0 auto 12px;display:grid;place-items:center;background:var(--canvas);color:var(--brand-blue);overflow:hidden}.profile-avatar-actions{display:flex;justify-content:center;gap:8px;margin-bottom:22px}.profile-form{display:grid;grid-gap:14px;gap:14px}.profile-form .field-label small{display:block;color:var(--muted);font-size:11px;line-height:1.4;margin-top:5px}.theme-choice{display:grid;grid-template-columns:1fr 1fr;grid-gap:9px;gap:9px;margin-top:14px}.theme-choice button{height:44px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted)}.theme-choice button.selected{color:var(--brand-blue);border-color:var(--brand-blue);background:color-mix(in srgb,var(--brand-blue) 9%,var(--surface))}.permission-summary{padding:10px 0;border-top:1px solid var(--line);font-size:12px}.permission-summary>b{display:block;margin-bottom:5px}.permission-summary ul{margin:0;padding-left:18px;color:var(--muted);line-height:1.7}.profile-page .back-link{color:var(--muted)}.profile-page .button{width:max-content}.admin-users-layout{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.55fr);grid-gap:14px;gap:14px;align-items:start}.admin-user-editor,.admin-user-list{padding:16px}.admin-user-list .search-field{width:100%;max-width:none}.admin-user-rows{display:grid;grid-gap:4px;gap:4px;margin-top:12px;max-height:70vh;overflow:auto}.admin-user-row{width:100%;display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:9px;padding:9px;background:transparent;text-align:left;color:var(--ink)}.admin-user-row.selected{border-color:var(--line);background:color-mix(in srgb,var(--brand-blue) 7%,var(--surface))}.admin-user-copy{display:grid;grid-gap:4px;gap:4px;min-width:0;flex:1 1}.admin-user-copy b,.admin-user-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-user-copy b{font-size:12px}.admin-user-copy small{font-size:10px;color:var(--muted)}.admin-avatar{display:grid;place-items:center;overflow:hidden;flex:none}.user-active,.user-blocked{width:8px;height:8px;border-radius:50%;background:var(--success)}.user-blocked{background:var(--danger)}.admin-user-title{display:flex;align-items:center;gap:13px;padding-bottom:15px;border-bottom:1px solid var(--line)}.admin-user-title h2{font-size:16px;margin:4px 0;overflow-wrap:anywhere}.admin-user-title p{font-size:11px;color:var(--muted);margin:0}.admin-profile-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;padding:16px 0}.permission-editor>h3{display:flex;align-items:center;gap:8px;font-size:14px}.permission-group{border:0;border-top:1px solid var(--line);padding:12px 0;margin:0}.permission-group legend{font-size:12px;font-weight:700;padding:0 8px 0 0}.permission-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;font-size:12px;color:var(--muted)}.permission-toggle input{accent-color:var(--brand-blue);width:17px;height:17px}.admin-user-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid var(--line)}.signout-row{width:100%;display:flex;align-items:center;gap:8px;padding:9px 10px;color:var(--muted);border:0;background:transparent;text-align:left}.history-changes{margin:0;padding-left:17px;font-size:11px;color:var(--muted);line-height:1.6}.danger-text{color:var(--danger)!important}.detail-summary-no-finance{grid-template-columns:minmax(0,1fr)}html[data-theme=dark],html[data-theme=dark] body{--ink:#f1f5f9;--muted:#94a3b8;--surface:#161f2a;--canvas:#0d1117;--line:#263445;--panel:#161f2a;color-scheme:dark;background:#0d1117;color:#f1f5f9}html[data-theme=dark] .app-shell,html[data-theme=dark] .content-area,html[data-theme=dark] .main-area,html[data-theme=dark] .profile-page{background:#0d1117;color:#f1f5f9}html[data-theme=dark] .sidebar{background:#111820;border-color:#263445}html[data-theme=dark] .topbar{background:#111820ed;border-color:#263445}html[data-theme=dark] .admin-user-editor,html[data-theme=dark] .admin-user-list,html[data-theme=dark] .detail-summary>div,html[data-theme=dark] .login-panel,html[data-theme=dark] .metric-card,html[data-theme=dark] .modal-card,html[data-theme=dark] .panel,html[data-theme=dark] .profile-card,html[data-theme=dark] .toolbar{background:#161f2a;border-color:#263445;color:#f1f5f9}html[data-theme=dark] .button-quiet,html[data-theme=dark] .button-secondary,html[data-theme=dark] .button-soft,html[data-theme=dark] .theme-choice button,html[data-theme=dark] .upload-button,html[data-theme=dark] .workspace{background:#1c2733;border-color:#263445;color:#d5deea}html[data-theme=dark] .nav-item,html[data-theme=dark] .profile-row,html[data-theme=dark] .signout-row{background:transparent;color:#94a3b8}html[data-theme=dark] .admin-user-row.selected,html[data-theme=dark] .nav-item.active,html[data-theme=dark] .nav-item:hover{background:#1c2733;color:#dbeafe}html[data-theme=dark] .profile-row{border-color:#263445}html[data-theme=dark] .breadcrumbs,html[data-theme=dark] .detail-dl dt,html[data-theme=dark] .detail-sub,html[data-theme=dark] .muted,html[data-theme=dark] .nav-label,html[data-theme=dark] .workspace-status{color:#94a3b8}html[data-theme=dark] .admin-user-title h2,html[data-theme=dark] .detail-title h1,html[data-theme=dark] .page-heading h1,html[data-theme=dark] .panel-heading h2,html[data-theme=dark] .profile-page-heading h1{color:#f1f5f9}html[data-theme=dark] .search-field,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#111820;color:#f1f5f9;border-color:#263445}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#748399}html[data-theme=dark] table thead{background:#111820}html[data-theme=dark] td,html[data-theme=dark] th{color:#cbd5e1;border-color:#263445}html[data-theme=dark] .admin-user-row:hover,html[data-theme=dark] tbody tr:hover{background:#1c2733}html[data-theme=dark] .detail-header,html[data-theme=dark] .detail-tabs,html[data-theme=dark] .history-row:not(:last-child):before,html[data-theme=dark] .modal-header{border-color:#263445}html[data-theme=dark] .detail-dl dd,html[data-theme=dark] .detail-summary b,html[data-theme=dark] .finance-kpis b,html[data-theme=dark] .investment-row b{color:#e2e8f0}html[data-theme=dark] .detail-dl>div,html[data-theme=dark] .finance-kpis>div,html[data-theme=dark] .investment-row{border-color:#263445}html[data-theme=dark] .photo-empty{border-color:#3a4b60;color:#94a3b8}html[data-theme=dark] .login-page{background:#0d1117}html[data-theme=dark] .login-card h2{color:#f1f5f9}html[data-theme=dark] .login-hint{border-color:#263445;color:#94a3b8}html[data-theme=dark] .login-footer{color:#94a3b8}html[data-theme=dark] .device-thumb,html[data-theme=dark] .icon-box,html[data-theme=dark] .investment-symbol,html[data-theme=dark] .workspace-icon{background:#1c2733;color:#93c5fd}html[data-theme=dark] .category-pill,html[data-theme=dark] .sale-line{background:#1c2733;border-color:#263445;color:#cbd5e1}html[data-theme=dark] .chart-wrap svg text{fill:#94a3b8!important}html[data-theme=dark] .chart-wrap svg line,html[data-theme=dark] .chart-wrap svg path{stroke:#344458}@media(max-width:820px){.admin-users-layout,.profile-grid{grid-template-columns:1fr}.admin-user-rows{max-height:260px}.admin-user-actions .button{flex:1 1;justify-content:center}}@media(max-width:520px){.profile-page{padding:18px 12px 34px}.profile-card{padding:15px}.admin-profile-fields{grid-template-columns:1fr}.profile-avatar-actions{flex-wrap:wrap}.admin-user-actions{display:grid;grid-template-columns:1fr}.profile-page .button{width:100%;justify-content:center}}:root{--chart-grid:#e7ebf1;--chart-label:#758195;--chart-muted:#909bad;--chart-hover:#f1f4f8;--chart-revenue:#6ba7cb;--chart-profit:#32a47b;--chart-expense:#d59a43;--chart-net:#8974d5;--status-blue-bg:#edf5ff;--status-blue-fg:#2869ad;--status-gray-bg:#f1f3f6;--status-gray-fg:#5f6d7e;--status-orange-bg:#fff5e8;--status-orange-fg:#9b5c08;--status-green-bg:#eaf7f1;--status-green-fg:#16764f;--status-violet-bg:#f2efff;--status-violet-fg:#6544bd;--status-red-bg:#fff0f0;--status-red-fg:#b33b49}.avatar{overflow:hidden;flex:none}.admin-avatar img,.avatar img,.profile-avatar-large img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%}.stock-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.badge-blue,.status-in_transit,.status-listed{background:var(--status-blue-bg)!important;color:var(--status-blue-fg)!important}.badge-gray,.status-received{background:var(--status-gray-bg)!important;color:var(--status-gray-fg)!important}.badge-amber,.badge-orange,.status-repair{background:var(--status-orange-bg)!important;color:var(--status-orange-fg)!important}.badge-green,.status-ready,.status-sold{background:var(--status-green-bg)!important;color:var(--status-green-fg)!important}.badge-violet,.status-reserved{background:var(--status-violet-bg)!important;color:var(--status-violet-fg)!important}.badge-red,.status-warranty{background:var(--status-red-bg)!important;color:var(--status-red-fg)!important}html[data-theme=dark]{--ink:#edf3fb;--muted:#b0bdce;--surface:#151e29;--canvas:#0c1219;--line:#2a394a;--panel:#151e29;--shadow-card:0 3px 16px #0005;--chart-grid:#2a394a;--chart-label:#c2cede;--chart-muted:#9eacc0;--chart-hover:#273646;--chart-revenue:#65b7e5;--chart-profit:#43c695;--chart-expense:#f0b65d;--chart-net:#ad99ff;--status-blue-bg:#183653;--status-blue-fg:#b6dcff;--status-gray-bg:#293544;--status-gray-fg:#d2dbe6;--status-orange-bg:#45341d;--status-orange-fg:#ffd28d;--status-green-bg:#153c31;--status-green-fg:#a9f0d0;--status-violet-bg:#33274e;--status-violet-fg:#d4c3ff;--status-red-bg:#49262d;--status-red-fg:#ffc0c3;color-scheme:dark}html[data-theme=dark] .app-shell,html[data-theme=dark] .content-area,html[data-theme=dark] .main-area,html[data-theme=dark] .profile-page,html[data-theme=dark] body{background:var(--canvas);color:var(--ink)}html[data-theme=dark] .sidebar,html[data-theme=dark] .topbar{background:#111923;border-color:var(--line)}html[data-theme=dark] .admin-user-title h2,html[data-theme=dark] .brand,html[data-theme=dark] .breadcrumbs b,html[data-theme=dark] .detail-summary b,html[data-theme=dark] .detail-title h1,html[data-theme=dark] .empty-state b,html[data-theme=dark] .finance-kpis b,html[data-theme=dark] .investment-row b,html[data-theme=dark] .metric-value,html[data-theme=dark] .page-heading h1,html[data-theme=dark] .panel-heading h2,html[data-theme=dark] .permission-group legend,html[data-theme=dark] .profile-card h2,html[data-theme=dark] .profile-copy b,html[data-theme=dark] .profile-page-heading h1{color:var(--ink)}html[data-theme=dark] .admin-user-editor,html[data-theme=dark] .admin-user-list,html[data-theme=dark] .detail-section,html[data-theme=dark] .detail-summary>div,html[data-theme=dark] .login-panel,html[data-theme=dark] .metric-card,html[data-theme=dark] .modal-card,html[data-theme=dark] .panel,html[data-theme=dark] .profile-card,html[data-theme=dark] .toolbar{background:var(--surface);border-color:var(--line);color:var(--ink)}html[data-theme=dark] .button-quiet,html[data-theme=dark] .button-secondary,html[data-theme=dark] .button-soft,html[data-theme=dark] .category-pill,html[data-theme=dark] .sale-line,html[data-theme=dark] .select-wrap,html[data-theme=dark] .theme-choice button,html[data-theme=dark] .upload-button,html[data-theme=dark] .workspace{background:#1d2936;border-color:var(--line);color:#dce6f2}html[data-theme=dark] .button-primary{color:#fff}html[data-theme=dark] .admin-user-title p,html[data-theme=dark] .breadcrumbs,html[data-theme=dark] .date-chip,html[data-theme=dark] .detail-dl dt,html[data-theme=dark] .detail-sub,html[data-theme=dark] .detail-summary span,html[data-theme=dark] .empty-state,html[data-theme=dark] .eyebrow,html[data-theme=dark] .field-label,html[data-theme=dark] .finance-kpis small,html[data-theme=dark] .finance-kpis span,html[data-theme=dark] .investment-row small,html[data-theme=dark] .investment-row strong,html[data-theme=dark] .loading-state,html[data-theme=dark] .metric-sub,html[data-theme=dark] .metric-top,html[data-theme=dark] .muted,html[data-theme=dark] .nav-item,html[data-theme=dark] .nav-label,html[data-theme=dark] .page-heading p,html[data-theme=dark] .permission-toggle,html[data-theme=dark] .profile-card>.muted,html[data-theme=dark] .profile-page-heading p,html[data-theme=dark] .profile-row,html[data-theme=dark] .signout-row,html[data-theme=dark] .table-footer,html[data-theme=dark] .workspace-status{color:var(--muted)}html[data-theme=dark] .admin-user-row.selected,html[data-theme=dark] .admin-user-row:hover,html[data-theme=dark] .nav-item.active,html[data-theme=dark] .nav-item:hover,html[data-theme=dark] tbody tr:hover{background:#202d3b;color:#edf3fb}html[data-theme=dark] .catalog-add input,html[data-theme=dark] .catalog-add select,html[data-theme=dark] .compact-field input,html[data-theme=dark] .field-label input,html[data-theme=dark] .field-label select,html[data-theme=dark] .inline-form>input,html[data-theme=dark] .inline-form>select,html[data-theme=dark] .investment-form input,html[data-theme=dark] .search-field,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#101821;color:#edf3fb;border-color:var(--line)}html[data-theme=dark] .search-field input::placeholder,html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#9aaabe}html[data-theme=dark] select option{background:#151e29;color:#edf3fb}html[data-theme=dark] table thead,html[data-theme=dark] th{background:#111923;color:#b9c6d6;border-color:var(--line)}html[data-theme=dark] td{color:#d1dbe7;border-color:#263545}html[data-theme=dark] .cell-note,html[data-theme=dark] .device-cell small,html[data-theme=dark] td b{color:#e0e8f2}html[data-theme=dark] .mono{color:#b8c6d7}html[data-theme=dark] .detail-dl>div,html[data-theme=dark] .detail-header,html[data-theme=dark] .detail-tabs,html[data-theme=dark] .finance-kpis>div,html[data-theme=dark] .investment-row,html[data-theme=dark] .modal-actions,html[data-theme=dark] .modal-header,html[data-theme=dark] .table-footer,html[data-theme=dark] .toolbar{border-color:var(--line)}html[data-theme=dark] .back-link,html[data-theme=dark] .detail-tabs button,html[data-theme=dark] .panel-bottom-link,html[data-theme=dark] .text-button{color:#b5c4d6}html[data-theme=dark] .detail-tabs button.active,html[data-theme=dark] .text-button:hover{color:#9ec8ff}html[data-theme=dark] .detail-tabs span{background:#293645;color:#d4deea}html[data-theme=dark] .pagination button,html[data-theme=dark] .search-field kbd{background:#1b2734;border-color:var(--line);color:#c6d2e0}html[data-theme=dark] .select-wrap select{background:transparent;color:#e3ebf5}html[data-theme=dark] .breakdown-row,html[data-theme=dark] .category-breakdown h3,html[data-theme=dark] .chart-legend{color:#c4d0df}html[data-theme=dark] .chart-wrap svg text{fill:var(--chart-label)!important}html[data-theme=dark] .chart-wrap svg line{stroke:var(--chart-grid)}html[data-theme=dark] .legend-revenue{background:var(--chart-revenue)}html[data-theme=dark] .legend-profit{background:var(--chart-profit)}html[data-theme=dark] .badge-blue,html[data-theme=dark] .status-in_transit,html[data-theme=dark] .status-listed{background:var(--status-blue-bg)!important;color:var(--status-blue-fg)!important}html[data-theme=dark] .badge-gray,html[data-theme=dark] .status-received{background:var(--status-gray-bg)!important;color:var(--status-gray-fg)!important}html[data-theme=dark] .badge-amber,html[data-theme=dark] .badge-orange,html[data-theme=dark] .status-repair{background:var(--status-orange-bg)!important;color:var(--status-orange-fg)!important}html[data-theme=dark] .badge-green,html[data-theme=dark] .status-ready,html[data-theme=dark] .status-sold{background:var(--status-green-bg)!important;color:var(--status-green-fg)!important}html[data-theme=dark] .badge-violet,html[data-theme=dark] .status-reserved{background:var(--status-violet-bg)!important;color:var(--status-violet-fg)!important}html[data-theme=dark] .badge-red,html[data-theme=dark] .status-warranty{background:var(--status-red-bg)!important;color:var(--status-red-fg)!important}@media(max-width:640px){.stock-heading-actions{width:100%;justify-content:flex-end}.stock-heading-actions .button{flex:1 1}}