*{box-sizing:border-box}
:root{font-family:"Segoe UI",Arial,Helvetica,sans-serif;color:#232323;--navy:#0c2b57;--blue:#16499a;--pink:#ee3769;--border:#bababa;--paper:#fbfbfb;--surface:#efefef;--rail:55px;--mast:45px;--tabs:33px;--soft:#e5e5e5;font-size:16px}
html,body,#app{height:100%;margin:0}
body{overflow:hidden;background:var(--surface)}
button,input,select,textarea{font:inherit}
button{cursor:pointer;color:inherit;touch-action:manipulation}
button:focus-visible,a:focus-visible{outline:2px solid #2377cf;outline-offset:2px}
button:disabled{cursor:default;opacity:.5}
input,select,textarea{color:#242424;background:#fff;border:1px solid #b8b8b8;border-radius:3px;padding:6px 9px;min-height:34px;max-width:100%}
input:focus,select:focus,textarea:focus{outline:1px solid #509ce5;border-color:#4c9bdb;box-shadow:0 0 0 2px #beddf54d}
input[type=checkbox]{accent-color:#1652a1;width:18px;height:18px;min-height:0;vertical-align:middle;margin:0 6px 0 0}
select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23404854' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center;padding-right:29px}
button{border:1px solid #b8b8b8;border-radius:3px;background:#f9f9f9;padding:6px 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
button:hover{background-color:#f0f3f7}button svg{pointer-events:none;flex-shrink:0}
[hidden]{display:none!important}.number{text-align:right!important;font-variant-numeric:tabular-nums}
.tool{border:0;background:transparent;border-radius:2px;min-width:28px;min-height:26px;padding:2px;gap:0}
.tool:hover{background:#0000000c}.primary{background:#16499a;color:white;border:1px solid #16499a;padding:9px 19px}.primary:hover{background:#103d84}
.blue-outline{background:#dbebff;border-color:#5598e2;color:#0a4d98}
.text-button{background:none;border:0;color:#125eaa;padding:3px 1px}.muted-button{background:#fff;border:1px solid #c7c7c7;color:#444}
h1,h2,h3,p{margin-top:0}
.desk{height:100%;background:var(--surface)}
.mast{height:var(--mast);position:fixed;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;background:#17355b url(media/top-strip.svg) center center/100% 100% no-repeat;z-index:12}
.mast-logo{position:relative;width:222px;height:100%;display:block;text-align:left;border:0;border-radius:0;background:transparent;padding:2px 0 9px 16px}
.mast-logo:hover{background:transparent}.mast-logo img{display:block;width:173px;height:30px;object-fit:contain;object-position:left center}.mast-logo small{display:block;color:#545964;font-size:10px;line-height:11px;padding-left:41px;margin-top:-1px}
.mast-actions{height:100%;display:flex;align-items:center;gap:12px;padding:0 6px 0 0;color:white}.mast-actions>.tool{width:38px;height:34px;color:#fff}.mast-actions>.tool svg{width:20px;height:20px}.mast-actions button:hover{background:#ffffff24}
.identity,.picker-head button{display:flex;gap:8px;align-items:center;background:none;border:0}.identity{padding:0 0 0 8px;color:white;border-radius:0;text-align:right;font-size:18px;line-height:1.1;letter-spacing:.03px}
.identity span{max-width:38vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity small{display:block;font-size:12px;color:#c7d5e1;margin-top:1px}.identity i{width:34px;height:34px;border-radius:50%;background:#eee;color:#b8b8b8;display:grid;place-items:center;margin-left:5px}
.app-rail{position:fixed;left:0;top:var(--mast);bottom:0;width:var(--rail);padding:23px 0 8px;background:linear-gradient(90deg,#071d4d 0%,#193869 35%,#4d5c81 100%);z-index:15;display:flex;align-items:center;flex-direction:column;overflow-y:auto;scrollbar-width:none}
.app-rail::-webkit-scrollbar{display:none}.app-rail button{width:100%;min-height:46.5px;height:46.5px;background:none;color:white;border:0;border-radius:0;display:grid;place-items:center;padding:0}.app-rail button:hover,.app-rail .chosen{background:#ec376b}
.app-tabs{position:fixed;top:var(--mast);left:var(--rail);right:0;height:var(--tabs);display:flex;align-items:flex-end;border-bottom:1px solid #f33166;background:#eeeeef;z-index:10;padding-left:5px}
#tab-strip{display:flex;align-items:stretch;gap:5px;overflow:auto;scrollbar-width:none;min-width:0;height:calc(var(--tabs) - 1px)}#tab-strip::-webkit-scrollbar{display:none}
.app-tab{background:#d1d1d1;border:1px solid #aaa;border-bottom:0;border-radius:5px 5px 0 0;display:flex;align-items:stretch;min-width:max-content}
.app-tab>button:first-child,.subtab>button:first-child{background:none;border:0;display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.app-tab>button:first-child{font-size:16px;padding:3px 11px;color:#555;letter-spacing:.2px}.app-tab .tool{margin:auto 3px;color:#444;min-width:21px}.app-tab .tool svg{width:14px;stroke-width:2.8}
.app-tab.current{background:var(--pink);border-color:var(--pink)}.app-tab.current button{color:#fff}
.tab-overflow{margin-left:auto;align-self:stretch;border:0;border-radius:0;background:#ddd;color:#555;min-width:40px;font-size:13px}
.workspace{position:fixed;left:var(--rail);right:0;top:calc(var(--mast) + var(--tabs));bottom:0;border-left:1px solid #fff;border-top:1px solid white;overflow:hidden}
.dashboard-scroll,.module-app,.reports-app{width:100%;height:100%}.dashboard-scroll{overflow-y:auto;scrollbar-gutter:stable;padding:6px 7px 15px 13px}
.dashboard-toolbar{height:46px;background:#fafafa;border:1px solid var(--border);border-radius:5px;display:flex;align-items:center;gap:4px;padding:4px 5px;margin-bottom:10px}
.widget-add{background:#d6e9ff;border:1px solid #357fd7;color:#084e99;min-width:132px;height:34px;font-size:14px;border-radius:4px}.widget-add svg{stroke-width:3;width:18px}.dashboard-toolbar select{width:270px;font-size:16px;margin-left:auto;height:34px}.dashboard-toolbar>.tool{color:#777;min-width:21px}
.widgets{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;align-items:start}
.widget{position:relative;grid-column:span 4;min-width:0;height:204px;background:#fff;border:1px solid var(--border);border-radius:5px;overflow:hidden;display:flex;flex-direction:column}
.w-profit{grid-column:1 / span 4}.w-purchase{grid-column:7 / span 6}.w-sales{grid-column:1 / span 6}
.widget-head{height:26px;min-height:26px;display:flex;align-items:center;margin:0 10px;padding-left:5px;border-bottom:1px solid #ddd;color:#333;font-size:14px;line-height:1.25}
.widget-head>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-right:auto;min-width:0}.widget-head .tool{min-width:21px;height:21px;min-height:20px;color:#111}.widget-head .tool:last-child{min-width:12px;margin-right:-4px;color:#777}.widget-head .tool svg{width:15px;height:15px}.widget-head .tool:last-child svg{width:13px}
.widget-body{flex:1;min-height:0;overflow:hidden;padding:4px 10px 8px}.line-host{height:100%;width:100%}
.agenda-empty{border:0;background:none;width:100%;color:#777;font-style:italic;padding-top:8px;font-size:16px}.agenda-items p{display:flex;gap:12px;margin:0;padding:10px 6px;color:#444;border-bottom:1px solid #e1e1e1}
.timeline{height:100%;overflow:auto;scrollbar-width:thin}.timeline-row{display:grid;grid-template-columns:57px 24px 1fr;min-height:54px;position:relative;font-size:13px}
.timeline-date{position:absolute;top:5px;left:3px;color:#555;display:grid;line-height:1.07;font-size:17px}.timeline-date small{font-size:13px}.timeline-date b{font-size:34px;font-weight:400}
.timeline-row:has(.timeline-date) .timeline-dot{grid-column:2}.timeline-dot{position:relative;grid-column:2;display:block;min-height:54px;border-left:1px solid #ddd;margin:13px 0 -13px 10px}
.timeline-dot:before{content:"";position:absolute;left:-5px;top:-1px;background:#d2e9ff;border:1px solid #1878c7;width:8px;height:8px;border-radius:50%}
.timeline-row button{grid-column:3;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;min-width:0;border:0;background:none;padding:5px 2px 2px 11px;font-size:13px;line-height:1.35;gap:7px;text-align:left}
.timeline-row button span{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#555}
.date-nav{display:flex;align-items:center;justify-content:flex-end;height:23px;font-size:10.5px;gap:1px;color:#333}.date-nav .tool{color:#009cef;min-width:14px;width:14px;min-height:18px;height:18px}.date-nav .tool svg{width:12px;height:12px}
.donut-block{display:flex;gap:9px;align-items:flex-start}.donut-side{width:93px;flex:0 0 93px;text-align:center}.donut-side>div{width:90px;height:90px;margin:0 auto 5px}.donut-side>small{font-size:10px;line-height:1.3;display:block}.legend-side{flex:1;min-width:0}.legend-line{display:flex;align-items:center;gap:4px;min-height:25px;font-size:13px;white-space:nowrap}
.legend-line i{width:9px;height:9px;border-radius:50%;border:1px solid #888;flex:none}.legend-line>span{flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden}.legend-line small{font-size:9px;color:#999}.legend-line b{font-size:12px;font-weight:400}
.badge{display:inline-block;border-radius:8px;padding:1px 4px;min-width:25px;text-align:center;font:10px/1.2 Arial;font-style:normal}
.b0{background:#ffe2df;color:#e94545;border:1px solid #f99}.b1{background:#eee;color:#999;border:1px solid #ccc}.b2,.b3{background:#e3f5ff;color:#0093ce;border:1px solid #8bd2eb}
.legend-total{display:flex;justify-content:space-between;align-items:baseline;gap:8px;line-height:1.4;font-size:19px;padding:3px 0 4px;border-bottom:1px solid #ddd}
.legend-total span{white-space:nowrap}.legend-total small,.order-stats small{font-size:12px}.w-profit .legend-total{border-bottom:0;border-top:1px solid #ddd;padding-top:5px}.w-profit .legend-total span{color:#53aa00}
.order-period{display:flex;align-items:center;justify-content:center;position:relative}.order-period>small{position:absolute;right:1px;font-size:10px}.order-stats,.order-bars{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 2px 0}
.order-stats>div{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:16px;overflow:hidden}.order-stats strong{font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.order-stats b{font-size:18px;font-weight:400;white-space:nowrap}
.order-bars{color:#888;font-size:13px;margin-top:16px}.order-bars p{display:flex;align-items:center;justify-content:space-between;gap:3px;margin:0 0 7px}.order-bars .order-vals{color:#71b200;font-size:12px}.order-bars .order-vals span{color:#ff9500}.order-bars i{display:block;height:30px;background:linear-gradient(to right,#76c340 var(--ratio),#ffd569 var(--ratio))}.order-bars .due-bar{background:#ff5737}
.flyout-dismiss{position:fixed;inset:var(--mast) 0 0 var(--rail);z-index:16}.app-rail{z-index:18}.flyout{position:fixed;z-index:19;top:var(--fly-y);left:var(--rail);background:#fbfbfb;border:1px solid #999;border-left:0;border-radius:0 4px 4px 0;padding:10px;box-shadow:3px 5px 16px #0003;max-width:calc(100vw - var(--rail));max-height:calc(100dvh - var(--mast) - 7px);overflow:auto;width:412px}
.flyout header{display:flex;align-items:center;border-bottom:2px solid #ee3769;margin-bottom:17px;height:56px}.flyout h2{font-size:24px;font-weight:400;color:#565656;flex:1;margin:0}.flyout .tool{color:#888}
.fly-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fly-tiles button{height:120px;display:flex;flex-flow:column;justify-content:space-between;align-items:center;padding:21px 5px 9px;font-size:14px;line-height:1.25;background:color-mix(in srgb,var(--module-color) 11%,#fff);border:1px solid color-mix(in srgb,var(--module-color) 64%,#fff);box-shadow:1px 3px 4px #0002;border-radius:6px}.fly-tiles button svg{color:var(--module-color)}.fly-tiles button:hover{background:color-mix(in srgb,var(--module-color) 21%,white)}
.popup-menu{position:fixed;z-index:60;min-width:185px;max-width:calc(100vw - 10px);background:white;border:1px solid #bbb;border-radius:4px;padding:4px;box-shadow:1px 4px 15px #0003;max-height:85dvh;overflow:auto}
.popup-menu button,.search-results button{width:100%;border:0;background:#fff;border-radius:2px;justify-content:flex-start;font-size:14px;padding:8px 10px;text-align:left}.popup-menu button:hover,.search-results button:hover{background:#eaf2fc}
.modal-back{position:fixed;inset:0;z-index:50;background:#0005;display:grid;place-items:center;padding:12px}
.modal{width:min(560px,100%);max-height:94dvh;overflow:auto;border-radius:5px;background:#fafafa;box-shadow:0 8px 42px #0005;border:1px solid #48586c}
.modal-head{background:#0b2b55;color:white;display:flex;align-items:center;padding:0 8px;min-height:37px;position:sticky;top:0;z-index:2}
.modal-head h2{margin:0;flex:1;font-size:15px;font-weight:400}.modal-head .tool{color:white}
.modal-body{padding:13px 15px}.modal-foot{display:flex;justify-content:flex-end;gap:7px;margin:0 10px;padding:10px 0 15px;border-top:1px solid #aaa}.modal-foot .primary{min-height:40px}
.field{display:grid;grid-template-columns:minmax(108px,.8fr) minmax(145px,1fr);align-items:center;gap:12px;margin:9px 0;font-size:15px}.field input,.field select,.field textarea{width:100%;min-width:0}
.field span{color:#252525}.field-error{font-size:14px;color:#ab1944;margin:4px 0}.field-error:empty{display:none}
.detail-dl{display:grid;grid-template-columns:135px 1fr;gap:9px 12px;margin:8px 0 16px;font-size:15px}.detail-dl dt{color:#646464}.detail-dl dd{margin:0;overflow-wrap:anywhere}
#status{pointer-events:none;position:fixed;z-index:75;right:17px;bottom:16px;transform:translateY(20px);opacity:0;background:#15375d;color:#fff;padding:10px 17px;border-radius:4px;font-size:14px;transition:opacity .15s,transform .15s}#status.shown{opacity:1;transform:translateY(0)}
.widget-choices,.module-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.widget-choices label,.module-selector button{display:flex;align-items:center;justify-content:flex-start;gap:7px;font-size:14px;background:white;border:1px solid #ddd;border-radius:3px;padding:10px}
#global-search{width:100%}.search-results{max-height:52dvh;overflow:auto;margin-top:8px}.search-results button span{flex:1}.search-results small{color:#777}
.help-body p,.news-sheet p,.settings-sheet p{line-height:1.55}.help-body h3,.news-sheet h3{font-size:18px;margin:7px 0}.news-sheet,.settings-sheet,.register{margin:12px;padding:17px;background:#fbfbfb;border:1px solid #c1c1c1;border-radius:4px}.news-sheet h2,.settings-sheet h2,.register h2,.document-form h2{font-size:24px;color:#4d4d4d;font-weight:400;margin:0 0 14px}.news-sheet article{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-top:1px solid #ddd}
.panel-empty{color:#777;padding:19px 12px;font-style:italic;font-size:15px}.module-app{overflow:auto}.entry-tabs,.report-tabs{display:flex;align-items:flex-end;gap:4px;height:42px;background:#fafafa;border-bottom:1px solid #aaa;overflow:auto}
.entry-tabs>.tool,.report-tabs>.tool{background:#e8e8e8;border:1px solid #b8b8b8;border-radius:4px 4px 0 0;height:40px;min-width:57px}.entry-tabs>.green,.report-tabs>.green{background:#68a81a;color:#fff;border-color:#68a81a}.entry-tabs>button:not(.tool){height:39px;background:#d5d5d5;border-radius:4px 4px 0 0}.entry-tabs>.current{border-top:3px solid var(--pink)!important;background:#eee!important}
.settings-sheet{max-width:820px}.settings-sheet>.primary{margin:14px 0 0 auto;display:flex}.insight-row{display:flex;justify-content:space-between;width:100%;padding:9px 0;border-bottom:1px solid #ddd;margin:7px 0}
.register-title,.list-tools,.doc-footer,.form-bottom,.order-period{display:flex;align-items:center;gap:8px}.register-title h2{margin:0;flex:1}.list-tools{padding:10px 0;gap:6px}.list-tools input{width:250px}.list-tools select{width:170px}.data-scroll,.entry-table-wrap{overflow:auto}.data-table,.entry-table{border-collapse:collapse;width:100%;background:white;font-size:14px}.data-table th,.entry-table th{background:#e6e9ed;text-align:left;border:1px solid #bcc2c7;padding:8px;color:#333;white-space:nowrap;font-weight:600}.data-table td,.entry-table td{border:1px solid #d6d8d9;padding:7px 8px}.data-table tbody tr:nth-child(even){background:#f7f8fa}.data-table tbody tr[data-action]{cursor:pointer}.data-table tbody tr[data-action]:hover{background:#e9f3ff}.data-table .last-cell{font-variant-numeric:tabular-nums}.pager{padding:8px 0;display:flex;align-items:center;justify-content:space-between;color:#555;font-size:14px}.pager span{display:flex;align-items:center;gap:6px}
.document-form{margin:6px 10px 28px;padding:10px 11px;background:#fbfbfb;border:1px solid #ccc}.document-form h2{margin-bottom:9px;font-size:21px}.form-top{display:grid;grid-template-columns:1fr 1fr;gap:5vw}.form-box{background:#fff;border:1px solid #c2c2c2;margin-top:10px;padding:12px}.form-box h3{font-size:16px;font-weight:500;border-bottom:1px solid #d3d3d3;padding-bottom:7px;margin-bottom:8px}.entry-table select,.entry-table input{width:100%;font-size:14px}.entry-table td{padding:5px}.entry-table th:first-child{width:40%}.entry-table .muted-button,.form-box>.muted-button{margin-top:8px}.entry-table input[type=number]{min-width:66px}.form-bottom{justify-content:space-between;gap:30px;margin:8px 0}.form-bottom>.field{flex:1;max-width:620px}.entry-total{white-space:nowrap;display:flex;align-items:center;gap:17px}.entry-total b{font-size:21px}.doc-footer{border-top:1px solid #ddd;padding-top:10px;justify-content:flex-end}.doc-footer .field-error{margin-right:auto}.detail-table{font-size:13px}
.guest,.picker{height:100%;width:100%;overflow:auto}
.guest{display:grid;place-items:center;position:relative;background:#9dc5f5 url(media/company-backdrop.svg) center/cover;background-blend-mode:multiply;color:#514d67;padding:22px}
.guest-card{display:grid;grid-template-columns:1fr 1fr;width:min(712px,100%);min-height:min(610px,92vh);background:white;border-radius:8px;overflow:hidden;box-shadow:0 15px 36px #21416b51}
.guest-art{position:relative;background:#fff url(media/login-photo.webp) center bottom/cover no-repeat;min-height:530px;overflow:hidden}
.guest-copy{position:absolute;z-index:1;left:5%;right:5%;top:15%;text-align:center;font-size:22px;color:#2f3031;line-height:1.15}.guest-copy em{color:#ec396c;font-style:normal}.guest-copy p{margin-top:4px;font-size:14px}
.mini-preview{position:absolute;top:38%;left:14%;width:72%;height:22%;border:3px solid #495268;border-radius:6px;background:#f0f0f0;box-shadow:0 4px 12px #80143c33;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:11px 4px 4px 12px;z-index:0}
.mini-preview div{position:absolute;top:0;left:0;right:0;height:5px;background:#1d3958 url(media/top-strip.svg) center/cover}.mini-preview i{position:absolute;top:5px;bottom:0;left:0;width:7px;background:#1b385e}.mini-preview span{background:repeating-linear-gradient(to top,#fff 0 10px,#e2ebf2 11px 12px);border:1px solid #c4c6cd;border-radius:2px;position:relative}.mini-preview span:after{content:"";position:absolute;inset:20% 10%;background:#86bced;clip-path:polygon(0 81%,24% 60%,46% 72%,70% 16%,100% 24%,100% 33%,70% 25%,46% 81%,24% 69%,0 90%)}.mini-preview span:last-child{grid-column:span 3}
.guest-right{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:24px 40px;background:#fff}.guest-language{position:absolute;right:22px;top:19px;display:flex;gap:7px;align-items:center;padding:6px 9px;border:1px solid #ddd;border-radius:4px;font-size:13px}.guest-right>img{width:162px;align-self:center;margin-bottom:18px}.guest-right h1{text-align:center;font-size:20px;font-weight:600;margin:0}.guest-right>p{margin:4px 0 15px;text-align:center}.demo-input{padding:0;margin:0 0 13px}.demo-input small{font-size:15px;display:block;margin-bottom:4px}.demo-input strong{display:flex;gap:7px;align-items:center;border:1px solid #c8c8c8;border-radius:4px;padding:9px;font-size:14px;font-weight:400;color:#626671;background:#fcfcfd}.pink-button{background:#ed396b;color:white;border-color:#ed396b;padding:10px}.pink-button:hover{background:#d82558}.guest-note{text-align:center;color:#717183;margin-top:17px;font-size:12px}.guest-version{position:absolute;bottom:8px;left:10px;color:#fff;font-size:11px}
.flag{display:inline-block;width:17px;height:12px;background:linear-gradient(#e51332 50%,#fff 50%);border:1px solid #eee}
.picker{background:#e9f4fc url(media/company-backdrop.svg) center/cover;color:#292735}.picker-head{height:63px;display:flex;justify-content:space-between;align-items:center;padding:0 23px;background:#fff;box-shadow:0 6px 22px #5868751c;font-size:15px}.picker-head>div{display:flex;align-items:center;gap:7px}.picker-head>img{position:absolute;left:50%;transform:translateX(-50%);width:155px}.picker-head button{font-size:14px}
.picker-main{display:grid;grid-template-columns:minmax(230px,32%) minmax(0,1fr);gap:28px;padding:27px 28px;min-height:calc(100% - 63px)}.picker-main.collapsed{grid-template-columns:40px minmax(0,1fr)}.company-banner{position:relative;border-radius:6px;border:1px solid #ccc;background:#fbe9ef url(media/company-banner.svg) center/100% 100% no-repeat;max-height:calc(100dvh - 115px);min-height:470px;overflow:hidden}.company-banner>.tool{float:right;color:#e43968;height:42px;width:45px}.company-banner .banner-cta{position:absolute;bottom:3.5%;left:6%;width:88%;background:#c71e4e;color:white;font-size:clamp(16px,2vw,29px);font-weight:650;border-radius:32px;border:0;padding:9px 4px}.collapsed .company-banner{background:#fff;min-height:80px;height:80px}.collapsed .banner-cta{display:none}
.companies>header{display:flex;align-items:center;border:1px solid #ccc;border-left:7px solid #ee3b6d;border-radius:5px;background:#fff;min-height:55px;padding:7px 13px;gap:18px;margin-bottom:14px}
.companies h1{font-size:23px;font-weight:400;color:#544e69;margin:0}.companies header>.tool{width:62px;height:34px;background:var(--pink);color:white;box-shadow:0 2px 3px #7774}.companies header>.tool svg{stroke-width:3}.companies header input{margin-left:auto;min-width:0;width:32%;font-size:14px}
.company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 24px;padding:0 8px}.company-card{height:clamp(178px,24.4vh,229px);overflow:hidden;border:1px solid #c7c7c7;border-radius:6px;background:white;position:relative;box-shadow:0 4px 12px #41596e12;transition:.12s}.company-card:hover{transform:translateY(-2px);box-shadow:0 7px 16px #41596e27}.co-tools{position:absolute;top:8px;left:8px;right:8px;display:flex;justify-content:space-between;z-index:1}.co-tools button{min-width:21px;color:#606676}.co-open{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:0;width:100%;height:100%;padding:0;background:#fff;border:0;border-radius:0}.org-logo{font-style:normal;font-size:34px;font-weight:600;letter-spacing:-2px;line-height:1;display:grid;place-items:center;color:var(--org);background:color-mix(in srgb,var(--org) 10%,white);border:2px solid color-mix(in srgb,var(--org) 42%,white);border-radius:50%;height:84px;width:84px;margin:auto auto 10px}.org-logo.phg{color:#367c3c;background:linear-gradient(145deg,#e6f2c9,#f7fcdf);border:5px double #429850;transform:rotate(-3deg)}
.co-open small{font-size:11px;border-radius:12px;padding:3px 12px;color:#0a9056;background:#e2f8eb;margin:5px auto 13px;letter-spacing:.1px}.co-open strong{width:100%;font-size:16px;font-weight:500;background:linear-gradient(#4ab0e8,#127ab8);color:white;padding:10px 8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
@media(min-width:1700px){.widget{height:225px}.widget-head{height:29px;min-height:29px}}
@media(max-width:1100px){.mast-actions{gap:3px}.widget-body{padding-left:7px;padding-right:7px}.donut-side{width:78px;flex-basis:78px}.donut-side>div{width:76px;height:76px}.legend-line{font-size:12px}.legend-line b{font-size:11px}.legend-total{font-size:16px}.badge{display:none}.company-grid{gap:15px}.guest-art{min-height:490px}}
@media(max-width:850px){.widgets{grid-template-columns:repeat(2,minmax(0,1fr))}.widget,.w-profit,.w-purchase,.w-sales{grid-column:auto}.w-purchase,.w-sales{grid-column:span 2}.mast-logo{width:150px}.mast-logo img{width:132px}.mast-actions>.tool{width:29px}.identity{font-size:14px}.company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.picker-main{grid-template-columns:minmax(160px,28%) minmax(0,1fr);padding:18px 12px;gap:14px}.form-top{gap:15px}.field{grid-template-columns:minmax(84px,.7fr) minmax(100px,1fr)}}
@media(max-width:620px){:root{--rail:43px;--mast:43px;--tabs:34px}.mast{background-size:auto 100%;background-position:center}.mast-logo{width:113px;background:#f7f8fae8;padding:3px 3px 6px 6px;border-radius:0 35% 0 0}.mast-logo img{width:99px;height:23px}.mast-logo small{font-size:9px;padding-left:20px}.mast-actions{gap:1px}.mast-actions>.tool:nth-child(-n+2),.mast-actions>.tool:nth-child(4){display:none}.identity{font-size:11px;gap:4px;padding:0}.identity span{max-width:36vw}.identity i{width:26px;height:26px;margin-left:0}.identity i svg{width:18px}.identity small{font-size:9px}
.app-rail{padding-top:8px}.app-rail button{min-height:41px;height:41px}.app-rail button svg{width:23px;height:23px}.app-tab>button:first-child{font-size:14px;padding:3px 8px}.app-tabs{padding-left:3px}.tab-overflow{min-width:27px;padding:2px;font-size:11px}
.dashboard-scroll{padding:5px 6px 14px}.dashboard-toolbar{margin-bottom:6px;min-width:0;gap:2px}.widget-add{min-width:77px;padding:4px;font-size:13px}.dashboard-toolbar select{min-width:0;width:auto;flex:1;margin-left:5px;font-size:13px}.widgets{grid-template-columns:1fr;gap:7px}.widget,.w-profit,.w-purchase,.w-sales{grid-column:1}.widget{height:205px}.donut-side{width:90px;flex-basis:90px}.donut-side>div{width:89px;height:89px}.legend-line{font-size:13px}.flyout{width:calc(100% - var(--rail) - 5px);top:var(--mast);max-height:calc(100dvh - var(--mast));padding:8px}.flyout header{height:42px;margin-bottom:9px}.fly-tiles{gap:6px}.fly-tiles button{height:88px;font-size:12px;padding:9px 3px 6px}.fly-tiles svg{width:26px;height:26px}
.field,.form-top{grid-template-columns:1fr;gap:4px}.field{font-size:14px}.form-bottom{display:block}.register,.document-form,.settings-sheet,.news-sheet{margin:6px;padding:8px}.list-tools input{width:40%}.list-tools select{width:36%;font-size:12px}.detail-dl{grid-template-columns:82px 1fr}.widget-choices{grid-template-columns:1fr}.guest{padding:12px}.guest-card{max-width:370px;min-height:530px;display:block}.guest-art{display:none}.guest-right{min-height:530px;padding:28px}.picker-head{padding:0 8px;height:48px}.picker-head>div span,.picker-head>div .flag+span{display:none}.picker-head>img{width:110px}.picker-head button{font-size:0;padding:4px}.picker-main,.picker-main.collapsed{display:block;padding:9px}.company-banner{display:none}.company-grid{gap:9px;padding:0}.company-card{height:180px}.org-logo{height:64px;width:64px;font-size:25px}.co-open strong{font-size:12px}.companies>header{gap:8px;padding:5px}.companies h1{font-size:17px}.companies header>.tool{width:31px}.companies header input{width:45%}.order-stats b{font-size:14px}.order-bars{font-size:10px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.fly-tiles button{background:var(--tile-bg,#fafafa);border-color:var(--tile-border,#aaa);padding-top:11px}.fly-tiles button:hover{filter:brightness(.96);background:var(--tile-bg,#f4f4f4)}.tile-glyph{background-image:url(media/menu-icons.png);background-repeat:no-repeat;width:64px;height:64px;display:block;flex:none}.fly-tiles button span{margin-top:auto;margin-bottom:1px}@media(max-width:620px){.fly-tiles button{padding-top:0;position:relative}.tile-glyph{transform:scale(.72);margin-top:-5px;margin-bottom:-12px}}

.widget-points{display:grid;gap:.3rem;margin:.5rem 0;padding:.5rem .75rem}.widget-points label{display:flex;gap:.45rem;align-items:center}.widget-points input{width:auto}
