/* Official palette and typography, approved by Federica 18/11/2026. */
:root{--opsera-lampone:#DB1C4B;--opsera-petrolio:#3F7771;--opsera-grafite:#343136;--opsera-bianco:#FFFFFF;--opsera-malva:#8B7896;--opsera-ardesia:#6C8695;--opsera-argilla:#B88182}
html,body,.device,.screen,dialog,input,textarea,select{font-family:"Source Sans 3",sans-serif!important;font-weight:400}
:is(h1,h2,h3,h4,h5,h6,#sheet-title,.section-title,.section-label,.list-overline,.ws-kicker){font-family:Manrope,sans-serif!important;font-weight:700!important}
button,.primary,.secondary,.text-button,.ws-link,.sidebar-main-link,.sidebar-group>summary{font-family:Manrope,sans-serif!important;font-weight:500!important}
:is(.quick-grid,.home-discovery,.home-shortcuts,.reference-entity-links,.ws-link-list,.flow-grid,.tool-grid,.personal-quick-grid) :is(strong,h2,h3),.ws-link strong,.tool-tile strong{font-family:Manrope,sans-serif!important;font-weight:500!important}
p,textarea,input,select,.helper,.ws-meta,.task-description,.note-body,.message-thread,.ops-message-bubble>p{font-family:"Source Sans 3",sans-serif!important;font-weight:400!important}
strong,b,label{font-weight:500}
/* Text on light accents remains graphite. */
.device :is(.business-badge,.pro-badge,.ws-pill,.tiny),#sheet :is(.business-badge,.pro-badge){color:#343136!important}
.device .primary,#sheet .primary{background:#DB1C4B!important;color:#FFFFFF!important;border-color:#DB1C4B!important}
.device .primary:hover,#sheet .primary:hover{background:#DB1C4B!important;box-shadow:inset 0 0 0 999px #34313614!important}
.device .primary:active,#sheet .primary:active{background:#DB1C4B!important;box-shadow:inset 0 0 0 999px #34313626!important}
.ws-page[data-ws-space=memory] .ws-scope-tabs button[aria-current=page]{background:#8B7896!important;color:#343136!important}

/* Neutral page surfaces in every section, not only Home. */
html,html body,html body .workbench,html body .workbench .device,html body .workbench .device .demo-bar,html body .workbench .device #screen,html body .workbench .device #screen>.reference-header,html body .workbench .device #screen>main{background:#FFFFFF!important;background-image:none!important}
.device #screen :is(.tm-my-project-content,.tm-my-project-content .tm-project){background:#FFFFFF!important;background-image:none!important}

/* Profile and Notifications share one top anchor and one row system. */
dialog#sheet.audit-panel.account-panel{--account-top:max(16px,env(safe-area-inset-top),min(4dvh,32px));position:fixed!important;inset:var(--account-top) 0 auto!important;margin:0 auto!important;transform:none!important;translate:none!important;width:min(540px,calc(100vw - 24px))!important;height:auto!important;max-height:calc(100dvh - var(--account-top) - 16px)!important;padding:20px!important;border-radius:16px!important;overflow-y:auto!important}
dialog#sheet.audit-panel.account-panel .sheet-head{display:flex!important;align-items:center!important;gap:12px!important;padding:0 0 14px!important;margin:0 0 12px!important;border-bottom:1px solid #34313621!important}
dialog#sheet.audit-panel.account-panel .sheet-head #sheet-title{font-family:Manrope,sans-serif!important;font-weight:700!important;font-size:23px!important;line-height:1.25!important;margin:0!important}
dialog#sheet.audit-panel.account-panel .sheet-head button#close-sheet{position:static!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:40px!important;min-height:40px!important;margin:-4px -5px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#3F7771!important}
dialog#sheet.audit-panel.account-panel #sheet-body :is(.profile-menu-row,.notification-category-button){box-sizing:border-box!important;display:grid!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:74px!important;padding:14px 10px!important;margin:0!important;border:0!important;border-bottom:1px solid #34313621!important;border-radius:0 0 8px 8px!important;background:#FFFFFF!important;text-align:left!important}
dialog#sheet.audit-panel.account-panel #sheet-body .profile-menu-row{grid-template-columns:26px minmax(0,1fr) 20px!important}
dialog#sheet.audit-panel.account-panel #sheet-body .notification-category-button{grid-template-columns:26px minmax(0,1fr) 24px 20px!important}
dialog#sheet.audit-panel.account-panel #sheet-body :is(.profile-menu-row,.notification-category-button) strong{font-family:Manrope,sans-serif!important;font-weight:500!important;font-size:17px!important;line-height:1.3!important;color:#343136!important}
dialog#sheet.audit-panel.account-panel #sheet-body :is(.profile-menu-row,.notification-category-button) small{display:block!important;margin:3px 0 0!important;font-family:"Source Sans 3",sans-serif!important;font-weight:400!important;font-size:13px!important;line-height:1.35!important;color:#343136C7!important}
dialog#sheet.audit-panel.account-panel #sheet-body :is(.notification-lab,.tm-role-lab){margin:16px 0 8px!important;padding:10px!important;border:1px solid #34313621!important;border-radius:8px!important;background:#34313609!important}
dialog#sheet.audit-panel.account-panel #sheet-body :is(.notification-lab,.tm-role-lab)>summary{display:list-item!important;list-style:disclosure-closed inside!important;min-height:28px!important;padding:0!important;font-family:Manrope,sans-serif!important;font-weight:500!important;font-size:15px!important;line-height:1.3!important;color:#3F7771!important}
dialog#sheet.audit-panel.account-panel #sheet-body :is(.notification-lab,.tm-role-lab)[open]>summary{list-style-type:disclosure-open!important}
dialog#sheet.audit-panel.account-panel #sheet-body :is(.notification-lab,.tm-role-lab)>summary::-webkit-details-marker{display:inline!important}


/* Restore the original bespoke artwork: visible header, calm reading surface. */
#home-page #vanishing-list>button.vanishing-card{position:relative!important;isolation:isolate!important;overflow:hidden!important;padding:104px 12px 12px!important;min-height:268px!important;background:#FFFFFF!important;background-image:none!important;border:1px solid #B8818266!important;border-radius:13px!important;gap:10px!important}
#home-page #vanishing-list>button.vanishing-card.domanda{border-color:#6C869566!important}
#home-page #vanishing-list>button.vanishing-card::before{content:""!important;display:block!important;position:absolute!important;inset:0 0 auto!important;height:90px!important;width:100%!important;border-radius:0!important;opacity:1!important;filter:none!important;transform:none!important;z-index:0!important;background:url("assets/home-refresh/intrecci-pattern-soft.png?v=d7c528f9ef") center/cover!important}
#home-page #vanishing-list>button.vanishing-card.domanda::before{background-image:url("assets/home-refresh/domande-pattern-soft.png?v=b53bfdaca8")!important}
#home-page #vanishing-list>button.vanishing-card .vanishing-type{position:absolute!important;top:51px!important;left:12px!important;z-index:1!important;background:#FFFFFFE6!important;border-radius:5px!important;padding:5px 7px!important;color:#343136!important;letter-spacing:.6px!important}
#home-page #vanishing-list>button.vanishing-card .vanishing-preview{position:relative!important;background:transparent!important;padding:0!important;margin:0!important;color:#343136!important}
#home-page #vanishing-list>button.vanishing-card small{background:transparent!important;color:#343136!important}
#home-page #vanishing-list>button.vanishing-card::after{top:12px!important;right:12px!important;z-index:2!important;background:#FFFFFFE6!important;border-radius:50%!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;color:#3F7771!important}
.device #weaves-page.weave-clean-page .weave-entry{background:#FFFFFF!important}
.device #weaves-page.weave-clean-page .weave-entry-top{min-height:88px!important;box-sizing:border-box!important;background:url("assets/home-refresh/intrecci-pattern-soft.png?v=d7c528f9ef") center/cover!important;padding:12px!important;align-items:flex-end!important}
.device #weaves-page.weave-clean-page .domanda .weave-entry-top{background-image:url("assets/home-refresh/domande-pattern-soft.png?v=b53bfdaca8")!important}
.device #weaves-page.weave-clean-page .weave-entry-top :is(strong,span){background:#FFFFFFE6!important;color:#343136!important;border-radius:5px!important;padding:5px 7px!important}
#sheet #popup-deck-host :is(.idea,.question) .weave-card-top{min-height:98px!important;box-sizing:border-box!important;background-blend-mode:normal!important;background-color:#FFFFFF!important;background-image:url("assets/home-refresh/intrecci-pattern-soft.png?v=d7c528f9ef")!important;background-position:center!important;background-size:cover!important;color:#343136!important}
#sheet #popup-deck-host .question .weave-card-top{background-image:url("assets/home-refresh/domande-pattern-soft.png?v=b53bfdaca8")!important}
#sheet #popup-deck-host :is(.idea,.question) .weave-card-top :is(span,small){background:#FFFFFFE6!important;color:#343136!important;border-radius:5px!important}

/* Official malva replaces ochre; softer selection preserves small-label contrast. */
.ws-page[data-ws-space=memory] .ws-scope-tabs button[aria-current=page]{background:rgba(219,28,75,0.5)!important;color:#343136!important}

/* Seven Home access buttons: one opacity, type scale and icon alignment. */
@layer opsera-home-access{
 #home-page .home-access-group{--home-tile-surface:#343136}
 #home-page .home-access-group.team{--home-tile-surface:#3F7771}
 #home-page .home-access-group.memory{--home-tile-surface:#8B7896}
 #home-page .home-access-group .home-access-tile{display:grid!important;grid-template-columns:18px minmax(0,1fr) 7px!important;grid-template-rows:1fr!important;align-items:center!important;align-content:center!important;justify-content:stretch!important;gap:12px!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:72px!important;height:72px!important;padding:11px 9px!important;margin:0!important;border:1px solid var(--home-tile-border,var(--home-tile-surface))!important;border-radius:12px!important;background:var(--home-tile-surface)!important;background-image:none!important;opacity:1!important;color:var(--home-tile-ink,#FFFFFF)!important;text-align:left!important;font-family:Manrope,sans-serif!important;font-weight:500!important;font-size:17px!important;line-height:1.2!important;letter-spacing:-.25px!important;box-shadow:none!important}
 #home-page .home-access-group .home-access-tile>span:not(.home-access-chevron):not(.home-memory-description){display:block!important;grid-column:2!important;grid-row:1!important;align-self:center!important;min-width:0!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;flex:initial!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;font-family:Manrope,sans-serif!important;font-weight:500!important;font-size:17px!important;line-height:1.2!important;letter-spacing:-.25px!important;color:var(--home-tile-ink,#FFFFFF)!important;text-align:left!important}
 #home-page .home-access-group .home-access-tile>:is(img,svg){grid-column:1!important;grid-row:1!important;align-self:center!important;width:18px!important;height:24px!important;min-width:18px!important;max-width:18px!important;margin:0!important;color:var(--home-tile-ink,#FFFFFF)!important}
 #home-page .home-access-group .home-access-tile>img{filter:brightness(0) invert(1)!important}
 #home-page .home-access-group .home-access-tile>.home-access-chevron{display:flex!important;align-items:center!important;justify-content:center!important;grid-column:3!important;grid-row:1!important;align-self:center!important;width:7px!important;max-width:7px!important;height:24px!important;min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;color:var(--home-tile-ink,#FFFFFF)!important;font-family:"Source Sans 3",sans-serif!important;font-weight:400!important;font-size:16px!important;line-height:1!important}
 #home-page .home-access-group .home-access-tile>.home-memory-description{display:none!important}
 #home-page .home-access-group .home-access-tile:hover{background:var(--home-tile-surface)!important;box-shadow:inset 0 0 0 999px #FFFFFF0D!important}
 #home-page .home-access-group .home-access-tile:active{box-shadow:inset 0 0 0 999px #34313614!important}
 @media(max-width:360px){#home-page .home-access-group .home-access-tile{grid-template-columns:16px minmax(0,1fr) 6px!important;gap:9px!important;font-size:16px!important}#home-page .home-access-group .home-access-tile>span:not(.home-access-chevron):not(.home-memory-description){font-size:16px!important}#home-page .home-access-group .home-access-tile>:is(img,svg){width:16px!important;min-width:16px!important;max-width:16px!important}}
 @media(max-width:352px){#home-page .home-access-grid{grid-template-columns:minmax(0,1fr)!important}#home-page .home-access-group.memory .home-memory-acquire{grid-column:auto!important}}
}

/* Original illustrations at full opacity: no color wash, blend or softening. */
@layer opsera-art-opacity{
 #home-page #vanishing-list>button.vanishing-card{opacity:1!important;filter:none!important}
 #home-page #vanishing-list>button.vanishing-card::before{opacity:1!important;filter:none!important;background-image:url("assets/home-refresh/intrecci-pattern-soft.png?v=d7c528f9ef")!important;background-blend-mode:normal!important;mix-blend-mode:normal!important}
 #home-page #vanishing-list>button.vanishing-card.domanda::before{background-image:url("assets/home-refresh/domande-pattern-soft.png?v=b53bfdaca8")!important}
 .device #weaves-page.weave-clean-page .weave-entry-top,#sheet #popup-deck-host :is(.idea,.question) .weave-card-top{opacity:1!important;filter:none!important;background-image:url("assets/home-refresh/intrecci-pattern-soft.png?v=d7c528f9ef")!important;background-blend-mode:normal!important;mix-blend-mode:normal!important}
 .device #weaves-page.weave-clean-page .domanda .weave-entry-top,#sheet #popup-deck-host .question .weave-card-top{background-image:url("assets/home-refresh/domande-pattern-soft.png?v=b53bfdaca8")!important}
 #home-page #vanishing-list>button.vanishing-card .vanishing-type,.device #weaves-page.weave-clean-page .weave-entry-top :is(strong,span),#sheet #popup-deck-host :is(.idea,.question) .weave-card-top :is(span,small){background:#FFFFFF!important;opacity:1!important}
 #home-page #vanishing-list>button.vanishing-card::after{content:"↗"!important;opacity:1!important;background:#FFFFFF!important;color:#3F7771!important;filter:none!important;font-family:"Source Sans 3",sans-serif!important;font-size:20px!important;font-weight:500!important;line-height:1!important}
}

/* Approved four shortcuts, plus the coordinator meeting shortcut. */
#home-page .home-access-group[hidden],#home-page .home-access-retired[hidden]{display:none!important}
#home-page .home-access-coordination .home-access-grid{grid-template-columns:minmax(0,1fr)!important}

/* Team / entity memory search: raspberry label and outline. */
@layer opsera-memory-search-action{
 #organization-page.ws-page button.tm-memory-search-open{color:#DB1C4B!important;border-color:#DB1C4B!important;background:#FFFFFF!important}
 #organization-page.ws-page button.tm-memory-search-open>span{color:#DB1C4B!important}
 #organization-page.ws-page button.tm-memory-search-open:focus-visible{outline:2px solid #DB1C4B!important;outline-offset:3px!important}
}

/* Identical memory action geometry in personal, entity and team scopes. */
.device #organization-page.ws-page .tm-memory-top{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:20px 48px!important;align-items:stretch!important;gap:8px!important;width:100%!important;min-width:0!important;margin:0 0 14px!important}
.device #organization-page.ws-page .tm-memory-top>span{display:block!important;grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;height:20px!important;margin:0!important;padding:0!important;font-family:"Source Sans 3",sans-serif!important;font-size:13px!important;font-weight:400!important;line-height:20px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.device #organization-page.ws-page .tm-memory-top>button#tm-memory-action{display:flex!important;align-items:center!important;justify-content:center!important;grid-column:1!important;grid-row:2!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;padding:10px 14px!important;border:1px solid #DB1C4B!important;border-radius:8px!important;background:#DB1C4B!important;color:#FFFFFF!important;font-family:Manrope,sans-serif!important;font-size:16px!important;font-weight:500!important;line-height:1.25!important;text-align:center!important;white-space:nowrap!important}

/* Team and project are chosen inside the acquisition popup. */
dialog#sheet.audit-panel #tm-memory-add-form .tm-memory-destination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
dialog#sheet.audit-panel #tm-memory-add-form .tm-memory-destination label{display:block;margin:0!important;font-family:"Source Sans 3",sans-serif!important;font-size:15px!important;font-weight:500!important;color:#343136!important}
dialog#sheet.audit-panel #tm-memory-add-form .tm-memory-destination select{display:block;width:100%;margin-top:7px}
@media(max-width:360px){dialog#sheet.audit-panel #tm-memory-add-form .tm-memory-destination{grid-template-columns:minmax(0,1fr)}}

/* Memory overline uses the requested raspberry accent. */
html body .device #organization-page.ws-page[data-ws-space=memory] .org-page-header>.section-label{color:#DB1C4B!important}

/* Current composer: native keyboard dictation, stronger date marker and proposal styling. */
@layer opsera-current-composer{
 body button:is(#voice,[id*="dictation"],[id*="dictate"],[id$="-mic"],[data-dictate],[data-tool-dictate],.tm-memory-mic){display:none!important}
 #sheet .home-calendar-days button[aria-current=date]{background:#3F77712B!important;border-color:#3F7771!important;color:#343136!important}
 #sheet .home-calendar-days button[aria-pressed=true]{background:#3F7771!important;border-color:#3F7771!important;color:#FFFFFF!important}
 #tasks-page #task-proposals{background:#FFFFFF!important;border:1px solid #6C869540!important;border-left:3px solid #6C8695!important;border-radius:12px!important;padding:14px!important}
 #tasks-page #task-proposals>h2{font-family:Manrope,sans-serif!important;font-size:18px!important;font-weight:700!important;line-height:1.3!important;color:#343136!important;margin:0 0 8px!important}
 #tasks-page #task-proposals :is(p,small){font-family:"Source Sans 3",sans-serif!important;font-size:14px!important;font-weight:400!important;line-height:1.4!important;color:#343136!important}
 #tasks-page #task-proposals .task-proposal-row strong{font-family:Manrope,sans-serif!important;font-size:16px!important;font-weight:500!important;color:#343136!important}
}

/* Text balloons use italic copy; titles, labels and buttons keep their own style. */
@layer opsera-balloon-task-weave{
 :is(.device,dialog) textarea,:is(.device,dialog) textarea::placeholder,:is(.device,dialog) [contenteditable=true]{font-family:"Source Sans 3",sans-serif!important;font-style:italic!important}
 :is(.device,dialog) :is(.original-note,.task-description,.task-timeline p,.ops-message-bubble>p,.brain-message>p,.brain-result>p,.question-response>p,.weave-chat-message>p,.weave-swipe-zone>p,.tool-chat-message>p,.tool-source p,.tool-assistant p,.home-work-subtitle){font-family:"Source Sans 3",sans-serif!important;font-style:italic!important}
 #sheet .clarity-task-meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px 10px!important;margin:0 0 16px!important}
 #sheet .clarity-task-meta #edit-task-title{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:3px 0!important;margin:0!important;font:500 13px/1.3 Manrope,sans-serif!important;color:#3F7771!important;background:transparent!important;border:0!important;white-space:nowrap!important}
 #sheet #edit-task-title-form{margin:0 0 12px!important;padding:12px!important;border:1px solid #3F777140!important;border-radius:8px!important;background:#FFFFFF!important}
 #sheet #edit-task-title-form input{display:block!important;width:100%!important;box-sizing:border-box!important;margin-top:7px!important}
 #sheet .task-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
 #sheet .task-actions.daily-two-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #sheet .task-actions>button{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:46px!important;padding:10px 5px!important;margin:0!important;text-align:center!important;font-family:Manrope,sans-serif!important;font-size:15px!important;font-weight:500!important;line-height:1.25!important;white-space:normal!important}
 dialog#sheet:has(#popup-deck-host){--weave-panel-top:max(16px,env(safe-area-inset-top),min(4dvh,32px));position:fixed!important;inset:var(--weave-panel-top) 0 auto!important;margin:0 auto!important;transform:none!important;translate:none!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - var(--weave-panel-top) - 16px)!important;overflow-y:auto!important}
 :is(.weave-first-swipe-guide,.weave-gesture-hint){display:none!important}
}
