/* ATOSY ERP — 348A — Object Create / Subject Create design parity */
html body #atosy-object-create-v347a.atosy-subject-detail-v5-overlay {
  position:fixed !important; inset:0 !important; z-index:2147483000 !important;
  display:flex !important; justify-content:center !important; align-items:center !important;
  padding:18px !important; box-sizing:border-box !important;
  background:rgba(3,12,27,.76) !important; backdrop-filter:blur(6px);
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-drawer {
  display:flex !important; flex-direction:column !important;
  width:min(100%,900px) !important; max-width:900px !important;
  max-height:calc(100dvh - 36px) !important; min-height:0 !important;
  overflow:hidden !important; border:1px solid rgba(136,186,228,.32) !important;
  border-radius:18px !important; color:#eff6ff !important;
  background:linear-gradient(160deg,#102d4f,#091e37) !important;
  box-shadow:0 22px 65px rgba(1,10,27,.55) !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-hero {
  flex:0 0 auto !important; padding:20px 24px 22px !important;
  background:radial-gradient(ellipse at 94% 4%,rgba(127,177,216,.19),transparent 48%),
    linear-gradient(118deg,#081f40 0%,#10345c 52%,#17436b 100%) !important;
  border-bottom:1px solid rgba(145,190,231,.29) !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-topline {
  display:flex !important; justify-content:space-between !important; align-items:center !important;
  gap:14px !important; margin-bottom:20px !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-eyebrow {
  color:#a5c9eb !important; font-size:11px !important; font-weight:800 !important;
  letter-spacing:1.3px !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-actions {
  display:flex !important; align-items:center !important; gap:10px !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-actions button {
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  min-height:37px !important; padding:8px 14px !important; border-radius:10px !important;
  border:1px solid rgba(159,197,230,.33) !important; background:rgba(27,66,104,.8) !important;
  color:#eef6ff !important; font:inherit !important; font-size:13px !important;
  font-weight:750 !important; cursor:pointer !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-actions .atosy-object-create-save-v348a {
  background:linear-gradient(135deg,#16a36a,#23c27d) !important;
  border-color:rgba(20,156,99,.65) !important; color:#fff !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-actions button:disabled {
  opacity:.5 !important; cursor:not-allowed !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-actions .atosy-subject-detail-v5-close {
  width:37px !important; padding:0 !important; font-size:24px !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-profile {
  display:flex !important; align-items:center !important; gap:16px !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-avatar {
  display:grid !important; place-items:center !important; flex:0 0 62px !important;
  width:62px !important; height:62px !important; border-radius:16px !important;
  background:linear-gradient(140deg,#24649e,#123f72) !important;
  color:#eaf6ff !important; font-size:34px !important;
  border:1px solid rgba(173,214,246,.28) !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-name {
  margin:0 0 9px !important; color:#f3f9ff !important;
  font-size:25px !important; font-weight:850 !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-meta {
  display:flex !important; gap:7px !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-chip {
  padding:4px 9px !important; border-radius:7px !important;
  background:rgba(135,183,225,.14) !important; color:#cce4fb !important;
  font-size:10px !important; font-weight:800 !important;
  border:1px solid rgba(145,192,230,.18) !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-body {
  display:flex !important; flex-direction:column !important; gap:16px !important;
  flex:1 1 auto !important; min-height:0 !important; overflow-y:auto !important;
  padding:20px 24px 28px !important; color:#eef6ff !important;
  background:linear-gradient(160deg,#102c4a,#0b213c 75%,#0a1e36) !important;
}
html body #atosy-object-create-v347a .atosy-object-create-message-v348a {
  padding:12px 14px !important; border:1px solid rgba(154,201,255,.28) !important;
  border-radius:13px !important; background:#17365d !important;
  color:#dcecff !important; font-size:13px !important; line-height:1.5 !important;
}
html body #atosy-object-create-v347a .atosy-object-create-message-v348a strong {
  color:#78bbff !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section {
  flex:0 0 auto !important; overflow:hidden !important; border-radius:14px !important;
  border:1px solid rgba(148,191,229,.26) !important;
  background:linear-gradient(145deg,#1b3d5e,#112b49) !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section-head {
  display:flex !important; justify-content:space-between !important; gap:12px !important;
  align-items:center !important; padding:13px 16px !important;
  background:linear-gradient(90deg,#245184,#1b3a63) !important;
  color:#f2f7ff !important; font-size:13px !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section:nth-of-type(2) .atosy-subject-detail-v5-edit-section-head {
  background:linear-gradient(90deg,#493b7a,#312858) !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section:nth-of-type(3) .atosy-subject-detail-v5-edit-section-head {
  background:linear-gradient(90deg,#17647c,#14465f) !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section-head strong {
  font-weight:800 !important; color:#f2f7ff !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section-head span {
  font-size:11px !important; color:#d7e7f8 !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-grid {
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:17px !important; padding:17px !important;
}
html body #atosy-object-create-v347a .atosy-object-create-wide-v348a {
  grid-column:1/-1 !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-field {
  display:flex !important; flex-direction:column !important; gap:8px !important;
  min-width:0 !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-field label {
  color:#c9dcef !important; font-size:12px !important; font-weight:750 !important;
}
html body #atosy-object-create-v347a .atosy-object-create-required-v348a {color:#ff8892 !important;}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-field :is(input,select,textarea) {
  box-sizing:border-box !important; display:block !important; width:100% !important;
  min-height:46px !important; padding:10px 13px !important;
  border:1px solid rgba(154,201,255,.32) !important;
  border-radius:12px !important; outline:none !important;
  background:#102b54 !important; background-color:#102b54 !important;
  color:#eef6ff !important; -webkit-text-fill-color:#eef6ff !important;
  font:inherit !important; font-size:13px !important; color-scheme:dark;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-field textarea {
  resize:vertical !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-field :is(input,textarea)::placeholder {
  color:#90a9cb !important; -webkit-text-fill-color:#90a9cb !important; opacity:1 !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-field :is(input,select,textarea):focus {
  background:#153761 !important; border-color:#6aafff !important;
  box-shadow:0 0 0 3px rgba(106,175,255,.12) !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-field :is(input,select):disabled {
  background:#263f5a !important; color:#b8cce1 !important;
  -webkit-text-fill-color:#b8cce1 !important; opacity:.85 !important;
}
html body #atosy-object-create-v347a .atosy-object-create-selection-v348a {
  font-size:12px !important; color:#b7d2ec !important; line-height:1.5 !important;
}
html body #atosy-object-create-v347a .atosy-object-create-error-v348a {
  padding:12px 14px !important; border-radius:10px !important;
  background:#5a2435 !important; border:1px solid #ba5265 !important;
  color:#ffe2e7 !important; font-size:13px !important;
}
html body #atosy-object-create-v347a .atosy-object-create-error-v348a[hidden] {display:none !important;}
.atosy-object-create-notice-v347a {
  position:fixed; right:24px; bottom:24px; z-index:2147483001;
  max-width:min(430px,calc(100vw - 48px)); padding:14px 20px;
  border-radius:11px; background:#166b50; color:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.28); font-size:13px; font-weight:750;
}
.atosy-object-create-notice-v347a.is-error {background:#b42318;}
@media(max-width:640px) {
  html body #atosy-object-create-v347a {padding:8px !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-drawer {max-height:calc(100dvh - 16px) !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-hero {padding:14px !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-body {padding:14px !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-grid {grid-template-columns:1fr !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-name {font-size:20px !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-avatar {width:46px !important;height:46px !important;flex-basis:46px !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-actions {gap:5px !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-actions button {padding:7px !important;font-size:11px !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section-head span {display:none !important;}
}


/* 348B — Object create: independent, collision-safe header structure */
html body #atosy-object-create-v347a .atosy-object-create-close-v348b {
  flex:0 0 38px !important; width:38px !important; height:38px !important;
  min-width:38px !important; min-height:38px !important; padding:0 !important;
  display:inline-grid !important; place-items:center !important; line-height:1 !important;
  border-radius:10px !important; transform:none !important;
}
html body #atosy-object-create-v347a .atosy-object-create-close-v348b svg {
  width:18px !important; height:18px !important; display:block !important;
  position:static !important; flex:none !important; transform:none !important;
}
html body #atosy-object-create-v347a .atosy-object-create-close-v348b::before,
html body #atosy-object-create-v347a .atosy-object-create-close-v348b::after,
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section-head::before,
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section-head::after,
html body #atosy-object-create-v347a .atosy-object-create-section-label-v348b::before,
html body #atosy-object-create-v347a .atosy-object-create-section-label-v348b::after,
html body #atosy-object-create-v347a .atosy-object-create-section-label-v348b strong::before,
html body #atosy-object-create-v347a .atosy-object-create-section-label-v348b strong::after {
  content:none !important; display:none !important;
}
html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section-head {
  display:flex !important; align-items:center !important; justify-content:space-between !important;
  gap:12px !important; min-height:54px !important; box-sizing:border-box !important;
}
html body #atosy-object-create-v347a .atosy-object-create-section-label-v348b {
  display:flex !important; flex:1 1 auto !important; align-items:center !important;
  gap:10px !important; min-width:0 !important; position:static !important;
  padding:0 !important; margin:0 !important; background:none !important;
}
html body #atosy-object-create-v347a .atosy-object-create-section-label-v348b strong {
  position:static !important; display:block !important; min-width:0 !important;
  padding:0 !important; margin:0 !important; font-size:14px !important;
  line-height:1.4 !important; white-space:normal !important; overflow:visible !important;
  text-indent:0 !important; transform:none !important;
}
html body #atosy-object-create-v347a .atosy-object-create-section-icon-v348b {
  display:grid !important; flex:0 0 30px !important; place-items:center !important;
  width:30px !important; height:30px !important; padding:0 !important;
  margin:0 !important; border-radius:9px !important; color:#fff !important;
  position:static !important; transform:none !important; font-size:0 !important;
}
html body #atosy-object-create-v347a .atosy-object-create-section-icon-v348b::before,
html body #atosy-object-create-v347a .atosy-object-create-section-icon-v348b::after {content:none !important;display:none !important;}
html body #atosy-object-create-v347a .atosy-object-create-section-icon-v348b svg {
  display:block !important; width:17px !important; height:17px !important; flex:none !important;
}
html body #atosy-object-create-v347a .atosy-object-create-section-icon-v348b.is-blue {background:#1b76d7 !important;}
html body #atosy-object-create-v347a .atosy-object-create-section-icon-v348b.is-purple {background:#7956cc !important;}
html body #atosy-object-create-v347a .atosy-object-create-section-icon-v348b.is-cyan {background:#0c90a4 !important;}
html body #atosy-object-create-v347a .atosy-object-create-section-description-v348b {
  display:block !important; flex:0 1 auto !important; font-size:11px !important;
  line-height:1.4 !important; white-space:normal !important; text-align:right !important;
}
html body #atosy-object-create-v347a .atosy-object-create-native-hidden-v348b {
  position:absolute !important; width:1px !important; height:1px !important;
  opacity:0 !important; pointer-events:none !important; overflow:hidden !important;
  clip-path:inset(50%) !important; padding:0 !important; margin:0 !important;
}
html body #atosy-object-create-v347a .atosy-object-create-category-trigger-v348b {
  display:flex !important; width:100% !important; min-height:46px !important;
  align-items:center !important; justify-content:space-between !important;
  gap:12px !important; text-align:left !important; padding:10px 13px !important;
  box-sizing:border-box !important; border:1px solid rgba(154,201,255,.32) !important;
  border-radius:12px !important; background:#102b54 !important;
  color:#eef6ff !important; font:inherit !important; font-size:13px !important;
  cursor:pointer !important;
}
html body #atosy-object-create-v347a .atosy-object-create-category-trigger-v348b:focus-visible {
  outline:2px solid #83baff !important; outline-offset:2px !important;
}
html body #atosy-object-create-v347a .atosy-object-create-category-trigger-v348b:disabled {opacity:.65 !important;cursor:not-allowed !important;}
html body #atosy-object-create-v347a .atosy-object-create-category-trigger-v348b span {
  flex:1 1 auto !important; min-width:0 !important; overflow:hidden !important;
  white-space:nowrap !important; text-overflow:ellipsis !important;
}
html body #atosy-object-create-v347a .atosy-object-create-category-trigger-v348b svg {flex:none !important;}
/* Hierarchical selector, same structure and interaction language as parent picker 337b */
.atosy-object-create-picker-v348b {
  position:fixed; z-index:2147483005; box-sizing:border-box;
  display:flex; flex-direction:column; min-height:0; padding:10px;
  border:1px solid rgba(130,188,247,.38); border-radius:14px;
  background:linear-gradient(#092b5c,#061d43); color:#f3f8ff;
  box-shadow:0 20px 55px rgba(0,10,35,.55); font-family:inherit; font-size:12px;
}
.atosy-object-create-picker-head-v348b,
.atosy-object-create-picker-footer-v348b {
  display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px;
}
.atosy-object-create-picker-head-v348b strong {font-size:12px;font-weight:800;}
.atosy-object-create-picker-head-v348b [data-picker-close] {
  width:30px;height:30px;border:0;border-radius:8px;background:transparent;
  color:#eaf3ff;font-size:21px;cursor:pointer;
}
.atosy-object-create-picker-search-v348b {position:relative;margin:7px 2px;}
.atosy-object-create-picker-search-v348b span {
  position:absolute;left:12px;top:50%;transform:translateY(-50%);
  color:#eaf3ff;pointer-events:none;
}
.atosy-object-create-picker-search-v348b input {
  box-sizing:border-box;width:100%;height:38px;padding:0 12px 0 34px;
  border:1px solid rgba(145,195,255,.45);border-radius:10px;
  background:#071f46;color:#fff;font:500 12px inherit;outline:none;
}
.atosy-object-create-picker-search-v348b input::placeholder {color:rgba(235,245,255,.7);}
.atosy-object-create-picker-list-v348b {
  min-height:60px;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;
}
.atosy-object-create-picker-row-v348b {
  display:flex;align-items:center;gap:3px;padding-left:calc(var(--depth) * 12px);
}
.atosy-object-create-picker-item-v348b {
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  flex:1 1 auto;min-width:0;padding:8px 9px;border:0;border-radius:8px;
  background:transparent;color:#eef6ff;text-align:left;font:600 11px inherit;cursor:pointer;
}
.atosy-object-create-picker-item-v348b span {min-width:0;overflow-wrap:anywhere;}
.atosy-object-create-picker-item-v348b small {display:block;margin-top:3px;color:#a8c7e8;font-size:9px;}
.atosy-object-create-picker-item-v348b:hover,
.atosy-object-create-picker-item-v348b[data-selected="1"] {background:rgba(42,119,206,.35);}
.atosy-object-create-picker-expand-v348b {
  flex:0 0 26px;height:30px;border:0;background:transparent;color:#ecf5ff;cursor:pointer;
}
.atosy-object-create-picker-footer-v348b {
  margin-top:7px;border-top:1px solid rgba(150,195,245,.19);
}
.atosy-object-create-picker-path-v348b {
  flex:1;min-width:0;overflow-wrap:anywhere;color:#b9d7f7;font-size:10px;
}
.atosy-object-create-picker-confirm-v348b {
  flex:0 0 auto;min-height:35px;padding:0 12px;
  border:1px solid rgba(180,222,255,.36);border-radius:9px;
  background:linear-gradient(#58a7ff,#0869df);color:#fff;
  font:700 11px inherit;cursor:pointer;
}
.atosy-object-create-picker-confirm-v348b:disabled {opacity:.45;cursor:not-allowed;}
.atosy-object-create-picker-empty-v348b {padding:16px 10px;color:#b9d7f7;}
@media (max-width:640px) {
  html body #atosy-object-create-v347a .atosy-object-create-section-description-v348b {display:none !important;}
  html body #atosy-object-create-v347a .atosy-subject-detail-v5-edit-section-head {min-height:48px !important;}
}


/* 348D — canonical status enum chevron, matching ATOSY category picker */
html body #atosy-object-create-v347a
.atosy-subject-detail-v5-edit-field select#atosy-object-status-v347a {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: #102b54 url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23bdd9f8%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%2F%3E%3C%2Fsvg%3E") no-repeat right 16px center / 17px 17px !important;
  padding-right: 46px !important;
  cursor: pointer !important;
}
html body #atosy-object-create-v347a
.atosy-subject-detail-v5-edit-field select#atosy-object-status-v347a:focus {
  background-color: #153761 !important;
}
html body #atosy-object-create-v347a
.atosy-subject-detail-v5-edit-field select#atosy-object-status-v347a:disabled {
  cursor: not-allowed !important;
  opacity: .7 !important;
}
