
/* Shared Workspace controls and publication actions. */
body.pwa501-workspace #pwa5{--pwa-action-blue:#1967d2;--pwa-action-hover:#185abc;--pwa-control-line:#cbd7e7}
body.pwa501-workspace #pwa5 :is(.pwa5-topbar,.pwa5-panel-card){background:#fff!important;border-color:#dce5f1!important;box-shadow:0 8px 22px #223a5610!important}
body.pwa501-workspace #pwa5 :is(.pwa5-topbar,.pwa5-panel-head) h2{color:#202124!important}
body.pwa501-workspace #pwa5 .pwa5-form .pwa5-field :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){box-sizing:border-box;min-height:46px;max-width:100%;border:1px solid var(--pwa-control-line)!important;border-radius:10px!important;background:#fbfcff!important;color:#202124!important}
body.pwa501-workspace #pwa5 .pwa5-field input[type=file]::file-selector-button{margin-inline-end:8px;padding:7px 10px;border:0;border-radius:7px;background:#e8f0fe;color:#174ea6;font-weight:700}
body.pwa501-workspace #pwa5 :is(.pwa5-form-actions button[type=submit],.pwa5-button:not(.danger):not(.secondary)){min-height:44px;border-radius:10px!important;background:var(--pwa-action-blue)!important;color:#fff!important}
body.pwa501-workspace #pwa5 :is(.pwa5-form-actions button[type=submit],.pwa5-button:not(.danger):not(.secondary)):hover:not(:disabled){background:var(--pwa-action-hover)!important}
body.pwa501-workspace #pwa5 .pwa5-publication-actions{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:9px!important;margin-top:5px;padding-top:14px;border-top:1px solid #e6edf7}
body.pwa501-workspace #pwa5 .pwa5-publication-actions button.pwa5-save-draft{border:1px solid #a8c7fa!important;background:#fff!important;color:#174ea6!important}
body.pwa501-workspace #pwa5 .pwa5-publication-actions button.pwa5-save-draft:hover:not(:disabled){background:#e8f0fe!important}
body.pwa501-workspace #pwa5 .pwa5-publication-actions a{border-color:transparent!important;background:none!important;color:#185abc!important}
body.pwa501-workspace #pwa5 :is(.pwa5-form-actions button,.pwa5-form-actions a,.pwa5-field input,.pwa5-field select,.pwa5-field textarea):focus-visible{outline:2px solid var(--pwa-action-blue);outline-offset:2px}
@media(max-width:540px){body.pwa501-workspace #pwa5 .pwa5-publication-actions button:first-child{flex-basis:100%}body.pwa501-workspace #pwa5 .pwa5-publication-actions :is(button,a){font-size:14px!important;text-align:center}}
@media(prefers-reduced-motion:no-preference){body.pwa501-workspace #pwa5 :is(.pwa5-form-actions button,.pwa5-button,.pwa5-publication-actions a){transition:background-color .18s,border-color .18s,box-shadow .18s}}
body.pwa501-workspace #pwa5 .pwa5957-category-picker{background:#f5f8ff!important;border-color:#d2e3fc!important;box-shadow:none!important;padding:13px!important}
body.pwa501-workspace #pwa5 .pwa5957-category-picker [hidden]{display:none!important}
body.pwa501-workspace #pwa5 [data-category-status]{margin:0 0 9px;color:#174ea6;font-size:14px;line-height:1.4;font-weight:750}
body.pwa501-workspace #pwa5 [data-category-suggestions]{display:grid;gap:6px}
body.pwa501-workspace #pwa5 [data-category-suggestions] button,body.pwa501-workspace #pwa5 .pwa-category-manual-toggle{min-height:44px;max-width:100%;padding:7px 10px;border:1px solid #a8c7fa!important;border-radius:8px!important;background:#fff!important;color:#174ea6!important;text-align:left;text-transform:none;white-space:normal;font-size:13px;font-weight:700}
body.pwa501-workspace #pwa5 [data-category-suggestions] button:hover,body.pwa501-workspace #pwa5 .pwa-category-manual-toggle:hover{background:#e8f0fe!important}
body.pwa501-workspace #pwa5 .pwa-category-manual-toggle{margin:8px 0}
body.pwa501-workspace #pwa5 .pwa5957-category-picker button:focus-visible{outline:2px solid #1967d2;outline-offset:2px}
/* Suggestion cards: hierarchy, clear affordance, compact mobile layout. */
body.pwa501-workspace #pwa5 .pwa5957-category-picker{border:1px solid #dbe5f3!important;border-radius:16px!important;background:#fff!important;padding:16px!important;box-shadow:0 5px 18px rgba(25,55,95,.06)!important}
body.pwa501-workspace #pwa5 [data-category-suggestions]{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px}
body.pwa501-workspace #pwa5 [data-category-suggestions] .pwa5957-suggestion-card{display:flex!important;flex-direction:column;align-items:flex-start;gap:5px;position:relative;min-height:100px;padding:14px 16px!important;border:1px solid #dbe5f3!important;border-radius:13px!important;background:#f9fbff!important;color:#202124!important;text-align:left;box-shadow:0 2px 6px #142b4909;cursor:pointer;line-height:1.35;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s}
body.pwa501-workspace #pwa5 [data-category-suggestions] .pwa5957-suggestion-card:hover{background:#eff5ff!important;border-color:#4285f4!important;transform:translateY(-1px);box-shadow:0 6px 16px #142b4915}
body.pwa501-workspace #pwa5 .pwa5957-suggestion-heading{font-size:15px;font-weight:800;color:#172b4d}
body.pwa501-workspace #pwa5 .pwa5957-suggestion-path{font-size:12px;color:#66768d;font-weight:500;overflow-wrap:anywhere}
body.pwa501-workspace #pwa5 .pwa5957-suggestion-action{margin-top:auto;font-size:12px;color:#1967d2;font-weight:800}
body.pwa501-workspace #pwa5 .pwa5957-suggestion-action:before{content:'✓';display:inline-grid;place-items:center;width:19px;height:19px;margin-right:7px;border-radius:50%;background:#e8f0fe;color:#1967d2}
body.pwa501-workspace #pwa5 [data-category-status]{padding:9px 11px;border-radius:9px;background:#eef5ff;color:#174ea6!important}
body.pwa501-workspace #pwa5 .pwa-category-manual-toggle{margin-top:12px;border-style:dashed!important}
@media(max-width:540px){body.pwa501-workspace #pwa5 [data-category-suggestions]{grid-template-columns:1fr}body.pwa501-workspace #pwa5 [data-category-suggestions] .pwa5957-suggestion-card{min-height:80px;padding:12px!important}body.pwa501-workspace #pwa5 .pwa5957-category-picker{padding:12px!important}}
@media(prefers-reduced-motion:reduce){body.pwa501-workspace #pwa5 [data-category-suggestions] .pwa5957-suggestion-card{transition:none!important;transform:none!important}}

