/* Hive Virtual Office - unified form controls (loaded LAST). Same height/width/padding/radius for text, date, time, select on iOS+macOS Safari.
   Light theme only (no prefers-color-scheme). Uses hvo tokens with fallbacks so admin css can reuse it. */
:root{--ctl-h:44px}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=color]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]),
select{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:var(--ctl-h);min-height:var(--ctl-h);margin:0;padding:0 12px;
  border:1px solid var(--hvo-line-2,rgba(26,26,26,.28));border-radius:var(--hvo-r,8px);background-color:var(--hvo-washi-3,#FBF8F2);color:var(--hvo-sumi,#1A1A1A);
  font:inherit;font-size:max(16px,1em);line-height:normal;text-align:left;-webkit-appearance:none;appearance:none}
input[type=date],input[type=month],input[type=time],input[type=datetime-local],input[type=week]{position:relative;padding-right:40px;line-height:calc(var(--ctl-h) - 2px);
  background-repeat:no-repeat;background-position:right 12px center;background-size:18px 18px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A2B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><path d='M16 2v4M8 2v4M3 10h18'/></svg>");-webkit-min-logical-width:0}
input[type=time]{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A2B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>")}
input[type=date]::-webkit-date-and-time-value,input[type=month]::-webkit-date-and-time-value,input[type=time]::-webkit-date-and-time-value,input[type=datetime-local]::-webkit-date-and-time-value{text-align:left;margin:0;padding:0;min-height:0;line-height:calc(var(--ctl-h) - 2px);height:calc(var(--ctl-h) - 2px);display:block;width:100%}
input[type=date]::-webkit-datetime-edit,input[type=month]::-webkit-datetime-edit,input[type=time]::-webkit-datetime-edit,input[type=datetime-local]::-webkit-datetime-edit{padding:0;margin:0;line-height:calc(var(--ctl-h) - 2px)}
input[type=date]::-webkit-calendar-picker-indicator,input[type=month]::-webkit-calendar-picker-indicator,input[type=time]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
input[type=date]:not(:focus):invalid::-webkit-datetime-edit{color:var(--hvo-sumi-3,#5B574F)}
select{padding-right:36px;background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>")}
select[multiple]{height:auto;min-height:var(--ctl-h);background-image:none;padding-right:12px}
textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:calc(var(--ctl-h) * 2);margin:0;padding:10px 12px;border:1px solid var(--hvo-line-2,rgba(26,26,26,.28));border-radius:var(--hvo-r,8px);
  background-color:var(--hvo-washi-3,#FBF8F2);color:var(--hvo-sumi,#1A1A1A);font:inherit;font-size:max(16px,1em);line-height:1.5;resize:vertical;-webkit-appearance:none;appearance:none}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--hvo-shu,#C8412B);box-shadow:0 0 0 3px rgba(200,65,43,.18)}
input:disabled,select:disabled,textarea:disabled{opacity:.6}
input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--hvo-shu,#C8412B);flex:none}
.hvo-field{margin:0 0 14px}.hvo-field label,.hvo-lbl{display:block;margin-bottom:5px;font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--hvo-sumi-2,#33312D)}
.hvo-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
