@import url('/brand/tokens-v1.css');
/*
 * Palma interface system
 * One semantic component must look the same on every route. Page styles may
 * choose content and tone, but must not invent local control sizes.
 */
:root{
  --palma-font-body:var(--palma-type-text);
  --palma-font-heading:var(--palma-type-text);
  --font-heading:var(--palma-font-heading);
  --palma-ink:#213b30;
  --palma-ink-soft:#52675a;
  --palma-green:#176649;
  --palma-green-deep:#123d2d;
  --palma-line:#d5e2db;
  --palma-page:#f5f8f6;
  --palma-surface:#fff;
  --palma-surface-soft:#f0f5f2;
  --palma-yellow:#ffdf47;
  --palma-mint:#eaf5ef;
  --palma-blue:#eef4fb;
  --palma-sand:#faf3e7;
  --palma-purple:#f3eef8;
  --palma-rose:#fbf0f2;
  --palma-danger:#95535b;
  --palma-control-height:44px;
  --palma-control-font:12.6px;
  --palma-field-font:14px;
  --palma-body-font:14px;
  --palma-contact-height:48px;
  --palma-contact-font:var(--palma-body-font);
  --palma-title-font:24px;
  --palma-radius-control:11px;
  --palma-radius-card:18px;
  --palma-space-1:4px;
  --palma-space-2:8px;
  --palma-space-3:12px;
  --palma-space-4:16px;
  --palma-space-5:24px;
  --palma-space-6:32px;
  --palma-content:720px;
  --palma-sidebar-width:208px;
  --palma-header-height:64px;
  --palma-chrome-bottom:112px;
  --palma-z-header:30;
  --palma-z-filters:20;
  --palma-shadow-soft:0 6px 24px #173d2b0a;
}

*,*::before,*::after{box-sizing:border-box}
body{color:var(--palma-ink);font-family:var(--palma-font-body)}
body :where(a){text-decoration:none}
body :where(a:hover){text-decoration:none}
body :where(button,input,select,textarea){font-family:var(--palma-font-body)}
body :where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #237355;outline-offset:3px}

/* Page title: same three-column geometry on catalogs, forms and account pages. */
.palma-page-head{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  gap:8px;
  min-height:56px;
  margin:0 0 12px;
}
.palma-page-head h1{
  grid-column:2;
  margin:0!important;
  color:var(--palma-ink)!important;
  font:500 var(--palma-title-font)/1.25 var(--palma-font-heading)!important;
  letter-spacing:0!important;
  text-align:center;
  overflow-wrap:anywhere;
}
.palma-page-head__slot{display:block;width:44px;height:44px}
.palma-page-head__slot:last-child{grid-column:3}
.palma-page-back,.palma-page-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:0;
  border-radius:11px;
  background:transparent;
  color:var(--palma-green);
  font:500 13px/1.3 var(--palma-font-body);
}
.palma-page-back{grid-column:1;grid-row:1}
.palma-page-action{grid-column:3;grid-row:1}
.palma-page-back svg,.palma-page-action svg{width:19px;height:19px}
.palma-page-back svg{transform:rotate(180deg)}
.palma-page-intro{margin:0 2px 16px;color:var(--palma-ink-soft);font:400 var(--palma-body-font)/1.55 var(--palma-font-body)}

