/* Add Item only: approved vintage native botanical design. Inventory and Dashboard styles untouched. */
#content .plh-add-page{--plh-ink:#293c28;--plh-cream:#f9f5ee;--plh-soft:#ede9dd;--plh-line:#e4d9c7;color:var(--plh-ink);max-width:1500px;margin:0 auto;padding-bottom:24px}
#content .plh-add-hero{display:grid;grid-template-columns:44% 56%;position:relative;overflow:hidden;min-height:225px;border:1px solid #e0d1b9;border-radius:23px;margin-bottom:16px;background:#f6ead8;box-shadow:0 9px 26px #4c38231a}
#content .plh-hero-copy{position:relative;z-index:1;padding:32px 26px 30px 37px;background:linear-gradient(90deg,#f8ecdb 85%,#f8ecdb00 100%);display:flex;flex-direction:column;justify-content:center}
#content .plh-kicker{font-size:10px;letter-spacing:.16em;font-weight:700;color:#6e7c53}
#content .plh-add-hero h1{font-family:Georgia,serif;font-weight:650;letter-spacing:-.035em;color:#243d27;font-size:clamp(30px,3.5vw,53px);margin:15px 0 4px!important;line-height:1.1}
#content .plh-add-hero p{font-size:15px;line-height:1.6;color:#4f4337;max-width:330px;margin:6px 0 0}
#content .plh-hero-photo{background-image:linear-gradient(90deg,#f8ecdb 0%,#f8ecdb00 23%),url('add-item-original-still-life.jpg');background-size:cover;background-position:center 36%;min-height:225px}
#content .plh-add-form{display:grid;gap:15px}
#content .plh-add-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#fffdfa,#f8f4ed);border:1px solid #e4d9ca;border-radius:18px;box-shadow:0 6px 22px #5e4d3212;padding:19px 20px}
#content .plh-add-card:before{content:none}
#content .plh-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;position:relative;z-index:1}
#content .plh-card-heading h2{font-family:Georgia,serif;font-size:21px;font-weight:650;color:#244328;margin:0 0 4px}
#content .plh-card-heading p{font-size:12px;color:#756b5c;margin:0;line-height:1.5}
#content .plh-photo-count{background:#e6eddf;border:1px solid #cdddc5;padding:8px 12px;border-radius:999px;font-size:11px;color:#365b37;white-space:nowrap}
#content .plh-photo-panel{display:grid;grid-template-columns:minmax(260px,1.35fr) minmax(240px,1fr);gap:12px}
#content .plh-photo-upload .photo-upload-box{display:flex!important;position:relative;min-height:172px!important;background:linear-gradient(140deg,#f9f5ed,#eef2e9)!important;border:1.5px dashed #b9c9b0!important;border-radius:14px!important;padding:23px!important;justify-content:center;align-items:center;gap:14px}
#content .plh-photo-upload .photo-upload-box strong{font-size:14px}
#content .plh-photo-slot-visuals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#content .plh-photo-slot-visuals span{display:grid;place-items:center;background:#f8f5ef;border:1.5px dashed #d9d1c2;border-radius:12px;color:#998b77;font-size:12px;min-height:75px}
#content .plh-photo-upload .photo-preview-grid{margin-top:12px}
#content .plh-add-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:stretch}
#content .plh-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;position:relative;z-index:1}
#content .plh-fields>div{min-width:0}
#content .plh-fields .plh-full{grid-column:1/-1}
#content .plh-fields label{display:block;font-size:12px;font-weight:700;color:#3f4131;margin-bottom:6px}
#content .plh-fields input,#content .plh-fields select,#content .plh-fields textarea{width:100%;min-width:0;border-radius:9px!important;border:1px solid #d8d1c6!important;background:#fffdfa!important;padding:11px 12px!important;min-height:43px!important;box-shadow:none!important;color:#2d392e}
#content .plh-fields textarea{min-height:93px!important;resize:vertical}
#content .plh-fields input:focus,#content .plh-fields select:focus,#content .plh-fields textarea:focus{outline:2px solid #8aaa81;outline-offset:1px}
#content .plh-fields .pricing-calculator{padding:14px!important;border-radius:12px!important;background:#f6f2e9!important;border:1px solid #e6dbc8!important;margin:0!important}
#content .pricing-calculator .pricing-title-row{flex-wrap:wrap;gap:8px}
#content .pricing-calculator .pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}
#content .pricing-calculator .readout{min-width:0;font-size:13px;padding:10px 7px}
#content .pricing-calculator .quick-markups{gap:6px!important}
#content .pricing-calculator .markup-chip{padding:7px 9px!important;font-size:11px!important;border-radius:9px!important}
#content .pricing-calculator .pricing-note{line-height:1.5}
#content .pricing-summary{margin:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:16px 12px!important;background:#e8ede0!important;border:1px solid #cad7bd!important;border-radius:12px!important}
#content .pricing-summary>div{min-width:0;text-align:center}
#content .pricing-summary span{font-size:11px}
#content .pricing-summary strong{font-size:clamp(16px,2vw,23px)!important;color:#244d2b}
#content .plh-stock-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
#content .plh-add-actions{padding:9px 0!important;margin:0!important;display:flex!important;justify-content:flex-end!important;gap:12px!important;align-items:center}
#content .plh-add-actions .primary{min-width:180px!important;background:linear-gradient(#3d7040,#2d5730)!important;color:white!important;border-radius:10px!important;padding:14px 26px!important;box-shadow:0 8px 16px #305a3030!important}
#content .plh-add-actions .secondary{border-radius:10px!important}
/* Sidebar decoration intentionally scoped to active Add page only; structure and navigation preserved. */
body.plh-add-active .sidebar{background-color:#17351e!important}
body.plh-add-active .sidebar::after{opacity:.6!important}
@media(max-width:1180px){#content .plh-add-columns{grid-template-columns:1fr}}
@media(max-width:720px){#content .plh-add-hero{grid-template-columns:1fr}#content .plh-hero-copy{padding:27px 22px 22px}#content .plh-hero-photo{min-height:160px}#content .plh-photo-panel{grid-template-columns:1fr}#content .plh-stock-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#content .plh-add-card{padding:17px 14px}#content .plh-photo-slot-visuals{grid-template-columns:repeat(5,minmax(0,1fr))}#content .plh-photo-slot-visuals span{font-size:10px;min-height:65px}}
@media(max-width:460px){#content .plh-fields{grid-template-columns:1fr}#content .plh-fields .plh-full{grid-column:auto}#content .pricing-calculator .pricing-grid{grid-template-columns:1fr!important}#content .plh-photo-slot-visuals{grid-template-columns:repeat(3,minmax(0,1fr))}#content .plh-photo-count{display:none}#content .plh-add-actions{justify-content:stretch!important}#content .plh-add-actions button{flex:1}}

/* Photo grid: actual selected photos and only genuinely empty slots are shown. */
#content .plh-photo-slot-visuals.plh-no-slots{display:none}
#content .plh-photo-upload .photo-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#content .plh-photo-upload .photo-preview-tile{min-width:0}
#content .plh-photo-upload .photo-preview-tile img{width:100%;height:115px;object-fit:cover}
@media(max-width:540px){#content .plh-photo-upload .photo-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V03 TEST refinement: photo-realistic moss + timber accent on Add Item ONLY.
   Keep nav labels, logo and markup intact. Suppress inherited gum illustration
   for Add Item without changing the approved global stylesheet. */
@media (min-width: 721px) {
  body.plh-add-active .sidebar {
    background-color:#122c1d!important;
    background-image:linear-gradient(180deg,#102819 0%,#173921 72%,#183720 100%)!important;
    isolation:isolate;
  }
  body.plh-add-active .sidebar::after {
    background-image:linear-gradient(180deg,rgba(15,39,25,0) 0%,rgba(15,39,25,.04) 25%,rgba(15,39,25,.12) 100%),url('add-item-moss-timber-panel.png')!important;
    background-repeat:no-repeat!important;
    background-size:100% 100%!important;
    background-position:center bottom!important;
    height:51%!important;
    opacity:1!important;
    pointer-events:none!important;
  }
  body.plh-add-active .sidebar::before {
    content:'';
    position:absolute;
    left:0;right:0;top:0;height:26%;
    background:linear-gradient(180deg,rgba(31,57,34,.2),rgba(15,39,25,0));
    z-index:0;pointer-events:none;
  }
  body.plh-add-active .sidebar > * {position:relative;z-index:1}
}


/* Floral accents restored for approved Add Item look. */
#content .plh-hero-copy{padding-right:120px}
#content .plh-hero-copy::after{
  content:'';
  position:absolute;
  top:18px;
  right:12px;
  width:175px;
  height:72px;
  background:url('content-top-right-botanical-v22-clean.png') no-repeat center/contain;
  opacity:.92;
  pointer-events:none;
}
#content .plh-card-heading{padding-right:96px}
#content .plh-card-heading::after{
  content:'';
  position:absolute;
  top:-10px;
  right:-8px;
  width:92px;
  height:92px;
  background:url('card-corner-botanical-v22-good.png') no-repeat center/contain;
  opacity:.88;
  pointer-events:none;
}
@media(max-width:900px){
  #content .plh-hero-copy{padding-right:38px}
  #content .plh-hero-copy::after{width:130px;height:54px;right:6px;top:14px;opacity:.78}
}
@media(max-width:720px){
  #content .plh-hero-copy{padding-right:22px}
  #content .plh-hero-copy::after{display:none}
  #content .plh-card-heading{padding-right:72px}
  #content .plh-card-heading::after{width:68px;height:68px;top:-8px;right:-6px;opacity:.75}
}


/* V04 refinement: remove small toolbar line above Add New Item */
#content .plh-kicker{display:none}
#content .plh-add-hero h1{margin:0 0 8px!important}
