.sidebar{height:100dvh;overflow-y:auto;overscroll-behavior:contain}.sidebar .workspace-label{font-size:9px;letter-spacing:.12em;margin:17px 12px 6px}.sidebar nav a{min-height:39px;padding-top:9px;padding-bottom:9px}.heading-actions,.workspace-links{gap:8px;align-items:center}.page-heading{gap:20px}.filters,.compact-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.filters input[type=search],.filters>input:not([type=date]),.compact-filters>label:first-child{flex:2 1 260px;min-width:200px}.filters select,.filters>label,.compact-filters>label{flex:1 1 160px;min-width:140px;max-width:320px}.filters .button,.compact-filters .button{flex:0 0 auto;min-height:44px;margin:0}.compact-filters{display:flex!important}.compact-filters label{margin:0}.compact-filters input,.compact-filters select{width:100%}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.dashboard-stat{background:#fff;border:1px solid #d9e3d5;border-radius:14px;padding:20px;text-decoration:none;color:#244d3b}.dashboard-stat:hover{background:#f0f6e8;border-color:#8aa874}.dashboard-stat strong{display:block;font-size:30px;margin:9px 0}.dashboard-stat span,.dashboard-stat small{display:block;font-size:12px}.dashboard-stat small{color:#667a6b}.refresh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.refresh-widget{margin:0!important}.refresh-widget.full{grid-column:1/-1}.refresh-widget h2{font-size:18px}.refresh-widget .section-heading{margin-top:0}.refresh-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px solid #e1e7dc}.refresh-row small{display:block;margin-top:5px;color:#687b6b;line-height:1.5}.deadline{display:inline-block;padding:5px 8px;font-size:11px;background:#edf2e7;border-radius:6px;white-space:nowrap}.deadline.overdue{background:#fbe5df;color:#923f29}.deadline.today{background:#fff0cb;color:#775711}.workflow-summary{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:18px 0}.workflow-summary a{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:12px 10px;background:#fff;border:1px solid #dce4d6;border-radius:10px;text-decoration:none;color:#31533b;font-size:11px}.workflow-summary strong{font-size:23px}.workflow-section{scroll-margin-top:20px;padding:20px;margin-bottom:18px;background:#fff;border:1px solid #dce4d6;border-radius:14px}.workflow-section h2{font-size:18px;margin:0 0 12px}.workflow-list-row{display:grid;grid-template-columns:28px minmax(130px,1fr) minmax(130px,1.6fr) minmax(100px,1fr) minmax(120px,1fr);align-items:center;gap:14px;padding:15px 8px;border-top:1px solid #e1e8dc;font-size:13px}.workflow-list-row p{margin:4px 0;font-size:12px;color:#66796a}.workflow-list-row input{width:18px!important;height:18px}.alphabet{display:flex;gap:4px;flex-wrap:wrap;margin:18px 0}.alphabet a{padding:8px 11px;min-width:34px;text-align:center;text-decoration:none;border-radius:7px;background:#edf2e7;color:#35563f}.alphabet a.current{background:#244d3b;color:white}.customer-letter{font-size:20px;margin:25px 0 8px;padding-left:14px}.customer-directory{background:#fff;border:1px solid #dce4d6;border-radius:13px;padding:0 16px}.customer-directory a{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(160px,1fr) minmax(140px,1fr) 90px;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid #e6ece1;text-decoration:none;color:#284d38}.customer-directory a:last-child{border-bottom:0}.customer-directory a:hover{background:#f4f7ef}.customer-directory small{display:block;font-size:12px;color:#6c7f70;margin-top:5px}.customer-lock-note{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 16px;border:1px solid #dbe4d6;border-radius:10px;margin:16px 0;background:#f2f6ec}.customer-locked{border:0;margin:0;padding:0;min-width:0}.customer-locked:disabled input,.customer-locked:disabled select,.customer-locked:disabled textarea{background:#f5f7f1;color:#536b5a;border-color:#e4e9dd;opacity:1}.browse-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:18px 0}.browse-groups a{padding:18px;background:#fff;border:1px solid #d9e3d3;border-radius:12px;text-decoration:none;color:#28513a}.browse-groups strong{display:block}.browse-groups small{display:block;margin-top:7px;color:#71816d}.catalog-rows{display:flex;flex-direction:column;gap:8px}.catalog-row{display:grid;grid-template-columns:68px minmax(200px,2fr) minmax(130px,1fr) minmax(120px,1fr);gap:18px;align-items:center;padding:15px;background:#fff;border:1px solid #dde5d6;border-radius:12px;text-decoration:none;color:#294f39}.catalog-row img{width:62px;height:68px;object-fit:contain}.catalog-row small{display:block;margin-top:5px;color:#687c6b;font-size:12px}.catalog-breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.refresh-tools{position:relative}.refresh-tools summary{cursor:pointer;list-style:none;padding:11px 16px;border:1px solid #d6e0cc;border-radius:9px;background:#fff;font-size:13px}.refresh-tools[open]>div{position:absolute;right:0;top:46px;z-index:25;width:280px;background:#fff;padding:10px;border:1px solid #dce4d5;border-radius:10px;box-shadow:0 8px 24px #173f3520}.refresh-tools a{display:block;padding:11px;text-decoration:none;color:#244d3b}.creation-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.creation-action{display:flex;flex-direction:column;gap:12px;padding:26px;border:1px solid #d6e2cd;border-radius:16px;background:#fff;text-decoration:none;color:#244d3b}.creation-action span{font-size:26px}.creation-action strong{font-size:19px}.creation-action p{font-size:13px;line-height:1.5;margin:0;color:#6a7c6c}.refresh-dialog{border:1px solid #cedac5;border-radius:16px;width:min(560px,calc(100vw - 30px));padding:24px;color:#244d3b}.refresh-dialog::backdrop{background:#173f3566}.refresh-dialog header{display:flex;justify-content:space-between;gap:15px;align-items:center}.preference-row{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #e1e8d9}.preference-row label{flex:1;display:flex;align-items:center;gap:10px;margin:0}.preference-row input{width:20px!important}.preference-row button{padding:8px 12px;min-width:36px}.art-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.art-history article{padding:18px;background:#fff;border:1px solid #dce5d4;border-radius:14px}.art-history img{width:100%;height:220px;object-fit:contain}.art-history small{display:block;margin-top:7px}.inbox-layout{display:grid;grid-template-columns:minmax(260px,350px) minmax(0,1fr);height:calc(100dvh - 260px);min-height:400px;border:1px solid #d8e2d1;border-radius:16px;background:#fff;overflow:hidden}.inbox-list{overflow:auto;border-right:1px solid #dce4d4}.inbox-list a{display:block;padding:18px;text-decoration:none;color:#244d3b;border-bottom:1px solid #e0e7d9}.inbox-list a.selected{background:#edf4e3;box-shadow:inset 3px 0 #577c3b}.inbox-list p{font-size:12px;line-height:1.5;margin:6px 0}.inbox-list small{display:block;color:#6a7b6b}.inbox-reading{display:flex;flex-direction:column;min-width:0;min-height:0}.inbox-thread-head{padding:18px 24px;border-bottom:1px solid #dce4d4}.inbox-thread-head h2{font-size:19px;margin:0 0 7px}.inbox-thread-body{padding:20px 24px;overflow:auto;flex:1;min-height:0}.inbox-reply{padding:14px 24px;border-top:1px solid #dce4d4}.inbox-reply textarea{min-height:70px}.inbox-reading .bubble{max-width:95%}@media(max-width:1100px){.workflow-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-directory a{grid-template-columns:1.4fr 1fr 1fr}.customer-directory .directory-status{display:none}.dashboard-stats{gap:10px}.catalog-row{grid-template-columns:60px 2fr 1fr}.catalog-row .catalog-detail{display:none}}@media(max-width:760px){.dashboard-stats,.refresh-grid,.creation-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.refresh-widget{grid-column:1/-1}.creation-action{padding:18px}.customer-directory a{grid-template-columns:1fr}.customer-directory .directory-email,.customer-directory .directory-phone{display:none}.workflow-list-row{grid-template-columns:24px 1fr 1fr;gap:8px}.workflow-list-row .workflow-description{display:none}.catalog-row{grid-template-columns:50px 1fr}.catalog-row .catalog-detail,.catalog-row .catalog-supplier{display:none}.filters>*{max-width:none!important}.inbox-layout{grid-template-columns:1fr;height:auto}.inbox-list{max-height:280px;border-right:0;border-bottom:1px solid #dce4d4}.inbox-thread-body{max-height:450px}.customer-lock-note{align-items:flex-start;flex-direction:column}}

.compact-filters input,.compact-filters select,.compact-filters textarea{margin-bottom:0!important}.filters input[type=search]{max-width:none}.filters>label input,.filters>label select{max-width:none;width:100%!important;margin-top:7px!important}.inbox-heading{margin-bottom:18px}.inbox-heading+form{padding:16px;margin-bottom:16px}.inbox-layout{height:calc(100dvh - 448px);min-height:280px}.workflow-summary{grid-template-columns:repeat(7,minmax(0,1fr))}@media(max-width:1100px){.workflow-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.inbox-layout{height:auto}}
@media(max-width:760px){.sidebar{height:auto;max-height:none}}
