/* AnunturiHoreca.ro - stiluri comune pentru calculatoarele simple */
.ghc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ghc-grid label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px;color:#1e293b}
.ghc-grid .ghc-wide{grid-column:1/-1}
.ghc-grid [hidden],.ghc-highlight[hidden]{display:none!important}
.ghc-grid small{font-weight:400;color:#64748b;font-size:12px}
.ghc-grid input,.ghc-grid select,.ghc-ing-row input{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #d6dde6;border-radius:12px;font-size:16px;background:#fff;color:#0f172a}
.ghc-grid input:focus,.ghc-grid select:focus,.ghc-ing-row input:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.18)}
.ghc-mode{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.ghc-mode button{border:1px solid #d6dde6;background:#fff;color:#0f172a;padding:10px 16px;border-radius:999px;font-weight:700;cursor:pointer}
.ghc-mode button.active{background:#0f1f3d;border-color:#0f1f3d;color:#fff}
.ghc-sub{margin-top:26px;padding-top:22px;border-top:1px dashed #d6dde6}
.ghc-sub h3{margin:0 0 6px;font-size:18px;color:#0f1f3d}
.ghc-sub p{margin:0 0 14px;color:#64748b;font-size:14px}
.ghc-ing-head,.ghc-ing-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 40px;gap:8px;align-items:center}
.ghc-ing-head{font-size:12px;font-weight:700;color:#64748b;margin-bottom:6px}
.ghc-ing-row{margin-bottom:8px}
.ghc-ing-row input{padding:10px 10px;font-size:15px}
.ghc-ing-cost{grid-column:1/-1;font-size:12px;color:#64748b;margin-top:-4px}
.ghc-remove{width:40px;height:40px;border:0;border-radius:10px;background:#fee2e2;color:#b91c1c;cursor:pointer;font-size:16px}
.ghc-add{margin-top:6px;border:1px dashed #14b8a6;background:#f0fdfa;color:#0f766e;padding:10px 14px;border-radius:12px;font-weight:700;cursor:pointer}
.ghc-formula{background:#f1f5f9;border-radius:12px;padding:14px 16px;font-family:Consolas,monospace;font-size:14px;color:#0f172a;margin:12px 0;overflow-x:auto}
.ghc-products{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}
.ghc-products a{color:#0f766e;font-weight:600;text-decoration:none}
.ghc-products a:hover{text-decoration:underline}
.ghc-highlight{background:#f0fdfa;border:1px solid #99f6e4;border-radius:14px;padding:14px 16px;margin-top:14px;color:#134e4a;font-size:14px}
.ghc-highlight strong{display:block;font-size:20px;color:#0f766e;margin-top:4px}
.ghc-related{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ghc-related a{background:#fff;border:1px solid #d6dde6;border-radius:999px;padding:8px 14px;color:#0f1f3d;font-weight:600;text-decoration:none;font-size:14px}
.ghc-related a:hover{border-color:#14b8a6;color:#0f766e}
@media(max-width:640px){
 .ghc-grid{grid-template-columns:1fr}
 .ghc-ing-head{display:none}
 .ghc-ing-row{grid-template-columns:1fr 1fr;padding:10px;border:1px solid #e2e8f0;border-radius:12px}
 .ghc-ing-row input:first-child{grid-column:1/-1}
 .ghc-remove{width:100%}
}
@media print{.ghc-add,.ghc-remove,.ghc-mode{display:none}}

/* ===== Fise printabile (26 oct) ===== */
.ghc-ing-row select{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d6dde6;border-radius:12px;font-size:15px;background:#fff}
.ghs-textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #d6dde6;border-radius:12px;font-size:15px;font-family:inherit;resize:vertical}
.ghs-aside-text{padding:4px 2px 12px;font-size:14px;color:#334155}
.ghs-print-btn{width:100%;border:0;cursor:pointer;font:inherit}
.ghs-preview{margin-bottom:28px}
.ghs-preview h3{font-size:18px;color:#0f1f3d;margin:0 0 10px}
.ghs-paper-wrap{overflow-x:auto;background:#e2e8f0;border-radius:16px;padding:16px}
.ghs-sheet{background:#fff;color:#0f172a;width:190mm;min-width:190mm;margin:0 auto;padding:10mm;box-shadow:0 6px 24px rgba(15,31,61,.12);box-sizing:border-box;font-size:11px;line-height:1.35}
.ghs-sheet.ghs-landscape{width:277mm;min-width:277mm}
.ghs-page{position:relative}
.ghs-page+.ghs-page{margin-top:14mm;padding-top:10mm;border-top:2px dashed #cbd5e1}
.ghs-sheet h2{font-size:18px;color:#0f1f3d;margin:0 0 8px}
.ghs-sheet h3{font-size:13px;color:#0f1f3d;margin:10px 0 4px}
.ghs-sheet table{width:100%;border-collapse:collapse;margin:0 0 6px}
.ghs-sheet th,.ghs-sheet td{border:1px solid #94a3b8;padding:3px 5px;vertical-align:middle}
.ghs-sheet th{background:#e2e8f0;font-size:10px}
.ghs-fields td{height:8mm}
.ghs-center td,.ghs-center th{text-align:center}
.ghs-sheet .ghs-left,.ghs-sheet .ghs-dish{text-align:left}
.ghs-matrix th small{font-weight:400;font-size:8px;display:block}
.ghs-matrix td.ghs-dish{min-width:45mm}
.ghs-poster td{height:12mm}
.ghs-poster .ghs-num{width:10mm;text-align:center;font-weight:700;background:#ccfbf1}
.ghs-lead{font-size:12px;margin:0 0 8px}
.ghs-note{font-size:9px;color:#64748b;margin:4px 0}
.ghs-foot{font-size:8px;color:#94a3b8;margin-top:6px;text-align:right}
.ghs-total td{font-weight:700;background:#f1f5f9}
.ghs-steps{margin:0 0 6px 18px;padding:0}
.ghs-check .ghs-box{width:7mm;text-align:center;font-size:14px}
.ghs-check .ghs-term{width:30mm}
.ghs-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;align-items:center}
.ghs-chip{display:inline-flex;gap:6px;align-items:center;border:1px solid #d6dde6;border-radius:999px;padding:6px 12px;font-size:14px;cursor:pointer;background:#fff}
.ghs-alg-wrap{overflow-x:auto;margin:14px 0 6px;border:1px solid #e2e8f0;border-radius:12px}
.ghs-alg-table{border-collapse:collapse;min-width:760px;width:100%}
.ghs-alg-table th,.ghs-alg-table td{border-bottom:1px solid #e2e8f0;padding:6px 4px;text-align:center}
.ghs-alg-table th{font-size:11px;color:#334155;vertical-align:bottom}
.ghs-alg-table th small{display:block;font-weight:400;font-size:10px;color:#64748b;max-width:56px;margin:0 auto}
.ghs-alg-table th span{display:block;font-weight:800}
.ghs-alg-table .ghs-dish{text-align:left;min-width:170px}
.ghs-alg-table .ghs-dish input{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid #d6dde6;border-radius:10px;font-size:14px}
.ghs-alg-table input[type=checkbox]{width:18px;height:18px}
.ghs-progress{height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}
.ghs-progress-bar{height:100%;width:0;background:#14b8a6;transition:width .3s}
.ghs-progress-text{font-size:14px;color:#334155;margin:8px 0 16px}
.ghs-chk-group{margin-top:18px}
.ghs-chk-group h3{font-size:17px;color:#0f1f3d;margin:0 0 8px}
.ghs-chk{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:8px;cursor:pointer;font-size:15px;background:#fff}
.ghs-chk input{width:20px;height:20px;flex:0 0 auto;margin-top:1px}
.ghs-chk input:checked+span{color:#64748b;text-decoration:line-through}
@media(max-width:640px){.ghs-r-head{display:none}}
#ghs-print-root{display:none}
@media print{
 body.ghs-printing>*:not(#ghs-print-root){display:none!important}
 body.ghs-printing #ghs-print-root{display:block!important}
 body.ghs-printing{background:#fff!important;margin:0!important;padding:0!important}
 #ghs-print-root .ghs-sheet{width:auto!important;min-width:0!important;margin:0;padding:0;box-shadow:none}
 #ghs-print-root .ghs-page+.ghs-page{border-top:0;margin-top:0;padding-top:0}
 #ghs-print-root .ghs-break{break-after:page;page-break-after:always}
 #ghs-print-root th,#ghs-print-root .ghs-num,#ghs-print-root .ghs-total td{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 #ghs-print-root tr{break-inside:avoid}
}
