/* Visual identity supplied by Farmàcia Víctor Sapiña Pedrol. */
:root{--bg:#fbf6f6;--white:#fff;--ink:#571d19;--muted:#9c8583;--line:#f5eeed;--green:#8d3b35;--soft:#fbf2f1;--lime:#f8e8e7;--amber:#a78046;--red:#b13e46;--radius:17px}
body{background:#fbf6f6;color:#571d19}.sidebar{background:#fefdfd;border-right:1px solid #f6ebea;color:#80605e;padding:21px 14px 18px;width:244px}.sidebar .brand{padding:0 9px 21px;height:76px;min-height:76px;border-bottom:1px solid #f7eeed;margin:0 -1px 13px;display:flex;justify-content:center}.pharmacy-logo{display:block;object-fit:contain;width:204px;height:auto;max-width:100%;mix-blend-mode:multiply}.workspace{display:none}.sidebar>.section-label{display:none}.nav a{color:#806462;font-size:12px;font-weight:500;padding:11px 13px;min-height:40px;margin:3px 0;gap:12px}.nav a svg{width:20px;height:20px;stroke-width:1.65;color:#967775;opacity:1}.nav a.active{background:#faefee;color:#923a34;box-shadow:none;font-weight:650}.nav a.active svg{color:#bc4a42}.nav a:hover{background:#fcf4f3;color:#8b3832}.nav .count{color:#a2413a;background:#f9eae9;border:0}.nav a.active .count{background:#f7e3e1;color:#8d3d37}.nav .section-label{color:#b49e9c;border-top:1px solid #f6edec;margin:22px 12px 7px;padding:17px 0 9px;letter-spacing:1.4px;font-size:9px}.sidebar-bottom{border-color:#f6eceb;color:#a28b89;padding-top:17px}.owner{padding:0 15px;gap:12px}.owner .avatar{background:#f9ebea;color:#6f3430;border:0}.owner strong{color:#5c3330}.sidebar-bottom .demo-note{color:#b9a5a4;font-size:9px;margin-top:12px}.main{margin-left:244px}.topbar{height:63px;padding:0 30px;background:#ffffffd9;border-bottom:1px solid #f3ebea}.topbar .crumb{color:#b5a1a0}.topbar .crumb>span:last-child{color:#783d39!important}.top-controls{gap:10px}.select{border:1px solid #ede3e2;color:#673f3c;border-radius:9px;font-size:11px;background:#fff;padding:10px 15px}.header-demo{order:5;background:#8d3b35!important;border-color:#8d3b35!important;color:white;padding:11px 17px}.status{color:#ac6762;background:#fbf2f1;font-size:9px}.status .dot{background:#c2706a;box-shadow:0 0 0 3px #f8e7e6}.topbar .avatar{display:none}.content{position:relative;padding:27px 29px 95px;max-width:1670px}.home-view .page-heading{position:relative;z-index:1;min-height:90px;margin:0 0 18px;padding:0 17px;pointer-events:none}.home-view .page-heading h1{font-size:36px;font-weight:650;color:#5c1e19;letter-spacing:-1.6px;margin:9px 0 6px}.home-view .page-heading .subtitle{color:#9e8684;font-size:14px;line-height:1.6}.page-heading .eyebrow,.home-view .page-heading .eyebrow{color:#ad9896;font-size:9px;letter-spacing:1.15px}.page-heading h1{color:#61211c;font-weight:600}.subtitle,.muted{color:#9f8886}.botanical-reference{position:absolute;right:0;top:0;width:425px;height:128px;overflow:hidden;pointer-events:none;background-image:url('design-reference.png');background-size:1600px 900px;background-position:right -51px;background-repeat:no-repeat;opacity:.85;mask-image:linear-gradient(to right,transparent 0%,#000 28%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 28%)}.metrics{gap:14px;margin-bottom:18px;position:relative;z-index:1}.metric{padding:19px 14px 18px 72px;min-height:112px;border-radius:15px;border:1px solid #f6efee;box-shadow:0 2px 5px #5a272302;background:#fff}.metric-top{font-size:10px;line-height:1.5;color:#734f4c;min-height:17px;font-weight:550}.metric-top svg{position:absolute;left:17px;top:18px;width:44px;height:44px;padding:12px;border-radius:12px;color:#ba433a;background:#fbf0ef;stroke-width:1.7}.metric:nth-child(2) .metric-top svg{color:#356db7;background:#edf3ff}.metric:nth-child(3) .metric-top svg{color:#61a35b;background:#eff8ea}.metric:nth-child(4) .metric-top svg{color:#a78756;background:#fbf3e7}.metric:nth-child(5) .metric-top svg{color:#3769b1;background:#edf4fe}.metric-value{font-size:32px;line-height:1.05;margin:6px 0 8px;letter-spacing:-1px;color:#61211c!important;font-weight:600}.metric-note,.metric-note.green{font-size:9px;color:#a79290;line-height:1.4}.metric:after{content:'›';height:auto;width:auto;left:auto;bottom:20px;right:15px;font-size:22px;line-height:1;color:#b29290;background:none!important;opacity:1}.card{border:1px solid #f5eceb;border-radius:18px;box-shadow:0 2px 6px #6f353102;background:#fff;padding:23px}.dashboard-grid{grid-template-columns:minmax(0,1.95fr) minmax(310px,1fr);gap:18px}h2{font-size:18px;color:#632420;font-weight:650;letter-spacing:-.45px}h3{color:#692f2b;font-weight:600}.dashboard-grid>.dashboard-primary>.card{padding:21px 23px 18px}.panel-heading{margin-bottom:9px}.pill{background:#fbf1f0;color:#9d7875;border-radius:6px;font-size:9px;padding:3px 7px}.pill.green{background:#eff8eb;color:#69925b}.pill.amber{background:#fcf4e8;color:#a58861}.pill.red{background:#fcecf0;color:#b45a65}.pill.blue{background:#edf5fe;color:#4b7da7}.dashboard-primary>.card>.panel-heading>.pill{color:#ae5b55;background:#fcf3f2;border:1px solid #f7e4e3}.attention-row{padding:17px 0;gap:19px;border-color:#f5eeee;align-items:flex-start}.attention-row>.icon-box{width:45px;height:48px;border-radius:12px;margin-top:6px;background:#eaf2ff;color:#497ebd}.icon-box svg{width:23px;height:23px;stroke-width:1.55}.icon-box.amber,.attention-row>.icon-box.amber{background:#fcf5e9;color:#a38451}.icon-box.red,.attention-row>.icon-box.red{background:#fcedf0;color:#b0454c}.row-body h3{font-size:13px;font-weight:650;line-height:1.45;margin:6px 0 3px;color:#5f2b27}.row-body p{color:#a48f8d;font-size:11px;line-height:1.5;margin:0 0 5px;max-width:480px}.row-body>.tiny{color:#8c7371;font-size:10px;display:flex;gap:5px;align-items:center}.row-body>.tiny:before{content:'⌑';font-size:15px;color:#9f8381}.attention-row>.btn{background:#fefcfc;color:#994842;border-color:#efcfcd;border-radius:8px;font-size:10px;margin-top:22px;padding:9px 15px;position:relative;margin-right:25px;min-width:80px}.attention-row>.btn:after{content:'›';position:absolute;right:-30px;top:3px;font-size:25px;font-weight:400;color:#ac8986}.attention-row>.btn:hover{background:#fbf1f0;border-color:#e3ada9}.btn{color:#864743;border-color:#eed7d5;background:white}.btn:hover{color:#823833;background:#fcf4f3;border-color:#e8bcb9}.btn.primary{background:#8d3b35;border-color:#8d3b35;color:white}.btn.primary:hover{background:#772d28;border-color:#772d28;color:white}.btn.ghost{color:#a46561}.dashboard-grid .summary{background:linear-gradient(145deg,#fbf2f1 0%,#f9eceb 38%,#fefbfa 100%);border:1px solid #f8e6e4;color:#742f2a;box-shadow:0 4px 15px #8b4c4803;padding:20px}.dashboard-grid .summary:before{right:3px;top:40px;color:#efc6c3;font-size:220px;opacity:.27;font-weight:700}.dashboard-grid .summary .icon-box{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#df8f89,#b04139);color:#fff;box-shadow:0 4px 8px #b55a5418}.dashboard-grid .summary .eyebrow{color:#b28e8b;font-size:8px;letter-spacing:1.3px}.dashboard-grid .summary h2{color:#6c2621;font-size:18px;font-weight:650}.dashboard-grid .summary .panel-heading{gap:8px;margin-bottom:13px}.dashboard-grid .summary .panel-heading>.pill{color:#bc8b88;background:#ffffff66;border:1px solid #ffffff77;font-size:8px}.dashboard-grid .summary p{color:#9e8381;font-size:12px;line-height:1.55;margin:10px 0 14px}.dashboard-grid .summary ul{margin:12px 0 17px}.dashboard-grid .summary li{font-size:12px;font-weight:600;line-height:1.45;color:#733a36;margin:13px 0;gap:12px}.dashboard-grid .summary li svg{background:#fdf8f7;color:#c75951;border:1px solid #f3d4d1;width:24px;height:24px;padding:4px;box-shadow:0 0 0 3px #f8e6e455;margin-top:1px}.dashboard-grid .summary li small{font-size:10px!important;color:#ab9593!important;font-weight:400;line-height:1.7}.dashboard-grid .summary-footer{border:0;margin-top:10px;padding-top:0}.dashboard-grid .summary-footer>.flex{display:none}.dashboard-grid .summary .btn.primary{background:#8d3c36;border:1px solid #8d3c36;color:white;padding:13px;font-size:12px;margin-top:0!important;border-radius:9px;box-shadow:0 4px 9px #813e3916}.dashboard-grid .summary .btn.primary:hover{background:#78302b;border-color:#78302b}.dashboard-grid>div:last-child>.section-space{padding:19px 20px;margin-top:15px;border-radius:15px}.dashboard-grid>div:last-child>.section-space h2{font-size:14px;color:#71312c}.activity-mini{margin-top:6px}.activity-mini li{border-color:#f6eeed;color:#a89391;font-size:10px;padding:10px 0 10px 17px;gap:14px}.activity-mini li:before{background:#b85750;width:5px;height:5px;top:16px;box-shadow:0 0 0 3px #faefee}.activity-mini li:nth-child(2):before,.activity-mini li:nth-child(3):before{background:#78ac6b;box-shadow:0 0 0 3px #f0f8eb}.activity-mini li:nth-child(5):before{background:#d8a25f;box-shadow:0 0 0 3px #faf4e9}.activity-mini time{font-size:9px;color:#ae9b9a}.dashboard-primary>.section-space{margin-top:15px}.dashboard-primary>.section-space>.panel-heading{margin:0 5px 9px}.dashboard-primary>.section-space>.panel-heading h2{font-size:14px}.dashboard-primary>.section-space>.panel-heading .tiny{color:#b4a1a0;font-size:9px}.pharmacy-card{padding:15px 17px;border-radius:13px}.pharmacy-card:hover{border-color:#ecc6c3;box-shadow:0 5px 14px #813f3a06}.pharmacy-line .icon-box{background:#faefee;color:#b47874;width:42px;height:42px;border-radius:10px}.pharmacy-line h3{font-size:12px;color:#673936}.pharmacy-line .tiny{font-size:9px;color:#ac9998}.pharmacy-line .dot{background:#75a76c;box-shadow:0 0 0 3px #f1f8ec}.pharmacy-stats{border-color:#f7eeed;margin-top:11px;padding-top:10px;gap:14px;font-size:9px;color:#af9997}.pharmacy-stats strong{display:inline;font-size:12px;color:#785451;font-weight:600;letter-spacing:0}.home-view>.demo-note{margin-top:16px;color:#b7a3a2;font-size:9px}.search{border-color:#efe2e1;color:#714643;background:#fff}.search::placeholder{color:#b8a2a0}.tab{color:#a48280;border-color:#f3e2e1}.tab.active{color:#9a4842;background:#faeceb;border-color:#f2d4d2}.table-wrap{border-color:#f4e7e6;box-shadow:none}th{color:#ac8b89;background:#fdf8f8;border-color:#f4e7e6}td{color:#9e7f7d;border-color:#f6eceb}td strong{color:#6f4340}td small{color:#b89b99}tr.clickable:hover{background:#fefbfa}.filename{color:#9f8482}.notice{background:#fbf0ef;border-color:#f4dfde;color:#a77875}.notice.amber{background:#fcf5ea;border-color:#f2e6d5;color:#a78c69}.person-card .avatar{background:#f9ebea;color:#b47c78}.person-card:nth-child(2) .avatar{background:#eaeffd;color:#7b8bb9}.person-card:nth-child(3) .avatar{background:#eaf4ef;color:#77a18b}.person-name{color:#6c4643}.person-stats strong{color:#80433f}.progress{background:#f8ebea}.progress>span{background:#be837f}.incentive{border-color:#f7e9e8;color:#ac8784}.incentive strong{color:#945550}.folder{border-color:#f5e5e4}.folder:hover{border-color:#e6bbb8}.folder svg{background:#faefef;color:#bf8783}.folder h3{color:#784f4c}.folder small{color:#bc9895}.settings-row{border-color:#f7e8e7}.settings-row h3{color:#794c49}.settings-row p{color:#ba9390}.switch{background:#f1dedd}.switch.on{background:#bd837f}.summary{background:#fbf0ef;border-color:#f3dedd}.summary p,.summary li{color:#ad7e7b}.summary .icon-box{color:#a76762;background:#f8e6e4}.drawer,.modal{background:#fefcfc;border-color:#f9eae9}.drawer-backdrop{background:#3817154f}.drawer-head,.close{border-color:#f3e1e0}.drawer h2,.modal h2{color:#6c3531}.close{color:#ad7470}.detail-grid small{color:#bd9592}.detail-grid strong{color:#965854}.document-preview{background:#fbf0ef;border-color:#f5e0de}.paper{color:#b18a87;border-color:#f0dad8;box-shadow:0 8px 25px #80373206}.paper h3{color:#9b5651}.draft{border-color:#f1d9d7;background:#fff;color:#865754}.field{color:#ac7e7b}.field input,.field select,.field textarea{border-color:#efd7d5;color:#835350}.floating-assistant{background:#8f3b35;color:#fff;border-color:#b15d57;box-shadow:0 6px 22px #57242020}.floating-assistant svg:first-child{color:#f7e2e0}.assistant-panel{border-color:#f4dad8;box-shadow:0 15px 50px #5c242020}.assistant-head{background:#faeceb;color:#8b5450}.message{color:#a26f6b;background:#fbf2f1}.message.user{background:#f8e6e4;color:#8f5854}.chat-form{border-color:#f6e1df}.tour-panel{background:#6c2621;border-color:#a46560;color:#fff;left:calc(50% + 122px)}.tour-panel h3{color:#fcf5f5}.tour-panel .eyebrow{color:#d1adaa}.tour-panel p{color:#e2c0be}.tour-panel .btn{background:#f6dedc;color:#7b3b36}.tour-progress i{background:#834a46}.tour-progress i.done{background:#eab4b0}.event{border-color:#f8e6e5}.event h3{color:#8d5c58}.event p,.event time{color:#c59794}.event .event-mark{border-color:#c38b87;background:#fbf0ef}.conversation-item{border-color:#f7e3e2}.conversation-item.active{background:#faefee;border-left-color:#cb918d}.conversation-view{background:#fdf9f9}.bubble{border-color:#f5dddb;color:#a57470;background:white}.bubble.reply{background:#f8e6e4;border-color:#f2d6d4;color:#9e6460}.hero-end{background:linear-gradient(140deg,#faeeed,#fff);border-color:#f4dad8;color:#763732}.hero-end h1{color:#6f3430}.hero-end p{color:#ac8683}.hero-end .eyebrow,.hero-end .demo-note{color:#c59e9b}.hero-end .btn.primary{background:#8a3a34;color:white;border-color:#8a3a34}.hero-end .btn.ghost{color:#ad726e}.brand-mark{background:#f6e0de;color:#9c5f5b}.toast{background:#803631}.file-row{border-color:#f4dedc;color:#a4706c}.file-row svg{color:#bf8a86}
@media(min-width:1700px){.content{padding:33px 35px 110px}.topbar{padding:0 35px}.home-view .page-heading{min-height:100px;margin-bottom:22px}.home-view .page-heading h1{font-size:40px}.metric{min-height:126px;padding-top:23px;padding-left:82px}.metric-top{font-size:12px}.metric-top svg{left:20px;top:23px;width:48px;height:48px}.metric-value{font-size:36px}.metric-note{font-size:10px}.dashboard-grid{gap:22px}.attention-row{padding:22px 0}.row-body h3{font-size:15px}.row-body p{font-size:13px}.attention-row>.btn{font-size:11px;padding:10px 17px}.dashboard-grid .summary{padding:25px}.dashboard-grid .summary li{font-size:14px;margin:17px 0}.dashboard-grid .summary li small{font-size:11px!important}.dashboard-grid .summary p{font-size:14px}.botanical-reference{width:450px;height:128px}.activity-mini li{font-size:11px}.pharmacy-line h3{font-size:14px}.pharmacy-line .tiny{font-size:10px}}
@media(max-width:1300px){.sidebar{width:215px;padding-left:12px;padding-right:12px}.sidebar .brand{padding-left:5px;padding-right:5px}.pharmacy-logo{width:188px}.main{margin-left:215px}.topbar{padding:0 23px}.content{padding:25px 23px 100px}.status{display:none}.metrics{gap:10px}.metric{padding-left:57px;padding-right:9px}.metric-top{font-size:9px}.metric-top svg{width:34px;height:36px;padding:9px;left:13px}.metric-note{font-size:8px}.metric:after{right:8px;font-size:18px}.dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(295px,1fr);gap:16px}.row-body h3{font-size:12px}.row-body p{font-size:10px}.attention-row{gap:12px}.attention-row>.icon-box{width:37px;height:42px}.attention-row>.btn{font-size:9px;padding:8px 9px;min-width:65px;margin-right:15px}.attention-row>.btn:after{right:-23px}.dashboard-grid>.dashboard-primary>.card{padding:19px}.dashboard-grid .summary{padding:18px}.dashboard-grid .summary .panel-heading>.pill{display:none}.tour-panel{left:calc(50% + 107.5px)}}
@media(max-width:1050px){.metrics{grid-template-columns:repeat(3,1fr)}.metric{padding-left:67px;min-height:105px}.metric-top svg{width:40px;height:40px;left:14px;padding:10px}.metric-top{font-size:10px}.metric-note{font-size:9px}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.dashboard-grid>div:last-child>.section-space{margin-top:0}.row-body h3{font-size:13px}.row-body p{font-size:11px}.attention-row>.btn{font-size:10px}.botanical-reference{opacity:.5;width:330px}.home-view .page-heading h1{font-size:32px}}
@media(max-width:800px){.dashboard-grid>div:last-child{display:block}.dashboard-grid>div:last-child>.section-space{margin-top:16px}.metrics{grid-template-columns:1fr 1fr}.metric:last-child{grid-column:span 2}.metric:last-child .metric-value{display:block;margin:6px 0 8px}.metric:last-child .metric-note{display:flex}.top-controls #role-select{max-width:90px}.header-demo{font-size:10px;padding:10px}.tour-panel{width:calc(100% - 245px);left:calc(50% + 107.5px)}}
@media(min-width:1100px){body:has(.drawer) .tour-panel{left:calc(50% + 122px - 290px);width:min(540px,calc(100vw - 855px))}}
@media(max-width:700px){.sidebar{width:240px;padding:20px 14px}.main{margin-left:0}.topbar{padding:0 13px;height:auto;min-height:66px;gap:7px}.mobile-menu{color:#8c5652}.top-controls{gap:6px;flex:1;justify-content:flex-end;flex-wrap:wrap;padding:9px 0}.select{font-size:9px;padding:9px 5px!important}.top-controls #pharmacy-select{max-width:132px}.top-controls #role-select{max-width:67px}.header-demo{font-size:9px;padding:8px 9px;gap:4px;min-height:33px}.header-demo svg{width:13px;height:13px}.content{padding:25px 15px 110px}.home-view .page-heading{padding:0 4px;min-height:94px;margin-bottom:17px}.home-view .page-heading h1{font-size:30px;font-weight:650;letter-spacing:-1.2px}.home-view .page-heading .subtitle{font-size:12px;max-width:240px}.botanical-reference{width:200px;opacity:.2;height:125px}.metrics{gap:10px}.metric{padding:17px 10px 16px 58px;min-height:108px}.metric-top{font-size:9px;line-height:1.4}.metric-top svg{width:34px;height:36px;left:13px;top:18px;padding:9px}.metric-value{font-size:29px;margin:7px 0}.metric-note{font-size:8px;max-width:110px}.metric:after{display:none}.metric:last-child{min-height:90px}.metric:last-child .metric-value{margin:5px 12px 0 0;display:inline-block}.metric:last-child .metric-note{display:inline-block}.attention-row{display:grid;grid-template-columns:37px minmax(0,1fr);padding:18px 0;gap:10px 13px}.attention-row>.icon-box{width:37px;height:42px}.attention-row>.btn{grid-column:2;margin:2px 0 0;min-width:80px;font-size:10px;width:fit-content}.attention-row>.btn:after{right:-26px}.row-body h3{font-size:12px}.row-body p{font-size:11px}.row-body>.tiny{font-size:9px}.dashboard-grid .summary{padding:22px}.dashboard-grid .summary .panel-heading>.pill{display:block}.dashboard-grid .summary li{font-size:12px;margin:17px 0}.pharmacy-grid{grid-template-columns:1fr}.pharmacy-line h3{font-size:13px}.pharmacy-stats strong{display:inline;font-size:13px}.tour-panel{left:50%;width:calc(100% - 24px)}.home-view>.demo-note{text-align:left;line-height:1.6}.floating-assistant{right:16px;font-size:11px}.topbar .crumb{display:none}}

.final-pharmacy-logo{display:block;width:270px;max-width:100%;height:auto;margin:0 auto 26px;mix-blend-mode:multiply}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #db9994;outline-offset:3px}
