/* Mobile presentation is isolated from the existing desktop workspace. */
#mobile-ai-toggle{display:none}
@media(max-width:650px){
  :root{--mobile-nav-height:calc(66px + env(safe-area-inset-bottom,0px));--mobile-action-height:72px}
  html{scroll-padding-top:16px;scroll-padding-bottom:calc(var(--mobile-nav-height) + var(--mobile-action-height) + 20px)}
  body.signed-in{display:block}
  main{width:100%;min-width:0;max-width:none;padding:20px 14px calc(var(--mobile-nav-height) + 20px)}
  main:has(#task-page:not([hidden])){padding-bottom:calc(var(--mobile-nav-height) + var(--mobile-action-height) + 20px)}
  main>section,main>div,form,.card,header>div{min-width:0}
  button,input,select,textarea{font-family:inherit;touch-action:manipulation}
  input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea,#draft-search,.task-category-field select{font-size:16px;min-width:0}
  input:not([type=checkbox]):not([type=radio]):not([type=file]),select{min-height:46px}
  textarea{line-height:1.75;padding:12px}
  label{font-size:14px}
  label small{font-size:12px}
  .form-help,.file-name,.media-note,.ai-notice,.field-meta{font-size:12px;line-height:1.7}
  .eyebrow{display:none}
  header{gap:10px}
  h1,.draft-title-row h1{font-size:22px;line-height:1.4;letter-spacing:-.3px;margin:0 0 7px}
  header p{font-size:13px;line-height:1.7}
  .mode{font-size:11px;padding:5px 10px}
  .mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;position:fixed;inset:auto 0 0;z-index:30;margin:0;padding:6px max(10px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));height:var(--mobile-nav-height);background:#fffffff5;border-top:1px solid #dce5dc;box-shadow:0 -3px 18px #24462d07;backdrop-filter:blur(14px)}
  .mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;margin:0;padding:4px;border:0;border-radius:10px;background:transparent;color:#788979;font-size:11px;font-weight:500;line-height:1.2;overflow:visible}
  .mobile-nav button.active{background:#edf5ec;color:#276b4e;font-weight:600}
  .mobile-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
  .device-strip{margin:16px 0;padding:12px;gap:8px;border-radius:10px}
  .device-status-heading{gap:8px}
  .device-strip strong{font-size:13px}
  .device-strip #device-reason{margin:5px 0 0 16px;font-size:12px}
  #device-refresh{margin-left:auto;min-height:40px;padding:8px 10px}
  #device-refresh-note:empty{display:none}
  .device-strip a{font-size:12px;padding:8px 0;margin-left:16px}
  .card{padding:16px;border-radius:12px}
  .section-title{margin-bottom:18px}
  .section-title h2{font-size:17px}
  .task-account-field{margin-bottom:16px;padding-bottom:14px}
  .task-category-field{margin-bottom:16px;padding-bottom:14px}
  .task-category-heading{gap:4px;margin-bottom:6px}
  .task-category-heading button{min-height:40px;font-size:12px;padding:8px 0}
  .task-account-field .form-help,.task-category-field .form-help{font-size:12px;line-height:1.65;margin-top:6px}
  .task-media{margin-bottom:18px;padding-bottom:16px}
  .media-heading,.control-label{font-size:14px}
  .choice-buttons{gap:8px;margin:8px 0 14px}
  .choice-buttons button{min-height:44px;padding:10px 8px;font-size:13px}
  .upload{height:144px;margin-bottom:0}
  .upload strong{font-size:14px}.upload small{font-size:11px;line-height:1.6}
  .upload b{font-size:25px}
  .file-name{margin:8px 0 0}
  .image-list:empty{display:none}
  .image-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .image-item{padding:8px}.image-item img{height:105px}
  .image-item button{min-height:36px;min-width:36px;font-size:11px;margin-right:2px}
  .image-item .image-thumb{min-height:0}
  .drag-handle{padding:8px 0 10px;font-size:12px}
  .image-add{min-height:190px}
  .media-remove{opacity:1;width:40px;height:40px}
  .field-meta{margin:7px 0 18px}
  .ai-panel{padding:14px;margin-bottom:18px}
  .ai-heading{gap:8px;flex-wrap:wrap;margin:0;font-size:14px}
  .ai-heading>strong{flex:1}
  #mobile-ai-toggle{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px;padding:8px;color:#356c48}
  #ai-settings-link{order:3;margin-left:auto;min-height:40px;font-size:12px}
  .ai-heading:has(+[hidden]) #ai-settings-link{display:none}
  #ai-panel-body{padding-top:14px}
  .ai-panel label,.ai-panel summary,.quick-manage summary{font-size:13px}
  .ai-panel textarea{font-size:16px;line-height:1.7}
  .quick-options{gap:8px}.quick-option-pills{gap:8px}
  .quick-options .quick-option-select{min-height:40px;font-size:13px}
  .quick-options .quick-option-edit{min-height:40px;min-width:40px;font-size:12px}
  .quick-option-group>small{font-size:12px}
  .quick-heading>button{min-height:44px;font-size:12px}
  .inline-actions{gap:8px;flex-wrap:wrap}
  .inline-actions button{min-height:42px;font-size:12px}
  .ai-notice,#ai-message,#style-message,#ai-version-detail,.execution-source{font-size:12px;line-height:1.7}
  .ai-candidate{font-size:15px}
  .schedule{padding:12px;margin-bottom:16px}
  .schedule legend,.schedule-modes label{font-size:14px}
  .schedule-modes{gap:16px}.schedule-modes label{min-height:40px;margin:0}
  .schedule p,.schedule small{font-size:12px;line-height:1.7}
  .settings{padding:12px;font-size:12px}.settings>div{gap:10px;line-height:2.2;flex-wrap:wrap}
  .execution-preview{padding:12px;margin-top:16px}.execution-preview p{font-size:12px}
  .execution-preview pre{font-size:14px}
  .check{font-size:13px;line-height:1.7;gap:10px;margin:18px 0;padding:8px 0}
  input[type=checkbox]{width:18px;height:18px;margin-top:2px}
  .compose-actions{position:fixed;z-index:25;left:0;right:0;bottom:var(--mobile-nav-height);display:grid;grid-template-columns:1fr 1.6fr;align-items:center;gap:10px;height:var(--mobile-action-height);padding:12px max(14px,env(safe-area-inset-right,0px)) 12px max(14px,env(safe-area-inset-left,0px));background:#fffffff5;border-top:1px solid #e0e8db;backdrop-filter:blur(14px)}
  .compose-actions #save-draft,.compose-actions #submit{width:100%;height:46px;min-height:46px;margin:0;padding:10px 12px;font-size:14px;gap:10px}
  #message{font-size:13px;line-height:1.7}
  .draft-page-header{flex-wrap:wrap;gap:12px;align-items:flex-start}
  .draft-title-row{margin:0 0 7px}.draft-title-row h1{margin:0}
  .draft-page-header>button{min-height:44px;font-size:13px}
  .draft-library{margin-top:18px}
  .draft-account-bar{gap:8px;flex-direction:column;margin-bottom:16px}
  .draft-account-label{padding:0}.draft-account-filter{min-height:44px;font-size:13px}
  .draft-toolbar{gap:10px;align-items:stretch}
  .draft-search-field{max-width:none}
  .draft-sort-label select{min-width:0;font-size:14px}
  .draft-filters{width:100%;gap:2px}.draft-filters button{flex:1;justify-content:center;padding:7px;min-height:42px;font-size:13px;gap:5px}
  .draft-list-bar{gap:10px;align-items:flex-start;margin:14px 0;flex-direction:column}
  .draft-card-body{grid-template-columns:92px minmax(0,1fr);gap:12px;min-height:155px}
  .draft-caption{font-size:14px;line-height:1.75}.draft-meta>div>span{font-size:12px}.draft-meta time{font-size:11px}
  .draft-edit{min-height:44px;font-size:13px}.draft-menu>summary{width:44px;height:44px}
  .draft-expand{min-height:36px;font-size:13px}.draft-menu-actions button{min-height:44px;font-size:13px}
  .draft-card-footer{flex-wrap:wrap}.draft-meta{flex:1}.draft-library-note{font-size:12px}
  .history-layout{margin-top:18px}
  .history-sidebar .section-title{margin:0 0 8px}
  .history-sidebar #category-new{min-height:44px}
  .history-category,.history-category.child{min-height:44px;font-size:13px}
  .history-filters{gap:10px}
  .history-filters label{font-size:13px}
  .history-filters>button{min-height:46px}
  .history-selection select{flex-basis:55%}.history-selection label{min-height:36px;font-size:12px}
  .history-selection button{min-height:42px}
  .task .task-actions button{min-height:40px;font-size:12px}
  .history-task-classification{flex-wrap:wrap;gap:8px}
  .history-task-classification label:last-child{flex-basis:100%;justify-content:flex-start}
  .history-task-classification select{flex:1;max-width:100%;font-size:14px}
  .task-caption{font-size:14px}.task time,.task-author,.task-detail{font-size:12px;line-height:1.7}
  .history-pagination{gap:12px}.history-pagination button{min-height:44px}
  .settings-layout,.user-layout{margin-top:18px;gap:16px}
  .user-row>button{min-height:44px;min-width:44px}
  .user-usage-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .user-usage-filter button{grid-column:1/-1;min-height:44px}
  .user-usage-ranges button{min-height:40px}
  .user-usage-card .section-title{gap:12px}
  .quick-editor,.assistant-decision,#category-dialog{padding:18px;max-height:calc(100dvh - 32px)}
  #category-close{min-width:44px;min-height:44px}
  .category-manager-row button{min-height:40px}
  .category-editor-actions button,.quick-editor-actions button{min-height:44px}
  .viewer-toolbar{gap:8px}.viewer-toolbar strong{min-width:0}
  #image-viewer button{min-width:40px;min-height:40px}
  .viewer-controls{padding:10px 8px;gap:8px}
  .login-page{padding:20px}.login-card{padding:24px}.login-card .brand{font-size:15px;gap:8px}
  footer{font-size:11px;line-height:1.7;margin-top:16px}
}
.mobile-label{display:none}
@media(max-width:650px){
  .desktop-label{display:none}.mobile-label{display:inline}
  .device-strip>a{display:none}
  .compose-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #e6ece1}
  .compose-context .task-account-field,.compose-context .task-category-field{display:flex;flex-direction:column;min-width:0;margin:0;padding:0;border:0}
  .compose-context .task-category-heading{display:contents}
  .compose-context label{order:0;min-height:22px;margin:0 0 8px}
  .compose-context select{order:1;width:100%;margin:0}
  .compose-context .form-help{order:2}
  .compose-context .task-category-heading button{order:3;align-self:flex-start;margin-top:3px;padding:6px 0;min-height:36px}
  .compose-context .task-account-field .form-help,.compose-context .task-category-field .form-help{font-size:11px;line-height:1.6;margin-top:6px}
}
#mobile-batch-toggle{display:none}
@media(max-width:650px){
  #task-form :is(input,select,textarea,button){scroll-margin-top:16px;scroll-margin-bottom:calc(var(--mobile-nav-height) + var(--mobile-action-height) + 20px)}
  .history-sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px}
  .history-sidebar .section-title{display:contents}
  .history-sidebar h2{align-self:center}
  .history-sidebar #category-manage{min-height:40px}
  #history-categories{grid-column:1/-1;margin:0;padding-bottom:2px}
  .history-sidebar #category-new{display:none}
  #history-back{min-height:40px;padding:8px 12px}
  .history-toolbar{padding:14px}
  .history-selection{margin-top:12px;padding-top:10px;gap:8px}
  #mobile-batch-toggle{display:block;margin-left:auto;font-size:12px;min-height:40px}
  .history-selection:not(.mobile-expanded):not(.has-selection) :is(#history-batch-category,#history-batch-move){display:none}
  .history-selection.has-selection #mobile-batch-toggle{display:none}
}
@media(max-width:650px){
  #history-page>header{flex-direction:row;align-items:flex-start;gap:12px}
  #history-back{white-space:nowrap;font-size:12px}
  .history-cards>.task{display:flex;flex-direction:column}
  .history-cards .history-task-classification{order:1}
}
/* Compact personal hub: real account details and existing management actions. */
.profile-layout{display:grid;gap:14px;max-width:760px;margin-top:20px}
.profile-identity{display:flex;align-items:center;gap:14px;background:#edf5ef;border-color:#d7e5da}
.profile-avatar{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;border-radius:14px;background:#2d7153;color:#fff;font-size:24px;font-weight:600}
.profile-identity-copy{min-width:0}
.profile-identity h2{display:inline;font-size:19px;line-height:1.6;margin:0 9px 0 0;overflow-wrap:anywhere}
.profile-role{display:inline-block;padding:2px 7px;border:1px solid #c9dbcc;border-radius:5px;color:#497558;font-size:11px;vertical-align:2px}
.profile-identity p{font-size:12px;color:#6f8374;line-height:1.7;margin:6px 0 0}
.profile-section h2{font-size:14px;margin:0 0 12px;color:#385944;font-weight:600}
.profile-info{margin:0;display:grid;gap:12px}
.profile-info>div{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;font-size:13px;line-height:1.6}
.profile-info dt{color:#7b8a7e;flex-shrink:0}.profile-info dd{margin:0;color:#314b3b;text-align:right;overflow-wrap:anywhere}
.profile-info-note{font-size:11px;color:#829080;line-height:1.7;margin:12px 0 0;padding-top:12px;border-top:1px solid #edf1e9}
.profile-links{display:grid}
.profile-links>a,.profile-links>button{display:flex;align-items:center;gap:12px;min-height:64px;border:0;border-bottom:1px solid #edf1e9;padding:11px 0;text-decoration:none;background:transparent;text-align:left;font-family:inherit;color:#314b3b;cursor:pointer;width:100%}
.profile-links>:last-child{border-bottom:0;padding-bottom:0}
.profile-links>:first-child{padding-top:0}
.profile-link-icon{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #e0e9dd;border-radius:9px;background:#f4f8f1;font-size:20px;color:#487653}
.profile-links> :is(a,button)>span:nth-child(2){min-width:0;flex:1}
.profile-links strong{display:block;font-size:14px;font-weight:550}
.profile-links small{display:block;font-size:12px;color:#80907d;line-height:1.6;margin-top:4px}
.profile-chevron{font-size:22px;color:#93a18e;flex-shrink:0;margin-left:auto}
.profile-signout>button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;border:1px solid #e2d9d2;border-radius:10px;background:#fff;color:#9a5b46;font-family:inherit;font-size:14px;cursor:pointer}
.profile-signout>p{text-align:center;font-size:11px;color:#9aa696;line-height:1.6;margin:14px 0 0}
@media(min-width:1101px){#profile-page{height:100%;overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:650px){
  :root{color:#263b30;background:#f3f6f2}
  main{padding-top:16px}
  .card{border-color:#dfe7dc;box-shadow:0 2px 7px #233d2c04;padding:14px;border-radius:11px}
  header{gap:8px}header h1{font-size:22px}
  header>button,.settings-layout button:not(.primary):not(.danger-button),.user-layout .section-title>button{min-height:40px;border:1px solid #d1dfcd;background:#fff;color:#416c4b;border-radius:7px;padding:8px 12px;font-size:12px;font-family:inherit}
  #settings-page>header,#accounts-page>header,#users-page>header{flex-direction:row;align-items:flex-start;gap:12px}
  #settings-page>header>button,#accounts-page>header>button,#users-page>header>button{white-space:nowrap;margin:0;width:auto;flex-shrink:0}
  .section-title{margin-bottom:14px}.section-title h2{font-size:16px}
  .settings-layout,.user-layout{margin-top:14px;gap:12px}
  .settings-layout label,.user-layout label{margin-top:0;margin-bottom:16px;font-size:14px}
  .settings-layout :is(input,select),.user-layout :is(input,select){margin-top:7px}
  .settings-layout .check,.user-layout .check{margin:10px 0}
  .settings-layout .primary,.user-layout .primary{min-height:46px;padding:12px 16px}
  .settings-layout .form-help,.user-layout .form-help{font-size:12px;line-height:1.7}
  #account-delete{min-height:42px;padding:10px 14px;margin-top:14px}
  .user-usage-card{margin-top:14px}
  .user-usage-ranges{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-bottom:12px}
  .user-usage-ranges button{min-width:0;padding:7px 2px;font-size:12px;min-height:38px;border-radius:6px}
  .user-usage-summary{margin-top:12px;gap:8px}
  .user-usage-summary>div{padding:12px;gap:7px;background:#f3f8f0;border-color:#dfe9d8;border-radius:8px}
  .user-usage-summary strong{font-size:24px;font-variant-numeric:tabular-nums}
  .user-usage-note{margin-top:10px}
  .user-row{padding:12px 0;gap:5px 10px}
  .user-info strong{font-size:14px}.user-info small{font-size:12px;line-height:1.6}
  .user-row-count{font-size:13px}
  .user-layout h2{font-size:16px;margin-top:0}
  .user-account-permissions{margin:12px 0 16px;padding:12px;background:#f8faf6;border-color:#dfe7da}
  .user-account-permissions legend{font-size:13px}
  .account-permission-option{font-size:13px;min-height:36px;align-items:center}
  .account-permission-option input{margin:0}
  .profile-layout{margin-top:14px;gap:12px}
  .profile-identity{gap:12px;padding:16px 14px;background:#eaf3ec}
  .profile-avatar{width:46px;height:46px;border-radius:12px;font-size:22px}
  .profile-identity h2{font-size:18px}
  .profile-identity p{font-size:12px;margin-top:5px}
  .profile-section h2{font-size:13px;color:#70836f;margin-bottom:12px}
  .profile-info>div{font-size:14px}
  .profile-info-note{font-size:12px;margin-top:10px;padding-top:10px}
  .profile-links>a,.profile-links>button{min-height:61px;padding:10px 0}
  .profile-signout>p{margin-top:12px}
  .ai-panel{background:#f1f6ed;border-color:#d6e3ce;border-radius:9px}
  .execution-preview{background:#f1f7ee;border-color:#cbdcc5}
  .draft-card{border-color:#dce6d8;box-shadow:0 2px 8px #284f3404}
  .history-toolbar,.history-sidebar{border-color:#dfe7dc}
  .history-cards>.task{box-shadow:0 2px 6px #284f3403;border-color:#dce6d8;padding:14px}
  .history-cards .task-top{gap:8px}.history-cards .task-author{margin-top:10px}
  .task-detail{color:#778972}
  .login-page{background:#f0f5ef}
  .login-card{padding:24px;border-color:#d7e3d3;box-shadow:0 8px 28px #2d573b08}
  .login-card label{margin:18px 0}
  .login-card .brand{margin-bottom:24px}
  .login-card .form-help{font-size:12px;line-height:1.7}
  dialog{box-shadow:0 12px 48px #19392624}
  #category-dialog h2,.quick-editor h2{font-size:18px}
  .quick-editor-actions{flex-wrap:wrap}
  .quick-editor-actions>div{gap:8px}
}
@media(max-width:650px){
  .history-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px 8px}
  .history-filters label:first-child{grid-column:1/-1}
  .history-filters label:nth-child(2),.history-filters label:nth-child(3){width:auto;min-width:0}
  .history-filters select{font-size:14px;padding:10px 8px;width:100%}
  .history-filters #history-reset{min-width:44px;padding:8px;font-size:12px}
  #accounts-page .section-title>button{min-height:40px;width:auto;margin:0;flex-shrink:0;font-size:12px;padding:8px 10px}
}
@media(max-width:650px){
  .history-cards .task-content{flex-direction:row;align-items:flex-start;gap:12px;margin-top:10px}
  .history-cards .task-images{width:88px;max-width:88px;gap:4px}
  .history-cards .task-images img{width:42px;height:42px}
  .history-cards .task-caption{width:auto;min-width:0;flex:1}
  .history-filters select,.draft-sort-label select,.history-task-classification select{font-size:16px}
  .draft-empty{padding:28px 16px}.empty{padding:28px 8px}
}

/* Shared line icons remain decorative; visible text names every action. */
.ui-icon{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;pointer-events:none}
.icon-heading{display:flex;align-items:center;gap:8px;min-width:0}
header .icon-heading{margin-bottom:7px}header .icon-heading h1{margin:0}
header .icon-heading>.ui-icon{width:22px;height:22px;color:#3c7957}
.section-title>.icon-heading{flex:1}.section-title .icon-heading h2{margin:0}
.profile-section>.icon-heading{margin-bottom:12px}.profile-section>.icon-heading h2{margin:0}
.profile-link-icon .ui-icon{width:19px;height:19px}
.profile-usage{padding:14px}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-stats>div{display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:6px;row-gap:7px;min-width:0}
.profile-stats>div+div{border-left:1px solid #dce7d8;padding-left:16px}
.profile-stats>div>span{display:flex;align-items:center;gap:6px;grid-column:1/-1;font-size:13px;color:#71856f}
.profile-stats strong{font-size:26px;font-weight:650;color:#2d7153;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}
.profile-stats small{font-size:12px;color:#82917c}
.profile-usage-note{margin:12px 0 0;font-size:11px;line-height:1.7;color:#7f8f7c}
.profile-usage-status{display:flex;align-items:center;gap:10px;font-size:12px;color:#7f8f7c}
#profile-usage-message{margin:8px 0 0}#profile-usage-message:empty{display:none}
#profile-usage-retry{margin-top:8px;border:1px solid #d0dfcb;border-radius:6px;background:#fff;color:#3b714c;padding:7px 12px;min-height:36px;font-family:inherit;font-size:12px}
.primary{--action-icon:url("/static/icons/save.svg")}
#submit{--action-icon:url("/static/icons/send.svg")}
#save-draft{--action-icon:url("/static/icons/save.svg")}
#ai-generate{--action-icon:url("/static/icons/spark.svg")}
#login-submit{--action-icon:url("/static/icons/lock.svg")}
#user-new{--action-icon:url("/static/icons/users.svg")}
#task-category-manage{--action-icon:url("/static/icons/category.svg")}
#mobile-logout{--action-icon:url("/static/icons/exit.svg")}
.primary::before,#save-draft::before,#ai-generate::before,#user-new::before,#task-category-manage::before,#mobile-logout::before{content:'';display:inline-block;width:16px;height:16px;flex:0 0 auto;background:currentColor;mask:var(--action-icon) center/contain no-repeat;-webkit-mask:var(--action-icon) center/contain no-repeat;vertical-align:-3px;margin-right:6px}
#save-draft,#ai-generate,#user-new{display:inline-flex;align-items:center;justify-content:center;gap:6px}
@media(max-width:650px){.icon-heading{gap:7px}header .icon-heading>.ui-icon{width:20px;height:20px}.profile-stats{gap:12px}.profile-stats>div+div{padding-left:12px}.profile-usage-note{font-size:12px}.profile-stats strong{font-size:25px}.profile-stats>div>span{font-size:12px}}
/* Use the browser's anchored picker where supported, avoiding an OS popup outside the web view. */
@supports(appearance:base-select){
 select,select::picker(select){appearance:base-select}
 select{align-items:center;gap:8px}
 select::picker-icon{color:#6e866c}
 select::picker(select){border:1px solid #cbdcc6;border-radius:9px;padding:4px;background:#fff;color:#304a38;box-shadow:0 6px 20px #25443220;max-height:min(340px,60dvh);overflow-y:auto;min-width:anchor-size(width);font-family:inherit}
 select option{min-height:42px;padding:10px 12px;gap:8px;border-radius:5px;font-size:14px;white-space:normal;overflow-wrap:anywhere}
 select option:checked{background:#edf5e9;color:#2d7153}
 select option:hover,select option:focus-visible{background:#f0f6ec}
}

.primary{gap:8px}

.sidebar-navigation .nav{display:flex;align-items:center;gap:9px}
.sidebar-navigation :is(#draft-nav-count,#history-nav-count){margin-left:auto}
