.fertilizer-shelf{font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--text,#14231b);background:var(--bg,#f4f7f5);padding:0 0 14px}
.fertilizer-shelf *{box-sizing:border-box}
.fertilizer-shelf [hidden]{display:none!important}
.fs-heading{display:flex;align-items:center;gap:12px;padding:22px 60px 12px 18px;background:var(--card,#fff)}
.fs-heading svg,.fs-product-head>svg{width:32px;height:36px;flex-shrink:0}
.fs-heading h2{font-size:23px;line-height:1.3;margin:0}
.fs-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:8px 12px 12px;background:var(--card,#fff)}
.fs-tabs button.secondary{padding:10px 5px;font-size:12px;line-height:1.4;min-width:0;background:transparent;color:var(--muted,#6d7d73)}
.fs-tabs button[aria-selected=true]{background:var(--green2,#e8f5ee);color:var(--green,#1f7a4d)}
.fertilizer-shelf>[data-fs-panel]:not(.fs-calculator-pane){padding:16px}
.fertilizer-shelf button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.fs-toolbar,.fs-actions{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}
.fs-actions{margin:12px 0 0;justify-content:flex-start}.fs-actions .secondary{font-size:12px;padding:10px 12px}
.fs-product{background:var(--card,#fff);border:1px solid var(--border,#dbe6de);border-radius:18px;padding:16px;margin:0 0 12px;overflow-wrap:anywhere}
.fs-product-head{display:flex;align-items:flex-start;gap:12px}.fs-product-head>div{min-width:0}
.fertilizer-shelf h3{font-size:16px;margin:0 0 8px;line-height:1.4}.fs-product-head h3{margin:2px 0}
.fs-product-head small,.fs-hint,.fs-empty{color:var(--muted,#6d7d73);font-size:12px;line-height:1.55}
.fs-stars{color:var(--amber,#a96b00);letter-spacing:2px;font-size:17px}
.fs-dose{padding:9px 11px;border-radius:10px;background:var(--green2,#e8f5ee);font-size:13px;margin:10px 0}
.fs-note{white-space:pre-wrap;font-size:13px;margin:10px 0}.fs-hint{margin:10px 0}.fs-status{font-size:13px;padding:0 16px;margin:8px 0 0;overflow-wrap:anywhere}
.fertilizer-shelf label{display:block;font-size:12px;font-weight:600;margin:12px 0 6px}
.fertilizer-shelf input,.fertilizer-shelf select,.fertilizer-shelf textarea{font:inherit;display:block;width:100%;min-width:0;min-height:44px;border:1px solid var(--border,#cbdace);border-radius:10px;background:var(--card,#fff);color:var(--text,#14231b);padding:10px 11px;font-size:16px}
.fertilizer-shelf textarea{min-height:88px;resize:vertical}.fs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}
.fs-form fieldset{border:1px solid var(--border,#dbe6de);border-radius:12px;padding:10px 12px;margin:12px 0;min-width:0}.fs-form legend{font-size:13px;font-weight:700;padding:0 5px}
.fs-form h4{margin:18px 0 0}.fs-gallery{padding:12px;border:1px dashed #8bb39b;border-radius:12px;background:var(--green2,#e8f5ee)}
.fs-gallery input[type=file]{padding:5px;font-size:12px;border:0;background:transparent}.fs-gallery img{display:block;max-width:100%;max-height:260px;object-fit:contain;margin-top:10px}
.fs-rating{display:flex;gap:2px}.fs-rating button{font-size:28px;padding:3px 7px;border:0;background:transparent;color:var(--muted,#6d7d73)}.fs-rating button[aria-pressed=true]{color:var(--amber,#a96b00)}
.fertilizer-shelf details{margin:14px 0;border-top:1px solid var(--border,#dbe6de);padding-top:12px}.fertilizer-shelf summary{font-size:13px;font-weight:600;color:var(--green,#1f7a4d);cursor:pointer;min-height:36px}
.fs-form>.primary{margin-top:18px}.fs-calc-tools{margin:0 0 18px}.fs-calc-tools [data-fs-dose-choice]{display:flex;gap:8px;margin-top:8px}.fs-calc-tools label{color:#245c3a}
#terrasky-fertilizer-calculator .fs-calc-tools input{padding:10px 11px!important}
#terrasky-fertilizer-calculator .fs-calc-tools .secondary{background:#e8f5ee;color:#1f7a4d;padding:10px 13px;border-radius:12px}
#terrasky-fertilizer-calculator .fc-new-app>div:first-child>div:nth-child(2)>svg{width:32px;height:36px}
@media(max-width:640px){.fs-calculator-pane #terrasky-fertilizer-calculator .fc-new-app>div:first-child>div:nth-child(2){display:inline-flex;padding:0;border:0;background:transparent;margin-bottom:5px;box-shadow:none}.fs-heading h2{font-size:21px}}
.fertilizer-shelf :is(button,input,select,textarea,summary):focus-visible{outline:2px solid var(--green,#1f7a4d);outline-offset:3px}

.fs-heading[hidden]+.fs-tabs{padding-right:60px}

/* R37.119: consistent file and clipboard actions. */
.fs-gallery-title{display:block;font-size:13px;font-weight:700;margin-bottom:10px}
.fs-gallery-actions{display:flex;gap:8px;flex-wrap:wrap}
.fs-gallery-actions .secondary{flex:1;min-width:110px;font-size:13px;padding:11px 12px}
.fs-gallery [data-fs-paste-target]{min-height:82px;font-weight:400}
.fs-gallery [data-fs-clear-photo]{margin-top:10px;font-size:12px}

/* R37.120: captions and controls occupy separate, stable rows while typing. */
.fertilizer-shelf .fs-form{display:flex;flex-direction:column;gap:16px;min-width:0;}
.fertilizer-shelf :is(.fs-form,.fs-calc-tools) label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;position:static;margin:0;padding:0;line-height:1.4;}
.fertilizer-shelf .fs-field-caption{display:block;min-width:0;position:static;transform:none;font-size:12px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere;}
.fertilizer-shelf .fs-form .fs-grid{gap:16px 12px;align-items:stretch;}
.fertilizer-shelf .fs-form .fs-grid>label>.fs-field-caption{flex:1;}
.fertilizer-shelf :is(.fs-form,.fs-calc-tools) :is(input:not([type=file]),select,textarea){position:static;transform:none;display:block;float:none;width:100%;min-width:0;box-sizing:border-box;margin:0;padding:10px 12px;font-size:16px;font-weight:400;line-height:24px;flex:0 0 auto;}
.fertilizer-shelf :is(.fs-form,.fs-calc-tools) :is(input:not([type=file]),select){height:48px;min-height:48px;}
.fertilizer-shelf :is(.fs-form,.fs-calc-tools) textarea{height:auto;min-height:96px;resize:vertical;}
.fertilizer-shelf .fs-form :is(fieldset,details,h4),.fertilizer-shelf .fs-form>.fs-toolbar,.fertilizer-shelf .fs-form>.primary{margin:0;}
.fertilizer-shelf .fs-form .fs-gallery-actions{margin-bottom:12px;}
@media(max-width:360px){.fertilizer-shelf .fs-form .fs-grid{grid-template-columns:minmax(0,1fr);}}

/* R37.121: no popup title; labels and controls are independent block siblings. */
.fertilizer-shelf>.fs-tabs{padding:12px 62px 12px 12px;align-items:stretch;}
.fertilizer-shelf>.fs-tabs button{min-height:44px;}
.fertilizer-shelf .fs-field{display:flex;flex-direction:column;gap:10px;min-width:0;max-width:100%;margin:0;padding:0;position:static;}
.fertilizer-shelf .fs-form .fs-field>.fs-field-caption,.fertilizer-shelf .fs-calc-tools .fs-field>.fs-field-caption{display:block;position:static;float:none;transform:none;min-height:18px;margin:0;padding:0;font-size:12px;line-height:18px;white-space:normal;overflow-wrap:anywhere;flex:1;}
.fertilizer-shelf .fs-form .fs-grid{row-gap:18px;align-items:stretch;}
.fertilizer-shelf :is(.fs-form,.fs-calc-tools) .fs-field>:is(input,select){display:block;position:static;inset:auto;transform:none;height:48px;min-height:48px;max-height:48px;margin:0;line-height:24px;}
.fertilizer-shelf :is(.fs-form,.fs-calc-tools) .fs-field>textarea{display:block;position:static;transform:none;margin:0;min-height:96px;line-height:24px;}
.fertilizer-shelf :is(.fs-form,.fs-calc-tools) :is(input,select,textarea):focus-visible{outline-offset:0;}
.fertilizer-shelf :is(.fs-product,.fs-toolbar,.fs-gallery,fieldset,details){min-width:0;max-width:100%;}
.fertilizer-shelf .fs-product-head>div{flex:1;}
.fertilizer-shelf .fs-note{line-height:1.6;overflow-wrap:anywhere;}

.fertilizer-shelf .fs-form details>.fs-field+.fs-field{margin-top:16px}
.fertilizer-shelf .fs-calc-tools>summary+.fs-field{margin-top:12px}

/* R37.122: one native Browse control; paste remains in the text area. */
.fs-gallery input[type=file]{display:block;width:100%;max-width:100%;font-size:12px;margin:10px 0 14px;padding:0;min-height:44px}
.fs-gallery input[type=file]::file-selector-button{font:inherit;font-weight:700;padding:12px 16px;min-height:44px;border:0;border-radius:12px;background:var(--green2,#e8f5ee);color:var(--green,#1f7a4d);margin-right:10px;cursor:pointer}
.fs-export-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:6px 0 14px}
.fs-export-row h3{margin:0;font-size:14px}.fs-export-row [data-fs-count]{font-weight:400;color:var(--muted,#6d7d73)}
.fs-export-row .fs-actions{margin:0}.fs-export-row button:disabled{opacity:.5;cursor:default}

.fs-gallery input[type=file]::file-selector-button{border:1px solid var(--border,#cbdace)}

.fs-saved-photo{display:block;max-width:100%;max-height:420px;object-fit:contain;margin:12px auto;border-radius:10px}

/* R37.126: compact natural recipe method and small-container controls. */
.fertilizer-shelf .fs-type-row.fs-single-type{grid-template-columns:minmax(0,1fr)}
.fs-container-choices{margin:12px 0 0;font-size:12px}.fs-container-choices>span{display:block;margin-bottom:7px;font-weight:600}
.fs-container-choices>div{display:flex;gap:7px;flex-wrap:wrap}.fs-container-choices button.secondary{min-width:55px;padding:9px 12px}
.fs-container-choices button[aria-pressed=true]{background:var(--green,#1f7a4d);color:#fff}

/* R37.134: artwork above the translucent heading and purpose band. */
.fertilizer-shelf .fs-list-banner{position:relative;display:block;margin:-16px -16px 16px;background:#f4f7f5;text-align:center;overflow:hidden;padding:0;}
.fertilizer-shelf .fs-list-banner::before{content:none;}
.fertilizer-shelf .fs-banner-art{position:relative;container-type:inline-size;}
.fertilizer-shelf .fs-list-banner .fs-banner-image{display:block;width:100%;max-width:100%;height:auto;max-height:none;margin:0;padding:0;border:0;border-radius:0;}
.fertilizer-shelf .fs-banner-caption{padding:14px 16px;background:rgba(255,255,255,.22);}
.fertilizer-shelf .fs-list-banner h2{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:24px;font-weight:800;line-height:32px;letter-spacing:-.025em;color:#14532d;text-shadow:none;margin:0 0 6px;padding:0;text-align:center;}
.fertilizer-shelf .fs-banner-caption p{margin:0;color:#356346;font-size:13px;line-height:1.4;}
@media(min-width:640px){.fertilizer-shelf .fs-list-banner h2{font-size:30px;line-height:36px;}}
@media(max-width:640px){.fertilizer-shelf .fs-list-banner h2{font-size:19px;line-height:1.2;}.fertilizer-shelf .fs-banner-caption p{font-size:11px;line-height:1.35;}}
@media(max-width:380px){.fertilizer-shelf .fs-list-banner h2{font-size:17px;}}

.fertilizer-shelf .fs-banner-formulas{position:absolute;inset:0;pointer-events:none;color:#143c24;font-family:Georgia,"Times New Roman",serif;font-weight:700;line-height:1;text-shadow:0 1px 3px rgba(255,255,235,.75);}
.fertilizer-shelf .fs-banner-formulas span{position:absolute;white-space:nowrap;transform:translate(-50%,-50%) rotate(var(--angle));font-size:clamp(15px,var(--size),38px);}
.fertilizer-shelf .fs-banner-formulas span:nth-child(1){left:29%;top:21%;--angle:-10deg;--size:4.7cqw;}
.fertilizer-shelf .fs-banner-formulas span:nth-child(2){left:60%;top:26%;--angle:7deg;--size:4.2cqw;}
.fertilizer-shelf .fs-banner-formulas span:nth-child(3){left:43%;top:54%;--angle:-5deg;--size:3.4cqw;}
.fertilizer-shelf .fs-banner-formulas span:nth-child(4){left:47%;top:11%;--angle:12deg;--size:3.7cqw;}
.fertilizer-shelf .fs-banner-formulas span:nth-child(5){left:72%;top:57%;--angle:-12deg;--size:4.1cqw;}
.fertilizer-shelf .fs-banner-formulas span:nth-child(6){left:23%;top:66%;--angle:9deg;--size:3.8cqw;}

/* R37.141 — compact icons beside both fertilizer tab labels. */
.fertilizer-shelf>.fs-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0}
.fertilizer-shelf>.fs-tabs .fs-tab-art{display:flex;align-items:center;justify-content:center;width:21px;height:24px;flex:0 0 21px;color:#316447}
.fertilizer-shelf>.fs-tabs .fs-tab-art svg{display:block;width:21px;height:24px;flex:none}
.fertilizer-shelf>.fs-tabs .fs-tab-label{min-width:0;overflow-wrap:anywhere}

/* R37.173: product heading opens the existing editor. */
.fertilizer-shelf button.fs-product-head{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0;padding:0;margin:0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:inherit;font:inherit;text-align:start;cursor:pointer;}
.fs-product-icon{display:flex;flex-shrink:0;width:32px;height:36px}.fs-product-icon>svg{width:32px;height:36px}
.fs-product-heading{display:block;flex:1;min-width:0}.fs-product-heading small{display:block;font-weight:400}
.fs-product-name{display:block;font-size:16px;font-weight:700;line-height:1.4;margin:2px 0}.fs-product-heading .fs-stars{display:block;font-weight:400}
.fertilizer-shelf button.fs-product-head:active{opacity:.75}

/* R37.212: native file input overlays the localized gallery button. */


/* R37.215: visible concentration block beside the saved label dose. */
.fertilizer-shelf .fs-concentration{display:grid;gap:6px;margin:10px 0 14px;padding:12px 14px;border:2px solid #54836a;border-left-width:6px;border-radius:12px;background:#e9f5ed;color:#214b35;min-width:0;overflow-wrap:anywhere}
.fertilizer-shelf .fs-concentration br{display:none}
.fertilizer-shelf .fs-concentration-title{font-size:12px;font-weight:700;line-height:1.4}
.fertilizer-shelf .fs-concentration strong{font-size:22px;font-weight:800;line-height:1.25;color:#194d32}
.fertilizer-shelf .fs-concentration small{font-size:11px;line-height:1.4;color:#405e4c}
.fertilizer-shelf .fs-form fieldset[data-fs-dose]{border:3px solid #54836a;border-radius:14px;padding:14px;margin:8px 0}
.fertilizer-shelf .fs-form fieldset[data-fs-dose="soil"]{border-color:#397d77}
.fertilizer-shelf .fs-form fieldset[data-fs-dose] legend{padding:0 8px;font-size:15px;font-weight:800}

/* R37.216: icon within the existing dose row; original row spacing retained. */
.fertilizer-shelf .fs-dose{position:relative}
.fertilizer-shelf .fs-dose-copy{display:block;padding-right:26px}
.fertilizer-shelf button.fs-dose-calc{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:26px;height:28px;min-height:0;padding:3px;border:0;border-radius:5px;background:transparent;color:var(--green,#1f7a4d);box-shadow:none;cursor:pointer}
.fertilizer-shelf .fs-dose-calc svg{display:block;width:20px;height:22px;flex:none}
.fertilizer-shelf .fs-dose-calc:focus-visible{outline:2px solid currentColor;outline-offset:1px}

/* Product heading and independent delete action. */
.fs-product-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px;min-width:0}
.fertilizer-shelf .fs-product-top .fs-product-head{flex:1;width:auto;min-width:0}
.fertilizer-shelf button.fs-product-delete{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:10px;margin:0;border:0;border-radius:12px;background:transparent;color:var(--muted,#6d7d73);box-shadow:none;cursor:pointer}
.fs-product-delete svg{width:24px;height:24px;pointer-events:none}
.fertilizer-shelf button.fs-product-delete:hover{color:#b42318;background:rgba(180,35,24,.08)}
.fertilizer-shelf button.fs-product-delete:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* R37.334 fertilizer guide */
.fs-guide{background:var(--card,#fff);border:1px solid var(--border,#dbe6de)!important;border-radius:14px;padding:12px!important;margin:0 0 16px!important}
.fs-guide>summary{font-size:14px;line-height:1.5;min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
.fs-guide-body{padding-top:8px}.fs-guide-search{margin:0 0 12px!important}.fs-guide-scroll{overflow-x:auto;max-width:100%}
.fs-guide table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5;min-width:260px}
.fs-guide th,.fs-guide td{padding:9px 7px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border,#dbe6de)}
.fs-guide th{font-weight:650}.fs-guide a{color:var(--green,#1f7a4d);overflow-wrap:anywhere}
.fs-guide [hidden]{display:none!important}.fs-nutrient-info{margin:5px 0!important;padding:3px 0!important;border:0!important}
.fs-nutrient-info summary{font-size:12px!important;min-height:30px!important}.fs-nutrient-info p{font-size:12px;line-height:1.5;margin:4px 0}
.fs-nutrient-unverified{display:block;color:var(--muted,#6d7d73);font-size:11px;margin-top:4px}

/* R37.337: fertilizer guide shares the Add fertilizer toolbar, right aligned. */
.fertilizer-shelf .fs-toolbar-guide{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fertilizer-shelf .fs-toolbar-guide>[data-fs-add]{flex:0 0 auto}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide{flex:0 1 auto;width:auto;max-width:100%;min-width:0;margin:0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide>summary{min-height:44px;justify-content:flex-end;text-align:right;cursor:pointer;padding:0 2px;color:var(--green,#1f7a4d)}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide[open]{flex-basis:100%;width:100%;padding:12px!important;border:1px solid var(--border,#dbe6de)!important;border-radius:14px;background:var(--card,#fff)!important}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide[open]>summary{justify-content:flex-start;text-align:left}
@media(max-width:420px){.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide>summary{font-size:12px;line-height:1.3}}

/* R37.338: Library button beside Add fertilizer, tooltip on hover/focus/tap. */
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide{position:relative;display:flex;align-items:center;gap:4px;overflow:visible}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide>summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 13px!important;border-radius:15px;background:#e7f5ee;color:#137749;font-weight:650;white-space:nowrap;list-style:none}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide>summary::-webkit-details-marker{display:none}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide>summary::marker{content:''}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide>summary svg{width:18px;height:18px;flex:none}
.fertilizer-shelf .fs-guide-help{position:relative;display:inline-flex;align-items:center}
.fertilizer-shelf .fs-guide-help-button{border:0!important;background:transparent!important;color:#137749!important;min-width:24px!important;min-height:32px!important;padding:3px!important;font-size:17px!important;cursor:help}
.fertilizer-shelf .fs-guide-tooltip{display:none;position:absolute;right:0;bottom:calc(100% + 9px);z-index:40;width:min(290px,75vw);background:#173e2d;color:white;border-radius:9px;padding:10px 12px;font-size:12px;line-height:1.45;box-shadow:0 5px 18px #0002;text-align:left;white-space:normal}
.fertilizer-shelf .fs-guide-help:hover .fs-guide-tooltip,.fertilizer-shelf .fs-guide-help:focus-within .fs-guide-tooltip,.fertilizer-shelf .fs-guide-help-button[aria-expanded="true"]+.fs-guide-tooltip{display:block}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide[open]{display:flex;flex-wrap:wrap;justify-content:flex-start}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide[open]>summary{justify-content:center;text-align:center}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide[open]>.fs-guide-body{flex-basis:100%;min-width:0}
@media(max-width:420px){.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide>summary{padding:8px 10px!important;font-size:13px}}

.fertilizer-shelf .fs-toolbar-guide .fs-library-controls{display:flex;align-items:center;gap:4px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end;min-width:0}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide[open]{flex-basis:100%;order:2}
.fertilizer-shelf .fs-toolbar-guide .fs-library-controls>.fs-guide[open]>.fs-guide-body{width:100%}

.fs-has-calendar>.fs-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.fs-calendar-form{display:grid;gap:8px;padding:12px}.fs-calendar-form label{display:grid;gap:4px}.fs-calendar-list{display:grid;gap:8px;padding:12px}[data-fs-panel="calendar"]{padding:12px}

[data-fs-calendar-add] svg{width:24px;height:24px;vertical-align:middle}

/* R37.393 annual planner: shared TerraSky tokens and controls */
.fertilizer-shelf .fs-cal-title,.fertilizer-shelf .fs-cal-year,.fertilizer-shelf .fs-calendar-actions{display:flex;align-items:center;gap:10px;min-width:0}.fs-cal-title h2{margin:0}.fs-cal-title svg,.fs-calendar-actions svg,.fs-cal-add svg{width:23px;height:23px;flex:none;vertical-align:middle}.fs-cal-year{justify-content:center;margin:14px 0}.fs-cal-year label{margin:0;flex:0 1 120px;text-align:center}.fs-cal-year input{text-align:center}.fs-cal-year button{align-self:flex-end;flex:0 0 44px}.fs-cal-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px;margin-top:12px}.fs-cal-months>div{display:grid;gap:5px;text-align:center;border-radius:8px;background:var(--bg,#f4f7f5);padding:7px 2px;min-width:0}.fs-cal-months>div.has-app{background:var(--green2,#e8f5ee);color:var(--green,#1f7a4d)}.fs-cal-months small{font-size:11px;overflow-wrap:anywhere}.fs-calendar-list{padding:0;gap:10px}.fertilizer-shelf details.fs-cal-group{margin:0;padding:12px;border:1px solid var(--border,#dbe6de);border-radius:18px;background:var(--card,#fff)}.fs-cal-group>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:44px}.fs-cal-group>summary::-webkit-details-marker{display:none}.fs-cal-group>summary:after{content:'▾';margin-left:auto}.fs-cal-group[open]>summary:after{content:'▴'}.fs-cal-group-title{display:grid;gap:4px;flex:1;min-width:0;overflow-wrap:anywhere}.fs-cal-group-title small,.fs-cal-row-text small{color:var(--muted,#6d7d73);font-size:12px;line-height:1.4}.fs-cal-row{display:flex;align-items:center;gap:5px;padding:10px 0;border-top:1px solid var(--border,#dbe6de)}.fs-cal-row-text{display:grid;gap:4px;flex:1;min-width:0}.fertilizer-shelf button.fs-cal-icon{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--green,#1f7a4d)}.fs-cal-icon svg{width:22px;height:22px}.fertilizer-shelf button.fs-cal-delete{color:var(--muted,#6d7d73)}.fs-cal-add{width:100%;margin-top:8px}.fs-calendar-actions{flex-wrap:wrap;margin-top:12px}.fs-calendar-actions>button{flex:1 1 140px}.fs-calendar-form{padding:14px}.fs-calendar-form label{margin:4px 0}.fs-calendar-form .fs-dose{margin:4px 0}.fertilizer-shelf .fs-calendar-actions .primary{background:var(--green,#1f7a4d);color:white;border:0;border-radius:14px;font:inherit;font-weight:700;padding:12px}.fertilizer-shelf .fs-calendar-actions .secondary,.fertilizer-shelf .fs-cal-add,.fertilizer-shelf .fs-cal-year .secondary{background:var(--green2,#e8f5ee);color:var(--green,#1f7a4d);border:0;border-radius:14px;font:inherit;font-weight:650;padding:10px}.fs-cal-group .fs-product-icon svg{width:30px;height:34px}@media(max-width:600px){.fs-cal-months{grid-template-columns:repeat(6,minmax(0,1fr))}.fs-calendar-form .fs-grid{grid-template-columns:1fr}.fs-cal-row-text strong{font-size:14px}}

/* R37.394: mobile controls, word-safe labels and consistent touch targets. */
.fertilizer-shelf>.fs-tabs button.secondary{min-width:0;min-height:52px;padding:6px 3px;gap:3px;text-align:center;line-height:1.22;white-space:normal;word-break:normal;overflow-wrap:normal}
.fertilizer-shelf>.fs-tabs .fs-tab-label{min-width:0;max-width:100%;overflow-wrap:normal;word-break:normal;text-align:center;line-height:1.22}
.fertilizer-shelf .fs-calendar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
.fertilizer-shelf .fs-calendar-actions>button,.fertilizer-shelf button.fs-cal-add{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:48px;text-align:center;line-height:1.3;white-space:normal;word-break:normal;overflow-wrap:normal;font-size:14px;padding:9px 8px}
.fertilizer-shelf .fs-calendar-actions>button>span,.fertilizer-shelf button.fs-cal-add>span{min-width:0;max-width:100%;text-align:center;overflow-wrap:normal;word-break:normal}
@media(max-width:600px){.fertilizer-shelf.fs-has-calendar>.fs-tabs button.secondary{flex-direction:column;font-size:clamp(10px,2.8vw,12px);gap:3px;min-height:64px;padding:5px 2px}.fertilizer-shelf.fs-has-calendar>.fs-tabs .fs-tab-art{width:20px;height:21px;flex:0 0 21px}.fertilizer-shelf .fs-calendar-actions>button[data-cal-weather]{grid-column:1/-1;min-height:48px}.fertilizer-shelf .fs-calendar-actions:has(>button[data-cal-weather]){grid-template-columns:minmax(0,1fr)}.fertilizer-shelf .fs-calendar-actions>button[data-cal-new]{grid-column:1/-1}}