/* Tone is an optional grouping aid. It never communicates status. */
.palma-tone-mint,[data-palma-tone="mint"]{--palma-tone-bg:var(--palma-mint);--palma-tone-ink:#267053}
.palma-tone-blue,[data-palma-tone="blue"]{--palma-tone-bg:var(--palma-blue);--palma-tone-ink:#356a95}
.palma-tone-sand,[data-palma-tone="sand"]{--palma-tone-bg:var(--palma-sand);--palma-tone-ink:#8f682c}
.palma-tone-purple,[data-palma-tone="purple"]{--palma-tone-bg:var(--palma-purple);--palma-tone-ink:#7a5998}
.palma-tone-rose,[data-palma-tone="rose"]{--palma-tone-bg:var(--palma-rose);--palma-tone-ink:#ad5365}
.palma-tone-neutral,[data-palma-tone="neutral"]{--palma-tone-bg:var(--palma-surface-soft);--palma-tone-ink:var(--palma-green)}

.palma-section,.palma-form-section{
  min-width:0;
  margin:0;
  padding:16px;
  border:0;
  border-radius:var(--palma-radius-card);
  background:var(--palma-tone-bg,var(--palma-surface));
}
.palma-section+.palma-section,.palma-form-section+.palma-form-section{margin-top:12px}
.palma-section-head{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px}
.palma-section-icon{
  display:grid;
  place-items:center;
  flex:none;
  width:30px;
  height:30px;
  border-radius:9px;
  background:#ffffffb8;
  color:var(--palma-tone-ink,var(--palma-green));
}
.palma-section-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65}
.palma-section-head h2,.palma-section>h2,.palma-form-section>legend{
  margin:0;
  padding:0;
  color:var(--palma-ink);
  font:500 16px/1.35 var(--palma-font-body);
}
.palma-section-head p{margin:4px 0 0;color:var(--palma-ink-soft);font:400 12.5px/1.45 var(--palma-font-body)}

/* One family of buttons and filter chips. */
.palma-button,.editor-button,.editor-main .editor-button,.ui-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:var(--palma-control-height);
  padding:9px 13px;
  border:1px solid var(--palma-line);
  border-radius:var(--palma-radius-control);
  background:var(--palma-surface-soft);
  color:var(--palma-green-deep);
  font:500 var(--palma-control-font)/1.35 var(--palma-font-body);
  text-align:center;
  text-decoration:none;
  box-shadow:none;
}
.palma-button--primary,.editor-button.primary,.editor-main .editor-button.primary,.ui-button.primary{
  border-color:var(--palma-yellow);
  background:var(--palma-yellow);
  color:var(--palma-ink);
}
.palma-button--quiet{border-color:transparent;background:transparent;color:var(--palma-green)}
.collection-control{
  display:inline-grid;
  place-items:center;
  position:relative;
  flex:none;
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:0;
  border-radius:11px;
  background:transparent;
  --collection-surface:#fff;
  --collection-border:#d5e2db;
  color:#52675a;
  box-shadow:none;
  cursor:pointer;
}
.collection-control::before{content:"";position:absolute;inset:5px;border:1px solid var(--collection-border);border-radius:10px;background:var(--collection-surface);transition:background-color .16s ease,border-color .16s ease}
.collection-control svg{position:relative;z-index:1;width:16px;height:16px;fill:none;stroke:currentColor}
.collection-control:hover{color:var(--palma-green)}
.collection-control:hover::before{border-color:#b8d3c4;background:var(--palma-mint)}
.collection-control[aria-pressed="true"]{--collection-border:#8bb7a1;--collection-surface:var(--palma-mint);color:var(--palma-green)}
.collection-control--favorite[aria-pressed="true"] svg{fill:currentColor}
.collection-control--hidden[aria-pressed="true"]{--collection-border:#d5b57d;--collection-surface:var(--palma-sand);color:#7a5a24}
.collection-control:focus-visible{outline:2px solid var(--palma-green);outline-offset:0}
.collection-control:disabled{opacity:.55;cursor:wait}
.collection-toast{position:fixed;z-index:1000;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 24px);min-height:44px;padding:8px 10px 8px 14px;border-radius:12px;background:#153d2f;color:#fff;box-shadow:0 10px 30px #0d2a2052;transform:translateX(-50%);font:400 12.6px/1.4 var(--palma-font-body)}
.collection-toast button{min-height:36px;padding:6px 9px;border:0;border-radius:9px;background:#ffffff1f;color:#fff;font:500 12.6px/1.3 var(--palma-font-body)}
.collection-confirm{width:calc(100% - 32px);max-width:380px;padding:20px;border:0;border-radius:18px;background:#fff;color:var(--palma-ink);font:400 14px/1.5 var(--palma-font-body);box-shadow:0 20px 60px #10261c40}
.collection-confirm::backdrop{background:#11291e73}.collection-confirm h2{margin:0 0 8px;font:500 18px/1.35 var(--palma-font-heading)}.collection-confirm p{margin:0 0 18px;color:var(--palma-ink-soft)}.collection-confirm>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.collection-confirm button{min-height:44px;padding:8px 10px;border:1px solid #c5d6cc;border-radius:10px;background:#f4f8f5;color:var(--palma-green);font:500 12.6px/1.35 var(--palma-font-body)}.collection-confirm [data-confirm]{border-color:var(--palma-green);background:var(--palma-green);color:#fff}.collection-confirm button:focus-visible{outline:2px solid var(--palma-green);outline-offset:2px}
.article-pagebar .palma-page-back svg,.article-pagebar .palma-page-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.article-pagebar .palma-page-back svg{transform:none}
.palma-filter-rail,.topic-filters,.agent-task-rail,.material-types,.material-filter{
  display:flex;
  gap:8px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  padding:2px 2px 8px;
}
.palma-filter-rail::-webkit-scrollbar,.topic-filters::-webkit-scrollbar,.agent-task-rail::-webkit-scrollbar,.material-types::-webkit-scrollbar,.material-filter::-webkit-scrollbar{display:none}
.palma-filter,.topic-filters button,.agent-task-rail button,.material-types button,.material-filter button{
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:var(--palma-control-height);
  padding:8px 12px;
  border:1px solid transparent;
  border-radius:var(--palma-radius-control);
  background:var(--palma-surface-soft);
  color:#355343;
  font:400 var(--palma-control-font)/1.3 var(--palma-font-body);
  white-space:nowrap;
}
.palma-filter[aria-pressed="true"],.topic-filters button[aria-pressed="true"],.agent-task-rail button[aria-pressed="true"],.material-types button[aria-pressed="true"],.material-filter button[aria-pressed="true"]{
  border-color:var(--palma-green);
  background:var(--palma-green);
  color:#fff;
  font-weight:500;
}

/* Journal topic chips retain their approved colour coding. Selection is an
   outline, not a second button style. Publication cards keep their own tone. */
.publications-page .topic-filters button{--palma-topic-bg:var(--palma-blue);border:1px solid transparent;background:var(--palma-topic-bg);color:var(--palma-ink)}
.publications-page .topic-filters button[data-topic="all"],.publications-page .topic-filters button[data-topic="purchase"],.publications-page .topic-filters button[data-topic="comfort"]{--palma-topic-bg:var(--palma-mint)}
.publications-page .topic-filters button[data-topic="market"],.publications-page .topic-filters button[data-topic="building"]{--palma-topic-bg:var(--palma-sand)}
.publications-page .topic-filters button[data-topic="analytics"]{--palma-topic-bg:var(--palma-purple)}
.publications-page .topic-filters button[data-topic="people"]{--palma-topic-bg:var(--palma-rose)}
.publications-page .topic-filters button[aria-pressed="true"]{border-color:var(--palma-green);background:var(--palma-topic-bg);color:var(--palma-green-deep);box-shadow:inset 0 0 0 1px var(--palma-green);font-weight:500}
.publications-page .topic-filters button[aria-pressed="true"] .topic-symbol{background:transparent;color:inherit}

/* Fields: labels, text and geometry are fixed globally. */
.palma-field,.registration-form .editor-field{display:grid;gap:5px;margin:0;min-width:0;color:#355343;font:400 13px/1.4 var(--palma-font-body)}
.palma-field :is(input,select,textarea),.registration-form .editor-field :is(input,select,textarea),.agent-filter-fields select{
  width:100%;
  min-width:0;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #c6d5cd;
  border-radius:10px;
  background:#fff;
  color:var(--palma-ink);
  font:400 var(--palma-field-font)/1.45 var(--palma-font-body);
  box-shadow:none;
}
.palma-field textarea,.registration-form .editor-field textarea{min-height:108px;resize:vertical}
.palma-hint{margin:0;color:var(--palma-ink-soft);font:400 12.5px/1.45 var(--palma-font-body)}
.palma-required-note{margin:0 2px 10px;color:#7a5542;font:400 12px/1.45 var(--palma-font-body)}

/* Linked cards and vertical menus are themselves the control. */
.palma-card-link{position:relative;display:block;color:var(--palma-ink)!important;text-decoration:none}
.palma-card-link::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none}
.palma-list{display:grid;gap:8px;margin:12px 0}
.palma-list-row{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 18px;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:12px 14px;
  border:1px solid transparent;
  border-radius:14px;
  background:var(--palma-tone-bg,var(--palma-surface-soft));
  color:var(--palma-ink)!important;
}
.palma-list-row>svg{width:22px;height:22px;color:var(--palma-tone-ink,var(--palma-green))}
.palma-list-row strong{display:block;font:500 15px/1.35 var(--palma-font-body)}
.palma-list-row small{display:block;margin-top:3px;color:var(--palma-ink-soft);font:400 12px/1.4 var(--palma-font-body)}
.palma-list-row::after{content:'›';grid-column:3;grid-row:1 / span 2;color:#84948b;font:400 24px/1 var(--palma-font-body)}

.palma-empty,.account-empty,.editor-empty{
  padding:22px 16px;
  border:0;
  border-radius:var(--palma-radius-card);
  background:var(--palma-surface-soft);
  color:var(--palma-ink-soft);
  text-align:center;
}
.palma-empty h2,.account-empty h2,.editor-empty h2{margin:0 0 8px;color:var(--palma-ink);font:500 16px/1.4 var(--palma-font-body)}
.palma-empty p,.account-empty p,.editor-empty p{margin:0 0 12px;color:var(--palma-ink-soft);font:400 13px/1.5 var(--palma-font-body)}

/* Authentication and the first agent questionnaire. */
.auth-page{width:100%;max-width:620px;margin:0 auto;padding:16px 12px 32px!important}
.auth-page>.auth-lead{margin:0 2px 16px;font:400 var(--palma-body-font)/1.55 var(--palma-font-body)}
.registration-options{display:grid;gap:10px;margin:0 0 16px}
.registration-choice,.registration-role-card{
  overflow:hidden;
  border:0!important;
  border-radius:var(--palma-radius-card)!important;
  background:var(--palma-tone-bg,var(--palma-mint))!important;
}
.registration-options .registration-choice,.registration-options .registration-role-card>button{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:12px;
  width:100%;
  min-height:86px;
  padding:14px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--palma-ink)!important;
  text-align:left;
}
.registration-options strong{font:500 16px/1.35 var(--palma-font-body)!important}
.registration-options small{margin-top:4px!important;color:var(--palma-ink-soft)!important;font:400 12.5px/1.45 var(--palma-font-body)!important}
.registration-icon{width:42px;height:42px;border-radius:12px;background:#ffffffb8!important;color:var(--palma-tone-ink,var(--palma-green))!important}
.registration-role-info{min-height:44px!important;padding:8px 14px!important;border-top:1px solid #ffffffa8!important;background:#ffffff52!important;color:var(--palma-green)!important;font:500 12.6px/1.35 var(--palma-font-body)!important}
.registration-form{display:grid;gap:12px}
.registration-form .palma-form-section{display:grid;gap:12px}
.registration-form .editor-field>span{font:400 13px/1.4 var(--palma-font-body)}
.registration-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.registration-form .auth-photo-row{margin:0;gap:14px}
.registration-form .auth-photo-row strong{font:500 14px/1.4 var(--palma-font-body)}
.registration-form .auth-photo-row p{margin:4px 0 0;font:400 12px/1.4 var(--palma-font-body)}
.registration-form .ui-avatar-picker{width:76px;height:76px;border-radius:16px;background:#ffffffa8}
.registration-form .ui-avatar-picker #photo-preview>svg{width:32px;height:32px;margin:22px}
.registration-form .ui-avatar-camera{width:30px;height:30px;bottom:-3px;right:-3px;border-width:2px}
.registration-form .ui-avatar-camera svg{width:15px;height:15px}
.registration-form fieldset{min-width:0}
.registration-check-grid,.registration-form .ui-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.registration-form .profile-check,.registration-form .ui-choice{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  margin:0;
  padding:9px 10px;
  border:1px solid #ffffffc0;
  border-radius:10px;
  background:#ffffff9c;
  color:#355343;
  font:400 12.6px/1.35 var(--palma-font-body);
}
.registration-form .profile-check:has(input:checked),.registration-form .ui-choice:has(input:checked){border-color:#5d9276;background:#fff;color:#235b47}
.registration-form :is(.profile-check,.ui-choice) input{width:18px;height:18px;min-height:18px;flex:none;margin:0;padding:0;accent-color:var(--palma-green)}
.registration-area{border-top:1px solid #8f682c22}
.registration-area:first-of-type{border-top:0}
.registration-area>summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;color:var(--palma-ink);font:500 13px/1.4 var(--palma-font-body)}
.registration-area>summary::-webkit-details-marker{display:none}
.registration-area>summary span{margin-left:auto;color:#776039;font-size:12px}
.registration-area>summary::after{content:'›';font-size:20px;transform:rotate(90deg);color:#8f682c}
.registration-area[open]>summary::after{transform:rotate(-90deg)}
.registration-area .registration-check-grid{padding:4px 0 8px}
.registration-consents{margin:0!important;padding:0!important;border:0!important}
.registration-consents .editor-switch{display:flex;align-items:flex-start;gap:10px;min-height:44px;margin:0;padding:7px 0;font:400 12.6px/1.45 var(--palma-font-body)}
.registration-consents .editor-switch input{width:18px!important;height:18px!important;min-height:18px!important;flex:none;margin:2px 0 0!important;padding:0!important;accent-color:var(--palma-green)}
.registration-consents a{color:var(--palma-green);font-weight:500}
.editor-main .registration-consents a{display:inline;min-height:0;vertical-align:baseline}
.auth-feedback{border:1px solid var(--palma-green);border-radius:12px;padding:14px;background:var(--palma-mint,#eaf5ef);font-size:14px;line-height:1.5;min-width:0}
.auth-feedback p{margin:0 0 10px}.auth-feedback p:last-child{margin-bottom:0}
.auth-feedback-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.auth-feedback-actions .editor-button{max-width:100%;white-space:normal}
.registration-consents .editor-field-help{margin:8px 0 0;font-size:12px;line-height:1.45}
.auth-actions{display:grid;gap:8px;margin:4px 0 0!important}
.auth-actions>.editor-button{width:100%}
.auth-foot{margin:14px 0 0!important;font-size:12.6px!important}
.auth-foot .ui-link{min-height:44px;font-size:12.6px}
.auth-password button{font-size:12.6px!important}

/* Account home: one vertical menu, never a dashboard of unrelated tiles. */
.account-page{background:var(--palma-page)}
.account-page .account-heading{padding:6px 2px 14px;gap:12px}
.account-page .account-heading img,.account-page .account-initials{width:56px;height:56px;border-radius:16px;font-size:21px}
.account-page .account-heading h1{margin:2px 0!important;font:500 18px/1.3 var(--palma-font-heading)!important}
.account-page .account-heading p{font-size:12px;line-height:1.4}
.account-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:12px 0!important}
.account-tile{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 18px;
  grid-template-rows:auto auto;
  align-items:center!important;
  gap:2px 12px!important;
  min-height:70px!important;
  padding:12px 14px!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--palma-tone-bg,var(--palma-mint))!important;
  color:var(--palma-ink)!important;
}
.account-tile:nth-child(4n+1){--palma-tone-bg:var(--palma-mint);--palma-tone-ink:#267053}
.account-tile:nth-child(4n+2){--palma-tone-bg:var(--palma-blue);--palma-tone-ink:#356a95}
.account-tile:nth-child(4n+3){--palma-tone-bg:var(--palma-rose);--palma-tone-ink:#ad5365}
.account-tile:nth-child(4n+4){--palma-tone-bg:var(--palma-purple);--palma-tone-ink:#7a5998}
.account-tile svg{grid-column:1;grid-row:1 / span 2;width:22px!important;height:22px!important;margin:0!important;color:var(--palma-tone-ink)!important}
.account-tile strong{grid-column:2;grid-row:1;font:500 15px/1.35 var(--palma-font-body)!important}
.account-tile small{grid-column:2;grid-row:2;font:400 12px/1.4 var(--palma-font-body)!important;color:var(--palma-ink-soft)!important}
.account-tile::after{content:'›';grid-column:3;grid-row:1 / span 2;color:#87968e;font-size:24px;line-height:1}
.account-panel{padding:16px!important;border:0!important;border-radius:var(--palma-radius-card)!important;background:var(--palma-tone-bg,var(--palma-sand))!important;margin:12px 0!important}
.account-panel h2{font:500 16px/1.35 var(--palma-font-heading)!important;margin:0 0 12px!important}
.account-panel .ui-actions{gap:8px}
.account-panel .ui-actions>*{flex:1}

/* Compact content-management pages. */
.account-back{margin:0 0 8px!important}
.editor-main>.editor-back{min-height:44px;font-size:13px}
.material-controls{margin:0 0 12px!important}
.material-controls label{font-size:12px!important;gap:5px!important}
.material-card,.workflow-card,.compact-material{border:0!important;border-radius:var(--palma-radius-card)!important;background:var(--palma-mint)!important}
.message-card{border:0!important;border-radius:var(--palma-radius-card)!important;background:var(--palma-blue)!important}

/* Publication composer uses the same sections instead of a second form theme. */
.editor-page:not(.agents-page) .editor-main{width:100%;max-width:720px;margin:0 auto;padding:16px 12px 36px}
.editor-page #editor-fields{display:grid;gap:12px}
.editor-page #post-form .editor-section{margin:0;padding:16px;border:0;border-radius:var(--palma-radius-card)}
.editor-page #post-form .editor-section .editor-field{margin:0}
.editor-page #post-form .editor-section h2{margin:0 0 8px;font:500 16px/1.35 var(--palma-font-body)}
.editor-page #post-form .editor-field-help{margin:0 0 12px;color:var(--palma-ink-soft);font:400 12.5px/1.5 var(--palma-font-body)}
.editor-page #post-form .editor-field>span{margin:0 0 6px;font:500 13px/1.4 var(--palma-font-body)}
.editor-page #post-form :is(input:not([type=checkbox]):not([type=range]):not([type=file]),select,textarea){min-height:44px;border-color:#c6d5cd;border-radius:10px;padding:10px 12px;font:400 var(--palma-field-font)/1.45 var(--palma-font-body)}
.editor-page #post-form .editor-title-input{min-height:68px!important;padding:0!important;border:0!important;background:transparent!important;font:500 18px/1.4 var(--palma-font-body)!important}
.editor-page .palma-author-strip{display:flex;align-items:center;gap:9px;margin:0 2px 12px;padding:8px 10px;border-radius:12px;background:var(--palma-surface-soft);color:var(--palma-ink-soft);font-size:12.6px}
.editor-page .editor-author .editor-avatar{width:30px;height:30px;font-size:12px}
.editor-page .editor-help-button{width:44px;height:44px;border:0;border-radius:11px;background:var(--palma-mint);color:var(--palma-green);font-size:16px!important}
.editor-page .editor-upload{border-color:#9fbfae;border-radius:12px;background:#ffffff8c;font-size:12.6px}
.editor-page .editor-upload svg{width:25px;height:25px}
.editor-page .doc-editor-article{border:1px solid #cfdcd4;border-radius:12px;background:#fff;--doc-toolbar-height:104px}
.editor-page .doc-editor-article .doc-toolbar{padding:4px;border:0;border-bottom:1px solid #cfdcd4;border-radius:11px 11px 0 0;background:#f8fbf9;box-shadow:0 4px 14px #24452f12}
.editor-page .doc-editor-article .document-surface{margin:0;padding:14px;background:#fff;border-radius:0 0 11px 11px}
.editor-page .doc-editor-article .palma-document{min-height:clamp(420px,62dvh,720px);padding:0 0 64px!important;font-size:15px;line-height:1.65}
.editor-page .doc-editor-text{border-color:#cfdcd4;border-radius:12px}
.editor-page .doc-editor-text .doc-toolbar{padding:6px;background:#ffffffa8;border-radius:11px 11px 0 0}
.editor-page .doc-editor-text .doc-tools button{font-size:12.6px}
.editor-page .doc-editor-text .palma-document{min-height:190px;font-size:15px;line-height:1.65}
.editor-page .editor-switch{min-height:44px;margin:0;font:400 13px/1.45 var(--palma-font-body)}
.editor-page .editor-switch input{width:18px;height:18px}
.editor-page .editor-settings>summary{min-height:44px;padding:8px 0;font:500 13px/1.4 var(--palma-font-body)}
.editor-page .editor-buttons{gap:8px;padding-top:4px}
body.editor-keyboard-open{overflow:hidden;position:fixed;top:var(--editor-page-scroll,0);left:0;right:0;width:100%}
body.editor-keyboard-open .mobile-site{overflow:visible!important}
body.editor-keyboard-open .mobile-site>.topbar,body.editor-keyboard-open .bottom-nav{display:none!important}
body.editor-keyboard-open .prototype-stage{padding-bottom:0!important}
body.editor-keyboard-open #blocks{position:fixed!important;z-index:100;top:var(--editor-visual-top,0);left:50%;width:min(100%,560px);height:var(--editor-visual-height,100dvh);margin:0!important;padding:8px 12px!important;transform:translateX(-50%);display:flex;flex-direction:column;border-radius:0!important;background:var(--palma-purple);box-sizing:border-box}
body.editor-keyboard-open #blocks>h2,body.editor-keyboard-open #blocks>.editor-field-help{display:none}
body.editor-keyboard-open .doc-editor-article{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;width:100%;--doc-toolbar-top:0}
body.editor-keyboard-open .doc-editor-article .doc-toolbar{position:relative;top:0!important;flex:0 0 auto}
body.editor-keyboard-open .doc-editor-article .document-surface{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
body.editor-keyboard-open .doc-editor-article .palma-document{min-height:100%!important}
.editor-page .doc-editor-article .doc-toolbar{position:relative!important;top:0!important;z-index:3}
.doc-style{position:relative}
.editor-page .doc-style-trigger{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;min-height:44px;padding:7px 10px;border:1px solid var(--palma-line);border-radius:9px;background:white;color:var(--palma-ink);font:400 12.6px/1.4 var(--palma-font-body);white-space:nowrap}
.doc-style-trigger::after{content:'⌄';margin-left:auto}
.doc-style-menu{position:absolute;top:100%;left:0;z-index:5;min-width:190px;max-height:230px;overflow-y:auto;background:white;border:1px solid var(--palma-line);box-shadow:0 8px 24px #12352b20;border-radius:12px;padding:4px}
.doc-style-menu[hidden]{display:none}
.editor-page .doc-style-menu button{display:block;width:100%;min-height:44px;border:0;border-radius:8px;background:white;color:var(--palma-ink);padding:8px 10px;text-align:left;font:400 12.6px/1.4 var(--palma-font-body)}
.editor-page .doc-style-menu button[aria-checked=true],.editor-page .doc-style-menu button:focus-visible{background:var(--palma-mint)}
.material-filter-section{padding:12px!important;margin:12px 0!important}
.material-filter-section .material-controls{margin:0!important}

/* Public article follows the approved compact reading screen. */
.article-page .editor-main{padding-top:8px!important}
.article-pagebar{margin:0 0 12px}
.article-page .post-heading{margin:16px 0;padding:0}
.article-page .post-heading .editor-eyebrow{color:var(--palma-ink-soft);font:400 12px/1.4 var(--palma-font-body);letter-spacing:0;text-transform:none}
.article-page .post-heading h1{margin:8px 0 12px;color:var(--palma-ink);font:500 22px/1.25 var(--palma-font-body);letter-spacing:-.02em}
.article-page .post-byline{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;color:var(--palma-ink-soft);font:400 12px/1.5 var(--palma-font-body)}
.article-page .post-cover{margin:16px 0 20px}
.article-page .post-cover img{border-radius:14px}
.article-page .post-contents{margin:12px 0 20px;padding:0;border:0;border-block:1px solid var(--palma-line);border-radius:0;background:transparent;font:400 14px/1.5 var(--palma-font-body)}
.article-page .post-contents summary{display:list-item;min-height:48px;padding:13px 0;color:var(--palma-ink);cursor:pointer}
.article-page .post-contents nav{padding:0 0 8px}
.article-page .post-contents a{display:flex;align-items:center;min-height:44px;padding:8px 0;color:var(--palma-green);font:400 13px/1.45 var(--palma-font-body);text-decoration:none}
.article-page .post-body{color:var(--palma-ink);font:400 16px/1.65 var(--palma-font-body)}
.article-page .post-body p{margin:0 0 16px}
.article-page .post-body h2,.article-page .post-body h3{margin:24px 0 10px;font:500 18px/1.4 var(--palma-font-body)}
.article-page .post-body ul,.article-page .post-body ol{margin:12px 0 20px;padding-left:22px}
.article-page .post-body li{margin:8px 0;padding-left:0}
.article-secondary-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:20px 0 4px;padding-top:12px;border-top:1px solid var(--palma-line)}

/* Legal text is long-form content, but its title and surfaces still match. */
.legal-document{width:100%;max-width:680px;margin:0 auto;color:var(--palma-ink)}
.legal-document>.palma-page-head{margin-bottom:4px}
.legal-document h2{color:var(--palma-ink);font:500 16px/1.4 var(--palma-font-body)}
.legal-document p{font:400 14px/1.65 var(--palma-font-body)}
.legal-draft{border-radius:var(--palma-radius-card)!important;background:var(--palma-sand)!important}

/* Transitional authentication callback deliberately has no site navigation. */
.auth-callback-page{min-height:100dvh;margin:0;padding:16px;background:var(--palma-page);display:grid;place-items:start center}
.auth-callback-card{width:min(100%,560px);margin-top:min(10vh,72px);padding:16px;border-radius:var(--palma-radius-card);background:var(--palma-surface)}
.auth-callback-card form{display:grid;gap:12px}
.auth-callback-card label{display:grid;gap:5px;font-size:13px}
.auth-callback-card input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #c6d5cd;border-radius:10px;font-size:16px}

/* Administration uses the same list rows as user-facing directories. */
.admin-filter{margin-bottom:12px}
.admin-filter .editor-field{margin:0}
.admin-agent-list{display:grid;gap:8px}
.admin-agent-row{width:100%;border:0;text-align:left;font-family:var(--palma-font-body);cursor:pointer}
.admin-agent-initial{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ffffffb8;color:var(--palma-tone-ink,var(--palma-green));font-weight:500}

@media(min-width:768px){
  .auth-page{padding-top:24px!important}
  .palma-form-section{padding:20px}
  .registration-options{grid-template-columns:1fr 1fr}
  .account-page .account-grid,.account-page .account-panel,.account-page .account-heading,.account-page>.account-status,.account-page>.profile-fill-hint{max-width:660px;margin-left:auto!important;margin-right:auto!important}
}
@media(max-width:420px){
  .registration-name-grid{grid-template-columns:1fr}
  .registration-check-grid,.registration-form .ui-choice-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:350px){
  .registration-check-grid,.registration-form .ui-choice-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Compact unavailable calls remain focusable to explain why a call is blocked. */
body button[data-call-unavailable]{background:var(--palma-surface-soft)!important;color:var(--palma-ink-soft)!important;border:1px solid var(--palma-line);opacity:1;cursor:help;white-space:nowrap}
.palma-contact-toast{position:fixed;z-index:160;left:50%;bottom:calc(100px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;padding:12px 16px;border-radius:var(--palma-radius-control);background:var(--palma-ink);color:var(--palma-surface);box-shadow:0 6px 24px #0002;font:400 14px/1.45 var(--palma-font-body);text-align:center;pointer-events:none}
.palma-contact-toast[hidden]{display:none}
.menu-account.menu-account-guest{grid-template-columns:minmax(0,1fr);margin:0 0 12px}
.menu-account.menu-account-guest>div{grid-column:1/-1}
body .footer-links :is(span,a){font:400 13px/1.5 var(--palma-font-body)}
body .footer-links a{display:flex;align-items:center;min-height:44px;color:var(--palma-brand-white);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#ffffff66}
body .footer-links a:hover,body .copyright a:hover{color:var(--palma-yellow)}
body .footer-links a:focus-visible,body .copyright a:focus-visible{outline:2px solid var(--palma-yellow);outline-offset:3px;border-radius:4px}
body .copyright{align-items:center;gap:4px 24px;font:400 12px/1.5 var(--palma-font-body)}
body .copyright>span{flex-basis:100%;color:var(--palma-brand-white)}
body .copyright a{display:inline-flex;align-items:center;min-height:44px;color:#d6e4df;text-decoration:underline;text-underline-offset:4px}
@media(min-width:1024px){body .footer-links{grid-template-columns:repeat(4,minmax(0,1fr))}body .copyright>span{flex-basis:auto;margin-right:auto}.palma-contact-toast{bottom:28px}}

/* Public identities: the same fields and typography on every surface. */
:root{--palma-person-avatar:44px;--palma-person-name:var(--palma-control-font);--palma-person-meta:11px}
.palma-person{display:flex;align-items:center;gap:var(--palma-space-3);min-width:0;padding:var(--palma-space-2);border:1px solid var(--palma-line);border-radius:var(--palma-radius-control);background:color-mix(in srgb,var(--palma-surface) 70%,transparent);color:var(--palma-ink);text-decoration:none}
.palma-person.palma-person--plain{padding:0;border:0;border-radius:0;background:none}
.palma-person .palma-person-avatar{position:relative;display:grid;place-items:center;flex:none;overflow:hidden;width:var(--palma-person-avatar);height:var(--palma-person-avatar);border-radius:var(--palma-radius-control);background:var(--palma-mint);color:var(--palma-green);font:500 var(--palma-control-font)/1.4 var(--palma-font-body)}
.palma-person .palma-person-avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.palma-person .palma-person-avatar img[hidden]{display:none}
.palma-person .palma-person-copy{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere;text-align:left}
.palma-person .palma-person-copy strong{margin:0;font:500 var(--palma-person-name)/1.35 var(--palma-font-body);color:var(--palma-ink)}
.palma-person .palma-person-copy small{font:400 var(--palma-person-meta)/1.4 var(--palma-font-body);color:var(--palma-ink-soft)}
.palma-person-stats{display:flex;flex-wrap:wrap;column-gap:var(--palma-space-2);row-gap:2px}
.palma-person-stats small:last-child{white-space:nowrap}
.palma-person.palma-person--detail{--palma-person-avatar:56px}
.agent-card>.palma-person{padding-right:40px;align-items:flex-start}
.agent-card{align-self:start}
.property-card-footer>.palma-person{margin-top:var(--palma-space-2)}
.property-bonus-audience{margin:4px 0 0!important;color:var(--palma-ink-soft);font:400 10px/1.35 var(--palma-font-body)}
.journal-card{display:flex;flex-direction:column}
.journal-card .journal-copy{display:flex;flex:1;flex-direction:column}
.journal-card .journal-author{margin-top:auto;padding-top:var(--palma-space-3)}
.journal-card--text .journal-meta{margin-top:.55rem}
.material-author{--palma-person-avatar:32px;--palma-person-name:var(--palma-control-font)}
.post-byline{display:flex;align-items:center;flex-wrap:wrap;gap:var(--palma-space-3)}
.home-agent-rail>.palma-person{align-self:start;margin:0;min-height:112px}
.property-filter-notice>.palma-person{max-width:460px;flex:1}

/* Catalog frame: one reusable grid, optional separate promotion rail. */
:root{--palma-catalog-max:1680px;--palma-catalog-gap:14px;--palma-catalog-rail-width:216px;--palma-media-ratio:16/9}
body.palma-catalog-page .palma-catalog-main{width:100%;max-width:none!important;margin:0 auto;padding:16px 12px 36px!important;min-width:0}
.palma-catalog-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
.palma-catalog-content{min-width:0}
.palma-catalog-page .palma-catalog-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--palma-catalog-gap);min-width:0}
.palma-catalog-grid>.palma-empty,.palma-catalog-grid>.agent-empty{grid-column:1/-1}
.palma-catalog-rail{display:none;min-width:0}
.palma-catalog-promo{display:block;border:1px solid var(--palma-line);border-radius:var(--palma-radius-card);overflow:hidden;background:var(--palma-sand);color:var(--palma-ink);text-decoration:none}
.palma-catalog-promo>img{display:block;width:100%;height:auto;aspect-ratio:var(--palma-media-ratio);object-fit:cover}
.palma-catalog-promo>div{display:grid;gap:12px;padding:16px}
.palma-catalog-promo small{font:400 10px/1.4 var(--palma-font-body);color:var(--palma-ink-soft)}
.palma-catalog-promo h2{margin:0;font:500 17px/1.4 var(--palma-font-body)}
.palma-catalog-promo p,.palma-catalog-promo span{margin:0;font:400 13px/1.5 var(--palma-font-body)}
.palma-catalog-promo span{color:var(--palma-green)}
.palma-catalog-promo:focus-visible{outline:2px solid var(--palma-green);outline-offset:3px}
.palma-catalog-grid .journal-cover{aspect-ratio:var(--palma-media-ratio)}
.palma-catalog-grid .journal-copy h2{font-size:17px;line-height:1.35}
.palma-catalog-grid .journal-copy{padding:14px}
.palma-catalog-grid .journal-card--text .journal-copy{min-height:200px}
@media(min-width:1024px){
 body.palma-catalog-page .prototype-stage{max-width:var(--palma-catalog-max)}
 body.palma-catalog-page .palma-catalog-main{padding:12px 16px 40px!important}
 .palma-catalog-layout{grid-template-columns:minmax(0,1fr) var(--palma-catalog-rail-width)}
 .palma-catalog-page .palma-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .palma-catalog-rail{display:grid;gap:16px;position:sticky;top:calc(var(--palma-header-height) + 80px)}
}
@media(min-width:1280px){.palma-catalog-page .palma-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1440px){:root{--palma-catalog-rail-width:240px}}

/* I064: the approved homepage's Golos typography is shared across the site.
   Unbounded remains the display face for the selected hero and brand lettering. */
body :is(h1,h2,h3,h4){font-family:var(--palma-font-heading)!important;font-weight:500;overflow-wrap:break-word}
body .home-ui .brand{gap:9px;min-height:44px;color:var(--palma-brand-ink)}
body .home-ui .brand>.brand-copy{display:block;min-width:0;line-height:1.3}
body .home-ui .brand strong,body .footer-brand b{display:block;font-family:var(--palma-wordmark-font);font-size:var(--palma-wordmark-size);font-weight:var(--palma-wordmark-weight);line-height:1.2;letter-spacing:var(--palma-wordmark-tracking);color:var(--palma-brand-ink)}
body .home-ui .brand small,body .footer-brand p{display:block;font-family:var(--palma-signature-font);font-size:var(--palma-signature-size);font-weight:400;line-height:1.35;letter-spacing:0;text-transform:none;margin:4px 0 0;color:var(--palma-brand-ink);white-space:nowrap}
body .home-ui .brand-mark,body .brand-mark.footer-mark{width:38px;height:48px;display:grid;place-items:center;flex:none;background:transparent;border:0;border-radius:0}
body .palma-brand-symbol{display:block;width:100%;height:100%;object-fit:contain;flex:none}
body .footer-brand{align-items:center;gap:12px}
body .footer-brand b,body .footer-brand p{color:var(--palma-brand-white)}
body .drawer-logo{width:38px;height:44px;flex:none}
body .drawer-head h2{font-size:16px;line-height:1.4}
body .palma-home-page .section-heading h2{font-size:clamp(18px,1.8vw,22px);line-height:1.4}
@media(max-width:767px){
 body .home-ui .brand{gap:7px}
 body .home-ui .brand-mark:not(.footer-mark){width:32px;height:40px}
 body .home-ui .brand strong{font-size:14px}
 body .home-ui .brand small{font-size:11px}
}

/* I063: common interaction surfaces follow Palma tokens. */
body .registration-options .participant-choice{grid-template-columns:56px minmax(0,1fr);gap:18px;padding:28px!important;background:var(--palma-tone-bg,#edf5ef)!important;border:1px solid var(--line,#cfded6)!important;border-radius:24px!important;min-height:180px;align-items:start;transition:box-shadow .15s,transform .15s}
body .registration-options .participant-choice:hover{box-shadow:0 5px 18px #153d2914;transform:translateY(-2px)}
body .registration-options .participant-choice:focus-visible{outline:3px solid #d4ad13;outline-offset:4px}
body .participant-choice .registration-choice-copy{min-width:0;display:grid;gap:12px;line-height:1.5}
body .participant-choice .registration-icon{width:56px;height:56px;background:#fff;border-radius:16px;display:grid;place-items:center}
body .participant-choice .registration-icon svg{width:30px;height:30px}
.registration-result-title{scroll-margin-top:100px;outline:none}
.moderation-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}
.moderation-settings-grid fieldset{min-width:0;margin:0;padding:22px;border:1px solid var(--line,#d4dfd8);border-radius:20px}
.moderation-settings-grid legend{font-weight:600;padding:0 8px}.moderation-settings-grid .profile-check{display:flex;gap:12px;align-items:center;min-height:54px}
.ui-dialog form>label,.ui-dialog .dialog-label{display:grid;gap:8px;margin:16px 0;font-weight:600}
.ui-dialog textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid var(--line,#d4dfd8);border-radius:14px;font:inherit;color:inherit;resize:vertical;min-height:100px}
dialog.ui-dialog.participant-review-dialog{width:min(620px,94vw);max-height:90dvh;padding:24px;border-radius:24px}
.participant-review-dialog .agency-identity{grid-template-columns:70px minmax(0,1fr)}
.participant-review-dialog .agency-logo{width:70px;height:70px}
.participant-review-dialog .agency-section{padding:16px}
@media(max-width:767px){body .registration-options .participant-choice{padding:20px!important;min-height:140px;grid-template-columns:44px minmax(0,1fr);gap:14px}body .participant-choice .registration-icon{width:44px;height:44px}.moderation-settings-grid{grid-template-columns:1fr}dialog.ui-dialog.participant-review-dialog{padding:16px}}

/* Shared public profile cover actions. */
.agency-hero{position:relative}.agency-hero .agency-identity{grid-template-columns:112px minmax(0,1fr)}
.agency-hero .agency-contact-actions{position:absolute;right:24px;top:170px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:calc(100% - 48px);z-index:2}
.agency-contact-actions .editor-button{background:#fff;box-shadow:0 2px 10px #153d2926}.agency-contact-actions .primary{background:#ffdf49}
.palma-call-button{white-space:nowrap}.agency-office-summary .palma-call-button{margin:4px 6px 4px 0}
.participant-public .agency-section{scroll-margin-top:100px}.participant-public .agency-cover img{border-radius:0}.participant-members{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.participant-public .agency-title h1{font-size:clamp(22px,3vw,34px)}
.participant-review-dialog .agency-contact-actions{position:static;grid-column:1/-1}.participant-review-dialog .agency-identity{grid-template-columns:70px minmax(0,1fr)}
@media(max-width:767px){.agency-hero .agency-contact-actions{top:114px;right:16px;left:16px;max-width:none;gap:8px}.agency-hero .agency-contact-actions .editor-button{flex:1;padding:10px 12px;font-size:13px}.agency-hero .agency-identity{grid-template-columns:76px minmax(0,1fr)}.participant-members{grid-template-columns:1fr}.participant-review-dialog .agency-contact-actions{position:static}}

.directory-searchbar{margin:20px 0 12px}.directory-searchbar .property-filter-shortcuts{display:flex;gap:10px;overflow-x:auto;padding:4px 0 10px}.directory-searchbar .palma-filter{flex:none;min-height:46px;border:1px solid var(--line,#d4dfd8);border-radius:14px;background:#f0f5ee;padding:10px 16px;color:inherit;font:inherit;cursor:pointer}.directory-filter-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.directory-filter-meta .editor-button{font-size:14px}.directory-filter-form fieldset{border:0;border-bottom:1px solid var(--line,#d4dfd8);padding:16px 0;min-width:0}.directory-filter-form legend{font-weight:600;padding-top:12px}.directory-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;max-height:330px;overflow:auto}.directory-options .profile-check{display:flex;gap:10px;min-height:44px;align-items:center}.directory-filter-form .ui-actions{position:sticky;bottom:0;background:white;padding:16px 0;margin-bottom:-8px}.directory-filter-dialog{width:min(720px,94vw)}.directory-filter-form .ui-input{width:100%;box-sizing:border-box;border:1px solid var(--line,#d4dfd8);border-radius:12px;padding:12px;font:inherit}.participant-card-photo{background:#e7eee4;border-radius:14px;overflow:hidden}.participant-card-photo>span{display:grid;place-items:center;height:200px;font-size:48px}.participant-catalog-grid.palma-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1023px){.participant-catalog-grid.palma-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.directory-options{grid-template-columns:1fr}.participant-catalog-grid.palma-catalog-grid{grid-template-columns:1fr}}

body .profile-public.agent-visual .profile-identity{position:relative;background:white;overflow:hidden;border:1px solid var(--line,#d4dfd8);border-radius:24px}
body .profile-public.agent-visual .palma-profile-cover{height:240px;background:linear-gradient(115deg,#dceee3,#e8f0f8)}
body .profile-public.agent-visual .profile-contact-actions{position:absolute;right:24px;top:170px;display:flex;gap:10px;grid-column:auto}
body .profile-public.agent-visual .profile-contact-actions .editor-button{width:auto;background:white;color:#183f31;min-height:44px;padding:10px 16px;font:500 14px/1.4 var(--font-body);border:1px solid #d4dfd8;box-shadow:0 2px 10px #153d2926}
body .profile-public.agent-visual .profile-contact-actions .primary{background:#ffdf49;color:#183f31}
body .profile-public.agent-visual .profile-identity-body{grid-template-columns:112px minmax(0,1fr);padding:24px;gap:20px}
body .profile-public.agent-visual .profile-identity .profile-avatar{width:112px;height:112px;border:5px solid white;margin-top:-58px;position:relative;border-radius:22px}
@media(max-width:767px){body .profile-public.agent-visual .palma-profile-cover{height:190px}body .profile-public.agent-visual .profile-contact-actions{top:114px;left:16px;right:16px;gap:8px}body .profile-public.agent-visual .profile-contact-actions .editor-button{flex:1;font-size:13px;padding:10px 12px}body .profile-public.agent-visual .profile-identity-body{grid-template-columns:76px minmax(0,1fr);padding:16px;gap:12px}body .profile-public.agent-visual .profile-identity .profile-avatar{width:76px;height:76px;margin-top:-38px}}

/* Anchor cover actions to the hero, not its relatively positioned identity. */
body .agency-hero .agency-identity{position:static}
body .agency-hero .agency-contact-actions{padding-top:0;align-self:auto}
body .agency-hero .agency-contact-actions>.editor-button{width:auto;white-space:nowrap}
body .agency-hero .agency-logo{position:relative;z-index:1}
body .participant-public .profile-public-section{background:var(--palma-tone-bg,#eaf5ef);border:0}
@media(max-width:767px){body .agency-hero .agency-cover{height:190px}body .agency-hero .agency-contact-actions{top:114px}body .agency-hero .agency-title{padding-top:36px}}

.participant-public-gallery figure{margin:0}.participant-public-gallery figcaption{padding:10px 0;font-size:14px}.agency-leader-layout:not(:has(>.agency-leader-photo)){grid-template-columns:1fr}.agency-contact-actions .palma-call-button{order:-1}

/* I064 shared prototype scale and category pills */
:root{--palma-section-font:18px;--palma-card-title-font:18px;--palma-card-copy-font:12.6px;--palma-chip-font:12px}
body{font-size:var(--palma-body-font);line-height:1.5}
body:not(.palma-home-page) main :is(h1,h2){font:500 var(--palma-title-font)/1.25 var(--palma-font-body)!important;letter-spacing:-.025em}
body:not(.palma-home-page) main h3{font:500 var(--palma-card-title-font)/1.3 var(--palma-font-body);letter-spacing:-.015em}
body:not(.palma-home-page) main :is(p,dt,dd){font-size:var(--palma-body-font);line-height:1.55}
body:not(.palma-home-page) main :is(.pe-field,.pe-label,.profile-check,.pe-check,.property-field>label){font:500 var(--palma-field-font)/1.5 var(--palma-font-body)}
body:not(.palma-home-page) main :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),select,textarea){font:400 var(--palma-field-font)/1.5 var(--palma-font-body)}
body:not(.palma-home-page) main :is(.pe-hint,.editor-help,.property-help,.profile-save-status){font-size:var(--palma-card-copy-font);line-height:1.55}
body:not(.palma-home-page) main :is(.journal-copy h2,.journal-copy h3){font:500 var(--palma-card-title-font)/1.3 var(--palma-font-body)!important}
body:not(.palma-home-page) main .property-card-copy h2{font:500 var(--palma-field-font)/1.3 var(--palma-font-body)!important}
body:not(.palma-home-page) main :is(.agency-chips>span,.profile-tags>span){background:#f0f5f3;color:#213b30;border:0;border-radius:999px;padding:6px 13px;font:400 var(--palma-chip-font)/1.5 var(--palma-font-body)}
.palma-section-head h2,.palma-section>h2,.palma-form-section>legend{font-size:var(--palma-section-font);line-height:1.3;letter-spacing:-.015em}
body .journal-copy h2,body .palma-catalog-grid .journal-copy h2{font-family:var(--palma-font-body);font-size:var(--palma-card-title-font);line-height:1.3;letter-spacing:-.015em}
body .journal-copy p{font-size:var(--palma-card-copy-font);line-height:1.55}
body .property-result .property-card-price{font-size:23px;line-height:1.5;letter-spacing:-.025em}
body .property-result .property-card-copy h2{font-size:14px;line-height:1.3;letter-spacing:-.015em}
body .property-result :is(.property-card-facts,.property-card-address){font-size:12px;line-height:1.55}
body .home-ui :is(.palma-filter,.topic-filters button,.agent-task-rail button,.material-types button,.material-filter button){position:relative;isolation:isolate;min-height:44px;padding:7px 13px;border:0!important;border-radius:999px;background:transparent!important;box-shadow:none!important;color:#213b30;font:400 var(--palma-chip-font)/1.5 var(--palma-font-body)}
body .home-ui :is(.palma-filter,.topic-filters button,.agent-task-rail button,.material-types button,.material-filter button):before{content:'';position:absolute;inset:7px 0;z-index:-1;border-radius:999px;background:#f0f5f3}
body .home-ui :is(.palma-filter,.topic-filters button,.agent-task-rail button,.material-types button,.material-filter button)[aria-pressed=true]{color:white;font-weight:500}
body .home-ui :is(.palma-filter,.topic-filters button,.agent-task-rail button,.material-types button,.material-filter button)[aria-pressed=true]:before{background:#176649}
body .home-ui .topic-filters .topic-symbol{background:transparent;color:inherit}
body .home-ui .palma-pill{font:400 var(--palma-chip-font)/1.5 var(--palma-font-body);min-height:44px;padding:0;border:0;background:transparent;color:#213b30}
body .home-ui .palma-pill span{border:0;background:#f0f5f3;border-radius:999px;padding:6px 13px}
body .home-ui .palma-pill[aria-pressed=true]{font-weight:500;color:white}
body .home-ui .palma-pill[aria-pressed=true] span{background:#176649;color:white}
body .home-ui .market-card strong{font-weight:500}
@media(max-width:600px){
 :root{--palma-title-font:20px;--palma-section-font:16px;--palma-card-title-font:16px;--palma-card-copy-font:11px;--palma-body-font:13px;--palma-field-font:13px;--palma-chip-font:11px;--palma-control-font:11px}
 body .property-result .property-card-price{font-size:21px}
 body .property-result .property-card-copy h2{font-size:13px}
 body .property-result :is(.property-card-facts,.property-card-address){font-size:11px}
 body .home-ui .palma-pill span{padding:5px 11px}
}

/* Shared property media and office state, including compact home cards. */
.palma-property-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;height:100%;min-height:160px;background:radial-gradient(ellipse at 15% 15%,#fff 0,transparent 65%),linear-gradient(135deg,#edf6ee,#dcece2);color:#637873;text-align:center;padding:28px 12px;font-size:11px;box-sizing:border-box}
.palma-property-brand{display:flex;align-items:center;justify-content:center;gap:12px;color:#064438}.palma-property-brand strong{font-family:Unbounded,sans-serif;font-size:18px;font-weight:600}.palma-property-brand img{position:static!important;display:block;width:40px!important;height:50px!important;object-fit:contain!important;border-radius:0!important;opacity:1!important}
.property-no-image .palma-property-placeholder{flex:1}.property-office-badge{position:absolute;left:10px;top:10px;z-index:2;background:#176649;color:white;border-radius:8px;padding:6px 9px;font-size:11px;line-height:1.35;font-weight:500}.property-office-badge.is-own{background:#ffe34c;color:#153f39}
.property-office-count{display:flex;align-items:center;gap:7px;padding:8px 10px;margin:10px 0 0;border-radius:9px;background:#f0f5f3;color:#637873;font-size:12px;line-height:1.5}.property-office-count svg{width:17px;height:17px;flex-shrink:0}.property-card-media .property-office-badge{top:auto;bottom:10px}.property-detail-office{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:12px 0;grid-column:1/-1}.property-detail-office .property-office-badge{position:static}.property-detail-office .property-office-count{margin:0}.property-detail-office .editor-button{font-size:12px;min-height:44px}.property-detail-office [data-office-feedback]{width:100%}.office-confirm-actions{display:flex;flex-direction:column;align-items:stretch}.office-confirm-actions .editor-button{white-space:normal;min-height:44px}
.home-ui .property-card .palma-property-placeholder{min-height:100%;padding:28px 8px}.home-ui .property-card .property-office-badge{top:auto;bottom:10px}.home-ui .property-card .property-office-count{font-size:11px;margin:8px 0 0;padding:5px 7px}
/* The approved homepage resets descendant styles: repeat these shared roles at its scope. */
body.palma-home-page .home64 .palma-property-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;background:radial-gradient(ellipse at 15% 15%,#fff 0,transparent 65%),linear-gradient(135deg,#edf6ee,#dcece2);color:#637873;text-align:center;padding:20px 8px;font:400 11px/1.4 var(--palma-font-body);box-sizing:border-box}
body.palma-home-page .home64 .palma-property-brand{display:flex;align-items:center;justify-content:center;gap:10px;color:#064438}
body.palma-home-page .home64 .palma-property-brand strong{font:600 18px/1.4 Unbounded,sans-serif}
body.palma-home-page .home64 .palma-property-brand img{position:static;display:block;width:40px;height:50px;object-fit:contain;border-radius:0;opacity:1}
body.palma-home-page .home64 .property-office-badge{position:absolute;left:10px;top:10px;bottom:auto;z-index:2;background:#176649;color:#fff;border-radius:8px;padding:6px 9px;font:500 11px/1.35 var(--palma-font-body)}
body.palma-home-page .home64 .property-office-badge.is-own{background:#ffe34c;color:#153f39}
body.palma-home-page .home64 .property-office-count{display:flex;align-items:center;gap:7px;margin:8px 0 0;padding:5px 7px;background:#f0f5f3;border-radius:9px;color:#637873;font:400 11px/1.5 var(--palma-font-body)}
body.palma-home-page .home64 .property-office-count svg{display:block;width:17px;height:17px;flex-shrink:0}
.property-card-media .property-office-badge{left:auto;right:10px}

/* Long commercial directions remain readable in the agent registration. */
@media(max-width:600px){.registration-form [data-commercial-directions] .registration-check-grid{grid-template-columns:minmax(0,1fr)}.registration-form [data-commercial-directions] .profile-check{min-width:0}.registration-form [data-commercial-directions] .profile-check span{min-width:0;overflow-wrap:anywhere}}

/* Publication covers are complete images, including portrait uploads. */
.journal-cover{background:#f0f5f3}
.journal-cover img,.post-cover img{object-fit:contain;object-position:center!important}
.post-cover img{background:#f0f5f3}
/* I085: one compact vocabulary for catalog controls. */
.palma-filter-icon{display:block;width:18px;height:18px;flex:none}
body .palma-text-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:4px 6px;border:0;border-radius:8px;background:transparent;color:var(--palma-green);font:500 var(--palma-chip-font,12px)/1.35 var(--palma-font-body);cursor:pointer;text-decoration:none}
.palma-text-action:focus-visible,.palma-choice-menu button:focus-visible{outline:2px solid var(--palma-green);outline-offset:2px}
.palma-filter-bar{min-width:0;margin-bottom:8px}.palma-filter-bar-head{display:flex;align-items:center;justify-content:flex-end;min-height:44px}
body .palma-filter-bar .palma-filter{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;position:relative;isolation:isolate;min-height:44px;border:0;background:transparent;padding:7px 13px;color:var(--palma-ink);font:500 var(--palma-chip-font,12px)/1.35 var(--palma-font-body);white-space:nowrap;border-radius:999px;cursor:pointer}
body .palma-filter-bar .palma-filter:before{content:'';position:absolute;inset:5px 0;border:0;border-radius:999px;background:#f0f5f3;z-index:-1}
body .palma-filter-bar .palma-filter.is-active{color:#fff}
body .palma-filter-bar .palma-filter.is-active:before{background:var(--palma-green)}
body .palma-filter-bar .directory-filter-pills{display:flex;flex-wrap:nowrap;gap:6px;overflow:auto;scrollbar-width:none;padding:2px;min-width:0}
.palma-filter-dialog-actions{display:flex;justify-content:flex-end}
.directory-filter-dialog .directory-filter-form{display:flex;flex-direction:column;min-height:0}
.directory-filter-dialog .directory-options [hidden]{display:none!important}
.directory-option-search{margin:8px 0}
.directory-filter-dialog .directory-options{grid-template-columns:1fr;max-height:360px;overscroll-behavior:contain}
.directory-filter-dialog .directory-filter-body{overflow:auto;overscroll-behavior:contain;max-height:60dvh}
.directory-filter-dialog .ui-actions .primary{width:100%}
.palma-choice-dialog{width:min(380px,calc(100vw - 24px))!important;max-height:80dvh;box-sizing:border-box}
.palma-choice-menu{display:grid;gap:3px}
.palma-choice-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;border:0;border-radius:10px;padding:10px 12px;background:transparent;color:var(--palma-ink);text-align:left;font:400 14px/1.4 var(--palma-font-body);cursor:pointer}
.palma-choice-menu button[aria-pressed=true]{background:var(--palma-mint);color:var(--palma-green);font-weight:500}
@media(max-width:600px){.palma-choice-dialog{margin:auto 0 0;width:100%!important;max-width:none;border-radius:20px 20px 0 0!important;padding-bottom:max(16px,env(safe-area-inset-bottom))}.directory-filter-dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:20px 20px 0 0!important}.directory-filter-dialog .directory-filter-body{max-height:55dvh}}

/* I086: document-contained choices, including multi-location filters. */
.palma-choice-field{display:grid;gap:7px;min-width:0;margin:0 0 14px;color:var(--palma-ink)}
.palma-choice-title{font:500 13px/1.4 var(--palma-font-body)}
.palma-filter-select{min-width:0;border:1px solid var(--palma-line);border-radius:12px;background:var(--palma-surface);overflow:hidden}
.palma-filter-select>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;cursor:pointer;list-style:none;font:400 13px/1.45 var(--palma-font-body);color:var(--palma-ink);box-sizing:border-box}
.palma-filter-select>summary::-webkit-details-marker{display:none}
.palma-filter-select>summary [data-choice-label]{min-width:0;overflow-wrap:anywhere}
.palma-filter-select[open]>summary{background:var(--palma-surface-soft);border-bottom:1px solid var(--palma-line)}
.palma-filter-select[open]>summary>svg{transform:rotate(180deg)}
.palma-filter-select summary:focus-visible,.palma-choice-option:has(input:focus-visible){outline:2px solid var(--palma-green);outline-offset:-3px}
.palma-filter-options{padding:8px;min-width:0}
.palma-choice-list{max-height:min(280px,38dvh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-width:0}
.palma-choice-option{display:flex!important;align-items:center;gap:10px;min-height:44px;padding:9px 10px;border-radius:8px;box-sizing:border-box;font:400 13px/1.45 var(--palma-font-body);cursor:pointer;color:var(--palma-ink)}
.palma-choice-option[hidden]{display:none!important}
.palma-choice-option>span{min-width:0;overflow-wrap:anywhere}
.palma-choice-option>input{flex:0 0 18px!important;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;accent-color:var(--palma-green)}
.palma-choice-option:has(input:checked){background:var(--palma-green);color:white}
.palma-choice-option:has(input:checked)>input{accent-color:var(--palma-green);outline:1px solid white;border-radius:4px}
.palma-choice-option:has(input:disabled){opacity:.5;cursor:default}
.palma-choice-search{display:block;margin:0 0 8px}
.palma-choice-search input{width:100%;min-height:44px;border:1px solid var(--palma-line);border-radius:8px;padding:9px 10px;font:400 13px var(--palma-font-body);box-sizing:border-box;background:var(--palma-surface);color:var(--palma-ink)}
.palma-choice-group{font:600 12px/1.4 var(--palma-font-body);color:var(--palma-green);margin:12px 10px 4px}
.palma-filter-options>[data-choice-all]{width:100%;justify-content:flex-start;min-height:44px;margin-bottom:6px}
.palma-filter-options>[data-choice-all][aria-pressed=true]{background:var(--palma-surface-soft);border-radius:8px}
@media(max-width:600px){.palma-choice-list{max-height:min(260px,34dvh)}}

.palma-service-card{display:flex;align-items:flex-start;gap:24px}.palma-service-card>img{flex:0 0 72px;object-fit:contain}.palma-service-card>div{min-width:0;max-width:700px}.palma-service-card p{margin:12px 0}.palma-service-card h2{overflow-wrap:anywhere}@media(max-width:599px){.palma-service-card{flex-direction:column;gap:12px}}
.moderation-changes{padding:12px 14px;border:1px solid var(--palma-border,#d4e3da);border-radius:12px;background:var(--palma-sand,#fff6ce);color:var(--palma-ink,#213b30);font-size:13px;margin:10px 0;overflow-wrap:anywhere}
.moderation-changes ul{display:flex;flex-wrap:wrap;gap:4px 20px;margin:8px 0 0;padding-left:18px}
.admin-agent-entry{display:grid;gap:8px;min-width:0;padding-bottom:12px}
.admin-agent-entry>.ui-actions{padding:0 12px}

/* I129: legal documents retain the originating form and app window. */
.palma-legal-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden}
.palma-legal-dialog .ui-dialog-head{padding:12px 16px;margin:0;border-bottom:1px solid var(--palma-line)}
.palma-legal-content{padding:16px;overflow:auto;max-height:calc(100dvh - 124px);overscroll-behavior:contain}
.palma-legal-content .legal-document{max-width:100%;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.palma-legal-content h2,.palma-legal-content h3{font-size:16px}
.pwa-install [data-copy-site-value]{width:100%;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid var(--palma-line);border-radius:12px;color:var(--palma-green);background:var(--palma-mint);font:inherit}

.palma-session-error{position:fixed;top:var(--palma-header-height,64px);left:12px;right:12px;z-index:90;margin:auto;max-width:720px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--palma-line);border-radius:12px;padding:12px;background:var(--palma-mint);color:var(--palma-green);box-shadow:var(--palma-shadow-soft);font:14px/1.4 var(--palma-font-body)}
/* I134: secondary workspace titles take one short line, with breathing room. */
body.personal-section .mobile-site :is(.editor-main,.collections-main,.qa-page,.agency-workspace){padding-top:8px}
body.personal-section .mobile-site #editor-main>.palma-page-head,
body.personal-section .mobile-site .palma-page-head{min-height:28px;margin:0 0 8px;gap:6px}
body.personal-section .mobile-site .palma-page-head:has(.palma-page-back,.palma-page-action){min-height:44px}
body.personal-section .mobile-site #editor-main>.palma-page-head h1,
body.personal-section .mobile-site .palma-page-head h1,
body.personal-section .mobile-site main>h1,
body.personal-section .mobile-site .account-heading h1{margin:0!important;font:500 14px/1.35 var(--palma-font-heading)!important;letter-spacing:0!important}
body.personal-section .mobile-site .palma-page-head__slot{height:24px}
body.personal-section .mobile-site .account-heading{padding:0;margin:0 0 8px;min-height:28px}
.palma-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.personal-section .my-materials-toolbar{margin:0 0 8px;gap:8px}
body.personal-section .material-status-tabs{margin:0;padding:2px 0 6px}
body.personal-section .property-filters{margin:0;padding:2px 0 8px}
body.personal-section .collection-intro:empty,body.personal-section main>p[role=status]:empty{display:none}
body.personal-section .profile-anchor-nav{gap:6px;padding:2px 0 6px;margin:6px auto 8px}
body.personal-section .profile-anchor-nav a{min-height:32px;padding:5px 10px;border-radius:12px;font:400 12px/1.4 var(--palma-font-body)}
body.personal-section .profile-tools-mounted .profile-action-bar{position:fixed;inset-inline:auto;z-index:45;max-width:780px;box-sizing:border-box;margin:0;padding:8px 12px;border:0;border-top:1px solid var(--palma-line);border-radius:0;background:#fff;box-shadow:0 -3px 12px #173b2e0a;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
body.personal-section .profile-tools-mounted .profile-action-bar .pe-save{position:static;width:100%;max-width:none;margin:0;padding:0 0 4px;border:0;border-radius:0;box-shadow:none;background:transparent}
body.personal-section .profile-tools-mounted .profile-action-bar :is([role=status],#profile-status){padding:0;margin:0;border:0;background:transparent;font:400 11px/1.35 var(--palma-font-body)}
body.personal-section .profile-tools-mounted .profile-action-bar>[data-save-status]{flex-basis:100%}
body.personal-section .profile-tools-mounted .profile-action-bar .pe-review-controls{width:100%;display:flex;gap:6px}
body.personal-section .profile-tools-mounted .profile-action-bar .editor-button{min-height:44px;padding:8px 10px;font-size:12px;flex:1}
body.personal-section .profile-tools-mounted .profile-action-bar :is([data-review-hint],[data-action-hint]){width:100%;margin:0;font-size:11px}
body.personal-section .profile-tools-mounted .profile-action-bar :is([data-review-hint],[data-action-hint]):empty{display:none}
body.profile-keyboard-open .bottom-nav,body.profile-keyboard-open .profile-action-bar{display:none!important}
.registration-name-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.registration-name-fields>.editor-field{min-width:0}
dialog.ui-dialog.palma-complaint-dialog{width:min(440px,calc(100vw - 24px));height:fit-content;inset:0;margin:auto;max-height:calc(100dvh - 24px);padding:14px;border-radius:16px;font:400 13px/1.4 var(--palma-font-body)}
.palma-complaint-dialog .ui-dialog-head{margin:0 0 8px;gap:8px}
.palma-complaint-dialog .ui-dialog-head h2{font:500 17px/1.3 var(--palma-font-heading)}
.palma-complaint-dialog>p{margin:0 0 8px}
.palma-complaint-dialog .request-form{display:grid;gap:6px;align-content:start}
dialog.palma-complaint-dialog .request-form>.request-choice{display:flex;gap:8px;min-height:40px;margin:0;padding:4px 0;font:500 13px/1.4 var(--palma-font-body)}
dialog.palma-complaint-dialog .request-form>.editor-field{margin:2px 0 0;gap:5px;font-size:13px}
dialog.palma-complaint-dialog .request-form textarea{height:72px;min-height:72px;padding:8px;border-radius:10px;font-size:14px}
dialog.palma-complaint-dialog .request-form [role=status]{margin:0;font-size:12px}
dialog.palma-complaint-dialog .request-form [role=status]:empty{display:none}
dialog.palma-complaint-dialog .request-form>.editor-button{min-height:44px;margin:2px 0 0;padding:8px 12px;font-size:14px}
.property-point-loading{z-index:3;pointer-events:none}
.property-address-map-dialog [data-map-canvas][aria-busy=true]>p.property-map-message{display:none}
/* I135 — date fields and compact calendar shared by promotion forms. */
.palma-date-field{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;box-sizing:border-box;border:1px solid var(--palma-line,#c6d5cd);border-radius:12px;background:#fff;color:inherit;padding:10px 12px;font:400 14px/1.45 var(--palma-font-body);text-align:left;cursor:pointer}
.palma-date-field svg{width:20px;height:20px;flex:none;color:var(--palma-green,#176649)}
.palma-date-field:focus-visible,.palma-date-dialog button:focus-visible,.palma-date-dialog select:focus-visible{outline:2px solid #176649;outline-offset:2px}
dialog.ui-dialog.palma-date-dialog{box-sizing:border-box;width:min(368px,calc(100vw - 24px));max-width:none;height:fit-content;max-height:calc(100dvh - 24px);inset:0;margin:auto;padding:16px;border-radius:20px;background:#fff;color:#183e33;overflow:auto}
.palma-date-dialog .ui-dialog-head{margin:0 0 12px;gap:8px}.palma-date-dialog .ui-dialog-head h2{font:600 16px/1.4 var(--palma-font-body);margin:0}.palma-date-dialog .ui-icon-button{width:40px;min-width:40px;height:40px;min-height:40px;font-size:24px}
.palma-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}.palma-calendar-selects{display:flex;gap:4px;min-width:0;flex:1}.palma-calendar-selects select{min-width:0;width:60%;min-height:40px;border:1px solid #d4e1da;border-radius:10px;background:#f3f8f5;color:inherit;font:500 14px var(--palma-font-body);padding:6px}.palma-calendar-selects [data-year]{width:40%}
.palma-calendar-weekdays,.palma-calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.palma-calendar-weekdays span{padding:8px 0;text-align:center;color:#647c73;font:400 12px var(--palma-font-body)}
.palma-calendar-week button{display:grid;place-items:center;min-width:0;min-height:42px;padding:4px;border:1px solid transparent;border-radius:10px;background:transparent;color:inherit;font:500 14px var(--palma-font-body);cursor:pointer}.palma-calendar-week button:hover{background:#edf6f0}.palma-calendar-week button[aria-current=date]{border-color:#7da791}.palma-calendar-week button[aria-selected=true]{background:#ffe04b;color:#173d30}.palma-calendar-week button:disabled,.palma-calendar-nav button:disabled{opacity:.3;cursor:default}
@media(max-width:390px){.palma-date-dialog .palma-calendar-week button{min-height:40px}.palma-date-dialog .palma-calendar-selects select{font-size:13px;padding-inline:4px}}

/* I138: ordered account choices, with an independent opportunities link. */
.registration-options.registration-role-grid{align-items:stretch;gap:12px}
.registration-role-grid .registration-role-card{display:flex;flex-direction:column;border:1px solid var(--palma-border,#cbdcd5)!important}
.registration-role-grid .registration-role-card>button{flex:1;min-height:70px;cursor:pointer;text-align:left;width:100%}
.registration-role-grid .registration-role-info{border-top:1px solid var(--palma-border,#cbdcd5);padding:8px 12px;line-height:1.4}
.registration-role-grid .registration-role-card:focus-within{outline:2px solid var(--brand-green,#075346);outline-offset:2px}
.registration-application-title{font-size:16px;margin:8px 0 16px}
