/* ADIM102: video-referenced layout only. No changes to API, business rules, or core stylesheet. */
#edit-dialog.u102-ready[open]{display:flex;flex-direction:column;width:min(1220px,96vw);max-width:96vw;max-height:94dvh;overflow:hidden;border-radius:16px}
#edit-dialog.u102-ready .dialog-head{padding:16px 22px;flex:0 0 auto;gap:12px}
#edit-dialog.u102-ready .dialog-head h2{font-size:20px;max-width:930px;line-height:1.25}
#edit-dialog.u102-ready .dialog-meta{padding:9px 22px;flex:0 0 auto}
#edit-dialog.u102-ready #dialog-message{margin:10px 22px 0}
#edit-dialog.u102-ready .dialog-forms{overflow:auto;min-height:0;flex:1;display:block;padding:0 20px 20px}
#edit-dialog.u102-ready .u102-shell{margin-top:12px}
#edit-dialog.u102-ready .u102-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 2px 14px}
#edit-dialog.u102-ready .u102-top-title{font-weight:800;color:#19374b;font-size:16px}
#edit-dialog.u102-ready .u102-top-subtitle{color:#64798b;font-size:12px;text-align:right;max-width:520px}
#edit-dialog.u102-ready .u102-workspace{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:18px;align-items:start}
#edit-dialog.u102-ready .u102-main{min-width:0}
#edit-dialog.u102-ready .u102-tabs{display:flex;gap:6px;align-items:center;overflow:auto;scrollbar-width:thin;padding:2px 2px 10px;border-bottom:1px solid #e4e9ef;position:sticky;top:0;z-index:2;background:white}
#edit-dialog.u102-ready .u102-tab{flex:0 0 auto;white-space:nowrap;font:inherit;font-size:12px;font-weight:750;color:#567082;cursor:pointer;border:1px solid #dae4eb;background:#f8fafb;padding:9px 13px;border-radius:20px;min-height:38px}
#edit-dialog.u102-ready .u102-tab[aria-selected="true"]{background:#1478d4;border-color:#1478d4;color:#fff;box-shadow:0 3px 8px #1d73b42e}
#edit-dialog.u102-ready .u102-tab:focus-visible{outline:3px solid #4aadd6;outline-offset:2px}
#edit-dialog.u102-ready .u102-panels{min-height:310px;padding:15px 3px}
#edit-dialog.u102-ready .u102-panel[hidden]{display:none!important}
#edit-dialog.u102-ready .u102-panel{display:flex;flex-direction:column;gap:14px}
#edit-dialog.u102-ready .u102-panel>.edit-form,
#edit-dialog.u102-ready .u102-panel>form,
#edit-dialog.u102-ready .u102-panel>.u100-optional,
#edit-dialog.u102-ready .u102-panel>details{border:1px solid #dce6ec;border-radius:12px;background:#fff;padding:14px 16px;margin:0;box-shadow:0 2px 5px #122b3a09}
#edit-dialog.u102-ready .u102-panel .edit-form{border-bottom:0}
#edit-dialog.u102-ready .u102-panel .edit-form h3{margin:1px 0 5px;font-size:15px}
#edit-dialog.u102-ready .u102-panel form>button[type="submit"]{margin-top:12px}
#edit-dialog.u102-ready .u102-grid-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:13px;row-gap:12px}
#edit-dialog.u102-ready .u102-grid-fields .u102-full{grid-column:1 / -1}
#edit-dialog.u102-ready .u102-field{display:flex;flex-direction:column;gap:5px}
#edit-dialog.u102-ready .u102-field label{font-size:12px}
#edit-dialog.u102-ready .u102-field input,#edit-dialog.u102-ready .u102-field select,#edit-dialog.u102-ready .u102-field textarea{width:100%;max-width:100%;box-sizing:border-box}
#edit-dialog.u102-ready .u102-flags{display:flex;flex-wrap:wrap;gap:10px 18px;padding:10px 0;border-top:1px dashed #dce5ec;border-bottom:1px dashed #dce5ec}
#edit-dialog.u102-ready .u102-panel #u100-finance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#edit-dialog.u102-ready #u100-finance>h3,#edit-dialog.u102-ready #u100-finance>p,#edit-dialog.u102-ready #u100-finance>button{grid-column:1/-1}
#edit-dialog.u102-ready #u100-finance label{margin:0}
#edit-dialog.u102-ready .u102-note{font-size:12px;color:#60788a;line-height:1.55;margin:2px 0 8px;background:#f3f8fb;border:1px solid #e0eaf1;padding:11px 13px;border-radius:9px}
#edit-dialog.u102-ready .u102-panel details>summary{cursor:pointer;font-weight:750}
#edit-dialog.u102-ready .u102-photo-rail{position:sticky;top:0;min-width:0}
#edit-dialog.u102-ready #photo-section{display:flex;flex-direction:column;gap:10px;padding:14px;background:#f8fbfd;border:1px solid #dce7ef;border-radius:13px;box-shadow:0 2px 6px #122b3a10}
#edit-dialog.u102-ready #photo-section h3{margin:0;font-size:15px}
#edit-dialog.u102-ready #photo-section>p{font-size:11px}
#edit-dialog.u102-ready #photo-section .photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#edit-dialog.u102-ready #photo-section .photo-tile{padding:5px;min-width:0}
#edit-dialog.u102-ready #photo-section .photo-tile img{height:92px}
#edit-dialog.u102-ready #photo-section .photo-drop{min-height:78px;font-size:12px;padding:10px!important}
#edit-dialog.u102-ready #photo-section .btn{max-width:100%;align-self:stretch}
#edit-dialog.u102-ready #photo-files{max-width:100%}
#edit-dialog.u102-ready #u101b-trade-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#edit-dialog.u102-ready #u101b-trade-form>button,
#edit-dialog.u102-ready #u101b-trade-form>p{grid-column:1/-1}
#edit-dialog.u102-ready #u101b-commercial>summary{display:none}
#edit-dialog.u102-ready #u101b-commercial[open]>.u101b-panel{margin-top:0}
#edit-dialog.u102-ready #u101b-identity{margin-top:3px}
#edit-dialog.u102-ready #u100-packaging .u100-subform,
#edit-dialog.u102-ready #u100-variants .u100-subform{grid-template-columns:repeat(2,minmax(0,1fr))}
#edit-dialog.u102-ready #u100-packaging .u100-subform button,
#edit-dialog.u102-ready #u100-variants .u100-subform button,
#edit-dialog.u102-ready #u100-packaging .u100-subform p,
#edit-dialog.u102-ready #u100-variants .u100-subform p{grid-column:1/-1}
#u100-create-dialog.u102-create-ready[open]{width:min(880px,96vw);max-width:96vw;max-height:94dvh;border-radius:16px;padding:20px}
#u100-create-dialog.u102-create-ready #u100-create-form{gap:14px}
#u100-create-dialog.u102-create-ready .u102-create-group{border:1px solid #dce7ef;background:#fff;border-radius:12px;padding:14px}
#u100-create-dialog.u102-create-ready .u102-create-group h3{font-size:15px;margin:0 0 12px;color:#1b4359}
#u100-create-dialog.u102-create-ready .u102-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
#u100-create-dialog.u102-create-ready .u102-create-grid label{min-width:0;display:flex;flex-direction:column;gap:6px}
#u100-create-dialog.u102-create-ready .u102-create-grid label input,
#u100-create-dialog.u102-create-ready .u102-create-grid label select{width:100%;box-sizing:border-box}
#u100-create-dialog.u102-create-ready .u102-create-grid>details,
#u100-create-dialog.u102-create-ready .u102-create-grid>.u102-note{grid-column:1/-1}
#u100-create-dialog.u102-create-ready .u102-create-group[data-group="extra"]{background:#f9fcff}
@media(max-width:930px){
 #edit-dialog.u102-ready .u102-workspace{grid-template-columns:minmax(0,1fr) 205px;gap:12px}
 #edit-dialog.u102-ready .u102-tab{padding:8px 10px;font-size:11px}
 #edit-dialog.u102-ready .u102-photo-rail #photo-section .photo-gallery{grid-template-columns:1fr}
}
@media(max-width:690px){
 #edit-dialog.u102-ready[open]{width:calc(100vw - 10px);max-width:calc(100vw - 10px);max-height:98dvh}
 #edit-dialog.u102-ready .dialog-head{padding:12px}
 #edit-dialog.u102-ready .dialog-meta{padding:8px 12px}
 #edit-dialog.u102-ready .dialog-forms{padding:0 12px 14px}
 #edit-dialog.u102-ready .u102-topbar{flex-direction:column;align-items:flex-start;gap:3px}
 #edit-dialog.u102-ready .u102-top-subtitle{text-align:left}
 #edit-dialog.u102-ready .u102-workspace{display:flex;flex-direction:column}
 #edit-dialog.u102-ready .u102-main{width:100%;order:1}
 #edit-dialog.u102-ready .u102-photo-rail{width:100%;position:static;order:2}
 #edit-dialog.u102-ready .u102-photo-rail #photo-section .photo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
 #edit-dialog.u102-ready .u102-grid-fields,#edit-dialog.u102-ready #u100-finance,
 #edit-dialog.u102-ready #u101b-trade-form,
 #edit-dialog.u102-ready #u100-packaging .u100-subform,
 #edit-dialog.u102-ready #u100-variants .u100-subform{grid-template-columns:1fr}
 #edit-dialog.u102-ready #u100-finance>h3,#edit-dialog.u102-ready #u100-finance>p,
 #edit-dialog.u102-ready #u100-finance>button{grid-column:auto}
 #u100-create-dialog.u102-create-ready .u102-create-grid{grid-template-columns:1fr}
 #u100-create-dialog.u102-create-ready .u102-create-grid>details{grid-column:auto}
}
/* Video referansındaki sade mavi birincil işlem vurgusu. */
#edit-dialog.u102-ready .u102-panel .btn.primary,
#edit-dialog.u102-ready .u102-photo-rail .btn.primary,
#u100-create-dialog.u102-create-ready .btn.primary{background:#187bd0;border-color:#187bd0;color:#fff}
#edit-dialog.u102-ready .u102-panel .btn.primary:hover,
#edit-dialog.u102-ready .u102-photo-rail .btn.primary:hover,
#u100-create-dialog.u102-create-ready .btn.primary:hover{background:#1168b6;border-color:#1168b6}
