/* Shared Solucionnes presentation layer. Business selectors and API contracts remain intact. */
:root,body.owner-ui{--bg:#f3f6fc;--paper:#fff;--ink:#172b49;--muted:#75849c;--primary:#245bff;--primary-dark:#1647d8;--soft:#eaf1ff;--border:#e0e7f3;--radius:18px;--shadow:0 8px 30px #16386b06;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
body{font-feature-settings:'cv02','cv03','cv04','cv11';-webkit-font-smoothing:antialiased}button,a,input,select,textarea{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #38a9ff;outline-offset:3px}button:hover:not(:disabled){filter:brightness(1.015)}.brand-mark{display:inline-block;position:relative;overflow:hidden;width:40px;height:40px;border-radius:12px;flex-shrink:0}.brand-mark img{position:absolute;width:129px;height:97px;max-width:none;left:-44px;top:-26px}.brand .brand-mark{margin-left:-4px}.brand{letter-spacing:-.8px;color:#edf5ff;font-size:22px}.brand small{color:#7d97c1;font-size:8px;margin-top:2px;letter-spacing:2px}.sidebar{background:#091426;border-color:#182940;padding-top:28px}.sidebar .nav-label{color:#6e86aa;font-size:9px}.sidebar .nav button{color:#a5b7d2;min-height:44px;border-radius:11px}.sidebar .nav button:hover{background:#132848}.sidebar .nav button.active{background:linear-gradient(100deg,#245bff,#234eae);color:#fff;box-shadow:0 6px 20px #123ca333}.sidebar .context-button{background:#12223c;color:#c3d3ec;border-color:#263b5a}.sidebar .context-button small,.sidebar .local-badge,.sidebar-foot .muted{color:#8299bc}.sidebar .nav .count{background:#ffffff20;color:#dceaff}.topbar{background:#ffffffb8;backdrop-filter:blur(20px);height:80px}.avatar{background:#e5eeff;color:#285ace}.content{padding-top:38px}.eyebrow{color:#4275cb}.page-heading h1{letter-spacing:-1px;font-size:30px}.metric{padding:24px;border-radius:18px}.metric.emphasis{background:linear-gradient(130deg,#153371,#245bff);border-color:#2858bc}.metric.emphasis .metric-label,.metric.emphasis .metric-hint{color:#b9d1ff}.metric-icon{background:#edf3ff;color:#3478e7}.metric-value{font-size:29px;letter-spacing:-1px}.metric-hint{line-height:1.7}.panel-head{padding:22px 25px}.btn,.owner-shell .btn,.owner-ui .modal .btn{border-radius:10px;font-weight:550;min-height:40px}.btn.primary,.owner-shell .btn.primary,.owner-ui .modal .btn.primary{background:linear-gradient(110deg,#245bff,#2469e8);border-color:#245bff;box-shadow:0 4px 13px #245bff15;color:white}.btn.primary:hover{background:#174ee9;box-shadow:0 6px 20px #245bff33}.btn.soft{background:#eaf1ff;color:#245bff}.field input,.field select,.field textarea,.owner-ui .modal .field input,.owner-ui .modal .field select,.owner-ui .modal .field textarea,.owner-shell .field input,.owner-shell .field select,.owner-shell .field textarea{border-radius:10px;border-color:#dce4f0;min-height:43px;color:#263f61}.field input:focus,.field select:focus,.field textarea:focus{border-color:#7ba6ff;box-shadow:0 0 0 3px #245bff0a}.modal,.owner-ui .modal{border-radius:22px;box-shadow:0 35px 110px #06132844}.modal-backdrop,.owner-ui .modal-backdrop{background:#0613298c;backdrop-filter:blur(8px)}.modal-foot,.owner-ui .modal-foot{background:#f7f9fd}.modal-head h2,.owner-ui .modal-head h2{color:#213a60;letter-spacing:-.5px}.toolbar{background:#f8faff}th{background:#f6f9ff;color:#7485a1}tbody tr:hover{background:#f4f8ff}.bar{background:#b4d4ff}.bar-group:last-child .bar{background:#2a67ef}.note{background:#edf4ff;border-color:#dbe7fc;color:#53729f}.quick-link{background:#fbfcff}.quick-link svg{color:#3476df}.quick-link:hover{background:#eff5ff;border-color:#b7d0fa}.report-card .icon{background:#edf4ff;color:#3977dc}.office-card,.route-card,.report-card{transition:transform .2s,box-shadow .2s}.office-card:hover,.route-card:hover,.report-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #1439680a;border-color:#bbd3f6}.card-symbol{background:#edf4ff;color:#3476df}.progress span{background:linear-gradient(90deg,#245bff,#00bdde)}
.owner-shell{background:radial-gradient(ellipse at 90% 0,#e6efff,transparent 45%),#f3f6fc;display:block}.owner-header{height:82px;padding:0 max(32px,calc((100vw - 1320px)/2));background:#081426ed;backdrop-filter:blur(18px);border-bottom:1px solid #263859;box-shadow:0 4px 25px #0b234714;position:sticky;top:0}.owner-logo{gap:11px;color:white;font-size:23px;letter-spacing:-.8px;font-weight:650}.owner-header-link{color:#b0c4e2;font-size:13px}.owner-header-link svg{color:#54b7ff;width:18px;height:18px}.owner-menu-button{border:1px solid #ffffff22;border-radius:12px;color:#bcd3f7;width:42px;height:42px}.owner-menu-button:hover{background:#173052}.owner-breadcrumb{max-width:1320px;margin:auto;padding:25px 32px 12px;font-size:11px;color:#8fa2bd;gap:11px;flex-wrap:wrap}.owner-breadcrumb button{color:#7184a0}.owner-breadcrumb button[aria-current=page]{color:#245bff}.owner-content{max-width:1320px;margin:auto;padding:12px 32px 50px;width:100%}.owner-title{justify-content:flex-start;font-size:32px;color:#192f50;letter-spacing:-1px;margin:22px 0 30px;font-weight:600}.owner-title>svg{color:#3975e5;width:28px;height:28px}.owner-shell .page-heading{text-align:left;margin:24px 0 30px;display:flex}.owner-shell .page-heading .eyebrow,.owner-shell .page-heading p{display:block}.owner-shell .page-heading h1{color:#192f50;font-size:30px;letter-spacing:-1px;font-weight:600}.owner-shell .page-heading>.actions{margin:0}.owner-search-row{margin-bottom:28px}.owner-search input{border-radius:12px;border-color:#dbe5f5;font-size:14px;height:44px;box-shadow:0 4px 15px #24466f03}.owner-office-grid,.owner-route-grid{gap:22px}.owner-office-card,.owner-route-card{border:1px solid #e0e8f5;border-radius:20px;box-shadow:0 5px 20px #193b7005;padding:30px 45px 25px 26px;min-height:215px;transition:transform .25s,box-shadow .25s,border-color .25s}.owner-office-card:hover,.owner-route-card:hover{transform:translateY(-5px);box-shadow:0 17px 40px #17397012;border-color:#afcaff}.owner-office-card h3,.owner-route-card h3{font-size:21px;letter-spacing:-.5px;color:#1d3659;margin-bottom:13px}.owner-office-card p,.owner-route-card p{color:#72839d;font-size:13px;line-height:26px}.owner-office-card p strong,.owner-route-card p strong{color:#324f76;font-weight:600}.owner-card-arrow{top:auto;bottom:22px;right:18px;width:30px;height:30px;background:#edf4ff;border-radius:50%;color:#2b66d4}.owner-card-arrow svg{width:16px;height:16px}.owner-dashboard{gap:22px;margin-top:30px;max-width:none}.owner-dashboard-button{border:1px solid #e0e8f5;border-radius:20px;padding:25px;min-height:140px;gap:18px;color:#294569;font-size:17px;background:white;box-shadow:0 5px 20px #193b7005;transition:transform .25s,box-shadow .25s}.owner-dashboard-button:hover{transform:translateY(-4px);box-shadow:0 15px 35px #193b7010}.owner-dashboard-icon{width:60px;height:60px;background:linear-gradient(135deg,#edf4ff,#daeaff);border:1px solid #d6e5ff;border-radius:18px}.owner-dashboard-icon svg{width:26px;height:26px;color:#2c6add;stroke-width:1.7}.owner-dashboard-chevron svg{color:#5288df;width:16px}.owner-footer{margin-top:65px;font-size:11px;color:#91a0b6}.owner-drawer{background:#0b1930;color:#e5eeff;border-left:1px solid #2b4063;box-shadow:-20px 0 80px #03122d35}.owner-drawer-title h2{font-size:19px;letter-spacing:-.4px;color:#e5eeff}.owner-drawer nav button,.owner-drawer summary{background:transparent;color:#acbfdc;font-size:14px;padding-block:14px}.owner-drawer nav button:hover,.owner-drawer summary:hover{background:#183255}.owner-drawer nav button svg,.owner-drawer summary svg,.owner-drawer-title button{color:#58adff}.owner-drawer-footer{border-color:#ffffff12}.owner-drawer-footer button{background:#1e395f;border:1px solid #37557e;color:#c8dcfa;font-size:13px;border-radius:10px}.owner-drawer-footer button:last-child{background:#3d2639;border-color:#71435b;color:#ffb8cd}.owner-shell .panel,.owner-data-table,.owner-delegation,.owner-accounting,.owner-client-profile,.owner-movement{border:1px solid #e0e8f5;border-radius:18px;box-shadow:0 6px 24px #193b7005}.owner-shell .panel-head h2,.owner-shell .section-title h2{color:#304b70;font-weight:550;font-size:18px}.owner-shell .toolbar{padding:22px;background:#fbfcff;border-bottom:1px solid #e7eef8}.owner-shell .field label,.owner-ui .modal .field label{color:#59718f;font-size:12px}.owner-shell th{background:#f2f6fe;color:#5e789c;font-size:12px}.owner-shell td{font-size:13px;border-color:#edf1f8}.owner-shell .owner-data-table th{background:#edf3ff;color:#3e6192;font-size:12px;font-weight:600;padding-block:14px;border-bottom:1px solid #dfe8f8}.owner-shell .owner-data-table td{color:#526c8d;font-size:13px}.owner-shell .report-card{border:1px solid #e0e8f5;border-radius:16px;box-shadow:0 5px 20px #193b7005}.owner-shell .report-card strong{color:#3b577d;font-size:14px}.owner-shell .report-card .icon{color:#3676df;background:#edf4ff;border-radius:11px}.owner-shell .report-card svg{width:22px;height:22px}.owner-shell .report-card:hover{background:#f4f8ff}.owner-shell .report-card small{display:block;font-size:11px;margin-top:8px;color:#7c90ad}.owner-user-filters{border-radius:15px;border-color:#e0e8f5}.owner-table-search input{font-size:14px}.owner-close-route,.owner-movement-save{background:#245bff;border-radius:10px}.owner-accounting-form{background:#f3f7fd;border:1px solid #e3ebf8;border-radius:16px}.owner-client-avatar{color:#3e80e7;background:#edf4ff;border-color:#e0eaff}.owner-back{font-size:12px;color:#4b75b5}.owner-header .brand-mark{width:38px;height:38px}.owner-welcome{padding:27px 30px;background:linear-gradient(115deg,#0b1c37,#143f87);border:1px solid #244c89;border-radius:20px;color:white;margin:15px 0 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;position:relative;overflow:hidden}.owner-welcome:after{content:'';position:absolute;width:260px;height:260px;border:1px solid #00ddeb28;border-radius:50%;right:-80px;top:-140px;pointer-events:none}.owner-welcome small{color:#81b4ff;font-size:9px;letter-spacing:2px}.owner-welcome h1{font-size:29px;letter-spacing:-1px;margin:7px 0;color:white;font-weight:550}.owner-welcome p{font-size:12px;color:#a5bcdf;margin:0}.owner-welcome>span{font-size:11px;color:#adcaf4;white-space:nowrap;z-index:1}.calc-page{background:radial-gradient(ellipse at 50% 30%,#112e64 0,transparent 55%),#050c1b;min-height:100dvh}.calculator{background:#0d192e;border:1px solid #2c4265;border-radius:30px;box-shadow:0 30px 100px #0006;color:#d5e5ff}.calc-title{color:#879fc1}.calc-screen{background:transparent;border-color:#203756}.calc-expression{color:#7b94b8}.calc-result{color:#e4f1ff}.calc-key{border:1px solid #253b5c;background:#14243e;color:#caddfa;border-radius:16px}.calc-key:hover{background:#203c66}.calc-key.utility{background:#223454;color:#a2c0ec}.calc-key.operator{background:#10335c;color:#5acbff}.calc-key.equals{background:linear-gradient(130deg,#245bff,#1688eb);color:#fff}.calc-help{color:#7d94b6}.login-card{border:1px solid #2b436b;border-radius:26px;background:#0e1d35;color:#e4eeff;box-shadow:0 30px 100px #0005}.login-card h1{color:#edf4ff;letter-spacing:-1px}.login-card p,.login-card .field label{color:#99b1d5}.login-card input{background:#122641;color:#e3eeff;border-color:#2a466d}.login-symbol{background:#18355c;color:#00ddeb;border:1px solid #2d517c}.login-card .back-login{color:#86a9de}.calc-home{position:absolute;top:24px;left:30px;color:#8da8ce;text-decoration:none;font-size:12px}.calc-page{position:relative}.content,.owner-content{animation:workspace-in .35s ease both}.modal{animation:workspace-in .22s ease both}.owner-drawer:not([hidden]){animation:drawer-in .25s ease both}@keyframes workspace-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes drawer-in{from{opacity:0;translate:24px 0}to{opacity:1;translate:0 0}}
@media(max-width:1023px){.owner-header{padding-inline:24px}.owner-dashboard-button{padding:20px;gap:15px}.owner-dashboard-icon{width:50px;height:50px}.owner-dashboard-button{font-size:16px}.owner-content{max-width:100%}}@media(max-width:639px){.owner-header{height:70px;padding:0 16px}.owner-logo{font-size:20px;gap:7px}.owner-header-links{gap:10px}.owner-header-link{font-size:11px}.owner-breadcrumb{padding:20px 20px 10px;font-size:10px}.owner-content{padding:8px 20px 35px}.owner-title{font-size:27px;margin:20px 0 25px}.owner-welcome{padding:23px;border-radius:17px;display:block;margin-top:10px}.owner-welcome h1{font-size:25px}.owner-welcome>span{display:block;margin-top:17px;font-size:10px}.owner-welcome p{font-size:11px}.owner-office-grid,.owner-route-grid{gap:16px}.owner-office-card,.owner-route-card{min-height:200px;padding:25px}.owner-dashboard{gap:13px}.owner-dashboard-button{flex-direction:column;align-items:flex-start;min-height:150px;padding:20px;font-size:15px}.owner-dashboard-chevron{position:absolute;right:15px;bottom:20px}.owner-shell .page-heading{display:block}.owner-shell .page-heading>.actions{margin-top:20px}.owner-shell .page-heading h1{font-size:27px}.owner-shell .panel-head{padding:18px}.owner-shell .toolbar{padding:16px}.owner-logo .brand-mark{width:34px;height:34px}.calc-home{top:16px;left:20px}.calc-page{padding-top:65px;padding-bottom:30px}.owner-footer{margin-top:40px}.metric-value{font-size:25px}}
.owner-route-nav,.owner-route-filters,.owner-loans{border:1px solid #e0e8f5;border-radius:17px;box-shadow:0 5px 20px #193b7005}.owner-route-nav strong{color:#355277;font-size:13px}.owner-route-nav small{font-size:11px;color:#8a9db7}.owner-loans{padding:25px}.owner-loans h2{font-size:18px;color:#3b577d;letter-spacing:-.3px}.owner-loan-card{border:1px solid #dce7f7;border-left:3px solid #3b86ef;border-radius:14px;box-shadow:none;transition:transform .2s,box-shadow .2s}.owner-loan-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #1b4c8a12}.owner-loan-person{padding:17px 13px}.owner-loan-person>strong{font-size:14px;font-weight:600;color:#2f4b70}.owner-loan-balance{background:linear-gradient(130deg,#183c7c,#215ed1);min-width:108px;width:108px}.owner-loan-balance>strong{font-size:18px;font-weight:550}.owner-route-dock{background:#0e2447e8;backdrop-filter:blur(15px);border:1px solid #3b5e8e;border-radius:23px;box-shadow:0 10px 35px #071b4933}.owner-route-dock button{color:#c4dcff}.owner-route-dock svg{color:#5fcaff}.owner-floating-add{background:linear-gradient(135deg,#245bff,#1e78dc);border:1px solid #77a7ff44;box-shadow:0 7px 24px #245bff33}.owner-card-summary{background:#f1f6fe;border:1px solid #e1ebfa}.owner-card-data-row strong{color:#346bc2}
@media(max-width:639px){.owner-loans{padding:20px 14px}.owner-loan-person>strong{font-size:14px}.owner-route-dock button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media print{.owner-welcome{color:#172b49;background:white;border-color:#ccc}.owner-welcome h1,.owner-welcome p{color:#172b49}.owner-header{position:static}.content,.owner-content{animation:none}.owner-shell{background:white}.owner-shell .owner-data-table th{background:#eee;color:#111}}
