/* calendar-native.css — the form for a tile's own calendar (calendar-native-editor.js), inside the tile settings
   drawer's Calendar tab. Layout is shared; the Hub rules are scoped to html[data-theme="hub"] and use tokens only. */
.bc-cn{display:flex;flex-direction:column;gap:2px;min-width:0}
.bc-cn .bc-row{min-width:0}
.bc-cn .bc-select,.bc-cn .bc-text{min-width:0;max-width:100%;box-sizing:border-box}
.bc-cn-title,.bc-cn-colors,.bc-cn-views{display:flex;flex-direction:column;gap:2px;min-width:0}
.bc-cn-preview{padding:2px 2px 6px;font-size:.9rem;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bc-cn-preview[hidden]{display:none}
.bc-cn .bc-tsp-colorbox{min-width:0;max-width:100%}
.bc-cn-swatch{flex:0 0 auto;display:inline-block;width:22px;height:22px;border-radius:4px;border:1px solid rgba(128,128,128,.5);background:transparent}
.bc-cn .bc-cn-hex{width:9ch;font-variant-numeric:tabular-nums}
.bc-cn .bc-cn-hex[aria-invalid="true"]{outline:2px solid #9c3a2b;outline-offset:1px}
.bc-cn-problems{display:flex;flex-direction:column;gap:2px;margin-top:6px}
.bc-cn-problem{font-size:.9rem;color:#9c3a2b}
.bc-cn-problems:empty{display:none}
html[data-theme="hub"] .bc-cn-swatch{border-color:var(--hub-line)}
html[data-theme="hub"] .bc-cn-preview{color:var(--hub-mute)}
html[data-theme="hub"] .bc-cn .bc-cn-hex[aria-invalid="true"]{outline-color:var(--hp-bad)}
html[data-theme="hub"] .bc-cn-problem{color:var(--hp-bad)}
@media (max-width:480px){.bc-cn .bc-row{flex-wrap:wrap}.bc-cn .bc-select,.bc-cn .bc-text{flex:1 1 100%}}
